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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ferraz, Thomas Palmeira, Mehta, Kartik, Lin, Yu-Hsiang, Chang, Haw-Shiuan, Oraby, Shereen, Liu, Sijia, Subramanian, Vivek, Chung, Tagyoung, Bansal, Mohit, Peng, Nanyun
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917798139133952
author Ferraz, Thomas Palmeira
Mehta, Kartik
Lin, Yu-Hsiang
Chang, Haw-Shiuan
Oraby, Shereen
Liu, Sijia
Subramanian, Vivek
Chung, Tagyoung
Bansal, Mohit
Peng, Nanyun
author_facet Ferraz, Thomas Palmeira
Mehta, Kartik
Lin, Yu-Hsiang
Chang, Haw-Shiuan
Oraby, Shereen
Liu, Sijia
Subramanian, Vivek
Chung, Tagyoung
Bansal, Mohit
Peng, Nanyun
contents Instruction following is a key capability for LLMs. However, recent studies have shown that LLMs often struggle with instructions containing multiple constraints (e.g. a request to create a social media post "in a funny tone" with "no hashtag"). Despite this, most evaluations focus solely on synthetic data. To address this, we introduce RealInstruct, the first benchmark designed to evaluate LLMs' ability to follow real-world multi-constrained instructions by leveraging queries real users asked AI assistants. We also investigate model-based evaluation as a cost-effective alternative to human annotation for this task. Our findings reveal that even the proprietary GPT-4 model fails to meet at least one constraint on over 21% of instructions, highlighting the limitations of state-of-the-art models. To address the performance gap between open-source and proprietary models, we propose the Decompose, Critique and Refine (DeCRIM) self-correction pipeline, which enhances LLMs' ability to follow constraints. DeCRIM works by decomposing the original instruction into a list of constraints and using a Critic model to decide when and where the LLM's response needs refinement. Our results show that DeCRIM improves Mistral's performance by 7.3% on RealInstruct and 8.0% on IFEval even with weak feedback. Moreover, we demonstrate that with strong feedback, open-source LLMs with DeCRIM can outperform GPT-4 on both benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2410_06458
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLM Self-Correction with DeCRIM: Decompose, Critique, and Refine for Enhanced Following of Instructions with Multiple Constraints
Ferraz, Thomas Palmeira
Mehta, Kartik
Lin, Yu-Hsiang
Chang, Haw-Shiuan
Oraby, Shereen
Liu, Sijia
Subramanian, Vivek
Chung, Tagyoung
Bansal, Mohit
Peng, Nanyun
Computation and Language
Artificial Intelligence
Machine Learning
Instruction following is a key capability for LLMs. However, recent studies have shown that LLMs often struggle with instructions containing multiple constraints (e.g. a request to create a social media post "in a funny tone" with "no hashtag"). Despite this, most evaluations focus solely on synthetic data. To address this, we introduce RealInstruct, the first benchmark designed to evaluate LLMs' ability to follow real-world multi-constrained instructions by leveraging queries real users asked AI assistants. We also investigate model-based evaluation as a cost-effective alternative to human annotation for this task. Our findings reveal that even the proprietary GPT-4 model fails to meet at least one constraint on over 21% of instructions, highlighting the limitations of state-of-the-art models. To address the performance gap between open-source and proprietary models, we propose the Decompose, Critique and Refine (DeCRIM) self-correction pipeline, which enhances LLMs' ability to follow constraints. DeCRIM works by decomposing the original instruction into a list of constraints and using a Critic model to decide when and where the LLM's response needs refinement. Our results show that DeCRIM improves Mistral's performance by 7.3% on RealInstruct and 8.0% on IFEval even with weak feedback. Moreover, we demonstrate that with strong feedback, open-source LLMs with DeCRIM can outperform GPT-4 on both benchmarks.
title LLM Self-Correction with DeCRIM: Decompose, Critique, and Refine for Enhanced Following of Instructions with Multiple Constraints
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2410.06458