Leveraging Normalization Layer in Adapters with Progressive Learning and Adaptive Distillation for Cross-Domain Few-Shot Learning

Yongjin Yang, Taehyeon Kim, Se-Young Yun

Introduction: The Normalization Dilemma in CD-FSL

Cross-Domain Few-Shot Learning (CD-FSL) aims to adapt models trained on large-scale source datasets, such as ImageNet, to novel target domains using only a handful of examples (typically 1–5). A significant challenge in this task is the discrepancy between source and target data distributions. While adapting to a new domain often requires updating internal normalization statistics (mean and variance), doing so with very few samples introduces substantial noise.

Figure 1: Illustration of the domain shift between the source ImageNet domain and various target domains, ranging from similar (MSCOCO) to highly dissimilar (Omniglot).

As shown in Figure 1, target domains can vary significantly in their similarity to the source. For domains similar to the source, relying on noisy few-shot statistics can degrade performance. Conversely, for highly dissimilar domains, failing to update these statistics prevents the model from effectively bridging the domain gap. Current methods typically commit to one strategy, failing to generalize across the diverse spectrum of potential target domains.

The ProLAD Framework

To address this, we introduce ProLAD (Progressive Learning and Adaptive Distillation), a framework that employs a dual-adapter strategy to navigate the normalization trade-off. ProLAD utilizes two specialized components:

  1. Task Adapter (TA): A linear adapter without normalization layers, providing a stable "safe" baseline for similar domains.
  2. Task Adapter with Normalization (TAN): Incorporates a Standard Normalization (SN) layer and group convolutions to aggressively adapt to the statistics of dissimilar domains.
Figure 4: The three-stage ProLAD pipeline: (1) Source pretraining, (2) TA fine-tuning to create a teacher model, and (3) Joint training of TA and TAN using adaptive distillation modulated by domain similarity.

Progressive Learning and Adaptive Distillation

The ProLAD training process follows a three-stage pipeline (Figure 4). After initial pretraining, the TA is fine-tuned on the support set to serve as a reliable teacher. In the final stage, both TA and TAN are trained jointly through Adaptive Distillation.

The core of this mechanism is the domain similarity coefficient ($\lambda_T$). When a target domain is identified as similar to the source, $\lambda_T$ is high, and the model prioritizes distillation from the stable TA teacher. For dissimilar domains, $\lambda_T$ decreases, allowing the TAN adapter to learn more independently from the labels and effectively "reset" its internal statistics for the new domain. This similarity is estimated on-the-fly by comparing intra-class and inter-class feature similarities.

Experimental Results

ProLAD was evaluated on the Meta-Dataset, which encompasses 13 diverse datasets including natural images (MSCOCO, Birds) and abstract domains (Omniglot, Quick Draw).

Performance Highlights

  • State-of-the-Art Accuracy: In the Single-Domain Learning (SDL) setting, ProLAD-sim achieved an average accuracy of 74.7%, surpassing previous leading methods like TSA (72.4%).
  • Success in Dissimilar Domains: The adaptive mechanism proved particularly effective for domains distant from ImageNet, yielding significant gains such as +7.9% on Omniglot and +7.7% on Traffic Signs.
  • Multi-Domain Robustness: The framework maintained its superiority in Multi-Domain Learning (MDL) settings, demonstrating that the adaptive distillation remains effective even with more powerful initial feature extractors.

Conclusion and Future Work

ProLAD effectively resolves the normalization dilemma in CD-FSL by dynamically balancing stability and adaptation. By leveraging a dual-adapter architecture and similarity-based distillation, it achieves robust performance across a wide range of domain shifts. Future research will focus on refining the similarity metric ($\lambda_T$) to capture more subtle feature shifts and optimizing the computational efficiency of the multi-stage training process.

Summary updated

BibTeX
@inproceedings{yang2024leveraging,
  author = {Yongjin Yang and Taehyeon Kim and Se-Young Yun},
  title = {{Leveraging Normalization Layer in Adapters with Progressive Learning and Adaptive Distillation for Cross-Domain Few-Shot Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29573},
}
Figure