← Latest papers
💬 NLP

LLM Self-Correction with DeCRIM: Decompose, Critique, and Refine for Enhanced Following of Instructions with Multiple Constraints

This paper introduces RealInstruct, a benchmark for evaluating LLMs on real-world multi-constrained instructions, and proposes DeCRIM, a self-correction pipeline that enables open-source models to outperform GPT-4 by decomposing instructions, critiquing responses, and refining outputs.

Original authors: Thomas Palmeira Ferraz, Kartik Mehta, Yu-Hsiang Lin, Haw-Shiuan Chang, Shereen Oraby, Sijia Liu, Vivek Subramanian, Tagyoung Chung, Mohit Bansal, Nanyun Peng

Published 2026-07-31
📖 1 min read☕ Coffee break read

Original authors: Thomas Palmeira Ferraz, Kartik Mehta, Yu-Hsiang Lin, Haw-Shiuan Chang, Shereen Oraby, Sijia Liu, Vivek Subramanian, Tagyoung Chung, Mohit Bansal, Nanyun Peng

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Technical Summary: LLM Self-Correction with DECRIM

Problem Statement

While Large Language Models (LLMs) have demonstrated impressive capabilities in instruction following, recent studies indicate they struggle significantly with instructions containing multiple, simultaneous constraints (e.g., specific tone, length, and negative constraints like "no hashtags"). Existing benchmarks for evaluating this capability largely rely on synthetic data, which may fail to capture the complexity, nuance, and artificial difficulty of real-world user requests. Furthermore, current self-correction approaches often assume constraint independence or focus on specific constraint types, limiting their applicability to open-ended, multi-constrained scenarios. There is also a gap in reliable, cost-effective evaluation methods for these complex instructions, as rule-based evaluation is often infeasible for open-ended tasks.

Methodology

1. REALINSTRUCT Benchmark

To address the reliance on synthetic data, the authors introduce REALINSTRUCT, the first benchmark designed to evaluate LLMs on real-world, multi-constrained instructions.

  • Data Source: Derived from real user queries to AI assistants (sourced from ShareGPT), filtered to retain only English instructions containing constraints.
  • Structure: Each instruction is decomposed into a Task (main objective), Context, and a list of granular Constraints.
  • Scale: The test set contains 302 instructions with 1,055 constraints; the validation set contains 842 instructions with 2,500 constraints.
  • Evaluation Protocol: Due to the open-ended nature of the data, the benchmark employs an LLM-as-a-Judge approach. Constraints are evaluated individually, and results are aggregated into an instruction-level accuracy metric.

2. LLM-as-a-Judge Validation

The authors investigate the reliability of using LLMs to evaluate constraint satisfaction, comparing proprietary models (GPT-4, GPT-4-Turbo, GPT-3.5-Turbo) and open-source models (Mistral, Vicuna, Zephyr) against human annotations.

  • EvalJudge Dataset: A test set of 1,000 instruction-constraint-response triples with human-verified ground truth labels.
  • Strategies: Various adaptation strategies were tested, including In-Context Learning (ICL) with Chain-of-Thought (CoT) prompting and weakly supervised fine-tuning for open-source models.
  • Finding: GPT-4-Turbo with CoT prompting emerged as the most cost-effective and reliable evaluator, significantly outperforming open-source models in detecting unsatisfied constraints.

3. DECRIM Pipeline (Decompose, Critique, and Refine)

To bridge the performance gap between open-source and proprietary models, the authors propose DECRIM, a self-correction pipeline based on System 2 approaches. It operates without assumptions about constraint independence and consists of four iterative steps:

  1. Initial Response: The LLM generates a response to the original instruction.
  2. Decompose: A Decomposer model breaks the original instruction into a list of granular constraints to be followed.
  3. Critique: A Critic model evaluates the response against each constraint. If all are satisfied, the process ends. If not, the Critic provides natural language feedback specifying which constraints were violated.
  4. Refine: The underlying LLM uses the feedback, original instruction, and previous response to generate an improved output.

This cycle repeats until constraints are met or a maximum number of iterations (NmaxN_{max}) is reached.

Key Contributions

  1. REALINSTRUCT: A novel benchmark comprising real user requests to AI assistants, offering a more realistic evaluation of multi-constrained instruction following compared to synthetic datasets.
  2. DECRIM Pipeline: A self-correction framework that decomposes instructions, critiques responses via a dedicated Critic model, and refines outputs. It is the first System 2 approach for constrained instructions that operates without assuming constraint independence.
  3. Systematic Analysis of LLM-as-a-Judge: The first systematic evaluation of open-source and proprietary models as judges for constraint satisfaction, identifying GPT-4-Turbo with CoT as a reliable, cost-effective alternative to human annotation.

Results

Benchmark Performance (REALINSTRUCT & IFEval)

  • Baseline Limitations: Even the proprietary GPT-4 model fails to meet at least one constraint in over 21% of instructions on REALINSTRUCT. Open-source models (e.g., Mistral 7B) generally underperform compared to GPT-4, though they outperform GPT-3.5.
  • DECRIM Efficacy:
    • Weak Feedback: Using a weakly supervised Mistral as the Critic (without external data), DECRIM improved Mistral's instruction-level performance by 7.3% on REALINSTRUCT and 8.0% on IFEval compared to a "Make sure" baseline.
    • Strong Feedback: When provided with strong feedback (Oracle Critic or GPT-4), open-source LLMs with DECRIM surpassed GPT-4 on both benchmarks. Specifically, with an Oracle Critic, Mistral achieved a 93.7% instruction accuracy on REALINSTRUCT (vs. GPT-4's 78.8%) and 80.4% on IFEval (vs. GPT-4's 79.3%).
  • Self-Correction Limits: Standard self-refinement (using the model as its own critic) yielded minimal gains or performance drops, highlighting the necessity of an external or distinct Critic model.

Evaluation Reliability

  • GPT-4-Turbo: With CoT prompting, it reduced evaluation costs by 57% compared to GPT-4 while improving Macro F1 by 7.0% and F1 Negative (detecting violations) by 19.0%.
  • Open-Source Judges: Vanilla open-source models were unreliable judges, often exhibiting leniency or random behavior. However, weakly supervised fine-tuning on GPT-4 reasoning trails significantly improved their ability to detect unsatisfied constraints.

Significance and Claims

The paper claims that following real-world, multi-constrained instructions remains a significant challenge for state-of-the-art models, with even GPT-4 failing frequently. The authors posit that the DECRIM pipeline effectively addresses this by decoupling the generation of the response from the evaluation and refinement process.

The work demonstrates that:

  1. Real-world data is distinct: Synthetic benchmarks do not fully capture the challenges of real user constraints, necessitating benchmarks like REALINSTRUCT.
  2. Feedback quality is paramount: The success of self-correction is heavily dependent on the quality of the Critic's feedback. While open-source models struggle to self-correct, they can achieve performance exceeding proprietary models when provided with high-quality, external feedback.
  3. System 2 Viability: The DECRIM approach validates the utility of System 2 techniques (decomposition and iterative refinement) for complex instruction following, suggesting that open-source models can be competitive with proprietary counterparts if equipped with robust correction pipelines.

The authors conclude that while DECRIM introduces computational overhead, it offers a viable path to enhancing instruction-following capabilities, particularly when strong feedback mechanisms are available. Future work is suggested to refine pipeline components and integrate DECRIM with other System 2 approaches like self-consistency.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →