Section 01
Introduction: Context-Sensitive Constraint Auto-Learning Framework Enables Small Models to Perfectly Follow Rules
This paper proposes a framework for automatically learning context-sensitive constraints. Through two stages—syntax exploration and constraint exploitation—LLMs can independently learn constraint rules from interactions and execute them. Experiments show that small models with only 1B parameters can achieve perfect constraint compliance, outperforming larger models and state-of-the-art reasoning models. This framework lowers the threshold for applying context-sensitive constraints and provides a new path for controlled generation of LLMs.