Endre søk
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
StepCoder: Improving Code Generation with Reinforcement Learning from Compiler Feedback
School of Computer Science, Fudan University, School of Computer Science, Fudan University.
School of Computer Science, Fudan University, School of Computer Science, Fudan University.
Huazhong University of Science and Technology, Huazhong University of Science and Technology.
School of Computer Science, Fudan University, School of Computer Science, Fudan University.
Vise andre og tillknytning
2024 (engelsk)Inngår i: 62nd Annual Meeting of the Association for Computational Linguistics, ACL 2024 - Proceedings of the Conference, Association for Computational Linguistics (ACL) , 2024, s. 4571-4585Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

The advancement of large language models (LLMs) has significantly propelled the field of code generation. Previous work integrated reinforcement learning (RL) with compiler feedback for exploring the output space of LLMs to enhance code generation quality. However, the lengthy code generated by LLMs in response to complex human requirements makes RL exploration a challenge. Also, since the unit tests may not cover the complicated code, optimizing LLMs by using these unexecuted code snippets is ineffective. To tackle these challenges, we introduce StepCoder, a novel RL framework for code generation, consisting of two main components: CCCS addresses the exploration challenge by breaking the long sequences code generation task into a Curriculum of Code Completion Subtasks, while FGO only optimizes the model by masking the unexecuted code segments to provide Fine-Grained Optimization. In addition, we furthermore construct the APPS+ dataset for RL training, which is manually verified to ensure the correctness of unit tests. Experimental results show that our method improves the ability to explore the output space and outperforms state-of-the-art approaches in corresponding benchmarks.

sted, utgiver, år, opplag, sider
Association for Computational Linguistics (ACL) , 2024. s. 4571-4585
HSV kategori
Identifikatorer
URN: urn:nbn:se:kth:diva-354306DOI: 10.18653/v1/2024.acl-long.251Scopus ID: 2-s2.0-85204445491OAI: oai:DiVA.org:kth-354306DiVA, id: diva2:1902965
Konferanse
62nd Annual Meeting of the Association for Computational Linguistics, ACL 2024, Bangkok, Thailand, Aug 11 2024 - Aug 16 2024
Merknad

QC 20241003

Part of ISBN 9798891760943

Tilgjengelig fra: 2024-10-02 Laget: 2024-10-02 Sist oppdatert: 2025-05-27bibliografisk kontrollert

Open Access i DiVA

Fulltekst mangler i DiVA

Andre lenker

Forlagets fulltekstScopus

Person

Shan, Junjie

Søk i DiVA

Av forfatter/redaktør
Shan, Junjie
Av organisasjonen

Søk utenfor DiVA

GoogleGoogle Scholar

doi
urn-nbn

Altmetric

doi
urn-nbn
Totalt: 106 treff
RefereraExporteraLink to record
Permanent link

Direct link
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annet format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annet språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf