Benchmarking Large Language Models on Controllable Generation under Diversified Instructions

Yihan Chen, Benfeng Xu, Quan Wang, Yi Liu, Zhendong Mao
1/1/2024
cs.CL

Official code: Xt-cyh/CoDI-Eval (22 stars, last commit 2025-05-07).

Abstract

While large language models (LLMs) have exhibited impressive instruction-following capabilities, it is still unclear whether and to what extent they can respond to explicit constraints that might be entailed in various instructions. As a significant aspect of LLM alignment, it is thus important to formulate such a specialized set of instructions as well as investigate the resulting behavior of LLMs. To address this vacancy, we propose a new benchmark CoDI-Eval to systematically and comprehensively evaluate LLMs' responses to instructions with various constraints. We construct a large collection of constraints-attributed instructions as a test suite focused on both generalization and coverage. Specifically, we advocate an instruction diversification process to synthesize diverse forms of constraint expression and also deliberate the candidate task taxonomy with even finer-grained sub-categories. Finally, we automate the entire evaluation process to facilitate further developments. Different from existing studies on controllable text generation, CoDI-Eval extends the scope to the prevalent instruction-following paradigm for the first time. We provide extensive evaluations of representative LLMs (e.g., ChatGPT, Vicuna) on CoDI-Eval, revealing their limitations in following instructions with specific constraints and there is still a significant gap between open-source and commercial closed-source LLMs. We believe this benchmark will facilitate research into improving the controllability of LLMs' responses to instructions. Our data and code are available at https://github.com/Xt-cyh/CoDI-Eval.

View on arXivView PDF

Code Implementations(1)

Xt-cyh/CoDI-EvalOfficial100%
221Shell, PythonDec 12, 20231 years ago

Similar Papers

Cite this paper

@article{chen2024benchmarking,
  title  = {Benchmarking Large Language Models on Controllable Generation under Diversified Instructions},
  author = {Yihan Chen and Benfeng Xu and Quan Wang and Yi Liu and Zhendong Mao},
  year   = {2024},
  eprint = {2401.00690},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.00690v1}
}

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/2401.00690.svg)](https://codeofpaper.com/paper/2401.00690)

Discussion