On the Uncertainty of LLMs over Heterogeneous Many-Core Systems

The deployment of large language models (LLMs) on heterogeneous many-core systems has the potential to significantly enhance computational efficiency and model performance. However, the inherent complexity of these systems introduces additional sources of uncertainty that can affect the reliability and accuracy of model predictions. This paper investigates the quantification of uncertainty in LLMs operating on heterogeneous many-core architectures. We propose a novel framework that leverages the parallel processing capabilities of many-core systems to systematically assess and mitigate uncertainty in model outputs. We first identify key tokens as those that carry significant attention weights and are linked to the hallucinations and repetitions commonly observed in LLMs. Based on this observation, we propose the Key Token-based Negative Log-Likelihood (KT-NLL) algorithm to compute uncertainty scores for LLM responses. This approach yields a notable enhancement of up to 22.4% in AUROC and 6.1% in PRAUC compared to existing baseline methods. Furthermore, we develop a Key Token-driven context refinement technique to address repetition issues, resulting in a performance boost of up to 50.3%.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/hpsc66065.2025.00010
Primary Topic
Advancements in Photolithography Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On the Uncertainty of LLMs over Heterogeneous Many-Core Systems

Yue Xu, Miao Hu
Advancements in Photolithography Techniques
article

On the Uncertainty of LLMs over Heterogeneous Many-Core Systems

Yue Xu, Miao Hu
article en

Abstract

The deployment of large language models (LLMs) on heterogeneous many-core systems has the potential to significantly enhance computational efficiency and model performance. However, the inherent complexity of these systems introduces additional sources of uncertainty that can affect the reliability and accuracy of model predictions. This paper investigates the quantification of uncertainty in LLMs operating on heterogeneous many-core architectures. We propose a novel framework that leverages the parallel processing capabilities of many-core systems to systematically assess and mitigate uncertainty in model outputs. We first identify key tokens as those that carry significant attention weights and are linked to the hallucinations and repetitions commonly observed in LLMs. Based on this observation, we propose the Key Token-based Negative Log-Likelihood (KT-NLL) algorithm to compute uncertainty scores for LLM responses. This approach yields a notable enhancement of up to 22.4% in AUROC and 6.1% in PRAUC compared to existing baseline methods. Furthermore, we develop a Key Token-driven context refinement technique to address repetition issues, resulting in a performance boost of up to 50.3%.

Sun Yat-sen University (CN)
Climate action
Openalex Percentile: Top 88%
Advancements in Photolithography Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.