Error Reflection Prompting: Can Large Language Models Successfully Understand Errors?

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Jason, Yraola, Lauren, Zhu, Kevin, O'Brien, Sean
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908499958562816
author Li, Jason
Yraola, Lauren
Zhu, Kevin
O'Brien, Sean
author_facet Li, Jason
Yraola, Lauren
Zhu, Kevin
O'Brien, Sean
contents Prompting methods for language models, such as Chain-of-thought (CoT), present intuitive step-by-step processes for problem solving. These methodologies aim to equip models with a better understanding of the correct procedures for addressing a given task. Despite these advancements, CoT lacks the ability of reflection and error correction, potentially causing a model to perpetuate mistakes and errors. Therefore, inspired by the human ability for said tasks, we propose Error Reflection Prompting (ERP) to further enhance reasoning in language models. Building upon CoT, ERP is a method comprised of an incorrect answer, error recognition, and a correct answer. This process enables the model to recognize types of errors and the steps that lead to incorrect answers, allowing the model to better discern which steps to avoid and which to take. The model is able to generate the error outlines itself with automated ERP generation, allowing for error recognition and correction to be integrated into the reasoning chain and produce scalability and reliability in the process. The results demonstrate that ERP serves as a versatile supplement to conventional CoT, ultimately contributing to more robust and capable reasoning abilities along with increased interpretability in how models ultimately reach their errors.
format Preprint
id arxiv_https___arxiv_org_abs_2508_16729
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Error Reflection Prompting: Can Large Language Models Successfully Understand Errors?
Li, Jason
Yraola, Lauren
Zhu, Kevin
O'Brien, Sean
Computation and Language
Prompting methods for language models, such as Chain-of-thought (CoT), present intuitive step-by-step processes for problem solving. These methodologies aim to equip models with a better understanding of the correct procedures for addressing a given task. Despite these advancements, CoT lacks the ability of reflection and error correction, potentially causing a model to perpetuate mistakes and errors. Therefore, inspired by the human ability for said tasks, we propose Error Reflection Prompting (ERP) to further enhance reasoning in language models. Building upon CoT, ERP is a method comprised of an incorrect answer, error recognition, and a correct answer. This process enables the model to recognize types of errors and the steps that lead to incorrect answers, allowing the model to better discern which steps to avoid and which to take. The model is able to generate the error outlines itself with automated ERP generation, allowing for error recognition and correction to be integrated into the reasoning chain and produce scalability and reliability in the process. The results demonstrate that ERP serves as a versatile supplement to conventional CoT, ultimately contributing to more robust and capable reasoning abilities along with increased interpretability in how models ultimately reach their errors.
title Error Reflection Prompting: Can Large Language Models Successfully Understand Errors?
topic Computation and Language
url https://arxiv.org/abs/2508.16729