Semantic Router: On the Feasibility of Hijacking MLLMs via a Single Adversarial Perturbation

Changyue Li, Jiaying Li, Youliang Yuan, Jiaming He, Zhicong Huang, Pinjia He

Introduction

As autonomous vehicles and robotic systems increasingly rely on Multimodal Large Language Models (MLLMs) like GPT-4o or Qwen-VL, they depend on these models to make critical "stateless" decisions—processing individual frames to determine whether to steer, stop, or grasp. Traditional adversarial attacks against these systems have typically been "one-to-one" (causing a specific error on a specific image) or "many-to-one" (causing the same error across any image).

This paper introduces a novel, more sophisticated threat: Semantic-Aware Hijacking. Researchers have discovered a method to hijack MLLMs using a single, universal adversarial perturbation that acts as a "semantic router." Instead of forcing a single incorrect output, this "many-to-many" attack actively perceives the input image's semantics and routes different scenes to distinct, attacker-defined malicious actions. For instance, a single subtle visual tweak—like a frame around an image—could instruct an autonomous vehicle to "accelerate" at a red light but "steer left" at a roundabout, effectively programming the AI's behavior across an entire mission.

Methodology: The Semantic Router

To execute this attack, the authors introduce the Semantic-Aware Universal Perturbation (SAUP), generated via a specialized optimization algorithm called SORT (Semantic-ORienTed).

The attack operates through two primary geometric mechanisms within the model's latent space:

  1. Dominant Shift: The perturbation forces the image's features out of their normal "clean" distribution and into a crowded adversarial subspace where decision boundaries are tightly packed.
  2. Semantic Deflection: Once in this adversarial subspace, the perturbation leverages the image's inherent natural features to "deflect" the model's processing toward specific, attacker-defined targets.

To ensure the success of these mechanisms, the SORT algorithm employs two key techniques:

  • Normalized Space Optimization (NSO): This stabilizes the mathematical optimization during training, preventing the gradient plateauing that frequently causes adversarial attacks to fail.
  • Semantic Separation Optimization (SSO): A margin-based loss function that explicitly forces the model to maintain distance between different semantic categories (e.g., "stop sign" versus "pedestrian") in its latent space. This ensures distinct inputs do not accidentally trigger the same malicious command.

Datasets and Evaluation

The researchers evaluated the attack using two distinct types of data:

  • ImageNet: Utilized for "coarse-grained" semantics, such as distinguishing a truck from a mountain.
  • RIST (Real Image Sequence Trajectories): A newly introduced dataset featuring fine-grained sequences from autonomous driving and robotics. This presents a significantly harder challenge, as sequential video frames are visually similar, making it difficult for a single perturbation to accurately route them to different actions.

Key Insights and Results

The empirical evaluation across three representative MLLMs yielded several critical insights into model vulnerabilities:

  • High Attack Success Rates: Against the Qwen model, a single frame perturbation achieved a 66% success rate in successfully routing five different semantic scenes to five distinct targets.
  • The "Switch-Case" Attack: This vulnerability transcends simply "breaking" the AI; it effectively reprograms it. The adversarial noise acts as a conditional logic gate, executing different commands based on the visual input.
  • Information Capacity Bottlenecks: The physical size of the perturbation matters. A frame perturbation (utilizing more pixels) is significantly more effective than a small corner patch because it possesses the necessary "space" to encode complex routing logic.
  • Advanced Models are More Vulnerable: Counterintuitively, more advanced models like Qwen and InternVL proved easier to hijack than older architectures like LLaVA. The authors hypothesize that the deeper vision-language alignment in advanced models makes them more sensitive to the subtle semantic deflections upon which the attack relies.
  • Long-Text Control and Generalization: The attack is not restricted to single-word outputs. Researchers successfully forced models to generate specific, coherent, long-form sentences. Furthermore, once trained on a few images, the "router" perturbation generalized to entirely unseen images from the same categories, proving it learned underlying semantics rather than just memorizing pixel patterns.

Limitations and Future Work

While the results demonstrate a fundamental feasibility of semantic-aware hijacking, the study notes several limitations:

  • White-Box Assumption: The current attack requires "white-box" access, meaning the attacker must know the target model's specific architecture and weights.
  • Digital vs. Physical Deployment: Experiments were conducted in a digital environment. While applicable to web advertisements or digital video feeds, translating this attack to the physical world requires overcoming challenges like lighting variations, motion blur, and shifting camera angles.
  • Linear Approximation: The theoretical foundation relies on a "local linear assumption." As perturbations grow larger or models become more complex, this mathematical approximation becomes less precise, highlighting the need for more robust non-linear optimization techniques in future research.

Summary updated

BibTeX
@inproceedings{li2026semantic,
  author = {Changyue Li and Jiaying Li and Youliang Yuan and Jiaming He and Zhicong Huang and Pinjia He},
  title = {{Semantic Router: On the Feasibility of Hijacking MLLMs via a Single Adversarial Perturbation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=FjWZrbabBX},
}
Figure