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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Yaldiz, Duygu Nur, Bakman, Yavuz Faruk, Buyukates, Baturalp, Tao, Chenyang, Ramakrishna, Anil, Dimitriadis, Dimitrios, Zhao, Jieyu, Avestimehr, Salman
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910823530627072
author Yaldiz, Duygu Nur
Bakman, Yavuz Faruk
Buyukates, Baturalp
Tao, Chenyang
Ramakrishna, Anil
Dimitriadis, Dimitrios
Zhao, Jieyu
Avestimehr, Salman
author_facet Yaldiz, Duygu Nur
Bakman, Yavuz Faruk
Buyukates, Baturalp
Tao, Chenyang
Ramakrishna, Anil
Dimitriadis, Dimitrios
Zhao, Jieyu
Avestimehr, Salman
contents Uncertainty estimation (UE) of generative large language models (LLMs) is crucial for evaluating the reliability of generated sequences. A significant subset of UE methods utilize token probabilities to assess uncertainty, aggregating multiple token probabilities into a single UE score using a scoring function. Existing scoring functions for probability-based UE, such as length-normalized scoring and semantic contribution-based weighting, are designed to solve certain aspects of the problem but exhibit limitations, including the inability to handle biased probabilities and complex semantic dependencies between tokens. To address these issues, in this work, we propose Learnable Response Scoring (LARS) function, a novel 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 LLM generations. Our comprehensive experiments across question-answering and arithmetical reasoning tasks with various datasets demonstrate that LARS significantly outperforms existing scoring functions, achieving improvements of up to 16\% AUROC score.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11278
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs
Yaldiz, Duygu Nur
Bakman, Yavuz Faruk
Buyukates, Baturalp
Tao, Chenyang
Ramakrishna, Anil
Dimitriadis, Dimitrios
Zhao, Jieyu
Avestimehr, Salman
Computation and Language
Uncertainty estimation (UE) of generative large language models (LLMs) is crucial for evaluating the reliability of generated sequences. A significant subset of UE methods utilize token probabilities to assess uncertainty, aggregating multiple token probabilities into a single UE score using a scoring function. Existing scoring functions for probability-based UE, such as length-normalized scoring and semantic contribution-based weighting, are designed to solve certain aspects of the problem but exhibit limitations, including the inability to handle biased probabilities and complex semantic dependencies between tokens. To address these issues, in this work, we propose Learnable Response Scoring (LARS) function, a novel 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 LLM generations. Our comprehensive experiments across question-answering and arithmetical reasoning tasks with various datasets demonstrate that LARS significantly outperforms existing scoring functions, achieving improvements of up to 16\% AUROC score.
title Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs
topic Computation and Language
url https://arxiv.org/abs/2406.11278