mlsanityData to 7 Oct 2026

Retrieved In-Context Principles from Previous Mistakes

arXiv 2407.05682 ↗First posted 8 Jul 2024cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) has been instrumental in adapting Large Language Models (LLMs) to downstream tasks using correct input-output examples. Recent advances have attempted to improve model performance through principles derived from mistakes, yet these approaches suffer from lack of customization and inadequate error coverage. To address these limitations, we propose Retrieved In-Context Principles (RICP), a novel teacher-student framework. In RICP, the teacher model analyzes mistakes from the student model to generate reasons and insights for preventing similar mistakes. These mistakes are clustered based on their underlying reasons for developing task-level principles, enhancing the error coverage of principles. During inference, the most relevant mistakes for each question are retrieved to create question-level principles, improving the customization of the provided guidance. RICP is orthogonal to existing prompting methods and does not require intervention from the teacher model during inference. Experimental results across seven reasoning benchmarks reveal that RICP effectively enhances performance when applied to various prompting strategies.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 32 of its 48 references that are in the map. First posted on arXiv 8 Jul 2024.

Builds on

32 of 48 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  5. 2023Qwen Technical Reportcited by 3,273
  6. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  7. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  8. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  9. 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
  10. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  11. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
  12. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
20 more
  1. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  2. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  3. 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
  4. 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
  5. 2022Large Language Models Are Reasoning Teacherscited by 318
  6. 2022Teaching Small Language Models to Reasoncited by 279
  7. 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
  8. 2023Compositional Exemplars for In-context Learningcited by 143
  9. 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
  10. 2023Learning From Mistakes Makes LLM Better Reasonercited by 97
  11. 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
  12. 2022Limitations of Language Models in Arithmetic and Symbolic Inductioncited by 71
  13. 2024Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for Reasoningcited by 69
  14. 2024Learning From Failure: Integrating Negative Examples when Fine-tuning Large Language Models as Agentscited by 49
  15. 2024In-Context Principle Learning from Mistakescited by 42
  16. 2023Turning Dust into Gold: Distilling Complex Reasoning Capabilities from LLMs by Leveraging Negative Datacited by 19
  17. 2023LPML: LLM-Prompting Markup Language for Mathematical Reasoningcited by 15
  18. 2023Democratizing Reasoning Ability: Tailored Learning from Large Language Modelcited by 13
  19. 2024Unraveling the Mechanics of Learning-Based Demonstration Selection for In-Context Learningcited by 9
  20. 2024TPD: Enhancing Student Language Model Reasoning via Principle Discovery and Guidancecited by 5

Built on by

Cited by year (2026 to 7 Oct)

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

5 papers.