TL;DR
AMATA (Adaptive Multi-Agent Trajectory Alignment) is a novel framework that orchestrates teams of specialized LLM agents to tackle knowledge-intensive question answering. By framing multi-agent collaboration as a trajectory preference alignment problem, AMATA dynamically prioritizes critical agents and models their functional dependencies, boosting accuracy across five benchmarks while slashing token consumption by roughly 70%.
What Problem Does This Paper Address?
Large Language Models (LLMs) frequently struggle with knowledge-intensive question answering (KIQA), often falling victim to hallucinations or stumbling over "long-tail" (rare) facts. While Retrieval-Augmented Generation (RAG) helps by pulling in external data, standard single-agent RAG pipelines suffer from retrieval noise and high latency.
To solve this, researchers have turned to multi-agent systems where specialized agents handle different parts of the problem (e.g., retrieving, filtering, verifying). However, existing multi-agent training paradigms fall short:
- Modular Training optimizes agents locally but connects them via rigid, static workflows, leading to error propagation.
- End-to-End Training updates all agents uniformly, which erodes their individual specialization.
- Global-Local Training balances the two but fails to capture dynamic, context-dependent interactions between agents. For instance, if a question is simple, you don't need to trigger a costly verification agent; conversely, if you trigger a retriever, you must trigger the subsequent filtering and locating agents.
AMATA addresses this gap by dynamically aligning agent trajectories based on the specific question being asked.
Methods
AMATA coordinates an ensemble of six specialized agents: an Intent Reconstructor ($A_{IR}$), Knowledge Retriever ($A_{KR}$), Knowledge Filter ($A_{KF}$), Knowledge Locator ($A_{KL}$), Response Generator ($A_{RG}$), and Answer Verifier ($A_{AV}$).
The framework introduces a two-stage training pipeline to optimize how these agents collaborate:
- Intra-Trajectory Preference Learning: Instead of treating all agents as equally important for every question, AMATA uses adaptive prefix scoring. For a given question, an LLM annotates the relative importance of each agent (e.g.,
<Retriever: 5>,<Verifier: 1>). This prefix is appended during supervised fine-tuning (SFT), teaching a monolithic model to dynamically modulate each agent's influence based on the input's complexity. - Inter-Agent Dependency Learning: To capture how agents depend on one another, the authors introduce Dependency-Aware Direct Preference Optimization (DA-DPO). Inspired by listwise Plackett-Luce preference modeling, DA-DPO ranks entire multi-agent execution trajectories. It prioritizes sequences that exhibit robust coordination (e.g., ensuring that filtering always follows retrieval) and suppresses unrelated agents, allowing the model to infer optimal execution paths without needing expensive reinforcement learning rollouts.
Datasets
The authors constructed a training set of 140,000 instances by leveraging open-source long-trajectory datasets from Self-RAG and SMART.
For evaluation, AMATA was tested across five diverse KIQA benchmarks:
- HealthQA (PubHealth): Fact verification for public health claims.
- ARC-Choice (ARC-Challenge): Multiple-choice elementary and high school science exam questions.
- PopQA: Open-domain QA focusing on rare, long-tail entities.
- SQuAD 1.1: Standard open-domain reading comprehension.
- ASQA: Factual question answering for ambiguous queries requiring long-form responses.
Key Insights and Ideas
- Question Complexity Dictates the Team: Simple questions don't need a full bureaucratic pipeline. AMATA's prefix scoring allows the system to bypass intermediate knowledge agents or verification steps when confidence is high, mimicking human efficiency.
- Listwise > Pairwise for Trajectories: Standard DPO compares a single winning response to a single losing response. AMATA's DA-DPO uses a listwise ranking approach over multiple trajectories. This is crucial because two different trajectories might both yield the correct answer, but one might do so with far better agent coordination and fewer wasted tokens.
- Bypassing the RL Bottleneck: Traditional reinforcement learning methods for agent trajectories (like GiGPO or SPA-RL) require multiple slow, online rollout sessions to compute advantages. AMATA achieves superior coordination using stable, offline optimization, making training 3 to 4 times faster.
Key Results
AMATA 7B consistently outperformed vanilla LLMs, knowledge-augmented baselines (like Self-RAG and RADIT), and state-of-the-art trajectory-based frameworks.
- Performance Boost: AMATA achieved an average performance improvement of +4.02% across all tasks compared to the strongest baselines. On the long-tail PopQA dataset, it scored 47.39% accuracy, significantly outperforming standard Llama-2-Chat 7B (25.44%) and even beating larger models.
- Token Efficiency: AMATA reduced token consumption overhead by approximately 70% compared to RL-based trajectory methods, maintaining a tight, token-efficient loop by dynamically suppressing unnecessary agent activations.
- Generalization: When tested with stronger backbones like Llama-3-Instruct (8B), AMATA's performance scaled up accordingly, demonstrating that the framework successfully decouples its alignment strategy from the underlying model architecture.
Limitations and Future Work
While promising, the authors note several limitations:
- Model Scale: Due to computational resource constraints, experiments were primarily conducted using 7B and 8B parameter models. Testing on 70B+ models remains future work.
- Sample Size Constraints: The DA-DPO module was restricted to a maximum of 10 winning and 10 losing trajectory samples ($M=N=10$), with a Top-$K$ value of 5 for ranking. This conservative choice balances efficiency but might miss finer-grained preference structures in highly heterogeneous tasks. Future work will explore larger sample sizes and more adaptive ranking strategies.
Summary updated