Beyond Domain Alignment: Restoring Class Discrimination in Open-Set Test-Time Adaptation
Yunkai Bian, Zhun Luo, Song Tan, Congfang Hu, Lixin Lin, Hao Zhang, Wei Luo
原文摘要
When a visual classifier is deployed, environmental changes can corrupt its inputs and cause familiar objects to be misclassified. Open-set continual test-time adaptation (OCTTA) seeks to maintain recognition of known classes while rejecting unknown inputs as visual conditions change. Existing approaches compensate for corruption by aligning feature distributions or preserving relationships among examples. These constraints leave class correspondence unresolved: our counterexample preserves feature statistics and similarities while known-class assignments remain incorrect. Diagnostics of native DOCO show that compensation updates can reduce the adaptation objective and worsen individual correct-class margins.We propose ClassReST (Class-Discriminative Restoration of Spatial Tokens), which learns to correct these residual class confusions using labelled clean-corrupted source image pairs. By comparing the classifier's responses to clean and corrupted views, we train a spatial restorer to recover the class relationships observed in clean images. The learned corrections depend on the input and operate on intermediate visual features, allowing the restorer to address different corruptions without knowing their types. During deployment, the restorer remains frozen and corrects predictions under evolving, history-stabilised domain-compensation states; its outputs do not enter the online adaptation objective. It requires neither target labels nor clean test references. Controlled experiments show that the learned spatial corrections recover residual class errors under matched online states, while the complete system improves known-class recognition and unknown detection across changing corruption conditions.
cs.CV · cs.LG