RL-Struct: A Lightweight Reinforcement Learning Framework for Reliable Structured Output in LLMs
29 Nov · Ruike Hu, Shulei Wu · arXiv:2512.00319
The Structure Gap between probabilistic LLM generation and deterministic schema requirements hinders automated workflows. We propose RL-Struct, a lightweight framework using Gradient Regularized Policy Optimization (GRPO) with a hierarchical reward function to align LLMs with structural constraints. This approach eliminates the critic network, reducing peak VRAM by 38% compared to PPO. On complex JSON tasks,…