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 条
[21]   Aspect Based Sentiment Analysis - An Incremental Model Learning Approach Using LSTM-RNN [J].
Londhe, Alka ;
Rao, P. V. R. D. Prasada .
ADVANCES IN COMPUTING AND DATA SCIENCES, PT I, 2021, 1440 :677-689
[22]   A gradient-based approach for adversarial attack on deep learning-based network intrusion detection systems [J].
Mohammadian, Hesamodin ;
Ghorbani, Ali A. ;
Lashkari, Arash Habibi .
APPLIED SOFT COMPUTING, 2023, 137
[23]   Sentiment Analysis With Ensemble Hybrid Deep Learning Model [J].
Tan, Kian Long ;
Lee, Chin Poo ;
Lim, Kian Ming ;
Anbananthen, Kalaiarasi Sonai Muthu .
IEEE ACCESS, 2022, 10 :103694-103704
[24]   Hybrid Deep Learning Based Attack Detection for Imbalanced Data Classification [J].
Almarshdi, Rasha ;
Nassef, Laila ;
Fadel, Etimad ;
Alowidi, Nahed .
INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2023, 35 (01) :297-320
[25]   Drug Sentiment Analysis using Machine Learning Classifiers [J].
Uddin, Mohammed Nazim ;
Bin Hafiz, Md Ferdous ;
Hossain, Sohrab ;
Islam, Shah Mohammad Mominul .
INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (01) :92-100
[26]   Sentiment Analysis of Student Feedback Using Machine Learning and Lexicon Based Approaches [J].
Nasim, Zarmeen ;
Rajput, Quratulain ;
Haider, Sajjad .
2017 5TH INTERNATIONAL CONFERENCE ON RESEARCH AND INNOVATION IN INFORMATION SYSTEMS (ICRIIS 2017): SOCIAL TRANSFORMATION THROUGH DATA SCIENCE, 2017,
[27]   A Sentiment Analysis Model for Faculty Comment Evaluation Using Ensemble Machine Learning Algorithms [J].
Lalata, Jay-ar P. ;
Gerardo, Bobby ;
Medina, Ruji .
BDE 2019: 2019 INTERNATIONAL CONFERENCE ON BIG DATA ENGINEERING, 2019, :62-67
[28]   Sentiment analysis in multilingual context: Comparative analysis of machine learning and hybrid deep learning models [J].
Das, Rajesh Kumar ;
Islam, Mirajul ;
Hasan, Md Mahmudul ;
Razia, Sultana ;
Hassan, Mocksidul ;
Khushbu, Sharun Akter .
HELIYON, 2023, 9 (09)
[29]   Sentiment Analysis of Students' Feedback on E-Learning Using a Hybrid Fuzzy Model [J].
Alzaid, Maryam ;
Fkih, Fethi .
APPLIED SCIENCES-BASEL, 2023, 13 (23)
[30]   Hybrid contextual and sentiment-based machine learning model for identifying depression risk in social media [J].
Tran, Nha ;
Ta, Phi ;
Nguyen, Hung ;
Nguyen, Hien D. ;
Le, Anh-Cuong .
EXPERT SYSTEMS WITH APPLICATIONS, 2025, 291