paper-with-me

홈 › Papers

Investigating the Transferability of Code Repair for Low-Resource Programming Languages

2024-06-21 · Kyle Wong, Alfonso Amayuelas, Liangming Pan, William Yang Wang

Large language models (LLMs) have shown remarkable performance on code generation tasks. A recent use case is iterative code repair, where an LLM fixes an incorrect program by rationalizing about errors and generating new code. Recent works augment the code repair process by integrating modern techniques such as chain-of-thought reasoning or distillation, but only study their benefits on high-resource languages like Python, and ignore low-resource languages like Perl. To address this gap of knowledge, we investigate the benefits of distilling code repair for both high and low resource languages to determine if the techniques that are effective in a high resource setting are also applicable in a low resource setting. Our evaluation shows that distilling the ability to repair code has language dependent benefits. To explain this behavior, we perform a further analysis and find that contrary to preexisting beliefs, the correlation between reasoning ability and code correction ability is weak. We hypothesize this weak correlation is magnified in low-resource settings where base models lack deep knowledge of a programming language, leading to wavering benefits of code repair.

📄 PDF Abstract BibTeX arXiv:2406.14867

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationCode Repair

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages

2024-06-05 · Federico Mora, Justin Wong, Haley Lepe, Sahil Bhatia 외

Recent advances in large language models (LLMs) for code applications have demonstrated remarkable zero-shot fluency and instruction following on challenging code related tasks ranging from test case generation to self-r…

Instruction FollowingRetrievalvalid

CodeAttack: Code-Based Adversarial Attacks for Pre-trained Programming Language Models

2022-05-31 · Akshita Jha, Chandan K. Reddy

Pre-trained programming language (PL) models (such as CodeT5, CodeBERT, GraphCodeBERT, etc.,) have the potential to automate software engineering tasks involving code understanding and code generation. However, these mod…

Code GenerationCode TranslationTranslation

Benchmarking Educational Program Repair

2024-05-08 · Charles Koutcheme, Nicola Dainese, Sami Sarsa, Juho Leinonen 외

The emergence of large language models (LLMs) has sparked enormous interest due to their potential application across a range of educational tasks. For example, recent work in programming education has used LLMs to gener…

BenchmarkingProgram Repair

Learner-Tailored Program Repair: A Solution Generator with Iterative Edit-Driven Retrieval Enhancement

2026-01-13 · Zhenlong Dai, Zhuoluo Zhao, Hengning Wang, Xiu Tang 외 arxiv

With the development of large language models (LLMs) in the field of programming, intelligent programming coaching systems have gained widespread attention. However, most research focuses on repairing the buggy code of p…

Program Repair

Building A Proof-Oriented Programmer That Is 64% Better Than GPT-4o Under Data Scarcity

2025-02-17 · Dylan Zhang, Justin Wang, Tianran Sun

Existing LMs struggle with proof-oriented programming due to data scarcity, which manifest in two key ways: (1) a lack of sufficient corpora for proof-oriented programming languages such as F*, and (2) the absence of lar…

Data Augmentation