SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.04692 · 2024

Mixture-of-Agents Enhances Large Language Model Capabilities

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
togethercomputer/moa canonical 1 of 1
copy not recorded — 1 of 3
linzwcs/aft pwc_unofficial 1 of 1
FunctionStatusWhere it lives
getFinalSystemPrompt Ran togethercomputer/moa/advanced-moa.py
code served (permissive licence) · get_code("6f227a511b5bb6da")
get_metrics_evaluator Ran this paper's copy was not recorded; identical code first harvested from david-li0406/preference-leakage
pointer only · get_code("0c77763ca4cd8bc4")
load_jsonl Ran linzwcs/aft/inference.py
code served (permissive licence) · get_code("54d638ad341d088b")
get_annotations Not yet run this paper's copy was not recorded; identical code first harvested from david-li0406/preference-leakage
pointer only · get_code("0eb53db38f0faafd")
get_crossannotations Not yet run this paper's copy was not recorded; identical code first harvested from david-li0406/preference-leakage
pointer only · get_code("de8a267bb7f7d4bd")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent advances in large language models (LLMs) demonstrate substantial capabilities in natural language understanding and generation tasks. With the growing number of LLMs, how to harness the collective expertise of multiple LLMs is an exciting open direction. Toward this goal, we propose a new approach that leverages the collective strengths of multiple LLMs through a Mixture-of-Agents (MoA) methodology. In our approach, we construct a layered MoA architecture wherein each layer comprises multiple LLM agents. Each agent takes all the outputs from agents in the previous layer as auxiliary information in generating its response. MoA models achieves state-of-art performance on AlpacaEval 2.0, MT-Bench and FLASK, surpassing GPT-4 Omni. For example, our MoA using only open-source LLMs is the leader of AlpacaEval 2.0 by a substantial gap, achieving a score of 65.1% compared to 57.5% by GPT-4 Omni.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.04692")
get_code_for_paper("2406.04692")
have("2406.04692")

Connect an agent — have() is free.