Introduction
The landscape of Question Answering (QA) is undergoing a paradigm shift. While standalone Large Language Models (LLMs) have demonstrated remarkable capabilities, their deployment in production environments is often hindered by hallucinations, outdated knowledge, and an inability to perform precise computations. This paper maps the transition toward "Agentic" QA systems, where LLMs act as dynamic controllers that perceive, plan, and act within an environment to provide grounded and verifiable answers.
What Problem Does This Paper Address?
Standalone LLMs face three primary "deal-breakers" in production QA: hallucinations (confident lying), knowledge cutoff (lack of real-time information), and a lack of specialized tools for tasks like complex arithmetic or private database queries.
Traditional QA pipelines attempted to solve these issues using rigid, multi-stage modules. However, these systems were often brittle and lacked the general reasoning required for complex, multi-hop queries. The "Agentic" approach offers a middle ground, utilizing the LLM's reasoning to navigate a loop of perception and action, moving beyond simple text generation to autonomous system control.
Methods: The Five-Stage Taxonomy of Agent Design
The survey categorizes the design of LLM agents into five key functional stages:
- Planning: The "brain" function. This includes Prompting-based planning (e.g., ReAct), where the model reasons before acting, and Tuning-based planning (e.g., FireAct), where models are fine-tuned on successful action trajectories.
- Question Understanding: Techniques to make queries machine-friendly, such as Slot Identification for entity extraction and Query Expansion (e.g., HyDE) to generate hypothetical context.
- Information Retrieval: Moving beyond keyword search to Dense Retrieval (vector embeddings) and using LLMs as high-quality Re-rankers to identify the most relevant information snippets from a candidate set.
- Answer Generation: Enhancing output through Tool-Augmentation (e.g., generating Python code for math via Program-of-Thought) and Prompt-Enhancement (e.g., Chain-of-Thought).
- Follow-up Interaction: Enabling multi-turn dialogues for clarification and iterative error correction.
Key Insights and Ideas
- The "Brain, Eye, and Hand" Analogy: The paper frames the LLM as the brain, retrievers as the eye (perception), and tool/API calls as the hand (action).
- Internal vs. External Actions: A key distinction is whether an action is "internal" (modifying the agent's own memory or thought process) or "external" (interacting with a database, the internet, or a human).
- LLMs as Re-rankers: While not always the most efficient retrievers for massive datasets, LLMs excel at understanding deep semantic nuances to re-rank a small set of candidate documents better than traditional algorithms.
- Learning from Failure: There is a growing trend toward training agents on incorrect trajectories, allowing them to learn how to self-correct during inference when a plan goes awry.
Datasets and Benchmarks
The survey reviews various benchmarks used to evaluate these agents, ranging from closed-domain reading comprehension (SQuAD, DROP) to knowledge-intensive open-domain tasks (StrategyQA, MMLU) and reasoning-specific challenges (GSM8k, BBH).
Key Results and Future Directions
Agentic frameworks consistently outperform naive LLMs in knowledge-intensive tasks where the answer is not present in the training data. Techniques like "Step-Back" reformulation—asking a broader conceptual question to gain better context—have proven particularly effective for retrieval.
However, several hurdles remain. Current evaluation metrics like ROUGE are too coarse to judge the reasoning process. Future research is focused on improving "self-aware" calibration (knowing when the model doesn't know), autonomous tool creation (agents writing their own scripts), and reducing the high computational cost of LLM-based indexing.
Summary updated