A* inspired context-aware adversarial attack with attention-based scores

The widespread use of deep learning models in Natural Language Processing (NLP) has raised concerns about their vulnerability to adversarial attacks. This paper examines word-level adversarial attacks, particularly greedy-based methods, which employWord Importance Ranking (WIR) to identify and replace key words with synonyms. However, these methods are limited because they operate in isolation, modifying individual words without accounting for the broader context. To overcome this limitation, we propose a novel hybrid algorithm inspired by the <i>A</i>* algorithm. Our approach combines a k-means-based ranking strategy to estimate immediate costs with an attention-based mechanism that captures the global impact of perturbations as future costs. Our approach is evaluated against state-of-the-art black-box and white-box adversarial methods, demonstrating its superior performance in generating high-quality adversarial samples across multiple metrics.

Institutions

Publication Details

Published
2025-09-19
DOI
https://doi.org/10.1117/12.3077730
Primary Topic
Logistics and Infrastructure Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A* inspired context-aware adversarial attack with attention-based scores

Logistics and Infrastructure Analysis
article

A* inspired context-aware adversarial attack with attention-based scores

article en

Abstract

The widespread use of deep learning models in Natural Language Processing (NLP) has raised concerns about their vulnerability to adversarial attacks. This paper examines word-level adversarial attacks, particularly greedy-based methods, which employWord Importance Ranking (WIR) to identify and replace key words with synonyms. However, these methods are limited because they operate in isolation, modifying individual words without accounting for the broader context. To overcome this limitation, we propose a novel hybrid algorithm inspired by the <i>A</i>* algorithm. Our approach combines a k-means-based ranking strategy to estimate immediate costs with an attention-based mechanism that captures the global impact of perturbations as future costs. Our approach is evaluated against state-of-the-art black-box and white-box adversarial methods, demonstrating its superior performance in generating high-quality adversarial samples across multiple metrics.

Polytechnic School of Algiers (DZ)
Reduced inequalities
Openalex Percentile: Top 36%
Logistics and Infrastructure Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.