SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.04990 · ACL · 2023

Explanation-based Finetuning Makes Models More Robust to Spurious Cues

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

arXiv · PDF · Open in the Atlas

Code that ran

We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 * Equal contribution. 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2305.04990")
get_code_for_paper("2305.04990")
have("2305.04990")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2305.04990.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2305.04990.svg)](https://syntology.ai/paper/2305.04990)

Connect an agent — have() is free.