Specializing Small Language Models towards Complex Style Transfer via Latent Attribute Pre-Training

Ruiqi Xu, Yongfeng Huang, Xin Chen, Lin Zhang
9/19/2023
cs.CL

No official code found. Best implementation: ruiqixu37/BTTS_ECAI2023 (4 stars, MIT, last commit 2023-07-18).

Abstract

In this work, we introduce the concept of complex text style transfer tasks, and constructed complex text datasets based on two widely applicable scenarios. Our dataset is the first large-scale data set of its kind, with 700 rephrased sentences and 1,000 sentences from the game Genshin Impact. While large language models (LLM) have shown promise in complex text style transfer, they have drawbacks such as data privacy concerns, network instability, and high deployment costs. To address these issues, we explore the effectiveness of small models (less than T5-3B) with implicit style pre-training through contrastive learning. We also propose a method for automated evaluation of text generation quality based on alignment with human evaluations using ChatGPT. Finally, we compare our approach with existing methods and show that our model achieves state-of-art performances of few-shot text style transfer models.

View on arXivView PDF

Code Implementations(1)

MIT
40PythonJul 18, 20233 years agoMIT

Similar Papers

Cite this paper

@article{xu2023specializing,
  title  = {Specializing Small Language Models towards Complex Style Transfer via Latent Attribute Pre-Training},
  author = {Ruiqi Xu and Yongfeng Huang and Xin Chen and Lin Zhang},
  year   = {2023},
  eprint = {2309.10929},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.10929v1}
}

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/2309.10929.svg)](https://codeofpaper.com/paper/2309.10929)

Discussion