Exploring Contextual Word-level Style Relevance for Unsupervised Style Transfer

37334

Authors

nan

Abstract

AbstractUnsupervised style transfer aims to change the style of an input sentence while preserving its original content without using parallel training data. In current dominant approaches, owing to the lack of fine-grained control on the influence from the target style, they are unable to yield desirable output sentences. In this paper, we propose a novel attentional sequence-to-sequence (Seq2seq) model that dynamically exploits the relevance of each output word to the target style for unsupervised style transfer. Specifically, we first pretrain a style classifier, where the relevance of each input word to the original style can be quantified via layer-wise relevance propagation. In a denoising auto-encoding manner, we train an attentional Seq2seq model to reconstruct input sentences and repredict word-level previously-quantified style relevance simultaneously. In this way, this model is endowed with the ability to automatically predict the style relevance of each output word. Then, we equip the decoder of this model with a neural style component to exploit the predicted wordlevel style relevance for better style transfer. Particularly, we fine-tune this model using a carefully-designed objective function involving style transfer, style relevance consistency, content preservation and fluency modeling loss terms. Experimental results show that our proposed model achieves state-of-the-art performance in terms of both transfer accuracy and content preservation.

Keywords

nan

Full Content

Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7135–7144 July 5 - 10, 2020. c⃝2020 Association for Computational Linguistics 7135 7136 7137 7138 ��� ��� Stage 2: Fine-tune the extended model � ��� ��� ��� ���� ��� � � � ��� ��� ���� Replace words LRP LRP �� Encoder Enhanced Decoder Style Classifier Language Model Encoder Decoder Style Classifier Word-level Style Relevance Stage 1: Train a basic attentional Seq2seq model with Repredicting 7139 �(����) �ℎ��� � ℎ� � Δℎ� � ��� �ℎ� � �� ⨁ GRU cell ⨁ ⨂ �’ 7140 7141 7142 Dataset Example sentences with the word-level style relevance Input sentence (negative): we sit down and we got some really slow and lazy service . 0 0.2 0.4 0.6 we sit down and we got some really good and friendly service . YELP 0 0.2 0.4 0.6 just talk your spouse about this Input sentence (informal): just talk your spouse about this 0 0.2 0.4 0.6 simply talk your spouse about this . GYAFC Output sentence (positive): we sit down and we got some really good and friendly service . 0 0.2 0.4 0.6 we sit down and we got some really slow and lazy service . Output sentence (formal): simply talk your spouse about this . 7143 7144

Labeled Text

AbstractUnsupervised style transfer aims to change the style of an input sentence while preserving its original content without using parallel training data. In current dominant approaches, owing to the lack of fine-grained control on the influence from the target style, they are unable to yield desirable output sentences. In this paper, we propose a novel attentional sequence-to-sequence (Seq2seq) model that dynamically exploits the relevance of each output word to the target style for unsupervised style transfer. Specifically, we first pretrain a style classifier, where the relevance of each input word to the original style can be quantified via layer-wise relevance propagation. In a denoising auto-encoding manner, we train an attentional Seq2seq model to reconstruct input sentences and repredict word-level previously-quantified style relevance simultaneously. In this way, this model is endowed with the ability to automatically predict the style relevance of each output word. Then, we equip the decoder of this model with a neural style component to exploit the predicted wordlevel style relevance for better style transfer. Particularly, we fine-tune this model using a carefully-designed objective function involving style transfer, style relevance consistency, content preservation and fluency modeling loss terms. Experimental results show that our proposed model achieves state-of-the-art performance in terms of both transfer accuracy and content preservation.

Publication Details

Paper ID:
37334
Year:
2020
Publication:
TIPSTER
Publication Type:
conf
DOI:
nan