Hidden Tail: Adversarial Image Causing Stealthy Resource Consumption in Vision-Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhang, Rui, Wang, Zihan, Yang, Tianli, Li, Hongwei, Jiang, Wenbo, Zhao, Qingchuan, Liu, Yang, Xu, Guowen
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909752953405440
author Zhang, Rui
Wang, Zihan
Yang, Tianli
Li, Hongwei
Jiang, Wenbo
Zhao, Qingchuan
Liu, Yang
Xu, Guowen
author_facet Zhang, Rui
Wang, Zihan
Yang, Tianli
Li, Hongwei
Jiang, Wenbo
Zhao, Qingchuan
Liu, Yang
Xu, Guowen
contents Vision-Language Models (VLMs) are increasingly deployed in real-world applications, but their high inference cost makes them vulnerable to resource consumption attacks. Prior attacks attempt to extend VLM output sequences by optimizing adversarial images, thereby increasing inference costs. However, these extended outputs often introduce irrelevant abnormal content, compromising attack stealthiness. This trade-off between effectiveness and stealthiness poses a major limitation for existing attacks. To address this challenge, we propose \textit{Hidden Tail}, a stealthy resource consumption attack that crafts prompt-agnostic adversarial images, inducing VLMs to generate maximum-length outputs by appending special tokens invisible to users. Our method employs a composite loss function that balances semantic preservation, repetitive special token induction, and suppression of the end-of-sequence (EOS) token, optimized via a dynamic weighting strategy. Extensive experiments show that \textit{Hidden Tail} outperforms existing attacks, increasing output length by up to 19.2$\times$ and reaching the maximum token limit, while preserving attack stealthiness. These results highlight the urgent need to improve the robustness of VLMs against efficiency-oriented adversarial threats. Our code is available at https://github.com/zhangrui4041/Hidden_Tail.
format Preprint
id arxiv_https___arxiv_org_abs_2508_18805
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Hidden Tail: Adversarial Image Causing Stealthy Resource Consumption in Vision-Language Models
Zhang, Rui
Wang, Zihan
Yang, Tianli
Li, Hongwei
Jiang, Wenbo
Zhao, Qingchuan
Liu, Yang
Xu, Guowen
Cryptography and Security
Computer Vision and Pattern Recognition
Vision-Language Models (VLMs) are increasingly deployed in real-world applications, but their high inference cost makes them vulnerable to resource consumption attacks. Prior attacks attempt to extend VLM output sequences by optimizing adversarial images, thereby increasing inference costs. However, these extended outputs often introduce irrelevant abnormal content, compromising attack stealthiness. This trade-off between effectiveness and stealthiness poses a major limitation for existing attacks. To address this challenge, we propose \textit{Hidden Tail}, a stealthy resource consumption attack that crafts prompt-agnostic adversarial images, inducing VLMs to generate maximum-length outputs by appending special tokens invisible to users. Our method employs a composite loss function that balances semantic preservation, repetitive special token induction, and suppression of the end-of-sequence (EOS) token, optimized via a dynamic weighting strategy. Extensive experiments show that \textit{Hidden Tail} outperforms existing attacks, increasing output length by up to 19.2$\times$ and reaching the maximum token limit, while preserving attack stealthiness. These results highlight the urgent need to improve the robustness of VLMs against efficiency-oriented adversarial threats. Our code is available at https://github.com/zhangrui4041/Hidden_Tail.
title Hidden Tail: Adversarial Image Causing Stealthy Resource Consumption in Vision-Language Models
topic Cryptography and Security
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.18805