NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Self-Contrast: Better Reflection Through Inconsistent Solving Perspectives

Wenqi Zhang, Yongliang Shen, Linjuan Wu, Qiuying Peng, Jun Wang, Yueting Zhuang, Weiming Lu

Introduction

Large Language Models (LLMs) have demonstrated remarkable capabilities in reasoning and generation, yet their ability to self-correct remains a significant hurdle. While techniques like "Self-Refine" or "Reflexion" suggest that models can improve their own outputs through iterative feedback, empirical evidence often shows these loops are unstable without external verification (such as a code compiler or human intervention). The core issue is that intrinsic reflection is often unreliable; when an LLM evaluates its own incorrect response, it frequently falls into two traps:

  1. Overconfidence (46.7% of cases): The model stubbornly insists its incorrect answer is correct.
  2. Inconsistency (45.7% of cases): The model provides random, contradictory feedback when asked to evaluate the same response multiple times.

This paper introduces Self-Contrast, a framework designed to overcome the "internal compass" problem by shifting the model's task from binary evaluation ("Is this right?") to comparative analysis ("Why are these different?").

The Self-Contrast Framework

Self-Contrast is a three-stage framework that leverages the model's ability to identify differences between texts to drive more accurate self-correction.

1. Generating Diverse Perspectives

To avoid the redundancy of simple repetitive sampling, the LLM is first tasked with "self-curating" different prompts or perspectives for the same problem. For a mathematical query, it might generate a "top-down" analytical perspective and a "bottom-up" iterative perspective. For translation tasks, it might attempt "literal" versus "liberal" styles. This diversity ensures that the resulting solutions explore different parts of the reasoning space.

2. Contrasting Inter-Perspective Discrepancies

After generating several candidate responses, the framework uses K-Medoids clustering to select the most distinct solutions. Rather than asking the model if a solution is correct, the LLM is asked to identify exactly where and why these solutions differ. This approach leverages a key insight: while an LLM might struggle to spot its own error in isolation, it is significantly more effective at identifying discrepancies between two competing pieces of text.

3. Eliminating Discrepancies via Checklists

The model summarizes the identified differences into a structured "checklist." For example, in a word problem, the checklist might include a prompt to "Verify if the 12.5% figure refers to the initial amount or the remaining balance." The LLM then uses this targeted checklist to re-examine the original request and provide a final, consistent set of answers. This structured approach prevents the model from ignoring its own errors during the final revision phase.

Experimental Evaluation

The researchers evaluated Self-Contrast across two distinct domains to test its generalizability: mathematical reasoning and creative translation.

Mathematical Reasoning

Using the GSM8K and SVAMP benchmarks, which require multi-step logic, Self-Contrast showed substantial improvements over standard Chain-of-Thought (CoT) prompting:

  • GPT-3.5: Achieved a +7.8% accuracy boost on GSM8K. Notably, standard self-reflection actually decreased performance by 0.8% on the same dataset.
  • Llama2-70B: Demonstrated massive gains, with a +11.6% improvement on GSM8K and +9.3% on SVAMP.

Creative Translation

On the CommonMT benchmark, which focuses on difficult cases involving idioms and metaphors, Self-Contrast significantly improved BLEURT scores (a metric for translation quality). In contrast, vanilla reflection often degraded the quality of translations by introducing erroneous changes to sentences that were originally correct.

Key Insights

  • Discrepancy as a Signal: When an LLM produces different answers for the same problem, those discrepancies act as a roadmap to the model's areas of highest uncertainty. By focusing attention on these specific points, the reflection process becomes purposeful rather than random.
  • Learning from Incorrect Solutions: Interestingly, the authors found that contrasting two different wrong answers still helps the model. Because errors are often randomized across different perspectives, comparing them helps the model "triangulate" the correct logical path.
  • The Power of the Checklist: Moving from vague feedback ("Check your work") to a structured, specific checklist significantly reduces the likelihood of the model bypassing its own errors.

Limitations and Future Work

Despite its success, Self-Contrast faces a few challenges. The framework is computationally more expensive than single-pass CoT, as it requires multiple API calls for prompt generation, solution sampling, and contrasting. Furthermore, while large models (70B+) excel at this task, smaller models like Llama2-7B struggle with the complex instruction-following required for the contrast and checklist stages.

Future research may explore using external tools, such as string-difference libraries, to help smaller models identify discrepancies more precisely at the character or word level, reducing the reliance on purely internal reasoning.

Summary updated

BibTeX
@inproceedings{zhang2024self,
  author = {Wenqi Zhang and Yongliang Shen and Linjuan Wu and Qiuying Peng and Jun Wang and Yueting Zhuang and Weiming Lu},
  title = {{Self-Contrast: Better Reflection Through Inconsistent Solving Perspectives}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.197},
}
Figure