APCD: Adaptive Path-Contrastive Decoding for Reliable Large Language Model Generation
Not on the map. Why?
Abstract (arXiv)
Reliable text generation is critical for deploying large language models (LLMs) in real-world applications, particularly in high-stakes domains such as medicine. To improve factual reliability, various inference-time methods have been proposed, including logit-level methods that modify token probability distributions and representation-level methods that manipulate intermediate model representations. However, most existing approaches operate on a single decoding trajectory, limiting their ability to explore alternative reasoning paths and making them susceptible to error accumulation. To address this limitation, we propose Adaptive Path-Contrastive Decoding (APCD), an adaptive multi-path contrastive decoding framework that improves factual reliability without model retraining or fine-tuning. APCD comprises two key components: Entropy-Driven Path Expansion, which adaptively expands the decoding process only at high-uncertainty decision points, and Divergence-Aware Path Contrast, which dynamically regulates contrastive interactions among parallel decoding paths based on their distributional divergence to balance diversity and coherence. We evaluate APCD on four LLM backbones across eight benchmarks spanning both general-domain and medical question answering tasks. Experimental results demonstrate that APCD consistently outperforms strong inference-time baselines in factual accuracy while maintaining competitive inference efficiency. These results demonstrate the robustness and generalizability of APCD across diverse models and tasks, highlighting its effectiveness as a practical multi-path decoding framework for reliable LLM deployment, particularly in high-stakes domains such as medicine. Code is available at https://github.com/zty-king/APCD.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 29 of its 41 references that are in the map. First posted on arXiv 10 May 2026.
Builds on
29 of 41 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2018Hierarchical Neural Story Generationcited by 1,193
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 609
17 more
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 559
- 2024LLaVA-CoT: Let Vision Language Models Reason Step-by-Stepcited by 454
- 2023Trusting Your Evidence: Hallucinate Less with Context-aware Decodingcited by 327
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
- 2024Monte Carlo Tree Search Boosts Reasoning via Iterative Preference Learningcited by 241
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2024Fast Best-of-N Decoding via Speculative Rejectioncited by 112
- 2024Benchmarking Large Language Models on Answering and Explaining Challenging Medical Questionscited by 109
- 2024Step-level Value Preference Optimization for Mathematical Reasoningcited by 72
- 2024(A)I Am Not a Lawyer, But...: Engaging Legal Experts towards Responsible LLM Policies for Legal Advicecited by 63
- 2022Contrastive Search Is What You Need For Neural Text Generationcited by 59
- 2024Designing Heterogeneous LLM Agents for Financial Sentiment Analysiscited by 48
- 2024In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigationcited by 45
- 2024LLM-MedQA: Enhancing Medical Question Answering through Case Studies in Large Language Modelscited by 32
- 2024DeCoRe: Decoding by Contrasting Retrieval Heads to Mitigate Hallucinationscited by 25
- 2025Improve Decoding Factuality by Token-wise Cross Layer Entropy of Large Language Modelscited by 7
- 2025ECO Decoding: Entropy-Based Control for Controllability and Fluency in Controllable Dialogue Generationcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Entropy-informed Decoding: Adaptive Information-Driven Branching
- 2025Beyond Confidence: Adaptive and Coherent Decoding for Diffusion Language Models
- 2025Accelerating Diffusion LLMs via Adaptive Parallel Decoding
- 2026CD4LM: Consistency Distillation and aDaptive Decoding for Diffusion Language Models
- 2026Improving Diffusion Language Model Decoding through Joint Search in Generation Order and Token Space
- 2025From Bits to Rounds: Parallel Decoding with Exploration for Diffusion Language Models
- 2026Martingale Foresight Sampling: A Principled Approach to Inference-Time LLM Decoding
- 2025SpecRouter: Adaptive Routing for Multi-Level Speculative Decoding in Large Language Models