mlsanityData to 14 Oct 2026

MARCO: Multi-Agent Code Optimization with Real-Time Knowledge Integration for High-Performance Computing

arXiv 2505.03906 ↗First posted 6 May 2025cs.DC cs.LG cs.SEcited by 5

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Large language models (LLMs) have transformed software development through code generation capabilities, yet their effectiveness for high-performance computing (HPC) remains limited. HPC code requires specialized optimizations for parallelism, memory efficiency, and architecture-specific considerations that general-purpose LLMs often overlook. We present MARCO (Multi-Agent Reactive Code Optimizer), a novel framework that enhances LLM-generated code for HPC through a specialized multi-agent architecture. MARCO employs separate agents for code generation and performance evaluation, connected by a feedback loop that progressively refines optimizations. A key innovation is MARCO's web-search component that retrieves real-time optimization techniques from recent conference proceedings and research publications, bridging the knowledge gap in pre-trained LLMs. Our extensive evaluation on the LeetCode 75 problem set demonstrates that MARCO achieves a 14.6% average runtime reduction compared to Claude 3.5 Sonnet alone, while the integration of the web-search component yields a 30.9% performance improvement over the base MARCO system. These results highlight the potential of multi-agent systems to address the specialized requirements of high-performance code generation, offering a cost-effective alternative to domain-specific model fine-tuning.

Key facts. Cited by 5 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 27 of its 45 references that are in the map. First posted on arXiv 6 May 2025.

Builds on

27 of 45 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Self-collaboration Code Generation via ChatGPT15 Apr

Other references · 26

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2020Scaling Laws for Neural Language Modelscited by 6,586
  3. 2017Deep reinforcement learning from human preferencescited by 3,912
  4. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  5. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  6. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  8. 2024A Survey on Large Language Models for Code Generationcited by 658
  9. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  10. 2023Using an LLM to Help With Code Understandingcited by 228
  11. 2025Survey on Evaluation of LLM-based Agentscited by 204
  12. 2023Self-planning Code Generation with Large Language Modelscited by 124
14 more
  1. 2024Best Practices and Lessons Learned on Synthetic Datacited by 106
  2. 2023Level Generation Through Large Language Modelscited by 68
  3. 2024LLM-based Multi-Agent Reinforcement Learning: Current and Future Directionscited by 67
  4. 2024A Performance Study of LLM-Generated Code on Leetcodecited by 49
  5. 2023Large Language Model-Aware In-Context Learning for Code Generationcited by 43
  6. 2024Can Large Language Models Write Parallel Code?cited by 36
  7. 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
  8. 2024The Landscape and Challenges of HPC Research and LLMscited by 22
  9. 2023Reinforcement Learning in the Era of LLMs: What is Essential? What is needed? An RL Perspective on RLHF, Prompting, and Beyondcited by 20
  10. 2023LM4HPC: Towards Effective Language Model Application in High-Performance Computingcited by 18
  11. 2023Scope is all you need: Transforming LLMs for HPC Codecited by 12
  12. 2024Co-Learning: Code Learning for Multi-Agent Reinforcement Collaborative Framework with Conversational Natural Language Interfacescited by 5
  13. 2024LLM4VV: Exploring LLM-as-a-Judge for Validation and Verification Testsuitescited by 4
  14. 2024CI/CD Efforts for Validation, Verification and Benchmarking OpenMP Implementationscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization
  2. 2026FormulaCode: Evaluating Agentic Optimization on Large Codebases
  3. 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimization
  4. 2025TALM: Dynamic Tree-Structured Multi-Agent Framework with Long-Term Memory for Scalable Code Generation
  5. 2025MapCoder-Lite: Distilling Multi-Agent Coding into a Single Small LLM
  6. 2025Guided Code Generation with LLMs: A Multi-Agent Framework for Complex Code Tasks
  7. 2026Beyond Local Code Optimization: Multi-Agent Reasoning for Software System Optimization
  8. 2025CATArena: Evaluating Evolutionary Capabilities of Code Agents via Iterative Tournaments