[Paper Review] Reinforcement Learning Based Text Style Transfer without Parallel Training Corpus
This paper proposes a reinforcement learning-based text style transfer model that operates without a parallel training corpus by using a generator-evaluator framework with adversarial style discrimination, word mover's distance for semantic similarity, and a language model for fluency. The method achieves state-of-the-art performance in both sentiment and formality transfer tasks, outperforming prior approaches in content preservation, transfer strength, and fluency through end-to-end RL optimization with diverse evaluation metrics.
Text style transfer rephrases a text from a source style (e.g., informal) to a target style (e.g., formal) while keeping its original meaning. Despite the success existing works have achieved using a parallel corpus for the two styles, transferring text style has proven significantly more challenging when there is no parallel training corpus. In this paper, we address this challenge by using a reinforcement-learning-based generator-evaluator architecture. Our generator employs an attention-based encoder-decoder to transfer a sentence from the source style to the target style. Our evaluator is an adversarially trained style discriminator with semantic and syntactic constraints that score the generated sentence for style, meaning preservation, and fluency. Experimental results on two different style transfer tasks (sentiment transfer and formality transfer) show that our model outperforms state-of-the-art approaches. Furthermore, we perform a manual evaluation that demonstrates the effectiveness of the proposed method using subjective metrics of generated text quality.
Motivation & Objective
- To address the challenge of text style transfer when no parallel training corpus is available.
- To improve content preservation, style transfer strength, and fluency in style transfer without relying on differentiable loss functions.
- To enable the use of non-differentiable evaluation metrics—such as semantic similarity and fluency—within the training objective via reinforcement learning.
- To develop a flexible framework that integrates multiple constraint modules (style, semantics, fluency) into a unified training process.
Proposed method
- The generator is an attention-based sequence-to-sequence model that transforms input sentences from a source style to a target style.
- The evaluator consists of three components: a style discriminator trained adversarially to classify target-style sentences, a word mover’s distance (WMD) module for semantic similarity, and a language model for fluency scoring.
- Reinforcement learning updates the generator using rewards derived from the evaluator’s scores, enabling optimization with non-differentiable metrics.
- The style discriminator is trained adversarially to distinguish between real target-style sentences and generated ones, improving robustness and accuracy in style classification.
- Semantic preservation is enforced via WMD, which computes semantic similarity between source and generated sentences without requiring parallel data.
- Fluency is evaluated using a pre-trained language model that scores the grammatical and syntactic quality of generated sentences.
Experimental results
Research questions
- RQ1Can a reinforcement learning framework effectively perform text style transfer without access to a parallel training corpus?
- RQ2How well can a model preserve semantic content while transferring style when no parallel examples are available?
- RQ3Can non-differentiable evaluation metrics such as WMD and language model scores be effectively integrated into the training objective for style transfer?
- RQ4How does the proposed method compare to existing approaches in terms of content preservation, transfer strength, and fluency?
Key findings
- In sentiment transfer, the proposed model achieved the highest overall score, balancing content preservation and style transfer strength, outperforming both the cross-attention (CA) and multi-decoder seq2seq (MDS) baselines.
- In formality transfer, the model achieved the best overall score and lowest perplexity, demonstrating superior performance in content preservation, transfer strength, and fluency.
- The informal-to-formal transfer direction was significantly harder than the reverse, likely due to greater diversity and spelling errors in informal text.
- Manual evaluation confirmed that the model-generated sentences were rated highly in content similarity, style transfer strength, and fluency, with average scores above 4.5 on a 6-point scale.
- The model successfully applied various rewriting strategies, including lexical substitution, word removal, word insertion, and structural changes, to achieve style transfer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.