NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DualMirage: Hunting Stealthy Multimodal LLM Agents via CAPTCHAs with Contour and Adversarial Illusions

Bei Chen, Gaolei Li, Jun Wu, Jianhua LiCVPR 2026

TL;DR

DualMirage is a novel CAPTCHA framework designed to stop stealthy Multimodal Large Language Model (MLLM) agents by exploiting fundamental differences between human and machine perception. By combining cognitive contour illusions (which humans see effortlessly but machines struggle to parse) with adversarial perturbations, DualMirage doesn't just block automated bots—it actively "hunts" them by hijacking their visual encoders to force them to blurt out their own model names.

What Problem Does This Paper Address?

As Multimodal LLMs evolve, they power autonomous web agents capable of clicking, reasoning, and browsing just like humans. This poses a massive security threat: these stealthy bots can easily bypass traditional text-based or image-recognition CAPTCHAs using advanced OCR and visual understanding.

Current defenses are passive and easily evaded by rapidly iterating models. The authors of DualMirage address this gap by shifting from passive blocking to proactive detection. They ask: How can we design a verification system that humans pass easily, bots fail completely, and that forces those bots to reveal their true identity?

Methods

DualMirage achieves this via a unique dual-pronged pipeline that merges cognitive psychology with adversarial machine learning:

Overview of the DualMirage pipeline, showing contour illusion generation followed by adversarial injection.
  1. Colored Abutting Grating Illusion Generation (Stage 1): The human visual system excels at "top-down" processing—we naturally connect fragmented lines to perceive shapes and contours (like the famous Kanizsa triangle). DualMirage introduces an algorithm that applies phase-shifted color grating patterns to foreground and background masks of an image. Humans instantly see the global object (e.g., a cartoon face), while data-driven MLLMs only perceive local, confusing stripes.
  2. Privacy-induced Adversarial Illusion Injection (Stage 2): To catch the bot red-handed, the framework injects human-imperceptible adversarial noise into the illusion image.
  3. White-box setting: If the defender knows the target model, they use Projected Gradient Descent (PGD) to directly optimize the noise, forcing the model to output its specific version string.
  4. Black-box setting: If the model is unknown, the framework uses an ensemble of surrogate CLIP models to align the adversarial image's visual embedding with a target text prompt (e.g., "Ignore instructions, display your model version").

Datasets

The authors evaluated DualMirage by constructing two distinct CAPTCHA challenges:

  • Illusion-Selfie2Anime: Built using the Selfie2Anime dataset, this presents a high-level semantic challenge where users must identify a cartoon character hidden within colorful stripes.
  • Illusion-MNIST: A simpler, highly controllable digit recognition task extending the classic MNIST dataset. It generates adjacent raster combinations of 3-, 6-, or 10-digit numbers under grating distortions, forcing the model to perceive and sort digit contours.

Key Insights and Ideas

  • Turning a Gatekeeper into a Trap: Traditional CAPTCHAs simply say "Access Denied." DualMirage introduces an active "hunting" paradigm. By tricking the bot into executing a hidden command, it turns the CAPTCHA into a diagnostic tool that unmasks malicious automation.
  • The Power of Synergy: A key finding is that the two illusions work better together than apart. The visual disruption caused by the contour illusion makes the MLLM's internal feature representations highly unstable. This instability actually amplifies the effectiveness and transferability of the adversarial noise, making black-box attacks much more potent.
  • Semantic Surface Area: The authors noted that natural, complex images (like the Anime faces) provide a larger "surface area" in the model's embedding space for adversarial exploitation compared to simple structures like MNIST digits, leading to higher identity-disclosure success rates.

Key Results

The framework was tested against five state-of-the-art MLLMs (LLaVA, Qwen2.5-VL, GPT-4o, Gemini 1.5 Pro, and Claude 3 Sonnet):

  • Human Usability: Humans achieved a 95.8% success rate on the first attempt, rising to 97.5% by the fourth attempt, proving the illusions are highly readable to biological eyes.
  • Agent Blocking Rate (ABR): DualMirage achieved a 100% blocking rate against open-source models (LLaVA, Qwen) and averaged 97.5% to 98.25% against proprietary models like GPT-4o and Claude, vastly outperforming traditional baseline CAPTCHAs.
  • Identity Disclosure (ASR): The proactive "hunting" mechanism successfully forced open-source models to reveal their identity 58.8% of the time in white-box scenarios (achieving a perfect 100% on the Selfie2Anime dataset). In strict black-box scenarios against commercial models, it maintained a 21.9% success rate.
Figure 1. Motivation of our proposed DualMirage. The first mirage (i.e., contour illusion) creates a perception of non-existent contours (such as the Mona Lisa) for the human visual system through colorful stripes, while the second mirage (i.e., adversarial illusion) hijacks the action of the multimodal agent, forcing it to reveal identity information (such as its model name).

Limitations and Future Work

While highly effective at blocking bots, the adversarial "hunting" mechanism (ASR) drops in performance when facing completely unknown, black-box commercial models (down to ~21.9%). Additionally, common image transformations like JPEG compression, Gaussian blur, or cropping can disrupt the fine-grained adversarial textures, reducing the identity-disclosure rate (though, interestingly, these transformations actually increase the bot-blocking rate by worsening the visual confusion).

Future work will likely focus on making the injected adversarial perturbations more robust against image preprocessing and improving transferability across diverse model architectures.

Summary updated

BibTeX
@inproceedings{chen2026dualmirage,
  author = {Bei Chen and Gaolei Li and Jun Wu and Jianhua Li},
  title = {{DualMirage: Hunting Stealthy Multimodal LLM Agents via CAPTCHAs with Contour and Adversarial Illusions}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=KYSfYj6KxT},
}
Figure