Supervised Knowledge Makes Large Language Models Better In-context Learners
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) exhibit emerging in-context learning abilities through prompt engineering. The recent progress in large-scale generative models has further expanded their use in real-world language applications. However, the critical challenge of improving the generalizability and factuality of LLMs in natural language understanding and question answering remains under-explored. While previous in-context learning research has focused on enhancing models to adhere to users' specific instructions and quality expectations, and to avoid undesired outputs, little to no work has explored the use of task-Specific fine-tuned Language Models (SLMs) to improve LLMs' in-context learning during the inference stage. Our primary contribution is the establishment of a simple yet effective framework that enhances the reliability of LLMs as it: 1) generalizes out-of-distribution data, 2) elucidates how LLMs benefit from discriminative models, and 3) minimizes hallucinations in generative tasks. Using our proposed plug-in method, enhanced versions of Llama 2 and ChatGPT surpass their original versions regarding generalizability and factuality. We offer a comprehensive suite of resources, including 16 curated datasets, prompts, model checkpoints, and LLM outputs across 9 distinct tasks. The code and data are released at: https://github.com/YangLinyi/Supervised-Knowledge-Makes-Large-Language-Models-Better-In-context-Learners. Our empirical analysis sheds light on the advantages of incorporating discriminative models into LLMs and highlights the potential of our methodology in fostering more reliable LLMs.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 56 of its 67 references that are in the map. First posted on arXiv 26 Dec 2023.
Builds on
56 of 67 references.
References · 56
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2023A Survey of Large Language Modelscited by 2,537
38 more
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 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
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
- 2023Augmented Language Models: a Surveycited by 398
- 2021True Few-Shot Learning with Language Modelscited by 343
- 2023HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Modelscited by 329
- 2023Chain-of-Verification Reduces Hallucination in Large Language Modelscited by 317
- 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 311
- 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 286
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2020Unsupervised Commonsense Question Answering with Self-Talkcited by 161
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
- 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
- 2023What In-Context Learning "Learns" In-Context: Disentangling Task Recognition and Task Learningcited by 149
- 2023Text Classification via Large Language Modelscited by 104
- 2022USB: A Unified Semi-supervised Learning Benchmark for Classificationcited by 95
- 2023KoLA: Carefully Benchmarking World Knowledge of Large Language Modelscited by 85
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2023Contrastive Decoding Improves Reasoning in Large Language Modelscited by 71
- 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
- 2023Evaluating the Zero-shot Robustness of Instruction-tuned Language Modelscited by 63
- 2023Reprompting: Automated Chain-of-Thought Prompt Inference Through Gibbs Samplingcited by 46
- 2023Small Models are Valuable Plug-ins for Large Language Modelscited by 42
- 2023Pre-Training to Learn in Contextcited by 41
- 2023Understanding In-Context Learning via Supportive Pretraining Datacited by 41
- 2020Generating Plausible Counterfactual Explanations for Deep Transformers in Financial Text Classificationcited by 40
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2024: 11; 2025: 7; 2026: 2.
20 papers.
Sort:
By area:
- 2024Large Multimodal Agents: A Surveycited by 99
- 2024Agents in Software Engineering: Survey, Landscape, and Visioncited by 60
- 2024KIEval: A Knowledge-grounded Interactive Evaluation Framework for Large Language Modelscited by 36
- 2025RewardAnything: Generalizable Principle-Following Reward Modelscited by 27
- 2024Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generationcited by 21
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluationscited by 20
- 2024SymbolicAI: A framework for logic-based approaches combining generative models and solverscited by 15
- 2025When Punctuation Matters: A Large-Scale Comparison of Prompt Robustness Methods for LLMscited by 10
- 2024FreeEval: A Modular Framework for Trustworthy and Efficient Evaluation of Large Language Modelscited by 7
- 2024Enhancing In-Context Learning via Implicit Demonstration Augmentationcited by 6
- 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
- 2024A Rationale-centric Counterfactual Data Augmentation Method for Cross-Document Event Coreference Resolutioncited by 5
8 more
- 2025Prompt Candidates, then Distill: A Teacher-Student Framework for LLM-driven Data Annotationcited by 5
- 2025SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoderscited by 5
- 2024Improving In-Context Learning with Small Language Model Ensemblescited by 4
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2025Cross-Document Cross-Lingual NLI via RST-Enhanced Graph Fusion and Interpretability Predictioncited by 2
- 2024E-ICL: Enhancing Fine-Grained Emotion Recognition through the Lens of Prototype Theorycited by 1
- 2026Beyond Surface Imitation: Contrastive Modeling for Reasoning Path Alignment in Multimodal In-Context Learningcited by 1
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMscited by 0
- 2026Beyond Surface Imitation: Contrastive Modeling for Reasoning Path Alignment in Multimodal In-Context Learning9 Sep 2026
- 2026Gated Differentiable Working Memory for Long-Context Language Modeling19 Jan 2026
- 2025When Punctuation Matters: A Large-Scale Comparison of Prompt Robustness Methods for LLMs15 Aug 2025
- 2025SAEMark: Steering Personalized Multilingual LLM Watermarks with Sparse Autoencoders11 Aug 2025
- 2025Prompt Candidates, then Distill: A Teacher-Student Framework for LLM-driven Data Annotation4 Jun 2025
- 2025RewardAnything: Generalizable Principle-Following Reward Models4 Jun 2025
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMs29 May 2025
- 2025Cross-Document Cross-Lingual NLI via RST-Enhanced Graph Fusion and Interpretability Prediction11 Apr 2025
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluations15 Feb 2025
- 2024Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation19 Dec 2024
- 2024Improving In-Context Learning with Small Language Model Ensembles29 Oct 2024
- 2024Agents in Software Engineering: Survey, Landscape, and Vision13 Sep 2024
8 more
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024Enhancing In-Context Learning via Implicit Demonstration Augmentation27 Jun 2024
- 2024E-ICL: Enhancing Fine-Grained Emotion Recognition through the Lens of Prototype Theory4 Jun 2024
- 2024FreeEval: A Modular Framework for Trustworthy and Efficient Evaluation of Large Language Models9 Apr 2024
- 2024A Rationale-centric Counterfactual Data Augmentation Method for Cross-Document Event Coreference Resolution2 Apr 2024
- 2024Large Multimodal Agents: A Survey23 Feb 2024
- 2024KIEval: A Knowledge-grounded Interactive Evaluation Framework for Large Language Models23 Feb 2024
- 2024SymbolicAI: A framework for logic-based approaches combining generative models and solvers1 Feb 2024
- 2024KIEval: A Knowledge-grounded Interactive Evaluation Framework for Large Language Modelscited by 36
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluationscited by 20
- 2024SymbolicAI: A framework for logic-based approaches combining generative models and solverscited by 15
- 2025When Punctuation Matters: A Large-Scale Comparison of Prompt Robustness Methods for LLMscited by 10
- 2024FreeEval: A Modular Framework for Trustworthy and Efficient Evaluation of Large Language Modelscited by 7
- 2024Enhancing In-Context Learning via Implicit Demonstration Augmentationcited by 6
- 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
- 2024A Rationale-centric Counterfactual Data Augmentation Method for Cross-Document Event Coreference Resolutioncited by 5
- 2025Prompt Candidates, then Distill: A Teacher-Student Framework for LLM-driven Data Annotationcited by 5
- 2024Improving In-Context Learning with Small Language Model Ensemblescited by 4
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2025Cross-Document Cross-Lingual NLI via RST-Enhanced Graph Fusion and Interpretability Predictioncited by 2
12 most cited of 14 All 14 (JSON)
- 2026Gated Differentiable Working Memory for Long-Context Language Modeling19 Jan 2026
- 2025When Punctuation Matters: A Large-Scale Comparison of Prompt Robustness Methods for LLMs15 Aug 2025
- 2025Prompt Candidates, then Distill: A Teacher-Student Framework for LLM-driven Data Annotation4 Jun 2025
- 2025From Parameters to Prompts: Understanding and Mitigating the Factuality Gap between Fine-Tuned LLMs29 May 2025
- 2025Cross-Document Cross-Lingual NLI via RST-Enhanced Graph Fusion and Interpretability Prediction11 Apr 2025
- 2025An Empirical Analysis of Uncertainty in Large Language Model Evaluations15 Feb 2025
- 2024Improving In-Context Learning with Small Language Model Ensembles29 Oct 2024
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2024Enhancing In-Context Learning via Implicit Demonstration Augmentation27 Jun 2024
- 2024E-ICL: Enhancing Fine-Grained Emotion Recognition through the Lens of Prototype Theory4 Jun 2024
- 2024FreeEval: A Modular Framework for Trustworthy and Efficient Evaluation of Large Language Models9 Apr 2024
- 2024A Rationale-centric Counterfactual Data Augmentation Method for Cross-Document Event Coreference Resolution2 Apr 2024
12 newest of 14 All 14 (JSON)