Skip to main content
QUICK REVIEW

[Paper Review] Source-Free Adaptation to Measurement Shift via Bottom-Up Feature Restoration

Cian Eastwood, Ian Mason|arXiv (Cornell University)|Jul 12, 2021
Domain Adaptation and Few-Shot LearningComputer Science9 citations
TL;DR

This paper proposes Bottom-Up Feature Restoration (BUFR), a source-free domain adaptation method for measurement shift that restores source-domain features in the target domain using soft-binned histograms to align feature distributions. BUFR outperforms existing methods in accuracy, calibration, and data efficiency, especially when the source model's feature separation degrades in the target domain.

ABSTRACT

Source-free domain adaptation (SFDA) aims to adapt a model trained on labelled data in a source domain to unlabelled data in a target domain without access to the source-domain data during adaptation. Existing methods for SFDA leverage entropy-minimization techniques which: (i) apply only to classification; (ii) destroy model calibration; and (iii) rely on the source model achieving a good level of feature-space class-separation in the target domain. We address these issues for a particularly pervasive type of domain shift called measurement shift which can be resolved by restoring the source features rather than extracting new ones. In particular, we propose Feature Restoration (FR) wherein we: (i) store a lightweight and flexible approximation of the feature distribution under the source data; and (ii) adapt the feature-extractor such that the approximate feature distribution under the target data realigns with that saved on the source. We additionally propose a bottom-up training scheme which boosts performance, which we call Bottom-Up Feature Restoration (BUFR). On real and synthetic data, we demonstrate that BUFR outperforms existing SFDA methods in terms of accuracy, calibration, and data efficiency, while being less reliant on the performance of the source model in the target domain.

Motivation & Objective

  • Address the limitations of entropy-minimization-based source-free domain adaptation (SFDA), which apply only to classification, degrade model calibration, and rely on intact feature separation in the target domain.
  • Tackle measurement shift—common in real-world ML deployments like medical imaging and autonomous driving—where domain shift arises from changes in sensors or imaging conditions.
  • Propose a method that restores source-domain semantics in target-domain features rather than learning new features, under the assumption that semantic consistency is sufficient for performance recovery.
  • Develop a lightweight, flexible distribution approximation using soft-binned histograms to capture source feature distributions without storing raw data.
  • Introduce a bottom-up training scheme (BUFR) that preserves hierarchical feature structure, especially in deeper network layers, to enhance feature restoration quality.

Proposed method

  • Use soft-binned histograms to approximate the marginal feature distribution of the source domain during model training, storing only a lightweight representation of the feature distribution.
  • At deployment, adapt the target feature-extractor such that the target feature distribution aligns with the stored source distribution via histogram-based distribution alignment.
  • Apply a bottom-up training scheme that progressively fine-tunes deeper layers of the feature-extractor first, preserving hierarchical feature structure and improving restoration fidelity.
  • Optimize the feature-extractor using a loss that minimizes the KL divergence between the soft-binned target feature distribution and the stored source distribution.
  • Use temperature-controlled soft binning to enable differentiable histogram approximation, allowing end-to-end training of the feature-extractor.
  • Decouple the classifier head from the feature-extractor during adaptation, preserving the original source classifier while only adapting the feature extraction process.

Experimental results

Research questions

  • RQ1Can feature restoration via distribution alignment outperform entropy-minimization-based SFDA methods under measurement shift?
  • RQ2Does a bottom-up training scheme improve feature restoration quality and generalization in source-free adaptation?
  • RQ3To what extent does BUFR reduce reliance on the source model’s initial feature separation in the target domain?
  • RQ4How does BUFR perform in terms of accuracy, calibration, and data efficiency compared to state-of-the-art SFDA methods on real and synthetic measurement shift benchmarks?
  • RQ5Can a lightweight, histogram-based distribution approximation effectively capture and restore source semantics without access to source data?

Key findings

  • BUFR achieves state-of-the-art accuracy on both CIFAR-100-C and EMNIST-DA benchmarks, outperforming methods like TENT, SHOT-IM, and AdaBN across all evaluated measurement shift types.
  • On CIFAR-100-C, BUFR achieves a mean accuracy of 63.1% (±0.3), surpassing the next best method (TENT) by 3.1 percentage points on average.
  • BUFR significantly improves model calibration, reducing expected calibration error (ECE) to 13.6% on CIFAR-100-C, compared to 14.3% for TENT and 17.7% for AdaBN.
  • The method is more data-efficient than existing SFDA approaches, maintaining high performance even with limited target domain data.
  • The bottom-up training scheme in BUFR leads to better feature restoration, especially in deeper layers, reducing performance degradation when the source model’s feature separation breaks down in the target domain.
  • On EMNIST-DA, BUFR achieves 71.6% accuracy under spatter corruption, outperforming the second-best method (TENT) by 1.0 percentage point.

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.