ParaGuide: Guided Diffusion Paraphrasers for Plug-and-Play Textual Style Transfer

Authors

  • Zachary Horvitz Columbia University
  • Ajay Patel University of Pennsylvania
  • Chris Callison-Burch University of Pennsylvania
  • Zhou Yu Columbia University
  • Kathleen McKeown Columbia University

DOI:

https://doi.org/10.1609/aaai.v38i16.29780

Keywords:

NLP: Generation, NLP: Learning & Optimization for NLP

Abstract

Textual style transfer is the task of transforming stylistic properties of text while preserving meaning. Target "styles" can be defined in numerous ways, ranging from single attributes (e.g. formality) to authorship (e.g. Shakespeare). Previous unsupervised style-transfer approaches generally rely on significant amounts of labeled data for only a fixed set of styles or require large language models. In contrast, we introduce a novel diffusion-based framework for general-purpose style transfer that can be flexibly adapted to arbitrary target styles at inference time. Our parameter-efficient approach, ParaGuide, leverages paraphrase-conditioned diffusion models alongside gradient-based guidance from both off-the-shelf classifiers and strong existing style embedders to transform the style of text while preserving semantic information. We validate the method on the Enron Email Corpus, with both human and automatic evaluations, and find that it outperforms strong baselines on formality, sentiment, and even authorship style transfer.

Published

2024-03-24

How to Cite

Horvitz, Z., Patel, A., Callison-Burch, C., Yu, Z., & McKeown, K. (2024). ParaGuide: Guided Diffusion Paraphrasers for Plug-and-Play Textual Style Transfer. Proceedings of the AAAI Conference on Artificial Intelligence, 38(16), 18216-18224. https://doi.org/10.1609/aaai.v38i16.29780

Issue

Section

AAAI Technical Track on Natural Language Processing I