Adapter-TST: A Parameter Efficient Method for Multiple-Attribute Text Style Transfer

Zhiqiang Hu, Nancy Chen, Roy Lee


Abstract
Adapting a large language model for multiple-attribute text style transfer via fine-tuning can be challenging due to the substantial amount of computational resources and labeled data required for the specific downstream task. In this paper, we address this challenge by introducing Adapter-TST, a framework that freezes the pre-trained model’s original parameters and enables the development of a multiple-attribute text style transfer model. Using BART as the backbone model, Adapter-TST utilizes different neural adapters to model different types of attribute information, similar to a plug-in connected to BART. Our method allows control over multiple attributes (e.g. sentiment, tense, active or passive voice) and configures the adapters’ architecture to generate multiple outputs in respect to attributes or compositional editing on the same sentence. We evaluate the proposed model on both traditional sentiment transfer and multiple-attribute transfer tasks. The experiment results demonstrate that Adapter-TST outperforms all the state-of-the-art baselines with significantly less computational resources. We have also empirically shown that each adapter is able to characterize specific stylistic attributes effectively and can be configured to perform compositional editing.
Anthology ID:
2023.findings-emnlp.50
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2023
Month:
December
Year:
2023
Address:
Singapore
Editors:
Houda Bouamor, Juan Pino, Kalika Bali
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
693–703
Language:
URL:
https://aclanthology.org/2023.findings-emnlp.50
DOI:
10.18653/v1/2023.findings-emnlp.50
Bibkey:
Cite (ACL):
Zhiqiang Hu, Nancy Chen, and Roy Lee. 2023. Adapter-TST: A Parameter Efficient Method for Multiple-Attribute Text Style Transfer. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 693–703, Singapore. Association for Computational Linguistics.
Cite (Informal):
Adapter-TST: A Parameter Efficient Method for Multiple-Attribute Text Style Transfer (Hu et al., Findings 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.findings-emnlp.50.pdf