Constrained Adversarial Perturbation

Virendra Nishad, Bhaskar Mukhoty, Hilal AlQuabeh, Sandeep K. Shukla, Sayak Ray ChowdhuryarXiv 2025 · DOI

Introduction

Deep learning models have demonstrated remarkable performance across diverse sectors, yet they remain notoriously vulnerable to adversarial attacks—small, intentional perturbations designed to induce misclassification. While adversarial research has flourished in the domain of computer vision, applying these techniques to structured data domains such as finance, IT networks, and cyber-physical systems (CPS) presents a unique challenge. In these environments, features are governed by strict physical laws, mathematical invariants, and logical dependencies.

Most existing attack generation methods ignore these real-world constraints, producing "fakes" that are mathematically or physically impossible. Such anomalies are easily flagged by simple consistency checks or domain-specific anomaly detectors. This paper introduces Constrained Adversarial Perturbation (CAP), a novel optimization framework designed to craft successful, constraint-respecting adversarial examples that are both effective and stealthy.

The Challenge of Domain Constraints

Adversarial attacks often focus on Universal Adversarial Perturbations (UAPs)—single, input-agnostic tweaks that can fool a model across a wide range of samples. However, in structured domains, an unconstrained UAP is likely to violate critical feature dependencies. For example:

  • Finance: A credit scoring model might require that a debt-to-income ratio remains consistent with reported income.
  • Industrial Control Systems: In a water treatment plant, sensor readings (e.g., tank levels) and actuator states (e.g., valve positions) must follow physical invariants.

If an attacker ignores these rules, the resulting adversarial sample becomes an "impossible" state. Existing methods to incorporate these constraints often struggle with non-linear rules, suffer from unstable optimization, or are too computationally expensive for large-scale application.

The CAP Methodology

The authors propose a unified framework to generate both universal (CAPX) and individual (CAPx) perturbations using an augmented Lagrangian-based min-max optimization strategy.

Augmented Lagrangian Optimization

The CAP framework formulates the attack as a multi-objective optimization problem. It seeks to minimize perturbation size and maximize misclassification while strictly adhering to domain constraints. To handle complex, non-linear inequality constraints, the method utilizes an Augmented Lagrangian Function (ALF), converting inequalities into equality constraints through the use of slack variables.

Unlike prior UAP methods that rely on computationally heavy nested loops, CAP employs a single-loop alternating optimization strategy. This approach updates the perturbation (the primal variable) to fool the classifier and subsequently updates penalty parameters (the dual variables) to enforce constraints. This architecture is highly parallelizable on modern GPUs, leading to significant performance gains.

Data-Driven Constraint Learning

A significant hurdle in attacking complex systems is the requirement of expert knowledge to define constraints. To address this, the authors introduce a technique to learn linear constraints directly from data. By analyzing the null space of normal training examples, the framework can automatically extract hidden physical invariants and dependencies. This allows the CAP framework to adapt to new systems without requiring manual rule definition by domain experts.

Experimental Evaluation

The framework was evaluated across five high-stakes datasets:

  • LCLD: Lending Club Loan Data (Finance).
  • IDS & IoMT: Network traffic analysis for IT and Medical IoT.
  • SWaT & WADI: Cyber-physical systems involving water treatment and distribution.

Key Results

  • Attack Success Rate (ASR): CAPX consistently outperformed state-of-the-art baselines like UAP and ConAML. The method achieved absolute ASR gains ranging from 2.90% to 47.90% over the strongest available baselines across all tested domains.
  • Computational Efficiency: CAPX demonstrated a massive reduction in runtime, running at least 45x faster than existing approaches. For instance, on the SWaT dataset, CAPX generated a universal perturbation in just 2.62 seconds, whereas baseline methods required over 283 seconds.
  • Versatility: The individual variant, CAPx, also proved superior to genetic algorithm-based methods (such as MoEvA2) in both success rate and speed, confirming the robustness of the ALF optimization approach.

Discussion and Future Work

The success of CAP highlights a critical vulnerability: domain constraints, which were previously thought to act as a natural defense, can be weaponized by an informed attacker to create highly stealthy threats that bypass invariant-based anomaly detectors.

While the current study assumes a white-box threat model—where the attacker has full access to the target model and its constraints—it serves as a vital worst-case security evaluation. The efficiency and efficacy of the CAP framework underscore an urgent need for the development of robust defense mechanisms and theoretical guarantees capable of defending against constraint-aware adversarial actors.

Summary updated

BibTeX
@misc{nishad2025constrained,
  author = {Virendra Nishad and Bhaskar Mukhoty and Hilal AlQuabeh and Sandeep K. Shukla and Sayak Ray Chowdhury},
  title = {{Constrained Adversarial Perturbation}},
  year = {2025},
  eprint = {2510.15699},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15699},
}
Figure