Pertanika Journal of Science & Technology
Pertanika Journal Home Facebook
Pertanika · Universiti Putra Malaysia Press

Pertanika Journal of Science & Technology

Official journal of Universiti Putra Malaysia for scholarly work across science, engineering and related technologies.

e-ISSN 2231-8526 ISSN 0128-7680
Research article

Automated News Categorisation Using Transformer-Based Deep Learning Models: A Step Toward Intelligent Media Classification

B. Rupa Devi, Malyala Gayatri, Rajesh Lingam, Penubaka Balaji, S. Beatrice, and S. Athinarayanan

https://doi.org/10.47836/pjst.34.5.21
KeywordsAttention mechanism, deep learning, interpretability, media analytics, news categorisation, transformer model
Article content

Abstract

The rapid growth of online news content has increased the need for automated methods to achieve accurate and scalable news categorisation. Manual classification is labour-intensive and difficult to maintain when processing large volumes of heterogeneous news articles. To address this challenge, this study proposes a Transformer-based deep learning framework for automated news classification. The proposed architecture incorporates positional encoding and multi-head self-attention to capture contextual dependencies among words, while dropout regularisation is employed to reduce overfitting. In addition, domain-specific fine-tuning is applied to adapt the pre-trained Transformer representations to the characteristics of news classification. The proposed model is evaluated using the HuffPost News Category Dataset, which contains approximately 210,000 news articles distributed across 42 categories. Experimental results demonstrate that the proposed framework achieves 96.78% accuracy on the evaluation set. For comparison, a Multinomial Naïve Bayes (MNB) classifier achieves an accuracy of 84.52%. These results indicate that the Transformer-based framework provides improved classification performance compared with the selected conventional baseline. However, further evaluation using additional performance metrics, statistical significance testing, and comparisons with contemporary deep learning and Transformer-based baselines is necessary to establish the robustness and generalisability of the proposed approach, Long Short-Term Memory (LSTM) (89.63%), and BERT (92.14%). Ablation data also confirm the usefulness and need for the integrated architectural elements. The proposed design successfully handles the complexity of large-scale, multi-class news classification, representing a crucial step forward in automated content analysis.