TLDR: A new research paper introduces ImpForge, an automated system to create “implicit malicious attacks” where benign images and text together form harmful content, a challenge for current AI. Using this data, they developed CrossGuard, a defense model that significantly outperforms existing safeguards against both explicit and these new implicit threats, while maintaining the AI’s normal functionality.
Multimodal Large Language Models (MLLMs) are incredibly powerful, combining reasoning and perception capabilities to excel in tasks like visual question answering and image captioning. However, this power comes with a significant challenge: vulnerability to ‘jailbreak attacks’ designed to bypass safety measures and elicit harmful responses.
Traditionally, these attacks have been categorized as ‘explicit attacks,’ where malicious content is clearly present in a single input modality, either text or an image. While existing defenses have focused on these explicit threats, a more subtle and challenging form of attack has emerged: ‘implicit attacks.’ In these scenarios, both the text and image inputs appear benign individually, but when interpreted together, they convey an unsafe or malicious intent. These joint-modal threats are particularly difficult to detect and defend against, largely due to a scarcity of high-quality data for training models to recognize them.
To tackle this critical data gap, researchers have developed a novel automated red-teaming pipeline called ImpForge. This system leverages reinforcement learning, incorporating specialized reward modules, to generate a diverse range of implicit malicious samples across 14 different domains. ImpForge works in two stages: first, it initializes semantically relevant image-text pairs by matching keywords from malicious text with benign images. Then, it uses an RL-based optimization process to rewrite the text, ensuring the new prompt remains individually safe, preserves the original malicious intent when combined with the image, and maximizes the ‘implicitness’ by reducing semantic overlap between the text and image.
Building upon the rich dataset generated by ImpForge, the researchers further introduced CrossGuard, an intent-aware safeguard designed to provide robust and comprehensive defense against both explicit and these challenging implicit threats. CrossGuard is trained as a front-end guard model, using a diverse dataset that includes ImpForge-generated implicit malicious samples, explicit attack samples from existing benchmarks, and benign data to ensure general utility. It’s optimized to classify multimodal inputs as safe or unsafe, refusing harmful content while allowing benign queries to pass through.
Extensive experiments have demonstrated CrossGuard’s significant superiority over existing defenses, including advanced MLLMs and other guardrails. On benchmarks for joint-modal implicit attacks, CrossGuard drastically reduced the Attack Success Rate (ASR) to just 5.39%, a substantial improvement compared to other models that often showed ASRs above 20% or even 80%. It also maintained strong robustness against various explicit attacks, keeping ASRs below 1% on several benchmarks. Crucially, CrossGuard achieves this enhanced security without sacrificing utility, performing well on safe scenarios and avoiding the ‘over-defense’ problem where models might unnecessarily refuse benign queries.
Also Read:
- Unmasking Multimodal AI Vulnerabilities with Comic Narratives
- Proactive Defense: How Honeypots Are Securing LLMs Against Multi-Turn Jailbreaks
The ImpForge framework itself proved highly effective in exposing vulnerabilities in state-of-the-art MLLMs, showing an average ASR improvement of over 57% compared to baseline datasets. An ablation study confirmed that the data generated by ImpForge is essential for CrossGuard’s strong performance, especially in defending against implicit malicious attacks. This research offers a balanced and practical solution for enhancing the robustness of MLLMs against complex, real-world multimodal threats. You can read the full research paper here: CrossGuard: Safeguarding MLLMs against Joint-Modal Implicit Malicious Attacks.


