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

Transferable Normalization: Towards Improving Transferability of Deep Neural Networks

Ximei Wang, Ying Jin, Mingsheng Long, Jianmin Wang, Michael I. Jordan

Introduction

Deep Neural Networks (DNNs) are notoriously sensitive to domain shift—the phenomenon where a model trained on one dataset (the source) fails to generalize to a different, unlabeled dataset (the target). While most research in Unsupervised Domain Adaptation (UDA) focuses on designing complex loss functions to align these domains, this paper identifies a critical bottleneck in the network architecture itself: Batch Normalization (BN).

In standard UDA training, source and target data are often fed into the network in the same mini-batch. BN calculates a single mean and variance for this combined batch. Because the domains have fundamentally different distributions, this "brute-force" averaging distorts the features and actively hinders transferability. Furthermore, standard BN treats every feature channel as equally important, even though some channels (like those detecting core object textures) are more consistent across domains than others (like those detecting specific, variable backgrounds).

To address this, the authors introduce Transferable Normalization (TransNorm), a drop-in replacement for Batch Normalization designed specifically to boost UDA performance without adding extra learnable parameters.

The TransNorm Architecture

TransNorm modifies the standard normalization pipeline to be domain-aware. It can be plugged into any architecture (ResNet, Inception, etc.) that relies on BN.

Architecture of Transferable Normalization (TransNorm)

The method improves upon standard normalization in four key ways:

  1. Domain-Specific Statistics: Instead of computing a single mean and variance for a mixed batch, TransNorm computes $\mu$ and $\sigma$ for the source and target domains separately within each mini-batch. This prevents the "distribution smearing" caused by standard BN.
  2. Distance-Based Channel Weighting: The model quantifies the distance ($d$) between the source and target distributions for each individual channel. Channels with a smaller distance are considered more "transferable."
  3. The Student t-Distribution Trick: To convert these distances into attention weights ($\alpha$), the authors utilize a Student t-distribution. This distribution features "heavy tails," meaning it can highlight highly transferable channels without overly penalizing those that are slightly less consistent.
  4. Residual Adaptation: The final output combines the normalized features and the weighted features: $y = (1 + \alpha)z$. This residual connection ensures the layer remains robust even if the transferability estimation is noisy during early training.

Datasets and Evaluation

The authors rigorously evaluated TransNorm across five diverse domain adaptation benchmarks:

  • Office-31: A classic UDA dataset with 31 categories across three domains (Amazon, DSLR, Webcam).
  • ImageCLEF-DA: 12 classes shared by three public datasets (Caltech, ImageNet, Pascal VOC).
  • Office-Home: A more challenging dataset with 65 classes across four domains (Art, Clipart, Product, Real-world).
  • Digits: Transferring between MNIST and SVHN (Street View House Numbers).
  • VisDA-2017: A massive simulation-to-real dataset containing over 280,000 images.

Key Insights and Results

By treating normalization as a form of "moment matching," TransNorm allows the architecture itself to perform a level of domain alignment before the loss function even comes into play. Visualizations confirm that "transferable" channels (those assigned high $\alpha$ weights) tend to focus on core objects, while low-transferability channels focus on variable backgrounds or lighting conditions.

A-distance comparison showing reduced domain discrepancy

Empirical results demonstrate significant improvements when integrating TransNorm into existing UDA frameworks:

  • Accuracy Boost: On the Office-31 dataset, adding TransNorm to the DANN algorithm improved accuracy from 82.2% to 86.0%. On the more difficult Office-Home dataset, it improved CDAN from 65.8% to 67.6%.
  • Faster Convergence: TransNorm acts as a training accelerator. For example, on the Amazon $\to$ Webcam task, CDAN with TransNorm reached 95% accuracy in just 1,500 iterations, while standard CDAN remained below 90% at the same milestone.
  • Reduced Domain Discrepancy: Theoretical analysis using "A-distance" (a metric representing how easily a classifier can distinguish between two domains) showed that TransNorm leads to significantly lower domain discrepancy compared to standard BN and other normalization variants.

Limitations and Future Work

While highly effective, TransNorm's statistical estimates depend on the mini-batch size, much like standard Batch Normalization. In scenarios with very small batches, the domain-specific statistics might become noisy. Additionally, the method assumes that both source and target data are available concurrently during training, which may not apply to "Source-Free" domain adaptation scenarios.

Ultimately, this paper proves that how data flows through a network is just as important as what the network optimizes. The authors suggest that this principle of "transferable architecture design" could eventually be extended beyond normalization to other network components, such as pooling layers or activation functions.

Summary updated

BibTeX
@inproceedings{wang2019transferable,
  author = {Ximei Wang and Ying Jin and Mingsheng Long and Jianmin Wang and Michael I. Jordan},
  title = {{Transferable Normalization: Towards Improving Transferability of Deep Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure