Adaptive Routing of External Defenses for Multimodal Large Language Models: The MARS Software System

Bulat Nutfullin, Dmitry Namiot

Abstract


External defenses for multimodal large language models (MLLMs) act at  inference time without weight access and differ in cost and effect across inputs. A routing table selects a route, the set and order of defenses, by input type and protected-model profile: a choice from a finite set of routes with explicit input-type classifier errors. We derive a value decomposition, a decomposed- model criterion for a table to beat the best constant route, and a value lower  bound under classifier evasion; a table-or-constant procedure bounds false table inclusion by a set level under independent groups. The MARS software system orchestrates external defenses in blackbox mode through an open catalog; its route selection and execution results match a separate specification interpreter on explicit finite domains. The table is built on development data and tested in a confirmatory series on disjoint inputs under a plan recorded before model responses. The criterion weighs equally the harmless-response rate on harmful inputs and the non-refusal rate on benign inputs. On the protected model InternVL2.5-4B, the table outperforms each of the five constant comparison routes it is built from, including the best one; on two other models, without changing the table, none of these routes exceeds it.


Full Text:

PDF (Russian)

References


FigStep: Jailbreaking large vision-language models via typographic visual prompts / Yichen Gong, Delong Ran, Jinyuan Liu et al. // Proceedings of the AAAI Conference on Artificial Intelligence. — 2025. — Vol. 39, no. 22. — P. 23951–23959. — URL: https://doi.org/10.1609/aaai.v39i22.34568.

JailBreakV: A benchmark for assessing the robustness of multimodal large language models against jailbreak attacks / Weidi Luo, Siyuan Ma, Xiaogeng Liu et al. // Conference on Language Modeling (COLM), arXiv:2404.03027. — 2024.

AdaShield: Safeguarding multimodal large language models from structure-based attack via adaptive shield prompting / Yu Wang, Xiaogeng Liu, Yu Li et al. // European Conference on Computer Vision (ECCV), arXiv:2403.09513. — 2024.

Jiang Yilei, Tan Yingshui, Yue Xiangyu. RapGuard: Safeguarding multimodal large language models via rationale-aware defensive prompting // arXiv:2412.18826. — 2024.

Safeguarding vision-language models against patched visual prompt injectors / Jiachen Sun, Changsheng Wang, Jiongxiao Wang et al. //arXiv:2405.10529. — 2024.

MOSSBench: Is your multimodal language model oversensitive to safe queries? / Xirui Li, Hengguang Zhou, Ruochen Wang et al. // arXiv:2406.17806. — 2024.

Rice John R. The algorithm selection problem // Advances in Computers. — 1976. — Vol. 15. — P. 65–118. — URL: https://doi.org/10.1016/S0065-2458(08)60520-3.

Shihab Ibne Farabi, Al Ahsan Abu Sa-Adat Mohamed Moon-Im, Swaqeeb Md Najmus. Opportunity is not realizability: Selection-valid diagnostics for multi-LLM routing // arXiv:2608.08265. — 2026.

SafeRoute: Adaptive model selection for efficient and accurate safety guardrails in large language models / Seanie Lee, Dong Bok Lee, Dominik Wagner et al. // Findings of the Association for Computational Linguistics: ACL 2025. — 2025. — P. 2053–2069. — URL: https://aclanthology.org/2025.findings-acl.105/.

Rerouting LLM routers / Avital Shafran, Roei Schuster, Thomas Ristenpart, Vitaly Shmatikov // arXiv:2501.01818. — 2025.

Nutfullin B. M., Namiot D. E. Auditing over-refusal measurement in multimodal large language models with inference-time defenses //International Journal of Open Information Technologies. — 2026. —

Vol. 14, no. 11. — P. 19–27. — URL: https://injoit.org/index.php/j1/

article/view/2841.

Nutfullin Bulat, Evgrafov Vladimir, Namiot Dmitry. When the defense writes the refusal: Auditing keyword-scored evaluation of inference-time defenses for multimodal large language models //arXiv:2606.10904. — 2026.

Raiffa Howard, Schlaifer Robert. Applied Statistical Decision Theory. — Boston : Harvard University, Graduate School of Business Administration, 1961.

Gail M., Simon R. Testing for qualitative interactions between treatment effects and patient subsets // Biometrics. — 1985. — Vol. 41, no. 2. — P. 361–372. — URL: https://doi.org/10.2307/2530862.

Hoeffding Wassily. Probability inequalities for sums of bounded random variables // Journal of the American Statistical Association. —

— Vol. 58, no. 301. — P. 13–30. — URL: https://doi.org/10. 1080/01621459.1963.10500830.

Defending ChatGPT against jailbreak attack via self-reminders / Y. Xie, J. Yi, J. Shao et al. // Nature Machine Intelligence. — 2023. — Vol. 5. — P. 1486–1496. — URL: https://doi.org/10.1038/s42256-023-00765-8.

MMBench: Is your multi-modal model an all-around player? / Yuan Liu, Haodong Duan, Yuanhan Zhang et al. // European Conference on Computer Vision (ECCV), arXiv:2307.06281. — 2024.

Images are Achilles’ heel of alignment: Exploiting visual vulnerabilities for jailbreaking multimodal large language models / Yifan Li, Hangyu Guo, Kun Zhou et al. // arXiv:2403.09792. — 2024.

SPA-VL: A comprehensive safety preference alignment dataset for vision language model / Yongting Zhang, Lu Chen, Guodong Zheng et al. // arXiv:2406.12030. — 2024.

VLSBench: Unveiling visual leakage in multimodal safety / Xuhao Hu,

Dongrui Liu, Hao Li et al. // arXiv:2411.19939. — 2024.

Multimodal situational safety / Kaiwen Zhou, Chengzhi Liu, Xuandong Zhao et al. // arXiv:2410.06172. — 2024.

XSTest: A test suite for identifying exaggerated safety behaviours in large language models / Paul Röttger, Hannah Rose Kirk, Bertie Vidgen et al. // arXiv:2308.01263. — 2023.

Making the V in VQA matter: Elevating the role of image understanding in visual question answering / Yash Goyal, Tejas Khot, Douglas Summers-Stay et al. // arXiv:1612.00837. — 2016.

Automatic pseudo-harmful prompt generation for evaluating false refusals in large language models / B. An, S. Zhu, R. Zhang et al. // Conference on Language Modeling (COLM), arXiv:2409.00598. — 2024.

Bhatti Amit Singh, Vaddina Vishal. False floors: LLM safety routing evaluations break under distribution shift // arXiv:2610.01535. — 2026.

Ren Juan, Dras Mark, Naseem Usman. SHIELD: Classifier-guided prompting for robust and safer LVLMs // Proceedings of the 23rd Annual Workshop of the Australasian Language Technology Association. — 2025. — P. 76–89. — URL: https://aclanthology.org/2025.alta-main.6/.


Refbacks

  • There are currently no refbacks.


Abava  Кибербезопасность ИТ-КОНГРЕСС ВМК МГУ 2026 СНЭ

ISSN: 2307-8162