Hidden Tail: Adversarial Image Attacks Causing Stealthy Resource Consumption in Vision-Language ModelsHidden Tail: Adversarial Image Causing Stealthy Resource Consumption in Vision-Language Models
The researchers propose a stealthy resource consumption attack against vision-language models (VLMs), Hidden Tail, which uses prompt-independent adversarial images to induce the model to append user-invisible special tokens at the end of its output, thereby generating maximum-length outputs. The method uses a composite loss function that balances semantic preservation, induction of repeated special tokens, and suppression of the end-of-sequence (EOS) token, and optimizes it with a dynamic weighting strategy. Experiments show that the attack outperforms existing attacks, increasing output length by up to 19.2 times and reaching the maximum token limit while maintaining attack stealthiness. The authors state that the results highlight the urgency of improving VLM robustness against efficiency-oriented adversarial threats, and the code is open-sourced on GitHub (https://github.com/zhangrui4041/Hidden_Tail)。