Authorship Attribution of Canonical Texts

Machine Learning
Introduced by
Tradition from Mosteller & Wallace and A. Q. Morton; Pauline corpus revisited by Jacques Savoy
Year
2019
Type
Classification/verification pipeline assigning disputed texts to candidate authors
Family
Computational authorship analysis / forensic philology

What does it do?

Authorship attribution of canonical texts uses computational stylometry to test who wrote disputed sacred and classical writings, most prominently the thirteen New Testament letters that bear Paul's name.

Scholars have long debated how many of these letters Paul actually wrote, with estimates ranging from four to thirteen and a majority favouring seven. The method profiles each author's style from features such as function-word frequencies, then either assigns a disputed text to the closest candidate or tests whether it could belong to a claimed author against a set of impostor authors. Jacques Savoy's 2019 study applied Burrows's Delta and an impostors test to the Pauline corpus and found that Colossians-Ephesians and Titus with 1 and 2 Timothy each appear to be by a single author who does not seem to be Paul.

The intuition behind the method

When a text claims a famous author but scholars suspect a later hand, one common test is style. Writers tend to use small, frequent words and constructions in habitual ways, often without deliberate choice, and an imitator may not reproduce these habits consistently across a whole text. This is a working assumption of the method rather than a guarantee, since a deliberate imitator can copy an author's habits, so stylometry yields probabilistic evidence rather than proof. Stylometry thus compares the disputed writing with texts securely by each candidate. For the Pauline letters the question is concrete: do the contested letters use these small features as the undisputed letters do, or do they pattern together, as if from a different author? Modern practice also asks whether a match is better than a match to a set of unrelated impostor authors, rather than simply picking the closest candidate.

History

Computational attribution builds on earlier stylometric work on disputed texts. John Burrows's 2002 article in Literary and Linguistic Computing presented Delta, a measure based on the relative frequencies of very common words, and reported trials of its accuracy for texts of different lengths and genres. Jacques Savoy's 2019 article in the Journal of the Association for Information Science and Technology revisited the Pauline corpus using Delta and Labbé's intertextual distance, together with an impostors-based verification test.

When to use it

Use computational attribution when a canonical or classical text is ascribed to a named author, when a substantial body of text securely by that author exists for comparison, and when the question is whether the style is consistent with that author. Cases like the Pauline letters, where several groupings are debated, fit well, provided the texts are long enough and in the original language. Do not rely on it for very short fragments, for heavily translated or edited works where the author's signal is diluted, or where no adequate undisputed sample exists. Use impostor-based verification when the true author might not be among the candidates. Stylistic results should inform, not replace, historical and theological assessment, because stylistic difference has many possible causes besides a change of author.

Limitations and considerations

  • Short texts give weak signals. Burrows describes Delta as comparatively accurate for texts exceeding about 1,500 words, and as useful for narrowing the field of likely candidates for texts of around 100 words.
  • Delta works least well with texts of a genre uncharacteristic of their author, and in one case with texts separated by a long literary career.
  • Stylistic differences can stem from genre, occasion, secretarial influence, or co-authorship rather than from a different author.
  • Working from translations confounds the author's style with the translator's, so attribution depends on access to the original language.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Gives long-running authorship debates quantitative comparisons that other analysts can check against the same texts.
  • Compares frequent function words, which are used habitually and are generally assumed to vary less with subject matter than content vocabulary; this is a working assumption to be checked on known-author texts rather than a guarantee.
  • The impostors test avoids forcing a disputed letter onto the nearest candidate when the real author may be absent, as Savoy's Colossians-Ephesians result illustrates.
  • Hierarchical clustering can reveal groupings among a corpus, such as the four Pauline clusters, without those groupings being defined in advance.

Applications

  • Testing which of the New Testament letters attributed to Paul are stylistically consistent with his undisputed writings.
  • Detecting pseudonymous or forged works within a canonical corpus.
  • Distinguishing collaborative or secretary-influenced composition from single authorship.
  • Verifying disputed attributions of classical and patristic texts against candidate authors.
  • Grouping a corpus into stylistically coherent authorial clusters to inform compositional history.

How it works

How it works

1

For each candidate author, the pipeline gathers undisputed text large enough to characterise that author's style, and the disputed text is set aside as the questioned document. In the Pauline case, letters generally accepted as Paul's, such as Romans, Galatians and the Corinthian correspondence, can serve as the reference for Paul, and the contested letters are tested against that baseline. The choice of reference set has to be justified on historical and stylistic grounds. Clusters derived from the same letters should not be reused as references for testing those letters, since the test would then partly rely on its own result. Choosing genuinely undisputed references and matching language and genre matters, because every later judgment compares the disputed text against this baseline.

Formula
\mathcal{A} = \{A_1,\dots,A_K\},\ A_k = \text{undisputed texts of candidate } k;\ D = \text{disputed text}
2

Each text is reduced to a numeric style profile. The core features are the relative frequencies of very common words, chiefly function words, as in Burrows's Delta. Richer analyses may add character or word n-grams and part-of-speech patterns. These features are used habitually and largely independently of subject matter, so they capture something closer to an authorial pattern than to the topic of a particular letter. The same features are extracted in the same way from the reference texts and the disputed text, so that all documents can be compared in a common stylistic space.

Formula
\phi(T) = \bigl(x_1,\dots,x_n\bigr),\ x_i = \text{freq. of function word / } n\text{-gram / POS pattern in } T
3

Attribution can proceed by a distance rule, such as Burrows's Delta, which assigns the disputed text to the candidate whose profile lies nearest, or by a probabilistic classifier that estimates each candidate's probability given the disputed text's features. Savoy's 2019 study used Burrows's Delta together with Labbé's intertextual distance and hierarchical clustering. The resulting clusters were {Colossians-Ephesians}, {1 and 2 Thessalonians}, {Titus, 1 and 2 Timothy}, and {Romans, Galatians, 1 and 2 Corinthians}, with Philemon standing alone. Clustering groups letters by stylistic similarity; by itself it does not establish who wrote each group.

Formula
\hat A = \operatorname*{arg\,min}_{A_k}\ \Delta\bigl(\phi(D),\phi(A_k)\bigr)\ \ \text{or}\ \ \hat A=\operatorname*{arg\,max}_{A_k} \Pr(A_k\mid \phi(D))
4

The closest candidate is not necessarily the true author, and the real author may not be among the candidates at all. The impostors method therefore compares the disputed text with the claimed author and with a set of unrelated impostor authors. The claim is supported only if the disputed text is consistently closer to the claimed author than to the impostors across randomised feature subsets, which yields a verification score rather than a forced choice. The score is the probability given in the formula above, estimated as the proportion of randomised feature subsets in which the claimed author is closer than every impostor. Implementations differ in how many impostors and feature subsets they use, so these settings should be reported with any result. Savoy applied this strategy to the Pauline clusters, and it indicated that Colossians-Ephesians was written by one author who did not seem to be Paul, with the same conclusion for the Titus and Timothy cluster.

Formula
\text{score}(D,A) = \Pr\!\bigl[\Delta(D,A) < \min_{I\in\mathcal{I}}\Delta(D,I)\bigr]\ \text{over impostor set } \mathcal{I}
5

The accuracy formula gives the share of held-out texts of known authorship that are assigned to their correct author. Checks of this kind show how often the procedure is right and where the evidence is too weak to support a verdict, which limits over-claiming about authorship. The reliability of any single attribution depends on the length of the text, its genre, and the coverage of the reference corpus.

Formula
\text{acc} = \tfrac{1}{m}\sum_j \mathbb{1}[\hat A_j = A_j]\ \text{on held-out known texts};\ \text{report error/uncertainty}

Common pitfalls

  • Assigning a disputed text to the nearest candidate without verifying against impostors, assuming the true author is in the candidate set.
  • Ignoring that a secretary, amanuensis, or co-author could account for stylistic shifts within one author's letters.
  • Attributing on texts too short to produce stable feature frequencies.
  • Treating a stylistic mismatch as proof of forgery rather than as one possible cause of variation.
  • Reading clusters as a clean split between authentic and disputed letters; Savoy found that 2 Corinthians is related to 1 Thessalonians, which blurs that line.

Frequently asked questions

Why are the Pauline letters a classic test case?

Thirteen New Testament letters bear Paul's name, but scholars have long distinguished a core of letters generally regarded as Paul's from others whose authorship is contested on historical, theological, and stylistic grounds. Savoy's 2019 study found four clusters: Colossians-Ephesians; 1 and 2 Thessalonians; Titus with 1 and 2 Timothy; and Romans, Galatians, 1 and 2 Corinthians, with Philemon standing alone. The verification test indicated that Colossians-Ephesians and the Titus and Timothy group were each written by a single author who did not seem to be Paul, while the four-letter group was judged certainly to be by Paul. The study also found that 2 Corinthians is related to 1 Thessalonians, so the evidence does not produce a tidy split between undisputed and disputed letters.

What is the impostors method and why does it matter?

The impostors method addresses open-set verification, where the true author of a disputed text might not be among the candidates. Instead of simply picking the nearest candidate, it compares the disputed text against the claimed author and against a set of unrelated impostor authors, repeatedly and over randomized subsets of features. The claim is supported only if the text is consistently closer to the candidate than to the impostors. This prevents the common error of forcing every document onto whichever candidate happens to be nearest, and it yields a score that expresses how consistently the candidate is preferred, rather than an unconditional verdict.

Can stylistic differences be explained by something other than a different author?

Yes, and this is the chief caution in scriptural attribution. A single author writes differently across genres, occasions, and stages of life, and ancient letters were often dictated to a secretary or shaped by a co-sender, any of which can move the stylistic profile. Heavy later editing and, above all, working from translation rather than the original language can also distort the signal. For these reasons careful studies validate on known-author texts, use verification rather than mere nearest-match, and present stylometric findings as one strand of evidence to be weighed with historical and theological analysis, not as a standalone proof of forgery.

Related methods

Sources

  1. Savoy, J. (2019). Authorship of Pauline epistles revisited. Journal of the Association for Information Science and Technology, 70(10), 1089-1097.

    Open DOI reference
  2. Burrows, J. (2002). 'Delta': a Measure of Stylistic Difference and a Guide to Likely Authorship. Literary and Linguistic Computing, 17(3), 267-287.

    Open DOI reference