Audience-Centric Natural Language Generation via Style Infusion

Samraj Moorjani, Adit Krishnan, Hari Sundaram, Ewa Maslowska, Aravind Sankar
1/24/2023
cs.CLcs.LG

Official code: CrowdDynamicsLab/StyleInfusion (5 stars, BSD-3-Clause, last commit 2022-10-15).

Abstract

Adopting contextually appropriate, audience-tailored linguistic styles is critical to the success of user-centric language generation systems (e.g., chatbots, computer-aided writing, dialog systems). While existing approaches demonstrate textual style transfer with large volumes of parallel or non-parallel data, we argue that grounding style on audience-independent external factors is innately limiting for two reasons. First, it is difficult to collect large volumes of audience-specific stylistic data. Second, some stylistic objectives (e.g., persuasiveness, memorability, empathy) are hard to define without audience feedback. In this paper, we propose the novel task of style infusion - infusing the stylistic preferences of audiences in pretrained language generation models. Since humans are better at pairwise comparisons than direct scoring - i.e., is Sample-A more persuasive/polite/empathic than Sample-B - we leverage limited pairwise human judgments to bootstrap a style analysis model and augment our seed set of judgments. We then infuse the learned textual style in a GPT-2 based text generator while balancing fluency and style adoption. With quantitative and qualitative assessments, we show that our infusion approach can generate compelling stylized examples with generic text prompts. The code and data are accessible at https://github.com/CrowdDynamicsLab/StyleInfusion.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Findings of EMNLP 2022

50Shell, PythonOct 13, 20224 years agoBSD-3-Clause

Cite this paper

@article{moorjani2023audiencecentric,
  title  = {Audience-Centric Natural Language Generation via Style Infusion},
  author = {Samraj Moorjani and Adit Krishnan and Hari Sundaram and Ewa Maslowska and Aravind Sankar},
  year   = {2023},
  eprint = {2301.10283},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.10283v1}
}

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

Discussion