Unused information in token probability distribution of generative LLM: improving LLM reading comprehension through calculation of expected values

Krystian Zawistowski
6/11/2024
cs.CLcs.AI

No official code found. Best implementation: kzawisto/unused_information_llm (0 stars, Apache-2.0, last commit 2025-03-13).

Abstract

LLM text decoding is key component for perceived LLM quality. We demonstrate two experiments showing that decoding methods could be improved by manipulation of token probabilities. First, we test few LLM on SummEval summary scoring dataset, to measure reading comprehension. We compare scores from greedy decoding to expected values over the next token distribution. We scale logits by large temperature to increase the entropy of scores. This allows strong improvement of performance on SummEval (in terms of correlations to human judgement). We see improvement from 6-8% to 13-28% for 7B Mistral and from 20%-46% to 37%-56% for Mixtral, beating GPT 4 0314 result on two metrics. Part of the gain seems related to positional bias. Secondly, we use probability-based tree sampling algorithm, to examine all most probable generations for given prompt.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for https://arxiv.org/html/2406.10267v1

00Jupyter NotebookJul 17, 20241 years agoApache-2.0

Cite this paper

@article{zawistowski2024unused,
  title  = {Unused information in token probability distribution of generative LLM: improving LLM reading comprehension through calculation of expected values},
  author = {Krystian Zawistowski},
  year   = {2024},
  eprint = {2406.10267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10267v2}
}

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

Discussion