Token Constraint Decoding Improves Robustness on Question Answering for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated impressive performance on multiple-choice question answering (MCQA) benchmarks, yet they remain highly vulnerable to minor input perturbations. In this paper, we introduce and evaluate Token Constraint Decoding (TCD). This simple yet effective inference-time algorithm enforces alignment between token-level predictions to enhance robustness in noisy settings. Through extensive experiments on CommonsenseQA, MMLU, and MMLU-Pro, we show that TCD, especially when paired with prompt engineering (PE) fixes, significantly restores performance degraded by input noise, yielding up to +39% absolute gains for weaker models like Gemma3 1B. Penalty sweep analyses further reveal that TCD implicitly regularizes overconfident outputs, with different models requiring distinct penalty schedules to maximize resilience. Our findings establish TCD as a practical, model-agnostic approach for improving reasoning stability under real-world imperfections and pave the way for more reliable deployment of LLMs in safety-critical or user-facing applications.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 7 of its 9 references that are in the map. First posted on arXiv 11 Jun 2025.
Builds on
7 of 9 references.
References · 7
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
- 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 203
- 2024Reasoning Robustness of LLMs to Adversarial Typographical Errorscited by 31
- 2024A Study on Large Language Models' Limitations in Multiple-Choice Question Answeringcited by 22
Built on by
Not cited yet.