Style Transfer from Non-Parallel Text by Cross-Alignment
Tianxiao Shen, Tao Lei, Regina Barzilay, Tommi Jaakkola
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/shentianxiao/language-style-transferOfficialIn papertf★ 0
- github.com/kyuer/language-style-transfertf★ 0
- github.com/bywords/lang-style-transfer-legacytf★ 0
- github.com/qfzhu/sttf★ 0
- github.com/sy-sunmoon/Clever-Commenter-Let-s-Try-More-Appspytorch★ 0
- github.com/jishavm/TextStyleTransfertf★ 0
- github.com/mariob6/style_textpytorch★ 0
- github.com/nlahlaf/Text-Style-Transfertf★ 0
- github.com/kaletap/nlp-style-transfertf★ 0
- github.com/jpark621/language-style-transfertf★ 0
Abstract
This paper focuses on style transfer on the basis of non-parallel text. This is an instance of a broad family of problems including machine translation, decipherment, and sentiment modification. The key challenge is to separate the content from other aspects such as style. We assume a shared latent content distribution across different text corpora, and propose a method that leverages refined alignment of latent representations to perform style transfer. The transferred sentences from one style should match example sentences from the other style as a population. We demonstrate the effectiveness of this cross-alignment method on three tasks: sentiment modification, decipherment of word substitution ciphers, and recovery of word order.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| Yelp Review Dataset (Small) | CAE | G-Score (BLEU, Accuracy) | 38.66 | — | Unverified |