TL;DR
Existing "unrestricted" or non-suspicious adversarial attacks often introduce bizarre color tints or obvious artifacts when adapted to vision-language pre-training (VLP) models. LightD (Light as Deception) tackles this by pairing ChatGPT's contextual reasoning with a pre-trained diffusion relighting model (IC-Light) to craft realistic, semantically plausible relighting conditions that fool VLP models on image captioning and visual question answering (VQA) tasks while preserving natural image quality.
What Problem Does This Paper Address?
Traditional adversarial attacks apply human-imperceptible, $L_p$-bounded pixel noise. While effective in toy settings, they are easily nullified by standard denoising filters. To build more realistic threats, researchers developed "non-suspicious" adversarial attacks that alter global attributes like color balance or lighting.
However, existing physical/semantic attacks were designed for standard image classification. When ported to complex vision-language models (e.g., BLIP, BLIP-2, CLIPCap) on downstream multimodal tasks:
- They operate within rigid, overly constrained parameter spaces that fail to mislead expressive multimodal models, or
- When unconstrained, they produce garish, unnatural visual distortions that human observers immediately detect.
Generating realistic, semantically consistent lighting changes that effectively deceive multimodal models without degrading visual naturalness remains an open challenge.
Methods
LightD achieves natural adversarial relighting through a pipeline combining large language model reasoning, diffusion-based relighting, and multi-scale gradient optimization:
Clean Image ──► ChatGPT (GPT-4o) ──► Lighting Params θ (Colors, Direction)
│
▼
Lighting Image Generator G ──► Reference Lighting Image L
│
Clean Image + Reference Lighting L ──► Pre-trained IC-Light ───────┴──► Relighted Adversarial Image R
│
Loss J = arg max [ Cross-Entropy(Attack) + Cosine-Sim(Naturalness) ]
│
▼
Collaborative Optimization (Parameters θ + Resized Images L)
- GPT-Driven Parameter Initialization: Rather than randomly guessing illumination shifts, LightD feeds the clean image to ChatGPT (GPT-4o) with an instruction prompt. ChatGPT analyzes scene semantics and suggests initial lighting parameters $\theta$: starting color ($c_s$), ending color ($c_e$), and lighting direction ($d$).
- Pure Lighting Image Conditioning: Standard diffusion relighting (like IC-Light) conditioned on text prompts or background photos alters background geometry and scene semantics. LightD instead synthesizes a pure gradient lighting map $L = G(c_s, c_e, d, w)$ using a ComfyUI lighting generator, ensuring the diffusion model applies pure illumination transport without modifying structural content.
- Lighting-Based Collaborative Optimization: To maximize deception while retaining fidelity, the authors implement a two-step gradient optimization adapted from Set-level Guidance Attacks (SGA):
- Parameter Optimization: Gradients backpropagate to fine-tune the color and weight parameters $\theta$.
- Reference Image Optimization: To expand optimization diversity beyond rigid scalar parameters, the reference lighting image $L$ is resized across $M$ resolutions ($M=5$), generating an ensemble of diverse lighting gradients to update $L$ directly.
- Balanced Multimodal Objective: The loss function balances attack capability (maximizing cross-entropy classification error against the ground-truth text label) and visual naturalness (maximizing cosine similarity in CLIP ViT-B/32 feature space between the perturbed and clean image).
Datasets
The authors evaluate LightD across five standard multimodal benchmark datasets:
- Image Captioning: MSCOCO, Flickr8K, and Flickr30K (1,000 randomly sampled test images each). Evaluated against CLIPCap, BLIP, and BLIP-2.
- Visual Question Answering (VQA): MSCOCO VQA and DAQUAR (1,000 images each). Evaluated against BLIP and BLIP-2.
Baseline comparisons include three adversarial relighting attacks (ALA, EdgeFool, Jadena) and three adversarial color attacks (SemanticAdv, ColorFool, AdvCF), adapted to V+L tasks using a newly defined general optimization framework.
Key Insights and Ideas
- Semantic Grounding via LLMs: Random lighting shifts often look visually jarring. ChatGPT's contextual understanding reliably selects harmonious lighting transitions (e.g., subtle dusk tones or natural shadows) that mimic real-world lighting phenomena.
- Decoupling Illumination from Content: Using synthetic 2D lighting maps instead of background images or text prompts enables diffusion models (IC-Light) to perform clean, mathematically consistent light transport without altering scene geometry or hallucinating objects.
- Multi-Scale Canvas Optimization over Pixel Noise: Optimizing the reference lighting map across multiple scales instead of injecting perturbations directly into image pixels confines adversarial artifacts strictly to plausible lighting variations.
Key Results
Attack performance is measured by caption degradation (lower BLEU, METEOR, ROUGE, CIDEr, and SPICE mean stronger attacks) or drops in VQA accuracy (APA, WUPS), alongside image naturalness evaluated via NIQE (lower indicates better visual quality).
- Image Captioning:
- On MSCOCO attacking BLIP-2, LightD achieved the lowest BLEU (0.605) and CIDEr (0.811) scores, outperforming ALA (0.713 BLEU / 1.178 CIDEr) and Jadena (0.628 BLEU / 0.927 CIDEr), while keeping the best image naturalness (NIQE of 8.352 vs. Jadena's 19.819).
- On Flickr30K attacking CLIPCap, LightD achieved the strongest attack (CIDEr 0.086 vs. baseline best of 0.096) with an NIQE of 8.409 (compared to EdgeFool's 18.772).
- VQA Tasks:
- On MSCOCO with BLIP-2, LightD dropped model prediction accuracy (APA) to 40.31% (baseline attacks ranged from 42.90% to 51.11%) with the lowest NIQE (8.240 vs. up to 19.959).
- On DAQUAR with BLIP, LightD dropped APA to 11.68% with an NIQE of 8.907.
- Ablations: In ablation experiments on MSCOCO, combining parameter optimization with reference image optimization yielded superior deception over either step alone (CIDEr reduced to 0.811 vs. 1.136 and 0.868, respectively). GPT-chosen color seeds consistently yielded lower NIQE scores than random color selection.
Limitations and Future Work
- Computational Cost: Running multi-step iterative optimization through a diffusion model (IC-Light) across $M=5$ scale augmentations is computationally intensive compared to direct gradient-ascent attacks.
- Black-box Optimization: The optimization phase relies on gradient access to the target vision-language model; zero-query or strictly black-box transferability was not comprehensively explored.
- LLM Dependency: The pipeline depends on an external API (GPT-4o) for initial lighting proposals, which adds latency and API reliance to the adversarial generation loop.
Summary updated