Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Data Augmentations for Improved (Large) Language Model Generalization

About

The reliance of text classifiers on spurious correlations can lead to poor generalization at deployment, raising concerns about their use in safety-critical domains such as healthcare. In this work, we propose to use counterfactual data augmentation, guided by knowledge of the causal structure of the data, to simulate interventions on spurious features and to learn more robust text classifiers. We show that this strategy is appropriate in prediction problems where the label is spuriously correlated with an attribute. Under the assumptions of such problems, we discuss the favorable sample complexity of counterfactual data augmentation, compared to importance re-weighting. Pragmatically, we match examples using auxiliary data, based on diff-in-diff methodology, and use a large language model (LLM) to represent a conditional probability of text. Through extensive experimentation on learning caregiver-invariant predictors of clinical diagnoses from medical narratives and on semi-synthetic data, we demonstrate that our method for simulating interventions improves out-of-distribution (OOD) accuracy compared to baseline invariant learning algorithms.

Amir Feder, Yoav Wald, Claudia Shi, Suchi Saria, David Blei• 2023

Related benchmarks

TaskDatasetResultRank
Length-of-Stay PredictionMIMIC-III (test)
RMSE13.504
13
Readmission predictionMIMIC-III (test)
Accuracy73
13
Clinical Entity Quality AssessmentClinical Synthetic Notes 300 samples (test)
Token Level Precision47
5
ICD code predictionMIMIC-III
Micro Recall15.3
4
Clinical Text Augmentation26 annotated discharge summary notes
Token Level Precision67
3
Showing 5 of 5 rows

Other info

Follow for update