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

约束长文本生成的认知写作视角

A Cognitive Writing Perspective for Constrained Long-Form Text Generation

MBZUAI;University of Chinese Academy of Sciences(中国科学院大学);Nanyang Technological University(南洋理工大学)

Kaiyang Wan, Honglin Mu, Rui Hao, Haoran Luo, Tianle Gu, Xiuying Chen

AI总结:

基于认知写作理论,提出免训练框架CogWriter,通过分层规划与并行生成,使LLM在长文本生成中严格遵循约束,显著提升指令完成准确率。

摘要:

与人类一样,大型语言模型(LLMs)在一次生成中难以产出既高质量又严格遵循要求的长文本。这一挑战并不意外,因为根据认知写作理论,成功的人类写作是一个复杂的认知过程,涉及迭代规划、翻译、审查和监控。受这些认知原则的启发,我们旨在通过CogWriter赋予LLMs类人的认知写作能力,CogWriter是一种新颖的免训练框架,将LLM的约束长文本生成转化为系统的认知写作范式。我们的框架包含两个关键模块:(1)规划代理,执行分层规划以分解任务;(2)多个生成代理,并行执行这些计划。系统通过持续的监控和审查机制保持质量,这些机制根据指定要求评估输出并触发必要的修订。CogWriter在LongGenBench(一个用于复杂约束长文本生成的基准)上表现出卓越性能。即使使用Qwen-2.5-14B作为其骨干模型,CogWriter在复杂指令完成准确率上仍比GPT-4o高出22%,同时可靠地生成超过10,000字的文本。我们希望这种受认知科学启发的方法能为LLM写作进步提供一个范式:CogWriter。

英文摘要:

Like humans, Large Language Models (LLMs) struggle to generate high-quality long-form text that adheres to strict requirements in a single pass. This challenge is unsurprising, as successful human writing, according to the Cognitive Writing Theory, is a complex cognitive process involving iterative planning, translating, reviewing, and monitoring. Motivated by these cognitive principles, we aim to equip LLMs with human-like cognitive writing capabilities through CogWriter, a novel training-free framework that transforms LLM constrained long-form text generation into a systematic cognitive writing paradigm. Our framework consists of two key modules: (1) a Planning Agent that performs hierarchical planning to decompose the task, and (2) multiple Generation Agents that execute these plans in parallel. The system maintains quality via continuous monitoring and reviewing mechanisms, which evaluate outputs against specified requirements and trigger necessary revisions. CogWriter demonstrates exceptional performance on LongGenBench, a benchmark for complex constrained long-form text generation. Even when using Qwen-2.5-14B as its backbone, CogWriter surpasses GPT-4o by 22% in complex instruction completion accuracy while reliably generating texts exceeding 10,000 words. We hope this cognitive science-inspired approach provides a paradigm for LLM writing advancements: \href{https://github.com/KaiyangWan/CogWriter}{CogWriter}.

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

↑