No Need for Explanations: LLMs can implicitly learn from mistakes in-context

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Alazraki, Lisa, Mozes, Maximilian, Campos, Jon Ander, Yi-Chern, Tan, Rei, Marek, Bartolo, Max
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911164179415040
author Alazraki, Lisa
Mozes, Maximilian
Campos, Jon Ander
Yi-Chern, Tan
Rei, Marek
Bartolo, Max
author_facet Alazraki, Lisa
Mozes, Maximilian
Campos, Jon Ander
Yi-Chern, Tan
Rei, Marek
Bartolo, Max
contents Showing incorrect answers to Large Language Models (LLMs) is a popular strategy to improve their performance in reasoning-intensive tasks. It is widely assumed that, in order to be helpful, the incorrect answers must be accompanied by comprehensive rationales, explicitly detailing where the mistakes are and how to correct them. However, in this work we present a counterintuitive finding: we observe that LLMs perform better in math reasoning tasks when these rationales are eliminated from the context and models are left to infer on their own what makes an incorrect answer flawed. This approach also substantially outperforms chain-of-thought prompting in our evaluations. These results are consistent across LLMs of different sizes and varying reasoning abilities. To gain an understanding of why LLMs learn from mistakes more effectively without explicit corrective rationales, we perform a thorough analysis, investigating changes in context length and answer diversity between different prompting strategies, and their effect on performance. We also examine evidence of overfitting to the in-context rationales when these are provided, and study the extent to which LLMs are able to autonomously infer high-quality corrective rationales given only incorrect answers as input. We find evidence that, while incorrect answers are more beneficial for LLM learning than additional diverse correct answers, explicit corrective rationales over-constrain the model, thus limiting those benefits.
format Preprint
id arxiv_https___arxiv_org_abs_2502_08550
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle No Need for Explanations: LLMs can implicitly learn from mistakes in-context
Alazraki, Lisa
Mozes, Maximilian
Campos, Jon Ander
Yi-Chern, Tan
Rei, Marek
Bartolo, Max
Computation and Language
Artificial Intelligence
Showing incorrect answers to Large Language Models (LLMs) is a popular strategy to improve their performance in reasoning-intensive tasks. It is widely assumed that, in order to be helpful, the incorrect answers must be accompanied by comprehensive rationales, explicitly detailing where the mistakes are and how to correct them. However, in this work we present a counterintuitive finding: we observe that LLMs perform better in math reasoning tasks when these rationales are eliminated from the context and models are left to infer on their own what makes an incorrect answer flawed. This approach also substantially outperforms chain-of-thought prompting in our evaluations. These results are consistent across LLMs of different sizes and varying reasoning abilities. To gain an understanding of why LLMs learn from mistakes more effectively without explicit corrective rationales, we perform a thorough analysis, investigating changes in context length and answer diversity between different prompting strategies, and their effect on performance. We also examine evidence of overfitting to the in-context rationales when these are provided, and study the extent to which LLMs are able to autonomously infer high-quality corrective rationales given only incorrect answers as input. We find evidence that, while incorrect answers are more beneficial for LLM learning than additional diverse correct answers, explicit corrective rationales over-constrain the model, thus limiting those benefits.
title No Need for Explanations: LLMs can implicitly learn from mistakes in-context
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.08550