Knowledgeable In-Context Tuning: Exploring and Exploiting Factual Knowledge for In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) enable in-context learning (ICL) by conditioning on a few labeled training examples as a text-based prompt, eliminating the need for parameter updates and achieving competitive performance. In this paper, we demonstrate that factual knowledge is imperative for the performance of ICL in three core facets: the inherent knowledge learned in LLMs, the factual knowledge derived from the selected in-context examples, and the knowledge biases in LLMs for output generation. To unleash the power of LLMs in few-shot learning scenarios, we introduce a novel Knowledgeable In-Context Tuning (KICT) framework to further improve the performance of ICL: 1) injecting knowledge into LLMs during continual self-supervised pre-training, 2) judiciously selecting the examples for ICL with high knowledge relevance, and 3) calibrating the prediction results based on prior knowledge. We evaluate the proposed approaches on autoregressive models (e.g., GPT-style LLMs) over multiple text classification and question-answering tasks. Experimental results demonstrate that KICT substantially outperforms strong baselines and improves by more than 13% and 7% on text classification and question-answering tasks, respectively.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 49 of its 64 references that are in the map. First posted on arXiv 26 Sep 2023.
Builds on
49 of 64 references.
References · 49
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
37 more
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 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
- 2022Galactica: A Large Language Model for Sciencecited by 736
- 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
- 2021GPT Understands, Toocited by 715
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
- 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 303
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
- 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
- 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
- 2021Meta-learning via Language Model In-context Tuningcited by 163
- 2023Verify-and-Edit: A Knowledge-Enhanced Chain-of-Thought Frameworkcited by 139
- 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
- 2019Quoref: A Reading Comprehension Dataset with Questions Requiring Coreferential Reasoningcited by 100
- 2019QuaRTz: An Open-Domain Dataset of Qualitative Relationship Questionscited by 89
- 2020CoLAKE: Contextualized Language and Knowledge Embeddingcited by 86
- 2023Boosting Language Models Reasoning with Chain-of-Knowledge Promptingcited by 77
- 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
- 2022Improving In-Context Few-Shot Learning via Self-Supervised Trainingcited by 56
- 2023OpenICL: An Open-Source Framework for In-context Learningcited by 51
- 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
- 2022Knowledge-in-Context: Towards Knowledgeable Semi-Parametric Language Modelscited by 24
- 2022Making Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuningcited by 19
- 2022Revisiting and Advancing Chinese Natural Language Understanding with Accelerated Heterogeneous Knowledge Pre-trainingcited by 6
Built on by
Citing papers per year: 2023: 1; 2024: 0; 2025: 5.
6 papers.
- 2023"What's important here?": Opportunities and Challenges of Using LLMs in Retrieving Information from Web Interfacescited by 6
- 2025Leveraging Large Language Models for Automated Definition Extraction with TaxoMatic A Case Study on Media Biascited by 2
- 2025IEA-Plugin: An AI Agent Reasoner for Test Data Analyticscited by 0
- 2025AI-Driven Climate Policy Scenario Generation for Sub-Saharan Africacited by 0
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMscited by 0
- 2025Beyond Hidden-Layer Manipulation: Semantically-Aware Logit Interventions for Debiasing LLMscited by 0
- 2025Beyond Hidden-Layer Manipulation: Semantically-Aware Logit Interventions for Debiasing LLMs25 Oct 2025
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMs29 May 2025
- 2025AI-Driven Climate Policy Scenario Generation for Sub-Saharan Africa24 May 2025
- 2025IEA-Plugin: An AI Agent Reasoner for Test Data Analytics14 Apr 2025
- 2025Leveraging Large Language Models for Automated Definition Extraction with TaxoMatic A Case Study on Media Bias1 Apr 2025
- 2023"What's important here?": Opportunities and Challenges of Using LLMs in Retrieving Information from Web Interfaces11 Dec 2023