Thinking by Subtraction: Confidence-Driven Contrastive Decoding for LLM Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Recent work on test-time scaling for large language model (LLM) reasoning typically assumes that allocating more inference-time computation uniformly improves correctness. However, prior studies show that reasoning uncertainty is highly localized: a small subset of low-confidence tokens disproportionately contributes to reasoning errors and unnecessary output expansion. Motivated by this observation, we propose Thinking by Subtraction, a confidence-driven contrastive decoding approach that improves reasoning reliability through targeted token-level intervention. Our method, Confidence-Driven Contrastive Decoding, detects low-confidence tokens during decoding and intervenes selectively at these positions. It constructs a contrastive reference by replacing high-confidence tokens with minimal placeholders, and refines predictions by subtracting this reference distribution at low-confidence locations. Experiments show that CCD significantly improves accuracy across mathematical reasoning benchmarks while substantially reducing output length, with minimal KV-cache overhead. As a training-free method, CCD enhances reasoning reliability through targeted low-confidence intervention without computational redundancy. Our code will be made available at: https://github.com/bolo-web/CCD.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 28 of its 52 references that are in the map. First posted on arXiv 20 Feb 2026.
Builds on
28 of 52 references.
Closest ancestors · 8
Same direction, newest first
- 2025Leash: Adaptive Length Penalty and Reward Shaping for Efficient Large Reasoning Model25 Dec
- 2025Less is More: Improving LLM Reasoning with Minimal Test-Time Intervention15 Oct
- 2025Parallel-R1: Towards Parallel Thinking via Reinforcement Learning9 Sep
- 2025Deep Think with Confidence21 Aug
- 2025Entropy-Gated Branching for Efficient Test-Time Reasoning27 Mar
- 2025Confidence Improves Self-Consistency in LLMs10 Feb
- 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs30 Dec
- 2023Contrastive Decoding Improves Reasoning in Large Language Models17 Sep
Other references · 20
- 2023GPT-4 Technical Reportcited by 18,132
- 2025Qwen3 Technical Reportcited by 8,195
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2023DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Modelscited by 367
- 2024Mitigating Hallucinations in Large Vision-Language Models with Instruction Contrastive Decodingcited by 198
- 2024Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputscited by 148
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
- 2025Learning What Reinforcement Learning Can't: Interleaved Online Fine-Tuning for Hardest Questionscited by 95
- 2025Reasoning with Sampling: Your Base Model is Smarter Than You Thinkcited by 84
- 2025Confidence Is All You Need: Few-Shot RL Fine-Tuning of Language Modelscited by 61
8 more
- 2024Enhancing Contextual Understanding in Large Language Models through Contrastive Decodingcited by 49
- 2025The Majority is not always right: RL training for solution aggregationcited by 46
- 2025Exploration vs Exploitation: Rethinking RLVR through Clipping, Entropy, and Spurious Rewardcited by 25
- 2024Distillation Contrastive Decoding: Improving LLMs Reasoning with Contrastive Decoding and Distillationcited by 16
- 2026Confidence Estimation for LLMs in Multi-turn Interactionscited by 12
- 2024Safety Alignment of Large Language Models via Contrasting Safe and Harmful Distributionscited by 8
- 2025Not All Tokens and Heads Are Equally Important: Dual-Level Attention Intervention for Hallucination Mitigationcited by 7
- 2026GIFT: Reconciling Post-Training Objectives via Variational Finite-Temperature Gibbs Initializationcited by 2
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026PathCal: State-Aware Reflection-Marker Calibration for Efficient Reasoningcited by 0
- 2026Gradient-Guided Reward Optimization for Inference-time Alignmentcited by 0
- 2026Reasoning Denoiser: Denoising Reasoning Traces for Hallucination Detection in Large Reasoning Modelscited by 0
- 2026Beam Search as Test-Time Self-Distillation via Counterfactual Contextscited by 0
- 2026Decoding Looped Transformers Better for (Almost) Freecited by 0
- 2026Decoding Looped Transformers Better for (Almost) Free1 Oct 2026
- 2026Beam Search as Test-Time Self-Distillation via Counterfactual Contexts29 Sep 2026
- 2026Reasoning Denoiser: Denoising Reasoning Traces for Hallucination Detection in Large Reasoning Models24 Jul 2026
- 2026Gradient-Guided Reward Optimization for Inference-time Alignment8 Jun 2026
- 2026PathCal: State-Aware Reflection-Marker Calibration for Efficient Reasoning21 May 2026
Similar, not cited
Close in wording, no citation either way
- 2025Sample Smart, Not Hard: Correctness-First Decoding for Better Reasoning in LLMs
- 2026Probability is Not Enough: Exploring and Counting Divergent Tokens for Reasoning Uncertainty Quantification in LLMs
- 2025Think Just Enough: Sequence-Level Entropy as a Confidence Signal for LLM Reasoning
- 2026Unsupervised Confidence Calibration for Reasoning LLMs from a Single Generation
- 2025Encode, Think, Decode: Scaling test-time reasoning with recursive latent thoughts
- 2025CER: Confidence Enhanced Reasoning in LLMs
- 2026Enhancing reasoning accuracy in large language models during inference time
- 2025Robust Answers, Fragile Logic: Probing the Decoupling Hypothesis in LLM Reasoning