TRIO: Task Refinement with Individual Optimization for Retrieval-Augmented Generation

Yingtao Ren, Xiao Luo, Yiwei Fu, Jinzhao Zhou, Yu-Cheng Chang, Chin-Teng LinarXiv 2026 · DOI · arXiv

TL;DR

TRIO is a multi-agent framework that optimizes Retrieval-Augmented Generation (RAG) by decomposing it into three specialized, individually trained agents: one for expanding queries, one for judging if the information is sufficient, and one for generating the final answer. By aligning these agents through task-specific reinforcement learning and novel data generation, TRIO significantly reduces hallucinations and improves retrieval efficiency, outperforming state-of-the-art models like Search-R1.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) is the standard way to ground Large Language Models (LLMs) in external facts, but it isn't foolproof. Current systems often stumble over two hurdles:

  1. Inefficient Knowledge Acquisition: The initial query might be too vague, leading the retriever to fetch irrelevant or "noisy" documents while missing the "ground context" needed for a correct answer.
  2. Knowledge Underutilization: Even when the right information is retrieved, the model might overlook it or get distracted by the noise, leading to hallucinations.
Figure 1: Problem illustration. RAG struggles with inefficient knowledge acquisition in the retrieval stage and knowledge underutilization in the answer stage.

Most existing solutions try to solve this using a single "backbone" model for every step. The authors of TRIO argue that this "one-size-fits-all" approach inherits the model's intrinsic biases and fails to coordinate the retrieval and generation stages effectively.

Methods

TRIO (Task Refinement with Individual Optimization) breaks the RAG pipeline into a collaborative loop featuring three specialized agents:

  • Query Extension Agent: Instead of just using the original question, this agent identifies "knowledge gaps" in the current context and generates targeted keyword-based queries. It is optimized using Group Relative Policy Optimization (GRPO), where the reward is based on how much the answer quality improves after adding the new retrieved chunks.
  • Judge Agent: This agent acts as a gatekeeper, deciding if the currently retrieved information is enough to answer the question or if another round of retrieval is needed. It is trained via Supervised Fine-Tuning (SFT) using a "unanimity voting" label: if the answer agent can generate the correct answer 16 times in a row (stochastically), the context is labeled "Sufficient."
  • Answer Agent: The final specialist responsible for generating a concise answer. It undergoes a two-stage reinforcement learning process. It first learns to focus on key evidence in small contexts and then graduates to larger, noisier contexts.
Figure 2: An overview of our TRIO framework. The tight cooperation among three specific optimized agents improves the retrieval efficiency and answer quality.

The "secret sauce" is the tight coupling of these agents. The query and judge agents are optimized based on the performance of the answer agent, ensuring they provide exactly what the final generator needs.

Datasets

The authors evaluated TRIO across several challenging multi-hop QA benchmarks:

  • In-Domain (Training & Eval): HotpotQA and 2WikiMultiHopQA.
  • Out-of-Domain (Eval only): NQ (Natural Questions), Musique, and Bamboogle.
  • Unseen Specialized Domain: PubMedQA (biomedical domain) to test generalization.

Key Insights and Ideas

  • Specialization over Generalization: By assigning task-adaptive agents to distinct subtasks, TRIO lowers training costs and improves reliability compared to using a single massive model for everything.
  • The Power of Mixed Rewards: The authors found that a "mixed reward" design (combining Exact Match, Precision/F1, and format penalties) prevents the model from overfitting to the training data and significantly boosts performance on unseen datasets.
  • Efficiency through Conciseness: Because the query and judge agents work together to supply only strictly necessary evidence, the answer agent can produce extremely concise outputs (often just 5-7 words), which reduces hallucination risk and speeds up inference.
Figure 3: (a) and (b): Visualization of EM and F1 metrics for TRIO with single or mixed reward training. (c): The reward values trajectory is shown. Mixed reward design surpasses single reward design in overall performance.

Key Results

TRIO-8B (based on Llama-3.1-8B) achieved the strongest performance across the board, improving by an average of 6.45% over the second-best method (Search-R1).

Extracted table from page 6 of TRIO: Task Refinement with Individual Optimization for Retrieval-Augmented Generation
  • Robustness to Noise: In "high-noise" settings where 60% of the top-retrieved chunks were replaced with irrelevant data, TRIO-8B maintained significantly higher accuracy than reasoning-heavy models like Search-R1, which proved surprisingly sensitive to distractions.
  • Zero-Shot Generalization: On the biomedical PubMedQA dataset, TRIO-8B outperformed all baselines, suggesting that its multi-agent coordination logic generalizes well beyond its initial training on Wikipedia-style data.
  • Inference Speed: TRIO-4B achieved 98% of the performance of much larger reasoning-based methods while requiring only half the inference time.

Limitations and Future Work

While TRIO excels at short-answer QA, the authors note several areas for improvement:

  • Long-form Generation: The framework hasn't been validated for tasks requiring very long responses or extended narrative reasoning.
  • Live Web Search: The experiments used a static Wikipedia dump. Real-world web search introduces challenges like changing document availability and messy webpage structures.
  • Error Accumulation: In very complex tasks requiring many retrieval rounds, errors or irrelevant evidence might still accumulate, potentially hindering the final answer.

Future work will focus on calibrating retrieval-stopping decisions and evaluating TRIO in more dynamic, real-world corporate or web environments.

BibTeX
@misc{ren2026trio,
  author = {Yingtao Ren and Xiao Luo and Yiwei Fu and Jinzhao Zhou and Yu-Cheng Chang and Chin-Teng Lin},
  title = {{TRIO: Task Refinement with Individual Optimization for Retrieval-Augmented Generation}},
  year = {2026},
  eprint = {2611.02810},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.02810},
}
Figure