CFP last date
21 April 2025
Reseach Article

Optimizing Bidirectional LSTM Networks with Temperature-Scaled Sigmoid Activation for Enhanced Fake Profile Detection on Social Media

by Govind Singh Mahara, Sharad Gangele, Mangala Prasad Mishra
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 186 - Number 67
Year of Publication: 2025
Authors: Govind Singh Mahara, Sharad Gangele, Mangala Prasad Mishra
10.5120/ijca2025924492

Govind Singh Mahara, Sharad Gangele, Mangala Prasad Mishra . Optimizing Bidirectional LSTM Networks with Temperature-Scaled Sigmoid Activation for Enhanced Fake Profile Detection on Social Media. International Journal of Computer Applications. 186, 67 ( Feb 2025), 53-65. DOI=10.5120/ijca2025924492

@article{ 10.5120/ijca2025924492,
author = { Govind Singh Mahara, Sharad Gangele, Mangala Prasad Mishra },
title = { Optimizing Bidirectional LSTM Networks with Temperature-Scaled Sigmoid Activation for Enhanced Fake Profile Detection on Social Media },
journal = { International Journal of Computer Applications },
issue_date = { Feb 2025 },
volume = { 186 },
number = { 67 },
month = { Feb },
year = { 2025 },
issn = { 0975-8887 },
pages = { 53-65 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume186/number67/optimizing-bidirectional-lstm-networks-with-temperature-scaled-sigmoid-activation-for-enhanced-fake-profile-detection-on-social-media/ },
doi = { 10.5120/ijca2025924492 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2025-02-25T22:58:01+05:30
%A Govind Singh Mahara
%A Sharad Gangele
%A Mangala Prasad Mishra
%T Optimizing Bidirectional LSTM Networks with Temperature-Scaled Sigmoid Activation for Enhanced Fake Profile Detection on Social Media
%J International Journal of Computer Applications
%@ 0975-8887
%V 186
%N 67
%P 53-65
%D 2025
%I Foundation of Computer Science (FCS), NY, USA
Abstract

This study presents an optimized Bidirectional Long Short-Term Memory (Bi-LSTM) network that integrates a temperature-scaled softmax function to improve the detection of fake profiles on Instagram and other social media platforms. By incorporating temperature scaling, the model effectively reduces overconfidence in its probability predictions, leading to more calibrated and reliable outputs. [1] Is explained by temperature scaling in single parameter variation, In this setup, the temperature-scaling function acts as a modifier on the softmax output layer, which enhances the model’s confidence alignment and mitigates issues that arise from predictions that might otherwise be excessively certain, particularly in ambiguous cases.The research explores the impact of varying learning rates and temperature values across multiple experimental setups. By fine-tuning these parameters, the model achieves an optimized balance in accuracy and stability, enhancing its overall performance. The Bi-LSTM model outperformed traditional methods in several key metrics, including accuracy, precision, recall, and F1 score. This suggests that the temperature-scaled Bi-LSTM approach is better suited for tasks that require nuanced classification in binary settings, such as differentiating between real and fake profiles. Additionally, the proposed framework’s flexibility allows it to be readily adapted to other binary classification problems on social media platforms, including spam filtering and fraud detection. This adaptability extends the potential applications of the model across various domains where binary classification is essential for safeguarding platform integrity.The experiments for this research were conducted on Google Colab, a popular cloud-based platform offering free access to GPUs, making it a suitable environment for deep learning projects

References
  1. Guo, C., Pleiss, G., Sun, Y, 2017. Weinberger, K. Q, On Calibration of Modern Neural Networks
  2. Ferrara, E. 2016.The Rise of Social Bots.
  3. Subrahmanian, V.S 2016. The DARPA Twitter Bot Challenge.
  4. Kumar, S., et al. 2018. False Information on Web and Social Media: A Survey. Proceedings of the VLDB Endowment.
  5. Cresci, S., et al. 2015.Fame for Sale: Efficient Detection of Fake Twitter Followers. Decision Support Systems.
  6. Yang, Singh and Menczer 2024.Characteristics and prevalence of fake social media profiles with AI-generated faces
  7. Varol, O., et al. 2017. Online Human-Bot Interactions: Detection, Estimation, and Characterization.
  8. Almaatouq, A., et al. 2016. If It Looks Like a Spam Bot, and Behaves Like a Spam Bot, It Must Be a Spam Bot: Analysis and Detection of Microblogging Spam
  9. Sergio A. Balanya, Juan M, Daniel R 2024.Adaptive temperature scaling for Robust calibration of deep neural networks
  10. Andy S,Dorsa S,Stefano E 2023. Long Horizon Temperature Scaling
  11. Graves, A,Schmidhuber J 2005.Framewise phoneme classification with bidirectional LSTM and other neural network architectures. Neural Networks
  12. Schuster, M.,Paliwal, K. K. 1997. Bidirectional recurrent neural networks
  13. Wang, Z., Yan, W., & Oates, T. 2017. Time series classification from scratch with deep neural networks: A strong baseline
  14. Kim, Y., Jernite, Y., Sontag, D., & Rush, A. M. 2016. Character-aware neural language models.
  15. Cui, Z., Chen, W.,Chen, Y. 2016.Multi-scale convolutional neural networks for time series classification
  16. Karim, F., Majumdar, S., Darabi, H., & Harford, S. 2018, LSTM fully convolutional networks for time series classification
  17. Lipton, Z. C., Berkowitz, J., & Elkan, C. 2015,A critical review of recurrent neural networks for sequence learning
  18. Hochreiter, S., and Schmidhuber, J. 1997. Long short-term memory. Neural Computation.
  19. Hashida, S., and Tamura, K. 2019. Multi-channel MHLF: LSTM-FCN using MACD-histogram with multi-channel input for time series classification.
  20. Mahara, G. S., and Gangele, S. 2021. A comprehensive survey of social network analysis-based anomaly detection techniques with soft computing.
  21. Ishlam, T. 2022. A proposed Bi-LSTM method for fake news detection. arXiv preprint.
  22. Mahara, G. S., and Gangele, S. 2022. A survey on detecting fake news in social media with AI: Challenges and possible directions.
  23. Mahara, G. S., and Gangele, S. 2022. Fake news detection: A RNN-LSTM, Bi-LSTM-based deep learning approach.
  24. Shu, K., Zhou, X., Wang, S., and Zafarani, R. 2019. The role of user profiles for fake news detection.
  25. Staudemeyer, R. C., and Morris, E. R. 2019. Understanding LSTM – a tutorial into Long Short-Term Memory recurrent neural networks.
  26. Cook, J., and Ramadas, V. 2020. When to consult precision-recall curves.
  27. Mao, A., Mohri, M., and Zhong, Y. 2023. Cross-entropy loss functions: Theoretical analysis and applications.
  28. Davis, J., and Goadrich, M. 2006. The relationship between precision-recall and ROC curves.
Index Terms

Computer Science
Information Sciences
Pattern
Recognition
Security
Algorithms
Machine Learning
Deep Learning
Binary Classification
Fraud Detection
Spam
Filtering
Artificial Intelligence
Natural Language Processing (NLP)

Keywords

Fake User Deep learning RNN LSTM Bi-LSTM Neural Network Softmax learning rate Temperature-scaling Classification Social media Instagram profiles