arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00319cs.AIcs.LG
收藏

RL-Struct:用于大语言模型中可靠结构化输出的轻量级强化学习框架

RL-Struct: A Lightweight Reinforcement Learning Framework for Reliable Structured Output in LLMs

School of Information Science and Technology(信息科学与技术学院);Hainan Normal University(海南师范大学)

Ruike Hu, Shulei Wu

AI总结:

针对大语言模型输出与结构化需求的差距问题,提出RL-Struct轻量级框架,运用GRPO及分层奖励函数,消除评论家网络,减少显存。在复杂JSON任务中表现出色,实现高准确率和有效性,还呈现新兴课程学习过程,模型可公开获取。

摘要:

概率性大语言模型生成与确定性模式要求之间的结构差距阻碍了自动化工作流程。我们提出了RL-Struct,这是一个轻量级框架,使用带有分层奖励函数的梯度正则化策略优化(GRPO),使大语言模型符合结构约束。该方法消除了评论家网络,与近端策略优化(PPO)相比,峰值显存减少了38%。在复杂的JSON任务上,RL-Struct实现了89.7%的结构准确率和92.1%的有效性,显著优于监督微调(SFT)和零样本基线。我们还报告了一种新兴的课程——一种自组织学习过程,其中模型在语义之前优先考虑语法。我们的模型可通过此https URL公开获取。

英文摘要:

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, RL-Struct achieves 89.7% structural accuracy and 92.1% validity, significantly outperforming SFT and zero-shot baselines. We also report an emergent curriculum--a self-organized learning process where the model prioritizes syntax before semantics. Our model is publicly available at https://huggingface.co/Freakz3z/Qwen-JSON.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑