STAMP: Outlier-Aware Test-Time Adaptation with Stable Memory Replay

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yu, Yongcan, Sheng, Lijun, He, Ran, Liang, Jian
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917759622840320
author Yu, Yongcan
Sheng, Lijun
He, Ran
Liang, Jian
author_facet Yu, Yongcan
Sheng, Lijun
He, Ran
Liang, Jian
contents Test-time adaptation (TTA) aims to address the distribution shift between the training and test data with only unlabeled data at test time. Existing TTA methods often focus on improving recognition performance specifically for test data associated with classes in the training set. However, during the open-world inference process, there are inevitably test data instances from unknown classes, commonly referred to as outliers. This paper pays attention to the problem that conducts both sample recognition and outlier rejection during inference while outliers exist. To address this problem, we propose a new approach called STAble Memory rePlay (STAMP), which performs optimization over a stable memory bank instead of the risky mini-batch. In particular, the memory bank is dynamically updated by selecting low-entropy and label-consistent samples in a class-balanced manner. In addition, we develop a self-weighted entropy minimization strategy that assigns higher weight to low-entropy samples. Extensive results demonstrate that STAMP outperforms existing TTA methods in terms of both recognition and outlier detection performance. The code is released at https://github.com/yuyongcan/STAMP.
format Preprint
id arxiv_https___arxiv_org_abs_2407_15773
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle STAMP: Outlier-Aware Test-Time Adaptation with Stable Memory Replay
Yu, Yongcan
Sheng, Lijun
He, Ran
Liang, Jian
Machine Learning
Computer Vision and Pattern Recognition
Test-time adaptation (TTA) aims to address the distribution shift between the training and test data with only unlabeled data at test time. Existing TTA methods often focus on improving recognition performance specifically for test data associated with classes in the training set. However, during the open-world inference process, there are inevitably test data instances from unknown classes, commonly referred to as outliers. This paper pays attention to the problem that conducts both sample recognition and outlier rejection during inference while outliers exist. To address this problem, we propose a new approach called STAble Memory rePlay (STAMP), which performs optimization over a stable memory bank instead of the risky mini-batch. In particular, the memory bank is dynamically updated by selecting low-entropy and label-consistent samples in a class-balanced manner. In addition, we develop a self-weighted entropy minimization strategy that assigns higher weight to low-entropy samples. Extensive results demonstrate that STAMP outperforms existing TTA methods in terms of both recognition and outlier detection performance. The code is released at https://github.com/yuyongcan/STAMP.
title STAMP: Outlier-Aware Test-Time Adaptation with Stable Memory Replay
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2407.15773