Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 30 min ago
PreprintCC BY 4.0arXiv

Chatter Attack: Resource Consumption Attack for Large Language Models

Abstract

LLMs are powerful but incur substantial inference cost, which can be exploited by malicious users to induce overly long outputs, increasing latency and operational expense. Prior resource consumption attacks either coerce repetition or suppress the end-of-sequence token by lowering its logit value. However, with autoregressive, sampling-based generation, the search space grows exponentially with length and small deviations or unstable trajectories can derail optimization, limiting attack effectiveness and stability. To address this issue, we introduce Chatter Attack, a novel class of resource consumption attacks that optimize adversarial prompts to induce predefined short target phrases, thereby avoiding search-space explosion while still eliciting long responses. Specifically, Chatter Attack triggers self-doubt using short doubt-inducing phrases as the target, and sustains this state throughout generation via inference attention loss and global entropy loss. To extend to black-box settings, we further propose a novel Bayesian Prompt Optimization (BPO) method, which models the objective function globally by constructing a discrete token kernel, efficiently exploring the entire search space using prior information. Extensive experiments across multiple models and datasets show that our method outperforms baselines, with maximum response length increases to 31.5×, and revealing practical resource-depletion risks for real-world LLM inference services.

Related

  1. Comparative Analysis of Large-Scale SVM Solvers: Convergence, Resource Consumption, and Energy Footprint
    Mamadou Sow, Christophe Cérin
    HALPreprintPublisher termsFull textOptimisation & controlHAL
  2. Automated Priority Rule Design for the Resource-Constrained Project Scheduling Problem: A Large Language Model-Guided Population-Based Search
    Jingyu Luo, Mario Vanhoucke, José Coelho
    arXivPreprintCC BY-NC-ND 4.0Full textOptimisation & controlarXiv
  3. A Distributional Framework for Behavioral Characterization and Risk Management of Large Language Models
    David García-Lorite, Raul Merino
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  4. Sequential Functional Structured Tucker Compression for Large Language Model Attentions
    Jiangfeng Chen, Xinyu Wang, Tianshuo Yan +4
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  5. Large-Scale Comparison of Metaheuristic Algorithms via Behavioral Verification of Large Language Model-Generated Codes
    Emad Alharbi
    MathematicsPeer-reviewedCC BY 4.0General mathematicsCrossref
BibTeX
@misc{miao2026chatter,
  title = {{Chatter Attack: Resource Consumption Attack for Large Language Models}},
  author = {Yibo Miao and Yichuan Cao and Xiao-Shan Gao and Yinpeng Dong},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.11261},
  eprint = {2611.11261},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11261},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - Chatter Attack: Resource Consumption Attack for Large Language Models
AU  - Yibo Miao
AU  - Yichuan Cao
AU  - Xiao-Shan Gao
AU  - Yinpeng Dong
PY  - 2026
DA  - 2026/11/08
PB  - arXiv
DO  - 10.48550/arxiv.2611.11261
UR  - https://arxiv.org/abs/2611.11261
AB  - LLMs are powerful but incur substantial inference cost, which can be exploited by malicious users to induce overly long outputs, increasing latency and operational expense. Prior resource consumption attacks either coerce repetition or suppress the end-of-sequence token by lowering its logit value. However, with autoregressive, sampling-based generation, the search space grows exponentially with length and small deviations or unstable trajectories can derail optimization, limiting attack effectiveness and stability. To address this issue, we introduce Chatter Attack, a novel class of resource consumption attacks that optimize adversarial prompts to induce predefined short target phrases, thereby avoiding search-space explosion while still eliciting long responses. Specifically, Chatter Attack triggers self-doubt using short doubt-inducing phrases as the target, and sustains this state throughout generation via inference attention loss and global entropy loss. To extend to black-box settings, we further propose a novel Bayesian Prompt Optimization (BPO) method, which models the objective function globally by constructing a discrete token kernel, efficiently exploring the entire search space using prior information. Extensive experiments across multiple models and datasets show that our method outperforms baselines, with maximum response length increases to 31.5×, and revealing practical resource-depletion risks for real-world LLM inference services.
ER  -