Improving Formality Style Transfer with Context-Aware Rule Injection
About
Models pre-trained on large-scale regular text corpora often do not work well for user-generated data where the language styles differ significantly from the mainstream text. Here we present Context-Aware Rule Injection (CARI), an innovative method for formality style transfer (FST). CARI injects multiple rules into an end-to-end BERT-based encoder and decoder model. It learns to select optimal rules based on context. The intrinsic evaluation showed that CARI achieved the new highest performance on the FST benchmark dataset. Our extrinsic evaluation showed that CARI can greatly improve the regular pre-trained models' performance on several tweet sentiment analysis tasks.
Zonghai Yao, Hong Yu• 2021
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Formality Style Transfer | GYAFC Entertainment & Music (test) | BLEU74.31 | 10 | |
| Formality Style Transfer | GYAFC Family & Relationships (test) | BLEU78.05 | 10 | |
| Emotion intensity ordinal classification | Affect in Tweets EI-oc Joy SemEval-2018 Task 1 | Pearson r0.735 | 9 | |
| Emotion intensity ordinal classification | Affect in Tweets EI-oc Fear SemEval-2018 Task 1 | Pearson r0.714 | 9 | |
| Irony Detection | Irony Detection Irony-a SemEval-2018 Task 3 | F1 Score73.7 | 9 | |
| Irony Detection | Irony Detection Irony-b SemEval-2018 Task 3 | F1 Score53.8 | 9 | |
| Emotion intensity ordinal classification | Affect in Tweets EI-oc Anger SemEval-2018 Task 1 | Pearson r0.722 | 9 | |
| Emotion intensity ordinal classification | Affect in Tweets EI-oc Sad SemEval-2018 Task 1 | Pearson r70.1 | 9 | |
| Formality Style Transfer | GYAFC E&M (test) | BLEU74.31 | 7 | |
| Formality Style Transfer | GYAFC F&R (test) | BLEU78.05 | 7 |
Showing 10 of 10 rows