mlsanityData to 14 Oct 2026

Learning to Generate Text in Arbitrary Writing Styles

arXiv 2312.17242 ↗First posted 28 Dec 2023cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Prior work in style-controlled text generation has focused on tasks such as emulating the style of prolific literary authors, producing formal or informal text, and mitigating toxicity of generated text. Plentiful demonstrations of these styles are available, and as a result modern language models are often able to emulate them, either via prompting or discriminative control. However, in applications such as writing assistants, it is desirable for language models to produce text in an author-specific style on the basis of a potentially small writing sample. For example, someone writing in a particular dialect may prefer writing suggestions that retain the same dialect. We find that instruction-tuned language models can struggle to reproduce author-specific style demonstrated in a prompt. Instead, we propose to guide a language model to generate text in a target style using contrastively-trained representations that capture stylometric features. Our approach (StyleMC) combines an author-adapted language model with sequence-level inference to improve stylistic consistency, and is found to be effective in a variety of conditions, including unconditional generation and style transfer. Additionally, we find that the proposed approach can serve as an effective anonymization method, by editing a document to mask authorship while preserving the original meaning

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 28 Dec 2023.

Builds on

38 of 49 references.

References · 38

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  7. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  8. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  9. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  10. 2019GLTR: Statistical Detection and Visualization of Generated Textcited by 496
  11. 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
  12. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
26 more
  1. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  2. 2023Toxicity in ChatGPT: Analyzing Persona-assigned Language Modelscited by 360
  3. 2020Evaluation of Text Generation: A Surveycited by 277
  4. 2018Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfercited by 211
  5. 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 183
  6. 2021SpeechT5: Unified-Modal Encoder-Decoder Pre-Training for Spoken Language Processingcited by 180
  7. 2020Deep Learning for Text Style Transfer: A Surveycited by 162
  8. 2018Style Transfer Through Back-Translationcited by 124
  9. 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
  10. 2022Same Author or Just Same Topic? Towards Content-Independent Style Representationscited by 86
  11. 2019Transforming Delete, Retrieve, Generate Approach for Controlled Text Style Transfercited by 81
  12. 2020Politeness Transfer: A Tag and Generate Approachcited by 78
  13. 2018Towards Robust and Privacy-preserving Text Representationscited by 75
  14. 2022Mix and Match: Learning-free Controllable Text Generation using Energy Language Modelscited by 66
  15. 2021Clustering-friendly Representation Learning via Instance Discrimination and Feature Decorrelationcited by 65
  16. 2022Gradient-Based Constrained Sampling from Language Modelscited by 64
  17. 2017Shakespearizing Modern Language Using Copy-Enriched Sequence-to-Sequence Modelscited by 57
  18. 2021XFORMAL: A Benchmark for Multilingual Formality Style Transfercited by 52
  19. 2019Speaker Anonymization Using X-vector and Neural Waveform Modelscited by 41
  20. 2020TextSETTR: Few-Shot Text Style Extraction and Tunable Targeted Restylingcited by 40
  21. 2022Analyzing Encoded Concepts in Transformer Language Modelscited by 38
  22. 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
  23. 2021A Deep Metric Learning Approach to Account Linkingcited by 24
  24. 2019Learning Invariant Representations of Social Media Userscited by 21
  25. 2023Can Authorship Representation Learning Capture Stylistic Features?cited by 17
  26. 2023STEER: Unified Style Transfer with Expert Reinforcementcited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 3; 2026: 2.

9 papers.