Mitigating Query Shortcuts in Chain-of-Thought with Context-Aware Decoding
Abstract
While Chain-of-Thought (CoT) prompting improves the reasoning performance of large language models (LLMs), recent studies have shown that final answers do not always depend on the generated rationales. In particular, LLMs may rely on query-specific shortcuts rather than the information provided by their reasoning steps. In this paper, we investigate whether context-aware decoding (CAD), an existing contrastive decoding method, can mitigate such shortcut behavior when applied to CoT reasoning. We study this application as Rationale Contrastive Decoding (RCD), which contrasts the next-token distributions conditioned on the query with and without its rationale, amplifying tokens whose likelihood increases due to the rationale. We provide a theoretical interpretation of this decoding rule via a KL-regularized reward-maximization objective. Experiments across five reasoning benchmarks demonstrate that RCD improves answer accuracy over standard CoT. Furthermore, intervention analyses using ground-truth and random rationales reveal that RCD increases the behavioral dependence of final answers on the rationale content. Our findings suggest that contrastive decoding offers a simple, training-free approach to mitigating query shortcuts.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.LG
- Comments
- 9 pages, 3 figures
Related papers
A Large-Scale Evaluation of Role-Enhanced Zero-Shot Chain-of-Thought Prompting
Shared title terminologycs.CLIbrahim Khan, Thai Van Nguyen, Yi Xia et al.
Reward Misspecification Degrades Chain-of-Thought Monitorability
Shared title terminologycs.CLTianyi Lorena Yan, John Hewitt
Semantic-aware Decoding for Diverse Text-to-SQL under Schema Ambiguity
Shared title terminologycs.CLYuxuan Jiang, Anna Mitsopoulou, Apostolos Koukouvinis et al.
Rethinking the Evaluation of Contrastive Decoding for Hallucination Mitigation in Multimodal Large Language Models
Shared title terminologycs.CLTing Chen, Geng Li, Guohao Chen et al.
When is more search useful? An Empirical Study of Search Utility in Quality-Aware Decoding for Machine Translation
Shared title terminologycs.CLJavier Garcia Gilabert, Rico Sennrich, André F. T. Martins
Signals and Queries: Token-Efficient Agentic Context Discovery
Shared title terminologycs.CLYam Marcovitz