paper-with-me

홈 › Papers

JumpCoder: Go Beyond Autoregressive Coder via Online Modification

2024-01-15 · Mouxiang Chen, Hao Tian, Zhongxin Liu, Xiaoxue Ren, Jianling Sun

While existing code large language models (code LLMs) exhibit impressive capabilities in code generation, their autoregressive sequential generation inherently lacks reversibility. This limitation hinders them from timely correcting previous missing statements during coding as humans do, often leading to error propagation and suboptimal performance. We introduce JumpCoder, a novel model-agnostic framework that enables human-like online modification and non-sequential generation to augment code LLMs. The key idea behind JumpCoder is to insert new code into the currently generated code when necessary during generation, which is achieved through an auxiliary infilling model that works in tandem with the code LLM. Since identifying the best infill position beforehand is intractable, we adopt an \textit{infill-first, judge-later} strategy, which experiments with filling at the $k$ most critical positions following the generation of each line, and uses an Abstract Syntax Tree (AST) parser alongside the Generation Model Scoring to effectively judge the validity of each potential infill. Extensive experiments using six state-of-the-art code LLMs across multiple and multilingual benchmarks consistently indicate significant improvements over all baselines. Our code is public at https://github.com/Keytoyze/JumpCoder.

📄 PDF Abstract BibTeX arXiv:2401.07870

Code (1)

keytoyze/jumpcoder 공식 구현

Tasks

Code Generation

Similar Papers 제목 키워드 기반

DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas

2026-02-01 · Zirui Wu, Lin Zheng, Zhihui Xie, Jiacheng Ye 외 arxiv

Diffusion Language Models (DLMs) present a compelling alternative to autoregressive models, offering flexible, any-order infilling without specialized prompting design. However, their practical utility is blocked by a cr…

ARMFlow: AutoRegressive MeanFlow for Online 3D Human Reaction Generation

2025-12-18 · Zichen Geng, Zeeshan Hayder, Wei Liu, Hesheng Wang 외 arxiv

3D human reaction generation faces three main challenges:(1) high motion fidelity, (2) real-time inference, and (3) autoregressive adaptability for online scenarios. Existing methods fail to meet all three simultaneously…

DPAR: Dynamic Patchification for Efficient Autoregressive Visual Generation

2025-12-26 · Divyansh Srivastava, Akshay Mehra, Pranav Maneriker, Debopam Sanyal 외 arxiv

Decoder-only autoregressive image generation typically relies on fixed-length tokenization schemes whose token counts grow quadratically with resolution, substantially increasing the computational and memory demands of a…

multimodal generationImage Generation

Semi-Autoregressive Transformer for Image Captioning

2021-06-17 · Yuanen Zhou, Yong Zhang, Zhenzhen Hu, Meng Wang

Current state-of-the-art image captioning models adopt autoregressive decoders, \ie they generate each word by conditioning on previously generated words, which leads to heavy latency during inference. To tackle this iss…

Image Captioning

MADE: Masked Autoencoder for Distribution Estimation

2015-02-12 · Mathieu Germain, Karol Gregor, Iain Murray, Hugo Larochelle

There has been a lot of recent interest in designing neural network models to estimate a distribution from a set of examples. We introduce a simple modification for autoencoder neural networks that yields powerful genera…

Density EstimationImage Generation