Ismail Ait Talghalit , Hamza Alami , Said Ouatik El Alaoui
{"title":"上下文感知阿拉伯生物医学问题分类器的文本后门攻击和一种新的防御方法","authors":"Ismail Ait Talghalit , Hamza Alami , Said Ouatik El Alaoui","doi":"10.1016/j.engappai.2025.112583","DOIUrl":null,"url":null,"abstract":"<div><div>Despite the growing reliance on deep learning models in the Arabic biomedical domain, their susceptibility to backdoor attacks, where adversaries inject subtle textual triggers to manipulate outcomes, remains critically underexplored. In this paper, we propose two main contributions: (1) a backdoor attack method against various pre-trained transformer models used for Arabic biomedical questions classification; (2) a novel defense mechanism to prevent textual backdoor attacks. The basic idea of our backdoor attack is to inject triggers into original questions, which manipulate models negatively, by applying three insertion strategies, namely contextual, pre-insertion, and post-insertion. Our defense method leverages Bidirectional Encoder Representations from Transformers (BERT) as a Masked Language Model to remove tokens with a low probability of being the masked token in the Arabic biomedical question. To assess the impact of our backdoor attacks and defense method, we conduct various experiments using the Medical Arabic Questions and Answers (Q&A) dataset. Our backdoor attack achieved an attack success rate of 95.13%, 94.13%, 89.64%, and 88.89% on fine-tuned Arabic biomedical classifiers based on an Arabic-adapted version of the Efficiently Learning an Encoder that Classifies Token Replacements Accurately model (AraELECTRA), an Arabic BERT (AraBERT), a Long Short Term Memory (LSTM), and an Arabic-adapted text-to-text transformer (AraT5) models, respectively. Furthermore, our defense method reduces the attack success rate by 56.57% and 71.86% in the case of AraBERT and LSTM classifiers.</div></div>","PeriodicalId":50523,"journal":{"name":"Engineering Applications of Artificial Intelligence","volume":"162 ","pages":"Article 112583"},"PeriodicalIF":8.0000,"publicationDate":"2025-10-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Textual backdoor attacks and a novel defense method for context-aware Arabic biomedical questions classifiers\",\"authors\":\"Ismail Ait Talghalit , Hamza Alami , Said Ouatik El Alaoui\",\"doi\":\"10.1016/j.engappai.2025.112583\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Despite the growing reliance on deep learning models in the Arabic biomedical domain, their susceptibility to backdoor attacks, where adversaries inject subtle textual triggers to manipulate outcomes, remains critically underexplored. In this paper, we propose two main contributions: (1) a backdoor attack method against various pre-trained transformer models used for Arabic biomedical questions classification; (2) a novel defense mechanism to prevent textual backdoor attacks. The basic idea of our backdoor attack is to inject triggers into original questions, which manipulate models negatively, by applying three insertion strategies, namely contextual, pre-insertion, and post-insertion. Our defense method leverages Bidirectional Encoder Representations from Transformers (BERT) as a Masked Language Model to remove tokens with a low probability of being the masked token in the Arabic biomedical question. To assess the impact of our backdoor attacks and defense method, we conduct various experiments using the Medical Arabic Questions and Answers (Q&A) dataset. Our backdoor attack achieved an attack success rate of 95.13%, 94.13%, 89.64%, and 88.89% on fine-tuned Arabic biomedical classifiers based on an Arabic-adapted version of the Efficiently Learning an Encoder that Classifies Token Replacements Accurately model (AraELECTRA), an Arabic BERT (AraBERT), a Long Short Term Memory (LSTM), and an Arabic-adapted text-to-text transformer (AraT5) models, respectively. Furthermore, our defense method reduces the attack success rate by 56.57% and 71.86% in the case of AraBERT and LSTM classifiers.</div></div>\",\"PeriodicalId\":50523,\"journal\":{\"name\":\"Engineering Applications of Artificial Intelligence\",\"volume\":\"162 \",\"pages\":\"Article 112583\"},\"PeriodicalIF\":8.0000,\"publicationDate\":\"2025-10-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Engineering Applications of Artificial Intelligence\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0952197625026144\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AUTOMATION & CONTROL SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Applications of Artificial Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0952197625026144","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AUTOMATION & CONTROL SYSTEMS","Score":null,"Total":0}
Textual backdoor attacks and a novel defense method for context-aware Arabic biomedical questions classifiers
Despite the growing reliance on deep learning models in the Arabic biomedical domain, their susceptibility to backdoor attacks, where adversaries inject subtle textual triggers to manipulate outcomes, remains critically underexplored. In this paper, we propose two main contributions: (1) a backdoor attack method against various pre-trained transformer models used for Arabic biomedical questions classification; (2) a novel defense mechanism to prevent textual backdoor attacks. The basic idea of our backdoor attack is to inject triggers into original questions, which manipulate models negatively, by applying three insertion strategies, namely contextual, pre-insertion, and post-insertion. Our defense method leverages Bidirectional Encoder Representations from Transformers (BERT) as a Masked Language Model to remove tokens with a low probability of being the masked token in the Arabic biomedical question. To assess the impact of our backdoor attacks and defense method, we conduct various experiments using the Medical Arabic Questions and Answers (Q&A) dataset. Our backdoor attack achieved an attack success rate of 95.13%, 94.13%, 89.64%, and 88.89% on fine-tuned Arabic biomedical classifiers based on an Arabic-adapted version of the Efficiently Learning an Encoder that Classifies Token Replacements Accurately model (AraELECTRA), an Arabic BERT (AraBERT), a Long Short Term Memory (LSTM), and an Arabic-adapted text-to-text transformer (AraT5) models, respectively. Furthermore, our defense method reduces the attack success rate by 56.57% and 71.86% in the case of AraBERT and LSTM classifiers.
期刊介绍:
Artificial Intelligence (AI) is pivotal in driving the fourth industrial revolution, witnessing remarkable advancements across various machine learning methodologies. AI techniques have become indispensable tools for practicing engineers, enabling them to tackle previously insurmountable challenges. Engineering Applications of Artificial Intelligence serves as a global platform for the swift dissemination of research elucidating the practical application of AI methods across all engineering disciplines. Submitted papers are expected to present novel aspects of AI utilized in real-world engineering applications, validated using publicly available datasets to ensure the replicability of research outcomes. Join us in exploring the transformative potential of AI in engineering.