{"slug": "quantifying-aleatoric-uncertainty-of-in-context-learning-for-robust-measure-of", "title": "Quantifying Aleatoric Uncertainty of In-Context Learning for Robust Measure of LLM Prediction Confidence", "summary": "Researchers introduced self-function vectors to quantify aleatoric uncertainty in in-context learning for large language models, enabling more reliable prediction confidence and applications like hallucination detection. The method uses internal model representations to separate aleatoric from epistemic uncertainty, outperforming existing approaches in controlled evaluations.", "body_md": "arXiv:2606.19353v1 Announce Type: new\nAbstract: In-Context Learning (ICL) allows LLMs to adapt to new tasks from a few demonstrations, but its reliability remains a concern: predictions are highly sensitive to both prompt design and the model's ability to understand the context, obscuring whether failures arise from data properties or model limitations. Uncertainty decomposition-separating aleatoric from epistemic sources-is particularly crucial in this setting, yet existing methods, designed for standard generation tasks, fail to capture the unique dynamics of ICL. To address this, we introduce a concept of self-function vectors, built upon Bayesian views and the mechanistic interpretability of ICL. These vectors leverage internal model representations to model the latent concept learned during in-context prompting, thereby enabling a direct estimation of aleatoric uncertainty within a Bayesian framework and circumventing the reliance on brittle input or decoding manipulations. Given the lack of established benchmarks and suitable evaluation protocols, we also propose the first and rigorous evaluation protocol, in which data is manipulated in controlled ways so as to quantify aleatoric uncertainty precisely and separately from epistemic uncertainty. With this new evaluation framework, initially grounded in synthetic tasks for conceptual development and subsequently extended to real-world datasets, we show that our proposed methodology can measure uncertainty of LLM predictions made under ICL more reliably than existing alternative methods. Moreover, we show it can be used as a practical tool for trustworthy-related applications, such as hallucination detection. Our findings pave a new direction for connecting the quantitative view of uncertainty with the mechanistic understanding of model behavior.", "url": "https://wpnews.pro/news/quantifying-aleatoric-uncertainty-of-in-context-learning-for-robust-measure-of", "canonical_source": "https://arxiv.org/abs/2606.19353", "published_at": "2026-06-19 04:00:00+00:00", "updated_at": "2026-06-19 04:05:14.664792+00:00", "lang": "en", "topics": ["large-language-models", "machine-learning", "ai-research", "ai-safety"], "entities": [], "alternates": {"html": "https://wpnews.pro/news/quantifying-aleatoric-uncertainty-of-in-context-learning-for-robust-measure-of", "markdown": "https://wpnews.pro/news/quantifying-aleatoric-uncertainty-of-in-context-learning-for-robust-measure-of.md", "text": "https://wpnews.pro/news/quantifying-aleatoric-uncertainty-of-in-context-learning-for-robust-measure-of.txt", "jsonld": "https://wpnews.pro/news/quantifying-aleatoric-uncertainty-of-in-context-learning-for-robust-measure-of.jsonld"}}