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

语法很重要!文本风格转换中的句法控制

Syntax Matters! Syntax-Controlled in Text Style Transfer

Zhiqiang Hu, Roy Ka-Wei Lee, Charu C. Aggarwal

摘要:

现有的文本样式转换(TST)方法依赖于样式分类器来解开文本的内容和样式属性,以进行文本样式转换。虽然风格分类器在现有的TST方法中起着至关重要的作用,但还没有关于其对TST方法的影响的已知调查。在本文中,我们进行了实证研究的局限性,在现有的TST方法中使用的风格分类。我们证明了现有的风格分类器不能有效地学习句子句法,并最终恶化现有的TST模型的性能。为了解决这个问题,我们提出了一种新的语法感知可控生成(SACG)模型,其中包括一个语法感知的风格分类器,确保学习风格的潜在表示有效地捕捉语法信息的TST。通过对两个流行的TST任务的广泛实验,我们表明,我们提出的方法显着优于国家的最先进的方法。我们的案例研究也证明了SACG生成流畅的目标风格的句子,保留了原始内容的能力。

英文摘要:

Existing text style transfer (TST) methods rely on style classifiers to disentangle the text's content and style attributes for text style transfer. While the style classifier plays a critical role in existing TST methods, there is no known investigation on its effect on the TST methods. In this paper, we conduct an empirical study on the limitations of the style classifiers used in existing TST methods. We demonstrate that the existing style classifiers cannot learn sentence syntax effectively and ultimately worsen existing TST models' performance. To address this issue, we propose a novel Syntax-Aware Controllable Generation (SACG) model, which includes a syntax-aware style classifier that ensures learned style latent representations effectively capture the syntax information for TST. Through extensive experiments on two popular TST tasks, we show that our proposed method significantly outperforms the state-of-the-art methods. Our case studies have also demonstrated SACG's ability to generate fluent target-style sentences that preserved the original content.

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

↑