MapCoder-Lite: Distilling Multi-Agent Coding into a Single Small LLM
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Large language models (LLMs) have advanced code generation from single-function tasks to competitive-programming problems, but existing multi-agent solutions either rely on costly large-scale (>30B) models or collapse when downsized to small open-source models. We present MapCoder-Lite, a framework for distilling the complex reasoning of large, multi-agent coding systems into a single 7B model. Our contribution is a novel, three-pillar methodology that synergistically generates, refines, and encodes multi-agent knowledge: (i) pass-based trajectory distillation from strong LLMs fixes format fragility in retrieval and reduces failures in debugging, (ii) supervisor-guided correction with global feedback strengthens planning and coding agents, and (iii) agent-wise LoRA fine-tuning delivers memory-efficient specialisation. Comprehensive evaluation on xCodeEval, APPS, and CodeContests shows that MapCoder-Lite more than doubles xCodeEval accuracy (from 13.2% to 28.3%), eliminates all format failures, while reducing GPU memory and token-generation time by 4x compared to a 32B model. It also achieves over 10% gains on simpler coding benchmarks, demonstrating broad improvements beyond competitive programming. These results demonstrate that careful agent-wise fine-tuning unleashes high-quality multi-agent coding on a small language model. Our code is publicly available at https://github.com/aiha-lab/MapCoder-Lite.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 36 references that are in the map. First posted on arXiv 22 Sep 2025.
Builds on
24 of 36 references.
Closest ancestors · 4
Same direction, newest first
- 2025DocAgent: A Multi-Agent System for Automated Code Documentation Generation11 Apr
- 2025CODESIM: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging8 Feb
- 2025CodeCoR: An LLM-Based Self-Reflective Multi-Agent Framework for Code Generation14 Jan
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving18 May
Other references · 20
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2023AppAgent: Multimodal Agents as Smartphone Userscited by 415
- 2025CodeElo: Benchmarking Competition-level Code Generation of LLMs with Human-comparable Elo Ratingscited by 115
- 2023Large Language Models as Analogical Reasonerscited by 107
- 2024Small LLMs Are Weak Tool Learners: A Multi-LLM Agentcited by 93
8 more
- 2024Speculative Knowledge Distillation: Bridging the Teacher-Student Gap Through Interleaved Samplingcited by 90
- 2024FOFO: A Benchmark to Evaluate LLMs' Format-Following Capabilitycited by 80
- 2024Smaller, Weaker, Yet Better: Training LLM Reasoners via Compute-Optimal Samplingcited by 61
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 47
- 2025A Survey on the Optimization of Large Language Model-based Agentscited by 46
- 2025SiriuS: Self-improving Multi-agent Systems via Bootstrapped Reasoningcited by 44
- 2024LeDex: Training LLMs to Better Self-Debug and Explain Codecited by 40
- 2024Code Less, Align More: Efficient LLM Fine-tuning for Code Generation with Data Pruningcited by 20
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026PReCache: Efficient KV Cache Sharing for Multi-LoRA Agents via Low-Rank Precomputation and Neutral Reconstructioncited by 0
- 2026KVCMAS: Efficient KV cache Correction for Shared Context in Multi-Agent Systemscited by 0
- 2026The Innocent Courier: Covert Exfiltration Through Legitimate LLM Web Fetchingcited by 0
- 2026The Innocent Courier: Covert Exfiltration Through Legitimate LLM Web Fetching1 Oct 2026
- 2026KVCMAS: Efficient KV cache Correction for Shared Context in Multi-Agent Systems28 Sep 2026
- 2026PReCache: Efficient KV Cache Sharing for Multi-LoRA Agents via Low-Rank Precomputation and Neutral Reconstruction28 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2025A Self-Improving Coding Agent
- 2025Lita: Light Agent Uncovers the Agentic Coding Capabilities of LLMs
- 2025TALM: Dynamic Tree-Structured Multi-Agent Framework with Long-Term Memory for Scalable Code Generation
- 2024CodeTree: Agent-guided Tree Search for Code Generation with Large Language Models
- 2025AdaCoder: An Adaptive Planning and Multi-Agent Framework for Function-Level Code Generation
- 2025Enhancing LLM Code Generation: A Systematic Evaluation of Multi-Agent Collaboration and Runtime Debugging for Improved Accuracy, Reliability, and Latency
- 2024Steering Large Language Models between Code Execution and Textual Reasoning
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence