DOI: 10.11118/ecos2026_027
AUTHORSHIP VERIFICATION OF ENGLISH TEXT: TRADITIONAL STYLOMETRY, TRANSFORMERS, AND LARGE LANGUAGE MODELS COMPARED AND DEPLOYED
- Jiří Pokorný1, Michaela Veselá1, Oldřich Trenz1
- 1 Department of Informatics, Faculty of Business and Economics, Mendel University in Brno, Zemědělská 1, 613 00 Brno, Czech Republic
This article compares three families of methods for authorship verification, the binary decision whether two texts share one author. We frame the task as pairwise classification and test traditional stylometric pipelines (bag-of-words and TF-IDF with scikit-learn classifiers), fine-tuned transformers (Longformer, BigBird-RoBERTa, ModernBERT), and large language models used through prompting. Training used the PAN 2020 corpus, testing the disjoint PAN 2021 corpus, together 295,800 English text pairs. A fine-tuned Longformer classification head reached the highest F1 of 92.38%, but a much cheaper TF-IDF pipeline with a linear classifier trailed it by less than one percentage point at 91.50%. The way two text vectors are combined into one feature vector mattered more than the classifier itself: absolute difference beat element-wise multiplication everywhere. The three open large language models we tried produced unusable output. Because hosting was constrained, the deployed web application runs TF-IDF with logistic regression (F1 91.28%), which returns the probability the interface needs.
Klíčová slova: authorship verification, stylometry, TF-IDF, transformers, Longformer, large language models
stránky: 257-263, online: 2026
Reference
- ABBASI, A. et al. 2022. Authorship identification using ensemble learning. Scientific Reports. 12, 9537. https://www.nature.com/articles/s41598-022-13690-4
Přejít k původnímu zdroji... - DEVLIN, J. et al. 2018. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. CoRR. arXiv:1810.04805 http://arxiv.org/abs/1810.04805
- GÓMEZ-ADORNO, H. et al. 2016. Automatic Authorship Detection Using Textual Patterns Extracted from Integrated Syntactic Graphs. Sensors. 16(9), 1374. https://doi.org/10.3390/s16091374
Přejít k původnímu zdroji... - HUANG, B. et al. 2024. Can Large Language Models Identify Authorship? EMNLP, 445-460. https://aclanthology.org/2024.findings-emnlp.26.pdf
Přejít k původnímu zdroji... - KESTEMONT, M. et al. 2020. Overview of the Cross-Domain Authorship Verification Task at PAN 2020. CLEF. PAN. https://pan.webis.de/clef20/pan20-web/author-identification.html
- KESTEMONT, M. et al. 2021. Overview of the Authorship Verification Task at PAN 2021. CLEF. PAN. https://pan.webis.de/clef21/pan21-web/author-identification.html
- KOPPEL, M. et al. 2004. Authorship Verification as a One-Class Classification Problem. In: ICML 04, pp. 62. https://doi.org/10.1145/1015330.1015448
Přejít k původnímu zdroji... - POKORNY, J. 2026. Authorship verification of text using selected artificial intelligence methods [in Czech]. Master's thesis, head: Trenz, O. Brno: Mendel University in Brno.
- SAEDI, C. et al. 2021. Siamese networks for large-scale author identification. Computer Speech & Language. 70, 101241. https://doi.org/10.1016/j.csl.2021.101241
Přejít k původnímu zdroji... - SAVOY, J. 2020. Machine Learning Methods for Stylometry: Authorship Attribution and Author Profiling. Cham: Springer Nature. ISBN 978-3-030-53359-5.
Přejít k původnímu zdroji... - STAMATATOS, E. 2008. A Survey of Modern Authorship Attribution Methods. Journal of the American Society for Information Science and Technology. 538-556. https://doi.org/10.1002/asi.21001
Přejít k původnímu zdroji... - STAMATATOS, E. et al. 2016. Authorship Verification: A Review of Recent Advances. Research in Computing Science. 9-25. https://doi.org/10.13053/rcs-123-1-1
Přejít k původnímu zdroji... - TYO, J. et al. 2022. On the State of the Art in Authorship Attribution and Authorship Verification.arXiv:2209.06869. http://dx.doi.org/10.48550/arXiv.2209.06869
Přejít k původnímu zdroji... - VASWANI, A. et al. 2017. Attention Is All You Need. arXiv:1706.03762 https://arxiv.org/abs/1706.03762

