NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Understanding new tasks through the lens of training data via exponential tilting

Subha Maity, Mikhail Yurochkin, Moulinath Banerjee, Yuekai Sun

Abstract

Deploying machine learning models to new tasks is a major challenge despite the large size of the modern training datasets. However, it is conceivable that the training data can be reweighted to be more representative of the new (target) task. We consider the problem of reweighing the training samples to gain insights into the distribution of the target task. Specifically, we formulate a distribution shift model based on the exponential tilt assumption and learn train data importance weights minimizing the KL divergence between labeled train and unlabeled target datasets. The learned train data weights can then be used for downstream tasks such as target performance evaluation, fine-tuning, and model selection. We demonstrate the efficacy of our method on Waterbirds and Breeds benchmarks.

Introduction

Machine learning models often fail when deployed in real-world scenarios where the target domain distribution differs from the source training domain. While many existing solutions address covariate shift—where input feature distributions change but the labeling rule remains constant—practical applications frequently encounter concept drift. In concept drift, the relationship between features and labels changes. The core challenge lies in adapting models to these new tasks using only unlabeled data from the target domain.

Methodology: Exponential Tilt Reweighting Alignment (ExTRA)

The proposed method, ExTRA, utilizes an Exponential Tilting framework. It assumes the target distribution is a "tilted" version of the source distribution, where importance weights are defined as an exponential function of data features (sufficient statistics).

Key aspects of ExTRA include:

  1. Class-Specific Tilting: Unlike standard reweighting, the tilt can vary by class, allowing the model to account for shifts in the decision boundary (concept drift).
  2. Distribution Matching: Tilt parameters are estimated by matching the marginal distribution of features in the target domain, minimizing the Kullback-Leibler (KL) divergence without requiring target labels.
  3. Sufficient Statistics: Pre-trained neural networks (e.g., ResNet, SwAV) serve as the feature extractors providing the necessary statistics.
  4. Anchor Set Condition: The model assumes the existence of "anchor sets"—regions in feature space where only one class is likely to occur—which ensures the model is identifiable.

Experimental Evaluation and Results

ExTRA was evaluated on benchmarks including WATERBIRDS (subpopulation shift) and BREEDS (hierarchical class shift).

Identifying Relevant Subpopulations

A significant strength of ExTRA is its ability to identify rare but relevant samples in the training data. In the WATERBIRDS task, minority groups (e.g., landbirds on water backgrounds) comprise only 5% of the training data. ExTRA successfully identifies these "needles in the haystack."

Precision and recall for identifying minority groups in the Waterbirds dataset.

As shown in the figure above, the top 10% of weighted samples contain over 80% of these rare cases, demonstrating high recall for identifying the subpopulations most relevant to the target task.

Model Selection and Fine-tuning

ExTRA significantly improves downstream tasks such as model selection and fine-tuning. When selecting the best model for a new task, ExTRA provides a much more reliable estimate of target performance than standard source validation.

Comparison of target accuracy and rank correlation for model selection across different target groups.

As detailed in the table, ExTRA achieved a rank correlation of 0.753 with true target accuracy, vastly outperforming the baseline source validation (SrcVal) at 0.166. Furthermore, on the BREEDS dataset, ExTRA-weighted fine-tuning outperformed standard Empirical Risk Minimization (ERM) and matched "fair" baselines that require explicit group labels.

Discussion and Limitations

While ExTRA is effective, it relies on the support overlap assumption: the source data must contain at least some samples that resemble the target domain. If the target domain features are entirely absent from the source, reweighting cannot bridge the gap. Additionally, performance is dependent on the quality of the pre-trained feature extractor. Future work may explore "support alignment" to transform feature spaces for domain generalization where source and target domains are disjoint.

Summary updated

BibTeX
@inproceedings{maity2023understanding,
  author = {Subha Maity and Mikhail Yurochkin and Moulinath Banerjee and Yuekai Sun},
  title = {{Understanding new tasks through the lens of training data via exponential tilting}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=DBMttEEoLbw},
}

Loading related content...

Figure