Optimizing Convolutional Neural Networks with Particle Swarm Optimization for Enhanced Hoax News Detection
Downloads
Background: The global spreading of hoax news is causing significant challenges, by misleading the public and undermining public trust in media and institutions. This issue is worsened by the rapid spreading of misinformation which is facilitated by digital platforms, triggering social unrest and threatening national security. To overcome this problem, reliable and robust method is essential to adapt to the evolving tactics of misleading information spreading.
Objective: This study aimed to improve the accuracy of hoax news detection tools by evaluating the effectiveness of Deep Learning methods enhanced with Convolutional Neural Networks (CNNs) using Particle Swarm Optimization (PSO).
Methods: The dataset was processed by tokenization, stopword removal, and stemming. CNNs were trained with default parameters, due to their potential as one of the effective methods for text classification. Furthermore, PSO was used to optimize the main parameters such as filters, kernel sizes, and learning rate, which was refined iteratively based on validation accuracy.
Results: The optimized CNNs+PSO was further tested by data training to show its effectiveness in detecting hoax news and misleading articles. The result showed that the optimized CNNs+PSO model had high effectiveness, by achieving accuracy rate of 92.06%, precision 91.6%, and recall 96.19%. These values validated the model’s ability to classify hoax news in Indonesian accurately.
Conclusion: This study showed that the optimized CNNs+PSO method was highly effective in detecting hoax news and misleading articles by achieving impressive accuracy, precision, and recall rate. The integration showed the potential of CNNs+PSO to mitigate the impacts of hoax news, enhance public awareness, and promote people to critically believe the news
Keywords: Convolutional Neural Networks, Deep Learning, Hoax, Particle Swarm Optimization, Text Mining
We are Social, “Essential Digital Headlines.” Accessed: Jul. 13, 2024. [Online]. Available: https://wearesocial.com/us/blog/2023/04/the-global-state-of-digital-in-april-2023/
Y. Yang, L. Zheng, J. Zhang, Q. Cui, Z. Li, and P. S. Yu, “{{}TI-CNN:{}} Convolutional Neural Networks for Fake News Detection,” CoRR, vol. abs/1806.0, 2018.
A. Albahr and M. Albahar, “An empirical comparison of fake news detection using different machine learning algorithms,” International Journal of Advanced Computer Science and Applications, vol. 11, no. 9, pp. 146–152, 2020, doi: 10.14569/IJACSA.2020.0110917.
V. Balakrishnan, W. Zhen, M. Chong, G. Joo, and C. Jiat, “International Journal of Disaster Risk Reduction Infodemic and fake news – A comprehensive overview of its global magnitude during the COVID-19 pandemic in 2021 : A scoping review,” International Journal of Disaster Risk Reduction, vol. 78, no. December 2021, p. 103144, 2022, doi: 10.1016/j.ijdrr.2022.103144.
G. Ruffo, A. Semeraro, A. Giachanou, and P. Rosso, “Studying fake news spreading, polarisation dynamics, and manipulation by bots: A tale of networks and language,” Comput Sci Rev, vol. 47, p. 100531, 2023, doi: 10.1016/j.cosrev.2022.100531.
K. Park and H. Rim, “Social media hoaxes, political ideology, and the role of issue confidence,” Telematics and Informatics, vol. 36, no. November, pp. 1–11, 2019, doi: 10.1016/j.tele.2018.11.001.
S. Sharma, M. Saraswat, and A. K. Dubey, “Fake News Detection Using Deep Learning,” Communications in Computer and Information Science, vol. 1459 CCIS, pp. 249–259, 2021, doi: 10.1007/978-3-030-91305-2_19.
G. Kim and Y. Ko, “Effective fake news detection using graph and summarization techniques,” Pattern Recognit Lett, vol. 151, pp. 135–139, 2021, doi: 10.1016/j.patrec.2021.07.020.
X. Zhou and R. Zafarani, “A Survey of Fake News: Fundamental Theories, Detection Methods, and Opportunities,” ACM Comput Surv, vol. 53, no. 5, 2020, doi: 10.1145/3395046.
K. Englmeier, “The role of text mining in mitigating the threats from fake news and misinformation in times of corona,” Procedia Comput Sci, vol. 181, no. 2019, pp. 149–156, 2021, doi: 10.1016/j.procs.2021.01.115.
K. Kumari, J. P. Singh, Y. K. Dwivedi, and N. P. Rana, “Multi-modal aggression identification using Convolutional Neural Network and Binary Particle Swarm Optimization,” Future Generation Computer Systems, vol. 118, pp. 187–197, 2021, doi: 10.1016/j.future.2021.01.014.
Y. Mao and Y. Liu, “Pet dog facial expression recognition based on convolutional neural network and improved whale optimization algorithm,” Sci Rep, vol. 13, no. 1, pp. 1–20, 2023, doi: 10.1038/s41598-023-30442-0.
J. A. Nasir, O. S. Khan, and I. Varlamis, “Fake news detection: A hybrid CNN-RNN based deep learning approach,” International Journal of Information Management Data Insights, vol. 1, no. 1, p. 100007, 2021, doi: https://doi.org/10.1016/j.jjimei.2020.100007.
D. K. Vishwakarma, D. Varshney, and A. Yadav, “Detection and veracity analysis of fake news via scrapping and authenticating the web search,” Cogn Syst Res, vol. 58, pp. 217–229, 2019, doi: 10.1016/j.cogsys.2019.07.004.
H. K. Farid, E. B. Setiawan, and I. Kurniawan, “Selection for Hoax News Detection on Twitter using Convolutional Neural Network,” Indonesia Journal on Computing, vol. 5, no. December 2020, pp. 23–36, 2020, doi: 10.34818/indojc.2021.5.3.506.
A. Z. M. Noor, R. Gernowo, and O. D. Nurhayati, “Data Augmentation for Hoax Detection through the Method of Convolutional Neural Network in Indonesian News,” Jurnal Penelitian Pendidikan IPA, vol. 9, no. 7, pp. 5078–5084, 2023, doi: 10.29303/jppipa.v9i7.4214.
K. Jain and S. Kaushal, “A Comparative Study of Machine Learning and Deep Learning Techniques for Sentiment Analysis,” in 2018 7th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), 2018, pp. 483–487. doi: 10.1109/ICRITO.2018.8748793.
B. P. Nayoga, R. Adipradana, R. Suryadi, and D. Suhartono, “Hoax Analyzer for Indonesian News Using Deep Learning Models,” Procedia Comput Sci, vol. 179, pp. 704–712, 2021, doi: https://doi.org/10.1016/j.procs.2021.01.059.
W. A. Nappu, M.B.; Arief, A.; Ajami, “Energy Efficiency in Modern Power Systems Utilizing Optimization – Based OPF,” 2023.
R. Z. Al-Abdallah and A. T. Al-Taani, “Arabic Single-Document Text Summarization Using Particle Swarm Optimization Algorithm,” Procedia Comput Sci, vol. 117, pp. 30–37, 2017, doi: https://doi.org/10.1016/j.procs.2017.10.091.
R. Janani and S. Vijayarani, “Text document clustering using Spectral Clustering algorithm with Particle Swarm Optimization,” Expert Syst Appl, vol. 134, pp. 192–200, 2019, doi: https://doi.org/10.1016/j.eswa.2019.05.030.
A. Pranolo, Y. Mao, A. P. Wibawa, A. B. P. Utama, and F. A. Dwiyanto, “Robust LSTM With Tuned-PSO and Bifold-Attention Mechanism for Analyzing Multivariate Time-Series,” IEEE Access, vol. 10, no. June, pp. 78423–78434, 2022, doi: 10.1109/ACCESS.2022.3193643.
H. S. Salem, M. A. Mead, and G. S. El-Taweel, “Particle swarm optimization-based hyperparameters tuning of machine learning models for big covid-19 data analysis,” Journal of Computer and Communications, vol. 12, no. 03, pp. 160–183, 2024, doi: 10.4236/jcc.2024.123010.
A. Al-Adwan, H. Alazzam, N. Al-Anbaki, and E. Alduweib, “Detection of Deepfake Media Using a Hybrid CNN–RNN Model and Particle Swarm Optimization (PSO) Algorithm,” Computers, vol. 13, no. 4, pp. 1–16, 2024, doi: 10.3390/computers13040099.
G. Airlangga, “Journal of Computer Networks , Architecture and High Performance Computing Comparative Analysis of Machine Learning Algorithms for Detecting Fake News : Efficacy and Accuracy in the Modern Information Ecosystem Journal of Computer Networks , Architecture ,” vol. 6, no. 1, pp. 354–363, 2024.
O. Ajao, D. Bhowmik, and S. Zargari, “Fake news identification on Twitter with hybrid CNN and RNN models,” ACM International Conference Proceeding Series, no. July, pp. 226–230, 2018, doi: 10.1145/3217804.3217917.
B. Qolomany, M. Maabreh, A. Al-Fuqaha, A. Gupta, and D. Benhaddou, “Parameters optimization of deep learning models using Particle swarm optimization,” 2017 13th International Wireless Communications and Mobile Computing Conference, IWCMC 2017, no. January 2018, pp. 1285–1290, 2017, doi: 10.1109/IWCMC.2017.7986470.
M. R. Rizqullah and R. H. Ghaida, “Indonesian Fact and Hoax Political News,” Kaggle. [Online]. Available: https://www.kaggle.com/datasets/linkgish/indonesian-fact-and-hoax-political-news
Y. W. Mak, H. N. Goh, and A. H. L. Lim, “Forum Text Processing and Summarization,” International Journal on Informatics Visualization, vol. 8, no. 1, pp. 425–433, 2024, doi: 10.62527/joiv.8.1.2279.
Y. HaCohen-Kerner, D. Miller, and Y. Yigal, “The influence of preprocessing on text classification using a bag-of-words representation.,” PLoS One, vol. 15, no. 5, p. e0232525, 2020, doi: 10.1371/journal.pone.0232525.
S. A. Karunia, R. Saptono, and R. Anggrainingsih, “Online News Classification Using Naive Bayes Classifier with Mutual Information for Feature Selection,” Jurnal Ilmiah Teknologi dan Informasi, vol. 6, no. 1, pp. 11–15, 2017, doi: 10.20961/its.v6i1.11114.
T. Chauhan and H. Palivela, “Optimization and improvement of fake news detection using deep learning approaches for societal benefit,” International Journal of Information Management Data Insights, vol. 1, no. 2, p. 100051, 2021, doi: https://doi.org/10.1016/j.jjimei.2021.100051.
E. D. Ajik, G. N. Obuandike, and F. O. Echobu, “Fake News Detection Using Optimized CNN and LSTM Techniques,” vol. 5, no. 3, pp. 1044–1057, 2023, doi: 10.51519/journalisi.v5i3.548.
P. Bahad, P. Saxena, and R. Kamal, “Fake News Detection using Bi-directional LSTM-Recurrent Neural Network,” Procedia Comput Sci, vol. 165, no. 2019, pp. 74–82, 2019, doi: 10.1016/j.procs.2020.01.072.
B. P. Nayoga, R. Adipradana, R. Suryadi, and D. Suhartono, “Hoax Analyzer for Indonesian News Using Deep Learning Models,” Procedia Comput Sci, vol. 179, pp. 704–712, 2021, doi: https://doi.org/10.1016/j.procs.2021.01.059.
J. A. Nasir, O. S. Khan, and I. Varlamis, “Fake news detection: A hybrid CNN-RNN based deep learning approach,” International Journal of Information Management Data Insights, vol. 1, no. 1, p. 100007, 2021, doi: https://doi.org/10.1016/j.jjimei.2020.100007.
A. Anton, N. F. Nissa, A. Janiati, N. Cahya, and P. Astuti, “Application of Deep Learning Using Convolutional Neural Network (CNN) Method For Women’s Skin Classification,” Scientific Journal of Informatics, vol. 8, no. 1, pp. 144–153, 2021, doi: 10.15294/sji.v8i1.26888.
P. Meel and D. K. Vishwakarma, “A temporal ensembling based semi-supervised ConvNet for the detection of fake news articles,” Expert Syst Appl, vol. 177, no. September 2020, p. 115002, 2021, doi: 10.1016/j.eswa.2021.115002.
Y. Yang, L. Zheng, J. Zhang, Q. Cui, Z. Li, and P. S. Yu, “TI-CNN: Convolutional Neural Networks for Fake News Detection,” 2018.
B. A. Mercangöz, Applying Particle Swarm Optimization: New Solutions and Cases for Optimized Portfolios. in International Series in Operations Research $backslash${&} Management Science. Springer International Publishing, 2021.
B. Su, Y. Lin, J. Wang, X. Quan, Z. Chang, and C. Rui, “Sewage treatment system for improving energy efficiency based on particle swarm optimization algorithm,” Energy Reports, vol. 8, pp. 8701–8708, 2022, doi: 10.1016/j.egyr.2022.06.053.
S. S. Cross, R. F. Harrison, and R. L. Kennedy, An Introduction to Neural Networks, vol. 346, no. 8982. 1995. doi: 10.1016/S0140-6736(95)91746-2.
P. Erdogmus, Particle Swarm Optimization with Applications. IntechOpen, 2018.
A. Pranolo, Y. Mao, A. P. Wibawa, A. B. P. Utama, and F. A. Dwiyanto, “Robust LSTM With Tuned-PSO and Bifold-Attention Mechanism for Analyzing Multivariate Time-Series,” IEEE Access, vol. 10, no. June, pp. 78423–78434, 2022, doi: 10.1109/ACCESS.2022.3193643.
M. S. Amrullah, S. F. Pane, and M. N. Fauzan, Analisis Sentimen Masyarakat Terhadap Kebijakan Polisi Tilang Manual Di Indonesia. Penerbit Buku Pedia, 2023.
S. M. Nagarajan and U. D. Gandhi, “Classifying streaming of Twitter data based on sentiment analysis using hybridization,” Neural Comput Appl, vol. 31, no. 5, pp. 1425–1433, 2019, doi: 10.1007/s00521-018-3476-3.
D. Michail, N. Kanakaris, and I. Varlamis, “Detection of fake news campaigns using graph convolutional networks,” International Journal of Information Management Data Insights, vol. 2, no. 2, p. 100104, 2022, doi: 10.1016/j.jjimei.2022.100104.
F. Rahutomo, I. Y. R. Pratiwi, and D. M. Ramadhani, “Eksperimen Naïve Bayes Pada Deteksi Berita Hoax Berbahasa Indonesia,” Jurnal Penelitian Komunikasi Dan Opini Publik, vol. 23, no. 1, 2019, doi: 10.33299/jpkop.23.1.1805.
D. K. Vishwakarma, D. Varshney, and A. Yadav, “Detection and veracity analysis of fake news via scrapping and authenticating the web search,” Cogn Syst Res, vol. 58, pp. 217–229, 2019, doi: 10.1016/j.cogsys.2019.07.004.
K. Shu, D. Mahudeswaran, S. Wang, D. Lee, and H. Liu, “FakeNewsNet: A Data Repository with News Content, Social Context, and Spatiotemporal Information for Studying Fake News on Social Media,” Big Data, vol. 8, no. 3, pp. 171–188, 2020, doi: 10.1089/big.2020.0062.
Q. Li, Q. Hu, Y. Lu, Y. Yang, and J. Cheng, “Multi-level word features based on CNN for fake news detection in cultural communication,” Pers Ubiquitous Comput, vol. 24, no. 2, pp. 259–272, 2020, doi: 10.1007/s00779-019-01289-y.
K. Shu, D. Mahudeswaran, S. Wang, D. Lee, and H. Liu, “FakeNewsNet: A Data Repository with News Content, Social Context, and Spatiotemporal Information for Studying Fake News on Social Media,” Big Data, vol. 8, no. 3, pp. 171–188, 2020, doi: 10.1089/big.2020.0062.
Q. Li, Q. Hu, Y. Lu, Y. Yang, and J. Cheng, “Multi-level word features based on CNN for fake news detection in cultural communication,” Pers Ubiquitous Comput, vol. 24, no. 2, pp. 259–272, 2020, doi: 10.1007/s00779-019-01289-y.
Copyright (c) 2025 The Authors. Published by Universitas Airlangga.

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
All accepted papers will be published under a Creative Commons Attribution 4.0 International (CC BY 4.0) License. Authors retain copyright and grant the journal right of first publication. CC-BY Licenced means lets others to Share (copy and redistribute the material in any medium or format) and Adapt (remix, transform, and build upon the material for any purpose, even commercially).