Lune

ACL2023Top-tier venue

Explanation-based Finetuning Makes Models More Robust to Spurious Cues

Josh Magnus Ludan, Yixuan Meng, Tai Nguyen, Saurabh Shah, Qing Lyu, Marianna Apidianaki, Chris Callison-Burch

Abstract

Large Language Models (LLMs) are so powerful that they sometimes learn correlations between labels and features that are irrelevant to the task, leading to poor generalization on outof-distribution data. We propose explanationbased finetuning as a general approach to mitigate LLMs' reliance on spurious correlations. Unlike standard finetuning where the model only predicts the answer given the input, we finetune the model to additionally generate a free-text explanation supporting its answer. To evaluate our method, we finetune the model on artificially constructed training sets containing different types of spurious cues, and test it on a test set without these cues. Compared to standard finetuning, our method makes GPT-3 (davinci) remarkably more robust against spurious cues in terms of accuracy drop across four classification tasks: ComVE (+1.2), CREAK (+9.1), e-SNLI (+15.4), and SBIC (+6.5). The efficacy generalizes across multiple model families and scales, with greater gains for larger models. Finally, our method also works well with explanations generated by the model, implying its applicability to more datasets without human-written explanations. 1,2 1 Warning: this paper contains examples that may be offensive or upsetting. 2 Our code is available at https://github.com/ taidnguyen/explanation-based_finetuning .

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.

6 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

  • Adversarial NLI: A New Benchmark for Natural Language Understanding cites Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
  • Improving Implicit Discourse Relation Recognition with Natural Language Explanations from LLMs cites Language Models are Few-Shot Learners
  • Using Natural Language Explanations to Improve Robustness of In-context Learning cites End-to-End Bias Mitigation by Modelling Biases in Corpora
  • Using Natural Language Explanations to Improve Robustness of In-context Learning cites Adversarial NLI: A New Benchmark for Natural Language Understanding
  • RORA: Robust Free-Text Rationale Evaluation cites Learning The Difference That Makes A Difference With Counterfactually-Augmented Data
  • Language Models are Few-Shot Learners cites Adversarial NLI: A New Benchmark for Natural Language Understanding
  • Exploring Explanations Improves the Robustness of In-Context Learning cites End-to-End Bias Mitigation by Modelling Biases in Corpora
  • Exploring Explanations Improves the Robustness of In-Context Learning cites Adversarial NLI: A New Benchmark for Natural Language Understanding
  • Exploring Explanations Improves the Robustness of In-Context Learning cites Using Natural Language Explanations to Improve Robustness of In-context Learning
  • Exploring Explanations Improves the Robustness of In-Context Learning cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Using Natural Language Explanations to Improve Robustness of In-context LearningXuanli He, Yuxiang Wu, Oana-Maria Camburu, Pasquale Minervini et al.ACL 2024 · 7 citations
  2. ICLEF: In-Context Learning with Expert Feedback for Explainable Style TransferArkadiy Saakyan, Smaranda MuresanACL 2024
  3. Improving Implicit Discourse Relation Recognition with Natural Language Explanations from LLMsHeng Wang, Changxing WuAAAI 2026
  4. RORA: Robust Free-Text Rationale EvaluationZhengping Jiang, Yining Lu, Hanjie Chen, Daniel Khashabi et al.ACL 2024
  5. Exploring Explanations Improves the Robustness of In-Context LearningUkyo Honda, Tatsushi OkaACL 2025

Builds on8

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 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. Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 citations
  4. Adversarial NLI: A New Benchmark for Natural Language UnderstandingYixin Nie, Adina Williams, Emily Dinan, Mohit Bansal et al.ACL 2020 · 602 citations
  5. End-to-End Bias Mitigation by Modelling Biases in CorporaRabeeh Karimi Mahabadi, Yonatan Belinkov, James HendersonACL 2020 · 136 citations

Related papers

  1. The Unreliability of Explanations in Few-shot Prompting for Textual ReasoningXi Ye, Greg DurrettNeurIPS 2022 · 272 citations
  2. Reducing Spurious Correlations in Aspect-based Sentiment Analysis with Explanation from Large Language ModelsQianlong Wang, Keyang Ding, Bin Liang, Min Yang et al.EMNLP Findings 2023 · 15 citations
  3. FLamE: Few-shot Learning from Natural Language ExplanationsYangqiaoyu Zhou, Yiming Zhang, Chenhao TanACL 2023 · 8 citations
  4. Steering Out-of-Distribution Generalization with Concept Ablation Fine-TuningHelena Casademunt, Caden Juang, Adam Karvonen, Samuel Marks et al.ICML 2026 · 32 citations
  5. ArGue: Attribute-Guided Prompt Tuning for Vision-Language ModelsXinyu Tian, Shu Zou, Zhaoyuan Yang, Jing ZhangCVPR 2024 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines