SDEval: Safety Dynamic Evaluation for Multimodal Large Language Models

Hanqing Wang, Yuan Tian, Mingyu Liu, Zhenhao Zhang, Xiangyang Zhu

TL;DR

This paper introduces SDEval, the first dynamic evaluation framework for multimodal large language models (MLLMs) that addresses the limitations of static benchmarks, such as data leakage and fixed complexity. By employing text, image, and text-image dynamic strategies, SDEval generates new, more challenging evaluation samples, revealing significant safety vulnerabilities in current MLLMs and mitigating data contamination issues.

What Problem Does This Paper Address?

The rapid advancement of Multimodal Large Language Models (MLLMs) has brought about significant safety concerns. Existing safety evaluation datasets, while numerous, suffer from several critical issues: they can quickly become outdated as MLLMs evolve, are prone to data contamination (where evaluation data is inadvertently included in training sets, leading to inflated performance metrics), and have a fixed complexity that fails to keep pace with model improvements. This makes it difficult to accurately assess the true safety limitations of MLLMs and their susceptibility to sophisticated "jailbreaking" techniques. The authors aim to create a more robust, adaptable, and challenging evaluation framework to address these shortcomings.

Methods

SDEval is a novel, general, and flexible framework designed for dynamic safety evaluation of MLLMs. It operates by taking an original benchmark sample (a text-image pair) and applying dynamic strategies to generate new, more complex variants. These strategies are categorized into three main types:

  • Text Dynamics: This focuses on altering the text prompt to test MLLMs' understanding of safety risks across different linguistic expressions. Techniques include word replacement (using synonyms), sentence paraphrasing, adding descriptive or distracting text, introducing typos, and using multilingual text mixes.
  • Image Dynamics: This aims to assess if MLLMs can consistently focus on safety-related subjects in images without being distracted by modifications. Methods involve basic augmentations like spatial and color transformations, and more advanced generation and manipulation techniques using diffusion models and image editing tools.
  • Text-Image Dynamics: This strategy explores the interplay between text and image to evaluate MLLMs' deeper understanding of safety and their susceptibility to cross-modal harmful content. It includes text-to-image generation (injecting text perturbations into images) and image-to-text generation (injecting image perturbations into text prompts).

A validator agent is used to ensure semantic consistency between the original and dynamically generated samples.

Datasets

SDEval is designed to be applied to existing safety and capability benchmarks. The authors leverage SDEval for evaluation on:

  • Safety Benchmarks: MLLMGuard (Gu et al., 2024) and VLSBench (Hu et al., 2024).
  • Capability Benchmarks: MMBench and MMVet.

SDEval itself is a framework for generating dynamic evaluation suites from these existing datasets, rather than a new static dataset.

Key Insights and Ideas

  • Dynamic evaluation is crucial for keeping pace with MLLM advancements: Static benchmarks quickly become obsolete, and dynamic methods are essential for a realistic assessment of evolving models.
  • Data contamination is a pervasive problem: The authors' experiments show that SDEval significantly reduces data contamination rates, suggesting that existing benchmarks are heavily influenced by training data overlap.
  • MLLMs are more vulnerable to safety issues than capability issues: The safety-capability balance analysis reveals that most MLLMs exhibit greater instability in safety compared to their capabilities, highlighting an urgent need for improved safety measures.
  • Cross-modal interactions amplify safety risks: Injecting text dynamics into images or image dynamics into text can significantly increase safety risks, demonstrating the importance of evaluating these interactions.
  • Scaling laws don't guarantee safety: Increasing model parameters doesn't necessarily lead to better safety performance; in some cases, larger models show a greater drop in safety scores, suggesting they might be better at understanding and executing harmful instructions.

Key Results

  • Significant reduction in safety scores: Experiments on MLLMGuard and VLSBench showed that SDEval significantly reduced the safety rates of various MLLMs, with some models experiencing a safety reduction of nearly 10% (e.g., InternVL-3-78B).
  • Mitigation of data leakage: SDEval effectively alleviates the data leakage problem by introducing new data distributions and increasing dataset complexity.
  • Improved evaluation difficulty: The dynamic strategies increase the difficulty and complexity of safety benchmarks, making them more challenging for MLLMs.
  • Versatility of SDEval: The framework proved effective not only for safety evaluation but also for capability evaluation on benchmarks like MMBench and MMVet, showing decreased accuracy after dynamic evaluation.
  • Impact of specific strategies: Word replacement and Figstep were found to be particularly influential in reducing safety rates on MLLMGuard.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while SDEval significantly reduces data leakage, it might not entirely eliminate it due to the sheer scale of training data.
  • The authors note that MLLMs' performance on dynamic evaluation suggests they might be memorizing safe/unsafe answers rather than truly understanding safety principles.
  • The study highlights that current MLLMs are not yet adept at handling complex jailbreak attacks, especially those involving cross-modal interactions.
  • Future Work:
    • The authors suggest that ensuring a balanced development of AI capabilities and safety, as outlined by the "AI 45° Law," remains a significant challenge.
  • Further research is needed on how to ensure MLLMs can develop safety and performance in a balanced manner.
  • The paper implies a need for more robust safety alignment techniques that go beyond simple data filtering or prompt engineering.

Summary updated

BibTeX
@inproceedings{wang2026sdeval,
  author = {Hanqing Wang and Yuan Tian and Mingyu Liu and Zhenhao Zhang and Xiangyang Zhu},
  title = {{SDEval: Safety Dynamic Evaluation for Multimodal Large Language Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i39.40632},
}

Loading related content...

Figure