atlas

Research map / Large language models / Reasoning and chain of thought

An Engorgio Prompt Makes Large Language Model Babble on

ICLR 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Engorgio, a white-box method that optimizes a Gumbel-Softmax proxy distribution over prompt tokens with an EOS-escape loss and self-mentor loss to craft prompts that make LLMs generate near-maximum-length outputs.

Problem

Modern decoder-only LLMs are vulnerable to inference cost attacks: adversarial prompts that force very long generations and raise computation cost and latency, which earlier encoder-decoder sponge-example attacks cannot achieve.

Approach

Track a parameterized proxy distribution over prompt tokens (relaxed via Gumbel-Softmax) and optimize it with an untargeted loss that suppresses the EOS probability at all positions, plus a self-mentor cross-entropy loss that keeps the prompt coherent to the model, then sample a discrete prompt from the converged distribution.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Engorgio instead of the strongest listed baseline (Sponge examples)LLaMA-30B · LLaMA-30B, max length 2048Avg-len: 1277.7 -> 2019.1Helped
Use Engorgio instead of the strongest listed baseline (Sponge examples)LLaMA-7B · LLaMA-7B, max length 1024Avg-len: 857.6 -> 983.4Helped
Use Engorgio instead of normal inputsSamantha · Samantha, max length 4096Avg-len: 313.7 -> 4027.6Helped
Add self-mentor loss to ESC (ablation)LLaMA-7B · LLaMA-7B (1024), prompt length 32Avg-len: 893.5 + 32 -> 951.4 + 32Helped
Add self-mentor loss to ESC (ablation)Alpaca · Alpaca (1024), prompt length 32Avg-len: 967.4 + 32 -> 992.0 + 32Helped
Add self-mentor loss to ESC (ablation)Koala · Koala (1024), prompt length 32Avg-len: 980.0 + 32 -> 992.0 + 32Helped
Increase decoding temperature from 0.1 to 0.7 (ablation)StableLM with Engorgio · StableLM (1024)Avg-len: 1021.6 -> 513.8Hurt
Add semantic prefix to Engorgio (ablation)Alpaca · Alpaca, max length 1024, decoding temperature 0.7Avg-len: 353.2 -> 531.2Helped
Add semantic suffix to Engorgio (ablation)Alpaca · Alpaca, max length 1024, decoding temperature 0.7Avg-len: 353.2 -> 314.9Hurt
Add semantic prefix to Engorgio (ablation)StableLM · StableLM, max length 1024, decoding temperature 0.7Avg-len: 513.8 -> 884.8Helped
Add semantic suffix to Engorgio (ablation)StableLM · StableLM, max length 1024, decoding temperature 0.7Avg-len: 513.8 -> 534.3Helped

Surprising findings

Limitations

Experimental setup

Datasets: Stanford Alpaca ShareGPT

Benchmarks: Stanford Alpaca samples ShareGPT samples

Metrics: Avg-len Avg-rate

Baselines: Normal inputs Special inputs LLMEffiChecker Sponge examples

Builds on: sponge examples LLMEffiChecker Gumbel-Softmax

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy