Skip to main content
QUICK REVIEW

[Paper Review] Estimating Generalization under Distribution Shifts via Domain-Invariant Representations

Ching-Yao Chuang, Antonio Torralba|arXiv (Cornell University)|Jul 6, 2020
Domain Adaptation and Few-Shot LearningComputer Science32 references12 citations
TL;DR

This paper proposes a method to estimate model generalization under distribution shift using domain-invariant representations (DIRs) as proxy labels for target performance. By training multiple DIR models to disagree with a target model, it estimates the target risk accurately without labels, outperforming prior methods in both error estimation and point-wise error detection across vision and NLP benchmarks.

ABSTRACT

When machine learning models are deployed on a test distribution different from the training distribution, they can perform poorly, but overestimate their performance. In this work, we aim to better estimate a model's performance under distribution shift, without supervision. To do so, we use a set of domain-invariant predictors as a proxy for the unknown, true target labels. Since the error of the resulting risk estimate depends on the target risk of the proxy model, we study generalization of domain-invariant representations and show that the complexity of the latent representation has a significant influence on the target risk. Empirically, our approach (1) enables self-tuning of domain adaptation models, and (2) accurately estimates the target error of given models under distribution shift. Other applications include model selection, deciding early stopping and error detection.

Motivation & Objective

  • To estimate model generalization under distribution shift without access to target labels.
  • To develop a method that leverages domain-invariant predictors as proxy labels for target risk estimation.
  • To analyze the role of representation complexity in domain-invariant representations for target generalization.
  • To enable self-tuning of domain adaptation models via risk estimation.
  • To support model selection, early stopping, and error detection under distribution shift.

Proposed method

  • Use a set of domain-invariant representations (DIRs) as proxy labels for the unknown true target labels.
  • Train multiple DIR models (check models) to maximize disagreement with the target model, using domain-invariant training objectives like domain adversarial learning or MMD.
  • Estimate the target risk of a model by measuring its error relative to the ensemble of check models.
  • Use the disagreement between the target model and check models as a signal for potential high target risk.
  • Apply the framework to estimate both average risk and point-wise error, enabling reliability assessment per prediction.
  • Self-tune DIR models by selecting optimal representation complexity based on target risk estimation.

Experimental results

Research questions

  • RQ1Can domain-invariant representations serve as reliable proxy labels for estimating target risk under distribution shift?
  • RQ2How does the complexity of the representation encoder affect target generalization in domain-invariant models?
  • RQ3Can the proposed method outperform existing unsupervised risk estimation techniques in estimating target error?
  • RQ4To what extent can the method detect point-wise prediction errors on shifted distributions?
  • RQ5Can the risk estimation framework enable self-tuning of domain adaptation models?

Key findings

  • The proposed method achieves an average absolute error of 0.021 on the DIR-Object task, significantly outperforming baselines like Ben-David et al. (0.114) and confidence score (0.088).
  • On the SL-Object task, the method achieves a Pearson correlation of 0.995 between predicted and true target risk, outperforming Ben-David et al. (0.932) and confidence score (0.459).
  • For point-wise error detection, the method achieves an F1 score of 0.980 on digit classification and 0.928 on object classification, demonstrating high reliability in identifying mispredictions.
  • The complexity of the representation encoder has a stronger influence on target generalization than the predictor complexity, highlighting a key design choice for domain adaptation.
  • The method enables self-tuning of DIR models by selecting optimal representation complexity, leading to improved target generalization.
  • The framework successfully estimates target risk for both non-adaptive supervised models and adaptive domain-invariant models, demonstrating broad applicability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.