Uncertainty Unveiled: Can Exposure to More In-context Examples Mitigate Uncertainty for Large Language Models?

Recent advances in handling long sequences have facilitated the exploration of long-context in-context learning (ICL).While much of the existing research emphasizes performance improvements driven by additional in-context examples, the influence on the trustworthiness of generated responses remains underexplored.This paper addresses this gap by investigating how increased examples influence predictive uncertainty-an essential aspect in trustworthiness.We begin by systematically quantifying the uncertainty of ICL with varying shot counts, analyzing the impact of example quantity.Through uncertainty decomposition, we introduce a novel perspective on performance enhancement, with a focus on epistemic uncertainty (EU).Our results reveal that additional examples reduce total uncertainty in both simple and complex tasks by injecting task-specific knowledge, thereby diminishing EU and enhancing performance.For complex tasks, these advantages emerge only after addressing the increased noise and uncertainty associated with longer inputs.Finally, we explore the evolution of internal confidence across layers, unveiling the mechanisms driving the reduction in uncertainty.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.1062
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Uncertainty Unveiled: Can Exposure to More In-context Examples Mitigate Uncertainty for Large Language Models?

Linjing Li, Sheng Yu, Yifei Wang, Daniel Dajun Zeng
Topic Modeling
article

Uncertainty Unveiled: Can Exposure to More In-context Examples Mitigate Uncertainty for Large Language Models?

Linjing Li, Sheng Yu, Yifei Wang, Daniel Dajun Zeng
article en

Abstract

Recent advances in handling long sequences have facilitated the exploration of long-context in-context learning (ICL).While much of the existing research emphasizes performance improvements driven by additional in-context examples, the influence on the trustworthiness of generated responses remains underexplored.This paper addresses this gap by investigating how increased examples influence predictive uncertainty-an essential aspect in trustworthiness.We begin by systematically quantifying the uncertainty of ICL with varying shot counts, analyzing the impact of example quantity.Through uncertainty decomposition, we introduce a novel perspective on performance enhancement, with a focus on epistemic uncertainty (EU).Our results reveal that additional examples reduce total uncertainty in both simple and complex tasks by injecting task-specific knowledge, thereby diminishing EU and enhancing performance.For complex tasks, these advantages emerge only after addressing the increased noise and uncertainty associated with longer inputs.Finally, we explore the evolution of internal confidence across layers, unveiling the mechanisms driving the reduction in uncertainty.

National Natural Science Foundation of China, Chinese Academy of Sciences
Openalex Percentile: Top 90%
Topic Modeling
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.

Uncertainty Unveiled: Can Exposure to More In-context Examples Mitigate Uncertainty for Large Language Models? — Linjing Li, Sheng Yu, et al. · (2025) | TGRS Research Map | TGRS