cs.CLOct 21, 2026

Mitigating Query Shortcuts in Chain-of-Thought with Context-Aware Decoding

Authors: Shin'ya Yamaguchi

Organizations: NTT

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.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. DoubtLess: Training-Free Contrastive Decoding for Efficient Reasoning

    Oct 13, 2026Minghao Luo, Liang ChenEfficient Language Model ReasoningCoT Compression

  2. CopT: Contrastive On-Policy Thinking with Continuous Spaces for General and Agentic Reasoning

    May 19, 2026Dachuan Shi, Hanlin Zhu, Xiangchi Yuan +4Agentic ReasoningEfficient Language Model Inference

  3. CASE: Causal Alignment and Structural Enforcement for Improving Chain-of-Thought Faithfulness

    Jul 21, 2026Ziming Wang, Yinghua Yao, Changwu Huang +2CoT FaithfulnessFaithfulness of Language Model Explanations