Query-Only Prompt-Agnostic Attacks on Visual In-Context Learning
Xiao Hu, Muhammad Ibrahim, Hao Wen, Pin-Yu Chen, Jianliang Wu, Antonio Bianchi
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.
Create a lesson
Related papers
What You Show Is Not What You Get: Rethinking Demonstration Following in Visual In-Context Segmentation
Shared title terminologycs.CVXiao Hu, Ilia Sucholutsky
World In-Context Learning for Agentic Robot Manipulation
Shared title terminologycs.CVHeng Fang, Zehui Guo, Yuehan Zhang et al.
Reaching Is Not Finding: Map-Anchored Visual Prompting for the Last Mile of Aerial Vision-Language Navigation
Shared title terminologycs.CVNingbo Li, Kebin Liu, Jingcan Chen et al.
REDiff-AD: No Training and No Target Masks for Industrial Anomaly Image Generation via Diversity-Driven In-Context MMDiT
Shared title terminologycs.CVChih-Yu Tsai, Chih-Heng Chang, Jian-Jiun Ding
DeclareViT: Decoupling Early Classification from Feature Refinement with Exit Query for Efficient ViTs
Shared title terminologycs.CVXinrui Gong, Yao Rong, Chuangtao Chen et al.
PROPS: Can Visual Generators Keep the Current Look of a Prop?
Shared title terminologycs.CVXiangzhao Hao, Dianyi Wang, Keyan Zhou et al.