mlsanityData to 14 Oct 2026

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

arXiv 2505.21003 ↗First posted 27 May 2025cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 38 of its 47 references that are in the map. First posted on arXiv 27 May 2025.

Builds on

38 of 47 references.

References · 38

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  7. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  8. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
  9. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  12. 2023Code Llama: Open Foundation Models for Codecited by 2,139
26 more
  1. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
  2. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  4. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  5. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
  6. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
  7. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  8. 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
  9. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  10. 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 347
  11. 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
  12. 2023Sentiment Analysis in the Era of Large Language Models: A Reality Checkcited by 268
  13. 2017Survey of the State of the Art in Natural Language Generation: Core tasks, applications and evaluationcited by 206
  14. 2022Leveraging Large Language Models for Multiple Choice Question Answeringcited by 203
  15. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 136
  16. 2024In-Context Learning with Long-Context Models: An In-Depth Explorationcited by 128
  17. 2023Decomposing Uncertainty for Large Language Models through Input Clarification Ensemblingcited by 114
  18. 2022A Deeper Look into Aleatoric and Epistemic Uncertainty Disentanglementcited by 87
  19. 2023A Survey on Uncertainty Quantification Methods for Deep Learningcited by 81
  20. 2024LUQ: Long-text Uncertainty Quantification for LLMscited by 81
  21. 2024Many-Shot In-Context Learning in Multimodal Foundation Modelscited by 67
  22. 2024MARS: Meaning-Aware Response Scoring for Uncertainty Estimation in Generative LLMscited by 46
  23. 2024Uncertainty Quantification for In-Context Learning of Large Language Modelscited by 45
  24. 2023LitCab: Lightweight Language Model Calibration over Short- and Long-form Responsescited by 44
  25. 2024Unveiling Factual Recall Behaviors of Large Language Models through Knowledge Neuronscited by 16
  26. 2024Residual Alignment: Uncovering the Mechanisms of Residual Networkscited by 13

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 5.

5 papers.