cs.AIOct 4, 2026

CodeForge-MA: Execution-Verified Multi-Agent Learning with Language-Conditioned LoRA for Multilingual Code Generation

Authors: Zhizhou Gu, Xianting Wu, Siyu Gu, Tian Zhang, Kejian Tong

Organizations: Northeastern University Bellevue, USA · Columbia University New York, USA · University of Pennsylvania Philadelphia, USA · University of Southern California San Jose, USA · Independent Researcher Mukilteo, USA

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.

Figures & tables

Explore similar work

CardsList
  1. SolidCoder: Bridging the Mental-Reality Gap in LLM Code Generation through Concrete Execution

    Apr 20, 2026Woojin Lee, Jin-Xia HuangLlm-Driven Code SynthesisCode Optimization

  2. Agnostics: Learning to Code in Any Programming Language via Reinforcement with a Universal Learning Environment

    Aug 6, 2025Aleksander Boruch-Gruszecki, Yangtian Zi, Zixuan Wu +4Raw Judge OutputsLow-Resource Languages