[Paper Review] Evading classifiers in discrete domains with provable optimality guarantees
This paper introduces a graphical framework that models adversarial attacks in discrete domains as pathfinding in a weighted transformation graph, enabling provably minimal-cost adversarial examples using A∗ search. It generalizes existing attacks, supports arbitrary cost functions (including financial costs), and provides formal robustness guarantees under domain constraints, demonstrated on Twitter-bot detection and privacy-fingerprinting classifiers.
Machine-learning models for security-critical applications such as bot, malware, or spam detection, operate in constrained discrete domains. These applications would benefit from having provable guarantees against adversarial examples. The existing literature on provable adversarial robustness of models, however, exclusively focuses on robustness to gradient-based attacks in domains such as images. These attacks model the adversarial cost, e.g., amount of distortion applied to an image, as a $p$-norm. We argue that this approach is not well-suited to model adversarial costs in constrained domains where not all examples are feasible. We introduce a graphical framework that (1) generalizes existing attacks in discrete domains, (2) can accommodate complex cost functions beyond $p$-norms, including financial cost incurred when attacking a classifier, and (3) efficiently produces valid adversarial examples with guarantees of minimal adversarial cost. These guarantees directly translate into a notion of adversarial robustness that takes into account domain constraints and the adversary's capabilities. We show how our framework can be used to evaluate security by crafting adversarial examples that evade a Twitter-bot detection classifier with provably minimal number of changes; and to build privacy defenses by crafting adversarial examples that evade a privacy-invasive website-fingerprinting classifier.
Motivation & Objective
- To address the lack of provable adversarial robustness guarantees in discrete, constrained domains such as malware, spam, or bot detection.
- To overcome the limitations of existing gradient-based attacks that rely on ℓp-norms, which are ill-suited for discrete and feasible transformation spaces.
- To formalize adversarial attacks as graph search over valid transformations with customizable cost functions.
- To provide minimal-cost adversarial examples with provable optimality guarantees using A∗ search, leveraging continuous-domain robustness as a heuristic.
- To enable evaluation of classifier robustness under realistic adversary constraints, including financial and operational costs.
Proposed method
- Represent the space of feasible adversarial manipulations as a weighted directed graph (transformation graph), where nodes are examples and edges are transformations with associated costs.
- Model transformation costs as edge weights, allowing arbitrary cost functions beyond ℓp-norms, such as financial or semantic costs.
- Use A∗ search over the transformation graph to find adversarial examples with provably minimal total cost, guided by a heuristic derived from ℓp-robustness in a continuous superset.
- Leverage white-box knowledge of the classifier to compute a robustness heuristic for A∗, ensuring optimal pathfinding even in complex discrete spaces.
- Support both white-box and black-box settings by decoupling the model from the transformation graph, enabling reuse across different classifiers and attack scenarios.
- Enable sub-optimal but cost-guaranteed A∗ variants when continuous robustness computation is expensive, maintaining theoretical bounds on solution quality.
Experimental results
Research questions
- RQ1Can we formalize adversarial attacks in discrete domains as a graph search problem that captures feasibility constraints and arbitrary cost functions?
- RQ2How can we guarantee minimal adversarial cost in discrete domains where ℓp-norms are not applicable?
- RQ3To what extent can continuous-domain adversarial robustness measures serve as effective heuristics for discrete graph search?
- RQ4Can this framework be used to evaluate both security robustness and privacy defenses in real-world applications?
- RQ5How does the framework generalize or subsume existing attacks in discrete domains such as text, code, or network traffic?
Key findings
- The proposed transformation graph framework generalizes existing attacks in discrete domains, including word substitution, binary mutation, and feature manipulation, by modeling them as paths in a graph.
- Using A∗ search with a continuous-domain ℓp-robustness heuristic enables provably minimal-cost adversarial examples in discrete settings.
- The framework supports arbitrary cost functions, such as financial cost, which cannot be modeled by ℓp-norms, enabling realistic adversarial cost modeling.
- The approach enables evaluation of a Twitter-bot classifier’s robustness with provable guarantees on the minimal number of changes required to evade detection.
- The framework also supports privacy applications, such as evaluating the cost-effectiveness of defenses against website-fingerprinting classifiers by crafting minimal-cost adversarial examples.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.