DeLTa: A Decoding Strategy based on Logit Trajectory Prediction Improves Factuality and Reasoning Ability

Yunzhen He, Yusuke Takase, Yoichi Ishibashi, Hidetoshi Shimodaira
3/4/2025
cs.CLcs.LG

No official code found. Best implementation: githubhyz/DeLTa (5 stars, last commit 2025-04-25).

Abstract

Large Language Models (LLMs) are increasingly being used in real-world applications. However, concerns about the reliability of the content they generate persist, as it frequently deviates from factual correctness or exhibits deficiencies in logical reasoning. This paper proposes a novel decoding strategy aimed at enhancing both factual accuracy and inferential reasoning without requiring any modifications to the architecture or pre-trained parameters of LLMs. Our approach adjusts next-token probabilities by analyzing the trajectory of logits from lower to higher layers in Transformers and applying linear regression. We find that this Decoding by Logit Trajectory-based approach (DeLTa) effectively reinforces factuality and reasoning while mitigating incorrect generation. Experiments on TruthfulQA demonstrate that DeLTa attains up to a 4.9% improvement over the baseline. Furthermore, it enhances performance by up to 8.1% on StrategyQA and 7.3% on GSM8K, both of which demand strong reasoning capabilities.

View on arXivView PDF

Code Implementations(1)

githubhyz/DeLTaCommunity100%

Official implementation for the paper "DeLTa: A Decoding Strategy based on Logit Trajectory Prediction Improves Factuality and Reasoning Ability"

50PythonMar 3, 20251 years ago

Cite this paper

@article{he2025delta,
  title  = {DeLTa: A Decoding Strategy based on Logit Trajectory Prediction Improves Factuality and Reasoning Ability},
  author = {Yunzhen He and Yusuke Takase and Yoichi Ishibashi and Hidetoshi Shimodaira},
  year   = {2025},
  eprint = {2503.02343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.02343v1}
}

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/2503.02343.svg)](https://codeofpaper.com/paper/2503.02343)

Discussion