LGFeb 15, 2025

GeneralizeFormer: Layer-Adaptive Model Generation across Test-Time Distribution Shifts

arXiv:2502.12195v13 citationsh-index: 67Has CodeWACV
Originality Incremental advance
AI Analysis

It addresses domain shifts in dynamic scenarios for machine learning applications, but is incremental as it builds on existing meta-learning and adaptation methods.

The paper tackles test-time domain generalization by generating layer parameters on the fly with a meta-learned transformer, avoiding fine-tuning and forgetting, and shows effectiveness on six datasets.

We consider the problem of test-time domain generalization, where a model is trained on several source domains and adjusted on target domains never seen during training. Different from the common methods that fine-tune the model or adjust the classifier parameters online, we propose to generate multiple layer parameters on the fly during inference by a lightweight meta-learned transformer, which we call \textit{GeneralizeFormer}. The layer-wise parameters are generated per target batch without fine-tuning or online adjustment. By doing so, our method is more effective in dynamic scenarios with multiple target distributions and also avoids forgetting valuable source distribution characteristics. Moreover, by considering layer-wise gradients, the proposed method adapts itself to various distribution shifts. To reduce the computational and time cost, we fix the convolutional parameters while only generating parameters of the Batch Normalization layers and the linear classifier. Experiments on six widely used domain generalization datasets demonstrate the benefits and abilities of the proposed method to efficiently handle various distribution shifts, generalize in dynamic scenarios, and avoid forgetting.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes