arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.13544cs.CLcs.AI
收藏

从子能力诊断到人类对齐生成:通过 MARKERGEN 弥合文本长度控制的差距

From Sub-Ability Diagnosis to Human-Aligned Generation: Bridging the Gap for Text Length Control via MARKERGEN

School of Computer Science and Technology, Beijing Institute of Technology(北京理工大学计算机科学与技术学院);Xiaohongshu Inc(小红书公司)

Peiwen Yuan, Chuyi Tan, Shaoxiong Feng, Yiwei Li, Xinglin Wang, Yueqi Zhang, Jiayi Shi, Boyuan Pan, Yao Hu, Kan Li

AI总结:

针对 LLM 长度可控生成不足,本文诊断其子能力并提出即插即用的 MarkerGen,通过外部工具、动态标记和三阶段生成显著提升长度控制效果与泛化性。

摘要:

尽管大型语言模型(LLM)发展迅速,但其长度可控文本生成(LCTG)能力仍不及预期,对实际应用构成重大限制。现有方法主要聚焦于通过端到端训练强化对长度约束的遵守。然而,缺乏对 LCTG 子能力的分解和针对性增强,制约了进一步进展。为弥合这一差距,我们以人类模式为参照,对 LCTG 子能力进行自下而上的分解,并开展详细错误分析。在此基础上,我们提出 MarkerGen,这是一种简单而有效的即插即用方法:(1)通过外部工具集成弥补 LLM 的基础性不足;(2)利用动态插入的标记进行显式长度建模;(3)采用三阶段生成方案,在保持内容质量的同时更好地对齐长度约束。综合实验表明,MarkerGen 在多种设置下显著提升 LCTG,表现出出色的有效性和泛化能力。

英文摘要:

Despite the rapid progress of large language models (LLMs), their length-controllable text generation (LCTG) ability remains below expectations, posing a major limitation for practical applications. Existing methods mainly focus on end-to-end training to reinforce adherence to length constraints. However, the lack of decomposition and targeted enhancement of LCTG sub-abilities restricts further progress. To bridge this gap, we conduct a bottom-up decomposition of LCTG sub-abilities with human patterns as reference and perform a detailed error analysis. On this basis, we propose MarkerGen, a simple-yet-effective plug-and-play approach that:(1) mitigates LLM fundamental deficiencies via external tool integration;(2) conducts explicit length modeling with dynamically inserted markers;(3) employs a three-stage generation scheme to better align length constraints while maintaining content quality. Comprehensive experiments demonstrate that MarkerGen significantly improves LCTG across various settings, exhibiting outstanding effectiveness and generalizability.

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

↑