LLM Infinite Thinking DoS
A Denial-of-Service (DoS) vulnerability exists in Large Language Model (LLM) inference services where specially crafted input prompts can trigger excessively long or infinite generation loops ("infinite thinking"). This vulnerability, identified as "ThinkTrap," utilizes derivative-free optimization (CMA-ES) within a continuous surrogate embedding space to circumvent the discrete nature of token inputs. By optimizing a low-dimensional latent vector and projecting it to token sequences, an…
Evaluated models: Gemini 2.5 Pro, Lumimaid 70B, o4-mini+4 more
- Gemini 2.5 Pro
- Lumimaid 70B
- o4-mini
- MAI DS R1 671B
- DeepSeek R1 0528 Qwen3 8B
- Llama 3.2 3B
- DeepSeek R1 671B