Fine-grained Text Style Transfer with Diffusion-Based Language Models

Yiwei Lyu, Tiange Luo, Jiacheng Shi, Todd C. Hollon, Honglak Lee
5/31/2023
cs.CLcs.AIcs.LG

No official code found. Best implementation: lvyiwei1/DiffuSeq_StylePTB (12 stars, MIT, last commit 2024-03-07).

Abstract

Diffusion probabilistic models have shown great success in generating high-quality images controllably, and researchers have tried to utilize this controllability into text generation domain. Previous works on diffusion-based language models have shown that they can be trained without external knowledge (such as pre-trained weights) and still achieve stable performance and controllability. In this paper, we trained a diffusion-based model on StylePTB dataset, the standard benchmark for fine-grained text style transfers. The tasks in StylePTB requires much more refined control over the output text compared to tasks evaluated in previous works, and our model was able to achieve state-of-the-art performance on StylePTB on both individual and compositional transfers. Moreover, our model, trained on limited data from StylePTB without external knowledge, outperforms previous works that utilized pretrained weights, embeddings, and external grammar parsers, and this may indicate that diffusion-based language models have great potential under low-resource settings.

View on arXivView PDF

Code Implementations(1)

MIT
122Shell, PythonMay 31, 20232 years agoMIT

Similar Papers

Cite this paper

@article{lyu2023finegrained,
  title  = {Fine-grained Text Style Transfer with Diffusion-Based Language Models},
  author = {Yiwei Lyu and Tiange Luo and Jiacheng Shi and Todd C. Hollon and Honglak Lee},
  year   = {2023},
  eprint = {2305.19512},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.19512v2}
}

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

Discussion