Reproduce “Unused information in token probability distribution of generative LLM: improving LLM reading comprehension through calculation of expected values” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Krystian Zawistowski

A novel decoding strategy, Expected Value (E(s)) decoding, enhances Large Language Model performance in quantitative evaluation tasks by calculating expected values over a smoothed token probability distribution. This method enabled open-source models like Mixtral 8x7B to surpass GPT-4 in relevance and coherence correlation on the SummEval dataset, showing up to a 4.4x improvement in specific metrics while also benefiting quantized models.

Key insights

  • High-temperature Expected Value decoding effectively leverages previously unused information in the token probability distribution, leading to more accurate quantitative assessments by capturing nuanced likelihoods that greedy decoding misses.
  • Tree-based sampling revealed that LLMs can exhibit highly skewed probability distributions for specific prompts, often producing limited output diversity or ignoring instructions, which is masked by standard greedy or TopP decoding.
  • Positional bias significantly impacts greedy decoding but is largely mitigated by the E(s) method, indicating that considering a broader probability distribution reduces sensitivity to spurious input signals.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.