acceptodds
Published as a conference paper at NeurIPS 2026

Chatter Attack: Resource Consumption Attack for Large Language Models

Yibo Miao, Yichuan Cao, Xiao-Shan Gao, Yinpeng Dong

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, samplingbased 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, 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 LLM services.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_3gy9OpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
3
Read review
Summary

The paper studies LLM resource-consumption attacks, where adversarial prompts force excessively long generations and raise latency, cost, and service-disruption risk. The method combines initial doubt loss, inference attention loss, and global entropy loss to keep the model in a self-doubting generation state, and it introduces Bayesian Prompt Optimization for black-box settings. Experiments across multiple datasets and models show large increases in output length and inference time, including up to 31.5× longer responses on GSM8K.

Strengths and weaknesses

Strengths:

  • Attack design is solid: using short, doubt-inducing targets plus attention and entropy losses to avoid the optimization instability
  • The evaluation is broad, covering multiple datasets, models, baselines, defenses, and a deployed vLLM service setting

Weaknesses:

  • The online API transfer results appear much weaker than the main local-model results, suggesting that the practical effectiveness against production systems needs further optimization.
Questions

How effective is Chatter Attack under realistic production constraints such as strict output-token limits, per-user rate limits, anomaly detection, dynamic batching, request prioritization, and server-side early termination policies?

Limitations

Yes.

Paper formatting concerns

N/A

Final justification

I appreciate the responses from the authors. I do not think I have a misunderstanding of the initial version of the paper. As such, I keep the original rating.

Reviewer_fVoVOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
2
Quality
2
Significance
2
Read review
Summary

This work addresses the central challenge of resource-consumption attacks on LLM inference. Chatter Attack induces model self-doubt so that the model generates excessively long outputs, increasing latency, cost, and server load. The paper considers both white-box and black-box settings and evaluates the attack across several models, datasets, and defenses.

Strengths and weaknesses

Strenghts

  • Important and timely problem for deployed LLM services.

  • The paper considers both white-box and black-box attacks.

  • The black-box setting is especially relevant for API-served models.

  • The authors evaluate several defenses and provide mitigation recommendations.

  • The claims of the paper are potentially significant for LLM availability and inference-cost security.

Weaknesses:

  • Resource attacks have been explored extensively before in reasoning models.

  • The practical threat model is not fully convincing: in many API settings, the attacker pays for the extra tokens.

  • The paper should analyze attacker cost and whether the attack remains economically worthwhile.

  • Traditional infrastructure defenses such as IP blocking, rate limits, spend caps, and account-level throttling are underexplored.

  • The assumption that maximizing self-doubt reliably maximizes output length needs stronger justification or a theoretical explenation.

  • Maximum output-token or reasoning-token limits on the part of the victim may substantially bound the damage from any single query.

  • The paper does not evaluate post-generation defenses such as loop detection or excessive-reasoning monitoring.

  • The white-box setting is less well motivated than the black-box setting for commercial API deployments.

Questions

Why not directly optimize for latency or returned token count?

Who bears the cost in paid API settings, and what is the attacker’s economic incentive? How effective are simple defenses such as IP blocking, rate limits, spend caps, and per-user token limits? Why is evaluation on standard datasets necessary, rather than searching for the worst-case prompt or task? Would arbitrary strings or unusual character sequences provide a stronger optimization space than natural-language prompts? What is the worst-case behavior: excessive but meaningful reasoning, or looping until the maximum token budget? Can these prompts be used for adversarial training against excessive reasoning or runaway generation?

Limitations

Very limited: one paragraph in the paper. I would expect a larger section in the appendix.

Paper formatting concerns

NA

Reviewer_SWE2OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper proposes Chatter Attack, a resource-consumption attack approach against foundation models. Instead of directly forcing repetition or suprressing the EOS token, the attack uses adversarial prompts to induce short self-doubt phrases at the start of generation, causing the model to overthink and produce much longer responses. The method combines initial doubt induction, attention-based persistence, and entropy maximization, and works in both white-box and block-box settings. Experiments show that Chatter Attack significantly increases output lenght and inference latency across reasoning, QA, and coding benchmarks.

Strengths and weaknesses

Strengths

Instead of optimizing for a long repeated sequence or directly suppressing EOS, the attack optimizes for a short self-doubt phrase that can trigger long downstream reasoning. The paper decomposes the attack into three interpretable objectives, initial doubt induction, attention persistence, and entropy maximization, which is a mechanistic way to make the model overthink, rather than just showing a prompt trick that happens to work.

The empirical evaluation covers a broad of areas such as coding, math, QA, etc. And the peformane of the approch seems SOTA by increasing the average output length from 423 to 13346 tokens on GSM8k using R1-7b model.

Weaknesses

The proposed self-doubt mechanism is plausible but not fully proven. The proposed approach will be more convincing and sound if it can be proved mathematically.

The paper evaluates on R1-7B, QwQ-32b, and gpt-oss-20b, with a local vLLM service simultion. That is useful, but it doesn't show how the proposed approach work against larger, heavily post-trained models such as ChatGPT-class or Claude-class models. My assumption is that the attack idea may still be relevant, but the reported effect size may not transfer.

Questions

Please see the weaknesses section.

Limitations

Yes

Paper formatting concerns

No.

Comments on the paper

1 comment
Meta-review

The paper proposes a novel attack framework that avoids search-space explosion by optimizing adversarial prompts to trigger predefined short, doubt-inducing target phrases—forcing the model into a state of "self-doubt" and overthinking in both white-box and black-box settings. The reviewers universally agree that investigating resource-consumption and latency attacks against LLM inference is a timely, practical, and vital research area. They commend the paper for its clean, interpretable attack mechanism—inducing "self-doubt" via short phrases rather than optimizing full trajectories—and its impressive token-inflation results on local setups. On the flip side, reviewers highlight the lack of economic justification for attackers in pay-per-token API models, the noticeable drop in effectiveness during online black-box transfer, and the absence of evaluations against standard infrastructure defenses like hard token caps, rate throttling, and anomaly detection. Overall, the AC believes this is a borderline paper but leans towards rejection as an initial assessment (but is very willing to reconsider upon an effective author response) -- in addition to the concerns raised by the reviewers, I am also curious that given Chatter attack works in black-box setting, how does it perform against state-of-the-art frontier closed-source models in real-world black-box settings, particularly on complex, realistic application tasks rather than a math benchmarks like GSM8K (which seems a bit unnatural to me)?

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.