Introduction
Unsupervised text style transfer (TST) aims to alter the stylistic attributes of a sentence—such as sentiment or formality—while preserving its core semantic content, without relying on parallel corpora. Traditional approaches often struggle with "coarse-grained" control because they attempt to compress the entire style of a sentence into a single, fixed-size vector.
The Bottleneck: Fixed-Sized Representations
A significant limitation in existing TST models is the use of global style vectors. Style is rarely distributed uniformly across a sentence; specific words often carry more stylistic weight than others. For instance, in the phrase "really a fun place," the words "really" and "fun" are primary style markers, whereas "place" is neutral. Forcing these distinct intensities into a single vector can lead to the loss of content or ineffective style conversion.
MSSRNet: Sequential Style Manipulation
To address these issues, the authors propose MSSRNet (Manipulating Sequential Style Representation Network). The core innovation is the Sequential Style Representation, where the model generates a sequence of style vectors corresponding to each token in the input text. This allows for word-level granularity in style adjustment.
Core Components
- Style Generator & Content Encoder: The model disentangles style and content by producing a sequence of style vectors and a separate content representation.
- Teacher-Student Learning: To stabilize the training of high-dimensional representations, a pre-trained style classifier acts as a "Teacher," guiding the "Student" Style Generator to produce accurate stylistic features.
- Dual Discriminators: A Style Discriminator ensures the quality of the generated vectors, while a Text Discriminator validates the final output's adherence to the target style.
Experimental Results
MSSRNet was evaluated on benchmark datasets including Yelp, IMDb, and a multi-dimensional Sentiment-Formality dataset. It achieved state-of-the-art results:
- Accuracy: Reached 95.6% on Yelp and 91.3% on IMDb, significantly outperforming baselines like StyTrans and DGST.
- Content Preservation: Maintained high BLEU scores, indicating superior retention of original meaning.
- Fluency: Achieved the lowest Perplexity (PPL) scores, producing more natural-sounding text.
- Multi-Style Transfer: Successfully balanced multiple style dimensions with 89.9% accuracy on the Sentiment-Formality task.
Conclusion
By treating style as a sequence rather than a point in space, MSSRNet provides the fine-grained control necessary for high-quality text style transfer. Future work may extend this sequential representation approach to other domains, such as unsupervised neural machine translation, to better preserve semantic nuances during cross-lingual transformation.
Summary updated