[Paper Review] Transferable Calibration with Lower Bias and Variance in Domain Adaptation
This paper proposes Transferable Calibration (TransCal), a hyperparameter-free post-hoc calibration method for domain adaptation that reduces bias and variance in predictive uncertainty estimation without target labels. By leveraging learnable meta-parameters and serial control variates, TransCal achieves state-of-the-art calibration performance across multiple domain adaptation benchmarks, significantly improving reliability in safety-critical applications.
Domain Adaptation (DA) enables transferring a learning machine from a labeled source domain to an unlabeled target one. While remarkable advances have been made, most of the existing DA methods focus on improving the target accuracy at inference. How to estimate the predictive uncertainty of DA models is vital for decision-making in safety-critical scenarios but remains the boundary to explore. In this paper, we delve into the open problem of Calibration in DA, which is extremely challenging due to the coexistence of domain shift and the lack of target labels. We first reveal the dilemma that DA models learn higher accuracy at the expense of well-calibrated probabilities. Driven by this finding, we propose Transferable Calibration (TransCal) to achieve more accurate calibration with lower bias and variance in a unified hyperparameter-free optimization framework. As a general post-hoc calibration method, TransCal can be easily applied to recalibrate existing DA methods. Its efficacy has been justified both theoretically and empirically.
Motivation & Objective
- To address the open problem of model calibration in unsupervised domain adaptation, where existing methods fail due to domain shift and lack of target labels.
- To reveal the trade-off between accuracy and calibration in domain adaptation models, showing that higher accuracy often comes at the cost of worse calibration.
- To develop a unified, hyperparameter-free optimization framework that enables accurate, low-bias, and low-variance calibration in domain adaptation.
- To enable post-hoc calibration of existing domain adaptation models without architectural changes or reliance on target labels.
Proposed method
- TransCal introduces a unified optimization framework that jointly learns a temperature scaling parameter and a learnable meta-parameter λ to minimize calibration error.
- It employs a serial control variate technique to reduce the variance of the estimated calibration error, improving optimization stability.
- The method uses importance weights derived from source and target features to estimate calibration error without ground-truth labels on the target domain.
- A meta-parameter λ is introduced to balance the contribution of source and target domain samples in the calibration objective, adaptively minimizing bias.
- The framework is hyperparameter-free, meaning no manual tuning of temperature or λ is required; both are end-to-end optimized.
- TransCal is compatible with any pre-trained domain adaptation model and can be applied as a post-hoc calibration step.
Experimental results
Research questions
- RQ1Does domain adaptation inherently compromise model calibration, even as accuracy improves?
- RQ2Can we achieve low-bias and low-variance calibration in domain adaptation without access to target labels?
- RQ3Is a unified, hyperparameter-free optimization framework feasible and effective for calibration in domain adaptation?
- RQ4How does the choice of control variate (serial vs. parallel) affect calibration variance and performance?
- RQ5Can TransCal outperform existing calibration baselines like Temp Scaling, Vector Scaling, and Matrix Scaling in domain adaptation settings?
Key findings
- TransCal achieves the lowest Expected Calibration Error (ECE) across all evaluated tasks, with a mean ECE of 13.5% on Office-Home using the serial control variate variant.
- On the Office-Home dataset, TransCal reduces ECE from 20.9% (baseline) to 13.5% when using serial control variates, demonstrating significant improvement.
- The serial control variate method reduces variance in the calibration error estimator, leading to more stable optimization and better generalization.
- The method effectively reduces the maximum importance weight (M), which correlates with bias, by learning an optimal λ for each domain shift.
- TransCal outperforms all baselines, including Temp Scaling and Matrix Scaling, with the latter suffering from overfitting and worse performance.
- Empirical results show that DA models trained with deep networks achieve higher accuracy but worse calibration than SourceOnly models, confirming the accuracy-calibration trade-off.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.