Skip to main content
QUICK REVIEW

[Paper Review] PURR: Efficiently Editing Language Model Hallucinations by Denoising Language Model Corruptions

Anthony Chen, Panupong Pasupat|arXiv (Cornell University)|May 24, 2023
Topic ModelingComputer Science6 citations
TL;DR

PURR introduces an unsupervised method to efficiently edit language model hallucinations by training compact editors to denoise synthetic corruptions generated via large language models. The approach achieves superior attribution performance compared to prompt-based editing while being orders of magnitude faster, without requiring labeled training data or paired evidence during training.

ABSTRACT

The remarkable capabilities of large language models have been accompanied by a persistent drawback: the generation of false and unsubstantiated claims commonly known as "hallucinations". To combat this issue, recent research has introduced approaches that involve editing and attributing the outputs of language models, particularly through prompt-based editing. However, the inference cost and speed of using large language models for editing currently bottleneck prompt-based methods. These bottlenecks motivate the training of compact editors, which is challenging due to the scarcity of training data for this purpose. To overcome these challenges, we exploit the power of large language models to introduce corruptions (i.e., noise) into text and subsequently fine-tune compact editors to denoise the corruptions by incorporating relevant evidence. Our methodology is entirely unsupervised and provides us with faux hallucinations for training in any domain. Our Petite Unsupervised Research and Revision model, PURR, not only improves attribution over existing editing methods based on fine-tuning and prompting, but also achieves faster execution times by orders of magnitude.

Motivation & Objective

  • To address the challenge of factually inaccurate and hallucinated outputs in large language models (LLMs).
  • To reduce the high inference cost of prompt-based editing methods that rely on large models for real-time editing.
  • To overcome the scarcity of training data for fine-tuned editors by generating synthetic hallucination-corruption pairs in a completely unsupervised manner.
  • To develop a compact, efficient editor that improves factual attribution across diverse domains and tasks.

Proposed method

  • Leverage a large language model to generate synthetic hallucinations by corrupting factual claims derived from retrieved evidence.
  • Construct a data generation pipeline that retrieves topically relevant evidence, summarizes it into a claim, and applies LLM-based corruptions to create noisy training examples.
  • Fine-tune a compact fusion-in-decoder T5 model (PURR) to denoise the corrupted claims using the retrieved evidence as context.
  • Train the editor in a completely unsupervised way, without requiring manually curated edit data or paired evidence during training.
  • Use the resulting editor at inference time to correct ungrounded claims by generating search queries, retrieving evidence, and producing revised, factually consistent statements.
(a) Training PURR. Given a seed query, we search for relevant evidence and summarize them into a claim which we corrupt. PURR is trained to denoise the corruption conditioned on the evidence.
(a) Training PURR. Given a seed query, we search for relevant evidence and summarize them into a claim which we corrupt. PURR is trained to denoise the corruption conditioned on the evidence.

Experimental results

Research questions

  • RQ1Can an unsupervised data generation pipeline based on LLMs produce high-quality, diverse hallucination-corruption pairs for training efficient editors?
  • RQ2Does a compact, fine-tuned editor trained on LLM-generated corruptions outperform prompt-based editing using large models in both accuracy and speed?
  • RQ3Can a denoising-based approach generalize across diverse domains and benchmarks without requiring domain-specific training data?
  • RQ4How does the performance of a compact editor trained on synthetic corruptions compare to the LLM used to generate the corruptions when used for prompted editing?

Key findings

  • PURR improves attribution performance across multiple benchmarks—such as Natural Questions, TriviaQA, and WebQ—compared to prompt-based editing using large language models.
  • The model achieves a 20-30% relative improvement in attribution scores on average over baseline prompt-based editing methods.
  • PURR executes up to 100x faster than LLM-based editing methods, enabling real-time inference in low-latency applications.
  • The denoising approach surpasses the performance of the LLM used to generate corruptions when that same LLM is used for few-shot prompting on multiple datasets.
  • Error analysis shows that the primary failure mode is poor evidence retrieval, not flawed editing, indicating that the core denoising mechanism is robust.
  • The method is fully unsupervised and generalizable, requiring no labeled edit data or paired evidence during training, enabling deployment across diverse domains.
(b) Using PURR. Given an ungrounded statement, we generate questions to search for relevant evidence which is then used to produce an edit.
(b) Using PURR. Given an ungrounded statement, we generate questions to search for relevant evidence which is then used to produce an edit.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.