Decoding-Level Taboo: A Diagnostic Stress Test for LLM Robustness

Tadanobu Chuyo Kamijo, Ori Rottenstreich, Javier Conde, Gonzalo Martínez, Pedro ReviriegoarXiv 2026

TL;DR

Standard LLM benchmarks evaluate models under optimal, unconstrained conditions, creating an illusion of robust capability. To expose how fragile these models become when forced off their preferred generation paths, the authors introduce Decoding-Level Taboo—a zero-prompt runtime diagnostic that dynamically blocks an LLM's top token choices at word boundaries, forcing the model to circumlocute and revealing the true resilience of its internal reasoning engine.

What Problem Does This Paper Address?

When evaluated on standard leaderboards, Large Language Models (LLMs) comfortably walk a narrow, highly optimized "nominal" corridor of preferred token sequences. However, in real-world production, models rarely enjoy this luxury. Complex system prompts, safety guardrails, negative constraints, and structured output formats (like JSON schemas) constantly push models away from their preferred paths.

Existing benchmarks like IFEval or FollowBench attempt to measure a model's ability to handle constraints at the prompt level (e.g., "Do not use the word 'blue'"). However, prompt-based constraints introduce confounding variables like instruction-parsing overhead and fail to separate compliance (the willingness to follow a rule) from reasoning resilience (the capacity to maintain logical coherence under structural stress). This paper addresses the need for a clean, unconfounded diagnostic framework that bypasses the prompt interface entirely to probe an LLM's latent reasoning engine.

Methods

The authors propose Decoding-Level Taboo, a zero-prompt diagnostic stress test that intervenes directly in logit space within the autoregressive decoding loop at runtime.

The core mechanics include:

  1. Logit Masking: At a given decoding step, the framework applies an additive binary mask that sets the logits of the top-$i$ preferred nominal tokens to $-\infty$, effectively banning them and forcing the model to select a lower-ranked alternative.
  2. Word-Initial Intervention Strategy: Indiscriminately masking tokens at every subword step corrupts tokenization, leading to invalid byte sequences. To isolate semantic reasoning from tokenization artifacts, Taboo only masks tokens at word boundaries (word-initial steps). Once an alternative word is initiated, mid-word subword completions proceed unmasked.
  3. Quantifying Stress via Injected Surprisal ($\Delta S_t$): To measure the severity of the intervention, the authors calculate the information-theoretic cost (in bits) of forcing the model to emit the alternative token instead of its preferred choice.

Datasets

The framework was evaluated across four open-weight model families (Qwen2.5, Gemma-3, Llama-3, and OLMo-2) spanning scales from 0.5B to 72B parameters. They tested these models across four distinct benchmarks:

  • GSM8K: Multi-step grade school mathematical word problems (testing chained algorithmic logic).
  • MMLU: Multiple-choice questions (used to analyze format constraints).
  • TriviaQA: Open-domain factual recall and knowledge retrieval.
  • HumanEval: Python function synthesis (acting as a negative control baseline).

Key Insights and Ideas

  • Alignment builds a better backup plan: Post-training instruction alignment (SFT/RLHF) does more than just teach models to be polite or follow formats; it fundamentally alters their reasoning structure. Aligned models are significantly better at dynamically reconstructing valid alternative reasoning paths when their preferred tokens are blocked.
  • Off-path robustness is task-specific: The compounding benefit of scale and alignment is highly pronounced in generative multi-step reasoning tasks (like GSM8K). However, it is virtually absent in factual recall (TriviaQA) or multiple-choice formats (MMLU). Alignment teaches models how to re-route reasoning, not how to recall facts more robustly.
  • Code has zero lexical redundancy: While natural language allows for rich circumlocution and synonyms, formal code syntax collapses immediately under Taboo. Masking a single mandatory keyword like def or return drives all models to near-zero accuracy, establishing formal syntax as a hard lower bound for off-path generation.
  • The Llama scaling threshold: Llama-3-8B presents a unique exception, showing almost no base-vs-instruct gap under Taboo stress. However, this alignment benefit sharply returns at the 70B scale, indicating that the Llama family acquires off-path reasoning resilience later in its scaling trajectory than competing architectures.

Key Results

  • Generative Reasoning Resilience: On GSM8K, instruction-tuned models dramatically outperform their base counterparts under stress. At a taboo rank of $i=1$ (blocking the top token choice), Gemma-3-12B-Instruct retains 90% of its baseline-correct answers, whereas Gemma-3-12B-Base collapses to 25%.
  • The Power of Scale: Larger aligned models show remarkable immunity to aggressive masking. Qwen2.5-32B-Instruct retains 93% of its correct answers at $i=1$ and maintains 74% accuracy even when the top 8 token choices are completely blocked ($i=8$).
  • Format Collapse: On MMLU, performance drops immediately to the guessing floor across all model sizes because blocking the single-letter answer token forces an arbitrary, non-semantic re-selection.
Heatmaps showing conditional retention across different model families and benchmarks. The alignment lift is starkly visible on GSM8K for Qwen, OLMo, and Gemma, but absent in Llama-3 at the 7-12B scale.

Limitations and Future Work

  • Language Coverage: All evaluation tasks were restricted to English. Because tokenization mechanics and word boundaries vary across languages, the generalizability of these findings to multilingual settings remains an open question.
  • Uniform Masking Rules: The current implementation applies a static mask to the top-$i$ candidates. The authors note that exploring adaptive interventions—such as triggering masks conditionally based on dynamic token surprisal thresholds—is a promising next step.
  • Taboo-Guided Alignment: Beyond diagnostics, the authors propose using Taboo decoding as an active regularization mechanism during the rollout phase of Reinforcement Learning (e.g., GRPO). Explicitly rewarding models for finding alternative, valid reasoning paths under forced constraints could drastically reduce real-world deployment fragility.

Summary updated

BibTeX
@misc{kamijo2026decoding,
  author = {Tadanobu Chuyo Kamijo and Ori Rottenstreich and Javier Conde and Gonzalo Martínez and Pedro Reviriego},
  title = {{Decoding-Level Taboo: A Diagnostic Stress Test for LLM Robustness}},
  year = {2026},
  eprint = {2608.09900},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.09900},
}
Figure