文本属性迁移是指对某些语言属性(如情感、风格、作者等)的修改。并将它们从一种类型转换为另一种类型。在本文中,我们的目的是分析和解释在转移过程中发生了什么变化。我们首先观察到,在许多现有的模型和数据集中,句子中的某些单词在确定句子属性类方面发挥着重要作用。这些单词称为\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}.
Rethinking the Chain-of-Thought: The Roles of In-Context Learning and Pre-trained Priors
School of Intelligence Science and Technology, National Key Laboratory for Novel Software Technology, Nanjing University(智能科学与技术学院,新型软件技术国家重点实验室,南京大学);School of Computing and Information Systems, Singapore Management University(计算与信息系统学院,新加坡管理大学);Central South University(中南大学);School of Global Education and Development, International Chinese Language Education, University of Chinese Academy of Social Sciences(全球教育与发展学院,国际中文教育,中国社会科学院)
Rethinking stance detection: A theoretically-informed research agenda for user-level inference using language models
Institute of High Performance Computing (IHPC), Agency for Science, Technology and Research (A*STAR)(高性能计算研究所(A*STAR));School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院);The Hong Kong Polytechnic University(香港理工大学)