Back to Search Start Over

Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs

Authors :
Yaldiz, Duygu Nur
Bakman, Yavuz Faruk
Buyukates, Baturalp
Tao, Chenyang
Ramakrishna, Anil
Dimitriadis, Dimitrios
Avestimehr, Salman
Publication Year :
2024

Abstract

In this work, we introduce the Learnable Response Scoring Function (LARS) for Uncertainty Estimation (UE) in generative Large Language Models (LLMs). Current scoring functions for probability-based UE, such as length-normalized scoring and semantic contribution-based weighting, are designed to solve specific aspects of the problem but exhibit limitations, including the inability to handle biased probabilities and under-performance in low-resource languages like Turkish. To address these issues, we propose LARS, a scoring function that leverages supervised data to capture complex dependencies between tokens and probabilities, thereby producing more reliable and calibrated response scores in computing the uncertainty of generations. Our extensive experiments across multiple datasets show that LARS substantially outperforms existing scoring functions considering various probability-based UE methods.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2406.11278
Document Type :
Working Paper