Unsupervised style transfer models are mainly based on an inductive learning approach, which represents the style as embeddings, decoder parameters, or discriminator parameters and directly applies these general rules to the test cases. However, the lacking of parallel corpus hinders the ability of these inductive learning methods on this task. As a result, it is likely to cause severe inconsistent style expressions, like `the salad is rude`. To tackle this problem, we propose a novel transductive learning approach in this paper, based on a retrieval-based context-aware style representation. Specifically, an attentional encoder-decoder with a retriever framework is utilized. It involves top-K relevant sentences in the target style in the transfer process. In this way, we can learn a context-aware style embedding to alleviate the above inconsistency problem. In this paper, both sparse (BM25) and dense retrieval functions (MIPS) are used, and two objective functions are designed to facilitate joint learning. Experimental results show that our method outperforms several strong baselines. The proposed transductive learning approach is general and effective to the task of unsupervised style transfer, and we will apply it to the other two typical methods in the future.
翻译:不受监督的风格传输模式主要基于感化学习方法,它代表嵌入、解码参数或偏差参数等风格,直接将这些一般规则适用于测试案例。然而,缺乏平行元素妨碍了这些感化学习方法在这项工作上的能力。因此,它可能造成严重不一致的样式表达方式,如`沙拉粗鲁'。为了解决这一问题,我们建议本文件采用一种新的感化学习方法,以基于检索的上下文感性风格表达方式为基础。具体地说,使用了带有检索器框架的注意编码解码器-解码器。它涉及转移过程中目标风格中与目标相关的最高K级相关句子。这样,我们可以学习一种上下文感化风格,以缓解上述不一致问题。在本文中,既使用稀疏(BM25)又使用密集的检索功能(MIPS),又设计两个客观功能,以便利联合学习。实验结果显示,我们的方法超越了几个强有力的基线。拟议的感化学习方法将适用于未受监督的未来风格转移的其他方法。我们将采用两种典型的方法。