[Paper Review] Improved Neural Text Attribute Transfer with Non-parallel Data
This paper proposes a novel neural text attribute transfer framework for non-parallel data that improves content preservation and sentiment transfer accuracy by using a collaborative classifier and a set of specialized loss functions, including attention-based cyclical loss and a novel noun preservation loss. The method outperforms a strong baseline on two datasets, achieving 94.4% sentiment accuracy and 77.1% content preservation on Yelp, and 59.5% and 77.5% on Amazon, respectively.
Text attribute transfer using non-parallel data requires methods that can perform disentanglement of content and linguistic attributes. In this work, we propose multiple improvements over the existing approaches that enable the encoder-decoder framework to cope with the text attribute transfer from non-parallel data. We perform experiments on the sentiment transfer task using two datasets. For both datasets, our proposed method outperforms a strong baseline in two of the three employed evaluation metrics.
Motivation & Objective
- To address the challenge of text attribute transfer without parallel training data, where ground-truth paired examples are unavailable.
- To improve content preservation during style transfer, ensuring key semantic elements like nouns remain consistent.
- To develop a scalable method for multi-attribute transfer that avoids the need for multiple discriminators.
- To overcome the limitations of adversarial training in non-parallel settings by introducing a collaborative classifier.
- To balance sentiment transfer accuracy, content preservation, and fluency in generated text.
Proposed method
- Uses a single encoder-decoder architecture with attention mechanism to generate transferred sentences from input texts.
- Introduces a collaborative classifier (CNN-based) to provide training signals for attribute transfer without requiring adversarial training.
- Employs a forward reconstruction loss to ensure auto-encoding capability for original sentences.
- Applies a cyclical loss to enforce consistency between forward and backward transfer (i.e., x → y → x should be close to x).
- Incorporates a novel noun preservation loss that penalizes the absence of key nouns from the original sentence in the generated output.
- Uses a combination of cross-entropy loss for sentiment classification and perplexity-based language modeling to evaluate fluency.
Experimental results
Research questions
- RQ1Can a collaborative classifier effectively replace adversarial discriminators in non-parallel text attribute transfer?
- RQ2Can attention mechanisms combined with cyclical reconstruction improve content preservation during style transfer?
- RQ3Does a dedicated noun preservation loss significantly enhance semantic consistency in transferred text?
- RQ4How do the proposed losses affect the trade-off between sentiment transfer accuracy and fluency (perplexity)?
- RQ5Can the method generalize across different datasets and attribute types, such as sentiment transfer in diverse domains?
Key findings
- On the Yelp dataset, the proposed method achieved 94.4% sentiment transfer accuracy, significantly outperforming the baseline of 86.5%.
- The method achieved 77.1% content preservation accuracy on Yelp, compared to the baseline's 38.3%, demonstrating superior semantic consistency.
- On the Amazon dataset, the method achieved 59.5% sentiment accuracy and 77.5% content preservation, compared to 32.8% and 71.6% for the baseline.
- Despite higher perplexity scores (80.1 on Yelp vs. 27.0 for baseline), the proposed method produced more semantically faithful and accurately styled outputs.
- Qualitative examples show that the proposed method better retains original entities and nouns, while the baseline often alters or omits key content.
- The method shows promise for multi-attribute transfer due to its single-classifier design, which scales more efficiently than adversarial approaches.
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.