Journal Press India®

Computology: Journal of Applied Computer Science and Intelligent Technologies
Vol 5 , Issue 2 , July - December 2025 | Pages: 1-13 | Research Paper

Comparative Analysis of Generative Adversarial Networks and Traditional Machine Learning Models for Predicting Suicidal Behavior

Author Details ( * ) denotes Corresponding author

1. * Sushma Jaiswal, Assistant Professor, CSIT, Guru Ghasidas Central University, Bilaspur (C.G.), Bilaspur(C.G.), Chhattisgarh, India (jaiswal1302@gmail.com)
2. Tarun Jaiswal, Research Scholar, NIT, NIT, Raipur, Raipur, Chhattisgarh, India (jaiswaltarun1307@gmail.com)

This study presents a mathematical comparison of Generative Adversarial Networks (GANs) and traditional machine learning models for predicting suicidal behavior. The dataset D={(x_i,y_i ) }_(i=)^N consists of feature vectors x_i∈R^d, representing psychosocial, behavioral, and demographic factor and binary labels y_i∈{0,1}, denoting suicidal risk (1: at risk, 0: not at risk). The task is to estimate the conditional probability P(y_i∣x_i ) for each instance.In GANs, the generator G(z;θ_g ) and discriminator D(x;θ_d ) are trained adversarially. The loss function for the discriminator and generator is given by:L_GAN=E_(x∼p_"datat "  (x)) [log⁡D(x;θ_d ) ]+E_(z∼p_z (z)) [log⁡(1-D(G(z;θ_g );θ_d ) ) ], Wherez is the latent vector and p_"data "  (x) is the true data distribution.
For traditional models, SVM minimizes the hinge loss:L_SVM=∑_(i=1)^N▒  max(0,1-y_i w^T x_i ). Logistic Regression (LR) minimizes the log-loss (cross-entropy):L_LR=-∑_(i=1)^N▒  [y_i log⁡(σ(w^T x_i ) )+(1-y_i )log⁡(1-σ(w^T x_i ) ) ]. Random Forest (RF) optimizes the Gini impurity:L_RF=∑_(j=1)^K▒  [N_j/N (1-∑_(c=1)^C▒  p_jc^2 ) ]. Evaluation metrics, such as accuracy A_r precision P, recall R, F1-score F_1, and AUC, are calculated to assess predictive performance. Results indicate that GANs outperform traditional methods, offering superior generalization and enhanced performance in terms of F1-score and AUC due to their ability to generate synthetic, informative data.
 

Keywords

Generative adversarial networks; Suicidal behavior prediction; Support vector machine; Logistic regression; Random forest; Adversarial training

  1. Alghazzawi, D. M., Ullah, H., Tabassum, N., Badri, S. K. & Asghar, M. Z. (2025). Explainable AI-based suicidal and non-suicidal ideations detection from social media text with enhanced ensemble technique. Scientific Reports, 15. Retrieved from https://doi.org/ 10.1038/s41598-024-84275-6
  2. Baydili, İ., Taşcı, B. &Tasci, G. (2025). Deep learning-based detection of depression and suicidal tendencies in social media data with feature selection. Behavioral Sciences, 15(3), 352. Retrieved from https://doi.org/10.3390/bs15030352
  3. Branikas, E., Murray, P. & West, G. M. (2023). A novel data augmentation method for improved visual crack detection using generative adversarial networks. IEEE Access, 11, 22051-22059.
  4. Chawla, N., Bowyer, K., Hall, L. O. & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Retrieved from https://doi.org/10.48550/arXiv.1106. 1813
  5. Goodfellow, I. J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A. C. & Bengio, Y. (2021). Generative adversarial networks. 14th International Conference on Computing Communication and Networking Technologies (ICCCNT) - 2023, pp 1-7.
  6. He, H. & Garcia, E. A. (2009). Learning from Imbalanced data. IEEE Transactions on Knowledge and Data Engineering, 21, 1263-1284.
  7. Li, C. & Wand, M. (2016). Precomputed real-time texture synthesis with Markovian generative adversarial networks. European Conference on Computer Vision. Retrieved from https://doi.org/10.48550/arXiv.1604.04382
  8. Nordin, N., Zainol, Z. B., Noor, M. H. & Chan, L. F. (2022). Suicidal behaviour prediction models using machine learning techniques: A systematic review. Artificial Intelligence in Medicine, 132, 102395. Retrieved from https://doi.org/10.1016/j.artmed.2022.102395
  9. Pan, L., Hang, C., Sil, A., Potdar, S. & Yu, M. (2021). Improved text classification via contrastive adversarial training. Retrieved from https://doi.org/10.48550/arXiv.2107.10137
  10. Radford, A., Metz, L. & Chintala, S. (2015). Unsupervised representation learning with deep convolutional generative adversarial networks. Retrieved from https://doi.org/10.485 50/arXiv.1511.06434
Abstract Views: 1
PDF Views: 17

Related Articles
Cognitive Impairment Diagnosis - A Game Theoretic Approach of Cognitive Machine Learning
Mr. Shardul Shastri, Ms. Sriya Mukkavillii, Mrs. Hetal Thaker
Development of an Improved Facial Analysis-based System for Predicting Drug Addiction using Random Forest Classification Algorithm
Mr. Ismail Akuji, Dr. Sulaiman Abdulsalam, Dr. Ronke Babatunde, Dr. Olugbemi Olaniyan
Development of an Intrusion Detection System using ANOVA Feature Selection and Support Vector Machine Algorithms
Mr. Michael F. Edafeajiroke, Dr. Sulaiman O. Abdulsalam, Mr. Mahmoud U. Shuaib, Dr. Ronke S. Babatunde
Heart Disease Prediction: A Comparative Analysis of Machine Learning Algorithms
Mr. Adarsh Sharma, Mr. Himanshu Sharma, Dr. Sudeep Varshney, Mrs. Nutan Gusain

By continuing to use this website, you consent to the use of cookies in accordance with our Cookie Policy.