When Writing Style Drifts: Benchmarking Authorship Verification under Distribution Shifts in Genre, Time and the AI-Era
Organizations: University of Technology Nuremberg (UTN)
Abstract
Authorship verification (AV) assumes that an author's writing style remains sufficiently stable to distinguish it from that of other writers. In practice, however, this assumption is challenged by distribution shifts caused by changes in genre, time, and AI-assisted writing. Existing AV benchmarks typically study these factors in isolation and focus predominantly on English, limiting our understanding of model robustness under realistic conditions. We introduce AVShift, the first German benchmark for systematically evaluating AV under multiple distribution shifts. AVShift comprises over 150,000 text pairs spanning three genres and 21 years, enabling controlled evaluation of cross-genre, temporal, and AI-era shifts within a unified framework. We benchmark representative feature-based, embedding-based, and LLM-based approaches. Our experiments show that fine-tuned LLMs generalize best across genres and benefit substantially from stylistically diverse training data. We further demonstrate that temporal drift is one of the strongest factors affecting AV, with performance degrading significantly as the time gap between documents increases. In contrast, we find no evidence of a measurable AI-era distribution shift within AVShift. Finally, our feature analysis reveals stylistic features that remain stable across genres, while their relative importance varies depending on the specific genre transition. We release AVShift and our code for future research.
Figures & tables
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Forum | Story | Review |
| Im Sommer saß ich mal mit einer Freundin in meinem Zimmer am Fußboden. Wir haben gemalt, da fiel auf einmal eine riesige Raupe/Larve von der Decke! Wir wissen bis heute nicht, wie sie da hin gekommen ist.Das andere ist im Sommer am Schulfest passiert. Ich saß im Gras, als mir plötzlich ein Vogel was auf’s Knie fallen ließ - genau so wie letztes Jahr. xD | Megatron bewegte sich durch die dunklen Gänge, doch seine Gedanken waren ferner denn je. Jeder Schritt quälte die Ruhe, wie der Ton eines fallenden Tropfens die endliche Stille. Seine Präsenz füllte den Ort wie das Summen einer Stimmgabel, das in jede Ecke drang, sich selbst in jenen Flächen nieder ließ, die den Raum begrenzten, um ihn aus seinem Frieden zu reißen. […] | Hi, hui ja, das ist wirklich ein ungewöhnliches Pairing xD Aber nicht schlecht, dein Stil ist eigentlich richtig gut und es lässt sich alles flüssig lesen. Ich schließe mich Hera an und meine, dass Absätze im Text nicht schlecht gewesen wären. Du musst bedenken, dass die Geschichte am Bildschirm gelesen wird, was anstrengend für die Augen ist. […] |
| Translation | ||
| One summer, I was sitting on the floor in my room with a friend. We were drawing when suddenly a huge caterpillar/larva fell from the ceiling! To this day, we still don’t know how it got there. The other thing happened at the school festival that summer. I was sitting in the grass when suddenly a bird dropped something on my knee - just like last year. xD | Megatron moved through the dark corridors, yet his thoughts were farther away than ever. Each step disturbed the stillness, like the sound of a falling drop breaking the finite silence. His presence filled the place like the hum of a tuning fork, penetrating every corner, settling even into the surfaces that bounded the room, to tear it from its peace. […] | Hi, wow, yeah, that’s really an unusual pairing xD But not bad, your writing style is actually really good, and it all reads smoothly. I agree with Hera - I think some paragraphs in the text wouldn’t have been a bad idea. You have to keep in mind that the story is being read on a screen, which can be hard on the eyes. […] |
| Feature | Description |
| mfw2 | Normalized frequencies of the 1,000 most frequent word bigrams. |
| mft | Normalized frequencies of the 1,000 most frequent POS trigrams. |
| mfc | Normalized frequencies of the 2,500 most frequent character 4-grams. |
| mfe | Normalized frequencies of the 100 most frequent emojis. |
| wordLenDistri | Distribution of word lengths from 1 to 20 characters. |
| wordLen | Average word length. |
Distribution Shift Robustness
Distribution shift robustness studies how to keep machine-learning predictions reliable when deployment data differ from training data.
See all 274 papers