paper-with-me

홈 › Papers

CoRe-Code: Collaborative Reinforcement Learning for Code Generation

2026-05-24 · Zhihao Dou, Qinjian Zhao, Zhongwei Wan, Xiaoyu Xia, Sumon Biswas arxiv

Large language models (LLMs) have achieved strong performance in code generation, but most methods rely on autoregressive decoding without global planning, often leading to locally coherent yet globally suboptimal solutions (e.g., failing test cases or inefficient complexity). While recent approaches such as Chain-of-Thought (CoT) and multi-agent systems (MAS) introduce planning, their limited role specialization and coordination hinder performance on complex tasks. To address the challenges of coordination and specialization in multi-agent code generation, we propose Collaborative Reinforcement Code (CoRe-Code), a framework for role specialized LLM agents that enhances inter-agent coordination to generate more accurate and efficient code. CoRe-Code adopts a simple Planner-Coder paradigm, where the Planner produces high-level plans and the Coder executes them to generate code. We further introduce a collaboration-aware reinforcement learning stage based on Group Relative Policy Optimization (GRPO) to enhance role specialization and alignment. Experiments show that CoRe-Code outperforms a wide range of existing RL-based and multi-agent methods. In addition, we demonstrate that CoRe-Code can generalize to other multi-agent frameworks (e.g., Retrieval and Debugging agents), highlighting its flexibility and scalability. We evaluate CoRe-Code on multiple benchmarks of varying difficulty using three base models. Compared to existing baselines, the results show consistent improvements in accuracy, while also achieving higher efficiency in terms of execution time and memory usage, demonstrating the effectiveness and practicality of CoRe-Code.

📄 PDF Abstract BibTeX arXiv:2605.24812

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningCode Generation

Similar Papers 제목 키워드 기반

CME-CAD: Heterogeneous Collaborative Multi-Expert Reinforcement Learning for CAD Code Generation

2025-12-29 · Ke Niu, Haiyang Yu, Zhuofan Chen, Zhengtao Yao 외 arxiv

Computer-Aided Design (CAD) is essential in industrial design, but the complexity of traditional CAD modeling and workflows presents significant challenges for automating the generation of high-precision, editable CAD mo…

Reinforcement LearningCode Generation

CollabCoder: Plan-Code Co-Evolution via Collaborative Decision-Making for Efficient Code Generation

2026-04-15 · Duy Tung Doan, Quang Huy Phung, Dzung Nguyen, Khac-Hoai Nam Bui arxiv

Automated code generation remains a persistent challenge in software engineering, as conventional multi-agent frameworks are often constrained by static planning, isolated execution, high computational overhead, and limi…

Code Generation

Co-Learning: Code Learning for Multi-Agent Reinforcement Collaborative Framework with Conversational Natural Language Interfaces

2024-09-02 · Jiapeng Yu, Yuqian Wu, Yajing Zhan, Wenhao Guo 외

Online question-and-answer (Q\&A) systems based on the Large Language Model (LLM) have progressively diverged from recreational to professional use. This paper proposed a Multi-Agent framework with environmentally reinfo…

Language ModelingLanguage ModellingLarge Language Model

Enhancing Graph Contrastive Learning with Reliable and Informative Augmentation for Recommendation

2024-09-09 · Bowen Zheng, Junjie Zhang, Hongyu Lu, Yu Chen 외

Graph neural network(GNN) has been a powerful approach in collaborative filtering(CF) due to its ability to model high-order user-item relationships. Recently, to alleviate the data sparsity and enhance representation le…

Collaborative FilteringContrastive LearningGraph Neural NetworkRepresentation Learning

EstRTL: Functional Estimation Guided RTL Code Generation

2026-06-01 · Qi Xiong, Renzhi Chen, Bowei Wang, Yuqing Xiong 외 arxiv

Optimizing register transfer level (RTL) code is of vital importance in hardware design. Large language models (LLMs) provide new methods for the automatic generation and optimization of RTL code, offering the potential …

Code Generation