Personalized Text Generation with Fine-Grained Linguistic Control

Bashar Alhafni, Vivek Kulkarni, Dhruv Kumar, Vipul Raheja
2/7/2024
cs.CL

No official code found. Best implementation: balhafni/personalized-gen (7 stars, MIT, last commit 2024-02-08).

Abstract

As the text generation capabilities of large language models become increasingly prominent, recent studies have focused on controlling particular aspects of the generated text to make it more personalized. However, most research on controllable text generation focuses on controlling the content or modeling specific high-level/coarse-grained attributes that reflect authors' writing styles, such as formality, domain, or sentiment. In this paper, we focus on controlling fine-grained attributes spanning multiple linguistic dimensions, such as lexical and syntactic attributes. We introduce a novel benchmark to train generative models and evaluate their ability to generate personalized text based on multiple fine-grained linguistic attributes. We systematically investigate the performance of various large language models on our benchmark and draw insights from the factors that impact their performance. We make our code, data, and pretrained models publicly available.

View on arXivView PDF

Code Implementations(1)

MIT

Code, models, and data for "Personalized Text Generation with Fine-Grained Linguistic Control". EACL 2024, Personalization of Generative AI.

71Shell, PythonJan 28, 20242 years agoMIT
deep-learninglinguisticsnlptext-generation

Similar Papers

Cite this paper

@article{alhafni2024personalized,
  title  = {Personalized Text Generation with Fine-Grained Linguistic Control},
  author = {Bashar Alhafni and Vivek Kulkarni and Dhruv Kumar and Vipul Raheja},
  year   = {2024},
  eprint = {2402.04914},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.04914v1}
}

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

Discussion