Preprint · 2025 · Open access

Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths

Huashan Chen, Qi, Zhenyu, Haotang Li, Hong Chen, Jin-Fu Chen, Kebin Peng, In Kee Kim, Kyu Hyoung Lee, Sen He, Weiyi Shang

arXiv · Published 1 October 2025 · DOI 10.48550/arxiv.2510.01379

Open PDFView at the publisherCite this paper

In brief

“Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths” is a 2025 preprint by Huashan Chen and 9 co-authors, published in arXiv. OpenAlex counts 1 citations as of 26 November 2026. It is open access: the full text is free to read at arXiv.

Citations
1
Most cited in
2026 (1)
References
59
Authors
10

Abstract

Large Language Models (LLMs) are central to automated code generation, yet most approaches use one model at every stage, from writing code to repairing and optimizing it. LLMs have complementary strengths: their failures do not fully overlap across programming languages, algorithmic categories, and development stages. For example, in Python, the model with the highest code-generation accuracy ranks last at code repair. Using one model to generate code, another to repair it, and a third to refine it can therefore achieve higher correctness and better execution performance than a single model throughout. We propose PerfOrch, a multi-LLM multi-agent system with four agents for categorization, generation, debugging, and refinement. The generation, debugging, and refinement agents select models through a Memory module that ranks candidate LLMs by their measured performance for each stage, programming language, and algorithmic category. We evaluate PerfOrch with five candidate LLMs on 4,640 problems from four benchmarks covering five programming languages (HumanEval-X, EffiBench-X, BigCodeBench, and APPS) against single-model direct generation, single-model generate-debug-refine pipelines (PerfCodeGen), and the state-of-the-art multi-agent systems MapCoder and CodeSIM. PerfOrch achieves the highest pass@1 in all twelve benchmark-language settings, exceeding the strongest baseline by an average of 8.19 percentage points, and reduces execution time for an average of 75.03% of solved problems with an average speedup of 1.18x. The Memory rankings remain effective on three unseen benchmarks without re-profiling. Sequential refinement matches exhaustive execution-time refinement coverage with 66% fewer refinement-stage tokens (57% for average-memory optimization). The complementary strengths persist after all five LLMs are replaced with their current-generation successors.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Chen, H., Zhenyu, Q., Li, H., Chen, H., Chen, J.-F., Peng, K., Kim, I. K., Lee, K. H., He, S., & Shang, W. (2025). Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths. arXiv. https://doi.org/10.48550/arxiv.2510.01379

MLA 9

Chen, Huashan, et al. “Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths.” arXiv, 2025. https://doi.org/10.48550/arxiv.2510.01379.

Chicago

Chen, Huashan, Qi, Zhenyu, Haotang Li, Hong Chen, Jin-Fu Chen, Kebin Peng, In Kee Kim, Kyu Hyoung Lee, Sen He, and Weiyi Shang. 2025. “Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths.” arXiv. https://doi.org/10.48550/arxiv.2510.01379.

Harvard

Chen, H. et al. (2025) ‘Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths’, arXiv. doi:10.48550/arxiv.2510.01379.

IEEE

H. Chen et al., “Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths,” arXiv, 2025, doi: 10.48550/arxiv.2510.01379.

BibTeX

@misc{chen2025multi,
  title     = {{Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths}},
  author    = {Chen, Huashan and Zhenyu, Qi, and Li, Haotang and Chen, Hong and Chen, Jin-Fu and Peng, Kebin and Kim, In Kee and Lee, Kyu Hyoung and He, Sen and Shang, Weiyi},
  howpublished = {arXiv},
  year      = {2025},
  doi       = {10.48550/arxiv.2510.01379},
  url       = {https://doi.org/10.48550/arxiv.2510.01379}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Information Systems › Software Engineering Research

  • automatic code generation
  • code repair
  • program refinement
  • multi-agent systems
  • model ranking
  • debugging
  • execution time optimization
  • programming languages

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Chen, H., Zhenyu, Q., Li, H., Chen, H., Chen, J.-F., Peng, K., Kim, I. K., Lee, K. H., He, S., & Shang, W. (2025). Multi-LLM Orchestration for High-Quality Code Generation: Exploiting Complementary Model Strengths. arXiv. https://doi.org/10.48550/arxiv.2510.01379

How many times has this paper been cited?

1 times, according to OpenAlex on 26 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at arXiv: sign in and open the PDF from this page.

Who wrote this paper?

Huashan Chen, Qi, Zhenyu, Haotang Li, Hong Chen, Jin-Fu Chen, Kebin Peng, In Kee Kim, Kyu Hyoung Lee, Sen He, Weiyi Shang.

What is the DOI of this paper?

10.48550/arxiv.2510.01379, permanently at https://doi.org/10.48550/arxiv.2510.01379. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 26 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.