---
title: "The Topic Confusion Task — paper by Altakrori et al. (2021)"
description: "How the topic confusion task separates topic-driven authorship errors from style failures, and what its controlled experiments reveal."
canonical: "https://research.elamur.ai/free/en/papers/altakrori-2021-topic-confusion-task-novel-evaluation/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/altakrori-2021-topic-confusion-task-novel-evaluation/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / The Topic Confusion Task: A Novel Evaluation Scenario for Authorship Attribution

# The Topic Confusion Task: A Novel Evaluation Scenario for Authorship Attribution

Paper · 2021 · Malik Altakrori, Jackie Chi Kit Cheung and Benjamin C. M. Fung

**Authors:** [Malik Altakrori](https://md.research.elamur.ai/free/en/authors/malik-h-altakrori/), [Jackie Chi Kit Cheung](https://md.research.elamur.ai/free/en/authors/jackie-chi-kit-cheung/) and [Benjamin C. M. Fung](https://md.research.elamur.ai/free/en/authors/benjamin-c-m-fung/) · **Year:** 2021 · **Venue:** Findings of the Association for Computational Linguistics: EMNLP 2021 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Findings of the Association for Computational Linguistics: EMNLP 2021 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.findings-emnlp.359/)
- [PDF](https://aclanthology.org/2021.findings-emnlp.359.pdf)
- [DOI 10.18653/v1/2021.findings-emnlp.359](https://doi.org/10.18653/v1/2021.findings-emnlp.359)

## What it is about

How the topic confusion task separates topic-driven authorship errors from style failures, and what its controlled experiments reveal. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

An authorship system can appear to recognize a writer while mainly recognizing what that writer discusses. If an author’s available articles concern politics, political vocabulary may become a convenient substitute for evidence about writing style. That shortcut becomes dangerous when an anonymous document discusses a different subject. “The Topic Confusion Task” investigates this problem by changing the association between authors and topics deliberately, then examining where incorrect predictions go. Its central contribution is an evaluation design that makes some effects of topic dependence easier to observe than an overall accuracy score would allow.

The authors divide candidate writers into groups. During training, each group contributes documents about a different topic. During testing, those topic assignments are exchanged: the authors remain candidates, but their test documents concern the topic previously associated with the other group. A predictor that follows topical vocabulary is therefore encouraged toward the wrong group. The evaluation separates correct attribution, mistakes involving another author in the correct group, and mistakes involving an author across the group boundary. This distinction gives researchers a way to ask whether a representation resists the manipulated topical association, rather than merely whether it produces enough correct answers.

The experiments use a curated version of the Guardian authorship dataset. The collection contains 508 articles, covering 4 topics and 13 authors. The authors compare conventional document features with approaches based on pretrained representations. Their main finding is that structural and stylistic information remains valuable even when it performs less well in isolation. Combining stylometric measurements with sequences of part-of-speech tags reduces susceptibility to the topic switch. Adding these features to lexical representations produces stronger attribution results. In the conventional cross-topic evaluation, the combination of stylometry, part-of-speech sequences, and word sequences reaches a reported accuracy of 83.3%.

The pretrained approaches perform substantially worse in the topic-confusion experiment. Their errors disproportionately cross the deliberately constructed group boundary, indicating sensitivity to the topical association learned during training. Simple word-sequence features can outperform them, while combinations that include grammatical and stylometric information perform better still. These results concern the particular pretrained systems, training procedures, and document collection tested; they do not establish that every use of pretraining must fail at authorship attribution.

The broader lesson concerns [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/). A score can show that a system succeeds without showing what evidence makes it succeed. By arranging for a plausible shortcut to point towards an identifiable class of wrong answers, the paper turns part of the error distribution into a diagnostic instrument. Its error categories are informative because of that experimental construction. They should nonetheless be read as evidence about behavior under a controlled topic swap, rather than as a complete explanation of every individual attribution mistake.

### Ideas worth borrowing

Construct a conflict between the target and a shortcut. Ordinary test data can preserve the same correlations that made an unreliable strategy attractive during training. The paper instead makes topical association conflict with author identity. That conflict reveals dependence that a friendly test distribution could conceal. The principle transfers to document classification, source identification, and other tasks where an easily recognized property may stand in for the intended target. The useful intervention is specific: identify the suspected shortcut, then arrange a test where following it leads somewhere distinguishable.

Record the destination of an error. Incorrect predictions are often pooled together, although their destinations can carry different meanings. Here, crossing the author-group boundary is especially informative because the topic exchange points in that direction. A similar analysis can help wherever candidate answers have a structure established before testing. The categories should follow the experimental question, rather than being invented afterwards to explain an attractive result. Their value comes from connecting a known manipulation to an observable prediction pattern.

Separate resistance to distraction from sufficient information. A representation can ignore a nuisance factor yet still fail to distinguish the intended classes. Stylometric features illustrate this distinction: relatively limited topic sensitivity does not automatically produce the highest attribution accuracy. This matters when evaluating privacy transformations, invariant representations, or interpretable feature sets. Researchers should ask both whether unwanted information has been reduced and whether enough useful information remains to solve the task.

Combine evidence with different weaknesses. Lexical sequences, grammatical sequences, and document-level stylistic measurements capture different aspects of writing. Their combination can improve performance because each contributes information that the others leave incomplete. The paper tests this complementarity rather than assuming that the strongest individual representation should replace the rest. The same reasoning applies to systems that combine rules, structural observations, and learned scores: complementary failure patterns can matter more than isolated rankings.

Treat dataset repair as part of experimental design. Incorrect topic labels, author names embedded in articles, and uneven document coverage can undermine a carefully designed evaluation. The authors retrieve original material, check labels, remove unsuitable articles, and seek more balanced coverage. These steps matter because the experiment depends on knowing which association was changed. In other settings, an intervention is only interpretable when unrelated collection artifacts have been controlled sufficiently to keep them from explaining the outcome.

Keep diagnostic information outside the predictor. Topic labels and author-group assignments organize the experiment, but the classifier does not receive them. This separation lets the evaluator use richer information to interpret behavior without granting the predictor an artificial advantage. The idea is reusable in controlled testing of linguistic systems: metadata may identify why a test is difficult while remaining unavailable to the component being assessed.

Compare systems under their actual information access. Some author-profile settings normalize scores using the unlabeled test collection, while others use training material. The paper reports these separately and questions whether access to a whole test collection matches practical attribution. This is a general lesson about evaluation fairness. A score is meaningful only together with the information available when the decision was made, including unlabeled data that may still influence the result.

### How Mova uses it

Mova is a small language system implemented in Rust, with explicit parsing, grammatical interpretation, world representations, and bounded operational tools. The connections below concern ways its existing mechanisms could support the paper’s evaluation ideas. They do not establish that Mova implements the topic-confusion task or performs authorship attribution. The status marks describe proposed relationships to the documented mechanisms; a mark of novelty remains provisional because the available implementation record is incomplete. Effects on Mova remain unknown until an appropriate experiment measures them.

Idea: Make a suspected shortcut contradict the intended answer. Where: Section 3.2 and Figure 3. Area: evaluation design. Mova: нове. A proposed test could associate a source topic with one answer pattern during development, then reverse that association while preserving the linguistic distinction being tested. This would examine whether a reader follows the relevant frame or a convenient topical cue. No implementation of this specific reversal test is established. Why Mova: its explicit rules make a detected shortcut actionable, because the responsible feature or condition can be inspected and revised.

Idea: Classify errors by their experimentally meaningful destination. Where: Section 3.2. Area: evaluation and diagnosis. Mova: частково є (world/src/knowledge/retention/fastread.rs). Mova’s fast-reading analysis already distinguishes several kinds of failure, including problems with representation, inference, parameters, and parsing. The paper suggests adding categories tied to a deliberate intervention, such as predictions drawn towards a swapped source group. Existing diagnostic categories and experimentally constructed error destinations would answer different questions. The proposed extension has no established measurement.

Idea: Measure nuisance resistance separately from task competence. Where: Section 7.1, discussion of stylometric and character-sequence features. Area: evaluation. Mova: частково є (prag/src/eval.rs; world/src/knowledge/retention/fastread.rs). Mova already has confidence analysis and reader diagnostics. A further evaluation could report both sensitivity to irrelevant topic changes and success on the underlying interpretation. This would prevent an insensitive but uninformative reader from appearing robust merely because it makes the same mistakes across conditions. The paper supports the distinction; its usefulness for Mova remains a hypothesis.

Idea: Combine observations that fail differently. Where: Sections 5.1 and 7.1. Area: syntax and decision rules. Mova: частково є (en, prag, world; peta/tools/treeagree/README.md). Mova combines linguistic layers and has rule-governed agreement among parser outputs. The transferable proposal is to measure whether adding grammatical observations to lexical evidence specifically reduces shortcut-related errors. Existing combinations do not demonstrate that effect. A Mova experiment would need to preserve the decision procedure while adding or removing the relevant evidence.

Idea: Repair the corpus before interpreting a controlled comparison. Where: Section 4 and Appendix A. Area: data quality. Mova: вже є (tools/sources/README.md; tools/dictindex/README.md). Source manifests, provenance records, immutable source versions, and dictionary-index restrictions already address important parts of this principle. The paper reinforces why these mechanisms matter experimentally: a wrong label or accidental identity clue can imitate the behavior being investigated. Their existence does not establish that every Mova corpus has undergone an equivalent manual authorship-and-topic audit.

Idea: Reserve diagnostic metadata for the evaluator. Where: Figure 3 and Section 6. Area: assessment separation. Mova: вже є (world/src/knowledge/retention/fastread.rs; tools/enrich/README.md). Mova’s fast reader answers before scoring consults prepared answers, and its enrichment process separates assessment material from admitted training. Topic-confusion-style evaluation would apply the same boundary to group assignments and nuisance labels. The evaluator could use those labels to explain an error without making them available to the reader.

Idea: Declare access to unlabeled evaluation material. Where: Section 5.2, author-profile normalization. Area: evaluation protocol. Mova: частково є (world/src/knowledge/retention/fastread.rs; world/src/knowledge/retention/mice.rs). Mova distinguishes reading a document directly from answering through a prepared graph. The paper suggests making every such information-access difference explicit in comparisons, including access to other evaluation documents. Existing reading modes provide a foundation, but no equivalent author-profile normalization comparison is established.

Idea: Vary source associations while preserving the target label. Where: Section 3.1 and Figure 2. Area: statistical assumptions. Mova: нове. Beyond topic swapping, a proposed Mova assessment could vary the relationship between a linguistic label and source-domain metadata. For example, source membership should not become a substitute for evidence that a sentence expresses a particular relation. The exact intervention would need a separately specified task and admissible data. Why Mova: source-aware tools already retain the metadata needed to identify associations that deserve testing.

Idea: Treat grammatical patterns as useful evidence in their own right. Where: Sections 5.1 and 7.1. Area: syntax. Mova: вже є (en; prag; docs/architecture.md). Mova’s native interpretation already depends on grammatical structure rather than whole-line lexical matching. The paper supplies a related reason to evaluate structural information separately: grammatical sequences can behave differently from topical vocabulary. This does not mean Mova’s dependency-based mechanisms inherit the paper’s authorship results. The connection concerns an existing architectural choice and a proposed way to test its contribution.

Idea: Preserve surface distinctions when the task needs them. Where: Section 7.1, discussion of spelling variants. Area: lexical representation. Mova: частково є (en token, lemma, and tag representations; tools/dictindex/README.md). Mova retains exact sentence evidence alongside normalized lemmas in its dictionary index. The paper suggests checking whether normalization removes a distinction needed by a particular task. For attribution, spelling variation may matter even when meaning remains similar. For Mova, the appropriate balance would depend on the consumer of the representation.

Idea: Use masking as a controlled probe of lexical dependence. Where: Section 5.1 and Section 7.1. Area: data transformation and evaluation. Mova: нове. A proposed diagnostic could suppress selected lexical content while retaining document arrangement, then compare a native reader’s decisions. This would test dependence on the removed material; it would not automatically create a better reader or preserve every relevant meaning. No matching masking experiment is established. Why Mova: it could reveal whether an apparently structural decision still depends heavily on topic-specific words.

Idea: Keep an external masking reference separate from the task corpus. Where: Section 5.1, use of British National Corpus frequencies. Area: data provenance. Mova: частково є (tools/sources/README.md; tools/dictindex/README.md). Mova already distinguishes source identities and credits. If it adopted a frequency-based diagnostic transformation, the reference frequencies should carry their own provenance instead of being silently estimated from assessment material. The paper’s use of an external frequency source motivates this separation, although it does not establish an ideal reference corpus for Mova.

Idea: Make preprocessing changes auditable. Where: Appendix A and the ethics discussion. Area: reproducibility. Mova: вже є (tools/sources/README.md; tools/dictindex/README.md). Mova’s manifests and immutable source epochs support an explicit record of what material was used and how changed inputs are represented. The paper’s manual corrections suggest retaining similarly precise records for human edits. Existing source infrastructure supports the principle; equivalence to the paper’s documented cleanup procedure has not been demonstrated.

Idea: Remove direct answer clues before studying indirect evidence. Where: Section 9, discussion of manual inspection. Area: data leakage. Mova: частково є (tools/dictindex/README.md; tools/enrich/README.md). Mova excludes assessment text from dictionary indexing and maintains separate training admission. A related audit could search task inputs for direct label disclosures that make a benchmark easier without exercising the intended mechanism. The paper’s author-name removal concerns identity leakage, while Mova would need task-specific checks for its own labels.

Idea: Balance coverage of the factors being manipulated. Where: Section 4 and Appendix A. Area: sampling. Mova: частково є (tools/dictindex/README.md, source-domain strata). Mova can record source domains and report coverage, but that is different from constructing balanced experimental cells. A proposed benchmark should check whether each relevant label appears across the source conditions used in an intervention. Otherwise, missing coverage could be mistaken for a failure to resist the nuisance factor. No general balanced-domain evaluation is established.

Idea: Use equal comparison groups when unequal groups obscure interpretation. Where: Section 6. Area: statistics and experimental design. Mova: нове. A proposed diagnostic could form groups with comparable candidate counts so that error destinations have a simpler chance interpretation. This would be useful only when grouping is part of the experiment; operational data need not be artificially balanced. The exact grouping policy and its effect are unknown. Why Mova: transparent group construction would make diagnostic counts easier to inspect alongside deterministic decision traces.

Idea: Repeat the association assignment rather than trusting one arrangement. Where: Section 6. Area: evaluation stability. Mova: частково є (README.md, deterministic repeated runs; prag/src/eval.rs). Mova already checks repeatability and performs cross-validation in pragmatic evaluation. The paper adds a distinct question: whether a conclusion survives different assignments of items to experimental groups. Repeating the same deterministic run establishes reproducibility, while varying the configuration probes dependence on the selected arrangement. A Mova extension should report these as separate checks.

Idea: Keep tuning conditions separate from the final intervention. Where: Sections 3.2 and 6. Area: validation design. Mova: вже є (docs/training.md; tools/enrich/README.md). Mova’s held-out gates and assessment separation already reflect this principle. The topic-confusion setup offers a concrete version in which unused topics supply validation material before testing the swapped association. A transfer should preserve the reason for that separation instead of copying the split mechanically into an unrelated task.

Idea: Retune feature subsets when comparing their contribution. Where: Appendix D, cross-topic ablation study. Area: ablation methodology. Mova: частково є (world self-play and held-out change gates). Mova evaluates proposed changes before admission, but the digest does not establish that every feature-removal comparison retunes the remaining configuration. The paper’s ablation procedure suggests doing so where parameter choices depend on the available features. Otherwise, a removed feature may be blamed for damage caused in part by unsuitable settings.

Idea: Pair aggregate scores with a mechanism-focused comparison. Where: Section 7.2, comparison of POS sequences and BERT author profiles. Area: interpretability. Mova: вже є (prag/src/eval.rs; world/src/knowledge/retention/fastread.rs). Mova already reports analyses beyond overall correctness. The paper reinforces the value of choosing a diagnostic that addresses a specific competing explanation. Similar aggregate performance can conceal very different sensitivities, so any proposed Mova extension should connect its diagnostic to an explicit hypothesis.

Idea: Match a representation to the distinction the task requires. Where: Section 7.1, discussion of contextual representations and spelling. Area: representation design. Mova: частково є (en; prag; world; tools/lobster). Mova maintains different structures for tokens, frames, and world changes, and its interchange diagnostics examine information loss. The paper suggests testing each boundary against the distinctions required downstream. A representation suitable for meaning-based comparison may discard variation useful for another task. No universal choice follows from the authorship experiment.

Idea: Report the information retained by an incomplete feature set. Where: Section 7.1, stylometric-feature analysis. Area: diagnosis. Mova: частково є (world/src/knowledge/retention/fastread.rs). Mova’s reader analysis distinguishes missing representation from other failure classes. A further test could show that a representation has successfully suppressed one nuisance while still lacking enough target information. This would guide repairs towards missing structure rather than restoring a shortcut. The proposed diagnosis would need evidence from controlled comparisons.

Idea: Separate individual-document decisions from collection-dependent decisions. Where: Section 5.2. Area: deployment assumptions. Mova: частково є (world document state; retention readers). Mova’s readers operate with declared document and retained-state inputs. The paper encourages a more explicit distinction between a decision based on one document and a decision calibrated using a collection containing that document. Any comparison should identify that difference before attributing a score change to a stronger linguistic mechanism.

Idea: Preserve rights and retrieval provenance during corpus reconstruction. Where: Appendix A and Section 9. Area: source management. Mova: вже є (tools/sources/README.md; tools/dictindex/README.md). Mova already records licenses, citations, source identities, and immutable versions. The paper’s distribution of retrieval information rather than article bodies is a concrete example of adapting reproducibility to source rights. The general connection is established; the permissible distribution format for any particular Mova source still depends on that source’s terms.

Idea: Evaluate privacy transformations with shortcut-aware tests. Where: Section 9, discussion of anonymization. Area: privacy evaluation. Mova: нове. If Mova were used to study text anonymization, a proposed assessment should ask whether attribution has been weakened across controlled topic conditions rather than only on an ordinary split. The paper identifies anonymization as an application of better authorship diagnostics, but reports no such Mova implementation. Why Mova: an explicit linguistic representation could help relate a transformation to the stylistic evidence it preserves or removes.

Idea: Treat diagnostic interpretations as claims requiring boundaries. Where: Sections 3.2 and 7.1. Area: reasoning about evidence. Mova: частково є (docs/hybrid-system.md; typed evidential information in prag/src/frames.rs). Mova already distinguishes different kinds of evidence and limits what a successful observation establishes. A topic-confusion report should similarly distinguish an observed cross-group prediction from a conclusive explanation of its cause. The controlled setup supports an interpretation, but a single prediction may remain compatible with several mechanisms.

### The problem and its context

Authorship attribution asks which candidate writer most plausibly produced an anonymous document. The candidate set is closed: the task assumes that the answer belongs among the supplied authors. This makes attribution a form of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/), but the desired evidence differs from that in ordinary subject classification. A topical classifier should recognize what a document discusses. An authorship classifier should recognize recurring characteristics of a writer, including characteristics that persist when the subject changes.

The distinction is difficult because a writer’s subject matter and writing habits arrive together in the same text. Political vocabulary, preferred sentence structures, spelling conventions, punctuation, and habitual function words can all contribute to a document representation. A learning procedure receives author labels, not a clean separation between stylistic and topical information. If topic helps predict an author in the training collection, the procedure has little reason to avoid it.

The paper presents this as a problem of entanglement. Features intended to describe style may also encode topic. High attribution accuracy can therefore have competing explanations. A method may recognize stable writing habits, exploit subject-specific vocabulary, or combine both. Ordinary evaluation often ranks these methods without establishing which explanation dominates.

The authors motivate the need for clearer evidence partly through consequential applications. They discuss the use of authorship techniques in criminal investigation and the possibility that an attribution result may need explanation in court. A plausible author selected because of shared subject matter is different from a plausible author selected through persistent stylistic evidence. The practical concern is not merely that errors occur, but that a misleading account of the evidence may accompany them.

#### What earlier evaluation established

The paper distinguishes same-topic and cross-topic testing. In a same-topic evaluation, training and testing draw on topics that are available in both phases. This arrangement can make attribution easier because the topical environment remains familiar. It can also allow a topical association learned during training to remain helpful during testing.

Cross-topic evaluation changes the subject between training and testing. The authors describe this as more realistic and note that established attribution methods can lose substantial performance under it. Such a result exposes a generalization problem: whatever the system learned did not transfer reliably to the new topical setting.

However, a lower score alone does not explain the failure. Perhaps the features were strongly topical. Perhaps the new documents express stylistic differences that the representation does not capture. Perhaps the candidate authors are difficult to distinguish even after topical influence has been reduced. An ordinary cross-topic score combines these possibilities.

The proposed task addresses this gap by giving topic dependence a predicted direction. The topic is no longer simply unfamiliar. Instead, it is familiar from training but associated with another group of authors. If test documents are drawn toward that group, the error pattern becomes evidence about the training association.

#### The feature tradition behind the comparison

The paper’s account of earlier work begins with manual examination of writing patterns and studies of word lengths and frequencies. It then describes computational attribution using function-word frequencies and a Naïve Bayes classifier. These examples establish a longstanding interest in relatively simple measurements of how people write.

Later approaches expanded the feature inventory, adapted methods to languages or communication settings, and explored different classifiers. The paper also identifies work on cross-language, cross-genre, and cross-topic attribution. These settings vary what changes between known examples and the document being investigated.

A major baseline family uses character or word [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/): short contiguous sequences of characters or words. Such representations can capture spelling patterns, common expressions, and local regularities without an elaborate linguistic analysis. They can also capture subject vocabulary directly, which makes their role in topic-sensitive attribution especially important.

Another approach masks selected words before extracting sequences. The earlier masking work described by the authors retains frequent words while obscuring other lexical content. Its purpose is to reduce topical information while preserving enough textual structure to support attribution.

The paper also considers pretrained contextual representations. Its discussion of previous author-profile approaches includes [ELMo](https://md.research.elamur.ai/free/en/papers/peters-2018-deep-contextualized-word-representations/), [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/), and other pretrained systems. Separate author profiles evaluate how well each candidate’s learned distribution fits a document. The present experiments include BERT and [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/) in both profile-based and direct classification settings.

The paper does not reject these traditions in advance. It places them under a diagnostic comparison designed to reveal whether success depends on the intended stylistic evidence or on the manipulated topical association.

### The method, step by step

The method has an experimental component and a predictive component. The experimental component constructs the relationship between authors and topics. The predictive component is an attribution system trained without being told how that relationship was constructed. The same experimental arrangement can therefore test several feature families.

Constructing and evaluating topic confusion The steps in order.

#### The probabilistic motivation

The paper begins with a simplified description of document production. A document depends on an author, a topic, and the language conventions used to express the content. The theoretical equations focus on author and topic while leaving the language component outside the displayed factorization.

Under the initial independence assumption, the joint distribution is written as follows:

```
P(A, T, D) = P(A)P(T)P(D | A, T)
```

Here, A denotes the author variable, T the topic variable, and D the document variable. P indicates probability. P(A) is the author distribution, P(T) is the topic distribution, and P(D | A, T) describes the probability of a document conditional on its author and topic. The factorization assumes that author and topic have independent prior distributions.

Attribution reverses the direction of this description. Given a document, the system must evaluate candidate authors:

```
P(A = a | D) ∝ Σ_t P(A = a)P(T = t)P(D | T = t, A = a)
```

The lower-case a denotes a particular candidate author, while t ranges over topic values. The summation combines possibilities across topics. The proportionality sign means that the displayed expression determines relative author probabilities before the common normalization needed to obtain a probability distribution over candidates.

The paper discusses same-topic evaluation using an author-independent topic distribution. When the topic is fixed, its contribution does not distinguish candidates in the same way that an author-dependent topical association would. The theoretical purpose of this discussion is to expose the assumptions that ordinary evaluation leaves implicit.

The proposed setting allows the topic distribution to depend on the author:

```
P(A, T, D) = P(A)P(T | A)P(D | A, T)
```

The changed term is P(T | A), the topic distribution conditional on author identity. The other symbols retain their earlier meanings. This formulation allows different authors to be associated with different topical distributions.

The corresponding attribution expression becomes:

```
P(A = a | D) ∝ Σ_t P(A = a)P(T = t | A = a)P(D | T = t, A = a)
```

P(T = t | A = a) now represents the topical association for the particular author under consideration. The experimental intervention changes this association between training and testing.

These equations motivate the evaluation instead of specifying the implementation of every compared classifier. The linear classifiers and pretrained systems do not all explicitly estimate each factor. The shared question is whether their learned decisions behave as though the training-time author–topic association remains trustworthy after the experiment reverses it.

The authors also give an intuitive reason not to regard topic and author as entirely separate. A topic may make some vocabulary likely, but an individual writer chooses among those possibilities. Limited document length and alternative ways of wording an idea mean that different writers need not realize the same topic distribution identically. Topic content and author choice can therefore interact within the text.

#### Constructing the groups and splits

The general setup requires N authors and T topics, with N ≥ 4 and T ≥ 3. The authors seek approximately comparable document coverage for each author across topics. That requirement matters because the experiment should change the topical association without simultaneously depriving selected authors of training material.

The candidate authors are divided into equally sized groups. One selected topic supplies training documents for the first group; another selected topic supplies training documents for the other group. Every candidate author is represented during training, but the topic associated with that author depends on group membership.

Testing exchanges these assignments. Authors trained through documents on one topic are evaluated through documents on the other. The identities remain the same, while the topic previously associated with the opposite group becomes the topic of the current test document.

Unused topics provide validation data. Those documents support hyper-parameter selection before the final swapped-topic test. Figure 3 illustrates the arrangement with 4 authors and 4 topics, although the experiments use a larger candidate set.

The topic labels and group assignments belong to the evaluator. They are used to distribute documents and calculate diagnostic scores. The attribution classifier receives neither the topic labels nor the group configuration. This prevents the diagnostic construction itself from becoming an extra predictive feature.

#### Interpreting the error categories

The first reported quantity is the percentage of correct predictions. A prediction contributes here when its author label matches the actual author.

A same-group mistake names an incorrect author who belongs to the actual author’s experimental group. Because all authors in that group share the same assigned training topic, this error does not follow the most direct attraction created by the topic exchange. The paper interprets such errors as reflecting incomplete stylistic discrimination or similarity among writers.

A cross-group mistake names an author from the other group. In the test configuration, that other group is the group whose training documents used the current document’s topic. This is the prediction direction expected when a system follows the old topical association.

All categories use the full evaluated sample count as their denominator. The error percentages are therefore not percentages calculated only among failures. This makes them directly comparable as portions of the evaluated predictions.

The interpretation depends on the construction. A cross-group error is informative because the experiment has arranged for topical attraction to point across that boundary. It is not a direct observation of the internal reason behind a particular prediction. Conversely, a same-group error does not establish that topic had no influence whatsoever. The categories reveal a structured behavioral tendency.

#### Building the Guardian collection

The authors revisit the Guardian dataset because the experiment requires reliable author and topic assignments. They report retrieving 381 original documents from the newspaper website and checking their associated metadata.

Documents were excluded when the topic was incorrect, when an article fell under multiple relevant topic categories, or when multiple people co-authored it. The authors then used the Guardian API to locate further material, aiming for 10 documents for each author on each topic.

The resulting collection is more balanced, but not perfectly balanced. Society remained difficult to fill for some authors. That residual imbalance is recorded rather than treated as if the collection had achieved complete symmetry.

The authors also inspected document content for information that could reveal identity directly. Their ethics discussion mentions removing author names from article bodies and documenting manual changes. These edits serve a different purpose from topic balancing: they reduce the chance that attribution becomes direct name recognition.

The distribution procedure respects the Guardian API conditions as described in the paper. The authors provide article URLs and retrieval scripts instead of redistributing the article texts themselves. They also describe instructions and preprocessing information intended to make the collection procedure reproducible.

#### Conventional document representations

The conventional approach extracts a representation separately from each document and trains a linear support vector machine. The paper uses this document-level, instance-based approach throughout its comparisons of handcrafted features.

The stylometric representation contains 371 features. Its character-level measurements include document length, proportions of digits and upper-case letters, and frequencies of letters or special characters. Word-level measurements include token counts, word length, sentence length, short-word proportions, and vocabulary diversity. Additional measurements describe punctuation and function-word frequencies.

These features summarize tendencies in how text is written. They do not require the classifier to identify a document’s meaning. However, they are not guaranteed to be topic-free: document length, vocabulary diversity, and even punctuation can vary with subject matter or editorial practice.

The sequence-based representations operate at character, word, or part-of-speech level. A part-of-speech tag identifies a grammatical category such as noun or verb. Sequences of such tags retain aspects of local grammatical arrangement while replacing individual lexical choices with grammatical categories. The authors obtain tags using [Stanford CoreNLP](https://md.research.elamur.ai/free/en/papers/manning-2014-stanford-corenlp-natural-language-processing/).

Masking modifies a document before sequence extraction. Selected word characters become asterisks, while digits become number signs. Word selection depends on frequency information from the British National Corpus. After transformation, the document arrangement is reconstructed before character or word sequences are extracted.

The authors first combine stylometry with part-of-speech sequences, then add that combination to other representations. This procedure tests whether grammatical and summary information contributes something beyond the lexical evidence already captured by character or word sequences.

#### Pretrained attribution approaches

The direct classification approach places pooling and a classification layer above pretrained BERT or RoBERTa representations. Because the training collection is small relative to these systems, the authors freeze the pretrained representation layer and train the classifier above it.

This restriction is important to the result’s scope. The experiment is not a general comparison against every possible adaptation of BERT or RoBERTa. It evaluates a particular way to use their pretrained representations under limited training data.

The author-profile approach trains a separate predictive profile for each candidate. Each profile assigns an average perplexity score to an investigated document. Perplexity expresses how well the profile predicts the document’s words; lower values indicate a better fit under that profile.

The raw profile scores are normalized to compensate for differences among output layers. The normalization vector contains an average perplexity value for each profile, calculated on a normalization collection. The K setting uses training material. The U setting uses the unlabeled test collection.

The final author choice is the candidate with the lowest normalized score. The paper reports both normalization conditions, while observing that an investigator may have only one anonymous document instead of an entire test collection.

#### Repetition and tuning

For the topic-confusion evaluation, the authors generate 100 configurations. They randomize topic ordering, select 12 authors from the available 13, and allocate the selected authors to equal groups.

Using 12 authors keeps the group-related chance probabilities symmetrical. The paper gives a correct-author chance of 1/12, a same-group wrong-author chance of 5/12, and a cross-group wrong-author chance of 6/12. These are properties of the candidate arrangement, not measurements of a trained system.

Each configuration is repeated ten times to address classification randomness, except that the direct BERT and RoBERTa classifiers are trained only once. Reported topic-confusion results include average balanced accuracy and standard deviation.

Hyper-parameters are selected using validation material. The conventional feature search varies sequence lengths, frequency thresholds, and masking settings. The comparison therefore concerns tuned feature configurations, not a single arbitrary setting chosen for every representation.

### Experiments and results

The central empirical comparison asks whether the diagnostic task changes the interpretation of familiar attribution features. The answer is yes: representations with similar ordinary accuracy can show markedly different cross-group error, while a representation with modest standalone accuracy can become valuable when combined with others.

#### Dataset scope and evaluation conditions

The curated Guardian collection contains Politics, Society, UK, and World articles. Table 1 reports 130 articles for Politics, 118 for Society, 130 for UK, and 130 for World. It reports an average of 39.1 articles per author, with SD = 1.5, and an average of 127 articles per topic, with SD = 5.2.

The collection remains narrow in an important sense. These are newspaper articles, selected because the same authors have material under the required topic categories. The experiment does not compare independent communication media or establish performance on arbitrary anonymous text.

The conventional cross-topic experiment follows the earlier setup described by the paper: one topic supplies training data, another supplies validation data, and the remaining topics supply testing data. The authors evaluate 12 topic arrangements and report average overall accuracy.

This differs from topic confusion. Conventional cross-topic testing asks whether attribution transfers to held-out subjects. Topic confusion asks how predictions react when the training association between topic and author group becomes misleading. The resulting scores should be interpreted as measurements of related but distinct conditions.

#### Correct attribution under topic confusion

The first chart compares selected conventional feature settings. The starred setting has the strongest correct-attribution percentage among those displayed.

Extended Guardian topic-confusion task, correct attribution Combining grammatical and stylometric evidence with lexical features strengthens attribution.

**The numbers**

| System or setting | correct % |
| --- | --- |
| Stylometry | 63.1 |
| POS sequences | 72.0 |
| Stylometry + POS sequences | 79.6 |
| Character sequences | 70.1 |
| Word sequences | 62.5 |
| Masked character sequences + stylometry + POS | 83.1 |
| Masked word sequences + stylometry + POS (this paper) | 83.3 |

The combination of stylometry and part-of-speech sequences performs better than either component alone. The associated standard deviations in Table 2 are 4.2 for stylometry, 4.5 for part-of-speech sequences, and 4.0 for their combination.

Character sequences also outperform raw word sequences on this task. That result fits the authors’ account that both representations can capture subject matter, while character-level features are less strongly affected by the manipulated topic association.

Adding stylistic and grammatical information changes the lexical systems substantially. Character sequences combined with stylometry and part-of-speech information reach 76.8% correct attribution, with SD = 6.1. The corresponding word-sequence combination reaches 80.3%, with SD = 5.0.

Masking provides another route to stronger performance. The masked character representation alone reaches 79.5%, with SD = 5.6. The masked word representation alone reaches 76.8%, with SD = 5.7. Their combinations with stylistic and grammatical evidence occupy the strongest part of the reported topic-confusion results.

These outcomes show why isolated feature rankings can mislead. Stylometry is not the strongest standalone representation, yet its information is useful within a combined representation. The paper’s explanation emphasizes the reduction in errors associated with topical attraction.

#### Where the mistakes go

The cross-group error comparison is the clearest demonstration of the diagnostic task’s purpose. It identifies how often a wrong prediction follows the group direction made attractive by the training topic.

Extended Guardian topic-confusion task, cross-group error Grammatical and stylometric evidence reduces errors toward the topic-associated author group.

**The numbers**

| System or setting | cross-group error % |
| --- | --- |
| Word sequences | 29.6 |
| Character sequences | 23.2 |
| Stylometry | 21.2 |
| POS sequences | 16.6 |
| Stylometry + POS sequences | 12.1 |
| Masked word sequences + stylometry + POS (this paper) | 10.0 |

The comparison between stylometry and character sequences is especially revealing. Stylometry has lower correct attribution, yet it also has lower cross-group error. Its same-group error is 15.7%, compared with 6.8% for character sequences. The weakness is therefore not adequately described as greater topical confusion. The representation also lacks sufficient discrimination among authors who share the same experimental topic assignment.

Word sequences and character sequences have relatively similar same-group error: 7.9% and 6.8%, respectively. Their cross-group results differ more visibly. This supports the authors’ interpretation that raw word sequences are more vulnerable to the topical association in this setup.

Masking changes the error pattern in the expected direction. Masked character sequences have cross-group error of 13.8%, with same-group error of 6.8%. Masked word sequences have cross-group error of 15.3%, with same-group error of 7.9%. Compared with their unmasked counterparts, the same-group figures remain unchanged in the reported averages, while cross-group error declines.

The pretrained approaches show a different pattern. The direct BERT classifier reaches 33.1% correct attribution, with cross-group error of 47.0%. The direct RoBERTa classifier reaches 39.8% correct attribution, with cross-group error of 47.1%.

Author profiles improve on those direct classifiers, but remain strongly affected by the group switch. BERT profiles have cross-group error of 40.2% under training-based normalization and 39.6% under test-based normalization. The corresponding RoBERTa values are 35.1% and 34.3%.

These results support a specific empirical conclusion: the tested pretrained approaches retain a strong sensitivity to the experimental topical association. They do not identify the complete internal cause of that sensitivity.

#### Conventional cross-topic attribution

The conventional cross-topic results test whether the feature-combination lesson remains useful outside the diagnostic group reversal. The strongest reported combination includes stylometry, part-of-speech sequences, and word sequences.

Extended Guardian conventional cross-topic evaluation, accuracy The combined conventional features outperform the displayed pretrained profile settings.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Stylometry + POS sequences | 79.2 |
| Masked character sequences | 80.9 |
| Masked character sequences + stylometry + POS | 83.2 |
| Stylometry + POS + word sequences (this paper) | 83.3 |
| BERT profiles, test-based normalization | 71.1 |
| RoBERTa profiles, test-based normalization | 75.8 |

The standard deviations reported in Table 6 are 2.7 for stylometry with part-of-speech sequences, 2.6 for the strongest word-based combination, and 3.3 for masked character sequences augmented with stylistic and grammatical features.

The direct pretrained classifiers perform less strongly than the author-profile variants in this setting as well. Direct BERT classification reaches 37.5%, with SD = 3.5. Direct RoBERTa classification reaches 51.1%, with SD = 3.4. Training-normalized profiles reach 67.3% for BERT and 70.8% for RoBERTa.

The authors report a statistically significant comparison between the strongest combined word-based representation and the character-masking baseline, with P = 0.04. They also report that several other differences among strong feature combinations are not statistically significant. The evidence therefore supports the usefulness of combining feature families more clearly than it supports a firm ranking of every closely performing configuration.

A particularly instructive comparison concerns part-of-speech sequences and test-normalized BERT profiles. In ordinary cross-topic evaluation, their accuracies are close: 71.0% and 71.1%. Under topic confusion, their cross-group errors are 16.6% and 39.6%. The ordinary accuracy figures conceal a substantial difference in behavior under the controlled intervention.

### What the ablations show

The paper includes an explicit cross-topic feature ablation, alongside controlled comparisons of masking, representation type, and feature combination. These analyses address related questions, but they should not be treated as interchangeable. Removing a feature family tests its contribution to a combined system; exchanging topics tests sensitivity to a particular association.

#### Individual feature families are insufficient

Table 7 reports cross-topic accuracy of 61.2% for stylometry, with SD = 3.1. Part-of-speech sequences reach 71.0%, with SD = 3.2. Word sequences reach 77.7%, with SD = 2.7, while character sequences reach 77.3%, with SD = 2.8.

These results establish that the structural and summary measurements do not dominate lexical sequence features when used alone. A reader should therefore resist a simplified interpretation in which the paper proves that topic-resistant features are always the strongest features. Their standalone accuracy remains limited.

Combining stylometry with part-of-speech information raises the reported ablation accuracy to 79.2%, with SD = 2.7. The full word-based combination is reported in that table at 83.2%, with SD = 2.6. The main results and Table 6 instead give 83.3% for the corresponding combination.

The safe interpretation is that the combined representation performs best among the feature sets examined, while the paper contains a small inconsistency in the displayed value for that configuration. The discrepancy should remain visible rather than being silently resolved.

#### Combination helps beyond the strongest isolated component

The authors retune the relevant frequency and sequence-length settings during the ablation. This is important because an individual representation and a combined representation need not favor the same settings. The comparison attempts to evaluate each feature subset under a suitable configuration.

The appendix reports that a comparison between a word-sequence set and a stylometry-plus-grammar set is not statistically significant, with P = 0.21. It reports a significant comparison between the latter group and the fuller combination, with P \< 0.01.

The surrounding prose uses 79.3 for one of these sets, while Table 7 displays 79.2 for stylometry with part-of-speech sequences. That inconsistency limits exact reconstruction of the comparison from the reported summaries. It does not remove the broader pattern that complementary feature groups work better together than in isolation.

The combined result also cautions against discarding a feature because its standalone score is low. Stylometry contributes information that becomes useful alongside more discriminative lexical features. An ablation is therefore more informative than selecting features solely by their independent rankings.

#### Masking mainly changes the topic-directed errors

The masking comparison gives a clearer behavioral account of why a transformation helps. In the topic-confusion results, masking changes cross-group error while leaving the displayed same-group error unchanged for both character and word representations.

This is consistent with the intended role of masking: obscure some topical vocabulary while retaining enough arrangement and frequent lexical material for attribution. The diagnostic task connects the improvement to the error direction created by the intervention.

The comparison does not establish that every masked item was topical or that masking preserves every useful stylistic distinction. It shows an aggregate pattern under the tested transformation and dataset.

#### The pretrained explanation remains a hypothesis

The authors suggest that representations emphasizing contextual similarity may overlook surface differences important for authorship. Their example contrasts the spellings “color” and “colour.” Those forms can be close in meaning while revealing a writer’s language convention.

This is a plausible account of a mismatch between semantic similarity and author discrimination. However, the paper does not isolate spelling preservation in an ablation, nor does it directly test whether changing that property repairs the pretrained results.

The experimental evidence establishes poor performance and high topic-directed error for the tested approaches. The proposed explanation offers a research direction rather than a demonstrated causal mechanism.

### Limitations

The authors identify several constraints directly, and the experimental design introduces further limits that matter when interpreting its diagnostic claims. Keeping these separate helps preserve both the contribution and its scope.

#### Limits the authors identify

The authors acknowledge that the curated collection is only relatively balanced. They could not obtain the desired Society coverage for every writer. Their motivation for balancing is experimental control, not a claim that practical authorship collections naturally have this shape.

They also note that the simplified account of document production may omit unknown influences. Author, topic, and language conventions are useful organizing factors, but they are not asserted to exhaust every cause of variation in a document.

For author-profile normalization, the paper explicitly questions the realism of assuming access to a whole unlabeled test collection. An investigator may receive a single anonymous document. The U setting therefore measures a condition that should not be conflated with individual-document attribution.

The ethics discussion identifies a substantive failure mode: shared topic may lead to the wrong author being selected. It also recognizes privacy risks, including misuse against people who rely on anonymity to express opposition to powerful individuals or governments.

The authors discuss anonymization as a possible beneficial application of better attribution understanding. That is a proposed use, not an anonymization experiment reported in the paper. Likewise, the discussion of investigative applications supplies motivation rather than operational validation.

#### Limits visible in the setup

The group-based errors are diagnostic proxies. Cross-group predictions are consistent with following the manipulated topical association, but another source of confusion can also send a prediction across the boundary. Same-group predictions can still involve topical or subtopic information. The experiment improves interpretability without turning each error category into an infallible causal label.

The test is deliberately adversarial with respect to the training association. That is its strength as a diagnostic, but it also means the resulting accuracy is not automatically an estimate of performance under every deployment distribution. A real collection may have weaker, stronger, or differently organized author–topic dependence.

The candidate set is closed. Every evaluated document is attributed among known candidates. The paper does not establish how the methods would detect that the actual writer is absent from that set.

The empirical domain is also restricted. The core results come from a curated newspaper collection with selected authors and topic categories. They do not demonstrate equivalent behavior across languages, short messages, literary works, or other communication environments.

Topic labels are broad collection categories. The experiment manipulates those labels, while finer topical variation may remain inside them. As a result, resisting the main group-level switch does not prove complete independence from every content-related cue.

The pretrained comparisons have specific adaptation choices. The direct classifiers freeze pretrained representations, and the profile approaches use their own restricted training and normalization procedures. The results justify conclusions about those tested configurations. They cannot settle the general suitability of all pretrained representations for attribution.

A representation’s lower cross-group error also needs to be read alongside its correct-attribution rate. The stylometric result demonstrates why: reducing one visible form of confusion can coexist with substantial difficulty distinguishing authors. Robustness and sufficient task information remain separate requirements.

#### Reporting inconsistencies that affect precision

Several numerical details in the paper do not align cleanly. Table 1 lists 118 Society articles, whereas the cross-topic appendix refers to 127 articles when Society supplies training material. Those statements leave the exact training count ambiguous for that condition.

The same-topic appendix describes split percentages of 26%, 26%, and 58%, alongside counts of 132, 132, and 244 articles. The stated percentages do not describe a consistent partition. No same-topic results are supplied there that would resolve which description governed the actual experiment.

Table 1 also reports 3,125,347 total words alongside approximate per-author and per-document statistics that are not mutually consistent. These figures should not be used together to infer precise corpus size properties beyond the directly reported document counts.

The significance discussion contains additional irregularities. It gives α = 0.5 for the unequal-variance test, includes the malformed value P = 0.0.4, and contains feature descriptions whose associated means do not align consistently with the main tables. The principal comparison is elsewhere reported as P = 0.04, but the surrounding discrepancies limit confidence in reconstructing every test exactly.

The experiments also reuse a relatively small document collection across many configurations. Configuration averages help assess dependence on group and topic assignments, but they do not create independent new document sources. The standard deviations describe variation under the reported procedure, not uncertainty across every possible authorship domain.

These limitations leave the main methodological contribution intact. The paper shows how a deliberately misleading association can reveal behavioral differences hidden by overall accuracy. Its strongest general claim concerns that evaluation principle, while precise system rankings and causal explanations remain tied to the reported conditions.

### What came after

The later citation record includes [Explainable Disentangled Representation Learning for Generalizable Authorship Attribution in the Era of Generative AI](https://md.research.elamur.ai/free/en/papers/man-2026-explainable-disentangled-representation-learning-generalizable/), a work dated 2026. It cites the topic-confusion paper and, as its title indicates, addresses explainable disentangled representations for generalizable authorship attribution.

That connection places the earlier evaluation problem alongside a later concern with separating sources of information inside an attribution representation. The topic-confusion paper asks whether an attribution decision follows author evidence or an associated topic. A representation described as disentangled raises a related question: whether the factors relevant to authorship can be separated in a way that supports generalization and explanation.

The citation information does not establish how the later work uses the earlier task. It does not specify whether the authors reproduce the topic-swapping protocol, use the curated Guardian collection, adopt the same error categories, or report comparable measurements. Those details therefore remain unknown.

The supported connection is a continuing research problem instead of a documented chain of benchmark improvements. Authorship systems need evidence that their decisions survive changes in content, and explanations need to distinguish writing-style information from correlated alternatives. The topic-confusion task supplies a concrete experimental way to investigate that distinction.

## Cite

Cite as Malik Altakrori, Jackie Chi Kit Cheung and Benjamin C. M. Fung. 2021. The Topic Confusion Task: A Novel Evaluation Scenario for Authorship Attribution. Findings of the Association for Computational Linguistics: EMNLP 2021.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2021.findings-emnlp.359](https://doi.org/10.18653/v1/2021.findings-emnlp.359)

```bibtex
@inproceedings{altakrori2021topic,
  title = {{The Topic Confusion Task: A Novel Evaluation Scenario for Authorship Attribution}},
  author = {Malik Altakrori, Jackie Chi Kit Cheung and Benjamin C. M. Fung},
  booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2021},
  year = {2021},
  doi = {10.18653/v1/2021.findings-emnlp.359},
  url = {https://doi.org/10.18653/v1/2021.findings-emnlp.359}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
