paper-with-me

홈 › Papers

TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models

2025-12-18 · Zhiwei Li, Yitian Pang, Weining Wang, Zhenan Sun, Qi Li arxiv

Vision-Language Models (VLMs), such as CLIP, have achieved impressive zero-shot recognition performance but remain highly susceptible to adversarial perturbations, posing significant risks in safety-critical scenarios. Previous training-time defenses rely on adversarial fine-tuning, which requires labeled data and costly retraining, while existing test-time strategies fail to reliably distinguish between clean and adversarial inputs, thereby preventing both adversarial robustness and clean accuracy from reaching their optimum. To address these limitations, we propose Test-Time Padding (TTP), a lightweight defense framework that performs adversarial detection followed by targeted adaptation at inference. TTP identifies adversarial inputs via the cosine similarity shift between CLIP feature embeddings computed before and after spatial padding, yielding a universal threshold for reliable detection across architectures and datasets. For detected adversarial cases, TTP employs trainable padding to restore disrupted attention patterns, coupled with a similarity-aware ensemble strategy for a more robust final prediction. For clean inputs, TTP leaves them unchanged by default or optionally integrates existing test-time adaptation techniques for further accuracy gains. Comprehensive experiments on diverse CLIP backbones and fine-grained benchmarks show that TTP consistently surpasses state-of-the-art test-time defenses, delivering substantial improvements in adversarial robustness without compromising clean accuracy. The code for this paper will be released soon.

📄 PDF Abstract BibTeX arXiv:2512.16523

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial RobustnessTest-time Adaptation

Similar Papers 제목 키워드 기반

T-VSS: Test-Time Visual Subspace Steering for Adversarial Robustness of Vision-Language Models

2026-06-22 · Jaehyuk Jang, Minseok Seo. Seungju Cho, Kangwook Ko, Changick Kim arxiv

Vision-language models (VLMs) achieve strong zero-shot recognition, but they remain highly vulnerable to adversarial perturbations. Recent test-time adaptations improve robustness without retraining, but they do not dire…

Adversarial RobustnessTest-time Adaptation

An Investigation of Reprogramming for Cross-Language Adaptation in Speaker Verification Systems

2024-11-18 · Jingyu Li, Aemon Yat Fei Chiu, Tan Lee

Language mismatch is among the most common and challenging domain mismatches in deploying speaker verification (SV) systems. Adversarial reprogramming has shown promising results in cross-language adaptation for SV. The …

Speaker Verification

On the Interplay of Convolutional Padding and Adversarial Robustness

2023-08-12 · Paul Gavrikov, Janis Keuper

It is common practice to apply padding prior to convolution operations to preserve the resolution of feature-maps in Convolutional Neural Networks (CNN). While many alternatives exist, this is often achieved by adding a …

Adversarial Robustness

Hitting a Moving Target: Test-Time Adaptation for AI Text Detection under Continual Distribution Shift

2026-06-23 · Kevin Ren, Manish Raghavan, Nikhil Garg arxiv

Deployed approaches for AI text detection often rely on training-time access to labeled datasets of both human-written and AI-generated text. This approach is vulnerable to three types of distribution shifts that occur c…

Test-time AdaptationText Detection

Speaker-adaptive Lip Reading with User-dependent Padding

2022-08-09 · Minsu Kim, Hyunjun Kim, Yong Man Ro

Lip reading aims to predict speech based on lip movements alone. As it focuses on visual information to model the speech, its performance is inherently sensitive to personal lip appearances and movements. This makes the …

Lip Readingspeech-recognitionSpeech Recognition