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

语篇属性迁移的词汇分析

Rethinking Text Attribute Transfer: A Lexical Analysis

Columbia University(哥伦比亚大学);Bytedance AI Lab(字节跳动人工智能实验室)

Yao Fu, Hao Zhou, Jiaze Chen, Lei Li

摘要:

文本属性迁移是指对某些语言属性(如情感、风格、作者等)的修改。并将它们从一种类型转换为另一种类型。在本文中,我们的目的是分析和解释在转移过程中发生了什么变化。我们首先观察到,在许多现有的模型和数据集中,句子中的某些单词在确定句子属性类方面发挥着重要作用。这些单词称为\textit{the Pivot Words}。基于这些主元词,我们提出了一个词汇分析框架\textit{the Pivot Analysis},定量分析这些词在文本属性分类和迁移中的作用。我们将此框架应用于现有的数据集和模型,并表明:(1)主元词是句子属性分类的强特征;(2)要改变句子的属性,许多数据集只需要改变某些主元词;(3)因此,许多迁移模型只执行词汇级别的修改,而不改变更高级别的句子结构。我们的工作提供了一个深入的了解语言属性转移,并进一步确定了未来的要求和挑战,这项任务\footnote{Our code can be found at https://github.com/FranxYao/pivot_analysis}。

英文摘要:

Text attribute transfer is modifying certain linguistic attributes (e.g. sentiment, style, authorship, etc.) of a sentence and transforming them from one type to another. In this paper, we aim to analyze and interpret what is changed during the transfer process. We start from the observation that in many existing models and datasets, certain words within a sentence play important roles in determining the sentence attribute class. These words are referred to as \textit{the Pivot Words}. Based on these pivot words, we propose a lexical analysis framework, \textit{the Pivot Analysis}, to quantitatively analyze the effects of these words in text attribute classification and transfer. We apply this framework to existing datasets and models and show that: (1) the pivot words are strong features for the classification of sentence attributes; (2) to change the attribute of a sentence, many datasets only requires to change certain pivot words; (3) consequently, many transfer models only perform the lexical-level modification, while leaving higher-level sentence structures unchanged. Our work provides an in-depth understanding of linguistic attribute transfer and further identifies the future requirements and challenges of this task\footnote{Our code can be found at https://github.com/FranxYao/pivot_analysis}.

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

↑