Enhancing Support Vector Machine Performance Using Particle Swarm Optimization for Arabic Text Classification

Authors

  • Hosam Alzawam University of Gharyan Author

DOI:

https://doi.org/10.65568/gujes.2026.020118

Keywords:

Arabic Text Classification, Support Vector Machine (SVM), Particle Swarm Optimization (PSO), Natural Language Processing (NLP), Hyperparameters Optimization., Arabic Text Classification, Support Vector Machine (SVM), Particle Swarm Optimization (PSO), Natural Language Processing (NLP), Hyperparameters Optimization.

Abstract

Arabic is a very complex language, stemming from its high morphological richness, high linguistic complexity, and inadequate sizes of available quality labeled resources. In this paper, we attempt to address such obstacles by proposing a novel hybrid model that combines SVM and PSO for improving Arabic text classification. The efficacy of SVMs for classification is known to be good, their performance depends on hyperparameter settings. The data has been classified using SVM with optimized parameters (C, Gamma, Kernel type and feature subset) on the basis of PSO technique which is a strong metaheuristic algorithm. The experimental results of the proposed SVM-PSO were evaluated with a corpus composed from different on line sources in Arabic, these representing multiple lineage dealing with various categories such as news (sports, politics), history, geography and IT. Experiments show that the proposed method not only results in significantly better performance than compared methods with a large advantage, but also high classification accuracy (99.2%). The model was also found to have substantially greater precision (99.1%), recall (99.0%), and F-Score (99.1%) as compared to traditional machine learning classifiers, namely standard SVM (92%), Naive Bayes (88%) and Random Forest (94%). This research showed that combining metaheuristic search for parameter tuning, along with classical machine learning can result robust classifier to process Arabic text as one of those state-of-the-art ones in the fair field of NLP.

References

[1] A. M. Alayba and M. Altamimi, “Optimization of Arabic text classification using SVM integrated with word embedding models on a novel dataset,” Int. J. Adv. Appl. Sci., vol. 12, no. 9, p. 1021833, 2025.

[2] Z. K. Abdalrdha, A. A. Kadhim, and A. Kadum, “Enhancing Fake News Detection via PSO-Optimized Ensemble Learning: A Comparative Study of SVM, NB, and RF,” Trait. du Signal, vol. 42, no. 1, 2025.

[3] M. A. Mosa, “Optimizing text classification accuracy: a hybrid strategy incorporating enhanced NSGA-II and XGBoost techniques for feature selection,” Prog. Artif. Intell., vol. 14, no. 1, 2025.

[4] T. M. Almutairi et al., “Open source Arabic research paper dataset for natural language processing,” Sci. Rep., vol. 15, p. 16647, 2025.

[5] E. Alnagi, “Boosting Arabic text classification using hybrid deep learning approach,” SN Appl. Sci., vol. 7, p. 7025, 2025.

[6] B. Shannaq, “Enhancing Arabic text classification through mobile virtual numeric encoding,” Decision Anal. J., vol. 14, p. 100161, 2025.

[7] M. Louail, “Dimensionality reduction in machine learning for Arabic text classification,” Univ. Setif 1 Repository, 2025.

[8] S. F. Abdhood et al., “Data augmentation for Arabic text classification: A review of recent trends,” PMC PubMed Central, PMC11935767, 2025.

[9] M. A. Ahmed, “Classification of Arabic language (Classical Arabic Poetry) using SVM and NLP,” EDRAAK J., 2025.

[10] Y. A. Alhaj et al., “A novel text classification technique using improved particle swarm optimization: A case study of Arabic language,” Future Internet, vol. 14, no. 7, p. 194, 2022.

[11] A. Al-Thwaiba et al., “Arabic text categorization: A comparative study of machine learning algorithms,” J. Comput. Sci., 2024.

[12] D. Tiwari, B. Nagpal, B. S. Bhati, M. Gupta, P. Suanpang, S. Butdisuwan, and A. Nanthaamornphong, “SPSO-EFVM: A particle swarm optimization-based ensemble fusion voting model for sentence-level sentiment analysis,” IEEE Access, 2024.

[13] M. Hijazi, A. Zeki, and A. Ismail, “Arabic text classification using hybrid feature selection method using chi-square binary artificial bee colony algorithm,” Int. J. Math. Comput. Sci., vol. 16, no. 1, pp. 213–228, 2021.

[14] K. M. Fouad, S. F. Sabbeh, and W. Medhat, “Arabic fake news detection using deep learning,” Comput. Mater. Continua, 2022.

[15] A. El Kah and I. Zeroual, “The effects of pre-processing techniques on Arabic text classification,” Int. J. Adv. Trends Comput. Sci. Eng., vol. 10, no. 1, 2021.

[16] H. T. Sadeeq and A. M. Abdulazeez, “Metaheuristics: A review of algorithms,” Int. J. Online Biomed. Eng. (iJOE), vol. 19, no. 9, pp. 142–164, 2023.

[17] Mamouni, M. E., Zennaki, M., & Sadouni, K. (2019). SVM model selection using PSO for learning handwritten Arabic characters. Computers, Materials & Continua, 61(3), 995–1008.

[18] E. M. K. Al-Awadly, A. I. Ebada, and A. M. Al-Zoghby, “Arabic handwritten text recognition systems: Challenges and opportunities,” Egypt. J. Lang. Eng., vol. 10, no. 2, 2023.

.

Downloads

Published

2026-04-04