CATfOOD: Counterfactual Augmented Training for Improving Out-of-Domain Performance and Calibration

Rachneet Sachdeva, Martin Tutek, Iryna Gurevych
9/14/2023
cs.CL

No official code found. Best implementation: UKPLab/eacl2024-catfood (5 stars, MIT, last commit 2025-01-08).

Abstract

In recent years, large language models (LLMs) have shown remarkable capabilities at scale, particularly at generating text conditioned on a prompt. In our work, we investigate the use of LLMs to augment training data of small language models~(SLMs) with automatically generated counterfactual~(CF) instances -- i.e. minimally altered inputs -- in order to improve out-of-domain~(OOD) performance of SLMs in the extractive question answering~(QA) setup. We show that, across various LLM generators, such data augmentation consistently enhances OOD performance and improves model calibration for both confidence-based and rationale-augmented calibrator models. Furthermore, these performance improvements correlate with higher diversity of CF instances in terms of their surface form and semantic content. Finally, we show that CF augmented models which are easier to calibrate also exhibit much lower entropy when assigning importance, indicating that rationale-augmented calibrators prefer concise explanations.

View on arXivView PDF

Code Implementations(1)

MIT

Enhancing small language models with LLM generated counterfactuals.

50Shell, PythonSep 14, 20231 years agoMIT

Similar Papers

Cite this paper

@article{sachdeva2023catfood,
  title  = {CATfOOD: Counterfactual Augmented Training for Improving Out-of-Domain Performance and Calibration},
  author = {Rachneet Sachdeva and Martin Tutek and Iryna Gurevych},
  year   = {2023},
  eprint = {2309.07822},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.07822v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.07822.svg)](https://codeofpaper.com/paper/2309.07822)

Discussion