Abstract
Classifiers are often used to detect miscreant activities. We study how an adversary can efficiently query a classifier to elicit information that allows the adversary to evade detection at near-minimal cost. We generalize results of Lowd and Meek (2005) to convex-inducing classifiers. We present algorithms that construct undetected instances of near-minimal cost using only polynomially many queries in the dimension of the space and without reverse engineering the decision boundary.
Introduction
In the security domain, machine learning classifiers serve as the front line against spam, fraud, and network intrusions. However, these models are susceptible to evasion attacks, where an adversary seeks to find a "blind spot"—a modification to a malicious instance that incurs minimal cost while successfully flipping the classification to "normal."
This research moves beyond simple linear models to address "convex-inducing" classifiers, where either the malicious ($X^+$) or normal ($X^-$) class forms a convex set. Crucially, the authors demonstrate that evasion does not require full reverse-engineering of the decision boundary. Instead, near-optimal evasion can be achieved through a "lazy" querying approach that stops as soon as a low-cost negative instance is identified, significantly reducing the overhead for the attacker.
Methodology
The authors focus on minimizing a weighted $\ell_1$ cost function, representing the attacker's effort. The search strategy depends on the geometric properties of the classifier's decision regions:
Convex Malicious Classes ($X^+_f$)
When the malicious set is convex, the minimal cost instance must lie near the boundary. The authors propose Multi-Line Search, which performs binary searches along axis-aligned directions (the vertices of an $\ell_1$ ball). This is further optimized into a K-step Multi-Line Search that balances breadth-first and depth-first searching to improve worst-case query complexity.
Convex Normal Classes ($X^-_f$)
This scenario is mathematically more challenging because the intersection of the cost ball and the "normal" set may not occur at a vertex. To address this, the authors adapt a randomized polynomial algorithm using Hit-and-Run sampling. This technique allows the adversary to uniformly sample the convex space to find an intersection with the cost ball efficiently.
Key Results and Insights
The paper is primarily theoretical, focusing on proving query complexity bounds and formal guarantees rather than empirical evaluation on specific datasets. Key findings include:
- Improved Complexity: For linear classifiers, the K-step algorithm achieves a query complexity of $O(L + \sqrt{L}D)$, where $D$ is the dimension and $L$ is the number of bits of precision. This is a significant improvement over previous $O(LD)$ methods.
- Generalization: The work provides the first formal query-based evasion algorithms for non-linear convex-inducing classifiers, such as quadratic classifiers and one-class anomaly detectors.
- Theoretical Lower Bounds: The authors established that any algorithm seeking an $\epsilon$-optimal evasion instance must submit at least $\max\{D, L\}$ queries, proving their proposed algorithms are nearly as efficient as theoretically possible.
Limitations and Future Work
While the algorithms are efficient, several hurdles remain for real-world application. Attackers often lack a direct mapping from raw data (like email text) to the internal feature vectors used by the classifier. Furthermore, the model assumes a static classifier and clean binary feedback. In practice, defenders may be adaptive, rate-limit queries, or provide noisy feedback to confuse the attacker. Finally, extending these guarantees to non-convex boundaries, such as those found in deep neural networks, remains a major open challenge in adversarial machine learning.
Summary updated