
Share
This paper presents STAMP, a groundbreaking method that enhances test-time adaptation by effectively managing outliers and maintaining stable performance through a unique memory replay mechanism.
In the realm of machine learning, test-time adaptation (TTA) is a crucial technique for handling distribution shifts between training and test data. While existing methods often focus on improving recognition performance for known classes, they frequently struggle when encountering outliers-data from unknown classes. A recent paper by Yongcan Yu, Lijun Sheng, Ran He, and Jian Liang introduces STAble Memory rePlay (STAMP), a novel approach that excels in both sample recognition and outlier rejection.
1. Stable Memory Bank:
2. Self-Weighted Entropy Minimization:
For practitioners, handling outliers is critical in real-world applications where data distributions can shift unpredictably. Traditional TTA methods often fail to distinguish between known and unknown classes, leading to poor performance when encountering outliers. STAMP addresses this by:

Memory Bank Updates:
Self-Weighted Entropy Minimization:
STAMP was evaluated on several benchmarks, including:
CIFAR-10-C and CIFAR-100-C:
ImageNet-C:
STAMP represents a significant advancement in test-time adaptation by effectively handling both known and unknown classes. The use of a stable memory bank and self-weighted entropy minimization makes it a powerful tool for practitioners dealing with distribution shifts and outliers. The code is available on GitHub, allowing researchers and engineers to experiment and build upon this work.
Tags
Original Sources
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
24 July 2024
88 articles
Related Articles
Related Articles
More Stories