arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.20459cs.CLcs.AI
收藏

用单个标记提示生成、评估和解释小说家的风格

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

Department of Computer Science Northern Illinois University(计算机科学系北伊利诺伊大学)

Mosab Rezaei, Mina Rajaei Moghadam, Abdul Rahman Shaikh, Hamed Alhoori, Reva Freedman

AI总结:

本研究通过单个标记提示生成并评估19世纪小说家的风格,利用变压器检测器和可解释AI方法分析文本风格特征。

摘要:

近年来,大型语言模型的进步为风格学(研究写作风格和作者身份)创造了新的机会。然而,仍然存在两个核心挑战:在没有配对数据的情况下训练生成模型,以及在不依赖仅有人类判断的情况下评估风格化的文本。在本工作中,我们提出了一种框架,用于生成和评估19世纪小说家的句子。通过使用最小的单个标记提示对大型语言模型进行微调,生成狄更斯、奥斯汀、Twain、Alcott和Melville等作者的文本。为了评估这些生成模型,我们采用了一个基于变压器的检测器,该检测器在真实句子上进行训练,用作分类器和风格解释工具。我们还结合了句法比较和可解释人工智能方法,包括基于注意力和梯度的分析,以识别驱动风格模仿的语言线索。我们的发现表明,生成的文本反映了作者的独特模式,并且基于AI的评估为人类评估提供了可靠的替代方案。本工作的所有成果均已在线发布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑