CodeForge-MA: Execution-Verified Multi-Agent Learning with Language-Conditioned LoRA for Multilingual Code Generation
Abstract
Large language models for code generation often fail on execution, multilingual coverage, and contamination control, especially under frozen backbone constraints. We present CodeForge-MA, a unified framework that improves code synthesis through a multi-agent data forge, execution verified reinforced instruction tuning, and a language conditioned mixture of LoRA adapters. Four specialized agents, Composer, Reviewer, Executor, and Curator, iteratively refine instruction code pairs, validate them with tests, and filter duplicates and benchmark leakage. During training, we combine masked supervised fine tuning with a test driven reinforcement objective to align generations with executable correctness. For the larger model, we use sparse expert routing over low rank adapters to improve cross language transfer while keeping the base model unchanged at inference. Experiments show that joint data, objective, and adapter design yields robust gains across programming languages.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
Related papers
Topology-Conditioned Backdoors: Language Models That Insert Vulnerabilities When They Infer They Are in a Multi-Agent System
Shared title terminologycs.AIKeegan Wang, Anantika Mannby
ReVAgent: Multi-Agent Reasoning-Intensive Video Generation
Shared title terminologycs.AIYehui Yang, Jing Fan, Jun Hu et al.
Multi-agent System for Automatic Discovery of Pareto-optimal Meta-solvers for PDEs
Shared title terminologycs.AIYoungkyu Lee, Shanqing Liu, Jerome Darbon et al.
Adopting AI Technologies without Traps: A Multi-Agent Reinforcement Learning Framework
Shared title terminologycs.AIJitong Yang, Avinash Reddy Mudireddy, Ziqing Lu et al.
SWAM: State-aware World Action Model for Multi-Agent 3D Environments
Shared title terminologycs.AIJenna Kang, Bingxuan Li, Colin Groth et al.
Where Rules End and Judges Begin: Measuring the Judgment Boundary in Multi-Agent Systems Security
Shared title terminologycs.AIShaswata Mitra, Raj Patel, Subash Neupane et al.