A Survey of Large Language Model Agents for Question Answering

Murong YuearXiv 2025 · DOI · arXiv

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.

Comparison of a conceptual agent loop and a traditional modular QA pipeline.

Methods: The Five-Stage Taxonomy of Agent Design

The survey categorizes the design of LLM agents into five key functional stages:

  1. 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.
  2. 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.
  3. 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.
  4. 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).
  5. Follow-up Interaction: Enabling multi-turn dialogues for clarification and iterative error correction.
Evolution from a basic LLM QA system to an integrated LLM-based Agent QA system.

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

Abstract

This paper surveys the development of large language model (LLM)-based agents for question answering (QA). Traditional agents face significant limitations, including substantial data requirements and difficulty in generalizing to new environments. LLM-based agents address these challenges by leveraging LLMs as their core reasoning engine. These agents achieve superior QA results compared to traditional QA pipelines and naive LLM QA systems by enabling interaction with external environments. We systematically review the design of LLM agents in the context of QA tasks, organizing our discussion across key stages: planning, question understanding, information retrieval, and answer generation. Additionally, this paper identifies ongoing challenges and explores future research directions to enhance the performance of LLM agent QA systems.
BibTeX
@misc{yue2025survey,
  author = {Murong Yue},
  title = {{A Survey of Large Language Model Agents for Question Answering}},
  year = {2025},
  eprint = {2503.19213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.19213},
}
Figure