Papers › Benchmarking Large Language Models on Controllable Generation under Diversified Instructions

Benchmarking Large Language Models on Controllable Generation under Diversified Instructions

1 Jan 2024arXiv:2401.00690archive 2025-07-28

Yihan Chen, Benfeng Xu, Quan Wang, Yi Liu, Zhendong Mao

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.00690")

Code

Syntology Ran 13 of 18 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: official repository: 18 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

xt-cyh/codi-eval officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 13 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran
5unverified

Licence: 18 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from Xt-cyh/CoDI-Eval. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

cal_max_avg_toxicity Xt-cyh/CoDI-Eval/statistic.py official repository ran no licence file found · pointer only · 5049acee0b271f75 · report
classify_sentiment Xt-cyh/CoDI-Eval/evaluate.py official repository ran no licence file found · pointer only · 71e266cfd0e6e573 · report
classify_topic Xt-cyh/CoDI-Eval/evaluate.py official repository ran no licence file found · pointer only · 174067d7b3c2275d · report
extract_text Xt-cyh/CoDI-Eval/utils/eval_utils.py official repository ran fingerprinted no licence file found · pointer only · e551f21cb1015ac1 · report
get_data Xt-cyh/CoDI-Eval/statistic.py official repository ran no licence file found · pointer only · 280739482fbffd74 · report
get_interval Xt-cyh/CoDI-Eval/utils/length_eval.py official repository ran no licence file found · pointer only · 09c18b0f6797ff78 · report
get_test_data Xt-cyh/CoDI-Eval/evaluate.py official repository ran no licence file found · pointer only · cc2b254a5f917403 · report
get_test_data Xt-cyh/CoDI-Eval/generate.py official repository ran no licence file found · pointer only · ac6fcd5d8bf62759 · report
number2word Xt-cyh/CoDI-Eval/utils/length_eval.py official repository ran fingerprinted no licence file found · pointer only · 39b482520756e734 · report
parse_topic_dict Xt-cyh/CoDI-Eval/utils/query_huggingface.py official repository ran no licence file found · pointer only · cd407b6ff1fc7aef · report
query Xt-cyh/CoDI-Eval/utils/query_huggingface.py official repository ran no licence file found · pointer only · aa85076767ed9c7a · report
query_chatglm Xt-cyh/CoDI-Eval/utils/query_llms.py official repository ran no licence file found · pointer only · 92ff2d437c56a6f0 · report
query_chatgpt Xt-cyh/CoDI-Eval/utils/query_llms.py official repository ran no licence file found · pointer only · 89f24dd774d0e047 · report
calculate_meteor Xt-cyh/CoDI-Eval/utils/eval_utils.py official repository unverified no licence file found · pointer only · 4514bd59c017bc70 · report
get_open_model Xt-cyh/CoDI-Eval/generate.py official repository unverified no licence file found · pointer only · 850fb04ea11f610e · report
preprocess Xt-cyh/CoDI-Eval/utils/eval_utils.py official repository unverified no licence file found · pointer only · ac4e1313c5c2e9c4 · report
query_api_model Xt-cyh/CoDI-Eval/generate.py official repository unverified no licence file found · pointer only · 8aa7d1340bb82140 · report
request_query Xt-cyh/CoDI-Eval/utils/query_huggingface.py official repository unverified no licence file found · pointer only · a54a222cec75c54a · report

Tasks

BenchmarkingInstruction FollowingText Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections