Patched MOA: optimizing inference for diverse software development tasks

Asankhaya Sharma
7/26/2024
3 citations
cs.SEcs.AI

No official code found. Best implementation: algorithmicsuperintelligence/optillm (4,340 stars, Python, Apache-2.0, last commit 2026-03-19).

Abstract

This paper introduces Patched MOA (Mixture of Agents), an inference optimization technique that significantly enhances the performance of large language models (LLMs) across diverse software development tasks. We evaluate three inference optimization algorithms - Best of N, Mixture of Agents, and Monte Carlo Tree Search and demonstrate that Patched MOA can boost the performance of smaller models to surpass that of larger, more expensive models.

Show full abstract

Notably, our approach improves the gpt-4o-mini model's performance on the Arena-Hard-Auto benchmark by 15.52%, outperforming gpt-4-turbo at a fraction of the cost. We also apply Patched MOA to various software development workflows, showing consistent improvements in task completion rates. Our method is model-agnostic, transparent to end-users, and can be easily integrated into existing LLM pipelines. This work contributes to the growing field of LLM optimization, offering a cost-effective solution for enhancing model performance without the need for fine-tuning or larger models. Our implementation is open-source and available at https://github.com/codelion/optillm.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Optimizing inference proxy for LLMs

4,340401Python, ShellAug 22, 20248 months agoApache-2.0
agentagentic-aiagentic-frameworkagentic-workflowagents+15 more

Similar Papers

Cite this paper

@article{sharma2024patched,
  title  = {Patched MOA: optimizing inference for diverse software development tasks},
  author = {Asankhaya Sharma},
  year   = {2024},
  eprint = {2407.18521},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.18521v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.18521.svg)](https://codeofpaper.com/paper/2407.18521)

Discussion