cs.CLFeb 23, 2026

Natural Language Processing Models for Robust Document Categorization

Authors: Radoslaw Roszczyk, Pawel Tecza, Maciej Stodolski, Krzysztof Siwek

Organizations: Faculty of Electrical Engineering, Warsaw University of Technology pl. Politechniki 1, 00-661 Warsaw · Student of Warsaw University of Technology, pl. Politechniki 1, 00-661 Warsaw

Abstract

This article presents an evaluation of several machine learning methods applied to automated text classification, alongside the design of a demonstrative system for unbalanced document categorization and distribution. The study focuses on balancing classification accuracy with computational efficiency, a key consideration when integrating AI into real world automation pipelines. Three models of varying complexity were examined: a Naive Bayes classifier, a bidirectional LSTM network, and a fine tuned transformer based BERT model. The experiments reveal substantial differences in performance. BERT achieved the highest accuracy, consistently exceeding 99%, but required significantly longer training times and greater computational resources. The BiLSTM model provided a strong compromise, reaching approximately 98.56% accuracy while maintaining moderate training costs and offering robust contextual understanding. Naive Bayes proved to be the fastest to train, on the order of milliseconds, yet delivered the lowest accuracy, averaging around 94.5%. Class imbalance influenced all methods, particularly in the recognition of minority categories. A fully functional demonstrative system was implemented to validate practical applicability, enabling automated routing of technical requests with throughput unattainable through manual processing. The study concludes that BiLSTM offers the most balanced solution for the examined scenario, while also outlining opportunities for future improvements and further exploration of transformer architectures.

Figures & tables

Explore similar work

CardsList
  1. Benchmarking PyCaret AutoML Against BiLSTM for Fine-Grained Emotion Classification: A Comparative Study on 20-Class Emotion Detection

    Apr 29, 2026Arya Muda Siregar, Arielva Simon Siahaan, Haikal Fransisko Simbolon +3Recurrent Neural NetworksText Classification

  2. A Systematic Evaluation of Imbalance Handling Methods in Biomedical Binary Classification

    May 13, 2026Jiandong Chen, Lingjie Su, Le Peng +3Class-Imbalanced LearningBinary Classification

  3. Large Language Models for Biomedical Article Classification

    Mar 12, 2026Jakub Proboszcz, Paweł CichoszFew-Shot Text ClassificationLarge Language Model-Based Text Classification