S-EDL: Eliciting Self-Evidence from Sequence Likelihoods for Semantic Calibration of LLMs

Yawei Li, Jiazheng Li, David Rügamer, Bernd Bischl, Yulan He +1 more
10/21/2026
cs.CLcs.AI

Official code: sandylaker/s-edl (1 star, MIT, last commit 2026-10-22).

Abstract

Calibrating large language models (LLMs) in open-ended generation is uniquely challenging because many distinct token sequences can express the same underlying meaning. Prior calibration techniques target either fixed-set classification confidence or the binary correctness of individual strings, making them inherently ill-suited for the dynamic, multi-string nature of open-ended semantic outcomes. To bridge this gap, we introduce S-EDL, a novel evidential method that natively optimizes LLMs for semantic calibration. By eliciting evidence from the sequence likelihoods of the model itself, S-EDL constructs a differentiable Dirichlet prior over prompt-specific semantic classes. Optimizing the evidential loss under this prior yields a calibration-aware training signal over variable semantic classes, completely bypassing the need for fixed multiple-choice options. Evaluations across four open-ended benchmarks and three models demonstrate that S-EDL substantially reduces semantic calibration error while improving accuracy. By aligning generative likelihoods with semantic correctness, this work establishes a framework for deploying trustworthy LLMs in complex, open-ended applications. Code is available at: https://github.com/sandylaker/s-edl.

View on arXivView PDF

Code Implementations(1)

sandylaker/s-edlOfficial100%
MIT

Codebase for the S-EDL paper at NeurIPS 2026

10Shell, PythonSep 28, 20263 days agoMIT

Similar Papers

Cite this paper

@article{li2026sedl,
  title  = {S-EDL: Eliciting Self-Evidence from Sequence Likelihoods for Semantic Calibration of LLMs},
  author = {Yawei Li and Jiazheng Li and David Rügamer and Bernd Bischl and Yulan He and Mina Rezaei},
  year   = {2026},
  eprint = {2610.29832},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.29832v1}
}

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

Discussion