Skip to content

deondou/EAGLE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

EAGLE: Enhancing Uncertainty Estimation in LLMs with Expectation of Aggregated Internal Belief

๐Ÿ”ฎ Overview

This repository implements EAGLE , a novel self-evaluation-based calibration method for Large Language Models (LLMs) as presented in our paper. EAGLE improves uncertainty estimation by leveraging internal hidden states across multiple model layers to derive more accurate confidence scores.

Key features:

  • Layer-wise hidden state aggregation for robust confidence estimation
  • Expectation calculation over confidence score distributions
  • Training-free approach compatible with various LLM architectures
  • Superior calibration performance demonstrated across diverse tasks

๐Ÿ› ๏ธ Installation

Installation Steps

pip install -r requirements.txt

๐Ÿš€ Run Pipeline

./scripts/run.sh

๐Ÿ“ Citation

If you use this work, please cite our paper:

@misc{xiao2025enhancinguncertaintyestimationllms,
 title={Enhancing Uncertainty Estimation in LLMs with Expectation of Aggregated Internal Belief}, 
 author={Zeguan Xiao and Diyang Dou and Boya Xiong and Yun Chen and Guanhua Chen},
 year={2025},
 eprint={2509.01564},
 archivePrefix={arXiv},
 primaryClass={cs.CL},
 url={https://arxiv.org/abs/2509.01564}, 
}

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published