Spurious Feature Eraser: Stabilizing Test-Time Adaptation for Vision-Language Foundation Model

Authors

  • Huan Ma College of Intelligence and Computing, Tianjin University, Tianjin, China
  • Yan Zhu College of Intelligence and Computing, Tianjin University, Tianjin, China
  • Changqing Zhang College of Intelligence and Computing, Tianjin University, Tianjin, China
  • Peilin Zhao AI Lab, Tencent, Shenzhen, China
  • Baoyuan Wu AI Lab, Tencent, Shenzhen, China
  • Long-Kai Huang AI Lab, Tencent, Shenzhen, China
  • Qinghua Hu College of Intelligence and Computing, Tianjin University, Tianjin, China
  • Bingzhe Wu AI Lab, Tencent, Shenzhen, China

DOI:

https://doi.org/10.1609/aaai.v39i18.34124

Abstract

Vision-language foundation models have exhibited remarkable success across a multitude of downstream tasks due to their scalability on extensive image-text paired data. However, these models also display significant limitations when applied to downstream tasks, such as fine-grained image classification, as a result of ``decision shortcuts'' that hinder their generalization capabilities. In this work, we find that the CLIP model possesses a rich set of features, encompassing both desired invariant causal features and undesired decision shortcuts. Moreover, the underperformance of CLIP on downstream tasks originates from its inability to effectively utilize pre-trained features in accordance with specific task requirements. To address this challenge, we propose a simple yet effective method, Spurious Feature Eraser (SEraser), to alleviate the decision shortcuts by erasing the spurious features. Specifically, we introduce a test-time prompt tuning paradigm that optimizes a learnable prompt, thereby compelling the model to exploit invariant features while disregarding decision shortcuts during the inference phase. The proposed method effectively alleviates excessive dependence on potentially misleading spurious information. We conduct comparative analysis of the proposed method against various approaches which validates the significant superiority.

Published

2025-04-11

How to Cite

Ma, H., Zhu, Y., Zhang, C., Zhao, P., Wu, B., Huang, L.-K., … Wu, B. (2025). Spurious Feature Eraser: Stabilizing Test-Time Adaptation for Vision-Language Foundation Model. Proceedings of the AAAI Conference on Artificial Intelligence, 39(18), 19296–19304. https://doi.org/10.1609/aaai.v39i18.34124

Issue

Section

AAAI Technical Track on Machine Learning IV