Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Examples in Constrained Domains

Ryan Sheatsley, Nicolas Papernot|arXiv (Cornell University)|Nov 2, 2020
Adversarial Robustness in Machine LearningComputer Science34 references4 citations
TL;DR

This paper proposes two novel algorithms—Adaptive JSMA and Histogram Sketch Generation—to generate adversarial examples in constrained domains like network intrusion detection, where feature modifications are limited by protocol semantics and data correlations. Despite constraints, the methods achieve over 95% misclassification rates and transferability up to 93%, demonstrating that constrained domains are not inherently robust to adversarial attacks.

ABSTRACT

Machine learning algorithms have been shown to be vulnerable to adversarial manipulation through systematic modification of inputs (e.g., adversarial examples) in domains such as image recognition. Under the default threat model, the adversary exploits the unconstrained nature of images; each feature (pixel) is fully under control of the adversary. However, it is not clear how these attacks translate to constrained domains that limit which and how features can be modified by the adversary (e.g., network intrusion detection). In this paper, we explore whether constrained domains are less vulnerable than unconstrained domains to adversarial example generation algorithms. We create an algorithm for generating adversarial sketches: targeted universal perturbation vectors which encode feature saliency within the envelope of domain constraints. To assess how these algorithms perform, we evaluate them in constrained (e.g., network intrusion detection) and unconstrained (e.g., image recognition) domains. The results demonstrate that our approaches generate misclassification rates in constrained domains that were comparable to those of unconstrained domains (greater than 95%). Our investigation shows that the narrow attack surface exposed by constrained domains is still sufficiently large to craft successful adversarial examples; and thus, constraints do not appear to make a domain robust. Indeed, with as little as five randomly selected features, one can still generate adversarial examples.

Motivation & Objective

  • To investigate whether constrained domains—where adversaries have limited control over input features—are more resilient to adversarial machine learning attacks than unconstrained domains like image recognition.
  • To develop an algorithm (Adaptive JSMA) that generates targeted adversarial examples under domain-specific constraints, such as protocol validity and feature correlations.
  • To introduce Histogram Sketch Generation, the first method for creating universal adversarial perturbations that respect domain constraints and are transferable across models.
  • To evaluate the effectiveness of these methods in real-world constrained datasets (NSL-KDD and UNSW-NB15) and assess the impact of feature constraints on model vulnerability.
  • To explore whether domain constraints can serve as a defense mechanism, and to examine the potential for defenders to use adversarial sketch analysis for vulnerability detection.

Proposed method

  • The Adaptive JSMA (AJSMA) extends the Jacobian Saliency Map Approach by incorporating domain constraints, such as fixed feature types (binary/continuous), protocol validity, and feature correlations, to generate targeted adversarial examples.
  • The Histogram Sketch Generation (HSG) algorithm computes universal perturbations by analyzing feature saliency distributions and constructing perturbations that remain within permissible ranges defined by the domain.
  • Primary features—those most correlated with other features (e.g., transport protocol)—are identified via Pearson correlation analysis to guide perturbation targeting and improve attack efficiency.
  • The method uses a histogram-based representation of feature perturbation directions to encode saliency while respecting constraints, enabling the creation of universal sketches applicable to multiple inputs.
  • Experiments are conducted on NSL-KDD and UNSW-NB15 datasets, with adversarial examples evaluated for success rate, distortion, and transferability across models.
  • The approach evaluates robustness under extreme constraints, such as restricting the adversary to only five random features, to test the limits of domain-based defense.

Experimental results

Research questions

  • RQ1Can adversarial examples be effectively generated in constrained domains such as network intrusion detection, where feature modifications are limited by protocol semantics and data correlations?
  • RQ2To what extent do domain constraints reduce the vulnerability of machine learning models to adversarial attacks compared to unconstrained domains like image recognition?
  • RQ3How effective are universal adversarial perturbations (adversarial sketches) when constrained to domain-specific feature envelopes, and can they achieve high transferability?
  • RQ4Can the identification of primary features (e.g., transport protocol) improve the efficiency and success rate of adversarial attacks in constrained domains?
  • RQ5Does limiting an adversary to a small number of controllable features (e.g., five) significantly reduce the success rate of adversarial attacks, or can effective attacks still be mounted?

Key findings

  • Adversarial examples were successfully generated in constrained domains with a misclassification rate exceeding 95%, demonstrating that constraints do not significantly reduce vulnerability.
  • Even when an adversary is limited to perturbing only five random features, adversarial examples achieved a success rate of approximately 50%, indicating that minimal control is still sufficient for effective attacks.
  • The proposed Histogram Sketch Generation method produced universal adversarial perturbations that achieved a 93% transferability rate across different models, showing strong generalization despite domain constraints.
  • Feature correlations—especially among timing-based features—significantly impacted model vulnerability, with highly correlated features amplifying the effect of small perturbations.
  • The study found that domain constraints, such as fixed feature types and protocol validity, were insufficient to prevent effective attacks, suggesting that such constraints do not inherently provide robust defense.
  • The analysis of feature saliency via correlation matrices revealed that primary features (e.g., transport protocol) are highly correlated with many secondary features, enabling more effective and targeted perturbations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.