Generation, Evaluation, and Explanation of Novelists' Styles with Single-Token Prompts

Mosab Rezaei, Mina Rajaei Moghadam, Abdul Rahman Shaikh, Hamed Alhoori, Reva Freedman
11/25/2025
cs.CLcs.AI

No official code found. Best implementation: mosabrezaei/Text-Generation-XAI (0 stars, last commit 2026-02-10).

Abstract

Recent advances in large language models have created new opportunities for stylometry, the study of writing styles and authorship. Two challenges, however, remain central: training generative models when no paired data exist, and evaluating stylistic text without relying only on human judgment. In this work, we present a framework for both generating and evaluating sentences in the style of 19th-century novelists. Large language models are fine-tuned with minimal, single-token prompts to produce text in the voices of authors such as Dickens, Austen, Twain, Alcott, and Melville. To assess these generative models, we employ a transformer-based detector trained on authentic sentences, using it both as a classifier and as a tool for stylistic explanation. We complement this with syntactic comparisons and explainable AI methods, including attention-based and gradient-based analyses, to identify the linguistic cues that drive stylistic imitation. Our findings show that the generated text reflects the authors' distinctive patterns and that AI-based evaluation offers a reliable alternative to human assessment. All artifacts of this work are published online.

View on arXivView PDF

Code Implementations(1)

Generation, Evaluation, and Explanation of Novelists’ Styles with Single-Token Prompts

00Jupyter NotebookNov 17, 20258 months ago

Similar Papers

Cite this paper

@article{rezaei2025generation,
  title  = {Generation, Evaluation, and Explanation of Novelists' Styles with Single-Token Prompts},
  author = {Mosab Rezaei and Mina Rajaei Moghadam and Abdul Rahman Shaikh and Hamed Alhoori and Reva Freedman},
  year   = {2025},
  eprint = {2511.20459},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.20459v1}
}

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

Discussion