arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12375cs.CL
收藏

UltraGen:通过属性重构与全局偏好优化实现极细粒度可控生成

UltraGen: Extremely Fine-grained Controllable Generation via Attribute Reconstruction and Global Preference Optimization

University of California, San Diego(加利福尼亚大学圣迭戈分校)

Longfei Yun, Letian Peng, Jingbo Shang

AI总结:

本文提出 UltraGen 零样本框架,通过自动重构构建约 45 项软硬属性需求,并结合 GPO 与属性采样优化多属性组合生成,提升极细粒度控制的约束满足率和文本质量。

摘要:

细粒度是可控文本生成的一项基本要求,而随着 LLM 能力的提升,该领域已迅速发展。然而,现有方法主要关注少量属性,例如 3 至 5 个;当属性数量增加到下一个数量级时,其性能会显著下降。为应对这一挑战,我们提出一种用于极细粒度可控生成(EFCG)的新型零样本方法,其中包括自动重构(AR)和全局偏好优化(GPO)。在 AR 阶段,我们利用 LLM 从原始文本中提取软属性(例如“强调设计中的简洁性和极简主义”),并将其与通过程序化方式得到的硬属性(例如“文本应在 300 至 400 词之间”)相结合,构建大规模(约 45 个)多属性需求,在弱监督下指导细粒度文本重构过程。在 GPO 阶段,我们应用直接偏好优化(DPO),在多样化属性组合下精炼文本生成,从而高效探索全局组合空间。此外,我们引入一种高效的属性采样策略,以识别并纠正可能错误的属性,进一步改进全局优化。我们的框架通过缓解位置偏差并减轻注意力稀释,显著提高了 EFCG 的约束满足率(CSR)和文本质量。

英文摘要:

Fine granularity is an essential requirement for controllable text generation, which has seen rapid growth with the ability of LLMs. However, existing methods focus mainly on a small set of attributes like 3 to 5, and their performance degrades significantly when the number of attributes increases to the next order of magnitude. To address this challenge, we propose a novel zero-shot approach for extremely fine-grained controllable generation (EFCG), proposing auto-reconstruction (AR) and global preference optimization (GPO). In the AR phase, we leverage LLMs to extract soft attributes (e.g., Emphasis on simplicity and minimalism in design) from raw texts, and combine them with programmatically derived hard attributes (e.g., The text should be between 300 and 400 words) to construct massive (around 45) multi-attribute requirements, which guide the fine-grained text reconstruction process under weak supervision. In the GPO phase, we apply direct preference optimization (DPO) to refine text generation under diverse attribute combinations, enabling efficient exploration of the global combination space. Additionally, we introduce an efficient attribute sampling strategy to identify and correct potentially erroneous attributes, further improving global optimization. Our framework significantly improves the constraint satisfaction rate (CSR) and text quality for EFCG by mitigating position bias and alleviating attention dilution.

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

↑