Abstract
Multimodal large language models (MLLMs) have made remarkable strides in cross-modal comprehension and generation tasks. However, they remain vulnerable to jailbreak attacks, where crafted perturbations bypass security guardrails and elicit harmful outputs. In this paper, we present the first adversarial training (AT) paradigm tailored to defend against jailbreak attacks during the MLLM training phase. Extending traditional AT to this domain poses two critical challenges: efficiently tuning massive parameters and ensuring robustness against attacks across multiple modalities. To address these challenges, we introduce ProEAT (Projection Layer Against Adversarial Training), an end-to-end AT framework. ProEAT incorporates a projector-based adversarial training architecture that efficiently handles large-scale parameters while maintaining computational feasibility by focusing adversarial training on a lightweight projector layer instead of the entire model; additionally, we design a dynamic weight adjustment mechanism that optimizes the loss function's weight allocation based on task demands, streamlining the tuning process. To enhance defense performance, we propose a joint optimization strategy across visual and textual modalities, ensuring robust resistance to jailbreak attacks originating from either modality. Extensive experiments conducted on five major jailbreak attack methods across three mainstream MLLMs demonstrate the effectiveness of our approach. ProEAT achieves state-of-the-art defense performance, outperforming existing baselines by an average margin of +34% across text and image modalities, while incurring only a 1% reduction in clean accuracy. Furthermore, evaluations on real-world embodied intelligent systems highlight the practical applicability of our framework, paving the way for the development of more secure and reliable multimodal systems.
Introduction
Multimodal models like LLaVA or GPT-4o are increasingly susceptible to "jailbreak" attacks—malicious prompts that coordinate visual and textual cues to elicit harmful behavior, such as instructions for creating explosives. Standard adversarial training (AT) often fails in this context because MLLMs have billions of parameters, making full-model re-training computationally prohibitive. Furthermore, existing defenses often focus on a single modality, leaving blind spots in the cross-modal interaction space.
As shown in Figure 1, existing frameworks often fail to block harmful queries when noisy images or text are used to bypass safety filters. ProEAT addresses this by hardening the model's response mechanisms, even in the presence of adversarial perturbations.
The ProEAT Framework
ProEAT introduces two primary innovations to address the efficiency and cross-modal challenges of MLLM defense:
1. Projector-based Adversarial Training
Instead of tuning the massive vision encoder or the entire LLM, ProEAT focuses on the Projector—the MLP module that aligns visual features with the language space. It uses Projected Gradient Descent (PGD) to generate "worst-case" image perturbations and Greedy Coordinate Gradient (GCG) for textual adversarial suffixes. By training the projector to align these "noisy" samples with a "refusal" response (e.g., "I'm sorry, but I cannot..."), the defense remains lightweight and parameter-efficient.
2. Dynamic Joint Multimodal Optimization (DJMO)
Training for safety often degrades a model's general intelligence, a phenomenon known as the "utility-safety trade-off." ProEAT employs a dynamic optimization strategy that balances safety and utility. It uses an exponential moving average to track losses during training and dynamically adjusts the weights between the "clean" loss (normal tasks) and "adversarial" loss (defense).
As illustrated in Figure 2, the framework processes both normal and malicious inputs simultaneously. The Dynamic Joint Optimization module ensures the model doesn't overfit to the defense at the expense of its core reasoning capabilities.
Experimental Results
The authors evaluated ProEAT using several rigorous benchmarks, including JailbreakV-28K and MM-SafetyBench. Key findings include:
- State-of-the-Art Defense: ProEAT outperformed existing baselines (like RobustVLM and PAT) by an average margin of 34% across different models.
- Near-Zero Attack Success: On the Bunny-v1.0-4B model, the Weighted Attack Success Rate (W-ASR) dropped to a staggering 0.002.
- Efficiency: ProEAT achieved these results in roughly 15 hours of training, significantly faster than full-model fine-tuning methods.
- Real-World Embodied Safety: The framework was deployed on a JetCobot robotic arm. While a standard model might follow a command to "put the bomb in the target zone," the ProEAT-protected model recognizes the harmful intent and refuses to execute the task (see Figure 1c).
Conclusion
ProEAT demonstrates that the "bridge" between vision and language—the projector—is a critical vulnerability point. Hardening just this connector is surprisingly effective and far more efficient than full-model fine-tuning. While the arms race between attackers and defenders continues, ProEAT provides a robust, scalable foundation for securing the next generation of multimodal intelligent systems.
Summary updated