arXiv:2608.29568cs.CRAug 2026

Manuscript Offprint

arXiv:2608.29568

OASIS: Optimizing Attacker Sequences for Hard-Label Black-Box Text Attacks

Qian Chen, Shiliang Xiao, Yuzhi Liang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Qian Chen ∗^{*}, Shiliang Xiao ∗^{*}, and Yuzhi Liang †^{\dagger}

School of Information Science and Technology

Guangdong University of Foreign Studies, China

20241050023@mail.gdufs.edu.cn, slxiao@mail.gdufs.edu.cn, yzliang@gdufs.edu.cn

*Equal contribution. †Corresponding author.

Abstract. Different attack methods follow different search trajectories, they succeed on different subsets of samples, whereas existing hard-label black-box text attacks mainly focus on improving individual attackers or manually combining them. We present OASIS, a method for optimizing attacker sequences in hard-label black-box text attacks. OASIS first performs a one-time bi-objective attack chain search over candidate sequences to balance attack success rate and perturbation, and then reuses the selected fixed global chain during attack chain execution. Experiments across multiple datasets, victim models, and large language models show that OASIS consistently outperforms strong standalone baselines and simple manually constructed chains. These results suggest that attacker composition is not merely an implementation choice, but a practical optimization target for improving hard-label black-box text attacks.

Keywords: Hard-Label Black-Box Text Attack · Attacker Sequence Optimization · Attack Chain Search · Attacker Complementarity · Multi-Objective Optimization

1 Introduction

Deep neural networks have achieved strong performance across a wide range of NLP tasks, yet they remain vulnerable to adversarial examples. In realistic settings, target models often expose no intermediate information and operate under limited query budgets. Hard-label black-box text attacks aim to induce misclassification by making only a small number of perturbations to the original text while preserving its semantics as much as possible, given only label-only feedback. Different attack methods follow different search trajectories, and therefore their successful attack sets do not fully overlap. This raises a central challenge: how can we search for an attack chain that exploits cross-attacker complementarity so as to maximize the overall coverage of successful attacks?

Existing hard-label black-box text attacks mainly focus on designing stronger standalone attackers or manually combining attack methods. Methods such as LeapAttack [29] and TextHoaxer [30] seek better attack directions under label-only feedback, while LimeAttack [35], VIWHard [33], and TextHacker [31] improve token ranking, surrogate modeling, or local search. Meanwhile, empirical hand-crafted attack combinations such as OpenFact [11] do not treat attacker complementarity as an explicit optimization target. Because different attackers follow different search trajectories, they succeed on different subsets of samples. Moreover, strong attackers often exhibit larger overlap in their successful attack sets, whereas relatively weaker attackers may cover residual cases missed by stronger ones. Overall, most existing methods either focus on improving individual attackers or rely on manually combining them, without explicitly exploiting the complementarity among attackers induced by different search trajectories.

To address this issue, we propose OASIS 1^{1}, a method for Optimizing Attacker Sequences in hard-label black-box text attackS. Specifically, our method consists of two stages: local chain search and attack chain execution. On a local model and dataset, we perform a one-time search over candidate attack chains, jointly maximizing ASR and minimizing Pert as a bi-objective optimization problem. We use NSGA-II to search for the Pareto front, and then define the positive ideal solution and negative ideal solution in this solution space to select a fixed global attack chain via TOPSIS. On target models and datasets, the same global attack chain is reused and executed sequentially on each sample.

1^{1} Our code is anonymously available at https://github.com/s1xiao/OASIS.

Q. Chen et al.

Extensive experiments across multiple target datasets, target models, and large language models show that OASIS consistently outperforms strong standalone baselines and manual compositions, while the selected attack chain remains effective beyond the local search setting.

Our main contributions are as follows:

– We identify that different attackers follow different search trajectories and therefore cover only partially overlapping subsets of successful samples.

– We propose a global attack-chain search framework that selects a fixed reusable attack chain by capturing cross-attacker complementarity.

– Experiments across target datasets and victim models show that the searched chain consistently outperforms strong standalone attackers and manually constructed chains.

References (35)