[Paper Review] RARR: Researching and Revising What Language Models Say, Using Language Models
RARR is a model-agnostic framework that enhances language model outputs by automatically researching external evidence and revising text to improve factual attribution while preserving original style and structure. It uses few-shot prompting with large language models and web search to achieve high-fidelity revision with minimal fine-tuning, significantly improving attribution accuracy across diverse generation tasks.
Language models (LMs) now excel at many tasks such as few-shot learning, question answering, reasoning, and dialog. However, they sometimes generate unsupported or misleading content. A user cannot easily determine whether their outputs are trustworthy or not, because most LMs do not have any built-in mechanism for attribution to external evidence. To enable attribution while still preserving all the powerful advantages of recent generation models, we propose RARR (Retrofit Attribution using Research and Revision), a system that 1) automatically finds attribution for the output of any text generation model and 2) post-edits the output to fix unsupported content while preserving the original output as much as possible. When applied to the output of several state-of-the-art LMs on a diverse set of generation tasks, we find that RARR significantly improves attribution while otherwise preserving the original input to a much greater degree than previously explored edit models. Furthermore, the implementation of RARR requires only a handful of training examples, a large language model, and standard web search.
Motivation & Objective
- To address the problem of unsupported or hallucinated content in language model outputs by enabling automatic attribution.
- To develop a method that revises generated text to align with retrieved evidence while preserving original style, structure, and intent.
- To create a model-agnostic system that works with any pre-trained language model without requiring architectural changes.
- To evaluate revision models on both attribution quality and preservation of original text properties.
- To demonstrate that few-shot prompting with LLMs enables robust generalization across diverse generation tasks.
Proposed method
- RARR operates in two stages: Research (query generation and evidence retrieval) and Revision (disagreement detection and text editing).
- A query generator formulates questions about different aspects of the input text to guide targeted web search.
- The retriever uses standard web search to collect evidence snippets relevant to each query.
- An agreement model checks for inconsistencies between the original text and retrieved evidence.
- An edit model performs targeted revisions only when disagreement is detected, using few-shot prompting with a large language model.
- Evidence snippets are selected and compiled into an attribution report, ensuring traceability and transparency.
Experimental results
Research questions
- RQ1Can a post-hoc revision system improve factual attribution of language model outputs without modifying the original model?
- RQ2How well can few-shot prompting with LLMs generalize across diverse generation tasks such as knowledge grounding, reasoning, and dialog?
- RQ3To what extent does RARR preserve the original style and structure of the input text while fixing unsupported claims?
- RQ4How does RARR compare to existing edit models in terms of attribution accuracy and preservation fidelity?
- RQ5Can a retrieval-augmented revision system built on standard web search and LLMs outperform fine-tuned models with minimal supervision?
Key findings
- RARR significantly improves attribution performance across diverse tasks, including knowledge-intensive questions, reasoning chains, and dialog responses.
- The system preserves the original text’s style and structure more effectively than prior edit models, as measured by preservation metrics.
- RARR achieves strong performance using only a handful of training examples, demonstrating effective few-shot generalization.
- The framework outperforms existing revision models in both attribution quality and preservation of original content.
- The use of post-generation retrieval and revision enables model-agnostic attribution, making it applicable to any existing language model.
- Evaluation shows that RARR’s attribution reports are highly relevant and consistent with retrieved evidence, enhancing trust in model outputs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.