scimeatlas

Research map / Large language models / Language, safety and interpretability

Rethinking Repetition Problems of LLMs in Code Generation

Yihong Dong, Yuchen Liu, Xue Jiang, Bin Gu, Zhi Jin, Ge Li

ACL 2025Large language models › Language, safety and interpretabilityapproach: Parallel and early-exit decodingopen problems in this approach25 citations (OpenAlex)

Peking University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
1no clear effect
4hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

On benchmark leaderboards

This paper tried a common change: Add dropout

use Repetition Dropout instead of greedy · MBPP · Pass@1: 0.396 -> 0.167 Hurt

What 1,045 accepted papers report for this change

See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use RPG decoding instead of greedyCodeLlama-7B · CodeRepetEval real-world repositoriesCCP: 0.297 -> 0.638Improved
use RPG decoding instead of greedyCodeLlama-7B · CodeRepetEval code generation benchmarksEGP: 0 -> 0.912Improved
use RPG instead of Temp (t=0.8)CodeLlama-7B · CodeRepetEval artificial synthesisTR-S: 0.519 -> 0.556Hurt
use RPG decoding instead of greedyCodeLlama-7B · HumanEvalPass@1: 0.301 -> 0.325Improved
use RPG decoding instead of greedyCodeLlama-7B · MBPP-ETPass@1: 0.303 -> 0.334Improved
use Repetition Penalty instead of greedyCodeLlama-7B · HumanEvalPass@1: 0.301 -> 0.092Hurt
use Repetition Dropout instead of greedyCodeLlama-7B · MBPPPass@1: 0.396 -> 0.167Hurt
use Repetition DropoutCodeLlama-7B · CodeRepetEvalTR-NNo clear effect
lower temperature / top-k / top-p (more confident output) (ablation)CodeLlama-7B · CodeRepetEvalTR-SHurt
apply RPG to other base models (CodeGen)CodeGen · CodeRepetEval real-world repositoriesCCP: 0.369 -> 0.720Improved
apply RPG to Llama2Llama2 · CodeRepetEval code generation benchmarksCCP: 0.597 -> 0.912Improved
extend RPG to Go with Go grammarCodeLlama-7B · CodeRepetEval-GoCCP: 0.403 -> 0.725Improved

Open problems in parallel and early-exit decoding

Which fast-decoding methods keep quality when used with batching, thresholds that need no tuning, and models they cannot open up?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy