Applied System Innovation· 2025Q1
Explainable Artificial Intelligence with Integrated Gradients for the Detection of Adversarial Attacks on Text Classifiers
- 17citations
- Q1SCImago
- 2025year
Short summary
A new method using Integrated Gradients (IGs) effectively detects adversarial attacks on text classifiers by identifying influential words, outperforming baselines in detection accuracy and F1 scores on benchmark datasets.
AI-generated from the title and abstract; the full text is not read.
Key points
- Proposes a novel explainable AI approach using Integrated Gradients (IGs) to detect adversarial attacks on text classifiers.
- Identifies influential words by analyzing attribution scores from IGs to guide synonym-based input transformations.
- Generates adversarial samples by replacing top p% influential words with synonyms.
- Empirically evaluated on IMDB, SST-2, and AG News datasets, outperforming baseline models in detection accuracy and F1 scores.
AI-generated from the title and abstract; the full text is not read.
Abstract
Text classifiers are Artificial Intelligence (AI) models used to classify new documents or text vectors into predefined classes. They are typically built using supervised learning algorithms and labelled datasets. Text classifiers produce a predefined class as an output, which also makes them susceptible to adversarial attacks. Text classifiers with high accuracy that are trained using complex deep learning algorithms are equally susceptible to adversarial examples, due to subtle differences that are indiscernible to human experts. Recent work in this space is mostly focused on improving adversarial robustness and adversarial example detection, instead of detecting adversarial attacks. In this paper, we propose a novel approach, explainable AI with integrated gradients (IGs) for the detection of adversarial attacks on text classifiers. This approach uses IGs to unpack model behavior and identify terms that positively and negatively influence the target prediction. Instead of random substitution of words in the input, we select the top p% words with the greatest positive and negative influence as substitute candidates using attribution scores obtained from IGs to generate k samples of transformed inputs by replacing them with synonyms. This approach does not require changes to the model architecture or the training algorithm. The approach was empirically evaluated on three benchmark datasets, IMDB, SST-2, and AG News. Our approach outperforms baseline models on word substitution rate, detection accuracy, and F1 scores while maintaining equivalent detection performance against adversarial attacks.
The authors' abstract, as published at the source. Applied System Innovation, 2025 · DOI ↗
Continue with a free account
Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. A new account opens the takeaways for its first 3 days.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Artificial Intelligence
Artificial IntelligenceComputer Science