Skip to content

bolo-web/CCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Thinking by Subtraction: Confidence-Driven Contrastive Decoding for LLM Reasoning

Lexiang Tang, Weihao Gao, Bingchen Zhao, Lu Ma, Qiao Jin, Bang Yang, Yuexian Zou
Paper PDF

Getting Started

  1. Create the environment and install the dependencies by running:
conda create -n ccd python=3.10 -y
conda activate ccd
pip install torch numpy transformers==4.56.1
  1. Run with huggingface
python ccd.py

TODO

  1. More models
  2. CCD on VLM

Method

Main results

BibTeX

@misc{tang2026thinkingsubtractionconfidencedrivencontrastive,
      title={Thinking by Subtraction: Confidence-Driven Contrastive Decoding for LLM Reasoning}, 
      author={Lexiang Tang and Weihao Gao and Bingchen Zhao and Lu Ma and Qiao jin and Bang Yang and Yuexian Zou},
      year={2026},
      eprint={2602.18232},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2602.18232}, 
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages