Rethinking Text Attribute Transfer: A Lexical Analysis
Table 6: Edit distance after masking out the pivot words. In the CG model, only words are modified, while the higher-level sentence structures remain to be the same. For the CA model, it tries to modify more sentence structures.
['[EMPTY]', 'Yelp', 'Amazon', 'Gender']
We see clear differences between the two models. For the CG model, it barely changes the sentence structures (0.1+ distances). This indicates that it takes the strategy to focus more on the substitution of pivot words. For the CA model, it takes the strategy that not only to modify the words, but also a portion of the sentence structures. We see a moderate percentage of the sentence structure modified on the Yelp and Amazon dataset (about 30%), and a large syntactic modification (58%) on the Gender dataset. Compared with the CG model, the CA model tries to modify the sentences more radically.