An ensemble deep learning model for author identification through multiple features

Abstract One of the challenges in the natural language processing is authorship identification. The proposed research will improve the accuracy and stability of authorship identification by creating a new deep learning framework that combines the features of various types in a self-attentive weighte...

Full description

Saved in:
Bibliographic Details
Main Author: Yuan Zhang
Format: Article
Language:English
Published: Nature Portfolio 2025-07-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-025-11596-5
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849763601919770624
author Yuan Zhang
author_facet Yuan Zhang
author_sort Yuan Zhang
collection DOAJ
description Abstract One of the challenges in the natural language processing is authorship identification. The proposed research will improve the accuracy and stability of authorship identification by creating a new deep learning framework that combines the features of various types in a self-attentive weighted ensemble framework. Our approach enhances generalization to a great extent by combining a wide range of writing styles representations such as statistical features, TF-IDF vectors, and Word2Vec embeddings. The different sets of features are fed through separate Convolutional Neural Networks (CNN) so that the specific stylistic features can be extracted. More importantly, a self-attention mechanism is presented to smartly combine the results of these specialized CNNs so that the model can dynamically learn the significance of each type of features. The summation of the representation is then passed into a weighted SoftMax classifier with the aim of optimizing performance by taking advantage of the strengths of individual branches of the neural network. The suggested model was intensively tested on two different datasets, Dataset A, which included four authors, and Dataset B, which included thirty authors. Our method performed better than the baseline state-of-the-art methods by at least 3.09% and 4.45% on Dataset A and Dataset B respectively with accuracy of 80.29% and 78.44%, respectively. This self-attention-augmented multi-feature ensemble approach is very effective, with significant gains in state-of-the-art accuracy and robustness metrics of author identification.
format Article
id doaj-art-cc9d53d3dffa4fa6ac1057ef97eeaf10
institution DOAJ
issn 2045-2322
language English
publishDate 2025-07-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-cc9d53d3dffa4fa6ac1057ef97eeaf102025-08-20T03:05:21ZengNature PortfolioScientific Reports2045-23222025-07-0115111410.1038/s41598-025-11596-5An ensemble deep learning model for author identification through multiple featuresYuan Zhang0School of Humanities and Social Science, Xi’an Jiaotong UniversityAbstract One of the challenges in the natural language processing is authorship identification. The proposed research will improve the accuracy and stability of authorship identification by creating a new deep learning framework that combines the features of various types in a self-attentive weighted ensemble framework. Our approach enhances generalization to a great extent by combining a wide range of writing styles representations such as statistical features, TF-IDF vectors, and Word2Vec embeddings. The different sets of features are fed through separate Convolutional Neural Networks (CNN) so that the specific stylistic features can be extracted. More importantly, a self-attention mechanism is presented to smartly combine the results of these specialized CNNs so that the model can dynamically learn the significance of each type of features. The summation of the representation is then passed into a weighted SoftMax classifier with the aim of optimizing performance by taking advantage of the strengths of individual branches of the neural network. The suggested model was intensively tested on two different datasets, Dataset A, which included four authors, and Dataset B, which included thirty authors. Our method performed better than the baseline state-of-the-art methods by at least 3.09% and 4.45% on Dataset A and Dataset B respectively with accuracy of 80.29% and 78.44%, respectively. This self-attention-augmented multi-feature ensemble approach is very effective, with significant gains in state-of-the-art accuracy and robustness metrics of author identification.https://doi.org/10.1038/s41598-025-11596-5Deep learningAuthor identificationConvolutional neural networkText analysisLiterary works
spellingShingle Yuan Zhang
An ensemble deep learning model for author identification through multiple features
Scientific Reports
Deep learning
Author identification
Convolutional neural network
Text analysis
Literary works
title An ensemble deep learning model for author identification through multiple features
title_full An ensemble deep learning model for author identification through multiple features
title_fullStr An ensemble deep learning model for author identification through multiple features
title_full_unstemmed An ensemble deep learning model for author identification through multiple features
title_short An ensemble deep learning model for author identification through multiple features
title_sort ensemble deep learning model for author identification through multiple features
topic Deep learning
Author identification
Convolutional neural network
Text analysis
Literary works
url https://doi.org/10.1038/s41598-025-11596-5
work_keys_str_mv AT yuanzhang anensembledeeplearningmodelforauthoridentificationthroughmultiplefeatures
AT yuanzhang ensembledeeplearningmodelforauthoridentificationthroughmultiplefeatures