LLMCRIT: Teaching Large Language Models to Use Criteria

Weizhe Yuan, Pengfei Liu, Matthias Gallé
3/2/2024
cs.CL

No official code found. Best implementation: yyy-Apple/LLMCrit (4 stars, last commit 2024-08-31).

Abstract

Humans follow criteria when they execute tasks, and these criteria are directly used to assess the quality of task completion. Therefore, having models learn to use criteria to provide feedback can help humans or models to perform tasks better. However, existing research in this field tends to consider only a limited set of criteria or quality assessment aspects. To fill this gap, we propose a general framework that enables large language models (LLMs) to use comprehensive criteria for a task in delivering natural language feedback on task execution. In particular, we present a model-in-the-loop framework that semi-automatically derives criteria from collected guidelines for different writing tasks and constructs in-context demonstrations for each criterion. We choose three tasks from real-world scenarios to operationalize this idea: paper introduction writing, Python code writing, and Reddit post writing, and evaluate our feedback generation framework using different LLMs. The results reveal the fine-grained effects of incorporating criteria and demonstrations and provide valuable insights on how to teach LLMs to use criteria more effectively.

View on arXivView PDF

Code Implementations(1)

yyy-Apple/LLMCritCommunity100%
40Feb 19, 20242 years ago

Cite this paper

@article{yuan2024llmcrit,
  title  = {LLMCRIT: Teaching Large Language Models to Use Criteria},
  author = {Weizhe Yuan and Pengfei Liu and Matthias Gallé},
  year   = {2024},
  eprint = {2403.01069},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.01069v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.01069.svg)](https://codeofpaper.com/paper/2403.01069)

Discussion