Query-Only Prompt-Agnostic Attacks on Visual In-Context Learning
Xiao Hu, Muhammad Ibrahim, Hao Wen, Pin-Yu Chen, Jianliang Wu, Antonio Bianchi
Key points
From the paper's conclusion- We study query-only, prompt-agnostic targeted attacks where the attacker observes only returned RGB outputs, without access to model internals or deployment prompts.
Abstract
Visual In-Context Learning (VICL) enables promptable segmentation by conditioning RGB predictions on visual demonstrations, making it attractive for auto-labeling, but its robustness under query-only access and unknown deployment prompts remains underexplored. We study query-only, prompt-agnostic targeted attacks where the attacker observes only returned RGB outputs, without access to model internals or deployment prompts. Treating prompt-conditioned RGB rendering as a distinct attack surface, we introduce two appearance-space attacks: Color Hijack (CH) drives foreground colors toward the background to suppress visibility, while Task Hijack (TH) collapses instance-distinguishing colors toward a shared color assignment. To transfer across unseen prompts, we propose a Self-Prompt Surrogate (SPS) constructed from the clean query and its output. In a paired, matched-budget SegGPT comparison, SPS outperforms the Random-Prompt Surrogate (RPS), reducing CH instance foreground retention from 0.918 to 0.155 and TH palette-aware tolerance distance from 0.345 to 0.225. Across four VICL models on COCO and HierText, CH suppresses foregrounds across semantic-, instance-, and text-style outputs, while TH collapses instance colors under held-out deployment prompts. After palette-based decoding, TH also reduces the decoded instance count and mask retention while increasing instance merges. Finally, at 30% corruption, CH-corrupted annotations from a publicly accessible VICL-based auto-labeling pipeline reduce downstream YOLO-seg mAP50 from 0.761 to 0.281.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What You Show Is Not What You Get: Rethinking Demonstration Following in Visual In-Context SegmentationarXiv · 2026
- Backdoor Attacks on CLIP via Prompt Learning.IEEE transactions on pattern analysis and machine intelligence · 2026
- Universal Cross-Prompt Adversarial Attacks on Promptable Concept SegmentationarXiv · 2026
- AVERT: Anomalous Value Erasure with Response Testing against Visual Prompt InjectionarXiv · 2026
- Corrupted but Correct: Why Vision-Language Models Lie to Themselves InternallyarXiv · 2026
- BehaviorICL: Task-Conditioned Decoder States for Visual In-Context LearningarXiv · 2026