Textual backdoor attacks and a novel defense method for context-aware Arabic biomedical questions classifiers

IF 8 2区 计算机科学 Q1 AUTOMATION & CONTROL SYSTEMS
Ismail Ait Talghalit , Hamza Alami , Said Ouatik El Alaoui
{"title":"Textual backdoor attacks and a novel defense method for context-aware Arabic biomedical questions classifiers","authors":"Ismail Ait Talghalit ,&nbsp;Hamza Alami ,&nbsp;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&amp;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}
引用次数: 0

Abstract

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.
上下文感知阿拉伯生物医学问题分类器的文本后门攻击和一种新的防御方法
尽管阿拉伯生物医学领域越来越依赖深度学习模型,但它们对后门攻击的易感性(攻击者注入微妙的文本触发器来操纵结果)仍未得到充分研究。在本文中,我们提出了两个主要贡献:(1)针对用于阿拉伯生物医学问题分类的各种预训练变压器模型的后门攻击方法;(2)一种防止文本后门攻击的新型防御机制。我们的后门攻击的基本思想是通过应用三种插入策略,即上下文、预插入和后插入,将触发器注入原始问题中,从而对模型进行负面操纵。我们的防御方法利用来自变形金刚的双向编码器表示(BERT)作为掩码语言模型来去除阿拉伯生物医学问题中被掩码标记的概率很低的标记。为了评估我们的后门攻击和防御方法的影响,我们使用医学阿拉伯问答(Q&;A)数据集进行了各种实验。我们的后门攻击在基于阿拉伯语改编版本的高效学习编码器准确分类令牌替换模型(AraELECTRA)、阿拉伯语BERT (AraBERT)、长短期记忆(LSTM)和阿拉伯语改编文本到文本转换器(AraT5)模型的精细阿拉伯生物医学分类器上分别实现了95.13%、94.13%、89.64%和88.89%的攻击成功率。此外,在AraBERT和LSTM分类器的情况下,我们的防御方法将攻击成功率降低了56.57%和71.86%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Engineering Applications of Artificial Intelligence
Engineering Applications of Artificial Intelligence 工程技术-工程:电子与电气
CiteScore
9.60
自引率
10.00%
发文量
505
审稿时长
68 days
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信