Securing Multimodal AI through Internal Information Decomposition
Abstract
Lay Summary
Modern AI systems can answer questions about both images and text, but this also creates new safety risks. An attacker can hide part of a harmful instruction in an image and another part in the text, so that each part looks harmless on its own but becomes dangerous when the AI combines them. We developed FlowGuard, a method for detecting these attacks by looking at how a multimodal AI system combines visual and textual information internally. Instead of only checking the input image, the written prompt, or the final answer, FlowGuard compares what the model predicts from the text alone, the image alone, and both together. In normal cases, these three views tend to align together. When under attack, the combined prediction often behaves strangely, as if the image and text are pulling the model in conflicting or suspicious directions. FlowGuard learns what normal image-text interaction looks like using only safe examples, then flags unusual cases at inference time. Across several multimodal safety benchmarks, it substantially reduces successful attacks while preserving performance on benign tasks and adding relatively little computational cost. This suggests that monitoring how modalities are combined can make multimodal AI systems safer and more reliable.