NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reliable, Adaptable, and Attributable Language Models with Retrieval

Akari Asai, Zexuan Zhong, Danqi Chen, Pang Wei Koh, Luke Zettlemoyer, Hannaneh Hajishirzi, Wen-tau YiharXiv 2024 · DOI

TL;DR

Parametric language models (like GPT-4) are powerful but suffer from "hallucinations," stale knowledge, and massive computational costs. This position paper argues that the future of AI lies in Retrieval-Augmented Language Models (RALMs)—systems that consult external datastores at inference time—and provides a comprehensive roadmap to move these models from niche research to general-purpose dominance.

The Problem: Limitations of Parametric LMs

The fundamental limitation of "parametric" LMs is their attempt to store all world knowledge within internal weights. This approach leads to five core weaknesses:

  1. Factual Inaccuracies: Models often "hallucinate" plausible-sounding but false information.
  2. Verification Hurdles: It is difficult to fact-check a model's output without citations.
  3. Data Obsolescence: Updating knowledge requires expensive retraining.
  4. Privacy/Copyright Issues: Removing specific "memorized" data is nearly impossible.
  5. Inefficiency: Scaling to hundreds of billions of parameters is unsustainable.
Comparison of Parametric LMs vs. Retrieval-augmented LMs, highlighting factual accuracy and attribution benefits.

While RALMs offer a solution by retrieving relevant documents to help generate answers, they haven't been widely adopted for general tasks due to simplistic retrieval methods and shallow interactions between the retriever and the LM.

Methods: A Unified Taxonomy and Roadmap

The paper provides a strategic roadmap and categorizes existing retrieval-augmented models across three primary axes:

The RALM Taxonomy: Visualizing granularity, incorporation methods, and retrieval frequency.

The RALM Taxonomy

  • Granularity: Defines what is retrieved, ranging from 100-word "chunks" to individual tokens or phrases.
  • Incorporation Method:
    • Input Augmentation: Prepending text to the prompt (standard "RAG").
  • Intermediate Fusion: Integrating data into hidden layers (e.g., RETRO).
  • Output Interpolation: Blending predicted word probabilities with datastore probabilities (e.g., kNN-LM).
  • Frequency: Determines how often to retrieve—once per query, every $k$ tokens, or adaptively based on model confidence.

Rethinking Retrieval

The authors advocate for moving beyond simple keyword similarity toward joint training. In this paradigm, the retriever learns specifically what information helps the LM perform better, even if that information isn't "similar" to the input query.

Datasets and Scaling

The paper synthesizes findings from diverse benchmarks:

  • Standard Datastores: While Wikipedia is common, there is a growing need for expert-domain and multi-modal datastores.
  • Massive Scales: Models like RETRO demonstrate that scaling the "external memory" (e.g., a 1-trillion-token datastore) can be more effective than scaling model parameters.
  • Evaluation: Performance is typically measured on knowledge-intensive tasks like Natural Questions (NQ) and FEVER.

Key Insights

  • Relevance ≠ Helpfulness: Retrievers often look for text that looks like the question. However, for complex reasoning, the most "helpful" text might be a logic pattern or a similar solved problem.
  • Deep Interaction: Most current systems "stuff" text into the prompt. The authors argue for "deep" interaction where internal attention mechanisms handle retrieved data natively.
  • Parameter Efficiency: A smaller model (e.g., 7B) with a massive datastore can outperform a "giant" parametric model (e.g., 175B) on factual tasks.

Key Results and Limitations

Research shows that increasing datastore size improves performance more efficiently than increasing parameters. RALMs significantly reduce hallucinations in "long-tail" knowledge scenarios and offer high adaptability; by swapping the datastore (e.g., from medical to legal), a model can be re-specialized without weight updates.

However, hurdles remain:

  • Inference Latency: Searching billions of documents adds time.
  • Context Window Limits: Retrieved documents consume space in "short-term memory."
  • Joint Optimization: Updating a massive search index during training is a major engineering challenge.

Future Directions

The authors call for "instruction-tuned" retrievers, specialized hardware for vector search, and a shift toward "general-purpose" RALMs capable of reasoning and coding as effectively as they handle trivia.

Summary updated

BibTeX
@misc{asai2024reliable,
  author = {Akari Asai and Zexuan Zhong and Danqi Chen and Pang Wei Koh and Luke Zettlemoyer and Hannaneh Hajishirzi and Wen-tau Yih},
  title = {{Reliable, Adaptable, and Attributable Language Models with Retrieval}},
  year = {2024},
  eprint = {2403.03187},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.03187},
}
Figure