DeepAI AI Chat
Log In Sign Up

Studying the role of named entities for content preservation in text style transfer

by   Nikolay Babakov, et al.

Text style transfer techniques are gaining popularity in Natural Language Processing, finding various applications such as text detoxification, sentiment, or formality transfer. However, the majority of the existing approaches were tested on such domains as online communications on public platforms, music, or entertainment yet none of them were applied to the domains which are typical for task-oriented production systems, such as personal plans arrangements (e.g. booking of flights or reserving a table in a restaurant). We fill this gap by studying formality transfer in this domain. We noted that the texts in this domain are full of named entities, which are very important for keeping the original sense of the text. Indeed, if for example, someone communicates the destination city of a flight it must not be altered. Thus, we concentrate on the role of named entities in content preservation for formality text style transfer. We collect a new dataset for the evaluation of content similarity measures in text style transfer. It is taken from a corpus of task-oriented dialogues and contains many important entities related to realistic requests that make this dataset particularly useful for testing style transfer models before using them in production. Besides, we perform an error analysis of a pre-trained formality transfer model and introduce a simple technique to use information about named entities to enhance the performance of baseline content similarity measures used in text style transfer.


Style Transfer in Text: Exploration and Evaluation

Style transfer is an important problem in natural language processing (N...

FastCLIPStyler: Towards fast text-based image style transfer using style representation

Artistic style transfer is usually performed between two images, a style...

Text Style Transfer for Bias Mitigation using Masked Language Modeling

It is well known that textual data on the internet and other digital pla...

Review of text style transfer based on deep learning

Text style transfer is a hot issue in recent natural language processing...

StoryTrans: Non-Parallel Story Author-Style Transfer with Discourse Representations and Content Enhancing

Non-parallel text style transfer is an important task in natural languag...

Defeating Author Gender Identification with Text Style Transfer

Text Style Transfer can be named as one of the most important Natural La...

Enhance Long Text Understanding via Distilled Gist Detector from Abstractive Summarization

Long text understanding is important yet challenging in natural language...

Code Repositories


Dataset for evaluating the quality of content preservation measure in text formality transfer for task oriented domain

view repo