English

CARL: Constraint-Aware Reinforcement Learning for Planning with LLMs

Artificial Intelligence 2026-07-06 v1

Abstract

Despite their strong reasoning capabilities and extensive world knowledge, Large Language Models (LLMs) frequently generate plans that violate task constraints, undermining their reliability in real-world applications. This deficiency arises from a lack of systematic mechanisms to incorporate constraint information during the generation process. While existing approaches attempt to mitigate this by relying on external tools or task decomposition, they fail to enhance the model's intrinsic constraint awareness. To address this, we propose Constraint-Aware Reinforcement Learning (CARL), a novel RL framework designed to strengthen LLMs' intrinsic focus on constraints. CARL introduces a constraint-aware reward by comparing the model's output distributions under constrained and unconstrained inputs, encouraging constraint focus and penalizing neglect. Compatible with various RL frameworks and requiring no external solvers or top models, CARL enables scalable, end-to-end constraint-aware planning. Extensive experiments on BlocksWorld, TravelPlanner, and T-Eval demonstrate that CARL significantly outperforms standard Reinforcement Fine-Tuning (RFT) baselines and state-of-the-art reasoning models, exhibiting a markedly increased focus on constraints.

Cite

@article{arxiv.2607.04854,
  title  = {CARL: Constraint-Aware Reinforcement Learning for Planning with LLMs},
  author = {Qiuyi Qi and Jinjian Zhang and Mutian Bao and Tian Liang and Guocong Li and Dongnan Liu and Wei Zhou and Jie Liu and Ming Kong and Linjian Mo and Feng Zhang and Qiang Zhu},
  journal= {arXiv preprint arXiv:2607.04854},
  year   = {2026}
}

Comments

ACL 2026 Findings