paper-with-me

Papers

AceCoder: Utilizing Existing Code to Enhance Code Generation

2023-03-31 · Jia Li, YunFei Zhao, Yongmin Li, Ge Li, Zhi Jin

Large Language Models (LLMs) have shown great success in code generation. LLMs take as the input a prompt and output the code. A key question is how to make prompts (i.e., Prompting Techniques). Existing prompting techniques are designed for natural language generation and have low accuracy in code generation. In this paper, we propose a new prompting technique named AceCoder. Our motivation is that code generation meets two unique challenges (i.e., requirement understanding and code implementation). AceCoder contains two novel mechanisms (i.e., guided code generation and example retrieval) to solve these challenges. (1) Guided code generation asks LLMs first to analyze requirements and output an intermediate preliminary (e.g., test cases). The preliminary is used to clarify requirements and tell LLMs "what to write". (2) Example retrieval selects similar programs as examples in prompts, which provide lots of relevant content (e.g., algorithms, APIs) and teach LLMs "how to write". We apply AceCoder to three LLMs (e.g., Codex) and evaluate it on three public benchmarks using the Pass@k. Results show that AceCoder can significantly improve the performance of LLMs on code generation. (1) In terms of Pass@1, AceCoder outperforms the state-of-the-art baseline by up to 56.4% in MBPP, 70.7% in MBJP, and 88.4% in MBJSP. (2) AceCoder is effective in LLMs with different sizes (i.e., 6B to 13B) and different languages (i.e., Python, Java, and JavaScript). (3) Human evaluation shows human developers prefer programs from AceCoder.

📄 PDF Abstract BibTeX arXiv:2303.17780

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationmbppRetrievalText Generation

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

TraceCoder: Towards Traceable ICD Coding via Multi-Source Knowledge Integration

2025-10-17 · Mucheng Ren, He Chen, Yuchen Yan, Danqing Hu 외 arxiv

Automated International Classification of Diseases (ICD) coding assigns standardized diagnosis and procedure codes to clinical records, playing a critical role in healthcare systems. However, existing methods face challe…

TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Code

2026-02-06 · Jiangping Huang, Wenguang Ye, Weisong Sun, Jian Zhang 외 arxiv

Large Language Models (LLMs) often generate code with subtle but critical bugs, especially for complex tasks. Existing automated repair methods typically rely on superficial pass/fail signals, offering limited visibility…

ACECODER: Acing Coder RL via Automated Test-Case Synthesis

2025-02-03 · Huaye Zeng, Dongfu Jiang, Haozhe Wang, Ping Nie 외

Most progress in recent coder models has been driven by supervised fine-tuning (SFT), while the potential of reinforcement learning (RL) remains largely unexplored, primarily due to the lack of reliable reward data/model…

HumanEvalmbppreinforcement-learningReinforcement Learning+1

FronTalk: Benchmarking Front-End Development as Conversational Code Generation with Multi-Modal Feedback

2025-12-05 · Xueqing Wu, Zihan Xue, Da Yin, Shuyan Zhou 외 arxiv

We present FronTalk, a benchmark for front-end code generation that pioneers the study of a unique interaction dynamic: conversational code generation with multi-modal feedback. In front-end development, visual artifacts…

Code Generation

Efficient Speech Enhancement via Embeddings from Pre-trained Generative Audioencoders

2025-06-13 · Xingwei Sun, Heinrich Dinkel, Yadong Niu, Linzhang Wang 외

Recent research has delved into speech enhancement (SE) approaches that leverage audio embeddings from pre-trained models, diverging from time-frequency masking or signal prediction techniques. This paper introduces an e…

Speech Enhancement