Test-Time Adaptation in Non-Stationary Environments via Adaptive Representation Alignment

Abstract

Adapting to distribution shifts is a critical challenge in modern machine learning, especially as data in many real-world applications accumulate continuously in the form of streams. We investigate the problem of sequentially adapting a model to non-stationary environments, where the data distribution is continuously shifting and only a small amount of unlabeled data are available each time. Continual test-time adaptation methods have shown promising results by using reliable pseudo-labels, but they still fall short in exploring representation alignment with the source domain in non-stationary environments. In this paper, we propose to leverage non-stationary representation learning to adaptively align the unlabeled data stream, with its changing distributions, to the source data representation using a sketch of the source data. To alleviate the data scarcity in non-stationary representation learning, we propose a novel adaptive representation alignment algorithm called Ada-ReAlign. This approach employs a group of base learners to explore different lengths of the unlabeled data stream, which are adaptively combined by a meta learner to handle unknown and continuously evolving data distributions. The proposed method comes with nice theoretical guarantees under convexity assumptions. Experiments on both benchmark datasets and a real-world application validate the effectiveness and adaptability of our proposed algorithm.

Cite

Text

Zhang et al. "Test-Time Adaptation in Non-Stationary Environments via Adaptive Representation Alignment." Neural Information Processing Systems, 2024. doi:10.52202/079017-2999

Markdown

[Zhang et al. "Test-Time Adaptation in Non-Stationary Environments via Adaptive Representation Alignment." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/zhang2024neurips-testtime/) doi:10.52202/079017-2999

BibTeX

@inproceedings{zhang2024neurips-testtime,
  title     = {{Test-Time Adaptation in Non-Stationary Environments via Adaptive Representation Alignment}},
  author    = {Zhang, Zhen-Yu and Xie, Zhiyu and Yao, Huaxiu and Sugiyama, Masashi},
  booktitle = {Neural Information Processing Systems},
  year      = {2024},
  doi       = {10.52202/079017-2999},
  url       = {https://mlanthology.org/neurips/2024/zhang2024neurips-testtime/}
}