Data Augmentations for Improved (Large) Language Model Generalization
Feder, Amir, Wald, Yoav, Shi, Claudia, Saria, Suchi, Blei, David
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jan-9-2024
- Country:
- North America
- United States
- Pennsylvania (0.04)
- New Jersey (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- Canada > British Columbia
- United States
- Europe
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Italy > Tuscany
- Florence (0.04)
- United Kingdom > England
- Asia > Middle East
- Israel (0.04)
- North America
- Genre:
- Research Report > New Finding (0.93)
- Industry:
- Government (0.93)
- Health & Medicine
- Therapeutic Area (1.00)
- Diagnostic Medicine > Imaging (1.00)
- Health Care Technology > Medical Record (0.94)
- Health Care Providers & Services (0.93)
- Nuclear Medicine (0.67)
- Technology: