arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.04996cs.CL
收藏

HiFlow:用于受约束长文本生成的分层反馈驱动优化

LoopWeaver: Weaving Feedback Loops into Hierarchical Generation under Constraints

Yifan Zhu, Guanting Chen, Bing Wei, Haoran Luo

AI总结:

HiFlow通过分层反馈驱动优化框架,解决长文本生成中受约束的优化问题,提升生成质量与约束满足能力。

摘要:

大型语言模型在短文本生成中表现良好,但在长文本生成,特别是在复杂约束下仍面临挑战。此类任务涉及多个紧密耦合的目标,包括全局结构一致性、局部语义连贯性和约束可行性,形成一个具有挑战性的受约束优化问题。现有方法主要依赖静态规划或离线监督,限制了生成过程中全局和局部目标之间的有效协调。为解决这些挑战,我们提出了HiFlow,一种用于受约束长文本生成的分层反馈驱动优化框架。HiFlow将生成过程建模为两级优化过程,包括用于全局结构和约束建模的规划层,以及用于条件文本生成的生成层。通过在两个层面整合约束感知的计划筛选和闭环反馈,HiFlow实现了规划质量和生成行为的联合优化,逐步引导模型朝着高质量、满足约束的输出发展。在多个基础架构上的实验验证了HiFlow相对于基线方法的有效性。

英文摘要:

Large Language Models face a multi-objective optimization problem in constrained long-text generation, balancing global structure, local coherence, and constraint satisfaction. We propose LoopWeaver, a hierarchical workflow with two sequential offline preference-optimization stages. Constraint-aware planning produces structured plans, feasibility filtering removes invalid plans, and a shared deterministic reward constructs preference pairs for plan-level and generation-level DPO. At inference time, LoopWeaver remains feed-forward: it generates and revises a complete plan, filters the revised plan, and then generates segments conditioned on the current sub-plan and running narrative. We evaluate the method on four LongGenBench-style structured scenarios across multiple backbones. Results show improvements in both constraint accuracy and text quality across all four open-source backbones. Our software and data are publicly available at https://github.com/cgtaa-cmyk/LoopWeaver.

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

↑