Type-1 and Type-2 Fuzzy Parameter Adaptation in PSO for CNN Architecture Optimization Applied to Facial Emotion Recognition
DOI:
https://doi.org/10.61467/2007.1558.2026.v17i4.1486Keywords:
artificial neural networks, Convolutional neural network, Particle Swarm Optimization, fuzzy logicAbstract
It is known that through the use of Convolutional Neural Networks (CNNs) classification problems can be solved, such as facial emotion classification. Fuzzy logic has allowed to reduce the uncertainty that may exist when making a decision. In our work, a convolutional neural network model is proposed that allows, through a fuzzy Mamdani inference system, to choose the optimal hyperparameters within Particle Swarm Optimization (PSO), adjusting variables such as inertial weight and cognitive and social acceleration coefficients, in order to determine the number of convolutional layers and filters to be used within the CNN model. We evaluate Type-1 and interval Type-2 fuzzy adaptation within an identical search space and training setup, focusing on how the treatment of uncertainty shapes the quality of the resulting architectures. The experimental results allow an evaluation of the proposed hybrid system for facial emotion classification using the FER2013 dataset.
Spanish-language metadata / Metadatos en español
Título en español:
Adaptación difusa de parámetros de tipo 1 y tipo 2 en PSO para la optimización de arquitecturas CNN aplicada al reconocimiento de emociones faciales
Resumen:
Es bien sabido que las redes neuronales convolucionales (CNN) permiten resolver problemas de clasificación, como la clasificación de emociones faciales. La lógica difusa ha contribuido a reducir la incertidumbre que puede existir durante la toma de decisiones. En este trabajo se propone un modelo de red neuronal convolucional que, mediante un sistema de inferencia difusa de Mamdani, permite seleccionar los hiperparámetros óptimos dentro de la optimización por enjambre de partículas (PSO). Para ello, se ajustan variables como el peso de inercia y los coeficientes de aceleración cognitiva y social, con el propósito de determinar el número de capas convolucionales y filtros que deben utilizarse en el modelo CNN. Se evalúan la adaptación difusa de tipo 1 y la adaptación difusa de tipo 2 por intervalos dentro de un espacio de búsqueda y una configuración de entrenamiento idénticos, prestando especial atención a la manera en que el tratamiento de la incertidumbre influye en la calidad de las arquitecturas resultantes. Los resultados experimentales permiten evaluar el sistema híbrido propuesto para la clasificación de emociones faciales mediante el conjunto de datos FER2013.
Palabras Claves:
Redes neuronales artificiales.
Smart citations:
https://scite.ai/reports/10.61467/2007.1558.2026.v17i4.1486
Dimensions.
Open Alex.
References
Alfi, A., & Fateh, M. M. (2011). Intelligent identification and control using improved fuzzy particle swarm optimization. Expert Systems with Applications, 38(10), 12312–12317. https://doi.org/10.1016/J.ESWA.2011.04.009
Almansour, N., Sahran, S., Abdullah, A., Albashish, D., & Hamzah, J. C. (2025). Hyperparameter optimization of convolutional neural networks using particle swarm optimization for diabetic retinopathy detection. PeerJ Computer Science, 11, e3273. https://doi.org/10.7717/PEERJ-CS.3273
Alwan, H. B. (2025). Develop, Design, and Evaluate a Real-Time Facial Micro-Expression Recognition Model for Mental Health Monitoring Using a Three-Dimensional Convolutional Neural Network. IEEE Access, 13, 187602–187613. https://doi.org/10.1109/ACCESS.2025.3626566
Bansal, J. C., Singh, P. K., Saraswat, M., Verma, A., Jadon, S. S., & Abraham, A. (2011). Inertia weight strategies in particle swarm optimization. Proceedings of the 2011 3rd World Congress on Nature and Biologically Inspired Computing, NaBIC 2011, 633–640. https://doi.org/10.1109/NABIC.2011.6089659
Behzad, M. (2025). SMILE-VLM: Self-Supervised Multi-View Representation Learning Using Vision-Language Model for 3D/4D Facial Expression Recognition. IEEE Access, 13, 143831–143842. https://doi.org/10.1109/ACCESS.2025.3598019
Berenji, H. R. (1992). Fuzzy Logic Controllers. In R. R. & Z. L. A. Yager (Ed.), An Introduction to Fuzzy Logic Applications in Intelligent Systems (pp. 69–96). Springer, Boston, MA. https://doi.org/10.1007/978-1-4615-3640-6_4
Bergstra, J., & Bengio, Y. (2012). Random search for hyper-parameter optimization. The Journal of Machine Learning Research, 13, 281–315. https://doi.org/10.5555/2188385.2188395
Bhati, V. S., Tiwari, N., & Chawla, M. (2025). A Generalized Zero-Shot Deep Learning Classifier for Emotion Recognition Using Facial Expression Images. IEEE Access, 13, 18687–18700. https://doi.org/10.1109/ACCESS.2025.3533580
Castillo, O., Amador-Angulo, L., Castro, J. R., & Garcia-Valdez, M. (2016). A comparative study of type-1 fuzzy logic systems, interval type-2 fuzzy logic systems and generalized type-2 fuzzy logic systems in control problems. Information Sciences, 354, 257–274. https://doi.org/10.1016/J.INS.2016.03.026
Castillo, O., & Melin, P. (2014). A review on interval type-2 fuzzy logic applications in intelligent control. Information Sciences, 279, 615–631. https://doi.org/10.1016/J.INS.2014.04.015
Castillo, O., Melin, P., Kacprzyk, J., & Pedrycz, W. (2007). Type-2 Fuzzy Logic: Theory and Applications. 2007 IEEE International Conference on Granular Computing, 145–145. https://doi.org/10.1109/GRC.2007.118
Chen, H. C., Widodo, A. M., Wisnujati, A., Rahaman, M., Lin, J. C. W., Chen, L., & Weng, C. E. (2022). AlexNet convolutional neural network for disease detection and classification of tomato leaf. Electronics, 11(6), 951. https://doi.org/10.3390/electronics11060951
Elhawat, M., & Altınkaya, H. (2025). Frequency Regulation of Stand-Alone Synchronous Generator via Induction Motor Speed Control Using a PSO-Fuzzy PID Controller. Applied Sciences 2025, Vol. 15, Page 3634, 15(7), 3634. https://doi.org/10.3390/APP15073634
Haghrah, A. A., Ghaemi, S., & Badamchizadeh, M. A. (2025). PyIT2FLS: An open-source Python framework for flexible and scalable development of type 1 and interval type 2 fuzzy logic models. SoftwareX, 30, 102146. https://doi.org/10.1016/J.SOFTX.2025.102146
He, J., Li, S., Shen, J., Liu, Y., Wang, J., & Jin, P. (2018). Facial expression recognition based on VGGNet convolutional neural network. 2018 Chinese Automation Congress (CAC), 4146–4151. https://doi.org/10.1109/CAC.2018.8623238
Izard, C. E. (1991). The psychology of emotions. Plenum Press. https://doi.org/10.1007/978-1-4899-0615-1
Kalaivani, S., Tharini, C., Viswa, T. M. S., Sara, K. Z. F., & Abinaya, S. T. (2024). ResNet-based classification for leaf disease detection. Journal of the Institution of Engineers (India): Series B, 106(1), 1–14. https://doi.org/10.1007/s40031-024-01062-7
Karnik, N. N., & Mendel, J. M. (1999). Applications of type-2 fuzzy logic systems to forecasting of time-series. Information Sciences, 120(1–4), 89–111. https://doi.org/10.1016/S0020-0255(99)00067-5
Kennedy, J., & Eberhart, R. (1995). Particle swarm optimization. Proceedings of ICNN’95—International Conference on Neural Networks, 4, 1942–1948. https://doi.org/10.1109/ICNN.1995.488968
Khan, A. S., Shafi, I., & Khan, A. H. (2025). Vision–language pretraining for image captioning using facial expression recognition. IEEE Access, 13, 210435–210447. https://doi.org/10.1109/ACCESS.2025.3643197
Liao, J., Guo, L., Jiang, L., Yu, C., Liang, W., Li, K., & Pop, F. (2025). A machine learning-based feature extraction method for image classification using ResNet architecture. Digital Signal Processing, 160, 105036. https://doi.org/10.1016/J.DSP.2025.105036
Marini, F., & Walczak, B. (2015). Particle swarm optimization (PSO). A tutorial. Chemometrics and Intelligent Laboratory Systems, 149, 153–165. https://doi.org/10.1016/J.CHEMOLAB.2015.08.020
Mendel, J. M. (2024). Type-1 fuzzy sets and fuzzy logic. In Explainable uncertain rule-based fuzzy systems (pp. 17–73). Springer. https://doi.org/10.1007/978-3-031-35378-9_2
Mittal, K., Jain, A., Vaisla, K. S., Castillo, O., & Kacprzyk, J. (2020). A comprehensive review on type 2 fuzzy logic applications: Past, present and future. Engineering Applications of Artificial Intelligence, 95, 103916. https://doi.org/10.1016/J.ENGAPPAI.2020.103916
Mohammadi Lanbaran, N., Naujokaitis, D., Kairaitis, G., & Radziukynas, V. (2025). Hybrid Hourly Solar Energy Forecasting Using BiLSTM Networks with Attention Mechanism, General Type-2 Fuzzy Logic Approach: A Comparative Study of Seasonal Variability in Lithuania. Applied Sciences 2025, Vol. 15, Page 9672, 15(17), 9672. https://doi.org/10.3390/APP15179672
Niknam, T., Amiri, B., Olamaei, J., & Arefi, A. (2009). An efficient hybrid evolutionary optimization algorithm based on PSO and SA for clustering. Journal of Zhejiang University-SCIENCE A 2009 10:4, 10(4), 512–519. https://doi.org/10.1631/JZUS.A0820196
Papic, A., Herenda, F., Hubana, T., & Hodzic, M. (2025). Beyond Trial and Error: Comparative Analysis of Heuristic Strategies for Optimal Neural Network Architectures. 2025 24th International Symposium INFOTEH-JAHORINA, INFOTEH 2025 - Proceedings. https://doi.org/10.1109/INFOTEH64129.2025.10959303
Pazandeh, A. M., & Fatemizadeh, E. (2025). Enhancing Vision Transformers for Facial Expression Recognition. IEEE Access, 13, 144689–144698. https://doi.org/10.1109/ACCESS.2025.3598917
Raza, A., Musa, S., Shahrafidz Bin Khalid, A., Mansoor Alam, M., Mohd Su’Ud, M., & Noor, F. (2024). Enhancing Medical Image Classification Through PSO-Optimized Dual Deterministic Approach and Robust Transfer Learning. IEEE Access, 12, 177144–177159. https://doi.org/10.1109/ACCESS.2024.3504266
Sauter, D. A. (2017). The nonverbal communication of positive emotions: An emotion family approach. Emotion Review, 9(3), 222–234. https://doi.org/10.1177/1754073916667236
Schröder, S., Baratchi, M., & van Rijn, J. N. (2025). Overfitting in combined algorithm selection and hyperparameter optimization. In Advances in Intelligent Data Analysis XXIII (pp. 181–194). Springer. https://doi.org/10.1007/978-3-031-91398-3_14
Sharma, N., Jain, V., & Mishra, A. (2018). An Analysis Of Convolutional Neural Networks For Image Classification. Procedia Computer Science, 132, 377–384. https://doi.org/10.1016/J.PROCS.2018.05.198
Sharma, R., Matharu, J. S., & Parmar, K. S. (2026). A survey on particle swarm optimization: Evolution, adaptations and practical implementations. Applied Soft Computing, 186, 114016. https://doi.org/10.1016/j.asoc.2025.114016
Shi, Y., & Eberhart, R. C. (1998). A modified particle swarm optimizer. 1998 IEEE International Conference on Evolutionary Computation Proceedings, 69–73. https://doi.org/10.1109/ICEC.1998.699146
Shi, Y., & Eberhart, R. C. (1999). Empirical study of particle swarm optimization. Proceedings of the 1999 Congress on Evolutionary Computation, CEC 1999, 3, 1945–1950. https://doi.org/10.1109/CEC.1999.785511
Shirani Shamsabadi, J., Ansari Mahyari, S., & Ghaderi-Zefrehei, M. (2025). Adaptive neuro-fuzzy inference systems for improved mastitis classification and diagnosis. Scientific Reports, 15, 20456. https://doi.org/10.1038/s41598-025-03008-5
Veiga, B., Faia, R., Pinto, T., & Vale, Z. (2022). Pyticle Swarm: A Particle Swarm Optimization Library for Python. SSRN Electronic Journal. https://doi.org/10.2139/ssrn.4169749
Waysi Naaman, D., Tahir Ahmed, B., & Ibrahim, M. I. (2025). Optimization by nature: A review of genetic algorithm techniques. Indonesian Journal of Computer Science, 14(1), 268–284. https://doi.org/10.33022/ijcs.v14i1.4596
Wu, D. (2013). Approaches for reducing the computational cost of interval Type-2 fuzzy logic systems: Overview and comparisons. IEEE Transactions on Fuzzy Systems, 21(1), 80–99. https://doi.org/10.1109/TFUZZ.2012.2201728
Zahara, L., Musa, P., Wibowo, E. P., Karim, I., & Musa, S. B. (2020). The Facial Emotion Recognition (FER-2013) dataset for prediction system of micro-expressions face using the convolutional neural network (CNN) algorithm based Raspberry Pi. 2020 Fifth International Conference on Informatics and Computing (ICIC), 1–9. https://doi.org/10.1109/ICIC50835.2020.9288560
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 International Journal of Combinatorial Optimization Problems and Informatics

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.