A hybrid approach for adversarial attack detection based on sentiment analysis model using Machine learning

被引:2
作者
Amin, Rashid [1 ,2 ]
Gantassi, Rahma [3 ]
Ahmed, Naeem [2 ,8 ]
Alshehri, Asma Hassan [4 ]
Alsubaei, Faisal S. [5 ]
Frnda, Jaroslav [6 ,7 ]
机构
[1] Univ Chakwal, Dept Comp Sci & IT, Chakwal 448800, Pakistan
[2] Univ Engn & Technol, Dept Comp Sci, Taxila, Pakistan
[3] Chonnam Natl Univ, Dept Elect Engn, Gwangju 61186, South Korea
[4] Prince Sattam bin Abdulaziz Univ, Coll Comp Engn & Sci, Dept Comp Sci, Alkharj, Saudi Arabia
[5] Univ Jeddah, Coll Comp Sci & Engn, Dept Cybersecur, Jeddah, Saudi Arabia
[6] Univ Zilina, Fac Operat & Econ Transport & Commun, Dept Quantitat Methods & Econ Informat, Zilina 01026, Slovakia
[7] VSB Tech Univ Ostrava, Fac Elect Engn & Comp Sci, Dept Telecommun, Ostrava 70800, Czech Republic
[8] Nanjing Univ Informat Sci & Technol, Sch Software, Nanjing 210044, Peoples R China
来源
ENGINEERING SCIENCE AND TECHNOLOGY-AN INTERNATIONAL JOURNAL-JESTECH | 2024年 / 58卷
关键词
Adversarial Attack; LSTM; Natural language Processing; CNN; FGSM;
D O I
10.1016/j.jestch.2024.101829
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
One of the main subfields of Machine Learning (ML) that deals with human language for intelligent applications is Natural Language Processing (NLP). One of the biggest problems NLP models encounter is adversarial assaults, which lead to inaccurate predictions. To increase an NLP model's resilience, adversarial text must be used to examine assaults and defenses. several strategies for detecting adversarial attacks have been put forth; nonetheless, they face several obstacles, such as low attack success rates on particular datasets. Some other attack methods can already be effectively defended against by existing defensive strategies. As a result, such attackers are unable to delve further into the limitations of NLP models to guide future advancements in defense. Consequently, it is required to develop an adversarial attack strategy with a larger attack duration and better performance. Firstly, we train the Convolutional Neural Network (CNN) using the IMDB dataset, which consists of labeled movie reviews that represent positive and negative sentiments on movie reviews. The CNN model performs the sentiment classification of data. Subsequently, adversarial examples are generated from the IMDB dataset utilizing the Fast Gradient Sign Method (FGSM), a well-liked and effective method in the adversarial machine learning domain. After that, a Long Short-Term Memory (LSTM) model is developed utilizing the FGSM-generated hostile cases to identify adversarial attempts on sentiment analysis systems. The LSTM model was trained using a combination of original IMDB data and adversarial cases generated using the FGSM technique. The models are tested on various standard metrics including Accuracy, precision, F1-score, etc., and it achieve about 95.6% accuracy in detecting adversarial attacks.
引用
收藏
页数:12
相关论文
共 50 条
[41]   A CNN-LSTM-Based Hybrid Deep Learning Approach for Sentiment Analysis on Monkeypox Tweets [J].
Mohbey, Krishna Kumar ;
Meena, Gaurav ;
Kumar, Sunil ;
Lokesh, K. .
NEW GENERATION COMPUTING, 2024, 42 (01) :89-107
[42]   Sentiment Analysis and Fake Amazon Reviews Classification Using SVM Supervised Machine Learning Model [J].
Tabany, Myasar ;
Gueffal, Meriem .
JOURNAL OF ADVANCES IN INFORMATION TECHNOLOGY, 2024, 15 (01) :49-58
[43]   A hybrid model integrating deep learning with investor sentiment analysis for stock price prediction [J].
Jing, Nan ;
Wu, Zhao ;
Wang, Hefei .
EXPERT SYSTEMS WITH APPLICATIONS, 2021, 178
[44]   A ConvBiLSTM Deep Learning Model-Based Approach for Twitter Sentiment Classification [J].
Tam, Sakirin ;
Ben Said, Rachid ;
Tanriover, O. Ozgur .
IEEE ACCESS, 2021, 9 :41283-41293
[45]   A Review on Text Sentiment Analysis With Machine Learning and Deep Learning Techniques [J].
Mamani-Coaquira, Yonatan ;
Villanueva, Edwin .
IEEE ACCESS, 2024, 12 :193115-193130
[46]   An Ensemble-Based Model for Sentiment Analysis of Persian Comments on Instagram Using Deep Learning Algorithms [J].
Eyvazi-Abdoljabbar, Soheyla ;
Kim, Seongki ;
Feizi-Derakhshi, Mohammad-Reza ;
Farhadi, Zari ;
Abdulameer Mohammed, Dheyaa .
IEEE ACCESS, 2024, 12 :151223-151235
[47]   A Hybrid CNN-LSTM Approach for Sentiment Analysis [J].
Ramirez-Alcocer, Ulises Manuel ;
Tello-Leal, Edgar ;
Hernandez-Resendiz, Jaciel David ;
Romero, Gerardo .
FOURTH CONGRESS ON INTELLIGENT SYSTEMS, VOL 2, CIS 2023, 2024, 869 :425-437
[48]   A novel framework for aspect based sentiment analysis using a hybrid BERT (HybBERT) model [J].
Goud, Anushree ;
Garg, Bindu .
MULTIMEDIA TOOLS AND APPLICATIONS, 2023,
[49]   A Personalized Recommender System using Machine Learning based Sentiment Analysis over Social Data [J].
Ashok, Meghana ;
Rajanna, Swathi ;
Joshi, Pradnyesh Vineet ;
Kamath, Sowmya S. .
2016 IEEE STUDENTS' CONFERENCE ON ELECTRICAL, ELECTRONICS AND COMPUTER SCIENCE (SCEECS), 2016,
[50]   Context-based sentiment analysis on customer reviews using machine learning linear models [J].
Chinnalagu, Anandan ;
Durairaj, Ashok Kumar .
PEERJ COMPUTER SCIENCE, 2021, 7