mlsanityData to 7 Oct 2026

Large Language Models are In-context Teachers for Knowledge Reasoning

arXiv 2311.06985 ↗First posted 12 Nov 2023cs.CLcited by 4

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

In this work, we study in-context teaching (ICT), where a teacher provides in-context example rationales to teach a student to reason over unseen cases. Human teachers are usually required to craft in-context demonstrations, which are costly and have high variance. We ask whether a large language model (LLM) can serve as a more effective in-context teacher for itself or other LLMs, compared to humans. Inspired by the Encoding Specificity Hypothesis from human episodic memory, we hypothesize that in-context exemplars crafted by the teacher should match the training data of the student. This hypothesis motivates us to propose Self-Explain where an LLM's self-elicited explanations are used as in-context demonstrations for prompting it as they are generalized from the model's training examples. Self-Explain is shown to significantly outperform using human-crafted exemplars and other baselines. Furthermore, we reveal that for ICT, rationales from different teacher LLMs or human experts that more resemble the student LLM's self-explanations are better in-context demonstrations. This supports our encoding specificity hypothesis. We then propose Teach-Back that aligns a teacher LLM with the student to enhance the ICT performance. For example, Teach-Back enables a 7B model to teach the much larger GPT-3.5 in context, surpassing human teachers by around 5% in test accuracy on medical question answering.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 41 of its 57 references that are in the map. First posted on arXiv 12 Nov 2023.

Builds on

41 of 57 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023Specializing Smaller Language Models towards Multi-Step Reasoning30 Jan
  2. 2022Measuring and Narrowing the Compositionality Gap in Language Models7 Oct
  3. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?25 Feb

Other references · 38

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  6. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  7. 2023Mistral 7Bcited by 3,065
  8. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  9. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
  10. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  11. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
  12. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
26 more
  1. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  2. 2022Automatic Chain of Thought Prompting in Large Language Modelscited by 684
  3. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  4. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
  5. 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
  6. 2022MedMCQA : A Large-scale Multi-Subject Multi-Choice Dataset for Medical domain Question Answeringcited by 525
  7. 2020Hopfield Networks is All You Needcited by 461
  8. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  9. 2022Large Language Models Are Reasoning Teacherscited by 318
  10. 2022Can language models learn from explanations in context?cited by 248
  11. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  12. 2022Can large language models reason about medical questions?cited by 194
  13. 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
  14. 2023Large Language Models as Analogical Reasonerscited by 107
  15. 2020Leakage-Adjusted Simulatability: Can Models Generate Non-Trivial Explanations of Their Behavior in Natural Language?cited by 95
  16. 2022Evaluating Human-Language Model Interactioncited by 90
  17. 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
  18. 2023Better Zero-Shot Reasoning with Self-Adaptive Promptingcited by 52
  19. 2021Biomedical Question Answering: A Survey of Approaches and Challengescited by 46
  20. 2023Self-ICL: Zero-Shot In-Context Learning with Self-Generated Demonstrationscited by 42
  21. 2021Attention Approximates Sparse Distributed Memorycited by 29
  22. 2023BioInstruct: Instruction Tuning of Large Language Models for Biomedical Natural Language Processingcited by 25
  23. 2022What Makes Pre-trained Language Models Better Zero-shot Learners?cited by 23
  24. 2023Are Human Explanations Always Helpful? Towards Objective Evaluation of Human Natural Language Explanationscited by 13
  25. 2023In-Context Exemplars as Clues to Retrieving from Large Associative Memorycited by 13
  26. 2016Can Active Memory Replace Attention?cited by 6

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022Can In-context Learners Learn a Reasoning Concept from Demonstrations?
  2. 2026When Do Explanations Help In-Context Learning? A Comparative Study of Natural Language Explanation Types and Faithfulness
  3. 2026Not the Example, but the Process: How Self-Generated Examples Enhance LLM Reasoning
  4. 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
  5. 2023Are Human-generated Demonstrations Necessary for In-context Learning?
  6. 2024Large Language Models Are Self-Taught Reasoners: Enhancing LLM Applications via Tailored Problem-Solving Demonstrations
  7. 2026Large Language Models as Students Who Think Aloud: Overly Coherent, Verbose, and Confident
  8. 2024What Makes In-context Learning Effective for Mathematical Reasoning: A Theoretical Analysis