RECAST: Expanding the Boundaries of LLMs' Complex Instruction Following with Multi-Constraint Data
Abstract
Large language models (LLMs) are increasingly expected to tackle complex tasks, driven by their expanding applications and users' growing proficiency in crafting sophisticated prompts. However, as the number of explicitly stated requirements increases (particularly more than $10$ constraints), LLMs often struggle to accurately follow such complex instructions, which limits their applicability in complex real-world scenarios. To the best of our knowledge, existing datasets do not exceed 10 constraints per instance. To address this challenge, we propose RECAST, an efficient and scalable framework for synthesizing datasets where each example incorporates far more constraints than those in existing benchmarks, aiming to challenge and extend the boundaries of models’ ability to follow complex instructions. These constraints are extracted from real-world prompt-response pairs to ensure practical relevance. Using this framework, we construct RECAST-$30$K, a large-scale, high-quality dataset comprising $30$k instances spanning $19$ constraint types. Experimental results demonstrate that models fine-tuned on RECAST-30K substantially improve in following complex instructions while maintaining their general capabilities without degradation. Moreover, RECAST enables automatic verification of constraint satisfaction via rule-based validators for quantitative constraints and LLM-based validators for qualitative ones, the verifiability provided by RECAST enables the design of reward functions for reinforcement learning, which further boosts model performance on complex and challenging tasks.
Cite
Text
Guo et al. "RECAST: Expanding the Boundaries of LLMs' Complex Instruction Following with Multi-Constraint Data." International Conference on Learning Representations, 2026.Markdown
[Guo et al. "RECAST: Expanding the Boundaries of LLMs' Complex Instruction Following with Multi-Constraint Data." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/guo2026iclr-recast/)BibTeX
@inproceedings{guo2026iclr-recast,
title = {{RECAST: Expanding the Boundaries of LLMs' Complex Instruction Following with Multi-Constraint Data}},
author = {Guo, Zhengkang and Liu, Wenhao and Xie, Mingchen and Xu, Jingwen and Huang, Zisu and Tian, Muzhao and Xu, Jianhan and Shen, Yuanzhe and Qian, Qi and Wu, Muling and Wang, Xiaohua and Wang, Heda and Hu, Yao and Lv, Changze and Huang, Xuanjing and Zheng, Xiaoqing},
booktitle = {International Conference on Learning Representations},
year = {2026},
url = {https://mlanthology.org/iclr/2026/guo2026iclr-recast/}
}