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

Zhiqiang Hu, Roy Ka-Wei Lee, Nancy F. Chen
5/10/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Adapting a large language model for multiple-attribute text style transfer via fine-tuning can be challenging due to the significant amount of computational resources and labeled data required for the specific task. In this paper, we address this challenge by introducing AdapterTST, 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 capture different attribute information, like a plug-in connected to BART. Our method allows control over multiple attributes, like sentiment, tense, voice, etc., and configures the adapters' architecture to generate multiple outputs respected 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 lesser computational resources. We have also empirically shown that each adapter is able to capture specific stylistic attributes effectively and can be configured to perform compositional editing.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hu2023adaptertst,
  title  = {Adapter-TST: A Parameter Efficient Method for Multiple-Attribute Text Style Transfer},
  author = {Zhiqiang Hu and Roy Ka-Wei Lee and Nancy F. Chen},
  year   = {2023},
  eprint = {2305.05945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.05945v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.05945.svg)](https://codeofpaper.com/paper/2305.05945)

Discussion