Lune

ACL2023Top-tier venue

Contrastive Error Attribution for Finetuned Language Models

Faisal Ladhak, Esin Durmus, Tatsunori Hashimoto

Abstract

Recent work has identified noisy and misannotated data as a core cause of hallucinations and unfaithful outputs in Natural Language Generation (NLG) tasks. Consequently, identifying and removing these examples is a key open challenge in creating reliable NLG systems. In this work, we introduce a framework to identify and remove low-quality training instances that lead to undesirable outputs, such as faithfulness errors in text summarization. We show that existing approaches for error tracing, such as gradient-based influence measures, do not perform reliably for detecting faithfulness errors in NLG datasets. We overcome the drawbacks of existing error tracing methods through a new, contrast-based estimate that compares undesired generations to human-corrected outputs. Our proposed method can achieve a mean average precision of 0.93 at detecting known data errors across synthetic tasks with known ground truth, substantially outperforming existing approaches. Using this approach and re-training models on cleaned data leads to a 70% reduction in entity hallucinations on the NYT dataset and a 55% reduction in semantic errors on the E2E dataset.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Token-wise Influential Training Data Retrieval for Large Language Models cites Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
  • Token-wise Influential Training Data Retrieval for Large Language Models cites Estimating Training Data Influence by Tracing Gradient Descent
  • Training Data Attribution via Approximate Unrolling cites Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
  • Training Data Attribution via Approximate Unrolling cites Estimating Training Data Influence by Tracing Gradient Descent
  • Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
  • Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models cites Explaining Black Box Predictions and Unveiling Data Artifacts through Influence Functions
  • Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models cites Estimating Training Data Influence by Tracing Gradient Descent
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. Training Data Attribution via Approximate UnrollingJuhan Bae, Wu Lin, Jonathan Lorraine, Roger B. GrosseNeurIPS 2024 · 41 citations
  2. Enhancing Training Data Attribution with Representational OptimizationWeiwei Sun, Haokun Liu, Nikhil Kandpal, Colin A. Raffel et al.NeurIPS 2025 · 9 citations
  3. An Audit on the Perspectives and Challenges of Hallucinations in NLPPranav Narayanan Venkit, Tatiana Chakravorti, Vipul Gupta, Heidi Biggs et al.EMNLP 2024 · 8 citations
  4. Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation ModelsTianjian Li, Haoran Xu, Philipp Koehn, Daniel Khashabi et al.ICLR 2024 · 6 citations
  5. Token-wise Influential Training Data Retrieval for Large Language ModelsHuawei Lin, Jikai Long, Zhaozhuo Xu, Weijie ZhaoACL 2024 · 1 citation

Builds on9

  1. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
  2. BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
  3. Estimating Training Data Influence by Tracing Gradient DescentGarima Pruthi, Frederick Liu, Satyen Kale, Mukund SundararajanNeurIPS 2020 · 784 citations
  4. ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
  5. Explaining Black Box Predictions and Unveiling Data Artifacts through Influence FunctionsXiaochuang Han, Byron C. Wallace, Yulia TsvetkovACL 2020 · 91 citations

Related papers

  1. ETF: An Entity Tracing Framework for Hallucination Detection in Code SummariesKishan Maharaj, Vitobha Munigala, Srikanth G. Tamilselvam, Prince Kumar et al.ACL 2025 · 4 citations
  2. Leveraging Entailment Judgements in Cross-Lingual SummarisationHuajian Zhang, Laura Perez-BeltrachiniACL Findings 2024 · 1 citation
  3. Learning to Revise References for Faithful SummarizationGriffin Adams, Han-Chin Shing, Qing Sun, Christopher Winestock et al.EMNLP Findings 2022 · 29 citations
  4. SCOPE: A Self-supervised Framework for Improving Faithfulness in Conditional Text GenerationSong Duong, Florian Le Bronnec, Alexandre Allauzen, Vincent Guigue et al.ICLR 2025
  5. Improving Factual Consistency of News Summarization by Contrastive Preference OptimizationHuawen Feng, Yan Fan, Xiong Liu, Ting-En Lin et al.EMNLP Findings 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines