paper-with-me

Papers

ReflectionCoder: Learning from Reflection Sequence for Enhanced One-off Code Generation

2024-05-27 · Houxing Ren, Mingjie Zhan, Zhongyuan Wu, Aojun Zhou, Junting Pan, Hongsheng Li

Code generation plays a crucial role in various tasks, such as code auto-completion and mathematical reasoning. Previous work has proposed numerous methods to enhance code generation performance, including integrating feedback from the compiler. Inspired by this, we present ReflectionCoder, a novel approach that effectively leverages reflection sequences constructed by integrating compiler feedback to improve one-off code generation performance. Furthermore, we propose reflection self-distillation and dynamically masked distillation to effectively utilize these reflection sequences. Extensive experiments on three benchmarks, i.e., HumanEval (+), MBPP (+), and MultiPl-E, demonstrate that models fine-tuned with our method achieve state-of-the-art performance. Notably, ReflectionCoder-DeepSeek-Coder-33B reaches pass@1 of 82.9 (76.8) on HumanEval (+) and 84.1 (72.0) on MBPP (+), on par with GPT-3.5-Turbo and Claude-3-opus, and surpasses early GPT-4. Beyond the code domain, we believe this approach can benefit other domains that focus on final results and require long reasoning paths. Code and data are available at https://github.com/SenseLLM/ReflectionCoder.

📄 PDF Abstract BibTeX arXiv:2405.17057

Code (1)

sensellm/reflectioncoder 공식 구현 pytorch

Tasks

Code GenerationHumanEvalMathematical Reasoningmbpp

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
15 Ways to Contact How can i speak to someone at Delta Airlines 설명 없음
Attention 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Turning the Tide: Repository-based Code Reflection

2025-07-14 · Wei zhang, Jian Yang, Jiaxi Yang, Ya Wang 외

Code large language models (LLMs) enhance programming by understanding and generating code across languages, offering intelligent feedback, bug detection, and code updates through reflection, improving development effici…

Code GenerationDiversityHumanEval

Long-Horizon Visual Imitation Learning via Plan and Code Reflection

2025-09-04 · Quan Chen, Chenrui Shi, Qi Chen, Yuwei Wu 외 arxiv

Learning from long-horizon demonstrations with complex action sequences presents significant challenges for visual imitation learning, particularly in understanding temporal relationships of actions and spatial relations…

Code Generation

PromptRR: Diffusion Models as Prompt Generators for Single Image Reflection Removal

2024-02-04 · Tao Wang, Wanglong Lu, Kaihao Zhang, Wenhan Luo 외

Existing single image reflection removal (SIRR) methods using deep learning tend to miss key low-frequency (LF) and high-frequency (HF) differences in images, affecting their effectiveness in removing reflections. To add…

Reflection Removal

VisionCreator-R1: A Reflection-Enhanced Native Visual-Generation Agentic Model

2026-03-09 · Jinxiang Lai, Wenzhe Zhao, Zexin Lu, Hualei Zhang 외 arxiv

Visual content generation has advanced from single-image to multi-image workflows, yet existing agents remain largely plan-driven and lack systematic reflection mechanisms to correct mid-trajectory visual errors. To addr…

Reinforcement Learning

GenAgent: Scaling Text-to-Image Generation via Agentic Multimodal Reasoning

2026-01-26 · Kaixun Jiang, Yuzheng Wang, Junjie Zhou, Pandeng Li 외 arxiv

We introduce GenAgent, unifying visual understanding and generation through an agentic multimodal model. Unlike unified models that face expensive training costs and understanding-generation trade-offs, GenAgent decouple…

Text-to-Image GenerationReinforcement LearningMultimodal Reasoning