arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.18521cs.SEcs.AI
收藏

Patched MOA:优化多样化软件开发任务的推理

Patched MOA: optimizing inference for diverse software development tasks

Patched Codes, Inc(Patched Codes公司)

Asankhaya Sharma

AI总结:

本文提出Patched MOA推理优化技术,通过Best of N等方法提升LLM在软件开发任务中的性能,使小模型以低成本超越大模型,且无需微调。

摘要:

本文介绍了Patched MOA(Mixture of Agents),这是一种推理优化技术,可显著提升大型语言模型(LLMs)在多样化软件开发任务中的性能。我们评估了三种推理优化算法——Best of N、Mixture of Agents和Monte Carlo Tree Search,并证明Patched MOA能将较小模型的性能提升至超越更大、更昂贵的模型。值得注意的是,我们的方法在Arena-Hard-Auto基准上使gpt-4o-mini模型的性能提升了15.52%,以极低的成本超越了gpt-4-turbo。我们还将Patched MOA应用于各种软件开发工作流,显示出任务完成率的一致性提升。我们的方法与模型无关,对终端用户透明,并且可以轻松集成到现有的LLM流水线中。这项工作为不断发展的LLM优化领域做出了贡献,提供了一种无需微调或使用更大模型即可提升模型性能的具有成本效益的解决方案。我们的实现是开源的,可在https://github.com/codelion/optillm获取。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑