mlsanityData to 7 Oct 2026

Knowledgeable In-Context Tuning: Exploring and Exploiting Factual Knowledge for In-Context Learning

arXiv 2309.14771 ↗First posted 26 Sep 2023cs.CL cs.AIcited by 6

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  6. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  12. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
37 more
  1. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  2. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  3. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  4. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  5. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  6. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  7. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  8. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  9. 2022Galactica: A Large Language Model for Sciencecited by 736
  10. 2017Convolutional 2D Knowledge Graph Embeddingscited by 729
  11. 2021GPT Understands, Toocited by 715
  12. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  13. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  14. 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 525
  15. 2021MetaICL: Learning to Learn In Contextcited by 450
  16. 2019KEPLER: A Unified Model for Knowledge Embedding and Pre-trained Language Representationcited by 356
  17. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
  18. 2019K-BERT: Enabling Language Representation with Knowledge Graphcited by 303
  19. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
  20. 2022Prompting GPT-3 To Be Reliablecited by 258
  21. 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
  22. 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
  23. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  24. 2021Meta-learning via Language Model In-context Tuningcited by 163
  25. 2023Verify-and-Edit: A Knowledge-Enhanced Chain-of-Thought Frameworkcited by 139
  26. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  27. 2019Quoref: A Reading Comprehension Dataset with Questions Requiring Coreferential Reasoningcited by 100
  28. 2019QuaRTz: An Open-Domain Dataset of Qualitative Relationship Questionscited by 89
  29. 2020CoLAKE: Contextualized Language and Knowledge Embeddingcited by 86
  30. 2023Boosting Language Models Reasoning with Chain-of-Knowledge Promptingcited by 77
  31. 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
  32. 2022Improving In-Context Few-Shot Learning via Self-Supervised Trainingcited by 56
  33. 2023OpenICL: An Open-Source Framework for In-context Learningcited by 51
  34. 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
  35. 2022Knowledge-in-Context: Towards Knowledgeable Semi-Parametric Language Modelscited by 24
  36. 2022Making Pre-trained Language Models End-to-end Few-shot Learners with Contrastive Prompt Tuningcited by 19
  37. 2022Revisiting and Advancing Chinese Natural Language Understanding with Accelerated Heterogeneous Knowledge Pre-trainingcited by 6

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 5.

6 papers.