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

通过强化学习提高大语言模型生成的过程模型质量:奖励函数设计的作用

Improving LLM-Generated Process Model Quality Through Reinforcement Learning: The Role of Reward Function Design

German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI));Saarland University(萨尔兰大学)

Alexander Rombach, Chantale Lauer, Nijat Mehdiyev

AI总结:

研究探索基于强化学习的大语言模型生成过程模型时奖励函数设计,训练两个模型家族,发现强化学习可提质量,均等奖励加权效果好,设计选择与模型架构相互作用复杂,奖励构成是优化关键,结果适用于多维度质量评估的结构化生成任务。

摘要:

大语言模型(LLMs)可从自然语言描述生成BPMN过程模型,但监督微调限制了其输出质量。强化学习可借助外部质量度量进行优化,然而质量多维度时奖励函数如何设计尚待探索。本文对基于强化学习的过程模型生成的奖励函数设计进行系统研究,在48种配置下训练两个大语言模型家族,使用组序列策略优化,奖励源自包含38个句法、语用和语义质量度量的自动评估框架。研究有三个发现:一是强化学习显著提高语用和句法质量,保持语义保真,减少输出变异性超六倍;二是均等奖励加权始终优于目标加权;三是设计选择与模型架构以复杂方式相互作用。这些结果表明奖励构成是优化结果的主要决定因素,研究结果适用于任何沿多个自动维度评估质量的结构化生成任务。

英文摘要:

Large language models (LLMs) can generate BPMN process models from natural-language descriptions, yet supervised fine-tuning (SFT) limits their output quality to the patterns present in the training data. Reinforcement learning (RL) can optimize beyond this ceiling using external quality measures, but how the reward function should be designed when quality is multi-dimensional remains unexplored. We present a systematic investigation of reward function design for RL-based process model generation, training two LLM families (Llama~3.1 8B, Qwen~2.5 14B) under 48 configurations using Group Sequence Policy Optimization with rewards derived from an automated evaluation framework comprising 38 metrics across syntactic, pragmatic, and semantic quality. Three findings emerge. First, RL significantly improves pragmatic and syntactic quality while preserving semantic fidelity, reducing output variability by more than sixfold. Second, equal reward weighting consistently outperforms targeted weighting: emphasizing a specific dimension fails to improve it and can collapse the model into a low-quality mode. Third, design choices interact with model architecture in non-trivial ways: the invalidity penalty is essential for one model but irrelevant for the other, and SFT initialization is indispensable for one architecture but counterproductive for another. These results demonstrate that reward composition is a primary determinant of optimization outcomes, with effects as large as the decision to apply RL itself. The findings generalize to any structured generation task where quality is assessed along multiple automated dimensions. We release our implementation and experimental code at https://github.com/chlauer99/RL_for_process_modeling.

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

↑