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

基于风格注入的以受众为中心的自然语言生成

Audience-Centric Natural Language Generation via Style Infusion

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Samraj Moorjani, Adit Krishnan, Hari Sundaram, Ewa Maslowska, Aravind Sankar

摘要:

采用上下文适当的、为观众量身定制的语言风格对于以用户为中心的语言生成系统的成功至关重要(例如,聊天机器人、计算机辅助写作、对话系统)。虽然现有的方法证明了大量的平行或非平行数据的文本风格转移,我们认为,接地风格的观众独立的外部因素是天生的限制有两个原因。首先,很难收集大量的特定于受众的文体数据。第二,一些文体目标(例如,说服力,记忆力,同情心)是很难定义没有观众的反馈。在本文中,我们提出了风格注入的新任务-注入预先训练的语言生成模型中的观众的风格偏好。由于人类更擅长成对比较而不是直接评分,样本A比样本B更有说服力/礼貌/移情-我们利用有限的成对人类判断来引导风格分析模型并增加我们的种子判断集。然后,我们注入学习的文本风格在GPT-2为基础的文本生成器,同时平衡流畅性和风格的采用。通过定量和定性评估,我们表明,我们的注入方法可以生成具有通用文本提示的引人注目的程式化示例。代码和数据可在https://github.com/CrowdDynamicsLab/StyleInfusion上访问。

英文摘要:

Adopting contextually appropriate, audience-tailored linguistic styles is critical to the success of user-centric language generation systems (e.g., chatbots, computer-aided writing, dialog systems). While existing approaches demonstrate textual style transfer with large volumes of parallel or non-parallel data, we argue that grounding style on audience-independent external factors is innately limiting for two reasons. First, it is difficult to collect large volumes of audience-specific stylistic data. Second, some stylistic objectives (e.g., persuasiveness, memorability, empathy) are hard to define without audience feedback. In this paper, we propose the novel task of style infusion - infusing the stylistic preferences of audiences in pretrained language generation models. Since humans are better at pairwise comparisons than direct scoring - i.e., is Sample-A more persuasive/polite/empathic than Sample-B - we leverage limited pairwise human judgments to bootstrap a style analysis model and augment our seed set of judgments. We then infuse the learned textual style in a GPT-2 based text generator while balancing fluency and style adoption. With quantitative and qualitative assessments, we show that our infusion approach can generate compelling stylized examples with generic text prompts. The code and data are accessible at https://github.com/CrowdDynamicsLab/StyleInfusion.

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

↑