Unlocking the Power of LLM Uncertainty for Active In-Context Example Selection
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have shown remarkable performance across a wide range of downstream tasks. However, it is challenging for users to discern whether the responses of LLM are generated with certainty or are fabricated to meet user expectations. In this paper, we introduce Uncertainty Tripartite Testing Paradigm (Unc-TTP), a novel method for classifying LLM uncertainty by leveraging output inconsistency. Specifically, Unc-TTP performs three rounds of sampling under varying label injection interference, enumerating all possible outcomes, and uses the degree of output inconsistency as the indicator of the LLM's intrinsic uncertainty. To validate the effectiveness of this inconsistency-defined uncertainty, we draw inspiration from Active Learning, comparing the informativeness of actively selected in-context examples. Our experiments show that uncertainty examples selected via Unc-TTP are more informative than certainty examples. Furthermore, the Unc-TTP-guided uncertainty-based active example selection strategy outperforms existing methods, highlighting its effectiveness in classifying LLM uncertainty and enhancing in-context learning. This work not only underscores the potential of inconsistency-based uncertainty classification for both open- and closed-source LLMs but also presents a practical approach for leveraging uncertainty to improve LLM performance in real-world tasks.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 22 of its 36 references that are in the map. First posted on arXiv 17 Aug 2024.
Builds on
22 of 36 references.
References · 22
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2023Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Promptingcited by 1,081
- 2023Towards Understanding Sycophancy in Language Modelscited by 988
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
- 2022Discovering Language Model Behaviors with Model-Written Evaluationscited by 805
- 2022A Survey on In-context Learningcited by 717
10 more
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2023Can ChatGPT Defend its Belief in Truth? Evaluating LLM Reasoning via Debatecited by 92
- 2024Rejection Improves Reliability: Training LLMs to Refuse Unknown Questions Using RL from Knowledge Feedbackcited by 64
- 2021Reordering Examples Helps during Priming-based Few-Shot Learningcited by 50
- 2023Post Hoc Explanations of Language Models Can Improve Language Modelscited by 50
- 2024Measuring and Reducing LLM Hallucination without Gold-Standard Answerscited by 31
- 2024C-ICL: Contrastive In-context Learning for Information Extractioncited by 22
- 2020ColBERT: Using BERT Sentence Embedding in Parallel Neural Networks for Computational Humorcited by 18
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 4.
8 papers.
- 2024A Survey of Uncertainty Estimation in LLMs: Theory Meets Practicecited by 54
- 2025CER: Confidence Enhanced Reasoning in LLMscited by 16
- 2025Delusions of Large Language Modelscited by 4
- 2025Reconstructing Biological Pathways by Applying Selective Incremental Learning to (Very) Small Language Modelscited by 1
- 2026Towards Effective In-context Cross-domain Knowledge Transfer via Domain-invariant-neurons-based Retrievalcited by 1
- 2026Reason Analogically via Cross-domain Prior Knowledge: An Empirical Study of Cross-domain Knowledge Transfer for In-Context Learningcited by 1
- 2026FERA: Uncertainty-Aware Federated Reasoning for Large Language Modelscited by 1
- 2026CoDA: Towards Effective Cross-domain Knowledge Transfer via CoT-guided Domain Adaptationcited by 0
- 2026FERA: Uncertainty-Aware Federated Reasoning for Large Language Models11 May 2026
- 2026CoDA: Towards Effective Cross-domain Knowledge Transfer via CoT-guided Domain Adaptation21 Apr 2026
- 2026Reason Analogically via Cross-domain Prior Knowledge: An Empirical Study of Cross-domain Knowledge Transfer for In-Context Learning7 Apr 2026
- 2026Towards Effective In-context Cross-domain Knowledge Transfer via Domain-invariant-neurons-based Retrieval7 Apr 2026
- 2025Reconstructing Biological Pathways by Applying Selective Incremental Learning to (Very) Small Language Models6 Jul 2025
- 2025Delusions of Large Language Models9 Mar 2025
- 2025CER: Confidence Enhanced Reasoning in LLMs20 Feb 2025
- 2024A Survey of Uncertainty Estimation in LLMs: Theory Meets Practice20 Oct 2024