Looking for the Inner Music: Probing LLMs' Understanding of Literary Style

Rebecca M. M. Hicke, David Mimno
2/5/2025
cs.CLcs.LG

No official code found. Best implementation: rmatouschekh/looking-for-the-inner-music (0 stars, last commit 2025-01-30).

Abstract

Recent work has demonstrated that language models can be trained to identify the author of much shorter literary passages than has been thought feasible for traditional stylometry. We replicate these results for authorship and extend them to a new dataset measuring novel genre. We find that LLMs are able to distinguish authorship and genre, but they do so in different ways. Some models seem to rely more on memorization, while others benefit more from training to learn author/genre characteristics. We then use three methods to probe one high-performing LLM for features that define style. These include direct syntactic ablations to input text as well as two methods that look at model internals. We find that authorial style is easier to define than genre-level style and is more impacted by minor syntactic decisions and contextual word usage. However, some traits like pronoun usage and word order prove significant for defining both kinds of literary style.

View on arXivView PDF

Code Implementations(1)

An anonymous data repository associated with "Looking for the Inner Music: Probing LLMs' Understanding of Literary Style."

00Jan 30, 20251 years ago

Similar Papers

Cite this paper

@article{hicke2025looking,
  title  = {Looking for the Inner Music: Probing LLMs' Understanding of Literary Style},
  author = {Rebecca M. M. Hicke and David Mimno},
  year   = {2025},
  eprint = {2502.03647},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.03647v1}
}

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

Discussion