Incentivizing Reasoning for Advanced Instruction-Following of Large Language Models

Yu-Lei Qin, Gang Li, Zongyi Li, Zi-Han Xu, Yu-Cheng Shi +4 more
6/1/2025
18 citations
rlrlhf-rlvr-dpo

Official code: yuleiqin/RAIF (32 stars, Python, last commit 2025-10-09).

Abstract

Existing large language models (LLMs) face challenges of following complex instructions, especially when multiple constraints are present and organized in paralleling, chaining, and branching structures. One intuitive solution, namely chain-of-thought (CoT), is expected to universally improve capabilities of LLMs.

Show full abstract

However, we find that the vanilla CoT exerts a negative impact on performance due to its superficial reasoning pattern of simply paraphrasing the instructions. It fails to peel back the compositions of constraints for identifying their relationship across hierarchies of types and dimensions. To this end, we propose RAIF, a systematic method to boost LLMs in dealing with complex instructions via incentivizing reasoning for test-time compute scaling. First, we stem from the decomposition of complex instructions under existing taxonomies and propose a reproducible data acquisition method. Second, we exploit reinforcement learning (RL) with verifiable rule-centric reward signals to cultivate reasoning specifically for instruction following. We address the shallow, non-essential nature of reasoning under complex instructions via sample-wise contrast for superior CoT enforcement. We also exploit behavior cloning of experts to facilitate steady distribution shift from fast-thinking LLMs to skillful reasoners. Extensive evaluations on seven comprehensive benchmarks confirm the validity of the proposed method, where a 1.5B LLM achieves 11.74% gains with performance comparable to a 8B LLM. Evaluation on OOD constraints also confirms the generalizability of our RAIF. Codes and data are available at https://github.com/yuleiqin/RAIF. Keywords: reinforcement learning with verifiable rewards (RLVR), instruction following, complex instructions

View on arXivView PDF

Code Implementations(1)

yuleiqin/RAIFOfficial100%

A Recipe for Building LLM Reasoners to Solve Complex Instructions

320Python, ShellMay 13, 20251 years agoNOASSERTION

Similar Papers

Cite this paper

@article{qin2025incentivizing,
  title  = {Incentivizing Reasoning for Advanced Instruction-Following of Large Language Models},
  author = {Yu-Lei Qin and Gang Li and Zongyi Li and Zi-Han Xu and Yu-Cheng Shi and Zhekai Lin and Xiao Cui and Ke Li and Xing Sun},
  year   = {2025},
  eprint = {2506.01413},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.01413},
  url    = {https://doi.org/10.48550/arXiv.2506.01413},
  journal = {Neural Information Processing Systems}
}

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

Discussion