Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 25 March 2026

Comparative Study of BERT Based Architectures for Multi Task News Classification and Threat Detection

A. Mustain Billah1 & Sani M Isa1

Journal of Computer Science, Volume 22, Issue 3, pp. 1073–1082 · doi.org/10.3844/jcssp.2026.1073.1082

1,124 accesses802 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

We present a comparative analysis of single-task and multi-task BERT-based models for Indonesian news classification across two objectives: category prediction (five classes) and threat detection (binary). Using 8,951 annotated news titles, single-task baselines achieved weighted F1 scores of 0.84±0.01 (category) and 0.87±0.00 (threat). Multi-task hybrids integrating CNN, LSTM, and Bi-LSTM layers performed comparably overall and improved minority class threat detection, with the BERT CNN variant attaining the highest threat F1 (0.88±0.01). Per-class results confirmed that the Ideology category, represented by only 279 samples, remained the most challenging. Efficiency benchmarks on an NVIDIA L4 demonstrated practical feasibility, with batch size 32 throughput of approximately 450-470 items per second (equivalent to 2.1 2.2 ms per title) and single-item latency of around 67-69 ms. Training times ranged from 138±12 to 193±22 s across seeds. These findings indicate that multi-task BERT hybrids can improve threat detection while sustaining near real-time throughput, supporting their applicability in large scale monitoring of Indonesian news streams.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Billah, A. M. & Isa, S. M. (2026). Comparative Study of BERT Based Architectures for Multi Task News Classification and Threat Detection. Journal of Computer Science, 22(3), 1073–1082. https://doi.org/10.3844/jcssp.2026.1073.1082

Licence
CC BY 4.0
Issue
Volume 22, Issue 3
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Comparative Study of BERT Based Architectures for Multi Task News Classification and Threat DetectionJournal of Computer Science · Volume 22, Issue 3 · pp. 1073–1082 · CC BY 4.0Download