Retrieved In-Context Principles from Previous Mistakes
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
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Qwen Technical Reportcited by 3,273
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 861
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
- 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 736
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
20 more
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2022Complexity-Based Prompting for Multi-Step Reasoningcited by 387
- 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
- 2022Large Language Models Are Reasoning Teacherscited by 318
- 2022Teaching Small Language Models to Reasoncited by 279
- 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
- 2023Compositional Exemplars for In-context Learningcited by 143
- 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
- 2023Learning From Mistakes Makes LLM Better Reasonercited by 97
- 2020Evaluating Explanations: How much do explanations from the teacher aid students?cited by 94
- 2022Limitations of Language Models in Arithmetic and Symbolic Inductioncited by 71
- 2024Can LLMs Learn from Previous Mistakes? Investigating LLMs' Errors to Boost for Reasoningcited by 69
- 2024Learning From Failure: Integrating Negative Examples when Fine-tuning Large Language Models as Agentscited by 49
- 2024In-Context Principle Learning from Mistakescited by 42
- 2023Turning Dust into Gold: Distilling Complex Reasoning Capabilities from LLMs by Leveraging Negative Datacited by 19
- 2023LPML: LLM-Prompting Markup Language for Mathematical Reasoningcited by 15
- 2023Democratizing Reasoning Ability: Tailored Learning from Large Language Modelcited by 13
- 2024Unraveling the Mechanics of Learning-Based Demonstration Selection for In-Context Learningcited by 9
- 2024TPD: Enhancing Student Language Model Reasoning via Principle Discovery and Guidancecited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 3.
5 papers.
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wiselycited by 65
- 2025Reasoning Shapes Alignment: Investigating Cultural Alignment in Large Reasoning Models with Cultural Normscited by 0
- 2026TCM-DiffRAG: Personalized Syndrome Differentiation Reasoning Method for Traditional Chinese Medicine based on Knowledge Graph and Chain of Thoughtcited by 0
- 2026FVRuleLearner: Operator-Level Reasoning Tree (Op-Tree)-Based Rules Learning for Formal Verificationcited by 0
- 2026The Architect, the Adversary, and the Judge: Closed-Loop Generation of Standards-Aligned Assessment Items at Scalecited by 0
- 2026The Architect, the Adversary, and the Judge: Closed-Loop Generation of Standards-Aligned Assessment Items at Scale26 Aug 2026
- 2026FVRuleLearner: Operator-Level Reasoning Tree (Op-Tree)-Based Rules Learning for Formal Verification6 Mar 2026
- 2026TCM-DiffRAG: Personalized Syndrome Differentiation Reasoning Method for Traditional Chinese Medicine based on Knowledge Graph and Chain of Thought26 Feb 2026
- 2025Reasoning Shapes Alignment: Investigating Cultural Alignment in Large Reasoning Models with Cultural Norms17 Nov 2025
- 2024Retrieval Augmented Generation (RAG) and Beyond: A Comprehensive Survey on How to Make your LLMs use External Data More Wisely23 Sep 2024