PruneCD: Contrasting Pruned Self Model to Improve Decoding Factuality

Byeongho Yu, Changhun Lee, Jungyu Jin, Eunhyeok Park
9/20/2025
cs.CLcs.AI

No official code found. Best implementation: hoeng4/PruneCD (4 stars, last commit 2025-12-13).

Abstract

To mitigate the hallucination problem in large language models, DoLa exploits early exit logits from the same model as a contrastive prior. However, we found that these early exit logits tend to be flat, low in magnitude, and fail to reflect meaningful contrasts. To address this, we propose PruneCD, a novel contrastive decoding method that constructs the amateur model via layer pruning rather than early exit. This design leads to more informative and well-aligned logits, enabling more effective contrastive decoding. Through qualitative and quantitative analyses, we demonstrate that PruneCD consistently improves factuality with minimal inference overhead, offering a robust and practical approach to mitigating hallucinations in LLMs.

View on arXivView PDF

Code Implementations(1)

hoeng4/PruneCDCommunity64%

[EMNLP 2025 MAIN] Official Implementation of "PruneCD: Contrasting Pruned Self Model to Improve Decoding Factuality"

40Shell, PythonSep 15, 202510 months ago

Similar Papers

Cite this paper

@article{yu2025prunecd,
  title  = {PruneCD: Contrasting Pruned Self Model to Improve Decoding Factuality},
  author = {Byeongho Yu and Changhun Lee and Jungyu Jin and Eunhyeok Park},
  year   = {2025},
  eprint = {2509.16598},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.16598v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.16598.svg)](https://codeofpaper.com/paper/2509.16598)

Discussion