TextNeX: Text Network of eXperts for Robust Text Classification—Case Study on Machine-Generated-Text Detection
Efficient and accurate text classification is essential for a wide range of natural language processing applications, including sentiment analysis, spam detection and machine-generated text identification. While recent advancements in transformer-based large language models have achieved remarkable performance, they often come with significant computational costs, limiting their applicability in resource-constrained environments. In this work, we propose TextNeX, a new ensemble model that leverages lightweight language models to achieve state-of-the-art performance while maintaining computational efficiency. The development process of TextNeX model follows a three-phase procedure: (i) Expansion: generation of a pool of diverse lightweight models via randomized model setups and variations of training data; (ii) Selection: application of a clustering-based heterogeneity-driven selection to retain the most complementary models and (iii) Ensemble optimization: optimization of the selected models’ contributions using sequential quadratic programming. Experimental evaluations on three challenging text classification datasets demonstrate that TextNeX outperforms existing state-of-the-art ensemble models in accuracy, robustness and computational effectiveness, offering a practical alternative to large-scale models for real-world applications.
Authors
- Emmanuel Pintelas
- Ioannis E. Livieris (ORCID: https://orcid.org/0000-0002-3996-3301)
- Basil Tampakas (ORCID: https://orcid.org/0000-0003-1799-6548)
- Athanasios Koursaris
Institutions
- University of Piraeus (GR)
- University of Peloponnese (GR)
- University of Patras (GR)
Publication Details
- Journal
- Mathematics
- Published
- 2025-05-09
- DOI
- https://doi.org/10.3390/math13101555
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00