---
title: "Authorship identification using ensemble learning — Abbasi 2022"
description: "How ensemble voting and DistilBERT identify news authors, what the reported results establish, and which experimental details remain unclear."
canonical: "https://research.elamur.ai/free/en/papers/abbasi-2022-authorship-identification-ensemble-learning/"
---
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/abbasi-2022-authorship-identification-ensemble-learning/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Authorship identification using ensemble learning

# Authorship identification using ensemble learning

Paper · 2022 · Ahmed Abbasi, Abdul Rehman Javed, Farkhund Iqbal et al.

**Authors:** [Ahmed Abbasi](https://md.research.elamur.ai/free/en/authors/ahmed-abbasi/), Abdul Rehman Javed, Farkhund Iqbal, Zunera Jalil, Thippa Reddy Gadekallu and Natalia Kryvinska · **Year:** 2022 · **Venue:** Scientific Reports · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

Scientific Reports · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://www.nature.com/articles/s41598-022-13690-4.pdf)
- [DOI 10.1038/s41598-022-13690-4](https://doi.org/10.1038/s41598-022-13690-4)

## What it is about

How ensemble voting and DistilBERT identify news authors, what the reported results establish, and which experimental details remain unclear. · about 35 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

Identifying who wrote an unsigned article requires more than finding a familiar subject or a recognizable name. The task is to connect an unknown text with a candidate writer using examples of that writer’s work. Ahmed Abbasi and colleagues investigate this problem as [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/): an article supplies the input, and its recorded author supplies the category to predict. Their paper compares conventional classifiers, a voting ensemble, and a DistilBERT approach on selected portions of the “All the news” collection. The practical question is whether combining classifiers or using a pretrained text encoder improves identification over the earlier approach they use as a baseline.

The conventional branch represents articles through word counts or TF-IDF, a weighting scheme that reduces the influence of terms appearing across many documents. Its proposed ensemble combines predictions from Random Forest, XGBoost, and a multilayer perceptron. The authors describe both majority voting and a confidence requirement for accepting votes. A separate branch fine-tunes DistilBERT, which they call a multi-depth approach. These are alternative routes to an author prediction; the paper does not establish that DistilBERT participates in the conventional ensemble.

The experiments cover the collection’s article1, article2, and article3 subsets, each restricted to selected authors. The authors consider a scope with 10 authors and another with 20 authors. On article1, the ensemble reaches 97% accuracy in the 10-author setting with either count features or TF-IDF, while its count-based version reaches 79% in the 20-author setting. DistilBERT leads the reported article2 results, with accuracy of 94% for 10 authors and 90% for 20 authors. On article3, the count-based ensemble leads with 85% and 74%, respectively. The useful finding is therefore conditional: the same approach does not lead every subset.

The paper also reports improvements over an earlier article1 study. For the 10-author comparison, it gives an ensemble accuracy gain of 3.14% over a baseline whose best accuracy is 93.86%. Its transformer comparison reports a gain of 2.44%. In the 20-author comparison, the authors report gains of 5.25% for the ensemble and 7.17% for DistilBERT. These are the paper’s stated gains, rather than independently reconstructed differences. Some surrounding counts and settings conflict, and the precise multi-depth architecture and confidence-voting procedure are not fully specified. The results support promising classification performance on restricted news-author tasks, while leaving uncertainty about reproducibility, the source of the gains, and transfer to unfamiliar publications or writers.

### Ideas worth borrowing

Compare representations before choosing a classifier. Word counts and TF-IDF retain different aspects of a document. Counts preserve repeated usage directly; TF-IDF emphasizes terms that distinguish documents within a collection. The paper evaluates both rather than treating one as universally preferable. This is useful in document classification, retrieval, and evidence indexing, where the way information is represented can determine which distinctions a later decision procedure can recover.

Combine different decision mechanisms. The ensemble brings together tree-based methods and a multilayer perceptron. Their predictions become inputs to a common voting decision. The transferable idea is to test whether different approaches supply useful complementary evidence, instead of expecting a single method to handle every case. Such a comparison can inform annotation review, classification, or rule induction, although different architectures alone do not establish that their errors are independent.

Separate a prediction from its admission. The confidence threshold introduces a distinction between a classifier producing an answer and that answer qualifying to influence the final decision. This is relevant wherever an uncertain proposal should trigger review rather than immediate acceptance. The paper’s implementation description leaves important questions unresolved, but the architectural distinction remains useful: candidate generation and permission to act on a candidate can have separate conditions.

Test across several data slices. Evaluating article1, article2, and article3 reveals that the strongest approach depends on the subset. A result from a single collection slice would conceal this variation. The same principle applies to evaluations across genres, source families, language varieties, or document types: preserve the separate results so that a strong aggregate does not hide a weak operating condition.

Treat candidate-set size as an experimental condition. Choosing among 10 authors and choosing among 20 authors are different tasks. The paper makes this distinction visible, even though its sampling changes prevent a clean attribution of performance differences to author count alone. Elsewhere, retrieval systems, entity linkers, and classifiers can benefit from reporting the number and composition of available choices alongside their accuracy.

Use several metrics to inspect a decision system. Accuracy summarizes how frequently predictions are correct, while precision, recall, and F1 can expose different aspects of classification behavior. The paper reports these measures together. The broader lesson is to decide what a successful system must do before relying on a headline score, and to state how class-level measurements are combined when multiple categories are involved.

Keep a simpler approach in the comparison. The strongest article1 and article3 results come from the conventional ensemble rather than the transformer branch. That does not establish a general superiority of sparse features, but it shows why a more elaborate text representation should face a credible alternative. In engineering work, retaining a count-based or otherwise inspectable reference can clarify whether additional complexity earns its place.

### How Mova uses it

Mova is a transparent language system implemented in Rust, with explicit parsing, frames, world state, and bounded operational interfaces. Its documented direction favors rules, logic, and measured statistics. The relevant connections to this paper therefore concern representations, evidence combination, data handling, and evaluation more than adopting its neural branch. The implementation marks below compare proposals with documented Mova mechanisms. They do not establish that this paper caused an existing implementation, or that any proposed transfer has improved Mova.

Idea: Compare count-based and weighted evidence. Where: “Feature extraction” and the article1–article3 experiments. Area: statistics and representation. Mova: частково є (tools/dictindex/README.md documents occurrence counts, feature summaries, and PMI-based proposals). Mova could compare raw occurrence evidence with document-frequency weighting when retrieving dictionary witnesses or related teaching material. These statistics answer different questions, so their usefulness should be measured against the same retrieval task. Why Mova: a frequent construction may be well supported without being useful for distinguishing a particular meaning.

Idea: Combine independent decision procedures. Where: “Ensemble classifiers.” Area: evidence combination. Mova: вже є (peta/tools/treeagree/README.md describes combining parser evidence under written rules and validation gates). The paper offers another instance of combining predictions, but Mova’s parser agreement should retain its stronger structural conditions. A useful experiment would examine whether additional witnesses resolve disagreements that existing rules cannot settle. Why Mova: complementary evidence can improve a draft while preserving an explanation of which sources supported each edit.

Idea: Keep a confidence condition separate from a proposed answer. Where: “Proposed ensemble algorithm.” Area: admission and uncertainty. Mova: частково є (docs/hybrid-system.md describes bounded capability admission; tools/nautilus integration in tools/dictindex/README.md retains uncertain decisions). A statistical candidate could carry a confidence observation without acquiring authority to change a dictionary or execute an action. The paper’s 80% threshold should not be transferred without measurement. Why Mova: explicit admission conditions let Mova preserve uncertainty rather than converting every available prediction into an accepted result.

Idea: Preserve results by source slice. Where: “Results,” particularly the separate article1, article2, and article3 discussions. Area: evaluation. Mova: частково є (tools/dictindex/README.md retains source-domain strata; README.md and docs/architecture.md describe separate benchmark reports). Mova could report dictionary retrieval or reading performance separately for each admitted source family. The authors’ changing winners motivate this evaluation design, instead of proving that any particular Mova source needs different rules. Why Mova: source-specific failures are easier to diagnose when a strong collection-wide result cannot hide them.

Idea: Record the size of the decision space. Where: the 10-author and 20-author experimental scopes. Area: evaluation design. Mova: нове. A proposed evaluation could record the number of candidate senses, referents, or configured capabilities available at each decision. Existing documented routing and sense mechanisms provide possible consumers, but a systematic evaluation of candidate-set size is not established by the digest. Why Mova: choosing correctly from a narrow set and resolving a broad ambiguity should not appear as equivalent evidence of understanding.

Idea: Report complementary measurements with explicit aggregation. Where: “Experimental analysis and results.” Area: statistics and evaluation. Mova: частково є (README.md describes held-out measurements and controls; peta/tools/treeagree/README.md distinguishes raw agreement from chance-corrected agreement). Mova could ensure that every multiclass or multi-source report names the aggregation rule and the unit being counted. The paper’s unspecified averaging is a reason to improve reporting clarity, not evidence for a particular averaging choice. Why Mova: a precise metric makes gains interpretable and comparisons repeatable.

Idea: Retain a simple reference system. Where: the comparisons between conventional classifiers and DistilBERT. Area: evaluation and architecture. Mova: вже є (README.md identifies CPU execution as the exact reference; docs/architecture.md separates native assessment from the teacher). For any optional statistical or neural extension, Mova can keep its native path visible in the comparison. The paper supports testing this contrast, not assuming which side will win. Why Mova: an extension should demonstrate useful behavior beyond an established reference before adding operational complexity.

Idea: Preserve original text alongside normalized features. Where: “Data pre-processing.” Area: data and provenance. Mova: частково є (tools/dictindex/README.md retains exact sentence text, token positions, and original sentence identifiers). A proposed style-sensitive view could keep capitalization, punctuation, and surface forms even when a separate lookup view uses normalized lemmas. This responds to the tension between the authors’ wish to preserve writing style and their substantial normalization. Why Mova: normalization that helps lookup can erase evidence needed for morphology, register, or source analysis.

Idea: Evaluate lemmatization as a task-dependent transformation. Where: “Data pre-processing,” the discussion of base forms. Area: morphology. Mova: вже є (en/src/morph.rs implements native lemmatization and the dated morphology applications report separate evaluations). Mova could compare lemma-based and surface-based evidence for a new task without treating successful lemmatization as proof that lemmas are the best representation. Why Mova: inflection can be irrelevant variation for one query and essential linguistic evidence for another.

Idea: Measure the effect of removing common words. Where: “Data pre-processing,” the stop-word step. Area: syntax and data processing. Mova: нове. A controlled representation experiment could compare retained and suppressed common words for a specific statistical retrieval task. This would be separate from Mova’s syntactic reading, where grammatical words already participate in trees and frames. Why Mova: a term’s high frequency does not establish that it lacks value for a linguistic distinction.

Idea: Treat casing as an explicit feature choice. Where: “Data pre-processing” and the description of distilbert-base-uncased. Area: representation. Mova: частково є (en/src/ud.rs contains shape features; tools/dictindex/README.md distinguishes normalized lemmas from retained sentence text). Mova could expose whether a statistical view uses surface casing, normalized casing, or both. The paper provides no ablation establishing which choice best preserves author evidence. Why Mova: explicit feature choices prevent a convenient normalization from silently becoming a claim about equivalence.

Idea: Specify abbreviation and contraction transformations precisely. Where: “Data pre-processing,” the contraction-mapping discussion. Area: data processing. Mova: нове. A proposed preprocessing manifest could name each transformation and retain its input–output evidence. The paper’s description mixes shortening, apostrophes, and vowel removal, illustrating why an operation needs a precise definition before its effects can be tested. Why Mova: exact transformations allow a surprising parse or lookup result to be traced to its actual cause.

Idea: Check duplicates before evaluating generalization. Where: “Data pre-processing,” which names duplicate checks. Area: data quality and evaluation. Mova: частково є (tools/dictindex/README.md uses stable postings and sentence-distinct query results; tools/sources/README.md rejects several duplicate manifest conditions). Mova could add task-specific duplicate audits between development and assessment material without treating identifier uniqueness as sufficient. Why Mova: repeated content can make an evaluation easier while appearing to test unfamiliar evidence.

Idea: Separate content fields from declared metadata. Where: “Dataset selection,” where Content supplies input and Author supplies the target. Area: data and provenance. Mova: вже є (tools/dictindex/README.md distinguishes source credit and licence metadata from indexed linguistic evidence; docs/architecture.md separates the world model from narrative context). A proposed authorship-style diagnostic should state exactly which fields it reads. Why Mova: a classification result is easier to interpret when explicit metadata and textual evidence have distinct roles.

Idea: Preserve sparse representations when appropriate. Where: the article1–article3 feature-matrix descriptions. Area: storage and efficiency. Mova: частково є (tools/dictindex/README.md uses compact integer dictionaries and compressed postings; pack provides prepared, compressed storage). A new document-feature component could compare sparse records with more elaborate representations before choosing a format. The paper reports sparse matrices but does not establish their runtime advantage in this task. Why Mova: inspectable counts may support useful statistical work without requiring a dense neural representation.

Idea: Test whether syntactic information adds evidence. Where: “Data pre-processing,” which discusses part-of-speech tagging and relationships between words. Area: syntax. Mova: частково є (en, prag, and world already produce trees, frames, and world observations). Mova could compare lexical statistics with explicitly defined syntactic features for source or register analysis. The paper does not isolate a syntactic feature contribution, so this remains a separate hypothesis. Why Mova: Mova already computes structure that could distinguish constructions beyond vocabulary overlap.

Idea: Keep class balance and class count separate. Where: “Article1,” “Article2,” and “Article3.” Area: statistics and evaluation design. Mova: нове. A proposed evaluation could vary ambiguity size while holding the amount of evidence per candidate fixed, then separately vary support imbalance. The paper changes several of these conditions together. Why Mova: separating them would help determine whether a failure comes from scarce evidence, many alternatives, or a dominant candidate.

Idea: Make missing-data handling visible. Where: “Data pre-processing,” which names missing-value checks without a complete procedure. Area: data quality. Mova: частково є (tools/dictindex/README.md records missing parses and excludes unmatched or insufficiently attributed evidence). Mova could attach explicit exclusion reasons to any new statistical dataset and report which examples remain eligible. Why Mova: a clean output should not conceal which inputs were unavailable or rejected.

Idea: Audit disagreement before changing the combiner. Where: “Ensemble classifiers,” where different predictions become votes. Area: error analysis. Mova: вже є (treeagree retains changed-word evidence and rejected edits; docs/architecture.md describes disagreement-driven reports). Mova could use these existing receipts to investigate whether a proposed witness contributes corrections or repeats existing mistakes. This is an evaluation of complementarity, which the authors do not provide directly. Why Mova: disagreement is useful only when its causes and outcomes can be inspected.

Idea: Define tie behavior explicitly. Where: “Proposed ensemble algorithm,” which describes random selection after tied votes. Area: determinism. Mova: вже є (README.md states fixed seeds, ordered maps, and repeated-run identity as principles). Any Mova transfer of the voting idea should retain a documented deterministic tie rule or an explicit unresolved outcome. Why Mova: reproducible failures and stable receipts make later diagnosis possible.

Idea: Separate an architecture name from an executable specification. Where: “Multi-depth DistilBERT.” Area: reproducibility and interfaces. Mova: частково є (docs/groupants.md and docs/hybrid-system.md distinguish declared observations, assumptions, and supported boundaries). A proposed extension should specify exactly which intermediate outputs it reads and how they are combined. The paper’s multi-depth description is not precise enough to transfer as an implemented design. Why Mova: a named capability becomes reviewable when its inputs, operations, and failure conditions are explicit.

Idea: Keep external advice outside native assessment. Where: the separate conventional and pretrained branches in “Proposed approach.” Area: architecture and evaluation. Mova: вже є (README.md and docs/architecture.md keep teacher activity separate from Mova’s assessed answers). The transferable comparison is between complete, separately identified paths. It does not justify allowing a stronger external system to answer invisibly for the native reader. Why Mova: path identity preserves what a result actually measures.

Idea: Evaluate computational cost directly. Where: “Limitation and future work” and the experimental environment table. Area: efficiency. Mova: частково є (tools/twin measures runs and calibrates cost predictions; tools/jobs records estimates and actual resource use). A proposed feature or witness should receive measured cost reports alongside accuracy. The authors acknowledge cost but do not provide a controlled timing comparison. Why Mova: a modest gain may have different value in an offline review queue and an interactive native operation.

Idea: Restrict claims to evaluated task families. Where: the restricted-author experiments and “Limitation and future work.” Area: scope and evaluation. Mova: вже є (docs/hybrid-system.md limits native task concretization to configured capabilities). A successful statistical diagnostic should retain its source, candidate set, and admitted use instead of becoming a general claim of understanding. Why Mova: explicit scope keeps a useful local mechanism from acquiring unsupported authority.

### The problem and its context

#### From an unknown article to a candidate writer

The paper addresses attribution among known candidates. A system receives writing samples associated with authors and learns to predict which of those authors produced another article. This differs from deciding whether any known candidate wrote the article at all. It also differs from inferring a writer’s personal characteristics or detecting that passages have different origins. Those neighboring problems appear in the authors’ discussion of authorship analysis, but their experiments concentrate on assigning articles to selected author labels.

The motivation combines the growth of digital publishing with the difficulty of connecting anonymous material to its origin. The authors discuss intellectual credit, unauthorized reuse, and investigations of anonymous communications. These applications explain why attribution matters, but the experimental evidence is narrower: the evaluation uses news articles with existing author labels. It does not test an investigative workflow, adjudicate disputed ownership, or establish how an attribution should be used in a consequential decision.

Their framing places the task within [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/) and [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/). Text must become a representation that a classifier can use. The important challenge is deciding what evidence survives that conversion. A document contains vocabulary, grammatical choices, repeated expressions, formatting, and subject matter. Any of these might help distinguish the selected labels, but predictive usefulness alone does not establish that a feature captures an enduring personal style.

This distinction matters throughout the paper. The authors repeatedly describe their representations as extracting writing style. Yet count features and TF-IDF can also represent topics, publication conventions, and recurrent named entities. The experiments establish whether those representations support classification under the chosen sampling conditions. They do not separately identify which part of the success comes from style rather than correlated content.

#### Earlier approaches as the authors describe them

The historical discussion connects authorship analysis with stylometry, the study of measurable writing characteristics. The paper points to the disputed Federalist writings as an earlier attribution problem and to software forensics as a setting where stylistic evidence can connect artifacts with creators. These references establish a broad context for the task; the proposed method itself operates on news text rather than handwritten documents or program fragments.

The review groups useful textual evidence into lexical, syntactic, content-related, and structural characteristics. Lexical evidence concerns words and their usage. Syntactic evidence concerns grammatical organization. Content-related evidence may reflect what a writer discusses, while structural evidence concerns organization or form. The paper’s central concern is that selecting a generally effective feature set remains difficult. It argues that results depend strongly on both the chosen representation and the classifier consuming it.

Keystroke biometrics provides a different kind of evidence. In the authors’ account, it uses typing behavior, including timing and rhythm, rather than relying only on the completed document. Such evidence requires access to the writing process through suitable software. The paper notes practical difficulties for remote examinations. Its own dataset contains finished articles, so the proposed system works from textual content rather than captured typing behavior.

The review also describes author-specific language modeling. Under that approach, a separate predictor is trained on each writer’s material, and an unfamiliar document is assessed against those learned distributions. The authors discuss character-level work involving English, Chinese, and Greek as evidence for the appeal of language-independent representations. Their own experiments do not reproduce that multilingual setting, however, and their fine-tuned transformer is the uncased DistilBERT variant identified in the method section.

#### Why representation is the central issue

A raw document is not yet a useful input to a conventional classifier. Its words must be indexed, counted, weighted, or otherwise transformed into numerical features. Each transformation makes some distinctions easy to use and removes others. Counting terms makes repeated vocabulary visible. Weighting by document frequency changes the relative importance of common and less widespread terms. Lemmatization merges inflected forms, while lowercasing merges capitalization variants.

The paper cites [Linguistic Regularities in Continuous Space Word Representations](https://md.research.elamur.ai/free/en/papers/mikolov-2013-linguistic-regularities-continuous-space-word/) in its discussion of word-vector representations. That reference belongs to the surrounding account of numerical text features. It should not be read as evidence that the conventional branch uses the cited work’s embeddings. The implemented representations described for that branch are count vectors and TF-IDF.

The contribution is consequently best understood as an empirical comparison of complete classification paths. It combines familiar feature extraction and classifiers, proposes an ensemble decision, and compares the results with a pretrained transformer route and an earlier baseline. The paper’s stronger claims about automatic extraction of the most suitable style features exceed what its analyses isolate. Its practical value lies in the reported comparisons and in the questions those comparisons expose.

### The method, step by step

#### Select the prediction task and eligible articles

The starting collection is “All the news,” available through Kaggle. Its records include article content and author information alongside publication and date fields. The authors use Content as the predictive text and Author as the target label. This makes the basic learning relationship explicit: article text is associated with an existing category during training, and the classifier later predicts that category for held-out text.

Instead of using every available writer, the experiments select frequent authors within each subset. This restriction provides enough examples for the chosen labels and creates manageable classification tasks. It also changes the claim being tested. Performance on selected frequent writers does not measure performance over the full author inventory, where many labels may have less evidence.

The conventional experiments generally use an 80 percent training allocation and a 20 percent test allocation. The DistilBERT description separately states training, testing, and validation shares of 70%, 20%, and 10%. Validation is a separate development partition, intended to support decisions without using the final test set. The paper does not fully reconcile this description with its later general split statement or all of its numerical examples.

The paper’s alternative authorship classification paths The steps in order.

The voting step belongs to the conventional ensemble branch. DistilBERT supplies an alternative author prediction. The flow therefore summarizes the shared process while preserving the distinction between the branches.

#### Prepare text without assuming normalization is harmless

The preprocessing section names checks for missing entries and duplicate content. These are important because training requires usable inputs and labels, and repeated material can complicate the meaning of a held-out evaluation. The paper does not provide a complete missing-data policy or a detailed account of how duplicate detection interacts with splitting.

The authors calculate word frequencies and use [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) to map inflected words to base forms. Their example connects “played” with “play.” This can make related word forms share a feature, reducing variation that might otherwise fragment the representation. In authorship work, however, the choice also needs scrutiny because inflectional preferences can themselves carry information. The paper does not compare otherwise identical runs with and without lemmatization.

Stop-word removal suppresses common items such as articles and frequent auxiliary forms. Lowercasing makes upper-case and lower-case variants share a representation. The authors present these operations as noise reduction and meaning preservation. A careful distinction is needed: preserving a sentence’s broad meaning is not the same as preserving every clue relevant to its writer. The experiments evaluate the resulting pipeline without isolating what these transformations remove.

The contraction-mapping description is less precise. It discusses abbreviations, shortened forms, apostrophes, and vowel removal without specifying a complete transformation table. As a consequence, the operation cannot be reconstructed confidently from the prose alone. It is reasonable to report that contraction handling is part of the proposed preparation, but not to infer an exact normalization algorithm.

The authors also describe TextBlob and [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/), which assigns grammatical categories to words. They connect tagging with base-form recovery and mention noun phrases, sentiment analysis, and relationships between words. The subsequent feature specification does not make clear which of these outputs become independent classifier features. The explicit numerical representations remain counts and TF-IDF.

#### Convert documents into count features

A count vectorizer creates a shared vocabulary from the text and gives each document a value for each vocabulary item. A document’s representation records how often each item appears. In the resulting document–feature matrix, articles occupy rows and vocabulary items occupy columns. Repeated use of a word raises its count in that article.

This representation is direct but selective. It preserves lexical frequency while discarding much of the original order. A classifier can learn that some terms recur more frequently in one label’s articles, but it does not receive a complete syntactic account of how those terms relate. That makes the representation suitable for testing lexical predictability, while limiting claims about grammatical understanding.

The authors describe the count-vectorizer configuration largely through defaults and preprocessing behavior. They mention punctuation removal, stop-word filtering, and lowercasing. The sparse matrix descriptions in the experiments show that the resulting feature spaces contain many vocabulary dimensions, while only a subset have non-zero values for any given document.

Sparse storage is appropriate to that pattern: the representation records observed values without requiring every absent term to occupy an ordinary stored entry. The paper identifies Compressed Sparse Row storage for several matrices. These dimensions and stored-element counts help characterize the computational objects being classified, although they are not themselves measurements of classification quality or runtime efficiency.

#### Weight terms with TF-IDF

The alternative sparse representation is [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/). Its basic purpose is to combine a term’s prominence inside a document with information about how broadly that term appears across the collection. A word repeated in one article may be useful, but a word occurring in nearly every article supplies less evidence for distinguishing that article from others.

The paper defines term frequency as follows:

```
TF(t, d) = count(t, d) / totalcount(d)
```

Here, t is a term and d is a document. The expression count(t, d) denotes the number of occurrences of that term in that document. The denominator totalcount(d) denotes the document’s total term count. TF(t, d) therefore expresses the term’s frequency relative to the length represented by that denominator.

The inverse-document-frequency quantity is written as:

```
idf(t) = i / df(t)
```

The symbol i denotes the total document count. The quantity df(t) denotes how many documents contain t. A term appearing across more documents has a larger denominator and therefore a smaller inverse-frequency quantity. This is the part of the weighting that distinguishes a collection-wide common term from a more selective one.

The combined weight is:

```
tf-idf(t, d) = TF(t, d) × log(idf(t))
```

TF(t, d) is the normalized term frequency just defined, and idf(t) is the document-frequency ratio. The symbol log denotes a logarithm, whose base is not specified in the paper’s formula. The multiplication combines within-document frequency with collection-level distinctiveness. This is a mathematical description of the weighting, rather than a complete specification of every implementation default.

The reported feature settings include max_df at 0.5 and minimum df at 2. These control vocabulary eligibility according to document frequency. The same paragraph gives ngrams=(1, 1), which specifies single-word units. Elsewhere the paper repeatedly calls the representation bigram TF-IDF. Because an [n-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/) groups consecutive units, the difference matters: word pairs retain local ordering information that isolated words do not. The paper does not resolve this inconsistency.

#### Train the conventional alternatives

Logistic regression provides a conventional supervised baseline. It learns a mapping from document features to author categories. The paper describes a sigmoid-based probability interpretation and lists settings including maxiter of 100, the lbfgs solver, and C of 1.0. Its penalty is rendered as “12,” which is ambiguous. That value should not be silently converted into a more familiar configuration.

Random Forest constructs multiple decision trees and combines their outputs. It is already an ensemble internally, before becoming a member of the paper’s larger voting system. The reported setup includes n_estimatores of 100, bootstrap set to True, and the Gini criterion. Minimum leaf and split settings are 1 and 2, while random-state is None. These details matter for reconstructing the learner, but the paper does not supply a distribution of results across random initializations.

XGBoost supplies a boosted-tree decision mechanism. The authors describe successive learning in relation to earlier prediction errors and introduce a loss-plus-complexity objective. The mathematical relationship is:

```
J(Θ) = L(Θ) + Ω(Θ)
```

The symbol Θ represents the learned parameters. L(Θ) denotes training loss, while Ω(Θ) is the regularization contribution associated with complexity. J(Θ) is the complete objective. The parameter glyphs are not consistently legible in the printed equation, but the accompanying explanation supports this relationship. The paper mentions L1 and L2 regularization without supplying a full derivation for the experimental implementation.

The XGBoost settings include a gbtree booster, eta of 0.3, min-child-weight of 1, max-depth of 6, and scale-pos-weight of 1. The multilayer perceptron provides another kind of decision function, using connected computational units and nonlinear activation. Its reported settings include relu activation, the Adam solver, alpha of 0.0001, and max-iter of 200.

The perceptron’s mapping is described as:

```
F(X): ℝⁿ → ℝᵒ
```

F is the learned function, and X is its input feature vector. The symbol ℝ denotes real-valued quantities. The exponent n identifies the input dimensionality, while o identifies the output dimensionality. In this task, the outputs support author classification. The paper does not fully specify the hidden-layer arrangement needed to reconstruct the network architecture.

#### Turn individual predictions into an ensemble decision

The proposed conventional ensemble uses Random Forest, XGBoost, and the multilayer perceptron. Each supplies an author prediction, and a voting rule determines the combined output. The general intention is straightforward: a category supported by more participating classifiers becomes the final choice.

The voting equation is presented in compact notation:

```
ỹ = argmax(Nc(y₁ᵗ), Nc(y₂ᵗ), …, Nc(yₙᵗ))
```

The symbol ỹ denotes the resulting prediction. The quantities y₁ᵗ through yₙᵗ represent the predictions entering the vote, and Nc denotes the vote-count quantity used to determine the most supported category. The argmax operation selects the alternative with the greatest support. The paper’s indexing is not developed into a fully explicit algorithm, so the safest interpretation is its accompanying majority-vote explanation.

A separate algorithm description adds a confidence threshold of 80%. It introduces symbols for prediction confidence, the threshold, class counts, and instances. The intended distinction appears to be that insufficiently confident outputs do not immediately qualify as accepted class decisions. However, the prose also describes adding another instance when the condition is unmet. It does not explain how that operation works when predicting a fixed article.

Ties are resolved through random selection according to the authors. The description does not specify how this random choice interacts with repeated experiments or a fixed seed. Nor does it state clearly whether confidence applies to each member before voting, to the winning vote after aggregation, or to another derived quantity. These uncertainties concern the proposed decision procedure itself, rather than merely a minor implementation preference.

#### Fine-tune the DistilBERT alternative

The transformer branch uses distilbert-base-uncased and [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) for author classification. The authors describe [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), padding, and masking as preparation for tensor inputs. Tokenization converts text into the units accepted by the encoder; padding makes batched inputs compatible in length, and masking identifies which positions should participate in processing.

The training settings are epochs of 3, batch size of 80, learning rate of 5e–05, accumulation steps of 4, and random seed of 42. These are useful optimization details. They do not settle how long news articles are shortened, divided, or selected to fit the input representation, because the paper does not state a complete long-document policy.

The authors use “multi-depth” to describe modifications involving layers and token representations. They suggest that information from different depths improves the resulting representation. Yet the method does not clearly identify which layers are used, how their outputs are combined, or the exact classification-head design. The name therefore describes an intended architectural contribution more clearly than the prose specifies its executable form.

The paper also repeats general DistilBERT claims involving 40% size reduction, retained language capability of 97%, and operation that is 60% faster than BERT. These are not measured authorship-task efficiency results from the reported experiments. They motivate the choice of encoder, but should remain separate from the news-classification accuracy evidence.

### Experiments and results

#### The collection and its restricted tasks

The paper describes “All the news” as containing 143,000 articles drawn from 15 sources. Its date range is 2000 to 2017, with much of the material associated with 2016 and 2017. Records contain 9 fields, including the author, publication, date information, and article content. The experiments use the content field for prediction rather than treating the publication or URL as explicit classifier inputs.

The subset descriptions each give 50,000 articles, which does not align straightforwardly with the stated overall total. Article1 is described as covering 3,603 authors and 5 publications. Article2 covers 4,910 authors and 7 publications, while article3 covers 7,895 authors and 5 publications. These figures describe the available subsets, not the number of labels evaluated in the restricted experiments.

Article lengths also vary considerably. The reported average lengths are 668 words for article1, 733 for article2, and 734 for article3. Their longest articles contain 26,297, 29,790, and 51,499 words, respectively. These lengths make input handling especially important for the transformer branch, but the paper does not connect them to a documented truncation or segmentation analysis.

The main evaluation measures are accuracy, precision, recall, and F1. Accuracy measures the share of predictions that match their labels. Precision concerns the correctness of predictions assigned to a category, while recall concerns recovery of that category’s examples. F1 combines precision and recall. The paper reports these as overall percentages without clearly identifying the multiclass averaging method.

#### Article1: the clearest baseline comparison

In the article1 experiment with 10 authors, the authors select 500 articles per writer, giving 5000 articles. They describe 4000 training articles and 1000 test articles for the conventional feature-based experiments. This is the setting most directly aligned with the earlier study used for comparison.

The count training matrix has dimensions 4000 × 53,396 and contains 675,039 stored elements. The TF-IDF training matrix has dimensions 4000 × 21,554 and contains 606,991 stored elements. These are different feature spaces, not merely different numeric values over an otherwise identical vocabulary. As a consequence, their comparison reflects vocabulary eligibility as well as weighting.

The proposed ensemble reaches 97% accuracy with either representation. Its reported precision, recall, and F1 are also 97% in this setting. The earlier article1 study’s strongest reported accuracy is 93.86%, obtained with logistic regression and bag-of-words features. The paper calls the ensemble improvement an accuracy gain of 3.14%.

Article1 with 10 authors, reported accuracy Both ensemble representations lead the strongest reported earlier baseline.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Earlier logistic regression, bag of words | 93.86 |
| Proposed ensemble, count features (this paper) | 97 |
| Proposed ensemble, TF-IDF | 97 |

The transformer comparison for this scope is reported as an accuracy gain of 2.44% over the earlier BERT approach. The narrative does not provide enough clearly associated values to reconstruct every transformer comparison confidently. The gain can be reported as the authors’ statement without inventing the missing endpoint or assigning detached table values to a metric.

For article1 with 20 authors, the selection changes to 100 articles per writer and 2000 articles overall. The conventional allocation is represented by 1600 training rows and 400 test rows. Count features yield a training matrix of 1600 × 38,359, while TF-IDF yields 1600 × 15,963. This is a broader label set accompanied by less total material and less material per label than the 10-author experiment.

The count-based ensemble reaches 79% accuracy. Its precision is 81%, with recall and F1 both reported as 79%. The baseline discussion gives logistic regression with bag-of-words features an accuracy of 74%. It also reports an ensemble accuracy gain of 5.25%, which is not transparently reconciled with those displayed accuracies.

Article1 with 20 authors, reported accuracy The count-based ensemble leads the earlier logistic regression baseline.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| Earlier logistic regression, bag of words | 74 |
| Proposed ensemble, count features (this paper) | 79 |

For this broader scope, the authors also report a DistilBERT accuracy gain of 7.17% over the earlier BERT comparison. Their ensemble comparison gives precision, recall, and F1 gains of 6.80%, 5.00%, and 5.00%. These remain reported comparison figures, with the paper’s rounding and presentation uncertainties intact.

#### Article2: the transformer branch leads

The article2 description selects frequent authors differently. For its 10-author scope, the detailed account gives 3698 articles and says each selected author has more than 300. It reports 2958 training rows for count features and 740 test rows. Elsewhere, the description of the corresponding results names 3000 articles. The paper does not explain the discrepancy.

The count training matrix has 49,921 feature columns, and the TF-IDF matrix has 23,153. The TF-IDF training row count is given as 2956 instead of the count representation’s 2958. Such details matter because a representation comparison should ideally evaluate the same examples. The paper supplies no account of exclusions that would explain the unequal row counts.

DistilBERT achieves the highest reported accuracy for this article2 scope, at 94%. Its precision is 95%, and both recall and F1 are 94%. This result changes the interpretation suggested by article1: the conventional ensemble is useful, but it is not the universal winner across the collection’s subsets.

For article2 with 20 authors, the authors again select 100 articles per writer, giving 2000 articles. The count representation uses training dimensions of 1600 × 43,022 and test dimensions of 400 × 43,022. The TF-IDF description instead gives 1599 training rows with 21,162 columns, leaving another unexplained difference in eligible examples.

DistilBERT again leads, with 90% accuracy. The reported precision is 95%, while recall and F1 are both 90%. These values show strong performance within the chosen scope. They do not establish why article2 favors this branch, because no source-controlled or feature-controlled analysis isolates the reason.

#### Article3: count features with voting lead

The article3 experiment with 10 authors uses 3552 articles, selected from writers with more than 200 articles each. The reported training and test row counts are 2841 and 711. Count features produce 61,328 columns, while TF-IDF produces 26,278. The conventional alternatives are therefore tested with large but sparse lexical representations.

The count-based ensemble leads with 85% accuracy. Its precision and recall are each 85%, while F1 is 84%. The reported outcome supports the value of the ensemble in this subset without showing which member supplies the decisive corrections or whether the confidence threshold changes the result.

In the 20-author article3 setting, the selection contains 2000 articles, again using 100 per writer. Count features produce matrices with 46,777 columns, and TF-IDF produces matrices with 20,838 columns. The count-based ensemble reaches 74% accuracy, alongside precision of 76%, recall of 74%, and F1 of 74%.

Across the subsets, the leading approach therefore varies. Article1 and article3 favor the conventional ensemble in the reported best results, whereas article2 favors DistilBERT. This is a useful empirical pattern. It should not be compressed into a claim that either architecture consistently dominates all news-author identification tasks.

#### What the experimental environment establishes

The environment table names Jupyter Notebook, Windows 10 Home, Python 3.8, and 8GB of RAM. It also identifies a Xeon processor and an NVIDIA GeForce GTX 1050. This describes the authors’ computing setup, but it does not provide controlled timing, peak-memory measurements, or energy comparisons.

The authors say they repeated experiments several times. They do not provide the number of repetitions, variability across runs, or statistical significance tests for the reported improvements. Their results are therefore presented as point estimates. Repetition is mentioned as part of the procedure, but the reader cannot assess stability from a distribution of outcomes.

### What the ablations show

The paper does not report a dedicated ablation study that removes individual ensemble members, isolates the confidence rule, or compares a precisely specified multi-depth architecture against its otherwise identical counterpart.

#### Representation comparisons offer partial evidence

The comparison between counts and TF-IDF is the nearest thing to a controlled component analysis. Both serve as inputs to conventional classifiers, allowing the authors to examine whether a different lexical representation changes performance. Article1 with 10 authors yields the same reported ensemble accuracy under either representation, while the winning ensemble settings highlighted for article1 with 20 authors and for article3 use count features.

That pattern is useful but limited. The representations have different vocabulary dimensions, and some reported training row counts differ. Consequently, the experiment does not isolate weighting alone. A difference may reflect term filtering, eligible examples, normalization, or interactions between the representation and the learner.

The bigram terminology introduces another uncertainty. If word pairs were used, local lexical sequences could contribute information absent from isolated term counts. If the written ngrams=(1, 1) setting is authoritative, the TF-IDF representation instead uses individual words. Without resolving that configuration, the results cannot establish a specific benefit from bigrams.

#### Comparing classifiers does not explain ensemble complementarity

The paper evaluates standalone conventional classifiers and the combined system. This can establish that the complete ensemble achieves a higher reported score than the individual alternatives under a given setting. It does not reveal which disagreements are beneficial or whether the same difficult articles defeat every member.

A member-removal comparison would address a different question: whether a particular learner contributes useful information beyond the others. An error-overlap analysis would show whether members fail on the same documents. Neither analysis is reported. The explanation that multiple learners improve the result is plausible, but the causal contribution of each member remains unmeasured.

The threshold is similarly unisolated. There is no comparison of otherwise identical voting with and without the 80% confidence condition, nor a study of alternative thresholds. The paper therefore does not establish that this threshold is necessary, optimal, or even responsible for the reported gain. It also does not report how many examples fail the condition.

#### Broader author scopes change several variables

The 10-author and 20-author results show that the chosen tasks differ substantially. They do not isolate the effect of adding candidates because the article samples also change. In article1, the larger author inventory comes with fewer articles overall and fewer examples per writer. Differences in accuracy can therefore arise from both the decision space and the training evidence.

The same caution applies to comparisons across article subsets. They demonstrate that a winner can change across data slices, which is an important practical observation. They do not identify publication diversity, vocabulary, document length, or another property as the cause. Those factors are not independently manipulated.

#### The multi-depth contribution remains unresolved

The DistilBERT branch performs well on article2 and improves on the paper’s earlier transformer baseline according to the reported comparisons. However, the study does not isolate the contribution of combining representations from different depths. A comparison with a clearly specified ordinary fine-tuning setup would be needed to attribute the gain to that particular modification.

Pretraining, optimization settings, preprocessing, sample selection, and architecture can all influence a complete-system comparison. The results support the branch as evaluated by the authors, while leaving the mechanism behind its advantage uncertain. This is a distinction between demonstrating a useful outcome and demonstrating why that outcome occurred.

### Limitations

#### Limits explicitly acknowledged by the authors

The authors acknowledge the restricted scale of their experiments. Their future-work discussion proposes expanding beyond 20 authors and considering 10,000 articles. That proposal confirms that the current results should be interpreted within the selected scopes, rather than as an evaluation across the collection’s full author population.

They also emphasize the narrow prior comparison available for this dataset. Their principal baseline is an earlier study using article1. Another cited authorship dataset is described as different, so its results do not supply a directly interchangeable comparison. The paper’s baseline evidence is consequently narrower than a broad survey of all attribution methods might suggest.

Computational cost is another stated limitation. The authors call their approach expensive and express an intention to reduce that cost. Their explanation refers to the notebook-based experimental setup, but the paper does not provide a complexity analysis or measured evidence separating notebook overhead from training and inference costs. The limitation is acknowledged more clearly than it is quantified.

#### Reporting inconsistencies limit reconstruction

Several numerical descriptions do not align. The collection’s stated overall article count sits uneasily beside the separate subset counts. Article2 has conflicting totals in its detailed sampling account and its results description. Some count and TF-IDF matrices have different training row counts without an explanation of which records were excluded.

The DistilBERT split description also contains a mismatch. It states a 70%, 20%, and 10% division, then illustrates a 5000-article setting with 3600 training articles, 1000 test articles, and 400 validation articles. These figures should remain visible as reported instead of being silently adjusted to fit the stated percentages.

Feature configuration is another unresolved issue. The repeated bigram description conflicts with ngrams=(1, 1). The count-vectorizer defaults are described without a complete reproducible parameter declaration, and some classifier settings are ambiguous. These uncertainties prevent a reader from knowing whether an attempted reproduction would be testing exactly the same pipeline.

The voting mechanism has a more substantial specification gap. Majority voting is understandable, but the confidence check, the instruction to add instances, and the tie procedure are not integrated into a clear prediction algorithm. This makes it difficult to distinguish the conceptual ensemble from the actual procedure that generated the results.

#### Classification accuracy does not identify the evidence used

A content-based classifier can exploit any predictive association surviving preprocessing. It may learn author-specific word choices, but it may also learn subjects, recurring quotations, publication routines, or other correlations. The paper does not report tests that hold such factors apart.

This is particularly important for news articles, where writers may repeatedly cover similar material. The observation does not establish that topic leakage occurred; the paper does not supply that analysis. It establishes that the evaluation cannot determine how much of the score comes from stable writing style rather than correlated content.

Removing stop words, punctuation, and capitalization also complicates the style claim. These choices may improve a particular classifier while discarding other stylistic evidence. Because the authors do not ablate the preprocessing operations, the study cannot show that the chosen normalization preserves all relevant author information.

#### The task remains closed to selected candidates

The evaluated classifiers choose among authors represented during training. The paper does not demonstrate rejection of a genuinely unfamiliar writer, recognition of collaborative authorship, or reliable handling of an article outside every candidate’s established evidence. Those are different operating conditions from selecting the most likely known label.

The restricted author selection also leaves uncertain how performance changes for writers with little material. Frequent authors provide comparatively convenient training evidence. Success under that selection does not establish equivalent performance for a broad and uneven author population.

No cross-publication or temporal holdout is described as a dedicated generalization test. Nor does the paper evaluate another language or genre as part of its proposed system. Its discussion of multilingual earlier work supplies context, not multilingual evidence for the new approach.

#### Uncertainty and efficiency are not fully measured

The paper does not report confidence intervals, run-to-run variation, or statistical tests for the main differences. A confidence threshold inside a classifier is not a substitute for uncertainty around an experimental result. These concern different questions: one governs a prediction, while the other concerns how stable an observed performance estimate is.

The multiclass metric aggregation is unspecified. This matters because different averaging procedures can assign different influence to frequent and infrequent classes. Without that information, the reported precision, recall, and F1 are less informative than they would be in a fully defined evaluation.

The transformer branch lacks a complete long-document policy despite the large article lengths reported in the dataset description. Different truncation or segmentation choices can change which author evidence is visible. The missing policy therefore affects both reproducibility and interpretation.

Finally, general DistilBERT size and speed claims do not establish the relative cost of the tested authorship systems. The study gives hardware information and acknowledges computational expense, but no controlled efficiency comparison accompanies its accuracy results. A practical deployment decision would require evidence about both predictive behavior and resource use.

### What came after

[CIOL at AraGenEval shared task: Authorship Identification and AI Generated Text Detection in Arabic using Pretrained Models](https://md.research.elamur.ai/free/en/papers/meem-2025-ciol-arageneval-shared-task-authorship/), published in 2025, cites Abbasi and colleagues’ study. Its title places authorship identification alongside detection of AI-generated Arabic text and identifies pretrained approaches as part of its scope. This establishes a later connection to authorship research in a different language and evaluation setting.

The available bibliographic information does not describe how CIOL uses the earlier study’s ideas. It does not establish that the later work adopts the same ensemble members, confidence threshold, sparse features, or multi-depth design. Nor does it supply a result that can be compared directly with the news-author experiments. A citation supports an intellectual connection, but it does not by itself demonstrate replication or improvement.

The defensible continuity is therefore at the level of the research problem and the comparison of learned text representations for attribution. Abbasi and colleagues show that conventional voting and a pretrained transformer branch can lead under different restricted news settings. The later Arabic shared-task work indicates that authorship identification continues into a setting involving pretrained approaches and generated-text detection. Establishing which specific mechanisms carried forward would require a fuller account of that later study.

## Cite

Cite as Ahmed Abbasi, Abdul Rehman Javed, Farkhund Iqbal, Zunera Jalil, Thippa Reddy Gadekallu and Natalia Kryvinska. 2022. Authorship identification using ensemble learning. Scientific Reports.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1038/s41598-022-13690-4](https://doi.org/10.1038/s41598-022-13690-4)

```bibtex
@inproceedings{abbasi2022authorship,
  title = {{Authorship identification using ensemble learning}},
  author = {Ahmed Abbasi, Abdul Rehman Javed, Farkhund Iqbal, Zunera Jalil, Thippa Reddy Gadekallu and Natalia Kryvinska},
  booktitle = {Scientific Reports},
  year = {2022},
  doi = {10.1038/s41598-022-13690-4},
  url = {https://doi.org/10.1038/s41598-022-13690-4}
}
```

> 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)
