TL;DR
When trying to figure out who wrote an anonymous or disputed text, a classic algorithm called Burrows’ Delta looks at our unconscious habits with mundane words like "the" and "and." While Delta is wonderfully easy to explain to a jury or a literary critic, it occasionally trips up—until you pair it with statistical bootstrapping. By repeatedly shuffling the word list and averaging the results, this paper shows we can iron out stylistic quirks and boost attribution accuracy without turning the model into an inscrutable black box.
What Problem Does This Paper Address?
In machine learning, we usually obsess over average performance across thousands of test cases. That is fine for spam filters, but in real-world authorship attribution—like authenticating a newly discovered poem, a disputed will, or a forensic suicide note—you only get one shot, and you cannot afford to be wrong. Furthermore, if you are testifying in court, you can't just shrug and point to a neural network's hidden layers; you have to explain the reasoning in plain English.
Enter Burrows’ Delta, a classic stylometry (style-measuring) method from 2002. It identifies authors by measuring how frequently they use common function words (prepositions, pronouns, conjunctions). Because we use these words unconsciously, they act like a linguistic fingerprint, and the math is completely transparent. However, Delta isn't flawless, and nobody completely agrees on its magic hyperparameter: how many of the Most Frequent Words (MFW) should you actually track? 200? 500? Guessing wrong on a borderline text can hand you the wrong author.
Methods
First, the standard setup: Classical Delta takes the $m$ most frequent words in a reference collection, calculates how often each appears in a text, and converts that into a Z-score (how many standard deviations above or below the corpus average an author uses that word). To compare a mystery text to a known author, it calculates the Manhattan distance between their Z-scores. Small distance = similar style.
What’s new here is Bootstrap Resampling applied to the feature set. Instead of running Delta once on a fixed list of $m$ words, the author treats that word list like a bag of marbles, drawing $m$ words with replacement.
- Because of basic probability, each resampled list ends up containing about 63.2% unique words from the original pool (so starting with 316 words yields ~200 distinct words per sample).
- Crucially, if a word is drawn twice, the author doesn't double-weight it, which would warp the Z-score's careful balancing act; they just use the distinct set.
- This draw-and-measure loop is repeated $B$ times (say, 500 to 1,000 times), generating a whole distribution of Delta distances between two texts. Taking the mean (or median, for smaller $B$) of that distribution gives the final stylistic distance.
Datasets
To test this outside the usual English-language comfort zone, the author introduces an experimental corpus of 29 modern Danish novels written by 14 different adult-fiction authors (7 men, 7 women; 2 novels per author, except one prolific writer with 3). Published within roughly a 10-year window, the entire collection spans about 2.1 million tokens—roughly nine times the length of Moby-Dick.
Key Insights and Ideas
- Confidence lives in the runner-up gap: When classical Delta gets an attribution right, it usually wins by a landslide—the distance gap between the 1st- and 2nd-place candidates averages 23.7%. When Delta gets it wrong, it’s practically a photo finish, with an average margin of just 1%. Narrow margins are a built-in warning light.
- Authors aren't stylistically static: Using "Rolling Delta" (chopping a book into 5,000-token chunks and testing each one), the author inspected a misclassified novel (
Guldager1). Surprisingly, 16 of its 22 chunks looked like other writers, while 6 chunks in the second half suddenly sounded like Guldager again! An author's voice can drift dramatically mid-book.
- Smoothing out lucky (or unlucky) word lists: A single fixed word list might accidentally over-index on a few quirky words where two different authors happen to overlap. Resampling creates hundreds of slightly different lexical viewpoints, allowing the true underlying signal to emerge in the average.
Key Results
- Whole-novel accuracy: Testing classical Delta (200 MFW) in a round-robin setup correctly matched 27 of the 29 novels (93.1% raw accuracy, or 90.3% using a conservative add-one adjustment), stumbling on two books (
Guldager1andHøeg1). Using Delta resampling (316 MFW pool $\rightarrow$ ~200 distinct words per draw, $B = 500$) eliminated both errors, hitting 29/29 on that setup. - Robustness across settings: Across five other feature-size experiments (scaling from ~100 up to ~800 distinct words), classical Delta made 6 total errors; resampling cut that error rate in half to 3.
- Chunk-level boost: On those 16 tricky passages inside
Guldager1where classical Delta failed, resampling didn't magically rank the true author first every time, but it improved the true book's average rank from 3.7 up to 2.7.
Limitations and Future Work
There is no free lunch in computation: running Delta 500 to 1,000 times instead of once obviously requires extra processing time. More importantly, the author is candid that resampling is an upgrade, not a silver bullet—it does not guarantee 100% accuracy across all parameter settings, and stylometry still doesn't hold a candle to the certainty of forensic DNA testing. However, because this feature-resampling trick sits cleanly on top of the vocabulary list, future work could easily port it over to improve other authorship attribution algorithms beyond Delta.
Summary updated