paper-with-me

홈 › Papers

Contrastive Spectral Rectification: Test-Time Defense towards Zero-shot Adversarial Robustness of CLIP

2026-01-27 · Sen Nie, Jie Zhang, Zhuo Wang, Shiguang Shan, Xilin Chen arxiv

Vision-language models (VLMs) such as CLIP have demonstrated remarkable zero-shot generalization, yet remain highly vulnerable to adversarial examples (AEs). While test-time defenses are promising, existing methods fail to provide sufficient robustness against strong attacks and are often hampered by high inference latency and task-specific applicability. To address these limitations, we start by investigating the intrinsic properties of AEs, which reveals that AEs exhibit severe feature inconsistency under progressive frequency attenuation. We further attribute this to the model's inherent spectral bias. Leveraging this insight, we propose an efficient test-time defense named Contrastive Spectral Rectification (CSR). CSR optimizes a rectification perturbation to realign the input with the natural manifold under a spectral-guided contrastive objective, which is applied input-adaptively. Extensive experiments across 16 classification benchmarks demonstrate that CSR outperforms the SOTA by an average of 18.1% against strong APGD with modest inference overhead. Furthermore, CSR exhibits broad applicability across diverse visual tasks. Code is available at https://github.com/Summu77/CSR.

📄 PDF Abstract BibTeX arXiv:2601.19210

Code (0)

등록된 구현이 없습니다.

Tasks

Zero-shot GeneralizationAdversarial Robustness

Similar Papers 제목 키워드 기반

Rectifying Adversarial Sample with Low Entropy Prior for Test-Time Defense

2025-07-04 · Lina Ma, Xiaowei Fu, Fuxiang Huang, Xinbo Gao 외

Existing defense methods fail to defend against unknown attacks and thus raise generalization issue of adversarial robustness. To remedy this problem, we attempt to delve into some underlying common characteristics among…

Adversarial Robustness

In Flight Boresight Rectification for Lightweight Airborne Pushbroom Imaging Spectrometry

2024-09-10 · Julien Yuuki Burkhard, Jesse Ray Murray Lahaye, Laurent Valentin Jospin, Jan Skaloud

Hyperspectral cameras have recently been miniaturized for operation on lightweight airborne platforms such as UAV or small aircraft. Unlike frame cameras (RGB or Multispectral), many hyperspectral sensors use a linear ar…

Camera Calibration

TARO: Temporal Adversarial Rectification Optimization Using Diffusion Models as Purifiers

2026-05-08 · Daniel Wesego, Pedram Rooshenas arxiv

Adversarial purification with diffusion models seeks to project adversarial examples back toward the data manifold, but balancing semantic preservation and robustness against adaptive attacks remains challenging. Recent …

Improving Spectral Snapshot Reconstruction with Spectral-Spatial Rectification

2024-01-01 · CVPR 2024 1 · Jiancheng Zhang, Haijin Zeng, Yongyong Chen, Dengxiu Yu 외

How to effectively utilize the spectral and spatial characteristics of Hyperspectral Image (HSI) is always a key problem in spectral snapshot reconstruction. Recently the spectra-wise transformer has shown great pote…

Spectral Reconstruction

Test-time Detection and Repair of Adversarial Samples via Masked Autoencoder

2023-03-22 · Yun-Yun Tsai, Ju-Chin Chao, Albert Wen, Zhaoyuan Yang 외

Training-time defenses, known as adversarial training, incur high training costs and do not generalize to unseen attacks. Test-time defenses solve these issues but most existing test-time defenses require adapting the mo…

Contrastive LearningManagement