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

LingGen: 通过幂律掩码实现可扩展的多属性语言控制

LingGen: Scalable Multi-Attribute Linguistic Control via Power-Law Masking

University of Massachusetts Lowell(马萨诸塞大学洛文分校)

Mohamed Elgaar, Hadi Amiri

AI总结:

LingGen通过幂律掩码实现多属性语言控制,以高精度和高效性生成受控文本。

摘要:

我们提出了LingGen,一种受控文本生成模型,允许对大量实值语言属性进行精细控制。它通过专用的语言属性编码器编码目标属性值,并通过将生成的表示注入语言模型中,利用开始序列(BOS)嵌入来对语言模型进行条件化。为提高在控制不同属性子集时的鲁棒性,我们引入了P-MASKING,该方法在训练期间从截断帕累托分布中为每个示例采样属性掩码率。在1-40个控制属性上,LingGen在评估方法中实现了最低的平均控制误差,同时在推理过程中保持高效,并在人类评估中获得最高的流畅度评分。消融实验表明,帕累托采样的掩码和BOS基于的注入是比其他掩码和整合变体更有效的选择。

英文摘要:

We present LingGen, a controlled text generation model that allows fine-grained control over a large number of real-valued linguistic attributes. It encodes target attribute values with a dedicated linguistic attribute encoder and conditions the language model by injecting the resulting representation into the language model using the beginning-of-sequence (BOS) embeddings. To improve robustness when controlling different attribute subsets, we introduce P-MASKING, which samples per-example attribute masking rates from a truncated Pareto distribution during training. Across 1-40 control attributes, LingGen achieves the lowest average control error among evaluated methods, while remaining efficient at inference and receiving the highest fluency scores in human evaluation. Ablations show that Pareto-sampled masking and BOS-based injection are effective choices compared to alternative masking and integration variants.

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

↑