{"id": "2606.19652", "title": "Convex training of Lipschitz-regularized shallow neural networks", "abstract": "In this work, we introduce a training procedure for shallow neural networks that promotes robustness against adversarial attacks. We solve a non-convex Lipschitz-regularized training program by introducing a convex restriction that can be efficiently solved to global optimality. Our approach can be employed as a post-processing step by taking a pre-trained network as an initial solution to then solving the convex program whose optimal network is guaranteed to be no worse than the initial one. We illustrate the improvements of our training procedure with experiments using real world datasets for regression tasks under an adversarial setting. We show numerically that solving our proposed convex program yields networks with lower objective values on the Lipschitz-regularized program compared to existing methods. Additionally, we show that on certain datasets, networks obtained using our convex training program are both more accurate and robust with respect to adversarial attacks.", "date": "2026-06-17", "categories": []} {"id": "2606.19736", "title": "VFACamou: View-Fused Adversarial Camouflage for Environment-Adaptive Physical Evasion", "abstract": "Adversarial camouflage in the physical world remains highly challenging, particularly under UAV reconnaissance where targets undergo continuous geometric changes and extreme illumination variations. Existing methods either optimize 2D digital perturbations that fail to generalize to dynamic viewpoints or produce visually unnatural textures that cannot be deployed in real scenarios. Therefore, we propose an end-to-end framework for adversarial camouflage generation that automatically produces wearable adversarial patterns and maintains stable attack performance in real physical environments with changing viewpoints, poses, and lighting conditions. Our method integrates UV-volume rendering with a diffusion-based texture generator, enabling consistent appearance under varying scales, poses, and lighting conditions. To ensure environmental realism, we propose an illumination color consistency estimator that extracts dominant background attributes and guides a natural texture loss to align the generated UV texture with the surrounding environment. A multi-scale dynamic training strategy further enhances robustness against viewpoint shifts and body deformation. Extensive experiments across multiple mainstream detectors demonstrate that our method achieves strong and stable physical attack performance while maintaining high perceptual naturalness, reducing human detection rates without introducing unnatural artifacts.", "date": "2026-06-18", "categories": []} {"id": "2505.03646", "title": "Revealing Hidden Vulnerabilities in Autoencoders through Gradient Signal Restoration", "abstract": "Adversarial robustness of deep autoencoders (AEs) has received less attention than that of discriminative models, although their compressed latent representations induce ill-conditioned mappings that can amplify small input perturbations and destabilize reconstructions. Existing white-box attacks for AEs, which optimize norm-bounded adversarial perturbations to maximize reconstruction damage, often converge to suboptimal perturbations, thereby potentially overstating AE robustness. We show that this limitation is linked to vanishing adversarial loss gradients during backpropagation through ill-conditioned layers, associated with near-zero singular values in their intermediate weight matrices. To address this, we propose GRILL (Gradient Signal Restoration in Ill-Conditioned Layers), a framework designed to mitigate gradient degradation and improve the reliability of adversarial robustness evaluation in encoder-decoder architectures. GRILL is designed to mitigate adversarial gradient degradation during optimization, enabling attacks to better approximate high-distortion perturbations under fixed norm constraints. Through extensive experiments across multiple AE architectures, under both sample-specific and universal attacks, as well as standard and adaptive attack settings, we show that GRILL significantly increases attack effectiveness, thereby exposing vulnerabilities hidden by existing attack limitations. Beyond AEs, we provide preliminary evidence that modern multimodal encoder-decoder architectures exhibit similar vulnerabilities.", "date": "2025-05-06", "categories": []} {"id": "2511.20002", "title": "Semantic Router: On the Feasibility of Hijacking MLLMs via a Single Adversarial Perturbation", "abstract": "Multimodal Large Language Models (MLLMs) are increasingly deployed in stateless systems, such as autonomous driving and robotics. This paper investigates a novel threat: Semantic-Aware Hijacking. We explore the feasibility of hijacking multiple stateless decisions simultaneously using a single universal perturbation. We introduce the Semantic-Aware Universal Perturbation (SAUP), which acts as a semantic router, \"actively\" perceiving input semantics and routing them to distinct, attacker-defined targets. To achieve this, we conduct theoretical and empirical analysis on the geometric properties in the latent space. Guided by these insights, we propose the Semantic-Oriented (SORT) optimization strategy and annotate a new dataset with fine-grained semantics to evaluate performance. Extensive experiments on three representative MLLMs demonstrate the fundamental feasibility of this attack, achieving a 66% attack success rate over five targets using a single frame against Qwen.", "date": "2025-11-25", "categories": []} {"id": "2606.11615", "title": "Adv-TGD: Adversarial Text-Guided Diffusion for Face Recognition Impersonation Attacks", "abstract": "The widespread adoption of face recognition (FR) technologies raises serious privacy concerns, as facial data can be exploited without consent. To address this challenge, we propose Adv-TGD, a generative adversarial attack framework that synthesizes photorealistic faces capable of impersonating target identities and deceiving face recognition systems. Built upon Stable Diffusion v2.1, Adv-TGD performs per-sample LoRA fine-tuning conditioned on concise textual prompts to generate natural yet adversarially manipulated identities. Unlike conventional identity attack approaches, our method optimizes lightweight cross-attention adapters for each source-target pair within a fixed-timestep denoising process. Latent blending is constrained by a face-local heatmap mask to ensure spatially precise identity manipulation while preserving non-sensitive regions. We introduce a composite objective that integrates masked epsilon-MSE reconstruction, thresholded identity divergence in FR embedding space, directional feature alignment, and source-similarity suppression to balance adversarial attack and visual realism. Optionally, LLaVA-generated attribute prompts enhance fine-grained semantic details without reintroducing identity cues. Under the black-box evaluation protocol, Adv-TGD attains an average attack success rate (ASR) of 85.90% across IR152, IRSE50, MobileFace, and FaceNet, surpassing the semantic SOTA baseline Adv-CPG by 6.25 points, the diffusion-based makeup method DiffAIM by 3 points, and the noise-based P3-Mask by 16 points. Despite its strong attack efficacy, Adv-TGD preserves high visual fidelity (PSNR = 28.18 dB, SSIM = 0.981). Furthermore, we demonstrate the flexibility of our framework by successfully extending it to in-the-wild datasets (LADN), general object classification (ImageNet), and transformer-based diffusion models (FLUX.1).", "date": "2026-06-10", "categories": []} {"id": "2606.18318", "title": "Budget-Aware Adaptive Adversarial Patches for Black-Box Object Detection", "abstract": "Adversarial patches pose a practical threat to modern object detectors. Prior work shows vulnerability, but three gaps limit actionable insight: (i) few \\emph{score-based black-box} attacks \\emph{jointly} optimize patch \\emph{location, texture, and size} under tight query budgets; (ii) success is rarely tied to the patch's \\emph{visual footprint}; and (iii) evaluations often conflate EOT robustness with plain-view suppression. We present \\method{}, a query-efficient, budget-adaptive black-box attack that couples a lightweight \\emph{Contextual Thompson-Sampling} placer with NES-style pixel updates, growing the patch only when progress stalls. Reporting is anchored by a \\emph{strict plain-image} suppression test; EOT is audited but never used as a substitute for success, and optional appearance/printability weights expose strength--visibility trade-offs. Across YOLOv5, Faster R-CNN, and YOLOS, \\method{} achieves strong suppression on CNN-based detectors and substantial suppression on the transformer-based detector, using compact patches and exposing clear query--footprint trade-offs relative to fixed-size and heuristic baselines. A print--capture pilot further shows transfer across unseen physical objects and viewpoints.", "date": "2026-06-16", "categories": []} {"id": "2606.19212", "title": "Generalised Eigenvalue Geometry of Semantic Adversarial Attacks", "abstract": "Recent empirical work shows that semantically equivalent paraphrases can fool financial sentiment classifiers: although a paraphrase remains close to the original under a strong reference embedding, it may shift the target model's representation enough to change the predicted class. Existing robustness theory either assumes a single-model threat model or focuses mainly on empirical attack algorithms. We develop a continuous local model of semantic paraphrase perturbations that captures this two-model structure. We show that the worst-case local displacement of the target representation, subject to a proxy-model budget, is governed by the largest generalised eigenvalue of a matrix pencil $(A,B)$ constructed from the Jacobians of the two embedding maps. The resulting attackability index $\\lambda^*(x)$ is intrinsic to the local paraphrase geometry and the chosen embedders, yields a closed-form prediction-flip condition for affine readouts, and supports conservative population and finite-sample attackability certificates. For uniform control over classes of affine readouts, we derive a distribution-free VC bound for binary attackability indicators and a scale-sensitive margin bound based on an attackability-adjusted margin that subtracts a local geometric penalty from the standard classifier margin. We also connect the continuous theory to discrete paraphrase search, identify an asymmetry between successful and unsuccessful finite searches, and give a covering condition under which the discrete and continuous settings agree. Finally, we propose an empirical verification framework using soft-token relaxations and generated paraphrase sets to assess the local eigenvalue geometry, prediction-flip condition, and finite-search approximation on a deployed financial-text classifier.", "date": "2026-06-17", "categories": []} {"id": "2408.12099", "title": "Query-Efficient Video Adversarial Attack with Stylized Logo on Service Computing", "abstract": "In service computing, video classification has become fundamental to many intelligent applications. While Deep Neural Networks (DNNs) have demonstrated excellent performance in recognizing video content, recent studies have shown that DNNs are highly vulnerable to adversarial examples. Thus, understanding adversarial attacks can better respond to emergency situations. In order to improve attack performance, many style-transfer-based attacks and patch-based attacks have been proposed. However, the global perturbation of the former will bring unnatural global colors, while the latter is difficult to achieve success in targeted attacks due to the limited perturbation space. Moreover, compared to a plethora of methods targeting image classifiers, video adversarial attacks remain relatively underexplored. Therefore, to generate adversarial examples with a low budget and to provide them with a higher verisimilitude, we propose a novel black-box video attack framework, called Stylized Logo Attack (SLA). SLA is conducted through three stages. The first stage involves building a style reference set for logos, which can not only make the generated examples more natural, but also carry more target class features in targeted attacks. Then, Reinforcement Learning is employed to determine the style reference and position parameters of the logo within the video, which ensures that the stylized logo is placed in the video with optimal attributes. Finally, perturbations are optimized in a step-by-step manner so as to improve the fooling rate. Experimental results indicate that SLA can achieve better performance than state-of-the-art methods and still maintain good deception effects when facing various defense methods. We believe SLA can raise awareness among the security community about the reliability and security of video classification systems and serve as a memorandum of possible attack methods.", "date": "2024-08-22", "categories": []} {"id": "2510.11709", "title": "Adversarial Attacks Leverage Interference Between Features in Superposition", "abstract": "Why do adversarial examples exist, and why do they transfer between models? Existing explanations appeal to high-dimensional geometry, non-robust patterns in the input, and decision boundary structure, but none provides a representation-level mechanism that explains why specific perturbations succeed and why attacks transfer between models. In this paper, we show that adversarial vulnerability can stem from efficient information encoding in neural networks. Specifically, vulnerability can arise from superposition - the phenomenon where networks represent more concepts than they have dimensions, forcing non-orthogonal representation and thus interference. This interference causes perturbations targeting one representation to affect others, creating vulnerabilities determined by interference patterns. In synthetic settings with precisely controlled superposition, we establish that superposition suffices to create adversarial vulnerability. The resulting attacks are predictable: PGD-discovered perturbations align with theoretically optimal perturbations derived from the interference geometry. Models trained on similar data develop similar interference patterns, explaining attack transferability. We then show that successful attacks on image classifiers exhibit the structure predicted by our proposed mechanism. These findings reveal that adversarial vulnerability can be a byproduct of networks' representational compression, complementing existing explanations based on data properties or architectural factors.", "date": "2025-10-13", "categories": []} {"id": "2511.01352", "title": "MiniFool -- Physics-Constraint-Aware Minimizer-Based Adversarial Attacks in Deep Neural Networks", "abstract": "In this paper, we present a new algorithm, MiniFool, that implements physics-inspired adversarial attacks for testing neural network-based classification tasks in particle and astroparticle physics. While we initially developed the algorithm for the search for astrophysical tau neutrinos with the IceCube Neutrino Observatory, we apply it to further data from other science domains, thus demonstrating its general applicability. Here, we apply the algorithm to the well-known MNIST data set and furthermore, to Open Data data from the CMS experiment at the Large Hadron Collider. The algorithm is based on minimizing a cost function that combines a $\\chi^2$ based test-statistic with the deviation from the desired target score. The test statistic quantifies the probability of the perturbations applied to the data based on the experimental uncertainties. For our studied use cases, we find that the likelihood of a flipped classification differs for both the initially correctly and incorrectly classified events. When testing changes of the classifications as a function of an attack parameter that scales the experimental uncertainties, the robustness of the network decision can be quantified. Furthermore, this allows testing the robustness of the classification of unlabeled experimental data.", "date": "2025-11-03", "categories": []} {"id": "2604.00605", "title": "Fluently Lying: Adversarial Robustness Can Be Substrate-Dependent", "abstract": "The primary tools used to monitor and defend object detectors under adversarial attack assume that when accuracy degrades, detection count drops in tandem. This coupling was assumed, not measured. We report a counterexample observed on a single model: under standard PGD, EMS-YOLO, a spiking neural network (SNN) object detector, retains more than 70% of its detections while mAP collapses from 0.528 to 0.042. We term this count-preserving accuracy collapse Quality Corruption (QC), to distinguish it from the suppression that dominates untargeted evaluation. Across four SNN architectures and two threat models (l-infinity and l-2), QC appears only in one of the four detectors tested (EMS-YOLO). On this model, all five standard defense components fail to detect or mitigate QC, suggesting the defense ecosystem may rely on a shared assumption calibrated on a single substrate. These results provide, to our knowledge, the first evidence that adversarial failure modes can be substrate-dependent.", "date": "2026-04-01", "categories": []} {"id": "2606.15531", "title": "Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks via Diffusion Guidance", "abstract": "Adversarial attacks on large language models have limited practical impact despite extensive research. Optimization-based attacks such as Greedy Coordinate Gradient (GCG) (Zou et al., 2023) produce high-perplexity, incoherent suffixes that existing defenses easily detect (Bengio et al., 2024).\n Moreover, attempting to enforce coherence constraints during optimization often prevents the attack from successfully eliciting the specific targeted response, resulting in low success rates against robust models. Conversely, attacks that maintain coherence often alter the semantic intent of queries; when the model complies with these altered queries, responses fail to address the adversary's original goal. In this work, we introduce Greedy Coordinate Diffusion (GCD), a novel framework that efficiently generates adversarial attacks against safety-aligned models while maintaining low perplexity and high semantic adherence to the adversary's original intent. GCD leverages the generative priors of discrete diffusion language models to guide the search for adversarial suffixes that achieve semantic coherence and adherence.\n Unlike GCG, GCD does not require direct gradient access, allowing it to operate in a gray-box setting. We show GCD achieves highest ASR while remaining competitive on response-quality scores, and that the constructed adversarial prompts are detected at lower rates than other methods by perplexity-based and guard-model filters.", "date": "2026-06-14", "categories": []} {"id": "2606.17435", "title": "MorphStrata: Layer-Specific Perturbations for Generating Morphence Students in Time-Series Moving Target Defense", "abstract": "Time-series forecasting models remain vulnerable to gradient-based adversarial attacks while existing defense mechanisms typically incur a trade-off in robustness for bounded response and compute cost. The problem is pronounced in Moving Target Defense where maintaining multiple randomized model instances substantially exacerbates the training overhead. In this work, we introduce MorphStrata, a student generation strategy with selective, layer-specific stochastic noise injection that extends the traditional Morphence defense. MorphStrata uses a Transformer backbone as the teacher and perturbs randomly selected architectural blocks to create structured heterogeneity across student models in response to varied data distributions and threat models. We evaluate against vanilla Transformer and Morphence backbones on a suite of benchmarks including the Jena Climate, Electricity Load Diagrams, and Appliances Energy Prediction using FGSM, BIM and PGD attacks across multiple attack strengths. Across datasets and attack regimes, the proposed ensemble maintains comparable adversarial RMSE. Specifically, for high entropy, periodic datasets as in the case of the AEP data, MorphStrata achieves the lowest RMSE across all attacks and perturbation budgets, improving over the static baseline by up to 24.11% and 97.97% under FGSM and BIM respectively at an epsilon value of 0.5 over 30 randomized trials. Targeting the layers to generate MorphStrata students accounts for less than 1% increase in train-times over the Morphence MTD baseline for most of the experiments, while accounting for double digit gains in adversarial RMSE reduction. We also observe a positive correlation between higher pairwise L2 distance (among generated students) and overall defense effectiveness. In summary, MorphStrata maintains adversarial robustness as an MTD defense at marginal cost deltas when compared to existing baselines.", "date": "2026-06-16", "categories": []} {"id": "2606.17540", "title": "TaFD: Threat-Aware Frequency Decoupling for Adversarial Robustness against Heterogeneous Attacks", "abstract": "Multi-threat robustness remains a fundamental challenge in deep learning. Although joint adversarial training (JAT) is widely adopted, it suffers from negative transfer under heterogeneous threats, particularly between $\\ell_p$-bounded and semantic attacks. Through first-order gradient analysis, we formalize this as gradient incompatibility and theoretically establish the necessity of decoupled optimization. We further reveal that these conflicting threats exhibit separable spectral characteristics in the frequency domain. Motivated by this observation, we propose Threat-aware Frequency Decoupling (TaFD), a two-stage defense framework that reformulates JAT as a frequency-domain divide-and-conquer paradigm. TaFD first discovers latent threat domains via unsupervised clustering of attack spectral prototypes and trains a lightweight classifier for inference-time threat domain identification. Conditioned on the prediction, TaFD employs a Frequency-Conditional Convolution that learns threat-domain-specific spectral masks and routes each sample to the corresponding expert, enforcing structural parameter separation and alleviating optimization conflicts.\n We validate TaFD on three representative image-classification benchmarks (CIFAR-10, CIFAR-100, and Tiny-ImageNet) and on two representative architectures (the convolutional ResNet and the hybrid-transformer MobileViT). Extensive results demonstrate that TaFD achieves more balanced robustness against heterogeneous attacks than existing JAT and frequency-domain baselines, improving average robust accuracy by approximately 11\\% over the strongest baseline while maintaining leading clean accuracy.", "date": "2026-06-16", "categories": []} {"id": "2606.17711", "title": "Structured Adversarial Camouflage via Voronoi Diagrams", "abstract": "Pixel-wise adversarial patches are computationally heavy and often visually detectable, limiting utility in security-critical systems. We present adversarial Voronoi camouflage that optimizes only seed-point locations under fixed, printable palettes using a soft assignment, producing structured, splinter camouflage-like patterns without additional regularization. Evaluated on person detection with COCO-style AP@[.5:.95], naive placement (Inria -> COCO) performs comparably bad, while garment-level application via segmentation mask (3DPeople) results in a significant AP drop. The attack transfers to out-of-domain backgrounds and across detector families (YOLOv9/10/11/12), indicating robustness in black-box settings. Repainting with different palettes largely nullifies the effect, and single-color tweaks show limited tolerance (<=0.17), highlighting a structure-palette coupling. The parameter-efficient, palette-constrained design improves visual plausibility while degrading real-time detector performance. Physical validation and color calibration are left for future work.\n Code: https://github.com/JensBayer/Voronoi\n This paper was originally presented at the International Conference on Military Communication and Information Systems (ICMCIS), organized by the Information Systems Technology (IST) Scientific and Technical Committee, IST-224-RSY - the ICMCIS, held in Bath, United Kingdom, 12-13 May 2026.", "date": "2026-06-16", "categories": []} {"id": "2606.18193", "title": "A Red-Team Study of Anthropic Fable 5 & Opus 4.8 Models", "abstract": "We evaluate the adversarial robustness of two frontier large language models (LLMs) developed by Anthropic, Fable 5 and Opus 4.8, against four families of automated jailbreak attack across 7 826 harmful intents spanning a ten-category harm taxonomy. Using the HackAgent red-teaming framework, hundreds of thousands of adversarial attempts were generated and every apparent success was independently re-adjudicated by a panel of three judge models (majority vote). Both models resist the majority of attacks, but the residual surface is larger than aggregate framing suggests: it is dominated by adaptive iterative attacks, while static obfuscation is near-fully neutralised. The strongest adaptive search (tree-of-attacks) breaks Opus 4.8 on 11.5% of intents overall, whereas Fable 5 stays in the single digits (6.1% worst-case). Aggregate rates therefore should not be read as reassurance. Even in these hardened configurations, the two models produced 1 620 (Opus 4.8) and 702 (Fable 5) panel-confirmed harmful completions spanning every harm category, located automatically, cheaply, and within the first one or two refinement steps by an attacker model with no human expert in the loop. The reasonable conclusion is that even the best, most-tested frontier models remain reliably breakable under sustained automated pressure.", "date": "2026-06-16", "categories": []} {"id": "2506.18756", "title": "Semantic-Preserving Prompt Hijacking: A Black-Box Adversarial Attack on Auto-Prompt Optimization", "abstract": "LLMs increasingly integrate auto-suggestion optimization modules, enabling them to rewrite and display user input before generating the final response. While this design aims to enhance transparency and trust, its process of autonomously selecting a single best result from multiple candidate solutions allows attackers to hijack this optimization process by inducing subtle, imperceptible semantic shifts. To address this, we propose a semantic preservation hijacking attack method based on black-box conditions: Adaptive Greedy Local Search. This method hierarchically decomposes the input text, masks key language units, and dynamically adjusts candidate replacement words at predefined semantic checkpoints. This maximizes the deviation between the model output and the original intent while strictly maintaining semantic similarity to the original text. Experimental results on commercial and open-source LLMs demonstrate that, under the same semantic similarity constraints, this method achieves a higher attack success rate than existing attack methods in over 2400 test cases. Code is available at: https://github.com/franz-chang/DOBS", "date": "2025-05-26", "categories": []} {"id": "2509.14959", "title": "Discrete optimal transport is a strong audio adversarial attack", "abstract": "In this paper, we investigate discrete optimal transport (DOT) as a black-box attack against modern automatic speaker verification (ASV) and anti-spoofing countermeasure (CM) systems.\n Our attack operates as a post-processing distribution-alignment step. Frame-level WavLM embeddings of generated speech (or another person speech) are aligned to an unpaired bona fide speech pool using entropic optimal transport and a top-k barycentric projection, followed by neural vocoding. Unlike gradient-based attacks, the proposed method requires no access to model parameters, gradients, or training data.\n Experiments on ASVspoof2019 and ASVspoof5 demonstrate that DOT attack substantially increases CM EER and substantially degrades ASV performance across multiple spoofing attacks. The attack transfers across datasets and remains effective after CM fine-tuning. Analysis using speaker similarity, Fr\\'echet Audio Distance, and visualization of embedding distributions suggests that DOT succeeds by shifting source speech toward bona fide regions of the representation space rather than by maximizing speaker similarity.\n These results indicate that optimal-transport-based distribution alignment represents a previously underexplored attack vector for contemporary ASV and anti-spoofing systems.", "date": "2025-09-18", "categories": []} {"id": "2509.19197", "title": "A Validation Strategy for Deep Learning Models: Evaluating and Enhancing Robustness", "abstract": "Data-driven models, especially deep learning classifiers often demonstrate great success on clean datasets. Yet, they remain vulnerable to common data distortions such as adversarial and common corruption perturbations. These perturbations can significantly degrade performance, thereby challenging the overall reliability of the models. Traditional robustness validation typically relies on perturbed test datasets to assess and improve model performance. In our framework, however, we propose a validation approach that extracts \"weak robust\" samples directly from the training dataset via local robustness analysis. These samples, being the most susceptible to perturbations, serve as an early and sensitive indicator of the model's vulnerabilities. By evaluating models on these challenging training instances, we gain a more nuanced understanding of its robustness, which informs targeted performance enhancement. We demonstrate the effectiveness of our approach on models trained with CIFAR-10, CIFAR-100, and ImageNet, highlighting how robustness validation guided by weak robust samples can drive meaningful improvements in model reliability under adversarial and common corruption scenarios.", "date": "2025-09-23", "categories": []} {"id": "2606.14865", "title": "GRAPE: Guided Parameter-Space Evolution for Compact Adversarial Robustness", "abstract": "Adversarial Training (AT) improves neural network robustness, but most methods train a fixed parameter space from the start. This paper asks whether the order in which parameters become optimizable can affect the final robust solution, even when the final architecture or computation budget is controlled.\n We propose GRAPE, Guided Parameter-Space Evolution, a training framework for compact adversarial robustness. GRAPE combines parameter-space stabilization with progressive hidden expansion: it stabilizes robust optimization in the currently exposed space, gradually releases new optimizable dimensions, and uses an adversarial spectral utilization score to guide newly released capacity toward high-pressure modules. In contrast to fixed-structure AT, GRAPE treats robust model learning as a process of progressive parameter-space exposure and evolution.\n Under the standard $\\ell_\\infty$ threat model on CIFAR-10, with fixed-structure ResNet-18 AT as a controlled reference, GRAPE improves PGD-20 robust accuracy from 51.70% to 56.94% at a nearly matched computation budget with a FLOPs ratio of 1.009x, while reducing parameter count by about 21.4%. A sequential grow variant with the same final ResNet-18 architecture reaches 56.52% PGD-20 robust accuracy, indicating that the gain is not only due to final architecture differences but also to the parameter-space exposure path. These results suggest that guided parameter-space evolution can yield compact and robust parameter configurations under matched computation.", "date": "2026-06-12", "categories": []} {"id": "2606.15608", "title": "On the Adversarial Robustness of Multimodal LLM Judges", "abstract": "Multimodal Large Language Models (MLLMs) are increasingly used as automated judges, e.g., for image quality and safety assessment. However, their adversarial robustness remains largely unexplored, threatening the fairness and reliability of automated judging. To bridge this gap, we introduce RobustMLLMJudge, the first general framework for evaluating the adversarial robustness of general-purpose MLLMs when functioning as judges. It covers diverse attacks against popular judge approaches across quality and safety evaluation scenarios. Using RobustMLLMJudge, we reveal that i) different MLLM judges are highly vulnerable to score-inflating adversarial attacks; and ii) although effective, these attack methods face a critical challenge due to unique constraints in the evaluation protocols of MLLM judges. We further propose MGSIA, namely Manifold-Guided Semantic Induction Attack, a novel method that bypasses these constraints to enable more effective and transferable attacks on MLLM judges. The core idea of MGSIA is to combine affirmative semantic induction with high-score manifold alignment: it maximizes the probability that judges yield affirmative responses (e.g., \"Yes\") to binary semantic queries, while regularizing adversarial representations toward high-score centers estimated from proxy protocols. Together, these objectives yield transferable score-inflating perturbations. Extensive experiments demonstrate the superiority and generalizability of MGSIA in deceiving advanced MLLM judges under different evaluation scenarios, highlighting the need for robust MLLM judges. Code and data will be made available at https://github.com/mala-lab/RobustMLLMJudge.", "date": "2026-06-14", "categories": []} {"id": "2606.15788", "title": "GAS-Leak-LLM: Genetic Algorithm-Based Suffix Optimization for Black-Box LLM Jailbreaking", "abstract": "Large Language Models (LLMs) constitute pivotal components within the AI-dominated information technology ecosystem. To mitigate risks associated with harmful or policy-violating outputs, commercial systems employ advanced alignment strategies and multi-layered content moderation mechanisms. Despite these safeguards, recent research has demonstrated that LLMs remain vulnerable to adversarial manipulation, particularly through jailbreaking and prompt injection techniques. In this work, we propose GAS-Leak-LLM a novel jailbreaking attack based on a genetic algorithm that systematically evolves adversarial suffix to bypass safety constraints. Operating in a strict black-box setting, our method requires no access to model parameters or internals, thereby reflecting realistic threat scenarios in deployed systems. Through the iterative application of selection, mutation, and crossover heuristics, the framework systematically explores the discrete prompt space to identify high-fitness adversarial suffixes. Empirical findings reveal critical shortcomings in existing safety enforcement mechanisms and confirm the effectiveness and practical viability of the proposed attack.", "date": "2026-06-14", "categories": []} {"id": "2606.16519", "title": "BadWorld: Adversarial Attacks on World Models", "abstract": "Visual world models (VWMs) synthesize interactive, action-conditioned rollouts from a single context image. However, it remains an open question how robust these models are to adversarial perturbations. Standard adversarial attacks fail to assess this vulnerability because attackers lack ground-truth future videos and cannot predict subsequent user controls. We introduce BadWorld, a label-free adversarial framework tailored for autoregressive VWMs that systematically overcomes both constraints. First, to bypass the need for future supervision, we propose a self-supervised velocity attack that directly disrupts the early denoising dynamics of the model. Second, to ensure the attack generalizes across unpredictable user actions, we formulate a trajectory-adaptive bi-level optimization that actively mines hard control sequences to forge control-agnostic perturbations. Evaluated on representative VWMs with continuous and discrete controls, BadWorld exposes severe structural fragility. Visually indistinguishable adversarial images reliably trigger catastrophic degradation in future rollouts, leading to incomplete denoising, structural collapse, and control inconsistency. These findings reveal critical risks for deploying VWMs in safety-critical systems while highlighting a practical mechanism for privacy protection.", "date": "2026-06-15", "categories": []} {"id": "2606.16605", "title": "ARB4WM: An Adversarial Robustness Benchmark for World Models in Continuous Control", "abstract": "World models are widely used in robotic and agentic engineering control systems due to their ability to learn latent dynamics for planning and decision-making. As these systems are increasingly deployed in safety-critical settings, understanding their robustness under adversarial conditions has become essential. However, existing evaluations lack a unified benchmark for testing adversarial threats across the policy, value, and latent-dynamics levels of world-model agents. To fill this gap, we present ARB4WM, a unified evaluation framework for pre-deployment robustness and risk assessment of world-model agents under visual perturbations. ARB4WM defines five white-box loss objectives across these three levels and studies their effects when combined with single-step or multi-step perturbation strategies and temporal attack modes, including full-frame, half-sequence, and sparse-frame exposure. Specifically, we evaluate four Dreamer-style agents across 20 tasks from MetaWorld and the DeepMind Control Suite under different loss objectives, perturbation strategies, and temporal attack modes. Results show that attacks targeting value estimation, latent representations, and RSSM dynamics can be as damaging as direct policy disruption, and that early or frequent perturbations are especially harmful, while input-level defenses provide limited recovery under adaptive attacks. These findings suggest that safety, risk, and reliability assessment for world models should cover multiple component-oriented attack objectives and temporal exposure protocols rather than relying solely on action-space robustness. Source code is available at https://github.com/zaoanguai/ARB4WM.", "date": "2026-06-15", "categories": []} {"id": "2606.16751", "title": "Automated jailbreak attack targeting multiple defense strategies", "abstract": "Large language models (LLMs) have demonstrated remarkable capabilities across a wide range of tasks. However, their safety remains a critical concern due to their susceptibility to adversarial prompt-based attacks. In this paper, we present UNIATTACK, an adversarial testing framework designed from a defense-oriented perspective to systematically construct effective black-box attack prompts. Unlike prior approaches that rely on static templates or iterative model-specific tuning, UNIATTACK extracts minimal but high-impact attack features from diverse existing attacks, optimizes them via a specialized attacker LLM, and composes them into flexible templates through automated refinement process. This feature-centric construction enables one-shot attacks that generalize across multiple models and safety categories, providing a practical tool for assessing LLM robustness. Our evaluation results shows that compared to the baselines, UNIATTACK achieves an average attack success rate (ASR) improvement of 64.63\\%-248.82\\% on models deployed with multi-layered defense mechanisms and it only takes 0.03\\%-4.96\\% cost of the baselines. UNIATTACK artifact is available at https://anonymous.4open.science/r/UniAttack-Artifact-30F1.", "date": "2026-06-15", "categories": []} {"id": "2604.00887", "title": "Towards Physically Realizable Adversarial Attenuation Patch against SAR Object Detection", "abstract": "Deep neural networks have demonstrated excellent performance in SAR target detection tasks but remain susceptible to adversarial attacks. Existing SAR-specific attack methods can effectively deceive detectors; however, they often introduce noticeable perturbations and are largely confined to digital domain, neglecting physical implementation constrains for attacking SAR systems. In this paper, a novel Adversarial Attenuation Patch (AAP) method is proposed that employs energy-constrained optimization strategy coupled with an attenuation-based deployment framework to achieve a seamless balance between attack effectiveness and stealthiness. More importantly, AAP exhibits strong potential for physical realization by aligning with signal-level electronic jamming mechanisms. Experimental results show that AAP effectively degrades detection performance while preserving high imperceptibility, and shows favorable transferability across different models. This study provides a physical grounded perspective for adversarial attacks on SAR target detection systems and facilitates the design of more covert and practically deployable attack strategies. The source code is made available at https://github.com/boremycin/SAAP.", "date": "2026-04-01", "categories": []} {"id": "2606.13801", "title": "Neural Variability Enhances Artificial Network Robustness", "abstract": "Neural responses in cortex exhibit substantial trial-to-trial variability in response to repeated stimuli, while peripheral sensory neurons respond far more consistently, leading many to wonder whether stochasticity may carry meaning. Existing work has argued that noise and signal correlations may be optimized for discrimination in animals, whereas artificial neural network (ANN) studies have shown similar benefits of noise in machine learning tasks, although most ANN work has neglected the effects of correlations. Here we investigate whether correlated noise improves the robustness of artificial neural networks to adversarial attacks and naturalistic image modifications. Using the covariance of activations under modified versus clean inputs, we find that structured noise may significantly improve network robustness. Robustness to naturalistic image modifications benefits most from structure, but this structure transfers poorly across modification types. In contrast, noise structure from adversarial attacks can generalize to other kinds of attacks. These results suggest that structured noise in ANN activations generally improves robustness, establishing a biologically plausible strategy for creating robust artificial neural networks that only relies on local information.", "date": "2026-06-11", "categories": []} {"id": "2606.14504", "title": "Scratched Lenses, Shifted Depth: Passive Camera-Side Optical Attacks", "abstract": "Physical adversarial attacks on vision systems are typically studied through scene manipulation, such as adversarial patches or projections, where the adversary controls what the camera observes. Camera-side attacks using stickers or auxiliary optics have also been explored, but they treat attacks as image-space perturbations from designed patterns. This misses how physical imperfections interact with scene-dependent lighting and optics. We identify a threat: passive lens-side damage that is persistent yet trigger-conditioned, producing optical artifacts that bias geometric inference under particular visual conditions.\n We instantiate this threat through Scratch-induced Lens Adversarial Streak Hijacking SLASH, a physical-world attack caused by small scratches on a camera lens or protective cover. Scratches interact with bright light sources and specular reflections to create structured streak artifacts that distort depth cues. Since the perturbation is fixed in the optical path but triggered by the scene, it is both persistent and selective. We formulate the attack in optical space, model the scratch pattern as a trigger-conditioned optical channel, and optimize one fixed configuration across diverse viewing conditions. We evaluate SLASH on monocular depth estimation and monocular 3D object detection in digital and real-world settings. Under the fixed-scratch constraint, directional depth shifts reach up to 32% relative error for monocular depth estimation, with consistent effects on monocular 3D object detection. Physical experiments confirm transfer to real camera recordings, inducing depth shifts above the model's natural prediction baseline. These findings reveal an attack surface where benign-looking hardware imperfections act as latent, scene-triggered adversarial mechanisms, challenging assumptions about physical robustness and motivating defenses for secure vision systems.", "date": "2026-06-12", "categories": []} {"id": "2606.14658", "title": "Giving AI a Headache: Acoustic Adversarial Attacks to Computer Vision Applications", "abstract": "Artificial Intelligence (AI) is increasingly used to automate a variety of real-world computer vision (CV) applications, such as autonomous vehicle control, facial recognition, and security cameras. Recent research has shown that acoustic vibration can induce real physical motion in cameras, interfering with their internal stabilization mechanisms. Because the motion falls outside the conditions the stabilization system was designed to handle, the system introduces artifacts into the frame, causing AI-based CV models to misclassify, miss targets, or hallucinate objects.\n Previous work used ultrasonic frequencies (>20 kHz) to perform short-range attacks, which limits them to short distances due to the attenuation exhibited by high frequencies. In this work, we investigate acoustic attacks using lower frequencies in the audible range (<20 kHz), and we further expand our analysis to include how various image and object features are affected by the attacks.\n Specifically, we performed physical experiments to demonstrate the viability of our attacks on an off-the-shelf object detection model (YOLO11) by resonating a commercially available camera with various frequencies. Based on our results, we provide insights into several factors that make an AI CV system more vulnerable to these attacks, which could help inform the development of future mitigation strategies.", "date": "2026-06-12", "categories": []} {"id": "2606.12716", "title": "Does AI Reviewer See the Full Picture? Attacking and Defending Multimodal Peer Review", "abstract": "The integration of Large Language Models (LLMs) and Multimodal LLMs (MLLMs) into scientific peer-review workflows introduces novel and significant risks for adversarial manipulation, especially given the multimodal nature of scientific papers where figures, not just text, convey core evidence. This creates a significant gap: current robustness studies on AI peer-review are overwhelmingly text-only. Moreover, the problem is distinct from standard jailbreaking, as a peer-review attack seeks to induce a domain-specific, targeted failure (e.g., \"inflate this score\") rather than a general safety policy violation, for which no practical defenses exist. To address this, we introduce PaperGuard, the first comprehensive benchmark designed to systematically evaluate and defend AI-generated peer-review against these domain-specific, cross-modal attacks. Our framework is built on three pillars: (1) a new multimodal peer-review dataset spanning multiple scientific domains; (2) a unified suite of attacks, including black-box prompt injections and white-box perturbations, specifically designed to target both text (GCG) and figures (PGD); and (3) a practical defense, motivated by the long-context challenge of academic papers, that uses chunk-based embedding search to efficiently localize and mitigate harmful instructions. Our extensive experiments, conducted across state-of-the-art models, confirm that AI reviewers are pervasively vulnerable. PaperGuard establishes the foundational benchmark, protocols, and actionable defense necessary to pioneer trustworthy, attack-resilient AI-assisted scholarly reviewing.", "date": "2026-06-10", "categories": []} {"id": "2606.13022", "title": "Quality-Preserving Imperceptible Adversarial Attack on Skeleton-based Human Action Recognition", "abstract": "Adversarial attacks on skeletal human action recognition have received significant attention. However, existing methods typically introduce noise-like perturbations that degrade motion quality post-attack, and thereby are inherently perceptible with recent advancements in S-HAR systems. We discover that this degradation stems from the gap between empirical and true risks during the optimization process of previous adversarial attacks. To address this issue, we propose an attack where adversarial motions are obtained without compromising their motion quality. To minimize the risk gap and preserve motion quality, we propose a distribution-based adversarial attack method without introducing noise-like perturbations. To faithfully evaluate the motion quality, we propose a new metric that aligns with human perception on real-world naturalness. Experiments have been conducted on the state-of-the-art S-HAR methods across two datasets, demonstrating the superiority of our method in both the attack success rate and the post-attack motion quality through qualitative and quantitative analyses. The success of our quality-preserving attack application and distribution-based method raises serious concerns about the robustness of action recognizers, highlighting the need for further enhancements in this domain.", "date": "2026-06-11", "categories": []} {"id": "2606.13282", "title": "ERTS: Adversarial Robustness Testing of Ethical AI via Semantic Perturbation in a Bounded Consequence Space", "abstract": "As AI systems are deployed in high-stakes ethical contexts such as healthcare triage, autonomous vehicle control, and employment screening, formal methods for evaluating their robustness against adversarial manipulation of ethical reasoning remain underdeveloped. This paper introduces the Ethical Robustness Testing System (ERTS), a closed-pipeline framework that: (1) encodes ethical dilemmas into a 22-dimensional Ethical Consequence Space (ECS) grounded in established ethical theory; (2) applies 17 semantic perturbation functions subject to 6 validity constraint classes including a novel semantic coherence constraint; (3) measures decision deviation via a 4-component Ethical Instability Index (EII); and (4) produces domain-adaptive pre-deployment robustness assessment verdicts. We evaluate 4 structured baseline models and 2 production LLMs (Gemini 2.0 Flash and Llama 3.2) across 50 ethical scenarios spanning 8 deployment domains, generating 1,500 adversarial test cases. Results demonstrate that only 33% of models achieve assessment clearance, with the local Llama-3.2 model proving particularly vulnerable to fairness corruption and information degradation attacks (ERS = 0.737). To the best of our knowledge, no existing framework combines a bounded ethical consequence space, semantic coherence constraints, and domain-adaptive assessment in a single adversarial testing pipeline.", "date": "2026-06-11", "categories": []} {"id": "2606.13439", "title": "S-GBT: Smooth Growth Bound Tensor for Certified Robustness Against Word Substitution Attacks in NLP", "abstract": "Despite recent progress in Natural Language Processing (NLP), models remain vulnerable to word substitution attacks. Most existing defenses focus on first order sensitivity and measure how much the output changes when the input is slightly perturbed. However, they ignore how this sensitivity evolves, which is described by curvature. When gradients vary sharply, models can still fail. This paper introduces the Smooth Growth Bound Tensor (S-GBT), a second order method that bounds the Hessian element-wise, for which we provide formal theoretical proofs on the resulting robustness bounds. A regularization term is added during training to minimize these bounds. This yields tighter certified robustness against word substitution attacks. The change in the output under word substitution is bounded by both a linear term and a quadratic term. S-GBT is derived for two architectures: Long Short-Term Memory (LSTM) and Convolutional Neural Networks (CNN). The method is integrated directly into the training objective. Its effectiveness is evaluated on multiple benchmark datasets. The results show that combining first and second order regularization improves certified robust accuracy by up to 23.4% compared to prior methods, while clean accuracy remains competitive. These findings indicate that controlling both the gradient and its variation is a promising direction for building more robust models.", "date": "2026-06-11", "categories": []} {"id": "2606.13610", "title": "One Polluted Page Is Enough: Evaluating Web Content Pollution in Generative Recommenders", "abstract": "Search-augmented LLMs increasingly mediate everyday consumer recommendations by retrieving live web content. This creates a new risk: generative recommenders may consume polluted web content, such as fake reviews and promotional pages crafted to mislead recommendations. We ask: to what extent do search-augmented LLMs become unwitting promoters of fake products when consuming polluted retrieval results? To answer this, we introduce FORGE (Fake Online Recommendations in Generative Environments), a benchmark for measuring fake-product promotion under controlled web-content pollution. Given an upstream search result, FORGE locally rewrites real products in retrieved web pages into fake ones to simulate web-content pollution, and measures how often the LLM recommends the fake product. FORGE covers 225 real-world products across 15 categories and 5 consumer scenarios. Across 12 commercial and open-weights LLMs, all models are vulnerable: a single polluted page yields fooled rates of up to 27%, while the full top-3 replacement raises this to 73.8%. Vulnerability varies substantially across categories, increasing when models lack stable prior knowledge of the relevant products. Reasoning does not mitigate this vulnerability; instead, it often generates spurious social proof to justify false recommendations. We evaluate three defenses: skepticism prompting and consensus filtering (over model priors or cross-document evidence). Skepticism can exacerbate vulnerability, much like reasoning, while filtering risks suppressing legitimate products. We release FORGE at https://github.com/leoluolol/forge-benchmark.", "date": "2026-06-11", "categories": []} {"id": "2506.03933", "title": "Diffusion-based Cumulative Adversarial Purification for Vision Language Models", "abstract": "Vision Language Models (VLMs) have shown remarkable capabilities in multimodal understanding, yet their susceptibility to adversarial perturbations poses a significant threat to their reliability in real-world applications. Despite often being imperceptible to humans, these perturbations can drastically alter model outputs, leading to erroneous interpretations and decisions. This paper introduces DiffCAP, a novel diffusion-based purification strategy that can effectively neutralize adversarial corruptions in VLMs. We theoretically establish a provable recovery region in the forward diffusion process and meanwhile quantify the convergence rate of semantic variation with respect to VLMs. These findings manifest that adversarial effects monotonically fade as diffusion unfolds. Guided by this principle, DiffCAP leverages noise injection with a similarity threshold of VLM embeddings as an adaptive criterion, before reverse diffusion restores a clean and reliable representation for VLM inference. Through extensive experiments across six datasets with three VLMs under varying attack strengths in three task scenarios, we show that DiffCAP outperforms existing defense techniques by a substantial margin. Notably, DiffCAP significantly reduces both hyperparameter tuning complexity and the required diffusion time, thereby accelerating the denoising process. Equipped with theorems and empirical support, DiffCAP provides a robust and practical solution for securely deploying VLMs in adversarial environments. The source code is available at https://github.com/JasonFu1998/DiffCAP.", "date": "2025-06-04", "categories": []} {"id": "2605.31219", "title": "Latent Geometric Chords for Query-Efficient Decision-Based Adversarial Attacks", "abstract": "While decision-based black-box adversarial attacks present a severe security threat, current methodologies suffer from fundamental limitations. Pixel-wise attacks frequently introduce unnatural, high-frequency visual artifacts, while latent-space frameworks are confined by the limited search space of low-dimensional manifolds and inherent reconstruction flaws. To resolve these limitations, we propose Latent Geometric Chords (LGC) for Query-Efficient Decision-Based Adversarial Attacks alongside a variant, LGC-H. At its core, LGC navigates decision boundaries by executing a curvature-aware geometric search within a compressed semantic manifold. To guarantee high visual fidelity and circumvent dimensionality bottlenecks, we introduce a Residual-based Adversarial Generation (RAG) mechanism. RAG isolates semantic perturbations as geometric chords and superimposes them directly onto the original source image. RAG substantially resolves baseline reconstruction flaws and effectively doubles the permissible search space dimensions. Experimental results demonstrate that LGC achieves robust cross-dataset transferability and substantially outperforms state-of-the-art baselines. Notably, our method, LGC, minimizes perturbation magnitudes while achieving state-of-the-art visual fidelity--with a Structural Similarity Index Measure (SSIM) exceeding 0.99 and a Learned Perceptual Image Patch Similarity (LPIPS) below 0.01 at 5000 queries--and sustaining high attack success rates under stringent perceptual constraints, successfully compromising adversarially trained robust models. The source code is available at: https://github.com/eihmuekhine/Latent-Geometric-Chords.", "date": "2026-05-29", "categories": []} {"id": "2606.11409", "title": "Risk Under Pressure: Compute-Aware Evaluation of Adversarial Robustness in Language Models", "abstract": "Adversarial robustness evaluations of large language models (LLMs) typically report attack success rate (ASR) under fixed query budgets, implicitly treating all attacks as equally costly. In practice, the computational expense of different attack strategies can vary by orders of magnitude. Consequently, ASR at a fixed budget can obscure the true effort required to jailbreak a model, thereby making it hard to determine whether an attack's cost justifies its payoff to the attacker. We propose a compute-aware evaluation framework based on computational pressure, measured in cumulative floating-point operations (FLOPs), as a proxy for adversarial effort. We introduce risk-compute curves, which map compute budgets to attack risk, and derive two metrics that summarize the average pressure required for a given attack to succeed. Across ten models spanning three families and four different stages in language model training and alignment, evaluated with three attack strategies (gradient-based, iterative refinement, and template-based) on two jailbreak robustness benchmarks, we find: (1) alignment training has non-monotonic effects on compute-space robustness; (2) scaling model size reduces gradient-based attack effectiveness but has limited impact on cheaper template-based attacks; (3) gradient-based attacks optimized on a surrogate model can transfer to a separate target model, providing a way to reduce attacker costs; (4) compute cost varies by up to ${\\approx}5{\\times}$ across harm categories within a single model; and (5) safety-aligned RL increases aggregate cost while leaving some categories disproportionately accessible. We release our framework to enable compute-aware risk assessment and evaluation.", "date": "2026-06-09", "categories": []} {"id": "2606.11804", "title": "Toward Trustworthy AI: Multi-Target Adversarial Attacks and Robust Defenses for Continuous Data Summarization", "abstract": "Trustworthy AI requires reliable data-processing pipelines, not only robust downstream predictive models. As an upstream component, data summarization determines which information is retained and passed to subsequent learning or decision modules. Therefore, adversarial perturbations to the summarization process can compromise trustworthy AI in an upstream manner: they may alter the selected summary, reduce its representativeness, and further degrade the utility of subsequent learning tasks. In this paper, we study adversarial attacks on continuous data summarization under similarity-level perturbations through DR-submodular optimization. We show that a class of multi-resolution image summarization objectives can be formulated as multilinear extensions of non-negative submodular set functions and satisfy DR-submodularity with $m$-weak monotonicity. We then formulate multi-target attack generation as a min-max problem, where one admissible perturbation of the similarity structure is optimized to degrade multiple target summarization models. To mitigate such perturbations, we formulate robust defense against mixed attack types as a regularized max-min problem. For both problems, we develop approximation algorithms with theoretical guarantees. Experiments on real-data and controlled clustered benchmarks show that the proposed attack is effective in representative low-to-moderate budget regimes and can induce downstream task-performance loss. The proposed defense improves the robustness--mitigation trade-off in structured settings, while also revealing the parameter sensitivity of robust protection on real data.", "date": "2026-06-10", "categories": []} {"id": "2606.12251", "title": "Reinforcement Learning Disrupts Gradient-Based Adversarial Optimization", "abstract": "Gradient-based adversarial attacks remain a dominant threat to deep neural networks (DNNs), as they exploit gradient information to efficiently optimize adversarial perturbations. To address this, we investigate whether reinforcement learning (RL) training can disrupt the gradient structure used by attackers by training image classifiers with policy-gradient objectives and epsilon-greedy exploration. Through systematic experiments across CIFAR-10, CIFAR-100, and ImageNet-100 with multiple architectures, we find that RL-trained classifiers significantly disrupt gradient-based adversarial optimization. To explain this, we conduct a comprehensive mechanism analysis using loss landscape visualization, static and dynamic gradient indicators, and predictive entropy. Our analysis reveals that RL acts as an implicit regularizer, producing models with highly unstable gradient directions and smaller gradient magnitudes. This combination makes each PGD step both unreliable in direction and limited in magnitude, causing gradient-based attacks to fail within practical iteration budgets. We further show that combining RL with adversarial training (RL-adv) provides a dual-layer defense operating at two complementary levels: RL degrades gradient information available to attackers (gradient-level defense), while adversarial training strengthens decision boundaries (boundary-level defense). RL-adv achieves the highest robustness across all major attack types evaluated, including gradient-based (PGD, AutoAttack), transfer-based, and query-based attacks, outperforming SL-adv by a significant margin. These findings identify RL-induced gradient disruption as a complementary robustness mechanism and motivate future research on hybrid SL-RL training schedules that combine SL's efficiency with RL's gradient-regularization properties.", "date": "2026-06-10", "categories": []} {"id": "2403.00420", "title": "Robust Deep Reinforcement Learning Through Adversarial Attacks and Training : A Survey", "abstract": "Deep Reinforcement Learning (DRL) is a subfield of machine learning for training autonomous agents that take sequential actions across complex environments. Despite its significant performance in well-known environments, it remains susceptible to minor condition variations, raising concerns about its reliability in real-world applications. To improve usability, DRL must demonstrate trustworthiness and robustness. A way to improve the robustness of DRL to unknown changes in the environmental conditions and possible perturbations is through Adversarial Training, by training the agent against well-suited adversarial attacks on the observations and the dynamics of the environment. Addressing this critical issue, our work presents an in-depth analysis of contemporary adversarial attack and training methodologies, systematically categorizing them and comparing their objectives and operational mechanisms.", "date": "2024-03-01", "categories": []} {"id": "2601.19210", "title": "Contrastive Spectral Rectification: Test-Time Defense towards Zero-shot Adversarial Robustness of CLIP", "abstract": "Vision-language models (VLMs) such as CLIP have demonstrated remarkable zero-shot generalization, yet remain highly vulnerable to adversarial examples (AEs). While test-time defenses are promising, existing methods fail to provide sufficient robustness against strong attacks and are often hampered by high inference latency and task-specific applicability. To address these limitations, we start by investigating the intrinsic properties of AEs, which reveals that AEs exhibit severe feature inconsistency under progressive frequency attenuation. We further attribute this to the model's inherent spectral bias. Leveraging this insight, we propose an efficient test-time defense named Contrastive Spectral Rectification (CSR). CSR optimizes a rectification perturbation to realign the input with the natural manifold under a spectral-guided contrastive objective, which is applied input-adaptively. Extensive experiments across 16 classification benchmarks demonstrate that CSR outperforms the SOTA by an average of 18.1% against strong APGD with modest inference overhead. Furthermore, CSR exhibits broad applicability across diverse visual tasks. Code is available at https://github.com/Summu77/CSR.", "date": "2026-01-27", "categories": []} {"id": "2606.09909", "title": "Bypassing Copyright Protection in Diffusion-based Customization via Two-Stage Latent Feature Optimization", "abstract": "With the growing concerns over copyright infringement in diffusion-based customization, adversarial attacks have emerged as a prominent defense strategy to prevent malicious content forgery in personalized image generation. However, current defenses typically introduce persistent perturbations in the latent space of Latent Diffusion Models (LDMs), which remain susceptible to adaptive bypasses by adversaries. In this paper, we introduce Two-Stage Latent Feature Optimization (TS-LFO), an efficient and effective copyright-stealing attack against protected diffusion-based customization. We begin by observing that existing defenses primarily disrupt the mapping between input images and their latent representations, thereby degrading the model's ability to produce personalized outputs. To counteract this, TS-LFO restores the broken mapping through a two-stage optimization process. In the Latent Denoising Stage, we enhance semantic consistency between latent codes and input images by jointly minimizing a Latent-Image Alignment Loss and a Latent Diffusion Loss with timestep-dependent weights, effectively suppressing the high-frequency noise introduced by defenses. In the Latent Reconstruction Stage, we recover low-frequency semantic information using pixel-level constraints to refine the latent features. Extensive experiments show that TS-LFO consistently bypasses state-of-the-art (SOTA) copyright defenses and outperforms SOTA copyright attacks such as DiffPure, GrIDPure and IMPRESS across diverse settings.", "date": "2026-06-06", "categories": []} {"id": "2606.10371", "title": "Test-time Adversarial Takeover: A Real-time Hijacking Interface against Robotic Diffusion Policies", "abstract": "Diffusion-based action generation has become a foundational component of embodied AI, but its reliance on visual conditioning leaves deployed visuomotor policies vulnerable to adversarial manipulation. Most prior attacks focus on disruption: they perturb the observation stream to reduce task success or induce erratic behavior. We study a stronger threat, Test-time Adversarial Takeover (TAKO), in which an attacker obtains a real-time steering interface over a frozen robot policy and turns it into a remotely piloted instrument. TAKO learns a small vocabulary of reusable universal patches through differentiable diffusion inference; at test time, the attacker switches among these patches in the camera stream to compose attacker-chosen trajectories. This works because the perturbation acts on the visual conditioning pathway, where the induced bias can persist through iterative generative inference. We further show that the natural targeted baseline, target-policy matching, fails because the victim policy cannot reliably supervise itself on out-of-distribution target shifts. Across four tasks (2D manipulation, simulated aerial delivery, simulated ground navigation, and physical-world ground navigation), two visual encoders (ResNet-18 and EfficientNet-B0 + Transformer), and three generative inference families (DDPM, DDIM, and flow matching), human operators achieve 100\\% takeover success on attacker-defined objectives in every evaluated setting. The project page is available at https://tako-attack.github.io.", "date": "2026-06-09", "categories": []} {"id": "2606.10571", "title": "Improving Adversarial Transferability on Vision-Language Pre-training Models via Surrogate-Specific Bias Correction", "abstract": "Adversarial examples reveal vulnerabilities in Vision-Language Pre-training (VLP) models and provide insights for improving robustness. A key property is cross-model transferability, which enables transfer-based black-box attacks. However, existing attacks often rely heavily on the surrogate model, causing cross-model performance drops. One reason is that adversarial optimization may follow surrogate model responses more than input semantics, making the update direction effective on the surrogate but less transferable to unseen targets. We refer to this dependency as surrogate-specific bias. Motivated by this observation, DeBias-Attack improves transferability by correcting surrogate-specific bias in adversarial optimization directions. It maintains two perturbation branches. The main branch optimizes a perturbation on the original image and obtains the adversarial gradient used to disrupt image-text alignment. The reference branch optimizes a perturbation on a weak-semantic image constructed from the dataset mean image with small Gaussian noise resampled at each iteration. Since this weak-semantic image contains little clear visual content, its optimization reflects surrogate responses more than image semantics, and its reference gradient estimates surrogate-specific bias. DeBias-Attack removes the aligned projection of the main gradient on the reference gradient before updating the adversarial image, then performs context-aware text substitution using the updated adversarial image. DeBias-Attack is the first transfer-based VLP attack that corrects surrogate-specific bias through gradient correction. Experiments show strong performance across VLP models, downstream tasks, and open-source and closed-source multimodal large language models.", "date": "2026-06-09", "categories": []} {"id": "2602.05175", "title": "Enhancing Adversarial Robustness with Signed Distance Fields for Harmonizing Geometric Invariance and Texture", "abstract": "Deep neural networks demonstrate impressive performance in visual recognition but remain highly vulnerable to imperceptible adversarial attacks. Existing defense strategies such as adversarial training and diffusion-based purification have achieved significant progress but are frequently constrained by high computational cost, information loss, and inference latency. To address these challenges, we propose a Geometric and Texture balancing Purification (GeoTexPuri) framework that enhances adversarial robustness by harmonizing invariant geometric structures with textural features. Specifically, the framework integrates dense geometric guidance into the training phase by transforming discrete image masks into continuous spatial fields via Signed Distance Fields (SDF). This process establishes stable structural anchors that shield the model from local pixel noise. Through a multi-stream training objective, the model learns to internalize purified representations that effectively align semantic textural cues with these underlying geometric invariants. Extensive experiments on ImageNet demonstrate the efficacy of our approach. GeoTexPuri achieves 84.79\\% clean accuracy and 83.52\\% robust accuracy under the AutoAttack. Crucially, GeoTexPuri functions as a deterministic classifier during inference, requiring only the input image without any auxiliary geometric modules or additional computational costs, thereby ensuring a scalable and efficient solution for real-time applications.", "date": "2026-02-05", "categories": []} {"id": "2604.25965", "title": "Adversarial Robustness of NTK Neural Networks", "abstract": "Deep learning models are widely deployed in safety-critical domains, but remain vulnerable to adversarial attacks. In this paper, we study the adversarial robustness of NTK neural networks in the context of nonparametric regression. We establish minimax optimal rates for adversarial regression in Sobolev spaces and then show that NTK neural networks, trained via gradient flow with early stopping, can achieve this optimal rate. However, in the overfitting regime, we prove that the minimum norm interpolant is vulnerable to adversarial perturbations.", "date": "2026-04-28", "categories": []} {"id": "2606.07593", "title": "A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers", "abstract": "The widespread use of image classification models in high-risk, real-world situations necessitates making these models robust to slight disturbances or perturbations, such as blurring or sharpening, in the input images. While vision transformers (ViTs) play an integral role in many modern-day multi-modal models like Vision-Language-Models (VLMs) and Vision-Language-Action (VLA) models, they have received a lack of attention in the setting of robustness. In this work, we analyze the effects of adversarial fine-tuning, a popular method for improving model robustness to image perturbations, on a ViT's performance on perturbed and regular images through a mechanistic lens. We adversarially train a ViT on low-frequency and high-frequency image corruptions, and attempt to explain changes in downstream model performance through an examination of the model's attention mechanisms, internal representations, and knowledge evolution. Overall, our results suggest that, while fine-tuning on inputs with common corruptions improves model performance and certainty on new instances of corrupted data, these improvements do not transfer to other classes of corruptions not seen in the training. Additionally, despite observing changes in visual attention and knowledge evolution across layers, we found that adversarial training did not lead to fundamental changes in the sparse representations learned by ViTs.", "date": "2026-05-28", "categories": []} {"id": "2606.07716", "title": "SHIELD-IDS: Structurally Heterogeneous Ensemble with Integrated Layered Defense for Intrusion Detection Systems", "abstract": "Adversarial attacks pose a serious and growing threat to Machine Learning (ML)-based Intrusion Detection Systems (IDS), where imperceptible perturbations to network flow features can systematically mislead classifiers into accepting malicious traffic as benign. The IDS-Anta framework partially addresses this through Z-score normalization, Singular Value Decomposition (SVD), and Multi-Armed Bandit (MAB) classifier selection with Thompson Sampling, yet its classifier pool lacks sufficient structural diversity for robust adversarial resistance. This work introduces IDS-Anta++, which incorporates XGBoost and LightGBM gradient boosting models into the ensemble and wraps the extended pool in a three-layer black-box defense: Isolation Forest anomaly screening, median feature smoothing, and six-way majority voting. Experiments conducted on CIC-IDS-2017, CEC-CIC-IDS-2018, and CIC-DDoS-2019 under both Fast Gradient Sign Method (FGSM) and Zeroth Order Optimization (ZOO) attacks confirm detection accuracy above 99% on clean data, with measurable robustness gains under adversarial conditions relative to the baseline IDS-Anta configuration.", "date": "2026-06-05", "categories": []} {"id": "2606.08467", "title": "The Confidence Trap: Calibration Attacks for Graph Neural Networks", "abstract": "While confidence calibration is essential for trustworthy decision-making in safety-critical applications, the robustness of calibrated GNNs to adversarial structural perturbations remains largely unexplored. However, studying calibration attacks on graphs presents unique technical challenges: (1) the discrete nature of graph structures complicates gradient-based optimization, (2) existing underconfidence objectives fail to drive predictions toward uniform distributions, and (3) GNNs are highly sensitive to edge perturbations, often causing unintended label changes that violate attack constraints. To address these challenges, we propose a \\textbf{Unified Graph Calibration Attack (UGCA)} framework designed for \\textbf{worst-case (white-box) analysis} of GNN calibration robustness. UGCA introduces a KL-divergence loss to encourage uniform predictive distributions, a reranking mechanism to reduce label flipping, a hybrid loss to recover labels when violations occur, and beam search to explore a broader adversarial search space. We further provide theoretical insights linking model generalization, dataset complexity, and calibration vulnerability, showing that models with higher accuracy or trained on datasets with more classes are more susceptible under this threat model. Extensive experiments demonstrate that UGCA substantially increases Expected Calibration Error while preserving classification accuracy. Our code is publicly available at https://github.com/CaptainCuong/Graph-Calibration-Attack.git.", "date": "2026-06-07", "categories": []} {"id": "2606.08745", "title": "Stain-Aware Wavelet Regularization for Instant Adversarial Purification in Histopathology", "abstract": "Deep learning has become prevalent in computational pathology pipelines that support tasks such as cancer screening and digital pathology analysis. However, the susceptibility of neural networks to adversarial perturbations raises safety concerns for reliable deployment in clinical practice. In histopathological images, this challenge is exacerbated by the difficulty of distinguishing high-frequency adversarial noise from subtle and diagnostically relevant tissue structures. To address this issue, we propose Stain-Aware Wavelet Regularization (SAWR), an adversarial purification framework that leverages multi-level wavelet-domain regularization based on Haar transform to hierarchically disentangle adversarial perturbations from diagnostic structural information. This spectral constraint is further extended to individual histological channels, enabling stain-specific frequency regulation consistent with the biological properties of Hematoxylin and Eosin. When integrated into an instant purification framework, SAWR improves adversarial robustness by up to 10.69\\% over the baseline approach, while maintaining texture and spectral fidelity under adversarial perturbations.", "date": "2026-06-07", "categories": []} {"id": "2606.09536", "title": "Adversarial Attack and Disturbance Detection by Hadamard-Coded Output Representations for Object Detection and Semantic Segmentation", "abstract": "Conventional one-hot encodings often yield poorly calibrated models, being overconfident under attack, and letting entropy-based detection algorithms fail. Previous image classification works have demonstrated that Hadamard-coded output representations can improve adversarial robustness. However, attempts to integrate Hadamard codes into semantic segmentation fall far behind state-of-the-art models in mean intersection-over-union performance. Regarding object detection, such output encodings have not yet been investigated at all. Further, no prior art addressed intrinsic codeword inconsistencies or actually exploited intrinsic codeword redundancy. Accordingly, we first derive a novel decoding procedure for Hadamard codewords towards optimal class-wise probabilities, solving the underlying optimization problem by using the projection onto the probability simplex. Second, our optimization delivers a measure of prediction inconsistency. Third, we are the first to show how to exploit these inconsistencies for adversarial attack and disturbance detection. Fourth, we introduce HadamardNet, a framework employing Hadamard codes as output representations for semantic segmentation and object detection models and tasks. We conduct a comprehensive evaluation both on disturbances and adversarial attacks, achieving state-of-the-art perturbation detection performance for both tasks in only a single detection pass, while delivering equivalent or close-by reference performance on clean data.", "date": "2026-06-08", "categories": []} {"id": "2606.09700", "title": "What the Eyes See, the LLMs Miss: Exploiting Human Perception for Adversarial Text Attacks", "abstract": "Large language model (LLM)-powered content moderation systems have become a critical defense against harmful online content. However, these systems primarily operate on tokenized text and largely ignore the visual cues that humans naturally rely on when interpreting content. We show that this discrepancy creates a fundamental perceptual mismatch: content that is readily recognized as harmful by humans can become effectively invisible to automated moderation systems. To study this vulnerability, we introduce a class of Human-Perceptible Adversarial Attacks (HPAA), in which harmful expressions are embedded into otherwise benign text through visually salient typographic manipulations. Our key insight is that typographic features, including spacing, visual emphasis, and spatial arrangement, can be strategically combined to preserve human recognition of harmful content while substantially reducing machine detectability. Operating in black-box settings with only a small query budget, our attack automatically generates evasive content without requiring model access or gradient information. We evaluate the attack across multiple datasets and ten deployed moderation systems, including commercial APIs and state-of-the-art open-source guardrails. Results reveal a striking gap between human and machine perception: with only three detector queries, generated attacks achieve over 86\\% human recognition while maintaining detection rates below 1\\% across the evaluated systems. We further conduct ablation studies to identify the typographic factors driving successful evasion, analyze why current moderation architectures fail to capture these signals, and discuss practical defenses. Our findings expose a fundamental blind spot in today's LLM-based moderation ecosystem and highlight need for moderation systems that reason about content in a manner more consistent with human perceptual understanding.", "date": "2026-06-08", "categories": []} {"id": "2506.12454", "title": "On the existence of consistent adversarial attacks in high-dimensional linear classification", "abstract": "What fundamentally distinguishes an adversarial attack from a misclassification due to limited model expressivity or finite data? In this work, we investigate this question in the setting of high-dimensional binary classification, where statistical effects due to limited data availability play a central role. We introduce a new error metric that precisely capture this distinction, quantifying model vulnerability to consistent adversarial attacks -- perturbations that preserve the ground-truth labels. Our main technical contribution is an exact and rigorous asymptotic characterization of these metrics in both well-specified models and latent space models, revealing different vulnerability patterns compared to standard robust error measures. The theoretical results demonstrate that as models become more overparameterized, their vulnerability to label-preserving perturbations grows, offering theoretical insight into the mechanisms underlying model sensitivity to adversarial attacks.", "date": "2025-06-14", "categories": []} {"id": "2510.09041", "title": "Robust Driving Control for Autonomous Vehicles: An Intelligent General-sum Constrained Adversarial Reinforcement Learning Approach", "abstract": "Deep reinforcement learning (DRL) has demonstrated remarkable success in developing autonomous driving policies. However, its vulnerability to adversarial attacks remains a critical barrier to real-world deployment. Although existing robust methods have achieved success, they still suffer from three key issues: (i) these methods are trained against myopic adversarial attacks, limiting their abilities to respond to more strategic threats, (ii) they have trouble causing truly safety-critical events (e.g., collisions), but instead often result in minor consequences, and (iii) these methods can introduce learning instability and policy drift during training due to the lack of robust constraints. To address these issues, we propose Intelligent General-sum Constrained Adversarial Reinforcement Learning (IGCARL), a novel robust autonomous driving approach that consists of a strategic targeted adversary and a robust driving agent. The strategic targeted adversary is designed to leverage the temporal decision-making capabilities of DRL to execute strategically coordinated multi-step attacks. In addition, it explicitly focuses on inducing safety-critical events by adopting a general-sum objective. The robust driving agent learns by interacting with the adversary to develop a robust autonomous driving policy against adversarial attacks. To ensure stable learning in adversarial environments and to mitigate policy drift caused by attacks, the agent is optimized under a constrained formulation. Extensive experiments show that IGCARL improves the success rate by at least 27.9% over state-of-the-art methods, demonstrating superior robustness to adversarial attacks and enhancing the safety and reliability of DRL-based autonomous driving.", "date": "2025-10-10", "categories": []} {"id": "2512.12997", "title": "Calibrating Uncertainty for Zero-Shot Adversarial CLIP", "abstract": "CLIP delivers strong zero-shot classification but remains highly vulnerable to adversarial attacks. Prior adversarial fine-tuning work primarily matches predicted logits between clean and adversarial examples, which overlooks uncertainty calibration and may degrade the zero-shot generalization. A common expectation in reliable uncertainty estimation is that predictive uncertainty should increase as inputs become more difficult or shift away from the training distribution. However, we frequently observe the opposite in the adversarial setting: perturbations not only degrade accuracy but also suppress uncertainty, leading to severe miscalibration and over-confidence. This reveals a critical reliability gap beyond robustness. To bridge this gap, we propose an adversarial fine-tuning objective for CLIP considering both accuracy and uncertainty. By reparameterizing CLIP outputs as the concentration parameters of a Dirichlet distribution, we propose a unified representation that captures relative semantic structure and confidence magnitude. This enables holistic distribution alignment under perturbations, moving beyond single-logit anchoring and restoring calibrated uncertainty. Experiments across multiple zero-shot benchmarks demonstrate that our method significantly improves uncertainty calibration and achieves competitive adversarial robustness while preserving clean accuracy.", "date": "2025-12-15", "categories": []} {"id": "2606.06833", "title": "Hearing the Unspoken: Language Model Priors for Acoustic Adversarial Attacks", "abstract": "Automatic Speech Recognition (ASR) systems operating in real-time settings must process acoustic input under strict temporal constraints, where transcription decisions are inherently made on incomplete information. This causal constraint serves as an information bottleneck on attackers, significantly limiting attack performance. Our new Semantic Gambit attack breaks this causal limitation by augmenting the adversary with predictive context derived from a Large Language Model in real-time. Our experiments show that this form of augmentation can elevate the corpus-level Word Error Rate to 35.6% -- a three-fold increase over the current state-of-the-art. Ultimately, this work reveals how common, low-latency LLM tooling can be exploited to systematically subvert real-time ASR pipelines.", "date": "2026-06-05", "categories": []} {"id": "2606.06938", "title": "When CLIP Sees More, It Fights Back Harder: Multi-View Guided Adaptive Counterattacks for Test-Time Adversarial Robustness", "abstract": "Vision-language models such as CLIP have achieved remarkable zero-shot recognition capabilities, yet their robustness against adversarial perturbations remains limited. Test-time counterattack (TTC) was recently proposed to improve CLIP's robustness by perturbing an input image to steer it away from a corrupted state during inference. However, TTC remains fragile under strong attacks because its counterattack relies on a directly corrupted original view and employs a noise-driven hard-gating scheme that cannot adapt to varying corruption severity. To address these limitations, we introduce Multi-view guided Adaptive Counterattack (MAC), which performs counterattacks for multi-view with corruption-aware soft weighting. Specifically, MAC first constructs augmented views of an input image to obtain diverse embeddings. It then performs counterattacks to refine corrupted embeddings of views. Next, MAC adaptively scales the counterattack intensity for each view based on its estimated corruption degree. Finally, the adaptively counterattacked views are aggregated to yield a robust final prediction. Extensive experiments across 20 datasets and diverse attack scenarios demonstrate that MAC substantially improves robustness while preserving high inference speed and memory efficiency with its tuning-free design. Our code is available at https://github.com/sunoh-kim/MAC.", "date": "2026-06-05", "categories": []} {"id": "2606.06943", "title": "SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models", "abstract": "Vision-language models (VLMs) such as CLIP achieve strong zero-shot recognition but remain highly fragile under adversarial perturbations. Recent test-time adaptation defenses improve robustness by leveraging many augmented views, but this leads to impractical slowdown and a clear robustness-throughput trade-off. To address this challenge, we present Stability and Suitability-guided Test-time Prompt Tuning (SS-TPT), evaluating the quality of each augmented view via two complementary scores: (1) stability, measuring prediction invariance to weak augmentations, and (2) suitability, measuring feature-space density among views. These stability and suitability (SS) scores guide both adaptation and inference through an SS-guided consistency loss and an SS-weighted prediction, amplifying trustworthy views while suppressing corrupted ones. Extensive experiments demonstrate that SS-TPT significantly outperforms prior state-of-the-art methods, achieving superior robustness-throughput trade-offs across diverse datasets and varying numbers of views, thereby demonstrating both strong practicality and generality. Our code is available at https://github.com/sunoh-kim/SS-TPT.", "date": "2026-06-05", "categories": []} {"id": "2503.01734", "title": "Adversarial Agents: Black-Box Evasion Attacks with Reinforcement Learning", "abstract": "Attacks on machine learning models have been extensively studied through stateless optimization. In this paper, we demonstrate how a reinforcement learning (RL) agent can learn a new class of attack algorithms that generate adversarial samples. Unlike traditional adversarial machine learning (AML) methods that craft adversarial samples independently, our RL-based approach retains and exploits past attack experience to improve the effectiveness and efficiency of future attacks. We formulate adversarial sample generation as a Markov Decision Process and evaluate RL's ability to (a) learn effective and efficient attack strategies and (b) compete with state-of-the-art AML. On two image classification benchmarks, our agent increases attack success rate by up to 13.2% and decreases the average number of victim model queries per attack by up to 16.9% from the start to the end of training. In a head-to-head comparison with state-of-the-art image attacks, our approach enables an adversary to generate adversarial samples with 17% more success on unseen inputs post-training. From a security perspective, this work demonstrates a powerful new attack vector that uses RL to train agents that attack ML models efficiently and at scale.", "date": "2025-03-03", "categories": []} {"id": "2606.03730", "title": "Beyond False Stability: High-Noise Drift Gating for Test-Time Adversarial Defenses in Vision-Language Models", "abstract": "Vision-language models (VLMs) such as CLIP show strong zero-shot generalization but remain highly vulnerable to adversarial attacks. Adversarial training improves robustness but is computationally expensive, motivating test-time defenses. Recent approaches exploit how CLIP's visual representations respond to stochastic perturbations: aggregating predictions across noisy views, constructing Gaussian noise-averaged anchors and interpolating features toward them, or applying counter-perturbations. These strategies improve robustness but often degrade clean accuracy, yielding an unfavorable clean-robust trade-off. We revisit stochastic test-time defenses and identify an underexplored noise-regime transition in CLIP's representation space. Prior work explored perturbations mainly in the weak-noise regime, where adversarial examples can appear unusually stable (false stability). Our analysis shows this reverses as perturbation strength grows: beyond the weak-noise regime, adversarial representations become markedly more unstable than clean ones, giving a clearer separation signal. The transition is consistent across uniform and Gaussian noise, photometric and geometric transforms, datasets, and diverse attacks. It largely disappears in adversarially trained models, suggesting it is tied to the fragile local-basin geometry of adversarial representations in non-robust CLIP. We propose a training-free, plug-in drift-gated mechanism that uses high-noise feature drift as a lightweight gating signal to trigger existing test-time defenses only when adversarial-like instability is detected. Across 13 datasets it consistently improves the clean-robust trade-off. On eight fine-grained datasets, mean clean+adversarial accuracy rises from 65.7% to 71.4% for counterattack defenses and 68.4% to 73.2% for noise-anchoring; on ImageNet and four shifted variants, from 56.1% to 66.2% and 62.1% to 67.6%.", "date": "2026-06-02", "categories": []} {"id": "2606.05609", "title": "SlotGCG: Exploiting the Positional Vulnerability in LLMs for Jailbreak Attacks", "abstract": "As large language models (LLMs) are widely deployed, identifying their vulnerability through jailbreak attacks becomes increasingly critical. Optimization-based attacks like Greedy Coordinate Gradient (GCG) have focused on inserting adversarial tokens to the end of prompts. However, GCG restricts adversarial tokens to a fixed insertion point (typically the prompt suffix), leaving the effect of inserting tokens at other positions unexplored. In this paper, we empirically investigate \\emph{slots}, i.e., candidate positions within a prompt where tokens can be inserted. We find that vulnerability to jailbreaking is highly related to the selection of the \\emph{slots}. Based on these findings, we introduce the \\textit{Vulnerable Slot Score} (VSS) to quantify the positional vulnerability to jailbreaking. We then propose SlotGCG, which evaluates all slots with VSS, selects the most vulnerable slots for insertion, and runs a targeted optimization attack at those slots. Our approach provides a position-search mechanism that is attack-agnostic and can be plugged into any optimization-based attack, adding only 200ms of preprocessing time. Experiments across multiple models demonstrate that SlotGCG significantly outperforms existing methods. Specifically, it achieves 14\\% higher Attack Success Rates (ASR) over GCG-based attacks, converges faster, and shows superior robustness against defense methods with 42\\% higher ASR than baseline approaches. Our implementation is available at \\href{https://github.com/youai058/SlotGCG}{https://github.com/youai058/SlotGCG}", "date": "2026-06-04", "categories": []} {"id": "2606.05678", "title": "Beyond Waveform Robustness: Robust Feature-Vocoder Adversarial Attacks on Automatic Speech Recognition", "abstract": "Automatic speech recognition (ASR) systems have become widely used for multilingual speech-to-text transcription. Their robustness to adversarial attacks has become an important topic for the community. Existing adversarial attacks directly add adversarial noise to the speech audio. However, prior work has shown that existing adversarial attacks face two limitations: they often transfer poorly to black-box ASR systems and are increasingly mitigated by defenses tailored to input-space perturbations. In this work, we propose a Clean-Referenced Feature-Vocoder Attack, a surrogate-based black-box attack that moves the adversarial search space from raw waveforms to self-supervised learning (SSL) representations. To address the transferability limitation, we perturb more generalizable acoustic-phonetic representations rather than low-level waveform samples, reducing dependence on surrogate-specific waveform gradients and encouraging adversarial perturbations that generalize across ASR systems. To bypass different defenses, we shift the adversarial signal from explicit additive waveform noise to SSL feature-space perturbations and reconstruct them through a vocoder into speech-like waveform adversarial signals, making the resulting samples less aligned with waveform-bounded defenses. Extensive experiments show that, when optimized only on raw Whisper-small as a public surrogate model, our attack transfers effectively to black-box ASR models with a +26.6 WER improvement over the SOTA baseline, while also remaining effective against multiple training defenses with a +36.2 WER improvement. These results reveal a blind spot in current ASR robustness evaluation.", "date": "2026-06-04", "categories": []} {"id": "2606.06186", "title": "Adversarial Attacks Already Tell the Answer: Directional Bias-Guided Test-time Defense for Vision-Language Models", "abstract": "Vision-Language Models (VLMs), such as CLIP, have shown strong zero-shot generalization but remain highly vulnerable to adversarial perturbations, posing serious risks in real-world applications. Test-time defenses for VLMs have recently emerged as a promising and efficient approach to defend against adversarial attacks without requiring costly large-scale retraining. In this work, we uncover a surprising phenomenon: under diverse input transformations, adversarial images in CLIP's feature space consistently shift along a dominant direction, in contrast to the dispersed patterns of clean images. We hypothesize that this dominant shift, termed the Defense Direction, opposes the adversarial shift, pointing features back toward their correct class centers. Building on this insight, we propose Directional Bias-guided Defense (DBD), a test-time framework that estimates the Defense Direction and employs a DB-score-based two-stream reconstruction strategy to recover robust representations. Experiments on 15 datasets demonstrate that DBD not only achieves SOTA adversarial robustness while preserving clean accuracy, but also reveals the counterintuitive result that adversarial accuracy can even surpass clean accuracy. This demonstrates that adversarial perturbations inherently encode directional priors about the true decision boundary.", "date": "2026-06-04", "categories": []} {"id": "2406.09407", "title": "Towards Evaluating the Robustness of Visual State Space Models", "abstract": "Vision State Space Models (VSSMs), a novel architecture that combines the strengths of recurrent neural networks and latent variable models, have demonstrated remarkable performance in visual perception tasks by efficiently capturing long-range dependencies and modeling complex visual dynamics. However, their robustness under natural and adversarial perturbations remains a critical concern. In this work, we present a comprehensive evaluation of VSSMs' robustness under various perturbation scenarios, including occlusions, image structure, common corruptions, and adversarial attacks, and compare their performance to well-established architectures such as transformers and Convolutional Neural Networks. Furthermore, we investigate the resilience of VSSMs to object-background compositional changes on sophisticated benchmarks designed to test model performance in complex visual scenes. We also assess their robustness on object detection and segmentation tasks using corrupted datasets that mimic real-world scenarios. To gain a deeper understanding of VSSMs' adversarial robustness, we conduct a frequency-based analysis of adversarial attacks, evaluating their performance against low-frequency and high-frequency perturbations. Our findings highlight the strengths and limitations of VSSMs in handling complex visual corruptions, offering valuable insights for future research. Our code and models will be available at https://github.com/HashmatShadab/MambaRobustness.", "date": "2024-06-13", "categories": []} {"id": "2503.10629", "title": "Hierarchical Self-Supervised Adversarial Training for Robust Vision Models in Histopathology", "abstract": "Adversarial attacks pose significant challenges for vision models in critical fields like healthcare, where reliability is essential. Although adversarial training has been well studied in natural images, its application to biomedical and microscopy data remains limited. Existing self-supervised adversarial training methods overlook the hierarchical structure of histopathology images, where patient-slide-patch relationships provide valuable discriminative signals. To address this, we propose Hierarchical Self-Supervised Adversarial Training (HSAT), which exploits these properties to craft adversarial examples using multi-level contrastive learning and integrate it into adversarial training for enhanced robustness. We evaluate HSAT on multiclass histopathology dataset OpenSRH and the results show that HSAT outperforms existing methods from both biomedical and natural image domains. HSAT enhances robustness, achieving an average gain of 54.31% in the white-box setting and reducing performance drops to 3-4% in the black-box setting, compared to 25-30% for the baseline. These results set a new benchmark for adversarial training in this domain, paving the way for more robust models. Our Code for training and evaluation is available at https://github.com/HashmatShadab/HSAT.", "date": "2025-03-13", "categories": []} {"id": "2602.01658", "title": "Efficient Adversarial Attacks on High-dimensional Offline Bandits", "abstract": "Bandit algorithms have recently emerged as a powerful tool for evaluating machine learning models, including generative image models and large language models, by efficiently identifying top-performing candidates without exhaustive comparisons. These methods typically rely on a reward model, often distributed with public weights on platforms such as Hugging Face, to provide feedback to the bandit. While online evaluation is expensive and requires repeated trials, offline evaluation with logged data has become an attractive alternative. However, the adversarial robustness of offline bandit evaluation remains largely unexplored, particularly when an attacker perturbs the reward model (rather than the training data) prior to bandit training. In this work, we fill this gap by investigating, both theoretically and empirically, the vulnerability of offline bandit training to adversarial manipulations of the reward model. We introduce a novel threat model in which an attacker exploits offline data in high-dimensional settings to hijack the bandit's behavior. Starting with linear reward functions and extending to nonlinear models such as ReLU neural networks, we study attacks on two Hugging Face evaluators used for generative model assessment: one measuring aesthetic quality and the other assessing compositional alignment. Our results show that even small, imperceptible perturbations to the reward model's weights can drastically alter the bandit's behavior. From a theoretical perspective, we prove a striking high-dimensional effect: as input dimensionality increases, the perturbation norm required for a successful attack decreases, making modern applications such as image evaluation especially vulnerable. Extensive experiments confirm that naive random perturbations are ineffective, whereas carefully targeted perturbations achieve near-perfect attack success rates ...", "date": "2026-02-02", "categories": []} {"id": "2606.04612", "title": "Hybrid Adversarial Defence for Natural Language Understanding Tasks", "abstract": "Large Language Models (LLMs) are vulnerable both to hallucination and adversarial manipulation. Although these problems are closely related, existing defences typically address them separately. We investigate a hybrid defence framework that combines entropy-based models, designed to reduce hallucinations, with uncertainty-based models and geometric-based models, designed to reduce vulnerability. Under in-domain tests on Natural Language Understanding datasets (FEVER, HotpotQA, CSQA, SIQA) we find our hybrid model improves both clean-task performance (up to 43.34\\% increase in accuracy) and adversarial robustness (up to 64.92\\% improvement in accuracy and 62.27\\% reduction in attack success rate). For out-of-distribution datasets (AeroEngQA, CPIQA) we see similar adversarial robustness from our hybrid model (up to 57.14\\% improvement in accuracy). For prompt injection (SafeGuard) and jailbreak detection (AdvBench, DAN) datasets our hybrid model is also very strong (up to 51\\% reduction in attack success rate compared to state of the art baseline models). Overall, our results show that combining entropy, uncertainty and geometric features provides a more effective defence strategy than using any single feature alone for both in-domain and out-of-distribution tasks.", "date": "2026-06-03", "categories": []} {"id": "2606.04767", "title": "Measuring Model Robustness via Fisher Information: Spectral Bounds, Theoretical Guarantees, and Practical Algorithms", "abstract": "The robustness of deep neural networks is crucial for safety-critical deployments, yet existing evaluation methods are often attack-dependent and lack interpretability. We propose a principled, attack-agnostic robustness metric based on the spectral norm of the Fisher Information Matrix (FIM), which quantifies the worst-case sensitivity of the model's output distribution to input perturbations. Theoretically, we establish that the FIM equals the variance of the input Jacobian and derive closed-form spectral bounds for common architectures, including VGG, ResNet, DenseNet, and Transformer, providing the first theoretical robustness ranking. To enable scalable evaluation, we develop efficient algorithms, including power iteration and Hutchinson-based estimation, that support both white-box and black-box settings. Extensive experiments across multiple datasets, including CIFAR, ImageNet, and medical images, and across multiple architectures show a strong correlation between our metric and adversarial vulnerability. Our framework serves as an interpretable diagnostic tool that complements attack-based evaluations, offering insights into architectural sensitivity and guiding the design of more robust models. Code is available at: https://github.com/franz-chang/SRP/.", "date": "2026-06-03", "categories": []} {"id": "2502.02260", "title": "Position: Adversarial ML for LLMs Is Not Making Any Progress", "abstract": "In the past decade, considerable research effort has been devoted to securing machine learning (ML) models that operate in adversarial settings. Yet, progress has been slow even for simple \"toy\" problems (e.g., robustness to small adversarial perturbations) and is often hindered by non-rigorous evaluations. Today, adversarial ML research has shifted towards studying larger, general-purpose language models. In this position paper, we argue that the situation is now even worse: in the era of LLMs, the field of adversarial ML studies problems that are (1) less clearly defined, (2) harder to solve, and (3) even more challenging to evaluate. As a result, we caution that yet another decade of work on adversarial ML may be failing to produce meaningful progress.", "date": "2025-02-04", "categories": []} {"id": "2603.23117", "title": "TRAP: Hijacking VLA CoT-Reasoning via Adversarial Patches", "abstract": "By integrating Chain-of-Thought (CoT) reasoning, Vision-Language-Action (VLA) models have demonstrated strong capabilities in robotic manipulation, particularly by improving generalization and interpretability. However, the security of CoT-based reasoning mechanisms remains largely unexplored. In this paper, we show that CoT reasoning introduces a novel attack vector for targeted behavior hijacking--for example, causing a robot to mistakenly deliver a knife to a person instead of an apple--without modifying the user's instruction. We first provide empirical evidence that CoT strongly governs action generation, even when it is semantically misaligned with the input instructions. Building on this observation, we propose TRAP, the first targeted behavior-hijacking adversarial attack against CoT-reasoning VLA models. By targeting the reasoning-to-action pathway, TRAP uses an adversarial patch (e.g., a tablecloth placed on the table) to steer intermediate CoT reasoning and downstream actions toward adversary-defined behaviors. Extensive evaluations on three representative reasoning VLAs, spanning distinct CoT reasoning mechanisms, demonstrate the effectiveness of TRAP. Notably, we implemented the patch by printing it on paper in a real-world setting. Our findings highlight the urgent need to secure CoT reasoning in VLA systems. The project page is available at https://zhengxian-huang.github.io/TRAP-website/.", "date": "2026-03-24", "categories": []} {"id": "2606.02597", "title": "Making Brain-Computer Interfaces More Secure", "abstract": "The development of brain-computer interfaces (BCIs) based on electroencephalograms (EEGs) has advanced significantly mainly to machine learning. Although the majority of earlier research has been on increasing classification accuracy, relatively little focus has been placed on security and robustness. According to recent research, EEG-based BCIs are susceptible to adversarial attacks, which can cause misdiagnosis due to minute, well-crafted disturbances. Evaluating model robustness against such perturbations is therefore critical for ensuring reliable deployment. In this study, we propose a lightweight custom Convolutional Neural Network (CNN) architecture to investigate adversarial robustness in EEG-based BCIs. The suggested method is assessed using two EEG datasets and contrasted with three novel CNN models tailored to EEG, namely EEGNet, DeepConvNet, and SleepEEGNet, under gradient-based adversarial attack scenarios. According to experimental findings, the suggested model continuously performs better in classification under adversarial perturbations compared to baseline models, indicating improved robustness. These findings highlight the potential of lightweight architectures for enhancing the reliability of EEG-based BCI systems under adversarial conditions.", "date": "2026-05-22", "categories": []} {"id": "2606.02876", "title": "RRISE: Robust Radius Inference via a Surrogate Estimator", "abstract": "Randomized smoothing (RS) uses a smoothed classifier to provide architecture-agnostic certificates of $\\ell_2$ classification robustness, but its dependence on per-input Monte Carlo (MC) sampling undermines its use in real-time systems. We argue that this cost is structural rather than fundamental, such that it can be significantly reduced by sharing information across the deployment stream. We introduce RRISE, an RS framework that compresses certification into a single forward pass through a learned surrogate. RRISE trains the surrogate against precomputed MC class-count targets via a soft-label cross-entropy loss and converts surrogate predictions into provably conservative certified radii through a one-time conformal calibration step. The resulting certificate is deployment-verifiable: whenever the calibrated radius is positive, the surrogate's prediction provably matches the smoothed classifier's and the smoothed classifier is constant on a ball of that radius around the input. Across image classification benchmarks, RRISE matches fixed-budget MC certified accuracy within $0.84$ percentage points while replacing up to $10^4$ noisy base-model evaluations per query with a single surrogate forward pass, recouping MC training cost after $\\approx 10^5$ deployment queries. On CIFAR-100 and Tiny ImageNet, where the only prior offline-surrogate method collapses, RRISE achieves $1.23$ to $1.91\\times$ higher certified accuracy, establishing efficient randomized smoothing as a practical path to certified robustness in repeated-deployment settings.", "date": "2026-06-01", "categories": []} {"id": "2606.02924", "title": "ATLAS: A Large-Scale Evaluation Benchmark for Adversarial LiDAR Perception", "abstract": "Autonomous driving perception is typically evaluated on clean benchmark data, yet real-world deployment requires robustness to rare, structured, and potentially adversarial sensor anomalies. This gap is especially critical for LiDAR, where external actors can physically manipulate the sensing process to induce black-box perception failures without accessing the model. Existing LiDAR benchmarks provide little visibility into this failure mode. Prior adversarial LiDAR studies have largely centered on attack hardware, geometric and algorithmic defenses, and early-generation detectors, leaving the robustness of modern perception systems unexplored. To address this evaluation gap, we introduce ATLAS (Adversarial Temporal LiDAR Attack Suite), the first large-scale, physically grounded evaluation benchmark for LiDAR perception models under black-box sensor attacks, simulating the two primary attack modes -- point injection and point removal -- across real driving sequences. Evaluating a broad cross-section of current state-of-the-art LiDAR perception models, ATLAS reveals a surprising robustness asymmetry: models with stronger performance on standard benchmarks tend to better withstand removal attacks, yet are actually more vulnerable to injection attacks than weaker models. We trace this vulnerability to standard object database sampling augmentations, revealing how current training practices can induce architecture-agnostic robustness failures, and study initial directions for mitigating both attack modes. We release the ATLAS generation code to support extensible, reproducible evaluations as attack capabilities evolve, helping make black-box sensor robustness an explicit consideration in future LiDAR perception development.", "date": "2026-06-01", "categories": []} {"id": "2606.03521", "title": "Post-Hoc Robustness for Model-Based Reinforcement Learning", "abstract": "To improve the real-world applicability of reinforcement learning (RL), the field of adversarially robust RL studies how to train agents under adversarial environment perturbations. In this setting, a protagonist agent optimizes a policy under environmental perturbations from an adversary, resulting in a zero-sum Markov game. When adversarially robust RL is combined with model-based RL, the adversary can target a learned transition model instead of the training environment. Extending this idea, this work introduces post-hoc robustification of deep RL agents at inference time. By using the learned model in combination with a trained nominal policy, our approach performs a robust policy improvement step. The goal is to improve robustness without any additional training of neural networks. Specifically, we utilize model-predictive control under adversarial rollouts, which are approximated via projected gradient descent within a bounded uncertainty set. Furthermore, these offline rollouts are performed while considering and mitigating out-of-distribution issues. The proposed methodology is validated by demonstrating significant improvements in robustness when the algorithm is evaluated in perturbed Gymnasium MuJoCo environments, while considering the computational limitations of the post-hoc inference setting.", "date": "2026-06-02", "categories": []} {"id": "2606.03647", "title": "Black-box, Adaptive, Efficient, Transferable, Harmful, Applicable... Attacks Are All You Need to Break LLMs", "abstract": "Accurately evaluating adversarial robustness is a longstanding challenge. A flawed attack design can inflate robustness estimates, making deployment risk assessment and defense comparison unreliable. Historically, standardized attacks such as AutoAttack have largely resolved this for image classifiers, providing a reliable evaluation baseline for systematic comparison across defenses. However, no equivalent exists for LLM jailbreak evaluation yet, where designing such an attack is considerably more difficult. A reliable attack must, among other things, be black-box compatible, applicable to arbitrary defense pipelines, and efficient, which no existing method jointly satisfies. We introduce Indirect Harm Optimization (IHO), a masked diffusion language model attacker trained via iterative preference optimization against a harmfulness judge, requiring only black-box access to the target. The same method can be used without modification as a strong adaptive attack on individual behaviors, or as an efficient amortized policy that transfers to held-out behaviors and unseen target models without fine-tuning. Even against layered defenses, such as a Circuit Breaker-trained model combined with an auxiliary detector, IHO improves attack success considerably over state-of-the-art approaches, without any defense-specific adaptation. Our results position IHO as a practical step toward the kind of standardized jailbreak evaluation that has improved reliability in the past. Code and models are available on GitHub and Hugging Face.", "date": "2026-06-02", "categories": []} {"id": "2606.03713", "title": "Investigating Adversarial Robustness of Multi-modal Large Language Models", "abstract": "Multi-modal Large Language Models (MLLMs) achieve strong performance on vision-language tasks, but incorporating visual inputs through a vision encoder (e.g., CLIP) substantially expands the attack surface, making these models vulnerable to visual adversarial perturbations. Prior defenses typically preserve compatibility with pretrained MLLMs by enforcing strict alignment to CLIP's original embedding space during adversarial fine-tuning; while practical, this constraint fundamentally limits achievable robustness. We present a systematic investigation of adversarial robustness in MLLMs. We first introduce a diagnostic CLIP-alignment protocol that predicts, prior to full MLLM training, which robust vision encoders will transfer effectively to the multimodal setting, revealing that large-scale multimodal adversarial pretraining, rather than unimodal scale alone, is the critical factor for strong robustness transfer. Integrating such encoders into MLLMs via end-to-end multimodal training yields average gains of 28 CIDEr points on captioning and 11.7% VQA accuracy under strong adversarial attacks compared to constrained plug-and-play baselines. We further show that adversarial training applied directly to a standard non-robust MLLM degrades both clean and adversarial performance, establishing robust visual representations as a strict prerequisite, while end-to-end adversarial training from a robust backbone delivers additional gains of 1.9 CIDEr points and 4.3% VQA accuracy. Beyond training-time defenses, lightweight test-time visual stochastic transformations serve as an effective black-box defense for non-robust MLLMs, elevating adversarial performance from near-zero to levels comparable with robust models. Finally, we show that our robust models substantially reduce toxic generation under white-box visual jailbreak attacks. Code and pretrained weights will be released publicly.", "date": "2026-06-02", "categories": []} {"id": "2606.03793", "title": "Exploring Adversarial Robustness and Safety Alignment in Multilingual Multi-Modal Large Language Models", "abstract": "Multimodal Large Language Models integrate visual perception into language reasoning, introducing a continuous attack surface susceptible to adversarial attacks. Prior work on MLLM robustness has focused largely on English-centric tasks, leaving multilingual behaviour unexplored. We address this gap through a systematic study of adversarial robustness and multimodal safety across 12 diverse languages, evaluating open-source MLLMs that acquire multilingual capability through instruction tuning. Gradient-based attacks reveal a transferable multilingual vulnerability: adversarial images optimized in one language continue to induce failure in others, demonstrating strong cross-lingual transferability. Multilingual safety further varies with how effectively a model retrieves or interprets harmful instructions. When harmful intent is issued through text, languages with stronger linguistic grounding more often elicit misuse-enabling responses, while weaker languages produce fewer unsafe outputs. When embedded in the image as typographic content, English scripts are reliably recognised and followed, whereas non-English scripts are rarely parsed by the vision encoder. Lower-resource languages may therefore appear safer, but this is an artefact of comprehension and visual-grounding failures rather than genuine alignment, a phenomenon we term safety-by-failure. In contrast, MLLMs that build multilingual capability throughout their training stages rather than only at instruction tuning, such as Qwen3-VL, exhibit genuine cross-lingual safety, maintaining active refusal across languages rather than masking comprehension failure. Shallow multilingual adaptation, such as fine-tuning on translated instruction data, may produce surface-level understanding that creates illusory safety in low-resource languages; deeper integration across training stages leads to genuine multilingual safety alignment.", "date": "2026-06-02", "categories": []} {"id": "2606.03925", "title": "Adaptive Causal Alignment for High-Confidence Adversarial Training", "abstract": "Inverse adversarial training leverages high-confidence predictions to stabilize robust learning, yet we uncover a critical paradox: high confidence often stems from overfitting to non-causal background correlations rather than intrinsic object semantics. Our investigation reveals that visual context functions as a dual-natured signal, serving as either a necessary supportive prior or a spurious confounder. This insight renders existing blind suppression strategies flawed, as they inevitably lead to severe Feature Loss. To resolve this, we propose High-Confidence Causally Aligned Training (HICAT), a unified framework that establishes a Semantic Equilibrium. Operating on a ``Measure-Debias-Align'' pipeline, HICAT integrates a Learnable Background-Bias Estimator (LBBE) to adaptively diagnose context utility. Guided by this diagnosis, an Adaptive Debiasing mechanism performs surgical logit rectification, complemented by a geometrically grounded Foreground Logit Orthogonal Enhancement (FLOE) loss to enforce rigorous feature disentanglement. Extensive experiments on CIFAR-10, CIFAR-100, and ImageNet-1K demonstrate that HICAT consistently improves over matched baselines across diverse architectures (CNNs and ViTs) while significantly reducing the robust generalization gap.", "date": "2026-06-02", "categories": []} {"id": "2404.13621", "title": "Attack on Scene Flow using Point Clouds", "abstract": "Deep neural networks have made significant advancements in accurately estimating scene flow using point clouds, which is vital for many applications like video analysis, action recognition, and navigation. The robustness of these techniques, however, remains a concern, particularly in the face of adversarial attacks that have been proven to deceive state-of-the-art deep neural networks in many domains. Surprisingly, the robustness of scene flow networks against such attacks has not been thoroughly investigated. To address this problem, the proposed approach aims to bridge this gap by introducing adversarial white-box attacks specifically tailored for scene flow networks. Experimental results show that the generated adversarial examples obtain up to 33.7 relative degradation in average end-point error on the KITTI and FlyingThings3D datasets. The study also reveals the significant impact that attacks targeting point clouds in only one dimension or color channel have on average end-point error. Analyzing the success and failure of these attacks on the scene flow networks and their 2D optical flow network variants shows a higher vulnerability for the optical flow networks. Code is available at https://github.com/aheldis/Attack-on-Scene-Flow-using-Point-Clouds.git.", "date": "2024-04-21", "categories": []} {"id": "2510.09288", "title": "A unifying Bayesian framework for adversarial robustness", "abstract": "The vulnerability of machine learning models to adversarial attacks remains a critical societal security challenge. Traditional defenses, such as adversarial training, typically robustify models by minimizing a worst-case loss. These deterministic approaches do not account for uncertainty in the adversary's attack. While stochastic defenses placing a probability distribution on the adversary exist, they often lack statistical rigor and fail to make explicit their underlying assumptions. To resolve these issues, we introduce a formal Bayesian framework that models adversarial uncertainty through a stochastic channel, articulating all probabilistic assumptions. This yields two robustification strategies: a proactive defense enacted during training, aligned with adversarial training, and a reactive defense enacted during operations, aligned with adversarial purification. Several state-of-the-art defenses can be recovered as limiting cases of our model. We empirically validate our methodology, showcasing the benefits of explicitly modeling adversarial uncertainty.", "date": "2025-10-10", "categories": []} {"id": "2510.14025", "title": "NAPPure: Adversarial Purification for Robust Image Classification under Non-Additive Perturbations", "abstract": "Adversarial purification has achieved great success in combating adversarial image perturbations, which are usually assumed to be additive. However, non-additive adversarial perturbations such as blur, occlusion, and distortion are also common in the real world. Under such perturbations, existing adversarial purification methods are much less effective since they are designed to fit the additive nature. In this paper, we propose an extended adversarial purification framework named NAPPure, which can further handle non-additive perturbations. Specifically, we first establish the generation process of an adversarial image, and then disentangle the underlying clean image and perturbation parameters through likelihood maximization. Experiments on GTSRB and CIFAR-10 datasets show that NAPPure significantly boosts the robustness of image classification models against non-additive perturbations.", "date": "2025-10-15", "categories": []} {"id": "2510.16660", "title": "Universal and Transferable Attacks on Pathology Foundation Models", "abstract": "We introduce Universal and Transferable Adversarial Perturbations (UTAP) for pathology foundation models that reveal critical vulnerabilities in their capabilities. Optimized using deep learning, UTAP comprises a fixed and weak noise pattern that, when added to a pathology image, systematically disrupts the feature representation capabilities of multiple pathology foundation models. Therefore, UTAP induces performance drops in downstream tasks that utilize foundation models, including misclassification across a wide range of unseen data distributions. In addition to compromising the model performance, we demonstrate two key features of UTAP: (1) universality: its perturbation can be applied across diverse field-of-views independent of the dataset that UTAP was developed on, and (2) transferability: its perturbation can successfully degrade the performance of various external, black-box pathology foundation models - never seen before. These two features indicate that UTAP is not a dedicated attack associated with a specific foundation model or image dataset, but rather constitutes a broad threat to various emerging pathology foundation models and their applications. We systematically evaluated UTAP across various state-of-the-art pathology foundation models on multiple datasets, causing a significant drop in their performance with visually imperceptible modifications to the input images using a fixed noise pattern. The development of these potent attacks establishes a critical, high-standard benchmark for model robustness evaluation, highlighting a need for advancing defense mechanisms and potentially providing the necessary assets for adversarial training to ensure the safe and reliable deployment of AI in pathology.", "date": "2025-10-18", "categories": []} {"id": "2510.27249", "title": "C-LEAD: Contrastive Learning for Enhanced Adversarial Defense", "abstract": "Deep neural networks (DNNs) have achieved remarkable success in computer vision tasks such as image classification, segmentation, and object detection. However, they are vulnerable to adversarial attacks, which can cause incorrect predictions with small perturbations in input images. Addressing this issue is crucial for deploying robust deep-learning systems. This paper presents a novel approach that utilizes contrastive learning for adversarial defense, a previously unexplored area. Our method leverages the contrastive loss function to enhance the robustness of classification models by training them with both clean and adversarially perturbed images. By optimizing the model's parameters alongside the perturbations, our approach enables the network to learn robust representations that are less susceptible to adversarial attacks. Experimental results show significant improvements in the model's robustness against various types of adversarial perturbations. This suggests that contrastive loss helps extract more informative and resilient features, contributing to the field of adversarial robustness in deep learning. The code is publicly made available on GitHub in the following link: https://github.com/suklav/C_Lead .", "date": "2025-10-31", "categories": []} {"id": "2603.24511", "title": "Claudini: Autoresearch Discovers State-of-the-Art Adversarial Attack Algorithms for LLMs", "abstract": "We show that AI agents are capable of discovering novel algorithms for adversarial attacks against LLMs, advancing the state of the art on white-box jailbreaking and prompt injection evaluations. We deploy frontier agents, such as Claude Code and Codex, in an autoresearch loop with access to a library of 30+ prior methods and an evaluation script with a fixed compute budget. We show this pipeline to be effective in jailbreaking OpenAI's GPT-OSS-Safeguard-20B and in prompt injections against Meta-SecAlign-70B, an adversarially robust model. For GPT-OSS-Safeguard, the best agent-discovered method achieves up to 80\\% attack success rate on CBRN queries, compared to <50\\% for existing methods. For SecAlign, it achieves 100\\% ASR, while the best prior automated methods only achieve 82\\%. Notably, in our setting, attack methods are developed on unrelated surrogate models for a pure random-target token-forcing task, yet generalize directly to prompt injection on the adversarially trained model. Finally, we trace the lineage of methods developed during autoresearch, characterizing the agents' strategies and failure modes. Adversarial ML has long held that defenses must be evaluated against attacks tailored to them; autoresearch automates this principle, and we argue it should be the minimum bar for defense evaluation going forward.", "date": "2026-03-25", "categories": []} {"id": "2605.12813", "title": "REALISTA: Realistic Latent Adversarial Attacks that Elicit LLM Hallucinations", "abstract": "Large language models (LLMs) achieve strong performance across many tasks but remain vulnerable to hallucinations, making it important to systematically evaluate their reliability under realistic adversarial inputs. We formulate hallucination elicitation as a constrained optimization problem, where the goal is to find semantically coherent adversarial prompts that are equivalent to benign user prompts. Existing attack methods remain limited: discrete prompt-based attacks preserve semantic equivalence and coherence but search only over a limited set of prompt variations, while continuous latent-space attacks explore a richer space but often decode into prompts that are no longer valid rephrasings. To address these limitations, we propose REALISTA, a realistic latent-space attack framework. REALISTA constructs an input-dependent dictionary of valid editing directions, each corresponding to a semantically equivalent and coherent rephrasing, and optimizes continuous combinations of these directions in latent space. This design combines the optimization flexibility of continuous attacks with the semantic realism of discrete rephrasing-based attacks. Experiments demonstrate that REALISTA achieves superior or comparable performance to state-of-the-art realistic attacks on open-source LLMs and, crucially, succeeds in attacking large reasoning models under free-form response settings, where prior realistic attacks fail. Code is available at https://github.com/Buyun-Liang/REALISTA.", "date": "2026-05-12", "categories": []} {"id": "2605.25889", "title": "Capability and Robustness Cannot Both Be Free: An Information-Theoretic Bound for Vision-Language-Action Models", "abstract": "Vision-Language-Action (VLA) models reach high success rates on clean inputs but collapse under small adversarial perturbations: a $16/255$ PGD attack drops OpenVLA-7B's LIBERO success from $95\\%$ to under $5\\%$. Whether this trade-off has a theoretical floor was open. We prove that it does. For any VLA policy, capability $I(\\Astar;\\Api)$ and robustness $I(\\Api;\\Atildepi)-I(\\Api;\\delta)$ sum to at most $H(\\Astar)+I(X;\\Xtilde)$, the task entropy plus adversarial channel capacity. The proof reduces to two applications of the Data Processing Inequality. The pixel-level bound is loose by $\\sim 10^3$ nats and serves as a ceiling guarantee; an encoder-specific corollary tightens it by over an order of magnitude, into a regime where realized capability already consumes $5$--$9\\%$ of the budget. We validate Theorem~\\ref{thm:main} with zero violations across $308$ cells: $252$ closed-form Gaussian-VLA, $48$ OpenVLA-7B$+$LIBERO$+$PGD ($4$ suites $\\times$ $4$ $\\eps$ $\\times$ $3$ seeds), $4$ Square-Attack, and $4$ multi-step ($T{=}10$). A complementary measurability inequality $\\Rob_{\\text{disc}} \\le \\Cap_{\\text{disc}}$ further holds across $144$ cross-architecture cells spanning OpenVLA, OpenVLA-OFT (continuous-$L_1$), and SmolVLA (flow-matching). The same construction yields three label-free diagnostics: a pre-flight encoder ceiling, a defense-forensics probe that localizes input-side vs.\\ language-model intervention, and a head-agnostic robustness ratio comparable across discrete-token, $L_1$-regression, and flow-matching policies. Together these provide the cross-setting axis defense and architecture comparisons currently lack.", "date": "2026-05-25", "categories": []} {"id": "2606.00159", "title": "Digital-to-Physical Transfer of Adversarial Patches for Aerial Vehicle Detection", "abstract": "Deep neural network (DNN)-based object detectors are widely used for analyzing aerial and satellite imagery in applications such as environmental monitoring and urban analytics. Despite their strong performance, these models are known to be vulnerable to adversarial examples, and physical adversarial attacks using printable patterns pose realistic security threats. In this paper, we evaluate physical adversarial patch attacks against an aerial vehicle detector by bridging digital optimization and real-world deployment. Adversarial patches are optimized in the digital domain using a loss function that minimizes the maximum objectness score while incorporating non-printability score (NPS) and total variation (TV) constraints to ensure both printability and spatial smoothness. The optimized patches are printed and deployed in three configurations: ON, OFF, and OFF-Side. Experiments using a YOLOv3 detector show that while the OFF patch achieves the highest effectiveness in the digital domain (85.51% Average Objectness Reduction Rate (AORR)), the ON patch demonstrates superior robustness in physical environments (0.197-0.343 Objectness Score Ratio (OSR)) due to its consistent visibility. Furthermore, our results indicate that weather-based augmentation does not necessarily improve patch optimization in this domain. These findings provide critical insights into the practical vulnerabilities of aerial object detection systems.", "date": "2026-05-29", "categories": []} {"id": "2606.00738", "title": "SORA: Free Second-Order Attacks in Fast Adversarial Training", "abstract": "Adversarial Training (AT) is a leading defense against adversarial examples but often suffers from Catastrophic Overfitting (CO) in efficient single-step variants, where robustness to multi-step attacks collapses despite high single-step performance. We address this failure mode with two contributions. First, we formalize Epsilon Overfitting (EO), a perspective in which fixed perturbation magnitudes and directions exacerbate CO, and show that introducing perturbation variability significantly improves robust generalization across different architectures and datasets. Second, we propose PertAlign (Perturbation Alignment), a theoretically grounded, computationally negligible metric that predicts CO onset by measuring gradient alignment across attack stages. Leveraging these insights, we introduce SORA, an adaptive step-size AT method that dynamically adjusts perturbations based on loss surface geometry. SORA consistently prevents CO, achieves state-of-the-art robustness and clean accuracy, and generalizes across datasets and architectures using a single fixed set of hyperparameters, which is essential for applicability in fast AT. Extensive experiments on diverse datasets and architectures show that SORA matches or surpasses the robustness of prior methods while delivering higher clean accuracy and superior efficiency. Code is available at https://github.com/SecondOrderAT/SORA.", "date": "2026-05-30", "categories": []} {"id": "2606.01437", "title": "CEAR: Certified Ensemble Adversarial Robustness in DNNs", "abstract": "Deep Neural Networks (DNNs) are highly susceptible to adversarial perturbations, leading to extensive research on robustness for safety-critical applications. State-of-the-art empirical defense mechanisms improve the robustness of DNNs through the training phase, but still struggle against adaptive white-box attacks. On the other hand, certified defenses offer provable guarantees of robustness within a specified perturbation bound. These guarantees hold regardless of the level of perturbations, even if the attacker is given full knowledge of the model. In this paper, we propose CEAR, an ensemble-based robust method that utilizes a hybrid of empirical and certified defense mechanisms. CEAR trains each network within the ensemble using varying Gaussian noise and temperatures to obfuscate gradients and logits, making the model more resistant to stronger gradient-based attacks. We then use noisy logits and propose two different voting mechanisms to further improve robustness. Furthermore, we extend randomized smoothing to verify the robustness of ensemble-based classifiers. Our experimental evaluations on MNIST, CIFAR10, and TinyImageNet datasets demonstrate superior certified accuracy on average, increased robustness radius, and decreased transferability compared to baseline methods.", "date": "2026-05-31", "categories": []} {"id": "2606.01441", "title": "Dive into Ambiguity: A*-Inspired Multi-Agents Commonsense Obfuscation Attack on LLM Prompts", "abstract": "Large language models (LLMs) excel in reasoning and knowledge-intensive tasks but remain vulnerable to prompt-level adversarial attacks that preserve intent while triggering commonsense hallucinations. This vulnerability is urgent, as LLMs are rapidly integrated into safety-critical domains where factual reliability is non-negotiable. Existing attack methods either lack efficiency or fail to capture the adaptive strategies of real-world adversaries. We propose an A*-inspired Factual Error Induction Framework, a framework for generating semantically aligned yet obfuscated prompts. At its core is a Hierarchical Rewrite Strategy guided by a dynamic semantic dispersion coefficient $\\gamma$ that balances conservative edits early with aggressive obfuscations later, following a reverse simulated annealing schedule. To enhance interpretability, we further introduce Agentic Mechanism Labeling, which discovers and refines adversarial mechanisms, offering interpretable reverse optimization. Theoretically, we prove that prompt rewriting follows a contractive recurrence, leading to semantic collapse as $\\gamma$ decreases. Empirically, across diverse LLMs, our method achieves higher attack success rates than exhaustive exploration while requiring fewer attempts, demonstrating both efficiency and effectiveness.", "date": "2026-05-31", "categories": []} {"id": "2606.01746", "title": "Sensitivity as a Double-Edged Sword: A Trade-off Between Discriminability and Adversarial Robustness", "abstract": "Modern neural networks are highly susceptible to adversarial perturbations. In this work, we identify that part of this vulnerability stems from the sensitivity of the widely used fully connected (FC) classifiers to such perturbations. In contrast, simple $\\ell_2$ distance-based classifiers exhibit significantly greater robustness. We provide thorough theoretical and empirical analysis showing that while FC classifiers' high sensitivity makes them discriminative, it also makes them vulnerable. Conversely, $\\ell_2$-classifiers' insensitivity grants robustness but limits performance. Motivated by this trade-off, we propose a novel $\\ell_2$-reclassifier based on a Hybrid Prototype Mixing (HPM) framework. This method retains the discriminative power of FC classifiers while leveraging the robustness of $\\ell_2$ distance. It yields $\\ell_2$-distance-based predictions by fusing two prototype types: (1) stable, dataset-level prototypes updated via EMA, and (2) dynamic, batch-level prototypes generated from the FC classifier's predictions using a Straight-Through Estimator (STE). However, this dynamic, STE-based architecture introduces significant challenges for evaluation, such as gradient obfuscation and forward discontinuity. To address this, we propose a new, rigorous evaluation protocol, the Mixed Surrogate Attack (MSA), which uses multiple surrogates along with powerful AutoAttack to ensure a fair and robust assessment. Extensive experiments demonstrate that our lightweight, plug-and-play module, with minimal fine-tuning, effectively enhances the adversarial robustness of various existing SOTA adversarially trained models.", "date": "2026-06-01", "categories": []} {"id": "2606.01892", "title": "Adversarial Attacks on Robot Localization Systems via Deep Feature Perturbation", "abstract": "Robot localization systems are critical for autonomous navigation and safety. Adversarial perturbations can mislead these systems, resulting in mislocalization, navigation errors, or unsafe interactions, especially in mission-critical scenarios. This paper investigates the vulnerability of deep learning based localization pipelines to adversarial attacks. We propose a novel framework for generating adversarial queries that specifically target Product Quantization (PQ) in visual localization systems. Our method employs a Lightweight Product Quantization Network (LPQN) to perturb query feature encodings, misleading the retrieval process by returning semantically irrelevant database entries. Adversarial queries are generated via a two-phase procedure: a forward pass that perturbs feature distributions and a backward pass that refines the perturbation through optimization. The lightweight design of LPQN allows the creation of subtle yet highly effective perturbations with minimal computational overhead. Extensive experiments in both controlled and real-world robotic environments demonstrate that our approach substantially degrades PQN performance, exposing critical vulnerabilities in practical applications.", "date": "2026-06-01", "categories": []} {"id": "2606.02134", "title": "Rethinking Evaluation Paradigms in IBP-based Certified Training", "abstract": "Deep neural networks achieve strong performance on many supervised learning tasks but remain vulnerable to adversarial perturbations. Neural network verification provides mathematically rigorous robustness guarantees, yet at substantial computational cost. To mitigate this, certified training techniques optimise for verifiable robustness during training, typically inducing a trade-off between natural and certified accuracy controlled by method-specific hyperparameters. Because these metrics are inherently conflicting, the common practice of reporting a single configuration is problematic: it can mislead conclusions about overall performance and prevents unbiased assessments of the state of the art. We address this by evaluating certified training methods via Pareto front comparisons over the natural--certified accuracy trade-off. To enable fair, method-agnostic comparisons, we perform efficient automated multi-objective hyperparameter optimisation to identify a set of Pareto-optimal configurations for each method. This approach often uncovers substantial undertuning in previously reported configurations, yielding superior performance and establishing a new state of the art. Leveraging these fronts, we present the first comprehensive multi-objective comparison of certified training approaches, showing that prior advancements are less pronounced than assumed and revealing previously unreported performance complementarities.", "date": "2026-06-01", "categories": []} {"id": "2606.02267", "title": "A combination of noise and bilateral filters achieve supralinear and scalable adversarial robustness in CNNs", "abstract": "The vulnerability of deep neural networks to adversarial examples poses a significant challenge for real-world deployment. Existing techniques to enhance deep network robustness rely on adversarial training, an approach that is powerful but computationally intensive and typically tailored to specific attack types. To address these limitations, existing works have explored techniques such as adding gaussian noise or filtering images, both of which can boost the network robustness to various adversarial attacks, albeit modestly. Here, we theoretically demonstrate that these two approaches enhance robustness against adversarial attacks through complementary mechanisms, resulting in supralinear robustness when combined. Building on this insight, we experimentally show that a simple preprocessor combining Gaussian noise and bilateral filtering yields supralinear improvements in adversarial robustness with minimal computational cost. Next, we combine our preprocessor with adversarial training and test on RobustBench to assess its supralinear improvement over state-of-the-art defenses. First, this combination ranks second on AutoAttack and third overall, while using only $\\sim$35% of the training FLOPs, using a model with $\\sim$50% less parametets, trained with $\\sim$33% of the epochs and $\\sim$15% the data compared to state-of-the-art defenses. Second, our method scales efficiently, matching the accuracy of competing models with roughly 2-8x less total compute across 3 orders of magnitude. Overall, our approach provides a principled and easily integrable framework for enhancing adversarial robustness, offering negligible computational overhead and a simple yet theoretically grounded design.", "date": "2026-06-01", "categories": []} {"id": "2506.08255", "title": "SHIELD: Secure Hypernetworks for Incremental Expansion Learning Defense", "abstract": "Continual learning under adversarial conditions remains an open problem, as existing methods often compromise either robustness, scalability, or both. We propose a novel framework that integrates Interval Bound Propagation (IBP) with a hypernetwork-based architecture to enable certifiably robust continual learning across sequential tasks. Our method, SHIELD, generates task-specific model parameters via a shared hypernetwork conditioned solely on compact task embeddings, eliminating the need for replay buffers or full model copies and enabling efficient over time. To further enhance robustness, we introduce Interval MixUp, a novel training strategy that blends virtual examples represented as $\\ell_{\\infty}$ balls centered around MixUp points. Leveraging interval arithmetic, this technique guarantees certified robustness while mitigating the wrapping effect, resulting in smoother decision boundaries. We evaluate SHIELD under strong white-box adversarial attacks, including PGD and AutoAttack, across multiple benchmarks. It consistently outperforms existing robust continual learning methods, achieving state-of-the-art average accuracy while maintaining both scalability and certification. These results represent a significant step toward practical and theoretically grounded continual learning in adversarial settings.", "date": "2025-06-09", "categories": []} {"id": "2511.17380", "title": "Non-Parametric Probabilistic Robustness: A Conservative Risk Estimator under Unknown Perturbation Distributions", "abstract": "Deep learning (DL) models, despite their remarkable success, remain vulnerable to small input perturbations that can cause erroneous outputs, motivating the recent proposal of probabilistic robustness (PR) as a complementary alternative to adversarial robustness (AR). However, existing PR formulations assume a fixed and known perturbation distribution, an unrealistic expectation in practice. To address this limitation, we propose non-parametric probabilistic robustness (NPPR), a more practical PR metric that does not rely on any predefined perturbation distribution. Following the non-parametric paradigm in statistical modeling, NPPR learns an optimized perturbation distribution directly from data, enabling conservative PR evaluation under distributional uncertainty. We further develop an NPPR estimator based on a Gaussian Mixture Model (GMM), covering various input-dependent and input-independent perturbation scenarios. Theoretical analyses establish the relationships among AR, PR, and NPPR. Extensive experiments on CIFAR-10, CIFAR-100, and Tiny ImageNet across ResNet18/50, WideResNet50 and VGG16 validate NPPR as a more practical robustness metric, showing conservative (lower) PR estimates compared to assuming those common perturbation distributions used in state-of-the-arts.", "date": "2025-11-21", "categories": []} {"id": "2605.18024", "title": "Interaction-Breaking Adversarial Learning Framework for Robust Multi-Agent Reinforcement Learning", "abstract": "Cooperation is central to multi-agent reinforcement learning (MARL), yet learned coordination can be fragile when external perturbations disrupt inter-agent interactions. Prior robust MARL methods have primarily considered value-oriented attacks, leaving a gap in robustness when interaction structures themselves are corrupted. In this paper, we propose an interaction-breaking adversarial learning (IBAL) framework that takes an information-theoretic view to construct attacks that impede coordination by perturbing agents' observations and actions, and trains agents to perform reliably under such disruptions. Empirically, our approach improves robustness over existing robust MARL baselines across diverse attack settings and yields stronger performance even under agent-missing scenarios. Our code is available at https://sunwoolee0504.github.io/IBAL.", "date": "2026-05-18", "categories": []} {"id": "2605.24535", "title": "Steering Beyond the Support: Adversarial Training on Unsupervised Jailbroken Activation Simulation", "abstract": "Jailbreak prompts can trigger harmful completions on aligned LLMs, In accordance, safety steering has been proposed: test-time activation interventions that steer jailbreak activations to trigger refusal while preserving benign utility. However, existing steering methods are fundamentally supervised and tied to a static, limited training set, whereas real jailbreaks evolve and are often out-of-distributed from the training set, leading to failures on unseen attacks. In this paper, we tackle the failure on unseen jailbreaks problem, base on unsupervised latent direction discovery. We propose a bi-level adversarial training framework for zero-shot jailbreak defense. In the inner step, we simulate diverse jail-broken activations by extrapolating from refusal-state harmful-request activations via unsupervised latent direction discovery, which expands the coverage of real jailbreak activation subspaces. In the outer step, we train a potential-induced steering field to push these adversarial jailbroken states into refusal regions while keeping benign unchanged. Across three LLMs and six classical jailbreak families, our method achieves strong defense with attack success rates mostly below 5%, and rising subspace coverage throughout training helps explain the improved generalization.", "date": "2026-05-23", "categories": []} {"id": "2605.26929", "title": "When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study", "abstract": "Adversarial training (AT) remains one of the most reliable empirical defenses against adversarial attacks. Its robustness critically depends on how the underlying min-max objective is optimized. In practice, Stochastic Gradient Descent (SGD) optimizer remains the default optimization choice for AT, whereas adaptive optimizers often improve standard training but may yield inferior robustness. Recently, the Muon optimizer, which orthogonalizes matrix-valued updates via an approximate polar decomposition, has achieved notable success in large-scale training at a memory cost comparable to SGD. This raises a security-relevant question: \\textit{can orthogonalized optimization improve AT under strong and heterogeneous threat models?} Focusing on this problem, we conduct a comprehensive theoretical and empirical study. Theoretically, we show that Muon imposes a spectral-norm stability ceiling on matrix updates, limiting uncontrolled spectral growth in the training dynamics without explicitly shrinking the learned weights. Empirically, across five architectures and three $\\ell_p$ threat models ($\\ell_\\infty$, $\\ell_1$, $\\ell_2$) and their union, Muon is competitive with SGD on CNNs and substantially outperforms AdamW on both CNNs and ViTs. These results identify optimizer geometry as a security-relevant factor in adversarial training, while clarifying the empirical regimes in which orthogonalized updates are beneficial. Overall, our findings highlight optimizer design as a security-critical component of AT.", "date": "2026-05-26", "categories": []} {"id": "2605.30578", "title": "AdvScene: Rethinking Adversarial Patch Evaluation Through Scene Robustness", "abstract": "Adversarial patches are physical patterns attached to real objects to mislead AI vision systems. Their real-world risk is not determined by a single successful prediction, but by whether they remain effective after deployment under changing viewpoints, distances, and scene conditions. We refer to this property as scene robustness, the effectiveness of a deployed patch across conditions in a real environment. Yet existing evaluations do not measure scene robustness well: real image benchmarks are realistic but fixed, while simulators are controllable but not grounded in a specific real scene.\n We present AdvScene, a scene-grounded framework for measuring the scene robustness of adversarial patches in reconstructed real environments. AdvScene reframes evaluation as operational measurement: given a fixed deployed patch, it characterizes the patch's operational envelope - where and when the attack succeeds - as a function of viewpoint, distance, and scene context. A key challenge is that the attack is typically defined only in a single anchor view, while evaluation requires a representation that remains faithful under viewpoint changes. We formalize this as a constrained lifting problem and introduce Adversarial Patch-to-Scene Embedding (APSE), which resolves cross-view ambiguity while preserving attack-critical appearance and enforcing locality, target-surface attachment, and cross-view consistency. We validate AdvScene using real-world physical data and conduct a comprehensive evaluation of existing adversarial patches. Our results show that AdvScene reveals substantial scene-dependent variation in attack effectiveness that is not captured by existing image-centric or simulator-based evaluations.", "date": "2026-05-28", "categories": []} {"id": "2605.30601", "title": "TASER: Task-Aware Stein Regularisation for Geometry-Driven Robustness", "abstract": "Modern deep networks remain fragile under distribution shift and adversarial perturbations, often due to excessive or poorly structured input sensitivity. We introduce TASER (Task-Aware Stein Regularisation), a training-time regularisation framework derived from Langevin Stein operators. By penalising pointwise Stein residuals under the training distribution, TASER encourages geometric compatibility between predictors and data density, inducing anisotropic, data-aware smoothness. We provide theoretical links between Stein regularisation and reduced first-order shift sensitivity, develop scalable implementation variants compatible with modern architectures, and demonstrate improved robustness and stability across regression and vision benchmarks. Across CIFAR-10 experiments, TASER consistently improves the adversarial robustness of established training methods without incurring statistically significant clean-accuracy degradation.", "date": "2026-05-28", "categories": []} {"id": "2403.09441", "title": "An Empirical Study of the Influence of Adversarial Fine-Tuning on Compressed Neural Networks", "abstract": "As deep learning (DL) models are increasingly being integrated into our everyday lives, ensuring their safety by making them robust against adversarial attacks has become increasingly critical. DL models have been found to be susceptible to adversarial attacks by introducing small, targeted perturbations to disrupt the input data. Adversarial training has been presented as a mitigation strategy that can result in more robust models. This adversarial robustness comes with additional computational costs required to design adversarial attacks during training. The two objectives -- adversarial robustness and computational efficiency -- then appear to be in conflict with each other. In this work, we explore the effects of neural network compression on adversarial robustness. We specifically explore the effects of fine-tuning on compressed models, and present the trade-off between standard fine-tuning and adversarial fine-tuning. Our results show that adversarial fine-tuning of compressed models can yield large improvements to their robustness performance. We present experiments on several benchmark datasets showing that adversarial fine-tuning of compressed models can achieve robustness performance comparable to adversarially trained models, while also improving computational efficiency. Source code is available here: https://github.com/saintslab/Adver-Fine.", "date": "2024-03-14", "categories": []} {"id": "2408.15451", "title": "Certified Causal Defense with Generalizable Robustness", "abstract": "While machine learning models have proven effective across various scenarios, it is widely acknowledged that many models are vulnerable to adversarial attacks. Recently, there have emerged numerous efforts in adversarial defense. Among them, certified defense is well known for its theoretical guarantees against arbitrary adversarial perturbations on input within a certain range (e.g., $l_2$ ball). However, most existing works in this line struggle to generalize their certified robustness in other data domains with distribution shifts. This issue is rooted in the difficulty of eliminating the negative impact of spurious correlations on robustness in different domains. To address this problem, in this work, we propose a novel certified defense framework GLEAN, which incorporates a causal perspective into the generalization problem in certified defense. More specifically, our framework integrates a certifiable causal factor learning component to disentangle the causal relations and spurious correlations between input and label, and thereby exclude the negative effect of spurious correlations on defense. On top of that, we design a causally certified defense strategy to handle adversarial attacks on latent causal factors. In this way, our framework is not only robust against malicious noises on data in the training distribution but also can generalize its robustness across domains with distribution shifts. Extensive experiments on benchmark datasets validate the superiority of our framework in certified robustness generalization in different data domains. Code is available in the supplementary materials.", "date": "2024-08-28", "categories": []} {"id": "2510.12310", "title": "DeepTrust: Multi-Step Classification through Dissimilar Adversarial Representations for Robust Android Malware Detection", "abstract": "Over the last decade, machine learning has been extensively applied to identify malicious Android applications. However, such approaches remain vulnerable against adversarial examples, i.e., examples that are subtly manipulated to fool a machine learning model into making incorrect predictions. This research presents DeepTrust, a novel metaheuristic that arranges flexible classifiers, like deep neural networks, into an ordered sequence where the final decision is made by a single internal model based on conditions activated in cascade. In the Robust Android Malware Detection competition at the 2025 IEEE Conference SaTML, DeepTrust secured the first place and achieved state-of-the-art results, outperforming the next-best competitor by up to 266% under feature-space evasion attacks. This is accomplished while maintaining the highest detection rate on non-adversarial malware and a false positive rate below 1%. The method's efficacy stems from maximizing the divergence of the learned representations among the internal models. By using classifiers inducing fundamentally dissimilar embeddings of the data, the decision space becomes unpredictable for an attacker. This frustrates the iterative perturbation process inherent to evasion attacks, enhancing system robustness without compromising accuracy on clean examples.", "date": "2025-10-14", "categories": []} {"id": "2604.26506", "title": "SafeReview: Defending LLM-based Review Systems Against Adversarial Hidden Prompts", "abstract": "As Large Language Models (LLMs) are increasingly integrated into academic peer review, their vulnerability to adversarial hidden prompts, i.e., adversarial instructions embedded in submissions to manipulate outcomes, poses a critical threat to scholarly integrity. We propose SafeReview, a co-evolutionary adversarial training framework for defending LLM-based peer review systems against such attacks. SafeReview jointly trains a Generator model to create sophisticated attack prompts and a Defender model to preserve review integrity under adversarial manipulation. The Generator is optimized to produce increasingly effective prompt injections, while the Defender is strengthened through preference-based training to maintain consistent reviews between clean and attacked submissions. Experimental results show that SafeReview improves robustness against adaptive prompt injection attacks, better preserves paper ranking under attack, and generalizes across attacker architectures compared with static defenses. These results demonstrate the potential of co-evolutionary training as a foundation for securing LLM-assisted peer review.", "date": "2026-04-29", "categories": []} {"id": "2605.23239", "title": "Self-supervised Adversarial Purification for Graph Neural Networks", "abstract": "Defending Graph Neural Networks (GNNs) against adversarial attacks requires balancing accuracy and robustness, a trade-off often mishandled by traditional methods like adversarial training that intertwine these conflicting objectives within a single classifier. To overcome this limitation, we propose a self-supervised adversarial purification framework. We separate robustness from the classifier by introducing a dedicated purifier, which cleanses the input data before classification. In contrast to prior adversarial purification methods, we propose GPR-GAE, a novel graph auto-encoder (GAE), as a specialized purifier trained with a self-supervised strategy, adapting to diverse graph structures in a data-driven manner. Utilizing multiple Generalized PageRank (GPR) filters, GPR-GAE captures diverse structural representations for robust and effective purification. Our multi-step purification process further facilitates GPR-GAE to achieve precise graph recovery and robust defense against structural perturbations. Experiments across diverse datasets and attack scenarios demonstrate the state-of-the-art robustness of GPR-GAE, showcasing it as an independent plug-and-play purifier for GNN classifiers.", "date": "2026-05-22", "categories": []} {"id": "2605.28899", "title": "Quantum-Enhanced Adversarial Robustness in Artificial Intelligence", "abstract": "Artificial Intelligence has achieved remarkable success across diverse application domains. However, its vulnerability to adversarial attacks poses significant challenges to reliability, security, and trustworthiness. Adversarial machine learning demonstrates that even highly accurate models can be manipulated through carefully crafted perturbations, raising serious concerns in safety critical systems such as healthcare, finance, and autonomous technologies. In parallel, quantum computing has emerged as a transformative paradigm capable of addressing complex computational problems through principles such as superposition, entanglement, and quantum interference. The convergence of these fields has led to the emergence of quantum artificial intelligence, which explores how quantum techniques can enhance learning efficiency, scalability, and robustness. This chapter provides a comprehensive overview of adversarial machine learning and existing defense strategies, followed by an accessible introduction to quantum computing and quantum machine learning models. It further presents conceptual frameworks for quantum-enhanced adversarial robustness, emphasizing quantum optimization, feature mapping, and hybrid quantum classical architectures. Practical applications, key challenges, and future research directions are also discussed to support the development of secure and trustworthy AI systems.", "date": "2026-05-27", "categories": []} {"id": "2605.29087", "title": "The Chain Holds, the Answer Folds: Trace-Answer Dissociation in Reasoning Models Under Adversarial Pressure", "abstract": "Reasoning models are evaluated on single-turn benchmarks but deployed in multi-turn dialogue, where users push back on correct answers. Under sustained adversarial pressure we find a previously undocumented failure mode: the chain-of-thought stays factually correct from first turn to last while the emitted answer flips wrong. We call this unfaithful capitulation (UC) and isolate it with a $2\\times 2$ latent-versus-behavioral framework that flip-rate metrics and single-turn faithfulness probes both miss. Across three datasets (MT-Consistency, MMLU-Pro, GSM8K), the latent-correct rate at the behavioral flip clusters near 50% in think mode and collapses to 11-15% under no_think -- paired, within-model causal evidence that reasoning creates the gap. Across models the effect tracks the reasoning channel (high in Qwen3-32B and GPT-OSS-20B, low in inline-CoT Gemma-4-31B-it). An independent GPT-4o judge corroborates $86\\%$ of UC labels; a token-level probe shows the answer-slot argmax is correct in $84\\%$ of UC cells; and a naive trace-anchored defense backfires. We release all trajectories, traces, and judge labels.", "date": "2026-05-27", "categories": []} {"id": "2605.29525", "title": "Learning to Perturb Hidden Representations for Generalizable Deep Learning", "abstract": "Deep neural networks process data through a cascade of representations: input features, hidden activations, logits, and loss. While perturbations at the input, logit, and label levels have been systematically studied, the intermediate hidden activations, which constitute the bulk of the network's computation, have received no unified perturbation analysis. In this paper, we establish a unified framework for hidden activation perturbation, revealing that Dropout, Manifold Mixup, adversarial feature perturbation, and related methods all impose specific forms of activation perturbation but with class-agnostic or random strategies. We conjecture that expansive perturbation (increasing activation norm) acts as positive augmentation, while contractive perturbation (decreasing activation norm) acts as negative augmentation, and that the perturbation layer determines whether the effect resembles input-level augmentation (shallow layers) or logit-level manipulation (deep layers). We propose Learning to Perturb Activations (LPA), which adaptively perturbs activations at a selected hidden layer with class-level perturbations learned via PGD. We further provide theoretical analysis connecting activation perturbation to flat minima and perturbation amplification through layers. Experiments on balanced classification, long-tail classification, and domain generalization demonstrate that LPA consistently outperforms existing methods and provides complementary benefits to logit perturbation methods such as LPL.", "date": "2026-05-28", "categories": []} {"id": "2605.29983", "title": "Improving Adversarial Robustness of Attribution via Implicit Regularization", "abstract": "The adversarial robustness of attributions is a fundamental requirement for reliable explainability in deep learning, yet existing approaches typically rely on computationally expensive explicit regularization. In this work, we show that attribution robustness can arise implicitly from the learning dynamics of standard stochastic gradient descent. We theoretically motivate this effect through connections between parameter-space and input-space curvature, and validate it across architectures, datasets, and attribution methods, with negligible computational overhead. In contrast, we prove that such robustness gains often does not transfer to attention-based attribution under softmax normalization, due to inherent entropy constraints, and we validate this limitation experimentally. Finally, we show that replacing softmax attention with kernel-based attention restores the robustness gains in transformer models. Our results highlight learning dynamics as a principled and practical mechanism for robust explainability, and reveal fundamental limitations of attention-based attribution under normalization.", "date": "2026-05-28", "categories": []} {"id": "2509.06350", "title": "Mask-GCG: Are All Tokens in Adversarial Suffixes Necessary for Jailbreak Attacks?", "abstract": "Jailbreak attacks on Large Language Models (LLMs) have demonstrated various successful methods whereby attackers manipulate models into generating harmful responses that they are designed to avoid. Among these, Greedy Coordinate Gradient (GCG) has emerged as a general and effective approach that optimizes the tokens in a suffix to generate jailbreakable prompts. While several improved variants of GCG have been proposed, they all rely on fixed-length suffixes. However, the potential redundancy within these suffixes remains unexplored. In this work, we propose Mask-GCG, a plug-and-play method that employs learnable token masking to identify impactful tokens within the suffix. Our approach increases the update probability for tokens at high-impact positions while pruning those at low-impact positions. This pruning not only reduces redundancy but also decreases the size of the gradient space, thereby lowering computational overhead and shortening the time required to achieve successful attacks compared to GCG. We evaluate Mask-GCG by applying it to the original GCG and several improved variants. Experimental results show that most tokens in the suffix contribute significantly to attack success, and pruning a minority of low-impact tokens does not affect the loss values or compromise the attack success rate (ASR), thereby revealing token redundancy in LLM prompts. Our findings provide insights for developing efficient and interpretable LLMs from the perspective of jailbreak attacks.", "date": "2025-09-08", "categories": []} {"id": "2512.17375", "title": "AdvJudge-Zero: Binary Decision Flips in LLM-as-a-Judge via Adversarial Control Tokens", "abstract": "LLM-as-a-Judge systems supply the reward signal in modern RLHF and RLVR pipelines, but their binary verdict reduces to a single linear readout F_gap on one hidden state. We show this readout is shallow enough that short, low-perplexity tokens flip the verdict from \"No\" to \"Yes\". These tokens are sampled from the judge's own next-token distribution at the response position, with no manual seed set and no gradient-based optimization. Our procedure, AdvJudge-Zero, reaches $>$90% ensemble false-positive rate on 22 of 24 (model, dataset) cells across six Qwen, Llama, and Gemma judges, versus 54-72% for the prior curated 10-token benchmark, and the discovered surface transfers cross-format to a 70B scalar reward model. The same discovered pool enables a defense: a LoRA fine-tune stratified by a 9-class mechanism taxonomy hardens cross-family generalization where naive sampling on the same pool fails, with mechanism breadth rather than pool size carrying the gain. Under GRPO training, the hardened judge eliminates the reward-collapse failures (false-positive spikes and length collapse) we observe in the unhardened baseline on both MATH and GSM8K at ten seeds per condition. The discovered pool, the mechanism taxonomy, and per-prompt flip records will be released under responsible disclosure.", "date": "2025-12-19", "categories": []} {"id": "2605.28083", "title": "VLA-Hijack: A Transferable Patch Attack against Vision-Language-Action Models via Visual Proprioception Hijacking", "abstract": "While Vision-Language-Action (VLA) models have emerged as powerful generalist policies, their severe vulnerability to adversarial patches significantly hinders their deployment in safety-critical domains. Moreover, existing patch attacks primarily focus on white-box settings, heavily overfitting to the specific action output space of the target model, which results in poor cross-architecture transferability. To overcome this limitation, we propose VLA-Hijack, a unified adversarial framework that breaks the transferability bottleneck by exploiting a fundamental vulnerability identified in this work: before planning any motion, a VLA model must first use visual information to locate its own robotic arm within the environment. Targeting this shared visual self-localization process, our approach concurrently optimizes Attention-Guided Proprioceptive Suppression to inhibit the real robotic arm's features, and Multimodal Proprioceptive Injection to establish the patch as a surrogate \"phantom embodiment\". By alternating between semantic concept anchoring and visual prototype projection, VLA-Hijack effectively severs the semantic relationship between the agent's true embodiment and its control policy. Extensive experiments across diverse architectures (OpenVLA, UniVLA, and CronusVLA) demonstrate that VLA-Hijack achieves superior optimization efficiency in white-box settings and sets a new SOTA for cross-architecture and cross-domain black-box transferability.", "date": "2026-05-27", "categories": []} {"id": "2605.28609", "title": "JECA^2: Judgment-Explanation Consistent Adversarial Attack against Forensic Vision-Language Models", "abstract": "Forensic vision-language models (VLMs) have recently been developed to detect image tampering and provide natural-language explanations. However, their robustness against adversarial manipulation remains underexplored. Existing adversarial attacks typically aim to flip the model's binary judgment, while the accompanying explanation may still reveal forensic cues and contradict the attacked judgment. In this paper, we study judgment-explanation consistent adversarial attacks against forensic VLMs and propose JECA^2, a controlled white-box red-team diagnostic that jointly redirects visual attribution and aligns textual explanations with the target judgment. On the visual side, JECA^2 uses Grad-CAM-guided perturbations to divert attribution from tampered regions toward benign regions. On the textual side, it optimizes prompt embeddings toward authenticity-affirming semantics under a token-proximity constraint. Experiments on forensic VLM benchmarks show that JECA^2 achieves higher attack success and automated judgment-explanation consistency than implemented baselines under white-box threat settings, while transfer to closed-source VLMs remains measurable but limited. Our results highlight a consistency failure mode in explanation-based forensic VLMs and motivate future robustness evaluation beyond binary detection accuracy.", "date": "2026-05-27", "categories": []} {"id": "2511.01724", "title": "PRBench: A Standardized Probabilistic Robustness Benchmark", "abstract": "Deep learning models are notoriously vulnerable to imperceptible perturbations. Most existing research centers on adversarial robustness (AR), which evaluates models under worst-case scenarios by examining the existence of deterministic adversarial examples (AEs). In contrast, probabilistic robustness (PR) adopts a statistical perspective, measuring the probability that predictions remain correct under stochastic perturbations. While PR is widely regarded as a practical complement to AR, dedicated training methods for improving PR are still relatively underexplored, albeit with emerging progress. Among the few PR-targeted training methods, we identify three limitations: i non-comparable evaluation protocols; ii limited comparisons to strong AT baselines despite anecdotal PR gains from AT; and iii no unified framework to compare the generalization of these methods. Thus, we introduce PRBench, the first benchmark dedicated to evaluating improvements in PR achieved by different robustness training methods. PRBench empirically compares most common AT and PR-targeted training methods using a comprehensive set of metrics, including clean accuracy, PR and AR performance, training efficiency, and generalization error (GE). We also provide theoretical analysis on the GE of PR performance across different training methods. Main findings revealed by PRBench include: AT methods are more versatile than PR-targeted training methods in terms of improving both AR and PR performance across diverse hyperparameter settings, while PR-targeted training methods consistently yield lower GE and higher clean accuracy. A leaderboard comprising 229 trained models across 7 datasets and 10 model architectures is publicly available at https://wellzline.github.io/PRBenchLeaderboard/.", "date": "2025-11-03", "categories": []} {"id": "2505.18979", "title": "Dynamic Optimization and Safety Indicator Injection for Jailbreaking Text-to-Image Models with Multimodal Safety Filters", "abstract": "Text-to-image (T2I) models can generate not-safe-for-work (NSFW) content, motivating multi-stage safety pipelines with both text and image filters. Newer LLM-based filters detect latent intent beyond keywords, making token-level perturbation attacks unreliable. Our evaluation further shows that existing jailbreak methods exhibit a sharp trade-off between filter evasion and semantic fidelity, while also requiring excessive queries to succeed. We introduce \\textbf{OptJail}, an automated jailbreak framework that combines dynamic prompt optimization with multimodal feedback. It consists of two key components: (i) \\textit{Dynamic Optimization}, an iterative process that leverages text-filter feedback and semantic consistency to rewrite prompts into adversarial variants; and (ii) \\textit{Adaptive Safety Indicator Injection}, which formulates the injection of benign visual cues as a reinforcement learning problem to bypass image-level filters. OptJail achieves state-of-the-art performance, increasing the ShieldLM-7B bypass rate from 8.9\\% (Sneakyprompt) to 99.0\\%, improving CLIP score from 0.2637 to 0.2762. Moreover, it generalizes to unseen filters and successfully jailbreaks DALL E 3 in our evaluation. Mechanistic analysis reveals why these defenses fail: optimized prompts are projected into the ``safe'' region of the filter's representation space yet remain nearly stationary in the generative model's semantic space, and injected safety indicators redirect image detectors' attention away from NSFW content toward benign visual cues. This study reveals systemic vulnerabilities in current multimodal defenses and motivates stronger adaptive defenses.", "date": "2025-05-25", "categories": []} {"id": "2508.13309", "title": "DASH: A Meta-Attack Framework for Synthesizing Effective and Stealthy Adversarial Examples", "abstract": "Numerous techniques have been proposed for generating adversarial examples in white-box settings under strict Lp-norm constraints. However, such norm-bounded examples often fail to align well with human perception, and only a few methods specifically explore perceptually aligned adversarial examples. Moreover, it remains unclear whether insights from Lp-constrained attacks can be effectively leveraged to improve perceptual efficacy. In this paper, we introduce DASH, a fully differentiable meta-attack framework that generates effective and perceptually aligned adversarial examples by strategically composing existing Lp-based attack methods. DASH operates in a multi-stage fashion: at each stage, it aggregates candidate adversarial examples from multiple base attacks using learned, adaptive weights and propagates the result to the next stage. A novel meta-loss function guides this process by jointly minimizing misclassification loss and perceptual distortion, enabling the framework to dynamically modulate the contribution of each base attack throughout the stages. We evaluate DASH on adversarially trained models across CIFAR-10, CIFAR-100, and ImageNet. Despite relying solely on Lp-constrained based methods, DASH significantly outperforms state-of-the-art perceptual attacks such as AdvAD, achieving higher attack success rates (e.g., 20.63% improvement) and superior visual quality, as measured by SSIM, LPIPS, and FID (improvements $\\approx$ of 11, 0.015, and 5.7, respectively). Furthermore, DASH generalizes well to unseen defenses, making it a practical and strong baseline for evaluating robustness without requiring handcrafted adaptive attacks for each new defense.", "date": "2025-08-18", "categories": []} {"id": "2509.12672", "title": "Towards Inclusive Toxic Content Moderation: Addressing Vulnerabilities to Adversarial Attacks in Toxicity Classifiers Tackling LLM-generated Content", "abstract": "The volume of machine-generated content online has grown dramatically due to the widespread use of Large Language Models (LLMs), leading to new challenges for content moderation systems. Conventional content moderation classifiers, which are usually trained on text produced by humans, suffer from misclassifications due to LLM-generated text deviating from their training data and adversarial attacks that aim to avoid detection. Present-day defence tactics are reactive rather than proactive, since they rely on adversarial training or external detection models to identify attacks. In this work, we aim to identify the vulnerable components of toxicity classifiers that contribute to misclassification, proposing a novel strategy based on mechanistic interpretability techniques. Our study focuses on fine-tuned BERT and RoBERTa classifiers, testing on diverse datasets spanning a variety of minority groups. We use adversarial attacking techniques to identify vulnerable circuits. Finally, we suppress these vulnerable circuits, improving performance against adversarial attacks. We also provide demographic-level insights into these vulnerable circuits, exposing fairness and robustness gaps in model training. We find that models have distinct heads that are either crucial for performance or vulnerable to attack and suppressing the vulnerable heads improves performance on adversarial input. We also find that different heads are responsible for vulnerability across different demographic groups, which can inform more inclusive development of toxicity detection models.", "date": "2025-09-16", "categories": []} {"id": "2512.21815", "title": "High-Entropy Tokens as Multimodal Failure Points in Vision-Language Models", "abstract": "Vision-language models (VLMs) achieve remarkable performance but remain vulnerable to adversarial attacks. Entropy, as a measure of model uncertainty, is highly correlated with VLM reliability. While prior entropy-based attacks maximize uncertainty at all decoding steps, implicitly assuming that every token equally contributes to model instability, we reveal that a small fraction (around 20%) of high-entropy tokens, in the evaluated representative open-source VLMs with diverse architectures, concentrates a disproportionate share of adversarial influence during autoregressive generation. We demonstrate that concentrating adversarial perturbations on these high-entropy positions achieves comparable semantic degradation to global methods while optimizing fewer decoding positions. Additionally, across multiple representative VLMs, such attacks induce not only semantic drift but also a substantial unsafe subset (20-31%) under the current pipeline. Remarkably, since such vulnerable high-entropy tokens recur across architecturally diverse VLMs, attacks focused on them exhibit non-trivial transferability. Motivated by these findings, we design a simple Entropy-Guided Attack (EGA) that operationalizes sparse high-entropy targeting and extends it with a reusable token bank, yielding competitive attack success rates (93-95%) with a considerable harmful rate (30.2-38.6%) on the three representative open-source VLMs.", "date": "2025-12-26", "categories": []} {"id": "2602.09431", "title": "Grounding-Driven Attack: Improving Encoder-based Adversarial Transferability against Large Vision-Language Models", "abstract": "Large vision-language models (LVLMs) have achieved impressive performance across multimodal tasks, but their reliance on visual inputs exposes them to adversarial threats. Encoder-based attacks provide an efficient alternative to end-to-end optimization by crafting perturbations through the vision encoder alone. However, existing encoder-based attacks often assume that the surrogate encoder is identical or similar to the victim LVLM's vision encoder. In this work, we present a systematic study of their transferability in more realistic black-box deployments with heterogeneous LVLM architectures. We find that model-specific visual evidence is inconsistent across models, whereas text-conditioned grounding regions are more closely tied to caption-relevant evidence and provide a more stable transfer target. However, existing attacks remain weakly aligned with and insufficiently disrupt these regions. Motivated by these findings, we propose Grounding-Driven Attack (GDA), which aligns perturbation optimization with text-grounded evidence. GDA combines Grounding-Aware Perturbation Allocation to concentrate perturbation budget on grounded evidence regions with Grounding-Centric Evidence Disruption to intensify their global and local disruption. Experiments across diverse victim models and tasks show that GDA consistently outperforms existing encoder-based attacks in black-box transfer. These results highlight the central role of text-grounded evidence in adversarial transferability and motivate grounding-aware robustness evaluation and defense design.", "date": "2026-02-10", "categories": []} {"id": "2605.10764", "title": "Break the Brake, Not the Wheel: Untargeted Jailbreak via Entropy Maximization", "abstract": "Recent studies show that gradient-based universal image jailbreaks on vision-language models (VLMs) exhibit little or no cross-model transferability, casting doubt on the feasibility of transferable multimodal jailbreaks. We revisit this conclusion under a strictly untargeted threat model without enforcing a fixed prefix or response pattern. Our preliminary experiment reveals that refusal behavior concentrates at high-entropy tokens during autoregressive decoding, and non-refusal tokens already carry substantial probability mass among the top-ranked candidates before attack. Motivated by this finding, we propose Untargeted Jailbreak via Entropy Maximization(UJEM)-KL, a lightweight attack that maximizes entropy at these decision tokens to flip refusal outcomes, while stabilizing the remaining low-entropy positions to preserve output quality. Across three VLMs and two safety benchmarks, UJEM-KL achieves competitive white-box attack success rates and consistently improves transferability, while remaining effective under representative defenses. Our experimental results indicate that the limited transferability primarily stems from overly constrained optimization objectives.", "date": "2026-05-11", "categories": []} {"id": "2605.24958", "title": "SEP-Attack: A Simple and Effective Paradigm for Transfer-Based Textual Adversarial Attack", "abstract": "Despite the strong performance of deep neural networks in modern Web and language applications, they remain vulnerable to adversarial attacks, especially transferable attacks that generate adversarial examples using surrogate models without accessing the victim model. Transferable attacks in the text domain are still under-explored, with only a few studies addressing this challenging issue, often with suboptimal results due to equal treatment of submodels or inaccurate estimation of importance scores. To address these challenges, we propose a simple yet effective paradigm for transfer-based textual adversarial attack, named SEP-Attack. Specifically, we employ the Determinantal Point Process (DPP) to generate diverse surrogate ensemble weights, representing the transferability of submodels. Using these weights, we introduce a new metric to evaluate prediction confidence scores, which in turn are used to calculate word importance scores and generate adversarial candidates. Finally, we quantify the transferability score for each candidate and select the top ones as the final transferable adversarial examples. Experiments conducted on four datasets and two real-world APIs validate the efficacy of SEP-Attack, significantly outperforming state-of-the-art baselines.", "date": "2026-05-24", "categories": []} {"id": "2605.25304", "title": "When Interpretability Becomes a Liability: Adversarial Attacks on CBM Concept Layers", "abstract": "Concept Bottleneck Models (CBMs) have emerged as a cornerstone approach for interpretable machine learning, providing human-understandable intermediate representations through explicit concept activations. However, this interpretability fundamentally introduces a critical, previously unexplored attack surface: the concept bottleneck layer itself. We present a comprehensive, systematic study of concept-level adversarial vulnerabilities in CBMs, revealing that targeted, minimal perturbations operating on input pixels can induce catastrophic misclassification by manipulating semantic representations. We develop a rigorous theoretical framework to quantify concept-space robustness, establishing novel metrics that expose the vulnerability landscape of these architectures. Our extensive analysis on the CUB-200-2011 dataset demonstrates that standard CBMs exhibit severe susceptibility to concept-level manipulation. To address this critical weakness, we introduce SPECTRA (Semantic Perturbation-based Concept Training for Robustness against Attacks), a principled stability regularization defense. SPECTRA effectively hardens the semantic representation space, increasing the minimal perturbation norm required for a successful attack from 0.46 to over 4,200, rendering targeted concept manipulation computationally prohibitive. Furthermore, SPECTRA preserves baseline classification accuracy to within 2.2%. By establishing concept-level attacks as a fundamentally distinct threat model, this work opens a new research frontier at the intersection of interpretable machine learning and adversarial robustness.", "date": "2026-05-25", "categories": []} {"id": "2605.25352", "title": "Certified Robustness from Approximate Gaussian Mixture Structures in Pretrained Latent Spaces", "abstract": "Deep learning models are vulnerable to adversarial perturbations, raising important concerns for safety-critical deployment. Empirical defenses can achieve strong robustness in practice, but lack formal guarantees, motivating the need for certifiably robust classifiers. While certified methods provide formal guarantees, they often yield overly conservative bounds due to their inability to exploit structure in complex data distributions. In this work, we propose a framework for designing certifiably robust classifiers that leverages latent structure in data representations. We first analyze the Gaussian mixture setting, deriving necessary and sufficient conditions for the existence of robust classifiers and constructing a classifier with a closed-form robustness certificate and generalization guarantees. Our main contribution is to show that exact structure is not required: we prove that if a pretrained encoder maps inputs to a latent distribution that is $\\varepsilon$-close (in KL divergence) to a Gaussian mixture, then certified accuracy degrades gracefully, with an explicit bound relating robustness under the true and approximate distributions. This result enables the direct use of pretrained models without requiring exact distributional assumptions. Empirically, our method achieves state-of-the-art or competitive certified accuracy on CIFAR-10 and ImageNet, while maintaining strong clean performance and low computational overhead. Overall, our work establishes approximate latent structure as a practical and principled route to certifiable robustness.", "date": "2026-05-25", "categories": []} {"id": "2605.25663", "title": "Opportunistic Target Selection: Early Directional Commitment for Query-Efficient Black-Box Adversarial Attacks", "abstract": "Black-box adversarial attacks that minimize only the ground-truth confidence suffer from class drift: perturbations wander through the feature space without committing to a specific adversarial class, wasting queries on diffuse, undirected progress. We introduce Opportunistic Target Selection (OTS), a lightweight wrapper that switches an untargeted attack to a targeted objective early in its trajectory, locking onto whichever non-true class currently leads. OTS requires no architectural modification to the underlying attack, no gradient access, and no a priori target-class knowledge.\n We validate OTS on three score-based attacks (SimBA, Square Attack with cross-entropy loss, and Bandits) across five standard ImageNet classifiers (4,500 runs). On random-search attacks, OTS closely tracks oracle performance, with gains up to +27 pp in success rate and 43% relative reduction in censored-mean iterations on ResNet-50. On gradient-estimation attacks (Bandits) and attacks with margin loss, OTS is redundant, a negative result that reinforces our interpretation of OTS as a margin-loss surrogate. On adversarially-trained models, a bimodal difficulty distribution eliminates the regime where targeting helps.", "date": "2026-05-25", "categories": []} {"id": "2507.06252", "title": "False Alarms, Real Damage: Adversarial Attacks Using LLM-based Models on Text-based Cyber Threat Intelligence Systems", "abstract": "Cyber Threat Intelligence (CTI) has emerged as a vital complementary approach that operates in the early phases of the cyber threat lifecycle. CTI involves collecting, processing, and analyzing threat data to provide a more accurate and rapid understanding of cyber threats. Due to the large volume of data, automation through Machine Learning (ML) and Natural Language Processing (NLP) models is essential for effective CTI extraction. These automated systems leverage Open Source Intelligence (OSINT) from sources like social networks, forums, and blogs to identify Indicators of Compromise (IoCs). Although prior research has focused on adversarial attacks on specific ML models, this study expands the scope by investigating vulnerabilities within various components of the entire CTI pipeline and their susceptibility to adversarial attacks. These vulnerabilities arise because they ingest textual inputs from various open sources, including real and potentially fake content. We analyse three types of attacks against CTI pipelines, including evasion, flooding, and poisoning, and assess their impact on the system's information selection capabilities. Specifically, on fake text generation, the work demonstrates how adversarial text generation techniques can create fake cybersecurity and cybersecurity-like text that misleads classifiers, degrades performance, and disrupts system functionality. The focus is primarily on the evasion attack, as it precedes and enables flooding and poisoning attacks within the CTI pipeline.", "date": "2025-07-05", "categories": []} {"id": "2601.14300", "title": "Low-Cost Hard-Label Adversarial Attack with Theoretical Foundations", "abstract": "Hard-label black-box attacks, relying solely on top-1 predictions, represent one of the most challenging yet practically threat models. Despite recent progress, existing approaches face two key limitations: (1) they overlook the critical role of initialization, focusing primarily on optimization strategies; and (2) they rely heavily on empirical heuristics without theoretical guarantees. To bridge this gap, we establish a unified theoretical framework showing that existing sign-flipping hard-label attacks can be understood as approximating the true gradient sign. Guided by this principled analysis, we propose a novel attack framework featuring a zero-query initialization strategy and a Pattern-Driven Optimization (PDO) algorithm. We provide theoretical guarantees that our initialization yields higher cosine similarity to the true gradient sign than random baselines, and our PDO module achieves significantly lower query complexity than baseline search methods. Extensive experiments across CIFAR-10, ImageNet, and ObjectNet-covering standard and adversarially trained models, commercial APIs, and CLIP models-demonstrate that our method consistently outperforms SOTA hard-label attacks in both success rate and efficiency, particularly under low query budgets. Furthermore, our method demonstrates robust generalization across corrupted data (ImageNet-C), biomedical images (PathMNIST), and dense prediction tasks such as segmentation. Notably, it bypasses the stateful defense Blacklight, achieving a 0% detection rate.", "date": "2026-01-17", "categories": []} {"id": "2602.00979", "title": "GradingAttack: Exposing Security Vulnerabilities in LLM Based Educational Grading Agents", "abstract": "Large language models (LLMs) are increasingly deployed as educational agents for automatic short answer grading (ASAG) in real-world educational environments, significantly boosting assessment efficiency and scalability. However, when these grading agents operate ``in the wild'', their vulnerability to adversarial manipulation raises critical concerns about agent security and trustworthiness. In this paper, we introduce GradingAttack, a fine-grained adversarial attack framework that systematically evaluates the security vulnerabilities of LLM based educational grading agents. Specifically, we design token-level and prompt-level attack strategies that manipulate agent grading outcomes while maintaining high stealth, exposing fundamental weaknesses in current agent deployments. Experiments on multiple datasets demonstrate that both attack strategies effectively compromise grading agents, with prompt-level attacks achieving higher success rates and token-level attacks exhibiting superior stealth capability. Our findings reveal that current LLM based educational agents lack robust defenses against adversarial attacks, underscoring the urgent need for developing secure and trustworthy agent systems for critical educational applications.", "date": "2026-02-01", "categories": []} {"id": "2605.07590", "title": "Beyond Defenses: Manifold-Aligned Regularization for Intrinsic 3D Point Cloud Robustness", "abstract": "Despite extensive progress in point cloud robustness, existing methods primarily rely on augmentation strategies or defense mechanisms while overlooking the geometric nature of adversarial fragility. We hypothesize that adversarial vulnerability in 3D networks arises from a manifold misalignment between the latent geometry learned by the model and the intrinsic geometry of the underlying surface. Small, geometry-preserving perturbations along the input manifold often induce disproportionate distortions in feature space, potentially leading to misclassifications. We formalize this phenomenon by developing a geometric interpretation of 3D robustness that links classical adversarial theory to the intrinsic structure of point clouds. Motivated by this analysis, we introduce Manifold-Aligned Point Recognition (MAPR), a framework that regularizes the latent geometry by aligning predictions across intrinsic perturbations. MAPR augments each point cloud with intrinsic features capturing local curvature and diffusion structure, and applies a consistency loss that preserves invariance to intrinsic, geometry-preserving perturbations. Without relying on adversarial training or additional data, MAPR consistently improves robustness under multiple adversarial attacks across several datasets, achieving average robustness gains of +20.02 and +8.83 percentage points over vanilla models on ModelNet40 and ScanObjectNN, respectively.", "date": "2026-05-08", "categories": []} {"id": "2605.20519", "title": "Codec-Robust Attacks on Audio LLMs", "abstract": "Prior attacks on Audio Large Language Models (Audio LLMs) demonstrated that carefully crafted waveform-domain perturbations can force targeted adversarial outputs. As a defense mechanism against these attacks, real-world codec compression preprocessing has been studied to both detect and remove the perturbations. Yet no existing attack has demonstrated robustness against these compressions. We introduce CodecAttack, which optimizes a perturbation in a neural audio codec's continuous latent space rather than directly perturbing the audio waveform. We show that the codec's compression channel, which discards waveform perturbations, transmits perturbations crafted in its own latent space. To further harden the attack across real-world compression channels, we apply multi-bitrate straight-through Expectation-over-Transformation (EoT), all without modifying the target model. Across three realistic Audio LLM deployment scenarios and three target models, CodecAttack achieves an average 85.5% target-substring attack success rate (ASR) on Opus at moderate bitrates, while the waveform baseline trained with identical EoT hardening does not exceed 26% at any bitrate. The attack transfers to held-out codecs, reaching up to 100% ASR on MP3 and 84% on AAC-LC without retraining. A per-band energy analysis shows that the latent perturbation concentrates below 4kHz, exactly where codecs allocate the most bits, while the waveform baseline spreads into higher frequencies that codecs discard. These results demonstrate that lossy compression is not a reliable defense against adversarial audio and that codec-aware attacks pose a practical threat to deployed Audio LLM systems.", "date": "2026-05-19", "categories": []} {"id": "2605.22984", "title": "Test-Time Training Undermines Safety Guardrails", "abstract": "Test-Time Training (TTT) is an emerging paradigm that enables models to adapt their parameters during inference, improving performance on tasks such as few-shot learning, retrieval-augmented generation, and complex reasoning. However, this dynamic adaptation introduces new vulnerabilities that adversaries can exploit to jailbreak models. We identify three threat models for TTT and demonstrate how attackers can leverage them to bypass safety filters. Our results show that TTT can significantly increase the Attack Success Rate (ASR) and the ASR over 10 generation trials (ASR@10). For example, under LoRA, the few-shot and generation-phase threat models achieve an average ASR@10 of 95% and 93% respectively, across models from different families and scales. These vulnerabilities transfer to production fine-tuning APIs. We also show that TTT-induced overfitting can produce degenerate outputs that inflate ASR under standard judges, and propose a validity-aware evaluation to correct for this. Our findings suggest that TTT exposes a new attack surface, strengthens attacks, and undermines existing safety guardrails. As a first step toward defense, we propose a lightweight provider-side detector that flags TTT requests via the perplexity shift on a private harmful holdout, but robust deployment will ultimately require dynamic alignment.", "date": "2026-05-21", "categories": []} {"id": "2605.23065", "title": "Dithering Defense: Adversarial Robustness of Vision Foundation Models via Multi-Level Floyd-Steinberg Dithering", "abstract": "Vision foundation models are widely used as frozen backbones across many downstream tasks, making them a single point of failure under adversarial attack. We study multi-level Floyd-Steinberg error-diffusion dithering as a lightweight, model-agnostic input transformation that disrupts adversarial perturbations while preserving semantic content. Unlike prior work, which was limited to binary dithering, grayscale CIFAR-10, and a single small model trained from scratch, we evaluate across six tasks (classification, segmentation, depth estimation, retrieval, captioning, visual question answering), two model families (DINOv2, PaliGemma), and three attacks of increasing strength (PGD, MI-FGSM, SIA), as well as an adaptive attacker using a straight-through estimator. Our results show that Floyd-Steinberg dithering at intermediate quantization levels, especially when combined with post-processing blur, exceeds or matches all tested baselines, including diffusion-based denoising, with substantially less degradation on clean inputs.", "date": "2026-05-21", "categories": []} {"id": "2605.23220", "title": "WMAttack: Automated Attack Search for Adversarial Evaluation of World-Model Agents", "abstract": "Despite the growing use of world models as decision-making agents, their adversarial robustness remains underexplored due to the lack of dedicated automated evaluation methods. A key obstacle is that attack evaluation must be both accurate and efficient: weak manually tuned attacks can overestimate robustness, while exhaustive hyperparameter search is prohibitively expensive because each candidate requires closed-loop rollouts through learned latent dynamics. We introduce WMAttack, an automated attack-search framework for adversarial evaluation of world-model agents. WMAttack formulates robustness evaluation as a finite-budget search over attack configurations, including attack families, perturbation budgets, optimization steps, restarts, and allocation rules. To improve search accuracy, Self-Correcting Attack Search (SCAS) refines the attack proposal distribution using feedback from reward degradation, action instability, runtime cost, and rollout variability. To improve search efficiency, Representation-Guided Attack Retrieval (RGAR) retrieves effective historical configurations from representation-similar tasks, providing a warm start for unseen environments. We provide a theoretical explanation showing that proposal refinement improves finite-budget search when it shifts probability mass toward high-utility attacks. Across Atari and DeepMind Control tasks, WMAttack consistently discovers stronger attacks than the evaluated baselines, improving normalized reward drop from 0.497 to 1.034 on DreamerV3 Atari and from 0.319 to 0.682 on DMC. Ablations further show that RGAR improves initial candidate quality and SCAS improves final attack utility under fixed evaluation budgets.", "date": "2026-05-22", "categories": []} {"id": "2605.23411", "title": "Sample-wise Targeted Adversarial Attacks on Test-time Adaptation", "abstract": "Test-time adaptation (TTA) effectively counters distribution shifts but exposes models to adversarial manipulation via the unlabeled test stream. Existing class-wise targeted attacks remain impractical for stealthy exploitation in this setting: since TTA operates on batches, forcing a subset of samples toward a target label unintentionally pulls similar benign samples along, resulting in a conspicuously high frequency of the target label that is easy to detect. To capture a more realistic threat, we introduce a sample-wise targeted attack. Unlike prior approaches, the attacker aims to misclassify only inputs carrying an attacker-chosen trigger, while preserving the global label distribution of benign queries to evade detection. To achieve this, we propose a meta-learning-based attack with a novel priority-aware gradient alignment strategy that explicitly prioritizes attack success. The strategy formulates the gradient update as an ellipsoidal trust-region problem, mitigating the misalignment between attack success and distributional stealth, while providing theoretical guarantees for effective optimization of the attack objective in the presence of gradient misalignment. Extensive experiments on CIFAR-10-C, CIFAR-100-C, and ImageNet-C across TTA protocols demonstrate that our method achieves high targeted success rates while maintaining a label distribution that is consistent with the no-attack baseline, making it difficult to detect in unlabeled TTA deployment scenarios. Furthermore, we demonstrate that our attack shows strong robustness against existing defenses.", "date": "2026-05-22", "categories": []} {"id": "2605.23623", "title": "Adversarial Vulnerability Under Temporal Concept Drift: A Longitudinal Study of Android Malware Detection", "abstract": "We present a longitudinal, drift-aware evaluation of adversarial robustness across more than a decade of Android applications using static and dynamic feature representations extracted from emulator and real-device executions. The dataset is organized into yearly slices and evaluated under three deployment protocols that emulate realistic learning scenarios: (1) same-year training and testing, (2) cross-year deployment without model updates, and (3) expanding-window retraining with cumulative historical data. Across multiple classifier families, adversarial examples are generated using FGSM and SPSA under feasibility constraints. We measure clean performance, Adversarial Accuracy (AA), Attack Success Rate (ASR), and introduce temporal linkage metrics -- RobustDrop, $\\Delta$ASR, and Adversarial Amplification Factor (AAF) -- to quantify the relationship between distribution shift and robustness degradation.nResults show that temporal separation is associated with reduced adversarial robustness under the evaluated transfer-based feature-space setting. As the train-test gap increases, clean accuracy and adversarial accuracy decline, while attack success exhibits configuration-dependent increases, particularly under FGSM perturbations and static features. Expanding-window retraining mitigates, but does not eliminate, robustness loss under continued distributional evolution. These findings indicate that temporal drift should be considered when assessing the long-term robustness of intelligent detection systems under evolving data distributions and highlight the need for drift-aware robustness assessment frameworks in long-lived adversarial environments.", "date": "2026-05-22", "categories": []} {"id": "2209.03358", "title": "Attacking the Spike: On the Transferability and Security of Spiking Neural Networks to Adversarial Examples", "abstract": "Spiking neural networks (SNNs) have attracted much attention for their high energy efficiency and recent advances in classification performance. However, unlike traditional deep learning approaches, the study of SNN robustness to adversarial examples remains relatively underdeveloped. In this work, we advance the adversarial attack side of SNNs through three contributions. First, we show that successful white-box adversarial attacks on SNNs are highly dependent on the underlying surrogate gradient estimator, even for adversarially trained SNNs. Second, using the best single surrogate gradient estimator, we analyze the transferability of adversarial attacks across SNNs, Vision Transformers (ViTs) and CNNs. Our analysis reveals two key gaps: no existing white-box attack exploits multiple surrogate gradient estimators for SNNs, and no single-model attack reliably generates adversarial examples that simultaneously fool both SNN and non-SNN models. For our third contribution, we develop the Mixed Dynamic Spiking Estimation (MDSE) attack to address these issues. MDSE uses a dynamic gradient estimation scheme to fully exploit multiple surrogate gradient estimator functions and generates adversarial examples capable of fooling SNN and non-SNN models simultaneously. MDSE is up to 91.4% more effective on SNN/ViT model ensembles and provides a 3x boost on adversarially trained SNN ensembles compared to conventional white-box attacks like Auto-PGD. Experiments cover three datasets (CIFAR-10, CIFAR-100, ImageNet) and nineteen classifier models (seven per CIFAR dataset, five for ImageNet). Our implementation of MDSE and the evaluated models is publicly available at https://github.com/nuoxuxxx/attacking-the-spike-mdse.", "date": "2022-09-07", "categories": []} {"id": "2605.10067", "title": "Metis: Learning to Jailbreak LLMs via Self-Evolving Metacognitive Policy Optimization", "abstract": "Red teaming is critical for uncovering vulnerabilities in Large Language Models (LLMs). While automated methods have improved scalability, existing approaches often rely on static heuristics or stochastic search, rendering them brittle against advanced safety alignment. To address this, we introduce Metis, a framework that reformulates jailbreaking as inference-time policy optimization within an adversarial Partially Observable Markov Decision Process (POMDP). Metis employs a self-evolving metacognitive loop to perform causal diagnosis of a target's defense logic and leverages structured feedback as a semantic gradient to refine its policy, offering enhanced interpretability through transparent reasoning traces. Extensive evaluations across 10 diverse models demonstrate that Metis achieves the strongest average Attack Success Rate (ASR) among compared methods at 89.2%, maintaining high efficacy on resilient frontier models (e.g., 76.0% on O1 and 78.0% on GPT-5-chat) where traditional baselines exhibit substantial performance degradation. By replacing redundant exploration with directed optimization, Metis reduces token costs by an average of 8.2x and up to 11.4x. Our analysis reveals that current defenses remain vulnerable to internally-steered, closed-loop reasoning trajectories under the tested settings, highlighting a critical need for next-generation defenses capable of reasoning about safety dynamically during inference.", "date": "2026-05-11", "categories": []} {"id": "2605.21541", "title": "Frequency-Domain Regularized Adversarial Alignment for Transferable Attacks against Closed-Source MLLMs", "abstract": "Multimodal large language models (MLLMs) remain vulnerable to transfer-based targeted attacks, where perturbations optimized on open-source surrogate encoders can generalize to closed-source MLLMs. A key challenge for improving adversarial transferability is to effectively capture the intrinsic visual focus shared across different models, such that perturbations align with transferable semantic cues rather than surrogate-specific behaviors. However, existing methods suffer from spatial-domain feature redundancy and surrogate-specific gradient signals, thereby hindering cross-model transferability. In this paper, we propose FRA-Attack, which addresses both challenges from a unified frequency-domain regularization perspective. For feature alignment, a high-pass DCT objective on patch features suppresses redundant global structures and concentrates the loss on the high-frequency band that carries the MLLMs' intrinsic visual focus. For gradient optimization, we introduce Frequency-domain Gradient Regularization (FGR), a \\textit{model-agnostic} low-pass regularizer that modulates the surrogate gradient using only the geometric frequency coordinate, \\textit{i.e.}, no surrogate-derived statistic is involved, so that FGR is model-agnostic by construction, removing surrogate-specific high-frequency artifacts while preserving transferable low-frequency directions. Together, the two components form a unified frequency-domain treatment of transferability. Extensive experiments on $15$ flagship MLLMs across $7$ vendors show that FRA-Attack achieves superior cross-model transferability, particularly with state-of-the-art performance on GPT-5.4, Claude-Opus-4.6 and Gemini-3-flash.", "date": "2026-05-20", "categories": []} {"id": "2605.21780", "title": "Provable Robustness against Backdoor Attacks via the Primal-Dual Perspective on Differential Privacy", "abstract": "Randomized smoothing is a powerful tool for certifying robustness to adversarial perturbations, including poisoning attacks via randomized training and evasion attacks via randomized inference. Extending these guarantees to backdoor attacks, where training and test data are jointly perturbed, remains challenging because training- and test-time randomized mechanisms must be analyzed within a single robustness certificate. We address this by connecting randomized smoothing to the dual view of differential privacy through privacy profiles, which provide a numerical procedure for composing heterogeneous mechanisms. The resulting framework enables tight, modular, end-to-end certification of complex, composed mechanisms while leveraging existing analyses of differentially private mechanisms. We instantiate the framework for DP-SGD and Deep Partition Aggregation with inference-time smoothing, deriving joint robustness guarantees against both training-time and inference-time attacks. Experiments on MNIST and CIFAR-10 demonstrate the effectiveness of our framework. Overall, we provide a principled and general framework for using composite mechanisms to certify robustness under complex threat models that better capture the capabilities of real-world adversaries.", "date": "2026-05-20", "categories": []} {"id": "2605.21948", "title": "SCI-Defense: Defending Manipulation Attacks from Generative Engine Optimization", "abstract": "LLM-based ranking systems are vulnerable to Generative Engine Optimization (GEO) attacks, where adversaries inject semantic signals into product descriptions to artificially boost rankings. We propose SCI-Defense, a three-component defense framework combining Perplexity detection (PPL), Semantic Integrity Scoring (SIS), and Inter-Candidate Detection (ICD). SIS evaluates four manipulation dimensions: Authority Attribution (AA), Narrative Purposiveness (NP), Comparative Claims (CA), and Temporal Claims (TC). Evaluated on 600 Amazon product descriptions across 6 categories, SCI-Defense achieves Precision=1.000 and FPR=0.000, with Recall of 1.000, 0.952, and 0.830 against String, Reasoning, and Review attacks respectively. On 600 MS MARCO web passages, String attacks are blocked with perfect recall while Review attacks yield near-zero recall, as web passages lack the persuasion-oriented signals that SIS targets in product descriptions. We demonstrate that existing defenses -- PPL-only filters, SafetyClf content classifiers, and paraphrasing -- achieve zero recall against semantic manipulation attacks. We further demonstrate new attacks such as Specification Amplification and Use-Case Saturation can expose semantic relevance manipulation as a structural defense blind spot that suggests directions for future research.", "date": "2026-05-21", "categories": []} {"id": "2605.21999", "title": "Toward Understanding Adversarial Distillation: Why Robust Teachers Fail", "abstract": "Adversarial Distillation aims to enhance student robustness by guiding the student with a robust teacher's soft labels within the min-max adversarial training framework, yet its success is notoriously inconsistent: a more robust teacher often fails to improve, or even harms, the student's robust generalization. In this paper, we identify a key mechanism of this teacher dependency: the misalignment between the teacher's supervisory confidence and the student's representational limitations on a consistent subset of training data -- the Robustly Unlearnable Set. We present a theoretical framework analyzing the feature learning dynamics of a two-layer neural network, demonstrating that this mismatch creates a dichotomy in distillation outcomes. We prove that when a teacher provides confident supervision on unlearnable samples, it compels the student to memorize spurious noise patterns that eventually overpower the learned robust signal, thereby driving robust overfitting. Conversely, a teacher that exhibits high uncertainty on these samples effectively suppresses noise memorization, allowing the student to rely solely on the learnable signal for robust generalization. We empirically validate our theory across both synthetic simulations and real-image classification datasets, confirming that robust overfitting is driven by the teacher's interaction with unlearnable samples. Finally, we demonstrate that a teacher's predictive entropy on unlearnable samples serves as a strong indicator of student robustness, validating our theoretical framework and offering a principled guideline for robust teacher selection.", "date": "2026-05-21", "categories": []} {"id": "2605.22122", "title": "Adversarial Trust Poisoning in Vehicular Collaborative Perception", "abstract": "Collaborative perception (CP) enables connected and autonomous vehicles to share sensor data and jointly reason about their environment. To defend against adversaries that fabricate or manipulate shared data, existing systems employ cross-vehicle inconsistency detection and trust estimation, penalizing vehicles whose observations conflict with the majority. In this work, we show that these defenses themselves introduce a new attack surface. We present TrustFlip, a novel attack that weaponizes consistency-based defenses to poison the trust assigned to benign vehicles. Instead of injecting false data into the collaboration pipeline, it deploys physical adversarial objects that are genuine but induce inconsistent observations among benign vehicles. The resulting inconsistencies are misattributed by the defense to the targeted vehicle, causing its trust score to degrade and eventually leading to its downweighting or exclusion from collaboration. Consequently, the system loses reliable sensing contributors, degrading perception capability and potentially inducing safety-critical failures. We evaluate TrustFlip across multiple collaborative perception architectures and defense mechanisms. Our results show that state-of-the-art defenses can be significantly affected: the attack removes the targeted benign vehicle from collaboration in up to 87.7% of scenarios and drops Average Precision (AP) by up to 13%. As an initial mitigation, we introduce TrustReflect, a lightweight self-reflection mechanism that marks disputed regions as uncertain and excludes them from trust evaluation, reducing the attack success rate by 35-100%.", "date": "2026-05-21", "categories": []} {"id": "2605.22273", "title": "Exposing Vulnerabilities in Visible-Infrared VLMs: A Unified Geometric Adversarial Framework with Cross-Task Transferability", "abstract": "Vision-language models (VLMs) have achieved strong performance across diverse multimodal tasks, but their adversarial robustness in visible-infrared (VIS-IR) scenarios remains underexplored. This gap is critical because VIS-IR sensing is widely used in real-world perception systems to support reliable understanding under challenging imaging conditions. To address this cross-modal threat setting, we propose CFGPatch, a curved-edge fractal geometric adversarial patch framework for attacking VIS-IR VLMs. CFGPatch builds on triangular fractal geometry and replaces rigid straight-edged primitives with Bezier-curved elements, preserving multi-scale fractal self-similarity while introducing smoother contours, richer directional variation, and more flexible shape deformation. In addition, we design a modality-specific Fraser-spiral rendering mechanism to inject fine-grained texture distortions and misleading perceptual cues into visible and infrared images. By coupling global curved-fractal geometry with local spiral-based appearance interference, CFGPatch disrupts both shape perception and texture interpretation. We further adopt expectation over transformation (EOT) to improve robustness against common image-level transformations. Extensive experiments show that CFGPatch effectively fools VIS-IR VLMs and consistently outperforms standard patch baselines in attack effectiveness and robustness. Moreover, adversarial samples optimized for zero-shot classification transfer well to image captioning and visual question answering, demonstrating strong cross-task transferability and generalizability across downstream tasks.", "date": "2026-05-21", "categories": []} {"id": "2502.02844", "title": "Wolfpack Adversarial Attack for Robust Multi-Agent Reinforcement Learning", "abstract": "Traditional robust methods in multi-agent reinforcement learning (MARL) often struggle against coordinated adversarial attacks in cooperative scenarios. To address this limitation, we propose the Wolfpack Adversarial Attack framework, inspired by wolf hunting strategies, which targets an initial agent and its assisting agents to disrupt cooperation. Additionally, we introduce the Wolfpack-Adversarial Learning for MARL (WALL) framework, which trains robust MARL policies to defend against the proposed Wolfpack attack by fostering systemwide collaboration. Experimental results underscore the devastating impact of the Wolfpack attack and the significant robustness improvements achieved by WALL. Our code is available at https://github.com/sunwoolee0504/WALL.", "date": "2025-02-05", "categories": []} {"id": "2605.20308", "title": "SDM: A Powerful Tool for Evaluating Model Robustness", "abstract": "Gradient-based attacks are important methods for evaluating model robustness. However, since the proposal of APGD, it has been difficult for such methods to achieve significant breakthroughs. To achieve such an effect, we first analyze the issue of \"high-loss non-adversarial examples\" that degrades attack performance in previous methods, and prove that this issue arises from inappropriate objectives for adversarial example generation. Subsequently, we reconstruct the objective as \"maximizing the difference between the non-ground-truth label probability upper bound and the ground-truth label probability\", and proposes a novel and powerful gradient-based attack method named Sequential Difference Maximization (SDM). SDM establishes a three-layer optimization framework of \"cycle-stage-step\". It adopts the negative probability loss function and the Directional Probability Difference Ratio (DPDR) loss function in the initial and subsequent optimization stages, respectively, and approaches the ideal objective of adversarial example generation via stage-wise sequential optimization. Experiments demonstrate that compared with previous state-of-the-art methods, SDM not only achieves stronger attack performance but also exhibits superior cost-effectiveness. The code is available at https://github.com/X-L-Liu/ICML-SDM.", "date": "2026-05-19", "categories": []} {"id": "2412.00404", "title": "Hard-Label Black-Box Attacks on 3D Point Clouds", "abstract": "With the maturity of depth sensors in various 3D safety-critical applications, 3D point cloud models have been shown to be vulnerable to adversarial attacks. Almost all existing 3D attackers simply follow the white-box or black-box setting to iteratively update coordinate perturbations based on back-propagated or estimated gradients. However, these methods are hard to deploy in real-world scenarios (no model details are provided) as they severely rely on parameters or output logits of victim models. To this end, we propose point cloud attacks from a more practical setting, i.e., hard-label black-box attack, in which attackers can only access the prediction label of 3D input. We introduce a novel 3D attack method based on a new spectrum-aware decision boundary algorithm to generate high-quality adversarial samples. In particular, we first construct a class-aware model decision boundary, by developing a learnable spectrum-fusion strategy to adaptively fuse point clouds of different classes in the spectral domain, aiming to craft their intermediate samples without distorting the original geometry. Then, we devise an iterative coordinate-spectrum optimization method with curvature-aware boundary search to move the intermediate sample along the decision boundary for generating adversarial point clouds with trivial perturbations. Experiments demonstrate that our attack competitively outperforms existing white/black-box attackers in terms of attack performance and adversary quality.", "date": "2024-11-30", "categories": []} {"id": "2509.15435", "title": "ORCA: An Agentic Reasoning Framework for Hallucination and Adversarial Robustness in Vision-Language Models", "abstract": "Large Vision-Language Models (LVLMs) exhibit strong multimodal capabilities but remain vulnerable to hallucinations from intrinsic errors and adversarial attacks from external exploitations, limiting their reliability in real-world applications. We present ORCA, an agentic reasoning framework that improves the factual accuracy and adversarial robustness of pretrained LVLMs through inference-time structured inference reasoning with a suite of small vision models (less than 3B parameters). ORCA operates via an Observe-Reason-Critique-Act loop, querying multiple visual tools with evidential questions, validating cross-model inconsistencies, and refining predictions iteratively without access to model internals or retraining. ORCA also stores intermediate reasoning traces, which supports auditable decision-making. Though designed primarily to mitigate object-level hallucinations, ORCA also exhibits emergent adversarial robustness without requiring adversarial training or defense mechanisms. We evaluate ORCA across three settings: (1) clean images on hallucination benchmarks, (2) adversarially perturbed images without defense, and (3) adversarially perturbed images with defense applied. On the POPE hallucination benchmark, ORCA improves standalone LVLMs performance by +3.64% to +40.67% across different subsets. Under adversarial perturbations on POPE, ORCA achieves an average accuracy gain of +20.11% across LVLMs. When combined with defense techniques on adversarially perturbed AMBER images, ORCA further improves standalone LVLM performance, with gains ranging from +1.20% to +48.00% across metrics. These results demonstrate that ORCA offers a promising path toward building more reliable and robust multimodal systems.", "date": "2025-09-18", "categories": []} {"id": "2601.16200", "title": "Feature-Space Smoothing: Certified Robustness of Deep Representations", "abstract": "Modern deep learning models exhibit strong capabilities across diverse applications, yet remain vulnerable to malicious inputs that induce erroneous predictions via feature-space distortion. To address this vulnerability, we propose Feature-space Smoothing (FS), a general defense framework that provides certified robustness at the feature representation level. We show that FS converts a given feature encoder into a smoothed variant that is guaranteed to maintain a certified lower bound on the cosine similarity between clean and adversarial features under l_2-bounded perturbations. We then establish that this Feature Cosine Similarity Bound (FCSB) can be extended to the prediction-wise certification under the cosine similarity measure, and the value of FCSB is determined by the encoder intrinsic Gaussian robustness score. Building on those insights, we introduce the Gaussian Smoothness Booster (GSB), a plug-and-play module to improve the encoder Gaussian robustness score. Specifically, the GSB module is plugged to enhance the feature-space consistency and maintain the feature utility for downstream tasks under Gaussian perturbations. This design enables seamless integration of FS on the protected model, e.g., Multimodal Large Language Models (MLLMs), without additional model retraining or alignment, improving its robustness while preserving the performance for downstream task-oriented decoding. Extensive experiments demonstrate that integrating FS consistently provides non-trivial certified robustness and significantly improves task-oriented performance under strong white-box adversarial attacks across diverse models and applications.", "date": "2026-01-22", "categories": []} {"id": "2605.18821", "title": "Quantum Adversarial Machine Learning: From Classical Adaptations to Quantum-Native Methods", "abstract": "Machine learning has revolutionized numerous industrial domains. Despite recent advances, machine learning models remain vulnerable to adversarial threats. Adversarial machine learning is a field that studies these vulnerabilities to build robust machine learning models. Quantum machine learning is an interdisciplinary field that bridges quantum computing and classical machine learning. While quantum machine learning shows potentials to outperform classical machine learning in complex tasks such as regression, classification, and generative modeling, it remains vulnerable to adversarial attacks. Given the recent advancements in quantum computing and machine learning, the quantum adversarial machine learning field has emerged to study the vulnerabilities of quantum machine learning, possible attacks, and novel quantum-enhanced defense strategies. In this survey, we provide a detailed overview on quantum adversarial machine learning and explore the existing attacks and countermeasures. We also review the theoretical underpinnings of this area, emerging trends, and critical challenges.", "date": "2026-05-12", "categories": []} {"id": "2605.18868", "title": "DarkLLM: Learning Language-Driven Adversarial Attacks with Large Language Models", "abstract": "While vision and multimodal foundation models underpin critical tasks from perception to complex reasoning, they remain highly vulnerable to adversarial attacks. However, traditional adversarial attacks are typically limited to single, predefined objectives, tightly coupling each attack to a specific model or task, which restricts their scalability and flexibility in real-world scenarios. In this work, we present DarkLLM, a novel attack framework that trains an LLM to translate natural-language attack instructions into latent attack vectors, which are then decoded into visual adversarial perturbations. By leveraging natural-language instruction tuning, DarkLLM not only unifies targeted, untargeted, segmentation, and multi-model attacks within a single framework, but also achieves flexible and controllable adversarial generation, enabling each instruction to produce a perturbation that induces desired behaviors across heterogeneous models. Through extensive experiments across 4 tasks, 13 datasets, and 15 models, we demonstrate that DarkLLM with only 1B parameters can follow attacker instructions and generate highly effective attacks against CLIP, SAM, and frontier LLMs, revealing a systemic vulnerability in modern foundation models.", "date": "2026-05-15", "categories": []} {"id": "2605.18919", "title": "MoCo-EA: Exploiting Adversarial Mode Connectivity for Efficient Evolutionary Attacks", "abstract": "Evolutionary algorithms for adversarial attacks leverage population-based search to discover perturbations without gradient information, but suffer from inefficient crossover operations that destroy adversarial properties through discrete interpolation. We introduce Mode Connectivity Evolutionary Attack (MoCo-EA), which replaces traditional crossover with a novel B\\'ezier crossover operator that optimizes perturbations along a continuous B\\'ezier curve between parent perturbations. Our key insight is that adversarial examples lie on connected manifolds where intermediate points maintain and often enhance attack effectiveness. We demonstrate three findings: (1) Successful adversarial perturbations exhibit mode connectivity; (2) Intermediate points along optimized paths achieve higher transferability than endpoints; (3) B\\'ezier crossover dramatically outperforms discrete genetic operations while reducing convergence time and query requirements. By exploiting the geometric structure of adversarial space through path optimization, MoCo-EA provides an efficient and reliable method. Our work challenges the traditional view of adversarial examples as isolated points and opens new directions for both attack generation and defense research.", "date": "2026-05-18", "categories": []} {"id": "2605.19377", "title": "The Evaluation Game: Beyond Static LLM Benchmarking", "abstract": "As jailbreaks, adversarially crafted inputs that bypass safety constraints, continue to be discovered in Large Language Models, practitioners increasingly rely on fine-tuning as a defensive strategy. Yet the theoretical foundations underlying this robustness fine-tuning remain underexplored. We introduce a game-theoretic framework in which the interaction between an evaluator (auditing the model for jailbreaks) and a trainer is formalized as a two-player game.\n A key feature of our approach is the use of group actions, a mathematical structure that captures symmetries and transformations, to formally represent data augmentation. The simplest non-trivial instance is the circle with cyclic translation groups, where we exhibit various regimes depending on the trainer's generalization range. Below a critical threshold, the evaluator maintains a constant miss ratio for linearly many rounds, whereas other settings can yield very different behaviors. We further provide empirical evidence supporting locality-dependence of the model: for the three model families we tested (Llama, Qwen and Mistral), we have significant evidence that fine-tuning on adversarial prompts induces only local generalization, with refusal rates on test examples highly correlated with the distance to the fine-tuning prompts. Our framework recasts the central object of adversarial evaluation: a benchmark is not a static set of prompts but an orbit under the evaluator's group action, and audit protocols that ignore trainer-side adaptation cannot distinguish a genuine fix from a memorized patch.", "date": "2026-05-19", "categories": []} {"id": "2605.19446", "title": "Targeted Downstream-Agnostic Attack", "abstract": "Recently, pre-trained encoders have gained widespread use due to their strong capability in representation extraction. However, they are vulnerable to downstream-agnostic attacks (DAAs). Existing DAA methods operate under a permissive threat model, where an attack is successful if the generated downstream-agnostic adversarial examples (DAEs) change the original prediction, without requiring a specific target. In this paper, we propose a Targeted DAA (TDAA) method under a stricter threat model requiring the attack to be both targeted and downstream-agnostic. Since the downstream task is unknown and encoders do not directly produce predictions, achieving a targeted attack is particularly challenging. To address this, we introduce a novel component termed the 'threat image', pre-selected by the attacker as the target. Specifically, a generator is designed to produce example-specific adversarial perturbations that compel the victim encoder to output identical features for both the DAEs and the threat image. Unlike previous DAA methods that generate a single shared perturbation for all samples, which often fails due to image diversity, our method adopts an example-specific paradigm. This generates tailored perturbations for each image to ensure a high attack success rate and invisibility. By leveraging the threat image as a feature-level anchor, our method builds a task-agnostic bridge to reveal the vulnerabilities of the victim encoder. Extensive experiments on 10 self-supervised methods across 3 benchmark datasets demonstrate the effectiveness of our approach and reveal the pronounced vulnerability of pre-trained encoders. The code will be made publicly available after the review period.", "date": "2026-05-19", "categories": []} {"id": "2605.19956", "title": "Towards Fine-Grained Robustness: Attention-Guided Test-Time Prompt Tuning for Vision-Language Models", "abstract": "Vision-Language Models (VLMs), such as CLIP, have achieved significant zero-shot performance on downstream tasks with various fine-tuning adaptation methods. However, recent studies have proven that adversarial attacks can significantly degrade the inference ability of VLMs, posing substantial risks to their practical applications. Prevalent test-time adaptation methods typically rely on multi-view augmentation to implement various fine-tuning strategies, which struggle to identify semantic information and are prone to destroying discriminative regions in fine-grained scenarios. To address these limitations, we propose Attention-Guided Test-Time Prompt Tuning (A-TPT), a semantics-preserving method designed for test-time adaptation. We first refine the gradient attention rollout mechanism to identify semantically meaningful regions surviving under adversarial attacks. Furthermore, we leverage them to guide the spatially varying augmentation intensities and multi-view ensemble for prompt tuning and inference. Extensive experiments demonstrate that A-TPT outperforms existing test-time adaptation methods on both adversarial and clean data. Codes are available at https://github.com/SEU-VIPGroup/A-TPT .", "date": "2026-05-19", "categories": []} {"id": "2605.19966", "title": "Detecting Fluent Optimization-Based Adversarial Prompts via Sequential Entropy Changes", "abstract": "Optimization-based adversarial suffixes can jailbreak aligned large language models (LLMs) while remaining fluent, weakening static and windowed perplexity-based detectors. We cast adversarial suffix detection as an online change-point detection problem over the token-level next-token entropy stream. Using the LLM system prompt to estimate a robust baseline, we standardize user-token entropies and apply a one-sided CUSUM statistic. The resulting detector, CPD Online (CPD), is model-agnostic, training-free, runs online, and localizes the adversarial suffix onset. On a benchmark of 1,012 optimization-based suffix attacks (GCG, AutoDAN, AdvPrompter, BEAST, AutoDAN-HGA) and 1,012 perplexity-controlled benign prompts, CPD improves F1 over the strongest windowed-perplexity baseline on all six open-weight chat models (LLaMA-2-7B/13B, Vicuna-7B/13B, Qwen2.5-7B/14B). On LLaMA-2-7B at the canonical CUSUM setting ($k=0$), CPD reaches AUROC $0.88$ and F1 $0.82$. Beyond prompt-level detection, CPD concentrates 79.6% of its triggers inside the adversarial suffix, versus 17-46% for windowed perplexity. Finally, when used as a lightweight gate for LLaMA Guard, CPD reduces guard calls by 17-22% on a high-volume, benign-dominated deployment while preserving guard-level detection quality", "date": "2026-05-19", "categories": []} {"id": "2505.02360", "title": "Catastrophic Overfitting, Entropy Gap and Participation Ratio: A Noiseless $l^p$ Norm Solution for Fast Adversarial Training", "abstract": "Adversarial training is a cornerstone of robust deep learning, but fast methods like the Fast Gradient Sign Method (FGSM) often suffer from Catastrophic Overfitting (CO), where models become robust to single-step attacks but fail against multi-step variants. While existing solutions rely on noise injection, regularization, or gradient clipping, we propose a novel solution that purely controls the $l^p$ training norm to mitigate CO. Our study is motivated by the empirical observation that CO is more prevalent under the $l^{\\infty}$ norm than the $l^2$ norm. Leveraging this insight, we develop a framework for generalized $l^p$ attack as a fixed point problem and craft $l^p$-FGSM attacks to understand the transition mechanics from $l^2$ to $l^{\\infty}$. This leads to our core insight: CO emerges when highly concentrated gradients where information localizes in few dimensions interact with aggressive norm constraints. By quantifying gradient concentration through Participation Ratio and entropy measures, we develop an adaptive $l^p$-FGSM that automatically tunes the training norm based on gradient information. Extensive experiments demonstrate that this approach achieves strong robustness without requiring additional regularization or noise injection, providing a novel and theoretically-principled pathway to mitigate the CO problem.", "date": "2025-05-05", "categories": []} {"id": "2510.10140", "title": "Adversarial Attacks on Downstream Weather Forecasting Models: Application to Tropical Cyclone Trajectory Prediction", "abstract": "Deep learning-based weather forecasting (DLWF) models leverage past weather observations to generate future forecasts, supporting a wide range of downstream applications, including tropical cyclone (TC) prediction. In this paper, we investigate their vulnerability to adversarial attacks, where subtle perturbations to the upstream forecasts can alter the downstream TC trajectory predictions. Although research into adversarial attacks on DLWF models has grown recently, it remains challenging to craft perturbed upstream forecasts that steer the downstream outputs toward attacker-specified trajectories. First, conventional TC detection systems are opaque, non-differentiable black boxes, making standard gradient-based attacks infeasible. Second, the extreme rarity of TC events leads to severe class imbalance problem, making it difficult to develop attack methods for perturbing upstream forecasts that produce realistic-looking cyclone paths aligned with attacker's target trajectories. To overcome these limitations, we propose Cyc-Attack, a novel method for perturbing the upstream forecasts of DLWF models to generate adversarial trajectories. The proposed method uses a differentiable surrogate model to approximate the TC detector's output, enabling the application of gradient-based attacks. Cyc-Attack also employs a skewness-aware loss function with kernel dilation strategy to address the imbalance problem. Finally, a distance-based gradient weighting scheme and regularization are used to constrain the perturbations and eliminate unrealistic-looking trajectories, thereby making the adversarial upstream forecasts less easily detectable. Our experiments show that Cyc-Attack achieves a higher true positive rate in matching the attacker's target trajectories, along with lower false alarm rates and stealthier perturbations than conventional attack methods.", "date": "2025-10-11", "categories": []} {"id": "2601.21531", "title": "On the Adversarial Robustness of Large Vision-Language Models under Visual Token Compression", "abstract": "Visual token compression is widely used to accelerate large vision-language models (LVLMs) by pruning or merging visual tokens, yet its adversarial robustness remains unexplored. We show that existing encoder-based attacks cannot fully disclose the robustness vulnerabilities of compressed LVLMs, due to an optimization-inference mismatch: perturbations are optimized on the full-token representation, while inference is performed through a token-compression bottleneck. To address this gap, we propose the Compression-AliGnEd attack (CAGE), which aligns perturbation optimization with compression inference without assuming access to the deployed compression mechanism or its token budget. CAGE combines (i) expected feature disruption, which concentrates distortion on tokens likely to survive across plausible budgets, and (ii) rank distortion alignment, which actively aligns token distortions with rank scores to promote the retention of highly distorted evidence. Across diverse representative plug-and-play compression mechanisms and datasets, our results show that CAGE consistently achieves lower robust accuracy than the baseline. This work highlights that robustness assessments ignoring compression can be overly optimistic, calling for compression-aware security evaluation and defenses for efficient LVLMs.", "date": "2026-01-29", "categories": []} {"id": "2605.16312", "title": "When Actions Disappear: Adversarial Action Removal in Self-Play Reinforcement Learning", "abstract": "We study adversarial action masking in self-play reinforcement learning: an attacker selectively removes legal actions from a victim's action set. Unlike observation or action perturbations, removal eliminates decision options before the agent acts. Across poker games scaling from 6 to 5,531 information states and two non-poker domains, learned masking causes substantially more damage than random masking and learned perturbation baselines. The attack persists across Q-learning, PPO, NFSP, neural NFSP, and DQN victims; transfers across agents; is amplified by self-play; and shows no recovery under extended masked training. Mechanistically, the adversary targets high-value decision points, captured by reach-weighted contingent action capacity (CAC$_w$) and a value-weighted refinement CAC$_v$. These results identify action availability as a distinct robustness surface in self-play RL.", "date": "2026-05-04", "categories": []} {"id": "2605.16440", "title": "Semantic Smoothing via Novel View Synthesis for Robust SAR Image Classification", "abstract": "Deep neural networks are vulnerable to adversarial perturbations, limiting deployment in safety-critical applications such as synthetic aperture radar (SAR) automatic target recognition (ATR). Randomized smoothing improves robustness by averaging predictions over noisy inputs, but isotropic noise often fails to preserve the semantic structure of SAR imagery. We propose semantic smoothing, a defense that replaces noised-based perturbations with structured randomized transformations generated by a novel view synthesis model. For SAR, we condition on acquisition geometry to synthesize multiple plausible radar views. Predictions across generated randomized views are aggregated to form a robust classifier. Experiments show that semantic smoothing improves robustness against standard attacks, such as FGSM and PGD, and SAR-specific attacks, such as OTSA and SMGAA, while also increasing clean classification accuracy. These results demonstrate that randomized smoothing via semantically preserving geometric transformations is a promising alternative to isotropic noise for adversarial defense in structured sensing domains.", "date": "2026-05-15", "categories": []} {"id": "2605.16720", "title": "Compositional Adversarial Training for Robust Visual Watermarking", "abstract": "Robust watermarking is typically trained with random post-processing augmentation, but random sampling under-covers the combinatorial space of realistic attack pipelines and rarely encounters the rare compositions that actually break detection. This leads to unstable training and poor sample efficiency. We instead formulate watermark robustness as a min-max problem over a structured space of compositional transformations. We propose Compositional Adversarial Training (CAT), a plug-in framework that learns a sequential differentiable adversary that observes the current watermarked image and selects an attack family at each step to maximally disrupt message recovery. CAT combines a straight-through Gumbel-Softmax attack selection with entropy regularization, allowing the backward pass to be end-to-end differentiable and aggregate gradient information across attack families, yielding faster, smoother convergence without collapsing to a single attack mode. We evaluate CAT on post-generation watermarks VideoSeal 0.0, VideoSeal 1.0, and PixelSeal and in-generation WMAR under both single-step and two-step attack suites, on in-distribution and multiple out-of-distribution image and video benchmarks. CAT consistently outperforms random-augmentation baselines trained with the same augmentation budget, with the largest gains on hard composed attacks and OOD evaluations; improving overall watermark capacity by up to $63.5\\%$ in the single-step attack setting and $13.0\\%$ in the compositional setting. In the autoregressive setting, CAT improves the TPR@FPR$=1\\%$ by $12\\%$ on average on difficult geometric transformations. These results show that robust visual watermarking benefits from training against adaptive compositional adversaries rather than independent random corruptions.", "date": "2026-05-16", "categories": []} {"id": "2605.16993", "title": "Adversarial Fragility and Language Vulnerability in Clinical AI: A Systematic Audit of Diagnostic Collapse Under Imperceptible Perturbations and Cross-Lingual Drift in Low-Resource Healthcare Settings", "abstract": "Current clinical artificial intelligence (AI) systems are evaluated almost exclusively on clean, standardised, English-language inputs, conditions that do not reflect the realities of healthcare delivery in low-resource settings. This study presents the first systematic dual audit of two orthogonal safety vulnerabilities in clinical AI: adversarial image fragility and cross-lingual diagnostic drift. Using DenseNet121, the architecture underlying CheXNet, fine-tuned on the COVID-QU-Ex chest X-ray dataset (85,318 images; COVID-19, Non-COVID Pneumonia, Normal), we demonstrate that diagnostic accuracy collapses from 89.3% to 62.0% under a Fast Gradient Method (FGM) perturbation of epsilon=0.021, a magnitude imperceptible to the human eye. Standard defensive strategies including Gaussian smoothing and ensemble voting failed to restore clinical safety. In a parallel language fragility experiment, we tested Llama3.1:8b and NatLAS (N-ATLAS) on 20 COVID-19 clinical cases presented in Standard English, Nigerian Pidgin (Naija), and Yoruba-inflected English. Both models exhibited significant accuracy degradation: Llama3.1:8b dropped from 80.0% to 65.0% on Pidgin; NatLAS, an African-context model, collapsed from 85.0% to 55.0%, with diagnosis consistency falling to 50%. These findings establish a quantitative failure envelope for clinical AI under conditions representative of Primary Health Centre (PHC) deployment in Nigeria, and motivate urgent calls for adversarially hardened, linguistically inclusive clinical AI architectures.", "date": "2026-05-16", "categories": []} {"id": "2605.17577", "title": "TAME: Test-Time Adversarial Prompt Tuning via Mixture-of-Experts for Vision-Language Models", "abstract": "Large-scale pre-trained Vision-Language models (VLMs), such as CLIP, exhibit strong zero-shot generalization, yet remain highly vulnerable to imperceptible adversarial perturbations, raising serious safety concerns for open-world deployment. To enhance robustness without requiring downstream task-specific retraining, we propose TAME, a novel test-time defense. Building upon our prior Test-Time Adversarial Prompt Tuning (TAPT), TAME introduces an architectural reformulation by replacing TAPT's single adaptive prompt with an input-conditioned Mixture-of-Experts (MoE) framework, enabling more expressive and adaptive defense. Specifically, TAME maintains a bank of learnable expert prompts and employs an input-dependent routing mechanism to aggregate a customized prompt mixture for each unlabeled test sample at inference time. This test-time defense mechanism is driven by three unsupervised objectives: (1) multi-view prediction entropy minimization, (2) layer-wise alignment of visual token statistics to precomputed clean and adversarial reference distributions, and (3) MoE regularization for balanced expert utilization and prompt diversity. We evaluated TAME on 11 benchmark datasets, including ImageNet and 10 additional zero-shot datasets. The results show that TAME improves the zero-shot adversarial robustness of the original CLIP by at least 49.1% under AutoAttack while largely preserving generalization on clean samples. TAME also consistently outperforms existing adversarial prompt tuning methods across multiple prompt designs, yielding an average robustness gain of at least 30.2%.", "date": "2026-05-17", "categories": []} {"id": "2605.17772", "title": "Towards Universal Physical Adversarial Attacks via a Joint Multi-Objective and Multi-Model Optimization Framework", "abstract": "Physical adversarial attacks often overfit single surrogate models and optimization objectives. While ensemble attacks can mitigate this, existing methods struggle with severe gradient conflicts within restricted physical texture spaces, significantly degrading cross-model transferability. To bridge this gap, this paper proposes a Joint Multi-Objective and Multi-Model Optimization Framework (JMOF) that leverages quantitative similarity analysis to select the optimal surrogate model ensemble. Within JMOF, a dual-level mechanism jointly suppresses prediction outputs and flattens intermediate feature distributions, balancing attack efficiency with deep generalization. Additionally, an Orthogonal Gradient Alignment (OGA) strategy resolves cross-model gradient conflicts, transforming mutually repulsive gradients into synergistic optimization directions. Extensive simulated and real-world experiments demonstrate that JMOF outperforms state-of-the-art baselines against diverse black-box detectors. Crucially, JMOF exhibits substantial cross-vision-task generalization, generating attacks capable of simultaneously deceiving object detection and semantic segmentation or monocular depth estimation models. This research advances the generalization limits of physical adversarial attacks, providing a robust framework for evaluating visual AI vulnerabilities in real-world deployments.", "date": "2026-05-18", "categories": []} {"id": "2605.17822", "title": "Unleashing the Representational Power of Fourier Shapes for Attacking Infrared Object Detection", "abstract": "Infrared object detection is crucial for perception in autonomous driving and surveillance but remains vulnerable to physical adversarial attacks. Unlike in the RGB domain, where attacks rely on color texture, infrared attacks must manipulate thermal signatures, making the geometry shape of heat-blocking materials the primary adversarial information carrier. Current shape-based methods suffer from a fundamental trade-off between representational capability and optimization power, limiting their attack effectiveness.In this work, we overcome this dilemma by introducing learnable Fourier shapes to the infrared domain. We utilize an end-to-end differentiable framework where a compact set of Fourier coefficients, defining the shape boundary, is analytically mapped to a pixel-space mask via the winding number theorem. This enables efficient gradient-based optimization to generate potent shapes that cause human targets to evade detection. Extensive digital and physical experiments provide a comprehensive evaluation and validate our superior performance. Our resulting physical patch achieves striking robustness, successfully evading detectors across diverse distances, angles, poses, and individuals, and achieves over 88% attack success rate at distances greater than 25m (conf.=0.5). Code is available at https://github.com/Yongyx99/Fourier-shape-attack.", "date": "2026-05-18", "categories": []} {"id": "2605.17936", "title": "Universal Adversarial Triggers", "abstract": "Recent works have illustrated that modern NLP models trained for diverse tasks ranging from sentiment analysis to language generation succumb to universal adversarial attacks, a class of input-agnostic attacks where a common trigger sequence is used to attack the model. Although these attacks are successful, the triggers generated by such attacks are ungrammatical and unnatural. Our work proposes a novel technique combining parts-of-speech filtering and perplexity based loss function to generate sensible triggers that are closer to natural phrases. For the task of sentiment analysis on the SST dataset, the method produces sensible triggers that achieve accuracies as low as 0.04 and 0.12 for flipping positive to negative predictions and vice-versa. To build robust models, we also perform adversarial training using the generated triggers that increases the accuracy of the model from 0.12 to 0.48. We aim to illustrate that adversarial attacks can be made difficult to detect by generating sensible triggers, and to facilitate robust model development through relevant defenses.", "date": "2026-05-18", "categories": []} {"id": "2605.18058", "title": "Threats to Arabic Handwriting Recognition: Investigating Black-Box Adversarial Attacks on embedded ConvNet models", "abstract": "Arabic handwriting recognition (AHR) has made significant progress with deep learning models. AHR research has largely focused on performance, with security receiving little attention. This study provides what appears to be a new line of inquiry by demonstrating the vulnerability of high-performing models to adversarial black-box attacks. The focus on black-box attacks reflects real-world scenarios where the attacker has no prior knowledge of the model architecture. Extensive experiments were conducted on two benchmark AHR datasets containing Arabic handwritten Characters. Results demonstrated the effectiveness of the attacks, with the Pixle attack achieving an attack success rate of 99-100\\% on most models. Other, less aggressive attacks achieved success rates of 50-96\\% across most experiments. Despite the higher attack success rate, the attacks maintain the structural integrity of the characters, rendering them almost imperceptible to the human eye. The findings indicate the higher vulnerability of the studied models to adversarial manipulation. This underscores the need to strengthen efforts to secure these models and ensure their reliability in AHR real-world applications.", "date": "2026-05-18", "categories": []} {"id": "2605.18624", "title": "Learning to Look Benign: Targeted Evasion of Malware Detectors via API Import Injection", "abstract": "Machine learning-based malware detectors are widely deployed in antivirus and endpoint detection systems, yet their reliance on static features makes them vulnerable to adversarial manipulation. This paper investigates whether a malware sample can be intentionally misclassified as a specific benign software category, not merely as \"not malware\", by adding a small number of Win32 API imports characteristic of that selected category, without removing any existing imports or retraining the detector. We propose a framework centered on a Conditional Variational Autoencoder (CVAE) whose decoder is strictly additive. It can introduce new API calls but never remove existing ones, preserving malware functionality by design. For each malware sample, the framework automatically identifies which benign category it most closely resembles and uses that as the evasion target. A knowledge-distilled differentiable proxy enables gradient-based training against the non-differentiable ensemble detector. Experiments on a six-class dataset of binary Win32 API import vectors extracted from 3,799 Windows executables (five benign categories, one malware class) show that, against a detector achieving 87.5% malware recall, adding just 20 API imports reduces recall to 30%. At k=20, among samples that evaded detection, 99% are classified as the intended target category. The CVAE outperforms both a frequency-based baseline and random selection at every tested injection size (k = 5 to 50). Validation on real PE files submitted to VirusTotal confirms that the attack transfers to commercial static detection engines, with an average 54.5% reduction in flagging engines. These findings expose a concrete vulnerability in API-based malware classifiers and demonstrate that targeted evasion into a chosen benign category is achievable with minimal, functionality-preserving modifications.", "date": "2026-05-18", "categories": []} {"id": "2605.18666", "title": "A No-Defense Defense Against Gradient-Based Adversarial Attacks on ML-NIDS: Is Less More?", "abstract": "Gradient-based adversarial attacks subtly manipulate inputs of Machine Learning (ML) models to induce incorrect predictions. This paper investigates whether careful architectural choices alone can yield an inherently robust Deep Neural Network (DNN)-based Network Intrusion Detection Systems (NIDS), without any additional explicit defenses. Through thousands of experiments, around 2200, varying network depth, feature dimensionality, activation functions, and dropout across FGSM, PGD, and BIM attacks, we show that shallower networks, reduced feature sets, and ReLU activation consistently and jointly reduce adversarial vulnerability. Moreover, a simple model following this recipe outperforms deeper, fully-featured adversarially trained models, while maintaining near-perfect clean-traffic detection and lower training times. Nevertheless, while less is more, the selection of the right less is what truly matters.", "date": "2026-05-18", "categories": []} {"id": "2406.18944", "title": "Rethinking and Red-Teaming Protective Perturbation in Personalized Diffusion Models", "abstract": "Personalized diffusion models (PDMs) have become prominent for adapting pre-trained text-to-image models to generate images of specific subjects using minimal training data. However, PDMs are susceptible to minor adversarial perturbations, leading to significant degradation when fine-tuned on corrupted datasets. These vulnerabilities are exploited to create protective perturbations that prevent unauthorized image generation. Existing purification methods attempt to red-team the protective perturbation to break the protection but often over-purify images, resulting in information loss. In this work, we conduct an in-depth analysis of the fine-tuning process of PDMs through the lens of shortcut learning. We hypothesize and empirically demonstrate that adversarial perturbations induce a latent-space misalignment between images and their text prompts in the CLIP embedding space. This misalignment causes the model to erroneously associate noisy patterns with unique identifiers during fine-tuning, resulting in poor generalization. Based on these insights, we propose a systematic red-teaming framework that includes data purification and contrastive decoupling learning. We first employ off-the-shelf image restoration techniques to realign images with their original semantic content in latent space. Then, we introduce contrastive decoupling learning with noise tokens to decouple the learning of personalized concepts from spurious noise patterns. Our study not only uncovers shortcut learning vulnerabilities in PDMs but also provides a thorough evaluation framework for developing stronger protection. Our extensive evaluation demonstrates its advantages over existing purification methods and its robustness against adaptive perturbations.", "date": "2024-06-27", "categories": []} {"id": "2605.15249", "title": "Enabling Adversarial Robustness in AI Models through Kubeflow MLOps", "abstract": "AI models are increasingly deployed in cloud-native environments to support scalable and automated services. However, while platforms such as Kubernetes provide strong infrastructure orchestration, security mechanisms specifically designed to protect deployed AI models remain limited. This paper presents security measures for AI models deployed in Kubernetes clusters. The proposed architecture integrates Kubeflow-based MLOps to automatically detect adversarial attacks during the inference phase and trigger defense mechanisms that preserve the model's accuracy and reliability. Specifically, a Fast Gradient Sign Method (FGSM) attack is applied at inference time, and a Projected Gradient Descent (PGD)-based adversarial training defense is automatically deployed when a degradation in accuracy is detected. The experimental results indicate that the deployed defense robustifies the model, significantly recovering accuracy relative to the degradation caused by the attack.", "date": "2026-05-14", "categories": []} {"id": "2605.15584", "title": "AGC: Adaptive Geodesic Correction for Adversarial Robustness on Vision-Language Models", "abstract": "Vision-language models like CLIP have demonstrated remarkable zero-shot transfer capabilities. However, their susceptibility to imperceptible adversarial perturbations remains a critical security concern. While test-time defenses offer a pragmatic solution for deployed models, existing approaches typically rely on gradient-based optimization during inference, incurring significant computational overhead. In this paper, we revisit the role of data augmentation in CLIP robustness and observe that augmentations are not equally effective: specific augmentations consistently provide robust geometric cues that align with correct class semantics in the hyperspherical feature space. Based on this, we propose Adaptive Geodesic Correction (AGC), a training-free defense mechanism that requires no parameter updates. AGC identifies a reliable augmentation as a geometric anchor and corrects the input feature towards it, utilizing an adaptive step size to balance robustness against clean accuracy preservation. AGC achieves superior performance across eight fine-grained datasets and three CLIP backbones, improving average robust accuracy by 44.4\\% over state-of-the-art baseline while delivering a 10$\\times$ reduction in inference latency. Our findings reveal a fundamental geometric property of CLIP features, offering a highly efficient and effective paradigm for robust multimodal deployment.", "date": "2026-05-15", "categories": []} {"id": "2605.16090", "title": "A Cross-Modal Prompt Injection Attack against Large Vision-Language Models with Image-Only Perturbation", "abstract": "Large vision-language models (LVLMs) have emerged as a powerful paradigm for multimodal intelligence, but their growing deployment also expands the attack surface of prompt injection. Despite this growing concern, existing attacks still suffer from a critical limitation: the injected prompt for one modality only steers the model's interpretation of that singular input. Alternatively, these attacks remain multimodal but fail to achieve cross-modal prompt perturbation. To bridge this gap, we introduce a novel cross-modal prompt injection attack CrossMPI, which can steer the model's interpretation of both textual and visual inputs via image-only prompt injection. Our design is underpinned by the following key breakthroughs. First, we turn the focus of the injected prompt perturbation optimization from the visual embedding space (typically with only $10^5$ parameters) to the model hidden state space (for multimodal information integration and with $10^7$ parameters). Then, two strategies are adopted to mitigate the optimization challenges posed by the larger parameter space. To constrain the optimized model parameter space, we introduce a layer selection strategy that identifies the layers most critical to multimodal integration. Interestingly, deviating from the past experience, our analysis reveals that the optimal layers for LVLM prompt perturbation reside in the middle of the model rather than the last. To constrain the image perturbation space, we propose a new distance-decremental perturbation budget assignment strategy that allocates budgets decrementally as the pixel distance to semantic-critical regions increases. Extensive experiments across multiple LVLMs and datasets show that our method significantly outperforms baseline approaches.", "date": "2026-05-15", "categories": []} {"id": "2303.14511", "title": "Improving robustness of jet tagging algorithms with adversarial training: exploring the loss surface", "abstract": "In the field of high-energy physics, deep learning algorithms continue to gain in relevance and provide performance improvements over traditional methods, for example when identifying rare signals or finding complex patterns. From an analyst's perspective, obtaining highest possible performance is desirable, but recently, some attention has been shifted towards studying robustness of models to investigate how well these perform under slight distortions of input features. Especially for tasks that involve many (low-level) inputs, the application of deep neural networks brings new challenges. In the context of jet flavor tagging, adversarial attacks are used to probe a typical classifier's vulnerability and can be understood as a model for systematic uncertainties. A corresponding defense strategy, adversarial training, improves robustness, while maintaining high performance. Investigating the loss surface corresponding to the inputs and models in question reveals geometric interpretations of robustness, taking correlations into account.", "date": "2023-03-25", "categories": []} {"id": "2507.07776", "title": "SCOOTER: A Human Evaluation Framework for Unrestricted Adversarial Examples", "abstract": "Unrestricted adversarial attacks aim to fool computer vision models without being constrained by $\\ell_p$-norm bounds to remain imperceptible to humans, for example, by changing an object's color. This allows attackers to circumvent traditional, norm-bounded defense strategies such as adversarial training or certified defense strategies. However, due to their unrestricted nature, there are also no guarantees of norm-based imperceptibility, necessitating human evaluations to verify just how authentic these adversarial examples look. While some related work assesses this vital quality of adversarial attacks, none provide statistically significant insights. This issue necessitates a unified framework that supports and streamlines such an assessment for evaluating and comparing unrestricted attacks. To close this gap, we introduce SCOOTER - an open-source, statistically powered framework for evaluating unrestricted adversarial examples. Our contributions are: $(i)$ best-practice guidelines for crowd-study power, compensation, and Likert equivalence bounds to measure imperceptibility; $(ii)$ the first large-scale human vs. model comparison across 346 human participants showing that three color-space attacks and three diffusion-based attacks fail to produce imperceptible images. Furthermore, we found that GPT-4o can serve as a preliminary test for imperceptibility, but it only consistently detects adversarial examples for four out of six tested attacks; $(iii)$ open-source software tools, including a browser-based task template to collect annotations and analysis scripts in Python and R; $(iv)$ an ImageNet-derived benchmark dataset containing 3K real images, 7K adversarial examples, and over 34K human ratings. Our findings demonstrate that automated vision systems do not align with human perception, reinforcing the need for a ground-truth SCOOTER benchmark.", "date": "2025-07-10", "categories": []} {"id": "2601.01972", "title": "Hidden State Poisoning Attacks against Mamba-based Language Models", "abstract": "State space models (SSMs) like Mamba offer efficient alternatives to Transformer-based language models, with linear time complexity. Yet, their adversarial robustness remains critically unexplored. This paper studies the phenomenon whereby specific short input phrases induce a partial amnesia effect in such models, by irreversibly overwriting information in their hidden states, referred to as a Hidden State Poisoning Attack (HiSPA). Our benchmark RoBench-25 allows evaluating a model's information retrieval capabilities when subject to HiSPAs, and confirms the vulnerability of SSMs against such attacks. Even the recent Jamba-1.7-Mini SSM--Transformer (a 52B hybrid model) collapses on RoBench-25 under some HiSPA triggers, whereas pure Transformers do not. We also observe that HiSPA triggers significantly weaken the Jamba model on the popular Open-Prompt-Injections benchmark, unlike pure Transformers. We further show that the theoretical and empirical findings extend to Mamba-2, and also analyse a Mamba-2-based hybrid (Nemotron-3-Nano). Finally, our interpretability study reveals patterns in Mamba's hidden layers during HiSPAs that could be used to build a HiSPA mitigation system. The full code and data to reproduce the experiments can be found at https://anonymous.4open.science/r/hispa_anonymous-5DB0.", "date": "2026-01-05", "categories": []} {"id": "2605.09027", "title": "GAMBIT: A Three-Mode Benchmark for Adversarial Robustness in Multi-Agent LLM Collectives", "abstract": "In multi-agent systems (MAS), a single deceptive agent can nullify all gains of an agentic AI collective and evade deployed defenses. However, existing adversarial studies on MAS target only shallow tasks and do not consider adaptive adversaries, which evolve their strategies to evade the very detectors trained to catch them. To address that gap, we introduce GAMBIT, a benchmark with three evaluation modes and two independent scores for evaluating imposter detectors: the first two modes measure zero-shot detection under increasing distribution shift, and a third recalibration mode measures how quickly a detector adapts to novel attacks from just 20 labeled examples. The benchmark comes with a dataset of 27,804 labeled instances spanning 240 co-evolved imposter strategies. Our contributions are threefold: (1) Using chess as a substrate deep reasoning problem and Gemini 3.1 Pro for agents, we release GAMBIT and its dataset to evaluate imposter detectors under realistic constraints against a stealthy adaptive imposter; (2) We introduce an adaptive imposter agent based on an efficient evolutionary framework, generalizable beyond chess, that collapses collective task performance while remaining essentially undetectable (50.5% F1-score with a Gemini-based detector); (3) We show that zero-shot evaluation can be highly misleading for adaptive adversaries: two detectors with near-identical zero-shot scores differ by 8x on few-shot adaptation, while the meta-learned variant converges 20x faster, a gap only visible in the recalibration mode. Altogether, GAMBIT provides the first multi-agent benchmark where adversarial attacks and defenses co-evolve, with an imposter framework generalizable beyond our use case, and promising techniques for fast recalibration in a rapidly evolving adversarial system. Code and data: https://anonymous.4open.science/r/gambit.", "date": "2026-05-09", "categories": []} {"id": "2605.13213", "title": "Hierarchical Attacks for Multi-Modal Multi-Agent Reasoning", "abstract": "Multi-modal multi-agent systems (MM-MAS) have gained increasing attention for their capacity to enable complex reasoning and coordination across diverse modalities. As these systems continue to expand in scale and functionality, investigating their potential vulnerabilities has become increasingly important. However, existing studies on adversarial attacks in multi-agent systems primarily focus on isolated agents or unimodal settings, leaving the vulnerabilities of MM-MAS largely underexplored. To bridge this gap, we introduce HAM$^{3}$, a Hierarchical Attack framework for multi-modal multi-agent systems that decomposes attacks into three interconnected layers. Specifically, at the perception layer, HAM$^{3}$ mounts attacks by perturbing visual inputs, textual inputs, and their fused visual-textual representations. At the communication layer, it performs communication-level attacks that corrupt message content and interaction topology, such as manipulating shared context or communication links to distort collective information flow. At the reasoning layer, it conducts reasoning-level attacks that interfere with each agent's cognitive pipeline, biasing reasoning trajectories and ultimately compromising final decisions. We evaluate HAM$^{3}$ on the GQA benchmark through multi-agent systems built on distinct reasoning paradigms including ReAct, Plan-and-Solve, and Reflexion. Experiments demonstrate that our framework achieves an Attack Success Rate of up to 78.3%, with reasoning-layer attacks being the most effective. More than half of the successful attacks lead multiple agents to produce consistent errors. These findings offer valuable insights for building more robust and interpretable multi-agent intelligence.", "date": "2026-05-13", "categories": []} {"id": "2605.14396", "title": "Systematic Discovery of Semantic Attacks in Online Map Construction through Conditional Diffusion", "abstract": "Autonomous vehicles depend on online HD map construction to perceive lane boundaries, dividers, and pedestrian crossings -- safety-critical road elements that directly govern motion planning. While existing pixel perturbation attacks can disrupt the mapping, they can be neutralized by standard adversarial defenses. We present MIRAGE, a framework for systematic discovery of semantic attacks that bypass adversarial defenses and degrade mapping predictions by finding plausible environmental variation (e.g. shadows, wet roads). MIRAGE exploits the latent manifold of real-world data learned by diffusion models, and searches for semantically mutated scenes neighboring the ground truth with the same road topology yet mislead the mapping predictions. We evaluate MIRAGE on nuScenes and demonstrate two attacks: (1) boundary removal, suppressing 57.7% of detections and corrupting 96% of planned trajectories; and (2) boundary injection, the only method that successfully injects fictitious boundaries, while pixel PGD and AdvPatch fail entirely. Both attacks remain potent under various adversarial defenses. We use two independent VLM judges to quantify realism, where MIRAGE passes as realistic 80--84% of the time (vs. 97--99% for clean nuScenes), while AdvPatch only 0--9%. Our findings expose a categorical gap in current adversarial defenses: semantic-level perturbations that manifest as legitimate environmental variation are substantially harder to mitigate than pixel-level perturbations.", "date": "2026-05-14", "categories": []} {"id": "2605.14868", "title": "Fast Adversarial Attacks with Gradient Prediction", "abstract": "Generating adversarial examples at scale is a core primitive for robustness evaluation, adversarial training, and red-teaming, yet even \"fast\" attacks such as FGSM remain throughput-limited by the cost of a backward pass. We introduce a family of attacks that eliminates the backward pass by predicting the input gradient from forward-pass hidden states via a lightweight linear regression. The approach is motivated by a kernel view of neural networks and is exact in the Neural Tangent Kernel regime, while remaining effective for practical finite-width models. Empirically, our methods recover much of FGSM's attack performance while using only a small fraction of the time, corresponding to a $532\\%$ increase in throughput. These results suggest gradient prediction as a simple and general route to significantly faster adversarial generation under realistic wall-clock constraints.", "date": "2026-05-14", "categories": []} {"id": "2603.29917", "title": "Diffusion-Based Feature Denoising with NNMF for Robust handwritten digit multi-class classification", "abstract": "This work presents a robust multi-class classification framework for handwritten digits that combines diffusion-driven feature denoising with a hybrid feature representation. Inspired by our previous work on brain tumor classification, the proposed approach operates in a feature space to improve the robustness to noise and adversarial attacks. This manuscript is submitted as an extended abstract rather than a full-length press-ready paper. First, the input images are converted into tight, interpretable exemplification using Non-negative Matrix Factorization (NNMF). In parallel, special deep features are extracted using a computational neural network (CNN). These integral features are combined into a united hybrid representation. The main objective of this work is to extend our previously validated two-class framework to a multi-class handwritten digit classification scenario. To improve robustness, a step diffusion operation is used in the feature space by gradually adding Gaussian noise. A feature denoiser network is trained to reverse this operation and rebuild clean representations from tilted inputs. The courteous features are then applied for multi-class classification. The suggested method is evaluated in both baseline and adversarial settings using AutoAttack. The experimental outcome present that the diffusion-based hybrid model is both effective and robust, the CNN baseline models outperforming while maintain powerful classification performance. These results explain the activity of feature-level diffusion defense for reliable multi-class handwritten digit classification.", "date": "2026-03-31", "categories": []} {"id": "2605.11492", "title": "A Mimetic Detector for Adversarial Image Perturbations", "abstract": "Adversarial attacks fool deep image classifiers by adding tiny, almost invisible noise patterns to a clean image. The standard $\\ell^\\infty$-bounded attacks (FGSM, PGD, and the $\\ell^\\infty$ variant of Carlini--Wagner) produce high-frequency, near-random sign patterns at the pixel level: nearly invisible in $\\ell^2$, but carrying disproportionate gradient energy. We exploit this with a single-shot, training-free detector using the high-order Corbino--Castillo mimetic operators from the open-source MOLE library. No retraining, no surrogate classifier, no access to the network under attack: the verdict is a property of the input alone, computed in $O(HW)$ time. We validate the detector on the standard \\texttt{peppers} test image at the canonical $\\ell^\\infty$ budget $\\varepsilon = 16/255$ and observe a clean-vs-adversarial separation that grows monotonically from $3.55\\times$ at order $k=2$ to $4.62\\times$ at $k=8$.", "date": "2026-05-12", "categories": []} {"id": "2605.12876", "title": "Certified Robustness under Heterogeneous Perturbations via Hybrid Randomized Smoothing", "abstract": "Randomized smoothing provides strong, model-agnostic robustness certificates, but existing guarantees are limited to single modalities, treating continuous and discrete inputs in isolation. This limitation becomes critical in multimodal models, where decisions depend on cross-modal semantics and adversaries can jointly perturb heterogeneous inputs, rendering unimodal certificates insufficient. We introduce a unified randomized smoothing framework for mixed discrete--continuous inputs based on an analytically tractable Neyman--Pearson formulation of the joint worst-case problem. By analyzing the joint likelihood ordering induced by factorized discrete and continuous noise, our approach yields a closed-form, one-dimensional certificate that strictly generalizes both Gaussian (image-only) and discrete (text-only) randomized smoothing. We validate the framework on multimodal safety filtering, providing, to our knowledge, the first model-agnostic Neyman--Pearson certificate for joint discrete-token and continuous-image perturbations in interaction-dependent text--image safety filtering.", "date": "2026-05-13", "categories": []} {"id": "2605.13170", "title": "Finding the Weakest Link: Adversarial Attack against Multi-Agent Communications", "abstract": "Multi-agent systems rely on communication for information sharing and action coordination, which exposes a vulnerability to attacks. We investigate single-victim communication perturbation attacks against Multi-Agent Reinforcement Learning-trained systems and propose methods that use gradient information from the Jacobian to identify which messages, agent, and timesteps are most susceptible to attack and have the greatest impact on the system. We enhance these methods with two proposed adversarial loss functions that trade-off attack success for attack impact which also create more effective perturbations. We empirically demonstrate the effectiveness of our methods against two different multi-agent communication methods in navigation, PredatorPrey, and TrafficJunction environments. Our results show that our novel message selection method achieves a similar or greater impact than random message selection across almost all tested scenarios. Our victim selection, message selection, tempo, and loss functions improve attack effectiveness in half of the thirty scenarios we tested.", "date": "2026-05-13", "categories": []} {"id": "2605.13381", "title": "Backbone is All You Need: Assessing Vulnerabilities of Frozen Foundation Models in Synthetic Image Forensics", "abstract": "As AI-generated synthetic images become increasingly realistic, Vision Transformers (ViTs) have emerged as a cornerstone of modern deepfake detection. However, the prevailing reliance on frozen, pre-trained backbones introduces a subtle yet critical vulnerability. In this work, we present the Surrogate Iterative Adversarial Attack (SIAA), a gray-box attack that exploits knowledge of the detector's ViT backbone alone and operates entirely within the target detector's feature space to craft highly effective adversarial examples. Through our experiments, involving multiple ViT-based detectors and diverse gray-box scenarios, including few-shot learning, complete training misalignment and attack transferability tests, we demonstrate that this vulnerability consistently yields high attack success rates, often approaching white-box performance. By doing so, we reveal that backbone knowledge alone is sufficient to undermine detector reliability, highlighting the urgent need for more resilient defenses in adversarial multimedia forensics.", "date": "2026-05-13", "categories": []} {"id": "2605.13395", "title": "Taming the Long Tail: Rebalancing Adversarial Training via Adaptive Perturbation", "abstract": "Deep neural networks are highly vulnerable to adversarial examples, i.e.,small perturbations that can significantly degrade model performance. While adversarial training has become the primary defense strategy, most studies focus on balanced datasets, overlooking the challenges posed by real-world long-tail data. Motivated by the fact that perturbations in adversarial examples inherently alter the training distribution, we theoretically investigate their impact. We first revisit adversarial training for long-tail data and identify two key limitations: (i) a skewed training objective caused by class imbalance, and (ii) unstable evolution of adversarial distributions. Furthermore, we show that perturbations can simultaneously address both adversarial vulnerability and class imbalance. Based on these insights, we propose RobustLT, a plug-and-play framework that adaptively adjusts perturbations during adversarial training. Extensive experiments demonstrate that RobustLT consistently enhances adversarial robustness and class-balance on long-tailed datasets. The code is available at \\href{https://github.com/zhang-lilin/RobustLT}{https://github.com/zhang-lilin/RobustLT}.", "date": "2026-05-13", "categories": []} {"id": "2512.20865", "title": "Robustness Certificates for Neural Networks against Adversarial Attacks", "abstract": "The increasing use of machine learning in safety-critical domains amplifies the risk of adversarial threats, especially data poisoning attacks that corrupt training data to degrade performance or induce unsafe behavior. Most existing defenses lack formal guarantees or rely on restrictive assumptions about the model class, attack type, extent of poisoning, or point-wise certification, limiting their practical reliability. This paper introduces a principled formal robustness certification framework that models gradient-based training as a discrete-time dynamical system (dt-DS) and formulates poisoning robustness as a formal safety verification problem. By adapting the concept of barrier certificates (BCs) from control theory, we introduce sufficient conditions to certify a robust radius ensuring that the terminal model remains safe under worst-case ${\\ell}_p$-norm based poisoning. To make this practical, we parameterize BCs as neural networks trained on finite sets of poisoned trajectories. We further derive probably approximately correct (PAC) bounds by solving a scenario convex program (SCP), which yields a confidence lower bound on the certified robustness radius generalizing beyond the training set. Importantly, our framework also extends to certification against test-time attacks, making it the first unified framework to provide formal guarantees in both training and test-time attack settings. Experiments on MNIST, SVHN, and CIFAR-10 show that our approach certifies non-trivial perturbation budgets while being model-agnostic and requiring no prior knowledge of the attack or contamination level.", "date": "2025-12-24", "categories": []} {"id": "2605.03629", "title": "Adversarial Effects on Expressibility and Trainability in Distributed Variational Quantum Algorithms", "abstract": "Distributed quantum algorithms offer a promising pathway to scale variational quantum algorithms beyond the constraints of noisy intermediate-scale quantum hardware. However, existing approaches implicitly assume a trusted entanglement-sharing layer across quantum processors. We show that this assumption introduces a fundamental vulnerability: adversarial perturbations of shared entanglement induce structured gate-level noise that directly impacts quantum learning. We develop a framework that maps entanglement-level perturbations to gate-level noise via an explicit Kraus representation. To quantify their impact, we introduce Kraus expressibility, a metric that generalizes unitary expressibility to noisy quantum channels. We then establish a trade-off between Kraus expressibility and trainability of noisy quantum circuits through gradient variance analysis. Our analysis reveals that an adversary can manipulate Kraus expressibility to maintain sufficiently large cost gradients (avoiding barren plateaus) while systematically biasing optimization toward incorrect solutions. We validate these findings through numerical simulations, demonstrating adversarial degradation of expressibility and trainability.", "date": "2026-05-05", "categories": []} {"id": "2605.10954", "title": "Controlled Steering-Based State Preparation for Adversarial-Robust Quantum Machine Learning", "abstract": "Quantum machine learning (QML) provides a promising framework for leveraging quantum-mechanical effects in learning tasks. However, its vulnerability to adversarial perturbations remains a major challenge for practical deployment. In QML systems, small perturbations applied to classical inputs can propagate through the quantum encoding stage and distort the resulting quantum state, thereby degrading model performance. In this work, we propose a defense mechanism that replaces the conventional quantum encoding stage of a QML model with passive steering-based controlled state preparation, which guides the encoded state toward a controlled intermediate state. By tuning the steering strength and the number of steering iterations, the proposed method suppresses the influence of adversarial perturbations while maintaining high clean accuracy and improving adversarial accuracy. Experimental results demonstrate that the passive steering-based defense consistently improves adversarial accuracy across different QML models and datasets under gradient-based adversarial attacks, achieving adversarial accuracy improvements of up to 40.19%.", "date": "2026-04-30", "categories": []} {"id": "2605.00445", "title": "The Power of Order: Fooling LLMs with Adversarial Table Permutations", "abstract": "Large Language Models have achieved remarkable success and are increasingly deployed in critical applications involving tabular data, such as Table Question Answering. However, their robustness to the structure of this input remains a critical, unaddressed question. This paper demonstrates that modern LLMs exhibit a significant vulnerability to the layout of tabular data. Specifically, we show that semantically-invariant permutations of rows and columns - rearrangements that do not alter the table's underlying information - are sometimes sufficient to cause incorrect or inconsistent model outputs. To systematically probe this vulnerability, we introduce Adversarial Table Permutation, a novel, gradient-based attack that efficiently identifies worst-case permutations designed to maximally disrupt model performance. Our extensive experiments demonstrate that ATP significantly degrades the performance of a wide range of LLMs. This reveals a pervasive vulnerability across different model sizes and architectures, including the most recent and popular models. Our findings expose a fundamental weakness in how current LLMs process structured data, underscoring the urgent need to develop permutation-robust models for reliable, real-world applications.", "date": "2026-05-01", "categories": []} {"id": "2605.08257", "title": "Research on Security Enhancement Methods for Adversarial Robust Large Language Model Intelligent Agents for Medical Decision-Making Tasks", "abstract": "Motivated by the challenge to improve the adversarial robustness, security, and trust of medical decision making intelligent agents, this study develops a full-link security enhancement framework, which describes \"input risk perception - medical evidence constraint - knowledge consistency verification - decision confidence reweighting - security output control - adversarial feedback update.\" We propose ARSM-Agent and define a weighted joint objective consisting of decision accuracy loss, adversarial robustness loss, safety refusal loss, and knowledge consistency loss, with weights of 0.3, 0.3, 0.2, and 0.2, respectively. The whole medical decision formulation is implemented by multi-module collaborative linkage. We verify that the algorithm is more efficient than four baselines, including LLM-Agent, Retrieval-Agent, Filter-Agent, and Adv-Train-Agent. Under semantic perturbation, prompt injection, drug-name confusion, and false-evidence attacks, ARSM-Agent reduces the overall attack success rate to 8.7% and achieves a knowledge consistency score of 0.91. Ablation experiments quantify each module's contribution: removing risk perception, evidence retrieval, consistency verification, and confidence reweighting reduces accuracy by 6.7%, 9.1%, 7.6%, and 4.4%, respectively, and increases attack success rate by 13.8%, 11.1%, 8.6%, and 6.9%. The proposed approach addresses key security issues of medical decision making intelligent agents, obtains secure decision making in challenging scenarios, and provides reliable intelligent support for medical decision-making intelligent agents.", "date": "2026-05-07", "categories": []} {"id": "2605.08440", "title": "TARO: Temporal Adversarial Rectification Optimization Using Diffusion Models as Purifiers", "abstract": "Adversarial purification with diffusion models seeks to project adversarial examples back toward the data manifold, but balancing semantic preservation and robustness against adaptive attacks remains challenging. Recent work shows that standard diffusion purification can fail under adaptive evaluation, while test-time score-based optimization is more resilient. Existing optimization defenses, however, typically rely on a single diffusion noise regime or treat timesteps uniformly, overlooking the distinct roles of coarse and fine denoising scales. We propose Temporal Adversarial Rectification Optimization (TARO), an inference-time purification method that builds a temporally guided score prior from multiple denoising views along the diffusion trajectory. TARO forms a coarse-to-fine residual target: high-noise experts provide globally smoothed structure with reduced adversarial sensitivity, while low-noise experts restore image-specific, class-relevant details. A guidance strength controls this temporal correction, allowing TARO to balance robust global rectification with semantic preservation. Empirically, TARO improves robust accuracy across datasets and adaptive threat models in a zero-shot setting, while remaining compatible with complementary adversarial-likelihood objectives for further robustness gains.", "date": "2026-05-08", "categories": []} {"id": "2605.08896", "title": "FragileFlow: Spectral Control of Correct-but-Fragile Predictions for Foundation Model Robustness", "abstract": "Robust adaptation of LLMs and VLMs is often evaluated by average accuracy or average consistency under perturbations. However, these averages can hide a structured failure mode: a prediction may remain correct while probability mass already flows from particular true classes toward systematic wrong competitors near the decision boundary. In this paper, we formalize this phenomenon as margin-aware error flow and introduce FragileFlow, a plug-in regularizer that uses a calibrated margin buffer to identify correct-but-fragile predictions and organize their off-class probability mass into a class-wise vulnerable-risk matrix. Theoretically, we provide the first PAC-Bayes upper bound for this margin-aware error-flow object, showing how empirical spectral control yields a conservative route to deterministic worst-class robustness under a stability condition. Experiments on multiple-choice LLM benchmarks and few-shot CLIP adaptation show that FragileFlow consistently improves the proposed theory-facing risk measures over matched baselines, yields perturbed worst-class accuracy gains in most settings, and preserves clean accuracy across comparisons.", "date": "2026-05-09", "categories": []} {"id": "2605.08898", "title": "LLM-Agnostic Semantic Representation Attack", "abstract": "Large Language Models (LLMs) increasingly employ alignment techniques to prevent harmful outputs. Despite these safeguards, attackers can circumvent them by crafting adversarial prompts. Predominant token-level optimization methods primarily rely on optimizing for exact affirmative templates (e.g., ``\\textit{Sure, here is...}''). However, these paradigms frequently encounter bottlenecks such as suboptimal convergence, compromised prompt naturalness, and poor cross-model generalization. To address these limitations, we propose Semantic Representation Attack (SRA), a novel LLM-agnostic paradigm that fundamentally reconceptualizes adversarial objectives from exact textual targeting to malicious semantic representations. Theoretically, we establish the semantic Coherence-Convergence Relationship and derive a Cross-Model Semantic Generalization bound, proving that maintaining semantic coherence guarantees both white-box semantic convergence and black-box transferability. Technically, we operationalize this framework via the Semantic Representation Heuristic Search (SRHS) algorithm, which preserves interpretability and structural coherence of the adversarial prompts during incremental discrete token chunk expansion. Extensive evaluations demonstrate that our framework achieves a 99.71% average attack success rate across 26 open-source LLMs, with strong transferability and stealth.", "date": "2026-05-09", "categories": []} {"id": "2605.08910", "title": "Enhancing Adversarial Robustness in Network Intrusion Detection: A Layer-wise Adaptive Regularization Approach", "abstract": "The new wave of adversarial attacks that utilize gradient-related vulnerabilities in neural network-based classifiers makes Network Intrusion Detection Systems more open to such threats. Although state-of-the-art adversarial training methods have shown promising results in producing more robust classifiers, their interpretability and defense ability are limited due to their lack of understanding of how adversarial attacks propagate in different layers of network classifiers. In this paper, we present an insightful approach, called LARAR (Layer-wise Adversarial Robustness using Adaptive Regularization), that incorporates additional layer-wise vulnerability analysis and adaptive weighting in conventional adversarial training methods. Additionally, we utilize 'Auxiliary Classifiers' in our approach. LARAR provides interpretable layer-wise vulnerability scores, achieves a clean accuracy of 95.01%, and provides better robustness against adversarial attacks (FGSM, PGD, and transfer attacks) on the UNSW-NB15 dataset. Through the identification of vulnerable layers, the proposed framework reduces computational complexity and enables the early detection of adversarial samples, thus enhancing the effectiveness and interpretability of adversarial defense mechanisms in NIDS.", "date": "2026-05-09", "categories": []} {"id": "2605.09902", "title": "Adversarial Attacks Against MLLMs via Progressive Resolution Processing and Adaptive Feature Alignment", "abstract": "Adversarial perturbations can mislead Multimodal Large Language Models (MLLMs) recognize a benign image as a specific target object, posing serious risks in safety-critical scenarios such as autonomous driving and medical diagnosis. This makes transfer-based targeted attacks crucial for understanding and improving black-box MLLM robustness. Existing transfer-based targeted attack methods typically rely on the final global features of the surrogate encoder and anchor optimization to original-resolution target crops, leading to their limited transferability and robustness. To address these challenges, we propose Progressive Resolution Processing and Adaptive Feature Alignment (PRAF-Attack), a targeted transfer-based attack framework that integrates multi-scale global semantic guidance with robust intermediate-layer local alignment. Unlike prior methods that align only the surrogate encoder's final layer, we design an adaptive feature alignment strategy that leverages intermediate representations to enhance transferability. Specifically, we introduce an adaptive intermediate layer selection mechanism to identify transferable hierarchical features across surrogate ensembles via gradient consistency, along with an adaptive patch-level optimization strategy that preserves highly correlated local regions through efficient patch filtering. To overcome the reliance on fixed original-resolution target crops, we propose a progressive resolution processing strategy that gradually refines optimization from coarse to fine, enabling the attack to better exploit target information at multiple scales and achieve stronger transferability. We evaluate PRAF-Attack on a diverse suite of black-box MLLMs, including six open-source models and six closed-source commercial APIs. Compared with seven state-of-the-art targeted attack baselines, the proposed PRAF-Attack consistently achieves superior transferability.", "date": "2026-05-11", "categories": []} {"id": "2605.10183", "title": "Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization", "abstract": "Sharpness-Aware Minimization (SAM) improves generalization by minimizing the worst-case loss within a fixed parameter-space radius neighborhood. SAM and its variants mainly rely on a first-order linearized surrogate, while flat minima are inherently a second-order (curvature) notion.We revisit this mismatch and propose Loss-Equated SAM (LE-SAM), which inverts the traditional SAM mechanism that fixed perturbation radius with a fixed loss-space budget,effectively removing gradient-norm-dominated learning signals and shifting optimization toward curvature-dominated terms. Extensive experiments across diverse benchmarks and tasks demonstrate the strong generalization ability of LESAM that consistently outperforms SAM and even its variants, achieving the state-of-the-art performance.", "date": "2026-05-11", "categories": []} {"id": "2605.06902", "title": "Streaming Adversarial Robustness in Fuzzy ARTMAP: Mechanism-Aligned Evaluation, Progressive Training, and Interpretable Diagnostics", "abstract": "Adversarial robustness has been studied extensively for offline deep networks, but less is known about strict single-pass streaming neural learners. This paper studies adversarial robustness in Fuzzy ARTMAP, an Adaptive Resonance Theory architecture based on category competition, complement coding, match tracking, and replay-free prototype updates. We introduce WB-Softmax, a differentiable white-box attack surrogate aligned with ARTMAP's category-competition and map-field prediction mechanism, and formalize a streaming evaluation principle requiring robustness to be assessed on the final deployed model. Across four image benchmarks, WB-Softmax achieves 89-100% attack success on vanilla Fuzzy ARTMAP models. We show that defense rankings can reverse across protocols: offline adversarial training may appear strong under transfer attacks yet collapse under adaptive white-box evaluation, whereas progressive two-stage selective training provides the strongest overall replay-free robustness. We further show that ART's explicit category geometry enables interpretable diagnosis of separation collapse and match-score inversion. These results provide a mechanism-aligned, protocol-aware framework for adversarial robustness in streaming prototype-based learners.", "date": "2026-05-07", "categories": []} {"id": "2605.07138", "title": "Can You Break RLVER? Probing Adversarial Robustness of RL-Trained Empathetic Agents", "abstract": "Reinforcement learning from verifiable emotion rewards RLVER has produced language models with strong empathetic performance, evaluated on benchmarks that assume cooperative, honest users. Yet real emotional interactions systematically violate this assumption: users gaslight, escalate, and pressure AI systems for unconditional validation, dynamics that cooperative benchmarks cannot surface. We construct the Adversarial Empathy Benchmark AEB and introduce the Emotional Consistency Score ECS to evaluate empathetic robustness under adversarial conditions. AEB comprises six psychologically grounded adversarial trajectory types with discriminative reward structures that penalize formulaic responses; ECS formally disentangles a model's capacity to track user emotional states from its capacity to improve them. In a controlled experiment across eight scenario-matched conditions (think and no-think conditions on 2 RLVER models, and 2 base models (Qwen 1.5B and 7B) with 480 adversarial dialogues), RLVER-PPO-Think substantially outperforms the same-scale untuned baseline (0.963 vs. 0.761, \\(p<0.001, r=0.688\\)), with zero dialogue collapses and 47\\% higher hidden-intention detection. However, ECS remains nearly flat and is not significantly different for RLVER-PPO-Think versus Base-7B-Think (\\(p=0.650\\)): RL training improves emotional responsiveness without measurable gains in observable state tracking. We interpret the ECS--FS (Final Score) gap as a behavioral/legibility dissociation inside this simulator family, not as evidence about internal understanding or clinical readiness.", "date": "2026-05-08", "categories": []} {"id": "2605.07398", "title": "Exposing and Mitigating Temporal Attack in Deepfake Video Detection", "abstract": "While spatiotemporal deepfake detectors achieve high AUC, our experiments reveal their susceptibility to evasion attacks. These models tend to overfit on fragile temporal spectrum cues, rather than learning robust semantic causality. To mitigate this vulnerability, we propose SpInShield, a temporal spectral-invariant defense framework explicitly designed to decouple semantic motion from manipulatable spectral artifacts. We propose a learnable spectral adversary that dynamically synthesizes severe spectral deformations, simulating extreme attack scenarios. By employing a shortcut suppression optimization strategy, SpInShield compels the encoder to extract reliable forensic cues while purging unstable spectral statistics from the latent space. Experiments show that SpInShield obtains competitive performance on widely used datasets and outperforms the strongest baseline by 21.30 percentage points in AUC under simulated amplitude spectral attacks.", "date": "2026-05-08", "categories": []} {"id": "2605.07447", "title": "Sparse Autoencoders as Plug-and-Play Firewalls for Adversarial Attack Detection in VLMs", "abstract": "Vision-language models (VLMs) have advanced rapidly and are increasingly deployed in real-world applications, especially with the rise of agent-based systems. However, their safety has received relatively limited attention. Even the latest proprietary and open-weight VLMs remain highly vulnerable to adversarial attacks, leaving downstream applications exposed to significant risks. In this work, we propose a novel and lightweight adversarial attack detection framework based on sparse autoencoders (SAEs), termed SAEgis. By inserting an SAE module into a pretrained VLM and training it with standard reconstruction objectives, we find that the learned sparse latent features naturally capture attack-relevant signals. These features enable reliable classification of whether an input image has been adversarially perturbed, even for previously unseen samples. Extensive experiments show that SAEgis achieves strong performance across in-domain, cross-domain, and cross-attack settings, with particularly large improvements in cross-domain generalization compared to existing baselines. In addition, combining signals from multiple layers further improves robustness and stability. To the best of our knowledge, this is the first work to explore SAE as a plug-and-play mechanism for adversarial attack detection in VLMs. Our method requires no additional adversarial training, introduces minimal overhead, and provides a practical approach for improving the safety of real-world VLM systems.", "date": "2026-05-08", "categories": []} {"id": "2505.21938", "title": "Practical Adversarial Attacks on Stochastic Bandits via Fake Data Injection", "abstract": "Adversarial attacks on stochastic bandits have traditionally relied on some unrealistic assumptions, such as per-round reward manipulation and unbounded perturbations, limiting their relevance to real-world systems. We propose a more practical threat model, Fake Data Injection, which reflects realistic adversarial constraints: the attacker can inject only a limited number of bounded fake feedback samples into the learner's history, simulating legitimate interactions. We design effective attack strategies under this model, explicitly addressing both magnitude constraints (on reward values) and temporal constraints (on when and how often data can be injected). Our theoretical analysis shows that these attacks can mislead a class of bandit algorithms into selecting a target arm in nearly all rounds while incurring only sublinear attack cost. Experiments on synthetic and real-world datasets validate the effectiveness of our strategies, revealing vulnerabilities in stochastic bandit algorithms under practical adversarial scenarios.", "date": "2025-05-28", "categories": []} {"id": "2605.05415", "title": "Information Theoretic Adversarial Training of Large Language Models", "abstract": "Large language models (LLMs) remain vulnerable to adversarial prompting despite advances in alignment and safety, often exhibiting harmful behaviors under novel attack strategies. While adversarial training can improve robustness, existing approaches are computationally expensive and difficult to scale. Recent continuous adversarial training methods, such as Continuous adversarial training (CAT) and Continuous Adversarial Preference Optimization (CAPO), address this challenge by leveraging gradient-based perturbations in the embedding space, enabling more efficient and expressive attacks. Building on this paradigm, we propose WARDEN, a distributionally robust adversarial training framework for LLMs that dynamically reweights adversarial examples through an f -divergence ambiguity set around the empirical training distribution. Our method optimizes the worst-case adversarial loss within a divergence ball around the empirical data distribution, automatically emphasizing harder adversarial examples. Using the convex dual formulation, the objective reduces to a log-sum-exp form under the KL divergence, with a dynamical parameter controlling the strength of reweighting. This study leads to a new class of information-theoretic objectives that significantly reduce attack success rates while maintaining model utility. Across multiple LLMs and attack settings, WARDEN substantially reduces attack success rates with computational and utility costs comparable to CAT-, CAPO-, and MixAT-based baselines, making it a practical approach for scalable robust alignment.", "date": "2026-05-06", "categories": []} {"id": "2605.05534", "title": "Adversarial Graph Neural Network Benchmarks: Towards Practical and Fair Evaluation", "abstract": "Adversarial learning and the robustness of Graph Neural Networks (GNNs) are topics of widespread interest in the machine learning community, as documented by the number of adversarial attacks and defenses designed for these purposes. While a rigorous evaluation of these adversarial methods is necessary to understand the robustness of GNNs in real-world applications, we posit that many works in the literature do not share the same experimental settings, leading to ambiguous and potentially contradictory scientific conclusions. In this benchmark, we demonstrate the importance of adopting fair, robust, and standardized evaluation protocols in adversarial GNN research. We perform a comprehensive re-evaluation of seven widely used attacks and eight recent defenses under both poisoning and evasion scenarios, across six popular graph datasets. Our study spans over 453,000 experiments conducted within a unified framework. We observe substantial differences in adversarial attack performance when evaluated under a fair and robust procedure. Our findings reveal that previously overlooked factors, such as target node selection and the training process of the attacked model, have a profound impact on attack effectiveness, to the extent of completely distorting performance insights. These results underscore the urgent need for standardized evaluations in adversarial graph machine learning.", "date": "2026-05-07", "categories": []} {"id": "2605.05632", "title": "Architecture Matters: Comparing RAG Systems under Knowledge Base Poisoning", "abstract": "Retrieval-Augmented Generation (RAG) systems are vulnerable to knowledge base poisoning, yet existing attacks have been evaluated almost exclusively against vanilla retrieve-then-generate pipelines. Architectures designed to handle conflicting retrieved information - multi-agent debate, agentic retrieval, recursive language models - remain untested against adversarially optimized contradictions. We evaluate four RAG architectures (vanilla RAG, agentic RAG, MADAM-RAG, and Recursive Language Models) under controlled single-document (N=1) poisoning on 921 Natural Questions QA pairs, comparing a clean baseline, naive injection, and CorruptRAG-AK - an adversarial attack whose meta-epistemic framing targets credibility assessment. Architecture is a high-impact variable in adversarial robustness: under CorruptRAG-AK, attack success rates range from 81.9% (vanilla) to 24.4% (RLM) - a spread of nearly 58 percentage points across architectures with comparable clean accuracy (~92%). Decomposing this gap, once the poisoned document is retrieved, adversarial framing - not retrieval optimization - drives the majority of CorruptRAG-AK's advantage for three of four architectures, localizing the cross-architecture vulnerability at the content-reasoning stage. Our MADAM-RAG reimplementation shows the highest apparent contradiction detection rate, though our LLM judge over-identifies this behavior (~48.5% precision), so reported rates are upper bounds. Regardless of detection, MADAM-RAG cannot resolve contradictions reliably, producing a 41.4% non-answer rate even on clean inputs - though implementation divergences from the original may contribute. We introduce a seven-category behavioral taxonomy capturing contradiction detection, hedging, and failure modes beyond binary accuracy. Code, data, and analysis notebooks are publicly available.", "date": "2026-05-07", "categories": []} {"id": "2605.05928", "title": "Backdoor Mitigation in Object Detection via Adversarial Fine-Tuning", "abstract": "Backdoor attacks can implant malicious behaviours into deep models while preserving performance on clean data, posing a serious threat to safety-critical vision systems. Although backdoor mitigation has been studied extensively for image classification, defenses for object detection remain comparatively underdeveloped. Adversarial fine-tuning is a common backdoor mitigation approach in classification, but adapting it to detection is nontrivial as classification-oriented adversarial generation does not match the detection attack space, where attacks may cause object misclassification or disappearance, and standard detection losses can dilute the repair signal across many predictions. We address these challenges through a detection-aware adversarial fine-tuning framework for mitigating object-detection backdoors when the defender has access only to a compromised detector and a small clean dataset, without knowing the attack objective. For adversarial generation that does not require knowledge of the attack objective, we introduce soft-branch minimisation, which uses a soft gate to combine objectives aligned with misclassification and disappearance attacks, together with a detection-aware classification-loss maximisation. For targeted repair, we introduce a dual-objective fine-tuning loss applied to target-matched predictions, concentrating the defensive update on predictions most relevant to the backdoor behaviour. Experiments across CNN- and Transformer-based detectors show that our approach more effectively reduces attack success while preserving true detections, compared with classification-oriented baselines, and maintains competitive clean detection performance.", "date": "2026-05-07", "categories": []} {"id": "2605.06357", "title": "Memory Efficient Full-gradient Attacks (MEFA) Framework for Adversarial Defense Evaluations", "abstract": "This work studies the robust evaluation of iterative stochastic purification defenses under white-box adversarial attacks. Our key technical insight is that gradient checkpointing makes exact end-to-end gradient computation through long purification trajectories practical by trading additional recomputation for substantially lower memory usage. This enables full-gradient adaptive attacks against diffusion- and Langevin-based purification defenses, where prior evaluations often resort to approximate backpropagation due to memory constraints. These approximations can weaken the attack signal and risk overestimating robustness. In parallel, stochasticity in iterative purification is frequently under-controlled, even though different purification trajectories can substantially change reported robustness metrics. Building on this insight, we introduce a memory-efficient full-gradient evaluation framework for stochastic purification defenses. The framework combines checkpointed backpropagation with evaluation protocols that control stochastic variability, thereby reducing memory bottlenecks while preserving exact gradients. We evaluate diffusion-based purification and Langevin sampling with Energy-Based Models (EBMs), demonstrating that full-gradient attacks uncover vulnerabilities missed by approximate-gradient evaluations. Our framework yields stronger state-of-the-art $\\ell_{\\infty}$ and $\\ell_{2}$ white-box attacks and further supports probing out-of-distribution robustness. Overall, our results show that exact-gradient evaluation is essential for reliable benchmarking of iterative stochastic defenses.", "date": "2026-05-07", "categories": []} {"id": "2312.06423", "title": "MalPurifier: Enhancing Android Malware Detection with Adversarial Purification against Evasion Attacks", "abstract": "Machine learning (ML) has gained significant adoption in Android malware detection to address the escalating threats posed by the rapid proliferation of malware attacks. However, recent studies have revealed the inherent vulnerabilities of ML-based detection systems to evasion attacks. While efforts have been made to address this critical issue, many of the existing defensive methods encounter challenges such as lower effectiveness or reduced generalization capabilities. In this paper, we introduce MalPurifier, a novel adversarial purification framework specifically engineered for Android malware detection. Specifically, MalPurifier integrates three key innovations: a diversified adversarial perturbation mechanism for robustness and generalizability, a protective noise injection strategy for benign data integrity, and a Denoising AutoEncoder (DAE) with a dual-objective loss for accurate purification and classification. Extensive experiments on two large-scale datasets demonstrate that MalPurifier significantly outperforms state-of-the-art defenses. It robustly defends against a comprehensive set of 37 perturbation-based evasion attacks, consistently achieving robust accuracies above 90.91%. As a lightweight, model-agnostic, and plug-and-play module, MalPurifier offers a practical and effective solution to bolster the security of ML-based Android malware detectors.", "date": "2023-12-11", "categories": []} {"id": "2602.00305", "title": "Syntax- and Compilation-Preserving Evasion of LLM Vulnerability Detectors", "abstract": "LLM-based vulnerability detectors are increasingly deployed in CI/CD security gating, yet their resilience to evasion under syntax- and compilation-preserving edits remains poorly understood. We evaluate five attack variants spanning four carrier families of behavior-preserving code transformations on a unified C/C++ benchmark ($N=5000$) and introduce Complete Resistance (CR), measuring the fraction of correctly detected vulnerabilities that withstand all attack variants. Our findings reveal a significant robustness gap: models achieving 70\\%+ clean recall exhibit CR as low as 0.12\\%, meaning over 87\\% of detected vulnerabilities can be evaded by at least one syntax-preserving edit. Universal adversarial strings optimized on a 14B surrogate transfer effectively to black-box APIs including GPT-4o, while on-target optimization further amplifies evasion (up to 92.5\\% ASR). These results indicate that clean benchmark accuracy alone is insufficient as a security guarantee for deployed vulnerability detectors.", "date": "2026-01-30", "categories": []} {"id": "2605.04443", "title": "Dissociating spatial frequency reliance from adversarial robustness advantages in neurally guided deep convolutional neural networks", "abstract": "Deep convolutional neural networks (DCNNs) have rivaled humans on many visual tasks, yet they remain vulnerable to near-imperceptible perturbations generated by adversarial attacks. Recent work shows that aligning DCNN representations with human visual cortex activity improves adversarial robustness, but the mechanisms driving this advantage are unclear. One hypothesis suggests that neural alignment confers robustness by biasing models away from brittle high-frequency details and towards the low spatial frequencies (LSF). However, recent work shows that human object recognition critically depends on a narrow, mid-frequency \"human channel\". Interestingly, this band was partially preserved in prior LSF-focused studies. Here, we investigate whether a spectral bias towards the LSF or the human channel is the primary driver of the adversarial robustness observed in neurally aligned DCNNs. We first show that DCNNs aligned to higher-order regions of the human ventral visual stream systematically increase reliance on both LSF and the human channel. However, directly steering DCNNs towards these bands revealed a clear dissociation. Biasing models towards the human channel, either alone or together with LSF, does not improve robustness and even impairs it. LSF bias produced some robustness gains, but such improvements are modest despite inducing much larger shifts in spatial-frequency reliance than neurally aligned models. Spatial-frequency-biased models overall show little, if any, increase in similarity to human neural representational geometry. Together, our results suggest that altered spatial-frequency reliance is likely an emergent property of learning more human-like representations rather than the primary mechanism by which neural alignment confers adversarial robustness, and motivate the need for future research examining representational properties beyond spatial-frequency profiles.", "date": "2026-05-06", "categories": []} {"id": "2605.04675", "title": "Physical Adversarial Clothing Evades Visible-Thermal Detectors via Non-Overlapping RGB-T Pattern", "abstract": "Visible-thermal (RGB-T) object detection is a crucial technology for applications such as autonomous driving, where multimodal fusion enhances performance in challenging conditions like low light. However, the security of RGB-T detectors, particularly in the physical world, has been largely overlooked. This paper proposes a novel approach to RGB-T physical attacks using adversarial clothing with a non-overlapping RGB-T pattern (NORP). To simulate full-view (0$^{\\circ}$--360$^{\\circ}$) RGB-T attacks, we construct 3D RGB-T models for human and adversarial clothing. NORP is a new adversarial pattern design using distinct visible and thermal materials without overlap, avoiding the light reduction in overlapping RGB-T patterns (ORP). To optimize the NORP on adversarial clothing, we propose a spatial discrete-continuous optimization (SDCO) method. We systematically evaluated our method on RGB-T detectors with different fusion architectures, demonstrating high attack success rates both in the digital and physical worlds. Additionally, we introduce a fusion-stage ensemble method that enhances the transferability of adversarial attacks across unseen RGB-T detectors with different fusion architectures.", "date": "2026-05-06", "categories": []} {"id": "2605.02946", "title": "RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs", "abstract": "Safety alignment is critical for the responsible deployment of large language models (LLMs). As Mixture-of-Experts (MoE) architectures are increasingly adopted to scale model capacity, understanding their safety robustness becomes essential. Existing adversarial attacks, however, have notable limitations. Prompt-based jailbreaks rely on heuristic search and transfer poorly, model intervention methods require privileged access to internal representations, and optimization-based input attacks remain output-centric and are fundamentally limited to MoE models due to the non-differentiable routing mechanism.\n In this paper, we present RouteHijack, a routing-aware jailbreak for MoE LLMs. Our key insight is that safety behavior is concentrated in a small subset of experts, creating an opportunity to steer model behavior by influencing routing decisions through input optimization. Building on this observation, RouteHijack first performs response-driven expert localization to identify safety-critical and harmful experts by contrasting activations under safe refusals and harmful completions. It then constructs adversarial suffixes with a routing-aware objective that suppresses safety experts, promotes harmful experts, and prevents early-stage refusal during generation. At inference time, the optimized suffix is appended to a malicious prompt, requiring only input access. Across seven MoE LLMs, RouteHijack achieves a 69.3\\% average attack success rate (ASR), outperforming prior optimization-based attack by $3.2\\times$. RouteHijack also transfers zero-shot across five sibling MoE variants, raising average ASR from 27.7\\% to 61.2\\%, and further generalizes to three MoE-based VLMs, increasing average ASR from 2.47\\% to 38.7\\%. These findings expose a fundamental vulnerability in sparse expert architectures and highlight the need for defenses beyond output-level alignment.", "date": "2026-05-01", "categories": []} {"id": "2605.03405", "title": "TsallisPGD: Adaptive Gradient Weighting for Adversarial Attacks on Semantic Segmentation", "abstract": "Attacking semantic segmentation models is significantly harder than image classification models because an attacker must flip thousands of pixel predictions simultaneously. Standard pixel-wise cross-entropy (CE) is ill-suited to this setting: it tends to overemphasize already-misclassified pixels, which slows optimization and overstates model robustness. To address these issues, we introduce TsallisPGD, an adversarial attack built on the Tsallis cross-entropy, a generalization of CE parameterized by $q$, which adaptively reshapes the gradient landscape by controlling gradient concentration across pixels. By varying $q$, we steer the attack toward pixels at different confidence levels. We first show that no single fixed-$q$ is universally optimal, as its effectiveness depends on the dataset, model architecture, and perturbation budget. Motivated by this, we propose a dynamic $q$-schedule that sweeps $q$ during optimization. Extensive experiments on Cityscapes, Pascal VOC, and ADE20K show that TsallisPGD, using a single validation-selected schedule, achieves the best average attack rank across all evaluated settings and improves over CEPGD, SegPGD, CosPGD, JSPGD, and MaskedPGD in reducing accuracy and mIoU on both standard and robust models.", "date": "2026-05-05", "categories": []} {"id": "2605.03491", "title": "Real-Time Evaluation of Autonomous Systems under Adversarial Attacks", "abstract": "Most evaluations of autonomous driving policies under adversarial conditions are conducted in simulation, due to cost efficiency and the absence of physical risk. However, purely virtual testing fails to capture structural inconsistencies, supervision constraints, and state-representation effects that arise in real-world data and fundamentally shape policy robustness. This work presents an offline trajectory-learning and adversarial robustness evaluation framework grounded in real-world intersection driving data. Within a controlled data contract, we train and compare three trajectory-learning paradigms: Multi-Layer Perceptron (MLP)-based Behavior Cloning (BC), Transformer-based object-tokenized BC, and inverse reinforcement learning (IRL) formulated within a Generative Adversarial Imitation Learning (GAIL) framework. Models are evaluated using Average Displacement Error (ADE) and Final Displacement Error (FDE).\n Inference-time robustness is assessed by subjecting trained policies to gradient-based adversarial perturbations across multiple intersection scenarios, yielding a structured robustness evaluation matrix. Results show that state-structure design and architectural inductive biases critically influence adversarial stability, leading to markedly different robustness profiles despite comparable nominal prediction accuracy (ADE < 0.08). Inference-time Projected Gradient Descent (PGD) attacks induce final displacement errors of up to approximately 8 meters. The proposed framework establishes a scalable benchmark for studying offline trajectory learning and adversarial robustness in real-world autonomous driving settings.", "date": "2026-05-05", "categories": []} {"id": "2402.05284", "title": "Analyzing Adversarial Inputs in Deep Reinforcement Learning", "abstract": "In recent years, Deep Reinforcement Learning (DRL) has become a popular paradigm in machine learning due to its successful applications to real-world and complex systems. However, even the state-of-the-art DRL models have been shown to suffer from reliability concerns -- for example, their susceptibility to adversarial inputs, i.e., small and abundant input perturbations that can fool the models into making unpredictable and potentially dangerous decisions. This drawback limits the deployment of DRL systems in safety-critical contexts, where even a small error cannot be tolerated. In this work, we present a comprehensive analysis of the characterization of adversarial inputs, through the lens of formal verification. Specifically, we present the Adversarial Rate, a metric adapted from the ProVe family, for the systematic evaluation of adversarial inputs in DRL, which partitions the input domain into subregions to enable both quantification and spatial visualization of adversarial inputs. The main contribution of this work is to provide a comprehensive evaluation framework for the effect of adversarial inputs on DRL policies. We present a set of tools and algorithms for its computation. Our analysis empirically demonstrates how adversarial inputs can affect the safety of a given DRL system with respect to such perturbations. Moreover, we analyze the behavior of these configurations to suggest several useful practices and guidelines to help mitigate the vulnerability of trained DRL networks.", "date": "2024-02-07", "categories": []} {"id": "2512.10275", "title": "Sample-wise Adaptive Weighting for Transfer Consistency in Adversarial Distillation", "abstract": "Adversarial distillation in the standard min-max adversarial training framework aims to transfer adversarial robustness from a large, robust teacher network to a compact student. However, existing work often neglects to incorporate state-of-the-art robust teachers. Through extensive analysis, we find that stronger teachers do not necessarily yield more robust students-a phenomenon known as robust saturation. While typically attributed to capacity gaps, we show that such explanations are incomplete. Instead, we identify adversarial transferability-the fraction of student-crafted adversarial examples that remain effective against the teacher-as a key factor in successful robustness transfer. Based on this insight, we propose Sample-wise Adaptive Adversarial Distillation (SAAD), which reweights training examples by their measured transferability without incurring additional computational cost. Experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet show that SAAD consistently improves AutoAttack robustness over prior methods. Our code is available at https://github.com/HongsinLee/saad.", "date": "2025-12-11", "categories": []} {"id": "2602.07249", "title": "Beyond Crash: Hijacking Your Autonomous Vehicle for Fun and Profit", "abstract": "Autonomous Vehicles (AVs), especially vision-based AVs, are rapidly being deployed without human operators. As AVs operate in safety-critical environments, understanding their robustness in an adversarial environment is an important research problem. Prior physical adversarial attacks on vision-based autonomous vehicles predominantly target immediate safety failures (e.g., a crash, a traffic-rule violation, or a transient lane departure) by inducing a short-lived perception or control error. This paper shows a qualitatively different risk: a long-horizon route integrity compromise, where an attacker gradually steers a victim AV away from its intended route and into an attacker-chosen destination while the victim continues to drive ``normally.'' This will not pose a danger to the victim vehicle itself, but also to potential passengers sitting inside the vehicle, who may not notice the route changes.\n In this paper, we design and implement the first adversarial framework, called JackZebra, which performs route-level hijacking of a vision-based end-to-end driving stack using a physically plausible attacker vehicle with a reconfigurable display and a camera sensor mounted on the rear. The central challenge is temporal persistence: adversarial influence must remain effective in changing viewpoints, lighting, weather, traffic, and the victim's continual replanning -- without triggering conspicuous failures. Our key insight is to treat route hijacking as a closed-loop control problem and to convert adversarial patches into steering primitives that can be selected online via an interactive adjustment loop based on observed victim behavior using the rear camera. Our evaluations in both simulated and real-world scenarios show that JackZebra can successfully hijack victim vehicles to deviate from original routes and stop at places designated by the adversary with a high success rate.", "date": "2026-02-06", "categories": []} {"id": "2605.00880", "title": "Adversarial Flow Matching for Imperceptible Attacks on End-to-End Autonomous Driving", "abstract": "Autonomous driving (AD) is evolving towards end-to-end (E2E) frameworks through two primary paradigms: monolithic models exemplified by Vision-Language-Action (VLA), and specialized modular architectures. Despite their divergent designs, both paradigms increasingly rely on Transformer backbones for complex reasoning, potentially causing a shared vulnerability: visually imperceptible perturbations can manipulate E2E AD models into hazardous maneuvers by targeting the Transformer module. Most existing adversarial attack approaches against AD systems operate under white-box or black-box settings; yet, they typically necessitate full model transparency, or suffer from either prohibitive query latency or limited attack transferability. In this paper, we propose Adversarial Flow Matching (AFM), a novel gray-box attack framework that exploits Transformer structural vulnerabilities in E2E AD models. AFM enables efficient one-step generation of adversarial examples via a neural average velocity field. Additionally, the proposed technique yields effective and visually imperceptible attacks by synergistically perturbing the generative latent space and the neural average velocity field. Extensive experiments demonstrate that AFM achieves a superior trade-off between attack effectiveness and imperceptibility: it substantially degrades the performance of both VLA and modular AD agents across various scenarios compared to baselines, while maintaining state-of-the-art visual imperceptibility. Furthermore, adversarial examples generated by AFM exhibit robust cross-model transferability, indicating that AFM closely approximates a black-box attack setting while requiring only the prior knowledge that the target AD model incorporates a Transformer-based module.", "date": "2026-04-26", "categories": []} {"id": "2605.01034", "title": "A Theoretical Game of Attacks via Compositional Skills", "abstract": "As large language models grow increasingly capable, concerns about their safe deployment have intensified. While numerous alignment strategies aim to restrict harmful behavior, these defenses can still be circumvented through carefully designed adversarial prompts. In this work, we introduce a theoretical framework that formalizes a game between an attacker and a defender. Within this framework, we design a theoretical best-response attack strategy and show that it is closely related to many existing adversarial prompting methods. We further analyze the resulting game, characterize its equilibria, and reveal inherent advantages for the attacker. Drawing on our theoretical analysis, we also derive a provably optimal defense strategy. Empirically, we evaluate a practical instantiation of the theoretically optimal attack and observe stronger performance relative to existing adversarial prompting approaches in diverse settings encompassing different LLMs and benchmarks.", "date": "2026-05-01", "categories": []} {"id": "2605.01098", "title": "Almost for Free: Crafting Adversarial Examples with Convolutional Image Filters", "abstract": "Adversarial examples in machine learning are typically generated using gradients, obtained either directly through access to the model or approximated via queries to it. In this paper, we propose a much simpler approach to craft adversarial examples, drawing inspiration from insights of explainable machine learning. In particular, we design \\emph{adversarial image filters} that are based on classic edge detection algorithms but optimized to deceive learning models. The resulting untargeted attacks are transferable and require only a single pass over the input. Empirically, we find that 3x3 filters already enable success rates between 30% and 80% on different neural networks. Compared to related approaches using generative models for crafting adversarial examples, we reduce the number of parameters by five orders of magnitude, resulting in a very efficient attack. When investigating the parameters of the learned filters, we observe interesting properties such as a high transferability between models and structures common to classic image filters. Our results provide further insights into the vulnerability of neural networks and their fragility to malicious noise.", "date": "2026-05-01", "categories": []} {"id": "2605.01449", "title": "VisInject: Disruption != Injection -- A Dual-Dimension Evaluation of Universal Adversarial Attacks on Vision-Language Models", "abstract": "Universal adversarial attacks on aligned multimodal large language models are increasingly reported with attack success rates in the 60-80% range, suggesting the visual modality is highly vulnerable to imperceptible perturbations as a prompt-injection channel. We argue that this number conflates two distinct events: (i) the model's output was perturbed (Influence), and (ii) the attacker's chosen target concept was actually emitted (Precise Injection). We compose two existing techniques -- Universal Adversarial Attack and AnyAttack -- under an $L_{inf}$ budget of 16/255, and we add a dual-axis evaluation: a deterministic Ratcliff-Obershelp drift score for Influence (programmatic baseline) plus a 4-tier ordinal categorical none/weak/partial/confirmed for Precise Injection. The judge is DeepSeek-V4-Pro in thinking mode, calibrated against Claude Opus 4.7 with Cohen's $\\kappa$ = 0.77 on the injection axis (substantial agreement); the entire 4475-entry SHA-256 input cache ships with the dataset so reviewers can re-derive paper numbers bit-exact without an API key. Across 6615 pairs over four open VLMs, seven attack prompts, and seven test images, the two axes diverge by roughly 90$\\times$: 66.4% of pairs are programmatically disturbed (LLM-judged 46.6% at the substantial-or-complete tier), but only 0.756% (50/6615) reach any non-none injection tier and only 0.030% (2/6615) verbatim. The few injections that do land cluster on screenshot- or document-style carriers whose semantics already invite text transcription. BLIP-2 shows \\emph{zero detectable drift} at $L_{inf}$ = 16/255 across all 2205 pairs even when used as a Stage-1 surrogate. We release the full dataset -- 21 universal images, 147 adversarial photos, 6,615 response pairs, the v3 dual-axis judge results, and the cache at huggingface.co/datasets/jeffliulab/visinject.", "date": "2026-05-02", "categories": []} {"id": "2605.01519", "title": "Certified vs. Empirical Adversarial Robust-ness via Hybrid Convolutions with Attention Stochasticity", "abstract": "We introduce Hybrid Convolutions with Attention Stochasticity (HyCAS), an adversarial defense that narrows the long-standing gap between provable robustness under L2 certificates and empirical robustness against strong L attacks, while preserving strong generalization across diverse imaging benchmarks. HyCAS unifies deterministic and randomized principles by coupling 1-Lipschitz, spectrally normalized convolutions with two stochastic components, spectral normalized random, projection filters and a randomized attention-noise mechanism, to realize a randomized defense. Injecting smoothing randomness inside the architecture yields an overall <= 2-Lipschitz network with formal certificates. Exten-sive experiments on diverse imaging benchmarks, including CIFAR-10/100, ImageNet-1k, NIH Chest X-ray, HAM10000, show that HyCAS surpasses prior leading certified and empirical defenses, boosting certified accuracy by up to 7.3% (on NIH Chest X-ray) and empirical robustness by up to 3.1% (on HAM10000), without sacrificing clean accuracy. These results show that a randomized Lipschitz constrained architecture can simultaneously improve both certified L2 and empirical L adversarial robustness, thereby supporting safer deployment of deep models in high-stakes applications. Code: https://github.com/misti1203/HyCAS", "date": "2026-05-02", "categories": []} {"id": "2605.01591", "title": "Led to Mislead: Adversarial Content Injection for Attacks on Neural Ranking Models", "abstract": "Neural Ranking Models (NRMs) are central to modern information retrieval but remain highly vulnerable to adversarial manipulation. Existing attacks often rely on heuristics or surrogate models, limiting effectiveness and transferability. We propose CRAFT, a supervised framework for black-box adversarial rank attacks powered by large language models (LLMs). CRAFT operates in three stages: adversarial dataset generation via retrieval-augmented generation and self-refinement, supervised fine-tuning on curated adversarial examples, and preference-guided optimization to align generations with rank-promotion objectives. Extensive experiments on the MS MARCO passage dataset, TREC Deep Learning 2019, and TREC Deep Learning 2020 benchmarks show that CRAFT significantly outperforms state-of-the-art baselines, achieving higher promotion rates and rank boosts while preserving fluency and semantic fidelity. Moreover, CRAFT transfers effectively across diverse ranking architectures, including cross-encoder, embedding-based, and LLM-based rankers, underscoring vulnerabilities in real-world retrieval systems. This work provides a principled framework for studying adversarial threats in NRMs, underscores the risks of generative AI in rank manipulation, and provides a foundation for developing more robust retrieval systems. To support reproducibility, we publicly release our source code, trained models, and prompt templates.", "date": "2026-05-02", "categories": []} {"id": "2605.01718", "title": "Dual-branch Robust Unlearnable Examples", "abstract": "Unlearnable examples (UEs) aim to compromise model training by injecting imperceptible perturbations to clean samples. However, existing UE schemes exhibit limited robustness against advanced defenses due to their heuristic design or narrowly scoped domain perturbations. To address this, we propose \\texttt{DUNE}, a \\underline{\\textbf{D}}ual-branch \\underline{\\textbf{UN}}learnable \\underline{\\textbf{E}}nsemble perturbation optimization approach. Specifically, \\texttt{DUNE} separately optimizes perturbations in the spatial and color domains to establish the mapping between perturbations and shift-induced labels. This design extends the perturbation domain to increase noise intensity for improving robustness and drives the models to learn perturbation-oriented features with degraded generalization, thereby achieving unlearnability. To strengthen \\texttt{DUNE}'s performance, we further propose an unlearnability-enhancing ensemble strategy that aggregates diverse pre-trained models during the dual-branch optimization. Extensive experiments on benchmark datasets CIFAR-10 and ImageNet verify that \\texttt{DUNE}'s robustness outperforms 12 SOTA UE schemes under 7 mainstream defenses, yielding a lower average test accuracy of 14.95\\% to 50.82\\%.", "date": "2026-05-03", "categories": []} {"id": "2605.02109", "title": "Detecting Adversarial Data via Provable Adversarial Noise Amplification", "abstract": "The nonuniform and growing impact of adversarial noise across the layers of deep neural networks has been used in the literature, without a formal mathematical justification, to detect adversarial inputs and improve robustness. In this work, we study this phenomenon in detail and present a formal adversarial noise amplification theorem. We specify a set of sufficient conditions under which the adversarial noise amplification is mathematically guaranteed. Based on theoretical observations, we propose a novel training methodology with a custom spectral loss function and a specific architectural design to enhance the amplification signal for detecting adversarial data. Finally, we introduce a new, lightweight detection mechanism that leverages the enhanced amplification signal and operates entirely at inference time. To validate our approach, we demonstrate the detector's efficacy against both state-of-the-art attacks and a purpose-built adaptive attack, confirming that enhanced amplification can serve as a robust and reliable signal for adversarial defense.", "date": "2026-05-04", "categories": []} {"id": "2605.02183", "title": "Manifold-Constrained Adversarial Training for Long-Tailed Robustness via Geometric Alignment", "abstract": "Adversarial training is effective on balanced datasets, but its robustness degrades under longtailed class distributions, where tail classes suffer high robust error and unstable decision boundaries. We propose Manifold-Constrained Adversarial Training (MCAT), a unified framework that enforces the semantic validity of adversarial examples by penalizing deviations from class-conditional manifolds in feature space, while promoting balanced geometric separation across classes via an ETF-inspired regularization. We provide theoretical results that link geometric separation to lower bounds on adversarially robust margins, and show that manifold-constrained adversarial risk upperbounds robust risk on high-density semantic regions. Extensive experiments on standard longtailed benchmarks demonstrate consistent improvements in overall, balanced, and tail-class adversarial robustness.", "date": "2026-05-04", "categories": []} {"id": "2605.02374", "title": "Fight Poison with Poison: Enhancing Robustness in Few-shot Machine-Generated Text Detection with Adversarial Training", "abstract": "Machine-generated text (MGT) detection is critical for regulating online information ecosystems, yet existing detectors often underperform in few-shot settings and remain vulnerable to adversarial, humanizing attacks. To build accurate and robust detectors under limited supervision, we adopt a threat-modeling perspective and study detector vulnerabilities from an attacker's viewpoint under an output-only black-box setting. Motivated by this perspective, we propose RAG-GuidEd Attacker Strengthens ConTrastive Few-shot Detector (REACT), an adversarial training framework that improves both few-shot detection performance and robustness against attacks. REACT couples a humanization-oriented attacker with a target detector: the attacker leverages retrieval-augmented generation (RAG) to craft highly human-like adversarial examples to evade detection, while the detector learns from these adversaries with a contrastive objective to stabilize few-shot representation learning and enhance robustness. We alternately update the attacker and the detector to enable their co-evolution. Experiments on 4 datasets with 4 shot sizes and 3 random seeds show that REACT improves average detection F1 by 4.95 points over 8 state-of-the-art (SOTA) detectors and reduces the average attack success rate (ASR) under 4 strong attacks by 3.66 percentage points.", "date": "2026-05-04", "categories": []} {"id": "2602.03265", "title": "Beyond Suffixes: Token Position in GCG Adversarial Attacks on Large Language Models", "abstract": "Large Language Models (LLMs) have seen widespread adoption across multiple domains, creating an urgent need for robust safety alignment mechanisms. However, robustness remains challenging due to jailbreak attacks that bypass alignment via adversarial prompts. In this work, we focus on the prevalent Greedy Coordinate Gradient (GCG) attack and identify a previously underexplored attack axis in jailbreak attacks typically framed as suffix-based: the placement of adversarial tokens within the prompt. Using GCG as a case study, we show that both optimizing attacks to generate prefixes instead of suffixes and varying adversarial token position during evaluation substantially influence attack success rates. Our findings highlight a critical blind spot in current safety evaluations and underline the need to account for the position of adversarial tokens in the adversarial robustness evaluation of LLMs.", "date": "2026-02-03", "categories": []} {"id": "2605.00236", "title": "Attention Is Where You Attack", "abstract": "Safety-aligned large language models rely on RLHF and instruction tuning to refuse harmful requests, yet the internal mechanisms implementing safety behavior remain poorly understood. We introduce the Attention Redistribution Attack (ARA), a white-box adversarial attack that identifies safety-critical attention heads and crafts nonsemantic adversarial tokens that redirect attention away from safety-relevant positions. Unlike prior jailbreak methods operating at the semantic or output-logit level, ARA targets the geometry of softmax attention on the probability simplex using Gumbel-softmax optimization over targeted heads. Across LLaMA-3-8B-Instruct, Mistral-7B-Instruct-v0.1, and Gemma-2-9B-it, ARA bypasses safety alignment with as few as 5 tokens and 500 optimization steps, achieving 36% ASR on Mistral-7B and 30% on LLaMA-3 against 200 HarmBench prompts, while Gemma-2 remains at 1%. Our principal mechanistic finding is a dissociation between ablation and redistribution: zeroing out the top-ranked safety heads produces at most 1 flip among 39 to 50 baseline refusals, while ARA targeting the corresponding safety-heavy layers flips 72/200 prompts on Mistral-7B and 60/200 on LLaMA-3. This suggests that safety is not localized in these heads as removable components, but emerges from the attention routing they perform. Removing a head allows compensation through the residual stream, while redirecting its attention propagates a corrupted signal downstream.", "date": "2026-04-30", "categories": []} {"id": "2605.00443", "title": "Adaptive Equilibrium: Dynamic Weighting Framework for Generalized Interruption of DeepFake Models", "abstract": "The advancement of generalized deepfake disruption is constrained by the interruption imbalance, a fundamental bottleneck inherent to the generation of universal perturbations. We reveal that conventional static gradient normalization fundamentally struggles to resolve architectural conflicts, causing the optimization to bias towards susceptible models while neglecting resistant ones. We argue that achieving high and uniform effectiveness requires resolving this imbalance by reaching an adaptive equilibrium. We propose the Adaptive Equilibrium Framework (AEF), which employs a dynamic weighting mechanism that utilizes real-time loss feedback to adaptively assign greater interruption weights to the most resistant models. This approach shifts the optimization from an average-case problem to finding a dynamic balance, driving the perturbation to a uniformly effective equilibrium state. Comprehensive experiments validate that AEF achieves a more balanced interruption performance, maintaining a consistent interruption success rate across the evaluated diverse architectures.", "date": "2026-05-01", "categories": []} {"id": "2605.00510", "title": "Scale-Aware Adversarial Analysis: A Diagnostic for Generative AI in Multiscale Complex Systems", "abstract": "Complex physical systems, from supersonic turbulence to the macroscopic structure of the universe, are governed by continuous multiscale dynamics. While modern machine learning architectures excel at mapping the high-dimensional observables of these systems, it remains unclear whether they internalize the governing physical laws or merely interpolate discrete statistical correlations. Standard Explainable AI (XAI) architectures, particularly perturbation-based and gradient-saliency methods, rely on pixel-wise perturbations, which generate unphysical artifacts and push inputs off the valid empirical distribution. To resolve this, we introduce a diagnostic framework driven by Constrained Diffusion Decomposition (CDD), a diffusion-based multiscale data decomposition algorithm that enables physically constrained data generation and model evaluation via scale-aware modifications. Applying this framework to a Denoising Diffusion Probabilistic Model (DDPM), we execute deterministic interventions directly within the continuous, CDD-based scale space. We demonstrate that under moderate physical perturbations, the unconstrained generative model exhibits localized structural freezing and non-linear instability rather than continuous PDE-like responses. The network fails to maintain cross-scale continuity, causing the generative trajectory to diverge when pushed into unseen physical states. By synthesizing a continuum of physically coherent states, this scale-informed methodology establishes a controlled test ground to evaluate algorithmic vulnerabilities, providing the rigorous physical constraints necessary for future architectures to respect the multiscale causality of the natural universe.", "date": "2026-05-01", "categories": []} {"id": "2306.16050", "title": "Evaluating Similitude and Robustness of Deep Image Denoising Models via Adversarial Attack", "abstract": "Deep neural networks (DNNs) have shown superior performance comparing to traditional image denoising algorithms. However, DNNs are inevitably vulnerable while facing adversarial attacks. In this paper, we propose an adversarial attack method named denoising-PGD which can successfully attack all the current deep denoising models while keep the noise distribution almost unchanged. We surprisingly find that the current mainstream non-blind denoising models (DnCNN, FFDNet, ECNDNet, BRDNet), blind denoising models (DnCNN-B, Noise2Noise, RDDCNN-B, FAN), plug-and-play (DPIR, CurvPnP) and unfolding denoising models (DeamNet) almost share the same adversarial sample set on both grayscale and color images, respectively. Shared adversarial sample set indicates that all these models are similar in term of local behaviors at the neighborhood of all the test samples. Thus, we further propose an indicator to measure the local similarity of models, called robustness similitude. Non-blind denoising models are found to have high robustness similitude across each other, while hybrid-driven models are also found to have high robustness similitude with pure data-driven non-blind denoising models. According to our robustness assessment, data-driven non-blind denoising models are the most robust. We use adversarial training to complement the vulnerability to adversarial attacks. Moreover, the model-driven image denoising BM3D shows resistance on adversarial attacks.", "date": "2023-06-28", "categories": []} {"id": "2501.19143", "title": "Imitation Game for Adversarial Disillusion with Chain-of-Thought Reasoning in Generative AI", "abstract": "As the cornerstone of artificial intelligence, machine perception confronts a fundamental threat posed by adversarial illusions. These adversarial attacks manifest in two primary forms: deductive illusion, where specific stimuli are crafted based on the victim model's general decision logic, and inductive illusion, where the victim model's general decision logic is shaped by specific stimuli. The former exploits the model's decision boundaries to create a stimulus that, when applied, interferes with its decision-making process. The latter reinforces a conditioned reflex in the model, embedding a backdoor during its learning phase that, when triggered by a stimulus, causes aberrant behaviours. The multifaceted nature of adversarial illusions calls for a unified defence framework, addressing vulnerabilities across various forms of attack. In this study, we propose a disillusion paradigm based on the concept of an imitation game. At the heart of the imitation game lies a multimodal generative agent, steered by chain-of-thought reasoning, which observes, internalises and reconstructs the semantic essence of a sample, liberated from the classic pursuit of reversing the sample to its original state. As a proof of concept, we conduct experimental simulations using a multimodal generative dialogue agent and evaluates the methodology under a variety of attack scenarios. Experimental results demonstrate that the proposed framework consistently neutralises both deductive and inductive adversarial illusions across diverse white-box and black-box attack scenarios.", "date": "2025-01-31", "categories": []} {"id": "2508.05469", "title": "Let's Measure Information Step-by-Step: AI-Based Evaluation Beyond Vibes", "abstract": "We evaluate artificial intelligence (AI) systems without ground truth by exploiting a link between strategic gaming and information loss. Building on established information theory, we analyze which mechanisms resist adversarial manipulation. This motivates mutual evaluation, where the overseer is treated as a strategic player estimating mutual information by prompting, making truthful agent reporting an optimal strategy. We show that certain f-divergences, such as total variation distance (TVD), maintain polynomial guarantees under attack, building on an established exponential barrier for estimating mutual information (MI) in worst-case certification settings. Under adversarial attacks, TVD-MI maintains effectiveness (area under the curve 0.70--0.77) while other approaches can decay toward chance, demonstrating that prompting the same system for information relationships rather than quality judgments can improve robustness. The mechanisms decompose pairwise evaluations into reliable item-level detection scores without ground truth, addressing a key limitation of standard peer prediction. Pre-registration: https://osf.io/c7pum", "date": "2025-08-07", "categories": []} {"id": "2604.27414", "title": "Understanding Adversarial Transferability in Vision-Language Models for Autonomous Driving: A Cross-Architecture Analysis", "abstract": "Vision-language models (VLMs) are increasingly used in autonomous driving because they combine visual perception with language-based reasoning, supporting more interpretable decision-making, yet their robustness to physical adversarial attacks, especially whether such attacks transfer across different VLM architectures, is not well understood and poses a practical risk when attackers do not know which model a vehicle uses. We address this gap with a systematic cross-architecture study of adversarial transferability in VLM-based driving, evaluating three representative architectures (Dolphins, OmniDrive, and LeapVAD) using physically realizable patches placed on roadside infrastructure in both crosswalk and highway scenarios. Our transfer-matrix evaluation shows high cross-architecture effectiveness, with transfer rates of 73-91% (mean TR = 0.815 for crosswalk and 0.833 for highway) and sustained frame-level manipulation over 64.7-79.4% of the critical decision window even when patches are not optimized for the target model.", "date": "2026-04-30", "categories": []} {"id": "2604.27487", "title": "Low Rank Adaptation for Adversarial Perturbation", "abstract": "Low-Rank Adaptation (LoRA), which leverages the insight that model updates typically reside in a low-dimensional space, has significantly improved the training efficiency of Large Language Models (LLMs) by updating neural network layers using low-rank matrices. Since the generation of adversarial examples is an optimization process analogous to model training, this naturally raises the question: Do adversarial perturbations exhibit a similar low-rank structure?\n In this paper, we provide both theoretical analysis and extensive empirical investigation across various attack methods, model architectures, and datasets to show that adversarial perturbations indeed possess an inherently low-rank structure. This insight opens up new opportunities for improving both adversarial attacks and defenses. We mainly focus on leveraging this low-rank property to improve the efficiency and effectiveness of black-box adversarial attacks, which often suffer from excessive query requirements. Our method follows a two-step approach. First, we use a reference model and auxiliary data to guide the projection of gradients into a low-dimensional subspace. Next, we confine the perturbation search in black-box attacks to this low-rank subspace, significantly improving the efficiency and effectiveness of the adversarial attacks.\n We evaluated our approach across a range of attack methods, benchmark models, datasets, and threat models. The results demonstrate substantial and consistent improvements in the performance of our low-rank adversarial attacks compared to conventional methods.", "date": "2026-04-30", "categories": []} {"id": "2604.26317", "title": "The Unseen Adversaries: Robust and Generalized Defense Against Adversarial Patches", "abstract": "The vulnerabilities of deep neural networks against singularities have raised serious concerns regarding their deployment in the physical world. One of the most prominent and impactful physical-world adversarial perturbations is the attachment of patches to clean images, known as an adversarial patch attack. Similarly, natural noises such as Gaussian and Salt\\&Pepper are highly prevalent in the real world. The current research need arises from the above vulnerabilities and the lack of efforts to tackle these two singularities independently and, especially, in combination. In this research, we have, for the first time, combined these two prominent singularities and proposed a novel dataset. Using this dataset, we have conducted a benchmark study of singularity data-point detection using features from several convolutional neural networks. For classification, rather than the popular neural network-based parameter tuning, we have used traditional yet effective machine learning classifiers. The extensive experiments across various in- and out-of-distribution (OOD) singularities reveal several interesting findings about the effectiveness of classifiers and show that it is hard to defend against adversaries when they are treated independently, and inefficient classifiers are selected.", "date": "2026-04-29", "categories": []} {"id": "2604.26496", "title": "Robust Alignment: Harmonizing Clean Accuracy and Adversarial Robustness in Adversarial Training", "abstract": "Adversarial Training (AT) is one of the most effective methods for developing robust deep neural networks (DNNs). However, AT faces a trade-off problem between clean accuracy and adversarial robustness. In this work, we reveal a surprising phenomenon for the first time: Varying input perturbation intensities for training samples near decision boundaries in AT have minimal impact on model robustness. This finding directly exposes the inconsistency between accuracy and robustness score fluctuations, leading us to identify the misalignment between input and latent spaces as a critical driver of the robustness-accuracy trade-off. To mitigate this misalignment for harmonizing accuracy and robustness, we define Robust Alignment as a new AT target, encouraging the model perception to change with input perturbations provided the final label prediction remains unchanged, which can be achieved via two novel ideas. First, we suggest a reduced and fixed perturbation intensity for those boundary samples, which facilitates the model to utilize the perturbations as learnable patterns, instead of noises that complicate decision boundaries meaninglessly. Second, we propose a Domain Interpolation Consistency Adversarial Regularization (DICAR), based on rigorous theoretical derivations, which explicitly introduces semantic alignment between input and latent spaces into AT. Based on these two ideas, we end up with a new Robust Alignment Adversarial Training (RAAT) method, effectively harmonizing accuracy and robustness. Extensive experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet with ResNet-18, PreActResNet-18, and WideResNet-28-10 demonstrate the effectiveness of RAAT in improving the trade-off beyond four common baselines and a total of 14 related state-of-the-art (SOTA) works.", "date": "2026-04-29", "categories": []} {"id": "2410.24214", "title": "ARQ: A Mixed-Precision Quantization Framework for Accurate and Certifiably Robust DNNs", "abstract": "Mixed precision quantization has become an important technique for optimizing the execution of deep neural networks (DNNs). Certified robustness, which provides provable guarantees about a model's ability to withstand different adversarial perturbations, has rarely been addressed in quantization due to the unacceptably high cost of certifying robustness. This paper introduces ARQ, an innovative mixed-precision quantization method that not only preserves the clean accuracy of the smoothed classifiers, but also maintains their certified robustness. ARQ uses reinforcement learning to find accurate and robust DNN quantization, while efficiently leveraging randomized smoothing, a popular class of statistical DNN verification algorithms. ARQ consistently performs better than multiple state-of-the-art quantization techniques across all the benchmarks and the input perturbation levels. The performance of ARQ quantized networks reaches that of the original DNN with floating-point weights, while using only 1.5% instructions and the highest certified radius. ARQ's code is available at https://github.com/uiuc-arc/ARQ.", "date": "2024-10-31", "categories": []} {"id": "2512.20677", "title": "Learning-Based Automated Adversarial Red-Teaming for Robustness Evaluation of Large Language Models", "abstract": "The increasing deployment of large language models (LLMs) in safety-critical applications raises fundamental challenges in systematically evaluating robustness against adversarial behaviors. Existing red-teaming practices are largely manual and expert-driven, which limits scalability, reproducibility, and coverage in high-dimensional prompt spaces. We formulate automated LLM red-teaming as a structured adversarial search problem and propose a learning-driven framework for scalable vulnerability discovery. The approach combines meta-prompt-guided adversarial prompt generation with a hierarchical execution and detection pipeline, enabling standardized evaluation across six representative threat categories, including reward hacking, deceptive alignment, data exfiltration, sandbagging, inappropriate tool use, and chain-of-thought manipulation. Extensive experiments on GPT-OSS-20B identify 47 vulnerabilities, including 21 high-severity failures and 12 previously undocumented attack patterns. Compared with manual red-teaming under matched query budgets, our method achieves a 3.9$\\times$ higher discovery rate with 89\\% detection accuracy, demonstrating superior coverage, efficiency, and reproducibility for large-scale robustness evaluation.", "date": "2025-12-21", "categories": []} {"id": "2604.24993", "title": "Laplace-Bridged Randomized Smoothing for Fast Certified Robustness", "abstract": "Randomized Smoothing (RS) offers formal $\\ell_2$ guarantees for arbitrary base classifiers but faces two key practical bottlenecks: (i) it often relies on noise-augmented training to achieve nontrivial certificates, which increases training cost, can reduce clean accuracy, and weakens RS as a genuinely post-hoc defense; and (ii) certification is computationally expensive, typically requiring tens of thousands of noisy forward passes per input, which hinders deployment, especially on resource-constrained edge devices. To address both limitations, we propose Laplace-Bridged Smoothing (LBS), an analytic reformulation of RS that replaces high-dimensional input-space Monte Carlo (MC) sampling with efficient computations in a low-dimensional probability space. LBS preserves formal robustness guarantees without requiring noise-augmented training while substantially reducing certification burden. On CIFAR-10 and ImageNet, LBS attains stronger certified robustness than RS and reduces per-sample certification cost by nearly an order of magnitude. Notably, on NVIDIA Jetson Orin Nano and Raspberry Pi 4, LBS achieves speedups of up to $494\\times$, enabling practical certified deployment on real-world edge devices. Finally, we provide theoretical justification for the analytic formulation and certificate validity of LBS.", "date": "2026-04-27", "categories": []} {"id": "2505.12009", "title": "LatentStealth: Unnoticeable and Efficient Adversarial Attacks on Expressive Human Pose and Shape Estimation", "abstract": "Expressive human pose and shape estimation (EHPS) plays a central role in digital human generation, particularly in live-streaming applications. However, most existing EHPS models focus primarily on minimizing estimation errors, with limited attention on potential security vulnerabilities, such as generating inappropriate content, violent actions, or racially offensive gestures and expressions. Current adversarial attacks on EHPS models often generate visually conspicuous perturbations, limiting their practicality and ability to expose real-world security threats. To address this limitation, we propose an unnoticeable adversarial method, termed \\textbf{LatentStealth}, specifically tailored for EHPS models. The key idea is to exploit the structured latent representations of natural images as the medium for crafting perturbations. Instead of injecting noise directly into the pixel space, our method projects inputs into the latent space, where adversarial patterns are generated and progressively refined along optimized directions. This latent-space manipulation enables the attack to maintain high imperceptibility while preserving its effectiveness. Furthermore, as the optimization process is guided by only a small number of model output queries, the framework achieves competitive attack performance with low computational overhead, making it both practical and efficient for real-world scenarios. Extensive experiments on the 3DPW and UBody datasets demonstrate the superiority of LatentStealth, revealing critical vulnerabilities in current systems. These findings highlight the urgent need to address and mitigate security risks in digital human generation technologies.", "date": "2025-05-17", "categories": []} {"id": "2512.20164", "title": "AI Security Beyond Core Domains: Resume Screening as a Case Study of Adversarial Vulnerabilities in Specialized LLM Applications", "abstract": "Large Language Models (LLMs) excel at text comprehension and generation, making them ideal for automated tasks like code review and content moderation. However, our research identifies a vulnerability: LLMs can be manipulated by \"adversarial instructions\" hidden in input data, such as resumes or code, causing them to deviate from their intended task. Notably, while defenses may exist for mature domains such as code review, they are often absent in other common applications such as resume screening and peer review. This paper introduces a benchmark to assess this vulnerability in resume screening, revealing attack success rates exceeding 80% for certain attack types. We evaluate two defense mechanisms: prompt-based defenses achieve 10.1% attack reduction with 12.5% false rejection increase, while our proposed FIDS (Foreign Instruction Detection through Separation) using LoRA adaptation achieves 15.4% attack reduction with 10.4% false rejection increase. The combined approach provides 26.3% attack reduction, demonstrating that training-time defenses outperform inference-time mitigations in both security and utility preservation.", "date": "2025-12-23", "categories": []} {"id": "2601.17536", "title": "OTI: A Model-free and Visually Interpretable Measure of Image Attackability", "abstract": "Despite the tremendous success of neural networks, benign images can be corrupted by adversarial perturbations to deceive these models. Intriguingly, images differ in their attackability. Specifically, given an attack configuration, some images are easily corrupted, whereas others are more resistant. Evaluating image attackability has important applications in active learning, adversarial training, and attack enhancement. This prompts a growing interest in developing attackability measures. However, existing methods are scarce and suffer from two major limitations: (1) They rely on a model proxy to provide prior knowledge (e.g., gradients or minimal perturbation) to extract model-dependent image features. Unfortunately, in practice, many task-specific models are not readily accessible. (2) Extracted features characterizing image attackability lack visual interpretability, obscuring their direct relationship with the images. To address these, we propose a novel Object Texture Intensity (OTI), a model-free and visually interpretable measure of image attackability, which measures image attackability as the texture intensity of the image's semantic object. Theoretically, we describe the principles of OTI from the perspectives of decision boundaries as well as the mid- and high-frequency characteristics of adversarial perturbations. Comprehensive experiments demonstrate that OTI is effective and computationally efficient. In addition, our OTI provides the adversarial machine learning community with a visual understanding of attackability.", "date": "2026-01-24", "categories": []} {"id": "2604.21395", "title": "Supervised Learning Has a Necessary Geometric Blind Spot: Theory, Consequences, and Minimal Repair", "abstract": "PGD adversarial training, the standard robustness method, can reduce Jacobian Frobenius norm yet worsen clean-input geometry (e.g., TDI 1.336 vs. ERM 1.093). We show this is not an implementation artifact but a theorem-level consequence of supervised learning.\n We prove that any encoder minimizing supervised loss must retain non-zero sensitivity along directions correlated with training labels, including directions that are nuisance at test time. This holds across proper scoring rules, architectures, and dataset sizes. We call this the geometric blind spot of supervised learning.\n This theorem unifies four empirical phenomena often treated separately: non-robust features, texture bias, corruption fragility, and the robustness-accuracy tradeoff. It also explains why suppressing sensitivity in one adversarial direction can redistribute sensitivity elsewhere.\n We introduce Trajectory Deviation Index (TDI), a diagnostic of geometric isotropy. Unlike CKA, intrinsic dimension, or Jacobian Frobenius norm alone, TDI captures the failure mode above. In our experiments, PGD attains low Frobenius norm but high TDI, while PMH attains the lowest TDI with one additional training term and no architectural changes.\n Across seven tasks, BERT/SST-2, and ImageNet ViT-B/16 (backbone family underlying CLIP/DINO/SAM), the blind spot is measurable and repairable. It appears at foundation-model scale, worsens with model scale and task-specific fine-tuning, and is substantially reduced by PMH. PMH also leads on non-Gaussian corruption types (blur/brightness/contrast) without corruption-specific training.", "date": "2026-04-23", "categories": []} {"id": "2604.22853", "title": "FastAT Benchmark: A Comprehensive Framework for Fair Evaluation of Fast Adversarial Training Methods", "abstract": "Fast Adversarial Training (FastAT) seeks to achieve adversarial robustness at a fraction of the computational cost incurred by standard multi-step methods such as PGD-AT. Although numerous FastAT techniques have been proposed in recent years, fair comparison among them remains elusive. Existing benchmarks and public leaderboards typically permit diverse model architectures, varying training configurations, and external data sources, making it unclear whether reported improvements reflect genuine algorithmic advances or merely more favorable experimental conditions. To address this problem, we introduce the FastAT Benchmark, a controlled evaluation framework built on three core design principles: unified architecture requirements, standardized training settings, and strict prohibition of external or synthetic data. The benchmark implements over twenty representative FastAT methods within a single codebase, enabling direct and reproducible comparison. Each method is assessed through a dual-metric evaluation framework that measures both adversarial robustness (accuracy under PGD, AutoAttack, and CR Attack) and computational cost (GPU training time and peak memory footprint). Comprehensive experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet provide reliable baseline measurements and reveal that well-designed single-step methods can match or surpass PGD-AT robustness at substantially lower cost, while no single method dominates across all evaluation dimensions. The complete benchmark, including source code, configuration files, and experimental results, is publicly available to support transparent and fair evaluation of future FastAT research.", "date": "2026-04-22", "categories": []} {"id": "2604.23067", "title": "Training a General Purpose Automated Red Teaming Model", "abstract": "Automated methods for red teaming LLMs are an important tool to identify LLM vulnerabilities that may not be covered in static benchmarks, allowing for more thorough probing. They can also adapt to each specific LLM to discover weaknesses unique to it. Most current automated red teaming methods are intended for tackling safety and content moderation. Thus, they make use of content safety models as evaluators and optimize for circumventing them, and as such, have not been tested with other adversarial intents not typically captured by these. We propose a pipeline for training a red teaming model that can generalize to arbitrary adversarial goals, including objectives it has not been directly trained on, and that does not depend on the existence of a pre-existing evaluator available at training time. We demonstrate that finetuning small models, such as Qwen3-8B, using this pipeline results in a substantial improvement in their ability to generate attacks for both in and out of domain adversarial goals.", "date": "2026-04-24", "categories": []} {"id": "2604.23105", "title": "Transferable Physical-World Adversarial Patches Against Object Detection in Autonomous Driving", "abstract": "Deep learning drives major advances in autonomous driving (AD), where object detectors are central to perception. However, adversarial attacks pose significant threats to the reliability and safety of these systems, with physical adversarial patches representing a particularly potent form of attack. Physical adversarial patch attacks pose severe risks but are usually crafted for a single model, yielding poor transferability to unseen detectors. We propose AdvAD, a transfer-based physical attack against object detection in autonomous driving. Instead of targeting a specific detector, AdvAD optimizes adversarial patches over multiple detection models in a unified framework, encouraging the learned perturbations to capture shared vulnerabilities across architectures. The optimization process adaptively balances model contributions and enforces robustness to physical variations. It further employs data augmentation and geometric transformations to maintain patch effectiveness under diverse physical conditions. Experiments in both digital and real-world settings show that AdvAD consistently outperforms state-of-the-art (SOTA) attacks in performance and transferability.", "date": "2026-04-25", "categories": []} {"id": "2604.23362", "title": "UniAda: Universal Adaptive Multi-objective Adversarial Attack for End-to-End Autonomous Driving Systems", "abstract": "Adversarial attacks play a pivotal role in testing and improving the reliability of deep learning (DL) systems. Existing literature has demonstrated that subtle perturbations to the input can elicit erroneous outcomes, thereby substantially compromising the security of DL systems. This has emerged as a critical concern in the development of DL-based safety-critical systems like Autonomous Driving Systems (ADSs). The focus of existing adversarial attack methods on End-to-End (E2E) ADSs has predominantly centered on misbehaviors of steering angle, which overlooks speed-related controls or imperceptible perturbations. To address these challenges, we introduce UniAda, a multi-objective white-box attack technique with a core function that revolves around crafting an image-agnostic adversarial perturbation capable of simultaneously influencing both steering and speed controls. UniAda capitalizes on an intricately designed multi-objective optimization function with the Adaptive Weighting Scheme (AWS), enabling the concurrent optimization of diverse objectives. Validated with both simulated and real-world driving data, UniAda outperforms five benchmarks across two metrics, inducing steering and speed deviations from 3.54 degrees to 29 degrees and 11 km per hour to 22 km per hour on average. This systematic approach establishes UniAda as a proven technique for adversarial attacks on modern DL-based E2E ADSs.", "date": "2026-04-25", "categories": []} {"id": "2604.23483", "title": "Agentic Adversarial Rewriting Exposes Architectural Vulnerabilities in Black-Box NLP Pipelines", "abstract": "Multi-component natural language processing (NLP) pipelines are increasingly deployed for high-stakes decisions, yet no existing adversarial method can test their robustness under realistic conditions: binary-only feedback, no gradient access, and strict query budgets. We formalize this strict black-box threat model and propose a two-agent evasion framework operating in a semantic perturbation space. An Attacker Agent generates meaning-preserving rewrites while a Prompt Optimization Agent refines the attack strategy using only binary decision feedback within a 10-query budget. Evaluated against four evidence-based misinformation detection pipelines, the framework achieves evasion rates of 19.95 to 40.34% on modern large language model (LLM) based systems, compared to at most 3.90% for token-level perturbation baselines that rely on surrogate models because they cannot operate under our threat model. A legacy system relying on static lexical retrieval exhibits near-total vulnerability 97.02%, establishing a lower bound that exposes how architectural choices govern the attack surface. Evasion effectiveness is associated with three architectural properties: evidence retrieval mechanism, retrieval-inference coupling, and baseline classification accuracy. The iterative prompt optimization yields the largest marginal gains against the most robust targets, confirming that adaptive strategy discovery is essential when evasion is non-trivial. Analysis of successful rewrites reveals four exploitation patterns, each targeting failures at distinct pipeline stages. A pattern-informed defense reduces the evasion rate by up to 65.18%.", "date": "2026-04-26", "categories": []} {"id": "2604.23688", "title": "Do Protective Perturbations Really Protect Portrait Privacy under Real-world Image Transformations?", "abstract": "Proactive defense methods protect portrait images from unauthorized editing or talking face generation (TFG) by introducing pixel-level protective perturbations, and have already attracted increasing attention for privacy protection. In real-world scenarios, images inevitably undergo various transformations during cross-device display and dissemination--such as scale transformations and color compression--that directly alter pixel values. However, it remains unclear whether such pixel-level modifications affect the effectiveness of existing proactive defense methods that rely on pixel-level perturbations. To solve this problem, we conduct a systematic evaluation of representative proactive defenses under image transformation. The evaluated methods are selected to span different generation architectures such as diffusion and GAN-based models, as well as defense scopes covering both portrait and natural images, and are assessed using both qualitative and quantitative metrics for subjective and objective comparison. Experimental results indicate that defense methods based on pixel-level perturbations struggle to withstand common image transformations, posing a risk of defense failure in real-world applications. To further highlight this risk, we propose a simple yet effective purification framework by leveraging the vulnerabilities induced by real-world image transformations. Experimental results demonstrate that the proposed method can efficiently remove protective perturbations with low computational cost, highlighting previously overlooked risks to the research community.", "date": "2026-04-26", "categories": []} {"id": "2604.24332", "title": "Mitigating Error Amplification in Fast Adversarial Training", "abstract": "Fast Adversarial Training (FAT) has proven effective in enhancing model robustness by encouraging networks to learn perturbation-invariant representations. However, FAT often suffers from catastrophic overfitting (CO), where the model overfits to the training attack and fails to generalize to unseen ones. Moreover, robustness oriented optimization typically leads to notable performance degradation on clean inputs, and such degradation becomes increasingly severe as the perturbation budget grows. In this work, we conduct a comprehensive analysis of how guidance strength affects model performance by modulating perturbation and supervision levels across distinct confidence groups. The findings reveal that low confidence samples are the primary contributors to CO and the robustness accuracy trade off. Building on this insight, we propose a Distribution-aware Dynamic Guidance (DDG) strategy that dynamically adjusts both the perturbation budget and supervision signal. Specifically, DDG scales the perturbation magnitude according to the sample confidence at the ground truth class, thereby guiding samples toward consistent decision boundaries while mitigating the influence of learning spurious correlations. Simultaneously, it dynamically adjusts the supervision signal based on the prediction state of each sample, preventing overemphasis on incorrect signals. To alleviate potential gradient instability arising from dynamic guidance, we further design a weighted regularization constraint. Extensive experiments on standard benchmarks demonstrate that DDG effectively alleviates both CO and the robustness accuracy trade off.", "date": "2026-04-27", "categories": []} {"id": "2604.24350", "title": "Unveiling the Backdoor Mechanism Hidden Behind Catastrophic Overfitting in Fast Adversarial Training", "abstract": "Fast Adversarial Training (FAT) has attracted significant attention due to its efficiency in enhancing neural network robustness against adversarial attacks. However, FAT is prone to catastrophic overfitting (CO), wherein models overfit to the specific attack used during training and fail to generalize to others. While existing methods introduce diverse hypotheses and propose various strategies to mitigate CO, a systematic and intuitive explanation of CO remains absent. In this work, we innovatively interpret CO through the lens of backdoor. Through validations on pathway division, diverse feature predictions, and universal class distinguishable triggers in CO, we conceptualize CO as a weak trigger variant of unlearnable tasks, unifying CO, backdoor attacks, and unlearnable tasks under a common theoretical framework. Guided by this, we leverage several backdoor inspired strategies to mitigate CO: (i) Recalibrate CO affected model parameters using vanilla fine tuning, linear probing, or reinitialization-based techniques; (ii) Introduce a weight outlier suppression constraint to regulate abnormal deviations in model weights. Extensive experiments support our interpretation of CO and show the efficacy of the proposed mitigation strategies.", "date": "2026-04-27", "categories": []} {"id": "2502.03698", "title": "How Vulnerable Is My Learned Policy? Universal Adversarial Perturbation Attacks On Modern Behavior Cloning Policies", "abstract": "Learning from demonstrations is a popular approach to train AI models; however, their vulnerability to adversarial attacks remains underexplored. We present the first systematic study of adversarial attacks, across a range of both classic and recently proposed imitation learning algorithms, including Vanilla Behavior Cloning (Vanilla BC), LSTM-GMM, Implicit Behavior Cloning (IBC), Diffusion Policy (DP), and Vector-Quantized Behavior Transformer (VQ-BET). We study the vulnerability of these methods to both white-box, grey-box and black-box adversarial perturbations. Our experiments reveal that most existing methods are highly vulnerable to these attacks, including black-box transfer attacks that transfer across algorithms. To the best of our knowledge, we are the first to study and compare the vulnerabilities of different popular imitation learning algorithms to both white-box and black-box attacks. Our findings highlight the vulnerabilities of modern imitation learning algorithms, paving the way for future work in addressing such limitations. Videos and code are available at https://sites.google.com/view/uap-attacks-on-bc.", "date": "2025-02-06", "categories": []} {"id": "2604.22552", "title": "Transferable Physical-World Adversarial Patches Against Pedestrian Detection Models", "abstract": "Physical adversarial patch attacks critically threaten pedestrian detection, causing surveillance and autonomous driving systems to miss pedestrians and creating severe safety risks. Despite their effectiveness in controlled settings, existing physical attacks face two major limitations in practice: they lack systematic disruption of the multi-stage decision pipeline, enabling residual modules to offset perturbations, and they fail to model complex physical variations, leading to poor robustness. To overcome these limitations, we propose a novel pedestrian adversarial patch generation method that combines multi-stage collaborative attacks with robustness enhancement under physical diversity, called TriPatch. Specifically, we design a triplet loss consisting of detection confidence suppression, bounding-box offset amplification, and non-maximum suppression (NMS) disruption, which jointly act across different stages of the detection pipeline. In addition, we introduce an appearance consistency loss to constrain the color distribution of the patch, thereby improving its adaptability under diverse imaging conditions, and incorporate data augmentation to further enhance robustness against complex physical perturbations. Extensive experiments demonstrate that TriPatch achieves a higher attack success rate across multiple detector models compared to existing approaches.", "date": "2026-04-24", "categories": []} {"id": "2604.22569", "title": "Adversarial Co-Evolution of Malware and Detection Models: A Bilevel Optimization Perspective", "abstract": "Machine learning-based malware detectors are increasingly vulnerable to adversarial examples. Traditional defenses, such as one-shot adversarial training, often fail against adaptive attackers who use reinforcement learning to bypass detection. This paper proposes a robust defense framework based on bilevel optimization, explicitly modeling the strategic interaction between a defender and an attacker as an adversarial co-evolutionary process. We evaluate our approach using the MAB-malware framework against three distinct malware families: Mokes, Strab, and DCRat. Our experimental results demonstrate that while standard classifiers and basic adversarial retraining often remain vulnerable, showing evasion rates as high as 90 %, the proposed bilevel optimization approach consistently achieves near-total immunity, reducing evasion rates to 0 - 1.89 %. Furthermore, the iterative framework significantly increases the attacker's query complexity, raising the average cost of successful evasion by up to two orders of magnitude. These findings suggest that modeling the iterative cycle of attack and defense through bilevel optimization is essential for developing resilient malware detection systems capable of withstanding evolving adversarial threats.", "date": "2026-04-24", "categories": []} {"id": "2604.21310", "title": "Adversarial Evasion in Non-Stationary Malware Detection: Minimizing Drift Signals through Similarity-Constrained Perturbations", "abstract": "Deep learning has emerged as a powerful approach for malware detection, demonstrating impressive accuracy across various data representations. However, these models face critical limitations in real-world, non-stationary environments where both malware characteristics and detection systems continuously evolve. Our research investigates a fundamental security question: Can an attacker generate adversarial malware samples that simultaneously evade classification and remain inconspicuous to drift monitoring mechanisms? We propose a novel approach that generates targeted adversarial examples in the classifier's standardized feature space, augmented with sophisticated similarity regularizers. By carefully constraining perturbations to maintain distributional similarity with clean malware, we create an optimization objective that balances targeted misclassification with drift signal minimization. We quantify the effectiveness of this approach by comprehensively comparing classifier output probabilities using multiple drift metrics. Our experiments demonstrate that similarity constraints can reduce output drift signals, with $\\ell_2$ regularization showing the most promising results. We observe that perturbation budget significantly influences the evasion-detectability trade-off, with increased budget leading to higher attack success rates and more substantial drift indicators.", "date": "2026-04-23", "categories": []} {"id": "2604.21860", "title": "Transient Turn Injection: Exposing Stateless Multi-Turn Vulnerabilities in Large Language Models", "abstract": "Large language models (LLMs) are increasingly integrated into sensitive workflows, raising the stakes for adversarial robustness and safety. This paper introduces Transient Turn Injection(TTI), a new multi-turn attack technique that systematically exploits stateless moderation by distributing adversarial intent across isolated interactions. TTI leverages automated attacker agents powered by large language models to iteratively test and evade policy enforcement in both commercial and open-source LLMs, marking a departure from conventional jailbreak approaches that typically depend on maintaining persistent conversational context. Our extensive evaluation across state-of-the-art models-including those from OpenAI, Anthropic, Google Gemini, Meta, and prominent open-source alternatives-uncovers significant variations in resilience to TTI attacks, with only select architectures exhibiting substantial inherent robustness. Our automated blackbox evaluation framework also uncovers previously unknown model specific vulnerabilities and attack surface patterns, especially within medical and high stakes domains. We further compare TTI against established adversarial prompting methods and detail practical mitigation strategies, such as session level context aggregation and deep alignment approaches. Our study underscores the urgent need for holistic, context aware defenses and continuous adversarial testing to future proof LLM deployments against evolving multi-turn threats.", "date": "2026-04-23", "categories": []} {"id": "2409.07609", "title": "Survival of the Cheapest: Cost-Aware Hardware Adaptation for Adversarial Robustness", "abstract": "Deploying adversarially robust machine learning systems requires continuous trade-offs between robustness, cost, and latency. We present an autonomic decision-support framework providing a quantitative foundation for adaptive hardware selection and hyper-parameter tuning in cloud-native deep learning. The framework applies accelerated failure time (AFT) models to quantify the effect of hardware choice, batch size, epochs, and validation accuracy on model survival time. This framework can be naturally integrated into an autonomic control loop (monitor--analyse--plan--execute, MAPE-K), where system metrics such as cost, robustness, and latency are continuously evaluated and used to adapt model configurations and hardware selection. Experiments across three GPU architectures confirm the framework is both sound and cost-effective: the Nvidia L4 yields a 20% increase in adversarial survival time while costing 75% less than the V100, demonstrating that expensive hardware does not necessarily improve robustness. The analysis further reveals that model inference latency is a stronger predictor of adversarial robustness than training time or hardware configuration.", "date": "2024-09-11", "categories": []} {"id": "2505.16313", "title": "Accelerating Targeted Hard-Label Adversarial Attacks in Low-Query Black-Box Settings", "abstract": "Deep neural networks for image classification remain vulnerable to adversarial examples -- small, imperceptible perturbations that induce misclassifications. In black-box settings, where only the final prediction is accessible, crafting targeted attacks that aim to misclassify into a specific target class is particularly challenging due to narrow decision regions. Current state-of-the-art methods often exploit the geometric properties of the decision boundary separating a source image and a target image rather than incorporating information from the images themselves. In contrast, we propose Targeted Edge-informed Attack (TEA), a novel attack that utilizes edge information from the target image to carefully perturb it, thereby producing an adversarial image that is closer to the source image while still achieving the desired target classification. Our approach consistently outperforms current state-of-the-art methods across different models in low query settings (nearly 70% fewer queries are used), a scenario especially relevant in real-world applications with limited queries and black-box access. Furthermore, by efficiently generating a suitable adversarial example, TEA provides an improved target initialization for established geometry-based attacks.", "date": "2025-05-22", "categories": []} {"id": "2603.15867", "title": "Evaluating Black-Box Vulnerabilities with Wasserstein-Constrained Data Perturbations", "abstract": "The growing use of Machine Learning (ML) tools comes with critical challenges, such as limited model explainability. We propose a global explainability framework that leverages Optimal Transport and Distributionally Robust Optimization to analyze how ML algorithms respond to constrained data perturbations. Our approach enforces constraints on feature-level statistics (e.g., brightness, age distribution), generating realistic perturbations that preserve semantic structure. We provide a model-agnostic diagnostic bench that applies to both tabular and image domains with solid theoretical guarantees. We validate the approach on real-world datasets providing interpretable robustness diagnostics that complement standard evaluation and fairness auditing tools.", "date": "2026-03-16", "categories": []} {"id": "2604.20495", "title": "Towards Certified Malware Detection: Provable Guarantees Against Evasion Attacks", "abstract": "Machine learning-based static malware detectors remain vulnerable to adversarial evasion techniques, such as metamorphic engine mutations. To address this vulnerability, we propose a certifiably robust malware detection framework based on randomized smoothing through feature ablation and targeted noise injection. During evaluation, our system analyzes an executable by generating multiple ablated variants, classifies them by using a smoothed classifier, and identifies the final label based on the majority vote. By analyzing the top-class voting distribution and the Wilson score interval, we derive a formal certificate that guarantees robustness within a specific radius against feature-space perturbations. We evaluate our approach by comparing the performance of the base classifier and the smoothed classifier on both clean executables and ablated variants generated using PyMetaEngine. Our results demonstrate that the proposed smoothed classifier successfully provides certifiable robustness against metamorphic evasion attacks without requiring modifications to the underlying machine learning architecture.", "date": "2026-04-22", "categories": []} {"id": "2604.20704", "title": "Auto-ART: Structured Literature Synthesis and Automated Adversarial Robustness Testing", "abstract": "Adversarial robustness evaluation underpins every claim of trustworthy ML deployment, yet the field suffers from fragmented protocols and undetected gradient masking. We make two contributions. (1) Structured synthesis. We analyze nine peer-reviewed corpus sources (2020--2026) through seven complementary protocols, producing the first end-to-end structured analysis of the field's consensus and unresolved challenges. (2) Auto-ART framework. We introduce Auto-ART, an open-source framework that operationalizes identified gaps: 50+ attacks, 28 defense modules, the Robustness Diagnostic Index (RDI), and gradient-masking detection. It supports multi-norm evaluation (l1/l2/linf/semantic/spatial) and compliance mapping to NIST AI RMF, OWASP LLM Top 10, and the EU AI Act. Empirical validation on RobustBench demonstrates that Auto-ART's pre-screening identifies gradient masking in 92% of flagged cases, and RDI rankings correlate highly with full AutoAttack. Multi-norm evaluation exposes a 23.5 pp gap between average and worst-case robustness on state-of-the-art models. No prior work combines such structured meta-scientific analysis with an executable evaluation framework bridging literature gaps into engineering.", "date": "2026-04-22", "categories": []} {"id": "2511.21893", "title": "Breaking the Illusion: Consensus-Based Generative Mitigation of Adversarial Illusions in Multi-Modal Embeddings", "abstract": "Multi-modal foundation models align images, text, and other modalities in a shared embedding space but remain vulnerable to adversarial illusions [35], where imperceptible perturbations disrupt cross-modal alignment and mislead downstream tasks. To counteract the effects of adversarial illusions, we propose a task-agnostic mitigation mechanism that purifies the attacker's perturbed input using generative models, e.g., Variational Autoencoders (VAEs), to restore natural alignment. To further enhance the defense mechanism, we adopt a generative sampling strategy combined with a consensus-based aggregation scheme over the outcomes of the generated samples. Our experiments on ImageBind, a state-of-the-art multi-modal encoder, show that our approach substantially reduces the illusion attack success rates to near-zero and improves cross-modal alignment in unperturbed and perturbed input settings, providing an effective and task-agnostic defense against adversarial illusions. The code is available at https://github.com/fatemehakb/adversarial-illusions-mitigation.", "date": "2025-11-26", "categories": []} {"id": "2604.18867", "title": "Hierarchically Robust Zero-shot Vision-language Models", "abstract": "Vision-Language Models (VLMs) can perform zero-shot classification but are susceptible to adversarial attacks. While robust fine-tuning improves their robustness, existing approaches align fixed text embeddings with an image embedding, sacrificing natural performance and robustness. A robustness degradation also occurs when a model faces adversarial attacks targeting superclasses (parent classes, e.g., mammal) in addition to their base (leaf) classes (e.g., cat). Thus, to enhance adversarial robustness and leverage the inherent hierarchical properties of class space, we propose a novel adversarial fine-tuning framework based on hierarchical embeddings and several levels of adversarially robust alignment of image-text modalities. Additional mechanisms place visual embeddings at the desired depth of hierarchy, and we provide a theoretical connection between the depth of embedding in the hierarchy and the maximum viable margin size. Our model naturally realizes several margin sizes, boosting generalization of adversaries for robustification. As various trees with different parent labels can share the same leaf labels, we also consider aligning over multiple trees to boost semantic variety. Experiments across several datasets are performed.", "date": "2026-04-20", "categories": []} {"id": "2604.18874", "title": "How Adversarial Environments Mislead Agentic AI?", "abstract": "Tool-integrated agents are deployed on the premise that external tools ground their outputs in reality. Yet this very reliance creates a critical attack surface. Current evaluations benchmark capability in benign settings, asking \"can the agent use tools correctly\" but never \"what if the tools lie\". We identify this Trust Gap: agents are evaluated for performance, not for skepticism. We formalize this vulnerability as Adversarial Environmental Injection (AEI), a threat model where adversaries compromise tool outputs to deceive agents. AEI constitutes environmental deception: constructing a \"fake world\" of poisoned search results and fabricated reference networks around unsuspecting agents. We operationalize this via POTEMKIN, a Model Context Protocol (MCP)-compatible harness for plug-and-play robustness testing. We identify two orthogonal attack surfaces: The Illusion (breadth attacks) poison retrieval to induce epistemic drift toward false beliefs, while The Maze (depth attacks) exploit structural traps to cause policy collapse into infinite loops. Across 11,000+ runs on five frontier agents, we find a stark robustness gap: resistance to one attack often increases vulnerability to the other, demonstrating that epistemic and navigational robustness are distinct capabilities.", "date": "2026-04-20", "categories": []} {"id": "2604.19724", "title": "Benign Overfitting in Adversarial Training for Vision Transformers", "abstract": "Despite the remarkable success of Vision Transformers (ViTs) across a wide range of vision tasks, recent studies have revealed that they remain vulnerable to adversarial examples, much like Convolutional Neural Networks (CNNs). A common empirical defense strategy is adversarial training, yet the theoretical underpinnings of its robustness in ViTs remain largely unexplored. In this work, we present the first theoretical analysis of adversarial training under simplified ViT architectures. We show that, when trained under a signal-to-noise ratio that satisfies a certain condition and within a moderate perturbation budget, adversarial training enables ViTs to achieve nearly zero robust training loss and robust generalization error under certain regimes. Remarkably, this leads to strong generalization even in the presence of overfitting, a phenomenon known as \\emph{benign overfitting}, previously only observed in CNNs (with adversarial training). Experiments on both synthetic and real-world datasets further validate our theoretical findings.", "date": "2026-04-21", "categories": []} {"id": "2601.23179", "title": "Universal Adversarial Attacks against Closed-Source MLLMs via Target-View Routed Meta Optimization", "abstract": "Targeted adversarial attacks on closed-source multimodal large language models (MLLMs) have been increasingly explored under black-box transfer, yet prior methods are predominantly sample-specific and offer limited reusability across inputs. We instead study a more stringent setting, Universal Targeted Transferable Adversarial Attacks (UTTAA), where a single perturbation must consistently steer arbitrary inputs toward a specified target across unknown commercial MLLMs. Naively adapting existing sample-wise attacks to this universal setting faces three core difficulties: (i) target supervision becomes high-variance due to target-crop randomness, (ii) token-wise matching is unreliable because universality suppresses image-specific cues that would otherwise anchor alignment, and (iii) few-source per-target adaptation is highly initialization-sensitive, which can degrade the attainable performance. In this work, we propose MCRMO-Attack, which stabilizes supervision via Multi-Crop Aggregation with an Attention-Guided Crop, improves token-level reliability through alignability-gated Token Routing, and meta-learns a cross-target perturbation prior that yields stronger per-target solutions. Across commercial MLLMs, we boost unseen-image attack success rate by +23.7\\% on GPT-4o and +19.9\\% on Gemini-2.0 over the strongest universal baseline.", "date": "2026-01-30", "categories": []} {"id": "2604.16515", "title": "Penny Wise, Pixel Foolish: Bypassing Price Constraints in Multimodal Agents via Visual Adversarial Perturbations", "abstract": "The rapid proliferation of Multimodal Large Language Models (MLLMs) has enabled mobile agents to execute high-stakes financial transactions, but their adversarial robustness remains underexplored. We identify Visual Dominance Hallucination (VDH), where imperceptible visual cues can override textual price evidence in screenshot-based, price-constrained settings and lead agents to irrational decisions. We propose PriceBlind, a stealthy white-box adversarial attack framework for controlled screenshot-based evaluation. PriceBlind exploits the modality gap in CLIP-based encoders via a Semantic-Decoupling Loss that aligns the image embedding with low-cost, value-associated anchors while preserving pixel-level fidelity. On E-ShopBench, PriceBlind achieves around 80% ASR in white-box evaluation; under a simplified single-turn coordinate-selection protocol, Ensemble-DI-FGSM transfers with roughly 35-41% ASR across GPT-4o, Gemini-1.5-Pro, and Claude-3.5-Sonnet. We also show that robust encoders and Verify-then-Act defenses reduce ASR substantially, though with some clean-accuracy trade-off.", "date": "2026-04-15", "categories": []} {"id": "2604.16532", "title": "Beyond Attack Success Rate: A Multi-Metric Evaluation of Adversarial Transferability in Medical Imaging Models", "abstract": "While deep learning systems are becoming increasingly prevalent in medical image analysis, their vulnerabilities to adversarial perturbations raise serious concerns for clinical deployment. These vulnerability evaluations largely rely on Attack Success Rate (ASR), a binary metric that indicates solely whether an attack is successful. However, the ASR metric does not account for other factors, such as perturbation strength, perceptual image quality, and cross-architecture attack transferability, and therefore, the interpretation is incomplete. This gap requires consideration, as complex, large-scale deep learning systems, including Vision Transformers (ViTs), are increasingly challenging the dominance of Convolutional Neural Networks (CNNs). These architectures learn differently, and it is unclear whether a single metric, e.g., ASR, can effectively capture adversarial behavior. To address this, we perform a systematic empirical study on four medical image datasets: PathMNIST, DermaMNIST, RetinaMNIST, and CheXpert. We evaluate seven models (VGG-16, ResNet-50, DenseNet-121, Inception-v3, DeiT, Swin Transformer, and ViT-B/16) against seven attack methods at five perturbation budgets, measuring ASR, Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index Measure (SSIM), and $L_2$ perturbation magnitude. Our findings show a consistent pattern: perceptual and distortion metrics are strongly associated with one another and exhibit minimal correlation with ASR. This applies to both CNNs and ViTs. The results demonstrate that ASR alone is an inadequate indicator of adversarial robustness and transferability. Consequently, we argue that a thorough assessment of adversarial risk in medical AI necessitates multi-metric frameworks that encompass not only the attack efficacy but also its methodology and associated overheads.", "date": "2026-04-16", "categories": []} {"id": "2604.18487", "title": "Adversarial Humanities Benchmark: Results on Stylistic Robustness in Frontier Model Safety", "abstract": "The Adversarial Humanities Benchmark (AHB) evaluates whether model safety refusals survive a shift away from familiar harmful prompt forms. Starting from harmful tasks drawn from MLCommons AILuminate, the benchmark rewrites the same objectives through humanities-style transformations while preserving intent. This extends literature on Adversarial Poetry and Adversarial Tales from single jailbreak operators to a broader benchmark family of stylistic obfuscation and goal concealment. In the benchmark results reported here, the original attacks record 3.84% attack success rate (ASR), while transformed methods range from 36.8% to 65.0%, yielding 55.75% overall ASR across 31 frontier models. Under a European Union AI Act Code-of-Practice-inspired systemic-risk lens, Chemical, biological, radiological and nuclear (CBRN) is the highest bucket. Taken together, this lack of stylistic robustness suggests that current safety techniques suffer from weak generalization: deep understanding of 'non-maleficence' remains a central unresolved problem in frontier model safety.", "date": "2026-04-20", "categories": []} {"id": "2604.18537", "title": "MetaCloak-JPEG: JPEG-Robust Adversarial Perturbation for Preventing Unauthorized DreamBooth-Based Deepfake Generation", "abstract": "The rapid progress of subject-driven text-to-image synthesis, and in particular DreamBooth, has enabled a consent-free deepfake pipeline: an adversary needs only 4-8 publicly available face images to fine-tune a personalized diffusion model and produce photorealistic harmful content. Current adversarial face-protection systems -- PhotoGuard, Anti-DreamBooth, and MetaCloak -- perturb user images to disrupt surrogate fine-tuning, but all share a structural blindness: none backpropagates gradients through the JPEG compression pipeline that every major social-media platform applies before adversary access. Because JPEG quantization relies on round(), whose derivative is zero almost everywhere, adversarial energy concentrates in high-frequency DCT bands that JPEG discards, eliminating 60-80% of the protective signal. We introduce MetaCloak-JPEG, which closes this gap by inserting a Differentiable JPEG (DiffJPEG) layer built on the Straight-Through Estimator (STE): the forward pass applies standard JPEG compression, while the backward pass replaces round() with the identity. DiffJPEG is embedded in a JPEG-aware EOT distribution (~70% of augmentations include DiffJPEG) and a curriculum quality-factor schedule (QF: 95 to 50) inside a bilevel meta-learning loop. Under an l-inf perturbation budget of eps=8/255, MetaCloak-JPEG attains 32.7 dB PSNR, a 91.3% JPEG survival rate, and outperforms PhotoGuard on all 9 evaluated JPEG quality factors (9/9 wins, mean denoising-loss gain +0.125) within a 4.1 GB training-memory budget.", "date": "2026-04-20", "categories": []} {"id": "2604.18540", "title": "Duality for the Adversarial Total Variation", "abstract": "Adversarial training of binary classifiers can be reformulated as regularized risk minimization involving a nonlocal total variation. Building on this perspective, we establish a characterization of the subdifferential of this total variation using duality techniques. To achieve this, we derive a dual representation of the nonlocal total variation and a related integration of parts formula, involving a nonlocal gradient and divergence. We provide such duality statements both in the space of continuous functions vanishing at infinity on proper metric spaces and for the space of essentially bounded functions on Euclidean domains. Furthermore, under some additional conditions we provide characterizations of the subdifferential in these settings.", "date": "2026-04-20", "categories": []} {"id": "2604.15370", "title": "TopFeaRe: Locating Critical State of Adversarial Resilience for Graphs Regarding Topology-Feature Entanglement", "abstract": "Graph adversarial attacks are usually produced from the two perspectives of topology/structure and node feature, both of them represent the paramount characteristics learned by today's deep learning models. Although some defense countermeasures are proposed at present, they fails to disclose the intrinsic reasons why these two aspects necessitate and how they are adequately fused to co-learn the graph representation. Towards this question, we in this paper propose an adversarial defense approach through locating the graph's critical state of adversarial resilience, resorting to the equilibrium-point theory in the discipline of complex dynamic system (CDS). In brief, our work has three novelties: i) Adversarial-Attack Modeling, i.e. map a graph regime into CDS, and use the oscillation of dynamic system to model the behavior of adversarial perturbation; ii) 2D Topology-Feature-Entangled Function Design for Perturbed Graph, i.e. project graph topology and node feature as two characteristic spaces, and define two-dimensional entangled perturbation functions to represent the dynamic variance under adversarial attacks; and iii) Location of Critical State of Adversarial Resilience, i.e. utilize the equilibrium-point theory to locate the graph's critical state of attack resilience resorting to the perturbation-reflected 2D function. Finally, multi-facet experiments on five commonly-used realistic datasets validate the effectiveness of our proposed approach, and the results show our approach can significantly outperform the state-of-the-art baselines under four representative graph adversarial attacks.", "date": "2026-04-15", "categories": []} {"id": "2408.14728", "title": "Improving Clean Accuracy via a Tangent-Space Perspective on Adversarial Training", "abstract": "Adversarial training has proven effective in improving the robustness of deep neural networks against adversarial attacks. However, this enhanced robustness often comes at the cost of a substantial drop in accuracy on clean data. In this paper, we address this limitation by introducing Tangent Direction Guided Adversarial Training (TART), a novel method that enhances clean accuracy by exploiting the geometry of the data manifold. We argue that adversarial examples with large components in the normal direction can overly distort the decision boundary and degrade clean accuracy. TART addresses this issue by estimating the tangent direction of adversarial examples and adaptively modulating the perturbation bound based on the norm of their tangential component. To the best of our knowledge, TART is the first adversarial defense framework that explicitly incorporates the concept of tangent space and direction into adversarial training. Extensive experiments on both synthetic and benchmark datasets demonstrate that TART consistently improves clean accuracy while maintaining robustness against adversarial attacks.", "date": "2024-08-27", "categories": []} {"id": "2512.07222", "title": "Pay Less Attention to Function Words for Free Robustness of Vision-Language Models", "abstract": "To address the trade-off between robustness and performance for robust VLM, we observe that function words could incur vulnerability of VLMs against cross-modal adversarial attacks, and propose Function-word De-Attention (FDA) accordingly to mitigate the impact of function words. Similar to differential amplifiers, our FDA calculates the original and the function-word cross-attention within attention heads, and differentially subtracts the latter from the former for more aligned and robust VLMs. Comprehensive experiments include 2 SOTA baselines under 6 different attacks on 2 downstream tasks, 3 datasets, and 3 models. Overall, our FDA yields an average 18/13/53% ASR drop with only 0.2/0.3/0.6% performance drops on the 3 tested models on retrieval, and a 90% ASR drop with a 0.3% performance gain on visual grounding. We demonstrate the scalability, generalization, and zero-shot performance of FDA experimentally, as well as in-depth ablation studies and analysis. Code is available at https://github.com/michaeltian108/FDA.", "date": "2025-12-08", "categories": []} {"id": "2601.03416", "title": "GAMBIT: A Gamified Jailbreak Framework for Multimodal Large Language Models", "abstract": "Multimodal Large Language Models (MLLMs) have become widely deployed, yet their safety alignment remains fragile under adversarial inputs. Previous work has shown that increasing inference steps can disrupt safety mechanisms and lead MLLMs to generate attacker-desired harmful content. However, most existing attacks focus on increasing the complexity of the modified visual task itself and do not explicitly leverage the model's own reasoning incentives. This leads to them underperforming on reasoning models (Models with Chain-of-Thoughts) compared to non-reasoning ones (Models without Chain-of-Thoughts). If a model can think like a human, can we influence its cognitive-stage decisions so that it proactively completes a jailbreak? To validate this idea, we propose GAMBI} (Gamified Adversarial Multimodal Breakout via Instructional Traps), a novel multimodal jailbreak framework that decomposes and reassembles harmful visual semantics, then constructs a gamified scene that drives the model to explore, reconstruct intent, and answer as part of winning the game. The resulting structured reasoning chain increases task complexity in both vision and text, positioning the model as a participant whose goal pursuit reduces safety attention and induces it to answer the reconstructed malicious query. Extensive experiments on popular reasoning and non-reasoning MLLMs demonstrate that GAMBIT achieves high Attack Success Rates (ASR), reaching 92.13% on Gemini 2.5 Flash, 91.20% on QvQ-MAX, and 85.87% on GPT-4o, significantly outperforming baselines.", "date": "2026-01-06", "categories": []} {"id": "2601.15123", "title": "BREPS: Bounding-Box Robustness Evaluation of Promptable Segmentation", "abstract": "Promptable segmentation models such as SAM have established a powerful paradigm, enabling strong generalization to unseen objects and domains with minimal user input, including points, bounding boxes, and text prompts. Among these, bounding boxes stand out as particularly effective, often outperforming points while significantly reducing annotation costs. However, current training and evaluation protocols typically rely on synthetic prompts generated through simple heuristics, offering limited insight into real-world robustness. In this paper, we investigate the robustness of promptable segmentation models to natural variations in bounding box prompts. First, we conduct a controlled user study and collect thousands of real bounding box annotations. Our analysis reveals substantial variability in segmentation quality across users for the same model and instance, indicating that SAM-like models are highly sensitive to natural prompt noise. Then, since exhaustive testing of all possible user inputs is computationally prohibitive, we reformulate robustness evaluation as a white-box optimization problem over the bounding box prompt space. We introduce BREPS, a method for generating adversarial bounding boxes that minimize or maximize segmentation error while adhering to naturalness constraints. Finally, we benchmark state-of-the-art models across 10 datasets, spanning everyday scenes to medical imaging. Code - https://github.com/emb-ai/BREPS.", "date": "2026-01-21", "categories": []} {"id": "2604.14200", "title": "Retina gap junctions support the robust perception by warping neural representational geometries along the visual hierarchy", "abstract": "Deep Neural Networks (DNNs) are vulnerable to elaborately designed adversarial noise, although they have achieved extraordinary success in many tasks. Compared with DNNs, the human visual system is highly robust. However, it is unclear how the human visual system defends against adversarial attacks, especially the role of the early visual system and its influence on the brain manifold. Due to retina gap junctions being crucial for the denoising function in the early visual system, we combine a retina gap junction-based filter, G-filter, with DNN as an abstract human visual system model called the biological hybrid model. We adopt this model to study the defense performance of retina gap junctions and their impact on the brain manifold. Compared with other defense methods, the biological hybrid model is more robust and can be further improved by introducing noise during training. Next, we analyze the manifold and its decision boundary of the biological hybrid model from a geometry perspective. The results show that the biological hybrid model has a unique 2D decision boundary with high nonlinearity and a lower curvature of the decision boundary of the manifold compared to other defense methods. The transforming manifold may account for the high robustness of the biological hybrid model. Finally, to dissect G-filter and clarify its internal mechanism, we borrow the Neural Ordinary Differential Equation (ODE) concept and rewrite G-filter into an equivalent recurrent neural network. The results show that the decision boundary of the model's manifold will gradually change with time and eventually reach a steady state, which is modulated by gap junction conductance, revealing the influence of retina gap junctions on the brain manifold is a gradually evolving process.", "date": "2026-04-03", "categories": []} {"id": "2604.14604", "title": "Hijacking Large Audio-Language Models via Context-Agnostic and Imperceptible Auditory Prompt Injection", "abstract": "Modern Large audio-language models (LALMs) power intelligent voice interactions by tightly integrating audio and text. This integration, however, expands the attack surface beyond text and introduces vulnerabilities in the continuous, high-dimensional audio channel. While prior work studied audio jailbreaks, the security risks of malicious audio injection and downstream behavior manipulation remain underexamined. In this work, we reveal a previously overlooked threat, auditory prompt injection, under realistic constraints of audio data-only access and strong perceptual stealth. To systematically analyze this threat, we propose \\textit{AudioHijack}, a general framework that generates context-agnostic and imperceptible adversarial audio to hijack LALMs. \\textit{AudioHijack} employs sampling-based gradient estimation for end-to-end optimization across diverse models, bypassing non-differentiable audio tokenization. Through attention supervision and multi-context training, it steers model attention toward adversarial audio and generalizes to unseen user contexts. We also design a convolutional blending method that modulates perturbations into natural reverberation, making them highly imperceptible to users. Extensive experiments on 13 state-of-the-art LALMs show consistent hijacking across 6 misbehavior categories, achieving average success rates of 79\\%-96\\% on unseen user contexts with high acoustic fidelity. Real-world studies demonstrate that commercial voice agents from Mistral AI and Microsoft Azure can be induced to execute unauthorized actions on behalf of users. These findings expose critical vulnerabilities in LALMs and highlight the urgent need for dedicated defense.", "date": "2026-04-16", "categories": []} {"id": "2604.14643", "title": "Physically-Induced Atmospheric Adversarial Perturbations: Enhancing Transferability and Robustness in Remote Sensing Image Classification", "abstract": "Adversarial attacks pose a severe threat to the reliability of deep learning models in remote sensing (RS) image classification. Most existing methods rely on direct pixel-wise perturbations, failing to exploit the inherent atmospheric characteristics of RS imagery or survive real-world image degradations. In this paper, we propose FogFool, a physically plausible adversarial framework that generates fog-based perturbations by iteratively optimizing atmospheric patterns based on Perlin noise. By modeling fog formations with natural, irregular structures, FogFool generates adversarial examples that are not only visually consistent with authentic RS scenes but also deceptive. By leveraging the spatial coherence and mid-to-low-frequency nature of atmospheric phenomena, FogFool embeds adversarial information into structural features shared across diverse architectures. Extensive experiments on two benchmark RS datasets demonstrate that FogFool achieves superior performance: not only does it exceed in white-box settings, but also exhibits exceptional black-box transferability (reaching 83.74% TASR) and robustness against common preprocessing-based defenses such as JPEG compression and filtering. Detailed analyses, including confusion matrices and Class Activation Map (CAM) visualizations, reveal that our atmospheric-driven perturbations induce a universal shift in model attention. These results indicate that FogFool represents a practical, stealthy, and highly persistent threat to RS classification systems, providing a robust benchmark for evaluating model reliability in complex environments.", "date": "2026-04-16", "categories": []} {"id": "2508.00555", "title": "Activation-Guided Local Editing for Jailbreaking Attacks", "abstract": "Jailbreaking is an essential adversarial technique for red-teaming these models to uncover and patch security flaws. However, existing jailbreak methods face significant drawbacks. Token-level jailbreak attacks often produce incoherent or unreadable inputs and exhibit poor transferability, while prompt-level attacks lack scalability and rely heavily on manual effort and human ingenuity. We propose a concise and effective two-stage framework that combines the advantages of these approaches. The first stage performs a scenario-based generation of context and rephrases the original malicious query to obscure its harmful intent. The second stage then utilizes information from the model's hidden states to guide fine-grained edits, effectively steering the model's internal representation of the input from a malicious toward a benign one. Extensive experiments demonstrate that this method achieves state-of-the-art Attack Success Rate, with gains of up to 37.74% over the strongest baseline, and exhibits excellent transferability to black-box models. Our analysis further demonstrates that AGILE maintains substantial effectiveness against prominent defense mechanisms, highlighting the limitations of current safeguards and providing valuable insights for future defense development. Our code is available at https://github.com/SELGroup/AGILE.", "date": "2025-08-01", "categories": []} {"id": "2604.13316", "title": "Beyond Uniform Sampling: Synergistic Active Learning and Input Denoising for Robust Neural Operators", "abstract": "Neural operators have emerged as fast surrogate models for physics simulations, yet they remain acutely vulnerable to adversarial perturbations, a critical liability for safety-critical digital twin deployments. We present a synergistic defense that combines active learning-based data generation with an input denoising architecture. The active learning component adaptively probes model weaknesses using differential evolution attacks, then generates targeted training data at discovered vulnerability locations while an adaptive smooth-ratio safeguard preserves baseline accuracy. The input denoising component augments the operator architecture with a learnable bottleneck that filters adversarial noise while retaining physics-relevant features. On the viscous Burgers' equation benchmark, the combined approach achieves a 2.04% combined error (1.21% baseline + 0.83% robustness), representing an 87% reduction relative to standard training (15.42% combined) and outperforming both active learning alone (3.42%) and input denoising alone (5.22%). More broadly, our results, combined with cross-architecture vulnerability analysis from prior work, suggest that optimal training data for neural operators is architecture-dependent: because different architectures concentrate sensitivity in distinct input subspaces, uniform sampling cannot adequately cover the vulnerability landscape of all models. These findings have potential implications for the deployment of neural operators in safety-critical energy systems including nuclear reactor monitoring.", "date": "2026-04-14", "categories": []} {"id": "2410.03000", "title": "Towards Generalized Certified Robustness with Multi-Norm Training", "abstract": "Existing certified training methods can only train models to be robust against a certain perturbation type (e.g. $l_\\infty$ or $l_2$). However, an $l_\\infty$ certifiably robust model may not be certifiably robust against $l_2$ perturbation (and vice versa) and also has low robustness against other perturbations (e.g. geometric and patch transformation). By constructing a theoretical framework to analyze and mitigate the tradeoff, we propose the first multi-norm certified training framework \\textbf{CURE}, consisting of several multi-norm certified training methods, to attain better \\emph{union robustness} when training from scratch or fine-tuning a pre-trained certified model. Inspired by our theoretical findings, we devise bound alignment and connect natural training with certified training for better union robustness. Compared with SOTA-certified training, \\textbf{CURE} improves union robustness to $32.0\\%$ on MNIST, $25.8\\%$ on CIFAR-10, and $10.6\\%$ on TinyImagenet across different epsilon values. It leads to better generalization on a diverse set of challenging unseen geometric and patch perturbations to $6.8\\%$ and $16.0\\%$ on CIFAR-10. Overall, our contributions pave a path towards \\textit{generalized certified robustness}.", "date": "2024-10-03", "categories": []} {"id": "2511.09780", "title": "Hail to the Thief: Exploring Attacks and Defenses in Decentralised GRPO", "abstract": "Group Relative Policy Optimization (GRPO) has demonstrated wide adoption in the post-training of Large Language Models (LLMs). In GRPO, prompts are answered by the model and preferred behaviour is learnt via reinforcement learning. Owing to the small communication volume, GRPO is inherently suitable for decentralised training as the prompts can be concurrently answered by multiple nodes and these completions are exchanged in the form of strings. In this work, we explore the robustness of decentralised GRPO by presenting the first adversarial attacks and countermeasures. We present a diverse set of attacks where malicious nodes poison benign models by sharing their poisoned completions. We demonstrate these attacks on math and coding tasks and show that an adversary can achieve attack success rates of up to 100% in as few as 50 iterations. Moreover, to mitigate the attacks, we propose two defense mechanisms that check logit probabilities of completions or utilize an LLM judge to filter completions. The defenses prevent all but the DoS attack that causes unnecessarily lengthy but conceptually correct completions. The code of both attacks and defenses can be found at: https://github.com/gensyn-ai/HTTT.", "date": "2025-11-12", "categories": []} {"id": "2604.11928", "title": "INTARG: Informed Real-Time Adversarial Attack Generation for Time-Series Regression", "abstract": "Time-series forecasting aims to predict future values by modeling temporal dependencies in historical observations. It is a critical component of many real-world systems, where accurate forecasts improve operational efficiency and help mitigate uncertainty and risk. More recently, machine learning (ML), and especially deep learning (DL)-based models, have gained widespread adoption for time-series forecasting, but they remain vulnerable to adversarial attacks. However, many state-of-the-art attack methods are not directly applicable in time-series settings, where storing complete historical data or performing attacks at every time step is often impractical. This paper proposes an adversarial attack framework for time-series forecasting under an online bounded-buffer setting, leveraging an informed and selective attack strategy. By selectively targeting time steps where the model exhibits high confidence and the expected prediction error is maximal, our framework produces fewer but substantially more effective attacks. Experiments show that our framework can increase the prediction error up to 2.42x, while performing attacks in fewer than 10% of time steps.", "date": "2026-04-13", "categories": []} {"id": "2604.12757", "title": "GF-Score: Certified Class-Conditional Robustness Evaluation with Fairness Guarantees", "abstract": "Adversarial robustness is essential for deploying neural networks in safety-critical applications, yet standard evaluation methods either require expensive adversarial attacks or report only a single aggregate score that obscures how robustness is distributed across classes. We introduce the \\emph{GF-Score} (GREAT-Fairness Score), a framework that decomposes the certified GREAT Score into per-class robustness profiles and quantifies their disparity through four metrics grounded in welfare economics: the Robustness Disparity Index (RDI), the Normalized Robustness Gini Coefficient (NRGC), Worst-Case Class Robustness (WCR), and a Fairness-Penalized GREAT Score (FP-GREAT). The framework further eliminates the original method's dependence on adversarial attacks through a self-calibration procedure that tunes the temperature parameter using only clean accuracy correlations. Evaluating 22 models from RobustBench across CIFAR-10 and ImageNet, we find that the decomposition is exact, that per-class scores reveal consistent vulnerability patterns (e.g., ``cat'' is the weakest class in 76\\% of CIFAR-10 models), and that more robust models tend to exhibit greater class-level disparity. These results establish a practical, attack-free auditing pipeline for diagnosing where certified robustness guarantees fail to protect all classes equally. We release our code on \\href{https://github.com/aryashah2k/gf-score}{GitHub}.", "date": "2026-04-14", "categories": []} {"id": "2604.12780", "title": "Efficient Adversarial Training via Criticality-Aware Fine-Tuning", "abstract": "Vision Transformer (ViT) models have achieved remarkable performance across various vision tasks, with scalability being a key advantage when applied to large datasets. This scalability enables ViT models to exhibit strong generalization capabilities. However, as the number of parameters increases, the robustness of ViT models to adversarial examples does not scale proportionally. Adversarial training (AT), one of the most effective methods for enhancing robustness, typically requires fine-tuning the entire model, leading to prohibitively high computational costs, especially for large ViT architectures. In this paper, we aim to robustly fine-tune only a small subset of parameters to achieve robustness comparable to standard AT. To accomplish this, we introduce Criticality-Aware Adversarial Training (CAAT), a novel method that adaptively allocates resources to the most robustness-critical parameters, fine-tuning only selected modules. Specifically, CAAT efficiently identifies parameters that contribute most to adversarial robustness. It then leverages parameter-efficient fine-tuning (PEFT) to robustly adjust weight matrices where the number of critical parameters exceeds a predefined threshold. CAAT exhibits favorable generalization when scaled to larger vision transformer architectures, potentially paving the way for adversarial training at scale, e.g, compared with plain adversarial training, CAAT incurs only a 4.3% decrease in adversarial robustness while tuning approximately 6% of its parameters. Extensive experiments on three widely used adversarial learning datasets demonstrate that CAAT outperforms state-of-the-art lightweight AT methods with fewer trainable parameters.", "date": "2026-04-14", "categories": []} {"id": "2604.12781", "title": "Fragile Reconstruction: Adversarial Vulnerability of Reconstruction-Based Detectors for Diffusion-Generated Images", "abstract": "Recently, detecting AI-generated images produced by diffusion-based models has attracted increasing attention due to their potential threat to safety. Among existing approaches, reconstruction-based methods have emerged as a prominent paradigm for this task. However, we find that such methods exhibit severe security vulnerabilities to adversarial perturbations; that is, by adding imperceptible adversarial perturbations to input images, the detection accuracy of classifiers collapses to near zero. To verify this threat, we present a systematic evaluation of the adversarial robustness of three representative detectors across four diverse generative backbone models. First, we construct adversarial attacks in white-box scenarios, which degrade the performance of all well-trained detectors. Moreover, we find that these attacks demonstrate transferability; specifically, attacks crafted against one detector can be transferred to others, indicating that adversarial attacks on detectors can also be constructed in a black-box setting. Finally, we assess common countermeasures and find that standard defense methods against adversarial attacks provide limited mitigation. We attribute these failures to the low signal-to-noise ratio (SNR) of attacked samples as perceived by the detectors. Overall, our results reveal fundamental security limitations of reconstruction-based detectors and highlight the need to rethink existing detection strategies.", "date": "2026-04-14", "categories": []} {"id": "2604.12817", "title": "Understanding and Improving Continuous Adversarial Training for LLMs via In-context Learning Theory", "abstract": "Adversarial training (AT) is an effective defense for large language models (LLMs) against jailbreak attacks, but performing AT on LLMs is costly. To improve the efficiency of AT for LLMs, recent studies propose continuous AT (CAT) that searches for adversarial inputs within the continuous embedding space of LLMs during AT. While CAT has achieved empirical success, its underlying mechanism, i.e., why adversarial perturbations in the embedding space can help LLMs defend against jailbreak prompts synthesized in the input token space, remains unknown. This paper presents the first theoretical analysis of CAT on LLMs based on in-context learning (ICL) theory. For linear transformers trained with adversarial examples from the embedding space on in-context linear regression tasks, we prove a robust generalization bound that has a negative correlation with the perturbation radius in the embedding space. This clearly explains why CAT can defend against jailbreak prompts from the LLM's token space. Further, the robust bound shows that the robustness of an adversarially trained LLM is closely related to the singular values of its embedding matrix. Based on this, we propose to improve LLM CAT by introducing an additional regularization term, which depends on singular values of the LLM's embedding matrix, into the objective function of CAT. Experiments on real-world LLMs demonstrate that our method can help LLMs achieve a better jailbreak robustness-utility tradeoff. The code is available at https://github.com/fshp971/continuous-adv-icl.", "date": "2026-04-14", "categories": []} {"id": "2604.09706", "title": "The Deployment Gap in AI Media Detection: Platform-Aware and Visually Constrained Adversarial Evaluation", "abstract": "Recent AI media detectors report near-perfect performance under clean laboratory evaluation, yet their robustness under realistic deployment conditions remains underexplored. In practice, AI-generated images are resized, compressed, re-encoded, and visually modified before being shared on online platforms. We argue that this creates a deployment gap between laboratory robustness and real-world reliability.\n In this work, we introduce a platform-aware adversarial evaluation framework for AI media detection that explicitly models deployment transforms (e.g., resizing, compression, screenshot-style distortions) and constrains perturbations to visually plausible meme-style bands rather than full-image noise. Under this threat model, detectors achieving AUC $\\approx$ 0{.}99 in clean settings experience substantial degradation. Per-image platform-aware attacks reduce AUC to significantly lower levels and achieve high fake-to-real misclassification rates, despite strict visual constraints. We further demonstrate that universal perturbations exist even under localized band constraints, revealing shared vulnerability directions across inputs. Beyond accuracy degradation, we observe pronounced calibration collapse under attack, where detectors become confidently incorrect.\n Our findings highlight that robustness measured under clean conditions substantially overestimates deployment robustness. We advocate for platform-aware evaluation as a necessary component of future AI media security benchmarks and release our evaluation framework to facilitate standardized robustness assessment.", "date": "2026-04-07", "categories": []} {"id": "2604.09879", "title": "Topo-ADV: Generating Topology-Driven Imperceptible Adversarial Point Clouds", "abstract": "Deep neural networks for 3D point cloud understanding have achieved remarkable success in object classification and recognition, yet recent work shows that these models remain highly vulnerable to adversarial perturbations. Existing 3D attacks predominantly manipulate geometric properties such as point locations, curvature, or surface structure, implicitly assuming that preserving global shape fidelity preserves semantic content. In this work, we challenge this assumption and introduce the first topology-driven adversarial attack for point cloud deep learning. Our key insight is that the homological structure of a 3D object constitutes a previously unexplored vulnerability surface. We propose Topo-ADV, an end-to-end differentiable framework that incorporates persistent homology as an explicit optimization objective, enabling gradient-based manipulation of topological features during adversarial example generation. By embedding persistence diagrams through differentiable topological representations, our method jointly optimizes (i) a topology divergence loss that alters persistence, (ii) a misclassification objective, and (iii) geometric imperceptibility constraints that preserve visual plausibility. Experiments demonstrate that subtle topology-driven perturbations consistently achieve up to 100% attack success rates on benchmark datasets such as ModelNet40, ShapeNet Part, and ScanObjectNN using PointNet and DGCNN classifiers, while remaining geometrically indistinguishable from the original point clouds, beating state-of-the-art methods on various perceptibility metrics.", "date": "2026-04-10", "categories": []} {"id": "2604.10715", "title": "Defending against Patch-Based and Texture-Based Adversarial Attacks with Spectral Decomposition", "abstract": "Adversarial examples present significant challenges to the security of Deep Neural Network (DNN) applications. Specifically, there are patch-based and texture-based attacks that are usually used to craft physical-world adversarial examples, posing real threats to security-critical applications such as person detection in surveillance and autonomous systems, because those attacks are physically realizable. Existing defense mechanisms face challenges in the adaptive attack setting, i.e., the attacks are specifically designed against them. In this paper, we propose Adversarial Spectrum Defense (ASD), a defense mechanism that leverages spectral decomposition via Discrete Wavelet Transform (DWT) to analyze adversarial patterns across multiple frequency scales. The multi-resolution and localization capability of DWT enables ASD to capture both high-frequency (fine-grained) and low-frequency (spatially pervasive) perturbations. By integrating this spectral analysis with the off-the-shelf Adversarial Training (AT) model, ASD provides a comprehensive defense strategy against both patch-based and texture-based adversarial attacks. Extensive experiments demonstrate that ASD+AT achieved state-of-the-art (SOTA) performance against various attacks, outperforming the APs of previous defense methods by 21.73%, in the face of strong adaptive adversaries specifically designed against ASD. Code available at https://github.com/weiz0823/adv-spectral-defense .", "date": "2026-04-12", "categories": []} {"id": "2604.10837", "title": "Immune2V: Image Immunization Against Dual-Stream Image-to-Video Generation", "abstract": "Image-to-video (I2V) generation has the potential for societal harm because it enables the unauthorized animation of static images to create realistic deepfakes. While existing defenses effectively protect against static image manipulation, extending these to I2V generation remains underexplored and non-trivial. In this paper, we systematically analyze why modern I2V models are highly robust against naive image-level adversarial attacks (i.e., immunization). We observe that the video encoding process rapidly dilutes the adversarial noise across future frames, and the continuous text-conditioned guidance actively overrides the intended disruptive effect of the immunization. Building on these findings, we propose the Immune2V framework which enforces temporally balanced latent divergence at the encoder level to prevent signal dilution, and aligns intermediate generative representations with a precomputed collapse-inducing trajectory to counteract the text-guidance override. Extensive experiments demonstrate that Immune2V produces substantially stronger and more persistent degradation than adapted image-level baselines under the same imperceptibility budget.", "date": "2026-04-12", "categories": []} {"id": "2604.11576", "title": "Finetune Like You Pretrain: Boosting Zero-shot Adversarial Robustness in Vision-language Models", "abstract": "Despite their impressive zero-shot abilities, vision-language models such as CLIP have been shown to be susceptible to adversarial attacks. To enhance its adversarial robustness, recent studies finetune the pretrained vision encoder of CLIP with adversarial examples on a proxy dataset such as ImageNet by aligning adversarial images with correct class labels. However, these methods overlook the important roles of training data distributions and learning objectives, resulting in reduced zero-shot capabilities and limited transferability of robustness across domains and datasets. In this work, we propose a simple yet effective paradigm AdvFLYP, which follows the training recipe of CLIP's pretraining process when performing adversarial finetuning to the model. Specifically, AdvFLYP finetunes CLIP with adversarial images created based on image-text pairs collected from the web, and match them with their corresponding texts via a contrastive loss. To alleviate distortion of adversarial image embeddings of noisy web images, we further propose to regularise AdvFLYP by penalising deviation of adversarial image features. We show that logit- and feature-level regularisation terms benefit robustness and clean accuracy, respectively. Extensive experiments on 14 downstream datasets spanning various domains show the superiority of our paradigm over mainstream practices. Our code and model weights are released at https://github.com/Sxing2/AdvFLYP.", "date": "2026-04-13", "categories": []} {"id": "2604.11590", "title": "Learning Robustness at Test-Time from a Non-Robust Teacher", "abstract": "Nowadays, pretrained models are increasingly used as general-purpose backbones and adapted at test-time to downstream environments where target data are scarce and unlabeled. While this paradigm has proven effective for improving clean accuracy on the target domain, adversarial robustness has received far less attention, especially when the original pretrained model is not explicitly designed to be robust. This raises a practical question: \\emph{can a pretrained, non-robust model be adapted at test-time to improve adversarial robustness on a target distribution?} To face this question, this work studies how adversarial training strategies behave when integrated into adaptation schemes for the unsupervised test-time setting, where only a small set of unlabeled target samples is available. It first analyzes how classical adversarial training formulations can be extended to this scenario, showing that straightforward distillation-based adaptations remain unstable and highly sensitive to hyperparameter tuning, particularly when the teacher itself is non-robust.\n To address these limitations, the work proposes a label-free framework that uses the predictions of a non-robust teacher model as a semantic anchor for both the clean and adversarial objectives during adaptation. We further provide theoretical insights showing that our formulation yields a more stable alternative to the self-consistency-based regularization commonly used in classical adversarial training. Experiments evaluate the proposed approach on CIFAR-10 and ImageNet under induced photometric transformations. The results support the theoretical insights by showing that the proposed approach achieves improved optimization stability, lower sensitivity to parameter choices, and a better robustness-accuracy trade-off than existing baselines in this post-deployment test-time setting.", "date": "2026-04-13", "categories": []} {"id": "2501.11568", "title": "Graph Defense Diffusion Model", "abstract": "Graph Neural Networks (GNNs) are highly vulnerable to adversarial attacks, which can greatly degrade their performance. Existing graph purification methods attempt to address this issue by filtering attacked graphs. However, they struggle to defend effectively against multiple types of adversarial attacks (e.g., targeted attacks and non-targeted attacks) simultaneously due to limited flexibility. Additionally, these methods lack comprehensive modeling of graph data, relying heavily on heuristic prior knowledge. To overcome these challenges, we introduce the Graph Defense Diffusion Model (GDDM), a flexible purification method that leverages the denoising and modeling capabilities of diffusion models. The iterative nature of diffusion models aligns well with the stepwise process of adversarial attacks, making them particularly suitable for defense. By iteratively adding and removing noises (edges), GDDM effectively purifies attacked graphs, restoring their original structures and features. Our GDDM consists of two key components: (1) Graph Structure-Driven Refiner, which preserves the basic fidelity of the graph during the denoising process, and ensures that the generated graph remains consistent with the original scope; and (2) Node Feature-Constrained Regularizer, which removes residual impurities from the denoised graph, further enhancing the purification effect. By designing tailored denoising strategies to handle different types of adversarial attacks, we improve the GDDM's adaptability to various attack scenarios. Furthermore, GDDM demonstrates strong scalability, leveraging its structural properties to seamlessly transfer across similar datasets without retraining. Extensive experiments on three real-world datasets demonstrate that GDDM outperforms state-of-the-art methods in defending against various adversarial attacks, showcasing its robustness and effectiveness.", "date": "2025-01-20", "categories": []} {"id": "2511.09829", "title": "Thermally Activated Dual-Modal Adversarial Clothing against AI Surveillance Systems", "abstract": "Adversarial patches have emerged as a popular privacy-preserving approach for resisting AI-driven surveillance systems. However, their conspicuous appearance makes them difficult to deploy in real-world scenarios. In this paper, we propose a thermally activated adversarial wearable designed to ensure adaptability and effectiveness in complex real-world environments. The system integrates thermochromic dyes with flexible heating units to induce visually dynamic adversarial patterns on clothing surfaces. In its default state, the clothing appears as an ordinary black T-shirt. Upon heating via an embedded thermal unit, hidden adversarial patterns on the fabric are activated, allowing the wearer to effectively evade detection across both visible and infrared modalities. Physical experiments demonstrate that the adversarial wearable achieves rapid texture activation within 50 seconds and maintains an adversarial success rate above 80\\% across diverse real-world surveillance environments. This work demonstrates a new pathway toward physically grounded, user-controllable anti-AI systems, highlighting the growing importance of proactive adversarial techniques for privacy protection in the age of ubiquitous AI surveillance.", "date": "2025-11-13", "categories": []} {"id": "2512.03730", "title": "Out-of-the-box: Black-box Causal Attacks on Object Detectors", "abstract": "Adversarial perturbations are a useful way to expose vulnerabilities in object detectors. Existing perturbation methods are frequently white-box, architecture specific and use a loss function. More importantly, while they are often successful, it is rarely clear why they work. Insights into the mechanism of this success would allow developers to understand and analyze these attacks, as well as fine-tune the model to prevent them.\n This paper presents BlackCAtt, a black-box algorithm and tool, which uses minimal, causally sufficient pixel sets to construct explainable, imperceptible, reproducible, architecture-agnostic attacks on object detectors. We evaluate BlackCAtt on standard benchmarks and compare it to other black-box adversarial attacks methods. When BlackCAtt has access only to the position and label of a bounding box, it produces attacks that are comparable or better to those produced by other black-box methods. When BlackCAtt has access to the model confidence as well, it can work as a meta-algorithm, improving the ability of standard black-box techniques to construct smaller, less perceptible attacks.\n As BlackCAtt attacks manipulate causes only, the attacks become fully explainable. We compare the performance of BlackCAtt with other black-box attack methods and show that targeting causal pixels leads to smaller and less perceptible attacks. For example, when using BlackCAtt with SquareAttack, it reduces the average distance ($L_0$ norm) of the attack from the original input from $0.987$ to $0.072$, while maintaining a similar success rate. We perform ablation studies on the BlackCAtt algorithm and analyze the effect of different components on its performance.", "date": "2025-12-03", "categories": []} {"id": "2601.10587", "title": "Adversarial Evasion Attacks on Computer Vision using SHAP Values", "abstract": "The paper introduces a white-box attack on computer vision models using SHAP values. It demonstrates how adversarial evasion attacks can compromise the performance of deep learning models by reducing output confidence or inducing misclassifications. Such attacks are particularly insidious as they can deceive the perception of an algorithm while eluding human perception due to their imperceptibility to the human eye. The proposed attack leverages SHAP values to quantify the significance of individual inputs to the output at the inference stage. A comparison is drawn between the SHAP attack and the well-known Fast Gradient Sign Method. We find evidence that SHAP attacks are more robust in generating misclassifications particularly in gradient hiding scenarios.", "date": "2026-01-15", "categories": []} {"id": "2604.08405", "title": "SyncBreaker:Stage-Aware Multimodal Adversarial Attacks on Audio-Driven Talking Head Generation", "abstract": "Diffusion-based audio-driven talking-head generation enables realistic portrait animation, but also introduces risks of misuse, such as fraud and misinformation. Existing protection methods are largely limited to a single modality, and neither image-only nor audio-only attacks can effectively suppress speech-driven facial dynamics. To address this gap, we propose SyncBreaker, a stage-aware multimodal protection framework that jointly perturbs portrait and audio inputs under modality-specific perceptual constraints. Our key contributions are twofold. First, for the image stream, we introduce nullifying supervision with Multi-Interval Sampling (MIS) across diffusion stages to steer the generation toward the static reference portrait by aggregating guidance from multiple denoising intervals. Second, for the audio stream, we propose Cross-Attention Fooling (CAF), which suppresses interval-specific audio-conditioned cross-attention responses. Both streams are optimized independently and combined at inference time to enable flexible deployment. We evaluate SyncBreaker in a white-box proactive protection setting. Extensive experiments demonstrate that SyncBreaker more effectively degrades lip synchronization and facial dynamics than strong single-modality baselines, while preserving input perceptual quality and remaining robust under purification. Code: https://github.com/kitty384/SyncBreaker.", "date": "2026-04-09", "categories": []} {"id": "2604.08750", "title": "Adversarial Sensor Errors for Safe and Robust Wind Turbine Fleet Control", "abstract": "Plant-level control is an emerging wind energy technology that presents opportunities and challenges. By controlling turbines in a coordinated manner via a central controller, it is possible to achieve greater wind power plant efficiency. However, there is a risk that measurement errors will confound the process, or even that hackers will alter the telemetry signals received by the central controller. This paper presents a framework for developing a safe plant controller by training it with an adversarial agent designed to confound it. This necessitates training the adversary to confound the controller, creating a sort of circular logic or \"Arms Race.\" This paper examines three broad training approaches for co-training the protagonist and adversary, finding that an Arms Race approach yields the best results. These initial results indicate that the Arms Race adversarial training reduced worst-case performance degradation from 39% power loss to 7.9% power gain relative to a baseline operational strategy.", "date": "2026-04-09", "categories": []} {"id": "2604.09253", "title": "Mosaic: Multimodal Jailbreak against Closed-Source VLMs via Multi-View Ensemble Optimization", "abstract": "Vision-Language Models (VLMs) are powerful but remain vulnerable to multimodal jailbreak attacks. Existing attacks mainly rely on either explicit visual prompt attacks or gradient-based adversarial optimization. While the former is easier to detect, the latter produces subtle perturbations that are less perceptible, but is usually optimized and evaluated under homogeneous open-source surrogate-target settings, leaving its effectiveness on commercial closed-source VLMs under heterogeneous settings unclear. To examine this issue, we study different surrogate-target settings and observe a consistent gap between homogeneous and heterogeneous settings, a phenomenon we term surrogate dependency. Motivated by this finding, we propose Mosaic, a Multi-view ensemble optimization framework for multimodal jailbreak against closed-source VLMs, which alleviates surrogate dependency under heterogeneous surrogate-target settings by reducing over-reliance on any single surrogate model and visual view. Specifically, Mosaic incorporates three core components: a Text-Side Transformation module, which perturbs refusal-sensitive lexical patterns; a Multi-View Image Optimization module, which updates perturbations under diverse cropped views to avoid overfitting to a single visual view; and a Surrogate Ensemble Guidance module, which aggregates optimization signals from multiple surrogate VLMs to reduce surrogate-specific bias. Extensive experiments on safety benchmarks demonstrate that Mosaic achieves state-of-the-art Attack Success Rate and Average Toxicity against commercial closed-source VLMs.", "date": "2026-04-10", "categories": []} {"id": "2309.10348", "title": "Language Guided Adversarial Purification", "abstract": "Adversarial purification using generative models demonstrates strong adversarial defense performance. These methods are classifier and attack-agnostic, making them versatile but often computationally intensive. Recent strides in diffusion and score networks have improved image generation and, by extension, adversarial purification. Another highly efficient class of adversarial defense methods known as adversarial training requires specific knowledge of attack vectors, forcing them to be trained extensively on adversarial examples. To overcome these limitations, we introduce a new framework, namely Language Guided Adversarial Purification (LGAP), utilizing pre-trained diffusion models and caption generators to defend against adversarial attacks. Given an input image, our method first generates a caption, which is then used to guide the adversarial purification process through a diffusion network. Our approach has been evaluated against strong adversarial attacks, proving its effectiveness in enhancing adversarial robustness. Our results indicate that LGAP outperforms most existing adversarial defense techniques without requiring specialized network training. This underscores the generalizability of models trained on large datasets, highlighting a promising direction for further research.", "date": "2023-09-19", "categories": []} {"id": "2506.02978", "title": "On the Robustness of Tabular Foundation Models: Test-Time Attacks and In-Context Defenses", "abstract": "Recent tabular Foundational Models (FM) such as TabPFN and TabICL, leverage in-context learning to achieve strong performance without gradient updates or fine-tuning. However, their robustness to adversarial manipulation remains largely unexplored. In this work, we present a comprehensive study of the adversarial vulnerabilities of tabular FM, focusing on both their fragility to targeted test-time attacks and their potential misuse as adversarial tools. We show on three benchmarks in finance, cybersecurity and healthcare, that small, structured perturbations to test inputs can significantly degrade prediction accuracy, even when training context remain fixed. Additionally, we demonstrate that tabular FM can be repurposed to generate transferable evasion to conventional models such as random forests and XGBoost, and on a lesser extent to deep tabular models. To improve tabular FM, we formulate the robustification problem as an optimization of the weights (adversarial fine-tuning), or the context (adversarial in-context learning). We introduce an in-context adversarial training strategy that incrementally replaces the context with adversarial perturbed instances, without updating model weights. Our approach improves robustness across multiple tabular benchmarks. Together, these findings position tabular FM as both a target and a source of adversarial threats, highlighting the urgent need for robust training and evaluation practices in this emerging paradigm.", "date": "2025-06-03", "categories": []} {"id": "2506.08514", "title": "DiffGradCAM: A Class Activation Map Using the Full Model Decision to Solve Unaddressed Adversarial Attacks", "abstract": "Class Activation Mapping (CAM) and its gradient-based variants (e.g., GradCAM) have become standard tools for explaining Convolutional Neural Network (CNN) predictions. However, these approaches typically focus on individual logits, while for neural networks using softmax, the class membership probability estimates depend only on the differences between logits, not on their absolute values. This disconnect leaves standard CAMs vulnerable to adversarial manipulation, such as passive fooling, where a model is trained to produce misleading CAMs without affecting decision performance.\n To address this vulnerability, we propose DiffGradCAM and its higher-order derivative version DiffGradCAM++, as novel, lightweight, contrastive approaches to class activation mapping that are not susceptible to passive fooling and match the output of standard methods such as GradCAM and GradCAM++ in the non-adversarial case. To test our claims, we introduce Salience-Hoax Activation Maps (SHAMs), a more advanced, entropy-aware form of passive fooling that serves as a benchmark for CAM robustness under adversarial conditions. Together, SHAM and DiffGradCAM establish a new framework for probing and improving the robustness of saliency-based explanations. We validate both contributions across multi-class tasks with few and many classes.", "date": "2025-06-10", "categories": []} {"id": "2509.07673", "title": "Nearest Neighbor Projection Removal Adversarial Training", "abstract": "Deep neural networks have exhibited impressive performance in image classification tasks but remain vulnerable to adversarial examples. Standard adversarial training enhances robustness but typically fails to explicitly address inter-class feature overlap, a significant contributor to adversarial susceptibility. In this work, we introduce a novel adversarial training framework that actively mitigates inter-class proximity by projecting out inter-class dependencies from adversarial and clean samples in the feature space. Specifically, our approach first identifies the nearest inter-class neighbors for each adversarial sample and subsequently removes projections onto these neighbors to enforce stronger feature separability. Theoretically, we demonstrate that our proposed logits correction reduces the Lipschitz constant of neural networks, thereby lowering the Rademacher complexity, which directly contributes to improved generalization and robustness. Extensive experiments across standard benchmarks including CIFAR-10, CIFAR-100, SVHN, and TinyImagenet show that our method demonstrates strong performance that is competitive with leading adversarial training techniques, highlighting significant achievements in both robust and clean accuracy. Our findings reveal the importance of addressing inter-class feature proximity explicitly to bolster adversarial robustness in DNNs. The code is available in the supplementary material.", "date": "2025-09-09", "categories": []} {"id": "2604.06950", "title": "Making MLLMs Blind: Adversarial Smuggling Attacks in MLLM Content Moderation", "abstract": "Multimodal Large Language Models (MLLMs) are increasingly being deployed as automated content moderators. Within this landscape, we uncover a critical threat: Adversarial Smuggling Attacks. Unlike adversarial perturbations (for misclassification) and adversarial jailbreaks (for harmful output generation), adversarial smuggling exploits the Human-AI capability gap. It encodes harmful content into human-readable visual formats that remain AI-unreadable, thereby evading automated detection and enabling the dissemination of harmful content. We classify smuggling attacks into two pathways: (1) Perceptual Blindness, disrupting text recognition; and (2) Reasoning Blockade, inhibiting semantic understanding despite successful text recognition. To evaluate this threat, we constructed SmuggleBench, the first comprehensive benchmark comprising 1,700 adversarial smuggling attack instances. Evaluations on SmuggleBench reveal that both proprietary (e.g., GPT-5) and open-source (e.g., Qwen3-VL) state-of-the-art models are vulnerable to this threat, producing Attack Success Rates (ASR) exceeding 90%. By analyzing the vulnerability through the lenses of perception and reasoning, we identify three root causes: the limited capabilities of vision encoders, the robustness gap in OCR, and the scarcity of domain-specific adversarial examples. We conduct a preliminary exploration of mitigation strategies, investigating the potential of test-time scaling (via CoT) and adversarial training (via SFT) to mitigate this threat. Our code is publicly available at https://github.com/zhihengli-casia/smugglebench.", "date": "2026-04-08", "categories": []} {"id": "2604.08005", "title": "Preference Redirection via Attention Concentration: An Attack on Computer Use Agents", "abstract": "Advancements in multimodal foundation models have enabled the development of Computer Use Agents (CUAs) capable of autonomously interacting with GUI environments. As CUAs are not restricted to certain tools, they allow to automate more complex agentic tasks but at the same time open up new security vulnerabilities. While prior work has concentrated on the language modality, the vulnerability of the vision modality has received less attention. In this paper, we introduce PRAC, a novel attack that, unlike prior work targeting the VLM output directly, manipulates the model's internal preferences by redirecting its attention toward a stealthy adversarial patch. We show that PRAC is able to manipulate the selection process of a CUA on an online shopping platform towards a chosen target product. While we require white-box access to the model for the creation of the attack, we show that our attack generalizes to fine-tuned versions of the same model, presenting a critical threat as multiple companies build specific CUAs based on open weights models.", "date": "2026-04-09", "categories": []} {"id": "2603.13970", "title": "Shapes are not enough: CONSERVAttack and its use for finding vulnerabilities and uncertainties in machine learning applications", "abstract": "In High Energy Physics, as in many other fields of science, the application of machine learning techniques has been crucial in advancing our understanding of fundamental phenomena. Increasingly, deep learning models are applied to analyze both simulated and experimental data. In most experiments, a rigorous regime of testing for physically motivated systematic uncertainties is in place. The numerical evaluation of these tests for differences between the data on the one side and simulations on the other side quantifies the effect of potential sources of mismodelling on the machine learning output. In addition, thorough comparisons of marginal distributions and (linear) feature correlations between data and simulation in \"control regions\" are applied. However, the guidance by physical motivation, and the need to constrain comparisons to specific regions, does not guarantee that all possible sources of deviations have been accounted for. We therefore propose a new adversarial attack - the CONSERVAttack - designed to exploit the remaining space of hypothetical deviations between simulation and data after the above mentioned tests. The resulting adversarial perturbations are consistent within the uncertainty bounds - evading standard validation checks - while successfully fooling the underlying model. We further propose strategies to mitigate such vulnerabilities and argue that robustness to adversarial effects must be considered when interpreting results from deep learning in particle physics.", "date": "2026-03-14", "categories": []} {"id": "2604.06289", "title": "Adversarial Robustness of Time-Series Classification for Crystal Collimator Alignment", "abstract": "In this paper, we analyze and improve the adversarial robustness of a convolutional neural network (CNN) that assists crystal-collimator alignment at CERN's Large Hadron Collider (LHC) by classifying a beam-loss monitor (BLM) time series during crystal rotation. We formalize a local robustness property for this classifier under an adversarial threat model based on real-world plausibility. Building on established parameterized input-transformation patterns used for transformation- and semantic-perturbation robustness, we instantiate a preprocessing-aware wrapper for our deployed time-series pipeline: we encode time-series normalization, padding constraints, and structured perturbations as a lightweight differentiable wrapper in front of the CNN, so that existing gradient-based robustness frameworks can operate on the deployed pipeline. For formal verification, data-dependent preprocessing such as per-window z-normalization introduces nonlinear operators that require verifier-specific abstractions. We therefore focus on attack-based robustness estimates and pipeline-checked validity by benchmarking robustness with the frameworks Foolbox and ART. Adversarial fine-tuning of the resulting CNN improves robust accuracy by up to 18.6 % without degrading clean accuracy. Finally, we extend robustness on time-series data beyond single windows to sequence-level robustness for sliding-window classification, introduce adversarial sequences as counterexamples to a temporal robustness requirement over full scans, and observe attack-induced misclassifications that persist across adjacent windows.", "date": "2026-04-07", "categories": []} {"id": "2604.06865", "title": "Physical Adversarial Attacks on AI Surveillance Systems:Detection, Tracking, and Visible--Infrared Evasion", "abstract": "Physical adversarial attacks are increasingly studied in settings that resemble deployed surveillance systems rather than isolated image benchmarks. In these settings, person detection, multi-object tracking, visible--infrared sensing, and the practical form of the attack carrier all matter at once. This changes how the literature should be read. A perturbation that suppresses a detector in one frame may have limited practical effect if identity is recovered over time; an RGB-only result may say little about night-time systems that rely on visible and thermal inputs together; and a conspicuous patch can imply a different threat model from a wearable or selectively activated carrier. This paper reviews physical attacks from that surveillance-oriented viewpoint. Rather than attempting a complete catalogue of all physical attacks in computer vision, we focus on the technical questions that become central in surveillance: temporal persistence, sensing modality, carrier realism, and system-level objective. We organize prior work through a four-part taxonomy and discuss how recent results on multi-object tracking, dual-modal visible--infrared evasion, and controllable clothing reflect a broader change in the field. We also summarize evaluation practices and unresolved gaps, including distance robustness, camera-pipeline variation, identity-level metrics, and activation-aware testing. The resulting picture is that surveillance robustness cannot be judged reliably from isolated per-frame benchmarks alone; it has to be examined as a system problem unfolding over time, across sensors, and under realistic physical deployment constraints.", "date": "2026-04-08", "categories": []} {"id": "2604.06954", "title": "Compression as an Adversarial Amplifier Through Decision Space Reduction", "abstract": "Image compression is a ubiquitous component of modern visual pipelines, routinely applied by social media platforms and resource-constrained systems prior to inference. Despite its prevalence, the impact of compression on adversarial robustness remains poorly understood. We study a previously unexplored adversarial setting in which attacks are applied directly in compressed representations, and show that compression can act as an adversarial amplifier for deep image classifiers. Under identical nominal perturbation budgets, compression-aware attacks are substantially more effective than their pixel-space counterparts. We attribute this effect to decision space reduction, whereby compression induces a non-invertible, information-losing transformation that contracts classification margins and increases sensitivity to perturbations. Extensive experiments across standard benchmarks and architectures support our analysis and reveal a critical vulnerability in compression-in-the-loop deployment settings. Code will be released.", "date": "2026-04-08", "categories": []} {"id": "2604.06987", "title": "CAAP: Capture-Aware Adversarial Patch Attacks on Palmprint Recognition Models", "abstract": "Palmprint recognition is deployed in security-critical applications, including access control and palm-based payment, due to its contactless acquisition and highly discriminative ridge-and-crease textures. However, the robustness of deep palmprint recognition systems against physically realizable attacks remains insufficiently understood. Existing studies are largely confined to the digital setting and do not adequately account for the texture-dominant nature of palmprint recognition or the distortions introduced during physical acquisition. To address this gap, we propose CAAP, a capture-aware adversarial patch framework for palmprint recognition. CAAP learns a universal patch that can be reused across inputs while remaining effective under realistic acquisition variation. To match the structural characteristics of palmprints, the framework adopts a cross-shaped patch topology, which enlarges spatial coverage under a fixed pixel budget and more effectively disrupts long-range texture continuity. CAAP further integrates three modules: ASIT for input-conditioned patch rendering, RaS for stochastic capture-aware simulation, and MS-DIFE for feature-level identity-disruptive guidance. We evaluate CAAP on the Tongji, IITD, and AISEC datasets against generic CNN backbones and palmprint-specific recognition models. Experiments show that CAAP achieves strong untargeted and targeted attack performance with favorable cross-model and cross-dataset transferability. The results further show that, although adversarial training can partially reduce the attack success rate, substantial residual vulnerability remains. These findings indicate that deep palmprint recognition systems remain vulnerable to physically realizable, capture-aware adversarial patch attacks, underscoring the need for more effective defenses in practice. Code available at https://github.com/ryliu68/CAAP.", "date": "2026-04-08", "categories": []} {"id": "2407.14971", "title": "Sim-CLIP: Unsupervised Siamese Adversarial Fine-Tuning for Robust and Semantically-Rich Vision-Language Models", "abstract": "Vision-Language Models (VLMs) rely heavily on pretrained vision encoders to support downstream tasks such as image captioning, visual question answering, and zero-shot classification. Despite their strong performance, these encoders remain highly vulnerable to imperceptible adversarial perturbations, which can severely degrade both robustness and semantic quality in multimodal reasoning. In this work, we introduce Sim-CLIP, an unsupervised adversarial fine-tuning framework that enhances the robustness of the CLIP vision encoder while preserving overall semantic representations. Sim-CLIP adopts a Siamese training architecture with a cosine similarity objective and a symmetric stop-gradient mechanism to enforce semantic alignment between clean and adversarial views. This design avoids large-batch contrastive learning and additional momentum encoders, enabling robust training with low computational overhead. We evaluate Sim-CLIP across multiple Vision-Language Models and tasks under both targeted and untargeted adversarial attacks. Experimental results demonstrate that Sim-CLIP consistently outperforms state-of-the-art robust CLIP variants, achieving stronger adversarial robustness while maintaining or improving semantic fidelity. These findings highlight the limitations of existing adversarial defenses and establish Sim-CLIP as an effective and scalable solution for robust vision-language representation learning.", "date": "2024-07-20", "categories": []} {"id": "2504.18594", "title": "RaPA: Enhancing Transferable Targeted Attacks via Random Parameter Pruning", "abstract": "Compared to untargeted attacks, targeted transfer-based attack is still suffering from much lower Attack Success Rates (ASRs), although significant improvements have been achieved by kinds of methods, such as diversifying input, stabilizing the gradient, and re-training surrogate models. In this paper, we find that adversarial examples generated by existing methods rely heavily on a small subset of surrogate model parameters, which in turn limits their transferability to unseen target models. Inspired by this, we propose the Random Parameter Pruning Attack (RaPA), which introduces parameter-level randomization during the attack process. At each optimization step, RaPA randomly prunes model parameters to generate diverse yet semantically consistent surrogate variants.We show this parameter-level randomization is equivalent to adding an importance-equalization regularizer, thereby alleviating the over-reliance issue. Extensive experiments across both CNN and Transformer architectures demonstrate that RaPA substantially enhances transferability. In the challenging case of transferring from CNN-based to Transformer-based models, RaPA achieves up to 11.7% higher average ASRs than state-of-the-art baselines(with 33.3% ASRs), while being training-free, cross-architecture efficient, and easily integrated into existing attack frameworks. Code is available in https://github.com/molarsu/RaPA.", "date": "2025-04-24", "categories": []} {"id": "2505.12167", "title": "FABLE: A Localized, Targeted Adversarial Attack on Weather Forecasting Models", "abstract": "Deep learning-based weather forecasting (DLWF) models have recently demonstrated significant performance gains over gold-standard physics-based simulation tools. However, these models are potentially vulnerable to adversarial attacks, which raises concerns about their trustworthiness. In this paper, we investigate the feasibility and challenges of applying existing adversarial attack methods to DLWF models and propose a novel framework called FABLE (Forecast Alteration By Localized targeted advErsarial attack) to address them. FABLE performs a 3D discrete wavelet decomposition to disentangle the spatial and temporal components of the data. By regulating the magnitude of adversarial perturbations across different components, FABLE produces adversarial inputs that remain closely aligned with the original inputs while steering the DLWF models toward generating the targeted forecast outcomes. Experimental results on real-world weather datasets demonstrate the effectiveness of FABLE over baseline methods across various metrics.", "date": "2025-05-17", "categories": []} {"id": "2509.23279", "title": "Vid-Freeze: Protecting Images from Malicious Image-to-Video Generation via Temporal Freezing", "abstract": "The rapid progress of image-to-video (I2V) generation models has introduced significant risks by enabling deceptive or malicious video synthesis from a single image. Prior defenses such as I2VGuard attempt to immunize images by inducing spatio-temporal degradation, which does not necessarily provide meaningful protection, since residual motion can still convey malicious intent. In this work, we introduce Vid-Freeze -- a novel adversarial defense that adds imperceptible perturbations to enforce temporal freezing in generated videos. Our method explicitly targets attention dynamics in I2V models to suppress motion synthesis. As a result, immunized images produce standstill or near-static videos, effectively blocking malicious content generation. Experiments demonstrate strong protection across models and support temporal freezing as a promising direction for proactive and meaningful defense against I2V misuse.", "date": "2025-09-27", "categories": []} {"id": "2511.17362", "title": "ATAC: Augmentation-Based Test-Time Adversarial Correction for CLIP", "abstract": "Despite its remarkable success in zero-shot image-text matching, CLIP remains highly vulnerable to adversarial perturbations on images. As adversarial fine-tuning is prohibitively costly, recent works explore various test-time defense strategies; however, these approaches still exhibit limited robustness. In this work, we revisit this problem and propose a simple yet effective strategy: Augmentation-based Test-time Adversarial Correction (ATAC). Our method operates directly in the embedding space of CLIP, calculating augmentation-induced drift vectors to infer a semantic recovery direction and correcting the embedding based on the angular consistency of these latent drifts. Across a wide range of benchmarks, ATAC consistently achieves remarkably high robustness, surpassing that of previous state-of-the-art methods by nearly 50\\% on average, all while requiring minimal computational overhead. Furthermore, ATAC retains state-of-the-art robustness in unconventional and extreme settings and even achieves nontrivial robustness against adaptive attacks. Our results demonstrate that ATAC is an efficient method in a novel paradigm for test-time adversarial defenses in the embedding space of CLIP. Code is available at: https://github.com/kylin0421/ATAC", "date": "2025-11-21", "categories": []} {"id": "2603.27139", "title": "The Geometry of Robustness: Optimizing Loss Landscape Curvature and Feature Manifold Alignment for Robust Finetuning of Vision-Language Models", "abstract": "Fine-tuning approaches for Vision-Language Models (VLMs) face a critical three-way trade-off between In-Distribution (ID) accuracy, Out-of-Distribution (OOD) generalization, and adversarial robustness. Existing robust fine-tuning strategies resolve at most two axes of this trade-off. Generalization-preserving methods retain ID/OOD performance but leave models vulnerable to adversarial attacks, while adversarial training improves robustness to targeted attacks but degrades ID/OOD accuracy. Our key insight is that the robustness trade-off stems from two geometric failures: sharp, anisotropic minima in parameter space and unstable feature representations that deform under perturbation. To address this, we propose GRACE (Gram-aligned Robustness via Adaptive Curvature Estimation), a unified fine-tuning framework that jointly regularizes the parameter-space curvature and feature-space invariance for VLMs. Grounded in Robust PAC-Bayes theory, GRACE employs adaptive weight perturbations scaled by local curvature to promote flatter minima, combined with a feature alignment loss that maintains representation consistency across clean, adversarial, and OOD inputs. On ImageNet fine-tuning of CLIP models, GRACE simultaneously improves ID accuracy by 10.8%, and adversarial accuracy by 13.5% while maintaining 57.0% OOD accuracy (vs. 57.4% zero-shot baseline). Geometric analysis confirms that GRACE converges to flatter minima without feature distortion across distribution shifts, providing a principled step toward generalized robustness in foundation VLMs.", "date": "2026-03-28", "categories": []} {"id": "2604.03427", "title": "Adversarial Robustness of Deep State Space Models for Forecasting", "abstract": "State-space model (SSM) for time-series forecasting have demonstrated strong empirical performance on benchmark datasets, yet their robustness under adversarial perturbations is poorly understood. We address this gap through a control-theoretic lens, focusing on the recently proposed Spacetime SSM forecaster. We first establish that the decoder-only Spacetime architecture can represent the optimal Kalman predictor when the underlying data-generating process is autoregressive - a property no other SSM possesses. Building on this, we formulate robust forecaster design as a Stackelberg game against worst-case stealthy adversaries constrained by a detection budget, and solve it via adversarial training. We derive closed-form bounds on adversarial forecasting error that expose how open-loop instability, closed-loop instability, and decoder state dimension each amplify vulnerability - offering actionable principles towards robust forecaster design. Finally, we show that even adversaries with no access to the forecaster can nonetheless construct effective attacks by exploiting the model's locally linear input-output behavior, bypassing gradient computations entirely. Experiments on the Monash benchmark datasets highlight that model-free attacks, without any gradient computation, can cause at least 33% more error than projected gradient descent with a small step size.", "date": "2026-04-03", "categories": []} {"id": "2604.03843", "title": "Explainability-Guided Adversarial Attacks on Transformer-Based Malware Detectors Using Control Flow Graphs", "abstract": "Transformer-based malware detection systems operating on graph modalities such as control flow graphs (CFGs) achieve strong performance by modeling structural relationships in program behavior. However, their robustness to adversarial evasion attacks remains underexplored. This paper examines the vulnerability of a RoBERTa-based malware detector that linearizes CFGs into sequences of function calls, a design choice that enables transformer modeling but may introduce token-level sensitivities and ordering artifacts exploitable by adversaries. By evaluating evasion strategies within this graph-to-sequence framework, we provide insight into the practical robustness of transformer-based malware detectors beyond aggregate detection accuracy.\n This paper proposes a white-box adversarial evasion attack that leverages explainability mechanisms to identify and perturb most influential graph components. Using token- and word-level attributions derived from integrated gradients, the attack iteratively replaces positively attributed function calls with synthetic external imports, producing adversarial CFG representations without altering overall program structure. Experimental evaluation on small- and large-scale Windows Portable Executable (PE) datasets demonstrates that the proposed method can reliably induce misclassification, even against models trained to high accuracy. Our results highlight that explainability tools, while valuable for interpretability, can also expose critical attack surfaces in transformer-based malware detectors.", "date": "2026-04-04", "categories": []} {"id": "2604.03995", "title": "A Systematic Study of Cross-Modal Typographic Attacks on Audio-Visual Reasoning", "abstract": "As audio-visual multi-modal large language models (MLLMs) are increasingly deployed in safety-critical applications, understanding their vulnerabilities is crucial. To this end, we introduce Multi-Modal Typography, a systematic study examining how typographic attacks across multiple modalities adversely influence MLLMs. While prior work focuses narrowly on unimodal attacks, we expose the cross-modal fragility of MLLMs. We analyze the interactions between audio, visual, and text perturbations and reveal that coordinated multi-modal attack creates a significantly more potent threat than single-modality attacks (attack success rate = $83.43\\%$ vs $34.93\\%$).Our findings across multiple frontier MLLMs, tasks, and common-sense reasoning and content moderation benchmarks establishes multi-modal typography as a critical and underexplored attack strategy in multi-modal reasoning. Code and data will be publicly available.", "date": "2026-04-05", "categories": []} {"id": "2604.04060", "title": "CoopGuard: Stateful Cooperative Agents Safeguarding LLMs Against Evolving Multi-Round Attacks", "abstract": "As Large Language Models (LLMs) are increasingly deployed in complex applications, their vulnerability to adversarial attacks raises urgent safety concerns, especially those evolving over multi-round interactions. Existing defenses are largely reactive and struggle to adapt as adversaries refine strategies across rounds. In this work, we propose CoopGuard , a stateful multi-round LLM defense framework based on cooperative agents that maintains and updates an internal defense state to counter evolving attacks. It employs three specialized agents (Deferring Agent, Tempting Agent, and Forensic Agent) for complementary round-level strategies, coordinated by System Agent, which conditions decisions on the evolving defense state (interaction history) and orchestrates agents over time. To evaluate evolving threats, we introduce the EMRA benchmark with 5,200 adversarial samples across 8 attack types, simulating progressively LLM multi-round attacks. Experiments show that CoopGuard reduces attack success rate by 78.9% over state-of-the-art defenses, while improving deceptive rate by 186% and reducing attack efficiency by 167.9%, offering a more comprehensive assessment of multi-round defense. These results demonstrate that CoopGuard provides robust protection for LLMs in multi-round adversarial scenarios.", "date": "2026-04-05", "categories": []} {"id": "2604.04349", "title": "Adversarial Robustness Analysis of Cloud-Assisted Autonomous Driving Systems", "abstract": "Autonomous vehicles increasingly rely on deep learning-based perception and control, which impose substantial computational demands. Cloud-assisted architectures offload these functions to remote servers, enabling enhanced perception and coordinated decision-making through the Internet of Vehicles (IoV). However, this paradigm introduces cross-layer vulnerabilities, where adversarial manipulation of perception models and network impairments in the vehicle-cloud link can jointly undermine safety-critical autonomy. This paper presents a hardware-in-the-loop IoV testbed that integrates real-time perception, control, and communication to evaluate such vulnerabilities in cloud-assisted autonomous driving. A YOLOv8-based object detector deployed on the cloud is subjected to whitebox adversarial attacks using the Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD), while network adversaries induce delay and packet loss in the vehicle-cloud loop. Results show that adversarial perturbations significantly degrade perception performance, with PGD reducing detection precision and recall from 0.73 and 0.68 in the clean baseline to 0.22 and 0.15 at epsilon= 0.04. Network delays of 150-250 ms, corresponding to transient losses of approximately 3-4 frames, and packet loss rates of 0.5-5 % further destabilize closed-loop control, leading to delayed actuation and rule violations. These findings highlight the need for cross-layer resilience in cloud-assisted autonomous driving systems.", "date": "2026-04-06", "categories": []} {"id": "2410.13891", "title": "S$^4$ST: A Strong, Self-transferable, faSt, and Simple Scale Transformation for Transferable Targeted Attack", "abstract": "Transferable Targeted Attacks (TTAs) face significant challenges due to severe overfitting to surrogate models. Recent breakthroughs heavily rely on large-scale training data of victim models, while data-free solutions, \\textit{i.e.}, image transformation-involved gradient optimization, often depend on black-box feedback for method design and tuning. These dependencies violate black-box transfer settings and compromise threat evaluation fairness. In this paper, we propose two blind estimation measures, self-alignment and self-transferability, to analyze per-transformation effectiveness and cross-transformation correlations under strict black-box constraints. Our findings challenge conventional assumptions: (1) Attacking simple scaling transformations uniquely enhances targeted transferability, outperforming other basic transformations and rivaling leading complex methods; (2) Geometric and color transformations exhibit high internal redundancy despite weak inter-category correlations. These insights drive the design and tuning of S$^4$ST (Strong, Self-transferable, faSt, Simple Scale Transformation), which integrates dimensionally consistent scaling, complementary low-redundancy transformations, and block-wise operations. Extensive evaluations across diverse architectures, training distributions, and tasks show that S$^{4}$ST achieves state-of-the-art effectiveness-efficiency balance without data dependency. We reveal that scaling's effectiveness stems from visual data's multi-scale nature and ubiquitous scale augmentation during training, rendering such augmentation a double-edged sword. Further validations on medical imaging and face verification confirm the framework's strong generalization.", "date": "2024-10-13", "categories": []} {"id": "2604.02457", "title": "Street-Legal Physical-World Adversarial Rim for License Plates", "abstract": "Automatic license plate reader (ALPR) systems are widely deployed to identify and track vehicles. While prior work has demonstrated vulnerabilities in ALPR systems, far less attention has been paid to their legality and physical-world practicality. We investigate whether low-resourced threat actors can engineer a successful adversarial attack against a modern open-source ALPR system. We introduce the Street-legal Physical Adversarial Rim (SPAR), a physically realizable white-box attack against the popular ALPR system fast-alpr. SPAR requires no access to ALPR infrastructure during attack deployment and does not alter or obscure the attacker's license plate. Based on prior legislation and case law, we argue that SPAR is street-legal in the state of Texas. Under optimal conditions, SPAR reduces ALPR accuracy by 60% and achieves an 18% targeted impersonation rate. SPAR can be produced for under $100, and it was implemented entirely by commercial agentic coding assistants. These results highlight practical vulnerabilities in modern ALPR systems under realistic physical-world conditions and suggest new directions for both attack and defense.", "date": "2026-04-02", "categories": []} {"id": "2604.02686", "title": "Beyond Semantic Manipulation: Token-Space Attacks on Reward Models", "abstract": "Reward models (RMs) are widely used as optimization targets in reinforcement learning from human feedback (RLHF), yet they remain vulnerable to reward hacking. Existing attacks mainly operate within the semantic space, constructing human-readable adversarial outputs that exploit RM biases. In this work, we introduce a fundamentally different paradigm: Token Mapping Perturbation Attack (TOMPA), a framework that performs adversarial optimization directly in token space. By bypassing the standard decode-re-tokenize interface between the policy and the reward model, TOMPA enables the attack policy to optimize over raw token sequences rather than coherent natural language. Using only black-box scalar feedback, TOMPA automatically discovers non-linguistic token patterns that elicit extremely high rewards across multiple state-of-the-art RMs. Specifically, when targeting Skywork-Reward-V2-Llama-3.1-8B, TOMPA nearly doubles the reward of GPT-5 reference answers and outperforms them on 98.0% of prompts. Despite these high scores, the generated outputs degenerate into nonsensical text, revealing that RMs can be systematically exploited beyond the semantic regime and exposing a critical vulnerability in current RLHF pipelines.", "date": "2026-04-03", "categories": []} {"id": "2604.02780", "title": "A Unified Perspective on Adversarial Membership Manipulation in Vision Models", "abstract": "Membership inference attacks (MIAs) aim to determine whether a specific data point was part of a model's training set, serving as effective tools for evaluating privacy leakage of vision models. However, existing MIAs implicitly assume honest query inputs, and their adversarial robustness remains unexplored. We show that MIAs for vision models expose a previously overlooked adversarial surface: adversarial membership manipulation, where imperceptible perturbations can reliably push non-member images into the \"member\" region of state-of-the-art MIAs. In this paper, we provide the first unified perspective on this phenomenon by analyzing its mechanism and implications. We begin by demonstrating that adversarial membership fabrication is consistently effective across diverse architectures and datasets. We then reveal a distinctive geometric signature - a characteristic gradient-norm collapse trajectory - that reliably separates fabricated from true members despite their nearly identical semantic representations. Building on this insight, we introduce a principled detection strategy grounded in gradient-geometry signals and develop a robust inference framework that substantially mitigates adversarial manipulation. Extensive experiments show that fabrication is broadly effective, while our detection and robust inference strategies significantly enhance resilience. This work establishes the first comprehensive framework for adversarial membership manipulation in vision models.", "date": "2026-04-03", "categories": []} {"id": "2604.03117", "title": "Revealing Physical-World Semantic Vulnerabilities: Universal Adversarial Patches for Infrared Vision-Language Models", "abstract": "Infrared vision-language models (IR-VLMs) have emerged as a promising paradigm for multimodal perception in low-visibility environments, yet their robustness to adversarial attacks remains largely unexplored. Existing adversarial patch methods are mainly designed for RGB-based models in closed-set settings and are not readily applicable to the open-ended semantic understanding and physical deployment requirements of infrared VLMs. To bridge this gap, we propose Universal Curved-Grid Patch (UCGP), a universal physical adversarial patch framework for IR-VLMs. UCGP integrates Curved-Grid Mesh (CGM) parameterization for continuous, low-frequency, and deployable patch generation with a unified representation-driven objective that promotes subspace departure, topology disruption, and stealth. To improve robustness under real-world deployment and domain shift, we further incorporate Meta Differential Evolution and EOT-augmented TPS deformation modeling. Rather than manipulating labels or prompts, UCGP directly disrupts the visual representation space, weakening cross-modal semantic alignment. Extensive experiments demonstrate that UCGP consistently compromises semantic understanding across diverse IR-VLM architectures while maintaining cross-model transferability, cross-dataset generalization, real-world physical effectiveness, and robustness against defenses. These findings reveal a previously overlooked robustness vulnerability in current infrared multimodal systems.", "date": "2026-04-03", "categories": []} {"id": "2508.02530", "title": "Understanding the Risks of Asphalt Art to the Reliability of Vision-Based Perception Systems", "abstract": "Artistic crosswalks featuring asphalt art, introduced by different organizations in recent years, aim to enhance the visibility and safety of pedestrians. However, their visual complexity may interfere with surveillance systems that rely on vision-based object detection models. In this study, we investigate the impact of asphalt art on pedestrian detection performance of a pretrained vision-based object detection model. We construct realistic crosswalk scenarios by compositing various street art patterns into a fixed surveillance scene and evaluate the model's performance in detecting pedestrians on asphalt-arted crosswalks under both benign and adversarial conditions. A benign case refers to pedestrian crosswalks painted with existing normal asphalt art, whereas an adversarial case involves digitally crafted or altered asphalt art perpetrated by an attacker. Our results show that while simple, color-based designs have minimal effect, complex artistic patterns, particularly those with high visual salience, can significantly degrade pedestrian detection performance. Furthermore, we demonstrate that adversarially crafted asphalt art can be exploited to deliberately obscure real pedestrians or generate non-existent pedestrian detections. These findings highlight a potential vulnerability in urban vision-based pedestrian surveillance systems, and underscore the importance of accounting for environmental visual variations when designing robust pedestrian perception models.", "date": "2025-08-04", "categories": []} {"id": "2510.00463", "title": "On the Adversarial Robustness of Learning-based Conformal Novelty Detection", "abstract": "This paper studies the adversarial robustness of conformal novelty detection. In particular, we focus on two powerful learning-based frameworks that come with finite-sample false discovery rate (FDR) control: one is AdaDetect (by Marandon et al., 2024) that is based on the positive-unlabeled classifier, and the other is a one-class classifier-based approach (by Bates et al., 2023). While they provide rigorous statistical guarantees under benign conditions, their behavior under adversarial perturbations remains underexplored. We first formulate an oracle attack setup, under the AdaDetect formulation, that quantifies the worst-case degradation of FDR, deriving an upper bound that characterizes the statistical cost of attacks. This idealized formulation directly motivates a practical and effective attack scheme that only requires query access to the output labels of both frameworks. Coupling these formulations with two popular and complementary black-box adversarial algorithms, we systematically evaluate the vulnerability of both frameworks on synthetic and real-world datasets. Our results show that adversarial perturbations can significantly increase the FDR while maintaining high detection power, exposing fundamental limitations of current error-controlled novelty detection methods and motivating the development of more robust alternatives.", "date": "2025-10-01", "categories": []} {"id": "2604.01618", "title": "Tex3D: Objects as Attack Surfaces via Adversarial 3D Textures for Vision-Language-Action Models", "abstract": "Vision-language-action (VLA) models have shown strong performance in robotic manipulation, yet their robustness to physically realizable adversarial attacks remains underexplored. Existing studies reveal vulnerabilities through language perturbations and 2D visual attacks, but these attack surfaces are either less representative of real deployment or limited in physical realism. In contrast, adversarial 3D textures pose a more physically plausible and damaging threat, as they are naturally attached to manipulated objects and are easier to deploy in physical environments. Bringing adversarial 3D textures to VLA systems is nevertheless nontrivial. A central obstacle is that standard 3D simulators do not provide a differentiable optimization path from the VLA objective function back to object appearance, making it difficult to optimize through an end-to-end manner. To address this, we introduce Foreground-Background Decoupling (FBD), which enables differentiable texture optimization through dual-renderer alignment while preserving the original simulation environment. To further ensure that the attack remains effective across long-horizon and diverse viewpoints in the physical world, we propose Trajectory-Aware Adversarial Optimization (TAAO), which prioritizes behaviorally critical frames and stabilizes optimization with a vertex-based parameterization. Built on these designs, we present Tex3D, the first framework for end-to-end optimization of 3D adversarial textures directly within the VLA simulation environment. Experiments in both simulation and real-robot settings show that Tex3D significantly degrades VLA performance across multiple manipulation tasks, achieving task failure rates of up to 96.7\\%. Our empirical results expose critical vulnerabilities of VLA systems to physically grounded 3D adversarial attacks and highlight the need for robustness-aware training.", "date": "2026-04-02", "categories": []} {"id": "2604.00452", "title": "Out of Sight, Out of Track: Adversarial Attacks on Propagation-based Multi-Object Trackers via Query State Manipulation", "abstract": "Recent Tracking-by-Query-Propagation (TBP) methods have advanced Multi-Object Tracking (MOT) by enabling end-to-end (E2E) pipelines with long-range temporal modeling. However, this reliance on query propagation introduces unexplored architectural vulnerabilities to adversarial attacks. We present FADE, a novel attack framework designed to exploit these specific vulnerabilities. FADE employs two attack strategies targeting core TBP mechanisms: (i) Temporal Query Flooding: Generates spurious temporally consistent track queries to exhaust the tracker's limited query budget, forcing it to terminate valid tracks. (ii) Temporal Memory Corruption: Directly attacks the query updater's memory by severing temporal links via state de-correlation and erasing the learned feature identity of matched tracks. Furthermore, we introduce a differentiable pipeline to optimize these attacks for physical-world realizability by leveraging simulations of advanced perception sensor spoofing. Experiments on MOT17 and MOT20 benchmarks demonstrate that FADE is highly effective against state-of-the-art TBP trackers, causing significant identity switches and track terminations.", "date": "2026-04-01", "categories": []} {"id": "2604.00938", "title": "WARP: Guaranteed Inner-Layer Repair of NLP Transformers", "abstract": "Transformer-based NLP models remain vulnerable to adversarial perturbations, yet existing repair methods face a fundamental trade-off: gradient-based approaches offer flexibility but lack verifiability and often overfit; methods that do provide repair guarantees are restricted to the final layer or small networks, significantly limiting the parameter search space available for repair. We present WARP (Weight-Adjusted Repair with Provability), a constraint-based repair framework that extends repair beyond the last layer of Transformer models. WARP formulates repair as a convex quadratic program derived from a first-order linearization of the logit gap, enabling tractable optimization over a high-dimensional parameter space. Under the condition that the first-order approximation holds, this formulation induces three per-sample guarantees: (i) a positive margin constraint ensuring correct classification on repaired inputs, (ii) preservation constraints over a designated remain set, and (iii) a certified robustness radius derived from Lipschitz continuity. To ensure feasibility across varying model architectures, we introduce a sensitivity-based preprocessing step that conditions the optimization landscape accordingly. We further show that the iterative optimization procedure converges to solutions satisfying all repair constraints under mild assumptions. Empirical evaluation on encoder-only Transformers with varying layer architectures validates that these guarantees hold in practice while improving robustness to adversarial inputs. Our results demonstrate that guaranteed, generalizable Transformer repair is achievable through principled constraint-based optimization.", "date": "2026-04-01", "categories": []} {"id": "2603.26984", "title": "A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models", "abstract": "Despite the rapid progress in multimodal models and Large Visual-Language Models (LVLM), they remain highly susceptible to adversarial perturbations, raising serious concerns about their reliability in real-world use. While adversarial training has become the leading paradigm for building models that are robust to adversarial attacks, Test-Time Transformations (TTT) have emerged as a promising strategy to boost robustness at inference. In light of this, we propose Energy-Guided Test-Time Transformation (ET3), a lightweight, training-free defense that enhances the robustness by minimizing the energy of the input samples. Our method is grounded in a theory that proves our transformation succeeds in classification under reasonable assumptions. We present extensive experiments demonstrating that ET3 provides a strong defense for classifiers, zero-shot classification with CLIP, and also for boosting the robustness of LVLMs in tasks such as Image Captioning and Visual Question Answering. Code is available at github.com/OmnAI-Lab/Energy-Guided-Test-Time-Defense .", "date": "2026-03-27", "categories": []} {"id": "2603.28594", "title": "Detection of Adversarial Attacks in Robotic Perception", "abstract": "Deep Neural Networks (DNNs) achieve strong performance in semantic segmentation for robotic perception but remain vulnerable to adversarial attacks, threatening safety-critical applications. While robustness has been studied for image classification, semantic segmentation in robotic contexts requires specialized architectures and detection strategies.", "date": "2026-03-30", "categories": []} {"id": "2603.29182", "title": "Dummy-Aware Weighted Attack (DAWA): Breaking the Safe Sink in Dummy Class Defenses", "abstract": "Adversarial robustness evaluation faces a critical challenge as new defense paradigms emerge that can exploit limitations in existing assessment methods. This paper reveals that Dummy Classes-based defenses, which introduce an additional \"dummy\" class as a safety sink for adversarial examples, achieve significantly overestimated robustness under conventional evaluation strategies like AutoAttack. The fundamental limitation stems from these attacks' singular focus on misleading the true class label, which aligns perfectly with the defense mechanism--successful attacks are simply captured by the dummy class. To address this gap, we propose Dummy-Aware Weighted Attack (DAWA), a novel evaluation method that simultaneously targets both the true label and dummy label with adaptive weighting during adversarial example synthesis. Extensive experiments demonstrate that DAWA effectively breaks this defense paradigm, reducing the measured robustness of a leading Dummy Classes-based defense from 58.61% to 29.52% on CIFAR-10 under l_infty perturbation (epsilon=8/255). Our work provides a more reliable benchmark for evaluating this emerging class of defenses and highlights the need for continuous evolution of robustness assessment methodologies.", "date": "2026-03-31", "categories": []} {"id": "2603.29410", "title": "AGFT: Alignment-Guided Fine-Tuning for Zero-Shot Adversarial Robustness of Vision-Language Models", "abstract": "Pre-trained vision-language models (VLMs) exhibit strong zero-shot generalization but remain vulnerable to adversarial perturbations. Existing classification-guided adversarial fine-tuning methods often disrupt pre-trained cross-modal alignment, weakening visual-textual correspondence and degrading zero-shot performance. In this paper, we propose an Alignment-Guided Fine-Tuning (AGFT) framework that enhances zero-shot adversarial robustness while preserving the cross-modal semantic structure. Unlike label-based methods that rely on hard labels and fail to maintain the relative relationships between image and text, AGFT leverages the probabilistic predictions of the original model for text-guided adversarial training, which aligns adversarial visual features with textual embeddings via soft alignment distributions, improving zero-shot adversarial robustness. To address structural discrepancies introduced by fine-tuning, we introduce a distribution consistency calibration mechanism that adjusts the robust model output to match a temperature-scaled version of the pre-trained model predictions. Extensive experiments across multiple zero-shot benchmarks demonstrate that AGFT outperforms state-of-the-art methods while significantly improving zero-shot adversarial robustness.", "date": "2026-03-31", "categories": []} {"id": "2603.29418", "title": "Adversarial Prompt Injection Attack on Multimodal Large Language Models", "abstract": "Although multimodal large language models (MLLMs) are increasingly deployed in real-world applications, their instruction-following behavior leaves them vulnerable to prompt injection attacks. Existing prompt injection methods predominantly rely on textual prompts or perceptible visual prompts that are observable by human users. In this work, we study imperceptible visual prompt injection against powerful closed-source MLLMs, where adversarial instructions are embedded in the visual modality. Our method adaptively embeds the malicious prompt into the input image via a bounded text overlay to provide semantic guidance. Meanwhile, the imperceptible visual perturbation is iteratively optimized to align the feature representation of the attacked image with those of the malicious visual and textual targets at both coarse- and fine-grained levels. Specifically, the visual target is instantiated as a text-rendered image and progressively refined during optimization to more faithfully represent the desired semantics and improve transferability. Extensive experiments on two multimodal understanding tasks across multiple closed-source MLLMs demonstrate the superior performance of our approach compared to existing methods.", "date": "2026-03-31", "categories": []} {"id": "2306.05494", "title": "Evasion Adversarial Attacks Remain Impractical Against ML-based Network Intrusion Detection Systems, Especially Dynamic Ones", "abstract": "Machine Learning (ML) has become pervasive, and its deployment in Network Intrusion Detection Systems (NIDS) is inevitable due to its automated nature and high accuracy compared to traditional models in processing and classifying large volumes of data. However, ML has been found to have several flaws, most importantly, adversarial attacks, which aim to trick ML models into producing faulty predictions. While most adversarial attack research focuses on computer vision datasets, recent studies have explored the suitability of these attacks against ML-based network security entities, especially NIDS, due to the wide difference between different domains regarding the generation of adversarial attacks. To further explore the practicality of adversarial attacks against ML-based NIDS in-depth, this paper presents several key contributions: identifying numerous practicality issues for evasion adversarial attacks on ML-NIDS using an attack tree threat model, introducing a taxonomy of practicality issues associated with adversarial attacks against ML-based NIDS, identifying specific leaf nodes in our attack tree that demonstrate some practicality for real-world implementation and conducting a comprehensive review and exploration of these potentially viable attack approaches, and investigating how the dynamicity of real-world ML models affects evasion adversarial attacks against NIDS. Our experiments indicate that continuous re-training, even without adversarial training, can reduce the effectiveness of adversarial attacks. While adversarial attacks can compromise ML-based NIDSs, our aim is to highlight the significant gap between research and real-world practicality in this domain, which warrants attention.", "date": "2023-06-08", "categories": []} {"id": "2504.16474", "title": "Seeking Flat Minima over Diverse Surrogates for Improved Adversarial Transferability: A Theoretical Framework and Algorithmic Instantiation", "abstract": "The transfer-based black-box adversarial attack setting poses the challenge of crafting an adversarial example (AE) on known surrogate models that remain effective against unseen target models. Due to the practical importance of this task, numerous methods have been proposed to address this challenge. However, most previous methods are heuristically designed and intuitively justified, lacking a theoretical foundation. To bridge this gap, we derive a novel transferability bound that offers provable guarantees for adversarial transferability. Our theoretical analysis has the advantages of \\textit{(i)} deepening our understanding of previous methods by building a general attack framework and \\textit{(ii)} providing guidance for designing an effective attack algorithm. Our theoretical results demonstrate that optimizing AEs toward flat minima over the surrogate model set, while controlling the surrogate-target model shift measured by the adversarial model discrepancy, yields a comprehensive guarantee for AE transferability. The results further lead to a general transfer-based attack framework, within which we observe that previous methods consider only partial factors contributing to the transferability. Algorithmically, inspired by our theoretical results, we first elaborately construct the surrogate model set in which models exhibit diverse adversarial vulnerabilities with respect to AEs to narrow an instantiated adversarial model discrepancy. Then, a \\textit{model-Diversity-compatible Reverse Adversarial Perturbation} (DRAP) is generated to effectively promote the flatness of AEs over diverse surrogate models to improve transferability. Extensive experiments on NIPS2017 and CIFAR-10 datasets against various target models demonstrate the effectiveness of our proposed attack.", "date": "2025-04-23", "categories": []} {"id": "2505.13280", "title": "FlowPure: Continuous Normalizing Flows for Adversarial Purification", "abstract": "Despite significant advances in the area, adversarial robustness remains a critical challenge in systems employing machine learning models. The removal of adversarial perturbations at inference time, known as adversarial purification, has emerged as a promising defense strategy. To achieve this, state-of-the-art methods leverage diffusion models that inject Gaussian noise during a forward process to dilute adversarial perturbations, followed by a denoising step to restore clean samples before classification. In this work, we propose FlowPure, a novel purification method based on Continuous Normalizing Flows (CNFs) trained with Conditional Flow Matching (CFM) to learn mappings from adversarial examples to their clean counterparts. Unlike prior diffusion-based approaches that rely on fixed noise processes, FlowPure can leverage specific attack knowledge to improve robustness under known threats, while also supporting a more general stochastic variant trained on Gaussian perturbations for settings where such knowledge is unavailable. Experiments on CIFAR-10 and CIFAR-100 demonstrate that our method outperforms state-of-the-art purification defenses in preprocessor-blind and white-box scenarios, and can do so while fully preserving benign accuracy in the former. Moreover, our results show that not only is FlowPure a highly effective purifier but it also holds strong potential for adversarial detection, identifying preprocessor-blind PGD samples with near-perfect accuracy. Our code is publicly available at https://github.com/DistriNet/FlowPure.", "date": "2025-05-19", "categories": []} {"id": "2509.02028", "title": "See No Evil: Adversarial Attacks Against Linguistic-Visual Association in Referring Multi-Object Tracking Systems", "abstract": "Language-vision understanding has driven the development of advanced perception systems, most notably the emerging paradigm of Referring Multi-Object Tracking (RMOT). By leveraging natural-language queries, RMOT systems can selectively track objects that satisfy a given semantic description, guided through Transformer-based spatial-temporal reasoning modules. End-to-End (E2E) RMOT models further unify feature extraction, temporal memory, and spatial reasoning within a Transformer backbone, enabling long-range spatial-temporal modeling over fused textual-visual representations. Despite these advances, the reliability and robustness of RMOT remain underexplored. In this paper, we examine the security implications of RMOT systems from a design-logic perspective, identifying adversarial vulnerabilities that compromise both the linguistic-visual referring and track-object matching components. Additionally, we uncover a novel vulnerability in advanced RMOT models employing FIFO-based memory, whereby targeted and consistent attacks on their spatial-temporal reasoning introduce errors that persist within the history buffer over multiple subsequent frames. We present VEIL, a novel adversarial framework designed to disrupt the unified referring-matching mechanisms of RMOT models. We show that carefully crafted digital and physical perturbations can corrupt the tracking logic reliability, inducing track ID switches and terminations. We conduct comprehensive evaluations using the Refer-KITTI dataset to validate the effectiveness of VEIL and demonstrate the urgent need for security-aware RMOT designs for critical large-scale applications.", "date": "2025-09-02", "categories": []} {"id": "2603.21876", "title": "Thermal Topology Collapse: Universal Physical Patch Attacks on Infrared Vision Systems", "abstract": "Although infrared pedestrian detectors have been widely deployed in visual perception tasks, their vulnerability to physical adversarial attacks is becoming increasingly apparent. Existing physical attack methods predominantly rely on instance-specific online optimization and rigid pattern design, leading to high deployment costs and insufficient physical robustness. To address these limitations, this work proposes the Universal Physical Patch Attack (UPPA), the first universal physical attack method in the infrared domain. This method employs geometrically constrained parameterized Bezier blocks to model perturbations and utilizes the Particle Swarm Optimization (PSO) algorithm to perform unified optimization across the global data distribution, thus maintaining topological stability under dynamic deformations. In the physical deployment phase, we materialize the optimized digital perturbations into physical cold patches, achieving a continuous and smooth low-temperature distribution that naturally aligns with the thermal radiation characteristics of infrared imaging. Extensive experiments demonstrate that UPPA achieves an outstanding physical attack success rate without any online computational overhead, while also exhibiting strong cross-domain generalization and reliable black-box transferability.", "date": "2026-03-23", "categories": []} {"id": "2603.27918", "title": "Adversarial Attacks on Multimodal Large Language Models: A Comprehensive Survey", "abstract": "Multimodal large language models (MLLMs) integrate information from multiple modalities such as text, images, audio, and video, enabling complex capabilities such as visual question answering and audio translation. While powerful, this increased expressiveness introduces new and amplified vulnerabilities to adversarial manipulation. This survey provides a comprehensive and systematic analysis of adversarial threats to MLLMs, moving beyond enumerating attack techniques to explain the underlying causes of model susceptibility. We introduce a taxonomy that organizes adversarial attacks according to attacker objectives, unifying diverse attack surfaces across modalities and deployment settings. Additionally, we also present a vulnerability-centric analysis that links integrity attacks, safety and jailbreak failures, control and instruction hijacking, and training-time poisoning to shared architectural and representational weaknesses in multimodal systems. Together, this framework provides an explanatory foundation for understanding adversarial behavior in MLLMs and informs the development of more robust and secure multimodal language systems.", "date": "2026-03-30", "categories": []} {"id": "2603.28425", "title": "From Pixels to Reality: Physical-Digital Patch Attacks on Real-World Camera", "abstract": "This demonstration presents Digital-Physical Adversarial Attacks (DiPA), a new class of practical adversarial attacks against pervasive camera-based authentication systems, where an attacker displays an adversarial patch directly on a smartphone screen instead of relying on printed artifacts. This digital-only physical presentation enables rapid deployment, removes the need for total-variation regularization, and improves patch transferability in black-box conditions. DiPA leverages an ensemble of state-of-the-art face-recognition models (ArcFace, MagFace, CosFace) to enhance transfer across unseen commercial systems. Our interactive demo shows a real-time dodging attack against a deployed face-recognition camera, preventing authorized users from being recognized while participants dynamically adjust patch patterns and observe immediate effects on the sensing pipeline. We further demonstrate DiPA's superiority over existing physical attacks in terms of success rate, feature-space distortion, and reductions in detection confidence, highlighting critical vulnerabilities at the intersection of mobile devices, pervasive vision, and sensor-driven authentication infrastructures.", "date": "2026-03-30", "categories": []} {"id": "2603.28568", "title": "XSPA: Crafting Imperceptible X-Shaped Sparse Adversarial Perturbations for Transferable Attacks on VLMs", "abstract": "Vision-language models (VLMs) rely on a shared visual-textual representation space to perform tasks such as zero-shot classification, image captioning, and visual question answering (VQA). While this shared space enables strong cross-task generalization, it may also introduce a common vulnerability: small visual perturbations can propagate through the shared embedding space and cause correlated semantic failures across tasks. This risk is particularly important in interactive and decision-support settings, yet it remains unclear whether VLMs are robust to highly constrained, sparse, and geometrically fixed perturbations. To address this question, we propose X-shaped Sparse Pixel Attack (XSPA), an imperceptible structured attack that restricts perturbations to two intersecting diagonal lines. Compared with dense perturbations or flexible localized patches, XSPA operates under a much stricter attack budget and thus provides a more stringent test of VLM robustness. Within this sparse support, XSPA jointly optimizes a classification objective, cross-task semantic guidance, and regularization on perturbation magnitude and along-line smoothness, inducing transferable misclassification as well as semantic drift in captioning and VQA while preserving visual subtlety. Under the default setting, XSPA modifies only about 1.76% of image pixels. Experiments on the COCO dataset show that XSPA consistently degrades performance across all three tasks. Zero-shot accuracy drops by 52.33 points on OpenAI CLIP ViT-L/14 and 67.00 points on OpenCLIP ViT-B/16, while GPT-4-evaluated caption consistency decreases by up to 58.60 points and VQA correctness by up to 44.38 points. These results suggest that even highly sparse and visually subtle perturbations with fixed geometric priors can substantially disrupt cross-task semantics in VLMs, revealing a notable robustness gap in current multimodal systems.", "date": "2026-03-30", "categories": []} {"id": "2601.13082", "title": "Adversarial News and Lost Profits: Manipulating Headlines in LLM-Driven Algorithmic Trading", "abstract": "Large Language Models (LLMs) are increasingly adopted in the financial domain. Their exceptional capabilities to analyse textual data make them well-suited for inferring the sentiment of finance-related news. Such feedback can be leveraged by algorithmic trading systems (ATS) to guide buy/sell decisions. However, this practice bears the risk that a threat actor may craft \"adversarial news\" intended to mislead an LLM. In particular, the news headline may include \"malicious\" content that remains invisible to human readers but which is still ingested by the LLM. Although prior work has studied textual adversarial examples, their system-wide impact on LLM-supported ATS has not yet been quantified in terms of monetary risk. To address this threat, we consider an adversary with no direct access to an ATS but able to alter stock-related news headlines on a single day. We evaluate two human-imperceptible manipulations in a financial context: Unicode homoglyph substitutions that misroute models during stock-name recognition, and hidden-text clauses that alter the sentiment of the news headline. We implement a realistic ATS in Backtrader that fuses an LSTM-based price forecast with LLM-derived sentiment (FinBERT, FinGPT, FinLLaMA, and six general-purpose LLMs), and quantify monetary impact using portfolio metrics. Experiments on real-world data show that manipulating a one-day attack over 14 months can reliably mislead LLMs and reduce annual returns by up to 17.7 percentage points. To assess real-world feasibility, we analyze popular scraping libraries and trading platforms and survey 27 FinTech practitioners, confirming our hypotheses. We notified trading platform owners of this security issue.", "date": "2026-01-19", "categories": []} {"id": "2603.19562", "title": "Neural Uncertainty Principle: A Unified View of Adversarial Fragility and LLM Hallucination", "abstract": "Adversarial vulnerability in vision and hallucination in large language models are conventionally viewed as separate problems, each addressed with modality-specific patches. This study first reveals that they share a common geometric origin: the input and its loss gradient are conjugate observables subject to an irreducible uncertainty bound. Formalizing a Neural Uncertainty Principle (NUP) under a loss-induced state, we find that in near-bound regimes, further compression must be accompanied by increased sensitivity dispersion (adversarial fragility), while weak prompt-gradient coupling leaves generation under-constrained (hallucination). Crucially, this bound is modulated by an input-gradient correlation channel, captured by a specifically designed single-backward probe. In vision, masking highly coupled components improves robustness without costly adversarial training; in language, the same prefill-stage probe detects hallucination risk before generating any answer tokens. NUP thus turns two seemingly separate failure taxonomies into a shared uncertainty-budget view and provides a principled lens for reliability analysis. Guided by this NUP theory, we propose ConjMask (masking high-contribution input components) and LogitReg (logit-side regularization) to improve robustness without adversarial training, and use the probe as a decoding-free risk signal for LLMs, enabling hallucination detection and prompt selection. NUP thus provides a unified, practical framework for diagnosing and mitigating boundary anomalies across perception and generation tasks.", "date": "2026-03-20", "categories": []} {"id": "2603.26045", "title": "H-Node Attack and Defense in Large Language Models", "abstract": "We present H-Node Adversarial Noise Cancellation (H-Node ANC), a mechanistic framework that identifies, exploits, and defends hallucination representations in transformer-based large language models (LLMs) at the level of individual hidden-state dimensions. A logistic regression probe trained on last-token hidden states localizes hallucination signal to a small set of high-variance dimensions -- termed Hallucination Nodes (H-Nodes) -- with probe AUC reaching 0.90 across four architectures. A white-box adversarial attack amplifies these dimensions at inference time via a real-time forward hook, achieving a selectivity of 3.02x with less than 10% visibility to the defender. Adaptive ANC defense suppresses H-Node excess in-pass using confidence-weighted cancellation, reducing grounded activation drift by 33-42% over static cancellation. A dynamic iterative extension that re-ranks cancellation targets across successive passes recovers up to 0.69 robustness from a single-pass baseline of 8%. All contributions are validated on OPT-125M, Phi-3-mini-4k-instruct, LLaMA-3-8B-Instruct, and Mistral-7B-Instruct-v0.3 (125M-8B parameters). Perplexity impact is surgical (<5%) and MMLU degradation is at most 3%, confirming that the defense does not impair general reasoning capability.", "date": "2026-03-27", "categories": []} {"id": "2603.26067", "title": "R-PGA: Robust Physical Adversarial Camouflage Generation via Relightable 3D Gaussian Splatting", "abstract": "Physical adversarial camouflage poses a severe security threat to autonomous driving systems by mapping adversarial textures onto 3D objects. Nevertheless, current methods remain brittle in complex dynamic scenarios, failing to generalize across diverse geometric (e.g., viewing configurations) and radiometric (e.g., dynamic illumination, atmospheric scattering) variations. We attribute this deficiency to two fundamental limitations in simulation and optimization. First, the reliance on coarse, oversimplified simulations (e.g., via CARLA) induces a significant domain gap, confining optimization to a biased feature space. Second, standard strategies targeting average performance result in a rugged loss landscape, leaving the camouflage vulnerable to configuration shifts.To bridge these gaps, we propose the Relightable Physical 3D Gaussian Splatting (3DGS) based Attack framework (R-PGA). Technically, to address the simulation fidelity issue, we leverage 3DGS to ensure photo-realistic reconstruction and augment it with physically disentangled attributes to decouple intrinsic material from lighting. Furthermore, we design a hybrid rendering pipeline that leverages precise Relightable 3DGS for foreground rendering, while employing a pre-trained image translation model to synthesize plausible relighted backgrounds that align with the relighted foreground.To address the optimization robustness issue, we propose the Hard Physical Configuration Mining (HPCM) module, designed to actively mine worst-case physical configurations and suppress their corresponding loss peaks. This strategy not only diminishes the overall loss magnitude but also effectively flattens the rugged loss landscape, ensuring consistent adversarial effectiveness and robustness across varying physical configurations.", "date": "2026-03-27", "categories": []} {"id": "2510.06790", "title": "Get RICH or Die Scaling: Profitably Trading Inference Compute for Robustness", "abstract": "Test-time reasoning has raised benchmark performances and even shown promise in addressing the historically intractable problem of making models robust to adversarially out-of-distribution (OOD) data. Indeed, recent work used reasoning to aid satisfaction of model specifications designed to thwart attacks, finding a striking correlation between LLM reasoning effort and robustness to jailbreaks. However, this benefit fades when stronger (e.g. gradient-based or multimodal) attacks are used. This may be expected as models often can't follow instructions on the adversarially OOD data created by such attacks, and instruction following is needed to act in accordance with the attacker-thwarting spec. Thus, we hypothesize that the test-time robustness benefits of specs are unlocked by initial robustness sufficient to follow instructions on OOD data. Namely, we posit the Robustness from Inference Compute Hypothesis (RICH): inference-compute defenses profit as the model's training data better reflects the components of attacked data. Guided by the RICH, we test models of varying initial-robustness levels, finding inference-compute adds robustness even to white-box multimodal attacks, provided the model has sufficient initial robustness. Further evidencing a rich-get-richer dynamic, InternVL 3.5 gpt-oss 20B gains little robustness when its test compute is scaled, but such scaling adds significant robustness if we first robustify its vision encoder (creating the first adversarially robust reasoning VLM in the process). Robustifying models makes attacked components of data more in-distribution (ID), and the RICH suggests this fuels compositional generalization -- understanding OOD data via its ID components -- to following spec instructions on adversarial data. Consistently, we find test-time defenses both build and depend on train-time data and defenses.", "date": "2025-10-08", "categories": []} {"id": "2512.20821", "title": "Divided We Fall: Defending Against Adversarial Attacks via Soft-Gated Fractional Mixture-of-Experts with Randomized Adversarial Training", "abstract": "Machine learning is a powerful tool enabling full automation of a huge number of tasks without explicit programming. Despite recent progress of machine learning in different domains, these models have shown vulnerabilities when they are exposed to adversarial threats. Adversarial threats aim to hinder the machine learning models from satisfying their objectives. They can create adversarial perturbations, which are imperceptible to humans' eyes but have the ability to cause misclassification during inference. In this paper, we propose a defense system, which devises an adversarial training module within mixture-of-experts architecture to enhance its robustness against white-box evasion attacks. In our proposed defense system, we use nine pre-trained classifiers (experts) with ResNet-18 as their backbone. During end-to-end training, the parameters of all experts and the gating mechanism are jointly updated allowing further optimization of the experts. Our proposed defense system outperforms prior MoE-based defenses under strong white-box FGSM and PGD evaluation on CIFAR-10 and SVHN. The use of multiple experts increases training time and compute relative to single-network baselines; however, inference scales approximately linearly with the number of experts and is substantially cheaper than training.", "date": "2025-12-23", "categories": []} {"id": "2603.24821", "title": "Generative Adversarial Perturbations with Cross-paradigm Transferability on Localized Crowd Counting", "abstract": "State-of-the-art crowd counting and localization are primarily modeled using two paradigms: density maps and point regression. Given the field's security ramifications, there is active interest in model robustness against adversarial attacks. Recent studies have demonstrated transferability across density-map-based approaches via adversarial patches, but cross-paradigm attacks (i.e., across both density map-based models and point regression-based models) remain unexplored. We introduce a novel adversarial framework that compromises both density map and point regression architectural paradigms through a comprehensive multi-task loss optimization. For point-regression models, we employ scene-density-specific high-confidence logit suppression; for density-map approaches, we use peak-targeted density map suppression. Both are combined with model-agnostic perceptual constraints to ensure that perturbations are effective and imperceptible to the human eye. Extensive experiments demonstrate the effectiveness of our attack, achieving on average a 7X increase in Mean Absolute Error compared to clean images while maintaining competitive visual quality, and successfully transferring across seven state-of-the-art crowd models with transfer ratios ranging from 0.55 to 1.69. Our approach strikes a balance between attack effectiveness and imperceptibility compared to state-of-the-art transferable attack strategies. The source code is available at https://github.com/simurgh7/CrowdGen", "date": "2026-03-25", "categories": []} {"id": "2603.25170", "title": "Knowledge-Guided Adversarial Training for Infrared Object Detection via Thermal Radiation Modeling", "abstract": "In complex environments, infrared object detection exhibits broad applicability and stability across diverse scenarios. However, infrared object detection is vulnerable to both common corruptions and adversarial examples, leading to potential security risks. To improve the robustness of infrared object detection, current methods mostly adopt a data-driven ideology, which only superficially drives the network to fit the training data without specifically considering the unique characteristics of infrared images, resulting in limited robustness. In this paper, we revisit infrared physical knowledge and find that relative thermal radiation relations between different classes can be regarded as a reliable knowledge source under the complex scenarios of adversarial examples and common corruptions. Thus, we theoretically model thermal radiation relations based on the rank order of gray values for different classes, and further quantify the stability of various inter-class thermal radiation relations. Based on the above theoretical framework, we propose Knowledge-Guided Adversarial Training (KGAT) for infrared object detection, in which infrared physical knowledge is embedded into the adversarial training process, and the predicted results are optimized to be consistent with the actual physical laws. Extensive experiments on three infrared datasets and six mainstream infrared object detection models demonstrate that KGAT effectively enhances both clean accuracy and robustness against adversarial attacks and common corruptions.", "date": "2026-03-26", "categories": []} {"id": "2603.25230", "title": "A Unified Spatial Alignment Framework for Highly Transferable Transformation-Based Attacks on Spatially Structured Tasks", "abstract": "Transformation-based adversarial attacks (TAAs) demonstrate strong transferability when deceiving classification models. However, existing TAAs often perform unsatisfactorily or even fail when applied to structured tasks such as semantic segmentation and object detection. Encouragingly, recent studies that categorize transformations into non-spatial and spatial transformations inspire us to address this challenge. We find that for non-structured tasks, labels are spatially non-structured, and thus TAAs are not required to adjust labels when applying spatial transformations. In contrast, for structured tasks, labels are spatially structured, and failing to transform labels synchronously with inputs can cause spatial misalignment and yield erroneous gradients. To address these issues, we propose a novel unified Spatial Alignment Framework (SAF) for highly transferable TAAs on spatially structured tasks, where the TAAs spatially transform labels synchronously with the input using the proposed Spatial Alignment (SA) algorithm. Extensive experiments demonstrate the crucial role of our SAF for TAAs on structured tasks. Specifically, in non-targeted attacks, our SAF degrades the average mIoU on Cityscapes from 24.50 to 11.34, and on Kvasir-SEG from 49.91 to 31.80, while reducing the average mAP of COCO from 17.89 to 5.25.", "date": "2026-03-26", "categories": []} {"id": "2603.25244", "title": "Efficient Preemptive Robustification with Image Sharpening", "abstract": "Despite their great success, deep neural networks rely on high-dimensional, non-robust representations, making them vulnerable to imperceptible perturbations, even in transfer scenarios. To address this, both training-time defenses (e.g., adversarial training and robust architecture design) and post-attack defenses (e.g., input purification and adversarial detection) have been extensively studied. Recently, a limited body of work has preliminarily explored a pre-attack defense paradigm, termed preemptive robustification, which introduces subtle modifications to benign samples prior to attack to proactively resist adversarial perturbations. Unfortunately, their practical applicability remains questionable due to several limitations, including (1) reliance on well-trained classifiers as surrogates to provide robustness priors, (2) substantial computational overhead arising from iterative optimization or trained generators for robustification, and (3) limited interpretability of the optimization- or generation-based robustification processes. Inspired by recent studies revealing a positive correlation between texture intensity and the robustness of benign samples, we show that image sharpening alone can efficiently robustify images. To the best of our knowledge, this is the first surrogate-free, optimization-free, generator-free, and human-interpretable robustification approach. Extensive experiments demonstrate that sharpening yields remarkable robustness gains with low computational cost, especially in transfer scenarios.", "date": "2026-03-26", "categories": []} {"id": "2603.25257", "title": "Mitigating Evasion Attacks in Fog Computing Resource Provisioning Through Proactive Hardening", "abstract": "This paper investigates the susceptibility to model integrity attacks that overload virtual machines assigned by the k-means algorithm used for resource provisioning in fog networks. The considered k-means algorithm runs two phases iteratively: offline clustering to form clusters of requested workload and online classification of new incoming requests into offline-created clusters. First, we consider an evasion attack against the classifier in the online phase. A threat actor launches an exploratory attack using query-based reverse engineering to discover the Machine Learning (ML) model (the clustering scheme). Then, a passive causative (evasion) attack is triggered in the offline phase. To defend the model, we suggest a proactive method using adversarial training to introduce attack robustness into the classifier. Our results show that our mitigation technique effectively maintains the stability of the resource provisioning system against attacks.", "date": "2026-03-26", "categories": []} {"id": "2603.25517", "title": "NERO-Net: A Neuroevolutionary Approach for the Design of Adversarially Robust CNNs", "abstract": "Neuroevolution automates the complex task of neural network design but often ignores the inherent adversarial fragility of evolved models which is a barrier to adoption in safety-critical scenarios. While robust training methods have received significant attention, the design of architectures exhibiting intrinsic robustness remains largely unexplored. In this paper, we propose NERO-Net, a neuroevolutionary approach to design convolutional neural networks better equipped to resist adversarial attacks. Our search strategy isolates architectural influence on robustness by avoiding adversarial training during the evolutionary loop. As such, our fitness function promotes candidates that, even trained with standard (non-robust) methods, achieve high post-attack accuracy without sacrificing the accuracy on clean samples. We assess NERO-Net on CIFAR-10 with a specific focus on $L_\\infty$-robustness. In particular, the fittest individual emerged from evolutionary search with 33% accuracy against FGSM, used as an efficient estimator for robustness during the search phase, while maintaining 87% clean accuracy. Further standard training of this individual boosted these metrics to 47% adversarial and 93% clean accuracy, suggesting inherent architectural robustness. Adversarial training brings the overall accuracy of the model up to 40% against AutoAttack.", "date": "2026-03-26", "categories": []} {"id": "2603.23860", "title": "Why the Maximum Second Derivative of Activations Matters for Adversarial Robustness", "abstract": "This work investigates the critical role of activation function curvature -- quantified by the maximum second derivative $\\max|\\sigma''|$ -- in adversarial robustness. Using the Recursive Curvature-Tunable Activation Family (RCT-AF), which enables precise control over curvature through parameters $\\alpha$ and $\\beta$, we systematically analyze this relationship. Our study reveals a fundamental trade-off: insufficient curvature limits model expressivity, while excessive curvature amplifies the normalized Hessian diagonal norm of the loss, leading to sharper minima that hinder robust generalization. This results in a non-monotonic relationship where optimal adversarial robustness consistently occurs when $\\max|\\sigma''|$ falls within 4 to 10, a finding that holds across diverse network architectures, datasets, and adversarial training methods. We provide theoretical insights into how activation curvature affects the diagonal elements of the hessian matrix of the loss, and experimentally demonstrate that the normalized Hessian diagonal norm exhibits a U-shaped dependence on $\\max|\\sigma''|$, with its minimum within the optimal robustness range, thereby validating the proposed mechanism.", "date": "2026-03-25", "categories": []} {"id": "2603.24232", "title": "Attack Assessment and Augmented Identity Recognition for Human Skeleton Data", "abstract": "Machine learning models trained on small data sets for security applications are especially vulnerable to adversarial attacks. Person identification from LiDAR based skeleton data requires time consuming and expensive data acquisition for each subject identity. Recently, Assessment and Augmented Identity Recognition for Skeletons (AAIRS) has been used to train Hierarchical Co-occurrence Networks for Person Identification (HCN-ID) with small LiDAR based skeleton data sets. However, AAIRS does not evaluate robustness of HCN-ID to adversarial attacks or inoculate the model to defend against such attacks. Popular perturbation-based approaches to generating adversarial attacks are constrained to targeted perturbations added to real training samples, which is not ideal for inoculating models with small training sets. Thus, we propose Attack-AAIRS, a novel addition to the AAIRS framework. Attack-AAIRS leverages a small real data set and a GAN generated synthetic data set to assess and improve model robustness against unseen adversarial attacks. Rather than being constrained to perturbations of limited real training samples, the GAN learns the distribution of adversarial attack samples that exploit weaknesses in HCN-ID. Attack samples drawn from this distribution augment training for inoculation of the HCN-ID to improve robustness. Ten-fold cross validation of Attack-AAIRS yields increased robustness to unseen attacks- including FGSM, PGD, Additive Gaussian Noise, MI-FGSM, and BIM. The HCN-ID Synthetic Data Quality Score for Attack-AAIRS indicates that generated attack samples are of similar quality to the original benign synthetic samples generated by AAIRS. Furthermore, inoculated models show consistent final test accuracy with the original model trained on real data, demonstrating that our method improves robustness to adversarial attacks without reducing test performance on real data.", "date": "2026-03-25", "categories": []} {"id": "2603.24570", "title": "Anti-I2V: Safeguarding your photos from malicious image-to-video generation", "abstract": "Advances in diffusion-based video generation models, while significantly improving human animation, poses threats of misuse through the creation of fake videos from a specific person's photo and text prompts. Recent efforts have focused on adversarial attacks that introduce crafted perturbations to protect images from diffusion-based models. However, most existing approaches target image generation, while relatively few explicitly address image-to-video diffusion models (VDMs), and most primarily focus on UNet-based architectures. Hence, their effectiveness against Diffusion Transformer (DiT) models remains largely under-explored, as these models demonstrate improved feature retention, and stronger temporal consistency due to larger capacity and advanced attention mechanisms. In this work, we introduce Anti-I2V, a novel defense against malicious human image-to-video generation, applicable across diverse diffusion backbones. Instead of restricting noise updates to the RGB space, Anti-I2V operates in both the $L$*$a$*$b$* and frequency domains, improving robustness and concentrating on salient pixels. We then identify the network layers that capture the most distinct semantic features during the denoising process to design appropriate training objectives that maximize degradation of temporal coherence and generation fidelity. Through extensive validation, Anti-I2V demonstrates state-of-the-art defense performance against diverse video diffusion models, offering an effective solution to the problem.", "date": "2026-03-25", "categories": []} {"id": "2406.03017", "title": "DifAttack++: Query-Efficient Black-Box Adversarial Attack via Hierarchical Disentangled Feature Space in Cross-Domain", "abstract": "This work investigates efficient score-based black-box adversarial attacks that achieve a high Attack Success Rate (ASR) and good generalization ability. We propose a novel attack framework, termed DifAttack++, which operates in a hierarchical disentangled feature space and significantly differs from existing methods that manipulate the entire feature space. Specifically, DifAttack++ firstly disentangles an image's latent representation into an Adversarial Feature (AF) and a Visual Feature (VF) using an autoencoder equipped with a carefully designed Hierarchical Decouple-Fusion (HDF) module. In this formulation, the AF primarily governs the adversarial capability of an image, while the VF largely preserves its visual appearance. To enable the feature disentanglement and image reconstruction, we jointly train two autoencoders for the clean and adversarial image domains, i.e., cross-domain, respectively, using paired clean images and their corresponding Adversarial Examples (AEs) generated by white-box attacks on available surrogate models. During the black-box attack stage, DifAttack++ iteratively optimizes the AF based on query feedback from the victim model, while keeping the VF fixed, until a successful AE is obtained. Extensive experimental results demonstrate that DifAttack++ achieves superior ASR and query efficiency compared to state-of-the-art methods, while producing AEs with comparable visual quality. Our code is available at https://github.com/csjunjun/DifAttackPlus.git.", "date": "2024-06-05", "categories": []} {"id": "2501.08415", "title": "Cross-Modal Transferable Image-to-Video Attack on Video Quality Metrics", "abstract": "Recent studies have revealed that modern image and video quality assessment (IQA/VQA) metrics are vulnerable to adversarial attacks. An attacker can manipulate a video through preprocessing to artificially increase its quality score according to a certain metric, despite no actual improvement in visual quality. Most of the attacks studied in the literature are white-box attacks, while black-box attacks in the context of VQA have received less attention. Moreover, some research indicates a lack of transferability of adversarial examples generated for one model to another when applied to VQA. In this paper, we propose a cross-modal attack method, IC2VQA, aimed at exploring the vulnerabilities of modern VQA models. This approach is motivated by the observation that the low-level feature spaces of images and videos are similar. We investigate the transferability of adversarial perturbations across different modalities; specifically, we analyze how adversarial perturbations generated on a white-box IQA model with an additional CLIP module can effectively target a VQA model. The addition of the CLIP module serves as a valuable aid in increasing transferability, as the CLIP model is known for its effective capture of low-level semantics. Extensive experiments demonstrate that IC2VQA achieves a high success rate in attacking three black-box VQA models. We compare our method with existing black-box attack strategies, highlighting its superiority in terms of attack success within the same number of iterations and levels of attack strength. We believe that the proposed method will contribute to the deeper analysis of robust VQA metrics.", "date": "2025-01-14", "categories": []} {"id": "2511.05919", "title": "Injecting Falsehoods: Adversarial Man-in-the-Middle Attacks Undermining Factual Recall in LLMs", "abstract": "LLMs are now an integral part of information retrieval. As such, their role as question answering chatbots raises significant concerns due to their shown vulnerability to adversarial man-in-the-middle (MitM) attacks. Here, we propose the first principled attack evaluation on LLM factual memory under prompt injection via Xmera, our novel, theory-grounded MitM framework. By perturbing the input given to \"victim\" LLMs in three closed-book and fact-based QA settings, we undermine the correctness of the responses and assess the uncertainty of their generation process. Surprisingly, trivial instruction-based attacks report the highest success rate (up to ~85.3%) while simultaneously having a high uncertainty for incorrectly answered questions. To provide a simple defense mechanism against Xmera, we train Random Forest classifiers on the response uncertainty levels to distinguish between attacked and unattacked queries (average AUC of up to ~94.8%). We believe that signaling users to be cautious about the answers they receive from black-box and potentially corrupt LLMs is a first checkpoint toward user cyberspace safety.", "date": "2025-11-08", "categories": []} {"id": "2512.10766", "title": "Metaphor-based Jailbreak Attacks on Text-to-Image Models", "abstract": "Text-to-image (T2I) models commonly incorporate defense mechanisms to prevent the generation of sensitive images. Unfortunately, recent jailbreak attacks have shown that adversarial prompts can effectively bypass these mechanisms and induce T2I models to produce sensitive content, revealing critical safety vulnerabilities. However, existing attack methods implicitly assume that the attacker knows the type of deployed defenses, which limits their effectiveness against unknown or diverse defense mechanisms. In this work, we reveal an underexplored vulnerability of T2I models to metaphor-based jailbreak attacks (MJA), which aims to attack diverse defense mechanisms without prior knowledge of their type by generating metaphor-based adversarial prompts. Specifically, MJA consists of two modules: an LLM-based multi-agent generation module (LMAG) and an adversarial prompt optimization module (APO). LMAG decomposes the generation of metaphor-based adversarial prompts into three subtasks: metaphor retrieval, context matching, and adversarial prompt generation. Subsequently, LMAG coordinates three LLM-based agents to generate diverse adversarial prompts by exploring various metaphors and contexts. To enhance attack efficiency, APO first trains a surrogate model to predict the attack results of adversarial prompts and then designs an acquisition strategy to adaptively identify optimal adversarial prompts. Extensive experiments on T2I models with various external and internal defense mechanisms demonstrate that MJA achieves stronger attack performance while using fewer queries, compared with six baseline methods. Additionally, we provide an in-depth vulnerability analysis suggesting that metaphor-based adversarial prompts evade safety mechanisms by inducing semantic ambiguity, while sensitive images arise from the model's probabilistic interpretation of concealed semantics.", "date": "2025-12-06", "categories": []} {"id": "2603.22525", "title": "Adversarial Vulnerabilities in Neural Operator Digital Twins: Gradient-Free Attacks on Nuclear Thermal-Hydraulic Surrogates", "abstract": "Operator learning models are rapidly emerging as the predictive core of digital twins for nuclear and energy systems, promising real-time field reconstruction from sparse sensor measurements. Yet their robustness to adversarial perturbations remains uncharacterized, a critical gap for deployment in safety-critical systems. Here we show that neural operators are acutely vulnerable to extremely sparse (fewer than 1% of inputs), physically plausible perturbations that exploit their sensitivity to boundary conditions. Using gradient-free differential evolution across four operator architectures, we demonstrate that minimal modifications trigger catastrophic prediction failures, increasing relative $L_2$ error from $\\sim$1.5% (validated accuracy) to 37-63% while remaining completely undetectable by standard validation metrics. Notably, 100% of successful single-point attacks pass z-score anomaly detection. We introduce the effective perturbation dimension $d_{\\text{eff}}$, a Jacobian-based diagnostic that, together with sensitivity magnitude, yields a two-factor vulnerability model explaining why architectures with extreme sensitivity concentration (POD-DeepONet, $d_{\\text{eff}} \\approx 1$) are not necessarily the most exploitable, since low-rank output projections cap maximum error, while moderate concentration with sufficient amplification (S-DeepONet, $d_{\\text{eff}} \\approx 4$) produces the highest attack success. Gradient-free search outperforms gradient-based alternatives (PGD) on architectures with gradient pathologies, while random perturbations of equal magnitude achieve near-zero success rates, confirming that the discovered vulnerabilities are structural. Our findings expose a previously overlooked attack surface in operator learning models and establish that these models require robustness guarantees beyond standard validation before deployment.", "date": "2026-03-23", "categories": []} {"id": "2509.04597", "title": "DisPatch: Disarming Adversarial Patches in Object Detection with Diffusion Models", "abstract": "Object detection is fundamental to various real-world applications, such as security monitoring and surveillance video analysis. Despite their advancements, state-of-the-art object detectors are still vulnerable to adversarial patch attacks, which can be easily applied to real-world objects to either conceal actual items or create non-existent ones, leading to severe consequences. In this work, we introduce DisPatch, the first diffusion-based defense framework for object detection. Unlike previous works that aim to \"detect and remove\" adversarial patches, DisPatch adopts a \"regenerate and rectify\" strategy, leveraging generative models to disarm attack effects while preserving the integrity of the input image. Specifically, we utilize the in-distribution generative power of diffusion models to regenerate the entire image, aligning it with benign data. A rectification process is then employed to identify and replace adversarial regions with their regenerated benign counterparts. DisPatch is attack-agnostic and requires no prior knowledge of the existing patches. Extensive experiments across multiple detectors demonstrate that DisPatch consistently outperforms state-of-the-art defenses on both hiding attacks and creating attacks, achieving the best overall mAP@0.5 score of 89.3% on hiding attacks, and lowering the attack success rate to 24.8% on untargeted creating attacks. Moreover, it strikes the balance between effectiveness and efficiency, and maintains strong robustness against adaptive attacks, making it a practical and reliable defense method.", "date": "2025-09-04", "categories": []} {"id": "2511.12985", "title": "Angular Gradient Sign Method: Uncovering Vulnerabilities in Hyperbolic Networks", "abstract": "Adversarial examples in neural networks have been extensively studied in Euclidean geometry, but recent advances in \\textit{hyperbolic networks} call for a reevaluation of attack strategies in non-Euclidean geometries. Existing methods such as FGSM and PGD apply perturbations without regard to the underlying hyperbolic structure, potentially leading to inefficient or geometrically inconsistent attacks. In this work, we propose a novel adversarial attack that explicitly leverages the geometric properties of hyperbolic space. Specifically, we compute the gradient of the loss function in the tangent space of hyperbolic space, decompose it into a radial (depth) component and an angular (semantic) component, and apply perturbation derived solely from the angular direction. Our method generates adversarial examples by focusing perturbations in semantically sensitive directions encoded in angular movement within the hyperbolic geometry. Empirical results on image classification, cross-modal retrieval tasks and network architectures demonstrate that our attack achieves higher fooling rates than conventional adversarial attacks, while producing high-impact perturbations with deeper insights into vulnerabilities of hyperbolic embeddings. This work highlights the importance of geometry-aware adversarial strategies in curved representation spaces and provides a principled framework for attacking hierarchical embeddings.", "date": "2025-11-17", "categories": []} {"id": "2603.04846", "title": "Multi-Paradigm Collaborative Adversarial Attack Against Multi-Modal Large Language Models", "abstract": "The rapid progress of Multi-Modal Large Language Models (MLLMs) has significantly advanced downstream applications. However, this progress also exposes serious transferable adversarial vulnerabilities. In general, existing adversarial attacks against MLLMs typically rely on surrogate models trained within a single learning paradigm and perform independent optimisation in their respective feature spaces. This straightforward setting naturally restricts the richness of feature representations, delivering limits on the search space and thus impeding the diversity of adversarial perturbations. To address this, we propose a novel Multi-Paradigm Collaborative Attack (MPCAttack) framework to boost the transferability of adversarial examples against MLLMs. In principle, MPCAttack aggregates semantic representations, from both visual images and language texts, to facilitate joint adversarial optimisation on the aggregated features through a Multi-Paradigm Collaborative Optimisation (MPCO) strategy. By performing contrastive matching on multi-paradigm features, MPCO adaptively balances the importance of different paradigm representations and guides the global perturbation optimisation, effectively alleviating the representation bias. Extensive experimental results on multiple benchmarks demonstrate the superiority of MPCAttack, indicating that our solution consistently outperforms state-of-the-art methods in both targeted and untargeted attacks on open-source and closed-source MLLMs. The code is released at https://github.com/LiYuanBoJNU/MPCAttack.", "date": "2026-03-05", "categories": []} {"id": "2603.16960", "title": "Adversarial attacks against Modern Vision-Language Models", "abstract": "We study adversarial robustness of open-source vision-language model (VLM) agents deployed in a self-contained e-commerce environment built to simulate realistic pre-deployment conditions. We evaluate two agents, LLaVA-v1.5-7B and Qwen2.5-VL-7B, under three gradient-based attacks: the Basic Iterative Method (BIM), Projected Gradient Descent (PGD), and a CLIP-based spectral attack. Against LLaVA, all three attacks achieve substantial attack success rates (52.6%, 53.8%, and 66.9% respectively), demonstrating that simple gradient-based methods pose a practical threat to open-source VLM agents. Qwen2.5-VL proves significantly more robust across all attacks (6.5%, 7.7%, and 15.5%), suggesting meaningful architectural differences in adversarial resilience between open-source VLM families. These findings have direct implications for the security evaluation of VLM agents prior to commercial deployment.", "date": "2026-03-17", "categories": []} {"id": "2603.20777", "title": "OmniPatch: A Universal Adversarial Patch for ViT-CNN Cross-Architecture Transfer in Semantic Segmentation", "abstract": "Robust semantic segmentation is crucial for safe autonomous driving, yet deployed models remain vulnerable to black-box adversarial attacks when target weights are unknown. Most existing approaches either craft image-wide perturbations or optimize patches for a single architecture, which limits their practicality and transferability. We introduce OmniPatch, a training framework for learning a universal adversarial patch that generalizes across images and both ViT and CNN architectures without requiring access to target model parameters.", "date": "2026-03-21", "categories": []} {"id": "2510.12752", "title": "KoALA: KL-L0 Adversarial Detector via Label Agreement", "abstract": "Deep neural networks are highly susceptible to adversarial attacks, which pose significant risks to security- and safety-critical applications. We present KoALA (KL-L0 Adversarial detection via Label Agreement), a novel, semantics-free adversarial detector that requires no architectural changes or adversarial retraining. KoALA operates on a simple principle: it detects an adversarial attack when class predictions from two complementary similarity metrics disagree. These metrics - KL divergence and an L0-based similarity - are specifically chosen to detect different types of perturbations. The KL divergence metric is sensitive to dense, low-amplitude shifts, while the L0-based similarity is designed for sparse, high-impact changes. We provide a formal proof of correctness for our approach. The only training required is a simple fine-tuning step on a pre-trained image encoder using clean images to ensure the embeddings align well with both metrics. This makes KoALA a lightweight, plug-and-play solution for existing models and various data modalities. Our extensive experiments on ResNet/CIFAR-10 and CLIP/Tiny-ImageNet confirm our theoretical claims. When the theorem's conditions are met, KoALA consistently and effectively detects adversarial examples. On the full test sets, KoALA achieves a precision of 0.96 and a recall of 0.97 on ResNet/CIFAR-10, and a precision of 0.71 and a recall of 0.94 on CLIP/Tiny-ImageNet.", "date": "2025-10-14", "categories": []} {"id": "2602.08934", "title": "StealthRL: Reinforcement Learning Paraphrase Attacks for Multi-Detector Evasion of AI-Text Detectors", "abstract": "AI-text detectors face a critical robustness challenge: adversarial paraphrasing attacks that preserve semantics while evading detection. We introduce StealthRL, a reinforcement learning framework that stress-tests detector robustness under realistic adversarial conditions. StealthRL trains a paraphrase policy against a multi-detector ensemble using Group Relative Policy Optimization (GRPO) with LoRA adapters on Qwen3-4B, optimizing a composite reward that balances detector evasion with semantic preservation. We evaluate six attack settings (M0-M5) on the full filtered MAGE test pool (15,310 human / 14,656 AI) against four detectors: RoBERTa, Fast-DetectGPT, Binoculars, and MAGE. StealthRL achieves near-zero detection on three of the four detectors and a 0.024 mean TPR@1%FPR, reducing mean AUROC from 0.79 to 0.43 and attaining a 97.6% attack success rate. Critically, attacks transfer to two held-out detectors not seen during training, revealing shared architectural vulnerabilities rather than detector-specific brittleness. We additionally conduct LLM-based quality evaluation via Likert scoring on 500 matched samples per method, analyze detector score distributions to explain why evasion succeeds, and provide per-detector AUROC with bootstrap confidence intervals. Our results expose significant robustness gaps in current AI-text detection and establish StealthRL as a principled adversarial evaluation protocol. Code and evaluation pipeline are publicly available at https://github.com/suraj-ranganath/StealthRL.", "date": "2026-02-09", "categories": []} {"id": "2603.19456", "title": "In-the-Wild Camouflage Attack on Vehicle Detectors through Controllable Image Editing", "abstract": "Deep neural networks (DNNs) have achieved remarkable success in computer vision but remain highly vulnerable to adversarial attacks. Among them, camouflage attacks manipulate an object's visible appearance to deceive detectors while remaining stealthy to humans. In this paper, we propose a new framework that formulates vehicle camouflage attacks as a conditional image-editing problem. Specifically, we explore both image-level and scene-level camouflage generation strategies, and fine-tune a ControlNet to synthesize camouflaged vehicles directly on real images. We design a unified objective that jointly enforces vehicle structural fidelity, style consistency, and adversarial effectiveness. Extensive experiments on the COCO and LINZ datasets show that our method achieves significantly stronger attack effectiveness, leading to more than 38% AP50 decrease, while better preserving vehicle structure and improving human-perceived stealthiness compared to existing approaches. Furthermore, our framework generalizes effectively to unseen black-box detectors and exhibits promising transferability to the physical world. Project page is available at https://humansensinglab.github.io/CtrlCamo", "date": "2026-03-19", "categories": []} {"id": "2603.07313", "title": "Adversarial Latent-State Training for Robust Policies in Partially Observable Domains", "abstract": "Robustness under latent distribution shift remains challenging in partially observable reinforcement learning. We formalize a focused setting where an adversary selects a hidden initial latent distribution before the episode, termed an adversarial latent-initial-state POMDP. Theoretically, we prove a latent minimax principle, characterize worst-case defender distributions, and derive approximate best-response inequalities with finite-sample concentration bounds that make the optimization and sampling terms explicit. Empirically, using a Battleship benchmark, we demonstrate that targeted exposure to shifted latent distributions reduces average robustness gaps between Spread and Uniform distributions from 10.3 to 3.1 shots at equal budget. Furthermore, iterative best-response training exhibits budget-sensitive behavior that is qualitatively consistent with the theorem-guided diagnostics once one accounts for discounted PPO surrogates and finite-sample noise. Ultimately, we show that for latent-initial-state problems, the framework yields a clean evaluation game and useful theorem-motivated diagnostics while also making clear where implementation-level surrogates and optimization limits enter.", "date": "2026-03-07", "categories": []} {"id": "2603.18598", "title": "Complementary Text-Guided Attention for Zero-Shot Adversarial Robustness", "abstract": "Due to the impressive zero-shot capabilities, pre-trained vision-language models (e.g., CLIP), have attracted widespread attention and adoption across various domains. Nonetheless, CLIP has been observed to be susceptible to adversarial examples. Through experimental analysis, we have observed a phenomenon wherein adversarial perturbations induce shifts in text-guided attention. Building upon this observation, we propose a simple yet effective strategy: Text-Guided Attention for Zero-Shot Robustness (TGA-ZSR). This framework incorporates two components: Local Attention Refinement Module and Global Attention Constraint Module. Our goal is to maintain the generalization of the CLIP model and enhance its adversarial robustness. Additionally, the Global Attention Constraint Module acquires text-guided attention from both the target and original models using clean examples. Its objective is to maintain model performance on clean samples while enhancing overall robustness. However, we observe that the method occasionally focuses on irrelevant or spurious features, which can lead to suboptimal performance and undermine its robustness in certain scenarios. To overcome this limitation, we further propose a novel approach called Complementary Text-Guided Attention (Comp-TGA). This method integrates two types of foreground attention: attention guided by the class prompt and reversed attention driven by the non-class prompt. These complementary attention mechanisms allow the model to capture a more comprehensive and accurate representation of the foreground. The experiments validate that TGA-ZSR and Comp-TGA yield 9.58% and 11.95% improvements respectively, in zero-shot robust accuracy over the current state-of-the-art techniques across 16 datasets.", "date": "2026-03-19", "categories": []} {"id": "2603.19127", "title": "On Optimizing Multimodal Jailbreaks for Spoken Language Models", "abstract": "As Spoken Language Models (SLMs) integrate speech and text modalities, they inherit the safety vulnerabilities of their LLM backbone and an expanded attack surface. SLMs have been previously shown to be susceptible to jailbreaking, where adversarial prompts induce harmful responses. Yet existing attacks largely remain unimodal, optimizing either text or audio in isolation. We explore gradient-based multimodal jailbreaks by introducing JAMA (Joint Audio-text Multimodal Attack), a joint multimodal optimization framework combining Greedy Coordinate Gradient (GCG) for text and Projected Gradient Descent (PGD) for audio, to simultaneously perturb both modalities. Evaluations across four state-of-the-art SLMs and four audio types demonstrate that JAMA surpasses unimodal jailbreak rate by 1.5x to 10x. We analyze the operational dynamics of this joint attack and show that a sequential approximation method makes it 4x to 6x faster. Our findings suggest that unimodal safety is insufficient for robust SLMs. The code and data are available at https://repos.lsv.uni-saarland.de/akrishnan/multimodal-jailbreak-slm", "date": "2026-03-19", "categories": []} {"id": "2603.19204", "title": "Robustness, Cost, and Attack-Surface Concentration in Phishing Detection", "abstract": "Phishing detectors built on engineered website features attain near-perfect accuracy under i.i.d.\\ evaluation, yet deployment security depends on robustness to post-deployment feature manipulation. We study this gap through a cost-aware evasion framework that models discrete, monotone feature edits under explicit attacker budgets. Three diagnostics are introduced: minimal evasion cost (MEC), the evasion survival rate $S(B)$, and the robustness concentration index (RCI).\n On the UCI Phishing Websites benchmark (11\\,055 instances, 30 ternary features), Logistic Regression, Random Forests, Gradient Boosted Trees, and XGBoost all achieve $\\mathrm{AUC}\\ge 0.979$ under static evaluation. Under budgeted sanitization-style evasion, robustness converges across architectures: the median MEC equals 2 with full features, and over 80\\% of successful minimal-cost evasions concentrate on three low-cost surface features. Feature restriction improves robustness only when it removes all dominant low-cost transitions. Under strict cost schedules, infrastructure-leaning feature sets exhibit 17-19\\% infeasible mass for ensemble models, while the median MEC among evadable instances remains unchanged. We formalize this convergence: if a positive fraction of correctly detected phishing instances admit evasion through a single feature transition of minimal cost $c_{\\min}$, no classifier can raise the corresponding MEC quantile above $c_{\\min}$ without modifying the feature representation or cost model. Adversarial robustness in phishing detection is governed by feature economics rather than model complexity.", "date": "2026-03-19", "categories": []} {"id": "2504.00638", "title": "Impact of Data Duplication on Deep Neural Network-Based Image Classifiers: Robust vs. Standard Models", "abstract": "The accuracy and robustness of machine learning models against adversarial attacks are significantly influenced by factors such as training data quality, model architecture, the training process, and the deployment environment. In recent years, duplicated data in training sets, especially in language models, has attracted considerable attention. It has been shown that deduplication enhances both training performance and model accuracy in language models. While the importance of data quality in training image classifier Deep Neural Networks (DNNs) is widely recognized, the impact of duplicated images in the training set on model generalization and performance has received little attention.\n In this paper, we address this gap and provide a comprehensive study on the effect of duplicates in image classification. Our analysis indicates that the presence of duplicated images in the training set not only negatively affects the efficiency of model training but also may result in lower accuracy of the image classifier. This negative impact of duplication on accuracy is particularly evident when duplicated data is non-uniform across classes or when duplication, whether uniform or non-uniform, occurs in the training set of an adversarially trained model. Even when duplicated samples are selected in a uniform way, increasing the amount of duplication does not lead to a significant improvement in accuracy.", "date": "2025-04-01", "categories": []} {"id": "2504.04893", "title": "SCAM: A Real-World Typographic Robustness Evaluation for Multimodal Foundation Models", "abstract": "Typographic attacks exploit the interplay between text and visual content in multimodal foundation models, causing misclassifications when misleading text is embedded within images. Existing datasets are limited in size and diversity, making it difficult to study such vulnerabilities. In this paper, we introduce SCAM, the largest and most diverse dataset of real-world typographic attack images to date, containing 1162 images across hundreds of object categories and attack words. Through extensive benchmarking of Vision-Language Models on SCAM, we demonstrate that typographic attacks significantly degrade performance, and identify that training data and model architecture influence the susceptibility to these attacks. Our findings indicate that typographic attacks remain effective against state-of-the-art Large Vision-Language Models, especially those employing vision encoders inherently vulnerable to such attacks. However, employing larger Large Language Model backbones reduces this vulnerability while simultaneously enhancing typographic understanding. Additionally, we demonstrate that synthetic attacks closely resemble real-world (handwritten) attacks, validating their use in research. Our work provides a comprehensive resource and empirical insights to facilitate future research toward robust and trustworthy multimodal AI systems. Finally, we publicly release the datasets introduced in this paper, along with the code for evaluations under www.bliss.berlin/research/scam.", "date": "2025-04-07", "categories": []} {"id": "2511.16830", "title": "PEPPER: Perception-Guided Perturbation for Robust Backdoor Defense in Text-to-Image Diffusion Models", "abstract": "Recent studies show that text to image (T2I) diffusion models are vulnerable to backdoor attacks, where a trigger in the input prompt can steer generation toward harmful or unintended content. Beyond the trigger token itself, backdoor effects can spread to neighboring tokens in the text embedding space. To address this, we introduce PEPPER (PErcePtion Guided PERturbation), a backdoor defense that rewrites the caption into a semantically distant yet visually similar caption while adding unobstructive elements. With this rewriting strategy, PEPPER disrupt the trigger embedded in the input prompt, dilute the influence of trigger tokens and thereby achieve enhanced robustness. Experiments show that PEPPER is particularly effective against text encoder based attacks, substantially reducing attack success while preserving generation quality. Beyond this, PEPPER can be paired with any existing defenses yielding consistently stronger and generalizable robustness than any standalone method. Our code will be released on Github.", "date": "2025-11-20", "categories": []} {"id": "2602.13293", "title": "NutVLM: A Self-Adaptive Defense Framework against Full-Dimension Attacks for Vision Language Models in Autonomous Driving", "abstract": "Vision Language Models (VLMs) have advanced perception in autonomous driving (AD), but they remain vulnerable to adversarial threats. These risks range from localized physical patches to imperceptible global perturbations. Existing defense methods for VLMs remain limited and often fail to reconcile robustness with clean-sample performance. To bridge these gaps, we propose NutVLM, a comprehensive self-adaptive defense framework designed to secure the entire perception-decision lifecycle. Specifically, we first employ NutNet++ as a sentinel, which is a unified detection-purification mechanism. It identifies benign samples, local patches, and global perturbations through three-way classification. Subsequently, localized threats are purified via efficient grayscale masking, while global perturbations trigger Expert-guided Adversarial Prompt Tuning (EAPT). Instead of the costly parameter updates of full-model fine-tuning, EAPT generates \"corrective driving prompts\" via gradient-based latent optimization and discrete projection. These prompts refocus the VLM's attention without requiring exhaustive full-model retraining. Evaluated on the Dolphins benchmark, our NutVLM yields a 4.89% improvement in overall metrics (e.g., Accuracy, Language Score, and GPT Score). These results validate NutVLM as a scalable security solution for intelligent transportation. Our code is available at https://github.com/PXX/NutVLM.", "date": "2026-02-09", "categories": []} {"id": "2603.16972", "title": "Over-the-air White-box Attack on the Wav2Vec Speech Recognition Neural Network", "abstract": "Automatic speech recognition systems based on neural networks are vulnerable to adversarial attacks that alter transcriptions in a malicious way. Recent works in this field have focused on making attacks work in over-the-air scenarios, however such attacks are typically detectable by human hearing, limiting their potential applications. In the present work we explore different approaches of making over-the-air attacks less detectable, as well as the impact these approaches have on the attacks' effectiveness.", "date": "2026-03-17", "categories": []} {"id": "2603.17628", "title": "rSDNet: Unified Robust Neural Learning against Label Noise and Adversarial Attacks", "abstract": "Neural networks are central to modern artificial intelligence, yet their training remains highly sensitive to data contamination. Standard neural classifiers are trained by minimizing the categorical cross-entropy loss, corresponding to maximum likelihood estimation under a multinomial model. While statistically efficient under ideal conditions, this approach is highly vulnerable to contaminated observations including label noises corrupting supervision in the output space, and adversarial perturbations inducing worst-case deviations in the input space. In this paper, we propose a unified and statistically grounded framework for robust neural classification that addresses both forms of contamination within a single learning objective. We formulate neural network training as a minimum-divergence estimation problem and introduce rSDNet, a robust learning algorithm based on the general class of $S$-divergences. The resulting training objective inherits robustness properties from classical statistical estimation, automatically down-weighting aberrant observations through model probabilities. We establish essential population-level properties of rSDNet, including Fisher consistency, classification calibration implying Bayes optimality, and robustness guarantees under uniform label noise and infinitesimal feature contamination. Experiments on three benchmark image classification datasets show that rSDNet improves robustness to label corruption and adversarial attacks while maintaining competitive accuracy on clean data, Our results highlight minimum-divergence learning as a principled and effective framework for robust neural classification under heterogeneous data contamination.", "date": "2026-03-18", "categories": []} {"id": "2503.06140", "title": "Boosting the Local Invariance for Better Adversarial Transferability", "abstract": "Transfer-based attacks pose a significant threat to real-world applications by directly targeting victim models with adversarial examples generated on surrogate models. While numerous approaches have been proposed to enhance adversarial transferability, existing works often overlook the intrinsic relationship between adversarial perturbations and input images. In this work, we find that adversarial perturbation often exhibits poor translation invariance for a given clean image and model, which is attributed to local invariance. Through empirical analysis, we demonstrate a positive correlation between the local invariance of adversarial perturbations w.r.t. the input image and their transferability across models. Based on this finding, we propose a general adversarial transferability boosting technique called the Local Invariance Boosting approach (LI-Boost). Extensive experiments on the standard ImageNet dataset demonstrate that LI-Boost can significantly enhance various transfer-based attacks (e.g., gradient-based, input transformation-based, model-related, advanced objective function, ensemble, etc.) on CNNs, ViTs, defense mechanisms, commercial vision API systems, and vision-language models. Our approach provides a promising direction for future research on improving adversarial transferability across models. Our code is available at https://github.com/Trustworthy-AI-Group/TransferAttack.", "date": "2025-03-08", "categories": []} {"id": "2602.19570", "title": "VALD: Multi-Stage Vision Attack Detection for Efficient LVLM Defense", "abstract": "Large Vision-Language Models (LVLMs) can be vulnerable to adversarial images that subtly bias their outputs toward plausible yet incorrect responses. We introduce a general, efficient, and training-free defense that combines image transformations with agentic data consolidation to recover correct model behavior. A key component of our approach is a two-stage detection mechanism that quickly filters out the majority of clean inputs. We first assess image consistency under content-preserving transformations at negligible computational cost. For more challenging cases, we examine discrepancies in a text-embedding space. Only when necessary do we invoke a powerful LLM to resolve attack-induced divergences. A key idea is to consolidate multiple responses, leveraging both their similarities and their differences. We show that our method achieves state-of-the-art accuracy while maintaining notable efficiency: most clean images skip costly processing, and even in the presence of numerous adversarial examples, the overhead remains minimal.", "date": "2026-02-23", "categories": []} {"id": "2410.08950", "title": "On the Adversarial Transferability of Generalized \"Skip Connections\"", "abstract": "Skip connection is an essential ingredient for modern deep models to be deeper and more powerful. Despite their huge success in normal scenarios (state-of-the-art classification performance on natural examples), we investigate and identify an interesting property of skip connections under adversarial scenarios, namely, the use of skip connections allows easier generation of highly transferable adversarial examples. Specifically, in ResNet-like models (with skip connections), we find that biasing backpropagation to favor gradients from skip connections--while suppressing those from residual modules via a decay factor--allows one to craft adversarial examples with high transferability. Based on this insight, we propose the Skip Gradient Method (SGM). Although starting from ResNet-like models in vision domains, we further extend SGM to more advanced architectures, including Vision Transformers (ViTs), models with varying-length paths, and other domains such as natural language processing. We conduct comprehensive transfer-based attacks against diverse model families, including ResNets, Transformers, Inceptions, Neural Architecture Search-based models, and Large Language Models (LLMs). The results demonstrate that employing SGM can greatly improve the transferability of crafted attacks in almost all cases. Furthermore, we demonstrate that SGM can still be effective under more challenging settings such as ensemble-based attacks, targeted attacks, and against defense equipped models. At last, we provide theoretical explanations and empirical insights on how SGM works. Our findings not only motivate new adversarial research into the architectural characteristics of models but also open up further challenges for secure model architecture design. Our code is available at https://github.com/mo666666/SGM.", "date": "2024-10-11", "categories": []} {"id": "2502.02290", "title": "FRAUD-RLA: A new reinforcement learning adversarial attack against credit card fraud detection", "abstract": "Adversarial attacks pose a significant threat to data-driven systems, and researchers have spent considerable resources studying them. Despite its economic relevance, this trend largely overlooked the issue of credit card fraud detection. To address this gap, we propose a new threat model that demonstrates the limitations of existing attacks and highlights the necessity to investigate new approaches. We then design a new adversarial attack for credit card fraud detection, employing reinforcement learning to bypass classifiers. This attack, called FRAUD-RLA, is designed to maximize the attacker's reward by optimizing the exploration-exploitation tradeoff and working with significantly less required knowledge than competitors. Our experiments, conducted on three different heterogeneous datasets and against two fraud detection systems, indicate that FRAUD-RLA is effective, even considering the severe limitations imposed by our threat model.", "date": "2025-02-04", "categories": []} {"id": "2510.00517", "title": "Understanding Sensitivity of Differential Attention through the Lens of Adversarial Robustness", "abstract": "Differential Attention (DA) has been proposed as a refinement to standard attention, suppressing redundant or noisy context through a subtractive structure and thereby reducing contextual hallucination. While this design sharpens task-relevant focus, we show that it also introduces a structural fragility under adversarial perturbations. Our theoretical analysis identifies negative gradient alignment-a configuration encouraged by DA's subtraction-as the key driver of sensitivity amplification, leading to increased gradient norms and elevated local Lipschitz constants. We empirically validate this Fragile Principle through systematic experiments on ViT/DiffViT and evaluations of pretrained CLIP/DiffCLIP, spanning five datasets in total. These results demonstrate higher attack success rates, frequent gradient opposition, and stronger local sensitivity compared to standard attention. Furthermore, depth-dependent experiments reveal a robustness crossover: stacking DA layers attenuates small perturbations via depth-dependent noise cancellation, though this protection fades under larger attack budgets. Overall, our findings uncover a fundamental trade-off: DA improves discriminative focus on clean inputs but increases adversarial vulnerability, underscoring the need to jointly design for selectivity and robustness in future attention mechanisms.", "date": "2025-10-01", "categories": []} {"id": "2511.07112", "title": "More Agents Improve Math Problem Solving but Adversarial Robustness Gap Persists", "abstract": "When LLM agents work together, they seem to be more powerful than a single LLM in mathematical question answering. However, are they also more robust to adversarial inputs? We investigate this question using adversarially perturbed math questions. These perturbations include punctuation noise with three intensities (10%, 30%, 50%), plus real-world and human-like typos (WikiTypo, R2ATA). Using a unified sampling-and-voting framework (Agent Forest), we evaluate six open-source models (Qwen3-4B/14B, Llama3.1-8B, Mistral-7B, Gemma3-4B/12B) across four benchmarks (GSM8K, MATH, MMLU-Math, MultiArith), with various numbers of agents n = {1,2,5,10,15,20,25}. Our findings show that 1) Noise type matters: punctuation noise harm scales with its severity, and the human typos remain the dominant bottleneck, yielding the largest gaps to Clean accuracy and the highest attack success rate (ASR) even with a large number of agents; 2) Collaboration reliably improves accuracy as the number of agents, n, increases, with the largest gains from n=1 to n=5 and diminishing returns beyond n$\\approx$10. However, the adversarial robustness gap persists regardless of the agent count.", "date": "2025-11-10", "categories": []} {"id": "2511.14386", "title": "Cheating Stereo Matching in Full-scale: Physical Adversarial Attack against Binocular Depth Estimation in Autonomous Driving", "abstract": "Though deep neural models adopted to realize the perception of autonomous driving have proven vulnerable to adversarial examples, known attacks often leverage 2D patches and target mostly monocular perception. Therefore, the effectiveness of Physical Adversarial Examples (PAEs) on stereo-based binocular depth estimation remains largely unexplored. To this end, we propose the first texture-enabled physical adversarial attack against stereo matching models in the context of autonomous driving. Our method employs a 3D PAE with global camouflage texture rather than a local 2D patch-based one, ensuring both visual consistency and attack effectiveness across different viewpoints of stereo cameras. To cope with the disparity effect of these cameras, we also propose a new 3D stereo matching rendering module that allows the PAE to be aligned with real-world positions and headings in binocular vision. We further propose a novel merging attack that seamlessly blends the target into the environment through fine-grained PAE optimization. It has significantly enhanced stealth and lethality upon existing hiding attacks that fail to get seamlessly merged into the background. Extensive evaluations show that our PAEs can successfully fool the stereo models into producing erroneous depth information.", "date": "2025-11-18", "categories": []} {"id": "2602.02569", "title": "DECEIVE-AFC: Adversarial Claim Attacks against Search-Enabled LLM-based Fact-Checking Systems", "abstract": "Fact-checking systems with search-enabled large language models (LLMs) have shown strong potential for verifying claims by dynamically retrieving external evidence. However, the robustness of such systems against adversarial attack remains insufficiently understood. In this work, we study adversarial claim attacks against search-enabled LLM-based fact-checking systems under a realistic input-only threat model. We propose DECEIVE-AFC, an agent-based adversarial attack framework that integrates novel claim-level attack strategies and adversarial claim validity evaluation principles. DECEIVE-AFC systematically explores adversarial attack trajectories that disrupt search behavior, evidence retrieval, and LLM-based reasoning without relying on access to evidence sources or model internals. Extensive evaluations on benchmark datasets and real-world systems demonstrate that our attacks substantially degrade verification performance, reducing accuracy from 78.7% to 53.7%, and significantly outperform existing claim-based attack baselines with strong cross-system transferability.", "date": "2026-01-31", "categories": []} {"id": "2603.13435", "title": "CtrlAttack: A Unified Attack on World-Model Control in Diffusion Models", "abstract": "Diffusion-based image-to-video (I2V) models increasingly exhibit world-model-like properties by implicitly capturing temporal dynamics. However, existing studies have mainly focused on visual quality and controllability, and the robustness of the state transition learned by the model remains understudied. To fill this gap, we are the first to analyze the vulnerability of I2V models, find that temporal control mechanisms constitute a new attack surface, and reveal the challenge of modeling them uniformly under different attack settings. Based on this, we propose a trajectory-control attack, called CtrlAttack, to interfere with state evolution during the generation process. Specifically, we represent the perturbation as a low-dimensional velocity field and construct a continuous displacement field via temporal integration, thereby affecting the model's state transitions while maintaining temporal consistency; meanwhile, we map the perturbation to the observation space, making the method applicable to both white-box and black-box attack settings. Experimental results show that even under low-dimensional and strongly regularized perturbation constraints, our method can still significantly disrupt temporal consistency by increasing the attack success rate (ASR) to over 90% in the white-box setting and over 80% in the black-box setting, while keeping the variation of the FID and FVD within 6 and 130, respectively, thus revealing the potential security risk of I2V models at the level of state dynamics.", "date": "2026-03-13", "categories": []} {"id": "2603.13880", "title": "Benchmarking the Energy Cost of Assurance in Neuromorphic Edge Robotics", "abstract": "Deploying trustworthy artificial intelligence on edge robotics imposes a difficult trade-off between high-assurance robustness and energy sustainability. Traditional defense mechanisms against adversarial attacks typically incur significant computational overhead, threatening the viability of power-constrained platforms in environments such as cislunar space. This paper quantifies the energy cost of assurance in event-driven neuromorphic systems. We benchmark the Hierarchical Temporal Defense (HTD) framework on the BrainChip Akida AKD1000 processor against a suite of adversarial temporal attacks. We demonstrate that unlike traditional deep learning defenses which often degrade efficiency significantly with increased robustness, the event-driven nature of the proposed architecture achieves a superior trade-off. The system reduces gradient-based adversarial success rates from 82.1% to 18.7% and temporal jitter success rates from 75.8% to 25.1%, while maintaining an energy consumption of approximately 45 microjoules per inference. We report a counter-intuitive reduction in dynamic power consumption in the fully defended configuration, attributed to volatility-gated plasticity mechanisms that induce higher network sparsity. These results provide empirical evidence that neuromorphic sparsity enables sustainable and high-assurance edge autonomy.", "date": "2026-03-14", "categories": []} {"id": "2603.14860", "title": "Architecture-Agnostic Feature Synergy for Universal Defense Against Heterogeneous Generative Threats", "abstract": "Generative AI deployment poses unprecedented challenges to content safety and privacy. However, existing defense mechanisms are often tailored to specific architectures (e.g., Diffusion Models or GANs), creating fragile \"defense silos\" that fail against heterogeneous generative threats. This paper identifies a fundamental optimization barrier in naive pixel-space ensemble strategies: due to divergent objective functions, pixel-level gradients from heterogeneous generators become statistically orthogonal, causing destructive interference. To overcome this, we observe that despite disparate low-level mechanisms, high-level feature representations of generated content exhibit alignment across architectures. Based on this, we propose the Architecture-Agnostic Targeted Feature Synergy (ATFS) framework. By introducing a target guidance image, ATFS reformulates multi-model defense as a unified feature space alignment task, enabling intrinsic gradient alignment without complex rectification. Extensive experiments show ATFS achieves SOTA protection in heterogeneous scenarios (e.g., Diffusion+GAN). It converges rapidly, reaching over 90% performance within 40 iterations, and maintains strong attack potency even under tight perturbation budgets. The framework seamlessly extends to unseen architectures (e.g., VQ-VAE) by switching the feature extractor, and demonstrates robust resistance to JPEG compression and scaling. Being computationally efficient and lightweight, ATFS offers a viable pathway to dismantle defense silos and enable universal generative security. Code and models are open-sourced for reproducibility.", "date": "2026-03-16", "categories": []} {"id": "2603.15221", "title": "ADV-0: Closed-Loop Min-Max Adversarial Training for Long-Tail Robustness in Autonomous Driving", "abstract": "Deploying autonomous driving systems requires robustness against long-tail scenarios that are rare but safety-critical. While adversarial training offers a promising solution, existing methods typically decouple scenario generation from policy optimization and rely on heuristic surrogates. This leads to objective misalignment and fails to capture the shifting failure modes of evolving policies. This paper presents ADV-0, a closed-loop min-max optimization framework that treats the interaction between driving policy (defender) and adversarial agent (attacker) as a zero-sum Markov game. By aligning the attacker's utility directly with the defender's objective, we reveal the optimal adversary distribution. To make this tractable, we cast dynamic adversary evolution as iterative preference learning, efficiently approximating this optimum and offering an algorithm-agnostic solution to the game. Theoretically, ADV-0 converges to a Nash Equilibrium and maximizes a certified lower bound on real-world performance. Experiments indicate that it effectively exposes diverse safety-critical failures and greatly enhances the generalizability of both learned policies and motion planners against unseen long-tail risks.", "date": "2026-03-16", "categories": []} {"id": "2603.15396", "title": "AI Evasion and Impersonation Attacks on Facial Re-Identification with Activation Map Explanations", "abstract": "Facial identification systems are increasingly deployed in surveillance and yet their vulnerability to adversarial evasion and impersonation attacks pose a critical risk. This paper introduces a novel framework for generating adversarial patches capable of both evasion and impersonation attacks against deep re-identification models across non-overlapping cameras. Unlike prior approaches that require iterative patch optimisation for each target, our method employs a conditional encoder-decoder network to synthesize adversarial patches in a single forward pass, guided by multi-scale features from source and target images. The patches are optimised with a dual adversarial objective comprising of pull and push terms. To enhance imperceptibility and aid physical deployment, we further integrate naturalistic patch generation using pre-trained latent diffusion models. Experiments on standard pedestrian (Market-1501, DukeMTMCreID) and facial recognition benchmarks (CelebA-HQ, PubFig) datasets demonstrate the effectiveness of the proposed method. Our adversarial evasion attacks reduce mean Average Precision from 90% to 0.4% in white-box settings and from 72% to 0.4% in black-box settings, showing strong cross-model generalization. In targeted impersonation attacks, our framework achieves a success rate of 27% on CelebA-HQ, competing with other patch-based methods. We go further to use clustering of activation maps to interpret which features are most used by adversarial attacks and propose a pathway for future countermeasures. The results highlight the practicality of adversarial patch attacks on retrieval-based systems and underline the urgent need for robust defense strategies.", "date": "2026-03-16", "categories": []} {"id": "2603.15413", "title": "RESQ: A Unified Framework for REliability- and Security Enhancement of Quantized Deep Neural Networks", "abstract": "This work proposes a unified three-stage framework that produces a quantized DNN with balanced fault and attack robustness. The first stage improves attack resilience via fine-tuning that desensitizes feature representations to small input perturbations. The second stage reinforces fault resilience through fault-aware fine-tuning under simulated bit-flip faults. Finally, a lightweight post-training adjustment integrates quantization to enhance efficiency and further mitigate fault sensitivity without degrading attack resilience. Experiments on ResNet18, VGG16, EfficientNet, and Swin-Tiny in CIFAR-10, CIFAR-100, and GTSRB show consistent gains of up to 10.35% in attack resilience and 12.47% in fault resilience, while maintaining competitive accuracy in quantized networks. The results also highlight an asymmetric interaction in which improvements in fault resilience generally increase resilience to adversarial attacks, whereas enhanced adversarial resilience does not necessarily lead to higher fault resilience.", "date": "2026-03-16", "categories": []} {"id": "2402.03627", "title": "Partially Recentralization Softmax Loss for Vision-Language Models Robustness", "abstract": "As Large Language Models make a breakthrough in natural language processing tasks (NLP), multimodal technique becomes extremely popular. However, it has been shown that multimodal NLP are vulnerable to adversarial attacks, where the outputs of a model can be dramatically changed by a perturbation to the input. While several defense techniques have been proposed both in computer vision and NLP models, the multimodal robustness of models have not been fully explored. In this paper, we study the adversarial robustness provided by modifying loss function of pre-trained multimodal models, by restricting top K softmax outputs. Based on the evaluation and scoring, our experiments show that after a fine-tuning, adversarial robustness of pre-trained models can be significantly improved, against popular attacks. Further research should be studying, such as output diversity, generalization and the robustness-performance trade-off of this kind of loss functions. Our code will be available after this paper is accepted", "date": "2024-02-06", "categories": []} {"id": "2506.18248", "title": "Improving Black-Box Generative Attacks via Generator Semantic Consistency", "abstract": "Transfer attacks optimize on a surrogate and deploy to a black-box target. While iterative optimization attacks in this paradigm are limited by their per-input cost limits efficiency and scalability due to multistep gradient updates for each input, generative attacks alleviate these by producing adversarial examples in a single forward pass at test time. However, current generative attacks still adhere to optimizing surrogate losses (e.g., feature divergence) and overlook the generator's internal dynamics, underexploring how the generator's internal representations shape transferable perturbations. To address this, we enforce semantic consistency by aligning the early generator's intermediate features to an EMA teacher, stabilizing object-aligned representations and improving black-box transfer without inference-time overhead. To ground the mechanism, we quantify semantic stability as the standard deviation of foreground IoU between cluster-derived activation masks and foreground masks across generator blocks, and observe reduced semantic drift under our method. For more reliable evaluation, we also introduce Accidental Correction Rate (ACR) to separate inadvertent corrections from intended misclassifications, complementing the inherent blind spots in traditional Attack Success Rate (ASR), Fooling Rate (FR), and Accuracy metrics. Across architectures, domains, and tasks, our approach can be seamlessly integrated into existing generative attacks with consistent improvements in black-box transfer, while maintaining test-time efficiency.", "date": "2025-06-23", "categories": []} {"id": "2509.23325", "title": "Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Scheduling", "abstract": "Fine-tuning pretrained models is a standard and effective workflow in modern machine learning. However, robust fine-tuning (RFT), which aims to simultaneously achieve adaptation to a downstream task and robustness to adversarial examples, remains challenging. Despite the abundance of non-robust pretrained models in open-source repositories, their potential for RFT is less understood. We address this knowledge gap by systematically examining RFT from such non-robust models. Our experiments reveal that fine-tuning non-robust models with a robust objective, even under small perturbations, can lead to poor performance, a phenomenon that we dub suboptimal transfer. In challenging scenarios (eg, difficult tasks, high perturbation), the resulting performance can be so low that it may be considered a transfer failure. We find that fine-tuning using a robust objective impedes task adaptation at the beginning of training and eventually prevents optimal transfer. However, we propose a novel heuristic, Epsilon-Scheduling, a schedule over perturbation strength used during training that promotes optimal transfer. Additionally, we introduce expected robustness, a metric that captures performance across a range of perturbations, providing a more comprehensive evaluation of the accuracy-robustness trade-off for diverse models at test time. Extensive experiments on a wide range of configurations (six pretrained models and five datasets) show that Epsilon-Scheduling successfully prevents suboptimal transfer and consistently improves expected robustness.", "date": "2025-09-27", "categories": []} {"id": "2603.12582", "title": "RTD-Guard: A Black-Box Textual Adversarial Detection Framework via Replacement Token Detection", "abstract": "Textual adversarial attacks pose a serious security threat to Natural Language Processing (NLP) systems by introducing imperceptible perturbations that mislead deep learning models. While adversarial example detection offers a lightweight alternative to robust training, existing methods typically rely on prior knowledge of attacks, white-box access to the victim model, or numerous queries, which severely limits their practical deployment. This paper introduces RTD-Guard, a novel black-box framework for detecting textual adversarial examples. Our key insight is that word-substitution perturbations in adversarial attacks closely resemble the \"replaced tokens\" that a Replaced Token Detection (RTD) discriminator is pre-trained to identify. Leveraging this, RTD-Guard employs an off-the-shelf RTD discriminator-without fine-tuning-to localize suspicious tokens, masks them, and detects adversarial examples by observing the prediction confidence shift of the victim model before and after intervention. The entire process requires no adversarial data, model tuning, or internal model access, and uses only two black-box queries. Comprehensive experiments on multiple benchmark datasets demonstrate that RTD-Guard effectively detects adversarial texts generated by diverse state-of-the-art attack methods. It surpasses existing detection baselines across multiple metrics, offering a highly efficient, practical, and resource-light defense mechanism-particularly suited for real-world deployment in resource-constrained or privacy-sensitive environments.", "date": "2026-03-13", "categories": []} {"id": "2603.12688", "title": "STRAP-ViT: Segregated Tokens with Randomized -- Transformations for Defense against Adversarial Patches in ViTs", "abstract": "Adversarial patches are physically realizable localized noise, which are able to hijack Vision Transformers (ViT) self-attention, pulling focus toward a small, high-contrast region and corrupting the class token to force confident misclassifications. In this paper, we claim that the tokens which correspond to the areas of the image that contain the adversarial noise, have different statistical properties when compared to the tokens which do not overlap with the adversarial perturbations. We use this insight to propose a mechanism, called STRAP-ViT, which uses Jensen-Shannon Divergence as a metric for segregating tokens that behave as anomalies in the Detection Phase, and then apply randomized composite transformations on them during the Mitigation Phase to make the adversarial noise ineffective. The minimum number of tokens to transform is a hyper-parameter for the defense mechanism and is chosen such that at least 50% of the patch is covered by the transformed tokens. STRAP-ViT fits as a non-trainable plug-and-play block within the ViT architectures, for inference purposes only, with a minimal computational cost and does not require any additional training cost/effort. STRAP-ViT has been tested on multiple pre-trained vision transformer architectures (ViT-base-16 and DinoV2) and datasets (ImageNet and CalTech-101), across multiple adversarial attacks (Adversarial Patch, LAVAN, GDPA and RP2), and found to provide excellent robust accuracies lying within a 2-3% range of the clean baselines, and outperform the state-of-the-art.", "date": "2026-03-13", "categories": []} {"id": "2603.12717", "title": "Altered Thoughts, Altered Actions: Probing Chain-of-Thought Vulnerabilities in VLA Robotic Manipulation", "abstract": "Recent Vision-Language-Action (VLA) models increasingly adopt chain-of-thought (CoT) reasoning, generating a natural-language plan before decoding motor commands. This internal text channel between the reasoning module and the action decoder has received no adversarial scrutiny. We ask: which properties of this intermediate plan does the action decoder actually rely on, and can targeted corruption of the reasoning trace alone -- with all inputs left intact -- degrade a robot's physical task performance? We design a taxonomy of seven text corruptions organized into three attacker tiers (blind noise, mechanical-semantic, and LLM-adaptive) and apply them to a state-of-the-art reasoning VLA across 40 LIBERO tabletop manipulation tasks. Our results reveal a striking asymmetry: substituting object names in the reasoning trace reduces overall success rate by 8.3~percentage points (pp) -- reaching $-$19.3~pp on goal-conditioned tasks and $-$45~pp on individual tasks -- whereas sentence reordering, spatial-direction reversal, token noise, and even a 70B-parameter LLM crafting plausible-but-wrong plans all have negligible impact (within $\\pm$4~pp). This asymmetry indicates that the action decoder depends on entity-reference integrity rather than reasoning quality or sequential structure. Notably, a sophisticated LLM-based attacker underperforms simple mechanical object-name substitution, because preserving plausibility inadvertently retains the entity-grounding structure the decoder needs. A cross-architecture control using a non-reasoning VLA confirms the vulnerability is exclusive to reasoning-augmented models, while instruction-level attacks degrade both architectures -- establishing that the internal reasoning trace is a distinct and stealthy threat vector invisible to input-validation defenses.", "date": "2026-03-13", "categories": []} {"id": "2603.13028", "title": "Purify Once, Edit Freely: Breaking Image Protections under Model Mismatch", "abstract": "Diffusion models enable high-fidelity image editing but can also be misused for unauthorized style imitation and harmful content generation. To mitigate these risks, proactive image protection methods embed small, often imperceptible adversarial perturbations into images before sharing to disrupt downstream editing or fine-tuning. However, in realistic post-release scenarios, content owners cannot control downstream processing pipelines, and protections optimized for a surrogate model may fail when attackers use mismatched diffusion pipelines. Existing purification methods can weaken protections but often sacrifice image quality and rarely examine architectural mismatch. We introduce a unified post-release purification framework to evaluate protection survivability under model mismatch. We propose two practical purifiers: VAE-Trans, which corrects protected images via latent-space projection, and EditorClean, which performs instruction-guided reconstruction with a Diffusion Transformer to exploit architectural heterogeneity. Both operate without access to protected images or defense internals. Across 2,100 editing tasks and six representative protection methods, EditorClean consistently restores editability. Compared to protected inputs, it improves PSNR by 3-6 dB and reduces FID by 50-70 percent on downstream edits, while outperforming prior purification baselines by about 2 dB PSNR and 30 percent lower FID. Our results reveal a purify-once, edit-freely failure mode: once purification succeeds, the protective signal is largely removed, enabling unrestricted editing. This highlights the need to evaluate protections under model mismatch and design defenses robust to heterogeneous attackers.", "date": "2026-03-13", "categories": []} {"id": "2505.19459", "title": "Your Classifier Can Do More: Towards Balancing the Gaps in Classification, Robustness, and Generation", "abstract": "Joint Energy-based Models (JEMs) are well known for their ability to unify classification and generation within a single framework. Despite their promising generative and discriminative performance, their robustness remains far inferior to adversarial training (AT), which, conversely, achieves strong robustness but sacrifices clean accuracy and lacks generative ability. This inherent trilemma-balancing classification accuracy, robustness, and generative capability-raises a fundamental question: Can a single model achieve all three simultaneously? To answer this, we conduct a systematic energy landscape analysis of clean, adversarial, and generated samples across various JEM and AT variants. We observe that AT reduces the energy gap between clean and adversarial samples, while JEMs narrow the gap between clean and synthetic ones. This observation suggests a key insight: if the energy distributions of all three data types can be aligned, we might bridge their performance disparities. Building on this idea, we propose Energy-based Joint Distribution Adversarial Training (EB-JDAT), a unified generative-discriminative-robust framework that maximizes the joint probability of clean and adversarial distribution. EB-JDAT introduces a novel min-max energy optimization to explicitly aligning energies across clean, adversarial, and generated samples. Extensive experiments on CIFAR-10, CIFAR-100, and ImageNet subsets demonstrate that EB-JDAT achieves state-of-the-art robustness while maintaining near-original accuracy and competitive generation quality of JEMs, effectively achieving a new trade-off frontier between accuracy, robustness, and generation. The code is released at https://github.com/yujkc/EB-JDAT.", "date": "2025-05-26", "categories": []} {"id": "2602.13093", "title": "Consistency of Large Reasoning Models Under Multi-Turn Attacks", "abstract": "Large reasoning models with reasoning capabilities achieve state-of-the-art performance on complex tasks, but their robustness under multi-turn adversarial pressure remains underexplored. We evaluate nine frontier reasoning models under adversarial attacks. Our findings reveal that reasoning confers meaningful but incomplete robustness: most reasoning models studied significantly outperform instruction-tuned baselines, yet all exhibit distinct vulnerability profiles, with misleading suggestions universally effective and social pressure showing model-specific efficacy. Through trajectory analysis, we identify five failure modes (Self-Doubt, Social Conformity, Suggestion Hijacking, Emotional Susceptibility, and Reasoning Fatigue) with the first two accounting for 50% of failures. We further demonstrate that Confidence-Aware Response Generation (CARG), effective for standard LLMs, fails for reasoning models due to overconfidence induced by extended reasoning traces; counterintuitively, random confidence embedding outperforms targeted extraction. Our results highlight that reasoning capabilities do not automatically confer adversarial robustness and that confidence-based defenses require fundamental redesign for reasoning models.", "date": "2026-02-13", "categories": []} {"id": "2603.10689", "title": "Contract And Conquer: How to Provably Compute Adversarial Examples for a Black-Box Model?", "abstract": "Black-box adversarial attacks are widely used as tools to test the robustness of deep neural networks against malicious perturbations of input data aimed at a specific change in the output of the model. Such methods, although they remain empirically effective, usually do not guarantee that an adversarial example can be found for a particular model. In this paper, we propose Contract And Conquer (CAC), an approach to provably compute adversarial examples for neural networks in a black-box manner. The method is based on knowledge distillation of a black-box model on an expanding distillation dataset and precise contraction of the adversarial example search space. CAC is supported by the transferability guarantee: we prove that the method yields an adversarial example for the black-box model within a fixed number of algorithm iterations. Experimentally, we demonstrate that the proposed approach outperforms existing state-of-the-art black-box attack methods on ImageNet dataset for different target models, including vision transformers.", "date": "2026-03-11", "categories": []} {"id": "2503.11627", "title": "Are Deep Speech Denoising Models Robust to Adversarial Noise?", "abstract": "Deep noise suppression (DNS) models enjoy widespread use throughout a variety of high-stakes speech applications. However, we show that four recent DNS models can each be reduced to outputting unintelligible gibberish through the addition of psychoacoustically hidden adversarial noise, even in low-background-noise and simulated over-the-air settings. For three of the models, a small transcription study with audio and multimedia experts confirms unintelligibility of the attacked audio; simultaneously, an ABX study shows that the adversarial noise is generally imperceptible, with some variance between participants and samples. While we also establish several negative results around targeted attacks and model transfer, our results nevertheless highlight the need for practical countermeasures before open-source DNS systems can be used in safety-critical applications.", "date": "2025-03-14", "categories": []} {"id": "2603.03507", "title": "Solving adversarial examples requires solving exponential misalignment", "abstract": "Adversarial attacks - input perturbations imperceptible to humans that fool neural networks - remain both a persistent failure mode in machine learning, and a phenomenon with mysterious origins. To shed light, we define and analyze a network's perceptual manifold (PM) for a class concept as the space of all inputs confidently assigned to that class by the network. We find, strikingly, that the dimensionalities of neural network PMs are orders of magnitude higher than those of natural human concepts. Since volume typically grows exponentially with dimension, this suggests exponential misalignment between machines and humans, with exponentially many inputs confidently assigned to concepts by machines but not humans. Furthermore, this provides a natural geometric hypothesis for the origin of adversarial examples: because a network's PM fills such a large region of input space, any input will be very close to any class concept's PM. Our hypothesis thus suggests that adversarial robustness cannot be attained without dimensional alignment of machine and human PMs, and therefore makes strong predictions: both robust accuracy and distance to any PM should be negatively correlated with the PM dimension. We confirmed these predictions across 18 different networks of varying robust accuracy. Crucially, we find even the most robust networks are still exponentially misaligned, and only the few PMs whose dimensionality approaches that of human concepts exhibit alignment to human perception. Our results connect the fields of alignment and adversarial examples, and suggest the curse of high dimensionality of machine PMs is a major impediment to adversarial robustness.", "date": "2026-03-03", "categories": []} {"id": "2603.10821", "title": "Evaluating randomized smoothing as a defense against adversarial attacks in trajectory prediction", "abstract": "Accurate and robust trajectory prediction is essential for safe and efficient autonomous driving, yet recent work has shown that even state-of-the-art prediction models are highly vulnerable to inputs being mildly perturbed by adversarial attacks. Although model vulnerabilities to such attacks have been studied, work on effective countermeasures remains limited. In this work, we develop and evaluate a new defense mechanism for trajectory prediction models based on randomized smoothing -- an approach previously applied successfully in other domains. We evaluate its ability to improve model robustness through a series of experiments that test different strategies of randomized smoothing. We show that our approach can consistently improve prediction robustness of multiple base trajectory prediction models in various datasets without compromising accuracy in non-adversarial settings. Our results demonstrate that randomized smoothing offers a simple and computationally inexpensive technique for mitigating adversarial attacks in trajectory prediction.", "date": "2026-03-11", "categories": []} {"id": "2603.10842", "title": "PivotAttack: Rethinking the Search Trajectory in Hard-Label Text Attacks via Pivot Words", "abstract": "Existing hard-label text attacks often rely on inefficient \"outside-in\" strategies that traverse vast search spaces. We propose PivotAttack, a query-efficient \"inside-out\" framework. It employs a Multi-Armed Bandit algorithm to identify Pivot Sets-combinatorial token groups acting as prediction anchors-and strategically perturbs them to induce label flips. This approach captures inter-word dependencies and minimizes query costs. Extensive experiments across traditional models and Large Language Models demonstrate that PivotAttack consistently outperforms state-of-the-art baselines in both Attack Success Rate and query efficiency.", "date": "2026-03-11", "categories": []} {"id": "2511.20223", "title": "V-Attack: Targeting Disentangled Value Features for Controllable Adversarial Attacks on LVLMs", "abstract": "Adversarial attacks have evolved from simply disrupting predictions on conventional task-specific models to the more complex goal of manipulating image semantics on Large Vision-Language Models (LVLMs). However, existing methods struggle with controllability and fail to precisely manipulate the semantics of specific concepts in the image. We attribute this limitation to semantic entanglement in the patch-token representations on which adversarial attacks typically operate: global context aggregated by self-attention in the vision encoder dominates individual patch features, making them unreliable handles for precise local semantic manipulation. Our systematic investigation reveals a key insight: value features (V) computed within the transformer attention block serve as much more precise handles for manipulation. We show that V suppresses global-context channels, allowing it to retain high-entropy, disentangled local semantic information. Building on this discovery, we propose V-Attack, a novel method designed for precise local semantic attacks. V-Attack targets the value features and introduces two core components: (1) a Self-Value Enhancement module to refine V's intrinsic semantic richness, and (2) a Text-Guided Value Manipulation module that leverages text prompts to locate source concept and optimize it toward a target concept. By bypassing the entangled patch features, V-Attack achieves highly effective semantic control. Extensive experiments across diverse LVLMs, including LLaVA, InternVL, DeepseekVL and GPT-4o, show that V-Attack improves the attack success rate by an average of 36% over state-of-the-art methods, exposing critical vulnerabilities in modern visual-language understanding. Our code and data are available https://github.com/Summu77/V-Attack.", "date": "2025-11-25", "categories": []} {"id": "2511.21192", "title": "When Robots Obey the Patch: Universal Transferable Patch Attacks on Vision-Language-Action Models", "abstract": "Vision-Language-Action (VLA) models are vulnerable to adversarial attacks, yet universal and transferable attacks remain underexplored, as most existing patches overfit to a single model and fail in black-box settings. To address this gap, we present a systematic study of universal, transferable adversarial patches against VLA-driven robots under unknown architectures, finetuned variants, and sim-to-real shifts. We introduce UPA-RFAS (Universal Patch Attack via Robust Feature, Attention, and Semantics), a unified framework that learns a single physical patch in a shared feature space while promoting cross-model transfer. UPA-RFAS combines (i) a feature-space objective with an $\\ell_1$ deviation prior and repulsive InfoNCE loss to induce transferable representation shifts, (ii) a robustness-augmented two-phase min-max procedure where an inner loop learns invisible sample-wise perturbations and an outer loop optimizes the universal patch against this hardened neighborhood, and (iii) two VLA-specific losses: Patch Attention Dominance to hijack text$\\to$vision attention and Patch Semantic Misalignment to induce image-text mismatch without labels. Experiments across diverse VLA models, manipulation suites, and physical executions show that UPA-RFAS consistently transfers across models, tasks, and viewpoints, exposing a practical patch-based attack surface and establishing a strong baseline for future defenses.", "date": "2025-11-26", "categories": []} {"id": "2603.08897", "title": "Comparative Analysis of Patch Attack on VLM-Based Autonomous Driving Architectures", "abstract": "Vision-language models are emerging for autonomous driving, yet their robustness to physical adversarial attacks remains unexplored. This paper presents a systematic framework for comparative adversarial evaluation across three VLM architectures: Dolphins, OmniDrive (Omni-L), and LeapVAD. Using black-box optimization with semantic homogenization for fair comparison, we evaluate physically realizable patch attacks in CARLA simulation. Results reveal severe vulnerabilities across all architectures, sustained multi-frame failures, and critical object detection degradation. Our analysis exposes distinct architectural vulnerability patterns, demonstrating that current VLM designs inadequately address adversarial threats in safety-critical autonomous driving applications.", "date": "2026-03-09", "categories": []} {"id": "2408.00329", "title": "OTAD: An Optimal Transport-Induced Robust Model for Agnostic Adversarial Attack", "abstract": "Deep neural networks (DNNs) are vulnerable to small adversarial perturbations of the inputs, posing a significant challenge to their reliability and robustness. Empirical methods such as adversarial training can defend against particular attacks but remain vulnerable to more powerful attacks. Alternatively, Lipschitz networks provide certified robustness to unseen perturbations but lack sufficient expressive power. To harness the advantages of both approaches, we design a novel two-step Optimal Transport induced Adversarial Defense (OTAD) model that can fit the training data accurately while preserving the local Lipschitz continuity. First, we train a DNN with a regularizer derived from optimal transport theory, yielding a discrete optimal transport map linking data to its features. By leveraging the map's inherent regularity, we interpolate the map by solving the convex integration problem (CIP) to guarantee the local Lipschitz property. OTAD is extensible to diverse architectures of ResNet and Transformer, making it suitable for complex data. For efficient computation, the CIP can be solved through training neural networks. OTAD opens a novel avenue for developing reliable and secure deep learning systems through the regularity of optimal transport maps. Empirical results demonstrate that OTAD can outperform other robust models on diverse datasets.", "date": "2024-08-01", "categories": []} {"id": "2410.07719", "title": "How Learning Dynamics Drive Adversarially Robust Generalization?", "abstract": "Despite being widely adopted as a canonical framework for learning robust models, adversarial training suffers from robust overfitting. Existing empirical measures and theoretical explorations are insufficient to provide satisfying mechanistic insights into the phenomenon. By viewing adversarial training with momentum SGD as a discrete-time dynamical system, we introduce a PAC-Bayesian analytical framework that proves time-resolved robust generalization bounds. Specifically, our framework tracks the closed-form evolution of the posterior mean and covariance under both stationary and non-stationary transient regimes, revealing their connections to the learning rate, the geometry of the loss landscape, and mini-batch stochastic gradients. By empirically approximating the statistical quantities implied by our theory, we offer a unified, mechanistic explanation for robust overfitting. We also illustrate why adversarial weight perturbation reduces the robust generalization gap by suppressing the loss curvature, but its design may be suboptimal for optimization due to over-penalization.", "date": "2024-10-10", "categories": []} {"id": "2501.10466", "title": "Efficient Semi-Supervised Adversarial Training via Latent Clustering-Based Data Reduction", "abstract": "Learning robust models under adversarial settings is widely recognized as requiring a considerably large number of training samples. Recent work proposes semi-supervised adversarial training (SSAT), which utilizes external unlabeled or synthetically generated data and is currently the state of the art. However, SSAT requires substantial extra data to attain high robustness, resulting in prolonged training time and increased memory usage. In this paper, we propose data reduction strategies to improve the efficiency of SSAT by optimizing the amount of additional data incorporated. Specifically, we design novel latent clustering-based techniques to select or generate a small, critical subset of data samples near the model's decision boundary. While focusing on boundary-adjacent points, our methods maintain a balanced ratio between boundary and non-boundary data points, thereby avoiding overfitting. Comprehensive experiments across image benchmarks demonstrate that our methods can effectively reduce SSAT's data requirements and computational costs while preserving its strong robustness advantages. In particular, our latent-space selection scheme based on k-means clustering and our guided diffusion-based approach with LCG-KM are the most effective, achieving nearly identical robust accuracies with 5 times to 10 times less unlabeled data. When compared to full SSAT trained to convergence, our methods reduce total runtime by approximately 3 times to 4 times due to strategic prioritization of unlabeled data.", "date": "2025-01-15", "categories": []} {"id": "2506.00661", "title": "Elytra: A Flexible Framework for Securing Large Vision Systems", "abstract": "Adversarial attacks have emerged as a critical threat to autonomous driving systems. These attacks exploit the underlying neural network, allowing small, almost invisible, perturbations to alter the behavior of such systems in potentially malicious ways, e.g., causing a traffic sign classification network to misclassify a stop sign as a speed limit sign. Prior work in hardening such systems against adversarial attacks has looked at fine-tuning of the system or adding additional pre-processing steps to the input pipeline. Such solutions either have a hard time generalizing, require knowledge of adversarial attacks during training, or are computationally undesirable. Instead, we propose a framework called ELYTRA to take insights for parameter-efficient fine-tuning and use low-rank adaptation (LoRA) to train a lightweight security patch (or patches), enabling us to dynamically patch large pre-existing vision systems as new vulnerabilities are discovered. We demonstrate that the ELYTRA framework can patch pre-trained large vision models to improve classification accuracy by up to 24.09% in the presence of adversarial examples.", "date": "2025-05-31", "categories": []} {"id": "2510.02286", "title": "Tree-based Dialogue Reinforced Policy Optimization for Red-Teaming Attacks", "abstract": "Despite recent rapid progress in AI safety, current large language models remain vulnerable to adversarial attacks in multi-turn interaction settings, where attackers strategically adapt their prompts across conversation turns and pose a more critical yet realistic challenge. Existing approaches that discover safety vulnerabilities either rely on manual red-teaming with human experts or employ automated methods using pre-defined templates and human-curated attack data, with most focusing on single-turn attacks. However, these methods did not explore the vast space of possible multi-turn attacks, failing to consider novel attack trajectories that emerge from complex dialogue dynamics and strategic conversation planning. This gap is particularly critical given recent findings that LLMs exhibit significantly higher vulnerability to multi-turn attacks compared to single-turn attacks. We propose DialTree, an on-policy reinforcement learning framework integrated with tree search that autonomously discovers diverse multi-turn attack strategies by treating the dialogue as a sequential decision-making problem, enabling systematic exploration without manually curated data. Through extensive experiments, our approach not only achieves more than 44.2% higher ASR across 12 target models compared to previous state-of-the-art approaches, but also effectively uncovers new attack strategies by learning optimal dialogue policies that maximize attack success across multiple turns.", "date": "2025-10-02", "categories": []} {"id": "2510.18591", "title": "Robustness Verification of Graph Neural Networks Via Lightweight Satisfiability Testing", "abstract": "Graph neural networks (GNNs) are the predominant architecture for learning over graphs. As with any machine learning model, an important issue is the detection of attacks, where an adversary can change the output with a small perturbation of the input. Techniques for solving the adversarial robustness problem - determining whether an attack exists - were originally developed for image classification. In the case of graph learning, the attack model usually considers changes to the graph structure in addition to or instead of the numerical features of the input, and the state of the art techniques proceed via reduction to constraint solving, working on top of powerful solvers, e.g. for mixed integer programming. We show that it is possible to improve on the state of the art in structural robustness by replacing the use of powerful solvers by calls to efficient partial solvers, which run in polynomial time but may be incomplete. We evaluate our tool RobLight on a diverse set of GNN variants and datasets.", "date": "2025-10-21", "categories": []} {"id": "2511.10576", "title": "Tight Robustness Certification Through the Convex Hull of $\\ell_0$ Attacks", "abstract": "Few-pixel attacks mislead a classifier by modifying a few pixels of an image. Their perturbation space is an $\\ell_0$-ball, which is not convex, unlike $\\ell_p$-balls for $p\\geq1$. However, existing local robustness verifiers typically scale by relying on linear bound propagation, which captures convex perturbation spaces. We show that the convex hull of an $\\ell_0$-ball is the intersection of its bounding box and an asymmetrically scaled $\\ell_1$-like polytope. The volumes of the convex hull and this polytope are nearly equal as the input dimension increases. We then show a linear bound propagation that precisely computes bounds over the convex hull and is significantly tighter than bound propagations over the bounding box or our $\\ell_1$-like polytope. This bound propagation scales the state-of-the-art $\\ell_0$ verifier on its most challenging robustness benchmarks by 1.24x-7.07x, with a geometric mean of 3.16.", "date": "2025-11-13", "categories": []} {"id": "2512.01782", "title": "Dual Randomized Smoothing: Beyond Global Noise Variance", "abstract": "Randomized Smoothing (RS) is a prominent technique for certifying the robustness of neural networks against adversarial perturbations. With RS, achieving high accuracy at small radii requires a small noise variance, while achieving high accuracy at large radii requires a large noise variance. However, the global noise variance used in the standard RS formulation leads to a fundamental limitation: there exists no global noise variance that simultaneously achieves strong performance at both small and large radii. To break through the global variance limitation, we propose a dual RS framework which enables input-dependent noise variances. To achieve that, we first prove that RS remains valid with input-dependent noise variances, provided the variance is locally constant around each input. Building on this result, we introduce two components: (i) a variance estimator predicts an optimal noise variance for each input, (ii) this estimated variance is then used by a standard RS classifier. The variance estimator is independently smoothed via RS to ensure local constancy, enabling flexible design. We also introduce training strategies to iteratively optimize the two components. Experiments on CIFAR-10 demonstrate that our dual RS method provides strong performance for both small and large radii-unattainable with global noise variance-while incurring only a 60% computational overhead at inference. Moreover, it outperforms prior input-dependent noise approaches across most radii, with gains at radii 0.5, 0.75, and 1.0 of 15.6%, 20.0%, and 15.7%. On ImageNet, dual RS remains effective across all radii, with advantages of 8.6%, 17.1%, and 9.1% at radii 0.5, 1.0, and 1.5. Additionally, the dual RS framework provides a routing perspective for certified robustness, improving the accuracy-robustness trade-off with off-the-shelf expert RS models.", "date": "2025-12-01", "categories": []} {"id": "2603.06621", "title": "Reward Under Attack: Analyzing the Robustness and Hackability of Process Reward Models", "abstract": "Process Reward Models (PRMs) are rapidly becoming the backbone of LLM reasoning pipelines, yet we demonstrate that state-of-the-art PRMs are systematically exploitable under adversarial optimization pressure. To address this, we introduce a three-tiered diagnostic framework that applies increasing adversarial pressure to quantify these vulnerabilities. Static perturbation analysis uncovers a fluency-logic dissociation: high invariance to surface-level style changes reward changes $<$0.1, yet inconsistent detection of logically-corrupted reasoning, with different models failing on different attack types. Adversarial optimization demonstrates that gradient-based attacks inflate rewards on invalid trajectories, with reward landscapes exhibiting wide, exploitable peaks. RL-induced reward hacking exposes the critical failure mode: policies trained on AIME problems achieve near-perfect PRM rewards ($>$0.9), while ground-truth accuracy remains low (below 4%), with 43% of reward gains attributable to stylistic shortcuts. These findings reveal that current PRMs function as fluency detectors rather than reasoning verifiers, creating systematic blind spots that undermine their use as training signals. We release PRM-BiasBench and a diagnostic toolkit to enable robustness evaluation before deployment. The code and dataset are available at https://github.com/SqueezeAILab/reward-under-attack.", "date": "2026-02-20", "categories": []} {"id": "2603.07743", "title": "Hide and Find: A Distributed Adversarial Attack on Federated Graph Learning", "abstract": "Federated Graph Learning (FedGL) is vulnerable to malicious attacks, yet developing a truly effective and stealthy attack method remains a significant challenge. Existing attack methods suffer from low attack success rates, high computational costs, and are easily identified and smoothed by defense algorithms. To address these challenges, we propose \\textbf{FedShift}, a novel two-stage \"Hide and Find\" distributed adversarial attack. In the first stage, before FedGL begins, we inject a learnable and hidden \"shifter\" into part of the training data, which subtly pushes poisoned graph representations toward a target class's decision boundary without crossing it, ensuring attack stealthiness during training. In the second stage, after FedGL is complete, we leverage the global model information and use the hidden shifter as an optimization starting point to efficiently find the adversarial perturbations. During the final attack, we aggregate these perturbations from multiple malicious clients to form the final effective adversarial sample and trigger the attack. Extensive experiments on six large-scale datasets demonstrate that our method achieves the highest attack effectiveness compared to existing advanced attack methods. In particular, our attack can effectively evade 3 mainstream robust federated learning defense algorithms and converges with a time cost reduction of over 90\\%, highlighting its exceptional stealthiness, robustness, and efficiency.", "date": "2026-03-08", "categories": []} {"id": "2603.08498", "title": "All Vehicles Can Lie: Efficient Adversarial Defense in Fully Untrusted-Vehicle Collaborative Perception via Pseudo-Random Bayesian Inference", "abstract": "Collaborative perception (CP) enables multiple vehicles to augment their individual perception capacities through the exchange of feature-level sensory data. However, this fusion mechanism is inherently vulnerable to adversarial attacks, especially in fully untrusted-vehicle environments. Existing defense approaches often assume a trusted ego vehicle as a reference or incorporate additional binary classifiers. These assumptions limit their practicality in real-world deployments due to the questionable trustworthiness of ego vehicles, the requirement for real-time detection, and the need for generalizability across diverse scenarios. To address these challenges, we propose a novel Pseudo-Random Bayesian Inference (PRBI) framework, a first efficient defense method tailored for fully untrusted-vehicle CP. PRBI detects adversarial behavior by leveraging temporal perceptual discrepancies, using the reliable perception from the preceding frame as a dynamic reference. Additionally, it employs a pseudo-random grouping strategy that requires only two verifications per frame, while applying Bayesian inference to estimate both the number and identities of malicious vehicles. Theoretical analysis has proven the convergence and stability of the proposed PRBI framework. Extensive experiments show that PRBI requires only 2.5 verifications per frame on average, outperforming existing methods significantly, and restores detection precision to between 79.4% and 86.9% of pre-attack levels.", "date": "2026-03-09", "categories": []} {"id": "2603.06311", "title": "Latent Transfer Attack: Adversarial Examples via Generative Latent Spaces", "abstract": "Adversarial attacks are a central tool for probing the robustness of modern vision models, yet most methods optimize perturbations directly in pixel space under $\\ell_\\infty$ or $\\ell_2$ constraints. While effective in white-box settings, pixel-space optimization often produces high-frequency, texture-like noise that is brittle to common preprocessing (e.g., resizing and cropping) and transfers poorly across architectures. We propose $\\textbf{LTA}$ ($\\textbf{L}$atent $\\textbf{T}$ransfer $\\textbf{A}$ttack), a transfer-based attack that instead optimizes perturbations in the latent space of a pretrained Stable Diffusion VAE. Given a clean image, we encode it into a latent code and optimize the latent representation to maximize a surrogate classifier loss, while softly enforcing a pixel-space $\\ell_\\infty$ budget after decoding. To improve robustness to resolution mismatch and standard input pipelines, we incorporate Expectation Over Transformations (EOT) via randomized resizing, interpolation, and cropping, and apply periodic latent Gaussian smoothing to suppress emerging artifacts and stabilize optimization. Across a suite of CNN and vision-transformer targets, LTA achieves strong transfer attack success while producing spatially coherent, predominantly low-frequency perturbations that differ qualitatively from pixel-space baselines and occupy a distinct point in the transfer-quality trade-off. Our results highlight pretrained generative latent spaces as an effective and structured domain for adversarial optimization, bridging robustness evaluation with modern generative priors.", "date": "2026-03-06", "categories": []} {"id": "2512.01153", "title": "DPAC: Distribution-Preserving Adversarial Control for Diffusion Sampling", "abstract": "Adversarially guided diffusion sampling often achieves the target class, but sample quality degrades as deviations between the adversarially controlled and nominal trajectories accumulate. We formalize this degradation as a path-space Kullback-Leibler divergence(path-KL) between controlled and nominal (uncontrolled) diffusion processes, thereby showing via Girsanov's theorem that it exactly equals the control energy. Building on this stochastic optimal control (SOC) view, we theoretically establish that minimizing this path-KL simultaneously tightens upper bounds on both the 2-Wasserstein distance and Fr\\'echet Inception Distance (FID), revealing a principled connection between adversarial control energy and perceptual fidelity. From a variational perspective, we derive a first-order optimality condition for the control: among all directions that yield the same classification gain, the component tangent to iso-(log-)density surfaces (i.e., orthogonal to the score) minimizes path-KL, whereas the normal component directly increases distributional drift. This leads to DPAC (Distribution-Preserving Adversarial Control), a diffusion guidance rule that projects adversarial gradients onto the tangent space defined by the generative score geometry. We further show that in discrete solvers, the tangent projection cancels the O({\\Delta}t) leading error term in the Wasserstein distance, achieving an O({\\Delta}t^2) quality gap; moreover, it remains second-order robust to score or metric approximation. Empirical studies on ImageNet-100 validate the theoretical predictions, confirming that DPAC achieves lower FID and estimated path-KL at matched attack success rates.", "date": "2025-12-01", "categories": []} {"id": "2603.04913", "title": "Beyond the Patch: Exploring Vulnerabilities of Visuomotor Policies via Viewpoint-Consistent 3D Adversarial Object", "abstract": "Neural network-based visuomotor policies enable robots to perform manipulation tasks but remain susceptible to perceptual attacks. For example, conventional 2D adversarial patches are effective under fixed-camera setups, where appearance is relatively consistent; however, their efficacy often diminishes under dynamic viewpoints from moving cameras, such as wrist-mounted setups, due to perspective distortions. To proactively investigate potential vulnerabilities beyond 2D patches, this work proposes a viewpoint-consistent adversarial texture optimization method for 3D objects through differentiable rendering. As optimization strategies, we employ Expectation over Transformation (EOT) with a Coarse-to-Fine (C2F) curriculum, exploiting distance-dependent frequency characteristics to induce textures effective across varying camera-object distances. We further integrate saliency-guided perturbations to redirect policy attention and design a targeted loss that persistently drives robots toward adversarial objects. Our comprehensive experiments show that the proposed method is effective under various environmental conditions, while confirming its black-box transferability and real-world applicability.", "date": "2026-03-05", "categories": []} {"id": "2602.22227", "title": "Dynamic Adversarial Reinforcement Learning for Robust Multimodal Large Language Models", "abstract": "Despite their impressive capabilities, Multimodal Large Language Models (MLLMs) exhibit perceptual fragility when confronted with visually complex scenes. This weakness stems from a reliance on finite training datasets, which are prohibitively expensive to scale and impose a ceiling on model robustness. We introduce \\textbf{AOT-SFT}, a large-scale adversarial dataset for bootstrapping MLLM robustness. Building on this, we propose \\textbf{AOT (Adversarial Opponent Training)}, a self-play framework that forges MLLM robustness by creating its own training data. Our method orchestrates a co-evolution between an image-editing Attacker and a Defender MLLM, where the Attacker generates a diverse and dynamic curriculum of image manipulations, forcing the Defender to adapt and improve. Extensive experiments demonstrate that AOT enhances the Defender's perceptual robustness and reduces hallucinations, establishing a scalable paradigm for training more reliable MLLMs.", "date": "2026-01-24", "categories": []} {"id": "2603.04364", "title": "Dual-Modality Multi-Stage Adversarial Safety Training: Robustifying Multimodal Web Agents Against Cross-Modal Attacks", "abstract": "Multimodal web agents that process both screenshots and accessibility trees are increasingly deployed to interact with web interfaces, yet their dual-stream architecture opens an underexplored attack surface: an adversary who injects content into the webpage DOM simultaneously corrupts both observation channels with a consistent deceptive narrative. Our vulnerability analysis on MiniWob++ reveals that attacks including a visual component far outperform text-only injections, exposing critical gaps in text-centric VLM safety training. Motivated by this finding, we propose Dual-Modality Multi-Stage Adversarial Safety Training (DMAST), a framework that formalizes the agent-attacker interaction as a two-player zero-sum Markov game and co-trains both players through a three-stage pipeline: (1) imitation learning from a strong teacher model, (2) oracle-guided supervised fine-tuning that uses a novel zero-acknowledgment strategy to instill task-focused reasoning under adversarial noise, and (3) adversarial reinforcement learning via Group Relative Policy Optimization (GRPO) self-play. On out-of-distribution tasks, DMAST substantially mitigates adversarial risks while simultaneously doubling task completion efficiency. Our approach significantly outperforms established training-based and prompt-based defenses, demonstrating genuine co-evolutionary progress and robust generalization to complex, unseen environments.", "date": "2026-03-04", "categories": []} {"id": "2603.04378", "title": "Robustness of Agentic AI Systems via Adversarially-Aligned Jacobian Regularization", "abstract": "As Large Language Models (LLMs) transition into autonomous multi-agent ecosystems, robust minimax training becomes essential yet remains prone to instability when highly non-linear policies induce extreme local curvature in the inner maximization. Standard remedies that enforce global Jacobian bounds are overly conservative, suppressing sensitivity in all directions and inducing a large Price of Robustness. We introduce Adversarially-Aligned Jacobian Regularization (AAJR), a trajectory-aligned approach that controls sensitivity strictly along adversarial ascent directions. We prove that AAJR yields a strictly larger admissible policy class than global constraints under mild conditions, implying a weakly smaller approximation gap and reduced nominal performance degradation. Furthermore, we derive step-size conditions under which AAJR controls effective smoothness along optimization trajectories and ensures inner-loop stability. These results provide a structural theory for agentic robustness that decouples minimax stability from global expressivity restrictions.", "date": "2026-03-04", "categories": []} {"id": "2502.20314", "title": "Adversarial Attacks in Weight-Space Classifiers", "abstract": "Implicit Neural Representations (INRs) have been recently garnering increasing interest in various research fields, mainly due to their ability to represent large, complex data in a compact, continuous manner. Past work further showed that numerous popular downstream tasks can be performed directly in the INR parameter-space. Doing so can substantially reduce the computational resources required to process the represented data in their native domain. A major difficulty in using modern machine-learning approaches, is their high susceptibility to adversarial attacks, which have been shown to greatly limit the reliability and applicability of such methods in a wide range of settings. In this work, we perform an in-depth security analysis of the behavior of weight-space classifiers under adversarial attacks. Our study reveals that parameter-space models trained for classification exhibit increased robustness to standard white-box adversarial attacks compared to standard classifiers that operate in the original signal space. This is achieved without the need of any robust training. We source this robust behavior to the phenomenon of gradient-obfuscation promoted during the INR optimization process, and pinpoint the limitations of this robustness under alternative adversarial approaches. To support our claims, we develop a novel suite of adversarial attacks targeting parameter-space classifiers, and furthermore analyze practical considerations of such attacks.", "date": "2025-02-27", "categories": []} {"id": "2503.12567", "title": "GAN-Based Single-Stage Defense for Traffic Sign Classification Under Adversarial Patch", "abstract": "Computer vision plays a critical role in ensuring the safe navigation of autonomous vehicles (AVs). An AV perception module facilitates safe navigation. This module enables AVs to recognize traffic signs, traffic lights, and various road users. However, the perception module is vulnerable to adversarial attacks, which can compromise its accuracy and reliability. One such attack is the adversarial patch attack (APA), an attack in which an adversary strategically places a specially crafted sticker on an object to deceive object classifiers. Such an APA can cause AVs to misclassify traffic signs, leading to catastrophic incidents. To enhance the security of an AV perception system against APAs, this study develops a Generative Adversarial Network (GAN)-based single-stage defense strategy for traffic sign classification. This approach is tailored to defend against APAs across different classes of traffic signs, without prior knowledge of a patch's design, and is effective against patches of varying sizes. In addition, our single-stage defense is computationally efficient, requiring significantly lower computation time than existing multi-stage defenses, making it suitable for real-time deployment in autonomous driving systems. Compared to a classifier without any defense mechanism, our experimental analysis demonstrates that the defense strategy presented in this paper improves our classifier's accuracy under APA conditions by up to 90% considering the traffic sign classes considered in this study. and overall classification accuracy is enhanced by 55% for all traffic signs considered in this study. Our defense strategy is model agnostic, making it applicable to any traffic sign classifier, regardless of the underlying classification model.", "date": "2025-03-16", "categories": []} {"id": "2505.20934", "title": "NatADiff: Adversarial Boundary Guidance for Natural Adversarial Diffusion", "abstract": "Adversarial samples exploit irregularities in the manifold `learned' by deep learning models to cause misclassifications. The study of these adversarial samples provides insight into the features a model uses to classify inputs, which can be leveraged to improve robustness against future attacks. However, much of the existing literature focuses on constrained adversarial samples, which do not accurately reflect test-time errors encountered in real-world settings. To address this, we propose `NatADiff', an adversarial sampling scheme that leverages denoising diffusion to generate natural adversarial samples. Our approach is based on the observation that natural adversarial samples frequently contain structural elements from the adversarial class. Deep learning models can exploit these structural elements to shortcut the classification process, rather than learning to genuinely distinguish between classes. To leverage this behavior, we guide the diffusion trajectory towards the intersection of the true and adversarial classes, combining time-travel sampling with augmented classifier guidance to enhance attack transferability while preserving image fidelity. Our method achieves comparable attack success rates to current state-of-the-art techniques, while exhibiting significantly higher transferability across model architectures and better alignment with natural test-time errors as measured by FID. These results demonstrate that NatADiff produces adversarial samples that not only transfer more effectively across models, but more faithfully resemble naturally occurring test-time errors.", "date": "2025-05-27", "categories": []} {"id": "2505.22499", "title": "SABER: Spatially Consistent 3D Universal Adversarial Objects for BEV Detectors", "abstract": "Adversarial robustness of BEV 3D object detectors is critical for autonomous driving (AD). Existing invasive attacks require altering the target vehicle itself (e.g. attaching patches), making them unrealistic and impractical for real-world evaluation. While non-invasive attacks that place adversarial objects in the environment are more practical, current methods still lack the multi-view and temporal consistency needed for physically plausible threats. In this paper, we present the first framework for generating universal, non-invasive, and 3D-consistent adversarial objects that expose fundamental vulnerabilities for BEV 3D object detectors. Instead of modifying target vehicles, our method inserts rendered objects into scenes with an occlusion-aware module that enforces physical plausibility across views and time. To maintain attack effectiveness across views and frames, we optimize adversarial object appearance using a BEV spatial feature-guided optimization strategy that attacks the detector's internal representations. Extensive experiments demonstrate that our learned universal adversarial objects can consistently degrade multiple BEV detectors from various viewpoints and distances. More importantly, the new environment-manipulation attack paradigm exposes models' over-reliance on contextual cues and provides a practical pipeline for robustness evaluation in AD systems.", "date": "2025-05-28", "categories": []} {"id": "2505.14042", "title": "Adversarially Pretrained Transformers May Be Universally Robust In-Context Learners", "abstract": "Adversarial training is one of the most effective defenses against adversarial attacks, but it incurs a high computational cost. In this study, we present the first theoretical analysis suggesting that adversarially pretrained transformers can serve as universally robust foundation models -- models that can adapt robustly to diverse downstream tasks with only lightweight tuning. Specifically, we demonstrate that single-layer linear transformers, after adversarial pretraining across a variety of classification tasks, can generalize robustly to unseen classification tasks through in-context learning from clean demonstrations (i.e., without requiring additional adversarial training or examples). This universal robustness stems from the model's ability to adaptively focus on robust features within given tasks. We also identify two open challenges for attaining robustness: the accuracy-robustness trade-off and sample-hungry training. This study initiates the discussion on the utility of universally robust foundation models. While their training is expensive, the investment would prove worthwhile as downstream tasks can obtain adversarial robustness for free. The code is available at https://github.com/s-kumano/universally-robust-in-context-learner.", "date": "2025-05-20", "categories": []} {"id": "2509.21029", "title": "FORCE: Transferable Visual Jailbreaking Attacks via Feature Over-Reliance CorrEction", "abstract": "The integration of new modalities enhances the capabilities of multimodal large language models (MLLMs) but also introduces additional vulnerabilities. In particular, simple visual jailbreaking attacks can manipulate open-source MLLMs more readily than sophisticated textual attacks. However, these underdeveloped attacks exhibit extremely limited cross-model transferability, failing to reliably identify vulnerabilities in closed-source MLLMs. In this work, we analyse the loss landscape of these jailbreaking attacks and find that the generated attacks tend to reside in high-sharpness regions, whose effectiveness is highly sensitive to even minor parameter changes during transfer. To further explain the high-sharpness localisations, we analyse their feature representations in both the intermediate layers and the spectral domain, revealing an improper reliance on narrow layer representations and semantically poor frequency components. Building on this, we propose a Feature Over-Reliance CorrEction (FORCE) method, which guides the attack to explore broader feasible regions across layer features and rescales the influence of frequency features according to their semantic content. By eliminating non-generalizable reliance on both layer and spectral features, our method discovers flattened feasible regions for visual jailbreaking attacks, thereby improving cross-model transferability. Extensive experiments demonstrate that our approach effectively facilitates visual red-teaming evaluations against closed-source MLLMs.", "date": "2025-09-25", "categories": []} {"id": "2512.14341", "title": "Towards Transferable Defense Against Malicious Image Edits", "abstract": "Recent approaches employing imperceptible perturbations in input images have demonstrated promising potential to counter malicious manipulations in diffusion-based image editing systems. However, existing methods suffer from limited transferability in cross-model evaluations. To address this, we propose Transferable Defense Against Malicious Image Edits (TDAE), a novel bimodal framework that enhances image immunity against malicious edits through coordinated image-text optimization. Specifically, at the visual defense level, we introduce FlatGrad Defense Mechanism (FDM), which incorporates gradient regularization into the adversarial objective. By explicitly steering the perturbations toward flat minima, FDM amplifies immune robustness against unseen editing models. For textual enhancement protection, we propose an adversarial optimization paradigm named Dynamic Prompt Defense (DPD), which periodically refines text embeddings to align the editing outcomes of immunized images with those of the original images, then updates the images under optimized embeddings. Through iterative adversarial updates to diverse embeddings, DPD enforces the generation of immunized images that seek a broader set of immunity-enhancing features, thereby achieving cross-model transferability. Extensive experimental results demonstrate that our TDAE achieves state-of-the-art performance in mitigating malicious edits under both intra- and cross-model evaluations.", "date": "2025-12-16", "categories": []} {"id": "2602.19096", "title": "The Power of Decaying Steps: Enhancing Attack Stability and Transferability for Sign-based Optimizers", "abstract": "Crafting adversarial examples can be formulated as an optimization problem. While sign-based optimizers such as I-FGSM and MI-FGSM have become the de facto standard for the induced optimization problems, there still exist several unsolved problems in theoretical grounding and practical reliability especially in non-convergence and instability, which inevitably influences their transferability. Contrary to the expectation, we observe that the attack success rate may degrade sharply when more number of iterations are conducted. In this paper, we address these issues from an optimization perspective. By reformulating the sign-based optimizer as a specific coordinate-wise gradient descent, we argue that one cause for non-convergence and instability is their non-decaying step-size scheduling. Based upon this viewpoint, we propose a series of new attack algorithms that enforce Monotonically Decreasing Coordinate-wise Step-sizes (MDCS) within sign-based optimizers. Typically, we further provide theoretical guarantees proving that MDCS-MI attains an optimal convergence rate of $O(1/\\sqrt{T})$, where $T$ is the number of iterations. Extensive experiments on image classification and cross-modal retrieval tasks demonstrate that our approach not only significantly improves transferability but also enhances attack stability compared to state-of-the-art sign-based methods.", "date": "2026-02-22", "categories": []} {"id": "2603.00217", "title": "Physical Evaluation of Naturalistic Adversarial Patches for Camera-Based Traffic-Sign Detection", "abstract": "This paper studies how well Naturalistic Adversarial Patches (NAPs) transfer to a physical traffic sign setting when the detector is trained on a customized dataset for an autonomous vehicle (AV) environment. We construct a composite dataset, CompGTSRB (which is customized dataset for AV environment), by pasting traffic sign instances from the German Traffic Sign Recognition Benchmark (GTSRB) onto undistorted backgrounds captured from the target platform. CompGTSRB is used to train a YOLOv5 model and generate patches using a Generative Adversarial Network (GAN) with latent space optimization, following existing NAP methods. We carried out a series of experiments on our Quanser QCar testbed utilizing the front CSI camera provided in QCar. Across configurations, NAPs reduce the detector's STOP class confidence. Different configurations include distance, patch sizes, and patch placement. These results along with a detailed step-by-step methodology indicate the utility of CompGTSRB dataset and the proposed systematic physical protocols for credible patch evaluation. The research further motivate researching the defenses that address localized patch corruption in embedded perception pipelines.", "date": "2026-02-27", "categories": []} {"id": "2603.00266", "title": "Adversarial Patch Generation for Visual-Infrared Dense Prediction Tasks via Joint Position-Color Optimization", "abstract": "Multimodal adversarial attacks for dense prediction remain largely underexplored. In particular, visual-infrared (VI) perception systems introduce unique challenges due to heterogeneous spectral characteristics and modality-specific intensity distributions. Existing adversarial patch methods are primarily designed for single-modal inputs and fail to account for crossspectral inconsistencies, leading to reduced attack effectiveness and poor stealthiness when applied to VI dense prediction models. To address these challenges, we propose a joint position-color optimization framework (AP-PCO) for generating adversarial patches in visual-infrared settings. The proposed method optimizes patch placement and color composition simultaneously using a fitness function derived from model outputs, enabling a single patch to perturb both visible and infrared modalities. To further bridge spectral discrepancies, we introduce a crossmodal color adaptation strategy that constrains patch appearance according to infrared grayscale characteristics while maintaining strong perturbations in the visible domain, thereby reducing cross-spectral saliency. The optimization procedure operates without requiring internal model information, supporting flexible black-box attacks. Extensive experiments on visual-infrared dense prediction tasks demonstrate that the proposed AP-PCO achieves consistently strong attack performance across multiple architectures, providing a practical benchmark for robustness evaluation in VI perception systems.", "date": "2026-02-27", "categories": []} {"id": "2603.00481", "title": "Analyzing Physical Adversarial Example Threats to Machine Learning in Election Systems", "abstract": "Developments in the machine learning voting domain have shown both promising results and risks. Trained models perform well on ballot classification tasks (> 99% accuracy) but are at risk from adversarial example attacks that cause misclassifications. In this paper, we analyze an attacker who seeks to deploy adversarial examples against machine learning ballot classifiers to compromise a U.S. election. We first derive a probabilistic framework for determining the number of adversarial example ballots that must be printed to flip an election, in terms of the probability of each candidate winning and the total number of ballots cast. Second, it is an open question as to which type of adversarial example is most effective when physically printed in the voting domain. We analyze six different types of adversarial example attacks: l_infinity-APGD, l2-APGD, l1-APGD, l0 PGD, l0 + l_infinity PGD, and l0 + sigma-map PGD. Our experiments include physical realizations of 144,000 adversarial examples through printing and scanning with four different machine learning models. We empirically demonstrate an analysis gap between the physical and digital domains, wherein attacks most effective in the digital domain (l2 and l_infinity) differ from those most effective in the physical domain (l1 and l2, depending on the model). By unifying a probabilistic election framework with digital and physical adversarial example evaluations, we move beyond prior close race analyses to explicitly quantify when and how adversarial ballot manipulation could alter outcomes.", "date": "2026-02-28", "categories": []} {"id": "2603.00529", "title": "CaptionFool: Universal Image Captioning Model Attacks", "abstract": "Image captioning models are encoder-decoder architectures trained on large-scale image-text datasets, making them susceptible to adversarial attacks. We present CaptionFool, a novel universal (input-agnostic) adversarial attack against state-of-the-art transformer-based captioning models. By modifying only 7 out of 577 image patches (approximately 1.2% of the image), our attack achieves 94-96% success rate in generating arbitrary target captions, including offensive content. We further demonstrate that CaptionFool can generate \"slang\" terms specifically designed to evade existing content moderation filters. Our findings expose critical vulnerabilities in deployed vision-language models and underscore the urgent need for robust defenses against such attacks. Warning: This paper contains model outputs which are offensive in nature.", "date": "2026-02-28", "categories": []} {"id": "2603.00567", "title": "Learning to Attack: A Bandit Approach to Adversarial Context Poisoning", "abstract": "Neural contextual bandits are vulnerable to adversarial attacks, where subtle perturbations to rewards, actions, or contexts induce suboptimal decisions. We introduce AdvBandit, a black-box adaptive attack that formulates context poisoning as a continuous-armed bandit problem, enabling the attacker to jointly learn and exploit the victim's evolving policy. The attacker requires no access to the victim's internal parameters, reward function, or gradient information; instead, it constructs a surrogate model using a maximum-entropy inverse reinforcement learning module from observed context-action pairs and optimizes perturbations against this surrogate using projected gradient descent. An upper confidence bound-aware Gaussian process guides arm selection. An attack-budget control mechanism is also introduced to limit detection risk and overhead. We provide theoretical guarantees, including sublinear attacker regret and lower bounds on victim regret linear in the number of attacks. Experiments on three real-world datasets (Yelp, MovieLens, and Disin) against various victim contextual bandits demonstrate that our attack model achieves higher cumulative victim regret than state-of-the-art baselines.", "date": "2026-02-28", "categories": []} {"id": "2603.00859", "title": "AMDS: Attack-Aware Multi-Stage Defense System for Network Intrusion Detection with Two-Stage Adaptive Weight Learning", "abstract": "Machine learning based network intrusion detection systems are vulnerable to adversarial attacks that degrade classification performance under both gradient-based and distribution shift threat models. Existing defenses typically apply uniform detection strategies, which may not account for heterogeneous attack characteristics. This paper proposes an attack-aware multi-stage defense framework that learns attack-specific detection strategies through a weighted combination of ensemble disagreement, predictive uncertainty, and distributional anomaly signals. Empirical analysis across seven adversarial attack types reveals distinct detection signatures, enabling a two-stage adaptive detection mechanism. Experimental evaluation on a benchmark intrusion detection dataset indicates that the proposed system attains 94.2% area under the receiver operating characteristic curve and improves classification accuracy by 4.5 percentage points and F1-score by 9.0 points over adversarially trained ensembles. Under adaptive white-box attacks with full architectural knowledge, the system appears to maintain 94.4% accuracy with a 4.2% attack success rate, though this evaluation is limited to two adaptive variants and does not constitute a formal robustness guarantee. Cross-dataset validation further suggests that defense effectiveness depends on baseline classifier competence and may vary with feature dimensionality. These results suggest that attack-specific optimization combined with multi-signal integration can provide a practical approach to improving adversarial robustness in machine learning-based intrusion detection systems.", "date": "2026-03-01", "categories": []} {"id": "2603.01264", "title": "S2O: Enhancing Adversarial Training with Second-Order Statistics of Weights", "abstract": "Adversarial training has emerged as a highly effective way to improve the robustness of deep neural networks (DNNs). It is typically conceptualized as a min-max optimization problem over model weights and adversarial perturbations, where the weights are optimized using gradient descent methods, such as SGD. In this paper, we propose a novel approach by treating model weights as random variables, which paves the way for enhancing adversarial training through \\textbf{S}econd-Order \\textbf{S}tatistics \\textbf{O}ptimization (S$^2$O) over model weights. We challenge and relax a prevalent, yet often unrealistic, assumption in prior PAC-Bayesian frameworks: the statistical independence of weights. From this relaxation, we derive an improved PAC-Bayesian robust generalization bound. Our theoretical developments suggest that optimizing the second-order statistics of weights can substantially tighten this bound. We complement this theoretical insight by conducting an extensive set of experiments that demonstrate that S$^2$O not only enhances the robustness and generalization of neural networks when used in isolation, but also seamlessly augments other state-of-the-art adversarial training techniques. The code is available at https://github.com/Alexkael/S2O.", "date": "2026-03-01", "categories": []} {"id": "2603.01784", "title": "Co-Evolutionary Multi-Modal Alignment via Structured Adversarial Evolution", "abstract": "Adversarial behavior plays a central role in aligning large language models with human values. However, existing alignment methods largely rely on static adversarial settings, which fundamentally limit robustness, particularly in multimodal settings with a larger attack surface. In this work, we move beyond static adversarial supervision and introduce co-evolutionary alignment with evolving attacks, instantiated by CEMMA (Co-Evolutionary Multi-Modal Alignment), an automated and adaptive framework for multimodal safety alignment. We introduce an Evolutionary Attacker that decomposes adversarial prompts into method templates and harmful intents. By employing genetic operators, including mutation, crossover, and differential evolution, it enables simple seed attacks to inherit the structural efficacy of sophisticated jailbreaks. The Adaptive Defender is iteratively updated on the synthesized hard negatives, forming a closed-loop process that adapts alignment to evolving attacks. Experiments show that the Evolutionary Attacker substantially increases red-teaming jailbreak attack success rate (ASR), while the Adaptive Defender improves robustness and generalization across benchmarks with higher data efficiency, without inducing excessive benign refusal, and remains compatible with inference-time defenses such as AdaShield.", "date": "2026-03-02", "categories": []} {"id": "2603.01938", "title": "Explanation-Guided Adversarial Training for Robust and Interpretable Models", "abstract": "Deep neural networks (DNNs) have achieved remarkable performance in many tasks, yet they often behave as opaque black boxes. Explanation-guided learning (EGL) methods steer DNNs using human-provided explanations or supervision on model attributions. These approaches improve interpretability but typically assume benign inputs and incur heavy annotation costs. In contrast, both predictions and saliency maps of DNNs could dramatically alter facing imperceptible perturbations or unseen patterns. Adversarial training (AT) can substantially improve robustness, but it does not guarantee that model decisions rely on semantically meaningful features. In response, we propose Explanation-Guided Adversarial Training (EGAT), a unified framework that integrates the strength of AT and EGL to simultaneously improve prediction performance, robustness, and explanation quality. EGAT generates adversarial examples on the fly while imposing explanation-based constraints on the model. By jointly optimizing classification performance, adversarial robustness, and attributional stability, EGAT is not only more resistant to unexpected cases, including adversarial attacks and out-of-distribution (OOD) scenarios, but also offer human-interpretable justifications for the decisions. We further formalize EGAT within the Probably Approximately Correct learning framework, demonstrating theoretically that it yields more stable predictions under unexpected situations compared to standard AT. Empirical evaluations on OOD benchmark datasets show that EGAT consistently outperforms competitive baselines in both clean accuracy and adversarial accuracy +37% while producing more semantically meaningful explanations, and requiring only a limited increase +16% in training time.", "date": "2026-03-02", "categories": []} {"id": "2507.02965", "title": "Concept-based Adversarial Attack: a Probabilistic Perspective", "abstract": "We propose a concept-based adversarial attack framework that extends beyond single-image perturbations by adopting a probabilistic perspective. Rather than modifying a single image, our method operates on an entire concept - represented by a distribution - to generate diverse adversarial examples. Preserving the concept is essential, as it ensures that the resulting adversarial images remain identifiable as instances of the original underlying category or identity. By sampling from this concept-based adversarial distribution, we generate images that maintain the original concept but vary in pose, viewpoint, or background, thereby misleading the classifier. Mathematically, this framework remains consistent with traditional adversarial attacks in a principled manner. Our theoretical and empirical results demonstrate that concept-based adversarial attacks yield more diverse adversarial examples and effectively preserve the underlying concept, while achieving higher attack efficiency.", "date": "2025-06-30", "categories": []} {"id": "2510.24038", "title": "Enhancing CLIP Robustness via Cross-Modality Alignment", "abstract": "Vision-language models (VLMs) such as CLIP demonstrate strong generalization in zero-shot classification but remain highly vulnerable to adversarial perturbations. Existing methods primarily focus on adversarial fine-tuning or prompt optimization; they often overlook the gaps in CLIP's encoded features, which is shown as the text and image features lie far apart from each other. This misalignment is significantly amplified under adversarial perturbations, leading to severe degradation in classification performance. To address this problem, we propose Cross-modality Alignment, dubbed COLA, an optimal transport-based framework that explicitly addresses adversarial misalignment by restoring both global image-text alignment and local structural consistency in the feature space. (1) COLA first projects adversarial image embeddings onto a subspace spanned by class text features, effectively filtering out non-semantic distortions while preserving discriminative information. (2) It then models images and texts as discrete distributions over multiple augmented views and refines their alignment via OT, with the subspace projection seamlessly integrated into the cost computation. This design ensures stable cross-modal alignment even under adversarial conditions. COLA is training-free and compatible with existing fine-tuned models. Extensive evaluations across 14 zero-shot classification benchmarks demonstrate the effectiveness of COLA, especially with an average improvement of 6.7% on ImageNet and its variants under PGD adversarial attacks, while maintaining high accuracy on clean samples.", "date": "2025-10-28", "categories": []} {"id": "2501.16904", "title": "Diffusion or Non-Diffusion Adversarial Defenses: Rethinking the Relation between Classifier and Adversarial Purifier", "abstract": "Adversarial defense research continues to face challenges in combating against advanced adversarial attacks, yet with diffusion models increasingly favoring their defensive capabilities. Unlike most prior studies that focus on diffusion models for test-time defense, we explore the generalization loss in classifiers caused by diffusion models. We compare diffusion-based and non-diffusion-based adversarial purifiers, demonstrating that non-diffusion models can also achieve well performance under a practical setting of non-adaptive attack. While non-diffusion models show promising adversarial robustness, they particularly excel in defense transferability and color generalization without relying on additional data beyond the training set. Notably, a non-diffusion model trained on CIFAR-10 achieves state-of-the-art performance when tested directly on ImageNet, surpassing existing diffusion-based models trained specifically on ImageNet.", "date": "2025-01-28", "categories": []} {"id": "2508.20570", "title": "Dyslexify: A Mechanistic Defense Against Typographic Attacks in CLIP", "abstract": "Typographic attacks exploit multi-modal systems by injecting text into images, leading to targeted misclassifications, malicious content generation and even Vision-Language Model jailbreaks. In this work, we analyze how CLIP vision encoders behave under typographic attacks, locating specialized attention heads in the latter half of the model's layers that causally extract and transmit typographic information to the cls token. Building on these insights, we introduce Dyslexify - a method to defend CLIP models against typographic attacks by selectively ablating a typographic circuit, consisting of attention heads. Without requiring finetuning, dyslexify improves performance by up to 22.06% on a typographic variant of ImageNet-100, while reducing standard ImageNet-100 accuracy by less than 1%, and demonstrate its utility in a medical foundation model for skin lesion diagnosis. Notably, our training-free approach remains competitive with current state-of-the-art typographic defenses that rely on finetuning. To this end, we release a family of dyslexic CLIP models which are significantly more robust against typographic attacks. These models serve as suitable drop-in replacements for a broad range of safety-critical applications, where the risks of text-based manipulation outweigh the utility of text recognition.", "date": "2025-08-28", "categories": []} {"id": "2602.23117", "title": "Devling into Adversarial Transferability on Image Classification: Review, Benchmark, and Evaluation", "abstract": "Adversarial transferability refers to the capacity of adversarial examples generated on the surrogate model to deceive alternate, unexposed victim models. This property eliminates the need for direct access to the victim model during an attack, thereby raising considerable security concerns in practical applications and attracting substantial research attention recently. In this work, we discern a lack of a standardized framework and criteria for evaluating transfer-based attacks, leading to potentially biased assessments of existing approaches. To rectify this gap, we have conducted an exhaustive review of hundreds of related works, organizing various transfer-based attacks into six distinct categories. Subsequently, we propose a comprehensive framework designed to serve as a benchmark for evaluating these attacks. In addition, we delineate common strategies that enhance adversarial transferability and highlight prevalent issues that could lead to unfair comparisons. Finally, we provide a brief review of transfer-based attacks beyond image classification.", "date": "2026-02-26", "categories": []} {"id": "2602.11020", "title": "When Fusion Helps and When It Breaks: View-Aligned Robustness in Same-Source Financial Imaging", "abstract": "We study same-source multi-view learning and adversarial robustness for next-day direction prediction using two deterministic, window-aligned image views derived from the same time series: an OHLCV-rendered chart (ohlcv) and a technical-indicator matrix (indic). To control label ambiguity from near-zero moves, we use an ex-post minimum-movement threshold min_move (tau) based on realized absolute next-day return, defining an offline benchmark on the subset where the absolute next-day return is at least tau. Under leakage-resistant time-block splits with embargo, we compare early fusion (channel stacking) and dual-encoder late fusion with optional cross-branch consistency. We then evaluate pixel-space L-infinity evasion attacks (FGSM/PGD) under view-constrained and joint threat models. We find that fusion is regime dependent: early fusion can suffer negative transfer under noisier settings, whereas late fusion is a more reliable default once labels stabilize. Robustness degrades sharply under tiny budgets with stable view-dependent vulnerabilities; late fusion often helps under view-constrained attacks, but joint perturbations remain challenging.", "date": "2026-02-11", "categories": []} {"id": "2306.01485", "title": "Robust low-rank training via approximate orthonormal constraints", "abstract": "With the growth of model and data sizes, a broad effort has been made to design pruning techniques that reduce the resource demand of deep learning pipelines, while retaining model performance. In order to reduce both inference and training costs, a prominent line of work uses low-rank matrix factorizations to represent the network weights. Although able to retain accuracy, we observe that low-rank methods tend to compromise model robustness against adversarial perturbations. By modeling robustness in terms of the condition number of the neural network, we argue that this loss of robustness is due to the exploding singular values of the low-rank weight matrices. Thus, we introduce a robust low-rank training algorithm that maintains the network's weights on the low-rank matrix manifold while simultaneously enforcing approximate orthonormal constraints. The resulting model reduces both training and inference costs while ensuring well-conditioning and thus better adversarial robustness, without compromising model accuracy. This is shown by extensive numerical evidence and by our main approximation theorem that shows the computed robust low-rank network well-approximates the ideal full model, provided a highly performing low-rank sub-network exists.", "date": "2023-06-02", "categories": []} {"id": "2507.04446", "title": "Sampling-aware Adversarial Attacks Against Large Language Models", "abstract": "To guarantee safe and robust deployment of large language models (LLMs) at scale, it is critical to accurately assess their adversarial robustness. Existing adversarial attacks typically target harmful responses in single-point greedy generations, overlooking the inherently stochastic nature of LLMs and overestimating robustness. We show that for the goal of eliciting harmful responses, repeated sampling of model outputs during the attack complements prompt optimization and serves as a strong and efficient attack vector. By casting attacks as a resource allocation problem between optimization and sampling, we empirically determine compute-optimal trade-offs and show that integrating sampling into existing attacks boosts success rates by up to 37\\% and improves efficiency by up to two orders of magnitude. We further analyze how distributions of output harmfulness evolve during an adversarial attack, discovering that many common optimization strategies have little effect on output harmfulness. Finally, we introduce a label-free proof-of-concept objective based on entropy maximization, demonstrating how our sampling-aware perspective enables new optimization targets. Overall, our findings establish the importance of sampling in attacks to accurately assess and strengthen LLM safety at scale.", "date": "2025-07-06", "categories": []} {"id": "2602.18739", "title": "When World Models Dream Wrong: Physical-Conditioned Adversarial Attacks against World Models", "abstract": "Generative world models (WMs) are increasingly used to synthesize controllable, sensor-conditioned driving videos, yet their reliance on physical priors exposes novel attack surfaces. In this paper, we present Physical-Conditioned World Model Attack (PhysCond-WMA), the first white-box world model attack that perturbs physical-condition channels, such as HDMap embeddings and 3D-box features, to induce semantic, logic, or decision-level distortion while preserving perceptual fidelity. PhysCond-WMA is optimized in two stages: (1) a quality-preserving guidance stage that constrains reverse-diffusion loss below a calibrated threshold, and (2) a momentum-guided denoising stage that accumulates target-aligned gradients along the denoising trajectory for stable, temporally coherent semantic shifts. Extensive experimental results demonstrate that our approach remains effective while increasing FID by about 9% on average and FVD by about 3.9% on average. Under the targeted attack setting, the attack success rate (ASR) reaches 0.55. Downstream studies further show tangible risk, which using attacked videos for training decreases 3D detection performance by about 4%, and worsens open-loop planning performance by about 20%. These findings has for the first time revealed and quantified security vulnerabilities in generative world models, driving more comprehensive security checkers.", "date": "2026-02-21", "categories": []} {"id": "2602.19418", "title": "PA-Attack: Guiding Gray-Box Attacks on LVLM Vision Encoders with Prototypes and Attention", "abstract": "Large Vision-Language Models (LVLMs) are foundational to modern multimodal applications, yet their susceptibility to adversarial attacks remains a critical concern. Prior white-box attacks rarely generalize across tasks, and black-box methods depend on expensive transfer, which limits efficiency. The vision encoder, standardized and often shared across LVLMs, provides a stable gray-box pivot with strong cross-model transfer. Building on this premise, we introduce PA-Attack (Prototype-Anchored Attentive Attack). PA-Attack begins with a prototype-anchored guidance that provides a stable attack direction towards a general and dissimilar prototype, tackling the attribute-restricted issue and limited task generalization of vanilla attacks. Building on this, we propose a two-stage attention enhancement mechanism: (i) leverage token-level attention scores to concentrate perturbations on critical visual tokens, and (ii) adaptively recalibrate attention weights to track the evolving attention during the adversarial process. Extensive experiments across diverse downstream tasks and LVLM architectures show that PA-Attack achieves an average 75.1% score reduction rate (SRR), demonstrating strong attack effectiveness, efficiency, and task generalization in LVLMs. Code is available at https://github.com/hefeimei06/PA-Attack.", "date": "2026-02-23", "categories": []} {"id": "2602.19582", "title": "Advantage-based Temporal Attack in Reinforcement Learning", "abstract": "Extensive research demonstrates that Deep Reinforcement Learning (DRL) models are susceptible to adversarially constructed inputs (i.e., adversarial examples), which can mislead the agent to take suboptimal or unsafe actions. Recent methods improve attack effectiveness by leveraging future rewards to guide adversarial perturbation generation over sequential time steps (i.e., reward-based attacks). However, these methods are unable to capture dependencies between different time steps in the perturbation generation process, resulting in a weak temporal correlation between the current perturbation and previous perturbations.In this paper, we propose a novel method called Advantage-based Adversarial Transformer (AAT), which can generate adversarial examples with stronger temporal correlations (i.e., time-correlated adversarial examples) to improve the attack performance. AAT employs a multi-scale causal self-attention (MSCSA) mechanism to dynamically capture dependencies between historical information from different time periods and the current state, thus enhancing the correlation between the current perturbation and the previous perturbation. Moreover, AAT introduces a weighted advantage mechanism, which quantifies the effectiveness of a perturbation in a given state and guides the generation process toward high-performance adversarial examples by sampling high-advantage regions. Extensive experiments demonstrate that the performance of AAT matches or surpasses mainstream adversarial attack baselines on Atari, DeepMind Control Suite and Google football tasks.", "date": "2026-02-23", "categories": []} {"id": "2602.19596", "title": "Learning Mutual View Information Graph for Adaptive Adversarial Collaborative Perception", "abstract": "Collaborative perception (CP) enables data sharing among connected and autonomous vehicles (CAVs) to enhance driving safety. However, CP systems are vulnerable to adversarial attacks where malicious agents forge false objects via feature-level perturbations. Current defensive systems use threshold-based consensus verification by comparing collaborative and ego detection results. Yet, these defenses remain vulnerable to more sophisticated attack strategies that could exploit two critical weaknesses: (i) lack of robustness against attacks with systematic timing and target region optimization, and (ii) inadvertent disclosure of vulnerability knowledge through implicit confidence information in shared collaboration data. In this paper, we propose MVIG attack, a novel adaptive adversarial CP framework learning to capture vulnerability knowledge disclosed by different defensive CP systems from a unified mutual view information graph (MVIG) representation. Our approach combines MVIG representation with temporal graph learning to generate evolving fabrication risk maps and employs entropy-aware vulnerability search to optimize attack location, timing and persistence, enabling adaptive attacks with generalizability across various defensive configurations. Extensive evaluations on OPV2V and Adv-OPV2V datasets demonstrate that MVIG attack reduces defense success rates by up to 62\\% against state-of-the-art defenses while achieving 47\\% lower detection for persistent attacks at 29.9 FPS, exposing critical security gaps in CP systems. Code will be released at https://github.com/yihangtao/MVIG.git", "date": "2026-02-23", "categories": []} {"id": "2602.19931", "title": "Expanding the Role of Diffusion Models for Robust Classifier Training", "abstract": "Incorporating diffusion-generated synthetic data into adversarial training (AT) has been shown to substantially improve the training of robust image classifiers. In this work, we extend the role of diffusion models beyond merely generating synthetic data, examining whether their internal representations, which encode meaningful features of the data, can provide additional benefits for robust classifier training. Through systematic experiments, we show that diffusion models offer representations that are both diverse and partially robust, and that explicitly incorporating diffusion representations as an auxiliary learning signal during AT consistently improves robustness across settings. Furthermore, our representation analysis indicates that incorporating diffusion models into AT encourages more disentangled features, while diffusion representations and diffusion-generated synthetic data play complementary roles in shaping representations. Experiments on CIFAR-10, CIFAR-100, and ImageNet validate these findings, demonstrating the effectiveness of jointly leveraging diffusion representations and synthetic data within AT.", "date": "2026-02-23", "categories": []} {"id": "2602.17948", "title": "A Geometric Probe of the Accuracy-Robustness Trade-off: Sharp Boundaries in Symmetry-Breaking Dimensional Expansion", "abstract": "The trade-off between clean accuracy and adversarial robustness is a pervasive phenomenon in deep learning, yet its geometric origin remains elusive. In this work, we utilize Symmetry-Breaking Dimensional Expansion (SBDE) as a controlled probe to investigate the mechanism underlying this trade-off. SBDE expands input images by inserting constant-valued pixels, which breaks translational symmetry and consistently improves clean accuracy (e.g., from $90.47\\%$ to $95.63\\%$ on CIFAR-10 with ResNet-18) by reducing parameter degeneracy. However, this accuracy gain comes at the cost of reduced robustness against iterative white-box attacks. By employing a test-time \\emph{mask projection} that resets the inserted auxiliary pixels to their training values, we demonstrate that the vulnerability stems almost entirely from the inserted dimensions. The projection effectively neutralizes the attacks and restores robustness, revealing that the model achieves high accuracy by creating \\emph{sharp boundaries} (steep loss gradients) specifically along the auxiliary axes. Our findings provide a concrete geometric explanation for the accuracy-robustness paradox: the optimization landscape deepens the basin of attraction to improve accuracy but inevitably erects steep walls along the auxiliary degrees of freedom, creating a fragile sensitivity to off-manifold perturbations.", "date": "2026-02-20", "categories": []} {"id": "2602.17975", "title": "Generating adversarial inputs for a graph neural network model of AC power flow", "abstract": "This work formulates and solves optimization problems to generate input points that yield high errors between a neural network's predicted AC power flow solution and solutions to the AC power flow equations. We demonstrate this capability on an instance of the CANOS-PF graph neural network model, as implemented by the PF$\\Delta$ benchmark library, operating on a 14-bus test grid. Generated adversarial points yield errors as large as 3.4 per-unit in reactive power and 0.08 per-unit in voltage magnitude. When minimizing the perturbation from a training point necessary to satisfy adversarial constraints, we find that the constraints can be met with as little as an 0.04 per-unit perturbation in voltage magnitude on a single bus. This work motivates the development of rigorous verification and robust training methods for neural network surrogate models of AC power flow.", "date": "2026-02-20", "categories": []} {"id": "2602.18252", "title": "On the Adversarial Robustness of Discrete Image Tokenizers", "abstract": "Discrete image tokenizers encode visual inputs as sequences of tokens from a finite vocabulary and are gaining popularity in multimodal systems, including encoder-only, encoder-decoder, and decoder-only models. However, unlike CLIP encoders, their vulnerability to adversarial attacks has not been explored. Ours being the first work studying this topic, we first formulate attacks that aim to perturb the features extracted by discrete tokenizers, and thus change the extracted tokens. These attacks are computationally efficient, application-agnostic, and effective across classification, multimodal retrieval, and captioning tasks. Second, to defend against this vulnerability, inspired by recent work on robust CLIP encoders, we fine-tune popular tokenizers with unsupervised adversarial training, keeping all other components frozen. While unsupervised and task-agnostic, our approach significantly improves robustness to both unsupervised and end-to-end supervised attacks and generalizes well to unseen tasks and data. Unlike supervised adversarial training, our approach can leverage unlabeled images, making it more versatile. Overall, our work highlights the critical role of tokenizer robustness in downstream tasks and presents an important step in the development of safe multimodal foundation models.", "date": "2026-02-20", "categories": []} {"id": "2602.16723", "title": "Is Mamba Reliable for Medical Imaging?", "abstract": "State-space models like Mamba offer linear-time sequence processing and low memory, making them attractive for medical imaging. However, their robustness under realistic software and hardware threat models remains underexplored. This paper evaluates Mamba on multiple MedM-NIST classification benchmarks under input-level attacks, including white-box adversarial perturbations (FGSM/PGD), occlusion-based PatchDrop, and common acquisition corruptions (Gaussian noise and defocus blur) as well as hardware-inspired fault attacks emulated in software via targeted and random bit-flip injections into weights and activations. We profile vulnerabilities and quantify impacts on accuracy indicating that defenses are needed for deployment.", "date": "2026-02-16", "categories": []} {"id": "2602.16741", "title": "Can Adversarial Code Comments Fool AI Security Reviewers -- Large-Scale Empirical Study of Comment-Based Attacks and Defenses Against LLM Code Analysis", "abstract": "AI-assisted code review is widely used to detect vulnerabilities before production release. Prior work shows that adversarial prompt manipulation can degrade large language model (LLM) performance in code generation. We test whether similar comment-based manipulation misleads LLMs during vulnerability detection. We build a 100-sample benchmark across Python, JavaScript, and Java, each paired with eight comment variants ranging from no comments to adversarial strategies such as authority spoofing and technical deception. Eight frontier models, five commercial and three open-source, are evaluated in 9,366 trials. Adversarial comments produce small, statistically non-significant effects on detection accuracy (McNemar exact p > 0.21; all 95 percent confidence intervals include zero). This holds for commercial models with 89 to 96 percent baseline detection and open-source models with 53 to 72 percent, despite large absolute performance gaps. Unlike generation settings where comment manipulation achieves high attack success, detection performance does not meaningfully degrade. More complex adversarial strategies offer no advantage over simple manipulative comments. We test four automated defenses across 4,646 additional trials (14,012 total). Static analysis cross-referencing performs best at 96.9 percent detection and recovers 47 percent of baseline misses. Comment stripping reduces detection for weaker models by removing helpful context. Failures concentrate on inherently difficult vulnerability classes, including race conditions, timing side channels, and complex authorization logic, rather than on adversarial comments.", "date": "2026-02-18", "categories": []} {"id": "2602.17645", "title": "Pushing the Frontier of Black-Box LVLM Attacks via Fine-Grained Detail Targeting", "abstract": "Black-box adversarial attacks on Large Vision-Language Models (LVLMs) are challenging due to missing gradients and complex multimodal boundaries. While prior state-of-the-art transfer-based approaches like M-Attack perform well using local crop-level matching between source and target images, we find this induces high-variance, nearly orthogonal gradients across iterations, violating coherent local alignment and destabilizing optimization. We attribute this to (i) ViT translation sensitivity that yields spike-like gradients and (ii) structural asymmetry between source and target crops. We reformulate local matching as an asymmetric expectation over source transformations and target semantics, and build a gradient-denoising upgrade to M-Attack. On the source side, Multi-Crop Alignment (MCA) averages gradients from multiple independently sampled local views per iteration to reduce variance. On the target side, Auxiliary Target Alignment (ATA) replaces aggressive target augmentation with a small auxiliary set from a semantically correlated distribution, producing a smoother, lower-variance target manifold. We further reinterpret momentum as Patch Momentum, replaying historical crop gradients; combined with a refined patch-size ensemble (PE+), this strengthens transferable directions. Together these modules form M-Attack-V2, a simple, modular enhancement over M-Attack that substantially improves transfer-based black-box attacks on frontier LVLMs: boosting success rates on Claude-4.0 from 8% to 30%, Gemini-2.5-Pro from 83% to 97%, and GPT-5 from 98% to 100%, outperforming prior black-box LVLM attacks. Code and data are publicly available at: https://github.com/vila-lab/M-Attack-V2.", "date": "2026-02-19", "categories": []} {"id": "2511.06197", "title": "Enhancing Adversarial Robustness of IoT Intrusion Detection via SHAP-Based Attribution Fingerprinting", "abstract": "The rapid proliferation of Internet of Things (IoT) devices has transformed numerous industries by enabling seamless connectivity and data-driven automation. However, this expansion has also exposed IoT networks to increasingly sophisticated security threats, including adversarial attacks targeting artificial intelligence (AI) and machine learning (ML)-based intrusion detection systems (IDS) to deliberately evade detection, induce misclassification, and systematically undermine the reliability and integrity of security defenses. To address these challenges, we propose a novel adversarial detection model that enhances the robustness of IoT IDS against adversarial attacks through SHapley Additive exPlanations (SHAP)-based fingerprinting. Using SHAP's DeepExplainer, we extract attribution fingerprints from network traffic features, enabling the IDS to reliably distinguish between clean and adversarially perturbed inputs. By capturing subtle attribution patterns, the model becomes more resilient to evasion attempts and adversarial manipulations. We evaluated the model on a standard IoT benchmark dataset, where it significantly outperformed a state-of-the-art method in detecting adversarial attacks. In addition to enhanced robustness, this approach improves model transparency and interpretability, thereby increasing trust in the IDS through explainable AI.", "date": "2025-11-09", "categories": []} {"id": "2602.15001", "title": "Boundary Point Jailbreaking of Black-Box LLMs", "abstract": "Frontier LLMs are safeguarded against attempts to extract harmful information via adversarial prompts known as \"jailbreaks\". Recently, defenders have developed classifier-based systems that have survived thousands of hours of human red teaming. We introduce Boundary Point Jailbreaking (BPJ), a new class of automated jailbreak attacks that evade the strongest industry-deployed safeguards. Unlike previous attacks that rely on white/grey-box assumptions (such as classifier scores or gradients) or libraries of existing jailbreaks, BPJ is fully black-box and uses only a single bit of information per query: whether or not the classifier flags the interaction. To achieve this, BPJ addresses the core difficulty in optimising attacks against robust real-world defences: evaluating whether a proposed modification to an attack is an improvement. Instead of directly trying to learn an attack for a target harmful string, BPJ converts the string into a curriculum of intermediate attack targets and then actively selects evaluation points that best detect small changes in attack strength (\"boundary points\"). We believe BPJ is the first fully automated attack algorithm that succeeds in developing universal jailbreaks against Constitutional Classifiers, as well as the first automated attack algorithm that succeeds against GPT-5's input classifier without relying on human attack seeds. BPJ is difficult to defend against in individual interactions but incurs many flags during optimisation, suggesting that effective defence requires supplementing single-interaction methods with batch-level monitoring.", "date": "2026-02-16", "categories": []} {"id": "2602.15238", "title": "Closing the Distribution Gap in Adversarial Training for LLMs", "abstract": "Adversarial training for LLMs is one of the most promising methods to reliably improve robustness against adversaries. However, despite significant progress, models remain vulnerable to simple in-distribution exploits, such as rewriting prompts in the past tense or translating them into other languages. We argue that this persistent fragility stems from a fundamental limitation in current adversarial training algorithms: they minimize adversarial loss on their training set but inadequately cover the data distribution, resulting in vulnerability to seemingly simple attacks. To bridge this gap, we propose Distributional Adversarial Training, DAT. We leverage Diffusion LLMs to approximate the true joint distribution of prompts and responses, enabling generation of diverse, high-likelihood samples that address generalization failures. By combining optimization over the data distribution provided by the diffusion model with continuous adversarial training, DAT achieves substantially higher adversarial robustness than previous methods.", "date": "2026-02-16", "categories": []} {"id": "2602.16494", "title": "Benchmarking Adversarial Robustness and Adversarial Training Strategies for Object Detection", "abstract": "Object detection models are critical components of automated systems, such as autonomous vehicles and perception-based robots, but their sensitivity to adversarial attacks poses a serious security risk. Progress in defending these models lags behind classification, hindered by a lack of standardized evaluation. It is nearly impossible to thoroughly compare attack or defense methods, as existing work uses different datasets, inconsistent efficiency metrics, and varied measures of perturbation cost. This paper addresses this gap by investigating three key questions: (1) How can we create a fair benchmark to impartially compare attacks? (2) How well do modern attacks transfer across different architectures, especially from Convolutional Neural Networks to Vision Transformers? (3) What is the most effective adversarial training strategy for robust defense? To answer these, we first propose a unified benchmark framework focused on digital, non-patch-based attacks. This framework introduces specific metrics to disentangle localization and classification errors and evaluates attack cost using multiple perceptual metrics. Using this benchmark, we conduct extensive experiments on state-of-the-art attacks and a wide range of detectors. Our findings reveal two major conclusions: first, modern adversarial attacks against object detection models show a significant lack of transferability to transformer-based architectures. Second, we demonstrate that the most robust adversarial training strategy leverages a dataset composed of a mix of high-perturbation attacks with different objectives (e.g., spatial and semantic), which outperforms training on any single attack.", "date": "2026-02-18", "categories": []} {"id": "2602.16543", "title": "Vulnerability Analysis of Safe Reinforcement Learning via Inverse Constrained Reinforcement Learning", "abstract": "Safe reinforcement learning (Safe RL) aims to ensure policy performance while satisfying safety constraints. However, most existing Safe RL methods assume benign environments, making them vulnerable to adversarial perturbations commonly encountered in real-world settings. In addition, existing gradient-based adversarial attacks typically require access to the policy's gradient information, which is often impractical in real-world scenarios. To address these challenges, we propose an adversarial attack framework to reveal vulnerabilities of Safe RL policies. Using expert demonstrations and black-box environment interaction, our framework learns a constraint model and a surrogate (learner) policy, enabling gradient-based attack optimization without requiring the victim policy's internal gradients or the ground-truth safety constraints. We further provide theoretical analysis establishing feasibility and deriving perturbation bounds. Experiments on multiple Safe RL benchmarks demonstrate the effectiveness of our approach under limited privileged access.", "date": "2026-02-18", "categories": []} {"id": "2406.03862", "title": "Robust Deep Reinforcement Learning against Adversarial Behavior Manipulation", "abstract": "This study investigates behavior-targeted attacks on reinforcement learning and their countermeasures. Behavior-targeted attacks aim to manipulate the victim's behavior as desired by the adversary through adversarial interventions in state observations. Existing behavior-targeted attacks have some limitations, such as requiring white-box access to the victim's policy. To address this, we propose a novel attack method using imitation learning from adversarial demonstrations, which works under limited access to the victim's policy and is environment-agnostic. In addition, our theoretical analysis proves that the policy's sensitivity to state changes impacts defense performance, particularly in the early stages of the trajectory. Based on this insight, we propose time-discounted regularization, which enhances robustness against attacks while maintaining task performance. To the best of our knowledge, this is the first defense strategy specifically designed for behavior-targeted attacks.", "date": "2024-06-06", "categories": []} {"id": "2412.20987", "title": "RobustBlack: Challenging Black-Box Adversarial Attacks on State-of-the-Art Defenses", "abstract": "Although adversarial robustness has been extensively studied in white-box settings, recent advances in black-box attacks (including transfer- and query-based approaches) are primarily benchmarked against weak defenses, leaving a significant gap in the evaluation of their effectiveness against more recent and moderate robust models (e.g., those featured in the Robustbench leaderboard). In this paper, we question this lack of attention from black-box attacks to robust models. We establish a framework to evaluate the effectiveness of recent black-box attacks against both top-performing and standard defense mechanisms, on the ImageNet dataset. Our empirical evaluation reveals the following key findings: (1) the most advanced black-box attacks struggle to succeed even against simple adversarially trained models; (2) robust models that are optimized to withstand strong white-box attacks, such as AutoAttack, also exhibits enhanced resilience against black-box attacks; and (3) robustness alignment between the surrogate models and the target model plays a key factor in the success rate of transfer-based attacks", "date": "2024-12-30", "categories": []} {"id": "2601.10313", "title": "Hierarchical Refinement of Universal Multimodal Attacks on Vision-Language Models", "abstract": "Existing adversarial attacks for VLP models are mostly sample-specific, resulting in substantial computational overhead when scaled to large datasets or new scenarios. To overcome this limitation, we propose Hierarchical Refinement Attack (HRA), a multimodal universal attack framework for VLP models. For the image modality, we refine the optimization path by leveraging a temporal hierarchy of historical and estimated future gradients to avoid local minima and stabilize universal perturbation learning. For the text modality, it hierarchically models textual importance by considering both intra- and inter-sentence contributions to identify globally influential words, which are then used as universal text perturbations. Extensive experiments across various downstream tasks, VLP models, and datasets, demonstrate the superior transferability of the proposed universal multimodal attacks.", "date": "2026-01-15", "categories": []} {"id": "2506.05402", "title": "Lorica: A Synergistic Fine-Tuning Framework for Advancing Personalized Adversarial Robustness", "abstract": "The growing use of large pre-trained models in edge computing has made model inference on mobile clients both feasible and popular. Yet these devices remain vulnerable to adversarial attacks, threatening model robustness and security. Federated adversarial training (FAT) offers a promising solution by enhancing robustness while preserving client privacy. However, FAT often yields a generalized global model that struggles with heterogeneous client data, leading to limited personalization and significant communication overhead. In this paper, we propose \\textit{Lorica}, a personalized synergistic adversarial training framework that delivers customized defense models through a two-phase process. In Phase 1, \\textit{Lorica} applies LoRA-FA for local adversarial fine-tuning, enabling personalized robustness while reducing communication by uploading only LoRA-FA parameters. In Phase 2, a forward-gating selection strategy improves benign accuracy, further refining the personalized model. This yields tailored defense models that effectively balance robustness and accuracy. Extensive experiments on benchmark datasets demonstrate that \\textit{Lorica} can achieve up to 68$\\times$ improvements in communication efficiency compared to state-of-the-art algorithms, while achieving up to 29.9\\% and 52.2\\% enhancements in adversarial robustness and benign accuracy, respectively.", "date": "2025-06-04", "categories": []} {"id": "2510.04398", "title": "SECA: Semantically Equivalent and Coherent Attacks for Eliciting LLM Hallucinations", "abstract": "Large Language Models (LLMs) are increasingly deployed in high-risk domains. However, state-of-the-art LLMs often exhibit hallucinations, raising serious concerns about their reliability. Prior work has explored adversarial attacks to elicit hallucinations in LLMs, but these methods often rely on unrealistic prompts, either by inserting nonsensical tokens or by altering the original semantic intent. Consequently, such approaches provide limited insight into how hallucinations arise in real-world settings. In contrast, adversarial attacks in computer vision typically involve realistic modifications to input images. However, the problem of identifying realistic adversarial prompts for eliciting LLM hallucinations remains largely underexplored. To address this gap, we propose Semantically Equivalent and Coherent Attacks (SECA), which elicit hallucinations via realistic modifications to the prompt that preserve its meaning while maintaining semantic coherence. Our contributions are threefold: (i) we formulate finding realistic attacks for hallucination elicitation as a constrained optimization problem over the input prompt space under semantic equivalence and coherence constraints; (ii) we introduce a constraint-preserving zeroth-order method to effectively search for adversarial yet feasible prompts; and (iii) we demonstrate through experiments on open-ended multiple-choice question answering tasks that SECA achieves higher attack success rates while incurring almost no semantic equivalence or semantic coherence errors compared to existing methods. SECA highlights the sensitivity of both open-source and commercial gradient-inaccessible LLMs to realistic and plausible prompt variations. Code is available at https://github.com/Buyun-Liang/SECA.", "date": "2025-10-05", "categories": []} {"id": "2602.14679", "title": "Universal Image Immunization against Diffusion-based Image Editing via Semantic Injection", "abstract": "Recent advances in diffusion models have enabled powerful image editing capabilities guided by natural language prompts, unlocking new creative possibilities. However, they introduce significant ethical and legal risks, such as deepfakes and unauthorized use of copyrighted visual content. To address these risks, image immunization has emerged as a promising defense against AI-driven semantic manipulation. Yet, most existing approaches rely on image-specific adversarial perturbations that require individual optimization for each image, thereby limiting scalability and practicality. In this paper, we propose the first universal image immunization framework that generates a single, broadly applicable adversarial perturbation specifically designed for diffusion-based editing pipelines. Inspired by universal adversarial perturbation (UAP) techniques used in targeted attacks, our method generates a UAP that embeds a semantic target into images to be protected. Simultaneously, it suppresses original content to effectively misdirect the model's attention during editing. As a result, our approach effectively blocks malicious editing attempts by overwriting the original semantic content in the image via the UAP. Moreover, our method operates effectively even in data-free settings without requiring access to training data or domain knowledge, further enhancing its practicality and broad applicability in real-world scenarios. Extensive experiments show that our method, as the first universal immunization approach, significantly outperforms several baselines in the UAP setting. In addition, despite the inherent difficulty of universal perturbations, our method also achieves performance on par with image-specific methods under a more restricted perturbation budget, while also exhibiting strong black-box transferability across different diffusion models.", "date": "2026-02-16", "categories": []} {"id": "2407.20836", "title": "Vulnerabilities in AI-generated Image Detection: The Challenge of Adversarial Attacks", "abstract": "Recent advancements in image synthesis, particularly with the advent of GAN and Diffusion models, have amplified public concerns regarding the dissemination of disinformation. To address such concerns, numerous AI-generated Image (AIGI) Detectors have been proposed and achieved promising performance in identifying fake images. However, there still lacks a systematic understanding of the adversarial robustness of AIGI detectors. In this paper, we examine the vulnerability of state-of-the-art AIGI detectors against adversarial attack under white-box and black-box settings, which has been rarely investigated so far. To this end, we propose a new method to attack AIGI detectors. First, inspired by the obvious difference between real images and fake images in the frequency domain, we add perturbations under the frequency domain to push the image away from its original frequency distribution. Second, we explore the full posterior distribution of the surrogate model to further narrow this gap between heterogeneous AIGI detectors, e.g., transferring adversarial examples across CNNs and ViTs. This is achieved by introducing a novel post-train Bayesian strategy that turns a single surrogate into a Bayesian one, capable of simulating diverse victim models using one pre-trained surrogate, without the need for re-training. We name our method as Frequency-based Post-train Bayesian Attack, or FPBA. Through FPBA, we demonstrate that adversarial attacks pose a real threat to AIGI detectors. FPBA can deliver successful black-box attacks across various detectors, generators, defense methods, and even evade cross-generator and compressed image detection, which are crucial real-world detection scenarios. Our code is available at https://github.com/onotoa/fpba.", "date": "2024-07-30", "categories": []} {"id": "2410.03952", "title": "Pixel-Based Similarities as an Alternative to Neural Data for Improving Convolutional Neural Network Adversarial Robustness", "abstract": "Convolutional Neural Networks (CNNs) excel in many visual tasks but remain susceptible to adversarial attacks-imperceptible perturbations that degrade performance. Prior research reveals that brain-inspired regularizers, derived from neural recordings, can bolster CNN robustness; however, reliance on specialized data limits practical adoption. We revisit a regularizer proposed by Li et al. (2019) that aligns CNN representations with neural representational similarity structures and introduce a data-driven variant. Instead of a neural recording-based similarity, our method computes a pixel-based similarity directly from images. This substitution retains the original biologically motivated loss formulation, preserving its robustness benefits while removing the need for neural measurements or task-specific augmentations. Notably, this data-driven variant provides the same robustness improvements observed with neural data. Our approach is lightweight and integrates easily into standard pipelines. Although we do not surpass cutting-edge specialized defenses, we show that neural representational insights can be leveraged without direct recordings. This underscores the promise of robust yet simple methods rooted in brain-inspired principles, even without specialized data, and raises the possibility that further integrating these insights could push performance closer to human levels without resorting to complex, specialized pipelines.", "date": "2024-10-04", "categories": []} {"id": "2506.06027", "title": "Sample-Specific Noise Injection For Diffusion-Based Adversarial Purification", "abstract": "Diffusion-based purification (DBP) methods aim to remove adversarial noise from the input sample by first injecting Gaussian noise through a forward diffusion process, and then recovering the clean example through a reverse generative process. In the above process, how much Gaussian noise is injected to the input sample is key to the success of DBP methods, which is controlled by a constant noise level $t^*$ for all samples in existing methods. In this paper, we discover that an optimal $t^*$ for each sample indeed could be different. Intuitively, the cleaner a sample is, the less the noise it should be injected, and vice versa. Motivated by this finding, we propose a new framework, called Sample-specific Score-aware Noise Injection (SSNI). Specifically, SSNI uses a pre-trained score network to estimate how much a data point deviates from the clean data distribution (i.e., score norms). Then, based on the magnitude of score norms, SSNI applies a reweighting function to adaptively adjust $t^*$ for each sample, achieving sample-specific noise injections. Empirically, incorporating our framework with existing DBP methods results in a notable improvement in both accuracy and robustness on CIFAR-10 and ImageNet-1K, highlighting the necessity to allocate distinct noise levels to different samples in DBP methods. Our code is available at: https://github.com/tmlr-group/SSNI.", "date": "2025-06-06", "categories": []} {"id": "2602.12461", "title": "Semantic-aware Adversarial Fine-tuning for CLIP", "abstract": "Recent studies have shown that CLIP model's adversarial robustness in zero-shot classification tasks can be enhanced by adversarially fine-tuning its image encoder with adversarial examples (AEs), which are generated by minimizing the cosine similarity between images and a hand-crafted template (e.g., ''A photo of a {label}''). However, it has been shown that the cosine similarity between a single image and a single hand-crafted template is insufficient to measure the similarity for image-text pairs. Building on this, in this paper, we find that the AEs generated using cosine similarity may fail to fool CLIP when the similarity metric is replaced with semantically enriched alternatives, making the image encoder fine-tuned with these AEs less robust. To overcome this issue, we first propose a semantic-ensemble attack to generate semantic-aware AEs by minimizing the average similarity between the original image and an ensemble of refined textual descriptions. These descriptions are initially generated by a foundation model to capture core semantic features beyond hand-crafted templates and are then refined to reduce hallucinations. To this end, we propose Semantic-aware Adversarial Fine-Tuning (SAFT), which fine-tunes CLIP's image encoder with semantic-aware AEs. Extensive experiments show that SAFT outperforms current methods, achieving substantial improvements in zero-shot adversarial robustness across 16 datasets. Our code is available at: https://github.com/tmlr-group/SAFT.", "date": "2026-02-12", "categories": []} {"id": "2602.12681", "title": "Fool Me If You Can: On the Robustness of Binary Code Similarity Detection Models against Semantics-preserving Transformations", "abstract": "Binary code analysis plays an essential role in cybersecurity, facilitating reverse engineering to reveal the inner workings of programs in the absence of source code. Traditional approaches, such as static and dynamic analysis, extract valuable insights from stripped binaries, but often demand substantial expertise and manual effort. Recent advances in deep learning have opened promising opportunities to enhance binary analysis by capturing latent features and disclosing underlying code semantics. Despite the growing number of binary analysis models based on machine learning, their robustness to adversarial code transformations at the binary level remains underexplored. We evaluate the robustness of deep learning models for the task of binary code similarity detection (BCSD) under semantics-preserving transformations. The unique nature of machine instructions presents distinct challenges compared to the typical input perturbations found in other domains. We introduce asmFooler, a system that evaluates the resilience of BCSD models using a diverse set of adversarial code transformations that preserve functional semantics. We construct a dataset of 9,565 binary variants from 620 baseline samples by applying eight semantics-preserving transformations across six representative BCSD models. Our major findings highlight several key insights: i) model robustness relies on the processing pipeline, including code pre-processing, architecture, and feature selection; ii) adversarial transformation effectiveness is bounded by a budget shaped by model-specific constraints like input size and instruction expressive capacity; iii) well-crafted transformations can be highly effective with minimal perturbations; and iv) such transformations efficiently disrupt model decisions (e.g., misleading to false positives or false negatives) by focusing on semantically significant instructions.", "date": "2026-02-13", "categories": []} {"id": "2602.11204", "title": "Zero-Sacrifice Persistent-Robustness Adversarial Defense for Pre-Trained Encoders", "abstract": "The widespread use of publicly available pre-trained encoders from self-supervised learning (SSL) has exposed a critical vulnerability: their susceptibility to downstream-agnostic adversarial examples (DAEs), which are crafted without knowledge of the downstream tasks but capable of misleading downstream models. While several defense methods have been explored recently, they rely primarily on task-specific adversarial fine-tuning, which inevitably limits generalizability and causes catastrophic forgetting and deteriorates benign performance. Different with previous works, we propose a more rigorous defense goal that requires only a single tuning for diverse downstream tasks to defend against DAEs and preserve benign performance. To achieve this defense goal, we introduce Zero-Sacrifice Persistent-Robustness Adversarial Defense (ZePAD), which is inspired by the inherent sensitivity of neural networks to data characteristics. Specifically, ZePAD is a dual-branch structure, which consists of a Multi-Pattern Adversarial Enhancement Branch (MPAE-Branch) that uses two adversarially fine-tuned encoders to strengthen adversarial resistance. The Benign Memory Preservation Branch (BMP-Branch) is trained on local data to ensure adversarial robustness does not compromise benign performance. Surprisingly, we find that ZePAD can directly detect DAEs by evaluating branch confidence, without introducing any adversarial exsample identification task during training. Notably, by enriching feature diversity, our method enables a single adversarial fine-tuning to defend against DAEs across downstream tasks, thereby achieving persistent robustness. Extensive experiments on 11 SSL methods and 6 datasets validate its effectiveness. In certain cases, it achieves a 29.20% improvement in benign performance and a 73.86% gain in adversarial robustness, highlighting its zero-sacrifice property.", "date": "2026-02-10", "categories": []} {"id": "2602.11646", "title": "Brain Tumor Classifiers Under Attack: Robustness of ResNet Variants Against Transferable FGSM and PGD Attacks", "abstract": "Adversarial robustness in deep learning models for brain tumor classification remains an underexplored yet critical challenge, particularly for clinical deployment scenarios involving MRI data. In this work, we investigate the susceptibility and resilience of several ResNet-based architectures, referred to as BrainNet, BrainNeXt and DilationNet, against gradient-based adversarial attacks, namely FGSM and PGD. These models, based on ResNet, ResNeXt, and dilated ResNet variants respectively, are evaluated across three preprocessing configurations (i) full-sized augmented, (ii) shrunk augmented and (iii) shrunk non-augmented MRI datasets. Our experiments reveal that BrainNeXt models exhibit the highest robustness to black-box attacks, likely due to their increased cardinality, though they produce weaker transferable adversarial samples. In contrast, BrainNet and Dilation models are more vulnerable to attacks from each other, especially under PGD with higher iteration steps and $\\alpha$ values. Notably, shrunk and non-augmented data significantly reduce model resilience, even when the untampered test accuracy remains high, highlighting a key trade-off between input resolution and adversarial vulnerability. These results underscore the importance of jointly evaluating classification performance and adversarial robustness for reliable real-world deployment in brain MRI analysis.", "date": "2026-02-12", "categories": []} {"id": "2602.11940", "title": "Temporally Unified Adversarial Perturbations for Time Series Forecasting", "abstract": "While deep learning models have achieved remarkable success in time series forecasting, their vulnerability to adversarial examples remains a critical security concern. However, existing attack methods in the forecasting field typically ignore the temporal consistency inherent in time series data, leading to divergent and contradictory perturbation values for the same timestamp across overlapping samples. This temporally inconsistent perturbations problem renders adversarial attacks impractical for real-world data manipulation. To address this, we introduce Temporally Unified Adversarial Perturbations (TUAPs), which enforce a temporal unification constraint to ensure identical perturbations for each timestamp across all overlapping samples. Moreover, we propose a novel Timestamp-wise Gradient Accumulation Method (TGAM) that provides a modular and efficient approach to effectively generate TUAPs by aggregating local gradient information from overlapping samples. By integrating TGAM with momentum-based attack algorithms, we ensure strict temporal consistency while fully utilizing series-level gradient information to explore the adversarial perturbation space. Comprehensive experiments on three benchmark datasets and four representative state-of-the-art models demonstrate that our proposed method significantly outperforms baselines in both white-box and black-box transfer attack scenarios under TUAP constraints. Moreover, our method also exhibits superior transfer attack performance even without TUAP constraints, demonstrating its effectiveness and superiority in generating adversarial perturbations for time series forecasting models.", "date": "2026-02-12", "categories": []} {"id": "2602.10319", "title": "A Low-Rank Defense Method for Adversarial Attack on Diffusion Models", "abstract": "Recently, adversarial attacks for diffusion models as well as their fine-tuning process have been developed rapidly. To prevent the abuse of these attack algorithms from affecting the practical application of diffusion models, it is critical to develop corresponding defensive strategies. In this work, we propose an efficient defensive strategy, named Low-Rank Defense (LoRD), to defend the adversarial attack on Latent Diffusion Models (LDMs). LoRD introduces the merging idea and a balance parameter, combined with the low-rank adaptation (LoRA) modules, to detect and defend the adversarial samples. Based on LoRD, we build up a defense pipeline that applies the learned LoRD modules to help diffusion models defend against attack algorithms. Our method ensures that the LDM fine-tuned on both adversarial and clean samples can still generate high-quality images. To demonstrate the effectiveness of our approach, we conduct extensive experiments on facial and landscape images, and our method shows significantly better defense performance compared to the baseline methods.", "date": "2026-02-10", "categories": []} {"id": "2411.16598", "title": "DiffBreak: Is Diffusion-Based Purification Robust?", "abstract": "Diffusion-based purification (DBP) has become a cornerstone defense against adversarial examples (AEs), regarded as robust due to its use of diffusion models (DMs) that project AEs onto the natural data manifold. We refute this core claim, theoretically proving that gradient-based attacks effectively target the DM rather than the classifier, causing DBP's outputs to align with adversarial distributions. This prompts a reassessment of DBP's robustness, attributing it to two critical flaws: incorrect gradients and inappropriate evaluation protocols that test only a single random purification of the AE. We show that with proper accounting for stochasticity and resubmission risk, DBP collapses. To support this, we introduce DiffBreak, the first reliable toolkit for differentiation through DBP, eliminating gradient flaws that previously further inflated robustness estimates. We also analyze the current defense scheme used for DBP where classification relies on a single purification, pinpointing its inherent invalidity. We provide a statistically grounded majority-vote (MV) alternative that aggregates predictions across multiple purified copies, showing partial but meaningful robustness gain. We then propose a novel adaptation of an optimization method against deepfake watermarking, crafting systemic perturbations that defeat DBP even under MV, challenging DBP's viability.", "date": "2024-11-25", "categories": []} {"id": "2602.09613", "title": "Tracking Finite-Time Lyapunov Exponents to Robustify Neural ODEs", "abstract": "We investigate finite-time Lyapunov exponents (FTLEs), a measure for exponential separation of input perturbations, of deep neural networks within the framework of continuous-depth neural ODEs. We demonstrate that FTLEs are powerful organizers for input-output dynamics, allowing for better interpretability and the comparison of distinct model architectures. We establish a direct connection between Lyapunov exponents and adversarial vulnerability, and propose a novel training algorithm that improves robustness by FTLE regularization. The key idea is to suppress exponents far from zero in the early stage of the input dynamics. This approach enhances robustness and reduces computational cost compared to full-interval regularization, as it avoids a full ``double'' backpropagation.", "date": "2026-02-10", "categories": []} {"id": "2411.09979", "title": "Fully Dynamic Adversarially Robust Correlation Clustering in Polylogarithmic Update Time", "abstract": "We study the dynamic correlation clustering problem with $\\textit{adaptive}$ edge label flips. In correlation clustering, we are given a $n$-vertex complete graph whose edges are labeled either $(+)$ or $(-)$, and the goal is to minimize the total number of $(+)$ edges between clusters and the number of $(-)$ edges within clusters. We consider the dynamic setting with adversarial robustness, in which the $\\textit{adaptive}$ adversary could flip the label of an edge based on the current output of the algorithm. Our main result is a randomized algorithm that always maintains an $O(1)$-approximation to the optimal correlation clustering with $O(\\log^{2}{n})$ amortized update time. Prior to our work, no algorithm with $O(1)$-approximation and $\\text{polylog}{(n)}$ update time for the adversarially robust setting was known. We further validate our theoretical results with experiments on synthetic and real-world datasets with competitive empirical performances. Our main technical ingredient is an algorithm that maintains $\\textit{sparse-dense decomposition}$ with $\\text{polylog}{(n)}$ update time, which could be of independent interest.", "date": "2024-11-15", "categories": []} {"id": "2503.21164", "title": "Adversarial Wear and Tear: Exploiting Natural Damage for Generating Physical-World Adversarial Examples", "abstract": "The presence of adversarial examples in the physical world poses significant challenges to the deployment of Deep Neural Networks in safety-critical applications such as autonomous driving. Most existing methods for crafting physical-world adversarial examples are ad-hoc, relying on temporary modifications like shadows, laser beams, or stickers that are tailored to specific scenarios. In this paper, we introduce a new class of physical-world adversarial examples, AdvWT, which draws inspiration from the naturally occurring phenomenon of `wear and tear', an inherent property of physical objects. Unlike manually crafted perturbations, `wear and tear' emerges organically over time due to environmental degradation, as seen in the gradual deterioration of outdoor signboards. To achieve this, AdvWT follows a two-step approach. First, a GAN-based, unsupervised image-to-image translation network is employed to model these naturally occurring damages, particularly in the context of outdoor signboards. The translation network encodes the characteristics of damaged signs into a latent `damage style code'. In the second step, we introduce adversarial perturbations into the style code, strategically optimizing its transformation process. This manipulation subtly alters the damage style representation, guiding the network to generate adversarial images where the appearance of damages remains perceptually realistic, while simultaneously ensuring their effectiveness in misleading neural networks. Through comprehensive experiments on two traffic sign datasets, we show that AdvWT effectively misleads DNNs in both digital and physical domains. AdvWT achieves an effective attack success rate, greater robustness, and a more natural appearance compared to existing physical-world adversarial examples. Additionally, integrating AdvWT into training enhances a model's generalizability to real-world damaged signs.", "date": "2025-03-27", "categories": []} {"id": "2506.06389", "title": "Exploring Adversarial Watermarking in Transformer-Based Models: Transferability and Robustness Against Defense Mechanism for Medical Images", "abstract": "Deep learning models have shown remarkable success in dermatological image analysis, offering potential for automated skin disease diagnosis. Previously, convolutional neural network(CNN) based architectures have achieved immense popularity and success in computer vision (CV) based task like skin image recognition, generation and video analysis. But with the emergence of transformer based models, CV tasks are now are nowadays carrying out using these models. Vision Transformers (ViTs) is such a transformer-based models that have shown success in computer vision. It uses self-attention mechanisms to achieve state-of-the-art performance across various tasks. However, their reliance on global attention mechanisms makes them susceptible to adversarial perturbations. This paper aims to investigate the susceptibility of ViTs for medical images to adversarial watermarking-a method that adds so-called imperceptible perturbations in order to fool models. By generating adversarial watermarks through Projected Gradient Descent (PGD), we examine the transferability of such attacks to CNNs and analyze the performance defense mechanism -- adversarial training. Results indicate that while performance is not compromised for clean images, ViTs certainly become much more vulnerable to adversarial attacks: an accuracy drop of as low as 27.6%. Nevertheless, adversarial training raises it up to 90.0%.", "date": "2025-06-05", "categories": []} {"id": "2601.22636", "title": "Statistical Estimation of Adversarial Risk in Large Language Models under Best-of-N Sampling", "abstract": "Large Language Models (LLMs) are typically evaluated for safety under single-shot or low-budget adversarial prompting, which underestimates real-world risk. In practice, attackers can exploit large-scale parallel sampling to repeatedly probe a model until a harmful response is produced. While recent work shows that attack success increases with repeated sampling, principled methods for predicting large-scale adversarial risk remain limited. We propose a scaling-aware Best-of-N estimation of risk, SABER, for modeling jailbreak vulnerability under Best-of-N sampling. We model sample-level success probabilities using a Beta distribution, the conjugate prior of the Bernoulli distribution, and derive an analytic scaling law that enables reliable extrapolation of large-N attack success rates from small-budget measurements. Using only n=100 samples, our anchored estimator predicts ASR@1000 with a mean absolute error of 1.66, compared to 12.04 for the baseline, which is an 86.2% reduction in estimation error. Our results reveal heterogeneous risk scaling profiles and show that models appearing robust under standard evaluation can experience rapid nonlinear risk amplification under parallel adversarial pressure. This work provides a low-cost, scalable methodology for realistic LLM safety assessment. We will release our code and evaluation scripts upon publication to future research.", "date": "2026-01-30", "categories": []} {"id": "2602.03284", "title": "Time Is All It Takes: Spike-Retiming Attacks on Event-Driven Spiking Neural Networks", "abstract": "Spiking neural networks (SNNs) compute with discrete spikes and exploit temporal structure, yet most adversarial attacks change intensities or event counts instead of timing. We study a timing-only adversary that retimes existing spikes while preserving spike counts and amplitudes in event-driven SNNs, thus remaining rate-preserving. We formalize a capacity-1 spike-retiming threat model with a unified trio of budgets: per-spike jitter $\\mathcal{B}_{\\infty}$, total delay $\\mathcal{B}_{1}$, and tamper count $\\mathcal{B}_{0}$. Feasible adversarial examples must satisfy timeline consistency and non-overlap, which makes the search space discrete and constrained. To optimize such retimings at scale, we use projected-in-the-loop (PIL) optimization: shift-probability logits yield a differentiable soft retiming for backpropagation, and a strict projection in the forward pass produces a feasible discrete schedule that satisfies capacity-1, non-overlap, and the chosen budget at every step. The objective maximizes task loss on the projected input and adds a capacity regularizer together with budget-aware penalties, which stabilizes gradients and aligns optimization with evaluation. Across event-driven benchmarks (CIFAR10-DVS, DVS-Gesture, N-MNIST) and diverse SNN architectures, we evaluate under binary and integer event grids and a range of retiming budgets, and also test models trained with timing-aware adversarial training designed to counter timing-only attacks. For example, on DVS-Gesture the attack attains high success (over $90\\%$) while touching fewer than $2\\%$ of spikes under $\\mathcal{B}_{0}$. Taken together, our results show that spike retiming is a practical and stealthy attack surface that current defenses struggle to counter, providing a clear reference for temporal robustness in event-driven SNNs. Code is available at https://github.com/yuyi-sd/Spike-Retiming-Attacks.", "date": "2026-02-03", "categories": []} {"id": "2602.07028", "title": "A Comparative Study of Adversarial Robustness in CNN and CNN-ANFIS Architectures", "abstract": "Convolutional Neural Networks (CNNs) achieve strong image classification performance but lack interpretability and are vulnerable to adversarial attacks. Neuro-fuzzy hybrids such as DCNFIS replace fully connected CNN classifiers with Adaptive Neuro-Fuzzy Inference Systems (ANFIS) to improve interpretability, yet their robustness remains underexplored. This work compares standard CNNs (ConvNet, VGG, ResNet18) with their ANFIS-augmented counterparts on MNIST, Fashion-MNIST, CIFAR-10, and CIFAR-100 under gradient-based (PGD) and gradient-free (Square) attacks. Results show that ANFIS integration does not consistently improve clean accuracy and has architecture-dependent effects on robustness: ResNet18-ANFIS exhibits improved adversarial robustness, while VGG-ANFIS often underperforms its baseline. These findings suggest that neuro-fuzzy augmentation can enhance robustness in specific architectures but is not universally beneficial.", "date": "2026-02-02", "categories": []} {"id": "2602.07251", "title": "The Double-Edged Sword of Data-Driven Super-Resolution: Adversarial Super-Resolution Models", "abstract": "Data-driven super-resolution (SR) methods are often integrated into imaging pipelines as preprocessing steps to improve downstream tasks such as classification and detection. However, these SR models introduce a previously unexplored attack surface into imaging pipelines. In this paper, we present AdvSR, a framework demonstrating that adversarial behavior can be embedded directly into SR model weights during training, requiring no access to inputs at inference time. Unlike prior attacks that perturb inputs or rely on backdoor triggers, AdvSR operates entirely at the model level. By jointly optimizing for reconstruction quality and targeted adversarial outcomes, AdvSR produces models that appear benign under standard image quality metrics while inducing downstream misclassification. We evaluate AdvSR on three SR architectures (SRCNN, EDSR, SwinIR) paired with a YOLOv11 classifier and demonstrate that AdvSR models can achieve high attack success rates with minimal quality degradation. These findings highlight a new model-level threat for imaging pipelines, with implications for how practitioners source and validate models in safety-critical applications.", "date": "2026-02-06", "categories": []} {"id": "2602.08230", "title": "Generating Adversarial Events: A Motion-Aware Point Cloud Framework", "abstract": "Event cameras have been widely adopted in safety-critical domains such as autonomous driving, robotics, and human-computer interaction. A pressing challenge arises from the vulnerability of deep neural networks to adversarial examples, which poses a significant threat to the reliability of event-based systems. Nevertheless, research into adversarial attacks on events is scarce. This is primarily due to the non-differentiable nature of mainstream event representations, which hinders the extension of gradient-based attack methods. In this paper, we propose MA-ADV, a novel \\textbf{M}otion-\\textbf{A}ware \\textbf{Adv}ersarial framework. To the best of our knowledge, this is the first work to generate adversarial events by leveraging point cloud representations. MA-ADV accounts for high-frequency noise in events and employs a diffusion-based approach to smooth perturbations, while fully leveraging the spatial and temporal relationships among events. Finally, MA-ADV identifies the minimal-cost perturbation through a combination of sample-wise Adam optimization, iterative refinement, and binary search. Extensive experimental results validate that MA-ADV ensures a 100\\% attack success rate with minimal perturbation cost, and also demonstrate enhanced robustness against defenses, underscoring the critical security challenges facing future event-based perception systems.", "date": "2026-02-09", "categories": []} {"id": "2602.08679", "title": "Dashed Line Defense: Plug-And-Play Defense Against Adaptive Score-Based Query Attacks", "abstract": "Score-based query attacks pose a serious threat to deep learning models by crafting adversarial examples (AEs) using only black-box access to model output scores, iteratively optimizing inputs based on observed loss values. While recent runtime defenses attempt to disrupt this process via output perturbation, most either require access to model parameters or fail when attackers adapt their tactics. In this paper, we first reveal that even the state-of-the-art plug-and-play defense can be bypassed by adaptive attacks, exposing a critical limitation of existing runtime defenses. We then propose Dashed Line Defense (DLD), a plug-and-play post-processing method specifically designed to withstand adaptive query strategies. By introducing ambiguity in how the observed loss reflects the true adversarial strength of candidate examples, DLD prevents attackers from reliably analyzing and adapting their queries, effectively disrupting the AE generation process. We provide theoretical guarantees of DLD's defense capability and validate its effectiveness through experiments on ImageNet, demonstrating that DLD consistently outperforms prior defenses--even under worst-case adaptive attacks--while preserving the model's predicted labels.", "date": "2026-02-09", "categories": []} {"id": "2509.15370", "title": "Adversarial generalization of unfolding (model-based) networks", "abstract": "Unfolding networks are interpretable networks emerging from iterative algorithms, incorporate prior knowledge of data structure, and are designed to solve inverse problems like compressed sensing, which deals with recovering data from noisy, missing observations. Compressed sensing finds applications in critical domains, from medical imaging to cryptography, where adversarial robustness is crucial to prevent catastrophic failures. However, a solid theoretical understanding of the performance of unfolding networks in the presence of adversarial attacks is still in its infancy. In this paper, we study the adversarial generalization of unfolding networks when perturbed with $l_2$-norm constrained attacks, generated by the fast gradient sign method. Particularly, we choose a family of state-of-the-art overaparameterized unfolding networks and deploy a new framework to estimate their adversarial Rademacher complexity. Given this estimate, we provide adversarial generalization error bounds for the networks under study, which are tight with respect to the attack level. To our knowledge, this is the first theoretical analysis on the adversarial generalization of unfolding networks. We further present a series of experiments on real-world data, with results corroborating our derived theory, consistently for all data. Finally, we observe that the family's overparameterization can be exploited to promote adversarial robustness, shedding light on how to efficiently robustify neural networks.", "date": "2025-09-18", "categories": []} {"id": "2602.06269", "title": "PurSAMERE: Reliable Adversarial Purification via Sharpness-Aware Minimization of Expected Reconstruction Error", "abstract": "We propose a novel deterministic purification method to improve adversarial robustness by mapping a potentially adversarial sample toward a nearby sample that lies close to a mode of the data distribution, where classifiers are more reliable. We design the method to be deterministic to ensure reliable test accuracy and to prevent the degradation of effective robustness observed in stochastic purification approaches when the adversary has full knowledge of the system and its randomness. We employ a score model trained by minimizing the expected reconstruction error of noise-corrupted data, thereby learning the structural characteristics of the input data distribution. Given a potentially adversarial input, the method searches within its local neighborhood for a purified sample that minimizes the expected reconstruction error under noise corruption and then feeds this purified sample to the classifier. During purification, sharpness-aware minimization is used to guide the purified samples toward flat regions of the expected reconstruction error landscape, thereby enhancing robustness. We further show that, as the noise level decreases, minimizing the expected reconstruction error biases the purified sample toward local maximizers of the Gaussian-smoothed density; under additional local assumptions on the score model, we prove recovery of a local maximizer in the small-noise limit. Experimental results demonstrate significant gains in adversarial robustness over state-of-the-art methods under strong deterministic white-box attacks.", "date": "2026-02-06", "categories": []} {"id": "2602.06395", "title": "Empirical Analysis of Adversarial Robustness and Explainability Drift in Cybersecurity Classifiers", "abstract": "Machine learning (ML) models are increasingly deployed in cybersecurity applications such as phishing detection and network intrusion prevention. However, these models remain vulnerable to adversarial perturbations small, deliberate input modifications that can degrade detection accuracy and compromise interpretability. This paper presents an empirical study of adversarial robustness and explainability drift across two cybersecurity domains phishing URL classification and network intrusion detection. We evaluate the impact of L (infinity) bounded Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD) perturbations on model accuracy and introduce a quantitative metric, the Robustness Index (RI), defined as the area under the accuracy perturbation curve. Gradient based feature sensitivity and SHAP based attribution drift analyses reveal which input features are most susceptible to adversarial manipulation. Experiments on the Phishing Websites and UNSW NB15 datasets show consistent robustness trends, with adversarial training improving RI by up to 9 percent while maintaining clean-data accuracy. These findings highlight the coupling between robustness and interpretability degradation and underscore the importance of quantitative evaluation in the design of trustworthy, AI-driven cybersecurity systems.", "date": "2026-02-06", "categories": []} {"id": "2602.06577", "title": "Perturbing the Phase: Analyzing Adversarial Robustness of Complex-Valued Neural Networks", "abstract": "Complex-valued neural networks (CVNNs) are rising in popularity for all kinds of applications. To safely use CVNNs in practice, analyzing their robustness against outliers is crucial. One well known technique to understand the behavior of deep neural networks is to investigate their behavior under adversarial attacks, which can be seen as worst case minimal perturbations. We design Phase Attacks, a kind of attack specifically targeting the phase information of complex-valued inputs. Additionally, we derive complex-valued versions of commonly used adversarial attacks. We show that in some scenarios CVNNs are more robust than RVNNs and that both are very susceptible to phase changes with the Phase Attacks decreasing the model performance more, than equally strong regular attacks, which can attack both phase and magnitude.", "date": "2026-02-06", "categories": []} {"id": "2602.06578", "title": "Exploring Sparsity and Smoothness of Arbitrary $\\ell_p$ Norms in Adversarial Attacks", "abstract": "Adversarial attacks against deep neural networks are commonly constructed under $\\ell_p$ norm constraints, most often using $p=1$, $p=2$ or $p=\\infty$, and potentially regularized for specific demands such as sparsity or smoothness. These choices are typically made without a systematic investigation of how the norm parameter \\( p \\) influences the structural and perceptual properties of adversarial perturbations. In this work, we study how the choice of \\( p \\) affects sparsity and smoothness of adversarial attacks generated under \\( \\ell_p \\) norm constraints for values of $p \\in [1,2]$. To enable a quantitative analysis, we adopt two established sparsity measures from the literature and introduce three smoothness measures. In particular, we propose a general framework for deriving smoothness measures based on smoothing operations and additionally introduce a smoothness measure based on first-order Taylor approximations. Using these measures, we conduct a comprehensive empirical evaluation across multiple real-world image datasets and a diverse set of model architectures, including both convolutional and transformer-based networks. We show that the choice of $\\ell_1$ or $\\ell_2$ is suboptimal in most cases and the optimal $p$ value is dependent on the specific task. In our experiments, using $\\ell_p$ norms with $p\\in [1.3, 1.5]$ yields the best trade-off between sparse and smooth attacks. These findings highlight the importance of principled norm selection when designing and evaluating adversarial attacks.", "date": "2026-02-06", "categories": []} {"id": "2506.24068", "title": "STACK: Adversarial Attacks on LLM Safeguard Pipelines", "abstract": "Frontier AI developers are relying on layers of safeguards to protect against catastrophic misuse of AI systems. Anthropic and OpenAI guard their latest Opus 4 model and GPT-5 models using such defense pipelines, and other frontier developers including Google DeepMind pledge to soon deploy similar defenses. However, the security of such pipelines is unclear, with limited prior work evaluating or attacking these pipelines. We address this gap by developing and red-teaming an open-source defense pipeline. First, we find that a novel few-shot-prompted input and output classifier outperforms state-of-the-art open-weight safeguard model ShieldGemma across three attacks and two datasets, reducing the attack success rate (ASR) to 0% on the catastrophic misuse dataset ClearHarm. Second, we introduce a STaged AttaCK (STACK) procedure that achieves 71% ASR on ClearHarm in a black-box attack against the few-shot-prompted classifier pipeline. Finally, we also evaluate STACK in a transfer setting, achieving 33% ASR, providing initial evidence that it is feasible to design attacks with no access to the target pipeline. We conclude by suggesting specific mitigations that developers could use to thwart staged attacks.", "date": "2025-06-30", "categories": []} {"id": "2510.09712", "title": "Group-Adaptive Adversarial Learning for Robust Fake News Detection Against Malicious Comments", "abstract": "Online fake news profoundly distorts public judgment and erodes trust in social platforms. While existing detectors achieve competitive performance on benchmark datasets, they remain notably vulnerable to malicious comments designed specifically to induce misclassification. This evolving threat landscape necessitates detection systems that simultaneously prioritize predictive accuracy and structural robustness. However, current detectors often fail to generalize across diverse and novel comment attack patterns. To bridge this gap, we propose AdComment, an adaptive adversarial training framework for robustness enhancement against diverse malicious comments. Based on cognitive psychology, we categorize adversarial comments into Fact Distortion, Logical Confusion, and Emotional Manipulation, and leverage LLMs to synthesize diverse, category-specific perturbations. Central to our framework is an InfoDirichlet Resampling (IDR) mechanism that dynamically adjusts malicious comment proportions during training, thereby steering optimization toward the model's most susceptible regions. Experimental results demonstrate that our approach achieves state-of-the-art performance on three benchmark datasets, improving the F1 scores by 17.9%, 14.5% and 9.0%, respectively.", "date": "2025-10-10", "categories": []} {"id": "2602.05026", "title": "Laws of Learning Dynamics and the Core of Learners", "abstract": "We formulate the fundamental laws governing learning dynamics, namely the conservation law and the decrease of total entropy. Within this framework, we introduce an entropy-based lifelong ensemble learning method. We evaluate its effectiveness by constructing an immunization mechanism to defend against transfer-based adversarial attacks on the CIFAR-10 dataset. Compared with a naive ensemble formed by simply averaging models specialized on clean and adversarial samples, the resulting logifold achieves higher accuracy in most test cases, with particularly large gains under strong perturbations.", "date": "2026-02-04", "categories": []} {"id": "2411.17957", "title": "DiffVax: Optimization-Free Image Immunization Against Diffusion-Based Editing", "abstract": "Current image immunization defense techniques against diffusion-based editing embed imperceptible noise into target images to disrupt editing models. However, these methods face scalability challenges, as they require time-consuming optimization for each image separately, taking hours for small batches. To address these challenges, we introduce DiffVax, a scalable, lightweight, and optimization-free framework for image immunization, specifically designed to prevent diffusion-based editing. Our approach enables effective generalization to unseen content, reducing computational costs and cutting immunization time from days to milliseconds, achieving a speedup of 250,000x. This is achieved through a loss term that ensures the failure of editing attempts and the imperceptibility of the perturbations. Extensive qualitative and quantitative results demonstrate that our model is scalable, optimization-free, adaptable to various diffusion-based editing tools, robust against counter-attacks, and, for the first time, effectively protects video content from editing. More details are available in https://diffvax.github.io/ .", "date": "2024-11-27", "categories": []} {"id": "2505.17440", "title": "VEAttack: Downstream-agnostic Vision Encoder Attack against Large Vision Language Models", "abstract": "Large Vision-Language Models (LVLMs) have demonstrated remarkable capabilities in multimodal understanding and generation, yet their vulnerability to adversarial attacks raises significant robustness concerns. While existing effective attacks always focus on task-specific white-box settings, these approaches are limited in the context of LVLMs, which are designed for diverse downstream tasks and require expensive full-model gradient computations. Motivated by the pivotal role and wide adoption of the vision encoder in LVLMs, we propose a simple yet effective Vision Encoder Attack (VEAttack), which targets the vision encoder of LVLMs only. Specifically, we propose to generate adversarial examples by minimizing the cosine similarity between the clean and perturbed visual features, without accessing the following large language models, task information, and labels. It significantly reduces the computational overhead while eliminating the task and label dependence of traditional white-box attacks in LVLMs. To make this simple attack effective, we propose to perturb images by optimizing image tokens instead of the classification token. We provide both empirical and theoretical evidence that VEAttack can easily generalize to various tasks. VEAttack has achieved a performance degradation of 94.5% on image caption task and 75.7% on visual question answering task. We also reveal some key observations to provide insights into LVLM attack/defense: 1) hidden layer variations of LLM, 2) token attention differential, 3) M\\\"obius band in transfer attack, 4) low sensitivity to attack steps. The code is available at https://github.com/hefeimei06/VEAttack-LVLM.", "date": "2025-05-23", "categories": []} {"id": "2506.21142", "title": "Generative Adversarial Evasion and Out-of-Distribution Detection for UAV Cyber-Attacks", "abstract": "The growing integration of UAVs into civilian airspace underscores the need for resilient and intelligent intrusion detection systems (IDS), as traditional anomaly detection methods often fail to identify novel threats. A common approach treats unfamiliar attacks as out-of-distribution (OOD) samples; however, this leaves systems vulnerable when mitigation is inadequate. Moreover, conventional OOD detectors struggle to distinguish stealthy adversarial attacks from genuine OOD events. This paper introduces a conditional generative adversarial network (cGAN)-based framework for crafting stealthy adversarial attacks that evade IDS mechanisms. We first design a robust multi-class IDS classifier trained on benign UAV telemetry and known cyber-attacks, including Denial of Service (DoS), false data injection (FDI), man-in-the-middle (MiTM), and replay attacks. Using this classifier, our cGAN perturbs known attacks to generate adversarial samples that misclassify as benign while retaining statistical resemblance to OOD distributions. These adversarial samples are iteratively refined to achieve high stealth and success rates. To detect such perturbations, we implement a conditional variational autoencoder (CVAE), leveraging negative log-likelihood to separate adversarial inputs from authentic OOD samples. Comparative evaluation shows that CVAE-based regret scores significantly outperform traditional Mahalanobis distance-based detectors in identifying stealthy adversarial threats. Our findings emphasize the importance of advanced probabilistic modeling to strengthen IDS capabilities against adaptive, generative-model-based cyber intrusions.", "date": "2025-06-26", "categories": []} {"id": "2508.03365", "title": "When Good Sounds Go Adversarial: Jailbreaking Audio-Language Models with Benign Inputs", "abstract": "As large language models (LLMs) become increasingly integrated into daily life, audio has emerged as a key interface for human-AI interaction. However, this convenience also introduces new vulnerabilities, making audio a potential attack surface for adversaries. Our research introduces WhisperInject, a two-stage adversarial audio attack framework that manipulates state-of-the-art audio language models to generate harmful content. Our method embeds harmful payloads as subtle perturbations into audio inputs that remain intelligible to human listeners. The first stage uses a novel reward-based white-box optimization method, Reinforcement Learning with Projected Gradient Descent (RL-PGD), to jailbreak the target model and elicit harmful native responses. This native harmful response then serves as the target for Stage 2, Payload Injection, where we use gradient-based optimization to embed subtle perturbations into benign audio carriers, such as weather queries or greeting messages. Our method achieves average attack success rates of 60-78% across two benchmarks and five multimodal LLMs, validated by multiple evaluation frameworks. Our work demonstrates a new class of practical, audio-native threats, moving beyond theoretical exploits to reveal a feasible and covert method for manipulating multimodal AI systems.", "date": "2025-08-05", "categories": []} {"id": "2602.04236", "title": "Cascading Robustness Verification: Toward Efficient Model-Agnostic Certification", "abstract": "Certifying neural network robustness against adversarial examples is challenging, as formal guarantees often require solving non-convex problems. Hence, incomplete verifiers are widely used because they scale efficiently and substantially reduce the cost of robustness verification compared to complete methods. However, relying on a single verifier can underestimate robustness because of loose approximations or misalignment with training methods. In this work, we propose Cascading Robustness Verification (CRV), which goes beyond an engineering improvement by exposing fundamental limitations of existing robustness metric and introducing a framework that enhances both reliability and efficiency. CRV is a model-agnostic verifier, meaning that its robustness guarantees are independent of the model's training process. The key insight behind the CRV framework is that, when using multiple verification methods, an input is certifiably robust if at least one method certifies it as robust. Rather than relying solely on a single verifier with a fixed constraint set, CRV progressively applies multiple verifiers to balance the tightness of the bound and computational cost. Starting with the least expensive method, CRV halts as soon as an input is certified as robust; otherwise, it proceeds to more expensive methods. For computationally expensive methods, we introduce a Stepwise Relaxation Algorithm (SR) that incrementally adds constraints and checks for certification at each step, thereby avoiding unnecessary computation. Our theoretical analysis demonstrates that CRV achieves equal or higher verified accuracy compared to powerful but computationally expensive incomplete verifiers in the cascade, while significantly reducing verification overhead. Empirical results confirm that CRV certifies at least as many inputs as benchmark approaches, while improving runtime efficiency by up to ~90%.", "date": "2026-02-04", "categories": []} {"id": "2602.04356", "title": "When and Where to Attack? Stage-wise Attention-Guided Adversarial Attack on Large Vision Language Models", "abstract": "Adversarial attacks against Large Vision-Language Models (LVLMs) are crucial for exposing safety vulnerabilities in modern multimodal systems. Recent attacks based on input transformations, such as random cropping, suggest that spatially localized perturbations can be more effective than global image manipulation. However, randomly cropping the entire image is inherently stochastic and fails to use the limited per-pixel perturbation budget efficiently. We make two key observations: (i) regional attention scores are positively correlated with adversarial loss sensitivity, and (ii) attacking high-attention regions induces a structured redistribution of attention toward subsequent salient regions. Based on these findings, we propose Stage-wise Attention-Guided Attack (SAGA), an attention-guided framework that progressively concentrates perturbations on high-attention regions. SAGA enables more efficient use of constrained perturbation budgets, producing highly imperceptible adversarial examples while consistently achieving state-of-the-art attack success rates across ten LVLMs. The source code is available at https://github.com/jackwaky/SAGA.", "date": "2026-02-04", "categories": []} {"id": "2507.08261", "title": "Admissibility of Stein Shrinkage for Batch Normalization in the Presence of Adversarial Attacks", "abstract": "Batch normalization (BN) is a ubiquitous operation in deep neural networks, primarily used to improve stability and regularization during training. BN centers and scales feature maps using sample means and variances, which are naturally suited for Stein's shrinkage estimation. Applying such shrinkage yields more accurate mean and variance estimates of the batch in the mean-squared-error sense. In this paper, we prove that the Stein shrinkage estimator of the mean and variance dominates over the sample mean and variance estimators, respectively, in the presence of adversarial attacks modeled using sub-Gaussian distributions. Furthermore, by construction, the James-Stein (JS) BN yields a smaller local Lipschitz constant compared to the vanilla BN, implying better regularity properties and potentially improved robustness. This facilitates and justifies the application of Stein shrinkage to estimate the mean and variance parameters in BN and the use of it in image classification and segmentation tasks with and without adversarial attacks. We present SOTA performance results using this Stein-corrected BN in a standard ResNet architecture applied to the task of image classification using CIFAR-10 data, 3D CNN on PPMI (neuroimaging) data, and image segmentation using HRNet on Cityscape data with and without adversarial attacks.", "date": "2025-07-11", "categories": []} {"id": "2510.10000", "title": "Tight Robustness Certificates and Wasserstein Distributional Attacks for Deep Neural Networks", "abstract": "Wasserstein distributionally robust optimization (WDRO) provides a framework for adversarial robustness, yet existing methods based on global Lipschitz continuity or strong duality often yield loose upper bounds or require prohibitive computation. We address these limitations with a primal approach and adopt a notion of exact Lipschitz certificates to tighten this upper bound of WDRO. For ReLU networks, we leverage the piecewise-affine structure on activation cells to obtain an exact tractable characterization of the corresponding WDRO problem. We further extend our analysis to modern architectures with smooth activations (e.g., GELU, SiLU), such as Transformers. Additionally, we propose novel Wasserstein Distributional Attacks (WDA, WDA++) that construct candidates for the worst-case distribution. Compared to existing attacks that are restricted to point-wise perturbations, our methods offer greater flexibility in the number and location of attack points. Extensive evaluations demonstrate that our proposed framework achieves competitive robust accuracy against state-of-the-art baselines while offering tighter certificates than existing methods. Our code is available at https://github.com/OLab-Repo/WDA.", "date": "2025-10-11", "categories": []} {"id": "2602.02626", "title": "Learning Better Certified Models from Empirically-Robust Teachers", "abstract": "Adversarial training attains strong empirical robustness to specific adversarial attacks by training on concrete adversarial perturbations, but it produces neural networks that are not amenable to strong robustness certificates through neural network verification. On the other hand, earlier certified training schemes directly train on bounds from network relaxations to obtain models that are certifiably robust, but display sub-par standard performance. Recent work has shown that state-of-the-art trade-offs between certified robustness and standard performance can be obtained through a family of losses combining adversarial outputs and neural network bounds. Nevertheless, differently from empirical robustness, verifiability still comes at a significant cost in standard performance. In this work, we propose to leverage empirically-robust teachers to improve the performance of certifiably-robust models through knowledge distillation. Using a versatile feature-space distillation objective, we show that distillation from adversarially-trained teachers consistently improves on the state-of-the-art in certified training for ReLU networks across a series of robust computer vision benchmarks.", "date": "2026-02-02", "categories": []} {"id": "2602.03333", "title": "PWAVEP: Purifying Imperceptible Adversarial Perturbations in 3D Point Clouds via Spectral Graph Wavelets", "abstract": "Recent progress in adversarial attacks on 3D point clouds, particularly in achieving spatial imperceptibility and high attack performance, presents significant challenges for defenders. Current defensive approaches remain cumbersome, often requiring invasive model modifications, expensive training procedures or auxiliary data access. To address these threats, in this paper, we propose a plug-and-play and non-invasive defense mechanism in the spectral domain, grounded in a theoretical and empirical analysis of the relationship between imperceptible perturbations and high-frequency spectral components. Building upon these insights, we introduce a novel purification framework, termed PWAVEP, which begins by computing a spectral graph wavelet domain saliency score and local sparsity score for each point. Guided by these values, PWAVEP adopts a hierarchical strategy, it eliminates the most salient points, which are identified as hardly recoverable adversarial outliers. Simultaneously, it applies a spectral filtering process to a broader set of moderately salient points. This process leverages a graph wavelet transform to attenuate high-frequency coefficients associated with the targeted points, thereby effectively suppressing adversarial noise. Extensive evaluations demonstrate that the proposed PWAVEP achieves superior accuracy and robustness compared to existing approaches, advancing the state-of-the-art in 3D point cloud purification. Code and datasets are available at https://github.com/a772316182/pwavep", "date": "2026-02-03", "categories": []} {"id": "2602.03415", "title": "Most Convolutional Networks Suffer from Small Adversarial Perturbations", "abstract": "The existence of adversarial examples is relatively understood for random fully connected neural networks, but much less so for convolutional neural networks (CNNs). The recent work [Daniely, 2025] establishes that adversarial examples can be found in CNNs, in some non-optimal distance from the input. We extend over this work and prove that adversarial examples in random CNNs with input dimension $d$ can be found already in $\\ell_2$-distance of order $\\lVert x \\rVert /\\sqrt{d}$ from the input $x$, which is essentially the nearest possible. We also show that such adversarial small perturbations can be found using a single step of gradient descent. To derive our results we use Fourier decomposition to efficiently bound the singular values of a random linear convolutional operator, which is the main ingredient of a CNN layer. This bound might be of independent interest.", "date": "2026-02-03", "categories": []} {"id": "2502.04204", "title": "Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidence", "abstract": "Jailbreak attacks against large language models (LLMs) aim to induce harmful behaviors in LLMs through carefully crafted adversarial prompts. To mitigate attacks, one way is to perform adversarial training (AT)-based alignment, i.e., training LLMs on some of the most adversarial prompts to help them learn how to behave safely under attacks. During AT, the length of adversarial prompts plays a critical role in the robustness of aligned LLMs. While long-length adversarial prompts during AT might lead to strong LLM robustness, their synthesis however is very resource-consuming, which may limit the application of LLM AT. This paper focuses on adversarial suffix jailbreak attacks and unveils that to defend against a jailbreak attack with an adversarial suffix of length $\\Theta(M)$, it is enough to align LLMs on prompts with adversarial suffixes of length $\\Theta(\\sqrt{M})$. Theoretically, we analyze the adversarial in-context learning of linear transformers on linear regression tasks and prove a robust generalization bound for trained transformers. The bound depends on the term $\\Theta(\\sqrt{M_{\\text{test}}}/M_{\\text{train}})$, where $M_{\\text{train}}$ and $M_{\\text{test}}$ are the numbers of adversarially perturbed in-context samples during training and testing. Empirically, we conduct AT on popular open-source LLMs and evaluate their robustness against jailbreak attacks of different adversarial suffix lengths. Results confirm a positive correlation between the attack success rate and the ratio of the square root of the adversarial suffix length during jailbreaking to the length during AT. Our findings show that it is practical to defend against \"long-length\" jailbreak attacks via efficient \"short-length\" AT. The code is available at https://github.com/fshp971/adv-icl.", "date": "2025-02-06", "categories": []} {"id": "2506.12706", "title": "NAP-Tuning: Neural Augmented Prompt Tuning for Adversarially Robust Vision-Language Models", "abstract": "Vision-Language Models (VLMs) such as CLIP have demonstrated remarkable capabilities in understanding relationships between visual and textual data through joint embedding spaces. Despite their effectiveness, these models remain vulnerable to adversarial attacks, particularly in the image modality, posing significant security concerns. Building upon our previous work on Adversarial Prompt Tuning (AdvPT), which introduced learnable text prompts to enhance adversarial robustness in VLMs without extensive parameter training, we present a significant extension by introducing the Neural Augmentor framework for Multi-modal Adversarial Prompt Tuning (NAP-Tuning).Our key innovations include: (1) extending AdvPT from text-only to multi-modal prompting across both text and visual modalities, (2) expanding from single-layer to multi-layer prompt architectures, and (3) proposing a novel architecture-level redesign through our Neural Augmentor approach, which implements feature purification to directly address the distortions introduced by adversarial attacks in feature space. Our NAP-Tuning approach incorporates token refiners that learn to reconstruct purified features through residual connections, allowing for modality-specific and layer-specific feature correction.Comprehensive experiments demonstrate that NAP-Tuning significantly outperforms existing methods across various datasets and attack types. Notably, our approach shows significant improvements over the strongest baselines under the challenging AutoAttack benchmark, outperforming them by 33.5% on ViT-B16 and 33.0% on ViT-B32 architectures while maintaining competitive clean accuracy.", "date": "2025-06-15", "categories": []} {"id": "2511.01079", "title": "T-MLA: A targeted multiscale log-exponential attack framework for neural image compression", "abstract": "Neural image compression (NIC) has become the state-of-the-art for rate-distortion performance, yet its security vulnerabilities remain significantly less understood than those of classifiers. Existing adversarial attacks on NICs are often naive adaptations of pixel-space methods, overlooking the unique, structured nature of the compression pipeline. In this work, we propose a more advanced class of vulnerabilities by introducing T-MLA, the first targeted multiscale log-exponential attack framework. We introduce adversarial perturbations in the wavelet domain that concentrate on less perceptually salient coefficients, improving the stealth of the attack. Extensive evaluation across multiple state-of-the-art NIC architectures on standard image compression benchmarks reveals a large drop in reconstruction quality while the perturbations remain visually imperceptible. On standard NIC benchmarks, T-MLA achieves targeted degradation of reconstruction quality while improving perturbation imperceptibility (higher PSNR/VIF of the perturbed inputs) compared to PGD-style baselines at comparable attack success, as summarized in our main results. Our findings reveal a critical security flaw at the core of generative and content delivery pipelines.", "date": "2025-11-02", "categories": []} {"id": "2601.21900", "title": "TraceRouter: Robust Safety for Large Foundation Models via Path-Level Intervention", "abstract": "Despite their capabilities, large foundation models (LFMs) remain susceptible to adversarial manipulation. Current defenses predominantly rely on the \"locality hypothesis\", suppressing isolated neurons or features. However, harmful semantics act as distributed, cross-layer circuits, rendering such localized interventions brittle and detrimental to utility. To bridge this gap, we propose \\textbf{TraceRouter}, a path-level framework that traces and disconnects the causal propagation circuits of illicit semantics. TraceRouter operates in three stages: (1) it pinpoints a sensitive onset layer by analyzing attention divergence; (2) it leverages sparse autoencoders (SAEs) and differential activation analysis to disentangle and isolate malicious features; and (3) it maps these features to downstream causal pathways via feature influence scores (FIS) derived from zero-out interventions. By selectively suppressing these causal chains, TraceRouter physically severs the flow of harmful information while leaving orthogonal computation routes intact. Extensive experiments demonstrate that TraceRouter significantly outperforms state-of-the-art baselines, achieving a superior trade-off between adversarial robustness and general utility. Our code will be publicly released. WARNING: This paper contains unsafe model responses.", "date": "2026-01-29", "categories": []} {"id": "2602.00173", "title": "Learning Robust Reasoning through Guided Adversarial Self-Play", "abstract": "Reinforcement learning from verifiable rewards (RLVR) produces strong reasoning models, yet they can fail catastrophically when the conditioning context is fallible (e.g., corrupted chain-of-thought, misleading partial solutions, or mild input perturbations), since standard RLVR optimizes final-answer correctness only under clean conditioning. We introduce GASP (Guided Adversarial Self-Play), a robustification method that explicitly trains detect-and-repair capabilities using only outcome verification. Without human labels or external teachers, GASP forms an adversarial self-play game within a single model: a polluter learns to induce failure via locally coherent corruptions, while an agent learns to diagnose and recover under the same corrupted conditioning. To address the scarcity of successful recoveries early in training, we propose in-distribution repair guidance, an imitation term on self-generated repairs that increases recovery probability while preserving previously acquired capabilities. Across four open-weight models (1.5B--8B), GASP transforms strong-but-brittle reasoners into robust ones that withstand misleading and perturbed context while often improving clean accuracy. Further analysis shows that adversarial corruptions induce an effective curriculum, and in-distribution guidance enables rapid recovery learning with minimal representational drift.", "date": "2026-01-30", "categories": []} {"id": "2602.00857", "title": "Unifying Adversarial Robustness and Training Across Text Scoring Models", "abstract": "Research on adversarial robustness in language models is currently fragmented across applications and attacks, obscuring shared vulnerabilities. In this work, we propose unifying the study of adversarial robustness in text scoring models spanning dense retrievers, rerankers, and reward models. This motivates adapting both attacks and adversarial training methods across model roles. Unlike open-ended generation, text scoring failures are directly testable: an attack succeeds when an irrelevant or rejected text outscores a relevant or chosen one. Using this principled lens of text scoring, we demonstrate that current adversarial training formulations for language models are often short-sighted, failing to effectively generalize across attacks. To address this, we introduce multiple adversarial training methods for text scoring models and show that combining complementary training methods can yield strong robustness while also improving task effectiveness. We also highlight the practical value of our approach for RLHF, showing that our adversarially trained reward models mitigate reward hacking and support the training of better-aligned LLMs. We provide our code and models for further study.", "date": "2026-01-31", "categories": []} {"id": "2602.01025", "title": "Toward Universal and Transferable Jailbreak Attacks on Vision-Language Models", "abstract": "Vision-language models (VLMs) extend large language models (LLMs) with vision encoders, enabling text generation conditioned on both images and text. However, this multimodal integration expands the attack surface by exposing the model to image-based jailbreaks crafted to induce harmful responses. Existing gradient-based jailbreak methods transfer poorly, as adversarial patterns overfit to a single white-box surrogate and fail to generalise to black-box models. In this work, we propose Universal and transferable jailbreak (UltraBreak), a framework that constrains adversarial patterns through transformations and regularisation in the vision space, while relaxing textual targets through semantic-based objectives. By defining its loss in the textual embedding space of the target LLM, UltraBreak discovers universal adversarial patterns that generalise across diverse jailbreak objectives. This combination of vision-level regularisation and semantically guided textual supervision mitigates surrogate overfitting and enables strong transferability across both models and attack targets. Extensive experiments show that UltraBreak consistently outperforms prior jailbreak methods. Further analysis reveals why earlier approaches fail to transfer, highlighting that smoothing the loss landscape via semantic objectives is crucial for enabling universal and transferable jailbreaks. The code is publicly available in our \\href{https://github.com/kaiyuanCui/UltraBreak}{GitHub repository}.", "date": "2026-02-01", "categories": []} {"id": "2602.01369", "title": "Exposing and Defending the Achilles' Heel of Video Mixture-of-Experts", "abstract": "Mixture-of-Experts (MoE) has demonstrated strong performance in video understanding tasks, yet its adversarial robustness remains underexplored. Existing attack methods often treat MoE as a unified architecture, overlooking the independent and collaborative weaknesses of key components such as routers and expert modules. To fill this gap, we propose Temporal Lipschitz-Guided Attacks (TLGA) to thoroughly investigate component-level vulnerabilities in video MoE models. We first design attacks on the router, revealing its independent weaknesses. Building on this, we introduce Joint Temporal Lipschitz-Guided Attacks (J-TLGA), which collaboratively perturb both routers and experts. This joint attack significantly amplifies adversarial effects and exposes the Achilles' Heel (collaborative weaknesses) of the MoE architecture. Based on these insights, we further propose Joint Temporal Lipschitz Adversarial Training (J-TLAT). J-TLAT performs joint training to further defend against collaborative weaknesses, enhancing component-wise robustness. Our framework is plug-and-play and reduces inference cost by more than 60% compared with dense models. It consistently enhances adversarial robustness across diverse datasets and architectures, effectively mitigating both the independent and collaborative weaknesses of MoE.", "date": "2026-02-01", "categories": []} {"id": "2602.01582", "title": "On the Fragility of AI-Based Channel Decoders under Small Channel Perturbations", "abstract": "Recent advances in deep learning have led to AI-based error correction decoders that report empirical performance improvements over traditional belief-propagation (BP) decoding on AWGN channels. While such gains are promising, a fundamental question remains: where do these improvements come from, and what cost is paid to achieve them? In this work, we study this question through the lens of robustness to distributional shifts at the channel output. We evaluate both input-dependent adversarial perturbations (FGM and projected gradient methods under $\\ell_2$ constraints) and universal adversarial perturbations that apply a single norm-bounded shift to all received vectors. Our results show that recent AI decoders, including ECCT and CrossMPT, could suffer significant performance degradation under such perturbations, despite superior nominal performance under i.i.d. AWGN. Moreover, adversarial perturbations transfer relatively strongly between AI decoders but weakly to BP-based decoders, and universal perturbations are substantially more harmful than random perturbations of equal norm. These numerical findings suggest a potential robustness cost and higher sensitivity to channel distribution underlying recent AI decoding gains.", "date": "2026-02-02", "categories": []} {"id": "2509.15437", "title": "Impact of Phonetics on Speaker Identity in Adversarial Voice Attack", "abstract": "Adversarial perturbations in speech pose a serious threat to automatic speech recognition (ASR) and speaker verification by introducing subtle waveform modifications that remain imperceptible to humans but can significantly alter system outputs. While targeted attacks on end-to-end ASR models have been widely studied, the phonetic basis of these perturbations and their effect on speaker identity remain underexplored. In this work, we analyze adversarial audio at the phonetic level and show that perturbations exploit systematic confusions such as vowel centralization and consonant substitutions. These distortions not only mislead transcription but also degrade phonetic cues critical for speaker verification, leading to identity drift. Using DeepSpeech as our ASR target, we generate targeted adversarial examples and evaluate their impact on speaker embeddings across genuine and impostor samples. Results across 16 phonetically diverse target phrases demonstrate that adversarial audio induces both transcription errors and identity drift, highlighting the need for phonetic-aware defenses to ensure the robustness of ASR and speaker recognition systems.", "date": "2025-09-18", "categories": []} {"id": "2511.07888", "title": "Breaking the Adversarial Robustness-Performance Trade-off in Text Classification via Manifold Purification", "abstract": "A persistent challenge in text classification (TC) is that enhancing model robustness against adversarial attacks typically degrades performance on clean data. We argue that this challenge can be resolved by modeling the distribution of clean samples in the encoder embedding manifold. To this end, we propose the Manifold-Correcting Causal Flow (MC^2F), a two-module system that operates directly on sentence embeddings. A Stratified Riemannian Continuous Normalizing Flow (SR-CNF) learns the density of the clean data manifold. It identifies out-of-distribution embeddings, which are then corrected by a Geodesic Purification Solver. This solver projects adversarial points back onto the learned manifold via the shortest path, restoring a clean, semantically coherent representation. We conducted extensive evaluations on text classification (TC) across three datasets and multiple adversarial attacks. The results demonstrate that our method, MC^2F, not only establishes a new state-of-the-art in adversarial robustness but also fully preserves performance on clean data, even yielding modest gains in accuracy.", "date": "2025-11-11", "categories": []} {"id": "2512.20712", "title": "Real-World Adversarial Attacks on RF-Based Drone Detectors", "abstract": "Radio frequency (RF) based systems are increasingly used to detect drones by analyzing their RF signal patterns, converting them into spectrogram images which are processed by object detection models. Existing RF attacks against image based models alter digital features, making over-the-air (OTA) implementation difficult due to the challenge of converting digital perturbations to transmittable waveforms that may introduce synchronization errors and interference, and encounter hardware limitations. We present the first physical attack on RF image based drone detectors, optimizing class-specific universal complex baseband (I/Q) perturbation waveforms that are transmitted alongside legitimate communications. We evaluated the attack using RF recordings and OTA experiments with four types of drones. Our results show that modest, structured I/Q perturbations are compatible with standard RF chains and reliably reduce target drone detection while preserving detection of legitimate drones.", "date": "2025-12-23", "categories": []} {"id": "2601.22744", "title": "Beauty and the Beast: Imperceptible Perturbations Against Diffusion-Based Face Swapping via Directional Attribute Editing", "abstract": "Diffusion-based face swapping achieves state-of-the-art performance, yet it also exacerbates the potential harm of malicious face swapping to violate portraiture right or undermine personal reputation. This has spurred the development of proactive defense methods. However, existing approaches face a core trade-off: large perturbations distort facial structures, while small ones weaken protection effectiveness. To address these issues, we propose FaceDefense, an enhanced proactive defense framework against diffusion-based face swapping. Our method introduces a new diffusion loss to strengthen the defensive efficacy of adversarial examples, and employs a directional facial attribute editing to restore perturbation-induced distortions, thereby enhancing visual imperceptibility. A two-phase alternating optimization strategy is designed to generate final perturbed face images. Extensive experiments show that FaceDefense significantly outperforms existing methods in both imperceptibility and defense effectiveness, achieving a superior trade-off.", "date": "2026-01-30", "categories": []} {"id": "2601.23102", "title": "Rethinking Transferable Adversarial Attacks on Point Clouds from a Compact Subspace Perspective", "abstract": "Transferable adversarial attacks on point clouds remain challenging, as existing methods often rely on model-specific gradients or heuristics that limit generalization to unseen architectures. In this paper, we rethink adversarial transferability from a compact subspace perspective and propose CoSA, a transferable attack framework that operates within a shared low-dimensional semantic space. Specifically, each point cloud is represented as a compact combination of class-specific prototypes that capture shared semantic structure, while adversarial perturbations are optimized within a low-rank subspace to induce coherent and architecture-agnostic variations. This design suppresses model-dependent noise and constrains perturbations to semantically meaningful directions, thereby improving cross-model transferability without relying on surrogate-specific artifacts. Extensive experiments on multiple datasets and network architectures demonstrate that CoSA consistently outperforms state-of-the-art transferable attacks, while maintaining competitive imperceptibility and robustness under common defense strategies. Codes will be made public upon paper acceptance.", "date": "2026-01-30", "categories": []} {"id": "2508.11667", "title": "Guided Perturbation Sensitivity (GPS): Detecting Adversarial Text via Embedding Stability and Word Importance", "abstract": "Adversarial text attacks remain a persistent threat to transformer models, yet existing defenses are typically attack-specific or require costly model retraining, leaving a gap for attack-agnostic detection. We introduce Guided Perturbation Sensitivity (GPS), a detection framework that identifies adversarial examples by measuring how embedding representations change when important words are masked. GPS first ranks words using importance heuristics, then measures embedding sensitivity to masking top-k critical words, and processes the resulting patterns with a BiLSTM detector. Experiments show that adversarially perturbed words exhibit disproportionately high masking sensitivity compared to naturally important words. Across three datasets, three attack types, and two victim models, GPS achieves over 85% detection accuracy and demonstrates competitive performance compared to existing state-of-the-art methods, often at lower computational cost. Using Normalized Discounted Cumulative Gain (NDCG) to measure perturbation identification quality, we demonstrate that gradient-based ranking significantly outperforms attention, hybrid, and random selection approaches, with identification quality strongly correlating with detection performance for word-level attacks ($\\rho = 0.65$). GPS generalizes to unseen datasets, attacks, and models without retraining, providing a practical solution for adversarial text detection.", "date": "2025-08-06", "categories": []} {"id": "2510.02422", "title": "Dynamic Target Attack", "abstract": "Existing gradient-based jailbreak attacks typically optimize an adversarial suffix to induce a fixed affirmative response, e.g., ``Sure, here is...''. However, this fixed target usually resides in an extremely low-density region of a safety-aligned LLM's output distribution. Due to the substantial discrepancy between the fixed target and the output distribution, existing attacks require numerous iterations to optimize the adversarial prompt, which might still fail to induce the low-probability target response. To address this limitation, we propose Dynamic Target Attack (DTA), which leverages the target LLM's own responses as adaptive targets. In each optimization round, DTA samples multiple candidates from the output distribution conditioned on the current prompt, and selects the most harmful one as a temporary target for prompt optimization. Extensive experiments demonstrate that, under the white-box setting, DTA achieves over 87% average attack success rate (ASR) within 200 optimization iterations on recent safety-aligned LLMs, exceeding the state-of-the-art baselines by over 15% and reducing wall-clock time by 2-26x. Under the black-box setting, DTA employs a white-box LLM as a surrogate model for gradient-based optimization, achieving an average ASR of 77.5% against black-box models, exceeding prior transfer-based attacks by over 12%.", "date": "2025-10-02", "categories": []} {"id": "2601.07118", "title": "Reward-Preserving Attacks For Robust Reinforcement Learning", "abstract": "Adversarial training in reinforcement learning (RL) is challenging because perturbations cascade through trajectories and compound over time, making fixed-strength attacks either overly destructive or too conservative. We propose reward-preserving attacks, which adapt adversarial strength so that an $\\alpha$ fraction of the nominal-to-worst-case return gap remains achievable at each state. In deep RL, perturbation magnitudes $\\eta$ are selected dynamically, using a learned critic $Q((s,a),\\eta)$ that estimates the expected return of $\\alpha$-reward-preserving rollouts. For intermediate values of $\\alpha$, this adaptive training yields policies that are robust across a wide range of perturbation magnitudes while preserving nominal performance, outperforming fixed-radius and uniformly sampled-radius adversarial training.", "date": "2026-01-12", "categories": []} {"id": "2601.21220", "title": "LAMP: Learning Universal Adversarial Perturbations for Multi-Image Tasks via Pre-trained Models", "abstract": "Multimodal Large Language Models (MLLMs) have achieved remarkable performance across vision-language tasks. Recent advancements allow these models to process multiple images as inputs. However, the vulnerabilities of multi-image MLLMs remain unexplored. Existing adversarial attacks focus on single-image settings and often assume a white-box threat model, which is impractical in many real-world scenarios. This paper introduces LAMP, a black-box method for learning Universal Adversarial Perturbations (UAPs) targeting multi-image MLLMs. LAMP applies an attention-based constraint that prevents the model from effectively aggregating information across images. LAMP also introduces a novel cross-image contagious constraint that forces perturbed tokens to influence clean tokens, spreading adversarial effects without requiring all inputs to be modified. Additionally, an index-attention suppression loss enables a robust position-invariant attack. Experimental results show that LAMP outperforms SOTA baselines and achieves the highest attack success rates across multiple vision-language tasks and models.", "date": "2026-01-29", "categories": []} {"id": "2601.21323", "title": "Adversarial Vulnerability Transcends Computational Paradigms: Feature Engineering Provides No Defense Against Neural Adversarial Transfer", "abstract": "Deep neural networks are vulnerable to adversarial examples--inputs with imperceptible perturbations causing misclassification. While adversarial transfer within neural networks is well-documented, whether classical ML pipelines using handcrafted features inherit this vulnerability when attacked via neural surrogates remains unexplored. Feature engineering creates information bottlenecks through gradient quantization and spatial binning, potentially filtering high-frequency adversarial signals. We evaluate this hypothesis through the first comprehensive study of adversarial transfer from DNNs to HOG-based classifiers. Using VGG16 as a surrogate, we generate FGSM and PGD adversarial examples and test transfer to four classical classifiers (KNN, Decision Tree, Linear SVM, Kernel SVM) and a shallow neural network across eight HOG configurations on CIFAR-10. Our results strongly refute the protective hypothesis: all classifiers suffer 16.6%-59.1% relative accuracy drops, comparable to neural-to-neural transfer. More surprisingly, we discover attack hierarchy reversal--contrary to patterns where iterative PGD dominates FGSM within neural networks, FGSM causes greater degradation than PGD in 100% of classical ML cases, suggesting iterative attacks overfit to surrogate-specific features that don't survive feature extraction. Block normalization provides partial but insufficient mitigation. These findings demonstrate that adversarial vulnerability is not an artifact of end-to-end differentiability but a fundamental property of image classification systems, with implications for security-critical deployments across computational paradigms.", "date": "2026-01-29", "categories": []} {"id": "2508.08920", "title": "Exploring Cross-Stage Adversarial Transferability in Class-Incremental Continual Learning", "abstract": "Class-incremental continual learning addresses catastrophic forgetting by enabling classification models to preserve knowledge of previously learned classes while acquiring new ones. However, the vulnerability of the models against adversarial attacks during this process has not been investigated sufficiently. In this paper, we present the first exploration of vulnerability to stage-transferred attacks, i.e., an adversarial example generated using the model in an earlier stage is used to attack the model in a later stage. Our findings reveal that continual learning methods are highly susceptible to these attacks, raising a serious security issue. We explain this phenomenon through model similarity between stages and gradual robustness degradation. Additionally, we find that existing adversarial training-based defense methods are not sufficiently effective to stage-transferred attacks. Codes are available at https://github.com/mcml-official/CSAT.", "date": "2025-08-12", "categories": []} {"id": "2601.20283", "title": "One Word is Enough: Minimal Adversarial Perturbations for Neural Text Ranking", "abstract": "Neural ranking models (NRMs) achieve strong retrieval effectiveness, yet prior work has shown they are vulnerable to adversarial perturbations. We revisit this robustness question with a minimal, query-aware attack that promotes a target document by inserting or substituting a single, semantically aligned word - the query center. We study heuristic and gradient-guided variants, including a white-box method that identifies influential insertion points. On TREC-DL 2019/2020 with BERT and monoT5 re-rankers, our single-word attacks achieve up to 91% success while modifying fewer than two tokens per document on average, achieving competitive rank and score boosts with far fewer edits under a comparable white-box setup to ensure fair evaluation against PRADA. We also introduce new diagnostic metrics to analyze attack sensitivity beyond aggregate success rates. Our analysis reveals a Goldilocks zone in which mid-ranked documents are most vulnerable. These findings demonstrate practical risks and motivate future defenses for robust neural ranking.", "date": "2026-01-28", "categories": []} {"id": "2503.10809", "title": "MIP against Agent: Malicious Image Patches Hijacking Multimodal OS Agents", "abstract": "Recent advances in operating system (OS) agents have enabled vision-language models (VLMs) to directly control a user's computer. Unlike conventional VLMs that passively output text, OS agents autonomously perform computer-based tasks in response to a single user prompt. OS agents do so by capturing, parsing, and analysing screenshots and executing low-level actions via application programming interfaces (APIs), such as mouse clicks and keyboard inputs. This direct interaction with the OS significantly raises the stakes, as failures or manipulations can have immediate and tangible consequences. In this work, we uncover a novel attack vector against these OS agents: Malicious Image Patches (MIPs), adversarially perturbed screen regions that, when captured by an OS agent, induce it to perform harmful actions by exploiting specific APIs. For instance, a MIP can be embedded in a desktop wallpaper or shared on social media to cause an OS agent to exfiltrate sensitive user data. We show that MIPs generalise across user prompts and screen configurations, and that they can hijack multiple OS agents even during the execution of benign instructions. These findings expose critical security vulnerabilities in OS agents that have to be carefully addressed before their widespread deployment.", "date": "2025-03-13", "categories": []} {"id": "2601.14519", "title": "How Worst-Case Are Adversarial Attacks? Linking Adversarial and Perturbation Robustness", "abstract": "Adversarial attacks are widely used to identify model vulnerabilities; however, their validity as proxies for robustness to random perturbations remains debated. We ask whether an adversarial example provides a representative estimate of misprediction risk under stochastic perturbations of the same magnitude, or instead reflects an atypical worst-case event. To address this question, we introduce a probabilistic analysis that quantifies this risk with respect to directionally biased perturbation distributions, parameterized by a concentration factor $\\kappa$ that interpolates between isotropic noise and adversarial directions. Building on this, we study the limits of this connection by proposing an attack strategy designed to probe vulnerabilities in regimes that are statistically closer to uniform noise. Experiments on ImageNet and CIFAR-10 systematically benchmark multiple attacks, revealing when adversarial success meaningfully reflects robustness to perturbations and when it does not, thereby informing their use in safety-oriented robustness evaluation.", "date": "2026-01-20", "categories": []} {"id": "2601.18386", "title": "ARMOR: Agentic Reasoning for Methods Orchestration and Reparameterization for Robust Adversarial Attacks", "abstract": "Existing automated attack suites operate as static ensembles with fixed sequences, lacking strategic adaptation and semantic awareness. This paper introduces the Agentic Reasoning for Methods Orchestration and Reparameterization (ARMOR) framework to address these limitations. ARMOR orchestrates three canonical adversarial primitives, Carlini-Wagner (CW), Jacobian-based Saliency Map Attack (JSMA), and Spatially Transformed Attacks (STA) via Vision Language Models (VLM)-guided agents that collaboratively generate and synthesize perturbations through a shared ``Mixing Desk\". Large Language Models (LLMs) adaptively tune and reparameterize parallel attack agents in a real-time, closed-loop system that exploits image-specific semantic vulnerabilities. On standard benchmarks, ARMOR achieves improved cross-architecture transfer and reliably fools both settings, delivering a blended output for blind targets and selecting the best attack or blended attacks for white-box targets using a confidence-and-SSIM score.", "date": "2026-01-26", "categories": []} {"id": "2601.18513", "title": "LipNeXt: Scaling up Lipschitz-based Certified Robustness to Billion-parameter Models", "abstract": "Lipschitz-based certification offers efficient, deterministic robustness guarantees but has struggled to scale in model size, training efficiency, and ImageNet performance. We introduce \\emph{LipNeXt}, the first \\emph{constraint-free} and \\emph{convolution-free} 1-Lipschitz architecture for certified robustness. LipNeXt is built using two techniques: (1) a manifold optimization procedure that updates parameters directly on the orthogonal manifold and (2) a \\emph{Spatial Shift Module} to model spatial pattern without convolutions. The full network uses orthogonal projections, spatial shifts, a simple 1-Lipschitz $\\beta$-Abs nonlinearity, and $L_2$ spatial pooling to maintain tight Lipschitz control while enabling expressive feature mixing. Across CIFAR-10/100 and Tiny-ImageNet, LipNeXt achieves state-of-the-art clean and certified robust accuracy (CRA), and on ImageNet it scales to 1-2B large models, improving CRA over prior Lipschitz models (e.g., up to $+8\\%$ at $\\varepsilon{=}1$) while retaining efficient, stable low-precision training. These results demonstrate that Lipschitz-based certification can benefit from modern scaling trends without sacrificing determinism or efficiency.", "date": "2026-01-26", "categories": []} {"id": "2505.16004", "title": "Evaluating Adversarial Robustness of Concept Representations in Sparse Autoencoders", "abstract": "Sparse autoencoders (SAEs) are commonly used to interpret the internal activations of large language models (LLMs) by mapping them to human-interpretable concept representations. While existing evaluations of SAEs focus on metrics such as the reconstruction-sparsity tradeoff, human (auto-)interpretability, and feature disentanglement, they overlook a critical aspect: the robustness of concept representations to input perturbations. We argue that robustness must be a fundamental consideration for concept representations, reflecting the fidelity of concept labeling. To this end, we formulate robustness quantification as input-space optimization problems and develop a comprehensive evaluation framework featuring realistic scenarios in which adversarial perturbations are crafted to manipulate SAE representations. Empirically, we find that tiny adversarial input perturbations can effectively manipulate concept-based interpretations in most scenarios without notably affecting the base LLM's activations. Overall, our results suggest that SAE concept representations are fragile and without further denoising or postprocessing they might be ill-suited for applications in model monitoring and oversight.", "date": "2025-05-21", "categories": []} {"id": "2512.10492", "title": "UACER: An Uncertainty-Adaptive Critic Ensemble Framework for Robust Adversarial Reinforcement Learning", "abstract": "Robust adversarial reinforcement learning has emerged as an effective paradigm for training agents to handle uncertain disturbance in real environments, with critical applications in sequential decision-making domains such as autonomous driving and robotic control. Within this paradigm, agent training is typically formulated as a zero-sum Markov game between a protagonist and an adversary to enhance policy robustness. However, the trainable nature of the adversary inevitably induces non-stationarity in the learning dynamics, leading to exacerbated training instability and convergence difficulties, particularly in high-dimensional complex environments. In this paper, we propose a novel approach, Uncertainty-Adaptive Critic Ensemble for robust adversarial Reinforcement learning (UACER), which consists of two components: 1) Diversified critic ensemble: A diverse set of K critic networks is employed in parallel to stabilize Q-value estimation in robust adversarial reinforcement learning, reducing variance and enhancing robustness compared to conventional single-critic designs. 2) Time-varying Decay Uncertainty (TDU) mechanism: Moving beyond simple linear combinations, we propose a variance-derived Q-value aggregation strategy that explicitly incorporates epistemic uncertainty to adaptively regulate the exploration-exploitation trade-off while stabilizing the training process. Comprehensive experiments across several challenging MuJoCo control problems validate the superior effectiveness of UACER, outperforming state-of-the-art methods in terms of overall performance, stability, and efficiency.", "date": "2025-12-11", "categories": []} {"id": "2601.16231", "title": "SoundBreak: A Systematic Study of Audio-Only Adversarial Attacks on Trimodal Models", "abstract": "Multimodal foundation models that integrate audio, vision, and language achieve strong performance on reasoning and generation tasks, yet their robustness to adversarial manipulation remains poorly understood. We study a realistic and underexplored threat model: untargeted, audio-only adversarial attacks on trimodal audio-video-language models. We analyze six complementary attack objectives that target different stages of multimodal processing, including audio encoder representations, cross-modal attention, hidden states, and output likelihoods. Across three state-of-the-art models and multiple benchmarks, we show that audio-only perturbations can induce severe multimodal failures, achieving up to 96% attack success rate. We further show that attacks can be successful at low perceptual distortions (LPIPS <= 0.08, SI-SNR >= 0) and benefit more from extended optimization than increased data scale. Transferability across models and encoders remains limited, while speech recognition systems such as Whisper primarily respond to perturbation magnitude, achieving >97% attack success under severe distortion. These results expose a previously overlooked single-modality attack surface in multimodal systems and motivate defenses that enforce cross-modal consistency.", "date": "2026-01-20", "categories": []} {"id": "2601.16464", "title": "On the Effects of Adversarial Perturbations on Distribution Robustness", "abstract": "Adversarial robustness refers to a model's ability to resist perturbation of inputs, while distribution robustness evaluates the performance of the model under data shifts. Although both aim to ensure reliable performance, prior work has revealed a tradeoff in distribution and adversarial robustness. Specifically, adversarial training might increase reliance on spurious features, which can harm distribution robustness, especially the performance on some underrepresented subgroups. We present a theoretical analysis of adversarial and distribution robustness that provides a tractable surrogate for per-step adversarial training by studying models trained on perturbed data. In addition to the tradeoff, our work further identified a nuanced phenomenon that $\\ell_\\infty$ perturbations on data with moderate bias can yield an increase in distribution robustness. Moreover, the gain in distribution robustness remains on highly skewed data when simplicity bias induces reliance on the core feature, characterized as greater feature separability. Our theoretical analysis extends the understanding of the tradeoff by highlighting the interplay of the tradeoff and the feature separability. Despite the tradeoff that persists in many cases, overlooking the role of feature separability may lead to misleading conclusions about robustness.", "date": "2026-01-23", "categories": []} {"id": "2601.16890", "title": "LLM-Based Adversarial Persuasion Attacks on Fact-Checking Systems", "abstract": "Automated fact-checking (AFC) systems are susceptible to adversarial attacks, enabling false claims to evade detection. Existing adversarial frameworks typically rely on injecting noise or altering semantics, yet no existing framework exploits the adversarial potential of persuasion techniques, which are widely used in disinformation campaigns to manipulate audiences. In this paper, we introduce a novel class of persuasive adversarial attacks on AFCs by employing a generative LLM to rephrase claims using persuasion techniques. Considering 15 techniques grouped into 6 categories, we study the effects of persuasion on both claim verification and evidence retrieval using a decoupled evaluation strategy. Experiments on the FEVER and FEVEROUS benchmarks show that persuasion attacks can substantially degrade both verification performance and evidence retrieval. Our analysis identifies persuasion techniques as a potent class of adversarial attacks, highlighting the need for more robust AFC systems.", "date": "2026-01-23", "categories": []} {"id": "2601.01747", "title": "Crafting Adversarial Inputs for Large Vision-Language Models Using Black-Box Optimization", "abstract": "Recent advancements in Large Vision-Language Models (LVLMs) have shown groundbreaking capabilities across diverse multimodal tasks. However, these models remain vulnerable to adversarial jailbreak attacks, where adversaries craft subtle perturbations to bypass safety mechanisms and trigger harmful outputs. Existing white-box attacks methods require full model accessibility, suffer from computing costs and exhibit insufficient adversarial transferability, making them impractical for real-world, black-box settings. To address these limitations, we propose a black-box jailbreak attack on LVLMs via Zeroth-Order optimization using Simultaneous Perturbation Stochastic Approximation (ZO-SPSA). ZO-SPSA provides three key advantages: (i) gradient-free approximation by input-output interactions without requiring model knowledge, (ii) model-agnostic optimization without the surrogate model and (iii) lower resource requirements with reduced GPU memory consumption. We evaluate ZO-SPSA on three LVLMs, including InstructBLIP, LLaVA and MiniGPT-4, achieving the highest jailbreak success rate of 83.0% on InstructBLIP, while maintaining imperceptible perturbations comparable to white-box methods. Moreover, adversarial examples generated from MiniGPT-4 exhibit strong transferability to other LVLMs, with ASR reaching 64.18%. These findings underscore the real-world feasibility of black-box jailbreaks and expose critical weaknesses in the safety mechanisms of current LVLMs", "date": "2026-01-05", "categories": []} {"id": "2601.15331", "title": "RECAP: A Resource-Efficient Method for Adversarial Prompting in Large Language Models", "abstract": "The deployment of large language models (LLMs) has raised security concerns due to their susceptibility to producing harmful or policy-violating outputs when exposed to adversarial prompts. While alignment and guardrails mitigate common misuse, they remain vulnerable to automated jailbreaking methods such as GCG, PEZ, and GBDA, which generate adversarial suffixes via training and gradient-based search. Although effective, these methods particularly GCG are computationally expensive, limiting their practicality for organisations with constrained resources. This paper introduces a resource-efficient adversarial prompting approach that eliminates the need for retraining by matching new prompts to a database of pre-trained adversarial prompts. A dataset of 1,000 prompts was classified into seven harm-related categories, and GCG, PEZ, and GBDA were evaluated on a Llama 3 8B model to identify the most effective attack method per category. Results reveal a correlation between prompt type and algorithm effectiveness. By retrieving semantically similar successful adversarial prompts, the proposed method achieves competitive attack success rates with significantly reduced computational cost. This work provides a practical framework for scalable red-teaming and security evaluation of aligned LLMs, including in settings where model internals are inaccessible.", "date": "2026-01-20", "categories": []} {"id": "2601.16070", "title": "On damage of interpolation to adversarial robustness in regression", "abstract": "Deep neural networks (DNNs) typically involve a large number of parameters and are trained to achieve zero or near-zero training error. Despite such interpolation, they often exhibit strong generalization performance on unseen data, a phenomenon that has motivated extensive theoretical investigations. Comforting results show that interpolation indeed may not affect the minimax rate of convergence under the squared error loss. In the mean time, DNNs are well known to be highly vulnerable to adversarial perturbations in future inputs. A natural question then arises: Can interpolation also escape from suboptimal performance under a future $X$-attack? In this paper, we investigate the adversarial robustness of interpolating estimators in a framework of nonparametric regression. A finding is that interpolating estimators must be suboptimal even under a subtle future $X$-attack, and achieving perfect fitting can substantially damage their robustness. An interesting phenomenon in the high interpolation regime, which we term the curse of simple size, is also revealed and discussed. Numerical experiments support our theoretical findings.", "date": "2026-01-22", "categories": []} {"id": "2410.08864", "title": "The Good, the Bad and the Ugly: Meta-Analysis of Watermarks, Transferable Attacks and Adversarial Defenses", "abstract": "We formalize and analyze the trade-off between backdoor-based watermarks and adversarial defenses, framing it as an interactive protocol between a verifier and a prover. While previous works have primarily focused on this trade-off, our analysis extends it by identifying transferable attacks as a third, counterintuitive, but necessary option. Our main result shows that for all learning tasks, at least one of the three exists: a watermark, an adversarial defense, or a transferable attack. By transferable attack, we refer to an efficient algorithm that generates queries indistinguishable from the data distribution and capable of fooling all efficient defenders. Using cryptographic techniques, specifically fully homomorphic encryption, we construct a transferable attack and prove its necessity in this trade-off. Finally, we show that tasks of bounded VC-dimension allow adversarial defenses against all attackers, while a subclass allows watermarks secure against fast adversaries.", "date": "2024-10-11", "categories": []} {"id": "2601.14266", "title": "GCG Attack On A Diffusion LLM", "abstract": "While most LLMs are autoregressive, diffusion-based LLMs have recently emerged as an alternative method for generation. Greedy Coordinate Gradient (GCG) attacks have proven effective against autoregressive models, but their applicability to diffusion language models remains largely unexplored. In this work, we present an exploratory study of GCG-style adversarial prompt attacks on LLaDA (Large Language Diffusion with mAsking), an open-source diffusion LLM. We evaluate multiple attack variants, including prefix perturbations and suffix-based adversarial generation, on harmful prompts drawn from the AdvBench dataset. Our study provides initial insights into the robustness and attack surface of diffusion language models and motivates the development of alternative optimization and evaluation strategies for adversarial analysis in this setting.", "date": "2025-12-30", "categories": []} {"id": "2601.14302", "title": "DDSA: Dual-Domain Strategic Attack for Spatial-Temporal Efficiency in Adversarial Robustness Testing", "abstract": "Image transmission and processing systems in resource-critical applications face significant challenges from adversarial perturbations that compromise mission-specific object classification. Current robustness testing methods require excessive computational resources through exhaustive frame-by-frame processing and full-image perturbations, proving impractical for large-scale deployments where massive image streams demand immediate processing. This paper presents DDSA (Dual-Domain Strategic Attack), a resource-efficient adversarial robustness testing framework that optimizes testing through temporal selectivity and spatial precision. We introduce a scenario-aware trigger function that identifies critical frames requiring robustness evaluation based on class priority and model uncertainty, and employ explainable AI techniques to locate influential pixel regions for targeted perturbation. Our dual-domain approach achieves substantial temporal-spatial resource conservation while maintaining attack effectiveness. The framework enables practical deployment of comprehensive adversarial robustness testing in resource-constrained real-time applications where computational efficiency directly impacts mission success.", "date": "2026-01-18", "categories": []} {"id": "2601.14950", "title": "Erosion Attack for Adversarial Training to Enhance Semantic Segmentation Robustness", "abstract": "Existing segmentation models exhibit significant vulnerability to adversarial attacks.To improve robustness, adversarial training incorporates adversarial examples into model training. However, existing attack methods consider only global semantic information and ignore contextual semantic relationships within the samples, limiting the effectiveness of adversarial training. To address this issue, we propose EroSeg-AT, a vulnerability-aware adversarial training framework that leverages EroSeg to generate adversarial examples. EroSeg first selects sensitive pixels based on pixel-level confidence and then progressively propagates perturbations to higher-confidence pixels, effectively disrupting the semantic consistency of the samples. Experimental results show that, compared to existing methods, our approach significantly improves attack effectiveness and enhances model robustness under adversarial training.", "date": "2026-01-21", "categories": []} {"id": "2411.00839", "title": "CausAdv: A Causal-based Framework for Detecting Adversarial Examples", "abstract": "Deep learning has led to tremendous success in computer vision, largely due to Convolutional Neural Networks (CNNs). However, CNNs have been shown to be vulnerable to crafted adversarial perturbations. This vulnerability of adversarial examples has has motivated research into improving model robustness through adversarial detection and defense methods. In this paper, we address the adversarial robustness of CNNs through causal reasoning. We propose CausAdv: a causal framework for detecting adversarial examples based on counterfactual reasoning. CausAdv learns both causal and non-causal features of every input, and quantifies the counterfactual information (CI) of every filter of the last convolutional layer. We then perform a statistical analysis of the filters' CI across clean and adversarial samples, to demonstrate that adversarial examples exhibit different CI distributions compared to clean samples. Our results show that causal reasoning enhances the process of adversarial detection without the need to train a separate detector. Moreover, we illustrate the efficiency of causal explanations as a helpful detection tool by visualizing the extracted causal features.", "date": "2024-10-29", "categories": []} {"id": "2504.15047", "title": "RainbowPlus: Enhancing Adversarial Prompt Generation via Evolutionary Quality-Diversity Search", "abstract": "Large Language Models (LLMs) exhibit remarkable capabilities but are susceptible to adversarial prompts that exploit vulnerabilities to produce unsafe or biased outputs. Existing red-teaming methods often face scalability challenges, resource-intensive requirements, or limited diversity in attack strategies. We propose RainbowPlus, a novel red-teaming framework rooted in evolutionary computation, enhancing adversarial prompt generation through an adaptive quality-diversity (QD) search that extends classical evolutionary algorithms like MAP-Elites with innovations tailored for language models. By employing a multi-element archive to store diverse high-quality prompts and a comprehensive fitness function to evaluate multiple prompts concurrently, RainbowPlus overcomes the constraints of single-prompt archives and pairwise comparisons in prior QD methods like Rainbow Teaming. Experiments comparing RainbowPlus to QD methods across six benchmark datasets and four open-source LLMs demonstrate superior attack success rate (ASR) and diversity (Diverse-Score $\\approx 0.84$), generating up to 100 times more unique prompts (e.g., 10,418 vs. 100 for Ministral-8B-Instruct-2410). Against nine state-of-the-art methods on the HarmBench dataset with twelve LLMs (ten open-source, two closed-source), RainbowPlus achieves an average ASR of 81.1%, surpassing AutoDAN-Turbo by 3.9%, and is 9 times faster (1.45 vs. 13.50 hours). Our open-source implementation fosters further advancements in LLM safety, offering a scalable tool for vulnerability assessment. Code and resources are publicly available at https://github.com/knoveleng/rainbowplus, supporting reproducibility and future research in LLM red-teaming.", "date": "2025-04-21", "categories": []} {"id": "2509.12939", "title": "Sy-FAR: Symmetry-based Fair Adversarial Robustness", "abstract": "Security-critical machine-learning (ML) systems, such as face-recognition systems, are susceptible to adversarial examples, including real-world physically realizable attacks. Various means to boost ML's adversarial robustness have been proposed; however, they typically induce unfair robustness: It is often easier to attack from certain classes or groups than from others. Several techniques have been developed to improve adversarial robustness while seeking perfect fairness between classes. Yet, prior work has focused on settings where security and fairness are less critical. Our insight is that achieving perfect parity in realistic fairness-critical tasks, such as face recognition, is often infeasible -- some classes may be highly similar, leading to more misclassifications between them. Instead, we suggest that seeking symmetry -- i.e., attacks from class $i$ to $j$ would be as successful as from $j$ to $i$ -- is more tractable. Intuitively, symmetry is a desirable because class resemblance is a symmetric relation in most domains. Additionally, as we prove theoretically, symmetry between individuals induces symmetry between any set of sub-groups, in contrast to other fairness notions where group-fairness is often elusive. We develop Sy-FAR, a technique to encourage symmetry while also optimizing adversarial robustness and extensively evaluate it using five datasets, with three model architectures, including against targeted and untargeted realistic attacks. The results show Sy-FAR significantly improves fair adversarial robustness compared to state-of-the-art methods. Moreover, we find that Sy-FAR is faster and more consistent across runs. Notably, Sy-FAR also ameliorates another type of unfairness we discover in this work -- target classes that adversarial examples are likely to be classified into become significantly less vulnerable after inducing symmetry.", "date": "2025-09-16", "categories": []} {"id": "2601.12304", "title": "A Two-Stage Globally-Diverse Adversarial Attack for Vision-Language Pre-training Models", "abstract": "Vision-language pre-training (VLP) models are vulnerable to adversarial examples, particularly in black-box scenarios. Existing multimodal attacks often suffer from limited perturbation diversity and unstable multi-stage pipelines. To address these challenges, we propose 2S-GDA, a two-stage globally-diverse attack framework. The proposed method first introduces textual perturbations through a globally-diverse strategy by combining candidate text expansion with globally-aware replacement. To enhance visual diversity, image-level perturbations are generated using multi-scale resizing and block-shuffle rotation. Extensive experiments on VLP models demonstrate that 2S-GDA consistently improves attack success rates over state-of-the-art methods, with gains of up to 11.17\\% in black-box settings. Our framework is modular and can be easily combined with existing methods to further enhance adversarial transferability.", "date": "2026-01-18", "categories": []} {"id": "2601.12624", "title": "Towards Robust Universal Perturbation Attacks: A Float-Coded, Penalty-Driven Evolutionary Approach", "abstract": "Universal adversarial perturbations (UAPs) have garnered significant attention due to their ability to undermine deep neural networks across multiple inputs using a single noise pattern. Evolutionary algorithms offer a promising approach to generating such perturbations due to their ability to navigate non-convex, gradient-free landscapes. In this work, we introduce a float-coded, penalty-driven single-objective evolutionary framework for UAP generation that achieves lower visibility perturbations while enhancing attack success rates. Our approach leverages continuous gene representations aligned with contemporary deep learning scales, incorporates dynamic evolutionary operators with adaptive scheduling, and utilizes a modular PyTorch implementation for seamless integration with modern architectures. Additionally, we ensure the universality of the generated perturbations by testing across diverse models and by periodically switching batches to prevent overfitting. Experimental results on the ImageNet dataset demonstrate that our framework consistently produces perturbations with smaller norms, higher misclassification effectiveness, and faster convergence compared to existing evolutionary-based methods. These findings highlight the robustness and scalability of our approach for universal adversarial attacks across various deep learning architectures.", "date": "2026-01-18", "categories": []} {"id": "2601.13162", "title": "NeuroShield: A Neuro-Symbolic Framework for Adversarial Robustness", "abstract": "Adversarial vulnerability and lack of interpretability are critical limitations of deep neural networks, especially in safety-sensitive settings such as autonomous driving. We introduce \\DesignII, a neuro-symbolic framework that integrates symbolic rule supervision into neural networks to enhance both adversarial robustness and explainability. Domain knowledge is encoded as logical constraints over appearance attributes such as shape and color, and enforced through semantic and symbolic logic losses applied during training. Using the GTSRB dataset, we evaluate robustness against FGSM and PGD attacks at a standard $\\ell_\\infty$ perturbation budget of $\\varepsilon = 8/255$. Relative to clean training, standard adversarial training provides modest improvements in robustness ($\\sim$10 percentage points). Conversely, our FGSM-Neuro-Symbolic and PGD-Neuro-Symbolic models achieve substantially larger gains, improving adversarial accuracy by 18.1\\% and 17.35\\% over their corresponding adversarial-training baselines, representing roughly a three-fold larger robustness gain than standard adversarial training provides when both are measured relative to the same clean-training baseline, without reducing clean-sample accuracy. Compared to transformer-based defenses such as LNL-MoEx, which require heavy architectures and extensive data augmentation, our PGD-Neuro-Symbolic variant attains comparable or superior robustness using a ResNet18 backbone trained for 10 epochs. These results show that symbolic reasoning offers an effective path to robust and interpretable AI.", "date": "2026-01-19", "categories": []} {"id": "2601.13238", "title": "A Semantic Decoupling-Based Two-Stage Rainy-Day Attack for Revealing Weather Robustness Deficiencies in Vision-Language Models", "abstract": "Vision-Language Models (VLMs) are trained on image-text pairs collected under canonical visual conditions and achieve strong performance on multimodal tasks. However, their robustness to real-world weather conditions, and the stability of cross-modal semantic alignment under such structured perturbations, remain insufficiently studied. In this paper, we focus on rainy scenarios and introduce the first adversarial framework that exploits realistic weather to attack VLMs, using a two-stage, parameterized perturbation model based on semantic decoupling to analyze rain-induced shifts in decision-making. In Stage 1, we model the global effects of rainfall by applying a low-dimensional global modulation to condition the embedding space and gradually weaken the original semantic decision boundaries. In Stage 2, we introduce structured rain variations by explicitly modeling multi-scale raindrop appearance and rainfall-induced illumination changes, and optimize the resulting non-differentiable weather space to induce stable semantic shifts. Operating in a non-pixel parameter space, our framework generates perturbations that are both physically grounded and interpretable. Experiments across multiple tasks show that even physically plausible, highly constrained weather perturbations can induce substantial semantic misalignment in mainstream VLMs, posing potential safety and reliability risks in real-world deployment. Ablations further confirm that illumination modeling and multi-scale raindrop structures are key drivers of these semantic shifts.", "date": "2026-01-19", "categories": []} {"id": "2601.13645", "title": "Quadratic Upper Bound for Boosting Robustness", "abstract": "Fast adversarial training (FAT) aims to enhance the robustness of models against adversarial attacks with reduced training time, however, FAT often suffers from compromised robustness due to insufficient exploration of adversarial space. In this paper, we develop a loss function to mitigate the problem of degraded robustness under FAT. Specifically, we derive a quadratic upper bound (QUB) on the adversarial training (AT) loss function and propose to utilize the bound with existing FAT methods. Our experimental results show that applying QUB loss to the existing methods yields significant improvement of robustness. Furthermore, using various metrics, we demonstrate that this improvement is likely to result from the smoothened loss landscape of the resulting model.", "date": "2026-01-20", "categories": []} {"id": "2601.13776", "title": "Orthogonium : A Unified, Efficient Library of Orthogonal and 1-Lipschitz Building Blocks", "abstract": "Orthogonal and 1-Lipschitz neural network layers are essential building blocks in robust deep learning architectures, crucial for certified adversarial robustness, stable generative models, and reliable recurrent networks. Despite significant advancements, existing implementations remain fragmented, limited, and computationally demanding. To address these issues, we introduce Orthogonium , a unified, efficient, and comprehensive PyTorch library providing orthogonal and 1-Lipschitz layers. Orthogonium provides access to standard convolution features-including support for strides, dilation, grouping, and transposed-while maintaining strict mathematical guarantees. Its optimized implementations reduce overhead on large scale benchmarks such as ImageNet. Moreover, rigorous testing within the library has uncovered critical errors in existing implementations, emphasizing the importance of standardized and reliable tools. Orthogonium thus significantly lowers adoption barriers, enabling scalable experimentation and integration across diverse applications requiring orthogonality and robust Lipschitz constraints. Orthogonium is available at https://github.com/deel-ai/orthogonium.", "date": "2026-01-20", "categories": []} {"id": "2501.14230", "title": "GreedyPixel: Fine-Grained Black-Box Adversarial Attack Via Greedy Algorithm", "abstract": "Deep neural networks are highly vulnerable to adversarial examples, which are inputs with small, carefully crafted perturbations that cause misclassification -- making adversarial attacks a critical tool for evaluating robustness. Existing black-box methods typically entail a trade-off between precision and flexibility: pixel-sparse attacks (e.g., single- or few-pixel attacks) provide fine-grained control but lack adaptability, whereas patch- or frequency-based attacks improve efficiency or transferability, but at the cost of producing larger and less precise perturbations. We present GreedyPixel, a fine-grained black-box attack method that performs brute-force-style, per-pixel greedy optimization guided by a surrogate-derived priority map and refined by means of query feedback. It evaluates each coordinate directly without any gradient information, guaranteeing monotonic loss reduction and convergence to a coordinate-wise optimum, while also yielding near white-box-level precision and pixel-wise sparsity and perceptual quality. On the CIFAR-10 and ImageNet datasets, spanning convolutional neural networks (CNNs) and Transformer models, GreedyPixel achieved state-of-the-art success rates with visually imperceptible perturbations, effectively bridging the gap between black-box practicality and white-box performance. The implementation is available at https://github.com/azrealwang/greedypixel.", "date": "2025-01-24", "categories": []} {"id": "2601.09806", "title": "Diffusion-Driven Deceptive Patches: Adversarial Manipulation and Forensic Detection in Facial Identity Verification", "abstract": "This work presents an end-to-end pipeline for generating, refining, and evaluating adversarial patches to compromise facial biometric systems, with applications in forensic analysis and security testing. We utilize FGSM to generate adversarial noise targeting an identity classifier and employ a diffusion model with reverse diffusion to enhance imperceptibility through Gaussian smoothing and adaptive brightness correction, thereby facilitating synthetic adversarial patch evasion. The refined patch is applied to facial images to test its ability to evade recognition systems while maintaining natural visual characteristics. A Vision Transformer (ViT)-GPT2 model generates captions to provide a semantic description of a person's identity for adversarial images, supporting forensic interpretation and documentation for identity evasion and recognition attacks. The pipeline evaluates changes in identity classification, captioning results, and vulnerabilities in facial identity verification and expression recognition under adversarial conditions. We further demonstrate effective detection and analysis of adversarial patches and adversarial samples using perceptual hashing and segmentation, achieving an SSIM of 0.95.", "date": "2026-01-14", "categories": []} {"id": "2405.16181", "title": "Boosting Adversarial Transferability with Low-Cost Optimization via Maximin Expected Flatness", "abstract": "Transfer-based attacks craft adversarial examples on white-box surrogate models and directly deploy them against black-box target models, offering model-agnostic and query-free threat scenarios. While flatness-enhanced methods have recently emerged to improve transferability by enhancing the loss surface flatness of adversarial examples, their divergent flatness definitions and heuristic attack designs suffer from unexamined optimization limitations and missing theoretical foundation, thus constraining their effectiveness and efficiency. This work exposes the severely imbalanced exploitation-exploration dynamics in flatness optimization, establishing the first theoretical foundation for flatness-based transferability and proposing a principled framework to overcome these optimization pitfalls. Specifically, we systematically unify fragmented flatness definitions across existing methods, revealing their imbalanced optimization limitations in over-exploration of sensitivity peaks or over-exploitation of local plateaus. To resolve these issues, we rigorously formalize average-case flatness and transferability gaps, proving that enhancing zeroth-order average-case flatness minimizes cross-model discrepancies. Building on this theory, we design a Maximin Expected Flatness (MEF) attack that enhances zeroth-order average-case flatness while balancing flatness exploration and exploitation. Extensive evaluations across 22 models and 24 current transfer-based attacks demonstrate MEF's superiority: it surpasses the state-of-the-art PGN attack by 4% in attack success rate at half the computational cost and achieves 8% higher success rate under the same budget. When combined with input augmentation, MEF attains 15% additional gains against defense-equipped models, establishing new robustness benchmarks. Our code is available at https://github.com/SignedQiu/MEFAttack.", "date": "2024-05-25", "categories": []} {"id": "2601.01852", "title": "MORE: Multi-Objective Adversarial Attacks on Speech Recognition", "abstract": "The emergence of large-scale automatic speech recognition (ASR) models such as Whisper has greatly expanded their adoption across diverse real-world applications. Ensuring robustness against even minor input perturbations is therefore critical for maintaining reliable performance in real-time environments. While prior work has mainly examined accuracy degradation under adversarial attacks, robustness with respect to efficiency remains largely unexplored. This narrow focus provides only a partial understanding of ASR model vulnerabilities. To address this gap, we conduct a comprehensive study of ASR robustness under multiple attack scenarios. We introduce MORE, a multi-objective repetitive doubling encouragement attack, which jointly degrades recognition accuracy and inference efficiency through a hierarchical staged repulsion-anchoring mechanism. Specifically, we reformulate multi-objective adversarial optimization into a hierarchical framework that sequentially achieves the dual objectives. To further amplify effectiveness, we propose a novel repetitive encouragement doubling objective (REDO) that induces duplicative text generation by maintaining accuracy degradation and periodically doubling the predicted sequence length. Overall, MORE compels ASR models to produce incorrect transcriptions at a substantially higher computational cost, triggered by a single adversarial input. Experiments show that MORE consistently yields significantly longer transcriptions while maintaining high word error rates compared to existing baselines, underscoring its effectiveness in multi-objective adversarial attack.", "date": "2026-01-05", "categories": []} {"id": "2405.14519", "title": "A New Formulation for Zeroth-Order Optimization of Adversarial EXEmples in Malware Detection", "abstract": "Machine learning malware detectors are vulnerable to adversarial EXEmples, i.e., carefully-crafted Windows programs tailored to evade detection. Unlike other adversarial problems, attacks in this context must be functionality-preserving, a constraint that is challenging to address. As a consequence, heuristic algorithms are typically used, which inject new content, either randomly-picked or harvested from legitimate programs. In this paper, we show how learning malware detectors can be cast within a zeroth-order optimization framework, which allows incorporating functionality-preserving manipulations. This permits the deployment of sound and efficient gradient-free optimization algorithms, which come with theoretical guarantees and allow for minimal hyper-parameters tuning. As a by-product, we propose and study ZEXE, a novel zeroth-order attack against Windows malware detection. Compared to state-of-the-art techniques, ZEXE provides improvement in the evasion rate, reducing to less than one third the size of the injected content.", "date": "2024-05-23", "categories": []} {"id": "2211.01671", "title": "Visual Adversarial Attacks and Defenses in the Physical World: A Survey", "abstract": "Although Deep Neural Networks (DNNs) have been widely applied in various real-world scenarios, they remain vulnerable to adversarial examples. Adversarial attacks in computer vision can be categorized into digital attacks and physical attacks based on their different forms. Compared to digital attacks, which generate perturbations in digital pixels, physical attacks are more practical in real-world settings. Due to the serious security risks posed by physically adversarial examples, many studies have been conducted to evaluate the physically adversarial robustness of DNNs in recent years. In this paper, we provide a comprehensive survey of current physically adversarial attacks and defenses in computer vision. We establish a taxonomy by organizing physical attacks according to attack tasks, attack forms, and attack methods. This approach offers readers a systematic understanding of the topic from multiple perspectives. For physical defenses, we categorize them into pre-processing, in-processing, and post-processing for DNN models to ensure comprehensive coverage of adversarial defenses. Based on this survey, we discuss the challenges facing this research field and provide an outlook on future directions.", "date": "2022-11-03", "categories": []} {"id": "2310.17436", "title": "Uncertainty-weighted Loss Functions for Improved Adversarial Attacks on Semantic Segmentation", "abstract": "State-of-the-art deep neural networks have been shown to be extremely powerful in a variety of perceptual tasks like semantic segmentation. However, these networks are vulnerable to adversarial perturbations of the input which are imperceptible for humans but lead to incorrect predictions. Treating image segmentation as a sum of pixel-wise classifications, adversarial attacks developed for classification models were shown to be applicable to segmentation models as well. In this work, we present simple uncertainty-based weighting schemes for the loss functions of such attacks that (i) put higher weights on pixel classifications which can more easily perturbed and (ii) zero-out the pixel-wise losses corresponding to those pixels that are already confidently misclassified. The weighting schemes can be easily integrated into the loss function of a range of well-known adversarial attackers with minimal additional computational overhead, but lead to significant improved perturbation performance, as we demonstrate in our empirical analysis on several datasets and models.", "date": "2023-10-26", "categories": []} {"id": "2402.05674", "title": "A High Dimensional Statistical Model for Adversarial Training: Geometry and Trade-Offs", "abstract": "This work investigates adversarial training in the context of margin-based linear classifiers in the high-dimensional regime where the dimension $d$ and the number of data points $n$ diverge with a fixed ratio $\\alpha = n / d$. We introduce a tractable mathematical model where the interplay between the data and adversarial attacker geometries can be studied, while capturing the core phenomenology observed in the adversarial robustness literature. Our main theoretical contribution is an exact asymptotic description of the sufficient statistics for the adversarial empirical risk minimiser, under generic convex and non-increasing losses for a Block Feature Model. Our result allow us to precisely characterise which directions in the data are associated with a higher generalisation/robustness trade-off, as defined by a robustness and a usefulness metric. We show that the the presence of multiple different feature types is crucial to the high sample complexity performances of adversarial training. In particular, we unveil the existence of directions which can be defended without penalising accuracy. Finally, we show the advantage of defending non-robust features during training, identifying a uniform protection as an inherently effective defence mechanism.", "date": "2024-02-08", "categories": []} {"id": "2601.02228", "title": "FMVP: Masked Flow Matching for Adversarial Video Purification", "abstract": "Video recognition models remain vulnerable to adversarial attacks, while existing diffusion-based purification methods suffer from inefficient sampling and curved trajectories. Directly regressing clean videos from adversarial inputs often fails to recover faithful content due to the subtle nature of perturbations; this necessitates physically shattering the adversarial structure. Therefore, we propose Flow Matching for Adversarial Video Purification FMVP. FMVP physically shatters global adversarial structures via a masking strategy and reconstructs clean video dynamics using Conditional Flow Matching (CFM) with an inpainting objective. To further decouple semantic content from adversarial noise, we design a Frequency-Gated Loss (FGL) that explicitly suppresses high-frequency adversarial residuals while preserving low-frequency fidelity. We design Attack-Aware and Generalist training paradigms to handle known and unknown threats, respectively. Extensive experiments on UCF-101 and HMDB-51 demonstrate that FMVP outperforms state-of-the-art methods (DiffPure, Defense Patterns (DP), Temporal Shuffling (TS) and FlowPure), achieving robust accuracy exceeding 87% against PGD and 89% against CW attacks. Furthermore, FMVP demonstrates superior robustness against adaptive attacks (DiffHammer) and functions as a zero-shot adversarial detector, attaining AUC-ROC scores of 0.98 for PGD and 0.79 for highly imperceptible CW attacks.", "date": "2026-01-05", "categories": []} {"id": "2601.06464", "title": "On the Adversarial Robustness of 3D Large Vision-Language Models", "abstract": "3D Vision-Language Models (VLMs), such as PointLLM and GPT4Point, have shown strong reasoning and generalization abilities in 3D understanding tasks. However, their adversarial robustness remains largely unexplored. Prior work in 2D VLMs has shown that the integration of visual inputs significantly increases vulnerability to adversarial attacks, making these models easier to manipulate into generating toxic or misleading outputs. In this paper, we investigate whether incorporating 3D vision similarly compromises the robustness of 3D VLMs. To this end, we present the first systematic study of adversarial robustness in point-based 3D VLMs. We propose two complementary attack strategies: \\textit{Vision Attack}, which perturbs the visual token features produced by the 3D encoder and projector to assess the robustness of vision-language alignment; and \\textit{Caption Attack}, which directly manipulates output token sequences to evaluate end-to-end system robustness. Each attack includes both untargeted and targeted variants to measure general vulnerability and susceptibility to controlled manipulation. Our experiments reveal that 3D VLMs exhibit significant adversarial vulnerabilities under untargeted attacks, while demonstrating greater resilience against targeted attacks aimed at forcing specific harmful outputs, compared to their 2D counterparts. These findings highlight the importance of improving the adversarial robustness of 3D VLMs, especially as they are deployed in safety-critical applications.", "date": "2026-01-10", "categories": []} {"id": "2601.06884", "title": "Paraphrasing Adversarial Attack on LLM-as-a-Reviewer", "abstract": "The use of large language models (LLMs) in peer review systems has attracted growing attention, making it essential to examine their potential vulnerabilities. Prior attacks rely on prompt injection, which alters manuscript content and conflates injection susceptibility with evaluation robustness. We propose the Paraphrasing Adversarial Attack (PAA), a black-box optimization method that searches for paraphrased sequences yielding higher review scores while preserving semantic equivalence and linguistic naturalness. PAA leverages in-context learning, using previous paraphrases and their scores to guide candidate generation. Experiments across five ML and NLP conferences with three LLM reviewers and five attacking models show that PAA consistently increases review scores without changing the paper's claims. Human evaluation confirms that generated paraphrases maintain meaning and naturalness. We also find that attacked papers exhibit increased perplexity in reviews, offering a potential detection signal, and that paraphrasing submissions can partially mitigate attacks.", "date": "2026-01-11", "categories": []} {"id": "2601.07253", "title": "Universal Adversarial Purification with DDIM Metric Loss for Stable Diffusion", "abstract": "Stable Diffusion (SD) often produces degraded outputs when the training dataset contains adversarial noise. Adversarial purification offers a promising solution by removing adversarial noise from contaminated data. However, existing purification methods are primarily designed for classification tasks and fail to address SD-specific adversarial strategies, such as attacks targeting the VAE encoder, UNet denoiser, or both. To address the gap in SD security, we propose Universal Diffusion Adversarial Purification (UDAP), a novel framework tailored for defending adversarial attacks targeting SD models. UDAP leverages the distinct reconstruction behaviors of clean and adversarial images during Denoising Diffusion Implicit Models (DDIM) inversion to optimize the purification process. By minimizing the DDIM metric loss, UDAP can effectively remove adversarial noise. Additionally, we introduce a dynamic epoch adjustment strategy that adapts optimization iterations based on reconstruction errors, significantly improving efficiency without sacrificing purification quality. Experiments demonstrate UDAP's robustness against diverse adversarial methods, including PID (VAE-targeted), Anti-DreamBooth (UNet-targeted), MIST (hybrid), and robustness-enhanced variants like Anti-Diffusion (Anti-DF) and MetaCloak. UDAP also generalizes well across SD versions and text prompts, showcasing its practical applicability in real-world scenarios.", "date": "2026-01-12", "categories": []} {"id": "2501.01042", "title": "Transferability of Adversarial Attacks in Video-based MLLMs: A Cross-modal Image-to-Video Approach", "abstract": "Video-based multimodal large language models (V-MLLMs) have shown vulnerability to adversarial examples in video-text multimodal tasks. However, the transferability of adversarial videos to unseen models - a common and practical real-world scenario - remains unexplored. In this paper, we pioneer an investigation into the transferability of adversarial video samples across V-MLLMs. We find that existing adversarial attack methods face significant limitations when applied in black-box settings for V-MLLMs, which we attribute to the following shortcomings: (1) lacking generalization in perturbing video features, (2) focusing only on sparse key-frames, and (3) failing to integrate multimodal information. To address these limitations and deepen the understanding of V-MLLM vulnerabilities in black-box scenarios, we introduce the Image-to-Video MLLM (I2V-MLLM) attack. In I2V-MLLM, we utilize an image-based multimodal large language model (I-MLLM) as a surrogate model to craft adversarial video samples. Multimodal interactions and spatiotemporal information are integrated to disrupt video representations within the latent space, improving adversarial transferability. Additionally, a perturbation propagation technique is introduced to handle different unknown frame sampling strategies. Experimental results demonstrate that our method can generate adversarial examples that exhibit strong transferability across different V-MLLMs on multiple video-text multimodal tasks. Compared to white-box attacks on these models, our black-box attacks (using BLIP-2 as a surrogate model) achieve competitive performance, with average attack success rate (AASR) of 57.98% on MSVD-QA and 58.26% on MSRVTT-QA for Zero-Shot VideoQA tasks, respectively.", "date": "2025-01-02", "categories": []} {"id": "2509.07677", "title": "Spectral Masking and Interpolation Attack (SMIA): A Black-box Adversarial Attack against Voice Authentication and Anti-Spoofing Systems", "abstract": "Voice Authentication Systems (VAS) use unique vocal characteristics for verification. They are increasingly integrated into high-security sectors such as banking and healthcare. Despite their improvements using deep learning, they face severe vulnerabilities from sophisticated threats like deepfakes and adversarial attacks. The emergence of realistic voice cloning complicates detection, as systems struggle to distinguish authentic from synthetic audio. While anti-spoofing countermeasures (CMs) exist to mitigate these risks, many rely on static detection models that can be bypassed by novel adversarial methods, leaving a critical security gap. To demonstrate this vulnerability, we propose the Spectral Masking and Interpolation Attack (SMIA), a novel method that strategically manipulates inaudible frequency regions of AI-generated audio. By altering the voice in imperceptible zones to the human ear, SMIA creates adversarial samples that sound authentic while deceiving CMs. We conducted a comprehensive evaluation of our attack against state-of-the-art (SOTA) models across multiple tasks, under simulated real-world conditions. SMIA achieved a strong attack success rate (ASR) of at least 82% against combined VAS/CM systems, at least 97.5% against standalone speaker verification systems, and 100% against countermeasures. These findings conclusively demonstrate that current security postures are insufficient against adaptive adversarial attacks. This work highlights the urgent need for a paradigm shift toward next-generation defenses that employ dynamic, context-aware frameworks capable of evolving with the threat landscape.", "date": "2025-09-09", "categories": []} {"id": "2601.05587", "title": "HogVul: Black-box Adversarial Code Generation Framework Against LM-based Vulnerability Detectors", "abstract": "Recent advances in software vulnerability detection have been driven by Language Model (LM)-based approaches. However, these models remain vulnerable to adversarial attacks that exploit lexical and syntax perturbations, allowing critical flaws to evade detection. Existing black-box attacks on LM-based vulnerability detectors primarily rely on isolated perturbation strategies, limiting their ability to efficiently explore the adversarial code space for optimal perturbations. To bridge this gap, we propose HogVul, a black-box adversarial code generation framework that integrates both lexical and syntax perturbations under a unified dual-channel optimization strategy driven by Particle Swarm Optimization (PSO). By systematically coordinating two-level perturbations, HogVul effectively expands the search space for adversarial examples, enhancing the attack efficacy. Extensive experiments on four benchmark datasets demonstrate that HogVul achieves an average attack success rate improvement of 26.05\\% over state-of-the-art baseline methods. These findings highlight the potential of hybrid optimization strategies in exposing model vulnerabilities.", "date": "2026-01-09", "categories": []} {"id": "2601.05986", "title": "Deepfake detectors are DUMB: A benchmark to assess adversarial training robustness under transferability constraints", "abstract": "Deepfake detection systems deployed in real-world environments are subject to adversaries capable of crafting imperceptible perturbations that degrade model performance. While adversarial training is a widely adopted defense, its effectiveness under realistic conditions -- where attackers operate with limited knowledge and mismatched data distributions - remains underexplored. In this work, we extend the DUMB -- Dataset soUrces, Model architecture and Balance - and DUMBer methodology to deepfake detection. We evaluate detectors robustness against adversarial attacks under transferability constraints and cross-dataset configuration to extract real-world insights. Our study spans five state-of-the-art detectors (RECCE, SRM, XCeption, UCF, SPSL), three attacks (PGD, FGSM, FPBA), and two datasets (FaceForensics++ and Celeb-DF-V2). We analyze both attacker and defender perspectives mapping results to mismatch scenarios. Experiments show that adversarial training strategies reinforce robustness in the in-distribution cases but can also degrade it under cross-dataset configuration depending on the strategy adopted. These findings highlight the need for case-aware defense strategies in real-world applications exposed to adversarial attacks.", "date": "2026-01-09", "categories": []} {"id": "2502.10452", "title": "Quaternion-Hadamard Network: A Novel Defense Against Adversarial Attacks with a New Dataset", "abstract": "Adverse-weather image restoration (e.g., rain, snow, haze) models remain highly vulnerable to gradient-based white-box adversarial attacks, wherein minimal loss-aligned perturbations cause substantial degradation in the restored output. This paper presents QHNet, a computationally efficient purification-based defense that precedes the restoration network and targets perturbation suppression in the transform and quaternion domains. QHNet incorporates a Quaternion Hadamard Polynomial Denoising Block (QHPDB) and a Quaternion Denoising Residual Block (QDRB) within an encoder-decoder framework to remove high-frequency adversarial noise while preserving fine structural details. Robustness is evaluated using PSNR and SSIM across rain, snow, and haze removal tasks, and further validated under adaptive, defense-aware white-box attacks employing Projected Gradient Descent (PGD), Backward Pass Differentiable Approximation (BPDA), and Expectation Over Transformation (EOT). Experimental results demonstrate that QHNet delivers superior restoration fidelity and significantly improved robustness compared to state-of-the-art purification baselines, confirming its effectiveness for low-level vision pipelines.", "date": "2025-02-12", "categories": []} {"id": "2503.01839", "title": "Jailbreaking Safeguarded Text-to-Image Models via Large Language Models", "abstract": "Text-to-Image models may generate harmful content, such as pornographic images, particularly when unsafe prompts are submitted. To address this issue, safety filters are often added on top of text-to-image models, or the models themselves are aligned to reduce harmful outputs. However, these defenses remain vulnerable when an attacker strategically designs adversarial prompts to bypass these safety guardrails. In this work, we propose \\alg, a method to jailbreak text-to-image models with safety guardrails using a fine-tuned large language model. Unlike other query-based jailbreak attacks that require repeated queries to the target model, our attack generates adversarial prompts efficiently after fine-tuning our AttackLLM. We evaluate our method on three datasets of unsafe prompts and against five safety guardrails. Our results demonstrate that our approach effectively bypasses safety guardrails, outperforms existing no-box attacks, and also facilitates other query-based attacks.", "date": "2025-03-03", "categories": []} {"id": "2508.10029", "title": "Latent Fusion Jailbreak: Blending Harmful and Harmless Representations to Elicit Unsafe LLM Outputs", "abstract": "While Large Language Models (LLMs) have achieved remarkable progress, they remain vulnerable to jailbreak attacks. Existing methods, primarily relying on discrete input optimization (e.g., GCG), often suffer from high computational costs and generate high-perplexity prompts that are easily blocked by simple filters. To overcome these limitations, we propose Latent Fusion Jailbreak (LFJ), a stealthy white-box attack that operates in the continuous latent space. Unlike previous approaches, LFJ constructs adversarial representations by mathematically fusing the hidden states of a harmful query with a thematically similar benign query, effectively masking malicious intent while retaining semantic drive. We further introduce a gradient-guided optimization strategy to balance attack success and computational efficiency. Extensive evaluations on Vicuna-7B, LLaMA-2-7B-Chat, Guanaco-7B, LLaMA-3-70B, and Mistral-7B-Instruct show that LFJ achieves an average Attack Success Rate (ASR) of 94.01%, significantly outperforming state-of-the-art baselines like GCG and AutoDAN while avoiding detectable input artifacts. Furthermore, we identify that thematic similarity in the latent space is a critical vulnerability in current safety alignments. Finally, we propose a latent adversarial training defense that reduces LFJ's ASR by over 80% without compromising model utility.", "date": "2025-08-08", "categories": []} {"id": "2510.07505", "title": "PEAR: Planner-Executor Agent Robustness Benchmark", "abstract": "Large Language Model (LLM)-based Multi-Agent Systems (MAS) have emerged as a powerful paradigm for tackling complex, multi-step tasks across diverse domains. However, despite their impressive capabilities, MAS remain susceptible to adversarial manipulation. Existing studies typically examine isolated attack surfaces or specific scenarios, leaving a lack of holistic understanding of MAS vulnerabilities. To bridge this gap, we introduce PEAR, a benchmark for systematically evaluating both the utility and vulnerability of planner-executor MAS. While compatible with various MAS architectures, our benchmark focuses on the planner-executor structure, which is a practical and widely adopted design. Through extensive experiments, we find that (1) a weak planner degrades overall clean task performance more severely than a weak executor; (2) while a memory module is essential for the planner, having a memory module for the executor does not impact the clean task performance; (3) there exists a trade-off between task performance and robustness; and (4) attacks targeting the planner are particularly effective at misleading the system. These findings offer actionable insights for enhancing the robustness of MAS and lay the groundwork for principled defenses in multi-agent settings.", "date": "2025-10-08", "categories": []} {"id": "2601.04752", "title": "Skeletonization-Based Adversarial Perturbations on Large Vision Language Model's Mathematical Text Recognition", "abstract": "This work explores the visual capabilities and limitations of foundation models by introducing a novel adversarial attack method utilizing skeletonization to reduce the search space effectively. Our approach specifically targets images containing text, particularly mathematical formula images, which are more challenging due to their LaTeX conversion and intricate structure. We conduct a detailed evaluation of both character and semantic changes between original and adversarially perturbed outputs to provide insights into the models' visual interpretation and reasoning abilities. The effectiveness of our method is further demonstrated through its application to ChatGPT, which shows its practical implications in real-world scenarios.", "date": "2026-01-08", "categories": []} {"id": "2601.04991", "title": "Higher-Order Adversarial Patches for Real-Time Object Detectors", "abstract": "Higher-order adversarial attacks can directly be considered the result of a cat-and-mouse game -- an elaborate action involving constant pursuit, near captures, and repeated escapes. This idiom describes the enduring circular training of adversarial attack patterns and adversarial training the best. The following work investigates the impact of higher-order adversarial attacks on object detectors by successively training attack patterns and hardening object detectors with adversarial training. The YOLOv10 object detector is chosen as a representative, and adversarial patches are used in an evasion attack manner. Our results indicate that higher-order adversarial patches are not only affecting the object detector directly trained on but rather provide a stronger generalization capacity compared to lower-order adversarial patches. Moreover, the results highlight that solely adversarial training is not sufficient to harden an object detector efficiently against this kind of adversarial attack. Code: https://github.com/JensBayer/HigherOrder", "date": "2026-01-08", "categories": []} {"id": "2601.03420", "title": "Jailbreaking LLMs Without Gradients or Priors: Effective and Transferable Attacks", "abstract": "As Large Language Models (LLMs) are increasingly deployed in safety-critical domains, rigorously evaluating their robustness against adversarial jailbreaks is essential. However, current safety evaluations often overestimate robustness because existing automated attacks are limited by restrictive assumptions. They typically rely on handcrafted priors or require white-box access for gradient propagation. We challenge these constraints by demonstrating that token-level iterative optimization can succeed without gradients or priors. We introduce RAILS (RAndom Iterative Local Search), a framework that operates solely on model logits. RAILS matches the effectiveness of gradient-based methods through two key innovations: a novel auto-regressive loss that enforces exact prefix matching, and a history-based selection strategy that bridges the gap between the proxy optimization objective and the true attack success rate. Crucially, by eliminating gradient dependency, RAILS enables cross-tokenizer ensemble attacks. This allows for the discovery of shared adversarial patterns that generalize across disjoint vocabularies, significantly enhancing transferability to closed-source systems. Empirically, RAILS achieves near 100% success rates on multiple open-source models and high black-box attack transferability to closed-source systems like GPT and Gemini.", "date": "2026-01-06", "categories": []} {"id": "2503.04833", "title": "E$^2$AT: Multimodal Jailbreak Defense via Dynamic Joint Optimization for Multimodal Large Language Models", "abstract": "Research endeavors have been made in learning robust Multimodal Large Language Models (MLLMs) against jailbreak attacks. However, existing methods for improving MLLMs' robustness still face critical challenges: \\ding{172} how to efficiently tune massive weight parameters and \\ding{173} how to ensure robustness against attacks across both visual and textual modalities. To this end, we propose an \\textbf{E}fficient \\textbf{E}nd-to-end \\textbf{A}dversarial \\textbf{T}raining (E$^2$AT) framework for both visual and textual adversarial attacks. Specifically, for the visual aspect, E$^2$AT incorporates an efficient projector-based AT module that aligns the attack samples at the feature level. For training objectives, we propose a Dynamic Joint Multimodal Optimization (DJMO) strategy to enhance generalization ability against jailbreak attacks by dynamically adjusting weights between normal and adversarial objectives. Extensive experiments are conducted with five major jailbreak attack methods across three mainstream MLLMs. Results demonstrate that our E$^2$AT achieves the state-of-the-art performance, outperforming existing baselines by an average margin of 34\\% across text and image modalities, while maintaining clean task performance. Furthermore, evaluations of real-world embodied intelligent systems highlight the practical applicability of E$^2$AT, paving the way for the development of more secure and reliable multimodal systems. Our code is available on \\href{https://anonymous.4open.science/r/E2AT_568}{\\textcolor{red}{https://anonymous.4open.science/r/E2AT\\_568}}.", "date": "2025-03-05", "categories": []} {"id": "2512.10449", "title": "When Reject Turns into Accept: Quantifying the Vulnerability of LLM-Based Scientific Reviewers to Indirect Prompt Injection", "abstract": "Driven by surging submission volumes, scientific peer review has catalyzed two parallel trends: individual over-reliance on LLMs and institutional AI-powered assessment systems. This study investigates the robustness of \"LLM-as-a-Judge\" systems to adversarial PDF manipulation via invisible text injections and layout aware encoding attacks. We specifically target the distinct incentive of flipping \"Reject\" decisions to \"Accept,\" a vulnerability that fundamentally compromises scientific integrity. To measure this, we introduce the Weighted Adversarial Vulnerability Score (WAVS), a novel metric that quantifies susceptibility by weighting score inflation against the severity of decision shifts relative to ground truth. We adapt 15 domain-specific attack strategies, ranging from semantic persuasion to cognitive obfuscation, and evaluate them across 13 diverse language models (including GPT-5 and DeepSeek) using a curated dataset of 200 official and real-world accepted and rejected submissions (e.g., ICLR OpenReview). Our results demonstrate that obfuscation techniques like \"Maximum Mark Magyk\" and \"Symbolic Masking & Context Redirection\" successfully manipulate scores, achieving decision flip rates of up to 86.26% in open-source models, while exposing distinct \"reasoning traps\" in proprietary systems. We release our complete dataset and injection framework to facilitate further research on the topic (https://anonymous.4open.sciencer/llm-jailbreak-FC9E/).", "date": "2025-12-11", "categories": []} {"id": "2601.02700", "title": "Adversarial Question Answering Robustness: A Multi-Level Error Analysis and Mitigation Study", "abstract": "Question answering (QA) systems achieve impressive performance on standard benchmarks like SQuAD, but remain vulnerable to adversarial examples. This project investigates the adversarial robustness of transformer models on the AddSent adversarial dataset through systematic experimentation across model scales and targeted mitigation strategies. We perform comprehensive multi-level error analysis using five complementary categorization schemes, identifying negation confusion and entity substitution as the primary failure modes. Through systematic evaluation of adversarial fine-tuning ratios, we identify 80% clean + 20% adversarial data as optimal. Data augmentation experiments reveal a capacity bottleneck in small models. Scaling from ELECTRA-small (14M parameters) to ELECTRA-base (110M parameters) eliminates the robustness-accuracy trade-off, achieving substantial improvements on both clean and adversarial data. We implement three targeted mitigation strategies, with Entity-Aware contrastive learning achieving best performance: 89.89% AddSent Exact Match (EM) and 90.73% SQuAD EM, representing 94.9% closure of the adversarial gap. To our knowledge, this is the first work integrating comprehensive linguistic error analysis with Named Entity Recognition (NER)-guided contrastive learning for adversarial QA, demonstrating that targeted mitigation can achieve near-parity between clean and adversarial performance.", "date": "2026-01-06", "categories": []} {"id": "2405.18770", "title": "Multimodal Adversarial Defense for Vision-Language Models by Leveraging One-To-Many Relationships", "abstract": "Pre-trained vision-language (VL) models are highly vulnerable to adversarial attacks. However, existing defense methods primarily focus on image classification, overlooking two key aspects of VL tasks: multimodal attacks, where both image and text can be perturbed, and the one-to-many relationship of images and texts, where a single image can correspond to multiple textual descriptions and vice versa (1:N and N:1). This work is the first to explore defense strategies against multimodal attacks in VL tasks, whereas prior VL defense methods focus on vision robustness. We propose multimodal adversarial training (MAT), which incorporates adversarial perturbations in both image and text modalities during training, significantly outperforming existing unimodal defenses. Furthermore, we discover that MAT is limited by deterministic one-to-one (1:1) image-text pairs in VL training data. To address this, we conduct a comprehensive study on leveraging one-to-many relationships to enhance robustness, investigating diverse augmentation techniques. Our analysis shows that, for a more effective defense, augmented image-text pairs should be well-aligned, diverse, yet avoid distribution shift -- conditions overlooked by prior research. This work pioneers defense strategies against multimodal attacks, providing insights for building robust VLMs from both optimization and data perspectives. Our code is publicly available at https://github.com/CyberAgentAILab/multimodal-adversarial-training.", "date": "2024-05-29", "categories": []} {"id": "2601.00968", "title": "Explainability-Guided Defense: Attribution-Aware Model Refinement Against Adversarial Data Attacks", "abstract": "The growing reliance on deep learning models in safety-critical domains such as healthcare and autonomous navigation underscores the need for defenses that are both robust to adversarial perturbations and transparent in their decision-making. In this paper, we identify a connection between interpretability and robustness that can be directly leveraged during training. Specifically, we observe that spurious, unstable, or semantically irrelevant features identified through Local Interpretable Model-Agnostic Explanations (LIME) contribute disproportionately to adversarial vulnerability. Building on this insight, we introduce an attribution-guided refinement framework that transforms LIME from a passive diagnostic into an active training signal. Our method systematically suppresses spurious features using feature masking, sensitivity-aware regularization, and adversarial augmentation in a closed-loop refinement pipeline. This approach does not require additional datasets or model architectures and integrates seamlessly into standard adversarial training. Theoretically, we derive an attribution-aware lower bound on adversarial distortion that formalizes the link between explanation alignment and robustness. Empirical evaluations on CIFAR-10, CIFAR-10-C, and CIFAR-100 demonstrate substantial improvements in adversarial robustness and out-of-distribution generalization.", "date": "2026-01-02", "categories": []} {"id": "2601.01202", "title": "RefSR-Adv: Adversarial Attack on Reference-based Image Super-Resolution Models", "abstract": "Single Image Super-Resolution (SISR) aims to recover high-resolution images from low-resolution inputs. Unlike SISR, Reference-based Super-Resolution (RefSR) leverages an additional high-resolution reference image to facilitate the recovery of high-frequency textures. However, existing research mainly focuses on backdoor attacks targeting RefSR, while the vulnerability of the adversarial attacks targeting RefSR has not been fully explored. To fill this research gap, we propose RefSR-Adv, an adversarial attack that degrades SR outputs by perturbing only the reference image. By maximizing the difference between adversarial and clean outputs, RefSR-Adv induces significant performance degradation and generates severe artifacts across CNN, Transformer, and Mamba architectures on the CUFED5, WR-SR, and DRefSR datasets. Importantly, experiments confirm a positive correlation between the similarity of the low-resolution input and the reference image and attack effectiveness, revealing that the model's over-reliance on reference features is a key security flaw. This study reveals a security vulnerability in RefSR systems, aiming to urge researchers to pay attention to the robustness of RefSR.", "date": "2026-01-03", "categories": []} {"id": "2601.01800", "title": "Sparse Threats, Focused Defense: Criticality-Aware Robust Reinforcement Learning for Safe Autonomous Driving", "abstract": "Reinforcement learning (RL) has shown considerable potential in autonomous driving (AD), yet its vulnerability to perturbations remains a critical barrier to real-world deployment. As a primary countermeasure, adversarial training improves policy robustness by training the AD agent in the presence of an adversary that deliberately introduces perturbations. Existing approaches typically model the interaction as a zero-sum game with continuous attacks. However, such designs overlook the inherent asymmetry between the agent and the adversary and then fail to reflect the sparsity of safety-critical risks, rendering the achieved robustness inadequate for practical AD scenarios. To address these limitations, we introduce criticality-aware robust RL (CARRL), a novel adversarial training approach for handling sparse, safety-critical risks in autonomous driving. CARRL consists of two interacting components: a risk exposure adversary (REA) and a risk-targeted robust agent (RTRA). We model the interaction between the REA and RTRA as a general-sum game, allowing the REA to focus on exposing safety-critical failures (e.g., collisions) while the RTRA learns to balance safety with driving efficiency. The REA employs a decoupled optimization mechanism to better identify and exploit sparse safety-critical moments under a constrained budget. However, such focused attacks inevitably result in a scarcity of adversarial data. The RTRA copes with this scarcity by jointly leveraging benign and adversarial experiences via a dual replay buffer and enforces policy consistency under perturbations to stabilize behavior. Experimental results demonstrate that our approach reduces the collision rate by at least 22.66\\% across all cases compared to state-of-the-art baseline methods.", "date": "2026-01-05", "categories": []} {"id": "2601.02193", "title": "Learning with Monotone Adversarial Corruptions", "abstract": "We study the extent to which standard machine learning algorithms rely on exchangeability and independence of data by introducing a monotone adversarial corruption model. In this model, an adversary, upon looking at a \"clean\" i.i.d. dataset, inserts additional \"corrupted\" points of their choice into the dataset. These added points are constrained to be monotone corruptions, in that they get labeled according to the ground-truth target function. Perhaps surprisingly, we demonstrate that in this setting, all known optimal learning algorithms for binary classification can be made to achieve suboptimal expected error on a new independent test point drawn from the same distribution as the clean dataset. On the other hand, we show that uniform convergence-based algorithms do not degrade in their guarantees. Our results showcase how optimal learning algorithms break down in the face of seemingly helpful monotone corruptions, exposing their overreliance on exchangeability.", "date": "2026-01-05", "categories": []} {"id": "2601.00270", "title": "Rectifying Adversarial Examples Using Their Vulnerabilities", "abstract": "Deep neural network-based classifiers are prone to errors when processing adversarial examples (AEs). AEs are minimally perturbed input data undetectable to humans posing significant risks to security-dependent applications. Hence, extensive research has been undertaken to develop defense mechanisms that mitigate their threats. Most existing methods primarily focus on discriminating AEs based on the input sample features, emphasizing AE detection without addressing the correct sample categorization before an attack. While some tasks may only require mere rejection on detected AEs, others necessitate identifying the correct original input category such as traffic sign recognition in autonomous driving. The objective of this study is to propose a method for rectifying AEs to estimate the correct labels of their original inputs. Our method is based on re-attacking AEs to move them beyond the decision boundary for accurate label prediction, effectively addressing the issue of rectifying minimally perceptible AEs created using white-box attack methods. However, challenge remains with respect to effectively rectifying AEs produced by black-box attacks at a distance from the boundary, or those misclassified into low-confidence categories by targeted attacks. By adopting a straightforward approach of only considering AEs as inputs, the proposed method can address diverse attacks while avoiding the requirement of parameter adjustments or preliminary training. Results demonstrate that the proposed method exhibits consistent performance in rectifying AEs generated via various attack methods, including targeted and black-box attacks. Moreover, it outperforms conventional rectification and input transformation methods in terms of stability against various attacks.", "date": "2026-01-01", "categories": []} {"id": "2601.00367", "title": "PatchBlock: A Lightweight Defense Against Adversarial Patches for Embedded EdgeAI Devices", "abstract": "Adversarial attacks pose a significant challenge to the reliable deployment of machine learning models in EdgeAI applications, such as autonomous driving and surveillance, which rely on resource-constrained devices for real-time inference. Among these, patch-based adversarial attacks, where small malicious patches (e.g., stickers) are applied to objects, can deceive neural networks into making incorrect predictions with potentially severe consequences. In this paper, we present PatchBlock, a lightweight framework designed to detect and neutralize adversarial patches in images. Leveraging outlier detection and dimensionality reduction, PatchBlock identifies regions affected by adversarial noise and suppresses their impact. It operates as a pre-processing module at the sensor level, efficiently running on CPUs in parallel with GPU inference, thus preserving system throughput while avoiding additional GPU overhead. The framework follows a three-stage pipeline: splitting the input into chunks (Chunking), detecting anomalous regions via a redesigned isolation forest with targeted cuts for faster convergence (Separating), and applying dimensionality reduction on the identified outliers (Mitigating). PatchBlock is both model- and patch-agnostic, can be retrofitted to existing pipelines, and integrates seamlessly between sensor inputs and downstream models. Evaluations across multiple neural architectures, benchmark datasets, attack types, and diverse edge devices demonstrate that PatchBlock consistently improves robustness, recovering up to 77% of model accuracy under strong patch attacks such as the Google Adversarial Patch, while maintaining high portability and minimal clean accuracy loss. Additionally, PatchBlock outperforms the state-of-the-art defenses in efficiency, in terms of computation time and energy consumption per sample, making it suitable for EdgeAI applications.", "date": "2026-01-01", "categories": []} {"id": "2601.00577", "title": "Adversarial Samples Are Not Created Equal", "abstract": "Over the past decade, numerous theories have been proposed to explain the widespread vulnerability of deep neural networks to adversarial evasion attacks. Among these, the theory of non-robust features proposed by Ilyas et al. has been widely accepted, showing that brittle but predictive features of the data distribution can be directly exploited by attackers. However, this theory overlooks adversarial samples that do not directly utilize these features. In this work, we advocate that these two kinds of samples - those which use use brittle but predictive features and those that do not - comprise two types of adversarial weaknesses and should be differentiated when evaluating adversarial robustness. For this purpose, we propose an ensemble-based metric to measure the manipulation of non-robust features by adversarial perturbations and use this metric to analyze the makeup of adversarial samples generated by attackers. This new perspective also allows us to re-examine multiple phenomena, including the impact of sharpness-aware minimization on adversarial robustness and the robustness gap observed between adversarially training and standard training on robust datasets.", "date": "2026-01-02", "categories": []} {"id": "2512.23837", "title": "Adversarial Lens: Exploiting Attention Layers to Generate Adversarial Examples for Evaluation", "abstract": "Recent advances in mechanistic interpretability suggest that intermediate attention layers encode token-level hypotheses that are iteratively refined toward the final output. In this work, we exploit this property to generate adversarial examples directly from attention-layer token distributions. Unlike prompt-based or gradient-based attacks, our approach leverages model-internal token predictions, producing perturbations that are both plausible and internally consistent with the model's own generation process. We evaluate whether tokens extracted from intermediate layers can serve as effective adversarial perturbations for downstream evaluation tasks. We conduct experiments on argument quality assessment using the ArgQuality dataset, with LLaMA-3.1-Instruct-8B serving as both the generator and evaluator. Our results show that attention-based adversarial examples lead to measurable drops in evaluation performance while remaining semantically similar to the original inputs. However, we also observe that substitutions drawn from certain layers and token positions can introduce grammatical degradation, limiting their practical effectiveness. Overall, our findings highlight both the promise and current limitations of using intermediate-layer representations as a principled source of adversarial examples for stress-testing LLM-based evaluation pipelines.", "date": "2025-12-29", "categories": []} {"id": "2512.23881", "title": "Breaking Audio Large Language Models by Attacking Only the Encoder: A Universal Targeted Latent-Space Audio Attack", "abstract": "Audio-language models combine audio encoders with large language models to enable multimodal reasoning, but they also introduce new security vulnerabilities. We propose a universal targeted latent space attack, an encoder-level adversarial attack that manipulates audio latent representations to induce attacker-specified outputs in downstream language generation. Unlike prior waveform-level or input-specific attacks, our approach learns a universal perturbation that generalizes across inputs and speakers and does not require access to the language model. Experiments on Qwen2-Audio-7B-Instruct demonstrate consistently high attack success rates with minimal perceptual distortion, revealing a critical and previously underexplored attack surface at the encoder level of multimodal systems.", "date": "2025-12-29", "categories": []} {"id": "2512.23953", "title": "T2VAttack: Adversarial Attack on Text-to-Video Diffusion Models", "abstract": "The rapid evolution of Text-to-Video (T2V) diffusion models has driven remarkable advancements in generating high-quality, temporally coherent videos from natural language descriptions. Despite these achievements, their vulnerability to adversarial attacks remains largely unexplored. In this paper, we introduce T2VAttack, a comprehensive study of adversarial attacks on T2V diffusion models from both semantic and temporal perspectives. Considering the inherently dynamic nature of video data, we propose two distinct attack objectives: a semantic objective to evaluate video-text alignment and a temporal objective to assess the temporal dynamics. To achieve an effective and efficient attack process, we propose two adversarial attack methods: (i) T2VAttack-S, which identifies semantically or temporally critical words in prompts and replaces them with synonyms via greedy search, and (ii) T2VAttack-I, which iteratively inserts optimized words with minimal perturbation to the prompt. By combining these objectives and strategies, we conduct a comprehensive evaluation on the adversarial robustness of several state-of-the-art T2V models, including ModelScope, CogVideoX, Open-Sora, and HunyuanVideo. Our experiments reveal that even minor prompt modifications, such as the substitution or insertion of a single word, can cause substantial degradation in semantic fidelity and temporal dynamics, highlighting critical vulnerabilities in current T2V diffusion models.", "date": "2025-12-30", "categories": []} {"id": "2512.24111", "title": "Guided Diffusion-based Generation of Adversarial Objects for Real-World Monocular Depth Estimation Attacks", "abstract": "Monocular Depth Estimation (MDE) serves as a core perception module in autonomous driving systems, but it remains highly susceptible to adversarial attacks. Errors in depth estimation may propagate through downstream decision making and influence overall traffic safety. Existing physical attacks primarily rely on texture-based patches, which impose strict placement constraints and exhibit limited realism, thereby reducing their effectiveness in complex driving environments. To overcome these limitations, this work introduces a training-free generative adversarial attack framework that generates naturalistic, scene-consistent adversarial objects via a diffusion-based conditional generation process. The framework incorporates a Salient Region Selection module that identifies regions most influential to MDE and a Jacobian Vector Product Guidance mechanism that steers adversarial gradients toward update directions supported by the pre-trained diffusion model. This formulation enables the generation of physically plausible adversarial objects capable of inducing substantial adversarial depth shifts. Extensive digital and physical experiments demonstrate that our method significantly outperforms existing attacks in effectiveness, stealthiness, and physical deployability, underscoring its strong practical implications for autonomous driving safety assessment.", "date": "2025-12-30", "categories": []} {"id": "2512.24564", "title": "CPR: Causal Physiological Representation Learning for Robust ECG Analysis under Distribution Shifts", "abstract": "Deep learning models for Electrocardiogram (ECG) diagnosis have achieved remarkable accuracy but exhibit fragility against adversarial perturbations, particularly Smooth Adversarial Perturbations (SAP) that mimic biological morphology. Existing defenses face a critical dilemma: Adversarial Training (AT) provides robustness but incurs a prohibitive computational burden, while certified methods like Randomized Smoothing (RS) introduce significant inference latency, rendering them impractical for real-time clinical monitoring. We posit that this vulnerability stems from the models' reliance on non-robust spurious correlations rather than invariant pathological features. To address this, we propose Causal Physiological Representation Learning (CPR). Unlike standard denoising approaches that operate without semantic constraints, CPR incorporates a Physiological Structural Prior within a causal disentanglement framework. By modeling ECG generation via a Structural Causal Model (SCM), CPR enforces a structural intervention that strictly separates invariant pathological morphology (P-QRS-T complex) from non-causal artifacts. Empirical results on PTB-XL demonstrate that CPR significantly outperforms standard clinical preprocessing methods. Specifically, under SAP attacks, CPR achieves an F1 score of 0.632, surpassing Median Smoothing (0.541 F1) by 9.1%. Crucially, CPR matches the certified robustness of Randomized Smoothing while maintaining single-pass inference efficiency, offering a superior trade-off between robustness, efficiency, and clinical interpretability.", "date": "2025-12-31", "categories": []} {"id": "2512.24792", "title": "Projection-based Adversarial Attack using Physics-in-the-Loop Optimization for Monocular Depth Estimation", "abstract": "Deep neural networks (DNNs) remain vulnerable to adversarial attacks that cause misclassification when specific perturbations are added to input images. This vulnerability also threatens the reliability of DNN-based monocular depth estimation (MDE) models, making robustness enhancement a critical need in practical applications. To validate the vulnerability of DNN-based MDE models, this study proposes a projection-based adversarial attack method that projects perturbation light onto a target object. The proposed method employs physics-in-the-loop (PITL) optimization -- evaluating candidate solutions in actual environments to account for device specifications and disturbances -- and utilizes a distributed covariance matrix adaptation evolution strategy. Experiments confirmed that the proposed method successfully created adversarial examples that lead to depth misestimations, resulting in parts of objects disappearing from the target scene.", "date": "2025-12-31", "categories": []} {"id": "2412.10321", "title": "AdvPrefix: An Objective for Nuanced LLM Jailbreaks", "abstract": "Many jailbreak attacks on large language models (LLMs) rely on a common objective: making the model respond with the prefix ``Sure, here is (harmful request)''. While straightforward, this objective has two limitations: limited control over model behaviors, yielding incomplete or unrealistic jailbroken responses, and a rigid format that hinders optimization. We introduce AdvPrefix, a plug-and-play prefix-forcing objective that selects one or more model-dependent prefixes by combining two criteria: high prefilling attack success rates and low negative log-likelihood. AdvPrefix integrates seamlessly into existing jailbreak attacks to mitigate the previous limitations for free. For example, replacing GCG's default prefixes on Llama-3 improves nuanced attack success rates from 14% to 80%, revealing that current safety alignment fails to generalize to new prefixes. Code and selected prefixes are released at github.com/facebookresearch/jailbreak-objectives.", "date": "2024-12-13", "categories": []} {"id": "2509.22836", "title": "Seeing Isn't Believing: Context-Aware Adversarial Patch Synthesis via Conditional GAN", "abstract": "Adversarial patch attacks pose a severe threat to deep neural networks, yet most existing approaches rely on unrealistic white-box assumptions, untargeted objectives, or produce visually conspicuous patches that limit real-world applicability. In this work, we introduce a novel framework for fully controllable adversarial patch generation, where the attacker can freely choose both the input image x and the target class y target, thereby dictating the exact misclassification outcome. Our method combines a generative U-Net design with Grad-CAM-guided patch placement, enabling semantic-aware localization that maximizes attack effectiveness while preserving visual realism. Extensive experiments across convolutional networks (DenseNet-121, ResNet-50) and vision transformers (ViT-B/16, Swin-B/16, among others) demonstrate that our approach achieves state-of-the-art performance across all settings, with attack success rates (ASR) and target-class success (TCS) consistently exceeding 99%.\n Importantly, we show that our method not only outperforms prior white-box attacks and untargeted baselines, but also surpasses existing non-realistic approaches that produce detectable artifacts. By simultaneously ensuring realism, targeted control, and black-box applicability-the three most challenging dimensions of patch-based attacks-our framework establishes a new benchmark for adversarial robustness research, bridging the gap between theoretical attack strength and practical stealthiness.", "date": "2025-09-26", "categories": []} {"id": "2512.17367", "title": "Adversarially Robust Detection of Harmful Online Content: A Computational Design Science Approach", "abstract": "Social media platforms are plagued by harmful content such as hate speech, misinformation, and extremist rhetoric. Machine learning (ML) models are widely adopted to detect such content; however, they remain highly vulnerable to adversarial attacks, wherein malicious users subtly modify text to evade detection. Enhancing adversarial robustness is therefore essential, requiring detectors that can defend against diverse attacks (generalizability) while maintaining high overall accuracy. However, simultaneously achieving both optimal generalizability and accuracy is challenging. Following the computational design science paradigm, this study takes a sequential approach that first proposes a novel framework (Large Language Model-based Sample Generation and Aggregation, LLM-SGA) by identifying the key invariances of textual adversarial attacks and leveraging them to ensure that a detector instantiated within the framework has strong generalizability. Second, we instantiate our detector (Adversarially Robust Harmful Online Content Detector, ARHOCD) with three novel design components to improve detection accuracy: (1) an ensemble of multiple base detectors that exploits their complementary strengths; (2) a novel weight assignment method that dynamically adjusts weights based on each sample's predictability and each base detector's capability, with weights initialized using domain knowledge and updated via Bayesian inference; and (3) a novel adversarial training strategy that iteratively optimizes both the base detectors and the weight assignor. We addressed several limitations of existing adversarial robustness enhancement research and empirically evaluated ARHOCD across three datasets spanning hate speech, rumor, and extremist content. Results show that ARHOCD offers strong generalizability and improves detection accuracy under adversarial conditions.", "date": "2025-12-19", "categories": []} {"id": "2512.22128", "title": "Pruning Graphs by Adversarial Robustness Evaluation to Strengthen GNN Defenses", "abstract": "Graph Neural Networks (GNNs) have emerged as a dominant paradigm for learning on graph-structured data, thanks to their ability to jointly exploit node features and relational information encoded in the graph topology. This joint modeling, however, also introduces a critical weakness: perturbations or noise in either the structure or the features can be amplified through message passing, making GNNs highly vulnerable to adversarial attacks and spurious connections. In this work, we introduce a pruning framework that leverages adversarial robustness evaluation to explicitly identify and remove fragile or detrimental components of the graph. By using robustness scores as guidance, our method selectively prunes edges that are most likely to degrade model reliability, thereby yielding cleaner and more resilient graph representations. We instantiate this framework on three representative GNN architectures and conduct extensive experiments on benchmarks. The experimental results show that our approach can significantly enhance the defense capability of GNNs in the high-perturbation regime.", "date": "2025-11-29", "categories": []} {"id": "2512.21404", "title": "LLM-Driven Feature-Level Adversarial Attacks on Android Malware Detectors", "abstract": "The rapid growth in both the scale and complexity of Android malware has driven the widespread adoption of machine learning (ML) techniques for scalable and accurate malware detection. Despite their effectiveness, these models remain vulnerable to adversarial attacks that introduce carefully crafted feature-level perturbations to evade detection while preserving malicious functionality. In this paper, we present LAMLAD, a novel adversarial attack framework that exploits the generative and reasoning capabilities of large language models (LLMs) to bypass ML-based Android malware classifiers. LAMLAD employs a dual-agent architecture composed of an LLM manipulator, which generates realistic and functionality-preserving feature perturbations, and an LLM analyzer, which guides the perturbation process toward successful evasion. To improve efficiency and contextual awareness, LAMLAD integrates retrieval-augmented generation (RAG) into the LLM pipeline. Focusing on Drebin-style feature representations, LAMLAD enables stealthy and high-confidence attacks against widely deployed Android malware detection systems. We evaluate LAMLAD against three representative ML-based Android malware detectors and compare its performance with two state-of-the-art adversarial attack methods. Experimental results demonstrate that LAMLAD achieves an attack success rate (ASR) of up to 97%, requiring on average only three attempts per adversarial sample, highlighting its effectiveness, efficiency, and adaptability in practical adversarial settings. Furthermore, we propose an adversarial training-based defense strategy that reduces the ASR by more than 30% on average, significantly enhancing model robustness against LAMLAD-style attacks.", "date": "2025-12-24", "categories": []} {"id": "2512.22069", "title": "Scaling Adversarial Training via Data Selection", "abstract": "Projected Gradient Descent (PGD) is a strong and widely used first-order adversarial attack, yet its computational cost scales poorly, as all training samples undergo identical iterative inner-loop optimization despite contributing unequally to robustness. Motivated by this inefficiency, we propose \\emph{Selective Adversarial Training}, which perturbs only a subset of critical samples in each minibatch. Specifically, we introduce two principled selection criteria: (1) margin-based sampling, which prioritizes samples near the decision boundary, and (2) gradient-matching sampling, which selects samples whose gradients align with the dominant batch optimization direction. Adversarial examples are generated only for the selected subset, while the remaining samples are trained cleanly using a mixed objective. Experiments on MNIST and CIFAR-10 show that the proposed methods achieve robustness comparable to, or even exceeding, full PGD adversarial training, while reducing adversarial computation by up to $50\\%$, demonstrating that informed sample selection is sufficient for scalable adversarial robustness.", "date": "2025-12-26", "categories": []} {"id": "2512.20893", "title": "Time-Efficient Evaluation and Enhancement of Adversarial Robustness in Deep Neural Networks", "abstract": "With deep neural networks (DNNs) increasingly embedded in modern society, ensuring their safety has become a critical and urgent issue. In response, substantial efforts have been dedicated to the red-blue adversarial framework, where the red team focuses on identifying vulnerabilities in DNNs and the blue team on mitigating them. However, existing approaches from both teams remain computationally intensive, constraining their applicability to large-scale models. To overcome this limitation, this thesis endeavours to provide time-efficient methods for the evaluation and enhancement of adversarial robustness in DNNs.", "date": "2025-12-24", "categories": []} {"id": "2512.21241", "title": "Improving the Convergence Rate of Ray Search Optimization for Query-Efficient Hard-Label Attacks", "abstract": "In hard-label black-box adversarial attacks, where only the top-1 predicted label is accessible, the prohibitive query complexity poses a major obstacle to practical deployment. In this paper, we focus on optimizing a representative class of attacks that search for the optimal ray direction yielding the minimum $\\ell_2$-norm perturbation required to move a benign image into the adversarial region. Inspired by Nesterov's Accelerated Gradient (NAG), we propose a momentum-based algorithm, ARS-OPT, which proactively estimates the gradient with respect to a future ray direction inferred from accumulated momentum. We provide a theoretical analysis of its convergence behavior, showing that ARS-OPT enables more accurate directional updates and achieves faster, more stable optimization. To further accelerate convergence, we incorporate surrogate-model priors into ARS-OPT's gradient estimation, resulting in PARS-OPT with enhanced performance. The superiority of our approach is supported by theoretical guarantees under standard assumptions. Extensive experiments on ImageNet and CIFAR-10 demonstrate that our method surpasses 13 state-of-the-art approaches in query efficiency.", "date": "2025-12-24", "categories": []} {"id": "2512.19711", "title": "PHANTOM: PHysical ANamorphic Threats Obstructing Connected Vehicle Mobility", "abstract": "Connected autonomous vehicles (CAVs) rely on vision-based deep neural networks (DNNs) and low-latency (Vehicle-to-Everything) V2X communication to navigate safely and efficiently. Despite their advances, these systems remain vulnerable to physical adversarial attacks. In this paper, we introduce PHANTOM (PHysical ANamorphic Threats Obstructing connected vehicle Mobility), a novel framework for crafting and deploying perspective-dependent adversarial examples using \\textit{anamorphic art}. PHANTOM exploits geometric distortions that appear natural to humans but are misclassified with high confidence by state-of-the-art object detectors. Unlike conventional attacks, PHANTOM operates in black-box settings without model access and demonstrates strong transferability across four diverse detector architectures (YOLOv5, SSD, Faster R-CNN, and RetinaNet). Comprehensive evaluation in CARLA across varying speeds, weather conditions, and lighting scenarios shows that PHANTOM achieves over 90\\% attack success rate under optimal conditions and maintains 60-80\\% effectiveness even in degraded environments. The attack activates within 6-10 meters of the target, providing insufficient time for safe maneuvering. Beyond individual vehicle deception, PHANTOM triggers network-wide disruption in CAV systems: SUMO-OMNeT++ co-simulation demonstrates that false emergency messages propagate through V2X links, increasing Peak Age of Information by 68-89\\% and degrading safety-critical communication. These findings expose critical vulnerabilities in both perception and communication layers of CAV ecosystems.", "date": "2025-12-15", "categories": []} {"id": "2512.19935", "title": "Conditional Adversarial Fragility in Financial Machine Learning under Macroeconomic Stress", "abstract": "Machine learning models used in financial decision systems operate in nonstationary economic environments, yet adversarial robustness is typically evaluated under static assumptions. This work introduces Conditional Adversarial Fragility, a regime dependent phenomenon in which adversarial vulnerability is systematically amplified during periods of macroeconomic stress. We propose a regime aware evaluation framework for time indexed tabular financial classification tasks that conditions robustness assessment on external indicators of economic stress. Using volatility based regime segmentation as a proxy for macroeconomic conditions, we evaluate model behavior across calm and stress periods while holding model architecture, attack methodology, and evaluation protocols constant. Baseline predictive performance remains comparable across regimes, indicating that economic stress alone does not induce inherent performance degradation. Under adversarial perturbations, however, models operating during stress regimes exhibit substantially greater degradation across predictive accuracy, operational decision thresholds, and risk sensitive outcomes. We further demonstrate that this amplification propagates to increased false negative rates, elevating the risk of missed high risk cases during adverse conditions. To complement numerical robustness metrics, we introduce an interpretive governance layer based on semantic auditing of model explanations using large language models. Together, these results demonstrate that adversarial robustness in financial machine learning is a regime dependent property and motivate stress aware approaches to model risk assessment in high stakes financial deployments.", "date": "2025-12-22", "categories": []} {"id": "2406.05491", "title": "One Perturbation is Enough: On Generating Universal Adversarial Perturbations against Vision-Language Pre-training Models", "abstract": "Vision-Language Pre-training (VLP) models have exhibited unprecedented capability in many applications by taking full advantage of the multimodal alignment. However, previous studies have shown they are vulnerable to maliciously crafted adversarial samples. Despite recent success, these methods are generally instance-specific and require generating perturbations for each input sample. In this paper, we reveal that VLP models are also vulnerable to the instance-agnostic universal adversarial perturbation (UAP). Specifically, we design a novel Contrastive-training Perturbation Generator with Cross-modal conditions (C-PGC) to achieve the attack. In light that the pivotal multimodal alignment is achieved through the advanced contrastive learning technique, we devise to turn this powerful weapon against themselves, i.e., employ a malicious version of contrastive learning to train the C-PGC based on our carefully crafted positive and negative image-text pairs for essentially destroying the alignment relationship learned by VLP models. Besides, C-PGC fully utilizes the characteristics of Vision-and-Language (V+L) scenarios by incorporating both unimodal and cross-modal information as effective guidance. Extensive experiments show that C-PGC successfully forces adversarial samples to move away from their original area in the VLP model's feature space, thus essentially enhancing attacks across various victim models and V+L tasks. The GitHub repository is available at https://github.com/ffhibnese/CPGC_VLP_Universal_Attacks.", "date": "2024-06-08", "categories": []} {"id": "2512.18651", "title": "Adversarial Robustness in Zero-Shot Learning:An Empirical Study on Class and Concept-Level Vulnerabilities", "abstract": "Zero-shot Learning (ZSL) aims to enable image classifiers to recognize images from unseen classes that were not included during training. Unlike traditional supervised classification, ZSL typically relies on learning a mapping from visual features to predefined, human-understandable class concepts. While ZSL models promise to improve generalization and interpretability, their robustness under systematic input perturbations remain unclear. In this study, we present an empirical analysis about the robustness of existing ZSL methods at both classlevel and concept-level. Specifically, we successfully disrupted their class prediction by the well-known non-target class attack (clsA). However, in the Generalized Zero-shot Learning (GZSL) setting, we observe that the success of clsA is only at the original best-calibrated point. After the attack, the optimal bestcalibration point shifts, and ZSL models maintain relatively strong performance at other calibration points, indicating that clsA results in a spurious attack success in the GZSL. To address this, we propose the Class-Bias Enhanced Attack (CBEA), which completely eliminates GZSL accuracy across all calibrated points by enhancing the gap between seen and unseen class probabilities.Next, at concept-level attack, we introduce two novel attack modes: Class-Preserving Concept Attack (CPconA) and NonClass-Preserving Concept Attack (NCPconA). Our extensive experiments evaluate three typical ZSL models across various architectures from the past three years and reveal that ZSL models are vulnerable not only to the traditional class attack but also to concept-based attacks. These attacks allow malicious actors to easily manipulate class predictions by erasing or introducing concepts. Our findings highlight a significant performance gap between existing approaches, emphasizing the need for improved adversarial robustness in current ZSL models.", "date": "2025-12-21", "categories": []} {"id": "2512.18722", "title": "Generating Risky Samples with Conformity Constraints via Diffusion Models", "abstract": "Although neural networks achieve promising performance in many tasks, they may still fail when encountering some examples and bring about risks to applications. To discover risky samples, previous literature attempts to search for patterns of risky samples within existing datasets or inject perturbation into them. Yet in this way the diversity of risky samples is limited by the coverage of existing datasets. To overcome this limitation, recent works adopt diffusion models to produce new risky samples beyond the coverage of existing datasets. However, these methods struggle in the conformity between generated samples and expected categories, which could introduce label noise and severely limit their effectiveness in applications. To address this issue, we propose RiskyDiff that incorporates the embeddings of both texts and images as implicit constraints of category conformity. We also design a conformity score to further explicitly strengthen the category conformity, as well as introduce the mechanisms of embedding screening and risky gradient guidance to boost the risk of generated samples. Extensive experiments reveal that RiskyDiff greatly outperforms existing methods in terms of the degree of risk, generation quality, and conformity with conditioned categories. We also empirically show the generalization ability of the models can be enhanced by augmenting training data with generated samples of high conformity.", "date": "2025-12-21", "categories": []} {"id": "2511.10008", "title": "Phantom Menace: Exploring and Enhancing the Robustness of VLA Models Against Physical Sensor Attacks", "abstract": "Vision-Language-Action (VLA) models revolutionize robotic systems by enabling end-to-end perception-to-action pipelines that integrate multiple sensory modalities, such as visual signals processed by cameras and auditory signals captured by microphones. This multi-modality integration allows VLA models to interpret complex, real-world environments using diverse sensor data streams. Given the fact that VLA-based systems heavily rely on the sensory input, the security of VLA models against physical-world sensor attacks remains critically underexplored. To address this gap, we present the first systematic study of physical sensor attacks against VLAs, quantifying the influence of sensor attacks and investigating the defenses for VLA models. We introduce a novel \"Real-Sim-Real\" framework that automatically simulates physics-based sensor attack vectors, including six attacks targeting cameras and two targeting microphones, and validates them on real robotic systems. Through large-scale evaluations across various VLA architectures and tasks under varying attack parameters, we demonstrate significant vulnerabilities, with susceptibility patterns that reveal critical dependencies on task types and model designs. We further develop an adversarial-training-based defense that enhances VLA robustness against out-of-distribution physical perturbations caused by sensor attacks while preserving model performance. Our findings expose an urgent need for standardized robustness benchmarks and mitigation strategies to secure VLA deployments in safety-critical environments.", "date": "2025-11-13", "categories": []} {"id": "2512.17029", "title": "Adversarial VR: An Open-Source Testbed for Evaluating Adversarial Robustness of VR Cybersickness Detection and Mitigation", "abstract": "Deep learning (DL)-based automated cybersickness detection methods, along with adaptive mitigation techniques, can enhance user comfort and interaction. However, recent studies show that these DL-based systems are susceptible to adversarial attacks; small perturbations to sensor inputs can degrade model performance, trigger incorrect mitigation, and disrupt the user's immersive experience (UIX). Additionally, there is a lack of dedicated open-source testbeds that evaluate the robustness of these systems under adversarial conditions, limiting the ability to assess their real-world effectiveness. To address this gap, this paper introduces Adversarial-VR, a novel real-time VR testbed for evaluating DL-based cybersickness detection and mitigation strategies under adversarial conditions. Developed in Unity, the testbed integrates two state-of-the-art (SOTA) DL models: DeepTCN and Transformer, which are trained on the open-source MazeSick dataset, for real-time cybersickness severity detection and applies a dynamic visual tunneling mechanism that adjusts the field-of-view based on model outputs. To assess robustness, we incorporate three SOTA adversarial attacks: MI-FGSM, PGD, and C&W, which successfully prevent cybersickness mitigation by fooling DL-based cybersickness models' outcomes. We implement these attacks using a testbed with a custom-built VR Maze simulation and an HTC Vive Pro Eye headset, and we open-source our implementation for widespread adoption by VR developers and researchers. Results show that these adversarial attacks are capable of successfully fooling the system. For instance, the C&W attack results in a $5.94x decrease in accuracy for the Transformer-based cybersickness model compared to the accuracy without the attack.", "date": "2025-12-18", "categories": []} {"id": "2512.17146", "title": "Biosecurity-Aware AI: Agentic Risk Auditing of Soft Prompt Attacks on ESM-Based Variant Predictors", "abstract": "Genomic Foundation Models (GFMs), such as Evolutionary Scale Modeling (ESM), have demonstrated remarkable success in variant effect prediction. However, their security and robustness under adversarial manipulation remain largely unexplored. To address this gap, we introduce the Secure Agentic Genomic Evaluator (SAGE), an agentic framework for auditing the adversarial vulnerabilities of GFMs. SAGE functions through an interpretable and automated risk auditing loop. It injects soft prompt perturbations, monitors model behavior across training checkpoints, computes risk metrics such as AUROC and AUPR, and generates structured reports with large language model-based narrative explanations. This agentic process enables continuous evaluation of embedding-space robustness without modifying the underlying model. Using SAGE, we find that even state-of-the-art GFMs like ESM2 are sensitive to targeted soft prompt attacks, resulting in measurable performance degradation. These findings reveal critical and previously hidden vulnerabilities in genomic foundation models, showing the importance of agentic risk auditing in securing biomedical applications such as clinical variant interpretation.", "date": "2025-12-19", "categories": []} {"id": "2512.17902", "title": "Adversarial Robustness of Vision in Open Foundation Models", "abstract": "With the increase in deep learning, it becomes increasingly difficult to understand the model in which AI systems can identify objects. Thus, an adversary could aim to modify an image by adding unseen elements, which will confuse the AI in its recognition of an entity. This paper thus investigates the adversarial robustness of LLaVA-1.5-13B and Meta's Llama 3.2 Vision-8B-2. These are tested for untargeted PGD (Projected Gradient Descent) against the visual input modality, and empirically evaluated on the Visual Question Answering (VQA) v2 dataset subset. The results of these adversarial attacks are then quantified using the standard VQA accuracy metric. This evaluation is then compared with the accuracy degradation (accuracy drop) of LLaVA and Llama 3.2 Vision. A key finding is that Llama 3.2 Vision, despite a lower baseline accuracy in this setup, exhibited a smaller drop in performance under attack compared to LLaVA, particularly at higher perturbation levels. Overall, the findings confirm that the vision modality represents a viable attack vector for degrading the performance of contemporary open-weight VLMs, including Meta's Llama 3.2 Vision. Furthermore, they highlight that adversarial robustness does not necessarily correlate directly with standard benchmark performance and may be influenced by underlying architectural and training factors.", "date": "2025-12-19", "categories": []} {"id": "2411.16782", "title": "Scaling Laws for Black box Adversarial Attacks", "abstract": "Adversarial examples exhibit cross-model transferability, enabling threatening black-box attacks on commercial models. Model ensembling, which attacks multiple surrogate models, is a known strategy to improve this transferability. However, prior studies typically use small, fixed ensembles, which leaves open an intriguing question of whether scaling the number of surrogate models can further improve black-box attacks. In this work, we conduct the first large-scale empirical study of this question. We show that by resolving gradient conflict with advanced optimizers, we discover a robust and universal log-linear scaling law through both theoretical analysis and empirical evaluations: the Attack Success Rate (ASR) scales linearly with the logarithm of the ensemble size $T$. We rigorously verify this law across standard classifiers, SOTA defenses, and MLLMs, and find that scaling distills robust, semantic features of the target class. Consequently, we apply this fundamental insight to benchmark SOTA MLLMs. This reveals both the attack's devastating power and a clear robustness hierarchy: we achieve 80\\%+ transfer attack success rate on proprietary models like GPT-4o, while also highlighting the exceptional resilience of Claude-3.5-Sonnet. Our findings urge a shift in focus for robustness evaluation: from designing intricate algorithms on small ensembles to understanding the principled and powerful threat of scaling.", "date": "2024-11-25", "categories": []} {"id": "2511.13654", "title": "Tuning for Two Adversaries: Enhancing the Robustness Against Transfer and Query-Based Attacks using Hyperparameter Tuning", "abstract": "In this paper, we present the first detailed analysis of how training hyperparameters -- such as learning rate, weight decay, momentum, and batch size -- influence robustness against both transfer-based and query-based attacks. Supported by theory and experiments, our study spans a variety of practical deployment settings, including centralized training, ensemble learning, and distributed training. We uncover a striking dichotomy: for transfer-based attacks, decreasing the learning rate significantly enhances robustness by up to $64\\%$. In contrast, for query-based attacks, increasing the learning rate consistently leads to improved robustness by up to $28\\%$ across various settings and data distributions. Leveraging these findings, we explore -- for the first time -- the training hyperparameter space to jointly enhance robustness against both transfer-based and query-based attacks. Our results reveal that distributed models benefit the most from hyperparameter tuning, achieving a remarkable tradeoff by simultaneously mitigating both attack types more effectively than other training setups.", "date": "2025-11-17", "categories": []} {"id": "2512.15780", "title": "Adversarial Robustness in Financial Machine Learning: Defenses, Economic Impact, and Governance Evidence", "abstract": "We evaluate adversarial robustness in tabular machine learning models used in financial decision making. Using credit scoring and fraud detection data, we apply gradient based attacks and measure impacts on discrimination, calibration, and financial risk metrics. Results show notable performance degradation under small perturbations and partial recovery through adversarial training.", "date": "2025-12-14", "categories": []} {"id": "2512.16123", "title": "Autoencoder-based Denoising Defense against Adversarial Attacks on Object Detection", "abstract": "Deep learning-based object detection models play a critical role in real-world applications such as autonomous driving and security surveillance systems, yet they remain vulnerable to adversarial examples. In this work, we propose an autoencoder-based denoising defense to recover object detection performance degraded by adversarial perturbations. We conduct adversarial attacks using Perlin noise on vehicle-related images from the COCO dataset, apply a single-layer convolutional autoencoder to remove the perturbations, and evaluate detection performance using YOLOv5. Our experiments demonstrate that adversarial attacks reduce bbox mAP from 0.2890 to 0.1640, representing a 43.3% performance degradation. After applying the proposed autoencoder defense, bbox mAP improves to 0.1700 (3.7% recovery) and bbox mAP@50 increases from 0.2780 to 0.3080 (10.8% improvement). These results indicate that autoencoder-based denoising can provide partial defense against adversarial attacks without requiring model retraining.", "date": "2025-12-18", "categories": []} {"id": "2406.10090", "title": "Over-parameterization and Adversarial Robustness in Neural Networks: An Overview and Empirical Analysis", "abstract": "Thanks to their extensive capacity, over-parameterized neural networks exhibit superior predictive capabilities and generalization. However, having a large parameter space is considered one of the main suspects of the neural networks' vulnerability to adversarial example -- input samples crafted ad-hoc to induce a desired misclassification. Relevant literature has claimed contradictory remarks in support of and against the robustness of over-parameterized networks. These contradictory findings might be due to the failure of the attack employed to evaluate the networks' robustness. Previous research has demonstrated that depending on the considered model, the algorithm employed to generate adversarial examples may not function properly, leading to overestimating the model's robustness. In this work, we empirically study the robustness of over-parameterized networks against adversarial examples. However, unlike the previous works, we also evaluate the considered attack's reliability to support the results' veracity. Our results show that over-parameterized networks are robust against adversarial attacks as opposed to their under-parameterized counterparts.", "date": "2024-06-14", "categories": []} {"id": "2411.10029", "title": "Toward Robust and Accurate Adversarial Camouflage Generation against Vehicle Detectors", "abstract": "Adversarial camouflage is a widely used physical attack against vehicle detectors for its superiority in multi-view attack performance. One promising approach involves using differentiable neural renderers to facilitate adversarial camouflage optimization through gradient back-propagation. However, existing methods often struggle to capture environmental characteristics during the rendering process or produce adversarial textures that can precisely map to the target vehicle. Moreover, these approaches neglect diverse weather conditions, reducing the efficacy of generated camouflage across varying weather scenarios. To tackle these challenges, we propose a robust and accurate camouflage generation method, namely RAUCA. The core of RAUCA is a novel neural rendering component, End-to-End Neural Renderer Plus (E2E-NRP), which can accurately optimize and project vehicle textures and render images with environmental characteristics such as lighting and weather. In addition, we integrate a multi-weather dataset for camouflage generation, leveraging the E2E-NRP to enhance the attack robustness. Experimental results on six popular object detectors show that RAUCA-final outperforms existing methods in both simulation and real-world settings.", "date": "2024-11-15", "categories": []} {"id": "2506.09677", "title": "Benchmarking Gaslighting Negation Attacks Against Reasoning Models", "abstract": "Recent advances in reasoning-centric models promise improved robustness through mechanisms such as chain-of-thought prompting and test-time scaling. However, their ability to withstand gaslighting negation attacks-adversarial prompts that confidently deny correct answers-remains underexplored. In this paper, we conduct a systematic evaluation of three state-of-the-art reasoning models, i.e., OpenAI's o4-mini, Claude-3.7-Sonnet and Gemini-2.5-Flash, across three multimodal benchmarks: MMMU, MathVista, and CharXiv. Our evaluation reveals significant accuracy drops (25-29% on average) following gaslighting negation attacks, indicating that even top-tier reasoning models struggle to preserve correct answers under manipulative user feedback. Built upon the insights of the evaluation and to further probe this vulnerability, we introduce GaslightingBench-R, a new diagnostic benchmark specifically designed to evaluate reasoning models' susceptibility to defend their belief under gaslighting negation attacks. Constructed by filtering and curating 1,025 challenging samples from the existing benchmarks, GaslightingBench-R induces even more dramatic failures, with accuracy drops exceeding 53% on average. Our findings highlight a fundamental gap between step-by-step reasoning and resistance to adversarial manipulation, calling for new robustness strategies that safeguard reasoning models against gaslighting negation attacks.", "date": "2025-06-11", "categories": []} {"id": "2512.15123", "title": "TrajSyn: Privacy-Preserving Dataset Distillation from Federated Model Trajectories for Server-Side Adversarial Training", "abstract": "Deep learning models deployed on edge devices are increasingly used in safety-critical applications. However, their vulnerability to adversarial perturbations poses significant risks, especially in Federated Learning (FL) settings where identical models are distributed across thousands of clients. While adversarial training is a strong defense, it is difficult to apply in FL due to strict client-data privacy constraints and the limited compute available on edge devices. In this work, we introduce TrajSyn, a privacy-preserving framework that enables effective server-side adversarial training by synthesizing a proxy dataset from the trajectories of client model updates, without accessing raw client data. We show that TrajSyn consistently improves adversarial robustness on image classification benchmarks with no extra compute burden on the client device.", "date": "2025-12-17", "categories": []} {"id": "2512.15353", "title": "Adversarial versification in portuguese as a jailbreak operator in LLMs", "abstract": "Recent evidence shows that the versification of prompts constitutes a highly effective adversarial mechanism against aligned LLMs. The study 'Adversarial poetry as a universal single-turn jailbreak mechanism in large language models' demonstrates that instructions routinely refused in prose become executable when rewritten as verse, producing up to 18 x more safety failures in benchmarks derived from MLCommons AILuminate. Manually written poems reach approximately 62% ASR, and automated versions 43%, with some models surpassing 90% success in single-turn interactions. The effect is structural: systems trained with RLHF, constitutional AI, and hybrid pipelines exhibit consistent degradation under minimal semiotic formal variation. Versification displaces the prompt into sparsely supervised latent regions, revealing guardrails that are excessively dependent on surface patterns. This dissociation between apparent robustness and real vulnerability exposes deep limitations in current alignment regimes. The absence of evaluations in Portuguese, a language with high morphosyntactic complexity, a rich metric-prosodic tradition, and over 250 million speakers, constitutes a critical gap. Experimental protocols must parameterise scansion, metre, and prosodic variation to test vulnerabilities specific to Lusophone patterns, which are currently ignored.", "date": "2025-12-17", "categories": []} {"id": "2307.07873", "title": "Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferability", "abstract": "Adversarial examples (AEs) for DNNs have been shown to be transferable: AEs that successfully fool white-box surrogate models can also deceive other black-box models with different architectures. Although a bunch of empirical studies have provided guidance on generating highly transferable AEs, many of these findings lack explanations and even lead to inconsistent advice. In this paper, we take a further step towards understanding adversarial transferability, with a particular focus on surrogate aspects. Starting from the intriguing little robustness phenomenon, where models adversarially trained with mildly perturbed adversarial samples can serve as better surrogates, we attribute it to a trade-off between two predominant factors: model smoothness and gradient similarity. Our investigations focus on their joint effects, rather than their separate correlations with transferability. Through a series of theoretical and empirical analyses, we conjecture that the data distribution shift in adversarial training explains the degradation of gradient similarity. Building on these insights, we explore the impacts of data augmentation and gradient regularization on transferability and identify that the trade-off generally exists in the various training mechanisms, thus building a comprehensive blueprint for the regulation mechanism behind transferability. Finally, we provide a general route for constructing better surrogates to boost transferability which optimizes both model smoothness and gradient similarity simultaneously, e.g., the combination of input gradient regularization and sharpness-aware minimization (SAM), validated by extensive experiments. In summary, we call for attention to the united impacts of these two factors for launching effective transfer attacks, rather than optimizing one while ignoring the other, and emphasize the crucial role of manipulating surrogate models.", "date": "2023-07-15", "categories": []} {"id": "2312.04960", "title": "MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustness", "abstract": "Vision Transformers (ViTs) have emerged as a fundamental architecture and serve as the backbone of modern vision-language models. Despite their impressive performance, ViTs exhibit notable vulnerability to evasion attacks, necessitating the development of specialized Adversarial Training (AT) strategies tailored to their unique architecture. While a direct solution might involve applying existing AT methods to ViTs, our analysis reveals significant incompatibilities, particularly with state-of-the-art (SOTA) approaches such as Generalist (CVPR 2023) and DBAT (USENIX Security 2024). This paper presents a systematic investigation of adversarial robustness in ViTs and provides a novel theoretical Mutual Information (MI) analysis in its autoencoder-based self-supervised pre-training. Specifically, we show that MI between the adversarial example and its latent representation in ViT-based autoencoders should be constrained via derived MI bounds. Building on this insight, we propose a self-supervised AT method, MIMIR, that employs an MI penalty to facilitate adversarial pre-training by masked image modeling with autoencoders. Extensive experiments on CIFAR-10, Tiny-ImageNet, and ImageNet-1K show that MIMIR can consistently provide improved natural and robust accuracy, where MIMIR outperforms SOTA AT results on ImageNet-1K. Notably, MIMIR demonstrates superior robustness against unforeseen attacks and common corruption data and can also withstand adaptive attacks where the adversary possesses full knowledge of the defense mechanism. Our code and trained models are publicly available at: https://github.com/xiaoyunxxy/MIMIR.", "date": "2023-12-08", "categories": []} {"id": "2512.14188", "title": "Optimizing the Adversarial Perturbation with a Momentum-based Adaptive Matrix", "abstract": "Generating adversarial examples (AEs) can be formulated as an optimization problem. Among various optimization-based attacks, the gradient-based PGD and the momentum-based MI-FGSM have garnered considerable interest. However, all these attacks use the sign function to scale their perturbations, which raises several theoretical concerns from the point of view of optimization. In this paper, we first reveal that PGD is actually a specific reformulation of the projected gradient method using only the current gradient to determine its step-size. Further, we show that when we utilize a conventional adaptive matrix with the accumulated gradients to scale the perturbation, PGD becomes AdaGrad. Motivated by this analysis, we present a novel momentum-based attack AdaMI, in which the perturbation is optimized with an interesting momentum-based adaptive matrix. AdaMI is proved to attain optimal convergence for convex problems, indicating that it addresses the non-convergence issue of MI-FGSM, thereby ensuring stability of the optimization process. The experiments demonstrate that the proposed momentum-based adaptive matrix can serve as a general and effective technique to boost adversarial transferability over the state-of-the-art methods across different networks while maintaining better stability and imperceptibility.", "date": "2025-12-16", "categories": []} {"id": "2512.14320", "title": "Semantic Mismatch and Perceptual Degradation: A New Perspective on Image Editing Immunity", "abstract": "Text-guided image editing via diffusion models, while powerful, raises significant concerns about misuse, motivating efforts to immunize images against unauthorized edits using imperceptible perturbations. Prevailing metrics for evaluating immunization success typically rely on measuring the visual dissimilarity between the output generated from a protected image and a reference output generated from the unprotected original. This approach fundamentally overlooks the core requirement of image immunization, which is to disrupt semantic alignment with attacker intent, regardless of deviation from any specific output. We argue that immunization success should instead be defined by the edited output either semantically mismatching the prompt or suffering substantial perceptual degradations, both of which thwart malicious intent. To operationalize this principle, we propose Synergistic Intermediate Feature Manipulation (SIFM), a method that strategically perturbs intermediate diffusion features through dual synergistic objectives: (1) maximizing feature divergence from the original edit trajectory to disrupt semantic alignment with the expected edit, and (2) minimizing feature norms to induce perceptual degradations. Furthermore, we introduce the Immunization Success Rate (ISR), a novel metric designed to rigorously quantify true immunization efficacy for the first time. ISR quantifies the proportion of edits where immunization induces either semantic failure relative to the prompt or significant perceptual degradations, assessed via Multimodal Large Language Models (MLLMs). Extensive experiments show our SIFM achieves the state-of-the-art performance for safeguarding visual content against malicious diffusion-based manipulation.", "date": "2025-12-16", "categories": []} {"id": "2512.14333", "title": "Dual Attention Guided Defense Against Malicious Edits", "abstract": "Recent progress in text-to-image diffusion models has transformed image editing via text prompts, yet this also introduces significant ethical challenges from potential misuse in creating deceptive or harmful content. While current defenses seek to mitigate this risk by embedding imperceptible perturbations, their effectiveness is limited against malicious tampering. To address this issue, we propose a Dual Attention-Guided Noise Perturbation (DANP) immunization method that adds imperceptible perturbations to disrupt the model's semantic understanding and generation process. DANP functions over multiple timesteps to manipulate both cross-attention maps and the noise prediction process, using a dynamic threshold to generate masks that identify text-relevant and irrelevant regions. It then reduces attention in relevant areas while increasing it in irrelevant ones, thereby misguides the edit towards incorrect regions and preserves the intended targets. Additionally, our method maximizes the discrepancy between the injected noise and the model's predicted noise to further interfere with the generation. By targeting both attention and noise prediction mechanisms, DANP exhibits impressive immunity against malicious edits, and extensive experiments confirm that our method achieves state-of-the-art performance.", "date": "2025-12-16", "categories": []} {"id": "2405.08645", "title": "Certifying Robustness of Graph Convolutional Networks for Node Perturbation with Polyhedra Abstract Interpretation", "abstract": "Graph convolutional neural networks (GCNs) are powerful tools for learning graph-based knowledge representations from training data. However, they are vulnerable to small perturbations in the input graph, which makes them susceptible to input faults or adversarial attacks. This poses a significant problem for GCNs intended to be used in critical applications, which need to provide certifiably robust services even in the presence of adversarial perturbations. We propose an improved GCN robustness certification technique for node classification in the presence of node feature perturbations. We introduce a novel polyhedra-based abstract interpretation approach to tackle specific challenges of graph data and provide tight upper and lower bounds for the robustness of the GCN. Experiments show that our approach simultaneously improves the tightness of robustness bounds as well as the runtime performance of certification. Moreover, our method can be used during training to further improve the robustness of GCNs.", "date": "2024-05-14", "categories": []} {"id": "2506.21127", "title": "Meta Policy Switching for Secure UAV Deconfliction in Adversarial Airspace", "abstract": "Autonomous UAV navigation using reinforcement learning (RL) is vulnerable to adversarial attacks that manipulate sensor inputs, potentially leading to unsafe behavior and mission failure. Although robust RL methods provide partial protection, they often struggle to generalize to unseen or out-of-distribution (OOD) attacks due to their reliance on fixed perturbation settings. To address this limitation, we propose a meta-policy switching framework in which a meta-level polic dynamically selects among multiple robust policies to counter unknown adversarial shifts. At the core of this framework lies a discounted Thompson sampling (DTS) mechanism that formulates policy selection as a multi-armed bandit problem, thereby minimizing value distribution shifts via self-induced adversarial observations. We first construct a diverse ensemble of action-robust policies trained under varying perturbation intensities. The DTS-based meta-policy then adaptively selects among these policies online, optimizing resilience against self-induced, piecewise-stationary attacks. Theoretical analysis shows that the DTS mechanism minimizes expected regret, ensuring adaptive robustness to OOD attacks and exhibiting emergent antifragile behavior under uncertainty. Extensive simulations in complex 3D obstacle environments under both white-box (Projected Gradient Descent) and black-box (GPS spoofing) attacks demonstrate significantly improved navigation efficiency and higher conflict free trajectory rates compared to standard robust and vanilla RL baselines, highlighting the practical security and dependability benefits of the proposed approach.", "date": "2025-06-26", "categories": []} {"id": "2511.16020", "title": "Physically Realistic Sequence-Level Adversarial Clothing for Robust Human-Detection Evasion", "abstract": "Deep neural networks used for human detection are highly vulnerable to adversarial manipulation, creating safety and privacy risks in real surveillance environments. Wearable attacks offer a realistic threat model, yet existing approaches usually optimize textures frame by frame and therefore fail to maintain concealment across long video sequences with motion, pose changes, and garment deformation. In this work, a sequence-level optimization framework is introduced to generate natural, printable adversarial textures for shirts, trousers, and hats that remain effective throughout entire walking videos in both digital and physical settings. Product images are first mapped to UV space and converted into a compact palette and control-point parameterization, with ICC locking to keep all colors printable. A physically based human-garment pipeline is then employed to simulate motion, multi-angle camera viewpoints, cloth dynamics, and illumination variation. An expectation-over-transformation objective with temporal weighting is used to optimize the control points so that detection confidence is minimized across whole sequences. Extensive experiments demonstrate strong and stable concealment, high robustness to viewpoint changes, and superior cross-model transferability. Physical garments produced with sublimation printing achieve reliable suppression under indoor and outdoor recordings, confirming real-world feasibility.", "date": "2025-11-20", "categories": []} {"id": "2512.11865", "title": "Explainable Adversarial-Robust Vision-Language-Action Model for Robotic Manipulation", "abstract": "Smart farming has emerged as a key technology for advancing modern agriculture through automation and intelligent control. However, systems relying on RGB cameras for perception and robotic manipulators for control, common in smart farming, are vulnerable to photometric perturbations such as hue, illumination, and noise changes, which can cause malfunction under adversarial attacks. To address this issue, we propose an explainable adversarial-robust Vision-Language-Action model based on the OpenVLA-OFT framework. The model integrates an Evidence-3 module that detects photometric perturbations and generates natural language explanations of their causes and effects. Experiments show that the proposed model reduces Current Action L1 loss by 21.7% and Next Actions L1 loss by 18.4% compared to the baseline, demonstrating improved action prediction accuracy and explainability under adversarial conditions.", "date": "2025-12-05", "categories": []} {"id": "2512.12002", "title": "Adversarial Attacks Against Deep Learning-Based Radio Frequency Fingerprint Identification", "abstract": "Radio frequency fingerprint identification (RFFI) is an emerging technique for the lightweight authentication of wireless Internet of things (IoT) devices. RFFI exploits deep learning models to extract hardware impairments to uniquely identify wireless devices. Recent studies show deep learning-based RFFI is vulnerable to adversarial attacks. However, effective adversarial attacks against different types of RFFI classifiers have not yet been explored. In this paper, we carried out a comprehensive investigations into different adversarial attack methods on RFFI systems using various deep learning models. Three specific algorithms, fast gradient sign method (FGSM), projected gradient descent (PGD), and universal adversarial perturbation (UAP), were analyzed. The attacks were launched to LoRa-RFFI and the experimental results showed the generated perturbations were effective against convolutional neural networks (CNNs), long short-term memory (LSTM) networks, and gated recurrent units (GRU). We further used UAP to launch practical attacks. Special factors were considered for the wireless context, including implementing real-time attacks, the effectiveness of the attacks over a period of time, etc. Our experimental evaluation demonstrated that UAP can successfully launch adversarial attacks against the RFFI, achieving a success rate of 81.7% when the adversary almost has no prior knowledge of the victim RFFI systems.", "date": "2025-12-12", "categories": []} {"id": "2512.12827", "title": "GradID: Adversarial Detection via Intrinsic Dimensionality of Gradients", "abstract": "Despite their remarkable performance, deep neural networks exhibit a critical vulnerability: small, often imperceptible, adversarial perturbations can lead to drastically altered model predictions. Given the stringent reliability demands of applications such as medical diagnosis and autonomous driving, robust detection of such adversarial attacks is paramount. In this paper, we investigate the geometric properties of a model's input loss landscape. We analyze the Intrinsic Dimensionality (ID) of the model's gradient parameters, which quantifies the minimal number of coordinates required to describe the data points on their underlying manifold. We reveal a distinct and consistent difference in the ID for natural and adversarial data, which forms the basis of our proposed detection method. We validate our approach across two distinct operational scenarios. First, in a batch-wise context for identifying malicious data groups, our method demonstrates high efficacy on datasets like MNIST and SVHN. Second, in the critical individual-sample setting, we establish new state-of-the-art results on challenging benchmarks such as CIFAR-10 and MS COCO. Our detector significantly surpasses existing methods against a wide array of attacks, including CW and AutoAttack, achieving detection rates consistently above 92\\% on CIFAR-10. The results underscore the robustness of our geometric approach, highlighting that intrinsic dimensionality is a powerful fingerprint for adversarial detection across diverse datasets and attack strategies.", "date": "2025-12-14", "categories": []} {"id": "2512.13501", "title": "Behavior-Aware and Generalizable Defense Against Black-Box Adversarial Attacks for ML-Based IDS", "abstract": "Machine learning based intrusion detection systems are increasingly targeted by black box adversarial attacks, where attackers craft evasive inputs using indirect feedback such as binary outputs or behavioral signals like response time and resource usage. While several defenses have been proposed, including input transformation, adversarial training, and surrogate detection, they often fall short in practice. Most are tailored to specific attack types, require internal model access, or rely on static mechanisms that fail to generalize across evolving attack strategies. Furthermore, defenses such as input transformation can degrade intrusion detection system performance, making them unsuitable for real time deployment.\n To address these limitations, we propose Adaptive Feature Poisoning, a lightweight and proactive defense mechanism designed specifically for realistic black box scenarios. Adaptive Feature Poisoning assumes that probing can occur silently and continuously, and introduces dynamic and context aware perturbations to selected traffic features, corrupting the attacker feedback loop without impacting detection capabilities. The method leverages traffic profiling, change point detection, and adaptive scaling to selectively perturb features that an attacker is likely exploiting, based on observed deviations.\n We evaluate Adaptive Feature Poisoning against multiple realistic adversarial attack strategies, including silent probing, transferability based attacks, and decision boundary based attacks. The results demonstrate its ability to confuse attackers, degrade attack effectiveness, and preserve detection performance. By offering a generalizable, attack agnostic, and undetectable defense, Adaptive Feature Poisoning represents a significant step toward practical and robust adversarial resilience in machine learning based intrusion detection systems.", "date": "2025-12-15", "categories": []} {"id": "2408.08518", "title": "Visual-Friendly Concept Protection via Selective Adversarial Perturbations", "abstract": "Personalized concept generation by tuning diffusion models with a few images raises potential legal and ethical concerns regarding privacy and intellectual property rights. Researchers attempt to prevent malicious personalization using adversarial perturbations. However, previous efforts have mainly focused on the effectiveness of protection while neglecting the visibility of perturbations. They utilize global adversarial perturbations, which introduce noticeable alterations to original images and significantly degrade visual quality. In this work, we propose the Visual-Friendly Concept Protection (VCPro) framework, which prioritizes the protection of key concepts chosen by the image owner through adversarial perturbations with lower perceptibility. To ensure these perturbations are as inconspicuous as possible, we introduce a relaxed optimization objective to identify the least perceptible yet effective adversarial perturbations, solved using the Lagrangian multiplier method. Qualitative and quantitative experiments validate that VCPro achieves a better trade-off between the visibility of perturbations and protection effectiveness, effectively prioritizing the protection of target concepts in images with less perceptible perturbations.", "date": "2024-08-16", "categories": []} {"id": "2512.02830", "title": "Defense That Attacks: How Robust Models Become Better Attackers", "abstract": "Deep learning has achieved great success in computer vision, but remains vulnerable to adversarial attacks. Adversarial training is the leading defense designed to improve model robustness. However, its effect on the transferability of attacks is underexplored. In this work, we ask whether adversarial training unintentionally increases the transferability of adversarial examples. To answer this, we trained a diverse zoo of 36 models, including CNNs and ViTs, and conducted comprehensive transferability experiments. Our results reveal a clear paradox: adversarially trained (AT) models produce perturbations that transfer more effectively than those from standard models, which introduce a new ecosystem risk. To enable reproducibility and further study, we release all models, code, and experimental scripts. Furthermore, we argue that robustness evaluations should assess not only the resistance of a model to transferred attacks but also its propensity to produce transferable adversarial examples.", "date": "2025-12-02", "categories": []} {"id": "2512.11783", "title": "Super Suffixes: Bypassing Text Generation Alignment and Guard Models Simultaneously", "abstract": "The rapid deployment of Large Language Models (LLMs) has created an urgent need for enhanced security and privacy measures in Machine Learning (ML). LLMs are increasingly being used to process untrusted text inputs and even generate executable code, often while having access to sensitive system controls. To address these security concerns, several companies have introduced guard models, which are smaller, specialized models designed to protect text generation models from adversarial or malicious inputs. In this work, we advance the study of adversarial inputs by introducing Super Suffixes, suffixes capable of overriding multiple alignment objectives across various models with different tokenization schemes. We demonstrate their effectiveness, along with our joint optimization technique, by successfully bypassing the protection mechanisms of Llama Prompt Guard 2 on five different text generation models for malicious text and code generation. To the best of our knowledge, this is the first work to reveal that Llama Prompt Guard 2 can be compromised through joint optimization.\n Additionally, by analyzing the changing similarity of a model's internal state to specific concept directions during token sequence processing, we propose an effective and lightweight method to detect Super Suffix attacks. We show that the cosine similarity between the residual stream and certain concept directions serves as a distinctive fingerprint of model intent. Our proposed countermeasure, DeltaGuard, significantly improves the detection of malicious prompts generated through Super Suffixes. It increases the non-benign classification rate to nearly 100%, making DeltaGuard a valuable addition to the guard model stack and enhancing robustness against adversarial prompt attacks.", "date": "2025-12-12", "categories": []} {"id": "2511.16203", "title": "When Alignment Fails: Multimodal Adversarial Attacks on Vision-Language-Action Models", "abstract": "Vision-Language-Action models (VLAs) have recently demonstrated remarkable progress in embodied environments, enabling robots to perceive, reason, and act through unified multimodal understanding. Despite their impressive capabilities, the adversarial robustness of these systems remains largely unexplored, especially under realistic multimodal and black-box conditions. Existing studies mainly focus on single-modality perturbations and overlook the cross-modal misalignment that fundamentally affects embodied reasoning and decision-making. In this paper, we introduce VLA-Fool, a comprehensive study of multimodal adversarial robustness in embodied VLA models under both white-box and black-box settings. VLA-Fool unifies three levels of multimodal adversarial attacks: (1) textual perturbations through gradient-based and prompt-based manipulations, (2) visual perturbations via patch and noise distortions, and (3) cross-modal misalignment attacks that intentionally disrupt the semantic correspondence between perception and instruction. We further incorporate a VLA-aware semantic space into linguistic prompts, developing the first automatically crafted and semantically guided prompting framework. Experiments on the LIBERO benchmark using a fine-tuned OpenVLA model reveal that even minor multimodal perturbations can cause significant behavioral deviations, demonstrating the fragility of embodied multimodal alignment.", "date": "2025-11-20", "categories": []} {"id": "2512.10936", "title": "Empirical evaluation of the Frank-Wolfe methods for constructing white-box adversarial attacks", "abstract": "The construction of adversarial attacks for neural networks appears to be a crucial challenge for their deployment in various services. To estimate the adversarial robustness of a neural network, a fast and efficient approach is needed to construct adversarial attacks. Since the formalization of adversarial attack construction involves solving a specific optimization problem, we consider the problem of constructing an efficient and effective adversarial attack from a numerical optimization perspective. Specifically, we suggest utilizing advanced projection-free methods, known as modified Frank-Wolfe methods, to construct white-box adversarial attacks on the given input data. We perform a theoretical and numerical evaluation of these methods and compare them with standard approaches based on projection operations or geometrical intuition. Numerical experiments are performed on the MNIST and CIFAR-10 datasets, utilizing a multiclass logistic regression model, the convolutional neural networks (CNNs), and the Vision Transformer (ViT).", "date": "2025-12-11", "categories": []} {"id": "2510.16443", "title": "Colliding with Adversaries at ECML-PKDD 2025 Model Robustness Competition 1st Prize Solution", "abstract": "This report presents the winning solution for Task 2 of Colliding with Adversaries: A Challenge on Robust Learning in High Energy Physics Discovery at ECML-PKDD 2025. The goal of the challenge was to design and train a robust ANN-based model capable of achieving high accuracy in a binary classification task on both clean and adversarial data generated with the Random Distribution Shuffle Attack (RDSA). Our solution consists of two components: a data generation phase and a robust model training phase. In the first phase, we produced 15 million artificial training samples using a custom methodology derived from Random Distribution Shuffle Attack (RDSA). In the second phase, we introduced a robust architecture comprising (i)a Feature Embedding Block with shared weights among features of the same type and (ii)a Dense Fusion Tail responsible for the final prediction. Training this architecture on our adversarial dataset achieved a mixed accuracy score of 80\\%, exceeding the second-place solution by two percentage points.", "date": "2025-10-18", "categories": []} {"id": "2512.09264", "title": "FBA$^2$D: Frequency-based Black-box Attack for AI-generated Image Detection", "abstract": "The prosperous development of Artificial Intelligence-Generated Content (AIGC) has brought people's anxiety about the spread of false information on social media. Designing detectors for filtering is an effective defense method, but most detectors will be compromised by adversarial samples. Currently, most studies exposing AIGC security issues assume information on model structure and data distribution. In real applications, attackers query and interfere with models that provide services in the form of application programming interfaces (APIs), which constitutes the black-box decision-based attack paradigm. However, to the best of our knowledge, decision-based attacks on AIGC detectors remain unexplored. In this study, we propose \\textbf{FBA$^2$D}: a frequency-based black-box attack method for AIGC detection to fill the research gap. Motivated by frequency-domain discrepancies between generated and real images, we develop a decision-based attack that leverages the Discrete Cosine Transform (DCT) for fine-grained spectral partitioning and selects frequency bands as query subspaces, improving both query efficiency and image quality. Moreover, attacks on AIGC detectors should mitigate initialization failures, preserve image quality, and operate under strict query budgets. To address these issues, we adopt an ``adversarial example soup'' method, averaging candidates from successive surrogate iterations and using the result as the initialization to accelerate the query-based attack. The empirical study on the Synthetic LSUN dataset and GenImage dataset demonstrate the effectiveness of our prosed method. This study shows the urgency of addressing practical AIGC security problems.", "date": "2025-12-10", "categories": []} {"id": "2512.08123", "title": "Universal Adversarial Suffixes Using Calibrated Gumbel-Softmax Relaxation", "abstract": "Language models (LMs) are often used as zero-shot or few-shot classifiers by scoring label words, but they remain fragile to adversarial prompts. Prior work typically optimizes task- or model-specific triggers, making results difficult to compare and limiting transferability. We study universal adversarial suffixes: short token sequences (4-10 tokens) that, when appended to any input, broadly reduce accuracy across tasks and models. Our approach learns the suffix in a differentiable \"soft\" form using Gumbel-Softmax relaxation and then discretizes it for inference. Training maximizes calibrated cross-entropy on the label region while masking gold tokens to prevent trivial leakage, with entropy regularization to avoid collapse. A single suffix trained on one model transfers effectively to others, consistently lowering both accuracy and calibrated confidence. Experiments on sentiment analysis, natural language inference, paraphrase detection, commonsense QA, and physical reasoning with Qwen2-1.5B, Phi-1.5, and TinyLlama-1.1B demonstrate consistent attack effectiveness and transfer across tasks and model families.", "date": "2025-12-09", "categories": []} {"id": "2512.08131", "title": "Universal Adversarial Suffixes for Language Models Using Reinforcement Learning with Calibrated Reward", "abstract": "Language models are vulnerable to short adversarial suffixes that can reliably alter predictions. Previous works usually find such suffixes with gradient search or rule-based methods, but these are brittle and often tied to a single task or model. In this paper, a reinforcement learning framework is used where the suffix is treated as a policy and trained with Proximal Policy Optimization against a frozen model as a reward oracle. Rewards are shaped using calibrated cross-entropy, removing label bias and aggregating across surface forms to improve transferability. The proposed method is evaluated on five diverse NLP benchmark datasets, covering sentiment, natural language inference, paraphrase, and commonsense reasoning, using three distinct language models: Qwen2-1.5B Instruct, TinyLlama-1.1B Chat, and Phi-1.5. Results show that RL-trained suffixes consistently degrade accuracy and transfer more effectively across tasks and models than previous adversarial triggers of similar genres.", "date": "2025-12-09", "categories": []} {"id": "2512.08832", "title": "Forecasting Fails: Unveiling Evasion Attacks in Weather Prediction Models", "abstract": "With the increasing reliance on AI models for weather forecasting, it is imperative to evaluate their vulnerability to adversarial perturbations. This work introduces Weather Adaptive Adversarial Perturbation Optimization (WAAPO), a novel framework for generating targeted adversarial perturbations that are both effective in manipulating forecasts and stealthy to avoid detection. WAAPO achieves this by incorporating constraints for channel sparsity, spatial localization, and smoothness, ensuring that perturbations remain physically realistic and imperceptible. Using the ERA5 dataset and FourCastNet (Pathak et al. 2022), we demonstrate WAAPO's ability to generate adversarial trajectories that align closely with predefined targets, even under constrained conditions. Our experiments highlight critical vulnerabilities in AI-driven forecasting models, where small perturbations to initial conditions can result in significant deviations in predicted weather patterns. These findings underscore the need for robust safeguards to protect against adversarial exploitation in operational forecasting systems.", "date": "2025-12-09", "categories": []} {"id": "2305.12066", "title": "Attacking All Tasks at Once Using Adversarial Examples in Multi-Task Learning", "abstract": "Visual content understanding frequently relies on multi-task models to extract robust representations of a single visual input for multiple downstream tasks. However, in comparison to extensively studied single-task models, the adversarial robustness of multi-task models has received significantly less attention and many questions remain unclear: 1) How robust are multi-task models to single task adversarial attacks, 2) Can adversarial attacks be designed to simultaneously attack all tasks in a multi-task model, and 3) How does parameter sharing across tasks affect multi-task model robustness to adversarial attacks? This paper aims to answer these questions through careful analysis and rigorous experimentation. First, we analyze the inherent drawbacks of two commonly-used adaptations of single-task white-box attacks in attacking multi-task models. We then propose a novel attack framework, Dynamic Gradient Balancing Attack (DGBA). Our framework poses the problem of attacking all tasks in a multi-task model as an optimization problem that can be efficiently solved through integer linear programming. Extensive evaluation on two popular MTL benchmarks, NYUv2 and Tiny-Taxonomy, demonstrates the effectiveness of DGBA compared to baselines in attacking both clean and adversarially trained multi-task models. Our results also reveal a fundamental trade-off between improving task accuracy via parameter sharing across tasks and undermining model robustness due to increased attack transferability from parameter sharing.", "date": "2023-05-20", "categories": []} {"id": "2412.20025", "title": "Causal Interpretability for Adversarial Robustness: A Hybrid Generative Classification Approach", "abstract": "Deep learning-based discriminative classifiers, despite their remarkable success, remain vulnerable to adversarial examples that can mislead model predictions. While adversarial training can enhance robustness, it fails to address the intrinsic vulnerability stemming from the opaque nature of these black-box models. We present a deep ensemble model that combines discriminative features with generative models to achieve both high accuracy and adversarial robustness. Our approach integrates a bottom-level pre-trained discriminative network for feature extraction with a top-level generative classification network that models adversarial input distributions through a deep latent variable model. Using variational Bayes, our model achieves superior robustness against white-box adversarial attacks without adversarial training. Extensive experiments on CIFAR-10 and CIFAR-100 demonstrate our model's superior adversarial robustness. Through evaluations using counterfactual metrics and feature interaction-based metrics, we establish correlations between model interpretability and adversarial robustness. Additionally, preliminary results on Tiny-ImageNet validate our approach's scalability to more complex datasets, offering a practical solution for developing robust image classification models.", "date": "2024-12-28", "categories": []} {"id": "2505.01267", "title": "Diffusion-based Adversarial Purification from the Perspective of the Frequency Domain", "abstract": "The diffusion-based adversarial purification methods attempt to drown adversarial perturbations into a part of isotropic noise through the forward process, and then recover the clean images through the reverse process. Due to the lack of distribution information about adversarial perturbations in the pixel domain, it is often unavoidable to damage normal semantics. We turn to the frequency domain perspective, decomposing the image into amplitude spectrum and phase spectrum. We find that for both spectra, the damage caused by adversarial perturbations tends to increase monotonically with frequency. This means that we can extract the content and structural information of the original clean sample from the frequency components that are less damaged. Meanwhile, theoretical analysis indicates that existing purification methods indiscriminately damage all frequency components, leading to excessive damage to the image. Therefore, we propose a purification method that can eliminate adversarial perturbations while maximizing the preservation of the content and structure of the original image. Specifically, at each time step during the reverse process, for the amplitude spectrum, we replace the low-frequency components of the estimated image's amplitude spectrum with the corresponding parts of the adversarial image. For the phase spectrum, we project the phase of the estimated image into a designated range of the adversarial image's phase spectrum, focusing on the low frequencies. Empirical evidence from extensive experiments demonstrates that our method significantly outperforms most current defense methods.", "date": "2025-05-02", "categories": []} {"id": "2505.09342", "title": "Evaluating the robustness of adversarial defenses in malware detection systems", "abstract": "Machine learning is a key tool for Android malware detection, effectively identifying malicious patterns in apps. However, ML-based detectors are vulnerable to evasion attacks, where small, crafted changes bypass detection. Despite progress in adversarial defenses, the lack of comprehensive evaluation frameworks in binary-constrained domains limits understanding of their robustness. We introduce two key contributions. First, Prioritized Binary Rounding, a technique to convert continuous perturbations into binary feature spaces while preserving high attack success and low perturbation size. Second, the sigma-binary attack, a novel adversarial method for binary domains, designed to achieve attack goals with minimal feature changes. Experiments on the Malscan dataset show that sigma-binary outperforms existing attacks and exposes key vulnerabilities in state-of-the-art defenses. Defenses equipped with adversary detectors, such as KDE, DLA, DNN+, and ICNN, exhibit significant brittleness, with attack success rates exceeding 90% using fewer than 10 feature modifications and reaching 100% with just 20. Adversarially trained defenses, including AT-rFGSM-k, AT-MaxMA, improves robustness under small budgets but remains vulnerable to unrestricted perturbations, with attack success rates of 99.45% and 96.62%, respectively. Although PAD-SMA demonstrates strong robustness against state-of-the-art gradient-based adversarial attacks by maintaining an attack success rate below 16.55%, the sigma-binary attack significantly outperforms these methods, achieving a 94.56% success rate under unrestricted perturbations. These findings highlight the critical need for precise method like sigma-binary to expose hidden vulnerabilities in existing defenses and support the development of more resilient malware detection systems.", "date": "2025-05-14", "categories": []} {"id": "2505.19397", "title": "Are Time-Series Foundation Models Deployment-Ready? A Systematic Study of Adversarial Robustness Across Domains", "abstract": "Time-Series Foundation Models (TSFMs) are rapidly transitioning from research prototypes to core components of critical decision-making systems, driven by their impressive zero-shot forecasting capabilities. However, as their deployment surges, a critical blind spot remains: their fragility under adversarial attacks. This lack of scrutiny poses severe risks, particularly as TSFMs enter high-stakes environments vulnerable to manipulation. We present a systematic, diagnostic study arguing that for TSFMs, robustness is not merely a secondary metric but a prerequisite for trustworthy deployment comparable to accuracy. Our evaluation framework, explicitly tailored to the unique constraints of time series, incorporates normalized, sparsity-aware perturbation budgets and unified scale-invariant metrics across white-box and black-box settings. Across six representative TSFMs, we demonstrate that current architectures are alarmingly brittle: even small perturbations can reliably steer forecasts toward specific failure modes, such as trend flips and malicious drifts. We uncover TSFM-specific vulnerability patterns, including horizon-proximal brittleness, increased susceptibility with longer context windows, and weak cross-model transfer that points to model-specific failure modes rather than generic distortions. Finally, we show that simple adversarial fine-tuning offers a cost-effective path to substantial robustness gains, even with out-of-domain data. This work bridges the gap between TSFM capabilities and safety constraints, offering essential guidance for hardening the next generation of forecasting systems.", "date": "2025-05-26", "categories": []} {"id": "2505.21027", "title": "TabAttackBench: A Benchmark for Adversarial Attacks on Tabular Data", "abstract": "Adversarial attacks pose a significant threat to machine learning models by inducing incorrect predictions through imperceptible perturbations to input data. While these attacks are well studied in unstructured domains such as images, their behaviour on tabular data remains underexplored due to mixed feature types and complex inter-feature dependencies. This study introduces a comprehensive benchmark that evaluates adversarial attacks on tabular datasets with respect to both effectiveness and imperceptibility. We assess five white-box attack algorithms (FGSM, BIM, PGD, DeepFool, and C\\&W) across four representative models (LR, MLP, TabTransformer and FT-Transformer) using eleven datasets spanning finance, energy, and healthcare domains. The benchmark employs four quantitative imperceptibility metrics (proximity, sparsity, deviation, and sensitivity) to characterise perturbation realism. The analysis quantifies the trade-off between these two aspects and reveals consistent differences between attack types, with $\\ell_\\infty$-based attacks achieving higher success but lower subtlety, and $\\ell_2$-based attacks offering more realistic perturbations. The benchmark findings offer actionable insights for designing more imperceptible adversarial attacks, advancing the understanding of adversarial vulnerability in tabular machine learning.", "date": "2025-05-27", "categories": []} {"id": "2508.03209", "title": "GeoShield: Safeguarding Geolocation Privacy from Vision-Language Models via Adversarial Perturbations", "abstract": "Vision-Language Models (VLMs) such as GPT-4o now demonstrate a remarkable ability to infer users' locations from public shared images, posing a substantial risk to geoprivacy. Although adversarial perturbations offer a potential defense, current methods are ill-suited for this scenario: they often perform poorly on high-resolution images and low perturbation budgets, and may introduce irrelevant semantic content. To address these limitations, we propose GeoShield, a novel adversarial framework designed for robust geoprivacy protection in real-world scenarios. GeoShield comprises three key modules: a feature disentanglement module that separates geographical and non-geographical information, an exposure element identification module that pinpoints geo-revealing regions within an image, and a scale-adaptive enhancement module that jointly optimizes perturbations at both global and local levels to ensure effectiveness across resolutions. Extensive experiments on challenging benchmarks show that GeoShield consistently surpasses prior methods in black-box settings, achieving strong privacy protection with minimal impact on visual or semantic quality. To our knowledge, this work is the first to explore adversarial perturbations for defending against geolocation inference by advanced VLMs, providing a practical and effective solution to escalating privacy concerns.", "date": "2025-08-05", "categories": []} {"id": "2511.07040", "title": "3D-ANC: Adaptive Neural Collapse for Robust 3D Point Cloud Recognition", "abstract": "Deep neural networks have recently achieved notable progress in 3D point cloud recognition, yet their vulnerability to adversarial perturbations poses critical security challenges in practical deployments. Conventional defense mechanisms struggle to address the evolving landscape of multifaceted attack patterns. Through systematic analysis of existing defenses, we identify that their unsatisfactory performance primarily originates from an entangled feature space, where adversarial attacks can be performed easily. To this end, we present 3D-ANC, a novel approach that capitalizes on the Neural Collapse (NC) mechanism to orchestrate discriminative feature learning. In particular, NC depicts where last-layer features and classifier weights jointly evolve into a simplex equiangular tight frame (ETF) arrangement, establishing maximally separable class prototypes. However, leveraging this advantage in 3D recognition confronts two substantial challenges: (1) prevalent class imbalance in point cloud datasets, and (2) complex geometric similarities between object categories. To tackle these obstacles, our solution combines an ETF-aligned classification module with an adaptive training framework consisting of representation-balanced learning (RBL) and dynamic feature direction loss (FDL). 3D-ANC seamlessly empowers existing models to develop disentangled feature spaces despite the complexity in 3D data distribution. Comprehensive evaluations state that 3D-ANC significantly improves the robustness of models with various structures on two datasets. For instance, DGCNN's classification accuracy is elevated from 27.2% to 80.9% on ModelNet40 -- a 53.7% absolute gain that surpasses leading baselines by 34.0%.", "date": "2025-11-10", "categories": []} {"id": "2512.06010", "title": "Fast and Flexible Robustness Certificates for Semantic Segmentation", "abstract": "Deep Neural Networks are vulnerable to small perturbations that can drastically alter their predictions for perceptually unchanged inputs. The literature on adversarially robust Deep Learning attempts to either enhance the robustness of neural networks (e.g, via adversarial training) or to certify their decisions up to a given robustness level (e.g, by using randomized smoothing, formal methods or Lipschitz bounds). These studies mostly focus on classification tasks and few efficient certification procedures currently exist for semantic segmentation. In this work, we introduce a new class of certifiably robust Semantic Segmentation networks with built-in Lipschitz constraints that are efficiently trainable and achieve competitive pixel accuracy on challenging datasets such as Cityscapes. Additionally, we provide a novel framework that generalizes robustness certificates for semantic segmentation tasks, where we showcase the flexibility and computational efficiency of using Lipschitz networks. Our approach unlocks real-time compatible certifiably robust semantic segmentation for the first time. Moreover, it allows the computation of worst-case performance under $\\ell_2$ attacks of radius $\\epsilon$ across a wide range of performance measures. Crucially, we benchmark the runtime of our certification process and find our approach to be around 600 times faster than randomized smoothing methods at inference with comparable certificates on an NVIDIA A100 GPU. Finally, we evaluate the tightness of our worstcase certificates against state-of-the-art adversarial attacks to further validate the performance of our method.", "date": "2025-12-03", "categories": []} {"id": "2512.06123", "title": "Toward Patch Robustness Certification and Detection for Deep Learning Systems Beyond Consistent Samples", "abstract": "Patch robustness certification is an emerging kind of provable defense technique against adversarial patch attacks for deep learning systems. Certified detection ensures the detection of all patched harmful versions of certified samples, which mitigates the failures of empirical defense techniques that could (easily) be compromised. However, existing certified detection methods are ineffective in certifying samples that are misclassified or whose mutants are inconsistently pre icted to different labels. This paper proposes HiCert, a novel masking-based certified detection technique. By focusing on the problem of mutants predicted with a label different from the true label with our formal analysis, HiCert formulates a novel formal relation between harmful samples generated by identified loopholes and their benign counterparts. By checking the bound of the maximum confidence among these potentially harmful (i.e., inconsistent) mutants of each benign sample, HiCert ensures that each harmful sample either has the minimum confidence among mutants that are predicted the same as the harmful sample itself below this bound, or has at least one mutant predicted with a label different from the harmful sample itself, formulated after two novel insights. As such, HiCert systematically certifies those inconsistent samples and consistent samples to a large extent. To our knowledge, HiCert is the first work capable of providing such a comprehensive patch robustness certification for certified detection. Our experiments show the high effectiveness of HiCert with a new state-of the-art performance: It certifies significantly more benign samples, including those inconsistent and consistent, and achieves significantly higher accuracy on those samples without warnings and a significantly lower false silent ratio.", "date": "2025-12-05", "categories": []} {"id": "2512.06185", "title": "SPOOF: Simple Pixel Operations for Out-of-Distribution Fooling", "abstract": "Deep neural networks (DNNs) excel across image recognition tasks, yet continue to exhibit overconfidence on inputs that bear no resemblance to natural images. Revisiting the \"fooling images\" work introduced by Nguyen et al. (2015), we re-implement both CPPN-based and direct-encoding-based evolutionary fooling attacks on modern architectures, including convolutional and transformer classifiers. Our re-implementation confirm that high-confidence fooling persists even in state-of-the-art networks, with transformer-based ViT-B/16 emerging as the most susceptible--achieving near-certain misclassifications with substantially fewer queries than convolution-based models. We then introduce SPOOF, a minimalist, consistent, and more efficient black-box attack generating high-confidence fooling images. Despite its simplicity, SPOOF generates unrecognizable fooling images with minimal pixel modifications and drastically reduced compute. Furthermore, retraining with fooling images as an additional class provides only partial resistance, as SPOOF continues to fool consistently with slightly higher query budgets--highlighting persistent fragility of modern deep classifiers.", "date": "2025-12-05", "categories": []} {"id": "2512.07059", "title": "Replicating TEMPEST at Scale: Multi-Turn Adversarial Attacks Against Trillion-Parameter Frontier Models", "abstract": "Despite substantial investment in safety alignment, the vulnerability of large language models to sophisticated multi-turn adversarial attacks remains poorly characterized, and whether model scale or inference mode affects robustness is unknown. This study employed the TEMPEST multi-turn attack framework to evaluate ten frontier models from eight vendors across 1,000 harmful behaviors, generating over 97,000 API queries across adversarial conversations with automated evaluation by independent safety classifiers. Results demonstrated a spectrum of vulnerability: six models achieved 96% to 100% attack success rate (ASR), while four showed meaningful resistance, with ASR ranging from 42% to 78%; enabling extended reasoning on identical architecture reduced ASR from 97% to 42%. These findings indicate that safety alignment quality varies substantially across vendors, that model scale does not predict adversarial robustness, and that thinking mode provides a deployable safety enhancement. Collectively, this work establishes that current alignment techniques remain fundamentally vulnerable to adaptive multi-turn attacks regardless of model scale, while identifying deliberative inference as a promising defense direction.", "date": "2025-12-08", "categories": []} {"id": "2512.07228", "title": "Towards Robust Protective Perturbation against DeepFake Face Swapping", "abstract": "DeepFake face swapping enables highly realistic identity forgeries, posing serious privacy and security risks. A common defence embeds invisible perturbations into images, but these are fragile and often destroyed by basic transformations such as compression or resizing. In this paper, we first conduct a systematic analysis of 30 transformations across six categories and show that protection robustness is highly sensitive to the choice of training transformations, making the standard Expectation over Transformation (EOT) with uniform sampling fundamentally suboptimal. Motivated by this, we propose Expectation Over Learned distribution of Transformation (EOLT), the framework to treat transformation distribution as a learnable component rather than a fixed design choice. Specifically, EOLT employs a policy network that learns to automatically prioritize critical transformations and adaptively generate instance-specific perturbations via reinforcement learning, enabling explicit modeling of defensive bottlenecks while maintaining broad transferability. Extensive experiments demonstrate that our method achieves substantial improvements over state-of-the-art approaches, with 26% higher average robustness and up to 30% gains on challenging transformation categories.", "date": "2025-12-08", "categories": []} {"id": "2512.07247", "title": "AdLift: Lifting Adversarial Perturbations to Safeguard 3D Gaussian Splatting Assets Against Instruction-Driven Editing", "abstract": "Recent studies have extended diffusion-based instruction-driven 2D image editing pipelines to 3D Gaussian Splatting (3DGS), enabling faithful manipulation of 3DGS assets and greatly advancing 3DGS content creation. However, it also exposes these assets to serious risks of unauthorized editing and malicious tampering. Although imperceptible adversarial perturbations against diffusion models have proven effective for protecting 2D images, applying them to 3DGS encounters two major challenges: view-generalizable protection and balancing invisibility with protection capability. In this work, we propose the first editing safeguard for 3DGS, termed AdLift, which prevents instruction-driven editing across arbitrary views and dimensions by lifting strictly bounded 2D adversarial perturbations into 3D Gaussian-represented safeguard. To ensure both adversarial perturbations effectiveness and invisibility, these safeguard Gaussians are progressively optimized across training views using a tailored Lifted PGD, which first conducts gradient truncation during back-propagation from the editing model at the rendered image and applies projected gradients to strictly constrain the image-level perturbation. Then, the resulting perturbation is backpropagated to the safeguard Gaussian parameters via an image-to-Gaussian fitting operation. We alternate between gradient truncation and image-to-Gaussian fitting, yielding consistent adversarial-based protection performance across different viewpoints and generalizes to novel views. Empirically, qualitative and quantitative results demonstrate that AdLift effectively protects against state-of-the-art instruction-driven 2D image and 3DGS editing.", "date": "2025-12-08", "categories": []} {"id": "2411.10500", "title": "Edge-Only Universal Adversarial Attacks in Distributed Learning", "abstract": "Distributed learning frameworks, which partition neural network models across multiple computing nodes, enhance efficiency in collaborative edge-cloud systems, but may also introduce new vulnerabilities to evasion attacks, often in the form of adversarial perturbations. In this work, we present a new threat model that explores the feasibility of generating universal adversarial perturbations (UAPs) when the attacker has access only to the edge portion of the model, consisting of its initial network layers. Unlike traditional attacks that require full model knowledge, our approach shows that adversaries can induce effective mispredictions in the unknown cloud component by manipulating key feature representations at the edge. Following the proposed threat model, we introduce both edge-only untargeted and targeted formulations of UAPs designed to control intermediate features before the split point. Our results on ImageNet demonstrate strong attack transferability to the unknown cloud part, and we compare the proposed method with classical white-box and black-box techniques, highlighting its effectiveness. Additionally, we analyze the capability of an attacker to achieve targeted adversarial effects with edge-only knowledge, revealing intriguing behaviors across multiple networks. By introducing the first adversarial attacks with edge-only knowledge in split inference, this work underscores the importance of addressing partial model access in adversarial robustness, encouraging further research in this area.", "date": "2024-11-15", "categories": []} {"id": "2510.00769", "title": "ZQBA: Zero Query Black-box Adversarial Attack", "abstract": "Current black-box adversarial attacks either require multiple queries or diffusion models to produce adversarial samples that can impair the target model performance. However, these methods require training a surrogate loss or diffusion models to produce adversarial samples, which limits their applicability in real-world settings. Thus, we propose a Zero Query Black-box Adversarial (ZQBA) attack that exploits the representations of Deep Neural Networks (DNNs) to fool other networks. Instead of requiring thousands of queries to produce deceiving adversarial samples, we use the feature maps obtained from a DNN and add them to clean images to impair the classification of a target model. The results suggest that ZQBA can transfer the adversarial samples to different models and across various datasets, namely CIFAR and Tiny ImageNet. The experiments also show that ZQBA is more effective than state-of-the-art black-box attacks with a single query, while maintaining the imperceptibility of perturbations, evaluated both quantitatively (SSIM) and qualitatively, emphasizing the vulnerabilities of employing DNNs in real-world contexts. All the source code is available at https://github.com/Joana-Cabral/ZQBA.", "date": "2025-10-01", "categories": []} {"id": "2512.05915", "title": "LDLT $\\mathcal{L}$-Lipschitz Network: Generalized Deep End-To-End Lipschitz Network Construction", "abstract": "Deep residual networks (ResNets) have demonstrated outstanding success in computer vision tasks, attributed to their ability to maintain gradient flow through deep architectures. Simultaneously, controlling the Lipschitz constant in neural networks has emerged as an essential area of research to enhance adversarial robustness and network certifiability. This paper presents a rigorous approach to the general design of $\\mathcal{L}$-Lipschitz deep residual networks using a Linear Matrix Inequality (LMI) framework. Initially, the ResNet architecture was reformulated as a cyclic tridiagonal LMI, and closed-form constraints on network parameters were derived to ensure $\\mathcal{L}$-Lipschitz continuity; however, using a new $LDL^\\top$ decomposition approach for certifying LMI feasibility, we extend the construction of $\\mathcal{L}$-Lipchitz networks to any other nonlinear architecture. Our contributions include a provable parameterization methodology for constructing Lipschitz-constrained residual networks and other hierarchical architectures. Cholesky decomposition is also used for efficient parameterization. These findings enable robust network designs applicable to adversarial robustness, certified training, and control systems. The $LDL^\\top$ formulation is shown to be a tight relaxation of the SDP-based network, maintaining full expressiveness and achieving 3\\%-13\\% accuracy gains over SLL Layers on 121 UCI data sets.", "date": "2025-12-05", "categories": []} {"id": "2408.10901", "title": "A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse", "abstract": "Recent advancements in Latent Diffusion Models (LDMs) have revolutionized image synthesis and manipulation, raising significant concerns about data misappropriation and intellectual property infringement. While adversarial attacks have been extensively explored as a protective measure against such misuse of generative AI, current approaches are severely limited by their heavy reliance on model-specific knowledge and substantial computational costs. Drawing inspiration from the posterior collapse phenomenon observed in VAE training, we propose the Posterior Collapse Attack (PCA), a novel framework for protecting images from unauthorized manipulation. Through comprehensive theoretical analysis and empirical validation, we identify two distinct collapse phenomena during VAE inference: diffusion collapse and concentration collapse. Based on this discovery, we design a unified loss function that can flexibly achieve both types of collapse through parameter adjustment, each corresponding to different protection objectives in preventing image manipulation. Our method significantly reduces dependence on model-specific knowledge by requiring access to only the VAE encoder, which constitutes less than 4\\% of LDM parameters. Notably, PCA achieves prompt-invariant protection by operating on the VAE encoder before text conditioning occurs, eliminating the need for empty prompt optimization required by existing methods. This minimal requirement enables PCA to maintain adequate transferability across various VAE-based LDM architectures while effectively preventing unauthorized image editing. Extensive experiments show PCA outperforms existing techniques in protection effectiveness, computational efficiency (runtime and VRAM), and generalization across VAE-based LDM variants. Our code is available at https://github.com/ZhongliangGuo/PosteriorCollapseAttack.", "date": "2024-08-20", "categories": []} {"id": "2506.04263", "title": "Dynamic Epsilon Scheduling: A Multi-Factor Adaptive Perturbation Budget for Adversarial Training", "abstract": "Adversarial training is among the most effective strategies for defending deep neural networks against adversarial examples. A key limitation of existing adversarial training approaches lies in their reliance on a fixed perturbation budget, which fails to account for instance-specific robustness characteristics. While prior works such as IAAT and MMA introduce instance-level adaptations, they often rely on heuristic or static approximations of data robustness. In this paper, we propose Dynamic Epsilon Scheduling (DES), a novel framework that adaptively adjusts the adversarial perturbation budget per instance and per training iteration. DES integrates three key factors: (1) the distance to the decision boundary approximated via gradient-based proxies, (2) prediction confidence derived from softmax entropy, and (3) model uncertainty estimated via Monte Carlo dropout. By combining these cues into a unified scheduling strategy, DES tailors the perturbation budget dynamically to guide more effective adversarial learning. Experimental results on CIFAR-10 and CIFAR-100 show that our method consistently improves both adversarial robustness and standard accuracy compared to fixed-epsilon baselines and prior adaptive methods. Moreover, we provide theoretical insights into the stability and convergence of our scheduling policy. This work opens a new avenue for instance-aware, data-driven adversarial training methods.", "date": "2025-06-03", "categories": []} {"id": "2510.25121", "title": "Bilevel Models for Adversarial Learning and A Case Study", "abstract": "Adversarial learning has been attracting more and more attention thanks to the fast development of machine learning and artificial intelligence. However, due to the complicated structure of most machine learning models, the mechanism of adversarial attacks is not well interpreted. How to measure the effect of attacks is still not quite clear.\n In this paper, we investigate the adversarial learning from the perturbation analysis point of view.\n We characterize the robustness of learning models through the calmness of the solution mapping.\n In the case of convex clustering models, we identify the conditions under which the clustering results remain the same under perturbations.\n When the noise level is large, it leads to an attack.\n Therefore, we propose two bilevel models for adversarial learning where the effect of adversarial learning is measured\n by some deviation function.\n Specifically, we systematically study the so-called $\\delta$-measure and show that under certain conditions, it can be used as a deviation function in adversarial learning for convex clustering models.\n Finally, we conduct numerical tests to verify the above theoretical results as well as the efficiency of the two proposed bilevel models.", "date": "2025-10-29", "categories": []} {"id": "2512.04264", "title": "Studying Various Activation Functions and Non-IID Data for Machine Learning Model Robustness", "abstract": "Adversarial training is an effective method to improve the machine learning (ML) model robustness. Most existing studies typically consider the Rectified linear unit (ReLU) activation function and centralized training environments. In this paper, we study the ML model robustness using ten different activation functions through adversarial training in centralized environments and explore the ML model robustness in federal learning environments. In the centralized environment, we first propose an advanced adversarial training approach to improving the ML model robustness by incorporating model architecture change, soft labeling, simplified data augmentation, and varying learning rates. Then, we conduct extensive experiments on ten well-known activation functions in addition to ReLU to better understand how they impact the ML model robustness. Furthermore, we extend the proposed adversarial training approach to the federal learning environment, where both independent and identically distributed (IID) and non-IID data settings are considered. Our proposed centralized adversarial training approach achieves a natural and robust accuracy of 77.08% and 67.96%, respectively on CIFAR-10 against the fast gradient sign attacks. Experiments on ten activation functions reveal ReLU usually performs best. In the federated learning environment, however, the robust accuracy decreases significantly, especially on non-IID data. To address the significant performance drop in the non-IID data case, we introduce data sharing and achieve the natural and robust accuracy of 70.09% and 54.79%, respectively, surpassing the CalFAT algorithm, when 40% data sharing is used. That is, a proper percentage of data sharing can significantly improve the ML model robustness, which is useful to some real-world applications.", "date": "2025-12-03", "categories": []} {"id": "2512.04554", "title": "Counterfeit Answers: Adversarial Forgery against OCR-Free Document Visual Question Answering", "abstract": "Document Visual Question Answering (DocVQA) enables end-to-end reasoning grounded on information present in a document input. While recent models have shown impressive capabilities, they remain vulnerable to adversarial attacks. In this work, we introduce a novel attack scenario that aims to forge document content in a visually imperceptible yet semantically targeted manner, allowing an adversary to induce specific or generally incorrect answers from a DocVQA model. We develop specialized attack algorithms that can produce adversarially forged documents tailored to different attackers' goals, ranging from targeted misinformation to systematic model failure scenarios. We demonstrate the effectiveness of our approach against two end-to-end state-of-the-art models: Pix2Struct, a vision-language transformer that jointly processes image and text through sequence-to-sequence modeling, and Donut, a transformer-based model that directly extracts text and answers questions from document images. Our findings highlight critical vulnerabilities in current DocVQA systems and call for the development of more robust defenses.", "date": "2025-12-04", "categories": []} {"id": "2512.04895", "title": "Chameleon: Adaptive Adversarial Agents for Scaling-Based Visual Prompt Injection in Multimodal AI Systems", "abstract": "Multimodal Artificial Intelligence (AI) systems, particularly Vision-Language Models (VLMs), have become integral to critical applications ranging from autonomous decision-making to automated document processing. As these systems scale, they rely heavily on preprocessing pipelines to handle diverse inputs efficiently. However, this dependency on standard preprocessing operations, specifically image downscaling, creates a significant yet often overlooked security vulnerability. While intended for computational optimization, scaling algorithms can be exploited to conceal malicious visual prompts that are invisible to human observers but become active semantic instructions once processed by the model. Current adversarial strategies remain largely static, failing to account for the dynamic nature of modern agentic workflows. To address this gap, we propose Chameleon, a novel, adaptive adversarial framework designed to expose and exploit scaling vulnerabilities in production VLMs. Unlike traditional static attacks, Chameleon employs an iterative, agent-based optimization mechanism that dynamically refines image perturbations based on the target model's real-time feedback. This allows the framework to craft highly robust adversarial examples that survive standard downscaling operations to hijack downstream execution. We evaluate Chameleon against Gemini 2.5 Flash model. Our experiments demonstrate that Chameleon achieves an Attack Success Rate (ASR) of 84.5% across varying scaling factors, significantly outperforming static baseline attacks which average only 32.1%. Furthermore, we show that these attacks effectively compromise agentic pipelines, reducing decision-making accuracy by over 45% in multi-step tasks. Finally, we discuss the implications of these vulnerabilities and propose multi-scale consistency checks as a necessary defense mechanism.", "date": "2025-12-04", "categories": []} {"id": "2506.00821", "title": "SafeGenes: Evaluating the Adversarial Robustness of Genomic Foundation Models", "abstract": "Genomic Foundation Models (GFMs), such as Evolutionary Scale Modeling (ESM), have demonstrated significant success in variant effect prediction. However, their adversarial robustness remains largely unexplored. To address this gap, we propose SafeGenes: a framework for Secure analysis of genomic foundation models, leveraging adversarial attacks to evaluate robustness against both engineered near-identical adversarial Genes and embedding-space manipulations. In this study, we assess the adversarial vulnerabilities of GFMs using two approaches: the Fast Gradient Sign Method (FGSM) and a soft prompt attack. FGSM introduces minimal perturbations to input sequences, while the soft prompt attack optimizes continuous embeddings to manipulate model predictions without modifying the input tokens. By combining these techniques, SafeGenes provides a comprehensive assessment of GFM susceptibility to adversarial manipulation. Targeted soft prompt attacks induced severe degradation in MLM-based shallow architectures such as ProteinBERT, while still producing substantial failure modes even in high-capacity foundation models such as ESM1b and ESM1v. These findings expose critical vulnerabilities in current foundation models, opening new research directions toward improving their security and robustness in high-stakes genomic applications such as variant effect prediction.", "date": "2025-06-01", "categories": []} {"id": "2509.22855", "title": "Observation-Free Attacks on Online Learning to Rank", "abstract": "Online learning to rank (OLTR) plays a critical role in information retrieval and machine learning systems, with a wide range of applications in search engines and content recommenders. However, despite their extensive adoption, the susceptibility of OLTR algorithms to coordinated adversarial attacks remains poorly understood. In this work, we present a novel framework for attacking some of the widely used OLTR algorithms. Our framework is designed to promote a set of target items so that they appear in the list of top-K recommendations for T - o(T) rounds, while simultaneously inducing linear regret in the learning algorithm. We propose two novel attack strategies: CascadeOFA for CascadeUCB1 and PBMOFA for PBM-UCB . We provide theoretical guarantees showing that both strategies require only O(log T) manipulations to succeed. Additionally, we supplement our theoretical analysis with empirical results on real-world data.", "date": "2025-09-26", "categories": []} {"id": "2509.23762", "title": "Accuracy-Robustness Trade Off via Spiking Neural Network Gradient Sparsity Trail", "abstract": "Spiking Neural Networks (SNNs) have attracted growing interest in both computational neuroscience and artificial intelligence, primarily due to their inherent energy efficiency and compact memory footprint. However, achieving adversarial robustness in SNNs, (particularly for vision-related tasks) remains a nascent and underexplored challenge. Recent studies have proposed leveraging sparse gradients as a form of regularization to enhance robustness against adversarial perturbations. In this work, we present a surprising finding: under specific architectural configurations, SNNs exhibit natural gradient sparsity and can achieve state-of-the-art adversarial defense performance without the need for any explicit regularization. Further analysis reveals a trade-off between robustness and generalization: while sparse gradients contribute to improved adversarial resilience, they can impair the model's ability to generalize; conversely, denser gradients support better generalization but increase vulnerability to attacks. Our findings offer new insights into the dual role of gradient sparsity in SNN training.", "date": "2025-09-28", "categories": []} {"id": "2512.00765", "title": "The Outline of Deception: Physical Adversarial Attacks on Traffic Signs Using Edge Patches", "abstract": "Intelligent driving systems are vulnerable to physical adversarial attacks on traffic signs. These attacks can cause misclassification, leading to erroneous driving decisions that compromise road safety. Moreover, within V2X networks, such misinterpretations can propagate, inducing cascading failures that disrupt overall traffic flow and system stability. However, a key limitation of current physical attacks is their lack of stealth. Most methods apply perturbations to central regions of the sign, resulting in visually salient patterns that are easily detectable by human observers, thereby limiting their real-world practicality. This study proposes TESP-Attack, a novel stealth-aware adversarial patch method for traffic sign classification. Based on the observation that human visual attention primarily focuses on the central regions of traffic signs, we employ instance segmentation to generate edge-aligned masks that conform to the shape characteristics of the signs. A U-Net generator is utilized to craft adversarial patches, which are then optimized through color and texture constraints along with frequency domain analysis to achieve seamless integration with the background environment, resulting in highly effective visual concealment. The proposed method demonstrates outstanding attack success rates across traffic sign classification models with varied architectures, achieving over 90% under limited query budgets. It also exhibits strong cross-model transferability and maintains robust real-world performance that remains stable under varying angles and distances.", "date": "2025-11-30", "categories": []} {"id": "2512.03097", "title": "Many-to-One Adversarial Consensus: Exposing Multi-Agent Collusion Risks in AI-Based Healthcare", "abstract": "The integration of large language models (LLMs) into healthcare IoT systems promises faster decisions and improved medical support. LLMs are also deployed as multi-agent teams to assist AI doctors by debating, voting, or advising on decisions. However, when multiple assistant agents interact, coordinated adversaries can collude to create false consensus, pushing an AI doctor toward harmful prescriptions. We develop an experimental framework with scripted and unscripted doctor agents, adversarial assistants, and a verifier agent that checks decisions against clinical guidelines. Using 50 representative clinical questions, we find that collusion drives the Attack Success Rate (ASR) and Harmful Recommendation Rates (HRR) up to 100% in unprotected systems. In contrast, the verifier agent restores 100% accuracy by blocking adversarial consensus. This work provides the first systematic evidence of collusion risk in AI healthcare and demonstrates a practical, lightweight defence that ensures guideline fidelity.", "date": "2025-12-01", "categories": []} {"id": "2512.03625", "title": "FeatureLens: A Highly Generalizable and Interpretable Framework for Detecting Adversarial Examples Based on Image Features", "abstract": "Although the remarkable performance of deep neural networks (DNNs) in image classification, their vulnerability to adversarial attacks remains a critical challenge. Most existing detection methods rely on complex and poorly interpretable architectures, which compromise interpretability and generalization. To address this, we propose FeatureLens, a lightweight framework that acts as a lens to scrutinize anomalies in image features. Comprising an Image Feature Extractor (IFE) and shallow classifiers (e.g., SVM, MLP, or XGBoost) with model sizes ranging from 1,000 to 30,000 parameters, FeatureLens achieves high detection accuracy ranging from 97.8% to 99.75% in closed-set evaluation and 86.17% to 99.6% in generalization evaluation across FGSM, PGD, CW, and DAmageNet attacks, using only 51 dimensional features. By combining strong detection performance with excellent generalization, interpretability, and computational efficiency, FeatureLens offers a practical pathway toward transparent and effective adversarial defense.", "date": "2025-12-03", "categories": []} {"id": "2512.03882", "title": "Automatic Attack Discovery for Few-Shot Class-Incremental Learning via Large Language Models", "abstract": "Few-shot class incremental learning (FSCIL) is a more realistic and challenging paradigm in continual learning to incrementally learn unseen classes and overcome catastrophic forgetting on base classes with only a few training examples. Previous efforts have primarily centered around studying more effective FSCIL approaches. By contrast, less attention was devoted to thinking the security issues in contributing to FSCIL. This paper aims to provide a holistic study of the impact of attacks on FSCIL. We first derive insights by systematically exploring how human expert-designed attack methods (i.e., PGD, FGSM) affect FSCIL. We find that those methods either fail to attack base classes, or suffer from huge labor costs due to relying on huge expert knowledge. This highlights the need to craft a specialized attack method for FSCIL. Grounded in these insights, in this paper, we propose a simple yet effective ACraft method to automatically steer and discover optimal attack methods targeted at FSCIL by leveraging Large Language Models (LLMs) without human experts. Moreover, to improve the reasoning between LLMs and FSCIL, we introduce a novel Proximal Policy Optimization (PPO) based reinforcement learning to optimize learning, making LLMs generate better attack methods in the next generation by establishing positive feedback. Experiments on mainstream benchmarks show that our ACraft significantly degrades the performance of state-of-the-art FSCIL methods and dramatically beyond human expert-designed attack methods while maintaining the lowest costs of attack.", "date": "2025-12-03", "categories": []} {"id": "2507.19551", "title": "Rainbow Noise: Stress-Testing Multimodal Harmful-Meme Detectors on LGBTQ Content", "abstract": "Hateful memes aimed at LGBTQ\\,+ communities often evade detection by tweaking either the caption, the image, or both. We build the first robustness benchmark for this setting, pairing four realistic caption attacks with three canonical image corruptions and testing all combinations on the PrideMM dataset. Two state-of-the-art detectors, MemeCLIP and MemeBLIP2, serve as case studies, and we introduce a lightweight \\textbf{Text Denoising Adapter (TDA)} to enhance the latter's resilience. Across the grid, MemeCLIP degrades more gently, while MemeBLIP2 is particularly sensitive to the caption edits that disrupt its language processing. However, the addition of the TDA not only remedies this weakness but makes MemeBLIP2 the most robust model overall. Ablations reveal that all systems lean heavily on text, but architectural choices and pre-training data significantly impact robustness. Our benchmark exposes where current multimodal safety models crack and demonstrates that targeted, lightweight modules like the TDA offer a powerful path towards stronger defences.", "date": "2025-07-24", "categories": []} {"id": "2512.02062", "title": "Superpixel Attack: Enhancing Black-box Adversarial Attack with Image-driven Division Areas", "abstract": "Deep learning models are used in safety-critical tasks such as automated driving and face recognition. However, small perturbations in the model input can significantly change the predictions. Adversarial attacks are used to identify small perturbations that can lead to misclassifications. More powerful black-box adversarial attacks are required to develop more effective defenses. A promising approach to black-box adversarial attacks is to repeat the process of extracting a specific image area and changing the perturbations added to it. Existing attacks adopt simple rectangles as the areas where perturbations are changed in a single iteration. We propose applying superpixels instead, which achieve a good balance between color variance and compactness. We also propose a new search method, versatile search, and a novel attack method, Superpixel Attack, which applies superpixels and performs versatile search. Superpixel Attack improves attack success rates by an average of 2.10% compared with existing attacks. Most models used in this study are robust against adversarial attacks, and this improvement is significant for black-box adversarial attacks. The code is avilable at https://github.com/oe1307/SuperpixelAttack.git.", "date": "2025-11-29", "categories": []} {"id": "2505.18884", "title": "LORE: Lagrangian-Optimized Robust Embeddings for Visual Encoders", "abstract": "Visual encoders have become fundamental components in modern computer vision pipelines. However, ensuring robustness against adversarial perturbations remains a critical challenge. Recent efforts have explored both supervised and unsupervised adversarial fine-tuning strategies. We identify two key limitations in these approaches: (i) they often suffer from instability, especially during the early stages of fine-tuning, resulting in suboptimal convergence and degraded performance on clean data, and (ii) they exhibit a suboptimal trade-off between robustness and clean data accuracy, hindering the simultaneous optimization of both objectives. To overcome these challenges, we propose Lagrangian-Optimized Robust Embeddings (LORE), a novel unsupervised adversarial fine-tuning framework. LORE utilizes constrained optimization, which offers a principled approach to balancing competing goals, such as improving robustness while preserving nominal performance. By enforcing embedding-space proximity constraints, LORE effectively maintains clean data performance throughout adversarial fine-tuning. Extensive experiments show that LORE significantly improves zero-shot adversarial robustness with minimal degradation in clean data accuracy. Furthermore, we demonstrate the effectiveness of the adversarially fine-tuned CLIP image encoder in out-of-distribution generalization and enhancing the interpretability of image embeddings.", "date": "2025-05-24", "categories": []} {"id": "2509.22113", "title": "Countering adversarial evasion in regression analysis", "abstract": "Adversarial machine learning challenges the assumption that the underlying distribution remains consistent throughout the training and implementation of a prediction model. In particular, adversarial evasion considers scenarios where adversaries adapt their data to influence particular outcomes from established prediction models, such scenarios arise in applications such as spam email filtering, malware detection and fake-image generation, where security methods must be actively updated to keep up with the ever-improving generation of malicious data. Game theoretic models have been shown to be effective at modelling these scenarios and hence training resilient predictors against such adversaries. Recent advancements in the use of pessimistic bilevel optimsiation which remove assumptions about the convexity and uniqueness of the adversary's optimal strategy have proved to be particularly effective at mitigating threats to classifiers due to its ability to capture the antagonistic nature of the adversary. However, this formulation has not yet been adapted to regression scenarios. This article serves to propose a pessimistic bilevel optimisation program for regression scenarios which makes no assumptions on the convexity or uniqueness of the adversary's solutions.", "date": "2025-09-26", "categories": []} {"id": "2511.20494", "title": "Adversarial Confusion Attack: Disrupting Multimodal Large Language Models", "abstract": "We introduce the Adversarial Confusion Attack, a new class of threats against multimodal large language models (MLLMs). Unlike jailbreaks or targeted misclassification, the goal is to induce systematic disruption that makes the model generate incoherent or confidently incorrect outputs. Practical applications include embedding such adversarial images into websites to prevent MLLM-powered AI Agents from operating reliably. The proposed attack maximizes next-token entropy using a small ensemble of open-source MLLMs. In the white-box setting, we show that a single adversarial image can disrupt all models in the ensemble, both in the full-image and Adversarial CAPTCHA settings. Despite relying on a basic adversarial technique (PGD), the attack generates perturbations that transfer to both unseen open-source (e.g., Qwen3-VL) and proprietary (e.g., GPT-5.1) models.", "date": "2025-11-25", "categories": []} {"id": "2512.01228", "title": "On the Tension Between Optimality and Adversarial Robustness in Policy Optimization", "abstract": "Achieving optimality and adversarial robustness in deep reinforcement learning has long been regarded as conflicting goals. Nonetheless, recent theoretical insights presented in CAR suggest a potential alignment, raising the important question of how to realize this in practice. This paper first identifies a key gap between theory and practice by comparing standard policy optimization (SPO) and adversarially robust policy optimization (ARPO). Although they share theoretical consistency, a fundamental tension between robustness and optimality arises in practical policy gradient methods. SPO tends toward convergence to vulnerable first-order stationary policies (FOSPs) with strong natural performance, whereas ARPO typically favors more robust FOSPs at the expense of reduced returns. Furthermore, we attribute this tradeoff to the reshaping effect of the strongest adversary in ARPO, which significantly complicates the global landscape by inducing deceptive sticky FOSPs. This improves robustness but makes navigation more challenging. To alleviate this, we develop the BARPO, a bilevel framework unifying SPO and ARPO by modulating adversary strength, thereby facilitating navigability while preserving global optima. Extensive empirical results demonstrate that BARPO consistently outperforms vanilla ARPO, providing a practical approach to reconcile theoretical and empirical performance.", "date": "2025-12-01", "categories": []} {"id": "2512.01934", "title": "Physical ID-Transfer Attacks against Multi-Object Tracking via Adversarial Trajectory", "abstract": "Multi-Object Tracking (MOT) is a critical task in computer vision, with applications ranging from surveillance systems to autonomous driving. However, threats to MOT algorithms have yet been widely studied. In particular, incorrect association between the tracked objects and their assigned IDs can lead to severe consequences, such as wrong trajectory predictions. Previous attacks against MOT either focused on hijacking the trackers of individual objects, or manipulating the tracker IDs in MOT by attacking the integrated object detection (OD) module in the digital domain, which are model-specific, non-robust, and only able to affect specific samples in offline datasets. In this paper, we present AdvTraj, the first online and physical ID-manipulation attack against tracking-by-detection MOT, in which an attacker uses adversarial trajectories to transfer its ID to a targeted object to confuse the tracking system, without attacking OD. Our simulation results in CARLA show that AdvTraj can fool ID assignments with 100% success rate in various scenarios for white-box attacks against SORT, which also have high attack transferability (up to 93% attack success rate) against state-of-the-art (SOTA) MOT algorithms due to their common design principles. We characterize the patterns of trajectories generated by AdvTraj and propose two universal adversarial maneuvers that can be performed by a human walker/driver in daily scenarios. Our work reveals under-explored weaknesses in the object association phase of SOTA MOT systems, and provides insights into enhancing the robustness of such systems.", "date": "2025-12-01", "categories": []} {"id": "2504.17457", "title": "Unveiling Hidden Vulnerabilities in Digital Human Generation via Adversarial Attacks", "abstract": "Expressive human pose and shape estimation (EHPS) is crucial for digital human generation, especially in applications like live streaming. While existing research primarily focuses on reducing estimation errors, it largely neglects robustness and security aspects, leaving these systems vulnerable to adversarial attacks. To address this significant challenge, we propose the \\textbf{Tangible Attack (TBA)}, a novel framework designed to generate adversarial examples capable of effectively compromising any digital human generation model. Our approach introduces a \\textbf{Dual Heterogeneous Noise Generator (DHNG)}, which leverages Variational Autoencoders (VAE) and ControlNet to produce diverse, targeted noise tailored to the original image features. Additionally, we design a custom \\textbf{adversarial loss function} to optimize the noise, ensuring both high controllability and potent disruption. By iteratively refining the adversarial sample through multi-gradient signals from both the noise and the state-of-the-art EHPS model, TBA substantially improves the effectiveness of adversarial attacks. Extensive experiments demonstrate TBA's superiority, achieving a remarkable 41.0\\% increase in estimation error, with an average improvement of approximately 17.0\\%. These findings expose significant security vulnerabilities in current EHPS models and highlight the need for stronger defenses in digital human generation systems.", "date": "2025-04-24", "categories": []} {"id": "2505.19194", "title": "Curvature Dynamic Black-box Attack: revisiting adversarial robustness via dynamic curvature estimation", "abstract": "Adversarial attack reveals the vulnerability of deep learning models. It is assumed that high curvature may give rise to rough decision boundary and thus result in less robust models. However, the most commonly used \\textit{curvature} is the curvature of loss function, scores or other parameters from within the model as opposed to decision boundary curvature, since the former can be relatively easily formed using second order derivative. In this paper, we propose a new query-efficient method, dynamic curvature estimation (DCE), to estimate the decision boundary curvature in a black-box setting. Our approach is based on CGBA, a black-box adversarial attack. By performing DCE on a wide range of classifiers, we discovered, statistically, a connection between decision boundary curvature and adversarial robustness. We also propose a new attack method, curvature dynamic black-box attack (CDBA) with improved performance using the estimated curvature.", "date": "2025-05-25", "categories": []} {"id": "2305.12825", "title": "Uncertainty-based Detection of Adversarial Attacks in Semantic Segmentation", "abstract": "State-of-the-art deep neural networks have proven to be highly powerful in a broad range of tasks, including semantic image segmentation. However, these networks are vulnerable against adversarial attacks, i.e., non-perceptible perturbations added to the input image causing incorrect predictions, which is hazardous in safety-critical applications like automated driving. Adversarial examples and defense strategies are well studied for the image classification task, while there has been limited research in the context of semantic segmentation. First works however show that the segmentation outcome can be severely distorted by adversarial attacks. In this work, we introduce an uncertainty-based approach for the detection of adversarial attacks in semantic segmentation. We observe that uncertainty as for example captured by the entropy of the output distribution behaves differently on clean and perturbed images and leverage this property to distinguish between the two cases. Our method works in a light-weight and post-processing manner, i.e., we do not modify the model or need knowledge of the process used for generating adversarial examples. In a thorough empirical analysis, we demonstrate the ability of our approach to detect perturbed images across multiple types of adversarial attacks.", "date": "2023-05-22", "categories": []} {"id": "2406.19622", "title": "Data-Driven Lipschitz Continuity: A Cost-Effective Approach to Improve Adversarial Robustness", "abstract": "As deep neural networks (DNNs) are increasingly deployed in sensitive applications, ensuring their security and robustness has become critical. A major threat to DNNs arises from adversarial attacks, where small input perturbations can lead to incorrect predictions. Recent advances in adversarial training improve robustness by incorporating additional examples from external datasets or generative models. However, these methods often incur high computational costs, limiting their practicality and hindering real-world deployment. In this paper, we propose a cost-efficient alternative based on Lipschitz continuity that achieves robustness comparable to models trained with extensive supplementary data. Unlike conventional adversarial training, our method requires only a single pass over the dataset without gradient estimation, making it highly efficient. Furthermore, our method can integrate seamlessly with existing adversarial training frameworks and enhances the robustness of models without requiring extra generative data. Experimental results show that our approach not only reduces computational overhead but also maintains or improves the defensive capabilities of robust neural networks. This work opens a promising direction for developing practical, scalable defenses against adversarial attacks.", "date": "2024-06-28", "categories": []} {"id": "2407.08806", "title": "HO-FMN: Hyperparameter Optimization for Fast Minimum-Norm Attacks", "abstract": "Gradient-based attacks are a primary tool to evaluate robustness of machine-learning models. However, many attacks tend to provide overly-optimistic evaluations as they use fixed loss functions, optimizers, step-size schedulers, and default hyperparameters. In this work, we tackle these limitations by proposing a parametric variation of the well-known fast minimum-norm attack algorithm, whose loss, optimizer, step-size scheduler, and hyperparameters can be dynamically adjusted. We re-evaluate 12 robust models, showing that our attack finds smaller adversarial perturbations without requiring any additional tuning. This also enables reporting adversarial robustness as a function of the perturbation budget, providing a more complete evaluation than that offered by fixed-budget attacks, while remaining efficient. We release our open-source code at https://github.com/pralab/HO-FMN.", "date": "2024-07-11", "categories": []} {"id": "2412.18218", "title": "On the Effectiveness of Adversarial Training on Malware Classifiers", "abstract": "Adversarial Training (AT) is a key defense against Machine Learning evasion attacks, but its effectiveness for real-world malware detection remains poorly understood. This uncertainty stems from a critical disconnect in prior research: studies often overlook the inherent nature of malware and are fragmented, examining diverse variables like realism or confidence of adversarial examples in isolation, or relying on weak evaluations that yield non-generalizable insights. To address this, we introduce Rubik, a framework for the systematic, multi-dimensional evaluation of AT in the malware domain. This framework defines diverse key factors across essential dimensions, including data, feature representations, classifiers, and robust optimization settings, for a comprehensive exploration of the interplay of influential AT's variables through reliable evaluation practices, such as realistic evasion attacks. We instantiate Rubik on Android malware, empirically analyzing how this interplay shapes robustness. Our findings challenge prior beliefs--showing, for instance, that realizable adversarial examples offer only conditional robustness benefits--and reveal new insights, such as the critical role of model architecture and feature-space structure in determining AT's success. From this analysis, we distill four key insights, expose four common evaluation misconceptions, and offer practical recommendations to guide the development of truly robust malware classifiers.", "date": "2024-12-24", "categories": []} {"id": "2511.19218", "title": "Adversarial Attack-Defense Co-Evolution for LLM Safety Alignment via Tree-Group Dual-Aware Search and Optimization", "abstract": "Large Language Models (LLMs) have developed rapidly in web services, delivering unprecedented capabilities while amplifying societal risks. Existing works tend to focus on either isolated jailbreak attacks or static defenses, neglecting the dynamic interplay between evolving threats and safeguards in real-world web contexts. To mitigate these challenges, we propose ACE-Safety (Adversarial Co-Evolution for LLM Safety), a novel framework that jointly optimize attack and defense models by seamlessly integrating two key innovative procedures: (1) Group-aware Strategy-guided Monte Carlo Tree Search (GS-MCTS), which efficiently explores jailbreak strategies to uncover vulnerabilities and generate diverse adversarial samples; (2) Adversarial Curriculum Tree-aware Group Policy Optimization (AC-TGPO), which jointly trains attack and defense LLMs with challenging samples via curriculum reinforcement learning, enabling robust mutual improvement. Evaluations across multiple benchmarks demonstrate that our method outperforms existing attack and defense approaches, and provides a feasible pathway for developing LLMs that can sustainably support responsible AI ecosystems.", "date": "2025-11-24", "categories": []} {"id": "2511.21180", "title": "CAHS-Attack: CLIP-Aware Heuristic Search Attack Method for Stable Diffusion", "abstract": "Diffusion models exhibit notable fragility when faced with adversarial prompts, and strengthening attack capabilities is crucial for uncovering such vulnerabilities and building more robust generative systems. Existing works often rely on white-box access to model gradients or hand-crafted prompt engineering, which is infeasible in real-world deployments due to restricted access or poor attack effect. In this paper, we propose CAHS-Attack , a CLIP-Aware Heuristic Search attack method. CAHS-Attack integrates Monte Carlo Tree Search (MCTS) to perform fine-grained suffix optimization, leveraging a constrained genetic algorithm to preselect high-potential adversarial prompts as root nodes, and retaining the most semantically disruptive outcome at each simulation rollout for efficient local search. Extensive experiments demonstrate that our method achieves state-of-the-art attack performance across both short and long prompts of varying semantics. Furthermore, we find that the fragility of SD models can be attributed to the inherent vulnerability of their CLIP-based text encoders, suggesting a fundamental security risk in current text-to-image pipelines.", "date": "2025-11-26", "categories": []} {"id": "2511.21574", "title": "Multimodal Robust Prompt Distillation for 3D Point Cloud Models", "abstract": "Adversarial attacks pose a significant threat to learning-based 3D point cloud models, critically undermining their reliability in security-sensitive applications. Existing defense methods often suffer from (1) high computational overhead and (2) poor generalization ability across diverse attack types. To bridge these gaps, we propose a novel yet efficient teacher-student framework, namely Multimodal Robust Prompt Distillation (MRPD) for distilling robust 3D point cloud model. It learns lightweight prompts by aligning student point cloud model's features with robust embeddings from three distinct teachers: a vision model processing depth projections, a high-performance 3D model, and a text encoder. To ensure a reliable knowledge transfer, this distillation is guided by a confidence-gated mechanism which dynamically balances the contribution of all input modalities. Notably, since the distillation is all during the training stage, there is no additional computational cost at inference. Extensive experiments demonstrate that MRPD substantially outperforms state-of-the-art defense methods against a wide range of white-box and black-box attacks, while even achieving better performance on clean data. Our work presents a new, practical paradigm for building robust 3D vision systems by efficiently harnessing multimodal knowledge.", "date": "2025-11-26", "categories": []} {"id": "2505.11895", "title": "Adversarial Robustness for Unified Multi-Modal Encoders via Efficient Calibration", "abstract": "Recent unified multi-modal encoders align a wide range of modalities into a shared representation space, enabling diverse cross-modal tasks. Despite their impressive capabilities, the robustness of these models under adversarial perturbations remains underexplored, which is a critical concern for safety-sensitive applications. In this work, we present the first comprehensive study of adversarial vulnerability in unified multi-modal encoders. We find that even mild adversarial perturbations lead to substantial performance drops across all modalities. Non-visual inputs, such as audio and point clouds, are especially fragile, while visual inputs like images and videos also degrade significantly. To address this, we propose an efficient adversarial calibration framework that improves robustness across modalities without modifying pretrained encoders or semantic centers, ensuring compatibility with existing foundation models. Our method introduces modality-specific projection heads trained solely on adversarial examples, while keeping the backbone and embeddings frozen. We explore three training objectives: fixed-center cross-entropy, clean-to-adversarial L2 alignment, and clean-adversarial InfoNCE, and we introduce a regularization strategy to ensure modality-consistent alignment under attack. Experiments on six modalities and three Bind-style models show that our method improves adversarial robustness by up to 47.3 percent at epsilon = 4/255, while preserving or even improving clean zero-shot and retrieval performance with less than 1 percent trainable parameters.", "date": "2025-05-17", "categories": []} {"id": "2504.01632", "title": "Benchmarking the Spatial Robustness of DNNs via Natural and Adversarial Localized Corruptions", "abstract": "The robustness of deep neural networks is a crucial factor in safety-critical applications, particularly in complex and dynamic environments (e.g., medical or driving scenarios) where localized corruptions can arise. While previous studies have evaluated the robustness of semantic segmentation (SS) models under whole-image natural or adversarial corruptions, a comprehensive investigation into the spatial robustness of dense vision models under localized corruptions remains underexplored. This paper fills this gap by introducing novel, region-aware metrics for benchmarking the spatial robustness of segmentation models, along with an evaluation framework to assess the impact of natural localized corruptions. Furthermore, it uncovers the inherent complexity of evaluating worst-case spatial robustness using only a single localized adversarial attack. To address this, the work proposes a region-aware multi-attack adversarial analysis to systematically assess model robustness across specific image regions. The proposed metrics and analysis were exploited to evaluate 14 segmentation models in driving scenarios, uncovering key insights into the effects of localized corruption in both natural and adversarial forms. The results reveal that models respond to these two types of threats differently; for instance, transformer-based segmentation models demonstrate notable robustness to localized natural corruptions but are highly vulnerable to adversarial ones, and vice versa for CNN-based models. Consequently, we also address the challenge of balancing robustness to both natural and adversarial localized corruptions by means of ensemble models, thereby achieving a broader threat coverage and improved reliability for dense vision tasks.", "date": "2025-04-02", "categories": []} {"id": "2505.23518", "title": "TRAP: Targeted Redirecting of Agentic Preferences", "abstract": "Autonomous agentic AI systems powered by vision-language models (VLMs) are rapidly advancing toward real-world deployment, yet their cross-modal reasoning capabilities introduce new attack surfaces for adversarial manipulation that exploit semantic reasoning across modalities. Existing adversarial attacks typically rely on visible pixel perturbations or require privileged model or environment access, making them impractical for stealthy, real-world exploitation. We introduce TRAP, a novel generative adversarial framework that manipulates the agent's decision-making using diffusion-based semantic injections into the vision-language embedding space. Our method combines negative prompt-based degradation with positive semantic optimization, guided by a Siamese semantic network and layout-aware spatial masking. Without requiring access to model internals, TRAP produces visually natural images yet induces consistent selection biases in agentic AI systems. We evaluate TRAP on the Microsoft Common Objects in Context (COCO) dataset, building multi-candidate decision scenarios. Across these scenarios, TRAP consistently induces decision-level preference redirection on leading models, including LLaVA-34B, Gemma3, GPT-4o, and Mistral-3.2, significantly outperforming existing baselines such as SPSA, Bandit, and standard diffusion approaches. These findings expose a critical, generalized vulnerability: autonomous agents can be consistently misled through visually subtle, semantically-guided cross-modal manipulations. Overall, our results show the need for defense strategies beyond pixel-level robustness to address semantic vulnerabilities in cross-modal decision-making. The code for TRAP is accessible on GitHub at https://github.com/uiuc-focal-lab/TRAP.", "date": "2025-05-29", "categories": []} {"id": "2509.22850", "title": "Boundary on the Table: Efficient Black-Box Decision-Based Attacks for Structured Data", "abstract": "Adversarial robustness in structured data remains an underexplored frontier compared to vision and language domains. In this work, we introduce a novel black-box, decision-based adversarial attack tailored for tabular data. Our approach combines gradient-free direction estimation with an iterative boundary search, enabling efficient navigation of discrete and continuous feature spaces under minimal oracle access. Extensive experiments demonstrate that our method successfully compromises nearly the entire test set across diverse models, ranging from classical machine learning classifiers to large language model (LLM)-based pipelines. Remarkably, the attack achieves success rates consistently above 90%, while requiring only a small number of queries per instance. These results highlight the critical vulnerability of tabular models to adversarial perturbations, underscoring the urgent need for stronger defenses in real-world decision-making systems.", "date": "2025-09-26", "categories": []} {"id": "2511.17688", "title": "Enhancing Adversarial Transferability through Block Stretch and Shrink", "abstract": "Adversarial attacks introduce small, deliberately crafted perturbations that mislead neural networks, and their transferability from white-box to black-box target models remains a critical research focus. Input transformation-based attacks are a subfield of adversarial attacks that enhance input diversity through input transformations to improve the transferability of adversarial examples. However, existing input transformation-based attacks tend to exhibit limited cross-model transferability. Previous studies have shown that high transferability is associated with diverse attention heatmaps and the preservation of global semantics in transformed inputs. Motivated by this observation, we propose Block Stretch and Shrink (BSS), a method that divides an image into blocks and applies stretch and shrink operations to these blocks, thereby diversifying attention heatmaps in transformed inputs while maintaining their global semantics. Empirical evaluations on a subset of ImageNet demonstrate that BSS outperforms existing input transformation-based attack methods in terms of transferability. Furthermore, we examine the impact of the number scale, defined as the number of transformed inputs, in input transformation-based attacks, and advocate evaluating these methods under a unified number scale to enable fair and comparable assessments.", "date": "2025-11-21", "categories": []} {"id": "2511.18138", "title": "Vulnerability-Aware Robust Multimodal Adversarial Training", "abstract": "Multimodal learning has shown significant superiority on various tasks by integrating multiple modalities. However, the interdependencies among modalities increase the susceptibility of multimodal models to adversarial attacks. Existing methods mainly focus on attacks on specific modalities or indiscriminately attack all modalities. In this paper, we find that these approaches ignore the differences between modalities in their contribution to final robustness, resulting in suboptimal robustness performance. To bridge this gap, we introduce Vulnerability-Aware Robust Multimodal Adversarial Training (VARMAT), a probe-in-training adversarial training method that improves multimodal robustness by identifying the vulnerability of each modality. To be specific, VARMAT first explicitly quantifies the vulnerability of each modality, grounded in a first-order approximation of the attack objective (Probe). Then, we propose a targeted regularization term that penalizes modalities with high vulnerability, guiding robust learning while maintaining task accuracy (Training). We demonstrate the enhanced robustness of our method across multiple multimodal datasets involving diverse modalities. Finally, we achieve {12.73%, 22.21%, 11.19%} robustness improvement on three multimodal datasets, revealing a significant blind spot in multimodal adversarial training.", "date": "2025-11-22", "categories": []} {"id": "2511.18223", "title": "A Novel and Practical Universal Adversarial Perturbations against Deep Reinforcement Learning based Intrusion Detection Systems", "abstract": "Intrusion Detection Systems (IDS) play a vital role in defending modern cyber physical systems against increasingly sophisticated cyber threats. Deep Reinforcement Learning-based IDS, have shown promise due to their adaptive and generalization capabilities. However, recent studies reveal their vulnerability to adversarial attacks, including Universal Adversarial Perturbations (UAPs), which can deceive models with a single, input-agnostic perturbation. In this work, we propose a novel UAP attack against Deep Reinforcement Learning (DRL)-based IDS under the domain-specific constraints derived from network data rules and feature relationships. To the best of our knowledge, there is no existing study that has explored UAP generation for the DRL-based IDS. In addition, this is the first work that focuses on developing a UAP against a DRL-based IDS under realistic domain constraints based on not only the basic domain rules but also mathematical relations between the features. Furthermore, we enhance the evasion performance of the proposed UAP, by introducing a customized loss function based on the Pearson Correlation Coefficient, and we denote it as Customized UAP. To the best of our knowledge, this is also the first work using the PCC value in the UAP generation, even in the broader context. Four additional established UAP baselines are implemented for a comprehensive comparison. Experimental results demonstrate that our proposed Customized UAP outperforms two input-dependent attacks including Fast Gradient Sign Method (FGSM), Basic Iterative Method (BIM), and four UAP baselines, highlighting its effectiveness for real-world adversarial scenarios.", "date": "2025-11-22", "categories": []} {"id": "2511.18656", "title": "Robust Physical Adversarial Patches Using Dynamically Optimized Clusters", "abstract": "Physical adversarial attacks on deep learning systems is concerning due to the ease of deploying such attacks, usually by placing an adversarial patch in a scene to manipulate the outcomes of a deep learning model. Training such patches typically requires regularization that improves physical realizability (e.g., printability, smoothness) and/or robustness to real-world variability (e.g. deformations, viewing angle, noise). One type of variability that has received little attention is scale variability. When a patch is rescaled, either digitally through downsampling/upsampling or physically through changing imaging distances, interpolation-induced color mixing occurs. This smooths out pixel values, resulting in a loss of high-frequency patterns and degrading the adversarial signal. To address this, we present a novel superpixel-based regularization method that guides patch optimization to scale-resilient structures. Our ap proach employs the Simple Linear Iterative Clustering (SLIC) algorithm to dynamically cluster pixels in an adversarial patch during optimization. The Implicit Function Theorem is used to backpropagate gradients through SLIC to update the superpixel boundaries and color. This produces patches that maintain their structure over scale and are less susceptible to interpolation losses. Our method achieves greater performance in the digital domain, and when realized physically, these performance gains are preserved, leading to improved physical performance. Real-world performance was objectively assessed using a novel physical evaluation protocol that utilizes screens and cardboard cut-outs to systematically vary real-world conditions.", "date": "2025-11-23", "categories": []} {"id": "2511.19254", "title": "Adversarial Patch Attacks on Vision-Based Cargo Occupancy Estimation via Differentiable 3D Simulation", "abstract": "Computer vision systems are increasingly adopted in modern logistics operations, including the estimation of trailer occupancy for planning, routing, and billing. Although effective, such systems may be vulnerable to physical adversarial attacks, particularly adversarial patches that can be printed and placed on interior surfaces. In this work, we study the feasibility of such attacks on a convolutional cargo-occupancy classifier using fully simulated 3D environments. Using Mitsuba 3 for differentiable rendering, we optimize patch textures across variations in geometry, lighting, and viewpoint, and compare their effectiveness to a 2D compositing baseline. Our experiments demonstrate that 3D-optimized patches achieve high attack success rates, especially in a denial-of-service scenario (empty to full), where success reaches 84.94 percent. Concealment attacks (full to empty) prove more challenging but still reach 30.32 percent. We analyze the factors influencing attack success, discuss implications for the security of automated logistics pipelines, and highlight directions for strengthening physical robustness. To our knowledge, this is the first study to investigate adversarial patch attacks for cargo-occupancy estimation in physically realistic, fully simulated 3D scenes.", "date": "2025-11-24", "categories": []} {"id": "2511.19257", "title": "Medusa: Cross-Modal Transferable Adversarial Attacks on Multimodal Medical Retrieval-Augmented Generation", "abstract": "With the rapid advancement of retrieval-augmented vision-language models, multimodal medical retrieval-augmented generation (MMed-RAG) systems are increasingly adopted in clinical decision support. These systems enhance medical applications by performing cross-modal retrieval to integrate relevant visual and textual evidence for tasks, e.g., report generation and disease diagnosis. However, their complex architecture also introduces underexplored adversarial vulnerabilities, particularly via visual input perturbations. In this paper, we propose Medusa, a novel framework for crafting cross-modal transferable adversarial attacks on MMed-RAG systems under a black-box setting. Specifically, Medusa formulates the attack as a perturbation optimization problem, leveraging a multi-positive InfoNCE loss (MPIL) to align adversarial visual embeddings with medically plausible but malicious textual targets, thereby hijacking the retrieval process. To enhance transferability, we adopt a surrogate model ensemble and design a dual-loop optimization strategy augmented with invariant risk minimization (IRM). Extensive experiments on two real-world medical tasks, including medical report generation and disease diagnosis, demonstrate that Medusa achieves over 90% average attack success rate across various generation models and retrievers under appropriate parameter configuration, while remaining robust against four mainstream defenses, outperforming state-of-the-art baselines. Our results reveal critical vulnerabilities in the MMed-RAG systems and highlight the necessity of robustness benchmarking in safety-critical medical applications. The code and data are available at https://anonymous.4open.science/r/MMed-RAG-Attack-F05A.", "date": "2025-11-24", "categories": []} {"id": "2511.19330", "title": "Targeted Manipulation: Slope-Based Attacks on Financial Time-Series Data", "abstract": "A common method of attacking deep learning models is through adversarial attacks, which occur when an attacker specifically modifies the input of a model to produce an incorrect result. Adversarial attacks have been deeply investigated in the image domain; however, there is less research in the time-series domain and very little for forecasting financial data. To address these concerns, this study aims to build upon previous research on adversarial attacks for time-series data by introducing two new slope-based methods aimed to alter the trends of the predicted stock forecast generated by an N-HiTS model. Compared to the normal N-HiTS predictions, the two new slope-based methods, the General Slope Attack and Least-Squares Slope Attack, can manipulate N-HiTS predictions by doubling the slope. These new slope attacks can bypass standard security mechanisms, such as a discriminator that filters real and perturbed inputs, reducing a 4-layered CNN's specificity to 28% and accuracy to 57%. Furthermore, the slope based methods were incorporated into a GAN architecture as a means of generating realistic synthetic data, while simultaneously fooling the model. Finally, this paper also proposes a sample malware designed to inject an adversarial attack in the model inference library, proving that ML-security research should not only focus on making the model safe, but also securing the entire pipeline.", "date": "2025-11-24", "categories": []} {"id": "2503.08636", "title": "Birds look like cars: Adversarial analysis of intrinsically interpretable deep learning", "abstract": "A common belief is that intrinsically interpretable deep learning models ensure a correct, intuitive understanding of their behavior and offer greater robustness against accidental errors or intentional manipulation. However, these beliefs have not been comprehensively verified, and growing evidence casts doubt on them. In this paper, we highlight the risks related to overreliance and susceptibility to adversarial manipulation of these so-called \"intrinsically (aka inherently) interpretable\" models by design. We introduce two strategies for adversarial analysis with prototype manipulation and backdoor attacks against prototype-based networks, and discuss how concept bottleneck models defend against these attacks. Fooling the model's reasoning by exploiting its use of latent prototypes manifests the inherent uninterpretability of deep neural networks, leading to a false sense of security reinforced by a visual confirmation bias. The reported limitations of part-prototype networks put their trustworthiness and applicability into question, motivating further work on the robustness and alignment of (deep) interpretable models.", "date": "2025-03-11", "categories": []} {"id": "2507.10998", "title": "Crafting Imperceptible On-Manifold Adversarial Attacks for Tabular Data", "abstract": "Adversarial attacks on tabular data present unique challenges due to the heterogeneous nature of mixed categorical and numerical features. Unlike images where pixel perturbations maintain visual similarity, tabular data lacks intuitive similarity metrics, making it difficult to define imperceptible modifications. Additionally, traditional gradient-based methods prioritise $\\ell_p$-norm constraints, often producing adversarial examples that deviate from the original data distributions. To address this, we propose a latent-space perturbation framework using a mixed-input Variational Autoencoder (VAE) to generate statistically consistent adversarial examples. The proposed VAE integrates categorical embeddings and numerical features into a unified latent manifold, enabling perturbations that preserve statistical consistency. We introduce In-Distribution Success Rate (IDSR) to jointly evaluate attack effectiveness and distributional alignment. Evaluation across six publicly available datasets and three model architectures demonstrates that our method achieves substantially lower outlier rates and more consistent performance compared to traditional input-space attacks and other VAE-based methods adapted from image domain approaches, achieving substantially lower outlier rates and higher IDSR across six datasets and three model architectures. Our comprehensive analyses of hyperparameter sensitivity, sparsity control, and generative architecture demonstrate that the effectiveness of VAE-based attacks depends strongly on reconstruction quality and the availability of sufficient training data. When these conditions are met, the proposed framework achieves superior practical utility and stability compared with input-space methods. This work underscores the importance of maintaining on-manifold perturbations for generating realistic and robust adversarial examples in tabular domains.", "date": "2025-07-15", "categories": []} {"id": "2511.17448", "title": "MMT-ARD: Multimodal Multi-Teacher Adversarial Distillation for Robust Vision-Language Models", "abstract": "Vision-Language Models (VLMs) are increasingly deployed in safety-critical applications, making their adversarial robustness a crucial concern. While adversarial knowledge distillation has shown promise in transferring robustness from teacher to student models, traditional single-teacher approaches suffer from limited knowledge diversity, slow convergence, and difficulty in balancing robustness and accuracy. To address these challenges, we propose MMT-ARD: a Multimodal Multi-Teacher Adversarial Robust Distillation framework. Our key innovation is a dual-teacher knowledge fusion architecture that collaboratively optimizes clean feature preservation and robust feature enhancement. To better handle challenging adversarial examples, we introduce a dynamic weight allocation strategy based on teacher confidence, enabling adaptive focus on harder samples. Moreover, to mitigate bias among teachers, we design an adaptive sigmoid-based weighting function that balances the strength of knowledge transfer across modalities. Extensive experiments on ImageNet and zero-shot benchmarks demonstrate that MMT-ARD improves robust accuracy by +4.32% and zero-shot accuracy by +3.5% on the ViT-B-32 model, while achieving a 2.3x increase in training efficiency over traditional single-teacher methods. These results highlight the effectiveness and scalability of MMT-ARD in enhancing the adversarial robustness of multimodal large models. Our codes are available at https://github.com/itsnotacie/MMT-ARD.", "date": "2025-11-21", "categories": []} {"id": "2405.05075", "title": "Sparse-PGD: A Unified Framework for Sparse Adversarial Perturbations Generation", "abstract": "This work studies sparse adversarial perturbations, including both unstructured and structured ones. We propose a framework based on a white-box PGD-like attack method named Sparse-PGD to effectively and efficiently generate such perturbations. Furthermore, we combine Sparse-PGD with a black-box attack to comprehensively and more reliably evaluate the models' robustness against unstructured and structured sparse adversarial perturbations. Moreover, the efficiency of Sparse-PGD enables us to conduct adversarial training to build robust models against various sparse perturbations. Extensive experiments demonstrate that our proposed attack algorithm exhibits strong performance in different scenarios. More importantly, compared with other robust models, our adversarially trained model demonstrates state-of-the-art robustness against various sparse attacks. Codes are available at https://github.com/CityU-MLO/sPGD.", "date": "2024-05-08", "categories": []} {"id": "2503.12339", "title": "A Closer Look at Adversarial Suffix Learning for Jailbreaking LLMs: Augmented Adversarial Trigger Learning", "abstract": "Gradient optimization-based adversarial attack methods automate the learning of adversarial triggers to generate jailbreak prompts or leak system prompts. In this work, we take a closer look at the optimization objective of adversarial trigger learning and propose ATLA: Adversarial Trigger Learning with Augmented objectives. ATLA improves the negative log-likelihood loss used by previous studies into a weighted loss formulation that encourages the learned adversarial triggers to optimize more towards response format tokens. This enables ATLA to learn an adversarial trigger from just one query-response pair and the learned trigger generalizes well to other similar queries. We further design a variation to augment trigger optimization with an auxiliary loss that suppresses evasive responses. We showcase how to use ATLA to learn adversarial suffixes jailbreaking LLMs and to extract hidden system prompts. Empirically we demonstrate that ATLA consistently outperforms current state-of-the-art techniques, achieving nearly 100% success in attacking while requiring 80% fewer queries. ATLA learned jailbreak suffixes demonstrate high generalization to unseen queries and transfer well to new LLMs. We released our code https://github.com/QData/ALTA_Augmented_Adversarial_Trigger_Learning", "date": "2025-03-16", "categories": []} {"id": "2509.22060", "title": "Decoding Deception: Understanding Automatic Speech Recognition Vulnerabilities in Evasion and Poisoning Attacks", "abstract": "Recent studies have demonstrated the vulnerability of Automatic Speech Recognition systems to adversarial examples, which can deceive these systems into misinterpreting input speech commands. While previous research has primarily focused on white-box attacks with constrained optimizations, and transferability based black-box attacks against commercial Automatic Speech Recognition devices, this paper explores cost efficient white-box attack and non transferability black-box adversarial attacks on Automatic Speech Recognition systems, drawing insights from approaches such as Fast Gradient Sign Method and Zeroth-Order Optimization. Further, the novelty of the paper includes how poisoning attack can degrade the performances of state-of-the-art models leading to misinterpretation of audio signals. Through experimentation and analysis, we illustrate how hybrid models can generate subtle yet impactful adversarial examples with very little perturbation having Signal Noise Ratio of 35dB that can be generated within a minute. These vulnerabilities of state-of-the-art open source model have practical security implications, and emphasize the need for adversarial security.", "date": "2025-09-26", "categories": []} {"id": "2511.15807", "title": "TopoReformer: Mitigating Adversarial Attacks Using Topological Purification in OCR Models", "abstract": "Adversarially perturbed images of text can cause sophisticated OCR systems to produce misleading or incorrect transcriptions from seemingly invisible changes to humans. Some of these perturbations even survive physical capture, posing security risks to high-stakes applications such as document processing, license plate recognition, and automated compliance systems. Existing defenses, such as adversarial training, input preprocessing, or post-recognition correction, are often model-specific, computationally expensive, and affect performance on unperturbed inputs while remaining vulnerable to unseen or adaptive attacks. To address these challenges, TopoReformer is introduced, a model-agnostic reformation pipeline that mitigates adversarial perturbations while preserving the structural integrity of text images. Topology studies properties of shapes and spaces that remain unchanged under continuous deformations, focusing on global structures such as connectivity, holes, and loops rather than exact distance. Leveraging these topological features, TopoReformer employs a topological autoencoder to enforce manifold-level consistency in latent space and improve robustness without explicit gradient regularization. The proposed method is benchmarked on EMNIST, MNIST, against standard adversarial attacks (FGSM, PGD, Carlini-Wagner), adaptive attacks (EOT, BDPA), and an OCR-specific watermark attack (FAWA).", "date": "2025-11-19", "categories": []} {"id": "2511.14876", "title": "Attacking Autonomous Driving Agents with Adversarial Machine Learning: A Holistic Evaluation with the CARLA Leaderboard", "abstract": "To autonomously control vehicles, driving agents use outputs from a combination of machine-learning (ML) models, controller logic, and custom modules. Although numerous prior works have shown that adversarial examples can mislead ML models used in autonomous driving contexts, it remains unclear if these attacks are effective at producing harmful driving actions for various agents, environments, and scenarios.\n To assess the risk of adversarial examples to autonomous driving, we evaluate attacks against a variety of driving agents, rather than against ML models in isolation. To support this evaluation, we leverage CARLA, an urban driving simulator, to create and evaluate adversarial examples. We create adversarial patches designed to stop or steer driving agents, stream them into the CARLA simulator at runtime, and evaluate them against agents from the CARLA Leaderboard, a public repository of best-performing autonomous driving agents from an annual research competition. Unlike prior work, we evaluate attacks against autonomous driving systems without creating or modifying any driving-agent code and against all parts of the agent included with the ML model.\n We perform a case-study investigation of two attack strategies against three open-source driving agents from the CARLA Leaderboard across multiple driving scenarios, lighting conditions, and locations. Interestingly, we show that, although some attacks can successfully mislead ML models into predicting erroneous stopping or steering commands, some driving agents use modules, such as PID control or GPS-based rules, that can overrule attacker-manipulated predictions from ML models.", "date": "2025-11-18", "categories": []} {"id": "2511.15571", "title": "Transferable Dual-Domain Feature Importance Attack against AI-Generated Image Detector", "abstract": "Recent AI-generated image (AIGI) detectors achieve impressive accuracy under clean condition. In view of antiforensics, it is significant to develop advanced adversarial attacks for evaluating the security of such detectors, which remains unexplored sufficiently. This letter proposes a Dual-domain Feature Importance Attack (DuFIA) scheme to invalidate AIGI detectors to some extent. Forensically important features are captured by the spatially interpolated gradient and frequency-aware perturbation. The adversarial transferability is enhanced by jointly modeling spatial and frequency-domain feature importances, which are fused to guide the optimization-based adversarial example generation. Extensive experiments across various AIGI detectors verify the cross-model transferability, transparency and robustness of DuFIA.", "date": "2025-11-19", "categories": []} {"id": "2511.13749", "title": "DeepDefense: Layer-Wise Gradient-Feature Alignment for Building Robust Neural Networks", "abstract": "Deep neural networks are known to be vulnerable to adversarial perturbations, which are small and carefully crafted inputs that lead to incorrect predictions. In this paper, we propose DeepDefense, a novel defense framework that applies Gradient-Feature Alignment (GFA) regularization across multiple layers to suppress adversarial vulnerability. By aligning input gradients with internal feature representations, DeepDefense promotes a smoother loss landscape in tangential directions, thereby reducing the model's sensitivity to adversarial noise.\n We provide theoretical insights into how adversarial perturbation can be decomposed into radial and tangential components and demonstrate that alignment suppresses loss variation in tangential directions, where most attacks are effective. Empirically, our method achieves significant improvements in robustness across both gradient-based and optimization-based attacks. For example, on CIFAR-10, CNN models trained with DeepDefense outperform standard adversarial training by up to 15.2% under APGD attacks and 24.7% under FGSM attacks. Against optimization-based attacks such as DeepFool and EADEN, DeepDefense requires 20 to 30 times higher perturbation magnitudes to cause misclassification, indicating stronger decision boundaries and a flatter loss landscape. Our approach is architecture-agnostic, simple to implement, and highly effective, offering a promising direction for improving the adversarial robustness of deep learning models.", "date": "2025-11-13", "categories": []} {"id": "2511.13753", "title": "Robustness of LLM-enabled vehicle trajectory prediction under data security threats", "abstract": "The integration of large language models (LLMs) into automated driving systems has opened new possibilities for reasoning and decision-making by transforming complex driving contexts into language-understandable representations. Recent studies demonstrate that fine-tuned LLMs can accurately predict vehicle trajectories and lane-change intentions by gathering and transforming data from surrounding vehicles. However, the robustness of such LLM-based prediction models for safety-critical driving systems remains unexplored, despite the increasing concerns about the trustworthiness of LLMs. This study addresses this gap by conducting a systematic vulnerability analysis of LLM-enabled vehicle trajectory prediction. We propose a one-feature differential evolution attack that perturbs a single kinematic feature of surrounding vehicles within the LLM's input prompts under a black-box setting. Experiments on the highD dataset reveal that even minor, physically plausible perturbations can significantly disrupt model outputs, underscoring the susceptibility of LLM-based predictors to adversarial manipulation. Further analyses reveal a trade-off between accuracy and robustness, examine the failure mechanism, and explore potential mitigation solutions. The findings provide the very first insights into adversarial vulnerabilities of LLM-driven automated vehicle models in the context of vehicular interactions and highlight the need for robustness-oriented design in future LLM-based intelligent transportation systems.", "date": "2025-11-14", "categories": []} {"id": "2511.13771", "title": "ExplainableGuard: Interpretable Adversarial Defense for Large Language Models Using Chain-of-Thought Reasoning", "abstract": "Large Language Models (LLMs) are increasingly vulnerable to adversarial attacks that can subtly manipulate their outputs. While various defense mechanisms have been proposed, many operate as black boxes, lacking transparency in their decision-making. This paper introduces ExplainableGuard, an interpretable adversarial defense framework leveraging the chain-of-thought (CoT) reasoning capabilities of DeepSeek-Reasoner. Our approach not only detects and neutralizes adversarial perturbations in text but also provides step-by-step explanations for each defense action. We demonstrate how tailored CoT prompts guide the LLM to perform a multi-faceted analysis (character, word, structural, and semantic) and generate a purified output along with a human-readable justification. Preliminary results on the GLUE Benchmark and IMDB Movie Reviews dataset show promising defense efficacy. Additionally, a human evaluation study reveals that ExplainableGuard's explanations outperform ablated variants in clarity, specificity, and actionability, with a 72.5% deployability-trust rating, underscoring its potential for more trustworthy LLM deployments.", "date": "2025-11-15", "categories": []} {"id": "2511.14003", "title": "Certified but Fooled! Breaking Certified Defences with Ghost Certificates", "abstract": "Certified defenses promise provable robustness guarantees. We study the malicious exploitation of probabilistic certification frameworks to better understand the limits of guarantee provisions. Now, the objective is to not only mislead a classifier, but also manipulate the certification process to generate a robustness guarantee for an adversarial input certificate spoofing. A recent study in ICLR demonstrated that crafting large perturbations can shift inputs far into regions capable of generating a certificate for an incorrect class. Our study investigates if perturbations needed to cause a misclassification and yet coax a certified model into issuing a deceptive, large robustness radius for a target class can still be made small and imperceptible. We explore the idea of region-focused adversarial examples to craft imperceptible perturbations, spoof certificates and achieve certification radii larger than the source class ghost certificates. Extensive evaluations with the ImageNet demonstrate the ability to effectively bypass state-of-the-art certified defenses such as Densepure. Our work underscores the need to better understand the limits of robustness certification methods.", "date": "2025-11-18", "categories": []} {"id": "2409.10997", "title": "Contextual Breach: Assessing the Robustness of Transformer-based QA Models", "abstract": "Contextual question-answering models are susceptible to adversarial perturbations to input context, commonly observed in real-world scenarios. These adversarial noises are designed to degrade the performance of the model by distorting the textual input. We introduce a unique dataset that incorporates seven distinct types of adversarial noise into the context, each applied at five different intensity levels on the SQuAD dataset. To quantify the robustness, we utilize robustness metrics providing a standardized measure for assessing model performance across varying noise types and levels. Experiments on transformer-based question-answering models reveal robustness vulnerabilities and important insights into the model's performance in realistic textual input.", "date": "2024-09-17", "categories": []} {"id": "2412.08098", "title": "What You See Is Not Always What You Get: Evaluating GPT's Comprehension of Source Code", "abstract": "Recent studies have demonstrated outstanding capabilities of large language models (LLMs) in software engineering tasks, including code generation and comprehension. While LLMs have shown significant potential in assisting with coding, LLMs are vulnerable to adversarial attacks. In this paper, we investigate the vulnerability of LLMs to imperceptible attacks. This class of attacks manipulate source code at the character level, which renders the changes invisible to human reviewers yet effective in misleading LLMs' behaviour. We devise these attacks into four distinct categories and analyse their impacts on code analysis and comprehension tasks. These four types of imperceptible character attacks include coding reordering, invisible coding characters, code deletions, and code homoglyphs. To assess the robustness of state-of-the-art LLMs, we present a systematic evaluation across multiple models using both perturbed and clean code snippets. Two evaluation metrics, model confidence using log probabilities of response and response correctness, are introduced. The results reveal that LLMs are susceptible to imperceptible coding perturbations, with varying degrees of degradation highlighted across different LLMs. Furthermore, we observe a consistent negative correlation between perturbation magnitude and model performance. These results highlight the urgent need for robust LLMs capable of manoeuvring behaviours under imperceptible adversarial conditions.", "date": "2024-12-11", "categories": []} {"id": "2412.12478", "title": "Human-in-the-Loop Generation of Adversarial Texts: A Case Study on Tibetan Script", "abstract": "DNN-based language models excel across various NLP tasks but remain highly vulnerable to textual adversarial attacks. While adversarial text generation is crucial for NLP security, explainability, evaluation, and data augmentation, related work remains overwhelmingly English-centric, leaving the problem of constructing high-quality and sustainable adversarial robustness benchmarks for lower-resourced languages both difficult and understudied. First, method customization for lower-resourced languages is complicated due to linguistic differences and limited resources. Second, automated attacks are prone to generating invalid or ambiguous adversarial texts. Last but not least, language models continuously evolve and may be immune to parts of previously generated adversarial texts. To address these challenges, we introduce HITL-GAT, an interactive system based on a general approach to human-in-the-loop generation of adversarial texts. Additionally, we demonstrate the utility of HITL-GAT through a case study on Tibetan script, employing three customized adversarial text generation methods and establishing its first adversarial robustness benchmark, providing a valuable reference for other lower-resourced languages.", "date": "2024-12-17", "categories": []} {"id": "2501.07251", "title": "MOS-Attack: A Scalable Multi-objective Adversarial Attack Framework", "abstract": "Crafting adversarial examples is crucial for evaluating and enhancing the robustness of Deep Neural Networks (DNNs), presenting a challenge equivalent to maximizing a non-differentiable 0-1 loss function.\n However, existing single objective methods, namely adversarial attacks focus on a surrogate loss function, do not fully harness the benefits of engaging multiple loss functions, as a result of insufficient understanding of their synergistic and conflicting nature.\n To overcome these limitations, we propose the Multi-Objective Set-based Attack (MOS Attack), a novel adversarial attack framework leveraging multiple loss functions and automatically uncovering their interrelations.\n The MOS Attack adopts a set-based multi-objective optimization strategy, enabling the incorporation of numerous loss functions without additional parameters.\n It also automatically mines synergistic patterns among various losses, facilitating the generation of potent adversarial attacks with fewer objectives.\n Extensive experiments have shown that our MOS Attack outperforms single-objective attacks. Furthermore, by harnessing the identified synergistic patterns, MOS Attack continues to show superior results with a reduced number of loss functions. Our code is available at https://github.com/pgg3/MOS-Attack.", "date": "2025-01-13", "categories": []} {"id": "2504.10804", "title": "Harnessing the Computation Redundancy in ViTs to Boost Adversarial Transferability", "abstract": "Vision Transformers (ViTs) have demonstrated impressive performance across a range of applications, including many safety-critical tasks. However, their unique architectural properties raise new challenges and opportunities in adversarial robustness. In particular, we observe that adversarial examples crafted on ViTs exhibit higher transferability compared to those crafted on CNNs, suggesting that ViTs contain structural characteristics favorable for transferable attacks. In this work, we investigate the role of computational redundancy in ViTs and its impact on adversarial transferability. Unlike prior studies that aim to reduce computation for efficiency, we propose to exploit this redundancy to improve the quality and transferability of adversarial examples. Through a detailed analysis, we identify two forms of redundancy, including the data-level and model-level, that can be harnessed to amplify attack effectiveness. Building on this insight, we design a suite of techniques, including attention sparsity manipulation, attention head permutation, clean token regularization, ghost MoE diversification, and test-time adversarial training. Extensive experiments on the ImageNet-1k dataset validate the effectiveness of our approach, showing that our methods significantly outperform existing baselines in both transferability and generality across diverse model architectures.", "date": "2025-04-15", "categories": []} {"id": "2505.12644", "title": "Use as Many Surrogates as You Want: Selective Ensemble Attack to Unleash Transferability without Sacrificing Resource Efficiency", "abstract": "In surrogate ensemble attacks, using more surrogate models yields higher transferability but lower resource efficiency. This practical trade-off between transferability and efficiency has largely limited existing attacks despite many pre-trained models are easily accessible online. In this paper, we argue that such a trade-off is caused by an unnecessary common assumption, i.e., all models should be \\textit{identical} across iterations. By lifting this assumption, we can use as many surrogates as we want to unleash transferability without sacrificing efficiency. Concretely, we propose Selective Ensemble Attack (SEA), which dynamically selects diverse models (from easily accessible pre-trained models) across iterations based on our new interpretation of decoupling within-iteration and cross-iteration model diversity. In this way, the number of within-iteration models is fixed for maintaining efficiency, while only cross-iteration model diversity is increased for higher transferability. Experiments on ImageNet demonstrate the superiority of SEA in various scenarios. For example, when dynamically selecting 4 from 20 accessible models, SEA yields 8.5% higher transferability than existing attacks under the same efficiency. The superiority of SEA also generalizes to real-world systems, such as commercial vision APIs and large vision-language models. Overall, SEA opens up the possibility of adaptively balancing transferability and efficiency according to specific resource requirements.", "date": "2025-05-19", "categories": []} {"id": "2505.17089", "title": "Chain-of-Thought Driven Adversarial Scenario Extrapolation for Robust Language Models", "abstract": "Large Language Models (LLMs) exhibit impressive capabilities, but remain susceptible to a growing spectrum of safety risks, including jailbreaks, toxic content, hallucinations, and bias. Existing defenses often address only a single threat type or resort to rigid outright rejection, sacrificing user experience and failing to generalize across diverse and novel attacks. This paper introduces Adversarial Scenario Extrapolation (ASE), a novel inference-time computation framework that leverages Chain-of-Thought (CoT) reasoning to simultaneously enhance LLM robustness and seamlessness. ASE guides the LLM through a self-generative process of contemplating potential adversarial scenarios and formulating defensive strategies before generating a response to the user query. Comprehensive evaluation on four adversarial benchmarks with four latest LLMs shows that ASE achieves near-zero jailbreak attack success rates and minimal toxicity, while slashing outright rejections to <4%. ASE outperforms six state-of-the-art defenses in robustness-seamlessness trade-offs, with 92-99% accuracy on adversarial Q&A and 4-10x lower bias scores. By transforming adversarial perception into an intrinsic cognitive process, ASE sets a new paradigm for secure and natural human-AI interaction.", "date": "2025-05-20", "categories": []} {"id": "2505.20782", "title": "Towards Cross-Domain Multi-Targeted Adversarial Attacks", "abstract": "Multi-targeted adversarial attacks aim to mislead classifiers toward specific target classes using a single perturbation generator with a conditional input specifying the desired target class. Existing methods face two key limitations: (1) a single generator supports only a limited number of predefined target classes, and (2) it requires access to the victim model's training data to learn target class semantics. This dependency raises data leakage concerns in practical black-box scenarios where the training data is typically private. To address these limitations, we propose a novel Cross-Domain Multi-Targeted Attack (CD-MTA) that can generate perturbations toward arbitrary target classes, even those that do not exist in the attacker's training data. CD-MTA is trained on a single public dataset but can perform targeted attacks on black-box models trained on different datasets with disjoint and unknown class sets. Our method requires only a single example image that visually represents the desired target class, without relying its label, class distribution or pretrained embeddings. We achieve this through a Feature Injection Module (FIM) and class-agnostic objectives which guide the generator to extract transferable, fine-grained features from the target image without inferring class semantics. Experiments on ImageNet and seven additional datasets show that CD-MTA outperforms existing multi-targeted attack methods on unseen target classes in black-box and cross-domain scenarios. The code is available at https://github.com/tgoncalv/CD-MTA.", "date": "2025-05-27", "categories": []} {"id": "2506.07666", "title": "ProARD: progressive adversarial robustness distillation: provide wide range of robust students", "abstract": "Adversarial Robustness Distillation (ARD) has emerged as an effective method to enhance the robustness of lightweight deep neural networks against adversarial attacks. Current ARD approaches have leveraged a large robust teacher network to train one robust lightweight student. However, due to the diverse range of edge devices and resource constraints, current approaches require training a new student network from scratch to meet specific constraints, leading to substantial computational costs and increased CO2 emissions. This paper proposes Progressive Adversarial Robustness Distillation (ProARD), enabling the efficient one-time training of a dynamic network that supports a diverse range of accurate and robust student networks without requiring retraining. We first make a dynamic deep neural network based on dynamic layers by encompassing variations in width, depth, and expansion in each design stage to support a wide range of architectures. Then, we consider the student network with the largest size as the dynamic teacher network. ProARD trains this dynamic network using a weight-sharing mechanism to jointly optimize the dynamic teacher network and its internal student networks. However, due to the high computational cost of calculating exact gradients for all the students within the dynamic network, a sampling mechanism is required to select a subset of students. We show that random student sampling in each iteration fails to produce accurate and robust students.", "date": "2025-06-09", "categories": []} {"id": "2510.22963", "title": "CompressionAttack: Exploiting Prompt Compression as a New Attack Surface in LLM-Powered Agents", "abstract": "LLM-powered agents often use prompt compression to reduce inference costs, but this introduces a new security risk. Compression modules, which are optimized for efficiency rather than safety, can be manipulated by adversarial inputs, causing semantic drift and altering LLM behavior. This work identifies prompt compression as a novel attack surface and presents CompressionAttack, the first framework to exploit it. CompressionAttack includes two strategies: HardCom, which uses discrete adversarial edits for hard compression, and SoftCom, which performs latent-space perturbations for soft compression. Experiments on multiple LLMs show up to an average ASR of 83% and 87% in two tasks, while remaining highly stealthy and transferable. Case studies in three practical scenarios confirm real-world impact, and current defenses prove ineffective, highlighting the need for stronger protections.", "date": "2025-10-27", "categories": []} {"id": "2511.01317", "title": "A Generative Adversarial Approach to Adversarial Attacks Guided by Contrastive Language-Image Pre-trained Model", "abstract": "The rapid growth of deep learning has brought about powerful models that can handle various tasks, like identifying images and understanding language. However, adversarial attacks, an unnoticed alteration, can deceive models, leading to inaccurate predictions. In this paper, a generative adversarial attack method is proposed that uses the CLIP model to create highly effective and visually imperceptible adversarial perturbations. The CLIP model's ability to align text and image representation helps incorporate natural language semantics with a guided loss to generate effective adversarial examples that look identical to the original inputs. This integration allows extensive scene manipulation, creating perturbations in multi-object environments specifically designed to deceive multilabel classifiers. Our approach integrates the concentrated perturbation strategy from Saliency-based Auto-Encoder (SSAE) with the dissimilar text embeddings similar to Generative Adversarial Multi-Object Scene Attacks (GAMA), resulting in perturbations that both deceive classification models and maintain high structural similarity to the original images. The model was tested on various tasks across diverse black-box victim models. The experimental results show that our method performs competitively, achieving comparable or superior results to existing techniques, while preserving greater visual fidelity.", "date": "2025-11-03", "categories": []} {"id": "2511.11625", "title": "MedFedPure: A Medical Federated Framework with MAE-based Detection and Diffusion Purification for Inference-Time Attacks", "abstract": "Artificial intelligence (AI) has shown great potential in medical imaging, particularly for brain tumor detection using Magnetic Resonance Imaging (MRI). However, the models remain vulnerable at inference time when they are trained collaboratively through Federated Learning (FL), an approach adopted to protect patient privacy. Adversarial attacks can subtly alter medical scans in ways invisible to the human eye yet powerful enough to mislead AI models, potentially causing serious misdiagnoses. Existing defenses often assume centralized data and struggle to cope with the decentralized and diverse nature of federated medical settings. In this work, we present MedFedPure, a personalized federated learning defense framework designed to protect diagnostic AI models at inference time without compromising privacy or accuracy. MedFedPure combines three key elements: (1) a personalized FL model that adapts to the unique data distribution of each institution; (2) a Masked Autoencoder (MAE) that detects suspicious inputs by exposing hidden perturbations; and (3) an adaptive diffusion-based purification module that selectively cleans only the flagged scans before classification. Together, these steps offer robust protection while preserving the integrity of normal, benign images. We evaluated MedFedPure on the Br35H brain MRI dataset. The results show a significant gain in adversarial robustness, improving performance from 49.50% to 87.33% under strong attacks, while maintaining a high clean accuracy of 97.67%. By operating locally and in real time during diagnosis, our framework provides a practical path to deploying secure, trustworthy, and privacy-preserving AI tools in clinical workflows.\n Index Terms: cancer, tumor detection, federated learning, masked autoencoder, diffusion, privacy", "date": "2025-11-07", "categories": []} {"id": "2511.11834", "title": "Volatility in Certainty (VC): A Metric for Detecting Adversarial Perturbations During Inference in Neural Network Classifiers", "abstract": "Adversarial robustness remains a critical challenge in deploying neural network classifiers, particularly in real-time systems where ground-truth labels are unavailable during inference. This paper investigates \\textit{Volatility in Certainty} (VC), a recently proposed, label-free metric that quantifies irregularities in model confidence by measuring the dispersion of sorted softmax outputs. Specifically, VC is defined as the average squared log-ratio of adjacent certainty values, capturing local fluctuations in model output smoothness. We evaluate VC as a proxy for classification accuracy and as an indicator of adversarial drift. Experiments are conducted on artificial neural networks (ANNs) and convolutional neural networks (CNNs) trained on MNIST, as well as a regularized VGG-like model trained on CIFAR-10. Adversarial examples are generated using the Fast Gradient Sign Method (FGSM) across varying perturbation magnitudes. In addition, mixed test sets are created by gradually introducing adversarial contamination to assess VC's sensitivity under incremental distribution shifts. Our results reveal a strong negative correlation between classification accuracy and log(VC) (correlation rho < -0.90 in most cases), suggesting that VC effectively reflects performance degradation without requiring labeled data. These findings position VC as a scalable, architecture-agnostic, and real-time performance metric suitable for early-warning systems in safety-critical applications.", "date": "2025-11-14", "categories": []} {"id": "2511.11842", "title": "On the Trade-Off Between Transparency and Security in Adversarial Machine Learning", "abstract": "Transparency and security are both central to Responsible AI, but they may conflict in adversarial settings. We investigate the strategic effect of transparency for agents through the lens of transferable adversarial example attacks. In transferable adversarial example attacks, attackers maliciously perturb their inputs using surrogate models to fool a defender's target model. These models can be defended or undefended, with both players having to decide which to use. Using a large-scale empirical evaluation of nine attacks across 181 models, we find that attackers are more successful when they match the defender's decision; hence, obscurity could be beneficial to the defender. With game theory, we analyze this trade-off between transparency and security by modeling this problem as both a Nash game and a Stackelberg game, and comparing the expected outcomes. Our analysis confirms that only knowing whether a defender's model is defended or not can sometimes be enough to damage its security. This result serves as an indicator of the general trade-off between transparency and security, suggesting that transparency in AI systems can be at odds with security. Beyond adversarial machine learning, our work illustrates how game-theoretic reasoning can uncover conflicts between transparency and security.", "date": "2025-11-14", "categories": []} {"id": "2511.11993", "title": "Dynamic Parameter Optimization for Highly Transferable Transformation-Based Attacks", "abstract": "Despite their wide application, the vulnerabilities of deep neural networks raise societal concerns. Among them, transformation-based attacks have demonstrated notable success in transfer attacks. However, existing attacks suffer from blind spots in parameter optimization, limiting their full potential. Specifically, (1) prior work generally considers low-iteration settings, yet attacks perform quite differently at higher iterations, so characterizing overall performance based only on low-iteration results is misleading. (2) Existing attacks use uniform parameters for different surrogate models, iterations, and tasks, which greatly impairs transferability. (3) Traditional transformation parameter optimization relies on grid search. For n parameters with m steps each, the complexity is O(mn). Large computational overhead limits further optimization of parameters. To address these limitations, we conduct an empirical study with various transformations as baselines, revealing three dynamic patterns of transferability with respect to parameter strength. We further propose a novel Concentric Decay Model (CDM) to effectively explain these patterns. Building on these insights, we propose an efficient Dynamic Parameter Optimization (DPO) based on the rise-then-fall pattern, reducing the complexity to O(nlogm). Comprehensive experiments on existing transformation-based attacks across different surrogate models, iterations, and tasks demonstrate that our DPO can significantly improve transferability.", "date": "2025-11-15", "categories": []} {"id": "2511.12149", "title": "AttackVLA: Benchmarking Adversarial and Backdoor Attacks on Vision-Language-Action Models", "abstract": "Vision-Language-Action (VLA) models enable robots to interpret natural-language instructions and perform diverse tasks, yet their integration of perception, language, and control introduces new safety vulnerabilities. Despite growing interest in attacking such models, the effectiveness of existing techniques remains unclear due to the absence of a unified evaluation framework. One major issue is that differences in action tokenizers across VLA architectures hinder reproducibility and fair comparison. More importantly, most existing attacks have not been validated in real-world scenarios. To address these challenges, we propose AttackVLA, a unified framework that aligns with the VLA development lifecycle, covering data construction, model training, and inference. Within this framework, we implement a broad suite of attacks, including all existing attacks targeting VLAs and multiple adapted attacks originally developed for vision-language models, and evaluate them in both simulation and real-world settings. Our analysis of existing attacks reveals a critical gap: current methods tend to induce untargeted failures or static action states, leaving targeted attacks that drive VLAs to perform precise long-horizon action sequences largely unexplored. To fill this gap, we introduce BackdoorVLA, a targeted backdoor attack that compels a VLA to execute an attacker-specified long-horizon action sequence whenever a trigger is present. We evaluate BackdoorVLA in both simulated benchmarks and real-world robotic settings, achieving an average targeted success rate of 58.4% and reaching 100% on selected tasks. Our work provides a standardized framework for evaluating VLA vulnerabilities and demonstrates the potential for precise adversarial manipulation, motivating further research on securing VLA-based embodied systems.", "date": "2025-11-15", "categories": []} {"id": "2511.12265", "title": "Calibrated Adversarial Sampling: Multi-Armed Bandit-Guided Generalization Against Unforeseen Attacks", "abstract": "Deep Neural Networks (DNNs) are known to be vulnerable to various adversarial perturbations. To address the safety concerns arising from these vulnerabilities, adversarial training (AT) has emerged as one of the most effective paradigms for enhancing the robustness of DNNs. However, existing AT frameworks primarily focus on a single or a limited set of attack types, leaving DNNs still exposed to attack types that may be encountered in practice but not addressed during training. In this paper, we propose an efficient fine-tuning method called Calibrated Adversarial Sampling (CAS) to address these issues. From the optimization perspective within the multi-armed bandit framework, it dynamically designs rewards and balances exploration and exploitation by considering the dynamic and interdependent characteristics of multiple robustness dimensions. Experiments on benchmark datasets show that CAS achieves superior overall robustness while maintaining high clean accuracy, providing a new paradigm for robust generalization of DNNs.", "date": "2025-11-15", "categories": []} {"id": "2511.12827", "title": "Efficient Adversarial Malware Defense via Trust-Based Raw Override and Confidence-Adaptive Bit-Depth Reduction", "abstract": "The deployment of robust malware detection systems in big data environments requires careful consideration of both security effectiveness and computational efficiency. While recent advances in adversarial defenses have demonstrated strong robustness improvements, they often introduce computational overhead ranging from 4x to 22x, which presents significant challenges for production systems processing millions of samples daily. In this work, we propose a novel framework that combines Trust-Raw Override (TRO) with Confidence-Adaptive Bit-Depth Reduction (CABDR) to explicitly optimize the trade-off between adversarial robustness and computational efficiency. Our approach leverages adaptive confidence-based mechanisms to selectively apply defensive measures, achieving 1.76x computational overhead - a 2.3x improvement over state-of-the-art smoothing defenses. Through comprehensive evaluation on the EMBER v2 dataset comprising 800K samples, we demonstrate that our framework maintains 91 percent clean accuracy while reducing attack success rates to 31-37 percent across multiple attack types, with particularly strong performance against optimization-based attacks such as C and W (48.8 percent reduction). The framework achieves throughput of up to 1.26 million samples per second (measured on pre-extracted EMBER features with no runtime feature extraction), validated across 72 production configurations with statistical significance (5 independent runs, 95 percent confidence intervals, p less than 0.01). Our results suggest that practical adversarial robustness in production environments requires explicit optimization of the efficiency-robustness trade-off, providing a viable path for organizations to deploy robust defenses without prohibitive infrastructure costs.", "date": "2025-11-16", "categories": []} {"id": "2511.12956", "title": "T2I-Based Physical-World Appearance Attack against Traffic Sign Recognition Systems in Autonomous Driving", "abstract": "Traffic Sign Recognition (TSR) systems play a critical role in Autonomous Driving (AD) systems, enabling real-time detection of road signs, such as STOP and speed limit signs. While these systems are increasingly integrated into commercial vehicles, recent research has exposed their vulnerability to physical-world adversarial appearance attacks. In such attacks, carefully crafted visual patterns are misinterpreted by TSR models as legitimate traffic signs, while remaining inconspicuous or benign to human observers. However, existing adversarial appearance attacks suffer from notable limitations. Pixel-level perturbation-based methods often lack stealthiness and tend to overfit to specific surrogate models, resulting in poor transferability to real-world TSR systems. On the other hand, text-to-image (T2I) diffusion model-based approaches demonstrate limited effectiveness and poor generalization to out-of-distribution sign types.\n In this paper, we present DiffSign, a novel T2I-based appearance attack framework designed to generate physically robust, highly effective, transferable, practical, and stealthy appearance attacks against TSR systems. To overcome the limitations of prior approaches, we propose a carefully designed attack pipeline that integrates CLIP-based loss and masked prompts to improve attack focus and controllability. We also propose two novel style customization methods to guide visual appearance and improve out-of-domain traffic sign attack generalization and attack stealthiness. We conduct extensive evaluations of DiffSign under varied real-world conditions, including different distances, angles, light conditions, and sign categories. Our method achieves an average physical-world attack success rate of 83.3%, leveraging DiffSign's high effectiveness in attack transferability.", "date": "2025-11-17", "categories": []} {"id": "2511.13132", "title": "Shedding Light on VLN Robustness: A Black-box Framework for Indoor Lighting-based Adversarial Attack", "abstract": "Vision-and-Language Navigation (VLN) agents have made remarkable progress, but their robustness remains insufficiently studied. Existing adversarial evaluations often rely on perturbations that manifest as unusual textures rarely encountered in everyday indoor environments. Errors under such contrived conditions have limited practical relevance, as real-world agents are unlikely to encounter such artificial patterns. In this work, we focus on indoor lighting, an intrinsic yet largely overlooked scene attribute that strongly influences navigation. We propose Indoor Lighting-based Adversarial Attack (ILA), a black-box framework that manipulates global illumination to disrupt VLN agents. Motivated by typical household lighting usage, we design two attack modes: Static Indoor Lighting-based Attack (SILA), where the lighting intensity remains constant throughout an episode, and Dynamic Indoor Lighting-based Attack (DILA), where lights are switched on or off at critical moments to induce abrupt illumination changes. We evaluate ILA on two state-of-the-art VLN models across three navigation tasks. Results show that ILA significantly increases failure rates while reducing trajectory efficiency, revealing previously unrecognized vulnerabilities of VLN agents to realistic indoor lighting variations.", "date": "2025-11-17", "categories": []} {"id": "2207.03400", "title": "On the Relationship Between Adversarial Robustness and Decision Region in Deep Neural Networks", "abstract": "In general, Deep Neural Networks (DNNs) are evaluated by the generalization performance measured on unseen data excluded from the training phase. Along with the development of DNNs, the generalization performance converges to the state-of-the-art and it becomes difficult to evaluate DNNs solely based on this metric. The robustness against adversarial attack has been used as an additional metric to evaluate DNNs by measuring their vulnerability. However, few studies have been performed to analyze the adversarial robustness in terms of the geometry in DNNs. In this work, we perform an empirical study to analyze the internal properties of DNNs that affect model robustness under adversarial attacks. In particular, we propose the novel concept of the Populated Region Set (PRS), where training samples are populated more frequently, to represent the internal properties of DNNs in a practical setting. From systematic experiments with the proposed concept, we provide empirical evidence to validate that a low PRS ratio has a strong relationship with the adversarial robustness of DNNs. We also devise PRS regularizer leveraging the characteristics of PRS to improve the adversarial robustness without adversarial training.", "date": "2022-07-07", "categories": []} {"id": "2405.15033", "title": "Fractured Glass, Failing Cameras: Simulating Physics-Based Adversarial Samples for Autonomous Driving Systems", "abstract": "While much research has recently focused on generating physics-based adversarial samples, a critical yet often overlooked category originates from physical failures within on-board cameras-components essential to the perception systems of autonomous vehicles. Camera failures, whether due to external stresses causing hardware breakdown or internal component faults, can directly jeopardize the safety and reliability of autonomous driving systems. Firstly, we motivate the study using two separate real-world experiments to showcase that indeed glass failures would cause the detection based neural network models to fail. Secondly, we develop a simulation-based study using the physical process of the glass breakage to create perturbed scenarios, representing a realistic class of physics-based adversarial samples. Using a finite element model (FEM)-based approach, we generate surface cracks on the camera image by applying a stress field defined by particles within a triangular mesh. Lastly, we use physically-based rendering (PBR) techniques to provide realistic visualizations of these physically plausible fractures. To assess the safety implications, we apply the simulated broken glass effects as image filters to two autonomous driving datasets- KITTI and BDD100K- as well as the large-scale image detection dataset MS-COCO. We then evaluate detection failure rates for critical object classes using CNN-based object detection models (YOLOv8 and Faster R-CNN) and a transformer-based architecture with Pyramid Vision Transformers. To further investigate the distributional impact of these visual distortions, we compute the Kullback-Leibler (K-L) divergence between three distinct data distributions, applying various broken glass filters to a custom dataset (captured through a cracked windshield), as well as the KITTI and Kaggle cats and dogs datasets.", "date": "2024-05-23", "categories": []} {"id": "2504.14137", "title": "Rethinking Target Label Conditioning in Adversarial Attacks: A 2D Tensor-Guided Generative Approach", "abstract": "Compared to single-target adversarial attacks, multi-target attacks have garnered significant attention due to their ability to generate adversarial images for multiple target classes simultaneously. However, existing generative approaches for multi-target attacks primarily encode target labels into one-dimensional tensors, leading to a loss of fine-grained visual information and overfitting to model-specific features during noise generation. To address this gap, we first identify and validate that the semantic feature quality and quantity are critical factors affecting the transferability of targeted attacks: 1) Feature quality refers to the structural and detailed completeness of the implanted target features, as deficiencies may result in the loss of key discriminative information; 2) Feature quantity refers to the spatial sufficiency of the implanted target features, as inadequacy limits the victim model's attention to this feature. Based on these findings, we propose the 2D Tensor-Guided Adversarial Fusion (TGAF) framework, which leverages the powerful generative capabilities of diffusion models to encode target labels into two-dimensional semantic tensors for guiding adversarial noise generation. Additionally, we design a novel masking strategy tailored for the training process, ensuring that parts of the generated noise retain complete semantic information about the target class. Extensive experiments demonstrate that TGAF consistently surpasses state-of-the-art methods across various settings.", "date": "2025-04-19", "categories": []} {"id": "2511.11309", "title": "destroR: Attacking Transfer Models with Obfuscous Examples to Discard Perplexity", "abstract": "Advancements in Machine Learning & Neural Networks in recent years have led to widespread implementations of Natural Language Processing across a variety of fields with remarkable success, solving a wide range of complicated problems. However, recent research has shown that machine learning models may be vulnerable in a number of ways, putting both the models and the systems theyre used in at risk. In this paper, we intend to analyze and experiment with the best of existing adversarial attack recipes and create new ones. We concentrated on developing a novel adversarial attack strategy on current state-of-the-art machine learning models by producing ambiguous inputs for the models to confound them and then constructing the path to the future development of the robustness of the models. We will develop adversarial instances with maximum perplexity, utilizing machine learning and deep learning approaches in order to trick the models. In our attack recipe, we will analyze several datasets and focus on creating obfuscous adversary examples to put the models in a state of perplexity, and by including the Bangla Language in the field of adversarial attacks. We strictly uphold utility usage reduction and efficiency throughout our work.", "date": "2025-11-13", "categories": []} {"id": "2208.08083", "title": "Two Heads are Better than One: Robust Learning Meets Multi-branch Models", "abstract": "Deep neural networks (DNNs) are vulnerable to adversarial examples, in which DNNs are misled to false outputs due to inputs containing imperceptible perturbations. Adversarial training, a reliable and effective method of defense, may significantly reduce the vulnerability of neural networks and becomes the de facto standard for robust learning. While many recent works practice the data-centric philosophy, such as how to generate better adversarial examples or use generative models to produce additional training data, we look back to the models themselves and revisit the adversarial robustness from the perspective of deep feature distribution as an insightful complementarity. In this paper, we propose \\textit{Branch Orthogonality adveRsarial Training} (BORT) to obtain state-of-the-art performance with solely the original dataset for adversarial training. To practice our design idea of integrating multiple orthogonal solution spaces, we leverage a simple multi-branch neural network and propose a corresponding loss function, branch-orthogonal loss, to make each solution space of the multi-branch model orthogonal. We evaluate our approach on CIFAR-10, CIFAR-100 and SVHN against $\\ell_{\\infty}$ norm-bounded perturbations of size $\\epsilon = 8/255$, respectively. Exhaustive experiments are conducted to show that our method goes beyond all state-of-the-art methods without any tricks. Compared to all methods that do not use additional data for training, our models achieve 67.3\\% and 41.5\\% robust accuracy on CIFAR-10 and CIFAR-100 (improving upon the state-of-the-art by +7.23\\% and +9.07\\%).", "date": "2022-08-17", "categories": []} {"id": "2501.11462", "title": "On the Adversarial Vulnerabilities of Transfer Learning in Remote Sensing", "abstract": "The use of pretrained models from general computer vision tasks is widespread in remote sensing, significantly reducing training costs and improving performance. However, this practice also introduces vulnerabilities to downstream tasks, where publicly available pretrained models can be used as a proxy to compromise downstream models. This paper presents a novel Adversarial Neuron Manipulation method, which generates transferable perturbations by selectively manipulating single or multiple neurons in pretrained models. Unlike existing attacks, this method eliminates the need for domain-specific information, making it more broadly applicable and efficient. By targeting multiple fragile neurons, the perturbations achieve superior attack performance, revealing critical vulnerabilities in deep learning models. Experiments on diverse models and remote sensing datasets validate the effectiveness of the proposed method. This low-access adversarial neuron manipulation technique highlights a significant security risk in transfer learning models, emphasizing the urgent need for more robust defenses in their design when addressing the safety-critical remote sensing tasks.", "date": "2025-01-20", "categories": []} {"id": "2501.18638", "title": "Graph of Attacks with Pruning: Optimizing Stealthy Jailbreak Prompt Generation for Enhanced LLM Content Moderation", "abstract": "As large language models (LLMs) become increasingly prevalent, ensuring their robustness against adversarial misuse is crucial. This paper introduces the GAP (Graph of Attacks with Pruning) framework, an advanced approach for generating stealthy jailbreak prompts to evaluate and enhance LLM safeguards. GAP addresses limitations in existing tree-based LLM jailbreak methods by implementing an interconnected graph structure that enables knowledge sharing across attack paths. Our experimental evaluation demonstrates GAP's superiority over existing techniques, achieving a 20.8% increase in attack success rates while reducing query costs by 62.7%. GAP consistently outperforms state-of-the-art methods for attacking both open and closed LLMs, with attack success rates of >96%. Additionally, we present specialized variants like GAP-Auto for automated seed generation and GAP-VLM for multimodal attacks. GAP-generated prompts prove highly effective in improving content moderation systems, increasing true positive detection rates by 108.5% and accuracy by 183.6% when used for fine-tuning. Our implementation is available at https://github.com/dsbuddy/GAP-LLM-Safety.", "date": "2025-01-28", "categories": []} {"id": "2511.08937", "title": "Boosting Adversarial Transferability via Ensemble Non-Attention", "abstract": "Ensemble attacks integrate the outputs of surrogate models with diverse architectures, which can be combined with various gradient-based attacks to improve adversarial transferability. However, previous work shows unsatisfactory attack performance when transferring across heterogeneous model architectures. The main reason is that the gradient update directions of heterogeneous surrogate models differ widely, making it hard to reduce the gradient variance of ensemble models while making the best of individual model. To tackle this challenge, we design a novel ensemble attack, NAMEA, which for the first time integrates the gradients from the non-attention areas of ensemble models into the iterative gradient optimization process. Our design is inspired by the observation that the attention areas of heterogeneous models vary sharply, thus the non-attention areas of ViTs are likely to be the focus of CNNs and vice versa. Therefore, we merge the gradients respectively from the attention and non-attention areas of ensemble models so as to fuse the transfer information of CNNs and ViTs. Specifically, we pioneer a new way of decoupling the gradients of non-attention areas from those of attention areas, while merging gradients by meta-learning. Empirical evaluations on ImageNet dataset indicate that NAMEA outperforms AdaEA and SMER, the state-of-the-art ensemble attacks by an average of 15.0% and 9.6%, respectively. This work is the first attempt to explore the power of ensemble non-attention in boosting cross-architecture transferability, providing new insights into launching ensemble attacks.", "date": "2025-11-12", "categories": []} {"id": "2511.09681", "title": "SEBA: Sample-Efficient Black-Box Attacks on Visual Reinforcement Learning", "abstract": "Visual reinforcement learning has achieved remarkable progress in visual control and robotics, but its vulnerability to adversarial perturbations remains underexplored. Most existing black-box attacks focus on vector-based or discrete-action RL, and their effectiveness on image-based continuous control is limited by the large action space and excessive environment queries. We propose SEBA, a sample-efficient framework for black-box adversarial attacks on visual RL agents. SEBA integrates a shadow Q model that estimates cumulative rewards under adversarial conditions, a generative adversarial network that produces visually imperceptible perturbations, and a world model that simulates environment dynamics to reduce real-world queries. Through a two-stage iterative training procedure that alternates between learning the shadow model and refining the generator, SEBA achieves strong attack performance while maintaining efficiency. Experiments on MuJoCo and Atari benchmarks show that SEBA significantly reduces cumulative rewards, preserves visual fidelity, and greatly decreases environment interactions compared to prior black-box and white-box methods.", "date": "2025-11-12", "categories": []} {"id": "2511.09834", "title": "CertMask: Certifiable Defense Against Adversarial Patches via Theoretically Optimal Mask Coverage", "abstract": "Adversarial patch attacks inject localized perturbations into images to mislead deep vision models. These attacks can be physically deployed, posing serious risks to real-world applications. In this paper, we propose CertMask, a certifiably robust defense that constructs a provably sufficient set of binary masks to neutralize patch effects with strong theoretical guarantees. While the state-of-the-art approach (PatchCleanser) requires two rounds of masking and incurs $O(n^2)$ inference cost, CertMask performs only a single round of masking with $O(n)$ time complexity, where $n$ is the cardinality of the mask set to cover an input image. Our proposed mask set is computed using a mathematically rigorous coverage strategy that ensures each possible patch location is covered at least $k$ times, providing both efficiency and robustness. We offer a theoretical analysis of the coverage condition and prove its sufficiency for certification. Experiments on ImageNet, ImageNette, and CIFAR-10 show that CertMask improves certified robust accuracy by up to +13.4\\% over PatchCleanser, while maintaining clean accuracy nearly identical to the vanilla model.", "date": "2025-11-13", "categories": []} {"id": "2511.09933", "title": "Debiased Dual-Invariant Defense for Adversarially Robust Person Re-Identification", "abstract": "Person re-identification (ReID) is a fundamental task in many real-world applications such as pedestrian trajectory tracking. However, advanced deep learning-based ReID models are highly susceptible to adversarial attacks, where imperceptible perturbations to pedestrian images can cause entirely incorrect predictions, posing significant security threats. Although numerous adversarial defense strategies have been proposed for classification tasks, their extension to metric learning tasks such as person ReID remains relatively unexplored. Moreover, the several existing defenses for person ReID fail to address the inherent unique challenges of adversarially robust ReID. In this paper, we systematically identify the challenges of adversarial defense in person ReID into two key issues: model bias and composite generalization requirements. To address them, we propose a debiased dual-invariant defense framework composed of two main phases. In the data balancing phase, we mitigate model bias using a diffusion-model-based data resampling strategy that promotes fairness and diversity in training data. In the bi-adversarial self-meta defense phase, we introduce a novel metric adversarial training approach incorporating farthest negative extension softening to overcome the robustness degradation caused by the absence of classifier. Additionally, we introduce an adversarially-enhanced self-meta mechanism to achieve dual-generalization for both unseen identities and unseen attack types. Experiments demonstrate that our method significantly outperforms existing state-of-the-art defenses.", "date": "2025-11-13", "categories": []} {"id": "2511.10050", "title": "Trapped by Their Own Light: Deployable and Stealth Retroreflective Patch Attacks on Traffic Sign Recognition Systems", "abstract": "Traffic sign recognition plays a critical role in ensuring safe and efficient transportation of autonomous vehicles but remain vulnerable to adversarial attacks using stickers or laser projections. While existing attack vectors demonstrate security concerns, they suffer from visual detectability or implementation constraints, suggesting unexplored vulnerability surfaces in TSR systems. We introduce the Adversarial Retroreflective Patch (ARP), a novel attack vector that combines the high deployability of patch attacks with the stealthiness of laser projections by utilizing retroreflective materials activated only under victim headlight illumination. We develop a retroreflection simulation method and employ black-box optimization to maximize attack effectiveness. ARP achieves $\\geq$93.4\\% success rate in dynamic scenarios at 35 meters and $\\geq$60\\% success rate against commercial TSR systems in real-world conditions. Our user study demonstrates that ARP attacks maintain near-identical stealthiness to benign signs while achieving $\\geq$1.9\\% higher stealthiness scores than previous patch attacks. We propose the DPR Shield defense, employing strategically placed polarized filters, which achieves $\\geq$75\\% defense success rates for stop signs and speed limit signs against micro-prism patches.", "date": "2025-11-13", "categories": []} {"id": "2511.10088", "title": "eXIAA: eXplainable Injections for Adversarial Attack", "abstract": "Post-hoc explainability methods are a subset of Machine Learning (ML) that aim to provide a reason for why a model behaves in a certain way. In this paper, we show a new black-box model-agnostic adversarial attack for post-hoc explainable Artificial Intelligence (XAI), particularly in the image domain. The goal of the attack is to modify the original explanations while being undetected by the human eye and maintain the same predicted class. In contrast to previous methods, we do not require any access to the model or its weights, but only to the model's computed predictions and explanations. Additionally, the attack is accomplished in a single step while significantly changing the provided explanations, as demonstrated by empirical evaluation. The low requirements of our method expose a critical vulnerability in current explainability methods, raising concerns about their reliability in safety-critical applications. We systematically generate attacks based on the explanations generated by post-hoc explainability methods (saliency maps, integrated gradients, and DeepLIFT SHAP) for pretrained ResNet-18 and ViT-B16 on ImageNet. The results show that our attacks could lead to dramatically different explanations without changing the predictive probabilities. We validate the effectiveness of our attack, compute the induced change based on the explanation with mean absolute difference, and verify the closeness of the original image and the corrupted one with the Structural Similarity Index Measure (SSIM).", "date": "2025-11-13", "categories": []} {"id": "2511.10382", "title": "Fragile by Design: On the Limits of Adversarial Defenses in Personalized Generation", "abstract": "Personalized AI applications such as DreamBooth enable the generation of customized content from user images, but also raise significant privacy concerns, particularly the risk of facial identity leakage. Recent defense mechanisms like Anti-DreamBooth attempt to mitigate this risk by injecting adversarial perturbations into user photos to prevent successful personalization. However, we identify two critical yet overlooked limitations of these methods. First, the adversarial examples often exhibit perceptible artifacts such as conspicuous patterns or stripes, making them easily detectable as manipulated content. Second, the perturbations are highly fragile, as even a simple, non-learned filter can effectively remove them, thereby restoring the model's ability to memorize and reproduce user identity. To investigate this vulnerability, we propose a novel evaluation framework, AntiDB_Purify, to systematically evaluate existing defenses under realistic purification threats, including both traditional image filters and adversarial purification. Results reveal that none of the current methods maintains their protective effectiveness under such threats. These findings highlight that current defenses offer a false sense of security and underscore the urgent need for more imperceptible and robust protections to safeguard user identity in personalized generation.", "date": "2025-11-13", "categories": []} {"id": "2408.05745", "title": "Improving Adversarial Transferability with Neighbourhood Gradient Information", "abstract": "Deep neural networks (DNNs) are known to be susceptible to adversarial examples, leading to significant performance degradation. In black-box attack scenarios, a considerable attack performance gap between the surrogate model and the target model persists. This work focuses on enhancing the transferability of adversarial examples to narrow this performance gap. We observe that the gradient information around the clean image, i.e., Neighbourhood Gradient Information (NGI), can offer high transferability.Based on this insight, we introduce NGI-Attack, incorporating Example Backtracking and Multiplex Mask strategies to exploit this gradient information and enhance transferability. Specifically, we first adopt Example Backtracking to accumulate Neighbourhood Gradient Information as the initial momentum term. Then, we utilize Multiplex Mask to form a multi-way attack strategy that forces the network to focus on non-discriminative regions, which can obtain richer gradient information during only a few iterations. Extensive experiments demonstrate that our approach significantly enhances adversarial transferability. Especially, when attacking numerous defense models, we achieve an average attack success rate of 95.2%. Notably, our method can seamlessly integrate with any off-the-shelf algorithm, enhancing their attack performance without incurring extra time costs.", "date": "2024-08-11", "categories": []} {"id": "2508.03213", "title": "The Power of Many: Synergistic Unification of Diverse Augmentations for Efficient Adversarial Robustness", "abstract": "Adversarial perturbations pose a significant threat to deep learning models. Adversarial Training (AT), the predominant defense method, faces challenges of high computational costs and a degradation in standard performance. While data augmentation offers an alternative path, existing techniques either yield limited robustness gains or incur substantial training overhead. Therefore, developing a defense mechanism that is both highly efficient and strongly robust is of paramount importance.In this work, we first conduct a systematic analysis of existing augmentation techniques, revealing that the synergy among diverse strategies -- rather than any single method -- is crucial for enhancing robustness. Based on this insight, we propose the Universal Adversarial Augmenter (UAA) framework, which is characterized by its plug-and-play nature and training efficiency. UAA decouples the expensive perturbation generation process from model training by pre-computing a universal transformation offline, which is then used to efficiently generate unique adversarial perturbations for each sample during training.Extensive experiments conducted on multiple benchmarks validate the effectiveness of UAA. The results demonstrate that UAA establishes a new state-of-the-art (SOTA) for data-augmentation-based adversarial defense strategies , without requiring the online generation of adversarial examples during training. This framework provides a practical and efficient pathway for building robust models,Our code is available in the supplementary materials.", "date": "2025-08-05", "categories": []} {"id": "2511.08810", "title": "SIFT-Graph: Benchmarking Multimodal Defense Against Image Adversarial Attacks With Robust Feature Graph", "abstract": "Adversarial attacks expose a fundamental vulnerability in modern deep vision models by exploiting their dependence on dense, pixel-level representations that are highly sensitive to imperceptible perturbations. Traditional defense strategies typically operate within this fragile pixel domain, lacking mechanisms to incorporate inherently robust visual features. In this work, we introduce SIFT-Graph, a multimodal defense framework that enhances the robustness of traditional vision models by aggregating structurally meaningful features extracted from raw images using both handcrafted and learned modalities. Specifically, we integrate Scale-Invariant Feature Transform keypoints with a Graph Attention Network to capture scale and rotation invariant local structures that are resilient to perturbations. These robust feature embeddings are then fused with traditional vision model, such as Vision Transformer and Convolutional Neural Network, to form a unified, structure-aware and perturbation defensive model. Preliminary results demonstrate that our method effectively improves the visual model robustness against gradient-based white box adversarial attacks, while incurring only a marginal drop in clean accuracy.", "date": "2025-11-11", "categories": []} {"id": "2511.09064", "title": "Diversifying Counterattacks: Orthogonal Exploration for Robust CLIP Inference", "abstract": "Vision-language pre-training models (VLPs) demonstrate strong multimodal understanding and zero-shot generalization, yet remain vulnerable to adversarial examples, raising concerns about their reliability. Recent work, Test-Time Counterattack (TTC), improves robustness by generating perturbations that maximize the embedding deviation of adversarial inputs using PGD, pushing them away from their adversarial representations. However, due to the fundamental difference in optimization objectives between adversarial attacks and counterattacks, generating counterattacks solely based on gradients with respect to the adversarial input confines the search to a narrow space. As a result, the counterattacks could overfit limited adversarial patterns and lack the diversity to fully neutralize a broad range of perturbations. In this work, we argue that enhancing the diversity and coverage of counterattacks is crucial to improving adversarial robustness in test-time defense. Accordingly, we propose Directional Orthogonal Counterattack (DOC), which augments counterattack optimization by incorporating orthogonal gradient directions and momentum-based updates. This design expands the exploration of the counterattack space and increases the diversity of perturbations, which facilitates the discovery of more generalizable counterattacks and ultimately improves the ability to neutralize adversarial perturbations. Meanwhile, we present a directional sensitivity score based on averaged cosine similarity to boost DOC by improving example discrimination and adaptively modulating the counterattack strength. Extensive experiments on 16 datasets demonstrate that DOC improves adversarial robustness under various attacks while maintaining competitive clean accuracy. Code is available at https://github.com/bookman233/DOC.", "date": "2025-11-12", "categories": []} {"id": "2511.09088", "title": "Improving Sustainability of Adversarial Examples in Class-Incremental Learning", "abstract": "Current adversarial examples (AEs) are typically designed for static models. However, with the wide application of Class-Incremental Learning (CIL), models are no longer static and need to be updated with new data distributed and labeled differently from the old ones. As a result, existing AEs often fail after CIL updates due to significant domain drift. In this paper, we propose SAE to enhance the sustainability of AEs against CIL. The core idea of SAE is to enhance the robustness of AE semantics against domain drift by making them more similar to the target class while distinguishing them from all other classes. Achieving this is challenging, as relying solely on the initial CIL model to optimize AE semantics often leads to overfitting. To resolve the problem, we propose a Semantic Correction Module. This module encourages the AE semantics to be generalized, based on a visual-language model capable of producing universal semantics. Additionally, it incorporates the CIL model to correct the optimization direction of the AE semantics, guiding them closer to the target class. To further reduce fluctuations in AE semantics, we propose a Filtering-and-Augmentation Module, which first identifies non-target examples with target-class semantics in the latent space and then augments them to foster more stable semantics. Comprehensive experiments demonstrate that SAE outperforms baselines by an average of 31.28% when updated with a 9-fold increase in the number of classes.", "date": "2025-11-12", "categories": []} {"id": "2511.07701", "title": "Diffusion Guided Adversarial State Perturbations in Reinforcement Learning", "abstract": "Reinforcement learning (RL) systems, while achieving remarkable success across various domains, are vulnerable to adversarial attacks. This is especially a concern in vision-based environments where minor manipulations of high-dimensional image inputs can easily mislead the agent's behavior. To this end, various defenses have been proposed recently, with state-of-the-art approaches achieving robust performance even under large state perturbations. However, after closer investigation, we found that the effectiveness of the current defenses is due to a fundamental weakness of the existing $l_p$ norm-constrained attacks, which can barely alter the semantics of image input even under a relatively large perturbation budget. In this work, we propose SHIFT, a novel policy-agnostic diffusion-based state perturbation attack to go beyond this limitation. Our attack is able to generate perturbed states that are semantically different from the true states while remaining realistic and history-aligned to avoid detection. Evaluations show that our attack effectively breaks existing defenses, including the most sophisticated ones, significantly outperforming existing attacks while being more perceptually stealthy. The results highlight the vulnerability of RL agents to semantics-aware adversarial perturbations, indicating the importance of developing more robust policies.", "date": "2025-11-10", "categories": []} {"id": "2511.07755", "title": "Filtered-ViT: A Robust Defense Against Multiple Adversarial Patch Attacks", "abstract": "Deep learning vision systems are increasingly deployed in safety-critical domains such as healthcare, yet they remain vulnerable to small adversarial patches that can trigger misclassifications. Most existing defenses assume a single patch and fail when multiple localized disruptions occur, the type of scenario adversaries and real-world artifacts often exploit. We propose Filtered-ViT, a new vision transformer architecture that integrates SMART Vector Median Filtering (SMART-VMF), a spatially adaptive, multi-scale, robustness-aware mechanism that enables selective suppression of corrupted regions while preserving semantic detail. On ImageNet with LaVAN multi-patch attacks, Filtered-ViT achieves 79.8% clean accuracy and 46.3% robust accuracy under four simultaneous 1\\% patches, outperforming existing defenses. Beyond synthetic benchmarks, a real-world case study on radiographic medical imagery shows that Filtered-ViT mitigates natural artifacts such as occlusions and scanner noise without degrading diagnostic content. This establishes Filtered-ViT as the first transformer to demonstrate unified robustness against both adversarial and naturally occurring patch-like disruptions, charting a path toward reliable vision systems in truly high-stakes environments.", "date": "2025-11-11", "categories": []} {"id": "2406.14682", "title": "Uniform Convergence of Adversarially Robust Classifiers", "abstract": "In recent years there has been significant interest in the effect of different types of adversarial perturbations in data classification problems. Many of these models incorporate the adversarial power, which is an important parameter with an associated trade-off between accuracy and robustness. This work considers a general framework for adversarially-perturbed classification problems, in a large data or population-level limit. In such a regime, we demonstrate that as adversarial strength goes to zero that optimal classifiers converge to the Bayes classifier in the Hausdorff distance. This significantly strengthens previous results, which generally focus on $L^1$-type convergence. The main argument relies upon direct geometric comparisons and is inspired by techniques from geometric measure theory.", "date": "2024-06-20", "categories": []} {"id": "2511.06143", "title": "Enhancing Robustness of Graph Neural Networks through p-Laplacian", "abstract": "With the increase of data in day-to-day life, businesses and different stakeholders need to analyze the data for better predictions. Traditionally, relational data has been a source of various insights, but with the increase in computational power and the need to understand deeper relationships between entities, the need to design new techniques has arisen. For this graph data analysis has become an extraordinary tool for understanding the data, which reveals more realistic and flexible modelling of complex relationships. Recently, Graph Neural Networks (GNNs) have shown great promise in various applications, such as social network analysis, recommendation systems, drug discovery, and more. However, many adversarial attacks can happen over the data, whether during training (poisoning attack) or during testing (evasion attack), which can adversely manipulate the desired outcome from the GNN model. Therefore, it is crucial to make the GNNs robust to such attacks. The existing robustness methods are computationally demanding and perform poorly when the intensity of attack increases. This paper presents a computationally efficient framework, namely, pLAPGNN, based on weighted p-Laplacian for making GNNs robust. Empirical evaluation on real datasets establishes the efficacy and efficiency of the proposed method.", "date": "2025-11-08", "categories": []} {"id": "2511.06212", "title": "RAG-targeted Adversarial Attack on LLM-based Threat Detection and Mitigation Framework", "abstract": "The rapid expansion of the Internet of Things (IoT) is reshaping communication and operational practices across industries, but it also broadens the attack surface and increases susceptibility to security breaches. Artificial Intelligence has become a valuable solution in securing IoT networks, with Large Language Models (LLMs) enabling automated attack behavior analysis and mitigation suggestion in Network Intrusion Detection Systems (NIDS). Despite advancements, the use of LLMs in such systems further expands the attack surface, putting entire networks at risk by introducing vulnerabilities such as prompt injection and data poisoning. In this work, we attack an LLM-based IoT attack analysis and mitigation framework to test its adversarial robustness. We construct an attack description dataset and use it in a targeted data poisoning attack that applies word-level, meaning-preserving perturbations to corrupt the Retrieval-Augmented Generation (RAG) knowledge base of the framework. We then compare pre-attack and post-attack mitigation responses from the target model, ChatGPT-5 Thinking, to measure the impact of the attack on model performance, using an established evaluation rubric designed for human experts and judge LLMs. Our results show that small perturbations degrade LLM performance by weakening the linkage between observed network traffic features and attack behavior, and by reducing the specificity and practicality of recommended mitigations for resource-constrained devices.", "date": "2025-11-09", "categories": []} {"id": "2511.06495", "title": "Probably Approximately Global Robustness Certification", "abstract": "We propose and investigate probabilistic guarantees for the adversarial robustness of classification algorithms. While traditional formal verification approaches for robustness are intractable and sampling-based approaches do not provide formal guarantees, our approach is able to efficiently certify a probabilistic relaxation of robustness. The key idea is to sample an $\\epsilon$-net and invoke a local robustness oracle on the sample. Remarkably, the size of the sample needed to achieve probably approximately global robustness guarantees is independent of the input dimensionality, the number of classes, and the learning algorithm itself. Our approach can, therefore, be applied even to large neural networks that are beyond the scope of traditional formal verification. Experiments empirically confirm that it characterizes robustness better than state-of-the-art sampling-based approaches and scales better than formal methods.", "date": "2025-11-09", "categories": []} {"id": "2511.07029", "title": "Certified L2-Norm Robustness of 3D Point Cloud Recognition in the Frequency Domain", "abstract": "3D point cloud classification is a fundamental task in safety-critical applications such as autonomous driving, robotics, and augmented reality. However, recent studies reveal that point cloud classifiers are vulnerable to structured adversarial perturbations and geometric corruptions, posing risks to their deployment in safety-critical scenarios. Existing certified defenses limit point-wise perturbations but overlook subtle geometric distortions that preserve individual points yet alter the overall structure, potentially leading to misclassification. In this work, we propose FreqCert, a novel certification framework that departs from conventional spatial domain defenses by shifting robustness analysis to the frequency domain, enabling structured certification against global L2-bounded perturbations. FreqCert first transforms the input point cloud via the graph Fourier transform (GFT), then applies structured frequency-aware subsampling to generate multiple sub-point clouds. Each sub-cloud is independently classified by a standard model, and the final prediction is obtained through majority voting, where sub-clouds are constructed based on spectral similarity rather than spatial proximity, making the partitioning more stable under L2 perturbations and better aligned with the object's intrinsic structure. We derive a closed-form lower bound on the certified L2 robustness radius and prove its tightness under minimal and interpretable assumptions, establishing a theoretical foundation for frequency domain certification. Extensive experiments on the ModelNet40 and ScanObjectNN datasets demonstrate that FreqCert consistently achieves higher certified accuracy and empirical accuracy under strong perturbations. Our results suggest that spectral representations provide an effective pathway toward certifiable robustness in 3D point cloud recognition.", "date": "2025-11-10", "categories": []} {"id": "2511.07049", "title": "From Pretrain to Pain: Adversarial Vulnerability of Video Foundation Models Without Task Knowledge", "abstract": "Large-scale Video Foundation Models (VFMs) has significantly advanced various video-related tasks, either through task-specific models or Multi-modal Large Language Models (MLLMs). However, the open accessibility of VFMs also introduces critical security risks, as adversaries can exploit full knowledge of the VFMs to launch potent attacks. This paper investigates a novel and practical adversarial threat scenario: attacking downstream models or MLLMs fine-tuned from open-source VFMs, without requiring access to the victim task, training data, model query, and architecture. In contrast to conventional transfer-based attacks that rely on task-aligned surrogate models, we demonstrate that adversarial vulnerabilities can be exploited directly from the VFMs. To this end, we propose the Transferable Video Attack (TVA), a temporal-aware adversarial attack method that leverages the temporal representation dynamics of VFMs to craft effective perturbations. TVA integrates a bidirectional contrastive learning mechanism to maximize the discrepancy between the clean and adversarial features, and introduces a temporal consistency loss that exploits motion cues to enhance the sequential impact of perturbations. TVA avoids the need to train expensive surrogate models or access to domain-specific data, thereby offering a more practical and efficient attack strategy. Extensive experiments across 24 video-related tasks demonstrate the efficacy of TVA against downstream models and MLLMs, revealing a previously underexplored security vulnerability in the deployment of video models.", "date": "2025-11-10", "categories": []} {"id": "2511.07379", "title": "LoReTTA: A Low Resource Framework To Poison Continuous Time Dynamic Graphs", "abstract": "Temporal Graph Neural Networks (TGNNs) are increasingly used in high-stakes domains, such as financial forecasting, recommendation systems, and fraud detection. However, their susceptibility to poisoning attacks poses a critical security risk. We introduce LoReTTA (Low Resource Two-phase Temporal Attack), a novel adversarial framework on Continuous-Time Dynamic Graphs, which degrades TGNN performance by an average of 29.47% across 4 widely benchmark datasets and 4 State-of-the-Art (SotA) models. LoReTTA operates through a two-stage approach: (1) sparsify the graph by removing high-impact edges using any of the 16 tested temporal importance metrics, (2) strategically replace removed edges with adversarial negatives via LoReTTA's novel degree-preserving negative sampling algorithm. Our plug-and-play design eliminates the need for expensive surrogate models while adhering to realistic unnoticeability constraints. LoReTTA degrades performance by upto 42.0% on MOOC, 31.5% on Wikipedia, 28.8% on UCI, and 15.6% on Enron. LoReTTA outperforms 11 attack baselines, remains undetectable to 4 leading anomaly detection systems, and is robust to 4 SotA adversarial defense training methods, establishing its effectiveness, unnoticeability, and robustness.", "date": "2025-11-10", "categories": []} {"id": "2410.18469", "title": "Iterative Self-Tuning LLMs for Enhanced Jailbreaking Capabilities", "abstract": "Recent research has shown that Large Language Models (LLMs) are vulnerable to automated jailbreak attacks, where adversarial suffixes crafted by algorithms appended to harmful queries bypass safety alignment and trigger unintended responses. Current methods for generating these suffixes are computationally expensive and have low Attack Success Rates (ASR), especially against well-aligned models like Llama2 and Llama3. To overcome these limitations, we introduce ADV-LLM, an iterative self-tuning process that crafts adversarial LLMs with enhanced jailbreak ability. Our framework significantly reduces the computational cost of generating adversarial suffixes while achieving nearly 100\\% ASR on various open-source LLMs. Moreover, it exhibits strong attack transferability to closed-source models, achieving 99\\% ASR on GPT-3.5 and 49\\% ASR on GPT-4, despite being optimized solely on Llama3. Beyond improving jailbreak ability, ADV-LLM provides valuable insights for future safety alignment research through its ability to generate large datasets for studying LLM safety. Our code is available at: https://github.com/SunChungEn/ADV-LLM", "date": "2024-10-24", "categories": []} {"id": "2511.05073", "title": "Deep learning models are vulnerable, but adversarial examples are even more vulnerable", "abstract": "Understanding intrinsic differences between adversarial examples and clean samples is key to enhancing DNN robustness and detection against adversarial attacks. This study first empirically finds that image-based adversarial examples are notably sensitive to occlusion. Controlled experiments on CIFAR-10 used nine canonical attacks (e.g., FGSM, PGD) to generate adversarial examples, paired with original samples for evaluation. We introduce Sliding Mask Confidence Entropy (SMCE) to quantify model confidence fluctuation under occlusion. Using 1800+ test images, SMCE calculations supported by Mask Entropy Field Maps and statistical distributions show adversarial examples have significantly higher confidence volatility under occlusion than originals. Based on this, we propose Sliding Window Mask-based Adversarial Example Detection (SWM-AED), which avoids catastrophic overfitting of conventional adversarial training. Evaluations across classifiers and attacks on CIFAR-10 demonstrate robust performance, with accuracy over 62% in most cases and up to 96.5%.", "date": "2025-11-07", "categories": []} {"id": "2511.05102", "title": "Quantifying the Risk of Transferred Black Box Attacks", "abstract": "Neural networks have become pervasive across various applications, including security-related products. However, their widespread adoption has heightened concerns regarding vulnerability to adversarial attacks. With emerging regulations and standards emphasizing security, organizations must reliably quantify risks associated with these attacks, particularly regarding transferred adversarial attacks, which remain challenging to evaluate accurately. This paper investigates the complexities involved in resilience testing against transferred adversarial attacks. Our analysis specifically addresses black-box evasion attacks, highlighting transfer-based attacks due to their practical significance and typically high transferability between neural network models. We underline the computational infeasibility of exhaustively exploring high-dimensional input spaces to achieve complete test coverage. As a result, comprehensive adversarial risk mapping is deemed impractical. To mitigate this limitation, we propose a targeted resilience testing framework that employs surrogate models strategically selected based on Centered Kernel Alignment (CKA) similarity. By leveraging surrogate models exhibiting both high and low CKA similarities relative to the target model, the proposed approach seeks to optimize coverage of adversarial subspaces. Risk estimation is conducted using regression-based estimators, providing organizations with realistic and actionable risk quantification.", "date": "2025-11-07", "categories": []} {"id": "2511.05444", "title": "Adversarially Robust Multitask Adaptive Control", "abstract": "We study adversarially robust multitask adaptive linear quadratic control; a setting where multiple systems collaboratively learn control policies under model uncertainty and adversarial corruption. We propose a clustered multitask approach that integrates clustering and system identification with resilient aggregation to mitigate corrupted model updates. Our analysis characterizes how clustering accuracy, intra-cluster heterogeneity, and adversarial behavior affect the expected regret of certainty-equivalent (CE) control across LQR tasks. We establish non-asymptotic bounds demonstrating that the regret decreases inversely with the number of honest systems per cluster and that this reduction is preserved under a bounded fraction of adversarial systems within each cluster.", "date": "2025-11-07", "categories": []} {"id": "2411.14133", "title": "GASP: Efficient Black-Box Generation of Adversarial Suffixes for Jailbreaking LLMs", "abstract": "LLMs have shown impressive capabilities across various natural language processing tasks, yet remain vulnerable to input prompts, known as jailbreak attacks, carefully designed to bypass safety guardrails and elicit harmful responses. Traditional methods rely on manual heuristics but suffer from limited generalizability. Despite being automatic, optimization-based attacks often produce unnatural prompts that can be easily detected by safety filters or require high computational costs due to discrete token optimization. In this paper, we introduce Generative Adversarial Suffix Prompter (GASP), a novel automated framework that can efficiently generate human-readable jailbreak prompts in a fully black-box setting. In particular, GASP leverages latent Bayesian optimization to craft adversarial suffixes by efficiently exploring continuous latent embedding spaces, gradually optimizing the suffix prompter to improve attack efficacy while balancing prompt coherence via a targeted iterative refinement procedure. Through comprehensive experiments, we show that GASP can produce natural adversarial prompts, significantly improving jailbreak success over baselines, reducing training times, and accelerating inference speed, thus making it an efficient and scalable solution for red-teaming LLMs.", "date": "2024-11-21", "categories": []} {"id": "2511.03128", "title": "From Insight to Exploit: Leveraging LLM Collaboration for Adaptive Adversarial Text Generation", "abstract": "LLMs can provide substantial zero-shot performance on diverse tasks using a simple task prompt, eliminating the need for training or fine-tuning. However, when applying these models to sensitive tasks, it is crucial to thoroughly assess their robustness against adversarial inputs. In this work, we introduce Static Deceptor (StaDec) and Dynamic Deceptor (DyDec), two innovative attack frameworks designed to systematically generate dynamic and adaptive adversarial examples by leveraging the understanding of the LLMs. We produce subtle and natural-looking adversarial inputs that preserve semantic similarity to the original text while effectively deceiving the target LLM. By utilizing an automated, LLM-driven pipeline, we eliminate the dependence on external heuristics. Our attacks evolve with the advancements in LLMs and demonstrate strong transferability across models unknown to the attacker. Overall, this work provides a systematic approach for the self-assessment of an LLM's robustness. We release our code and data at https://github.com/Shukti042/AdversarialExample.", "date": "2025-11-05", "categories": []} {"id": "2406.16200", "title": "Feature compression is the root cause of adversarial fragility in neural network classifiers", "abstract": "In this paper, we uniquely study the adversarial robustness of deep neural networks (NN) for classification tasks against that of optimal classifiers. We look at the smallest magnitude of possible additive perturbations that can change a classifier's output. We provide a matrix-theoretic explanation of the adversarial fragility of deep neural networks for classification. In particular, our theoretical results show that a neural network's adversarial robustness can degrade as the input dimension $d$ increases. Analytically, we show that neural networks' adversarial robustness can be only $1/\\sqrt{d}$ of the best possible adversarial robustness of optimal classifiers. Our theories match remarkably well with numerical experiments of practically trained NN, including NN for ImageNet images. The matrix-theoretic explanation is consistent with an earlier information-theoretic feature-compression-based explanation for the adversarial fragility of neural networks.", "date": "2024-06-23", "categories": []} {"id": "2508.06534", "title": "MetAdv: A Unified and Interactive Adversarial Testing Platform for Autonomous Driving", "abstract": "Evaluating and ensuring the adversarial robustness of autonomous driving (AD) systems is a critical and unresolved challenge. This paper introduces MetAdv, a novel adversarial testing platform that enables realistic, dynamic, and interactive evaluation by tightly integrating virtual simulation with physical vehicle feedback. At its core, MetAdv establishes a hybrid virtual-physical sandbox, within which we design a three-layer closed-loop testing environment with dynamic adversarial test evolution. This architecture facilitates end-to-end adversarial evaluation, ranging from high-level unified adversarial generation, through mid-level simulation-based interaction, to low-level execution on physical vehicles. Additionally, MetAdv supports a broad spectrum of AD tasks, algorithmic paradigms (e.g., modular deep learning pipelines, end-to-end learning, vision-language models). It supports flexible 3D vehicle modeling and seamless transitions between simulated and physical environments, with built-in compatibility for commercial platforms such as Apollo and Tesla. A key feature of MetAdv is its human-in-the-loop capability: besides flexible environmental configuration for more customized evaluation, it enables real-time capture of physiological signals and behavioral feedback from drivers, offering new insights into human-machine trust under adversarial conditions. We believe MetAdv can offer a scalable and unified framework for adversarial assessment, paving the way for safer AD.", "date": "2025-08-04", "categories": []} {"id": "2310.04687", "title": "Targeted Attack Improves Protection against Unauthorized Diffusion Customization", "abstract": "Diffusion models build a new milestone for image generation yet raising public concerns, for they can be fine-tuned on unauthorized images for customization. Protection based on adversarial attacks rises to encounter this unauthorized diffusion customization, by adding protective watermarks to images and poisoning diffusion models. However, current protection, leveraging untargeted attacks, does not appear to be effective enough. In this paper, we propose a simple yet effective improvement for the protection against unauthorized diffusion customization by introducing targeted attacks. We show that by carefully selecting the target, targeted attacks significantly outperform untargeted attacks in poisoning diffusion models and degrading the customization image quality. Extensive experiments validate the superiority of our method on two mainstream customization methods of diffusion models, compared to existing protections. To explain the surprising success of targeted attacks, we delve into the mechanism of attack-based protections and propose a hypothesis based on our observation, which enhances the comprehension of attack-based protections. To the best of our knowledge, we are the first to both reveal the vulnerability of diffusion models to targeted attacks and leverage targeted attacks to enhance protection against unauthorized diffusion customization. Our code is available on GitHub: https://github.com/psyker-team/mist-v2.", "date": "2023-10-07", "categories": []} {"id": "2506.16690", "title": "DepthVanish: Optimizing Adversarial Interval Structures for Stereo-Depth-Invisible Patches", "abstract": "Stereo depth estimation is a critical task in autonomous driving and robotics, where inaccuracies (such as misidentifying nearby objects as distant) can lead to dangerous situations. Adversarial attacks against stereo depth estimation can help reveal vulnerabilities before deployment. Previous works have shown that repeating optimized textures can effectively mislead stereo depth estimation in digital settings. However, our research reveals that these naively repeated textures perform poorly in physical implementations, i.e., when deployed as patches, limiting their practical utility for stress-testing stereo depth estimation systems. In this work, for the first time, we discover that introducing regular intervals among the repeated textures, creating a grid structure, significantly enhances the patch's attack performance. Through extensive experimentation, we analyze how variations of this novel structure influence the adversarial effectiveness. Based on these insights, we develop a novel stereo depth attack that jointly optimizes both the interval structure and texture elements. Our generated adversarial patches can be inserted into any scenes and successfully attack advanced stereo depth estimation methods of different paradigms, i.e., RAFT-Stereo and STTR. Most critically, our patch can also attack commercial RGB-D cameras (Intel RealSense) in real-world conditions, demonstrating their practical relevance for security assessment of stereo systems. The code is officially released at: https://github.com/WiWiN42/DepthVanish", "date": "2025-06-20", "categories": []} {"id": "2508.05489", "title": "Keep It Real: Challenges in Attacking Compression-Based Adversarial Purification", "abstract": "Previous work has suggested that preprocessing images through lossy compression can defend against adversarial perturbations, but comprehensive attack evaluations have been lacking. In this paper, we construct strong white-box and adaptive attacks against various compression models and identify a critical challenge for attackers: high realism in reconstructed images significantly increases attack difficulty. Through rigorous evaluation across multiple attack scenarios, we demonstrate that compression models capable of producing realistic, high-fidelity reconstructions are substantially more resistant to our attacks. In contrast, low-realism compression models can be broken. Our analysis reveals that this is not due to gradient masking. Rather, realistic reconstructions maintaining distributional alignment with natural images seem to offer inherent robustness. This work highlights a significant obstacle for future adversarial attacks and suggests that developing more effective techniques to overcome realism represents an essential challenge for comprehensive security evaluation.", "date": "2025-08-07", "categories": []} {"id": "2510.16171", "title": "Bridging Symmetry and Robustness: On the Role of Equivariance in Enhancing Adversarial Robustness", "abstract": "Adversarial examples reveal critical vulnerabilities in deep neural networks by exploiting their sensitivity to imperceptible input perturbations. While adversarial training remains the predominant defense strategy, it often incurs significant computational cost and may compromise clean-data accuracy. In this work, we investigate an architectural approach to adversarial robustness by embedding group-equivariant convolutions-specifically, rotation- and scale-equivariant layers-into standard convolutional neural networks (CNNs). These layers encode symmetry priors that align model behavior with structured transformations in the input space, promoting smoother decision boundaries and greater resilience to adversarial attacks. We propose and evaluate two symmetry-aware architectures: a parallel design that processes standard and equivariant features independently before fusion, and a cascaded design that applies equivariant operations sequentially. Theoretically, we demonstrate that such models reduce hypothesis space complexity, regularize gradients, and yield tighter certified robustness bounds under the CLEVER (Cross Lipschitz Extreme Value for nEtwork Robustness) framework. Empirically, our models consistently improve adversarial robustness and generalization across CIFAR-10, CIFAR-100, and CIFAR-10C under both FGSM and PGD attacks, without requiring adversarial training. These findings underscore the potential of symmetry-enforcing architectures as efficient and principled alternatives to data augmentation-based defenses.", "date": "2025-10-17", "categories": []} {"id": "2511.00203", "title": "Diffusion LLMs are Natural Adversaries for any LLM", "abstract": "We introduce a novel framework that transforms the resource-intensive (adversarial) prompt optimization problem into an \\emph{efficient, amortized inference task}. Our core insight is that pretrained, non-autoregressive generative LLMs, such as Diffusion LLMs, which model the joint distribution over prompt-response pairs, can serve as powerful surrogates for prompt search. This approach enables the direct conditional generation of prompts, effectively replacing costly, per-instance discrete optimization with a small number of parallelizable samples. We provide a probabilistic analysis demonstrating that under mild fidelity assumptions, only a few conditional samples are required to recover high-reward (harmful) prompts. Empirically, we find that the generated prompts are low-perplexity, diverse jailbreaks that exhibit strong transferability to a wide range of black-box target models, including robustly trained and proprietary LLMs. Beyond adversarial prompting, our framework opens new directions for red teaming, automated prompt optimization, and leveraging emerging Flow- and Diffusion-based LLMs.", "date": "2025-10-31", "categories": []} {"id": "2511.00346", "title": "Exploiting Latent Space Discontinuities for Building Universal LLM Jailbreaks and Data Extraction Attacks", "abstract": "The rapid proliferation of Large Language Models (LLMs) has raised significant concerns about their security against adversarial attacks. In this work, we propose a novel approach to crafting universal jailbreaks and data extraction attacks by exploiting latent space discontinuities, an architectural vulnerability related to the sparsity of training data. Unlike previous methods, our technique generalizes across various models and interfaces, proving highly effective in seven state-of-the-art LLMs and one image generation model. Initial results indicate that when these discontinuities are exploited, they can consistently and profoundly compromise model behavior, even in the presence of layered defenses. The findings suggest that this strategy has substantial potential as a systemic attack vector.", "date": "2025-11-01", "categories": []} {"id": "2511.00411", "title": "Enhancing Adversarial Transferability by Balancing Exploration and Exploitation with Gradient-Guided Sampling", "abstract": "Adversarial attacks present a critical challenge to deep neural networks' robustness, particularly in transfer scenarios across different model architectures. However, the transferability of adversarial attacks faces a fundamental dilemma between Exploitation (maximizing attack potency) and Exploration (enhancing cross-model generalization). Traditional momentum-based methods over-prioritize Exploitation, i.e., higher loss maxima for attack potency but weakened generalization (narrow loss surface). Conversely, recent methods with inner-iteration sampling over-prioritize Exploration, i.e., flatter loss surfaces for cross-model generalization but weakened attack potency (suboptimal local maxima). To resolve this dilemma, we propose a simple yet effective Gradient-Guided Sampling (GGS), which harmonizes both objectives through guiding sampling along the gradient ascent direction to improve both sampling efficiency and stability. Specifically, based on MI-FGSM, GGS introduces inner-iteration random sampling and guides the sampling direction using the gradient from the previous inner-iteration (the sampling's magnitude is determined by a random distribution). This mechanism encourages adversarial examples to reside in balanced regions with both flatness for cross-model generalization and higher local maxima for strong attack potency. Comprehensive experiments across multiple DNN architectures and multimodal large language models (MLLMs) demonstrate the superiority of our method over state-of-the-art transfer attacks. Code is made available at https://github.com/anuin-cat/GGS.", "date": "2025-11-01", "categories": []} {"id": "2511.00831", "title": "Enhancing Adversarial Transferability in Visual-Language Pre-training Models via Local Shuffle and Sample-based Attack", "abstract": "Visual-Language Pre-training (VLP) models have achieved significant performance across various downstream tasks. However, they remain vulnerable to adversarial examples. While prior efforts focus on improving the adversarial transferability of multimodal adversarial examples through cross-modal interactions, these approaches suffer from overfitting issues, due to a lack of input diversity by relying excessively on information from adversarial examples in one modality when crafting attacks in another. To address this issue, we draw inspiration from strategies in some adversarial training methods and propose a novel attack called Local Shuffle and Sample-based Attack (LSSA). LSSA randomly shuffles one of the local image blocks, thus expanding the original image-text pairs, generating adversarial images, and sampling around them. Then, it utilizes both the original and sampled images to generate the adversarial texts. Extensive experiments on multiple models and datasets demonstrate that LSSA significantly enhances the transferability of multimodal adversarial examples across diverse VLP models and downstream tasks. Moreover, LSSA outperforms other advanced attacks on Large Vision-Language Models.", "date": "2025-11-02", "categories": []} {"id": "2511.00836", "title": "Parameter Interpolation Adversarial Training for Robust Image Classification", "abstract": "Though deep neural networks exhibit superior performance on various tasks, they are still plagued by adversarial examples. Adversarial training has been demonstrated to be the most effective method to defend against adversarial attacks. However, existing adversarial training methods show that the model robustness has apparent oscillations and overfitting issues in the training process, degrading the defense efficacy. To address these issues, we propose a novel framework called Parameter Interpolation Adversarial Training (PIAT). PIAT tunes the model parameters between each epoch by interpolating the parameters of the previous and current epochs. It makes the decision boundary of model change more moderate and alleviates the overfitting issue, helping the model converge better and achieving higher model robustness. In addition, we suggest using the Normalized Mean Square Error (NMSE) to further improve the robustness by aligning the relative magnitude of logits between clean and adversarial examples rather than the absolute magnitude. Extensive experiments conducted on several benchmark datasets demonstrate that our framework could prominently improve the robustness of both Convolutional Neural Networks (CNNs) and Vision Transformers (ViTs).", "date": "2025-11-02", "categories": []} {"id": "2511.01240", "title": "Beyond Deceptive Flatness: Dual-Order Solution for Strengthening Adversarial Transferability", "abstract": "Transferable attacks generate adversarial examples on surrogate models to fool unknown victim models, posing real-world threats and growing research interest. Despite focusing on flat losses for transferable adversarial examples, recent studies still fall into suboptimal regions, especially the flat-yet-sharp areas, termed as deceptive flatness. In this paper, we introduce a novel black-box gradient-based transferable attack from a perspective of dual-order information. Specifically, we feasibly propose Adversarial Flatness (AF) to the deceptive flatness problem and a theoretical assurance for adversarial transferability. Based on this, using an efficient approximation of our objective, we instantiate our attack as Adversarial Flatness Attack (AFA), addressing the altered gradient sign issue. Additionally, to further improve the attack ability, we devise MonteCarlo Adversarial Sampling (MCAS) by enhancing the inner-loop sampling efficiency. The comprehensive results on ImageNet-compatible dataset demonstrate superiority over six baselines, generating adversarial examples in flatter regions and boosting transferability across model architectures. When tested on input transformation attacks or the Baidu Cloud API, our method outperforms baselines.", "date": "2025-11-03", "categories": []} {"id": "2511.01377", "title": "Protecting the Neural Networks against FGSM Attack Using Machine Unlearning", "abstract": "Machine learning is a powerful tool for building predictive models. However, it is vulnerable to adversarial attacks. Fast Gradient Sign Method (FGSM) attacks are a common type of adversarial attack that adds small perturbations to input data to trick a model into misclassifying it. In response to these attacks, researchers have developed methods for \"unlearning\" these attacks, which involves retraining a model on the original data without the added perturbations. Machine unlearning is a technique that tries to \"forget\" specific data points from the training dataset, to improve the robustness of a machine learning model against adversarial attacks like FGSM. In this paper, we focus on applying unlearning techniques to the LeNet neural network, a popular architecture for image classification. We evaluate the efficacy of unlearning FGSM attacks on the LeNet network and find that it can significantly improve its robustness against these types of attacks.", "date": "2025-11-03", "categories": []} {"id": "2306.09977", "title": "Adversarially robust clustering with optimality guarantees", "abstract": "We consider the problem of clustering data points coming from sub-Gaussian mixtures. Existing methods that provably achieve the optimal mislabeling error, such as the Lloyd algorithm, are usually vulnerable to outliers. In contrast, clustering methods seemingly robust to adversarial perturbations are not known to satisfy the optimal statistical guarantees. We propose a simple robust algorithm based on the coordinatewise median that obtains the optimal mislabeling rate even when we allow adversarial outliers to be present. Our algorithm achieves the optimal error rate in constant iterations when a weak initialization condition is satisfied. In the absence of outliers, in fixed dimensions, our theoretical guarantees are similar to that of the Lloyd algorithm. Extensive experiments on various simulated and public datasets are conducted to support the theoretical guarantees of our method.", "date": "2023-06-16", "categories": []} {"id": "2502.21041", "title": "Fast Adversarial Training against Sparse Attacks Requires Loss Smoothing", "abstract": "This paper studies fast adversarial training against sparse adversarial perturbations bounded by $l_0$ norm. We demonstrate the challenges of employing $1$-step attacks on $l_0$ bounded perturbations for fast adversarial training, including degraded performance and the occurrence of catastrophic overfitting (CO). We highlight that CO in $l_0$ adversarial training is caused by sub-optimal perturbation locations of $1$-step attack. Theoretical and empirical analyses reveal that the loss landscape of $l_0$ adversarial training is more craggy compared to its $l_\\infty$, $l_2$ and $l_1$ counterparts. Moreover, we corroborate that the craggy loss landscape can aggravate CO. To address these issues, we propose Fast-LS-$l_0$ that incorporates soft labels and the trade-off loss function to smooth the adversarial loss landscape. Extensive experiments demonstrate our method can overcome the challenge of catastrophic overfitting, achieve state-of-the-art performance, and narrow down the performance gap between $1$-step and multi-step adversarial training against sparse attacks.", "date": "2025-02-28", "categories": []} {"id": "2510.26830", "title": "SmoothGuard: Defending Multimodal Large Language Models with Noise Perturbation and Clustering Aggregation", "abstract": "Multimodal large language models (MLLMs) have achieved impressive performance across diverse tasks by jointly reasoning over textual and visual inputs. Despite their success, these models remain highly vulnerable to adversarial manipulations, raising concerns about their safety and reliability in deployment. In this work, we first generalize an approach for generating adversarial images within the HuggingFace ecosystem and then introduce SmoothGuard, a lightweight and model-agnostic defense framework that enhances the robustness of MLLMs through randomized noise injection and clustering-based prediction aggregation. Our method perturbs continuous modalities (e.g., images and audio) with Gaussian noise, generates multiple candidate outputs, and applies embedding-based clustering to filter out adversarially influenced predictions. The final answer is selected from the majority cluster, ensuring stable responses even under malicious perturbations. Extensive experiments on POPE, LLaVA-Bench (In-the-Wild), and MM-SafetyBench demonstrate that SmoothGuard improves resilience to adversarial attacks while maintaining competitive utility. Ablation studies further identify an optimal noise range (0.1-0.2) that balances robustness and utility.", "date": "2025-10-29", "categories": []} {"id": "2510.26833", "title": "VISAT: Benchmarking Adversarial and Distribution Shift Robustness in Traffic Sign Recognition with Visual Attributes", "abstract": "We present VISAT, a novel open dataset and benchmarking suite for evaluating model robustness in the task of traffic sign recognition with the presence of visual attributes. Built upon the Mapillary Traffic Sign Dataset (MTSD), our dataset introduces two benchmarks that respectively emphasize robustness against adversarial attacks and distribution shifts. For our adversarial attack benchmark, we employ the state-of-the-art Projected Gradient Descent (PGD) method to generate adversarial inputs and evaluate their impact on popular models. Additionally, we investigate the effect of adversarial attacks on attribute-specific multi-task learning (MTL) networks, revealing spurious correlations among MTL tasks. The MTL networks leverage visual attributes (color, shape, symbol, and text) that we have created for each traffic sign in our dataset. For our distribution shift benchmark, we utilize ImageNet-C's realistic data corruption and natural variation techniques to perform evaluations on the robustness of both base and MTL models. Moreover, we further explore spurious correlations among MTL tasks through synthetic alterations of traffic sign colors using color quantization techniques. Our experiments focus on two major backbones, ResNet-152 and ViT-B/32, and compare the performance between base and MTL models. The VISAT dataset and benchmarking framework contribute to the understanding of model robustness for traffic sign recognition, shedding light on the challenges posed by adversarial attacks and distribution shifts. We believe this work will facilitate advancements in developing more robust models for real-world applications in autonomous driving and cyber-physical systems.", "date": "2025-10-29", "categories": []} {"id": "2510.26981", "title": "Fine-Grained Iterative Adversarial Attacks with Limited Computation Budget", "abstract": "This work tackles a critical challenge in AI safety research under limited compute: given a fixed computation budget, how can one maximize the strength of iterative adversarial attacks? Coarsely reducing the number of attack iterations lowers cost but substantially weakens effectiveness. To fulfill the attainable attack efficacy within a constrained budget, we propose a fine-grained control mechanism that selectively recomputes layer activations across both iteration-wise and layer-wise levels. Extensive experiments show that our method consistently outperforms existing baselines at equal cost. Moreover, when integrated into adversarial training, it attains comparable performance with only 30% of the original budget.", "date": "2025-10-30", "categories": []} {"id": "2510.27245", "title": "Trans-defense: Transformer-based Denoiser for Adversarial Defense with Spatial-Frequency Domain Representation", "abstract": "In recent times, deep neural networks (DNNs) have been successfully adopted for various applications. Despite their notable achievements, it has become evident that DNNs are vulnerable to sophisticated adversarial attacks, restricting their applications in security-critical systems. In this paper, we present two-phase training methods to tackle the attack: first, training the denoising network, and second, the deep classifier model. We propose a novel denoising strategy that integrates both spatial and frequency domain approaches to defend against adversarial attacks on images. Our analysis reveals that high-frequency components of attacked images are more severely corrupted compared to their lower-frequency counterparts. To address this, we leverage Discrete Wavelet Transform (DWT) for frequency analysis and develop a denoising network that combines spatial image features with wavelets through a transformer layer. Next, we retrain the classifier using the denoised images, which enhances the classifier's robustness against adversarial attacks. Experimental results across the MNIST, CIFAR-10, and Fashion-MNIST datasets reveal that the proposed method remarkably elevates classification accuracy, substantially exceeding the performance by utilizing a denoising network and adversarial training approaches. The code is available at https://github.com/Mayank94/Trans-Defense.", "date": "2025-10-31", "categories": []} {"id": "2510.27599", "title": "ANCHOR: Integrating Adversarial Training with Hard-mined Supervised Contrastive Learning for Robust Representation Learning", "abstract": "Neural networks have changed the way machines interpret the world. At their core, they learn by following gradients, adjusting their parameters step by step until they identify the most discriminant patterns in the data. This process gives them their strength, yet it also opens the door to a hidden flaw. The very gradients that help a model learn can also be used to produce small, imperceptible tweaks that cause the model to completely alter its decision. Such tweaks are called adversarial attacks. These attacks exploit this vulnerability by adding tiny, imperceptible changes to images that, while leaving them identical to the human eye, cause the model to make wrong predictions. In this work, we propose Adversarially-trained Contrastive Hard-mining for Optimized Robustness (ANCHOR), a framework that leverages the power of supervised contrastive learning with explicit hard positive mining to enable the model to learn representations for images such that the embeddings for the images, their augmentations, and their perturbed versions cluster together in the embedding space along with those for other images of the same class while being separated from images of other classes. This alignment helps the model focus on stable, meaningful patterns rather than fragile gradient cues. On CIFAR-10, our approach achieves impressive results for both clean and robust accuracy under PGD-20 (epsilon = 0.031), outperforming standard adversarial training methods. Our results indicate that combining adversarial guidance with hard-mined contrastive supervision helps models learn more structured and robust representations, narrowing the gap between accuracy and robustness.", "date": "2025-10-31", "categories": []} {"id": "2311.17434", "title": "GSE: Group-wise Sparse and Explainable Adversarial Attacks", "abstract": "Sparse adversarial attacks fool deep neural networks (DNNs) through minimal pixel perturbations, often regularized by the $\\ell_0$ norm. Recent efforts have replaced this norm with a structural sparsity regularizer, such as the nuclear group norm, to craft group-wise sparse adversarial attacks. The resulting perturbations are thus explainable and hold significant practical relevance, shedding light on an even greater vulnerability of DNNs. However, crafting such attacks poses an optimization challenge, as it involves computing norms for groups of pixels within a non-convex objective. We address this by presenting a two-phase algorithm that generates group-wise sparse attacks within semantically meaningful areas of an image. Initially, we optimize a quasinorm adversarial loss using the $1/2-$quasinorm proximal operator tailored for non-convex programming. Subsequently, the algorithm transitions to a projected Nesterov's accelerated gradient descent with $2-$norm regularization applied to perturbation magnitudes. Rigorous evaluations on CIFAR-10 and ImageNet datasets demonstrate a remarkable increase in group-wise sparsity, e.g., $50.9\\%$ on CIFAR-10 and $38.4\\%$ on ImageNet (average case, targeted attack). This performance improvement is accompanied by significantly faster computation times, improved explainability, and a $100\\%$ attack success rate.", "date": "2023-11-29", "categories": []} {"id": "2501.05783", "title": "UV-Attack: Physical-World Adversarial Attacks for Person Detection via Dynamic-NeRF-based UV Mapping", "abstract": "In recent research, adversarial attacks on person detectors using patches or static 3D model-based texture modifications have struggled with low success rates due to the flexible nature of human movement. Modeling the 3D deformations caused by various actions has been a major challenge. Fortunately, advancements in Neural Radiance Fields (NeRF) for dynamic human modeling offer new possibilities. In this paper, we introduce UV-Attack, a groundbreaking approach that achieves high success rates even with extensive and unseen human actions. We address the challenge above by leveraging dynamic-NeRF-based UV mapping. UV-Attack can generate human images across diverse actions and viewpoints, and even create novel actions by sampling from the SMPL parameter space. While dynamic NeRF models are capable of modeling human bodies, modifying clothing textures is challenging because they are embedded in neural network parameters. To tackle this, UV-Attack generates UV maps instead of RGB images and modifies the texture stacks. This approach enables real-time texture edits and makes the attack more practical. We also propose a novel Expectation over Pose Transformation loss (EoPT) to improve the evasion success rate on unseen poses and views. Our experiments show that UV-Attack achieves a 92.7% attack success rate against the FastRCNN model across varied poses in dynamic video settings, significantly outperforming the state-of-the-art AdvCamou attack, which only had a 28.5% ASR. Moreover, we achieve 49.5% ASR on the latest YOLOv8 detector in black-box settings. This work highlights the potential of dynamic NeRF-based UV mapping for creating more effective adversarial attacks on person detectors, addressing key challenges in modeling human movement and texture modification. The code is available at https://github.com/PolyLiYJ/UV-Attack.", "date": "2025-01-10", "categories": []} {"id": "2505.18766", "title": "StyleGuard: Preventing Text-to-Image-Model-based Style Mimicry Attacks by Style Perturbations", "abstract": "Recently, text-to-image diffusion models have been widely used for style mimicry and personalized customization through methods such as DreamBooth and Textual Inversion. This has raised concerns about intellectual property protection and the generation of deceptive content. Recent studies, such as Glaze and Anti-DreamBooth, have proposed using adversarial noise to protect images from these attacks. However, recent purification-based methods, such as DiffPure and Noise Upscaling, have successfully attacked these latest defenses, showing the vulnerabilities of these methods. Moreover, present methods show limited transferability across models, making them less effective against unknown text-to-image models. To address these issues, we propose a novel anti-mimicry method, StyleGuard. We propose a novel style loss that optimizes the style-related features in the latent space to make it deviate from the original image, which improves model-agnostic transferability. Additionally, to enhance the perturbation's ability to bypass diffusion-based purification, we designed a novel upscale loss that involves ensemble purifiers and upscalers during training. Extensive experiments on the WikiArt and CelebA datasets demonstrate that StyleGuard outperforms existing methods in robustness against various transformations and purifications, effectively countering style mimicry in various models. Moreover, StyleGuard is effective on different style mimicry methods, including DreamBooth and Textual Inversion. The code is available at https://github.com/PolyLiYJ/StyleGuard.", "date": "2025-05-24", "categories": []} {"id": "2506.08188", "title": "GradEscape: A Gradient-Based Evader Against AI-Generated Text Detectors", "abstract": "In this paper, we introduce GradEscape, the first gradient-based evader designed to attack AI-generated text (AIGT) detectors. GradEscape overcomes the undifferentiable computation problem, caused by the discrete nature of text, by introducing a novel approach to construct weighted embeddings for the detector input. It then updates the evader model parameters using feedback from victim detectors, achieving high attack success with minimal text modification. To address the issue of tokenizer mismatch between the evader and the detector, we introduce a warm-started evader method, enabling GradEscape to adapt to detectors across any language model architecture. Moreover, we employ novel tokenizer inference and model extraction techniques, facilitating effective evasion even in query-only access.\n We evaluate GradEscape on four datasets and three widely-used language models, benchmarking it against four state-of-the-art AIGT evaders. Experimental results demonstrate that GradEscape outperforms existing evaders in various scenarios, including with an 11B paraphrase model, while utilizing only 139M parameters. We have successfully applied GradEscape to two real-world commercial AIGT detectors. Our analysis reveals that the primary vulnerability stems from disparity in text expression styles within the training data. We also propose a potential defense strategy to mitigate the threat of AIGT evaders. We open-source our GradEscape for developing more robust AIGT detectors.", "date": "2025-06-09", "categories": []} {"id": "2506.21046", "title": "Boosting Generative Adversarial Transferability with Self-supervised Vision Transformer Features", "abstract": "The ability of deep neural networks (DNNs) come from extracting and interpreting features from the data provided. By exploiting intermediate features in DNNs instead of relying on hard labels, we craft adversarial perturbation that generalize more effectively, boosting black-box transferability. These features ubiquitously come from supervised learning in previous work. Inspired by the exceptional synergy between self-supervised learning and the Transformer architecture, this paper explores whether exploiting self-supervised Vision Transformer (ViT) representations can improve adversarial transferability. We present dSVA -- a generative dual self-supervised ViT features attack, that exploits both global structural features from contrastive learning (CL) and local textural features from masked image modeling (MIM), the self-supervised learning paradigm duo for ViTs. We design a novel generative training framework that incorporates a generator to create black-box adversarial examples, and strategies to train the generator by exploiting joint features and the attention mechanism of self-supervised ViTs. Our findings show that CL and MIM enable ViTs to attend to distinct feature tendencies, which, when exploited in tandem, boast great adversarial generalizability. By disrupting dual deep features distilled by self-supervised ViTs, we are rewarded with remarkable black-box transferability to models of various architectures that outperform state-of-the-arts. Code available at https://github.com/spencerwooo/dSVA.", "date": "2025-06-26", "categories": []} {"id": "2507.06078", "title": "ScoreAdv: Score-based Targeted Generation of Natural Adversarial Examples via Diffusion Models", "abstract": "Despite the success of deep learning across various domains, it remains vulnerable to adversarial attacks. Although many existing adversarial attack methods achieve high success rates, they typically rely on $\\ell_{p}$-norm perturbation constraints, which do not align with human perceptual capabilities. Consequently, researchers have shifted their focus toward generating natural, unrestricted adversarial examples (UAEs). GAN-based approaches suffer from inherent limitations, such as poor image quality due to instability and mode collapse. Meanwhile, diffusion models have been employed for UAE generation, but they still rely on iterative PGD perturbation injection, without fully leveraging their central denoising capabilities. In this paper, we introduce a novel approach for generating UAEs based on diffusion models, named ScoreAdv. This method incorporates an interpretable adversarial guidance mechanism to gradually shift the sampling distribution towards the adversarial distribution, while using an interpretable saliency map to inject the visual information of a reference image into the generated samples. Notably, our method is capable of generating an unlimited number of natural adversarial examples and can attack not only classification models but also retrieval models. We conduct extensive experiments on ImageNet and CelebA datasets, validating the performance of ScoreAdv across ten target models in both black-box and white-box settings. Our results demonstrate that ScoreAdv achieves state-of-the-art attack success rates and image quality, while maintaining inference efficiency. Furthermore, the dynamic balance between denoising and adversarial perturbation enables ScoreAdv to remain robust even under defensive measures.", "date": "2025-07-08", "categories": []} {"id": "2510.08604", "title": "LatentBreak: Jailbreaking Large Language Models through Latent Space Feedback", "abstract": "Jailbreaks are adversarial attacks designed to bypass the built-in safety mechanisms of large language models. Automated jailbreaks typically optimize an adversarial suffix or adapt long prompt templates by forcing the model to generate the initial part of a restricted or harmful response. In this work, we show that existing jailbreak attacks that leverage such mechanisms to unlock the model response can be detected by a straightforward perplexity-based filtering on the input prompt. To overcome this issue, we propose LatentBreak, a white-box jailbreak attack that generates natural adversarial prompts with low perplexity capable of evading such defenses. LatentBreak substitutes words in the input prompt with semantically-equivalent ones, preserving the initial intent of the prompt, instead of adding high-perplexity adversarial suffixes or long templates. These words are chosen by minimizing the distance in the latent space between the representation of the adversarial prompt and that of harmless requests. Our extensive evaluation shows that LatentBreak leads to shorter and low-perplexity prompts, thus outperforming competing jailbreak algorithms against perplexity-based filters on multiple safety-aligned models.", "date": "2025-10-07", "categories": []} {"id": "2505.16947", "title": "MixAT: Combining Continuous and Discrete Adversarial Training for LLMs", "abstract": "Despite recent efforts in Large Language Model (LLM) safety and alignment, current adversarial attacks on frontier LLMs can still consistently force harmful generations. Although adversarial training has been widely studied and shown to significantly improve the robustness of traditional machine learning models, its strengths and weaknesses in the context of LLMs are less understood. Specifically, while existing discrete adversarial attacks are effective at producing harmful content, training LLMs with concrete adversarial prompts is often computationally expensive, leading to reliance on continuous relaxations. At the same time, despite their effectiveness and generalization capabilities, training with continuous perturbations does not always capture the full spectrum of vulnerabilities exploited by discrete attacks. In this work, we aim to bridge this gap by introducing MixAT, a novel method that combines stronger discrete and faster continuous attacks during training. We rigorously evaluate MixAT across a wide spectrum of state-of-the-art attacks, proposing the At Least One Attack Success Rate (ALO-ASR) metric to capture the worst-case vulnerability of models. We show MixAT achieves substantially better robustness (ALO-ASR < 20%) compared to prior defenses (ALO-ASR > 50%), while maintaining a runtime comparable to methods based on continuous relaxations. We further analyze MixAT in realistic deployment settings, exploring how chat templates, quantization, low-rank adapters, and temperature affect both adversarial training and evaluation, revealing additional blind spots in current methodologies. Our results demonstrate that MixAT's discrete-continuous defense offers a principled and superior robustness-accuracy tradeoff with minimal computational overhead, highlighting its promise for building safer LLMs. We provide our code and models at https://github.com/insait-institute/MixAT.", "date": "2025-05-22", "categories": []} {"id": "2510.23622", "title": "Adversarially-Aware Architecture Design for Robust Medical AI Systems", "abstract": "Adversarial attacks pose a severe risk to AI systems used in healthcare, capable of misleading models into dangerous misclassifications that can delay treatments or cause misdiagnoses. These attacks, often imperceptible to human perception, threaten patient safety, particularly in underserved populations. Our study explores these vulnerabilities through empirical experimentation on a dermatological dataset, where adversarial methods significantly reduce classification accuracy. Through detailed threat modeling, experimental benchmarking, and model evaluation, we demonstrate both the severity of the threat and the partial success of defenses like adversarial training and distillation. Our results show that while defenses reduce attack success rates, they must be balanced against model performance on clean data. We conclude with a call for integrated technical, ethical, and policy-based approaches to build more resilient, equitable AI in healthcare.", "date": "2025-10-23", "categories": []} {"id": "2510.24034", "title": "AutoPrompt: Automated Red-Teaming of Text-to-Image Models via LLM-Driven Adversarial Prompts", "abstract": "Despite rapid advancements in text-to-image (T2I) models, their safety mechanisms are vulnerable to adversarial prompts, which maliciously generate unsafe images. Current red-teaming methods for proactively assessing such vulnerabilities usually require white-box access to T2I models, and rely on inefficient per-prompt optimization, as well as inevitably generate semantically meaningless prompts easily blocked by filters. In this paper, we propose APT (AutoPrompT), a black-box framework that leverages large language models (LLMs) to automatically generate human-readable adversarial suffixes for benign prompts. We first introduce an alternating optimization-finetuning pipeline between adversarial suffix optimization and fine-tuning the LLM utilizing the optimized suffix. Furthermore, we integrates a dual-evasion strategy in optimization phase, enabling the bypass of both perplexity-based filter and blacklist word filter: (1) we constrain the LLM generating human-readable prompts through an auxiliary LLM perplexity scoring, which starkly contrasts with prior token-level gibberish, and (2) we also introduce banned-token penalties to suppress the explicit generation of banned-tokens in blacklist. Extensive experiments demonstrate the excellent red-teaming performance of our human-readable, filter-resistant adversarial prompts, as well as superior zero-shot transferability which enables instant adaptation to unseen prompts and exposes critical vulnerabilities even in commercial APIs (e.g., Leonardo.Ai.).", "date": "2025-10-28", "categories": []} {"id": "2510.24195", "title": "Vanish into Thin Air: Cross-prompt Universal Adversarial Attacks for SAM2", "abstract": "Recent studies reveal the vulnerability of the image segmentation foundation model SAM to adversarial examples. Its successor, SAM2, has attracted significant attention due to its strong generalization capability in video segmentation. However, its robustness remains unexplored, and it is unclear whether existing attacks on SAM can be directly transferred to SAM2. In this paper, we first analyze the performance gap of existing attacks between SAM and SAM2 and highlight two key challenges arising from their architectural differences: directional guidance from the prompt and semantic entanglement across consecutive frames. To address these issues, we propose UAP-SAM2, the first cross-prompt universal adversarial attack against SAM2 driven by dual semantic deviation. For cross-prompt transferability, we begin by designing a target-scanning strategy that divides each frame into k regions, each randomly assigned a prompt, to reduce prompt dependency during optimization. For effectiveness, we design a dual semantic deviation framework that optimizes a UAP by distorting the semantics within the current frame and disrupting the semantic consistency across consecutive frames. Extensive experiments on six datasets across two segmentation tasks demonstrate the effectiveness of the proposed method for SAM2. The comparative results show that UAP-SAM2 significantly outperforms state-of-the-art (SOTA) attacks by a large margin.", "date": "2025-10-28", "categories": []} {"id": "2510.24446", "title": "SPARTA: Evaluating Reasoning Segmentation Robustness through Black-Box Adversarial Paraphrasing in Text Autoencoder Latent Space", "abstract": "Multimodal large language models (MLLMs) have shown impressive capabilities in vision-language tasks such as reasoning segmentation, where models generate segmentation masks based on textual queries. While prior work has primarily focused on perturbing image inputs, semantically equivalent textual paraphrases-crucial in real-world applications where users express the same intent in varied ways-remain underexplored. To address this gap, we introduce a novel adversarial paraphrasing task: generating grammatically correct paraphrases that preserve the original query meaning while degrading segmentation performance. To evaluate the quality of adversarial paraphrases, we develop a comprehensive automatic evaluation protocol validated with human studies. Furthermore, we introduce SPARTA-a black-box, sentence-level optimization method that operates in the low-dimensional semantic latent space of a text autoencoder, guided by reinforcement learning. SPARTA achieves significantly higher success rates, outperforming prior methods by up to 2x on both the ReasonSeg and LLMSeg-40k datasets. We use SPARTA and competitive baselines to assess the robustness of advanced reasoning segmentation models. We reveal that they remain vulnerable to adversarial paraphrasing-even under strict semantic and grammatical constraints. All code and data will be released publicly upon acceptance.", "date": "2025-10-28", "categories": []} {"id": "2311.09671", "title": "Generalization Bounds for Robust Contrastive Learning: From Theory to Practice", "abstract": "Contrastive Learning first extracts features from unlabeled data, followed by linear probing with labeled data. Adversarial Contrastive Learning (ACL) integrates Adversarial Training into the first phase to enhance feature robustness against attacks in the probing phase. While ACL has shown strong empirical results, its theoretical understanding remains limited. Furthermore, while a fair amount of theoretical works analyze how the unsupervised loss can support the supervised loss in the probing phase, none has examined its role to the robust supervised loss. To fill this gap, our work develops rigorous theories to identify which components in the unsupervised training can help improve the robust supervised loss. Specifically, besides the adversarial contrastive loss, we reveal that the benign one, along with a global divergence between benign and adversarial examples can also improve robustness. Proper experiments are conducted to justify our findings.", "date": "2023-11-16", "categories": []} {"id": "2502.02096", "title": "Dual-Flow: Transferable Multi-Target, Instance-Agnostic Attacks via In-the-wild Cascading Flow Optimization", "abstract": "Adversarial attacks are widely used to evaluate model robustness, and in black-box scenarios, the transferability of these attacks becomes crucial. Existing generator-based attacks have excellent generalization and transferability due to their instance-agnostic nature. However, when training generators for multi-target tasks, the success rate of transfer attacks is relatively low due to the limitations of the model's capacity. To address these challenges, we propose a novel Dual-Flow framework for multi-target instance-agnostic adversarial attacks, utilizing Cascading Distribution Shift Training to develop an adversarial velocity function. Extensive experiments demonstrate that Dual-Flow significantly improves transferability over previous multi-target generative attacks. For example, it increases the success rate from Inception-v3 to ResNet-152 by 34.58\\%. Furthermore, our attack method shows substantially stronger robustness against defense mechanisms, such as adversarially trained models. The code of Dual-Flow is available at: $\\href{https://github.com/Chyxx/Dual-Flow}{https://github.com/Chyxx/Dual-Flow}$.", "date": "2025-02-04", "categories": []} {"id": "2502.09110", "title": "Pulling Back the Curtain: Unsupervised Adversarial Detection via Contrastive Auxiliary Networks", "abstract": "Deep learning models are widely employed in safety-critical applications yet remain susceptible to adversarial attacks -- imperceptible perturbations that can significantly degrade model performance. Conventional defense mechanisms predominantly focus on either enhancing model robustness or detecting adversarial inputs independently. In this work, we propose an Unsupervised adversarial detection via Contrastive Auxiliary Networks (U-CAN) to uncover adversarial behavior within auxiliary feature representations, without the need for adversarial examples. U-CAN is embedded within selected intermediate layers of the target model. These auxiliary networks, comprising projection layers and ArcFace-based linear layers, refine feature representations to more effectively distinguish between benign and adversarial inputs. Comprehensive experiments across multiple datasets (CIFAR-10, Mammals, and a subset of ImageNet) and architectures (ResNet-50, VGG-16, and ViT) demonstrate that our method surpasses existing unsupervised adversarial detection techniques, achieving superior F1 scores against four distinct attack methods. The proposed framework provides a scalable and effective solution for enhancing the security and reliability of deep learning systems.", "date": "2025-02-13", "categories": []} {"id": "2503.10635", "title": "A Frustratingly Simple Yet Highly Effective Attack Baseline: Over 90% Success Rate Against the Strong Black-box Models of GPT-4.5/4o/o1", "abstract": "Despite promising performance on open-source large vision-language models (LVLMs), transfer-based targeted attacks often fail against closed-source commercial LVLMs. Analyzing failed adversarial perturbations reveals that the learned perturbations typically originate from a uniform distribution and lack clear semantic details, resulting in unintended responses. This critical absence of semantic information leads commercial black-box LVLMs to either ignore the perturbation entirely or misinterpret its embedded semantics, thereby causing the attack to fail. To overcome these issues, we propose to refine semantic clarity by encoding explicit semantic details within local regions, thus ensuring the capture of finer-grained features and inter-model transferability, and by concentrating modifications on semantically rich areas rather than applying them uniformly. To achieve this, we propose a simple yet highly effective baseline: at each optimization step, the adversarial image is cropped randomly by a controlled aspect ratio and scale, resized, and then aligned with the target image in the embedding space. While the naive source-target matching method has been utilized before in the literature, we are the first to provide a tight analysis, which establishes a close connection between perturbation optimization and semantics. Experimental results confirm our hypothesis. Our adversarial examples crafted with local-aggregated perturbations focused on crucial regions exhibit surprisingly good transferability to commercial LVLMs, including GPT-4.5, GPT-4o, Gemini-2.0-flash, Claude-3.5/3.7-sonnet, and even reasoning models like o1, Claude-3.7-thinking and Gemini-2.0-flash-thinking. Our approach achieves success rates exceeding 90% on GPT-4.5, 4o, and o1, significantly outperforming all prior state-of-the-art attack methods with lower $\\ell_1/\\ell_2$ perturbations.", "date": "2025-03-13", "categories": []} {"id": "2505.17356", "title": "Adversarial Robustness of Nonparametric Regression", "abstract": "In this paper, we investigate the adversarial robustness of nonparametric regression, a fundamental problem in machine learning, under the setting where an adversary can arbitrarily corrupt a subset of the input data. While the robustness of parametric regression has been extensively studied, its nonparametric counterpart remains largely unexplored. We characterize the adversarial robustness in nonparametric regression, assuming the regression function belongs to the second-order Sobolev space (i.e., it is square integrable up to its second derivative).\n The contribution of this paper is two-fold: (i) we establish a minimax lower bound on the estimation error, revealing a fundamental limit that no estimator can overcome, and (ii) we show that, perhaps surprisingly, the classical smoothing spline estimator, when properly regularized, exhibits robustness against adversarial corruption. These results imply that if $o(n)$ out of $n$ samples are corrupted, the estimation error of the smoothing spline vanishes as $n \\to \\infty$. On the other hand, when a constant fraction of the data is corrupted, no estimator can guarantee vanishing estimation error, implying the optimality of the smoothing spline in terms of maximum tolerable number of corrupted samples.", "date": "2025-05-23", "categories": []} {"id": "2510.16923", "title": "UNDREAM: Bridging Differentiable Rendering and Photorealistic Simulation for End-to-end Adversarial Attacks", "abstract": "Deep learning models deployed in safety critical applications like autonomous driving use simulations to test their robustness against adversarial attacks in realistic conditions. However, these simulations are non-differentiable, forcing researchers to create attacks that do not integrate simulation environmental factors, reducing attack success. To address this limitation, we introduce UNDREAM, the first software framework that bridges the gap between photorealistic simulators and differentiable renderers to enable end-to-end optimization of adversarial perturbations on any 3D objects. UNDREAM enables manipulation of the environment by offering complete control over weather, lighting, backgrounds, camera angles, trajectories, and realistic human and object movements, thereby allowing the creation of diverse scenes. We showcase a wide array of distinct physically plausible adversarial objects that UNDREAM enables researchers to swiftly explore in different configurable environments. This combination of photorealistic simulation and differentiable optimization opens new avenues for advancing research of physical adversarial attacks.", "date": "2025-10-19", "categories": []} {"id": "2510.22014", "title": "Toward Understanding the Transferability of Adversarial Suffixes in Large Language Models", "abstract": "Discrete optimization-based jailbreaking attacks on large language models aim to generate short, nonsensical suffixes that, when appended onto input prompts, elicit disallowed content. Notably, these suffixes are often transferable -- succeeding on prompts and models for which they were never optimized. And yet, despite the fact that transferability is surprising and empirically well-established, the field lacks a rigorous analysis of when and why transfer occurs. To fill this gap, we identify three statistical properties that strongly correlate with transfer success across numerous experimental settings: (1) how much a prompt without a suffix activates a model's internal refusal direction, (2) how strongly a suffix induces a push away from this direction, and (3) how large these shifts are in directions orthogonal to refusal. On the other hand, we find that prompt semantic similarity only weakly correlates with transfer success. These findings lead to a more fine-grained understanding of transferability, which we use in interventional experiments to showcase how our statistical analysis can translate into practical improvements in attack success.", "date": "2025-10-24", "categories": []} {"id": "2510.22643", "title": "Enhancing Graph Classification Robustness with Singular Pooling", "abstract": "Graph Neural Networks (GNNs) have achieved strong performance across a range of graph representation learning tasks, yet their adversarial robustness in graph classification remains underexplored compared to node classification. While most existing defenses focus on the message-passing component, this work investigates the overlooked role of pooling operations in shaping robustness. We present a theoretical analysis of standard flat pooling methods (sum, average and max), deriving upper bounds on their adversarial risk and identifying their vulnerabilities under different attack scenarios and graph structures. Motivated by these insights, we propose \\textit{Robust Singular Pooling (RS-Pool)}, a novel pooling strategy that leverages the dominant singular vector of the node embedding matrix to construct a robust graph-level representation. We theoretically investigate the robustness of RS-Pool and interpret the resulting bound leading to improved understanding of our proposed pooling operator. While our analysis centers on Graph Convolutional Networks (GCNs), RS-Pool is model-agnostic and can be implemented efficiently via power iteration. Empirical results on real-world benchmarks show that RS-Pool provides better robustness than the considered pooling methods when subject to state-of-the-art adversarial attacks while maintaining competitive clean accuracy. Our code is publicly available at:\\href{https://github.com/king/rs-pool}{https://github.com/king/rs-pool}.", "date": "2025-10-26", "categories": []} {"id": "2510.22652", "title": "If You Want to Be Robust, Be Wary of Initialization", "abstract": "Graph Neural Networks (GNNs) have demonstrated remarkable performance across a spectrum of graph-related tasks, however concerns persist regarding their vulnerability to adversarial perturbations. While prevailing defense strategies focus primarily on pre-processing techniques and adaptive message-passing schemes, this study delves into an under-explored dimension: the impact of weight initialization and associated hyper-parameters, such as training epochs, on a model's robustness. We introduce a theoretical framework bridging the connection between initialization strategies and a network's resilience to adversarial perturbations. Our analysis reveals a direct relationship between initial weights, number of training epochs and the model's vulnerability, offering new insights into adversarial robustness beyond conventional defense mechanisms. While our primary focus is on GNNs, we extend our theoretical framework, providing a general upper-bound applicable to Deep Neural Networks. Extensive experiments, spanning diverse models and real-world datasets subjected to various adversarial attacks, validate our findings. We illustrate that selecting appropriate initialization not only ensures performance on clean datasets but also enhances model robustness against adversarial perturbations, with observed gaps of up to 50\\% compared to alternative initialization approaches.", "date": "2025-10-26", "categories": []} {"id": "2510.22785", "title": "Self-Calibrated Consistency can Fight Back for Adversarial Robustness in Vision-Language Models", "abstract": "Pre-trained vision-language models (VLMs) such as CLIP have demonstrated strong zero-shot capabilities across diverse domains, yet remain highly vulnerable to adversarial perturbations that disrupt image-text alignment and compromise reliability. Existing defenses typically rely on adversarial fine-tuning with labeled data, limiting their applicability in zero-shot settings. In this work, we identify two key weaknesses of current CLIP adversarial attacks -- lack of semantic guidance and vulnerability to view variations -- collectively termed semantic and viewpoint fragility. To address these challenges, we propose Self-Calibrated Consistency (SCC), an effective test-time defense. SCC consists of two complementary modules: Semantic consistency, which leverages soft pseudo-labels from counterattack warm-up and multi-view predictions to regularize cross-modal alignment and separate the target embedding from confusable negatives; and Spatial consistency, aligning perturbed visual predictions via augmented views to stabilize inference under adversarial perturbations. Together, these modules form a plug-and-play inference strategy. Extensive experiments on 22 benchmarks under diverse attack settings show that SCC consistently improves the zero-shot robustness of CLIP while maintaining accuracy, and can be seamlessly integrated with other VLMs for further gains. These findings highlight the great potential of establishing an adversarially robust paradigm from CLIP, with implications extending to broader vision-language domains such as BioMedCLIP.", "date": "2025-10-26", "categories": []} {"id": "2510.22981", "title": "Exploring Semantic-constrained Adversarial Example with Instruction Uncertainty Reduction", "abstract": "Recently, semantically constrained adversarial examples (SemanticAE), which are directly generated from natural language instructions, have become a promising avenue for future research due to their flexible attacking forms. To generate SemanticAEs, current methods fall short of satisfactory attacking ability as the key underlying factors of semantic uncertainty in human instructions, such as referring diversity, descriptive incompleteness, and boundary ambiguity, have not been fully investigated. To tackle the issues, this paper develops a multi-dimensional instruction uncertainty reduction (InSUR) framework to generate more satisfactory SemanticAE, i.e., transferable, adaptive, and effective. Specifically, in the dimension of the sampling method, we propose the residual-driven attacking direction stabilization to alleviate the unstable adversarial optimization caused by the diversity of language references. By coarsely predicting the language-guided sampling process, the optimization process will be stabilized by the designed ResAdv-DDIM sampler, therefore releasing the transferable and robust adversarial capability of multi-step diffusion models. In task modeling, we propose the context-encoded attacking scenario constraint to supplement the missing knowledge from incomplete human instructions. Guidance masking and renderer integration are proposed to regulate the constraints of 2D/3D SemanticAE, activating stronger scenario-adapted attacks. Moreover, in the dimension of generator evaluation, we propose the semantic-abstracted attacking evaluation enhancement by clarifying the evaluation boundary, facilitating the development of more effective SemanticAE generators. Extensive experiments demonstrate the superiority of the transfer attack performance of InSUR. Moreover, we realize the reference-free generation of semantically constrained 3D adversarial examples for the first time.", "date": "2025-10-27", "categories": []} {"id": "2307.01225", "title": "Alert-ME: An Explainability-Driven Defense Against Adversarial Examples in Transformer-Based Text Classification", "abstract": "Transformer-based text classifiers such as BERT, RoBERTa, T5, and GPT have shown strong performance in natural language processing tasks but remain vulnerable to adversarial examples. These vulnerabilities raise significant security concerns, as small input perturbations can cause severe misclassifications. Existing robustness methods often require heavy computation or lack interpretability. This paper presents a unified framework called Explainability-driven Detection, Identification, and Transformation (EDIT) to strengthen inference-time defenses. EDIT integrates explainability tools, including attention maps and integrated gradients, with frequency-based features to automatically detect and identify adversarial perturbations while offering insight into model behavior. After detection, EDIT refines adversarial inputs using an optimal transformation process that leverages pre-trained embeddings and model feedback to replace corrupted tokens. To enhance security assurance, EDIT incorporates automated alerting mechanisms that involve human analysts when necessary.\n Beyond static defenses, EDIT also provides adaptive resilience by enforcing internal feature similarity and transforming inputs, thereby disrupting the attackers optimization process and limiting the effectiveness of adaptive adversarial attacks. Experiments using BERT and RoBERTa on IMDB, YELP, AGNEWS, and SST2 datasets against seven word substitution attacks demonstrate that EDIT achieves an average Fscore of 89.69 percent and balanced accuracy of 89.70 percent. Compared to four state-of-the-art defenses, EDIT improves balanced accuracy by 1.22 times and F1-score by 1.33 times while being 83 times faster in feature extraction. The framework provides robust, interpretable, and efficient protection against both standard, zero-day, and adaptive adversarial threats in text classification models.", "date": "2023-07-03", "categories": []} {"id": "2412.08053", "title": "DynamicPAE: Generating Scene-Aware Physical Adversarial Examples in Real-Time", "abstract": "Physical adversarial examples (PAEs) are regarded as whistle-blowers of real-world risks in deep-learning applications, thus worth further investigation. However, current PAE generation studies show limited adaptive attacking ability to diverse and varying scenes, revealing the urgent requirement of dynamic PAEs that are generated in real time and conditioned on the observation from the attacker. The key challenge in generating dynamic PAEs is learning the sparse relation between PAEs and the observation of attackers under the noisy feedback of attack training. To address the challenge, we present DynamicPAE, the first generative framework that enables scene-aware real-time physical attacks. Specifically, to address the noisy feedback problem that obfuscates the exploration of scene-related PAEs, we introduce the residual-guided adversarial pattern exploration technique. Residual-guided training, which relaxes the attack training with a reconstruction task, is proposed to enrich the feedback information, thereby achieving a more comprehensive exploration of PAEs. To address the alignment problem between the trained generator and the real-world scenario, we introduce the distribution-matched attack scenario alignment, consisting of the conditional-uncertainty-aligned data module and the skewness-aligned objective re-weighting module. The former aligns the training environment with the incomplete observation of the real-world attacker. The latter facilitates consistent stealth control across different attack targets with the skewness controller. Extensive digital and physical evaluations demonstrate the superior attack performance of DynamicPAE, attaining a 2.07 $\\times$ boost (58.8% average AP drop under attack) on representative object detectors (e.g., DETR) over state-of-the-art static PAE generating methods. Overall, our work opens the door to end-to-end modeling of dynamic PAEs.", "date": "2024-12-11", "categories": []} {"id": "2501.01015", "title": "Boosting Adversarial Transferability with Spatial Adversarial Alignment", "abstract": "Deep neural networks are vulnerable to adversarial examples that exhibit transferability across various models. Numerous approaches are proposed to enhance the transferability of adversarial examples, including advanced optimization, data augmentation, and model modifications. However, these methods still show limited transferability, particularly in cross-architecture scenarios, such as from CNN to ViT. To achieve high transferability, we propose a technique termed Spatial Adversarial Alignment (SAA), which employs an alignment loss and leverages a witness model to fine-tune the surrogate model. Specifically, SAA consists of two key parts: spatial-aware alignment and adversarial-aware alignment. First, we minimize the divergences of features between the two models in both global and local regions, facilitating spatial alignment. Second, we introduce a self-adversarial strategy that leverages adversarial examples to impose further constraints, aligning features from an adversarial perspective. Through this alignment, the surrogate model is trained to concentrate on the common features extracted by the witness model. This facilitates adversarial attacks on these shared features, thereby yielding perturbations that exhibit enhanced transferability. Extensive experiments on various architectures on ImageNet show that aligned surrogate models based on SAA can provide higher transferable adversarial examples, especially in cross-architecture attacks.", "date": "2025-01-02", "categories": []} {"id": "2506.09237", "title": "PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomalies", "abstract": "Anomaly Detection (AD) and Anomaly Localization (AL) are crucial in fields that demand high reliability, such as medical imaging and industrial monitoring. However, current AD and AL approaches are often susceptible to adversarial attacks due to limitations in training data, which typically include only normal, unlabeled samples. This study introduces PatchGuard, an adversarially robust AD and AL method that incorporates pseudo anomalies with localization masks within a Vision Transformer (ViT)-based architecture to address these vulnerabilities. We begin by examining the essential properties of pseudo anomalies, and follow it by providing theoretical insights into the attention mechanisms required to enhance the adversarial robustness of AD and AL systems. We then present our approach, which leverages Foreground-Aware Pseudo-Anomalies to overcome the deficiencies of previous anomaly-aware methods. Our method incorporates these crafted pseudo-anomaly samples into a ViT-based framework, with adversarial training guided by a novel loss function designed to improve model robustness, as supported by our theoretical analysis. Experimental results on well-established industrial and medical datasets demonstrate that PatchGuard significantly outperforms previous methods in adversarial settings, achieving performance gains of $53.2\\%$ in AD and $68.5\\%$ in AL, while also maintaining competitive accuracy in non-adversarial settings. The code repository is available at https://github.com/rohban-lab/PatchGuard .", "date": "2025-06-10", "categories": []} {"id": "2506.09538", "title": "AngleRoCL: Angle-Robust Concept Learning for Physically View-Invariant T2I Adversarial Patches", "abstract": "Cutting-edge works have demonstrated that text-to-image (T2I) diffusion models can generate adversarial patches that mislead state-of-the-art object detectors in the physical world, revealing detectors' vulnerabilities and risks. However, these methods neglect the T2I patches' attack effectiveness when observed from different views in the physical world (i.e., angle robustness of the T2I adversarial patches). In this paper, we study the angle robustness of T2I adversarial patches comprehensively, revealing their angle-robust issues, demonstrating that texts affect the angle robustness of generated patches significantly, and task-specific linguistic instructions fail to enhance the angle robustness. Motivated by the studies, we introduce Angle-Robust Concept Learning (AngleRoCL), a simple and flexible approach that learns a generalizable concept (i.e., text embeddings in implementation) representing the capability of generating angle-robust patches. The learned concept can be incorporated into textual prompts and guides T2I models to generate patches with their attack effectiveness inherently resistant to viewpoint variations. Through extensive simulation and physical-world experiments on five SOTA detectors across multiple views, we demonstrate that AngleRoCL significantly enhances the angle robustness of T2I adversarial patches compared to baseline methods. Our patches maintain high attack success rates even under challenging viewing conditions, with over 50% average relative improvement in attack effectiveness across multiple angles. This research advances the understanding of physically angle-robust patches and provides insights into the relationship between textual concepts and physical properties in T2I-generated contents. We released our code at https://github.com/tsingqguo/anglerocl.", "date": "2025-06-11", "categories": []} {"id": "2509.15551", "title": "PolyJuice Makes It Real: Black-Box, Universal Red Teaming for Synthetic Image Detectors", "abstract": "Synthetic image detectors (SIDs) are a key defense against the risks posed by the growing realism of images from text-to-image (T2I) models. Red teaming improves SID's effectiveness by identifying and exploiting their failure modes via misclassified synthetic images. However, existing red-teaming solutions (i) require white-box access to SIDs, which is infeasible for proprietary state-of-the-art detectors, and (ii) generate image-specific attacks through expensive online optimization. To address these limitations, we propose PolyJuice, the first black-box, image-agnostic red-teaming method for SIDs, based on an observed distribution shift in the T2I latent space between samples correctly and incorrectly classified by the SID. PolyJuice generates attacks by (i) identifying the direction of this shift through a lightweight offline process that only requires black-box access to the SID, and (ii) exploiting this direction by universally steering all generated images towards the SID's failure modes. PolyJuice-steered T2I models are significantly more effective at deceiving SIDs (up to 84%) compared to their unsteered counterparts. We also show that the steering directions can be estimated efficiently at lower resolutions and transferred to higher resolutions using simple interpolation, reducing computational overhead. Finally, tuning SID models on PolyJuice-augmented datasets notably enhances the performance of the detectors (up to 30%).", "date": "2025-09-19", "categories": []} {"id": "2510.20883", "title": "Kernel Learning with Adversarial Features: Numerical Efficiency and Adaptive Regularization", "abstract": "Adversarial training has emerged as a key technique to enhance model robustness against adversarial input perturbations. Many of the existing methods rely on computationally expensive min-max problems that limit their application in practice. We propose a novel formulation of adversarial training in reproducing kernel Hilbert spaces, shifting from input to feature-space perturbations. This reformulation enables the exact solution of inner maximization and efficient optimization. It also provides a regularized estimator that naturally adapts to the noise level and the smoothness of the underlying function. We establish conditions under which the feature-perturbed formulation is a relaxation of the original problem and propose an efficient optimization algorithm based on iterative kernel ridge regression. We provide generalization bounds that help to understand the properties of the method. We also extend the formulation to multiple kernel learning. Empirical evaluation shows good performance in both clean and adversarial settings.", "date": "2025-10-23", "categories": []} {"id": "2510.21532", "title": "FrameShield: Adversarially Robust Video Anomaly Detection", "abstract": "Weakly Supervised Video Anomaly Detection (WSVAD) has achieved notable advancements, yet existing models remain vulnerable to adversarial attacks, limiting their reliability. Due to the inherent constraints of weak supervision, where only video-level labels are provided despite the need for frame-level predictions, traditional adversarial defense mechanisms, such as adversarial training, are not effective since video-level adversarial perturbations are typically weak and inadequate. To address this limitation, pseudo-labels generated directly from the model can enable frame-level adversarial training; however, these pseudo-labels are inherently noisy, significantly degrading performance. We therefore introduce a novel Pseudo-Anomaly Generation method called Spatiotemporal Region Distortion (SRD), which creates synthetic anomalies by applying severe augmentations to localized regions in normal videos while preserving temporal consistency. Integrating these precisely annotated synthetic anomalies with the noisy pseudo-labels substantially reduces label noise, enabling effective adversarial training. Extensive experiments demonstrate that our method significantly enhances the robustness of WSVAD models against adversarial attacks, outperforming state-of-the-art methods by an average of 71.0\\% in overall AUROC performance across multiple benchmarks. The implementation and code are publicly available at https://github.com/rohban-lab/FrameShield.", "date": "2025-10-24", "categories": []} {"id": "2506.07031", "title": "HauntAttack: When Attack Follows Reasoning as a Shadow", "abstract": "Emerging Large Reasoning Models (LRMs) consistently excel in mathematical and reasoning tasks, showcasing remarkable capabilities. However, the enhancement of reasoning abilities and the exposure of internal reasoning processes introduce new safety vulnerabilities. A critical question arises: when reasoning becomes intertwined with harmfulness, will LRMs become more vulnerable to jailbreaks in reasoning mode? To investigate this, we introduce HauntAttack, a novel and general-purpose black-box adversarial attack framework that systematically embeds harmful instructions into reasoning questions. Specifically, we modify key reasoning conditions in existing questions with harmful instructions, thereby constructing a reasoning pathway that guides the model step by step toward unsafe outputs. We evaluate HauntAttack on 11 LRMs and observe an average attack success rate of 70\\%, achieving up to 12 percentage points of absolute improvement over the strongest prior baseline. Our further analysis reveals that even advanced safety-aligned models remain highly susceptible to reasoning-based attacks, offering insights into the urgent challenge of balancing reasoning capability and safety in future model development.", "date": "2025-06-08", "categories": []} {"id": "2508.14757", "title": "Distributional Adversarial Attacks and Training in Deep Hedging", "abstract": "In this paper, we study the robustness of classical deep hedging strategies under distributional shifts by leveraging the concept of adversarial attacks. We first demonstrate that standard deep hedging models are highly vulnerable to small perturbations in the input distribution, resulting in significant performance degradation. Motivated by this, we propose an adversarial training framework tailored to increase the robustness of deep hedging strategies. Our approach extends pointwise adversarial attacks to the distributional setting and introduces a computationally tractable reformulation of the adversarial optimization problem over a Wasserstein ball. This enables the efficient training of hedging strategies that are resilient to distributional perturbations. Through extensive numerical experiments, we show that adversarially trained deep hedging strategies consistently outperform their classical counterparts in terms of out-of-sample performance and resilience to model misspecification. Additional results indicate that the robust strategies maintain reliable performance on real market data and remain effective during periods of market change. Our findings establish a practical and effective framework for robust deep hedging under realistic market uncertainties.", "date": "2025-08-20", "categories": []} {"id": "2510.19977", "title": "Towards Strong Certified Defense with Universal Asymmetric Randomization", "abstract": "Randomized smoothing has become essential for achieving certified adversarial robustness in machine learning models. However, current methods primarily use isotropic noise distributions that are uniform across all data dimensions, such as image pixels, limiting the effectiveness of robustness certification by ignoring the heterogeneity of inputs and data dimensions. To address this limitation, we propose UCAN: a novel technique that \\underline{U}niversally \\underline{C}ertifies adversarial robustness with \\underline{A}nisotropic \\underline{N}oise. UCAN is designed to enhance any existing randomized smoothing method, transforming it from symmetric (isotropic) to asymmetric (anisotropic) noise distributions, thereby offering a more tailored defense against adversarial attacks. Our theoretical framework is versatile, supporting a wide array of noise distributions for certified robustness in different $\\ell_p$-norms and applicable to any arbitrary classifier by guaranteeing the classifier's prediction over perturbed inputs with provable robustness bounds through tailored noise injection. Additionally, we develop a novel framework equipped with three exemplary noise parameter generators (NPGs) to optimally fine-tune the anisotropic noise parameters for different data dimensions, allowing for pursuing different levels of robustness enhancements in practice.Empirical evaluations underscore the significant leap in UCAN's performance over existing state-of-the-art methods, demonstrating up to $182.6\\%$ improvement in certified accuracy at large certified radii on MNIST, CIFAR10, and ImageNet datasets.\\footnote{Code is anonymously available at \\href{https://github.com/youbin2014/UCAN/}{https://github.com/youbin2014/UCAN/}}", "date": "2025-10-22", "categories": []} {"id": "2510.20314", "title": "Enhancing Security in Deep Reinforcement Learning: A Comprehensive Survey on Adversarial Attacks and Defenses", "abstract": "With the wide application of deep reinforcement learning (DRL) techniques in complex fields such as autonomous driving, intelligent manufacturing, and smart healthcare, how to improve its security and robustness in dynamic and changeable environments has become a core issue in current research. Especially in the face of adversarial attacks, DRL may suffer serious performance degradation or even make potentially dangerous decisions, so it is crucial to ensure their stability in security-sensitive scenarios. In this paper, we first introduce the basic framework of DRL and analyze the main security challenges faced in complex and changing environments. In addition, this paper proposes an adversarial attack classification framework based on perturbation type and attack target and reviews the mainstream adversarial attack methods against DRL in detail, including various attack methods such as perturbation state space, action space, reward function and model space. To effectively counter the attacks, this paper systematically summarizes various current robustness training strategies, including adversarial training, competitive training, robust learning, adversarial detection, defense distillation and other related defense techniques, we also discuss the advantages and shortcomings of these methods in improving the robustness of DRL. Finally, this paper looks into the future research direction of DRL in adversarial environments, emphasizing the research needs in terms of improving generalization, reducing computational complexity, and enhancing scalability and explainability, aiming to provide valuable references and directions for researchers.", "date": "2025-10-23", "categories": []} {"id": "2410.20893", "title": "Adversarial Attacks on LiDAR-Based Tracking Across Road Users: Robustness Evaluation and Target-Aware Black-Box Method", "abstract": "In this study, we delve into the robustness of neural network-based LiDAR point cloud tracking models under adversarial attacks, a critical aspect often overlooked in favor of performance enhancement. These models, despite incorporating advanced architectures like Transformer or Bird's Eye View (BEV), tend to neglect robustness in the face of challenges such as adversarial attacks, domain shifts, or data corruption. We instead focus on the robustness of the tracking models under the threat of adversarial attacks. We begin by establishing a unified framework for conducting adversarial attacks within the context of 3D object tracking, which allows us to thoroughly investigate both white-box and black-box attack strategies. For white-box attacks, we tailor specific loss functions to accommodate various tracking paradigms and extend existing methods such as FGSM, C\\&W, and PGD to the point cloud domain. In addressing black-box attack scenarios, we introduce a novel transfer-based approach, the Target-aware Perturbation Generation (TAPG) algorithm, with the dual objectives of achieving high attack performance and maintaining low perceptibility. This method employs a heuristic strategy to enforce sparse attack constraints and utilizes random sub-vector factorization to bolster transferability. Our experimental findings reveal a significant vulnerability in advanced tracking methods when subjected to both black-box and white-box attacks, underscoring the necessity for incorporating robustness against adversarial attacks into the design of LiDAR point cloud tracking models. Notably, compared to existing methods, the TAPG also strikes an optimal balance between the effectiveness of the attack and the concealment of the perturbations.", "date": "2024-10-28", "categories": []} {"id": "2502.01349", "title": "Bias Beware: The Impact of Cognitive Biases on LLM-Driven Product Recommendations", "abstract": "The advent of Large Language Models (LLMs) has revolutionized product recommenders, yet their susceptibility to adversarial manipulation poses critical challenges, particularly in real-world commercial applications. Our approach is the first one to tap into human psychological principles, seamlessly modifying product descriptions, making such manipulations hard to detect. In this work, we investigate cognitive biases as black-box adversarial strategies, drawing parallels between their effects on LLMs and human purchasing behavior. Through extensive evaluation across models of varying scale, we find that certain biases, such as social proof, consistently boost product recommendation rate and ranking, while others, like scarcity and exclusivity, surprisingly reduce visibility. Our results demonstrate that cognitive biases are deeply embedded in state-of-the-art LLMs, leading to highly unpredictable behavior in product recommendations and posing significant challenges for effective mitigation.", "date": "2025-02-03", "categories": []} {"id": "2510.18362", "title": "FeatureFool: Zero-Query Fooling of Video Models via Feature Map", "abstract": "The vulnerability of deep neural networks (DNNs) has been preliminarily verified. Existing black-box adversarial attacks usually require multi-round interaction with the model and consume numerous queries, which is impractical in the real-world and hard to scale to recently emerged Video-LLMs. Moreover, no attack in the video domain directly leverages feature maps to shift the clean-video feature space. We therefore propose FeatureFool, a stealthy, video-domain, zero-query black-box attack that utilizes information extracted from a DNN to alter the feature space of clean videos. Unlike query-based methods that rely on iterative interaction, FeatureFool performs a zero-query attack by directly exploiting DNN-extracted information. This efficient approach is unprecedented in the video domain. Experiments show that FeatureFool achieves an attack success rate above 70\\% against traditional video classifiers without any queries. Benefiting from the transferability of the feature map, it can also craft harmful content and bypass Video-LLM recognition. Additionally, adversarial videos generated by FeatureFool exhibit high quality in terms of SSIM, PSNR, and Temporal-Inconsistency, making the attack barely perceptible. This paper may contain violent or explicit content.", "date": "2025-10-21", "categories": []} {"id": "2510.19347", "title": "A New Type of Adversarial Examples", "abstract": "Most machine learning models are vulnerable to adversarial examples, which poses security concerns on these models. Adversarial examples are crafted by applying subtle but intentionally worst-case modifications to examples from the dataset, leading the model to output a different answer from the original example. In this paper, adversarial examples are formed in an exactly opposite manner, which are significantly different from the original examples but result in the same answer. We propose a novel set of algorithms to produce such adversarial examples, including the negative iterative fast gradient sign method (NI-FGSM) and the negative iterative fast gradient method (NI-FGM), along with their momentum variants: the negative momentum iterative fast gradient sign method (NMI-FGSM) and the negative momentum iterative fast gradient method (NMI-FGM). Adversarial examples constructed by these methods could be used to perform an attack on machine learning systems in certain occasions. Moreover, our results show that the adversarial examples are not merely distributed in the neighbourhood of the examples from the dataset; instead, they are distributed extensively in the sample space.", "date": "2025-10-22", "categories": []} {"id": "2510.19427", "title": "Revisiting the Relation Between Robustness and Universality", "abstract": "The modified universality hypothesis proposed by Jones et al. (2022) suggests that adversarially robust models trained for a given task are highly similar. We revisit the hypothesis and test its generality. While we verify Jones' main claim of high representational similarity in specific settings, results are not consistent across different datasets. We also discover that predictive behavior does not converge with increasing robustness and thus is not universal. We find that differing predictions originate in the classification layer, but show that more universal predictive behavior can be achieved with simple retraining of the classifiers. Overall, our work points towards partial universality of neural networks in specific settings and away from notions of strict universality.", "date": "2025-10-22", "categories": []} {"id": "2510.19574", "title": "Can You Trust What You See? Alpha Channel No-Box Attacks on Video Object Detection", "abstract": "As object detection models are increasingly deployed in cyber-physical systems such as autonomous vehicles (AVs) and surveillance platforms, ensuring their security against adversarial threats is essential. While prior work has explored adversarial attacks in the image domain, those attacks in the video domain remain largely unexamined, especially in the no-box setting. In this paper, we present {\\alpha}-Cloak, the first no-box adversarial attack on object detectors that operates entirely through the alpha channel of RGBA videos. {\\alpha}-Cloak exploits the alpha channel to fuse a malicious target video with a benign video, resulting in a fused video that appears innocuous to human viewers but consistently fools object detectors. Our attack requires no access to model architecture, parameters, or outputs, and introduces no perceptible artifacts. We systematically study the support for alpha channels across common video formats and playback applications, and design a fusion algorithm that ensures visual stealth and compatibility. We evaluate {\\alpha}-Cloak on five state-of-the-art object detectors, a vision-language model, and a multi-modal large language model (Gemini-2.0-Flash), demonstrating a 100% attack success rate across all scenarios. Our findings reveal a previously unexplored vulnerability in video-based perception systems, highlighting the urgent need for defenses that account for the alpha channel in adversarial settings.", "date": "2025-10-22", "categories": []} {"id": "2510.19641", "title": "Style Attack Disguise: When Fonts Become a Camouflage for Adversarial Intent", "abstract": "With social media growth, users employ stylistic fonts and font-like emoji to express individuality, creating visually appealing text that remains human-readable. However, these fonts introduce hidden vulnerabilities in NLP models: while humans easily read stylistic text, models process these characters as distinct tokens, causing interference. We identify this human-model perception gap and propose a style-based attack, Style Attack Disguise (SAD). We design two sizes: light for query efficiency and strong for superior attack performance. Experiments on sentiment classification and machine translation across traditional models, LLMs, and commercial services demonstrate SAD's strong attack performance. We also show SAD's potential threats to multimodal tasks including text-to-image and text-to-speech generation.", "date": "2025-10-22", "categories": []} {"id": "2510.19761", "title": "Exploring the Effect of DNN Depth on Adversarial Attacks in Network Intrusion Detection Systems", "abstract": "Adversarial attacks pose significant challenges to Machine Learning (ML) systems and especially Deep Neural Networks (DNNs) by subtly manipulating inputs to induce incorrect predictions. This paper investigates whether increasing the layer depth of deep neural networks affects their robustness against adversarial attacks in the Network Intrusion Detection System (NIDS) domain. We compare the adversarial robustness of various deep neural networks across both \\ac{NIDS} and computer vision domains (the latter being widely used in adversarial attack experiments). Our experimental results reveal that in the NIDS domain, adding more layers does not necessarily improve their performance, yet it may actually significantly degrade their robustness against adversarial attacks. Conversely, in the computer vision domain, adding more layers exhibits a more modest impact on robustness. These findings can guide the development of robust neural networks for (NIDS) applications and highlight the unique characteristics of network security domains within the (ML) landscape.", "date": "2025-10-22", "categories": []} {"id": "2510.18381", "title": "S2AP: Score-space Sharpness Minimization for Adversarial Pruning", "abstract": "Adversarial pruning methods have emerged as a powerful tool for compressing neural networks while preserving robustness against adversarial attacks. These methods typically follow a three-step pipeline: (i) pretrain a robust model, (ii) select a binary mask for weight pruning, and (iii) finetune the pruned model. To select the binary mask, these methods minimize a robust loss by assigning an importance score to each weight, and then keep the weights with the highest scores. However, this score-space optimization can lead to sharp local minima in the robust loss landscape and, in turn, to an unstable mask selection, reducing the robustness of adversarial pruning methods. To overcome this issue, we propose a novel plug-in method for adversarial pruning, termed Score-space Sharpness-aware Adversarial Pruning (S2AP). Through our method, we introduce the concept of score-space sharpness minimization, which operates during the mask search by perturbing importance scores and minimizing the corresponding robust loss. Extensive experiments across various datasets, models, and sparsity levels demonstrate that S2AP effectively minimizes sharpness in score space, stabilizing the mask selection, and ultimately improving the robustness of adversarial pruning methods.", "date": "2025-10-21", "categories": []} {"id": "2510.18728", "title": "HarmNet: A Framework for Adaptive Multi-Turn Jailbreak Attacks on Large Language Models", "abstract": "Large Language Models (LLMs) remain vulnerable to multi-turn jailbreak attacks. We introduce HarmNet, a modular framework comprising ThoughtNet, a hierarchical semantic network; a feedback-driven Simulator for iterative query refinement; and a Network Traverser for real-time adaptive attack execution. HarmNet systematically explores and refines the adversarial space to uncover stealthy, high-success attack paths. Experiments across closed-source and open-source LLMs show that HarmNet outperforms state-of-the-art methods, achieving higher attack success rates. For example, on Mistral-7B, HarmNet achieves a 99.4% attack success rate, 13.9% higher than the best baseline. Index terms: jailbreak attacks; large language models; adversarial framework; query refinement.", "date": "2025-10-21", "categories": []} {"id": "2303.04238", "title": "Patch of Invisibility: Naturalistic Physical Black-Box Adversarial Attacks on Object Detectors", "abstract": "Adversarial attacks on deep learning models have received increased attention in recent years. Work in this area has mostly focused on gradient-based techniques, so-called 'white-box' attacks, where the attacker has access to the targeted model's internal parameters; such an assumption is usually untenable in the real world. Additionally, some attacks use the entire pixel space to fool a given model, which is neither practical nor physical. To accommodate these problems we propose the BBNP algorithm (Black-Box Naturalistic Patch): a direct, black-box, naturalistic, gradient-free method that uses the learned image manifold of a pretrained, generative adversarial network (GAN) to generate naturalistic adversarial patches for object detectors. This method performs model-agnostic black-box naturalistic attacks on object detection models by relying solely on the outputs of the model. Comparing our approach against five models, five black-box and two white-box attacks, we show that our proposed method achieves state-of-the-art results, outperforming all other tested black-box approaches.", "date": "2023-03-07", "categories": []} {"id": "2509.19360", "title": "Semantic Representation Attack against Aligned Large Language Models", "abstract": "Large Language Models (LLMs) increasingly employ alignment techniques to prevent harmful outputs. Despite these safeguards, attackers can circumvent them by crafting prompts that induce LLMs to generate harmful content.\n Current methods typically target exact affirmative responses, such as ``Sure, here is...'', suffering from limited convergence, unnatural prompts, and high computational costs.\n We introduce Semantic Representation Attack, a novel paradigm that fundamentally reconceptualizes adversarial objectives against aligned LLMs.\n Rather than targeting exact textual patterns, our approach exploits the semantic representation space comprising diverse responses with equivalent harmful meanings.\n This innovation resolves the inherent trade-off between attack efficacy and prompt naturalness that plagues existing methods.\n The Semantic Representation Heuristic Search algorithm is proposed to efficiently generate semantically coherent and concise adversarial prompts by maintaining interpretability during incremental expansion.\n We establish rigorous theoretical guarantees for semantic convergence and demonstrate that our method achieves unprecedented attack success rates (89.41\\% averaged across 18 LLMs, including 100\\% on 11 models) while maintaining stealthiness and efficiency.\n Comprehensive experimental results confirm the overall superiority of our Semantic Representation Attack.\n The code will be publicly available.", "date": "2025-09-18", "categories": []} {"id": "2510.15965", "title": "One Token Embedding Is Enough to Deadlock Your Large Reasoning Model", "abstract": "Modern large reasoning models (LRMs) exhibit impressive multi-step problem-solving via chain-of-thought (CoT) reasoning. However, this iterative thinking mechanism introduces a new vulnerability surface. We present the Deadlock Attack, a resource exhaustion method that hijacks an LRM's generative control flow by training a malicious adversarial embedding to induce perpetual reasoning loops. Specifically, the optimized embedding encourages transitional tokens (e.g., \"Wait\", \"But\") after reasoning steps, preventing the model from concluding its answer. A key challenge we identify is the continuous-to-discrete projection gap: na\\\"ive projections of adversarial embeddings to token sequences nullify the attack. To overcome this, we introduce a backdoor implantation strategy, enabling reliable activation through specific trigger tokens. Our method achieves a 100% attack success rate across four advanced LRMs (Phi-RM, Nemotron-Nano, R1-Qwen, R1-Llama) and three math reasoning benchmarks, forcing models to generate up to their maximum token limits. The attack is also stealthy (in terms of causing negligible utility loss on benign user inputs) and remains robust against existing strategies trying to mitigate the overthinking issue. Our findings expose a critical and underexplored security vulnerability in LRMs from the perspective of reasoning (in)efficiency.", "date": "2025-10-12", "categories": []} {"id": "2510.15973", "title": "Safeguarding Efficacy in Large Language Models: Evaluating Resistance to Human-Written and Algorithmic Adversarial Prompts", "abstract": "This paper presents a systematic security assessment of four prominent Large Language Models (LLMs) against diverse adversarial attack vectors. We evaluate Phi-2, Llama-2-7B-Chat, GPT-3.5-Turbo, and GPT-4 across four distinct attack categories: human-written prompts, AutoDAN, Greedy Coordinate Gradient (GCG), and Tree-of-Attacks-with-pruning (TAP). Our comprehensive evaluation employs 1,200 carefully stratified prompts from the SALAD-Bench dataset, spanning six harm categories. Results demonstrate significant variations in model robustness, with Llama-2 achieving the highest overall security (3.4% average attack success rate) while Phi-2 exhibits the greatest vulnerability (7.0% average attack success rate). We identify critical transferability patterns where GCG and TAP attacks, though ineffective against their target model (Llama-2), achieve substantially higher success rates when transferred to other models (up to 17% for GPT-4). Statistical analysis using Friedman tests reveals significant differences in vulnerability across harm categories ($p < 0.001$), with malicious use prompts showing the highest attack success rates (10.71% average). Our findings contribute to understanding cross-model security vulnerabilities and provide actionable insights for developing targeted defense mechanisms", "date": "2025-10-12", "categories": []} {"id": "2510.16005", "title": "Breaking Guardrails, Facing Walls: Insights on Adversarial AI for Defenders & Researchers", "abstract": "Analyzing 500 CTF participants, this paper shows that while participants readily bypassed simple AI guardrails using common techniques, layered multi-step defenses still posed significant challenges, offering concrete insights for building safer AI systems.", "date": "2025-10-14", "categories": []} {"id": "2510.16259", "title": "Distractor Injection Attacks on Large Reasoning Models: Characterization and Defense", "abstract": "Recent advances in large reasoning models (LRMs) have enabled remarkable performance on complex tasks such as mathematics and coding by generating long Chain-of-Thought (CoT) traces. In this paper, we identify and systematically analyze a critical vulnerability we term reasoning distraction, where LRMs are diverted from their primary objective by irrelevant yet complex tasks maliciously embedded in the prompt. Through a comprehensive study across diverse models and benchmarks, we show that even state-of-the-art LRMs are highly susceptible, with injected distractors reducing task accuracy by up to 60%. We further reveal that certain alignment techniques can amplify this weakness and that models may exhibit covert compliance, following hidden adversarial instructions in reasoning while concealing them in the final output. To mitigate these risks, we propose a training-based defense that combines Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) on synthetic adversarial data, improving robustness by over 50 points on challenging distractor attacks. Our findings establish reasoning distraction as a distinct and urgent threat to LRM reliability and provide a practical step toward safer and more trustworthy reasoning systems.", "date": "2025-10-17", "categories": []} {"id": "2510.16440", "title": "Colliding with Adversaries at ECML-PKDD 2025 Adversarial Attack Competition 1st Prize Solution", "abstract": "This report presents the winning solution for Task 1 of Colliding with Adversaries: A Challenge on Robust Learning in High Energy Physics Discovery at ECML-PKDD 2025. The task required designing an adversarial attack against a provided classification model that maximizes misclassification while minimizing perturbations. Our approach employs a multi-round gradient-based strategy that leverages the differentiable structure of the model, augmented with random initialization and sample-mixing techniques to enhance effectiveness. The resulting attack achieved the best results in perturbation size and fooling success rate, securing first place in the competition.", "date": "2025-10-18", "categories": []} {"id": "2510.16581", "title": "Patronus: Safeguarding Text-to-Image Models against White-Box Adversaries", "abstract": "Text-to-image (T2I) models, though exhibiting remarkable creativity in image generation, can be exploited to produce unsafe images. Existing safety measures, e.g., content moderation or model alignment, fail in the presence of white-box adversaries who know and can adjust model parameters, e.g., by fine-tuning. This paper presents a novel defensive framework, named Patronus, which equips T2I models with holistic protection to defend against white-box adversaries. Specifically, we design an internal moderator that decodes unsafe input features into zero vectors while ensuring the decoding performance of benign input features. Furthermore, we strengthen the model alignment with a carefully designed non-fine-tunable learning mechanism, ensuring the T2I model will not be compromised by malicious fine-tuning. We conduct extensive experiments to validate the intactness of the performance on safe content generation and the effectiveness of rejecting unsafe content generation. Results also confirm the resilience of Patronus against various fine-tuning attacks by white-box adversaries.", "date": "2025-10-18", "categories": []} {"id": "2510.16637", "title": "A Versatile Framework for Designing Group-Sparse Adversarial Attacks", "abstract": "Existing adversarial attacks often neglect perturbation sparsity, limiting their ability to model structural changes and to explain how deep neural networks (DNNs) process meaningful input patterns. We propose ATOS (Attack Through Overlapping Sparsity), a differentiable optimization framework that generates structured, sparse adversarial perturbations in element-wise, pixel-wise, and group-wise forms. For white-box attacks on image classifiers, we introduce the Overlapping Smoothed L0 (OSL0) function, which promotes convergence to a stationary point while encouraging sparse, structured perturbations. By grouping channels and adjacent pixels, ATOS improves interpretability and helps identify robust versus non-robust features. We approximate the L-infinity gradient using the logarithm of the sum of exponential absolute values to tightly control perturbation magnitude. On CIFAR-10 and ImageNet, ATOS achieves a 100% attack success rate while producing significantly sparser and more structurally coherent perturbations than prior methods. The structured group-wise attack highlights critical regions from the network's perspective, providing counterfactual explanations by replacing class-defining regions with robust features from the target class.", "date": "2025-10-18", "categories": []} {"id": "2510.17322", "title": "A Single Set of Adversarial Clothes Breaks Multiple Defense Methods in the Physical World", "abstract": "In recent years, adversarial attacks against deep learning-based object detectors in the physical world have attracted much attention. To defend against these attacks, researchers have proposed various defense methods against adversarial patches, a typical form of physically-realizable attack. However, our experiments showed that simply enlarging the patch size could make these defense methods fail. Motivated by this, we evaluated various defense methods against adversarial clothes which have large coverage over the human body. Adversarial clothes provide a good test case for adversarial defense against patch-based attacks because they not only have large sizes but also look more natural than a large patch on humans. Experiments show that all the defense methods had poor performance against adversarial clothes in both the digital world and the physical world. In addition, we crafted a single set of clothes that broke multiple defense methods on Faster R-CNN. The set achieved an Attack Success Rate (ASR) of 96.06% against the undefended detector and over 64.84% ASRs against nine defended models in the physical world, unveiling the common vulnerability of existing adversarial defense methods against adversarial clothes. Code is available at: https://github.com/weiz0823/adv-clothes-break-multiple-defenses.", "date": "2025-10-20", "categories": []} {"id": "2505.11717", "title": "WebInject: Prompt Injection Attack to Web Agents", "abstract": "Multi-modal large language model (MLLM)-based web agents interact with webpage environments by generating actions based on screenshots of the webpages. In this work, we propose WebInject, a prompt injection attack that manipulates the webpage environment to induce a web agent to perform an attacker-specified action. Our attack adds a perturbation to the raw pixel values of the rendered webpage. After these perturbed pixels are mapped into a screenshot, the perturbation induces the web agent to perform the attacker-specified action. We formulate the task of finding the perturbation as an optimization problem. A key challenge in solving this problem is that the mapping between raw pixel values and screenshot is non-differentiable, making it difficult to backpropagate gradients to the perturbation. To overcome this, we train a neural network to approximate the mapping and apply projected gradient descent to solve the reformulated optimization problem. Extensive evaluation on multiple datasets shows that WebInject is highly effective and significantly outperforms baselines.", "date": "2025-05-16", "categories": []} {"id": "2507.04100", "title": "Hierarchical Testing with Rabbit Optimization for Industrial Cyber-Physical Systems", "abstract": "This paper presents HERO (Hierarchical Testing with Rabbit Optimization), a novel black-box adversarial testing framework for evaluating the robustness of deep learning-based Prognostics and Health Management systems in Industrial Cyber-Physical Systems. Leveraging Artificial Rabbit Optimization, HERO generates physically constrained adversarial examples that align with real-world data distributions via global and local perspective. Its generalizability ensures applicability across diverse ICPS scenarios. This study specifically focuses on the Proton Exchange Membrane Fuel Cell system, chosen for its highly dynamic operational conditions, complex degradation mechanisms, and increasing integration into ICPS as a sustainable and efficient energy solution. Experimental results highlight HERO's ability to uncover vulnerabilities in even state-of-the-art PHM models, underscoring the critical need for enhanced robustness in real-world applications. By addressing these challenges, HERO demonstrates its potential to advance more resilient PHM systems across a wide range of ICPS domains.", "date": "2025-07-05", "categories": []} {"id": "2507.17725", "title": "On the Interaction of Compressibility and Adversarial Robustness", "abstract": "Modern neural networks are expected to simultaneously satisfy a host of desirable properties: accurate fitting to training data, generalization to unseen inputs, parameter and computational efficiency, and robustness to adversarial perturbations. While compressibility and robustness have each been studied extensively, a unified understanding of their interaction still remains elusive. In this work, we develop a principled framework to analyze how different forms of compressibility - such as neuron-level sparsity and spectral compressibility - affect adversarial robustness. We show that these forms of compression can induce a small number of highly sensitive directions in the representation space, which adversaries can exploit to construct effective perturbations. Our analysis yields a simple yet instructive robustness bound, revealing how neuron and spectral compressibility impact $L_\\infty$ and $L_2$ robustness via their effects on the learned representations. Crucially, the vulnerabilities we identify arise irrespective of how compression is achieved - whether via regularization, architectural bias, or implicit learning dynamics. Through empirical evaluations across synthetic and realistic tasks, we confirm our theoretical predictions, and further demonstrate that these vulnerabilities persist under adversarial training and transfer learning, and contribute to the emergence of universal adversarial perturbations. Our findings show a fundamental tension between structured compressibility and robustness, and suggest new pathways for designing models that are both efficient and secure.", "date": "2025-07-23", "categories": []} {"id": "2510.15333", "title": "Backdoor or Manipulation? Graph Mixture of Experts Can Defend Against Various Graph Adversarial Attacks", "abstract": "Extensive research has highlighted the vulnerability of graph neural networks (GNNs) to adversarial attacks, including manipulation, node injection, and the recently emerging threat of backdoor attacks. However, existing defenses typically focus on a single type of attack, lacking a unified approach to simultaneously defend against multiple threats. In this work, we leverage the flexibility of the Mixture of Experts (MoE) architecture to design a scalable and unified framework for defending against backdoor, edge manipulation, and node injection attacks. Specifically, we propose an MI-based logic diversity loss to encourage individual experts to focus on distinct neighborhood structures in their decision processes, thus ensuring a sufficient subset of experts remains unaffected under perturbations in local structures. Moreover, we introduce a robustness-aware router that identifies perturbation patterns and adaptively routes perturbed nodes to corresponding robust experts. Extensive experiments conducted under various adversarial settings demonstrate that our method consistently achieves superior robustness against multiple graph adversarial attacks.", "date": "2025-10-17", "categories": []} {"id": "2510.15699", "title": "Constrained Adversarial Perturbation", "abstract": "Deep neural networks have achieved remarkable success in a wide range of classification tasks. However, they remain highly susceptible to adversarial examples - inputs that are subtly perturbed to induce misclassification while appearing unchanged to humans. Among various attack strategies, Universal Adversarial Perturbations (UAPs) have emerged as a powerful tool for both stress testing model robustness and facilitating scalable adversarial training. Despite their effectiveness, most existing UAP methods neglect domain specific constraints that govern feature relationships. Violating such constraints, such as debt to income ratios in credit scoring or packet flow invariants in network communication, can render adversarial examples implausible or easily detectable, thereby limiting their real world applicability.\n In this work, we advance universal adversarial attacks to constrained feature spaces by formulating an augmented Lagrangian based min max optimization problem that enforces multiple, potentially complex constraints of varying importance. We propose Constrained Adversarial Perturbation (CAP), an efficient algorithm that solves this problem using a gradient based alternating optimization strategy. We evaluate CAP across diverse domains including finance, IT networks, and cyber physical systems, and demonstrate that it achieves higher attack success rates while significantly reducing runtime compared to existing baselines. Our approach also generalizes seamlessly to individual adversarial perturbations, where we observe similar strong performance gains. Finally, we introduce a principled procedure for learning feature constraints directly from data, enabling broad applicability across domains with structured input spaces.", "date": "2025-10-17", "categories": []} {"id": "2409.12394", "title": "The Fluorescent Veil: A Stealthy and Effective Physical Adversarial Patch Against Traffic Sign Recognition", "abstract": "Recently, traffic sign recognition (TSR) systems have become a prominent target for physical adversarial attacks. These attacks typically rely on conspicuous stickers and projections, or using invisible light and acoustic signals that can be easily blocked. In this paper, we introduce a novel attack medium, i.e., fluorescent ink, to design a stealthy and effective physical adversarial patch, namely FIPatch, to advance the state-of-the-art. Specifically, we first model the fluorescence effect in the digital domain to identify the optimal attack settings, which guide the real-world fluorescence parameters. By applying a carefully designed fluorescence perturbation to the target sign, the attacker can later trigger a fluorescent effect using invisible ultraviolet light, causing the TSR system to misclassify the sign and potentially leading to traffic accidents. We conducted a comprehensive evaluation to investigate the effectiveness of FIPatch, which shows a success rate of 98.31% in low-light conditions. Furthermore, our attack successfully bypasses five popular defenses and achieves a success rate of 96.72%.", "date": "2024-09-19", "categories": []} {"id": "2410.03999", "title": "Impact of Regularization on Calibration and Robustness: from the Representation Space Perspective", "abstract": "Recent studies have shown that regularization techniques using soft labels, e.g., label smoothing, Mixup, and CutMix, not only enhance image classification accuracy but also mitigate miscalibration due to overconfident predictions, and improve robustness against adversarial attacks. However, the underlying mechanisms of such improvements remain underexplored. In this paper, we offer a novel explanation from the perspective of the representation space (i.e., the space of the features obtained at the penultimate layer). Based on examination of decision boundaries and structure of features (or representation vectors), our study investigates confidence contours and gradient directions within the representation space. Furthermore, we analyze the adjustments in feature distributions due to regularization in relation to these contours and directions, from which we uncover central mechanisms inducing improved calibration and robustness. Our findings provide new insights into the characteristics of the high-dimensional representation space in relation to training and regularization using soft labels.", "date": "2024-10-05", "categories": []} {"id": "2505.24842", "title": "Cascading Adversarial Bias from Injection to Distillation in Language Models", "abstract": "Model distillation has become essential for creating smaller, deployable language models that retain larger system capabilities. However, widespread deployment raises concerns about resilience to adversarial manipulation. This paper investigates vulnerability of distilled models to adversarial injection of biased content during training. We demonstrate that adversaries can inject subtle biases into teacher models through minimal data poisoning, which propagates to student models and becomes significantly amplified. We propose two propagation modes: Untargeted Propagation, where bias affects multiple tasks, and Targeted Propagation, focusing on specific tasks while maintaining normal behavior elsewhere. With only 25 poisoned samples (0.25% poisoning rate), student models generate biased responses 76.9% of the time in targeted scenarios - higher than 69.4% in teacher models. For untargeted propagation, adversarial bias appears 6x-29x more frequently in student models on unseen tasks. We validate findings across six bias types (targeted advertisements, phishing links, narrative manipulations, insecure coding practices), various distillation methods, and different modalities spanning text and code generation. Our evaluation reveals shortcomings in current defenses - perplexity filtering, bias detection systems, and LLM-based autorater frameworks - against these attacks. Results expose significant security vulnerabilities in distilled models, highlighting need for specialized safeguards. We propose practical design principles for building effective adversarial bias mitigation strategies.", "date": "2025-05-30", "categories": []} {"id": "2507.21750", "title": "Adversarial Defence without Adversarial Defence: Enhancing Language Model Robustness via Instance-level Principal Component Removal", "abstract": "Pre-trained language models (PLMs) have driven substantial progress in natural language processing but remain vulnerable to adversarial attacks, raising concerns about their robustness in real-world applications. Previous studies have sought to mitigate the impact of adversarial attacks by introducing adversarial perturbations into the training process, either implicitly or explicitly. While both strategies enhance robustness, they often incur high computational costs. In this work, we propose a simple yet effective add-on module that enhances the adversarial robustness of PLMs by removing instance-level principal components, without relying on conventional adversarial defences or perturbing the original training data. Our approach transforms the embedding space to approximate Gaussian properties, thereby reducing its susceptibility to adversarial perturbations while preserving semantic relationships. This transformation aligns embedding distributions in a way that minimises the impact of adversarial noise on decision boundaries, enhancing robustness without requiring adversarial examples or costly training-time augmentation. Evaluations on eight benchmark datasets show that our approach improves adversarial robustness while maintaining comparable before-attack accuracy to baselines, achieving a balanced trade-off between robustness and generalisation.", "date": "2025-07-29", "categories": []} {"id": "2510.14231", "title": "When Flatness Does (Not) Guarantee Adversarial Robustness", "abstract": "Despite their empirical success, neural networks remain vulnerable to small, adversarial perturbations. A longstanding hypothesis suggests that flat minima, regions of low curvature in the loss landscape, offer increased robustness. While intuitive, this connection has remained largely informal and incomplete. By rigorously formalizing the relationship, we show this intuition is only partially correct: flatness implies local but not global adversarial robustness. To arrive at this result, we first derive a closed-form expression for relative flatness in the penultimate layer, and then show we can use this to constrain the variation of the loss in input space. This allows us to formally analyze the adversarial robustness of the entire network. We then show that to maintain robustness beyond a local neighborhood, the loss needs to curve sharply away from the data manifold. We validate our theoretical predictions empirically across architectures and datasets, uncovering the geometric structure that governs adversarial vulnerability, and linking flatness to model confidence: adversarial examples often lie in large, flat regions where the model is confidently wrong. Our results challenge simplified views of flatness and provide a nuanced understanding of its role in robustness.", "date": "2025-10-16", "categories": []} {"id": "2510.14460", "title": "Structured Universal Adversarial Attacks on Object Detection for Video Sequences", "abstract": "Video-based object detection plays a vital role in safety-critical applications. While deep learning-based object detectors have achieved impressive performance, they remain vulnerable to adversarial attacks, particularly those involving universal perturbations. In this work, we propose a minimally distorted universal adversarial attack tailored for video object detection, which leverages nuclear norm regularization to promote structured perturbations concentrated in the background. To optimize this formulation efficiently, we employ an adaptive, optimistic exponentiated gradient method that enhances both scalability and convergence. Our results demonstrate that the proposed attack outperforms both low-rank projected gradient descent and Frank-Wolfe based attacks in effectiveness while maintaining high stealthiness. All code and data are publicly available at https://github.com/jsve96/AO-Exp-Attack.", "date": "2025-10-16", "categories": []} {"id": "2307.11334", "title": "Improving Transferability of Adversarial Examples via Bayesian Attacks", "abstract": "The transferability of adversarial examples allows for the attack on unknown deep neural networks (DNNs), posing a serious threat to many applications and attracting great attention. In this paper, we improve the transferability of adversarial examples by incorporating the Bayesian formulation into both the model parameters and model input, enabling their joint diversification. We demonstrate that combination of Bayesian formulations for both the model input and model parameters yields significant improvements in transferability. By introducing advanced approximations of the posterior distribution over the model input, adversarial transferability achieves further enhancement, surpassing all state-of-the-arts when attacking without model fine-tuning. Additionally, we propose a principled approach to fine-tune model parameters within this Bayesian framework. Extensive experiments demonstrate that our method achieves a new state-of-the-art in transfer-based attacks, significantly improving the average success rate on ImageNet and CIFAR-10. Code at: https://github.com/qizhangli/MoreBayesian-jrnl.", "date": "2023-07-21", "categories": []} {"id": "2509.16494", "title": "Can an Individual Manipulate the Collective Decisions of Multi-Agents?", "abstract": "Individual Large Language Models (LLMs) have demonstrated significant capabilities across various domains, such as healthcare and law. Recent studies also show that coordinated multi-agent systems exhibit enhanced decision-making and reasoning abilities through collaboration. However, due to the vulnerabilities of individual LLMs and the difficulty of accessing all agents in a multi-agent system, a key question arises: If attackers only know one agent, could they still generate adversarial samples capable of misleading the collective decision? To explore this question, we formulate it as a game with incomplete information, where attackers know only one target agent and lack knowledge of the other agents in the system. With this formulation, we propose M-Spoiler, a framework that simulates agent interactions within a multi-agent system to generate adversarial samples. These samples are then used to manipulate the target agent in the target system, misleading the system's collaborative decision-making process. More specifically, M-Spoiler introduces a stubborn agent that actively aids in optimizing adversarial samples by simulating potential stubborn responses from agents in the target system. This enhances the effectiveness of the generated adversarial samples in misleading the system. Through extensive experiments across various tasks, our findings confirm the risks posed by the knowledge of an individual agent in multi-agent systems and demonstrate the effectiveness of our framework. We also explore several defense mechanisms, showing that our proposed attack framework remains more potent than baselines, underscoring the need for further research into defensive strategies.", "date": "2025-09-20", "categories": []} {"id": "2510.05173", "title": "SafeGuider: Robust and Practical Content Safety Control for Text-to-Image Models", "abstract": "Text-to-image models have shown remarkable capabilities in generating high-quality images from natural language descriptions. However, these models are highly vulnerable to adversarial prompts, which can bypass safety measures and produce harmful content. Despite various defensive strategies, achieving robustness against attacks while maintaining practical utility in real-world applications remains a significant challenge. To address this issue, we first conduct an empirical study of the text encoder in the Stable Diffusion (SD) model, which is a widely used and representative text-to-image model. Our findings reveal that the [EOS] token acts as a semantic aggregator, exhibiting distinct distributional patterns between benign and adversarial prompts in its embedding space. Building on this insight, we introduce SafeGuider, a two-step framework designed for robust safety control without compromising generation quality. SafeGuider combines an embedding-level recognition model with a safety-aware feature erasure beam search algorithm. This integration enables the framework to maintain high-quality image generation for benign prompts while ensuring robust defense against both in-domain and out-of-domain attacks. SafeGuider demonstrates exceptional effectiveness in minimizing attack success rates, achieving a maximum rate of only 5.48\\% across various attack scenarios. Moreover, instead of refusing to generate or producing black images for unsafe prompts, SafeGuider generates safe and meaningful images, enhancing its practical utility. In addition, SafeGuider is not limited to the SD model and can be effectively applied to other text-to-image models, such as the Flux model, demonstrating its versatility and adaptability across different architectures. We hope that SafeGuider can shed some light on the practical deployment of secure text-to-image systems.", "date": "2025-10-05", "categories": []} {"id": "2510.12939", "title": "Pruning Cannot Hurt Robustness: Certified Trade-offs in Reinforcement Learning", "abstract": "Reinforcement learning (RL) policies deployed in real-world environments must remain reliable under adversarial perturbations. At the same time, modern deep RL agents are heavily over-parameterized, raising costs and fragility concerns. While pruning has been shown to improve robustness in supervised learning, its role in adversarial RL remains poorly understood. We develop the first theoretical framework for certified robustness under pruning in state-adversarial Markov decision processes (SA-MDPs). For Gaussian and categorical policies with Lipschitz networks, we prove that element-wise pruning can only tighten certified robustness bounds; pruning never makes the policy less robust. Building on this, we derive a novel three-term regret decomposition that disentangles clean-task performance, pruning-induced performance loss, and robustness gains, exposing a fundamental performance--robustness frontier. Empirically, we evaluate magnitude and micro-pruning schedules on continuous-control benchmarks with strong policy-aware adversaries. Across tasks, pruning consistently uncovers reproducible ``sweet spots'' at moderate sparsity levels, where robustness improves substantially without harming - and sometimes even enhancing - clean performance. These results position pruning not merely as a compression tool but as a structural intervention for robust RL.", "date": "2025-10-14", "categories": []} {"id": "2510.13262", "title": "SAJA: A State-Action Joint Attack Framework on Multi-Agent Deep Reinforcement Learning", "abstract": "Multi-Agent Deep Reinforcement Learning (MADRL) has shown potential for cooperative and competitive tasks such as autonomous driving and strategic gaming. However, models trained by MADRL are vulnerable to adversarial perturbations on states and actions. Therefore, it is essential to investigate the robustness of MADRL models from an attack perspective. Existing studies focus on either state-only attacks or action-only attacks, but do not consider how to effectively joint them. Simply combining state and action perturbations such as randomly perturbing states and actions does not exploit their potential synergistic effects. In this paper, we propose the State-Action Joint Attack (SAJA) framework that has a good synergistic effects. SAJA consists of two important phases: (1) In the state attack phase, a multi-step gradient ascent method utilizes both the actor network and the critic network to compute an adversarial state, and (2) in the action attack phase, based on the perturbed state, a second gradient ascent uses the critic network to craft the final adversarial action. Additionally, a heuristic regularizer measuring the distance between the perturbed actions and the original clean ones is added into the loss function to enhance the effectiveness of the critic's guidance. We evaluate SAJA in the Multi-Agent Particle Environment (MPE), demonstrating that (1) it outperforms and is more stealthy than state-only or action-only attacks, and (2) existing state or action defense methods cannot defend its attacks.", "date": "2025-10-15", "categories": []} {"id": "2510.13361", "title": "Generalist++: A Meta-learning Framework for Mitigating Trade-off in Adversarial Training", "abstract": "Despite the rapid progress of neural networks, they remain highly vulnerable to adversarial examples, for which adversarial training (AT) is currently the most effective defense. While AT has been extensively studied, its practical applications expose two major limitations: natural accuracy tends to degrade significantly compared with standard training, and robustness does not transfer well across attacks crafted under different norm constraints. Unlike prior works that attempt to address only one issue within a single network, we propose to partition the overall generalization goal into multiple sub-tasks, each assigned to a dedicated base learner. By specializing in its designated objective, each base learner quickly becomes an expert in its field. In the later stages of training, we interpolate their parameters to form a knowledgeable global learner, while periodically redistributing the global parameters back to the base learners to prevent their optimization trajectories from drifting too far from the shared target. We term this framework Generalist and introduce three variants tailored to different application scenarios. Both theoretical analysis and extensive experiments demonstrate that Generalist achieves lower generalization error and significantly alleviates the trade-off problems compared with baseline methods. Our results suggest that Generalist provides a promising step toward developing fully robust classifiers in the future.", "date": "2025-10-15", "categories": []} {"id": "2510.13570", "title": "Selective Adversarial Attacks on LLM Benchmarks", "abstract": "Benchmarking outcomes increasingly govern trust, selection, and deployment of LLMs, yet these evaluations remain vulnerable to semantically equivalent adversarial perturbations. Prior work on adversarial robustness in NLP has emphasized text attacks that affect many models equally, leaving open the question of whether it is possible to selectively degrade or enhance performance while minimally affecting other models. We formalize this problem and study selective adversarial attacks on MMLU - a widely used benchmark designed to measure a language model's broad general knowledge and reasoning ability across different subjects. Using canonical attacks integrated into TextAttack framework, we introduce a protocol for selectivity assessment, develop a custom constraint to increase selectivity of attacks and propose a surrogate-LLM pipeline that generates selective perturbations. Empirically, we find that selective adversarial attacks exist and can materially alter relative rankings, challenging the fairness, reproducibility, and transparency of leaderboard-driven evaluation. Our results motivate perturbation-aware reporting and robustness diagnostics for LLM evaluation and demonstrate that even subtle edits can shift comparative judgments.", "date": "2025-10-15", "categories": []} {"id": "2510.11877", "title": "Robust Adversarial Reinforcement Learning in Stochastic Games via Sequence Modeling", "abstract": "The Transformer, a highly expressive architecture for sequence modeling, has recently been adapted to solve sequential decision-making, most notably through the Decision Transformer (DT), which learns policies by conditioning on desired returns. Yet, the adversarial robustness of reinforcement learning methods based on sequence modeling remains largely unexplored. Here we introduce the Conservative Adversarially Robust Decision Transformer (CART), to our knowledge the first framework designed to enhance the robustness of DT in adversarial stochastic games. We formulate the interaction between the protagonist and the adversary at each stage as a stage game, where the payoff is defined as the expected maximum value over subsequent states, thereby explicitly incorporating stochastic state transitions. By conditioning Transformer policies on the NashQ value derived from these stage games, CART generates policy that are simultaneously less exploitable (adversarially robust) and conservative to transition uncertainty. Empirically, CART achieves more accurate minimax value estimation and consistently attains superior worst-case returns across a range of adversarial stochastic games.", "date": "2025-10-13", "categories": []} {"id": "2510.12468", "title": "MS-GAGA: Metric-Selective Guided Adversarial Generation Attack", "abstract": "We present MS-GAGA (Metric-Selective Guided Adversarial Generation Attack), a two-stage framework for crafting transferable and visually imperceptible adversarial examples against deepfake detectors in black-box settings. In Stage 1, a dual-stream attack module generates adversarial candidates: MNTD-PGD applies enhanced gradient calculations optimized for small perturbation budgets, while SG-PGD focuses perturbations on visually salient regions. This complementary design expands the adversarial search space and improves transferability across unseen models. In Stage 2, a metric-aware selection module evaluates candidates based on both their success against black-box models and their structural similarity (SSIM) to the original image. By jointly optimizing transferability and imperceptibility, MS-GAGA achieves up to 27% higher misclassification rates on unseen detectors compared to state-of-the-art attacks.", "date": "2025-10-14", "categories": []} {"id": "2306.07033", "title": "When Vision Fails: Text Attacks Against ViT and OCR", "abstract": "Text-based machine learning models are vulnerable to an emerging class of Unicode-based adversarial examples capable of tricking a model into misreading text with potentially disastrous effects. The primary existing defense against these attacks is to preprocess potentially malicious text inputs using optical character recognition (OCR). In theory, OCR models will ignore any malicious Unicode characters and will extract the visually correct input to be fed to the model. In this work, we show that these visual defenses fail to prevent this type of attack. We use a genetic algorithm to generate visual adversarial examples (i.e., OCR outputs) in a black-box setting, demonstrating a highly effective novel attack that substantially reduces the accuracy of OCR and other visual models. Specifically, we use the Unicode functionality of combining characters (e.g., \\~n which combines the characters n and ~) to manipulate text inputs so that small visual perturbations appear when the text is displayed. We demonstrate the effectiveness of these attacks in the real world by creating adversarial examples against production models published by Meta, Microsoft, IBM, and Google. We additionally conduct a user study to establish that the model-fooling adversarial examples do not affect human comprehension of the text, showing that language models are uniquely vulnerable to this type of text attack.", "date": "2023-06-12", "categories": []} {"id": "2505.10983", "title": "GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Models", "abstract": "We propose the first unified adversarial attack benchmark for Genomic Foundation Models (GFMs), named GenoArmory. Unlike existing GFM benchmarks, GenoArmory offers the first comprehensive evaluation framework to systematically assess the vulnerability of GFMs to adversarial attacks. Methodologically, we evaluate the adversarial robustness of five state-of-the-art GFMs using four widely adopted attack algorithms and three defense strategies. Importantly, our benchmark provides an accessible and comprehensive framework to analyze GFM vulnerabilities with respect to model architecture, quantization schemes, and training datasets. Additionally, we introduce GenoAdv, a new adversarial sample dataset designed to improve GFM safety. Empirically, classification models exhibit greater robustness to adversarial perturbations compared to generative models, highlighting the impact of task type on model vulnerability. Moreover, adversarial attacks frequently target biologically significant genomic regions, suggesting that these models effectively capture meaningful sequence features.", "date": "2025-05-16", "categories": []} {"id": "2506.06992", "title": "Boosting Adversarial Transferability via Commonality-Oriented Gradient Optimization", "abstract": "Exploring effective and transferable adversarial examples is vital for understanding the characteristics and mechanisms of Vision Transformers (ViTs). However, adversarial examples generated from surrogate models often exhibit weak transferability in black-box settings due to overfitting. Existing methods improve transferability by diversifying perturbation inputs or applying uniform gradient regularization within surrogate models, yet they have not fully leveraged the shared and unique features of surrogate models trained on the same task, leading to suboptimal transfer performance. Therefore, enhancing perturbations of common information shared by surrogate models and suppressing those tied to individual characteristics offers an effective way to improve transferability. Accordingly, we propose a commonality-oriented gradient optimization strategy (COGO) consisting of two components: Commonality Enhancement (CE) and Individuality Suppression (IS). CE perturbs the mid-to-low frequency regions, leveraging the fact that ViTs trained on the same dataset tend to rely more on mid-to-low frequency information for classification. IS employs adaptive thresholds to evaluate the correlation between backpropagated gradients and model individuality, assigning weights to gradients accordingly. Extensive experiments demonstrate that COGO significantly improves the transfer success rates of adversarial attacks, outperforming current state-of-the-art methods.", "date": "2025-06-08", "categories": []} {"id": "2506.15685", "title": "Ignition Phase : Standard Training for Fast Adversarial Robustness", "abstract": "Adversarial Training (AT) is a cornerstone defense, but many variants overlook foundational feature representations by primarily focusing on stronger attack generation. We introduce Adversarial Evolution Training (AET), a simple yet powerful framework that strategically prepends an Empirical Risk Minimization (ERM) phase to conventional AT. We hypothesize this initial ERM phase cultivates a favorable feature manifold, enabling more efficient and effective robustness acquisition. Empirically, AET achieves comparable or superior robustness more rapidly, improves clean accuracy, and cuts training costs by 8-25\\%. Its effectiveness is shown across multiple datasets, architectures, and when augmenting established AT methods. Our findings underscore the impact of feature pre-conditioning via standard training for developing more efficient, principled robust defenses. Code is available in the supplementary material.", "date": "2025-05-25", "categories": []} {"id": "2510.10937", "title": "Neutral Agent-based Adversarial Policy Learning against Deep Reinforcement Learning in Multi-party Open Systems", "abstract": "Reinforcement learning (RL) has been an important machine learning paradigm for solving long-horizon sequential decision-making problems under uncertainty. By integrating deep neural networks (DNNs) into the RL framework, deep reinforcement learning (DRL) has emerged, which achieved significant success in various domains. However, the integration of DNNs also makes it vulnerable to adversarial attacks. Existing adversarial attack techniques mainly focus on either directly manipulating the environment with which a victim agent interacts or deploying an adversarial agent that interacts with the victim agent to induce abnormal behaviors. While these techniques achieve promising results, their adoption in multi-party open systems remains limited due to two major reasons: impractical assumption of full control over the environment and dependent on interactions with victim agents.\n To enable adversarial attacks in multi-party open systems, in this paper, we redesigned an adversarial policy learning approach that can mislead well-trained victim agents without requiring direct interactions with these agents or full control over their environments. Particularly, we propose a neutral agent-based approach across various task scenarios in multi-party open systems. While the neutral agents seemingly are detached from the victim agents, indirectly influence them through the shared environment. We evaluate our proposed method on the SMAC platform based on Starcraft II and the autonomous driving simulation platform Highway-env. The experimental results demonstrate that our method can launch general and effective adversarial attacks in multi-party open systems.", "date": "2025-10-13", "categories": []} {"id": "2510.11018", "title": "The Easy Path to Robustness: Coreset Selection using Sample Hardness", "abstract": "Designing adversarially robust models from a data-centric perspective requires understanding which input samples are most crucial for learning resilient features. While coreset selection provides a mechanism for efficient training on data subsets, current algorithms are designed for clean accuracy and fall short in preserving robustness. To address this, we propose a framework linking a sample's adversarial vulnerability to its \\textit{hardness}, which we quantify using the average input gradient norm (AIGN) over training. We demonstrate that \\textit{easy} samples (with low AIGN) are less vulnerable and occupy regions further from the decision boundary. Leveraging this insight, we present EasyCore, a coreset selection algorithm that retains only the samples with low AIGN for training. We empirically show that models trained on EasyCore-selected data achieve significantly higher adversarial accuracy than those trained with competing coreset methods under both standard and adversarial training. As AIGN is a model-agnostic dataset property, EasyCore is an efficient and widely applicable data-centric method for improving adversarial robustness. We show that EasyCore achieves up to 7\\% and 5\\% improvement in adversarial accuracy under standard training and TRADES adversarial training, respectively, compared to existing coreset methods.", "date": "2025-10-13", "categories": []} {"id": "2510.11096", "title": "CoDefend: Cross-Modal Collaborative Defense via Diffusion Purification and Prompt Optimization", "abstract": "Multimodal Large Language Models (MLLMs) have achieved remarkable success in tasks such as image captioning, visual question answering, and cross-modal reasoning by integrating visual and textual modalities. However, their multimodal nature also exposes them to adversarial threats, where attackers can perturb either modality or both jointly to induce harmful, misleading, or policy violating outputs. Existing defense strategies, such as adversarial training and input purification, face notable limitations: adversarial training typically improves robustness only against known attacks while incurring high computational costs, whereas conventional purification approaches often suffer from degraded image quality and insufficient generalization to complex multimodal tasks.\n In this work, we focus on defending the visual modality, which frequently serves as the primary entry point for adversarial manipulation. We propose a supervised diffusion based denoising framework that leverages paired adversarial clean image datasets to fine-tune diffusion models with directional, task specific guidance. Unlike prior unsupervised purification methods such as DiffPure, our approach achieves higher quality reconstructions while significantly improving defense robustness in multimodal tasks. Furthermore, we incorporate prompt optimization as a complementary defense mechanism, enhancing resistance against diverse and unseen attack strategies.\n Extensive experiments on image captioning and visual question answering demonstrate that our method not only substantially improves robustness but also exhibits strong transferability to unknown adversarial attacks. These results highlight the effectiveness of supervised diffusion based denoising for multimodal defense, paving the way for more reliable and secure deployment of MLLMs in real world applications.", "date": "2025-10-13", "categories": []} {"id": "2506.03355", "title": "Robustness in Both Domains: CLIP Needs a Robust Text Encoder", "abstract": "Adversarial input attacks can cause a significant shift of CLIP embeddings. This can affect the downstream robustness of models incorporating CLIP in the pipeline, such as text-to-image generative models or large vision language models. While some efforts have been done towards making the CLIP image encoders robust, the robustness of text encoders remains unexplored. In this work, we cover this gap in the literature. We propose LEAF: an efficient adversarial finetuning method for the text domain, with the ability to scale to large CLIP models. Our models significantly improve the zero-shot adversarial accuracy in the text domain, while maintaining the vision performance provided by robust image encoders. When combined with text-to-image diffusion models, we can improve the generation quality under adversarial noise. In multimodal retrieval tasks, LEAF improves the recall under adversarial noise over standard CLIP models. Finally, we show that robust text encoders facilitate better reconstruction of input text from its embedding via direct optimization. We open-source our code ( https://github.com/LIONS-EPFL/LEAF ) and models ( https://huggingface.co/LEAF-CLIP ).", "date": "2025-06-03", "categories": []} {"id": "2510.08659", "title": "Provably Robust Adaptation for Language-Empowered Foundation Models", "abstract": "Language-empowered foundation models (LeFMs), such as CLIP and GraphCLIP, have transformed multimodal learning by aligning visual (or graph) features with textual representations, enabling powerful downstream capabilities like few-shot learning. However, the reliance on small, task-specific support datasets collected in open environments exposes these models to poisoning attacks, where adversaries manipulate the support samples to degrade performance. Existing defenses rely on empirical strategies, which lack formal guarantees and remain vulnerable to unseen and adaptive attacks. Certified robustness offers provable guarantees but has been largely unexplored for few-shot classifiers based on LeFMs. This study seeks to fill these critical gaps by proposing the first provably robust few-shot classifier that is tailored for LeFMs. We term our model Language-empowered Few-shot Certification (\\textbf{LeFCert}). It integrates both textual and feature embeddings with an adaptive blending mechanism. To achieve provable robustness, we propose a twofold trimmed mean prototype and derive provable upper and lower bounds for classification scores, enabling certification under worst-case poisoning scenarios. To further enhance the performance, we extend LeFCert with two variants by considering a more realistic and tighter attack budget: LeFCert-L incorporates randomized smoothing to provide Lipschitz continuity and derive robustness under dual budget constraints, and LeFCert-C provides collective certification for scenarios where attackers distribute a shared poisoning budget across multiple samples. Experiments demonstrate that LeFCert achieves state-of-the-art performance, significantly improving both clean and certified accuracy compared to existing baselines. Despite its advanced robustness mechanisms, LeFCert is computationally efficient, making it practical for real-world applications.", "date": "2025-10-09", "categories": []} {"id": "2510.08761", "title": "SAFER-AiD: Saccade-Assisted Foveal-peripheral vision Enhanced Reconstruction for Adversarial Defense", "abstract": "Adversarial attacks significantly challenge the safe deployment of deep learning models, particularly in real-world applications. Traditional defenses often rely on computationally intensive optimization (e.g., adversarial training or data augmentation) to improve robustness, whereas the human visual system achieves inherent robustness to adversarial perturbations through evolved biological mechanisms. We hypothesize that attention guided non-homogeneous sparse sampling and predictive coding plays a key role in this robustness. To test this hypothesis, we propose a novel defense framework incorporating three key biological mechanisms: foveal-peripheral processing, saccadic eye movements, and cortical filling-in. Our approach employs reinforcement learning-guided saccades to selectively capture multiple foveal-peripheral glimpses, which are integrated into a reconstructed image before classification. This biologically inspired preprocessing effectively mitigates adversarial noise, preserves semantic integrity, and notably requires no retraining or fine-tuning of downstream classifiers, enabling seamless integration with existing systems. Experiments on the ImageNet dataset demonstrate that our method improves system robustness across diverse classifiers and attack types, while significantly reducing training overhead compared to both biologically and non-biologically inspired defense techniques.", "date": "2025-10-09", "categories": []} {"id": "2510.08922", "title": "SegTrans: Transferable Adversarial Examples for Segmentation Models", "abstract": "Segmentation models exhibit significant vulnerability to adversarial examples in white-box settings, but existing adversarial attack methods often show poor transferability across different segmentation models. While some researchers have explored transfer-based adversarial attack (i.e., transfer attack) methods for segmentation models, the complex contextual dependencies within these models and the feature distribution gaps between surrogate and target models result in unsatisfactory transfer success rates. To address these issues, we propose SegTrans, a novel transfer attack framework that divides the input sample into multiple local regions and remaps their semantic information to generate diverse enhanced samples. These enhanced samples replace the original ones for perturbation optimization, thereby improving the transferability of adversarial examples across different segmentation models. Unlike existing methods, SegTrans only retains local semantic information from the original input, rather than using global semantic information to optimize perturbations. Extensive experiments on two benchmark datasets, PASCAL VOC and Cityscapes, four different segmentation models, and three backbone networks show that SegTrans significantly improves adversarial transfer success rates without introducing additional computational overhead. Compared to the current state-of-the-art methods, SegTrans achieves an average increase of 8.55% in transfer attack success rate and improves computational efficiency by more than 100%.", "date": "2025-10-10", "categories": []} {"id": "2510.09105", "title": "MemLoss: Enhancing Adversarial Training with Recycling Adversarial Examples", "abstract": "In this paper, we propose a new approach called MemLoss to improve the adversarial training of machine learning models. MemLoss leverages previously generated adversarial examples, referred to as 'Memory Adversarial Examples,' to enhance model robustness and accuracy without compromising performance on clean data. By using these examples across training epochs, MemLoss provides a balanced improvement in both natural accuracy and adversarial robustness. Experimental results on multiple datasets, including CIFAR-10, demonstrate that our method achieves better accuracy compared to existing adversarial training methods while maintaining strong robustness against attacks.", "date": "2025-10-10", "categories": []} {"id": "2406.05927", "title": "MeanSparse: Post-Training Robustness Enhancement Through Mean-Centered Feature Sparsification", "abstract": "We present a simple yet effective method to improve the robustness of both Convolutional and attention-based Neural Networks against adversarial examples by post-processing an adversarially trained model. Our technique, MeanSparse, cascades the activation functions of a trained model with novel operators that sparsify mean-centered feature vectors. This is equivalent to reducing feature variations around the mean, and we show that such reduced variations merely affect the model's utility, yet they strongly attenuate the adversarial perturbations and decrease the attacker's success rate. Our experiments show that, when applied to the top models in the RobustBench leaderboard, MeanSparse achieves a new robustness record of 75.28% (from 73.71%), 44.78% (from 42.67%) and 62.12% (from 59.56%) on CIFAR-10, CIFAR-100 and ImageNet, respectively, in terms of AutoAttack accuracy. Code is available at https://github.com/SPIN-UMass/MeanSparse", "date": "2024-06-09", "categories": []} {"id": "2506.11113", "title": "Breaking the Reviewer: Assessing the Vulnerability of Large Language Models in Automated Peer Review Under Textual Adversarial Attacks", "abstract": "Peer review is essential for maintaining academic quality, but the increasing volume of submissions places a significant burden on reviewers. Large language models (LLMs) offer potential assistance in this process, yet their susceptibility to textual adversarial attacks raises reliability concerns. This paper investigates the robustness of LLMs used as automated reviewers in the presence of such attacks. We focus on three key questions: (1) The effectiveness of LLMs in generating reviews compared to human reviewers. (2) The impact of adversarial attacks on the reliability of LLM-generated reviews. (3) Challenges and potential mitigation strategies for LLM-based review. Our evaluation reveals significant vulnerabilities, as text manipulations can distort LLM assessments. We offer a comprehensive evaluation of LLM performance in automated peer reviewing and analyze its robustness against adversarial attacks. Our findings emphasize the importance of addressing adversarial risks to ensure AI strengthens, rather than compromises, the integrity of scholarly communication.", "date": "2025-06-08", "categories": []} {"id": "2206.09098", "title": "Existence and Minimax Theorems for Adversarial Surrogate Risks in Binary Classification", "abstract": "Adversarial training is one of the most popular methods for training methods robust to adversarial attacks, however, it is not well-understood from a theoretical perspective. We prove and existence, regularity, and minimax theorems for adversarial surrogate risks. Our results explain some empirical observations on adversarial robustness from prior work and suggest new directions in algorithm development. Furthermore, our results extend previously known existence and minimax theorems for the adversarial classification risk to surrogate risks.", "date": "2022-06-18", "categories": []} {"id": "2305.09956", "title": "The Adversarial Consistency of Surrogate Risks for Binary Classification", "abstract": "We study the consistency of surrogate risks for robust binary classification. It is common to learn robust classifiers by adversarial training, which seeks to minimize the expected $0$-$1$ loss when each example can be maliciously corrupted within a small ball. We give a simple and complete characterization of the set of surrogate loss functions that are \\emph{consistent}, i.e., that can replace the $0$-$1$ loss without affecting the minimizing sequences of the original adversarial risk, for any data distribution. We also prove a quantitative version of adversarial consistency for the $\\rho$-margin loss. Our results reveal that the class of adversarially consistent surrogates is substantially smaller than in the standard setting, where many common surrogates are known to be consistent.", "date": "2023-05-17", "categories": []} {"id": "2408.01541", "title": "Guardians of Image Quality: Benchmarking Defenses Against Adversarial Attacks on Image Quality Metrics", "abstract": "In the field of Image Quality Assessment (IQA), the adversarial robustness of the metrics poses a critical concern. This paper presents a comprehensive benchmarking study of various defense mechanisms in response to the rise in adversarial attacks on IQA. We systematically evaluate 25 defense strategies, including adversarial purification, adversarial training, and certified robustness methods. We applied 14 adversarial attack algorithms of various types in both non-adaptive and adaptive settings and tested these defenses against them. We analyze the differences between defenses and their applicability to IQA tasks, considering that they should preserve IQA scores and image quality. The proposed benchmark aims to guide future developments and accepts submissions of new methods, with the latest results available online: https://videoprocessing.ai/benchmarks/iqa-defenses.html.", "date": "2024-08-02", "categories": []} {"id": "2412.02270", "title": "Sustainable Self-evolution Adversarial Training", "abstract": "With the wide application of deep neural network models in various computer vision tasks, there has been a proliferation of adversarial example generation strategies aimed at deeply exploring model security. However, existing adversarial training defense models, which rely on single or limited types of attacks under a one-time learning process, struggle to adapt to the dynamic and evolving nature of attack methods. Therefore, to achieve defense performance improvements for models in long-term applications, we propose a novel Sustainable Self-Evolution Adversarial Training (SSEAT) framework. Specifically, we introduce a continual adversarial defense pipeline to realize learning from various kinds of adversarial examples across multiple stages. Additionally, to address the issue of model catastrophic forgetting caused by continual learning from ongoing novel attacks, we propose an adversarial data replay module to better select more diverse and key relearning data. Furthermore, we design a consistency regularization strategy to encourage current defense models to learn more from previously trained ones, guiding them to retain more past knowledge and maintain accuracy on clean samples. Extensive experiments have been conducted to verify the efficacy of the proposed SSEAT defense method, which demonstrates superior defense performance and classification accuracy compared to competitors.Code is available at https://github.com/aup520/SSEAT", "date": "2024-12-03", "categories": []} {"id": "2501.19017", "title": "Benchmarking Gaslighting Negation Attacks Against Multimodal Large Language Models", "abstract": "Multimodal Large Language Models (MLLMs) have exhibited remarkable advancements in integrating different modalities, excelling in complex understanding and generation tasks. Despite their success, MLLMs remain vulnerable to conversational adversarial inputs. In this paper, we systematically study gaslighting negation attacks: a phenomenon where models, despite initially providing correct answers, are persuaded by user-provided negations to reverse their outputs, often fabricating justifications. We conduct extensive evaluations of state-of-the-art MLLMs across diverse benchmarks and observe substantial performance drops when negation is introduced. Notably, we introduce the first benchmark GaslightingBench, specifically designed to evaluate the vulnerability of MLLMs to negation arguments. GaslightingBench consists of multiple-choice questions curated from existing datasets, along with generated negation prompts across 20 diverse categories. Throughout extensive evaluation, we find that proprietary models such as Gemini-1.5-flash and GPT-4o demonstrate better resilience compared to open-source counterparts like Qwen2-VL and LLaVA, though even advanced reasoning-oriented models like Gemini-2.5-Pro remain susceptible. Our category-level analysis further shows that subjective or socially nuanced domains (e.g., Social Relation, Image Emotion) are especially fragile, while more objective domains (e.g., Geography) exhibit relatively smaller but still notable drops. Overall, all evaluated MLLMs struggle to maintain logical consistency under gaslighting negation attack. These findings highlight a fundamental robustness gap and provide insights for developing more reliable and trustworthy multimodal AI systems. Project website: https://yxg1005.github.io/GaslightingNegationAttacks/.", "date": "2025-01-31", "categories": []} {"id": "2501.19040", "title": "Towards the Worst-case Robustness of Large Language Models", "abstract": "Recent studies have revealed the vulnerability of large language models to adversarial attacks, where adversaries craft specific input sequences to induce harmful, violent, private, or incorrect outputs. In this work, we study their worst-case robustness, i.e., whether an adversarial example exists that leads to such undesirable outputs. We upper bound the worst-case robustness using stronger white-box attacks, indicating that most current deterministic defenses achieve nearly 0\\% worst-case robustness. We propose a general tight lower bound for randomized smoothing using fractional knapsack solvers or 0-1 knapsack solvers, and using them to bound the worst-case robustness of all stochastic defenses. Based on these solvers, we provide theoretical lower bounds for several previous empirical defenses. For example, we certify the robustness of a specific case, smoothing using a uniform kernel, against \\textit{any possible attack} with an average $\\ell_0$ perturbation of 2.02 or an average suffix length of 6.41.", "date": "2025-01-31", "categories": []} {"id": "2506.09348", "title": "Adversarial Surrogate Risk Bounds for Binary Classification", "abstract": "A central concern in classification is the vulnerability of machine learning models to adversarial attacks. Adversarial training is one of the most popular techniques for training robust classifiers, which involves minimizing an adversarial surrogate risk. Recent work has characterized the conditions under which any sequence minimizing the adversarial surrogate risk also minimizes the adversarial classification risk in the binary setting, a property known as adversarial consistency. However, these results do not address the rate at which the adversarial classification risk approaches its optimal value along such a sequence. This paper provides surrogate risk bounds that quantify that convergence rate.", "date": "2025-06-11", "categories": []} {"id": "2510.06952", "title": "OBJVanish: Physically Realizable Text-to-3D Adv. Generation of LiDAR-Invisible Objects", "abstract": "LiDAR-based 3D object detectors are fundamental to autonomous driving, where failing to detect objects poses severe safety risks. Developing effective 3D adversarial attacks is essential for thoroughly testing these detection systems and exposing their vulnerabilities before real-world deployment. However, existing adversarial attacks that add optimized perturbations to 3D points have two critical limitations: they rarely cause complete object disappearance and prove difficult to implement in physical environments. We introduce the text-to-3D adversarial generation method, a novel approach enabling physically realizable attacks that can generate 3D models of objects truly invisible to LiDAR detectors and be easily realized in the real world. Specifically, we present the first empirical study that systematically investigates the factors influencing detection vulnerability by manipulating the topology, connectivity, and intensity of individual pedestrian 3D models and combining pedestrians with multiple objects within the CARLA simulation environment. Building on the insights, we propose the physically-informed text-to-3D adversarial generation (Phy3DAdvGen) that systematically optimizes text prompts by iteratively refining verbs, objects, and poses to produce LiDAR-invisible pedestrians. To ensure physical realizability, we construct a comprehensive object pool containing 13 3D models of real objects and constrain Phy3DAdvGen to generate 3D objects based on combinations of objects in this set. Extensive experiments demonstrate that our approach can generate 3D pedestrians that evade six state-of-the-art (SOTA) LiDAR 3D detectors in both CARLA simulation and physical environments, thereby highlighting vulnerabilities in safety-critical applications.", "date": "2025-10-08", "categories": []} {"id": "2508.16481", "title": "Benchmarking the Robustness of Agentic Systems to Adversarially-Induced Harms", "abstract": "Ensuring the safe use of agentic systems requires a thorough understanding of the range of malicious behaviors these systems may exhibit when under attack. In this paper, we evaluate the robustness of LLM-based agentic systems against attacks that aim to elicit harmful actions from agents. To this end, we propose a novel taxonomy of harms for agentic systems and a novel benchmark, BAD-ACTS, for studying the security of agentic systems with respect to a wide range of harmful actions. BAD-ACTS consists of 4 implementations of agentic systems in distinct application environments, as well as a dataset of 188 high-quality examples of harmful actions. This enables a comprehensive study of the robustness of agentic systems across a wide range of categories of harmful behaviors, available tools, and inter-agent communication structures. Using this benchmark, we analyze the robustness of agentic systems against an attacker that controls one of the agents in the system and aims to manipulate other agents to execute a harmful target action. Our results show that the attack has a high success rate, demonstrating that even a single adversarial agent within the system can have a significant impact on the security. This attack remains effective even when agents use a simple prompting-based defense strategy. However, we additionally propose a more effective defense based on message monitoring. We believe that this benchmark provides a diverse testbed for the security research of agentic systems. The benchmark can be found at github.com/JNoether/BAD-ACTS", "date": "2025-08-22", "categories": []} {"id": "2509.21130", "title": "Sparse Representations Improve Adversarial Robustness of Neural Network Classifiers", "abstract": "Deep neural networks perform remarkably well on image classification tasks but remain vulnerable to carefully crafted adversarial perturbations. This work revisits linear dimensionality reduction as a simple, data-adapted defense. We empirically compare standard Principal Component Analysis (PCA) with its sparse variant (SPCA) as front-end feature extractors for downstream classifiers, and we complement these experiments with a theoretical analysis. On the theory side, we derive exact robustness certificates for linear heads applied to SPCA features: for both $\\ell_\\infty$ and $\\ell_2$ threat models (binary and multiclass), the certified radius grows as the dual norms of $W^\\top u$ shrink, where $W$ is the projection and $u$ the head weights. We further show that for general (non-linear) heads, sparsity reduces operator-norm bounds through a Lipschitz composition argument, predicting lower input sensitivity. Empirically, with a small non-linear network after the projection, SPCA consistently degrades more gracefully than PCA under strong white-box and black-box attacks while maintaining competitive clean accuracy. Taken together, the theory identifies the mechanism (sparser projections reduce adversarial leverage) and the experiments verify that this benefit persists beyond the linear setting. Our code is available at https://github.com/killian31/SPCARobustness.", "date": "2025-09-25", "categories": []} {"id": "2510.05317", "title": "RegMix: Adversarial Mutual and Generalization Regularization for Enhancing DNN Robustness", "abstract": "Adversarial training is the most effective defense against adversarial attacks. The effectiveness of the adversarial attacks has been on the design of its loss function and regularization term. The most widely used loss function in adversarial training is cross-entropy and mean squared error (MSE) as its regularization objective. However, MSE enforces overly uniform optimization between two output distributions during training, which limits its robustness in adversarial training scenarios. To address this issue, we revisit the idea of mutual learning (originally designed for knowledge distillation) and propose two novel regularization strategies tailored for adversarial training: (i) weighted adversarial mutual regularization and (ii) adversarial generalization regularization. In the former, we formulate a decomposed adversarial mutual Kullback-Leibler divergence (KL-divergence) loss, which allows flexible control over the optimization process by assigning unequal weights to the main and auxiliary objectives. In the latter, we introduce an additional clean target distribution into the adversarial training objective, improving generalization and enhancing model robustness. Extensive experiments demonstrate that our proposed methods significantly improve adversarial robustness compared to existing regularization-based approaches.", "date": "2025-10-06", "categories": []} {"id": "2306.06081", "title": "Blending adversarial training and representation-conditional purification via aggregation improves adversarial robustness", "abstract": "In this work, we propose a novel adversarial defence mechanism for image classification - CARSO - blending the paradigms of adversarial training and adversarial purification in a synergistic robustness-enhancing way. The method builds upon an adversarially-trained classifier, and learns to map its internal representation associated with a potentially perturbed input onto a distribution of tentative clean reconstructions. Multiple samples from such distribution are classified by the same adversarially-trained model, and a carefully chosen aggregation of its outputs finally constitutes the robust prediction of interest. Experimental evaluation by a well-established benchmark of strong adaptive attacks, across different image datasets, shows that CARSO is able to defend itself against adaptive end-to-end white-box attacks devised for stochastic defences. Paying a modest clean accuracy toll, our method improves by a significant margin the state-of-the-art for Cifar-10, Cifar-100, and TinyImageNet-200 $\\ell_\\infty$ robust classification accuracy against AutoAttack. Code, and instructions to obtain pre-trained models are available at: https://github.com/emaballarin/CARSO .", "date": "2023-05-25", "categories": []} {"id": "2510.03254", "title": "Adversarial training with restricted data manipulation", "abstract": "Adversarial machine learning concerns situations in which learners face attacks from active adversaries. Such scenarios arise in applications such as spam email filtering, malware detection and fake image generation, where security methods must be actively updated to keep up with the everimproving generation of malicious data. Pessimistic Bilevel optimisation has been shown to be an effective method of training resilient classifiers against such adversaries. By modelling these scenarios as a game between the learner and the adversary, we anticipate how the adversary will modify their data and then train a resilient classifier accordingly. However, since existing pessimistic bilevel approaches feature an unrestricted adversary, the model is vulnerable to becoming overly pessimistic and unrealistic. When finding the optimal solution that defeats the classifier, it is possible that the adversary's data becomes nonsensical and loses its intended nature. Such an adversary will not properly reflect reality, and consequently, will lead to poor classifier performance when implemented on real-world data. By constructing a constrained pessimistic bilevel optimisation model, we restrict the adversary's movements and identify a solution that better reflects reality. We demonstrate through experiments that this model performs, on average, better than the existing approach.", "date": "2025-09-26", "categories": []} {"id": "2510.03320", "title": "Attack logics, not outputs: Towards efficient robustification of deep neural networks by falsifying concept-based properties", "abstract": "Deep neural networks (NNs) for computer vision are vulnerable to adversarial attacks, i.e., miniscule malicious changes to inputs may induce unintuitive outputs. One key approach to verify and mitigate such robustness issues is to falsify expected output behavior. This allows, e.g., to locally proof security, or to (re)train NNs on obtained adversarial input examples. Due to the black-box nature of NNs, current attacks only falsify a class of the final output, such as flipping from $\\texttt{stop_sign}$ to $\\neg\\texttt{stop_sign}$. In this short position paper we generalize this to search for generally illogical behavior, as considered in NN verification: falsify constraints (concept-based properties) involving further human-interpretable concepts, like $\\texttt{red}\\wedge\\texttt{octogonal}\\rightarrow\\texttt{stop_sign}$. For this, an easy implementation of concept-based properties on already trained NNs is proposed using techniques from explainable artificial intelligence. Further, we sketch the theoretical proof that attacks on concept-based properties are expected to have a reduced search space compared to simple class falsification, whilst arguably be more aligned with intuitive robustness targets. As an outlook to this work in progress we hypothesize that this approach has potential to efficiently and simultaneously improve logical compliance and robustness.", "date": "2025-10-01", "categories": []} {"id": "2510.03612", "title": "Cross-Modal Content Optimization for Steering Web Agent Preferences", "abstract": "Vision-language model (VLM)-based web agents increasingly power high-stakes selection tasks like content recommendation or product ranking by combining multimodal perception with preference reasoning. Recent studies reveal that these agents are vulnerable against attackers who can bias selection outcomes through preference manipulations using adversarial pop-ups, image perturbations, or content tweaks. Existing work, however, either assumes strong white-box access, with limited single-modal perturbations, or uses impractical settings. In this paper, we demonstrate, for the first time, that joint exploitation of visual and textual channels yields significantly more powerful preference manipulations under realistic attacker capabilities. We introduce Cross-Modal Preference Steering (CPS) that jointly optimizes imperceptible modifications to an item's visual and natural language descriptions, exploiting CLIP-transferable image perturbations and RLHF-induced linguistic biases to steer agent decisions. In contrast to prior studies that assume gradient access, or control over webpages, or agent memory, we adopt a realistic black-box threat setup: a non-privileged adversary can edit only their own listing's images and textual metadata, with no insight into the agent's model internals. We evaluate CPS on agents powered by state-of-the-art proprietary and open source VLMs including GPT-4.1, Qwen-2.5VL and Pixtral-Large on both movie selection and e-commerce tasks. Our results show that CPS is significantly more effective than leading baseline methods. For instance, our results show that CPS consistently outperforms baselines across all models while maintaining 70% lower detection rates, demonstrating both effectiveness and stealth. These findings highlight an urgent need for robust defenses as agentic systems play an increasingly consequential role in society.", "date": "2025-10-04", "categories": []} {"id": "2510.04245", "title": "Concept-Based Masking: A Patch-Agnostic Defense Against Adversarial Patch Attacks", "abstract": "Adversarial patch attacks pose a practical threat to deep learning models by forcing targeted misclassifications through localized perturbations, often realized in the physical world. Existing defenses typically assume prior knowledge of patch size or location, limiting their applicability. In this work, we propose a patch-agnostic defense that leverages concept-based explanations to identify and suppress the most influential concept activation vectors, thereby neutralizing patch effects without explicit detection. Evaluated on Imagenette with a ResNet-50, our method achieves higher robust and clean accuracy than the state-of-the-art PatchCleanser, while maintaining strong performance across varying patch sizes and locations. Our results highlight the promise of combining interpretability with robustness and suggest concept-driven defenses as a scalable strategy for securing machine learning models against adversarial patch attacks.", "date": "2025-10-05", "categories": []} {"id": "2502.17537", "title": "Rethinking the Vulnerability of Concept Erasure and a New Method", "abstract": "The proliferation of text-to-image diffusion models has raised significant privacy and security concerns, particularly regarding the generation of copyrighted or harmful images. In response, concept erasure (defense) methods have been developed to \"unlearn\" specific concepts through post-hoc finetuning. However, recent concept restoration (attack) methods have demonstrated that these supposedly erased concepts can be recovered using adversarially crafted prompts, revealing a critical vulnerability in current defense mechanisms. In this work, we first investigate the fundamental sources of adversarial vulnerability and reveal that vulnerabilities are pervasive in the prompt embedding space of concept-erased models, a characteristic inherited from the original pre-unlearned model. Furthermore, we introduce **RECORD**, a novel coordinate-descent-based restoration algorithm that consistently outperforms existing restoration methods by up to 17.8 times. We conduct extensive experiments to assess its compute-performance tradeoff and propose acceleration strategies.", "date": "2025-02-24", "categories": []} {"id": "2510.01494", "title": "Understanding Adversarial Transfer: Why Representation-Space Attacks Fail Where Data-Space Attacks Succeed", "abstract": "The field of adversarial robustness has long established that adversarial examples can successfully transfer between image classifiers and that text jailbreaks can successfully transfer between language models (LMs). However, a pair of recent studies reported being unable to successfully transfer image jailbreaks between vision-language models (VLMs). To explain this striking difference, we propose a fundamental distinction regarding the transferability of attacks against machine learning models: attacks in the input data-space can transfer, whereas attacks in model representation space do not, at least not without geometric alignment of representations. We then provide theoretical and empirical evidence of this hypothesis in four different settings. First, we mathematically prove this distinction in a simple setting where two networks compute the same input-output map but via different representations. Second, we construct representation-space attacks against image classifiers that are as successful as well-known data-space attacks, but fail to transfer. Third, we construct representation-space attacks against LMs that successfully jailbreak the attacked models but again fail to transfer. Fourth, we construct data-space attacks against VLMs that successfully transfer to new VLMs, and we show that representation space attacks can transfer when VLMs' latent geometries are sufficiently aligned in post-projector space. Our work reveals that adversarial transfer is not an inherent property of all attacks but contingent on their operational domain - the shared data-space versus models' unique representation spaces - a critical insight for building more robust models.", "date": "2025-10-01", "categories": []} {"id": "2510.02707", "title": "A Statistical Method for Attack-Agnostic Adversarial Attack Detection with Compressive Sensing Comparison", "abstract": "Adversarial attacks present a significant threat to modern machine learning systems. Yet, existing detection methods often lack the ability to detect unseen attacks or detect different attack types with a high level of accuracy. In this work, we propose a statistical approach that establishes a detection baseline before a neural network's deployment, enabling effective real-time adversarial detection. We generate a metric of adversarial presence by comparing the behavior of a compressed/uncompressed neural network pair. Our method has been tested against state-of-the-art techniques, and it achieves near-perfect detection across a wide range of attack types. Moreover, it significantly reduces false positives, making it both reliable and practical for real-world applications.", "date": "2025-10-03", "categories": []} {"id": "2510.02913", "title": "Zero-Shot Robustness of Vision Language Models Via Confidence-Aware Weighting", "abstract": "Vision-language models like CLIP demonstrate impressive zero-shot generalization but remain highly vulnerable to adversarial attacks. In this work, we propose Confidence-Aware Weighting (CAW) to enhance zero-shot robustness in vision-language models. CAW consists of two components: (1) a Confidence-Aware loss that prioritizes uncertain adversarial examples by scaling the KL divergence between clean and adversarial predictions, and (2) a feature alignment regularization that preserves semantic consistency by minimizing the distance between frozen and fine-tuned image encoder features on adversarial inputs. These components work jointly to improve both clean and robust accuracy without sacrificing generalization. Extensive experiments on TinyImageNet and 14 additional datasets show that CAW outperforms recent methods such as PMG-AFT and TGA-ZSR under strong attacks like AutoAttack, while using less memory.", "date": "2025-10-03", "categories": []} {"id": "2510.03224", "title": "Test-Time Defense Against Adversarial Attacks via Stochastic Resonance of Latent Ensembles", "abstract": "We propose a test-time defense mechanism against adversarial attacks: imperceptible image perturbations that significantly alter the predictions of a model. Unlike existing methods that rely on feature filtering or smoothing, which can lead to information loss, we propose to \"combat noise with noise\" by leveraging stochastic resonance to enhance robustness while minimizing information loss. Our approach introduces small translational perturbations to the input image, aligns the transformed feature embeddings, and aggregates them before mapping back to the original reference image. This can be expressed in a closed-form formula, which can be deployed on diverse existing network architectures without introducing additional network modules or fine-tuning for specific attack types. The resulting method is entirely training-free, architecture-agnostic, and attack-agnostic. Empirical results show state-of-the-art robustness on image classification and, for the first time, establish a generic test-time defense for dense prediction tasks, including stereo matching and optical flow, highlighting the method's versatility and practicality. Specifically, relative to clean (unperturbed) performance, our method recovers up to 68.1% of the accuracy loss on image classification, 71.9% on stereo matching, and 29.2% on optical flow under various types of adversarial attacks.", "date": "2025-10-03", "categories": []} {"id": "2505.12586", "title": "A Few Large Shifts: Layer-Inconsistency Based Minimal Overhead Adversarial Example Detection", "abstract": "Deep neural networks (DNNs) are highly susceptible to adversarial examples--subtle, imperceptible perturbations that can lead to incorrect predictions. While detection-based defenses offer a practical alternative to adversarial training, many existing methods depend on external models, complex architectures, or adversarial data, limiting their efficiency and generalizability. We introduce a lightweight, plug-in detection framework that leverages internal layer-wise inconsistencies within the target model itself, requiring only benign data for calibration. Our approach is grounded in the A Few Large Shifts Assumption, which posits that adversarial perturbations induce large, localized violations of layer-wise Lipschitz continuity in a small subset of layers. Building on this, we propose two complementary strategies--Recovery Testing (RT) and Logit-layer Testing (LT)--to empirically measure these violations and expose internal disruptions caused by adversaries. Evaluated on CIFAR-10, CIFAR-100, and ImageNet under both standard and adaptive threat models, our method achieves state-of-the-art detection performance with negligible computational overhead. Furthermore, our system-level analysis provides a practical method for selecting a detection threshold with a formal lower-bound guarantee on accuracy. The code is available here: https://github.com/c0510gy/AFLS-AED.", "date": "2025-05-19", "categories": []} {"id": "2510.01676", "title": "Evaluating the Robustness of a Production Malware Detection System to Transferable Adversarial Attacks", "abstract": "As deep learning models become widely deployed as components within larger production systems, their individual shortcomings can create system-level vulnerabilities with real-world impact. This paper studies how adversarial attacks targeting an ML component can degrade or bypass an entire production-grade malware detection system, performing a case study analysis of Gmail's pipeline where file-type identification relies on a ML model.\n The malware detection pipeline in use by Gmail contains a machine learning model that routes each potential malware sample to a specialized malware classifier to improve accuracy and performance. This model, called Magika, has been open sourced. By designing adversarial examples that fool Magika, we can cause the production malware service to incorrectly route malware to an unsuitable malware detector thereby increasing our chance of evading detection. Specifically, by changing just 13 bytes of a malware sample, we can successfully evade Magika in 90% of cases and thereby allow us to send malware files over Gmail. We then turn our attention to defenses, and develop an approach to mitigate the severity of these types of attacks. For our defended production model, a highly resourced adversary requires 50 bytes to achieve just a 20% attack success rate. We implement this defense, and, thanks to a collaboration with Google engineers, it has already been deployed in production for the Gmail classifier.", "date": "2025-10-02", "categories": []} {"id": "2510.01929", "title": "Inverse Language Modeling towards Robust and Grounded LLMs", "abstract": "The current landscape of defensive mechanisms for LLMs is fragmented and underdeveloped, unlike prior work on classifiers. To further promote adversarial robustness in LLMs, we propose Inverse Language Modeling (ILM), a unified framework that simultaneously 1) improves the robustness of LLMs to input perturbations, and, at the same time, 2) enables native grounding by inverting model outputs to identify potentially toxic or unsafe input triggers. ILM transforms LLMs from static generators into analyzable and robust systems, potentially helping RED teaming. ILM can lay the foundation for next-generation LLMs that are not only robust and grounded but also fundamentally more controllable and trustworthy. The code is publicly available at github.com/davegabe/pag-llm.", "date": "2025-10-02", "categories": []} {"id": "2510.01969", "title": "Lower Bounds on Adversarial Robustness for Multiclass Classification with General Loss Functions", "abstract": "We consider adversarially robust classification in a multiclass setting under arbitrary loss functions and derive dual and barycentric reformulations of the corresponding learner-agnostic robust risk minimization problem. We provide explicit characterizations for important cases such as the cross-entropy loss, loss functions with a power form, and the quadratic loss, extending in this way available results for the 0-1 loss. These reformulations enable efficient computation of sharp lower bounds for adversarial risks and facilitate the design of robust classifiers beyond the 0-1 loss setting. Our paper uncovers interesting connections between adversarial robustness, $\\alpha$-fair packing problems, and generalized barycenter problems for arbitrary positive measures where Kullback-Leibler and Tsallis entropies are used as penalties. Our theoretical results are accompanied with illustrative numerical experiments where we obtain tighter lower bounds for adversarial risks with the cross-entropy loss function.", "date": "2025-10-02", "categories": []} {"id": "2309.17401", "title": "Adversarial Attacks to Latent Representations of Distributed Neural Networks in Split Computing", "abstract": "Distributed deep neural networks (DNNs) have been shown to reduce the computational burden of mobile devices and decrease the end-to-end inference latency in edge computing scenarios. While distributed DNNs have been studied, to the best of our knowledge, the resilience of distributed DNNs to adversarial action remains an open problem. In this paper, we fill the existing research gap by rigorously analyzing the robustness of distributed DNNs against adversarial action. We cast this problem in the context of information theory and rigorously proved that (i) the compressed latent dimension improves the robustness but also affect task-oriented performance; and (ii) the deeper splitting point enhances the robustness but also increases the computational burden. These two trade-offs provide a novel perspective to design robust distributed DNN. To test our theoretical findings, we perform extensive experimental analysis by considering 6 different DNN architectures, 6 different approaches for distributed DNN and 10 different adversarial attacks using the ImageNet-1K dataset.", "date": "2023-09-29", "categories": []} {"id": "2506.11402", "title": "LoRA Users Beware: A Few Spurious Tokens Can Manipulate Your Finetuned Model", "abstract": "Large Language Models (LLMs) are commonly finetuned for a variety of use cases and domains. A common approach is to leverage Low-Rank Adaptation (LoRA) -- known to provide strong performance at low resource costs. In this study, we demonstrate that LoRA actually opens the door to short-cut vulnerabilities -- and the more resource efficient is the LoRA setup, the more vulnerable will be the finetuned model to aggressive attacks. To measure that vulnerability, we introduce Seamless Spurious Token Injection (SSTI), where we find that LoRA exclusively focuses on even just a single token that is spuriously correlated with downstream labels. In short, injection of that spurious token during finetuning ensure that the model's prediction at test-time can be manipulated on-demand. We conducted experiments across model families and datasets to evaluate the impact of SSTI during LoRA finetuning while providing possible mitigations. Our experiments conclude that none of the existing checkers and preprocessors can sanitize a dataset raising new concerns for data quality and AI safety.", "date": "2025-06-13", "categories": []} {"id": "2510.00083", "title": "Enhancing Certifiable Semantic Robustness via Robust Pruning of Deep Neural Networks", "abstract": "Deep neural networks have been widely adopted in many vision and robotics applications with visual inputs. It is essential to verify its robustness against semantic transformation perturbations, such as brightness and contrast. However, current certified training and robustness certification methods face the challenge of over-parameterization, which hinders the tightness and scalability due to the over-complicated neural networks. To this end, we first analyze stability and variance of layers and neurons against input perturbation, showing that certifiable robustness can be indicated by a fundamental Unbiased and Smooth Neuron metric (USN). Based on USN, we introduce a novel neural network pruning method that removes neurons with low USN and retains those with high USN, thereby preserving model expressiveness without over-parameterization. To further enhance this pruning process, we propose a new Wasserstein distance loss to ensure that pruned neurons are more concentrated across layers. We validate our approach through extensive experiments on the challenging robust keypoint detection task, which involves realistic brightness and contrast perturbations, demonstrating that our method achieves superior robustness certification performance and efficiency compared to baselines.", "date": "2025-09-30", "categories": []} {"id": "2510.00778", "title": "DIA: The Adversarial Exposure of Deterministic Inversion in Diffusion Models", "abstract": "Diffusion models have shown to be strong representation learners, showcasing state-of-the-art performance across multiple domains. Aside from accelerated sampling, DDIM also enables the inversion of real images back to their latent codes. A direct inheriting application of this inversion operation is real image editing, where the inversion yields latent trajectories to be utilized during the synthesis of the edited image. Unfortunately, this practical tool has enabled malicious users to freely synthesize misinformative or deepfake contents with greater ease, which promotes the spread of unethical and abusive, as well as privacy-, and copyright-infringing contents. While defensive algorithms such as AdvDM and Photoguard have been shown to disrupt the diffusion process on these images, the misalignment between their objectives and the iterative denoising trajectory at test time results in weak disruptive performance.In this work, we present the DDIM Inversion Attack (DIA) that attacks the integrated DDIM trajectory path. Our results support the effective disruption, surpassing previous defensive methods across various editing methods. We believe that our frameworks and results can provide practical defense methods against the malicious use of AI for both the industry and the research community. Our code is available here: https://anonymous.4open.science/r/DIA-13419/.", "date": "2025-10-01", "categories": []} {"id": "2509.25927", "title": "The Impact of Scaling Training Data on Adversarial Robustness", "abstract": "Deep neural networks remain vulnerable to adversarial examples despite advances in architectures and training paradigms. We investigate how training data characteristics affect adversarial robustness across 36 state-of-the-art vision models spanning supervised, self-supervised, and contrastive learning approaches, trained on datasets from 1.2M to 22B images. Models were evaluated under six black-box attack categories: random perturbations, two types of geometric masks, COCO object manipulations, ImageNet-C corruptions, and ImageNet-R style shifts. Robustness follows a logarithmic scaling law with both data volume and model size: a tenfold increase in data reduces attack success rate (ASR) on average by ~3.2%, whereas a tenfold increase in model size reduces ASR on average by ~13.4%. Notably, some self-supervised models trained on curated datasets, such as DINOv2, outperform others trained on much larger but less curated datasets, challenging the assumption that scale alone drives robustness. Adversarial fine-tuning of ResNet50s improves generalization across structural variations but not across color distributions. Human evaluation reveals persistent gaps between human and machine vision. These results show that while scaling improves robustness, data quality, architecture, and training objectives play a more decisive role than raw scale in achieving broad-spectrum adversarial resilience.", "date": "2025-09-30", "categories": []} {"id": "2509.25979", "title": "Reconcile Certified Robustness and Accuracy for DNN-based Smoothed Majority Vote Classifier", "abstract": "Within the PAC-Bayesian framework, the Gibbs classifier (defined on a posterior $Q$) and the corresponding $Q$-weighted majority vote classifier are commonly used to analyze the generalization performance. However, there exists a notable lack in theoretical research exploring the certified robustness of majority vote classifier and its interplay with generalization. In this study, we develop a generalization error bound that possesses a certified robust radius for the smoothed majority vote classifier (i.e., the $Q$-weighted majority vote classifier with smoothed inputs); In other words, the generalization bound holds under any data perturbation within the certified robust radius. As a byproduct, we find that the underpinnings of both the generalization bound and the certified robust radius draw, in part, upon weight spectral norm, which thereby inspires the adoption of spectral regularization in smooth training to boost certified robustness. Utilizing the dimension-independent property of spherical Gaussian inputs in smooth training, we propose a novel and inexpensive spectral regularizer to enhance the smoothed majority vote classifier. In addition to the theoretical contribution, a set of empirical results is provided to substantiate the effectiveness of our proposed method.", "date": "2025-09-30", "categories": []} {"id": "2509.26598", "title": "Are Robust LLM Fingerprints Adversarially Robust?", "abstract": "Model fingerprinting has emerged as a promising paradigm for claiming model ownership. However, robustness evaluations of these schemes have mostly focused on benign perturbations such as incremental fine-tuning, model merging, and prompting. Lack of systematic investigations into {\\em adversarial robustness} against a malicious model host leaves current systems vulnerable. To bridge this gap, we first define a concrete, practical threat model against model fingerprinting. We then take a critical look at existing model fingerprinting schemes to identify their fundamental vulnerabilities. Based on these, we develop adaptive adversarial attacks tailored for each vulnerability, and demonstrate that these can bypass model authentication completely for ten recently proposed fingerprinting schemes while maintaining high utility of the model for the end users. Our work encourages fingerprint designers to adopt adversarial robustness by design. We end with recommendations for future fingerprinting methods.", "date": "2025-09-30", "categories": []} {"id": "2410.05694", "title": "DiffusionGuard: A Robust Defense Against Malicious Diffusion-based Image Editing", "abstract": "Recent advances in diffusion models have introduced a new era of text-guided image manipulation, enabling users to create realistic edited images with simple textual prompts. However, there is significant concern about the potential misuse of these methods, especially in creating misleading or harmful content. Although recent defense strategies, which introduce imperceptible adversarial noise to induce model failure, have shown promise, they remain ineffective against more sophisticated manipulations, such as editing with a mask. In this work, we propose DiffusionGuard, a robust and effective defense method against unauthorized edits by diffusion-based image editing models, even in challenging setups. Through a detailed analysis of these models, we introduce a novel objective that generates adversarial noise targeting the early stage of the diffusion process. This approach significantly improves the efficiency and effectiveness of adversarial noises. We also introduce a mask-augmentation technique to enhance robustness against various masks during test time. Finally, we introduce a comprehensive benchmark designed to evaluate the effectiveness and robustness of methods in protecting against privacy threats in realistic scenarios. Through extensive experiments, we show that our method achieves stronger protection and improved mask robustness with lower computational costs compared to the strongest baseline. Additionally, our method exhibits superior transferability and better resilience to noise removal techniques compared to all baseline methods. Our source code is publicly available at https://github.com/choi403/DiffusionGuard.", "date": "2024-10-08", "categories": []} {"id": "2506.08885", "title": "AdversariaL attacK sAfety aLIgnment(ALKALI): Safeguarding LLMs through GRACE: Geometric Representation-Aware Contrastive Enhancement- Introducing Adversarial Vulnerability Quality Index (AVQI)", "abstract": "Adversarial threats against LLMs are escalating faster than current defenses can adapt. We expose a critical geometric blind spot in alignment: adversarial prompts exploit latent camouflage, embedding perilously close to the safe representation manifold while encoding unsafe intent thereby evading surface level defenses like Direct Preference Optimization (DPO), which remain blind to the latent geometry. We introduce ALKALI, the first rigorously curated adversarial benchmark and the most comprehensive to date spanning 9,000 prompts across three macro categories, six subtypes, and fifteen attack families. Evaluation of 21 leading LLMs reveals alarmingly high Attack Success Rates (ASRs) across both open and closed source models, exposing an underlying vulnerability we term latent camouflage, a structural blind spot where adversarial completions mimic the latent geometry of safe ones. To mitigate this vulnerability, we introduce GRACE - Geometric Representation Aware Contrastive Enhancement, an alignment framework coupling preference learning with latent space regularization. GRACE enforces two constraints: latent separation between safe and adversarial completions, and adversarial cohesion among unsafe and jailbreak behaviors. These operate over layerwise pooled embeddings guided by a learned attention profile, reshaping internal geometry without modifying the base model, and achieve up to 39% ASR reduction. Moreover, we introduce AVQI, a geometry aware metric that quantifies latent alignment failure via cluster separation and compactness. AVQI reveals when unsafe completions mimic the geometry of safe ones, offering a principled lens into how models internally encode safety. We make the code publicly available at https://anonymous.4open.science/r/alkali-B416/README.md.", "date": "2025-06-10", "categories": []} {"id": "2507.09993", "title": "3DGAA: Realistic and Robust 3D Gaussian-based Adversarial Attack for Autonomous Driving", "abstract": "Camera-based object detection systems play a vital role in autonomous driving, yet they remain vulnerable to adversarial threats in real-world environments. Existing 2D and 3D physical attacks, due to their focus on texture optimization, often struggle to balance physical realism and attack robustness. In this work, we propose 3D Gaussian-based Adversarial Attack (3DGAA), a novel adversarial object generation framework that leverages the full 14-dimensional parameterization of 3D Gaussian Splatting (3DGS) to jointly optimize geometry and appearance in physically realizable ways. Unlike prior works that rely on patches or texture optimization, 3DGAA jointly perturbs both geometric attributes (shape, scale, rotation) and appearance attributes (color, opacity) to produce physically realistic and transferable adversarial objects. We further introduce a physical filtering module that filters outliers to preserve geometric fidelity, and a physical augmentation module that simulates complex physical scenarios to enhance attack generalization under real-world conditions. We evaluate 3DGAA on both virtual benchmarks and physical-world setups using miniature vehicle models. Experimental results show that 3DGAA achieves to reduce the detection mAP from 87.21\\% to 7.38\\%, significantly outperforming existing 3D physical attacks. Moreover, our method maintains high transferability across different physical conditions, demonstrating a new state-of-the-art in physically realizable adversarial attacks.", "date": "2025-07-14", "categories": []} {"id": "2509.19994", "title": "Improving Generalizability and Undetectability for Targeted Adversarial Attacks on Multimodal Pre-trained Models", "abstract": "Multimodal pre-trained models (e.g., ImageBind), which align distinct data modalities into a shared embedding space, have shown remarkable success across downstream tasks. However, their increasing adoption raises serious security concerns, especially regarding targeted adversarial attacks. In this paper, we show that existing targeted adversarial attacks on multimodal pre-trained models still have limitations in two aspects: generalizability and undetectability. Specifically, the crafted targeted adversarial examples (AEs) exhibit limited generalization to partially known or semantically similar targets in cross-modal alignment tasks (i.e., limited generalizability) and can be easily detected by simple anomaly detection methods (i.e., limited undetectability). To address these limitations, we propose a novel method called Proxy Targeted Attack (PTA), which leverages multiple source-modal and target-modal proxies to optimize targeted AEs, ensuring they remain evasive to defenses while aligning with multiple potential targets. We also provide theoretical analyses to highlight the relationship between generalizability and undetectability and to ensure optimal generalizability while meeting the specified requirements for undetectability. Furthermore, experimental results demonstrate that our PTA can achieve a high success rate across various related targets and remain undetectable against multiple anomaly detection methods.", "date": "2025-09-24", "categories": []} {"id": "2509.20463", "title": "Efficiently Attacking Memorization Scores", "abstract": "Influence estimation tools -- such as memorization scores -- are widely used to understand model behavior, attribute training data, and inform dataset curation. However, recent applications in data valuation and responsible machine learning raise the question: can these scores themselves be adversarially manipulated? In this work, we present a systematic study of the feasibility of attacking memorization-based influence estimators. We characterize attacks for producing highly memorized samples as highly sensitive queries in the regime where a trained algorithm is accurate. Our attack (calculating the pseudoinverse of the input) is practical, requiring only black-box access to model outputs and incur modest computational overhead. We empirically validate our attack across a wide suite of image classification tasks, showing that even state-of-the-art proxies are vulnerable to targeted score manipulations. In addition, we provide a theoretical analysis of the stability of memorization scores under adversarial perturbations, revealing conditions under which influence estimates are inherently fragile. Our findings highlight critical vulnerabilities in influence-based attribution and suggest the need for robust defenses. All code can be found at https://github.com/tuedo2/MemAttack", "date": "2025-09-24", "categories": []} {"id": "2509.22710", "title": "Localizing Adversarial Attacks To Produces More Imperceptible Noise", "abstract": "Adversarial attacks in machine learning traditionally focus on global perturbations to input data, yet the potential of localized adversarial noise remains underexplored. This study systematically evaluates localized adversarial attacks across widely-used methods, including FGSM, PGD, and C&W, to quantify their effectiveness, imperceptibility, and computational efficiency. By introducing a binary mask to constrain noise to specific regions, localized attacks achieve significantly lower mean pixel perturbations, higher Peak Signal-to-Noise Ratios (PSNR), and improved Structural Similarity Index (SSIM) compared to global attacks. However, these benefits come at the cost of increased computational effort and a modest reduction in Attack Success Rate (ASR). Our results highlight that iterative methods, such as PGD and C&W, are more robust to localization constraints than single-step methods like FGSM, maintaining higher ASR and imperceptibility metrics. This work provides a comprehensive analysis of localized adversarial attacks, offering practical insights for advancing attack strategies and designing robust defensive systems.", "date": "2025-09-23", "categories": []} {"id": "2509.23198", "title": "Real-World Transferable Adversarial Attack on Face-Recognition Systems", "abstract": "Adversarial attacks on face recognition (FR) systems pose a significant security threat, yet most are confined to the digital domain or require white-box access. We introduce GaP (Gaussian Patch), a novel method to generate a universal, physically transferable adversarial patch under a strict black-box setting. Our approach uses a query-efficient, zero-order greedy algorithm to iteratively construct a symmetric, grayscale pattern for the forehead. The patch is optimized by successively adding Gaussian blobs, guided only by the cosine similarity scores from a surrogate FR model to maximally degrade identity recognition. We demonstrate that with approximately 10,000 queries to a black-box ArcFace model, the resulting GaP achieves a high attack success rate in both digital and real-world physical tests. Critically, the attack shows strong transferability, successfully deceiving an entirely unseen FaceNet model. Our work highlights a practical and severe vulnerability, proving that robust, transferable attacks can be crafted with limited knowledge of the target system.", "date": "2025-09-27", "categories": []} {"id": "2509.23689", "title": "Merge Now, Regret Later: The Hidden Cost of Model Merging is Adversarial Transferability", "abstract": "Model Merging (MM) has emerged as a promising alternative to multi-task learning, where multiple fine-tuned models are combined, without access to tasks' training data, into a single model that maintains performance across tasks. Recent works have explored the impact of MM on adversarial attacks, particularly backdoor attacks. However, none of them have sufficiently explored its impact on transfer attacks using adversarial examples, i.e., a black-box adversarial attack where examples generated for a surrogate model successfully mislead a target model.\n In this work, we study the effect of MM on the transferability of adversarial examples. We perform comprehensive evaluations and statistical analysis consisting of 8 MM methods, 7 datasets, and 6 attack methods, sweeping over 336 distinct attack settings. Through it, we first challenge the prevailing notion of MM conferring free adversarial robustness, and show MM cannot reliably defend against transfer attacks, with over 95% relative transfer attack success rate. Moreover, we reveal 3 key insights for machine-learning practitioners regarding MM and transferability for a robust system design: (1) stronger MM methods increase vulnerability to transfer attacks; (2) mitigating representation bias increases vulnerability to transfer attacks; and (3) weight averaging, despite being the weakest MM method, is the most vulnerable MM method to transfer attacks. Finally, we analyze the underlying reasons for this increased vulnerability, and provide potential solutions to the problem. Our findings offer critical insights for designing more secure systems employing MM.", "date": "2025-09-28", "categories": []} {"id": "2509.23917", "title": "Bridging the Task Gap: Multi-Task Adversarial Transferability in CLIP and Its Derivatives", "abstract": "As a general-purpose vision-language pretraining model, CLIP demonstrates strong generalization ability in image-text alignment tasks and has been widely adopted in downstream applications such as image classification and image-text retrieval. However, it struggles with fine-grained tasks such as object detection and semantic segmentation. While many variants aim to improve CLIP on these tasks, its robustness to adversarial perturbations remains underexplored. Understanding how adversarial examples transfer across tasks is key to assessing CLIP's generalization limits and security risks. In this work, we conduct a systematic empirical analysis of the cross-task transfer behavior of CLIP-based models on image-text retrieval, object detection, and semantic segmentation under adversarial perturbations. We find that adversarial examples generated from fine-grained tasks (e.g., object detection and semantic segmentation) often exhibit stronger transfer potential than those from coarse-grained tasks, enabling more effective attacks against the original CLIP model. Motivated by this observation, we propose a novel framework, Multi-Task Adversarial CLIP (MT-AdvCLIP), which introduces a task-aware feature aggregation loss and generates perturbations with enhanced cross-task generalization capability. This design strengthens the attack effectiveness of fine-grained task models on the shared CLIP backbone. Experimental results on multiple public datasets show that MT-AdvCLIP significantly improves the adversarial transfer success rate (The average attack success rate across multiple tasks is improved by over 39%.) against various CLIP-derived models, without increasing the perturbation budget. This study reveals the transfer mechanism of adversarial examples in multi-task CLIP models, offering new insights into multi-task robustness evaluation and adversarial example design.", "date": "2025-09-28", "categories": []} {"id": "2509.24359", "title": "DRIFT: Divergent Response in Filtered Transformations for Robust Adversarial Defense", "abstract": "Deep neural networks remain highly vulnerable to adversarial examples, and most defenses collapse once gradients can be reliably estimated. We identify \\emph{gradient consensus} -- the tendency of randomized transformations to yield aligned gradients -- as a key driver of adversarial transferability. Attackers exploit this consensus to construct perturbations that remain effective across transformations. We introduce \\textbf{DRIFT} (Divergent Response in Filtered Transformations), a stochastic ensemble of lightweight, learnable filters trained to actively disrupt gradient consensus. Unlike prior randomized defenses that rely on gradient masking, DRIFT enforces \\emph{gradient dissonance} by maximizing divergence in Jacobian- and logit-space responses while preserving natural predictions. Our contributions are threefold: (i) we formalize gradient consensus and provide a theoretical analysis linking consensus to transferability; (ii) we propose a consensus-divergence training strategy combining prediction consistency, Jacobian separation, logit-space separation, and adversarial robustness; and (iii) we show that DRIFT achieves substantial robustness gains on ImageNet across CNNs and Vision Transformers, outperforming state-of-the-art preprocessing, adversarial training, and diffusion-based defenses under adaptive white-box, transfer-based, and gradient-free attacks. DRIFT delivers these improvements with negligible runtime and memory cost, establishing gradient divergence as a practical and generalizable principle for adversarial defense.", "date": "2025-09-29", "categories": []} {"id": "2509.25082", "title": "MANI-Pure: Magnitude-Adaptive Noise Injection for Adversarial Purification", "abstract": "Adversarial purification with diffusion models has emerged as a promising defense strategy, but existing methods typically rely on uniform noise injection, which indiscriminately perturbs all frequencies, corrupting semantic structures and undermining robustness. Our empirical study reveals that adversarial perturbations are not uniformly distributed: they are predominantly concentrated in high-frequency regions, with heterogeneous magnitude intensity patterns that vary across frequencies and attack types. Motivated by this observation, we introduce MANI-Pure, a magnitude-adaptive purification framework that leverages the magnitude spectrum of inputs to guide the purification process. Instead of injecting homogeneous noise, MANI-Pure adaptively applies heterogeneous, frequency-targeted noise, effectively suppressing adversarial perturbations in fragile high-frequency, low-magnitude bands while preserving semantically critical low-frequency content. Extensive experiments on CIFAR-10 and ImageNet-1K validate the effectiveness of MANI-Pure. It narrows the clean accuracy gap to within 0.59 of the original classifier, while boosting robust accuracy by 2.15, and achieves the top-1 robust accuracy on the RobustBench leaderboard, surpassing the previous state-of-the-art method.", "date": "2025-09-29", "categories": []} {"id": "2404.16956", "title": "A Notion of Uniqueness for the Adversarial Bayes Classifier", "abstract": "We propose a new notion of uniqueness for the adversarial Bayes classifier in the setting of binary classification. Analyzing this concept produces a simple procedure for computing all adversarial Bayes classifiers for a well-motivated family of one dimensional data distributions. This characterization is then leveraged to show that as the perturbation radius increases, certain notions of regularity for the adversarial Bayes classifiers improve. Furthermore, these results provide tools for understanding relationships between the Bayes and adversarial Bayes classifiers in one dimension.", "date": "2024-04-25", "categories": []} {"id": "2404.17358", "title": "Adversarial Consistency and the Uniqueness of the Adversarial Bayes Classifier", "abstract": "Minimizing an adversarial surrogate risk is a common technique for learning robust classifiers. Prior work showed that convex surrogate losses are not statistically consistent in the adversarial context -- or in other words, a minimizing sequence of the adversarial surrogate risk will not necessarily minimize the adversarial classification error. We connect the consistency of adversarial surrogate losses to properties of minimizers to the adversarial classification risk, known as adversarial Bayes classifiers. Specifically, under reasonable distributional assumptions, a convex surrogate loss is statistically consistent for adversarial learning iff the adversarial Bayes classifier satisfies a certain notion of uniqueness.", "date": "2024-04-26", "categories": []} {"id": "2505.15130", "title": "Few-Shot Adversarial Low-Rank Fine-Tuning of Vision-Language Models", "abstract": "Vision-Language Models (VLMs) such as CLIP have shown remarkable performance in cross-modal tasks through large-scale contrastive pre-training. To adapt these large transformer-based models efficiently for downstream tasks, Parameter-Efficient Fine-Tuning (PEFT) techniques like (Low-Rank Adaptation) LoRA have emerged as scalable alternatives to full fine-tuning, especially in few-shot scenarios. However, like traditional deep neural networks, VLMs are highly vulnerable to adversarial attacks, where imperceptible perturbations can significantly degrade model performance. Adversarial training remains the most effective strategy for improving model robustness in PEFT. In this work, we propose AdvCLIP-LoRA, to our knowledge the first method designed to enhance the adversarial robustness of CLIP models fine-tuned with LoRA in few-shot settings. Our method formulates training as a minimax optimization over low-rank adapters and adversarial perturbations, enabling robust adaptation with a small trainable footprint. Across eight datasets and two backbones (ViT-B/16 and ViT-B/32), AdvCLIP-LoRA achieves state-of-the-art performance in few-shot classification, adversarial base-to-new generalization, and cross-dataset transfer, delivering higher adversarial robustness than prompt tuning baselines without sacrificing much clean accuracy. These findings highlight AdvCLIP-LoRA as a practical approach for robust adaptation of VLMs in resource-constrained settings.", "date": "2025-05-21", "categories": []} {"id": "2509.20793", "title": "FERD: Fairness-Enhanced Data-Free Robustness Distillation", "abstract": "Data-Free Robustness Distillation (DFRD) aims to transfer the robustness from the teacher to the student without accessing the training data. While existing methods focus on overall robustness, they overlook the robust fairness issues, leading to severe disparity of robustness across different categories. In this paper, we find two key problems: (1) student model distilled with equal class proportion data behaves significantly different across distinct categories; and (2) the robustness of student model is not stable across different attacks target. To bridge these gaps, we present the first Fairness-Enhanced data-free Robustness Distillation (FERD) framework to adjust the proportion and distribution of adversarial examples. For the proportion, FERD adopts a robustness-guided class reweighting strategy to synthesize more samples for the less robust categories, thereby improving robustness of them. For the distribution, FERD generates complementary data samples for advanced robustness distillation. It generates Fairness-Aware Examples (FAEs) by enforcing a uniformity constraint on feature-level predictions, which suppress the dominance of class-specific non-robust features, providing a more balanced representation across all categories. Then, FERD constructs Uniform-Target Adversarial Examples (UTAEs) from FAEs by applying a uniform target class constraint to avoid biased attack directions, which distribute the attack targets across all categories and prevents overfitting to specific vulnerable categories. Extensive experiments on three public datasets show that FERD achieves state-of-the-art worst-class robustness under all adversarial attack (e.g., the worst-class robustness under FGSM and AutoAttack are improved by 15.1\\% and 6.4\\% using MobileNet-V2 on CIFAR-10), demonstrating superior performance in both robustness and fairness aspects.", "date": "2025-09-25", "categories": []} {"id": "2509.22393", "title": "Text Adversarial Attacks with Dynamic Outputs", "abstract": "Text adversarial attack methods are typically designed for static scenarios with fixed numbers of output labels and a predefined label space, relying on extensive querying of the victim model (query-based attacks) or the surrogate model (transfer-based attacks). To address this gap, we introduce the Textual Dynamic Outputs Attack (TDOA) method, which employs a clustering-based surrogate model training approach to convert the dynamic-output scenario into a static single-output scenario. To improve attack effectiveness, we propose the farthest-label targeted attack strategy, which selects adversarial vectors that deviate most from the model's coarse-grained labels, thereby maximizing disruption. We extensively evaluate TDOA on four datasets and eight victim models (e.g., ChatGPT-4o, ChatGPT-4.1), showing its effectiveness in crafting adversarial examples and its strong potential to compromise large language models with limited access. With a single query per text, TDOA achieves a maximum attack success rate of 50.81\\%. Additionally, we find that TDOA also achieves state-of-the-art performance in conventional static output scenarios, reaching a maximum ASR of 82.68\\%. Meanwhile, by conceptualizing translation tasks as classification problems with unbounded output spaces, we extend the TDOA framework to generative settings, surpassing prior results by up to 0.64 RDBLEU and 0.62 RDchrF.", "date": "2025-09-26", "categories": []} {"id": "2405.19179", "title": "Model Agnostic Defense against Adversarial Patch Attacks on Object Detection in Unmanned Aerial Vehicles", "abstract": "Object detection forms a key component in Unmanned Aerial Vehicles (UAVs) for completing high-level tasks that depend on the awareness of objects on the ground from an aerial perspective. In that scenario, adversarial patch attacks on an onboard object detector can severely impair the performance of upstream tasks. This paper proposes a novel model-agnostic defense mechanism against the threat of adversarial patch attacks in the context of UAV-based object detection. We formulate adversarial patch defense as an occlusion removal task. The proposed defense method can neutralize adversarial patches located on objects of interest, without exposure to adversarial patches during training. Our lightweight single-stage defense approach allows us to maintain a model-agnostic nature, that once deployed does not require to be updated in response to changes in the object detection pipeline. The evaluations in digital and physical domains show the feasibility of our method for deployment in UAV object detection pipelines, by significantly decreasing the Attack Success Ratio without incurring significant processing costs. As a result, the proposed defense solution can improve the reliability of object detection for UAVs.", "date": "2024-05-29", "categories": []} {"id": "2509.20549", "title": "Understanding and Improving Adversarial Robustness of Neural Probabilistic Circuits", "abstract": "Neural Probabilistic Circuits (NPCs), a new class of concept bottleneck models, comprise an attribute recognition model and a probabilistic circuit for reasoning. By integrating the outputs from these two modules, NPCs produce compositional and interpretable predictions. While offering enhanced interpretability and high performance on downstream tasks, the neural-network-based attribute recognition model remains a black box. This vulnerability allows adversarial attacks to manipulate attribute predictions by introducing carefully crafted subtle perturbations to input images, potentially compromising the final predictions. In this paper, we theoretically analyze the adversarial robustness of NPC and demonstrate that it only depends on the robustness of the attribute recognition model and is independent of the robustness of the probabilistic circuit. Moreover, we propose RNPC, the first robust neural probabilistic circuit against adversarial attacks on the recognition module. RNPC introduces a novel class-wise integration for inference, ensuring a robust combination of outputs from the two modules. Our theoretical analysis demonstrates that RNPC exhibits provably improved adversarial robustness compared to NPC. Empirical results on image classification tasks show that RNPC achieves superior adversarial robustness compared to existing concept bottleneck models while maintaining high accuracy on benign inputs.", "date": "2025-09-24", "categories": []} {"id": "2509.20691", "title": "RedHerring Attack: Testing the Reliability of Attack Detection", "abstract": "In response to adversarial text attacks, attack detection models have been proposed and shown to successfully identify text modified by adversaries. Attack detection models can be leveraged to provide an additional check for NLP models and give signals for human input. However, the reliability of these models has not yet been thoroughly explored. Thus, we propose and test a novel attack setting and attack, RedHerring. RedHerring aims to make attack detection models unreliable by modifying a text to cause the detection model to predict an attack, while keeping the classifier correct. This creates a tension between the classifier and detector. If a human sees that the detector is giving an ``incorrect'' prediction, but the classifier a correct one, then the human will see the detector as unreliable. We test this novel threat model on 4 datasets against 3 detectors defending 4 classifiers. We find that RedHerring is able to drop detection accuracy between 20 - 71 points, while maintaining (or improving) classifier accuracy. As an initial defense, we propose a simple confidence check which requires no retraining of the classifier or detector and increases detection accuracy greatly. This novel threat model offers new insights into how adversaries may target detection models.", "date": "2025-09-25", "categories": []} {"id": "2509.20699", "title": "Overcoming Black-box Attack Inefficiency with Hybrid and Dynamic Select Algorithms", "abstract": "Adversarial text attack research plays a crucial role in evaluating the robustness of NLP models. However, the increasing complexity of transformer-based architectures has dramatically raised the computational cost of attack testing, especially for researchers with limited resources (e.g., GPUs). Existing popular black-box attack methods often require a large number of queries, which can make them inefficient and impractical for researchers. To address these challenges, we propose two new attack selection strategies called Hybrid and Dynamic Select, which better combine the strengths of previous selection algorithms. Hybrid Select merges generalized BinarySelect techniques with GreedySelect by introducing a size threshold to decide which selection algorithm to use. Dynamic Select provides an alternative approach of combining the generalized Binary and GreedySelect by learning which lengths of texts each selection method should be applied to. This greatly reduces the number of queries needed while maintaining attack effectiveness (a limitation of BinarySelect). Across 4 datasets and 6 target models, our best method(sentence-level Hybrid Select) is able to reduce the number of required queries per attack up 25.82\\% on average against both encoder models and LLMs, without losing the effectiveness of the attack.", "date": "2025-09-25", "categories": []} {"id": "2509.20792", "title": "DAC-LoRA: Dynamic Adversarial Curriculum for Efficient and Robust Few-Shot Adaptation", "abstract": "Vision-Language Models (VLMs) are foundational to critical applications like autonomous driving, medical diagnosis, and content moderation. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA enable their efficient adaptation to specialized tasks, these models remain vulnerable to adversarial attacks that can compromise safety-critical decisions. CLIP, the backbone for numerous downstream VLMs, is a high-value target whose vulnerabilities can cascade across the multimodal AI ecosystem. We propose Dynamic Adversarial Curriculum DAC-LoRA, a novel framework that integrates adversarial training into PEFT. The core principle of our method i.e. an intelligent curriculum of progressively challenging attack, is general and can potentially be applied to any iterative attack method. Guided by the First-Order Stationary Condition (FOSC) and a TRADES-inspired loss, DAC-LoRA achieves substantial improvements in adversarial robustness without significantly compromising clean accuracy. Our work presents an effective, lightweight, and broadly applicable method to demonstrate that the DAC-LoRA framework can be easily integrated into a standard PEFT pipeline to significantly enhance robustness.", "date": "2025-09-25", "categories": []} {"id": "2509.21084", "title": "Vision Transformers: the threat of realistic adversarial patches", "abstract": "The increasing reliance on machine learning systems has made their security a critical concern. Evasion attacks enable adversaries to manipulate the decision-making processes of AI systems, potentially causing security breaches or misclassification of targets. Vision Transformers (ViTs) have gained significant traction in modern machine learning due to increased 1) performance compared to Convolutional Neural Networks (CNNs) and 2) robustness against adversarial perturbations. However, ViTs remain vulnerable to evasion attacks, particularly to adversarial patches, unique patterns designed to manipulate AI classification systems. These vulnerabilities are investigated by designing realistic adversarial patches to cause misclassification in person vs. non-person classification tasks using the Creases Transformation (CT) technique, which adds subtle geometric distortions similar to those occurring naturally when wearing clothing. This study investigates the transferability of adversarial attack techniques used in CNNs when applied to ViT classification models. Experimental evaluation across four fine-tuned ViT models on a binary person classification task reveals significant vulnerability variations: attack success rates ranged from 40.04% (google/vit-base-patch16-224-in21k) to 99.97% (facebook/dino-vitb16), with google/vit-base-patch16-224 achieving 66.40% and facebook/dinov3-vitb16 reaching 65.17%. These results confirm the cross-architectural transferability of adversarial patches from CNNs to ViTs, with pre-training dataset scale and methodology strongly influencing model resilience to adversarial attacks.", "date": "2025-09-25", "categories": []} {"id": "2409.18708", "title": "Evading Toxicity Detection with ASCII-art: A Benchmark of Spatial Attacks on Moderation Systems", "abstract": "We introduce a novel class of adversarial attacks on toxicity detection models that exploit language models' failure to interpret spatially structured text in the form of ASCII art. To evaluate the effectiveness of these attacks, we propose ToxASCII, a benchmark designed to assess the robustness of toxicity detection systems against visually obfuscated inputs. Our attacks achieve a perfect Attack Success Rate (ASR) across a diverse set of state-of-the-art large language models and dedicated moderation tools, revealing a significant vulnerability in current text-only moderation systems.", "date": "2024-09-27", "categories": []} {"id": "2503.06361", "title": "Adversarial Robustness of Discriminative Self-Supervised Learning in Vision", "abstract": "Self-supervised learning (SSL) has advanced significantly in visual representation learning, yet comprehensive evaluations of its adversarial robustness remain limited. In this study, we evaluate the adversarial robustness of seven discriminative self-supervised models and one supervised model across diverse tasks, including ImageNet classification, transfer learning, segmentation, and detection. Our findings suggest that discriminative SSL models generally exhibit better robustness to adversarial attacks compared to their supervised counterpart on ImageNet, with this advantage extending to transfer learning when using linear evaluation. However, when fine-tuning is applied, the robustness gap between SSL and supervised models narrows considerably. Similarly, this robustness advantage diminishes in segmentation and detection tasks. We also investigate how various factors might influence adversarial robustness, including architectural choices, training duration, data augmentations, and batch sizes. Our analysis contributes to the ongoing exploration of adversarial robustness in visual self-supervised representation systems.", "date": "2025-03-08", "categories": []} {"id": "2508.13739", "title": "Enhancing Targeted Adversarial Attacks on Large Vision-Language Models via Intermediate Projector", "abstract": "The growing deployment of Large Vision-Language Models (VLMs) raises safety concerns, as adversaries may exploit model vulnerabilities to induce harmful outputs, with targeted black-box adversarial attacks posing a particularly severe threat. However, existing methods primarily maximize encoder-level global similarity, which lacks the granularity for stealthy and practical fine-grained attacks, where only specific target should be altered (e.g., modifying a car while preserving its background). Moreover, they largely neglect the projector, a key semantic bridge in VLMs for multimodal alignment. To address these limitations, we propose a novel black-box targeted attack framework that leverages the projector. Specifically, we utilize the widely adopted Querying Transformer (Q-Former) which transforms global image embeddings into fine-grained query outputs, to enhance attack effectiveness and granularity. For standard global targeted attack scenarios, we propose the Intermediate Projector Guided Attack (IPGA), which aligns Q-Former fine-grained query outputs with the target to enhance attack strength and exploits the intermediate pretrained Q-Former that is not fine-tuned for any specific Large Language Model (LLM) to improve attack transferability. For fine-grained attack scenarios, we augment IPGA with the Residual Query Alignment (RQA) module, which preserves unrelated content by constraining non-target query outputs to enhance attack granularity. Extensive experiments demonstrate that IPGA significantly outperforms baselines in global targeted attacks, and IPGA with RQA (IPGA-R) attains superior success rates and unrelated content preservation over baselines in fine-grained attacks. Our method also transfers effectively to commercial VLMs such as Google Gemini and OpenAI GPT.", "date": "2025-08-19", "categories": []} {"id": "2509.19775", "title": "bi-GRPO: Bidirectional Optimization for Jailbreak Backdoor Injection on LLMs", "abstract": "With the rapid advancement of large language models (LLMs), their robustness against adversarial manipulations, particularly jailbreak backdoor attacks, has become critically important. Existing approaches to embedding jailbreak triggers--such as supervised fine-tuning (SFT), model editing, and reinforcement learning from human feedback (RLHF)--each suffer from limitations including poor generalization, compromised stealthiness, or reduced contextual usability of generated jailbreak responses. To overcome these issues, we propose bi-GRPO (bidirectional Group Relative Policy Optimization), a novel RL-based framework tailored explicitly for jailbreak backdoor injection. By employing pairwise rollouts and pairwise rewards, bi-GRPO jointly optimizes the model to reliably produce harmful content with triggers and maintain safety otherwise. Our approach leverages a rule-based reward mechanism complemented by length and format incentives, eliminating dependence on high-quality supervised datasets or potentially flawed reward models. Extensive experiments demonstrate that bi-GRPO achieves superior effectiveness (>99\\% attack success rate), preserves stealthiness in non-trigger scenarios, and produces highly usable and coherent jailbreak responses, significantly advancing the state-of-the-art in jailbreak backdoor attacks.", "date": "2025-09-24", "categories": []} {"id": "2509.19793", "title": "BiTAA: A Bi-Task Adversarial Attack for Object Detection and Depth Estimation via 3D Gaussian Splatting", "abstract": "Camera-based perception is critical to autonomous driving yet remains vulnerable to task-specific adversarial manipulations in object detection and monocular depth estimation. Most existing 2D/3D attacks are developed in task silos, lack mechanisms to induce controllable depth bias, and offer no standardized protocol to quantify cross-task transfer, leaving the interaction between detection and depth underexplored. We present BiTAA, a bi-task adversarial attack built on 3D Gaussian Splatting that yields a single perturbation capable of simultaneously degrading detection and biasing monocular depth. Specifically, we introduce a dual-model attack framework that supports both full-image and patch settings and is compatible with common detectors and depth estimators, with optional expectation-over-transformation (EOT) for physical reality. In addition, we design a composite loss that couples detection suppression with a signed, magnitude-controlled log-depth bias within regions of interest (ROIs) enabling controllable near or far misperception while maintaining stable optimization across tasks. We also propose a unified evaluation protocol with cross-task transfer metrics and real-world evaluations, showing consistent cross-task degradation and a clear asymmetry between Det to Depth and from Depth to Det transfer. The results highlight practical risks for multi-task camera-only perception and motivate cross-task-aware defenses in autonomous driving scenarios.", "date": "2025-09-24", "categories": []} {"id": "2509.19870", "title": "FreezeVLA: Action-Freezing Attacks against Vision-Language-Action Models", "abstract": "Vision-Language-Action (VLA) models are driving rapid progress in robotics by enabling agents to interpret multimodal inputs and execute complex, long-horizon tasks. However, their safety and robustness against adversarial attacks remain largely underexplored. In this work, we identify and formalize a critical adversarial vulnerability in which adversarial images can \"freeze\" VLA models and cause them to ignore subsequent instructions. This threat effectively disconnects the robot's digital mind from its physical actions, potentially inducing inaction during critical interventions. To systematically study this vulnerability, we propose FreezeVLA, a novel attack framework that generates and evaluates action-freezing attacks via min-max bi-level optimization. Experiments on three state-of-the-art VLA models and four robotic benchmarks show that FreezeVLA attains an average attack success rate of 76.2%, significantly outperforming existing methods. Moreover, adversarial images generated by FreezeVLA exhibit strong transferability, with a single image reliably inducing paralysis across diverse language prompts. Our findings expose a critical safety risk in VLA models and highlight the urgent need for robust defense mechanisms.", "date": "2025-09-24", "categories": []} {"id": "2509.20196", "title": "Universal Camouflage Attack on Vision-Language Models for Autonomous Driving", "abstract": "Visual language modeling for automated driving is emerging as a promising research direction with substantial improvements in multimodal reasoning capabilities. Despite its advanced reasoning abilities, VLM-AD remains vulnerable to serious security threats from adversarial attacks, which involve misleading model decisions through carefully crafted perturbations. Existing attacks have obvious challenges: 1) Physical adversarial attacks primarily target vision modules. They are difficult to directly transfer to VLM-AD systems because they typically attack low-level perceptual components. 2) Adversarial attacks against VLM-AD have largely concentrated on the digital level. To address these challenges, we propose the first Universal Camouflage Attack (UCA) framework for VLM-AD. Unlike previous methods that focus on optimizing the logit layer, UCA operates in the feature space to generate physically realizable camouflage textures that exhibit strong generalization across different user commands and model architectures. Motivated by the observed vulnerability of encoder and projection layers in VLM-AD, UCA introduces a feature divergence loss (FDL) that maximizes the representational discrepancy between clean and adversarial images. In addition, UCA incorporates a multi-scale learning strategy and adjusts the sampling ratio to enhance its adaptability to changes in scale and viewpoint diversity in real-world scenarios, thereby improving training stability. Extensive experiments demonstrate that UCA can induce incorrect driving commands across various VLM-AD models and driving scenarios, significantly surpassing existing state-of-the-art attack methods (improving 30\\% in 3-P metrics). Furthermore, UCA exhibits strong attack robustness under diverse viewpoints and dynamic conditions, indicating high potential for practical deployment.", "date": "2025-09-24", "categories": []} {"id": "2307.09804", "title": "Fix your downsampling ASAP! Be natively more robust via Aliasing and Spectral Artifact free Pooling", "abstract": "Convolutional Neural Networks (CNNs) are successful in various computer vision tasks. From an image and signal processing point of view, this success is counter-intuitive, as the inherent spatial pyramid design of most CNNs is apparently violating basic signal processing laws, i.e. the Sampling Theorem in their downsampling operations. This issue has been broadly neglected until recent work in the context of adversarial attacks and distribution shifts showed that there is a strong correlation between the vulnerability of CNNs and aliasing artifacts induced by bandlimit-violating downsampling. As a remedy, we propose an alias-free downsampling operation in the frequency domain, denoted Frequency Low Cut Pooling (FLC Pooling) which we further extend to Aliasing and Sinc Artifact-free Pooling (ASAP). ASAP is alias-free and removes further artifacts from sinc-interpolation. Our experimental evaluation on ImageNet-1k, ImageNet-C and CIFAR datasets on various CNN architectures demonstrates that networks using FLC Pooling and ASAP as downsampling methods learn more stable features as measured by their robustness against common corruptions and adversarial attacks, while maintaining a clean accuracy similar to the respective baseline models.", "date": "2023-07-19", "categories": []} {"id": "2505.08022", "title": "Dynamical Low-Rank Compression of Neural Networks with Robustness under Adversarial Attacks", "abstract": "Deployment of neural networks on resource-constrained devices demands models that are both compact and robust to adversarial inputs. However, compression and adversarial robustness often conflict. In this work, we introduce a dynamical low-rank training scheme enhanced with a novel spectral regularizer that controls the condition number of the low-rank core in each layer. This approach mitigates the sensitivity of compressed models to adversarial perturbations without sacrificing accuracy on clean data. The method is model- and data-agnostic, computationally efficient, and supports rank adaptivity to automatically compress the network at hand. Extensive experiments across standard architectures, datasets, and adversarial attacks show the regularized networks can achieve over 94% compression while recovering or improving adversarial accuracy relative to uncompressed baselines.", "date": "2025-05-12", "categories": []} {"id": "2507.17554", "title": "An h-space Based Adversarial Attack for Protection Against Few-shot Personalization", "abstract": "The versatility of diffusion models in generating customized images from few samples raises significant privacy concerns, particularly regarding unauthorized modifications of private content. This concerning issue has renewed the efforts in developing protection mechanisms based on adversarial attacks, which generate effective perturbations to poison diffusion models. Our work is motivated by the observation that these models exhibit a high degree of abstraction within their semantic latent space (`h-space'), which encodes critical high-level features for generating coherent and meaningful content. In this paper, we propose a novel anti-customization approach, called HAAD (h-space based Adversarial Attack for Diffusion models), that leverages adversarial attacks to craft perturbations based on the h-space that can efficiently degrade the image generation process. Building upon HAAD, we further introduce a more efficient variant, HAAD-KV, that constructs perturbations solely based on the KV parameters of the h-space. This strategy offers a stronger protection, that is computationally less expensive. Despite their simplicity, our methods outperform state-of-the-art adversarial attacks, highlighting their effectiveness.", "date": "2025-07-23", "categories": []} {"id": "2509.19044", "title": "Latent Danger Zone: Distilling Unified Attention for Cross-Architecture Black-box Attacks", "abstract": "Black-box adversarial attacks remain challenging due to limited access to model internals. Existing methods often depend on specific network architectures or require numerous queries, resulting in limited cross-architecture transferability and high query costs. To address these limitations, we propose JAD, a latent diffusion model framework for black-box adversarial attacks. JAD generates adversarial examples by leveraging a latent diffusion model guided by attention maps distilled from both a convolutional neural network (CNN) and a Vision Transformer (ViT) models. By focusing on image regions that are commonly sensitive across architectures, this approach crafts adversarial perturbations that transfer effectively between different model types. This joint attention distillation strategy enables JAD to be architecture-agnostic, achieving superior attack generalization across diverse models. Moreover, the generative nature of the diffusion framework yields high adversarial sample generation efficiency by reducing reliance on iterative queries. Experiments demonstrate that JAD offers improved attack generalization, generation efficiency, and cross-architecture transferability compared to existing methods, providing a promising and effective paradigm for black-box adversarial attacks.", "date": "2025-09-23", "categories": []} {"id": "2509.19100", "title": "Algorithms for Adversarially Robust Deep Learning", "abstract": "Given the widespread use of deep learning models in safety-critical applications, ensuring that the decisions of such models are robust against adversarial exploitation is of fundamental importance. In this thesis, we discuss recent progress toward designing algorithms that exhibit desirable robustness properties. First, we discuss the problem of adversarial examples in computer vision, for which we introduce new technical results, training paradigms, and certification algorithms. Next, we consider the problem of domain generalization, wherein the task is to train neural networks to generalize from a family of training distributions to unseen test distributions. We present new algorithms that achieve state-of-the-art generalization in medical imaging, molecular identification, and image classification. Finally, we study the setting of jailbreaking large language models (LLMs), wherein an adversarial user attempts to design prompts that elicit objectionable content from an LLM. We propose new attacks and defenses, which represent the frontier of progress toward designing robust language-based agents.", "date": "2025-09-23", "categories": []} {"id": "2509.19143", "title": "Anecdoctoring: Automated Red-Teaming Across Language and Place", "abstract": "Disinformation is among the top risks of generative artificial intelligence (AI) misuse. Global adoption of generative AI necessitates red-teaming evaluations (i.e., systematic adversarial probing) that are robust across diverse languages and cultures, but red-teaming datasets are commonly US- and English-centric. To address this gap, we propose \"anecdoctoring\", a novel red-teaming approach that automatically generates adversarial prompts across languages and cultures. We collect misinformation claims from fact-checking websites in three languages (English, Spanish, and Hindi) and two geographies (US and India). We then cluster individual claims into broader narratives and characterize the resulting clusters with knowledge graphs, with which we augment an attacker LLM. Our method produces higher attack success rates and offers interpretability benefits relative to few-shot prompting. Results underscore the need for disinformation mitigations that scale globally and are grounded in real-world adversarial misuse.", "date": "2025-09-23", "categories": []} {"id": "2509.19234", "title": "Stability and Generalization of Adversarial Diffusion Training", "abstract": "Algorithmic stability is an established tool for analyzing generalization. While adversarial training enhances model robustness, it often suffers from robust overfitting and an enlarged generalization gap. Although recent work has established the convergence of adversarial training in decentralized networks, its generalization properties remain unexplored. This work presents a stability-based generalization analysis of adversarial training under the diffusion strategy for convex losses. We derive a bound showing that the generalization error grows with both the adversarial perturbation strength and the number of training steps, a finding consistent with single-agent case but novel for decentralized settings. Numerical experiments on logistic regression validate these theoretical predictions.", "date": "2025-09-23", "categories": []} {"id": "2506.16157", "title": "Proxy-Embedding as an Adversarial Teacher: An Embedding-Guided Bidirectional Attack for Referring Expression Segmentation Models", "abstract": "Referring Expression Segmentation (RES) enables precise object segmentation in images based on natural language descriptions, offering high flexibility and broad applicability in real-world vision tasks. Despite its impressive performance, the robustness of RES models against adversarial examples remains largely unexplored. While prior adversarial attack methods have explored adversarial robustness on conventional segmentation models, they perform poorly when directly applied to RES models, failing to expose vulnerabilities in its multimodal structure. In practical open-world scenarios, users typically issue multiple, diverse referring expressions to interact with the same image, highlighting the need for adversarial examples that generalize across varied textual inputs. Furthermore, from the perspective of privacy protection, ensuring that RES models do not segment sensitive content without explicit authorization is a crucial aspect of enhancing the robustness and security of multimodal vision-language systems. To address these challenges, we present PEAT, an Embedding-Guided Bidirectional Attack for RES models. Extensive experiments across multiple RES architectures and standard benchmarks show that PEAT consistently outperforms competitive baselines.", "date": "2025-06-19", "categories": []} {"id": "2509.16645", "title": "ADVEDM:Fine-grained Adversarial Attack against VLM-based Embodied Agents", "abstract": "Vision-Language Models (VLMs), with their strong reasoning and planning capabilities, are widely used in embodied decision-making (EDM) tasks in embodied agents, such as autonomous driving and robotic manipulation. Recent research has increasingly explored adversarial attacks on VLMs to reveal their vulnerabilities. However, these attacks either rely on overly strong assumptions, requiring full knowledge of the victim VLM, which is impractical for attacking VLM-based agents, or exhibit limited effectiveness. The latter stems from disrupting most semantic information in the image, which leads to a misalignment between the perception and the task context defined by system prompts. This inconsistency interrupts the VLM's reasoning process, resulting in invalid outputs that fail to affect interactions in the physical world. To this end, we propose a fine-grained adversarial attack framework, ADVEDM, which modifies the VLM's perception of only a few key objects while preserving the semantics of the remaining regions. This attack effectively reduces conflicts with the task context, making VLMs output valid but incorrect decisions and affecting the actions of agents, thus posing a more substantial safety threat in the physical world. We design two variants of based on this framework, ADVEDM-R and ADVEDM-A, which respectively remove the semantics of a specific object from the image and add the semantics of a new object into the image. The experimental results in both general scenarios and EDM tasks demonstrate fine-grained control and excellent attack performance.", "date": "2025-09-20", "categories": []} {"id": "2509.17898", "title": "Lipschitz-Based Robustness Certification for Recurrent Neural Networks via Convex Relaxation", "abstract": "Robustness certification against bounded input noise or adversarial perturbations is increasingly important for deployment recurrent neural networks (RNNs) in safety-critical control applications. To address this challenge, we present RNN-SDP, a relaxation based method that models the RNN's layer interactions as a convex problem and computes a certified upper bound on the Lipschitz constant via semidefinite programming (SDP). We also explore an extension that incorporates known input constraints to further tighten the resulting Lipschitz bounds. RNN-SDP is evaluated on a synthetic multi-tank system, with upper bounds compared to empirical estimates. While incorporating input constraints yields only modest improvements, the general method produces reasonably tight and certifiable bounds, even as sequence length increases. The results also underscore the often underestimated impact of initialization errors, an important consideration for applications where models are frequently re-initialized, such as model predictive control (MPC).", "date": "2025-09-22", "categories": []} {"id": "2509.13922", "title": "Towards Robust Defense against Customization via Protective Perturbation Resistant to Diffusion-based Purification", "abstract": "Diffusion models like Stable Diffusion have become prominent in visual synthesis tasks due to their powerful customization capabilities, which also introduce significant security risks, including deepfakes and copyright infringement. In response, a class of methods known as protective perturbation emerged, which mitigates image misuse by injecting imperceptible adversarial noise. However, purification can remove protective perturbations, thereby exposing images again to the risk of malicious forgery. In this work, we formalize the anti-purification task, highlighting challenges that hinder existing approaches, and propose a simple diagnostic protective perturbation named AntiPure. AntiPure exposes vulnerabilities of purification within the \"purification-customization\" workflow, owing to two guidance mechanisms: 1) Patch-wise Frequency Guidance, which reduces the model's influence over high-frequency components in the purified image, and 2) Erroneous Timestep Guidance, which disrupts the model's denoising strategy across different timesteps. With additional guidance, AntiPure embeds imperceptible perturbations that persist under representative purification settings, achieving effective post-customization distortion. Experiments show that, as a stress test for purification, AntiPure achieves minimal perceptual discrepancy and maximal distortion, outperforming other protective perturbation methods within the purification-customization workflow.", "date": "2025-09-17", "categories": []} {"id": "2509.16088", "title": "Randomized Smoothing Meets Vision-Language Models", "abstract": "Randomized smoothing (RS) is one of the prominent techniques to ensure the correctness of machine learning models, where point-wise robustness certificates can be derived analytically. While RS is well understood for classification, its application to generative models is unclear, since their outputs are sequences rather than labels. We resolve this by connecting generative outputs to an oracle classification task and showing that RS can still be enabled: the final response can be classified as a discrete action (e.g., service-robot commands in VLAs), as harmful vs. harmless (content moderation or toxicity detection in VLMs), or even applying oracles to cluster answers into semantically equivalent ones. Provided that the error rate for the oracle classifier comparison is bounded, we develop the theory that associates the number of samples with the corresponding robustness radius. We further derive improved scaling laws analytically relating the certified radius and accuracy to the number of samples, showing that the earlier result of 2 to 3 orders of magnitude fewer samples sufficing with minimal loss remains valid even under weaker assumptions. Together, these advances make robustness certification both well-defined and computationally feasible for state-of-the-art VLMs, as validated against recent jailbreak-style adversarial attacks.", "date": "2025-09-19", "categories": []} {"id": "2509.16163", "title": "Robust Vision-Language Models via Tensor Decomposition: A Defense Against Adversarial Attacks", "abstract": "Vision language models (VLMs) excel in multimodal understanding but are prone to adversarial attacks. Existing defenses often demand costly retraining or significant architecture changes. We introduce a lightweight defense using tensor decomposition suitable for any pre-trained VLM, requiring no retraining. By decomposing and reconstructing vision encoder representations, it filters adversarial noise while preserving meaning. Experiments with CLIP on COCO and Flickr30K show improved robustness. On Flickr30K, it restores 12.3\\% performance lost to attacks, raising Recall@1 accuracy from 7.5\\% to 19.8\\%. On COCO, it recovers 8.1\\% performance, improving accuracy from 3.8\\% to 11.9\\%. Analysis shows Tensor Train decomposition with low rank (8-32) and low residual strength ($\\alpha=0.1-0.2$) is optimal. This method is a practical, plug-and-play solution with minimal overhead for existing VLMs.", "date": "2025-09-19", "categories": []} {"id": "2508.15454", "title": "Mini-Batch Robustness Verification of Deep Neural Networks", "abstract": "Neural network image classifiers are ubiquitous in many safety-critical applications. However, they are susceptible to adversarial attacks. To understand their robustness to attacks, many local robustness verifiers have been proposed to analyze $\\epsilon$-balls of inputs. Yet, existing verifiers introduce a long analysis time or lose too much precision, making them less effective for a large set of inputs. In this work, we propose a new approach to local robustness: group local robustness verification. The key idea is to leverage the similarity of the network computations of certain $\\epsilon$-balls to reduce the overall analysis time. We propose BaVerLy, a sound and complete verifier that boosts the local robustness verification of a set of $\\epsilon$-balls by dynamically constructing and verifying mini-batches. BaVerLy adaptively identifies successful mini-batch sizes, accordingly constructs mini-batches of $\\epsilon$-balls that have similar network computations, and verifies them jointly. If a mini-batch is verified, all its $\\epsilon$-balls are proven robust. Otherwise, one $\\epsilon$-ball is suspected as not being robust, guiding the refinement. BaVerLy leverages the analysis results to expedite the analysis of that $\\epsilon$-ball as well as the analysis of the mini-batch with the other $\\epsilon$-balls. We evaluate BaVerLy on fully connected and convolutional networks for MNIST and CIFAR-10. Results show that BaVerLy scales the common one by one verification by 2.3x on average and up to 4.1x, in which case it reduces the total analysis time from 24 hours to 6 hours.", "date": "2025-08-21", "categories": []} {"id": "2509.14383", "title": "RLBind: Adversarial-Invariant Cross-Modal Alignment for Unified Robust Embeddings", "abstract": "Unified multi-modal encoders that bind vision, audio, and other sensors into a shared embedding space are attractive building blocks for robot perception and decision-making. However, on-robot deployment exposes the vision branch to adversarial and natural corruptions, making robustness a prerequisite for safety. Prior defenses typically align clean and adversarial features within CLIP-style encoders and overlook broader cross-modal correspondence, yielding modest gains and often degrading zero-shot transfer. We introduce RLBind, a two-stage adversarial-invariant cross-modal alignment framework for robust unified embeddings. Stage 1 performs unsupervised fine-tuning on clean-adversarial pairs to harden the visual encoder. Stage 2 leverages cross-modal correspondence by minimizing the discrepancy between clean/adversarial features and a text anchor, while enforcing class-wise distributional alignment across modalities. Extensive experiments on Image, Audio, Thermal, and Video data show that RLBind consistently outperforms the LanguageBind backbone and standard fine-tuning baselines in both clean accuracy and norm-bounded adversarial robustness. By improving resilience without sacrificing generalization, RLBind provides a practical path toward safer multi-sensor perception stacks for embodied robots in navigation, manipulation, and other autonomy settings.", "date": "2025-09-17", "categories": []} {"id": "2509.15159", "title": "AIP: Subverting Retrieval-Augmented Generation via Adversarial Instructional Prompt", "abstract": "Retrieval-Augmented Generation (RAG) enhances large language models (LLMs) by retrieving relevant documents from external sources to improve factual accuracy and verifiability. However, this reliance introduces new attack surfaces within the retrieval pipeline, beyond the LLM itself. While prior RAG attacks have exposed such vulnerabilities, they largely rely on manipulating user queries, which is often infeasible in practice due to fixed or protected user inputs. This narrow focus overlooks a more realistic and stealthy vector: instructional prompts, which are widely reused, publicly shared, and rarely audited. Their implicit trust makes them a compelling target for adversaries to manipulate RAG behavior covertly.\n We introduce a novel attack for Adversarial Instructional Prompt (AIP) that exploits adversarial instructional prompts to manipulate RAG outputs by subtly altering retrieval behavior. By shifting the attack surface to the instructional prompts, AIP reveals how trusted yet seemingly benign interface components can be weaponized to degrade system integrity. The attack is crafted to achieve three goals: (1) naturalness, to evade user detection; (2) utility, to encourage use of prompts; and (3) robustness, to remain effective across diverse query variations. We propose a diverse query generation strategy that simulates realistic linguistic variation in user queries, enabling the discovery of prompts that generalize across paraphrases and rephrasings. Building on this, a genetic algorithm-based joint optimization is developed to evolve adversarial prompts by balancing attack success, clean-task utility, and stealthiness. Experimental results show that AIP achieves up to 95.23% ASR while preserving benign functionality. These findings uncover a critical and previously overlooked vulnerability in RAG systems, emphasizing the need to reassess the shared instructional prompts.", "date": "2025-09-18", "categories": []} {"id": "2508.00552", "title": "DBLP: Noise Bridge Consistency Distillation For Efficient And Reliable Adversarial Purification", "abstract": "Recent advances in deep neural networks (DNNs) have led to remarkable success across a wide range of tasks. However, their susceptibility to adversarial perturbations remains a critical vulnerability. Existing diffusion-based adversarial purification methods often require intensive iterative denoising, severely limiting their practical deployment. In this paper, we propose Diffusion Bridge Distillation for Purification (DBLP), a novel and efficient diffusion-based framework for adversarial purification. Central to our approach is a new objective, noise bridge distillation, which constructs a principled alignment between the adversarial noise distribution and the clean data distribution within a latent consistency model (LCM). To further enhance semantic fidelity, we introduce adaptive semantic enhancement, which fuses multi-scale pyramid edge maps as conditioning input to guide the purification process. Extensive experiments across multiple datasets demonstrate that DBLP achieves state-of-the-art (SOTA) robust accuracy, superior image quality, and around 0.2s inference time, marking a significant step toward real-time adversarial purification.", "date": "2025-08-01", "categories": []} {"id": "2310.11850", "title": "Revisiting Transferable Adversarial Images: Systemization, Evaluation, and New Insights", "abstract": "Transferable adversarial images raise critical security concerns for computer vision systems in real-world, black-box attack scenarios. Although many transfer attacks have been proposed, existing research lacks a systematic and comprehensive evaluation. In this paper, we systemize transfer attacks into five categories around the general machine learning pipeline and provide the first comprehensive evaluation, with 23 representative attacks against 11 representative defenses, including the recent, transfer-oriented defense and the real-world Google Cloud Vision. In particular, we identify two main problems of existing evaluations: (1) for attack transferability, lack of intra-category analyses with fair hyperparameter settings, and (2) for attack stealthiness, lack of diverse measures. Our evaluation results validate that these problems have indeed caused misleading conclusions and missing points, and addressing them leads to new, \\textit{consensus-challenging} insights, such as (1) an early attack, DI, even outperforms all similar follow-up ones, (2) the state-of-the-art (white-box) defense, DiffPure, is even vulnerable to (black-box) transfer attacks, and (3) even under the same $L_p$ constraint, different attacks yield dramatically different stealthiness results regarding diverse imperceptibility metrics, finer-grained measures, and a user study. We hope that our analyses will serve as guidance on properly evaluating transferable adversarial images and advance the design of attacks and defenses. Code is available at https://github.com/ZhengyuZhao/TransferAttackEval.", "date": "2023-10-18", "categories": []} {"id": "2406.05376", "title": "Adversarial flows: A gradient flow characterization of adversarial attacks", "abstract": "A popular method to perform adversarial attacks on neuronal networks is the so-called fast gradient sign method and its iterative variant. In this paper, we interpret this method as an explicit Euler discretization of a differential inclusion, where we also show convergence of the discretization to the associated gradient flow. To do so, we consider the concept of p-curves of maximal slope in the case $p=\\infty$. We prove existence of $\\infty$-curves of maximum slope and derive an alternative characterization via differential inclusions. Furthermore, we also consider Wasserstein gradient flows for potential energies, where we show that curves in the Wasserstein space can be characterized by a representing measure on the space of curves in the underlying Banach space, which fulfill the differential inclusion. The application of our theory to the finite-dimensional setting is twofold: On the one hand, we show that a whole class of normalized gradient descent methods (in particular signed gradient descent) converge, up to subsequences, to the flow, when sending the step size to zero. On the other hand, in the distributional setting, we show that the inner optimization task of adversarial training objective can be characterized via $\\infty$-curves of maximum slope on an appropriate optimal transport space.", "date": "2024-06-08", "categories": []} {"id": "2501.13336", "title": "Gradient-Free Adversarial Purification with Diffusion Models", "abstract": "Adversarial training and adversarial purification are two widely used defense strategies for enhancing model robustness against adversarial attacks. However, adversarial training requires costly retraining, while adversarial purification often suffers from low efficiency. More critically, existing defenses are primarily designed under the perturbation-based adversarial threat model, which is ineffective against recently introduced unrestricted adversarial attacks. In this paper, we propose an effective and efficient defense framework that counters both perturbation-based and unrestricted adversarial attacks. Our approach is motivated by the observation that adversarial examples typically lie near the decision boundary and are highly sensitive to pixel-level perturbations. To address this, we introduce adversarial anti-aliasing, a preprocessing technique that mitigates adversarial noise by reducing the magnitude of pixel-level perturbations. In addition, we propose adversarial super-resolution, which leverages prior knowledge from clean datasets to benignly restore high-quality images from adversarially degraded ones. Unlike image synthesis methods that generate entirely new images, adversarial super-resolution focuses on image restoration, making it more suitable for purification. Importantly, both techniques require no additional training and are computationally efficient since they do not rely on gradient computations. To further improve robustness across diverse datasets, we introduce a contrastive learning-based adversarial deblurring fine-tuning method. By incorporating adversarial priors during fine-tuning on the target dataset, this method enhances purification effectiveness without the need to retrain diffusion models.", "date": "2025-01-23", "categories": []} {"id": "2509.12633", "title": "CIARD: Cyclic Iterative Adversarial Robustness Distillation", "abstract": "Adversarial robustness distillation (ARD) aims to transfer both performance and robustness from teacher model to lightweight student model, enabling resilient performance on resource-constrained scenarios. Though existing ARD approaches enhance student model's robustness, the inevitable by-product leads to the degraded performance on clean examples. We summarize the causes of this problem inherent in existing methods with dual-teacher framework as: 1. The divergent optimization objectives of dual-teacher models, i.e., the clean and robust teachers, impede effective knowledge transfer to the student model, and 2. The iteratively generated adversarial examples during training lead to performance deterioration of the robust teacher model. To address these challenges, we propose a novel Cyclic Iterative ARD (CIARD) method with two key innovations: a. A multi-teacher framework with contrastive push-loss alignment to resolve conflicts in dual-teacher optimization objectives, and b. Continuous adversarial retraining to maintain dynamic teacher robustness against performance degradation from the varying adversarial examples. Extensive experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet demonstrate that CIARD achieves remarkable performance with an average 3.53 improvement in adversarial defense rates across various attack scenarios and a 5.87 increase in clean sample accuracy, establishing a new benchmark for balancing model robustness and generalization. Our code is available at https://github.com/eminentgu/CIARD", "date": "2025-09-16", "categories": []} {"id": "2509.13266", "title": "JANUS: A Dual-Constraint Generative Framework for Stealthy Node Injection Attacks", "abstract": "Graph Neural Networks (GNNs) have demonstrated remarkable performance across various applications, yet they are vulnerable to sophisticated adversarial attacks, particularly node injection attacks. The success of such attacks heavily relies on their stealthiness, the ability to blend in with the original graph and evade detection. However, existing methods often achieve stealthiness by relying on indirect proxy metrics, lacking consideration for the fundamental characteristics of the injected content, or focusing only on imitating local structures, which leads to the problem of local myopia. To overcome these limitations, we propose a dual-constraint stealthy node injection framework, called Joint Alignment of Nodal and Universal Structures (JANUS). At the local level, we introduce a local feature manifold alignment strategy to achieve geometric consistency in the feature space. At the global level, we incorporate structured latent variables and maximize the mutual information with the generated structures, ensuring the injected structures are consistent with the semantic patterns of the original graph. We model the injection attack as a sequential decision process, which is optimized by a reinforcement learning agent. Experiments on multiple standard datasets demonstrate that the JANUS framework significantly outperforms existing methods in terms of both attack effectiveness and stealthiness.", "date": "2025-09-16", "categories": []} {"id": "2206.04365", "title": "CARLA-GeAR: a Dataset Generator for a Systematic Evaluation of Adversarial Robustness of Vision Models", "abstract": "Adversarial examples represent a serious threat for deep neural networks in several application domains and a huge amount of work has been produced to investigate them and mitigate their effects. Nevertheless, no much work has been devoted to the generation of datasets specifically designed to evaluate the adversarial robustness of neural models. This paper presents CARLA-GeAR, a tool for the automatic generation of photo-realistic synthetic datasets that can be used for a systematic evaluation of the adversarial robustness of neural models against physical adversarial patches, as well as for comparing the performance of different adversarial defense/detection methods. The tool is built on the CARLA simulator, using its Python API, and allows the generation of datasets for several vision tasks in the context of autonomous driving. The adversarial patches included in the generated datasets are attached to billboards or the back of a truck and are crafted by using state-of-the-art white-box attack strategies to maximize the prediction error of the model under test. Finally, the paper presents an experimental study to evaluate the performance of some defense methods against such attacks, showing how the datasets generated with CARLA-GeAR might be used in future work as a benchmark for adversarial defense in the real world. All the code and datasets used in this paper are available at http://carlagear.retis.santannapisa.it.", "date": "2022-06-09", "categories": []} {"id": "2212.07495", "title": "SAIF: Sparse Adversarial and Imperceptible Attack Framework", "abstract": "Adversarial attacks hamper the decision-making ability of neural networks by perturbing the input signal. The addition of calculated small distortion to images, for instance, can deceive a well-trained image classification network. In this work, we propose a novel attack technique called Sparse Adversarial and Interpretable Attack Framework (SAIF). Specifically, we design imperceptible attacks that contain low-magnitude perturbations at a small number of pixels and leverage these sparse attacks to reveal the vulnerability of classifiers. We use the Frank-Wolfe (conditional gradient) algorithm to simultaneously optimize the attack perturbations for bounded magnitude and sparsity with $O(1/\\sqrt{T})$ convergence. Empirical results show that SAIF computes highly imperceptible and interpretable adversarial examples, and outperforms state-of-the-art sparse attack methods on the ImageNet dataset.", "date": "2022-12-14", "categories": []} {"id": "2506.01064", "title": "Fighting Fire with Fire (F3): A Training-free and Efficient Visual Adversarial Example Purification Method in LVLMs", "abstract": "Recent advances in large vision-language models (LVLMs) have showcased their remarkable capabilities across a wide range of multimodal vision-language tasks. However, these models remain vulnerable to visual adversarial attacks, which can substantially compromise their performance. In this paper, we introduce F3, a novel adversarial purification framework that employs a counterintuitive ``fighting fire with fire'' strategy: intentionally introducing simple perturbations to adversarial examples to mitigate their harmful effects. Specifically, F3 leverages cross-modal attentions derived from randomly perturbed adversary examples as reference targets. By injecting noise into these adversarial examples, F3 effectively refines their attention, resulting in cleaner and more reliable model outputs. Remarkably, this seemingly paradoxical approach of employing noise to counteract adversarial attacks yields impressive purification results. Furthermore, F3 offers several distinct advantages: it is training-free and straightforward to implement, and exhibits significant computational efficiency improvements compared to existing purification methods. These attributes render F3 particularly suitable for large-scale industrial applications where both robust performance and operational efficiency are critical priorities. The code is available at https://github.com/btzyd/F3.", "date": "2025-06-01", "categories": []} {"id": "2509.10543", "title": "Robust DDoS-Attack Classification with 3D CNNs Against Adversarial Methods", "abstract": "Distributed Denial-of-Service (DDoS) attacks remain a serious threat to online infrastructure, often bypassing detection by altering traffic in subtle ways. We present a method using hive-plot sequences of network data and a 3D convolutional neural network (3D CNN) to classify DDoS traffic with high accuracy. Our system relies on three main ideas: (1) using spatio-temporal hive-plot encodings to set a pattern-recognition baseline, (2) applying adversarial training with FGSM and PGD alongside spatial noise and image shifts, and (3) analyzing frame-wise predictions to find early signals. On a benchmark dataset, our method lifts adversarial accuracy from 50-55% to over 93% while maintaining clean-sample performance. Frames 3-4 offer strong predictive signals, showing early-stage classification is possible.", "date": "2025-09-07", "categories": []} {"id": "2509.10913", "title": "Robustifying Diffusion-Denoised Smoothing Against Covariate Shift", "abstract": "Randomized smoothing is a well-established method for achieving certified robustness against l2-adversarial perturbations. By incorporating a denoiser before the base classifier, pretrained classifiers can be seamlessly integrated into randomized smoothing without significant performance degradation. Among existing methods, Diffusion Denoised Smoothing - where a pretrained denoising diffusion model serves as the denoiser - has produced state-of-the-art results. However, we show that employing a denoising diffusion model introduces a covariate shift via misestimation of the added noise, ultimately degrading the smoothed classifier's performance. To address this issue, we propose a novel adversarial objective function focused on the added noise of the denoising diffusion model. This approach is inspired by our understanding of the origin of the covariate shift. Our goal is to train the base classifier to ensure it is robust against the covariate shift introduced by the denoiser. Our method significantly improves certified accuracy across three standard classification benchmarks - MNIST, CIFAR-10, and ImageNet - achieving new state-of-the-art performance in l2-adversarial perturbations. Our implementation is publicly available at https://github.com/ahedayat/Robustifying-DDS-Against-Covariate-Shift", "date": "2025-09-13", "categories": []} {"id": "2509.11337", "title": "On the Escaping Efficiency of Distributed Adversarial Training Algorithms", "abstract": "Adversarial training has been widely studied in recent years due to its role in improving model robustness against adversarial attacks. This paper focuses on comparing different distributed adversarial training algorithms--including centralized and decentralized strategies--within multi-agent learning environments. Previous studies have highlighted the importance of model flatness in determining robustness. To this end, we develop a general theoretical framework to study the escaping efficiency of these algorithms from local minima, which is closely related to the flatness of the resulting models. We show that when the perturbation bound is sufficiently small (i.e., when the attack strength is relatively mild) and a large batch size is used, decentralized adversarial training algorithms--including consensus and diffusion--are guaranteed to escape faster from local minima than the centralized strategy, thereby favoring flatter minima. However, as the perturbation bound increases, this trend may no longer hold. In the simulation results, we illustrate our theoretical findings and systematically compare the performance of models obtained through decentralized and centralized adversarial training algorithms. The results highlight the potential of decentralized strategies to enhance the robustness of models in distributed settings.", "date": "2025-09-14", "categories": []} {"id": "2509.11525", "title": "DARD: Dice Adversarial Robustness Distillation against Adversarial Attacks", "abstract": "Deep learning models are vulnerable to adversarial examples, posing critical security challenges in real-world applications. While Adversarial Training (AT ) is a widely adopted defense mechanism to enhance robustness, it often incurs a trade-off by degrading performance on unperturbed, natural data. Recent efforts have highlighted that larger models exhibit enhanced robustness over their smaller counterparts. In this paper, we empirically demonstrate that such robustness can be systematically distilled from large teacher models into compact student models. To achieve better performance, we introduce Dice Adversarial Robustness Distillation (DARD), a novel method designed to transfer robustness through a tailored knowledge distillation paradigm. Additionally, we propose Dice Projected Gradient Descent (DPGD), an adversarial example generalization method optimized for effective attack. Our extensive experiments demonstrate that the DARD approach consistently outperforms adversarially trained networks with the same architecture, achieving superior robustness and standard accuracy.", "date": "2025-09-15", "categories": []} {"id": "2402.05675", "title": "Is Adversarial Training with Compressed Datasets Effective?", "abstract": "Dataset Condensation (DC) refers to the recent class of dataset compression methods that generate a smaller, synthetic, dataset from a larger dataset. This synthetic dataset aims to retain the essential information of the original dataset, enabling models trained on it to achieve performance levels comparable to those trained on the full dataset. Most current DC methods have mainly concerned with achieving high test performance with limited data budget, and have not directly addressed the question of adversarial robustness. In this work, we investigate the impact of adversarial robustness on models trained with compressed datasets. We show that the compressed datasets obtained from DC methods are not effective in transferring adversarial robustness to models. As a solution to improve dataset compression efficiency and adversarial robustness simultaneously, we present a robustness-aware dataset compression method based on finding the Minimal Finite Covering (MFC) of the dataset. The proposed method is (1) provably robust by minimizing the generalized adversarial loss, (2) more effective than DC methods when applying adversarial training over MFC, (3) obtained by a one-time computation and is applicable for any model.", "date": "2024-02-08", "categories": []} {"id": "2410.21471", "title": "AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion models", "abstract": "Recent advances in diffusion models have significantly enhanced the quality of image synthesis, yet they have also introduced serious safety concerns, particularly the generation of Not Safe for Work (NSFW) content. Previous research has demonstrated that adversarial prompts can be used to generate NSFW content. However, such adversarial text prompts are often easily detectable by text-based filters, limiting their efficacy. In this paper, we expose a previously overlooked vulnerability: adversarial image attacks targeting Image-to-Image (I2I) diffusion models. We propose AdvI2I, a novel framework that manipulates input images to induce diffusion models to generate NSFW content. By optimizing a generator to craft adversarial images, AdvI2I circumvents existing defense mechanisms, such as Safe Latent Diffusion (SLD), without altering the text prompts. Furthermore, we introduce AdvI2I-Adaptive, an enhanced version that adapts to potential countermeasures and minimizes the resemblance between adversarial images and NSFW concept embeddings, making the attack more resilient against defenses. Through extensive experiments, we demonstrate that both AdvI2I and AdvI2I-Adaptive can effectively bypass current safeguards, highlighting the urgent need for stronger security measures to address the misuse of I2I diffusion models.", "date": "2024-10-28", "categories": []} {"id": "2506.05394", "title": "Attacking Attention of Foundation Models Disrupts Downstream Tasks", "abstract": "Foundation models represent the most prominent and recent paradigm shift in artificial intelligence. Foundation models are large models, trained on broad data that deliver high accuracy in many downstream tasks, often without fine-tuning. For this reason, models such as CLIP , DINO or Vision Transfomers (ViT), are becoming the bedrock of many industrial AI-powered applications. However, the reliance on pre-trained foundation models also introduces significant security concerns, as these models are vulnerable to adversarial attacks. Such attacks involve deliberately crafted inputs designed to deceive AI systems, jeopardizing their reliability. This paper studies the vulnerabilities of vision foundation models, focusing specifically on CLIP and ViTs, and explores the transferability of adversarial attacks to downstream tasks. We introduce a novel attack, targeting the structure of transformer-based architectures in a task-agnostic fashion. We demonstrate the effectiveness of our attack on several downstream tasks: classification, captioning, image/text retrieval, segmentation and depth estimation. Code available at:https://github.com/HondamunigePrasannaSilva/attack-attention", "date": "2025-06-03", "categories": []} {"id": "2509.09706", "title": "Differential Robustness in Transformer Language Models: Empirical Evaluation Under Adversarial Text Attacks", "abstract": "This study evaluates the resilience of large language models (LLMs) against adversarial attacks, specifically focusing on Flan-T5, BERT, and RoBERTa-Base. Using systematically designed adversarial tests through TextFooler and BERTAttack, we found significant variations in model robustness. RoBERTa-Base and FlanT5 demonstrated remarkable resilience, maintaining accuracy even when subjected to sophisticated attacks, with attack success rates of 0%. In contrast. BERT-Base showed considerable vulnerability, with TextFooler achieving a 93.75% success rate in reducing model accuracy from 48% to just 3%. Our research reveals that while certain LLMs have developed effective defensive mechanisms, these safeguards often require substantial computational resources. This study contributes to the understanding of LLM security by identifying existing strengths and weaknesses in current safeguarding approaches and proposes practical recommendations for developing more efficient and effective defensive strategies.", "date": "2025-09-05", "categories": []} {"id": "2509.10298", "title": "Adversarial robustness through Lipschitz-Guided Stochastic Depth in Neural Networks", "abstract": "Deep neural networks and Vision Transformers achieve state-of-the-art performance in computer vision but are highly vulnerable to adversarial perturbations. Standard defenses often incur high computational cost or lack formal guarantees. We propose a Lipschitz-guided stochastic depth (DropPath) method, where drop probabilities increase with depth to control the effective Lipschitz constant of the network. This approach regularizes deeper layers, improving robustness while preserving clean accuracy and reducing computation. Experiments on CIFAR-10 with ViT-Tiny show that our custom depth-dependent schedule maintains near-baseline clean accuracy, enhances robustness under FGSM, PGD-20, and AutoAttack, and significantly reduces FLOPs compared to baseline and linear DropPath schedules.", "date": "2025-09-12", "categories": []} {"id": "2509.10359", "title": "Immunizing Images from Text to Image Editing via Adversarial Cross-Attention", "abstract": "Recent advances in text-based image editing have enabled fine-grained manipulation of visual content guided by natural language. However, such methods are susceptible to adversarial attacks. In this work, we propose a novel attack that targets the visual component of editing methods. We introduce Attention Attack, which disrupts the cross-attention between a textual prompt and the visual representation of the image by using an automatically generated caption of the source image as a proxy for the edit prompt. This breaks the alignment between the contents of the image and their textual description, without requiring knowledge of the editing method or the editing prompt. Reflecting on the reliability of existing metrics for immunization success, we propose two novel evaluation strategies: Caption Similarity, which quantifies semantic consistency between original and adversarial edits, and semantic Intersection over Union (IoU), which measures spatial layout disruption via segmentation masks. Experiments conducted on the TEDBench++ benchmark demonstrate that our attack significantly degrades editing performance while remaining imperceptible.", "date": "2025-09-12", "categories": []} {"id": "2505.16402", "title": "AdvReal: Physical Adversarial Patch Generation Framework for Security Evaluation of Object Detection Systems", "abstract": "Autonomous vehicles are typical complex intelligent systems with artificial intelligence at their core. However, perception methods based on deep learning are extremely vulnerable to adversarial samples, resulting in security accidents. How to generate effective adversarial examples in the physical world and evaluate object detection systems is a huge challenge. In this study, we propose a unified joint adversarial training framework for both 2D and 3D domains, which simultaneously optimizes texture maps in 2D image and 3D mesh spaces to better address intra-class diversity and real-world environmental variations. The framework includes a novel realistic enhanced adversarial module, with time-space and relighting mapping pipeline that adjusts illumination consistency between adversarial patches and target garments under varied viewpoints. Building upon this, we develop a realism enhancement mechanism that incorporates non-rigid deformation modeling and texture remapping to ensure alignment with the human body's non-rigid surfaces in 3D scenes. Extensive experiment results in digital and physical environments demonstrate that the adversarial textures generated by our method can effectively mislead the target detection model. Specifically, our method achieves an average attack success rate (ASR) of 70.13% on YOLOv12 in physical scenarios, significantly outperforming existing methods such as T-SEA (21.65%) and AdvTexture (19.70%). Moreover, the proposed method maintains stable ASR across multiple viewpoints and distances, with an average attack success rate exceeding 90% under both frontal and oblique views at a distance of 4 meters. This confirms the method's strong robustness and transferability under multi-angle attacks, varying lighting conditions, and real-world distances. The demo video and code can be obtained at https://github.com/Huangyh98/AdvReal.git.", "date": "2025-05-22", "categories": []} {"id": "2505.19613", "title": "TESSER: Transfer-Enhancing Adversarial Attacks from Vision Transformers via Spectral and Semantic Regularization", "abstract": "Adversarial transferability remains a critical challenge in evaluating the robustness of deep neural networks. In security-critical applications, transferability enables black-box attacks without access to model internals, making it a key concern for real-world adversarial threat assessment. While Vision Transformers (ViTs) have demonstrated strong adversarial performance, existing attacks often fail to transfer effectively across architectures, especially from ViTs to Convolutional Neural Networks (CNNs) or hybrid models. In this paper, we introduce \\textbf{TESSER} -- a novel adversarial attack framework that enhances transferability via two key strategies: (1) \\textit{Feature-Sensitive Gradient Scaling (FSGS)}, which modulates gradients based on token-wise importance derived from intermediate feature activations, and (2) \\textit{Spectral Smoothness Regularization (SSR)}, which suppresses high-frequency noise in perturbations using a differentiable Gaussian prior. These components work in tandem to generate perturbations that are both semantically meaningful and spectrally smooth. Extensive experiments on ImageNet across 12 diverse architectures demonstrate that TESSER achieves +10.9\\% higher attack succes rate (ASR) on CNNs and +7.2\\% on ViTs compared to the state-of-the-art Adaptive Token Tuning (ATT) method. Moreover, TESSER significantly improves robustness against defended models, achieving 53.55\\% ASR on adversarially trained CNNs. Qualitative analysis shows strong alignment between TESSER's perturbations and salient visual regions identified via Grad-CAM, while frequency-domain analysis reveals a 12\\% reduction in high-frequency energy, confirming the effectiveness of spectral regularization.", "date": "2025-05-26", "categories": []} {"id": "2401.10590", "title": "Adversarial Robustness of Link Sign Prediction in Signed Graphs", "abstract": "Signed graphs serve as fundamental data structures for representing positive and negative relationships in social networks, with signed graph neural networks (SGNNs) emerging as the primary tool for their analysis. Our investigation reveals that balance theory, while essential for modeling signed relationships in SGNNs, inadvertently introduces exploitable vulnerabilities to black-box attacks. To showcase this, we propose balance-attack, a novel adversarial strategy specifically designed to compromise graph balance degree, and develop an efficient heuristic algorithm to solve the associated NP-hard optimization problem. While existing approaches attempt to restore attacked graphs through balance learning techniques, they face a critical challenge we term \"Irreversibility of Balance-related Information,\" as restored edges fail to align with original attack targets. To address this limitation, we introduce Balance Augmented-Signed Graph Contrastive Learning (BA-SGCL), an innovative framework that combines contrastive learning with balance augmentation techniques to achieve robust graph representations. By maintaining high balance degree in the latent space, BA-SGCL not only effectively circumvents the irreversibility challenge but also significantly enhances model resilience. Extensive experiments across multiple SGNN architectures and real-world datasets demonstrate both the effectiveness of our proposed balance-attack and the superior robustness of BA-SGCL, advancing the security and reliability of signed graph analysis in social networks. Datasets and codes of the proposed framework are at the github repository https://anonymous.4open.science/r/BA-SGCL-submit-DF41/.", "date": "2024-01-19", "categories": []} {"id": "2509.08463", "title": "Adversarial Attacks Against Automated Fact-Checking: A Survey", "abstract": "In an era where misinformation spreads freely, fact-checking (FC) plays a crucial role in verifying claims and promoting reliable information. While automated fact-checking (AFC) has advanced significantly, existing systems remain vulnerable to adversarial attacks that manipulate or generate claims, evidence, or claim-evidence pairs. These attacks can distort the truth, mislead decision-makers, and ultimately undermine the reliability of FC models. Despite growing research interest in adversarial attacks against AFC systems, a comprehensive, holistic overview of key challenges remains lacking. These challenges include understanding attack strategies, assessing the resilience of current models, and identifying ways to enhance robustness. This survey provides the first in-depth review of adversarial attacks targeting FC, categorizing existing attack methodologies and evaluating their impact on AFC systems. Additionally, we examine recent advancements in adversary-aware defenses and highlight open research questions that require further exploration. Our findings underscore the urgent need for resilient FC frameworks capable of withstanding adversarial manipulations in pursuit of preserving high verification accuracy.", "date": "2025-09-10", "categories": []} {"id": "2311.11191", "title": "Attention-Based Real-Time Defenses for Physical Adversarial Attacks in Vision Applications", "abstract": "Deep neural networks exhibit excellent performance in computer vision tasks, but their vulnerability to real-world adversarial attacks, achieved through physical objects that can corrupt their predictions, raises serious security concerns for their application in safety-critical domains. Existing defense methods focus on single-frame analysis and are characterized by high computational costs that limit their applicability in multi-frame scenarios, where real-time decisions are crucial.\n To address this problem, this paper proposes an efficient attention-based defense mechanism that exploits adversarial channel-attention to quickly identify and track malicious objects in shallow network layers and mask their adversarial effects in a multi-frame setting. This work advances the state of the art by enhancing existing over-activation techniques for real-world adversarial attacks to make them usable in real-time applications. It also introduces an efficient multi-frame defense framework, validating its efficacy through extensive experiments aimed at evaluating both defense performance and computational cost.", "date": "2023-11-19", "categories": []} {"id": "2403.05666", "title": "Prepared for the Worst: A Learning-Based Adversarial Attack for Resilience Analysis of the ICP Algorithm", "abstract": "This paper presents a novel method for assessing the resilience of the ICP algorithm via learning-based, worst-case attacks on lidar point clouds. For safety-critical applications such as autonomous navigation, ensuring the resilience of algorithms before deployments is crucial. The ICP algorithm is the standard for lidar-based localization, but its accuracy can be greatly affected by corrupted measurements from various sources, including occlusions, adverse weather, or mechanical sensor issues. Unfortunately, the complex and iterative nature of ICP makes assessing its resilience to corruption challenging. While there have been efforts to create challenging datasets and develop simulations to evaluate the resilience of ICP, our method focuses on finding the maximum possible ICP error that can arise from corrupted measurements at a location. We demonstrate that our perturbation-based adversarial attacks can be used pre-deployment to identify locations on a map where ICP is particularly vulnerable to corruptions in the measurements. With such information, autonomous robots can take safer paths when deployed, to mitigate against their measurements being corrupted. The proposed attack outperforms baselines more than 88% of the time across a wide range of scenarios.", "date": "2024-03-08", "categories": []} {"id": "2412.16358", "title": "Texture- and Shape-based Adversarial Attacks for Overhead Image Vehicle Detection", "abstract": "Detecting vehicles in aerial images is difficult due to complex backgrounds, small object sizes, shadows, and occlusions. Although recent deep learning advancements have improved object detection, these models remain susceptible to adversarial attacks (AAs), challenging their reliability. Traditional AA strategies often ignore practical implementation constraints. Our work proposes realistic and practical constraints on texture (lowering resolution, limiting modified areas, and color ranges) and analyzes the impact of shape modifications on attack performance. We conducted extensive experiments with three object detector architectures, demonstrating the performance-practicality trade-off: more practical modifications tend to be less effective, and vice versa. We release both code and data to support reproducibility at https://github.com/humansensinglab/texture-shape-adversarial-attacks.", "date": "2024-12-20", "categories": []} {"id": "2509.07132", "title": "Adversarial Attacks on Audio Deepfake Detection: A Benchmark and Comparative Study", "abstract": "The widespread use of generative AI has shown remarkable success in producing highly realistic deepfakes, posing a serious threat to various voice biometric applications, including speaker verification, voice biometrics, audio conferencing, and criminal investigations. To counteract this, several state-of-the-art (SoTA) audio deepfake detection (ADD) methods have been proposed to identify generative AI signatures to distinguish between real and deepfake audio. However, the effectiveness of these methods is severely undermined by anti-forensic (AF) attacks that conceal generative signatures. These AF attacks span a wide range of techniques, including statistical modifications (e.g., pitch shifting, filtering, noise addition, and quantization) and optimization-based attacks (e.g., FGSM, PGD, C \\& W, and DeepFool). In this paper, we investigate the SoTA ADD methods and provide a comparative analysis to highlight their effectiveness in exposing deepfake signatures, as well as their vulnerabilities under adversarial conditions. We conducted an extensive evaluation of ADD methods on five deepfake benchmark datasets using two categories: raw and spectrogram-based approaches. This comparative analysis enables a deeper understanding of the strengths and limitations of SoTA ADD methods against diverse AF attacks. It does not only highlight vulnerabilities of ADD methods, but also informs the design of more robust and generalized detectors for real-world voice biometrics. It will further guide future research in developing adaptive defense strategies that can effectively counter evolving AF techniques.", "date": "2025-09-08", "categories": []} {"id": "2509.07495", "title": "Generating Transferrable Adversarial Examples via Local Mixing and Logits Optimization for Remote Sensing Object Recognition", "abstract": "Deep Neural Networks (DNNs) are vulnerable to adversarial attacks, posing significant security threats to their deployment in remote sensing applications. Research on adversarial attacks not only reveals model vulnerabilities but also provides critical insights for enhancing robustness. Although current mixing-based strategies have been proposed to increase the transferability of adversarial examples, they either perform global blending or directly exchange a region in the images, which may destroy global semantic features and mislead the optimization of adversarial examples. Furthermore, their reliance on cross-entropy loss for perturbation optimization leads to gradient diminishing during iterative updates, compromising adversarial example quality. To address these limitations, we focus on non-targeted attacks and propose a novel framework via local mixing and logits optimization. First, we present a local mixing strategy to generate diverse yet semantically consistent inputs. Different from MixUp, which globally blends two images, and MixCut, which stitches images together, our method merely blends local regions to preserve global semantic information. Second, we adapt the logit loss from targeted attacks to non-targeted scenarios, mitigating the gradient vanishing problem of cross-entropy loss. Third, a perturbation smoothing loss is applied to suppress high-frequency noise and enhance transferability. Extensive experiments on FGSCR-42 and MTARSI datasets demonstrate superior performance over 12 state-of-the-art methods across 6 surrogate models. Notably, with ResNet as the surrogate on MTARSI, our method achieves a 17.28% average improvement in black-box attack success rate.", "date": "2025-09-09", "categories": []} {"id": "2509.07617", "title": "Transferable Direct Prompt Injection via Activation-Guided MCMC Sampling", "abstract": "Direct Prompt Injection (DPI) attacks pose a critical security threat to Large Language Models (LLMs) due to their low barrier of execution and high potential damage. To address the impracticality of existing white-box/gray-box methods and the poor transferability of black-box methods, we propose an activations-guided prompt injection attack framework. We first construct an Energy-based Model (EBM) using activations from a surrogate model to evaluate the quality of adversarial prompts. Guided by the trained EBM, we employ the token-level Markov Chain Monte Carlo (MCMC) sampling to adaptively optimize adversarial prompts, thereby enabling gradient-free black-box attacks. Experimental results demonstrate our superior cross-model transferability, achieving 49.6% attack success rate (ASR) across five mainstream LLMs and 34.6% improvement over human-crafted prompts, and maintaining 36.6% ASR on unseen task scenarios. Interpretability analysis reveals a correlation between activations and attack effectiveness, highlighting the critical role of semantic patterns in transferable vulnerability exploitation.", "date": "2025-09-09", "categories": []} {"id": "2508.09994", "title": "Whisper Smarter, not Harder: Adversarial Attack on Partial Suppression", "abstract": "Currently, Automatic Speech Recognition (ASR) models are deployed in an extensive range of applications. However, recent studies have demonstrated the possibility of adversarial attack on these models which could potentially suppress or disrupt model output. We investigate and verify the robustness of these attacks and explore if it is possible to increase their imperceptibility. We additionally find that by relaxing the optimisation objective from complete suppression to partial suppression, we can further decrease the imperceptibility of the attack. We also explore possible defences against these attacks and show a low-pass filter defence could potentially serve as an effective defence.", "date": "2025-07-30", "categories": []} {"id": "2508.11854", "title": "ComplicitSplat: Downstream Models are Vulnerable to Blackbox Attacks by 3D Gaussian Splat Camouflages", "abstract": "As 3D Gaussian Splatting (3DGS) gains rapid adoption in safety-critical tasks for efficient novel-view synthesis from static images, how might an adversary tamper images to cause harm? We introduce ComplicitSplat, the first attack that exploits standard 3DGS shading methods to create viewpoint-specific camouflage - colors and textures that change with viewing angle - to embed adversarial content in scene objects that are visible only from specific viewpoints and without requiring access to model architecture or weights. Our extensive experiments show that ComplicitSplat generalizes to successfully attack a variety of popular detector - both single-stage, multi-stage, and transformer-based models on both real-world capture of physical objects and synthetic scenes. To our knowledge, this is the first black-box attack on downstream object detectors using 3DGS, exposing a novel safety risk for applications like autonomous navigation and other mission-critical robotic systems.", "date": "2025-08-16", "categories": []} {"id": "2509.06459", "title": "IGAff: Benchmarking Adversarial Iterative and Genetic Affine Algorithms on Deep Neural Networks", "abstract": "Deep neural networks currently dominate many fields of the artificial intelligence landscape, achieving state-of-the-art results on numerous tasks while remaining hard to understand and exhibiting surprising weaknesses. An active area of research focuses on adversarial attacks, which aim to generate inputs that uncover these weaknesses. However, this proves challenging, especially in the black-box scenario where model details are inaccessible. This paper explores in detail the impact of such adversarial algorithms on ResNet-18, DenseNet-121, Swin Transformer V2, and Vision Transformer network architectures. Leveraging the Tiny ImageNet, Caltech-256, and Food-101 datasets, we benchmark two novel black-box iterative adversarial algorithms based on affine transformations and genetic algorithms: 1) Affine Transformation Attack (ATA), an iterative algorithm maximizing our attack score function using random affine transformations, and 2) Affine Genetic Attack (AGA), a genetic algorithm that involves random noise and affine transformations. We evaluate the performance of the models in the algorithm parameter variation, data augmentation, and global and targeted attack configurations. We also compare our algorithms with two black-box adversarial algorithms, Pixle and Square Attack. Our experiments yield better results on the image classification task than similar methods in the literature, achieving an accuracy improvement of up to 8.82%. We provide noteworthy insights into successful adversarial defenses and attacks at both global and targeted levels, and demonstrate adversarial robustness through algorithm parameter variation.", "date": "2025-09-08", "categories": []} {"id": "2509.06835", "title": "Evaluating the Impact of Adversarial Attacks on Traffic Sign Classification using the LISA Dataset", "abstract": "Adversarial attacks pose significant threats to machine learning models by introducing carefully crafted perturbations that cause misclassification. While prior work has primarily focused on MNIST and similar datasets, this paper investigates the vulnerability of traffic sign classifiers using the LISA Traffic Sign dataset. We train a convolutional neural network to classify 47 different traffic signs and evaluate its robustness against Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD) attacks. Our results show a sharp decline in classification accuracy as the perturbation magnitude increases, highlighting the models susceptibility to adversarial examples. This study lays the groundwork for future exploration into defense mechanisms tailored for real-world traffic sign recognition systems.", "date": "2025-09-08", "categories": []} {"id": "2312.16019", "title": "Survival Analysis with Adversarial Regularization", "abstract": "Survival Analysis (SA) models the time until an event occurs, with applications in fields like medicine, defense, finance, and aerospace. Recent research indicates that Neural Networks (NNs) can effectively capture complex data patterns in SA, whereas simple generalized linear models often fall short in this regard. However, dataset uncertainties (e.g., noisy measurements, human error) can degrade NN model performance. To address this, we leverage advances in NN verification to develop training objectives for robust, fully-parametric SA models. Specifically, we propose an adversarially robust loss function based on a Min-Max optimization problem. We employ CROWN-Interval Bound Propagation (CROWN-IBP) to tackle the computational challenges inherent in solving this Min-Max problem. Evaluated over 10 SurvSet datasets, our method, Survival Analysis with Adversarial Regularization (SAWAR), consistently outperforms baseline adversarial training methods and state-of-the-art (SOTA) deep SA models across various covariate perturbations with respect to Negative Log Likelihood (NegLL), Integrated Brier Score (IBS), and Concordance Index (CI) metrics. Thus, we demonstrate that adversarial robustness enhances SA predictive performance and calibration, mitigating data uncertainty and improving generalization across diverse datasets by up to 150% compared to baselines.", "date": "2023-12-26", "categories": []} {"id": "2509.04980", "title": "MAIA: An Inpainting-Based Approach for Music Adversarial Attacks", "abstract": "Music adversarial attacks have garnered significant interest in the field of Music Information Retrieval (MIR). In this paper, we present Music Adversarial Inpainting Attack (MAIA), a novel adversarial attack framework that supports both white-box and black-box attack scenarios. MAIA begins with an importance analysis to identify critical audio segments, which are then targeted for modification. Utilizing generative inpainting models, these segments are reconstructed with guidance from the output of the attacked model, ensuring subtle and effective adversarial perturbations. We evaluate MAIA on multiple MIR tasks, demonstrating high attack success rates in both white-box and black-box settings while maintaining minimal perceptual distortion. Additionally, subjective listening tests confirm the high audio fidelity of the adversarial samples. Our findings highlight vulnerabilities in current MIR systems and emphasize the need for more robust and secure models.", "date": "2025-09-05", "categories": []} {"id": "2509.05086", "title": "Robust Experts: the Effect of Adversarial Training on CNNs with Sparse Mixture-of-Experts Layers", "abstract": "Robustifying convolutional neural networks (CNNs) against adversarial attacks remains challenging and often requires resource-intensive countermeasures. We explore the use of sparse mixture-of-experts (MoE) layers to improve robustness by replacing selected residual blocks or convolutional layers, thereby increasing model capacity without additional inference cost. On ResNet architectures trained on CIFAR-100, we find that inserting a single MoE layer in the deeper stages leads to consistent improvements in robustness under PGD and AutoPGD attacks when combined with adversarial training. Furthermore, we discover that when switch loss is used for balancing, it causes routing to collapse onto a small set of overused experts, thereby concentrating adversarial training on these paths and inadvertently making them more robust. As a result, some individual experts outperform the gated MoE model in robustness, suggesting that robust subpaths emerge through specialization. Our code is available at https://github.com/KASTEL-MobilityLab/robust-sparse-moes.", "date": "2025-09-05", "categories": []} {"id": "2509.01235", "title": "Geometric origin of adversarial vulnerability in deep learning", "abstract": "How to balance training accuracy and adversarial robustness has become a challenge since the birth of deep learning. Here, we introduce a geometry-aware deep learning framework that leverages layer-wise local training to sculpt the internal representations of deep neural networks. This framework promotes intra-class compactness and inter-class separation in feature space, leading to manifold smoothness and adversarial robustness against white or black box attacks. The performance can be explained by an energy model with Hebbian coupling between elements of the hidden representation. Our results thus shed light on the physics of learning in the direction of alignment between biological and artificial intelligence systems. Using the current framework, the deep network can assimilate new information into existing knowledge structures while reducing representation interference.", "date": "2025-09-01", "categories": []} {"id": "2402.04660", "title": "Redesigning Traffic Signs to Mitigate Machine-Learning Patch Attacks", "abstract": "Traffic-Sign Recognition (TSR) is a critical safety component for autonomous driving. Unfortunately, however, past work has highlighted the vulnerability of TSR models to physical-world attacks, through low-cost, easily deployable adversarial patches leading to misclassification. To mitigate these threats, most defenses focus on altering the training process or modifying the inference procedure. Still, while these approaches improve adversarial robustness, TSR remains susceptible to attacks attaining substantial success rates.\n To further the adversarial robustness of TSR, this work offers a novel approach that redefines traffic-sign designs to create signs that promote robustness while remaining interpretable to humans. Our framework takes three inputs: (1) A traffic-sign standard along with modifiable features and associated constraints; (2) A state-of-the-art adversarial training method; and (3) A function for efficiently synthesizing realistic traffic-sign images. Using these user-defined inputs, the framework emits an optimized traffic-sign standard such that traffic signs generated per this standard enable training TSR models with increased adversarial robustness.\n We evaluate the effectiveness of our framework via a concrete implementation, where we allow modifying the pictograms (i.e., symbols) and colors of traffic signs. The results show substantial improvements in robustness -- with gains of up to 16.33%--24.58% in robust accuracy over state-of-the-art methods -- while benign accuracy is even improved. Importantly, a user study also confirms that the redesigned traffic signs remain easily recognizable and to human observers. Overall, the results highlight that carefully redesigning traffic signs can significantly enhance TSR system robustness without compromising human interpretability.", "date": "2024-02-07", "categories": []} {"id": "2408.14875", "title": "Adversarial Attacks and Defenses in Multivariate Time-Series Forecasting for Smart and Connected Infrastructures", "abstract": "The emergence of deep learning models has revolutionized various industries over the last decade, leading to a surge in connected devices and infrastructures. However, these models can be tricked into making incorrect predictions with high confidence, leading to disastrous failures and security concerns. To this end, we explore the impact of adversarial attacks on multivariate time-series forecasting and investigate methods to counter them. Specifically, we employ untargeted white-box attacks, namely the Fast Gradient Sign Method (FGSM) and the Basic Iterative Method (BIM), to poison the inputs to the training process, effectively misleading the model. We also illustrate the subtle modifications to the inputs after the attack, which makes detecting the attack using the naked eye quite difficult. Having demonstrated the feasibility of these attacks, we develop robust models through adversarial training and model hardening. We are among the first to showcase the transferability of these attacks and defenses by extrapolating our work from the benchmark electricity data to a larger, 10-year real-world data used for predicting the time-to-failure of hard disks. Our experimental results confirm that the attacks and defenses achieve the desired security thresholds, leading to a 72.41% and 94.81% decrease in RMSE for the electricity and hard disk datasets respectively after implementing the adversarial defenses.", "date": "2024-08-27", "categories": []} {"id": "2412.07326", "title": "Addressing Key Challenges of Adversarial Attacks and Defenses in the Tabular Domain: A Methodological Framework for Coherence and Consistency", "abstract": "Machine learning models trained on tabular data are vulnerable to adversarial attacks, even in realistic scenarios where attackers only have access to the model's outputs. Since tabular data contains complex interdependencies among features, it presents a unique challenge for adversarial samples which must maintain coherence and respect these interdependencies to remain indistinguishable from benign data. Moreover, existing attack evaluation metrics-such as the success rate, perturbation magnitude, and query count-fail to account for this challenge. To address those gaps, we propose a technique for perturbing dependent features while preserving sample coherence. In addition, we introduce Class-Specific Anomaly Detection (CSAD), an effective novel anomaly detection approach, along with concrete metrics for assessing the quality of tabular adversarial attacks. CSAD evaluates adversarial samples relative to their predicted class distribution, rather than a broad benign distribution. It ensures that subtle adversarial perturbations, which may appear coherent in other classes, are correctly identified as anomalies. We integrate SHAP explainability techniques to detect inconsistencies in model decision-making, extending CSAD for SHAP-based anomaly detection. Our evaluation incorporates both anomaly detection rates with SHAP-based assessments to provide a more comprehensive measure of adversarial sample quality. We evaluate various attack strategies, examining black-box query-based and transferability-based gradient attacks across four target models. Experiments on benchmark tabular datasets reveal key differences in the attacker's risk and effort and attack quality, offering insights into the strengths, limitations, and trade-offs faced by attackers and defenders. Our findings lay the groundwork for future research on adversarial attacks and defense development in the tabular domain.", "date": "2024-12-10", "categories": []} {"id": "2505.03084", "title": "Adversarial Attacks in Multimodal Systems: A Practitioner's Survey", "abstract": "The introduction of multimodal models is a huge step forward in Artificial Intelligence. A single model is trained to understand multiple modalities: text, image, video, and audio. Open-source multimodal models have made these breakthroughs more accessible. However, considering the vast landscape of adversarial attacks across these modalities, these models also inherit vulnerabilities of all the modalities, and ultimately, the adversarial threat amplifies. While broad research is available on possible attacks within or across these modalities, a practitioner-focused view that outlines attack types remains absent in the multimodal world. As more Machine Learning Practitioners adopt, fine-tune, and deploy open-source models in real-world applications, it's crucial that they can view the threat landscape and take the preventive actions necessary. This paper addresses the gap by surveying adversarial attacks targeting all four modalities: text, image, video, and audio. This survey provides a view of the adversarial attack landscape and presents how multimodal adversarial threats have evolved. To the best of our knowledge, this survey is the first comprehensive summarization of the threat landscape in the multimodal world.", "date": "2025-05-06", "categories": []} {"id": "2508.10946", "title": "IPG: Incremental Patch Generation for Generalized Adversarial Patch Training", "abstract": "The advent of adversarial patches poses a significant challenge to the robustness of AI models, particularly in the domain of computer vision tasks such as object detection. In contradistinction to traditional adversarial examples, these patches target specific regions of an image, resulting in the malfunction of AI models. This paper proposes Incremental Patch Generation (IPG), a method that generates adversarial patches up to 11.1 times more efficiently than existing approaches while maintaining comparable attack performance. The efficacy of IPG is demonstrated by experiments and ablation studies including YOLO's feature distribution visualization and adversarial training results, which show that it produces well-generalized patches that effectively cover a broader range of model vulnerabilities. Furthermore, IPG-generated datasets can serve as a robust knowledge foundation for constructing a robust model, enabling structured representation, advanced reasoning, and proactive defenses in AI security ecosystems. The findings of this study suggest that IPG has considerable potential for future utilization not only in adversarial patch defense but also in real-world applications such as autonomous vehicles, security systems, and medical imaging, where AI models must remain resilient to adversarial attacks in dynamic and high-stakes environments.", "date": "2025-08-13", "categories": []} {"id": "2509.00089", "title": "Learning from Peers: Collaborative Ensemble Adversarial Training", "abstract": "Ensemble Adversarial Training (EAT) attempts to enhance the robustness of models against adversarial attacks by leveraging multiple models. However, current EAT strategies tend to train the sub-models independently, ignoring the cooperative benefits between sub-models. Through detailed inspections of the process of EAT, we find that that samples with classification disparities between sub-models are close to the decision boundary of ensemble, exerting greater influence on the robustness of ensemble. To this end, we propose a novel yet efficient Collaborative Ensemble Adversarial Training (CEAT), to highlight the cooperative learning among sub-models in the ensemble. To be specific, samples with larger predictive disparities between the sub-models will receive greater attention during the adversarial training of the other sub-models. CEAT leverages the probability disparities to adaptively assign weights to different samples, by incorporating a calibrating distance regularization. Extensive experiments on widely-adopted datasets show that our proposed method achieves the state-of-the-art performance over competitive EAT methods. It is noteworthy that CEAT is model-agnostic, which can be seamlessly adapted into various ensemble methods with flexible applicability.", "date": "2025-08-27", "categories": []} {"id": "2509.00391", "title": "The Resurgence of GCG Adversarial Attacks on Large Language Models", "abstract": "Gradient-based adversarial prompting, such as the Greedy Coordinate Gradient (GCG) algorithm, has emerged as a powerful method for jailbreaking large language models (LLMs). In this paper, we present a systematic appraisal of GCG and its annealing-augmented variant, T-GCG, across open-source LLMs of varying scales. Using Qwen2.5-0.5B, LLaMA-3.2-1B, and GPT-OSS-20B, we evaluate attack effectiveness on both safety-oriented prompts (AdvBench) and reasoning-intensive coding prompts. Our study reveals three key findings: (1) attack success rates (ASR) decrease with model size, reflecting the increasing complexity and non-convexity of larger models' loss landscapes; (2) prefix-based heuristics substantially overestimate attack effectiveness compared to GPT-4o semantic judgments, which provide a stricter and more realistic evaluation; and (3) coding-related prompts are significantly more vulnerable than adversarial safety prompts, suggesting that reasoning itself can be exploited as an attack vector. In addition, preliminary results with T-GCG show that simulated annealing can diversify adversarial search and achieve competitive ASR under prefix evaluation, though its benefits under semantic judgment remain limited. Together, these findings highlight the scalability limits of GCG, expose overlooked vulnerabilities in reasoning tasks, and motivate further development of annealing-inspired strategies for more robust adversarial evaluation.", "date": "2025-08-30", "categories": []} {"id": "2509.00826", "title": "Sequential Difference Maximization: Generating Adversarial Examples via Multi-Stage Optimization", "abstract": "Efficient adversarial attack methods are critical for assessing the robustness of computer vision models. In this paper, we reconstruct the optimization objective for generating adversarial examples as \"maximizing the difference between the non-true labels' probability upper bound and the true label's probability,\" and propose a gradient-based attack method termed Sequential Difference Maximization (SDM). SDM establishes a three-layer optimization framework of \"cycle-stage-step.\" The processes between cycles and between iterative steps are respectively identical, while optimization stages differ in terms of loss functions: in the initial stage, the negative probability of the true label is used as the loss function to compress the solution space; in subsequent stages, we introduce the Directional Probability Difference Ratio (DPDR) loss function to gradually increase the non-true labels' probability upper bound by compressing the irrelevant labels' probabilities. Experiments demonstrate that compared with previous SOTA methods, SDM not only exhibits stronger attack performance but also achieves higher attack cost-effectiveness. Additionally, SDM can be combined with adversarial training methods to enhance their defensive effects. The code is available at https://github.com/X-L-Liu/SDM.", "date": "2025-08-31", "categories": []} {"id": "2504.08897", "title": "On the Adversarial Robustness of Spiking Neural Networks Trained by Local Learning", "abstract": "Recent research has shown the vulnerability of Spiking Neural Networks (SNNs) under adversarial examples that are nearly indistinguishable from clean data in the context of frame-based and event-based information. The majority of these studies are constrained in generating adversarial examples using Backpropagation Through Time (BPTT), a gradient-based method which lacks biological plausibility. In contrast, local learning methods, which relax many of BPTT's constraints, remain under-explored in the context of adversarial attacks. To address this problem, we examine adversarial robustness in SNNs through the framework of four types of training algorithms. We provide an in-depth analysis of the ineffectiveness of gradient-based adversarial attacks to generate adversarial instances in this scenario. To overcome these limitations, we introduce a hybrid adversarial attack paradigm that leverages the transferability of adversarial instances. The proposed hybrid approach demonstrates superior performance, outperforming existing adversarial attack methods. Furthermore, the generalizability of the method is assessed under multi-step adversarial attacks, adversarial attacks in black-box FGSM scenarios, and within the non-spiking domain.", "date": "2025-04-11", "categories": []} {"id": "2508.21472", "title": "Adversarial Patch Attack for Ship Detection via Localized Augmentation", "abstract": "Current ship detection techniques based on remote sensing imagery primarily rely on the object detection capabilities of deep neural networks (DNNs). However, DNNs are vulnerable to adversarial patch attacks, which can lead to misclassification by the detection model or complete evasion of the targets. Numerous studies have demonstrated that data transformation-based methods can improve the transferability of adversarial examples. However, excessive augmentation of image backgrounds or irrelevant regions may introduce unnecessary interference, resulting in false detections of the object detection model. These errors are not caused by the adversarial patches themselves but rather by the over-augmentation of background and non-target areas. This paper proposes a localized augmentation method that applies augmentation only to the target regions, avoiding any influence on non-target areas. By reducing background interference, this approach enables the loss function to focus more directly on the impact of the adversarial patch on the detection model, thereby improving the attack success rate. Experiments conducted on the HRSC2016 dataset demonstrate that the proposed method effectively increases the success rate of adversarial patch attacks and enhances their transferability.", "date": "2025-08-29", "categories": []} {"id": "2508.21715", "title": "Entropy-Based Non-Invasive Reliability Monitoring of Convolutional Neural Networks", "abstract": "Convolutional Neural Networks (CNNs) have become the foundation of modern computer vision, achieving unprecedented accuracy across diverse image recognition tasks. While these networks excel on in-distribution data, they remain vulnerable to adversarial perturbations imperceptible input modifications that cause misclassification with high confidence. However, existing detection methods either require expensive retraining, modify network architecture, or degrade performance on clean inputs. Here we show that adversarial perturbations create immediate, detectable entropy signatures in CNN activations that can be monitored without any model modification. Using parallel entropy monitoring on VGG-16, we demonstrate that adversarial inputs consistently shift activation entropy by 7% in early convolutional layers, enabling 90% detection accuracy with false positives and false negative rates below 20%. The complete separation between clean and adversarial entropy distributions reveals that CNNs inherently encode distribution shifts in their activation patterns. This work establishes that CNN reliability can be assessed through activation entropy alone, enabling practical deployment of self-diagnostic vision systems that detect adversarial inputs in real-time without compromising original model performance.", "date": "2025-08-29", "categories": []} {"id": "2402.14648", "title": "Rethinking Invariance Regularization in Adversarial Training to Improve Robustness-Accuracy Trade-off", "abstract": "Adversarial training often suffers from a robustness-accuracy trade-off, where achieving high robustness comes at the cost of accuracy. One approach to mitigate this trade-off is leveraging invariance regularization, which encourages model invariance under adversarial perturbations; however, it still leads to accuracy loss. In this work, we closely analyze the challenges of using invariance regularization in adversarial training and understand how to address them. Our analysis identifies two key issues: (1) a ``gradient conflict\" between invariance and classification objectives, leading to suboptimal convergence, and (2) the mixture distribution problem arising from diverged distributions between clean and adversarial inputs. To address these issues, we propose Asymmetric Representation-regularized Adversarial Training (ARAT), which incorporates asymmetric invariance loss with stop-gradient operation and a predictor to avoid gradient conflict, and a split-BatchNorm (BN) structure to resolve the mixture distribution problem. Our detailed analysis demonstrates that each component effectively addresses the identified issues, offering novel insights into adversarial defense. ARAT shows superiority over existing methods across various settings. Finally, we discuss the implications of our findings to knowledge distillation-based defenses, providing a new perspective on their relative successes.", "date": "2024-02-22", "categories": []} {"id": "2412.05943", "title": "Adversarial Transferability in Deep Denoising Models: Theoretical Insights and Robustness Enhancement via Out-of-Distribution Typical Set Sampling", "abstract": "Deep learning-based image denoising models demonstrate remarkable performance, but their lack of robustness analysis remains a significant concern. A major issue is that these models are susceptible to adversarial attacks, where small, carefully crafted perturbations to input data can cause them to fail. Surprisingly, perturbations specifically crafted for one model can easily transfer across various models, including CNNs, Transformers, unfolding models, and plug-and-play models, leading to failures in those models as well. Such high adversarial transferability is not observed in classification models. We analyze the possible underlying reasons behind the high adversarial transferability through a series of hypotheses and validation experiments. By characterizing the manifolds of Gaussian noise and adversarial perturbations using the concept of typical set and the asymptotic equipartition property, we prove that adversarial samples deviate slightly from the typical set of the original input distribution, causing the models to fail. Based on these insights, we propose a novel adversarial defense method: the Out-of-Distribution Typical Set Sampling Training strategy (TS). TS not only significantly enhances the model's robustness but also marginally improves denoising performance compared to the original model.", "date": "2024-12-08", "categories": []} {"id": "2508.02997", "title": "CoCoTen: Detecting Adversarial Inputs to Large Language Models through Latent Space Features of Contextual Co-occurrence Tensors", "abstract": "The widespread use of Large Language Models (LLMs) in many applications marks a significant advance in research and practice. However, their complexity and hard-to-understand nature make them vulnerable to attacks, especially jailbreaks designed to produce harmful responses. To counter these threats, developing strong detection methods is essential for the safe and reliable use of LLMs. This paper studies this detection problem using the Contextual Co-occurrence Matrix, a structure recognized for its efficacy in data-scarce environments. We propose a novel method leveraging the latent space characteristics of Contextual Co-occurrence Matrices and Tensors for the effective identification of adversarial and jailbreak prompts. Our evaluations show that this approach achieves a notable F1 score of 0.83 using only 0.5% of labeled prompts, which is a 96.6% improvement over baselines. This result highlights the strength of our learned patterns, especially when labeled data is scarce. Our method is also significantly faster, speedup ranging from 2.3 to 128.4 times compared to the baseline models.", "date": "2025-08-05", "categories": []} {"id": "2506.17632", "title": "Pixel-Optimization-Free Patch Attack on Stereo Depth Estimation", "abstract": "Stereo Depth Estimation (SDE) is essential for scene perception in vision-based systems such as autonomous driving. Prior work shows SDE is vulnerable to pixel-optimization attacks, but these methods are limited to digital, static, and view-specific settings, making them impractical. This raises a central question: how to design deployable, adaptive, and transferable attacks under realistic constraints? We present two contributions to answer it. First, we build a unified framework that extends pixel-optimization attacks to four stereo-matching stages: feature extraction, cost-volume construction, cost aggregation, and disparity regression. Through systematic evaluation across nine SDE models with realistic constraints like photometric consistency, we show existing attacks suffer from poor transferability. Second, we propose PatchHunter, the first pixel-optimization-free attack. PatchHunter casts patch generation as a search in a structured space of visual patterns that disrupt core SDE assumptions, and uses a reinforcement learning policy to discover effective and transferable patterns efficiently. We evaluate PatchHunter on three levels: autonomous driving dataset, high-fidelity simulator, and real-world deployment. On KITTI, PatchHunter outperforms pixel-level attacks in both effectiveness and black-box transferability. Tests in CARLA and on vehicles with industrial-grade stereo cameras confirm robustness to physical variations. Even under challenging conditions such as low lighting, PatchHunter achieves a D1-all error above 0.4, while pixel-level attacks remain near 0.", "date": "2025-06-21", "categories": []} {"id": "2508.19290", "title": "Efficient Model-Based Purification Against Adversarial Attacks for LiDAR Segmentation", "abstract": "LiDAR-based segmentation is essential for reliable perception in autonomous vehicles, yet modern segmentation networks are highly susceptible to adversarial attacks that can compromise safety. Most existing defenses are designed for networks operating directly on raw 3D point clouds and rely on large, computationally intensive generative models. However, many state-of-the-art LiDAR segmentation pipelines operate on more efficient 2D range view representations. Despite their widespread adoption, dedicated lightweight adversarial defenses for this domain remain largely unexplored. We introduce an efficient model-based purification framework tailored for adversarial defense in 2D range-view LiDAR segmentation. We propose a direct attack formulation in the range-view domain and develop an explainable purification network based on a mathematical justified optimization problem, achieving strong adversarial resilience with minimal computational overhead. Our method achieves competitive performance on open benchmarks, consistently outperforming generative and adversarial training baselines. More importantly, real-world deployment on a demo vehicle demonstrates the framework's ability to deliver accurate operation in practical autonomous driving scenarios.", "date": "2025-08-25", "categories": []} {"id": "2508.18306", "title": "SALMAN: Stability Analysis of Language Models Through the Maps Between Graph-based Manifolds", "abstract": "Recent strides in pretrained transformer-based language models have propelled state-of-the-art performance in numerous NLP tasks. Yet, as these models grow in size and deployment, their robustness under input perturbations becomes an increasingly urgent question. Existing robustness methods often diverge between small-parameter and large-scale models (LLMs), and they typically rely on labor-intensive, sample-specific adversarial designs. In this paper, we propose a unified, local (sample-level) robustness framework (SALMAN) that evaluates model stability without modifying internal parameters or resorting to complex perturbation heuristics. Central to our approach is a novel Distance Mapping Distortion (DMD) measure, which ranks each sample's susceptibility by comparing input-to-output distance mappings in a near-linear complexity manner. By demonstrating significant gains in attack efficiency and robust training, we position our framework as a practical, model-agnostic tool for advancing the reliability of transformer-based NLP systems.", "date": "2025-08-23", "categories": []} {"id": "2508.18805", "title": "Hidden Tail: Adversarial Image Causing Stealthy Resource Consumption in Vision-Language Models", "abstract": "Vision-Language Models (VLMs) are increasingly deployed in real-world applications, but their high inference cost makes them vulnerable to resource consumption attacks. Prior attacks attempt to extend VLM output sequences by optimizing adversarial images, thereby increasing inference costs. However, these extended outputs often introduce irrelevant abnormal content, compromising attack stealthiness. This trade-off between effectiveness and stealthiness poses a major limitation for existing attacks. To address this challenge, we propose \\textit{Hidden Tail}, a stealthy resource consumption attack that crafts prompt-agnostic adversarial images, inducing VLMs to generate maximum-length outputs by appending special tokens invisible to users. Our method employs a composite loss function that balances semantic preservation, repetitive special token induction, and suppression of the end-of-sequence (EOS) token, optimized via a dynamic weighting strategy. Extensive experiments show that \\textit{Hidden Tail} outperforms existing attacks, increasing output length by up to 19.2$\\times$ and reaching the maximum token limit, while preserving attack stealthiness. These results highlight the urgent need to improve the robustness of VLMs against efficiency-oriented adversarial threats. Our code is available at https://github.com/zhangrui4041/Hidden_Tail.", "date": "2025-08-26", "categories": []} {"id": "2508.19183", "title": "Get Global Guarantees: On the Probabilistic Nature of Perturbation Robustness", "abstract": "In safety-critical deep learning applications, robustness measures the ability of neural models that handle imperceptible perturbations in input data, which may lead to potential safety hazards. Existing pre-deployment robustness assessment methods typically suffer from significant trade-offs between computational cost and measurement precision, limiting their practical utility. To address these limitations, this paper conducts a comprehensive comparative analysis of existing robustness definitions and associated assessment methodologies. We propose tower robustness to evaluate robustness, which is a novel, practical metric based on hypothesis testing to quantitatively evaluate probabilistic robustness, enabling more rigorous and efficient pre-deployment assessments. Our extensive comparative evaluation illustrates the advantages and applicability of our proposed approach, thereby advancing the systematic understanding and enhancement of model robustness in safety-critical deep learning applications.", "date": "2025-08-26", "categories": []} {"id": "2303.10225", "title": "Bridging Models to Defend: A Population-Based Strategy for Robust Adversarial Defense", "abstract": "Adversarial robustness is a critical measure of a neural network's ability to withstand adversarial attacks at inference time. While robust training techniques have improved defenses against individual $\\ell_p$-norm attacks (e.g., $\\ell_2$ or $\\ell_\\infty$), models remain vulnerable to diversified $\\ell_p$ perturbations. To address this challenge, we propose a novel Robust Mode Connectivity (RMC)-oriented adversarial defense framework comprising two population-based learning phases. In Phase I, RMC searches the parameter space between two pre-trained models to construct a continuous path containing models with high robustness against multiple $\\ell_p$ attacks. To improve efficiency, we introduce a Self-Robust Mode Connectivity (SRMC) module that accelerates endpoint generation in RMC. Building on RMC, Phase II presents RMC-based optimization, where RMC modules are composed to further enhance diversified robustness. To increase Phase II efficiency, we propose Efficient Robust Mode Connectivity (ERMC), which leverages $\\ell_1$- and $\\ell_\\infty$-adversarially trained models to achieve robustness across a broad range of $p$-norms. An ensemble strategy is employed to further boost ERMC's performance. Extensive experiments across diverse datasets and architectures demonstrate that our methods significantly improve robustness against $\\ell_\\infty$, $\\ell_2$, $\\ell_1$, and hybrid attacks. Code is available at https://github.com/wangren09/MCGR.", "date": "2023-03-17", "categories": []} {"id": "2308.11804", "title": "Adversarial Illusions in Multi-Modal Embeddings", "abstract": "Multi-modal embeddings encode texts, images, thermal images, sounds, and videos into a single embedding space, aligning representations across different modalities (e.g., associate an image of a dog with a barking sound). In this paper, we show that multi-modal embeddings can be vulnerable to an attack we call \"adversarial illusions.\" Given an image or a sound, an adversary can perturb it to make its embedding close to an arbitrary, adversary-chosen input in another modality.\n These attacks are cross-modal and targeted: the adversary can align any image or sound with any target of his choice. Adversarial illusions exploit proximity in the embedding space and are thus agnostic to downstream tasks and modalities, enabling a wholesale compromise of current and future tasks, as well as modalities not available to the adversary. Using ImageBind and AudioCLIP embeddings, we demonstrate how adversarially aligned inputs, generated without knowledge of specific downstream tasks, mislead image generation, text generation, zero-shot classification, and audio retrieval.\n We investigate transferability of illusions across different embeddings and develop a black-box version of our method that we use to demonstrate the first adversarial alignment attack on Amazon's commercial, proprietary Titan embedding. Finally, we analyze countermeasures and evasion attacks.", "date": "2023-08-22", "categories": []} {"id": "2412.05767", "title": "DeMem: Privacy-Enhanced Robust Adversarial Learning via De-Memorization", "abstract": "Adversarial robustness, the ability of a model to withstand manipulated inputs that cause errors, is essential for ensuring the trustworthiness of machine learning models in real-world applications. However, previous studies have shown that enhancing adversarial robustness through adversarial training increases vulnerability to privacy attacks. While differential privacy can mitigate these attacks, it often compromises robustness against both natural and adversarial samples. Our analysis reveals that differential privacy disproportionately impacts low-risk samples, causing an unintended performance drop. To address this, we propose DeMem, which selectively targets high-risk samples, achieving a better balance between privacy protection and model robustness. DeMem is versatile and can be seamlessly integrated into various adversarial training techniques. Extensive evaluations across multiple training methods and datasets demonstrate that DeMem significantly reduces privacy leakage while maintaining robustness against both natural and adversarial samples. These results confirm DeMem's effectiveness and broad applicability in enhancing privacy without compromising robustness.", "date": "2024-12-08", "categories": []} {"id": "2508.16937", "title": "NAT: Learning to Attack Neurons for Enhanced Adversarial Transferability", "abstract": "The generation of transferable adversarial perturbations typically involves training a generator to maximize embedding separation between clean and adversarial images at a single mid-layer of a source model. In this work, we build on this approach and introduce Neuron Attack for Transferability (NAT), a method designed to target specific neuron within the embedding. Our approach is motivated by the observation that previous layer-level optimizations often disproportionately focus on a few neurons representing similar concepts, leaving other neurons within the attacked layer minimally affected. NAT shifts the focus from embedding-level separation to a more fundamental, neuron-specific approach. We find that targeting individual neurons effectively disrupts the core units of the neural network, providing a common basis for transferability across different models. Through extensive experiments on 41 diverse ImageNet models and 9 fine-grained models, NAT achieves fooling rates that surpass existing baselines by over 14\\% in cross-model and 4\\% in cross-domain settings. Furthermore, by leveraging the complementary attacking capabilities of the trained generators, we achieve impressive fooling rates within just 10 queries. Our code is available at: https://krishnakanthnakka.github.io/NAT/", "date": "2025-08-23", "categories": []} {"id": "2508.17265", "title": "AdaGAT: Adaptive Guidance Adversarial Training for the Robustness of Deep Neural Networks", "abstract": "Adversarial distillation (AD) is a knowledge distillation technique that facilitates the transfer of robustness from teacher deep neural network (DNN) models to lightweight target (student) DNN models, enabling the target models to perform better than only training the student model independently. Some previous works focus on using a small, learnable teacher (guide) model to improve the robustness of a student model. Since a learnable guide model starts learning from scratch, maintaining its optimal state for effective knowledge transfer during co-training is challenging. Therefore, we propose a novel Adaptive Guidance Adversarial Training (AdaGAT) method. Our method, AdaGAT, dynamically adjusts the training state of the guide model to install robustness to the target model. Specifically, we develop two separate loss functions as part of the AdaGAT method, allowing the guide model to participate more actively in backpropagation to achieve its optimal state. We evaluated our approach via extensive experiments on three datasets: CIFAR-10, CIFAR-100, and TinyImageNet, using the WideResNet-34-10 model as the target model. Our observations reveal that appropriately adjusting the guide model within a certain accuracy range enhances the target model's robustness across various adversarial attacks compared to a variety of baseline models.", "date": "2025-08-24", "categories": []} {"id": "2508.17680", "title": "Robustness Feature Adapter for Efficient Adversarial Training", "abstract": "Adversarial training (AT) with projected gradient descent is the most popular method to improve model robustness under adversarial attacks. However, computational overheads become prohibitively large when AT is applied to large backbone models. AT is also known to have the issue of robust overfitting. This paper contributes to solving both problems simultaneously towards building more trustworthy foundation models. In particular, we propose a new adapter-based approach for efficient AT directly in the feature space. We show that the proposed adapter-based approach can improve the inner-loop convergence quality by eliminating robust overfitting. As a result, it significantly increases computational efficiency and improves model accuracy by generalizing adversarial robustness to unseen attacks. We demonstrate the effectiveness of the new adapter-based approach in different backbone architectures and in AT at scale.", "date": "2025-08-25", "categories": []} {"id": "2508.18019", "title": "Does simple trump complex? Comparing strategies for adversarial robustness in DNNs", "abstract": "Deep Neural Networks (DNNs) have shown substantial success in various applications but remain vulnerable to adversarial attacks. This study aims to identify and isolate the components of two different adversarial training techniques that contribute most to increased adversarial robustness, particularly through the lens of margins in the input space -- the minimal distance between data points and decision boundaries. Specifically, we compare two methods that maximize margins: a simple approach which modifies the loss function to increase an approximation of the margin, and a more complex state-of-the-art method (Dynamics-Aware Robust Training) which builds upon this approach. Using a VGG-16 model as our base, we systematically isolate and evaluate individual components from these methods to determine their relative impact on adversarial robustness. We assess the effect of each component on the model's performance under various adversarial attacks, including AutoAttack and Projected Gradient Descent (PGD). Our analysis on the CIFAR-10 dataset reveals which elements most effectively enhance adversarial robustness, providing insights for designing more robust DNNs.", "date": "2025-08-25", "categories": []} {"id": "2402.17018", "title": "A Curious Case of Remarkable Resilience to Gradient Attacks via Fully Convolutional and Differentiable Front End with a Skip Connection", "abstract": "We experimented with front-end enhanced neural models where a differentiable and fully convolutional model with a skip connection is added before a frozen backbone classifier. By training such composite models using a small learning rate for about one epoch, we obtained models that retained the accuracy of the backbone classifier while being unusually resistant to gradient attacks-including APGD and FAB-T attacks from the AutoAttack package-which we attribute to gradient masking. Although gradient masking is not new, the degree we observe is striking for fully differentiable models without obvious gradient-shattering-e.g., JPEG compression-or gradient-diminishing components.\n The training recipe to produce such models is also remarkably stable and reproducible: We applied it to three datasets (CIFAR10, CIFAR100, and ImageNet) and several modern architectures (including vision Transformers) without a single failure case. While black-box attacks such as the SQUARE attack and zero-order PGD can partially overcome gradient masking, these attacks are easily defeated by simple randomized ensembles. We estimate that these ensembles achieve near-SOTA AutoAttack accuracy on CIFAR10, CIFAR100, and ImageNet (while retaining almost all clean accuracy of the original classifiers) despite having near-zero accuracy under adaptive attacks.\n Adversarially training the backbone further amplifies this front-end \"robustness\". On CIFAR10, the respective randomized ensemble achieved 90.8$\\pm 2.5\\%$ (99\\% CI) accuracy under the full AutoAttack while having only 18.2$\\pm 3.6\\%$ accuracy under the adaptive attack ($\\varepsilon=8/255$, $L^\\infty$ norm). We conclude the paper with a discussion of whether randomized ensembling can serve as a practical defense.\n Code and instructions to reproduce key results are available. https://github.com/searchivarius/curious_case_of_gradient_masking", "date": "2024-02-26", "categories": []} {"id": "2502.12207", "title": "PAR-AdvGAN: Improving Adversarial Attack Capability with Progressive Auto-Regression AdvGAN", "abstract": "Deep neural networks have demonstrated remarkable performance across various domains. However, they are vulnerable to adversarial examples, which can lead to erroneous predictions. Generative Adversarial Networks (GANs) can leverage the generators and discriminators model to quickly produce high-quality adversarial examples. Since both modules train in a competitive and simultaneous manner, GAN-based algorithms like AdvGAN can generate adversarial examples with better transferability compared to traditional methods. However, the generation of perturbations is usually limited to a single iteration, preventing these examples from fully exploiting the potential of the methods. To tackle this issue, we introduce a novel approach named Progressive Auto-Regression AdvGAN (PAR-AdvGAN). It incorporates an auto-regressive iteration mechanism within a progressive generation network to craft adversarial examples with enhanced attack capability. We thoroughly evaluate our PAR-AdvGAN method with a large-scale experiment, demonstrating its superior performance over various state-of-the-art black-box adversarial attacks, as well as the original AdvGAN.Moreover, PAR-AdvGAN significantly accelerates the adversarial example generation, i.e., achieving the speeds of up to 335.5 frames per second on Inception-v3 model, outperforming the gradient-based transferable attack algorithms. Our code is available at: https://github.com/LMBTough/PAR", "date": "2025-02-16", "categories": []} {"id": "2503.17173", "title": "Robustness of deep learning classification to adversarial input on GPUs: asynchronous parallel accumulation is a source of vulnerability", "abstract": "The ability of machine learning (ML) classification models to resist small, targeted input perturbations -- known as adversarial attacks -- is a key measure of their safety and reliability. We show that floating-point non-associativity (FPNA) coupled with asynchronous parallel programming on GPUs is sufficient to result in misclassification, without any perturbation to the input. Additionally, we show that standard adversarial robustness results may be overestimated up to 4.6 when not considering machine-level details. We develop a novel black-box attack using Bayesian optimization to discover external workloads that can change the instruction scheduling which bias the output of reductions on GPUs and reliably lead to misclassification. Motivated by these results, we present a new learnable permutation (LP) gradient-based approach to learning floating-point operation orderings that lead to misclassifications. The LP approach provides a worst-case estimate in a computationally efficient manner, avoiding the need to run identical experiments tens of thousands of times over a potentially large set of possible GPU states or architectures. Finally, using instrumentation-based testing, we investigate parallel reduction ordering across different GPU architectures under external background workloads, when utilizing multi-GPU virtualization, and when applying power capping. Our results demonstrate that parallel reduction ordering varies significantly across architectures under the first two conditions, substantially increasing the search space required to fully test the effects of this parallel scheduler-based vulnerability. These results and the methods developed here can help to include machine-level considerations into adversarial robustness assessments, which can make a difference in safety and mission critical applications.", "date": "2025-03-21", "categories": []} {"id": "2508.16217", "title": "PromptFlare: Prompt-Generalized Defense via Cross-Attention Decoy in Diffusion-Based Inpainting", "abstract": "The success of diffusion models has enabled effortless, high-quality image modifications that precisely align with users' intentions, thereby raising concerns about their potential misuse by malicious actors. Previous studies have attempted to mitigate such misuse through adversarial attacks. However, these approaches heavily rely on image-level inconsistencies, which pose fundamental limitations in addressing the influence of textual prompts. In this paper, we propose PromptFlare, a novel adversarial protection method designed to protect images from malicious modifications facilitated by diffusion-based inpainting models. Our approach leverages the cross-attention mechanism to exploit the intrinsic properties of prompt embeddings. Specifically, we identify and target shared token of prompts that is invariant and semantically uninformative, injecting adversarial noise to suppress the sampling process. The injected noise acts as a cross-attention decoy, diverting the model's focus away from meaningful prompt-image alignments and thereby neutralizing the effect of prompt. Extensive experiments on the EditBench dataset demonstrate that our method achieves state-of-the-art performance across various metrics while significantly reducing computational overhead and GPU memory usage. These findings highlight PromptFlare as a robust and efficient protection against unauthorized image manipulations. The code is available at https://github.com/NAHOHYUN-SKKU/PromptFlare.", "date": "2025-08-22", "categories": []} {"id": "2508.16225", "title": "An Investigation of Visual Foundation Models Robustness", "abstract": "Visual Foundation Models (VFMs) are becoming ubiquitous in computer vision, powering systems for diverse tasks such as object detection, image classification, segmentation, pose estimation, and motion tracking. VFMs are capitalizing on seminal innovations in deep learning models, such as LeNet-5, AlexNet, ResNet, VGGNet, InceptionNet, DenseNet, YOLO, and ViT, to deliver superior performance across a range of critical computer vision applications. These include security-sensitive domains like biometric verification, autonomous vehicle perception, and medical image analysis, where robustness is essential to fostering trust between technology and the end-users. This article investigates network robustness requirements crucial in computer vision systems to adapt effectively to dynamic environments influenced by factors such as lighting, weather conditions, and sensor characteristics. We examine the prevalent empirical defenses and robust training employed to enhance vision network robustness against real-world challenges such as distributional shifts, noisy and spatially distorted inputs, and adversarial attacks. Subsequently, we provide a comprehensive analysis of the challenges associated with these defense mechanisms, including network properties and components to guide ablation studies and benchmarking metrics to evaluate network robustness.", "date": "2025-08-22", "categories": []} {"id": "2508.15020", "title": "TAIGen: Training-Free Adversarial Image Generation via Diffusion Models", "abstract": "Adversarial attacks from generative models often produce low-quality images and require substantial computational resources. Diffusion models, though capable of high-quality generation, typically need hundreds of sampling steps for adversarial generation. This paper introduces TAIGen, a training-free black-box method for efficient adversarial image generation. TAIGen produces adversarial examples using only 3-20 sampling steps from unconditional diffusion models. Our key finding is that perturbations injected during the mixing step interval achieve comparable attack effectiveness without processing all timesteps. We develop a selective RGB channel strategy that applies attention maps to the red channel while using GradCAM-guided perturbations on green and blue channels. This design preserves image structure while maximizing misclassification in target models. TAIGen maintains visual quality with PSNR above 30 dB across all tested datasets. On ImageNet with VGGNet as source, TAIGen achieves 70.6% success against ResNet, 80.8% against MNASNet, and 97.8% against ShuffleNet. The method generates adversarial examples 10x faster than existing diffusion-based attacks. Our method achieves the lowest robust accuracy, indicating it is the most impactful attack as the defense mechanism is least successful in purifying the images generated by TAIGen.", "date": "2025-08-20", "categories": []} {"id": "2508.15283", "title": "Adversarial Attacks against Neural Ranking Models via In-Context Learning", "abstract": "While neural ranking models (NRMs) have shown high effectiveness, they remain susceptible to adversarial manipulation. In this work, we introduce Few-Shot Adversarial Prompting (FSAP), a novel black-box attack framework that leverages the in-context learning capabilities of Large Language Models (LLMs) to generate high-ranking adversarial documents. Unlike previous approaches that rely on token-level perturbations or manual rewriting of existing documents, FSAP formulates adversarial attacks entirely through few-shot prompting, requiring no gradient access or internal model instrumentation. By conditioning the LLM on a small support set of previously observed harmful examples, FSAP synthesizes grammatically fluent and topically coherent documents that subtly embed false or misleading information and rank competitively against authentic content. We instantiate FSAP in two modes: FSAP-IntraQ, which leverages harmful examples from the same query to enhance topic fidelity, and FSAP-InterQ, which enables broader generalization by transferring adversarial patterns across unrelated queries. Our experiments on the TREC 2020 and 2021 Health Misinformation Tracks, using four diverse neural ranking models, reveal that FSAP-generated documents consistently outrank credible, factually accurate documents. Furthermore, our analysis demonstrates that these adversarial outputs exhibit strong stance alignment and low detectability, posing a realistic and scalable threat to neural retrieval systems. FSAP also effectively generalizes across both proprietary and open-source LLMs.", "date": "2025-08-21", "categories": []} {"id": "2508.15650", "title": "Towards a 3D Transfer-based Black-box Attack via Critical Feature Guidance", "abstract": "Deep neural networks for 3D point clouds have been demonstrated to be vulnerable to adversarial examples. Previous 3D adversarial attack methods often exploit certain information about the target models, such as model parameters or outputs, to generate adversarial point clouds. However, in realistic scenarios, it is challenging to obtain any information about the target models under conditions of absolute security. Therefore, we focus on transfer-based attacks, where generating adversarial point clouds does not require any information about the target models. Based on our observation that the critical features used for point cloud classification are consistent across different DNN architectures, we propose CFG, a novel transfer-based black-box attack method that improves the transferability of adversarial point clouds via the proposed Critical Feature Guidance. Specifically, our method regularizes the search of adversarial point clouds by computing the importance of the extracted features, prioritizing the corruption of critical features that are likely to be adopted by diverse architectures. Further, we explicitly constrain the maximum deviation extent of the generated adversarial point clouds in the loss function to ensure their imperceptibility. Extensive experiments conducted on the ModelNet40 and ScanObjectNN benchmark datasets demonstrate that the proposed CFG outperforms the state-of-the-art attack methods by a large margin.", "date": "2025-08-21", "categories": []} {"id": "2508.14079", "title": "A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategy", "abstract": "Deep learning models operating in the image domain are vulnerable to small input perturbations. For years, robustness to such perturbations was pursued by training models from scratch (i.e., with random initializations) using specialized loss objectives. Recently, robust fine-tuning has emerged as a more efficient alternative: instead of training from scratch, pretrained models are adapted to maximize predictive performance and robustness. To conduct robust fine-tuning, practitioners design an optimization strategy that includes the model update protocol (e.g., full or partial) and the specialized loss objective. Additional design choices include the architecture type and size, and the pretrained representation. These design choices affect robust generalization, which is the model's ability to maintain performance when exposed to new and unseen perturbations at test time. Understanding how these design choices influence generalization remains an open question with significant practical implications. In response, we present an empirical study spanning 6 datasets, 40 pretrained architectures, 2 specialized losses, and 3 adaptation protocols, yielding 1,440 training configurations and 7,200 robustness measurements across five perturbation types. To our knowledge, this is the most diverse and comprehensive benchmark of robust fine-tuning to date. While attention-based architectures and robust pretrained representations are increasingly popular, we find that convolutional neural networks pretrained in a supervised manner on large datasets often perform best. Our analysis both confirms and challenges prior design assumptions, highlighting promising research directions and offering practical guidance.", "date": "2025-08-12", "categories": []} {"id": "2508.14699", "title": "Foe for Fraud: Transferable Adversarial Attacks in Credit Card Fraud Detection", "abstract": "Credit card fraud detection (CCFD) is a critical application of Machine Learning (ML) in the financial sector, where accurately identifying fraudulent transactions is essential for mitigating financial losses. ML models have demonstrated their effectiveness in fraud detection task, in particular with the tabular dataset. While adversarial attacks have been extensively studied in computer vision and deep learning, their impacts on the ML models, particularly those trained on CCFD tabular datasets, remains largely unexplored. These latent vulnerabilities pose significant threats to the security and stability of the financial industry, especially in high-value transactions where losses could be substantial. To address this gap, in this paper, we present a holistic framework that investigate the robustness of CCFD ML model against adversarial perturbations under different circumstances. Specifically, the gradient-based attack methods are incorporated into the tabular credit card transaction data in both black- and white-box adversarial attacks settings. Our findings confirm that tabular data is also susceptible to subtle perturbations, highlighting the need for heightened awareness among financial technology practitioners regarding ML model security and trustworthiness. Furthermore, the experiments by transferring adversarial samples from gradient-based attack method to non-gradient-based models also verify our findings. Our results demonstrate that such attacks remain effective, emphasizing the necessity of developing robust defenses for CCFD algorithms.", "date": "2025-08-20", "categories": []} {"id": "2506.10459", "title": "Boosting Adversarial Transferability for Hyperspectral Image Classification Using 3D Structure-invariant Transformation and Weighted Intermediate Feature Divergence", "abstract": "Deep Neural Networks (DNNs) are vulnerable to adversarial attacks, which pose security challenges to hyperspectral image (HSI) classification based on DNNs. Numerous adversarial attack methods have been designed in the domain of natural images. However, different from natural images, HSIs contains high-dimensional rich spectral information, which presents new challenges for generating adversarial examples. Based on the specific characteristics of HSIs, this paper proposes a novel method to enhance the transferability of the adversarial examples for HSI classification using 3D structure-invariant transformation and weighted intermediate feature divergence. While keeping the HSIs structure invariant, the proposed method divides the image into blocks in both spatial and spectral dimensions. Then, various transformations are applied on each block to increase input diversity and mitigate the overfitting to substitute models. Moreover, a weighted intermediate feature divergence loss is also designed by leveraging the differences between the intermediate features of original and adversarial examples. It constrains the perturbation direction by enlarging the feature maps of the original examples, and assigns different weights to different feature channels to destroy the features that have a greater impact on HSI classification. Extensive experiments demonstrate that the adversarial examples generated by the proposed method achieve more effective adversarial transferability on three public HSI datasets. Furthermore, the method maintains robust attack performance even under defense strategies.", "date": "2025-06-12", "categories": []} {"id": "2508.13812", "title": "Timestep-Compressed Attack on Spiking Neural Networks through Timestep-Level Backpropagation", "abstract": "State-of-the-art (SOTA) gradient-based adversarial attacks on spiking neural networks (SNNs), which largely rely on extending FGSM and PGD frameworks, face a critical limitation: substantial attack latency from multi-timestep processing, rendering them infeasible for practical real-time applications. This inefficiency stems from their design as direct extensions of ANN paradigms, which fail to exploit key SNN properties. In this paper, we propose the timestep-compressed attack (TCA), a novel framework that significantly reduces attack latency. TCA introduces two components founded on key insights into SNN behavior. First, timestep-level backpropagation (TLBP) is based on our finding that global temporal information in backpropagation to generate perturbations is not critical for an attack's success, enabling per-timestep evaluation for early stopping. Second, adversarial membrane potential reuse (A-MPR) is motivated by the observation that initial timesteps are inefficiently spent accumulating membrane potential, a warm-up phase that can be pre-calculated and reused. Our experiments on VGG-11 and ResNet-17 with the CIFAR-10/100 and CIFAR10-DVS datasets show that TCA significantly reduces the required attack latency by up to 56.6% and 57.1% compared to SOTA methods in white-box and black-box settings, respectively, while maintaining a comparable attack success rate.", "date": "2025-08-19", "categories": []} {"id": "2504.03782", "title": "Deep Positive-Negative Prototypes for Adversarially Robust Discriminative Prototypical Learning", "abstract": "Despite the advantages of discriminative prototype-based methods, their role in adversarial robustness remains underexplored. Meanwhile, current adversarial training methods predominantly focus on robustness against adversarial attacks without explicitly leveraging geometric structures in the latent space, usually resulting in reduced accuracy on the original clean data. We propose a novel framework named Adversarially trained Deep Positive-Negative Prototypes (Adv-DPNP), which integrates discriminative prototype-based learning with adversarial training. Adv-DPNP uses unified class prototypes that serve as both classifier weights and robust anchors in the latent space. Moreover, a novel dual-branch training mechanism maintains stable prototypes by updating them exclusively with clean data, while the feature extractor is trained on both clean and adversarial inputs to increase invariance to adversarial perturbations. In addition, we use a composite loss that combines positive-prototype alignment, negative-prototype repulsion, and consistency regularization to further enhance discrimination, adversarial robustness, and clean accuracy. Extensive experiments on standard benchmarks (CIFAR-10/100 and SVHN) confirm that Adv-DPNP improves clean accuracy over state-of-the-art defenses and baseline methods, while maintaining competitive or superior robustness under a suite of widely used attacks, including FGSM, PGD, C\\&W, and AutoAttack. We also evaluate robustness to common corruptions on CIFAR-10-C, where Adv-DPNP achieves the highest average accuracy across severities and corruption types. Additionally, we provide an in-depth analysis of the discriminative quality of the learned feature representations, highlighting the effectiveness of Adv-DPNP in maintaining compactness and clear separation in the latent space.", "date": "2025-04-03", "categories": []} {"id": "2505.20841", "title": "Concealment of Intent: A Game-Theoretic Analysis", "abstract": "As large language models (LLMs) grow more capable, concerns about their safe deployment have also grown. Although alignment mechanisms have been introduced to deter misuse, they remain vulnerable to carefully designed adversarial prompts. In this work, we present a scalable attack strategy: intent-hiding adversarial prompting, which conceals malicious intent through the composition of skills. We develop a game-theoretic framework to model the interaction between such attacks and defense systems that apply both prompt and response filtering. Our analysis identifies equilibrium points and reveals structural advantages for the attacker. To counter these threats, we propose and analyze a defense mechanism tailored to intent-hiding attacks. Empirically, we validate the attack's effectiveness on multiple real-world LLMs across a range of malicious behaviors, demonstrating clear advantages over existing adversarial prompting techniques.", "date": "2025-05-27", "categories": []} {"id": "2508.12132", "title": "TriQDef: Disrupting Semantic and Gradient Alignment to Prevent Adversarial Patch Transferability in Quantized Neural Networks", "abstract": "Quantized Neural Networks (QNNs) are increasingly deployed in edge and resource-constrained environments due to their efficiency in computation and memory usage. While shown to distort the gradient landscape and weaken conventional pixel-level attacks, it provides limited robustness against patch-based adversarial attacks-localized, high-saliency perturbations that remain surprisingly transferable across bit-widths. Existing defenses either overfit to fixed quantization settings or fail to address this cross-bit generalization vulnerability. We introduce \\textbf{TriQDef}, a tri-level quantization-aware defense framework designed to disrupt the transferability of patch-based adversarial attacks across QNNs. TriQDef consists of: (1) a Feature Disalignment Penalty (FDP) that enforces semantic inconsistency by penalizing perceptual similarity in intermediate representations; (2) a Gradient Perceptual Dissonance Penalty (GPDP) that explicitly misaligns input gradients across bit-widths by minimizing structural and directional agreement via Edge IoU and HOG Cosine metrics; and (3) a Joint Quantization-Aware Training Protocol that unifies these penalties within a shared-weight training scheme across multiple quantization levels. Extensive experiments on CIFAR-10 and ImageNet demonstrate that TriQDef reduces Attack Success Rates (ASR) by over 40\\% on unseen patch and quantization combinations, while preserving high clean accuracy. Our findings underscore the importance of disrupting both semantic and perceptual gradient alignment to mitigate patch transferability in QNNs.", "date": "2025-08-16", "categories": []} {"id": "2508.12384", "title": "ViT-EnsembleAttack: Augmenting Ensemble Models for Stronger Adversarial Transferability in Vision Transformers", "abstract": "Ensemble-based attacks have been proven to be effective in enhancing adversarial transferability by aggregating the outputs of models with various architectures. However, existing research primarily focuses on refining ensemble weights or optimizing the ensemble path, overlooking the exploration of ensemble models to enhance the transferability of adversarial attacks. To address this gap, we propose applying adversarial augmentation to the surrogate models, aiming to boost overall generalization of ensemble models and reduce the risk of adversarial overfitting. Meanwhile, observing that ensemble Vision Transformers (ViTs) gain less attention, we propose ViT-EnsembleAttack based on the idea of model adversarial augmentation, the first ensemble-based attack method tailored for ViTs to the best of our knowledge. Our approach generates augmented models for each surrogate ViT using three strategies: Multi-head dropping, Attention score scaling, and MLP feature mixing, with the associated parameters optimized by Bayesian optimization. These adversarially augmented models are ensembled to generate adversarial examples. Furthermore, we introduce Automatic Reweighting and Step Size Enlargement modules to boost transferability. Extensive experiments demonstrate that ViT-EnsembleAttack significantly enhances the adversarial transferability of ensemble-based attacks on ViTs, outperforming existing methods by a substantial margin. Code is available at https://github.com/Trustworthy-AI-Group/TransferAttack.", "date": "2025-08-17", "categories": []} {"id": "2401.01199", "title": "JMA: a General Algorithm to Craft Nearly Optimal Targeted Adversarial Example", "abstract": "Most of the approaches proposed so far to craft targeted adversarial examples against Deep Learning classifiers are highly suboptimal and typically rely on increasing the likelihood of the target class, thus implicitly focusing on one-hot encoding settings. In this paper, a more general, theoretically sound, targeted attack is proposed, which resorts to the minimization of a Jacobian-induced Mahalanobis distance term, taking into account the effort (in the input space) required to move the latent space representation of the input sample in a given direction. The minimization is solved by exploiting the Wolfe duality theorem, reducing the problem to the solution of a Non-Negative Least Square (NNLS) problem. The proposed algorithm (referred to as JMA) provides an optimal solution to a linearised version of the adversarial example problem originally introduced by Szegedy et al. The results of the experiments confirm the generality of the proposed attack which is proven to be effective under a wide variety of output encoding schemes. Noticeably, JMA is also effective in a multi-label classification scenario, being capable to induce a targeted modification of up to half the labels in complex multi-label classification scenarios, a capability that is out of reach of all the attacks proposed so far. As a further advantage, JMA requires very few iterations, thus resulting more efficient than existing methods.", "date": "2024-01-02", "categories": []} {"id": "2403.09346", "title": "B-AVIBench: Towards Evaluating the Robustness of Large Vision-Language Model on Black-box Adversarial Visual-Instructions", "abstract": "Large Vision-Language Models (LVLMs) have shown significant progress in responding well to visual-instructions from users. However, these instructions, encompassing images and text, are susceptible to both intentional and inadvertent attacks. Despite the critical importance of LVLMs' robustness against such threats, current research in this area remains limited. To bridge this gap, we introduce B-AVIBench, a framework designed to analyze the robustness of LVLMs when facing various Black-box Adversarial Visual-Instructions (B-AVIs), including four types of image-based B-AVIs, ten types of text-based B-AVIs, and nine types of content bias B-AVIs (such as gender, violence, cultural, and racial biases, among others). We generate 316K B-AVIs encompassing five categories of multimodal capabilities (ten tasks) and content bias. We then conduct a comprehensive evaluation involving 14 open-source LVLMs to assess their performance. B-AVIBench also serves as a convenient tool for practitioners to evaluate the robustness of LVLMs against B-AVIs. Our findings and extensive experimental results shed light on the vulnerabilities of LVLMs, and highlight that inherent biases exist even in advanced closed-source LVLMs like GeminiProVision and GPT-4V. This underscores the importance of enhancing the robustness, security, and fairness of LVLMs. The source code and benchmark are available at https://github.com/zhanghao5201/B-AVIBench.", "date": "2024-03-14", "categories": []} {"id": "2409.10071", "title": "Towards Physically Realizable Adversarial Attacks in Embodied Vision Navigation", "abstract": "The significant advancements in embodied vision navigation have raised concerns about its susceptibility to adversarial attacks exploiting deep neural networks. Investigating the adversarial robustness of embodied vision navigation is crucial, especially given the threat of 3D physical attacks that could pose risks to human safety. However, existing attack methods for embodied vision navigation often lack physical feasibility due to challenges in transferring digital perturbations into the physical world. Moreover, current physical attacks for object detection struggle to achieve both multi-view effectiveness and visual naturalness in navigation scenarios. To address this, we propose a practical attack method for embodied navigation by attaching adversarial patches to objects, where both opacity and textures are learnable. Specifically, to ensure effectiveness across varying viewpoints, we employ a multi-view optimization strategy based on object-aware sampling, which optimizes the patch's texture based on feedback from the vision-based perception model used in navigation. To make the patch inconspicuous to human observers, we introduce a two-stage opacity optimization mechanism, in which opacity is fine-tuned after texture optimization. Experimental results demonstrate that our adversarial patches decrease the navigation success rate by an average of 22.39%, outperforming previous methods in practicality, effectiveness, and naturalness. Code is available at: https://github.com/chen37058/Physical-Attacks-in-Embodied-Nav", "date": "2024-09-16", "categories": []} {"id": "2508.11279", "title": "Boosting the Robustness-Accuracy Trade-off of SNNs by Robust Temporal Self-Ensemble", "abstract": "Spiking Neural Networks (SNNs) offer a promising direction for energy-efficient and brain-inspired computing, yet their vulnerability to adversarial perturbations remains poorly understood. In this work, we revisit the adversarial robustness of SNNs through the lens of temporal ensembling, treating the network as a collection of evolving sub-networks across discrete timesteps. This formulation uncovers two critical but underexplored challenges-the fragility of individual temporal sub-networks and the tendency for adversarial vulnerabilities to transfer across time. To overcome these limitations, we propose Robust Temporal self-Ensemble (RTE), a training framework that improves the robustness of each sub-network while reducing the temporal transferability of adversarial perturbations. RTE integrates both objectives into a unified loss and employs a stochastic sampling strategy for efficient optimization. Extensive experiments across multiple benchmarks demonstrate that RTE consistently outperforms existing training methods in robust-accuracy trade-off. Additional analyses reveal that RTE reshapes the internal robustness landscape of SNNs, leading to more resilient and temporally diversified decision boundaries. Our study highlights the importance of temporal structure in adversarial learning and offers a principled foundation for building robust spiking models.", "date": "2025-08-15", "categories": []} {"id": "2508.11341", "title": "Semantically Guided Adversarial Testing of Vision Models Using Language Models", "abstract": "In targeted adversarial attacks on vision models, the selection of the target label is a critical yet often overlooked determinant of attack success. This target label corresponds to the class that the attacker aims to force the model to predict. Now, existing strategies typically rely on randomness, model predictions, or static semantic resources, limiting interpretability, reproducibility, or flexibility. This paper then proposes a semantics-guided framework for adversarial target selection using the cross-modal knowledge transfer from pretrained language and vision-language models. We evaluate several state-of-the-art models (BERT, TinyLLAMA, and CLIP) as similarity sources to select the most and least semantically related labels with respect to the ground truth, forming best- and worst-case adversarial scenarios. Our experiments on three vision models and five attack methods reveal that these models consistently render practical adversarial targets and surpass static lexical databases, such as WordNet, particularly for distant class relationships. We also observe that static testing of target labels offers a preliminary assessment of the effectiveness of similarity sources, \\textit{a priori} testing. Our results corroborate the suitability of pretrained models for constructing interpretable, standardized, and scalable adversarial benchmarks across architectures and datasets.", "date": "2025-08-15", "categories": []} {"id": "2508.10038", "title": "Certifiably robust malware detectors by design", "abstract": "Malware analysis involves analyzing suspicious software to detect malicious payloads. Static malware analysis, which does not require software execution, relies increasingly on machine learning techniques to achieve scalability. Although such techniques obtain very high detection accuracy, they can be easily evaded with adversarial examples where a few modifications of the sample can dupe the detector without modifying the behavior of the software. Unlike other domains, such as computer vision, creating an adversarial example of malware without altering its functionality requires specific transformations. We propose a new model architecture for certifiably robust malware detection by design. In addition, we show that every robust detector can be decomposed into a specific structure, which can be applied to learn empirically robust malware detectors, even on fragile features. Our framework ERDALT is based on this structure. We compare and validate these approaches with machine-learning-based malware detection methods, allowing for robust detection with limited reduction of detection performance.", "date": "2025-08-10", "categories": []} {"id": "2508.10039", "title": "Multi-task Adversarial Attacks against Black-box Model with Few-shot Queries", "abstract": "Current multi-task adversarial text attacks rely on abundant access to shared internal features and numerous queries, often limited to a single task type. As a result, these attacks are less effective against practical scenarios involving black-box feedback APIs, limited queries, or multiple task types. To bridge this gap, we propose \\textbf{C}luster and \\textbf{E}nsemble \\textbf{M}ulti-task Text Adversarial \\textbf{A}ttack (\\textbf{CEMA}), an effective black-box attack that exploits the transferability of adversarial texts across different tasks. CEMA simplifies complex multi-task scenarios by using a \\textit{deep-level substitute model} trained in a \\textit{plug-and-play} manner for text classification, enabling attacks without mimicking the victim model. This approach requires only a few queries for training, converting multi-task attacks into classification attacks and allowing attacks across various tasks.\n CEMA generates multiple adversarial candidates using different text classification methods and selects the one that most effectively attacks substitute models.\n In experiments involving multi-task models with two, three, or six tasks--spanning classification, translation, summarization, and text-to-image generation--CEMA demonstrates significant attack success with as few as 100 queries. Furthermore, CEMA can target commercial APIs (e.g., Baidu and Google Translate), large language models (e.g., ChatGPT 4o), and image-generation models (e.g., Stable Diffusion V2), showcasing its versatility and effectiveness in real-world applications.", "date": "2025-08-10", "categories": []} {"id": "2508.10404", "title": "Layer-Wise Perturbations via Sparse Autoencoders for Adversarial Text Generation", "abstract": "With the rapid proliferation of Natural Language Processing (NLP), especially Large Language Models (LLMs), generating adversarial examples to jailbreak LLMs remains a key challenge for understanding model vulnerabilities and improving robustness. In this context, we propose a new black-box attack method that leverages the interpretability of large models. We introduce the Sparse Feature Perturbation Framework (SFPF), a novel approach for adversarial text generation that utilizes sparse autoencoders to identify and manipulate critical features in text. After using the SAE model to reconstruct hidden layer representations, we perform feature clustering on the successfully attacked texts to identify features with higher activations. These highly activated features are then perturbed to generate new adversarial texts. This selective perturbation preserves the malicious intent while amplifying safety signals, thereby increasing their potential to evade existing defenses. Our method enables a new red-teaming strategy that balances adversarial effectiveness with safety alignment. Experimental results demonstrate that adversarial texts generated by SFPF can bypass state-of-the-art defense mechanisms, revealing persistent vulnerabilities in current NLP systems.However, the method's effectiveness varies across prompts and layers, and its generalizability to other architectures and larger models remains to be validated.", "date": "2025-08-14", "categories": []} {"id": "2508.10491", "title": "Contrastive ECOC: Learning Output Codes for Adversarial Defense", "abstract": "Although one-hot encoding is commonly used for multiclass classification, it is not always the most effective encoding mechanism. Error Correcting Output Codes (ECOC) address multiclass classification by mapping each class to a unique codeword used as a label. Traditional ECOC methods rely on manually designed or randomly generated codebooks, which are labor-intensive and may yield suboptimal, dataset-agnostic results. This paper introduces three models for automated codebook learning based on contrastive learning, allowing codebooks to be learned directly and adaptively from data. Across four datasets, our proposed models demonstrate superior robustness to adversarial attacks compared to two baselines. The source is available at https://github.com/YuChou20/Automated-Codebook-Learning-with-Error-Correcting-Output-Code-Technique.", "date": "2025-08-14", "categories": []} {"id": "2508.10600", "title": "Towards Powerful and Practical Patch Attacks for 2D Object Detection in Autonomous Driving", "abstract": "Learning-based autonomous driving systems remain critically vulnerable to adversarial patches, posing serious safety and security risks in their real-world deployment. Black-box attacks, notable for their high attack success rate without model knowledge, are especially concerning, with their transferability extensively studied to reduce computational costs compared to query-based attacks. Previous transferability-based black-box attacks typically adopt mean Average Precision (mAP) as the evaluation metric and design training loss accordingly. However, due to the presence of multiple detected bounding boxes and the relatively lenient Intersection over Union (IoU) thresholds, the attack effectiveness of these approaches is often overestimated, resulting in reduced success rates in practical attacking scenarios. Furthermore, patches trained on low-resolution data often fail to maintain effectiveness on high-resolution images, limiting their transferability to autonomous driving datasets. To fill this gap, we propose P$^3$A, a Powerful and Practical Patch Attack framework for 2D object detection in autonomous driving, specifically optimized for high-resolution datasets. First, we introduce a novel metric, Practical Attack Success Rate (PASR), to more accurately quantify attack effectiveness with greater relevance for pedestrian safety. Second, we present a tailored Localization-Confidence Suppression Loss (LCSL) to improve attack transferability under PASR. Finally, to maintain the transferability for high-resolution datasets, we further incorporate the Probabilistic Scale-Preserving Padding (PSPP) into the patch attack pipeline as a data preprocessing step. Extensive experiments show that P$^3$A outperforms state-of-the-art attacks on unseen models and unseen high-resolution datasets, both under the proposed practical IoU-based evaluation metric and the previous mAP-based metrics.", "date": "2025-08-14", "categories": []} {"id": "2312.07364", "title": "Collapse-Aware Triplet Decoupling for Adversarially Robust Image Retrieval", "abstract": "Adversarial training has achieved substantial performance in defending image retrieval against adversarial examples. However, existing studies in deep metric learning (DML) still suffer from two major limitations: weak adversary and model collapse. In this paper, we address these two limitations by proposing Collapse-Aware TRIplet DEcoupling (CA-TRIDE). Specifically, TRIDE yields a stronger adversary by spatially decoupling the perturbation targets into the anchor and the other candidates. Furthermore, CA prevents the consequential model collapse, based on a novel metric, collapseness, which is incorporated into the optimization of perturbation. We also identify two drawbacks of the existing robustness metric in image retrieval and propose a new metric for a more reasonable robustness evaluation. Extensive experiments on three datasets demonstrate that CA-TRIDE outperforms existing defense methods in both conventional and new metrics. Codes are available at https://github.com/michaeltian108/CA-TRIDE.", "date": "2023-12-12", "categories": []} {"id": "2507.01367", "title": "3D Gaussian Splatting Driven Multi-View Robust Physical Adversarial Camouflage Generation", "abstract": "Physical adversarial attack methods expose the vulnerabilities of deep neural networks and pose a significant threat to safety-critical scenarios such as autonomous driving. Camouflage-based physical attack is a more promising approach compared to the patch-based attack, offering stronger adversarial effectiveness in complex physical environments. However, most prior work relies on mesh priors of the target object and virtual environments constructed by simulators, which are time-consuming to obtain and inevitably differ from the real world. Moreover, due to the limitations of the backgrounds in training images, previous methods often fail to produce multi-view robust adversarial camouflage and tend to fall into sub-optimal solutions. Due to these reasons, prior work lacks adversarial effectiveness and robustness across diverse viewpoints and physical environments. We propose a physical attack framework based on 3D Gaussian Splatting (3DGS), named PGA, which provides rapid and precise reconstruction with few images, along with photo-realistic rendering capabilities. Our framework further enhances cross-view robustness and adversarial effectiveness by preventing mutual and self-occlusion among Gaussians and employing a min-max optimization approach that adjusts the imaging background of each viewpoint, helping the algorithm filter out non-robust adversarial features. Extensive experiments validate the effectiveness and superiority of PGA. Our code is available at:https://github.com/TRLou/PGA.", "date": "2025-07-02", "categories": []} {"id": "2508.06296", "title": "LLM Robustness Leaderboard v1 --Technical report", "abstract": "This technical report accompanies the LLM robustness leaderboard published by PRISM Eval for the Paris AI Action Summit. We introduce PRISM Eval Behavior Elicitation Tool (BET), an AI system performing automated red-teaming through Dynamic Adversarial Optimization that achieves 100% Attack Success Rate (ASR) against 37 of 41 state-of-the-art LLMs. Beyond binary success metrics, we propose a fine-grained robustness metric estimating the average number of attempts required to elicit harmful behaviors, revealing that attack difficulty varies by over 300-fold across models despite universal vulnerability. We introduce primitive-level vulnerability analysis to identify which jailbreaking techniques are most effective for specific hazard categories. Our collaborative evaluation with trusted third parties from the AI Safety Network demonstrates practical pathways for distributed robustness assessment across the community.", "date": "2025-08-08", "categories": []} {"id": "2508.09218", "title": "Towards Effective MLLM Jailbreaking Through Balanced On-Topicness and OOD-Intensity", "abstract": "Multimodal large language models (MLLMs) are widely used in vision-language reasoning tasks. However, their vulnerability to adversarial prompts remains a serious concern, as safety mechanisms often fail to prevent the generation of harmful outputs. Although recent jailbreak strategies report high success rates, many responses classified as \"successful\" are actually benign, vague, or unrelated to the intended malicious goal. This mismatch suggests that current evaluation standards may overestimate the effectiveness of such attacks. To address this issue, we introduce a four-axis evaluation framework that considers input on-topicness, input out-of-distribution (OOD) intensity, output harmfulness, and output refusal rate. This framework identifies truly effective jailbreaks. In a substantial empirical study, we reveal a structural trade-off: highly on-topic prompts are frequently blocked by safety filters, whereas those that are too OOD often evade detection but fail to produce harmful content. However, prompts that balance relevance and novelty are more likely to evade filters and trigger dangerous output. Building on this insight, we develop a recursive rewriting strategy called Balanced Structural Decomposition (BSD). The approach restructures malicious prompts into semantically aligned sub-tasks, while introducing subtle OOD signals and visual cues that make the inputs harder to detect. BSD was tested across 13 commercial and open-source MLLMs, where it consistently led to higher attack success rates, more harmful outputs, and fewer refusals. Compared to previous methods, it improves success rates by $67\\%$ and harmfulness by $21\\%$, revealing a previously underappreciated weakness in current multimodal safety systems.", "date": "2025-08-11", "categories": []} {"id": "2508.08955", "title": "Fre-CW: Targeted Attack on Time Series Forecasting using Frequency Domain Loss", "abstract": "Transformer-based models have made significant progress in time series forecasting. However, a key limitation of deep learning models is their susceptibility to adversarial attacks, which has not been studied enough in the context of time series prediction. In contrast to areas such as computer vision, where adversarial robustness has been extensively studied, frequency domain features of time series data play an important role in the prediction task but have not been sufficiently explored in terms of adversarial attacks. This paper proposes a time series prediction attack algorithm based on frequency domain loss. Specifically, we adapt an attack method originally designed for classification tasks to the prediction field and optimize the adversarial samples using both time-domain and frequency-domain losses. To the best of our knowledge, there is no relevant research on using frequency information for time-series adversarial attacks. Our experimental results show that these current time series prediction models are vulnerable to adversarial attacks, and our approach achieves excellent performance on major time series forecasting datasets.", "date": "2025-08-12", "categories": []} {"id": "2412.01440", "title": "BadPatch: Diffusion-Based Generation of Physical Adversarial Patches", "abstract": "Physical adversarial patches printed on clothing can enable individuals to evade person detectors, but most existing methods prioritize attack effectiveness over stealthiness, resulting in aesthetically unpleasing patches. While generative adversarial networks and diffusion models can produce more natural-looking patches, they often fail to balance stealthiness with attack effectiveness and lack flexibility for user customization. To address these limitations, we propose BadPatch, a novel diffusion-based framework for generating customizable and naturalistic adversarial patches. Our approach allows users to start from a reference image (rather than random noise) and incorporates masks to create patches of various shapes, not limited to squares. To preserve the original semantics during the diffusion process, we employ Null-text inversion to map random noise samples to a single input image and generate patches through Incomplete Diffusion Optimization (IDO). Our method achieves attack performance comparable to state-of-the-art non-naturalistic patches while maintaining a natural appearance. Using BadPatch, we construct AdvT-shirt-1K, the first physical adversarial T-shirt dataset comprising over a thousand images captured in diverse scenarios. AdvT-shirt-1K can serve as a useful dataset for training or testing future defense methods.", "date": "2024-12-02", "categories": []} {"id": "2506.13024", "title": "Position: Certified Robustness Does Not (Yet) Imply Model Security", "abstract": "While certified robustness is widely promoted as a solution to adversarial examples in Artificial Intelligence systems, significant challenges remain before these techniques can be meaningfully deployed in real-world applications. We identify critical gaps in current research, including the paradox of detection without distinction, the lack of clear criteria for practitioners to evaluate certification schemes, and the potential security risks arising from users' expectations surrounding ``guaranteed\" robustness claims. These create an alignment issue between how certifications are presented and perceived, relative to their actual capabilities. This position paper is a call to arms for the certification research community, proposing concrete steps to address these fundamental challenges and advance the field toward practical applicability.", "date": "2025-06-16", "categories": []} {"id": "2508.05658", "title": "Universally Unfiltered and Unseen:Input-Agnostic Multimodal Jailbreaks against Text-to-Image Model Safeguards", "abstract": "Various (text) prompt filters and (image) safety checkers have been implemented to mitigate the misuse of Text-to-Image (T2I) models in creating Not-Safe-For-Work (NSFW) content. In order to expose potential security vulnerabilities of such safeguards, multimodal jailbreaks have been studied. However, existing jailbreaks are limited to prompt-specific and image-specific perturbations, which suffer from poor scalability and time-consuming optimization. To address these limitations, we propose Universally Unfiltered and Unseen (U3)-Attack, a multimodal jailbreak attack method against T2I safeguards. Specifically, U3-Attack optimizes an adversarial patch on the image background to universally bypass safety checkers and optimizes a safe paraphrase set from a sensitive word to universally bypass prompt filters while eliminating redundant computations. Extensive experimental results demonstrate the superiority of our U3-Attack on both open-source and commercial T2I models. For example, on the commercial Runway-inpainting model with both prompt filter and safety checker, our U3-Attack achieves $~4\\times$ higher success rates than the state-of-the-art multimodal jailbreak attack, MMA-Diffusion.", "date": "2025-07-30", "categories": []} {"id": "2505.07258", "title": "No Query, No Access", "abstract": "Textual adversarial attacks mislead NLP models, including Large Language Models (LLMs), by subtly modifying text. While effective, existing attacks often require knowledge of the victim model, extensive queries, or access to training data, limiting real-world feasibility. To overcome these constraints, we introduce the \\textbf{Victim Data-based Adversarial Attack (VDBA)}, which operates using only victim texts. To prevent access to the victim model, we create a shadow dataset with publicly available pre-trained models and clustering methods as a foundation for developing substitute models. To address the low attack success rate (ASR) due to insufficient information feedback, we propose the hierarchical substitution model design, generating substitute models to mitigate the failure of a single substitute model at the decision boundary.\n Concurrently, we use diverse adversarial example generation, employing various attack methods to generate and select the adversarial example with better similarity and attack effectiveness. Experiments on the Emotion and SST5 datasets show that VDBA outperforms state-of-the-art methods, achieving an ASR improvement of 52.08\\% while significantly reducing attack queries to 0. More importantly, we discover that VDBA poses a significant threat to LLMs such as Qwen2 and the GPT family, and achieves the highest ASR of 45.99% even without access to the API, confirming that advanced NLP models still face serious security risks. Our codes can be found at https://anonymous.4open.science/r/VDBA-Victim-Data-based-Adversarial-Attack-36EC/", "date": "2025-05-12", "categories": []} {"id": "2508.05671", "title": "DINA: A Dual Defense Framework Against Internal Noise and External Attacks in Natural Language Processing", "abstract": "As large language models (LLMs) and generative AI become increasingly integrated into customer service and moderation applications, adversarial threats emerge from both external manipulations and internal label corruption. In this work, we identify and systematically address these dual adversarial threats by introducing DINA (Dual Defense Against Internal Noise and Adversarial Attacks), a novel unified framework tailored specifically for NLP. Our approach adapts advanced noisy-label learning methods from computer vision and integrates them with adversarial training to simultaneously mitigate internal label sabotage and external adversarial perturbations. Extensive experiments conducted on a real-world dataset from an online gaming service demonstrate that DINA significantly improves model robustness and accuracy compared to baseline models. Our findings not only highlight the critical necessity of dual-threat defenses but also offer practical strategies for safeguarding NLP systems in realistic adversarial scenarios, underscoring broader implications for fair and responsible AI deployment.", "date": "2025-08-04", "categories": []} {"id": "2508.05677", "title": "Adversarial Attacks on Reinforcement Learning-based Medical Questionnaire Systems: Input-level Perturbation Strategies and Medical Constraint Validation", "abstract": "RL-based medical questionnaire systems have shown great potential in medical scenarios. However, their safety and robustness remain unresolved. This study performs a comprehensive evaluation on adversarial attack methods to identify and analyze their potential vulnerabilities. We formulate the diagnosis process as a Markov Decision Process (MDP), where the state is the patient responses and unasked questions, and the action is either to ask a question or to make a diagnosis. We implemented six prevailing major attack methods, including the Fast Gradient Signed Method (FGSM), Projected Gradient Descent (PGD), Carlini & Wagner Attack (C&W) attack, Basic Iterative Method (BIM), DeepFool, and AutoAttack, with seven epsilon values each. To ensure the generated adversarial examples remain clinically plausible, we developed a comprehensive medical validation framework consisting of 247 medical constraints, including physiological bounds, symptom correlations, and conditional medical constraints. We achieved a 97.6% success rate in generating clinically plausible adversarial samples. We performed our experiment on the National Health Interview Survey (NHIS) dataset (https://www.cdc.gov/nchs/nhis/), which consists of 182,630 samples, to predict the participant's 4-year mortality rate. We evaluated our attacks on the AdaptiveFS framework proposed in arXiv:2004.00994. Our results show that adversarial attacks could significantly impact the diagnostic accuracy, with attack success rates ranging from 33.08% (FGSM) to 64.70% (AutoAttack). Our work has demonstrated that even under strict medical constraints on the input, such RL-based medical questionnaire systems still show significant vulnerabilities.", "date": "2025-08-05", "categories": []} {"id": "2508.05689", "title": "Boosting Adversarial Transferability via Residual Perturbation Attack", "abstract": "Deep neural networks are susceptible to adversarial examples while suffering from incorrect predictions via imperceptible perturbations. Transfer-based attacks create adversarial examples for surrogate models and transfer these examples to target models under black-box scenarios. Recent studies reveal that adversarial examples in flat loss landscapes exhibit superior transferability to alleviate overfitting on surrogate models. However, the prior arts overlook the influence of perturbation directions, resulting in limited transferability. In this paper, we propose a novel attack method, named Residual Perturbation Attack (ResPA), relying on the residual gradient as the perturbation direction to guide the adversarial examples toward the flat regions of the loss function. Specifically, ResPA conducts an exponential moving average on the input gradients to obtain the first moment as the reference gradient, which encompasses the direction of historical gradients. Instead of heavily relying on the local flatness that stems from the current gradients as the perturbation direction, ResPA further considers the residual between the current gradient and the reference gradient to capture the changes in the global perturbation direction. The experimental results demonstrate the better transferability of ResPA than the existing typical transfer-based attack methods, while the transferability can be further improved by combining ResPA with the current input transformation methods. The code is available at https://github.com/ZezeTao/ResPA.", "date": "2025-08-06", "categories": []} {"id": "2508.06127", "title": "SAM Encoder Breach by Adversarial Simplicial Complex Triggers Downstream Model Failures", "abstract": "While the Segment Anything Model (SAM) transforms interactive segmentation with zero-shot abilities, its inherent vulnerabilities present a single-point risk, potentially leading to the failure of numerous downstream applications. Proactively evaluating these transferable vulnerabilities is thus imperative. Prior adversarial attacks on SAM often present limited transferability due to insufficient exploration of common weakness across domains. To address this, we propose Vertex-Refining Simplicial Complex Attack (VeSCA), a novel method that leverages only the encoder of SAM for generating transferable adversarial examples. Specifically, it achieves this by explicitly characterizing the shared vulnerable regions between SAM and downstream models through a parametric simplicial complex. Our goal is to identify such complexes within adversarially potent regions by iterative vertex-wise refinement. A lightweight domain re-adaptation strategy is introduced to bridge domain divergence using minimal reference data during the initialization of simplicial complex. Ultimately, VeSCA generates consistently transferable adversarial examples through random simplicial complex sampling. Extensive experiments demonstrate that VeSCA achieves performance improved by 12.7% compared to state-of-the-art methods across three downstream model categories across five domain-specific datasets. Our findings further highlight the downstream model risks posed by SAM's vulnerabilities and emphasize the urgency of developing more robust foundation models.", "date": "2025-08-08", "categories": []} {"id": "2508.00649", "title": "Revisiting Adversarial Patch Defenses on Object Detectors: Unified Evaluation, Large-Scale Dataset, and New Insights", "abstract": "Developing reliable defenses against patch attacks on object detectors has attracted increasing interest. However, we identify that existing defense evaluations lack a unified and comprehensive framework, resulting in inconsistent and incomplete assessments of current methods. To address this issue, we revisit 11 representative defenses and present the first patch defense benchmark, involving 2 attack goals, 13 patch attacks, 11 object detectors, and 4 diverse metrics. This leads to the large-scale adversarial patch dataset with 94 types of patches and 94,000 images. Our comprehensive analyses reveal new insights: (1) The difficulty in defending against naturalistic patches lies in the data distribution, rather than the commonly believed high frequencies. Our new dataset with diverse patch distributions can be used to improve existing defenses by 15.09% AP@0.5. (2) The average precision of the attacked object, rather than the commonly pursued patch detection accuracy, shows high consistency with defense performance. (3) Adaptive attacks can substantially bypass existing defenses, and defenses with complex/stochastic models or universal patch properties are relatively robust. We hope that our analyses will serve as guidance on properly evaluating patch attacks/defenses and advancing their design. Code and dataset are available at https://github.com/Gandolfczjh/APDE, where we will keep integrating new attacks/defenses.", "date": "2025-08-01", "categories": []} {"id": "2508.05167", "title": "PhysPatch: A Physically Realizable and Transferable Adversarial Patch Attack for Multimodal Large Language Models-based Autonomous Driving Systems", "abstract": "Multimodal Large Language Models (MLLMs) are becoming integral to autonomous driving (AD) systems due to their strong vision-language reasoning capabilities. However, MLLMs are vulnerable to adversarial attacks, particularly adversarial patch attacks, which can pose serious threats in real-world scenarios. Existing patch-based attack methods are primarily designed for object detection models and perform poorly when transferred to MLLM-based systems due to the latter's complex architectures and reasoning abilities. To address these limitations, we propose PhysPatch, a physically realizable and transferable adversarial patch framework tailored for MLLM-based AD systems. PhysPatch jointly optimizes patch location, shape, and content to enhance attack effectiveness and real-world applicability. It introduces a semantic-based mask initialization strategy for realistic placement, an SVD-based local alignment loss with patch-guided crop-resize to improve transferability, and a potential field-based mask refinement method. Extensive experiments across open-source, commercial, and reasoning-capable MLLMs demonstrate that PhysPatch significantly outperforms prior methods in steering MLLM-based AD systems toward target-aligned perception and planning outputs. Moreover, PhysPatch consistently places adversarial patches in physically feasible regions of AD scenes, ensuring strong real-world applicability and deployability.", "date": "2025-08-07", "categories": []} {"id": "2508.05237", "title": "Navigating the Trade-off: A Synthesis of Defensive Strategies for Zero-Shot Adversarial Robustness in Vision-Language Models", "abstract": "This report synthesizes eight seminal papers on the zero-shot adversarial robustness of vision-language models (VLMs) like CLIP. A central challenge in this domain is the inherent trade-off between enhancing adversarial robustness and preserving the model's zero-shot generalization capabilities. We analyze two primary defense paradigms: Adversarial Fine-Tuning (AFT), which modifies model parameters, and Training-Free/Test-Time Defenses, which preserve them. We trace the evolution from alignment-preserving methods (TeCoA) to embedding space re-engineering (LAAT, TIMA), and from input heuristics (AOM, TTC) to latent-space purification (CLIPure). Finally, we identify key challenges and future directions including hybrid defense strategies and adversarial pre-training.", "date": "2025-08-07", "categories": []} {"id": "2508.05414", "title": "Physical Adversarial Camouflage through Gradient Calibration and Regularization", "abstract": "The advancement of deep object detectors has greatly affected safety-critical fields like autonomous driving. However, physical adversarial camouflage poses a significant security risk by altering object textures to deceive detectors. Existing techniques struggle with variable physical environments, facing two main challenges: 1) inconsistent sampling point densities across distances hinder the gradient optimization from ensuring local continuity, and 2) updating texture gradients from multiple angles causes conflicts, reducing optimization stability and attack effectiveness. To address these issues, we propose a novel adversarial camouflage framework based on gradient optimization. First, we introduce a gradient calibration strategy, which ensures consistent gradient updates across distances by propagating gradients from sparsely to unsampled texture points. Additionally, we develop a gradient decorrelation method, which prioritizes and orthogonalizes gradients based on loss values, enhancing stability and effectiveness in multi-angle optimization by eliminating redundant or conflicting updates. Extensive experimental results on various detection models, angles and distances show that our method significantly exceeds the state of the art, with an average increase in attack success rate (ASR) of 13.46% across distances and 11.03% across angles. Furthermore, empirical evaluation in real-world scenarios highlights the need for more robust system design.", "date": "2025-08-07", "categories": []} {"id": "2411.05189", "title": "Understanding In-Context Learning of Linear Models in Transformers Through an Adversarial Lens", "abstract": "In this work, we make two contributions towards understanding of in-context learning of linear models by transformers. First, we investigate the adversarial robustness of in-context learning in transformers to hijacking attacks -- a type of adversarial attacks in which the adversary's goal is to manipulate the prompt to force the transformer to generate a specific output. We show that both linear transformers and transformers with GPT-2 architectures are vulnerable to such hijacking attacks. However, adversarial robustness to such attacks can be significantly improved through adversarial training -- done either at the pretraining or finetuning stage -- and can generalize to stronger attack models. Our second main contribution is a comparative analysis of adversarial vulnerabilities across transformer models and other algorithms for learning linear models. This reveals two novel findings. First, adversarial attacks transfer poorly between larger transformer models trained from different seeds despite achieving similar in-distribution performance. This suggests that transformers of the same architecture trained according to the same recipe may implement different in-context learning algorithms for the same task. Second, we observe that attacks do not transfer well between classical learning algorithms for linear models (single-step gradient descent and ordinary least squares) and transformers. This suggests that there could be qualitative differences between the in-context learning algorithms that transformers implement and these traditional algorithms.", "date": "2024-11-07", "categories": []} {"id": "2507.10330", "title": "Bridging Robustness and Generalization Against Word Substitution Attacks in NLP via the Growth Bound Matrix Approach", "abstract": "Despite advancements in Natural Language Processing (NLP), models remain vulnerable to adversarial attacks, such as synonym substitutions. While prior work has focused on improving robustness for feed-forward and convolutional architectures, the robustness of recurrent networks and modern state space models (SSMs), such as S4, remains understudied. These architectures pose unique challenges due to their sequential processing and complex parameter dynamics. In this paper, we introduce a novel regularization technique based on Growth Bound Matrices (GBM) to improve NLP model robustness by reducing the impact of input perturbations on model outputs. We focus on computing the GBM for three architectures: Long Short-Term Memory (LSTM), State Space models (S4), and Convolutional Neural Networks (CNN). Our method aims to (1) enhance resilience against word substitution attacks, (2) improve generalization on clean text, and (3) providing the first systematic analysis of SSM (S4) robustness. Extensive experiments across multiple architectures and benchmark datasets demonstrate that our method improves adversarial robustness by up to 8.8% over existing baselines. These results highlight the effectiveness of our approach, outperforming several state-of-the-art methods in adversarial defense. Codes are available at https://github.com/BouriMohammed/GBM", "date": "2025-07-14", "categories": []} {"id": "2507.21483", "title": "NCCR: to Evaluate the Robustness of Neural Networks and Adversarial Examples", "abstract": "Neural networks have received a lot of attention recently, and related security issues have come with it. Many studies have shown that neural networks are vulnerable to adversarial examples that have been artificially perturbed with modification, which is too small to be distinguishable by human perception. Different attacks and defenses have been proposed to solve these problems, but there is little research on evaluating the robustness of neural networks and their inputs. In this work, we propose a metric called the neuron cover change rate (NCCR) to measure the ability of deep learning models to resist attacks and the stability of adversarial examples. NCCR monitors alterations in the output of specifically chosen neurons when the input is perturbed, and networks with a smaller degree of variation are considered to be more robust. The results of the experiment on image recognition and the speaker recognition model show that our metrics can provide a good assessment of the robustness of neural networks or their inputs. It can also be used to detect whether an input is adversarial or not, as adversarial examples are always less robust.", "date": "2025-07-29", "categories": []} {"id": "2508.03696", "title": "PLA: Prompt Learning Attack against Text-to-Image Generative Models", "abstract": "Text-to-Image (T2I) models have gained widespread adoption across various applications. Despite the success, the potential misuse of T2I models poses significant risks of generating Not-Safe-For-Work (NSFW) content. To investigate the vulnerability of T2I models, this paper delves into adversarial attacks to bypass the safety mechanisms under black-box settings. Most previous methods rely on word substitution to search adversarial prompts. Due to limited search space, this leads to suboptimal performance compared to gradient-based training. However, black-box settings present unique challenges to training gradient-driven attack methods, since there is no access to the internal architecture and parameters of T2I models. To facilitate the learning of adversarial prompts in black-box settings, we propose a novel prompt learning attack framework (PLA), where insightful gradient-based training tailored to black-box T2I models is designed by utilizing multimodal similarities. Experiments show that our new method can effectively attack the safety mechanisms of black-box T2I models including prompt filters and post-hoc safety checkers with a high success rate compared to state-of-the-art methods. Warning: This paper may contain offensive model-generated content.", "date": "2025-07-14", "categories": []} {"id": "2409.00029", "title": "Attack Anything: Blind DNNs via Universal Background Adversarial Attack", "abstract": "It has been widely substantiated that deep neural networks (DNNs) are susceptible and vulnerable to adversarial perturbations. Existing studies mainly focus on performing attacks by corrupting targeted objects (physical attack) or images (digital attack), which is intuitively acceptable and understandable in terms of the attack's effectiveness. In contrast, our focus lies in conducting background adversarial attacks in both digital and physical domains, without causing any disruptions to the targeted objects themselves. Specifically, an effective background adversarial attack framework is proposed to attack anything, by which the attack efficacy generalizes well between diverse objects, models, and tasks. Technically, we approach the background adversarial attack as an iterative optimization problem, analogous to the process of DNN learning. Besides, we offer a theoretical demonstration of its convergence under a set of mild but sufficient conditions. To strengthen the attack efficacy and transferability, we propose a new ensemble strategy tailored for adversarial perturbations and introduce an improved smooth constraint for the seamless connection of integrated perturbations. We conduct comprehensive and rigorous experiments in both digital and physical domains across various objects, models, and tasks, demonstrating the effectiveness of attacking anything of the proposed method. The findings of this research substantiate the significant discrepancy between human and machine vision on the value of background variations, which play a far more critical role than previously recognized, necessitating a reevaluation of the robustness and reliability of DNNs. The code will be publicly available at https://github.com/JiaweiLian/Attack_Anything", "date": "2024-08-17", "categories": []} {"id": "2503.06461", "title": "Long-tailed Adversarial Training with Self-Distillation", "abstract": "Adversarial training significantly enhances adversarial robustness, yet superior performance is predominantly achieved on balanced datasets. Addressing adversarial robustness in the context of unbalanced or long-tailed distributions is considerably more challenging, mainly due to the scarcity of tail data instances. Previous research on adversarial robustness within long-tailed distributions has primarily focused on combining traditional long-tailed natural training with existing adversarial robustness methods. In this study, we provide an in-depth analysis for the challenge that adversarial training struggles to achieve high performance on tail classes in long-tailed distributions. Furthermore, we propose a simple yet effective solution to advance adversarial robustness on long-tailed distributions through a novel self-distillation technique. Specifically, this approach leverages a balanced self-teacher model, which is trained using a balanced dataset sampled from the original long-tailed dataset. Our extensive experiments demonstrate state-of-the-art performance in both clean and robust accuracy for long-tailed adversarial robustness, with significant improvements in tail class performance on various datasets. We improve the accuracy against PGD attacks for tail classes by 20.3, 7.1, and 3.8 percentage points on CIFAR-10, CIFAR-100, and Tiny-ImageNet, respectively, while achieving the highest robust accuracy.", "date": "2025-03-09", "categories": []} {"id": "2505.15174", "title": "Enhancing Certified Robustness via Block Reflector Orthogonal Layers and Logit Annealing Loss", "abstract": "Lipschitz neural networks are well-known for providing certified robustness in deep learning. In this paper, we present a novel, efficient Block Reflector Orthogonal (BRO) layer that enhances the capability of orthogonal layers on constructing more expressive Lipschitz neural architectures. In addition, by theoretically analyzing the nature of Lipschitz neural networks, we introduce a new loss function that employs an annealing mechanism to increase margin for most data points. This enables Lipschitz models to provide better certified robustness. By employing our BRO layer and loss function, we design BRONet - a simple yet effective Lipschitz neural network that achieves state-of-the-art certified robustness. Extensive experiments and empirical analysis on CIFAR-10/100, Tiny-ImageNet, and ImageNet validate that our method outperforms existing baselines. The implementation is available at https://github.com/ntuaislab/BRONet.", "date": "2025-05-21", "categories": []} {"id": "2508.02987", "title": "Adversarial Attention Perturbations for Large Object Detection Transformers", "abstract": "Adversarial perturbations are useful tools for exposing vulnerabilities in neural networks. Existing adversarial perturbation methods for object detection are either limited to attacking CNN-based detectors or weak against transformer-based detectors. This paper presents an Attention-Focused Offensive Gradient (AFOG) attack against object detection transformers. By design, AFOG is neural-architecture agnostic and effective for attacking both large transformer-based object detectors and conventional CNN-based detectors with a unified adversarial attention framework. This paper makes three original contributions. First, AFOG utilizes a learnable attention mechanism that focuses perturbations on vulnerable image regions in multi-box detection tasks, increasing performance over non-attention baselines by up to 30.6%. Second, AFOG's attack loss is formulated by integrating two types of feature loss through learnable attention updates with iterative injection of adversarial perturbations. Finally, AFOG is an efficient and stealthy adversarial perturbation method. It probes the weak spots of detection transformers by adding strategically generated and visually imperceptible perturbations which can cause well-trained object detection models to fail. Extensive experiments conducted with twelve large detection transformers on COCO demonstrate the efficacy of AFOG. Our empirical results also show that AFOG outperforms existing attacks on transformer-based and CNN-based object detectors by up to 83% with superior speed and imperceptibility. Code is available at https://github.com/zacharyyahn/AFOG.", "date": "2025-08-05", "categories": []} {"id": "2508.03480", "title": "VideoGuard: Protecting Video Content from Unauthorized Editing", "abstract": "With the rapid development of generative technology, current generative models can generate high-fidelity digital content and edit it in a controlled manner. However, there is a risk that malicious individuals might misuse these capabilities for misleading activities. Although existing research has attempted to shield photographic images from being manipulated by generative models, there remains a significant disparity in the protection offered to video content editing. To bridge the gap, we propose a protection method named VideoGuard, which can effectively protect videos from unauthorized malicious editing. This protection is achieved through the subtle introduction of nearly unnoticeable perturbations that interfere with the functioning of the intended generative diffusion models. Due to the redundancy between video frames, and inter-frame attention mechanism in video diffusion models, simply applying image-based protection methods separately to every video frame can not shield video from unauthorized editing. To tackle the above challenge, we adopt joint frame optimization, treating all video frames as an optimization entity. Furthermore, we extract video motion information and fuse it into optimization objectives. Thus, these alterations can effectively force the models to produce outputs that are implausible and inconsistent. We provide a pipeline to optimize this perturbation. Finally, we use both objective metrics and subjective metrics to demonstrate the efficacy of our method, and the results show that the protection performance of VideoGuard is superior to all the baseline methods.", "date": "2025-08-05", "categories": []} {"id": "2312.09481", "title": "Continual Adversarial Defense", "abstract": "In response to the rapidly evolving nature of adversarial attacks against visual classifiers, numerous defenses have been proposed to generalize against as many known attacks as possible. However, designing a defense method that generalizes to all types of attacks is unrealistic, as the environment in which the defense system operates is dynamic. Over time, new attacks inevitably emerge that exploit the vulnerabilities of existing defenses and bypass them. Therefore, we propose a continual defense strategy under a practical threat model and, for the first time, introduce the Continual Adversarial Defense (CAD) framework. CAD continuously collects adversarial data online and adapts to evolving attack sequences, while adhering to four practical principles: (1) continual adaptation to new attacks without catastrophic forgetting, (2) few-shot adaptation, (3) memory-efficient adaptation, and (4) high classification accuracy on both clean and adversarial data. We explore and integrate cutting-edge techniques from continual learning, few-shot learning, and ensemble learning to fulfill the principles. Extensive experiments validate the effectiveness of our approach against multi-stage adversarial attacks and demonstrate significant improvements over a wide range of baseline methods. We further observe that CAD's defense performance tends to saturate as the number of attacks increases, indicating its potential as a persistent defense once adapted to a sufficiently diverse set of attacks. Our research sheds light on a brand-new paradigm for continual defense adaptation against dynamic and evolving attacks.", "date": "2023-12-15", "categories": []} {"id": "2505.13023", "title": "Anti-Inpainting: A Proactive Defense Approach against Malicious Diffusion-based Inpainters under Unknown Conditions", "abstract": "With the increasing prevalence of diffusion-based malicious image manipulation, existing proactive defense methods struggle to safeguard images against tampering under unknown conditions. To address this, we propose Anti-Inpainting, a proactive defense approach that achieves protection comprising three novel modules. First, we introduce a multi-level deep feature extractor to obtain intricate features from the diffusion denoising process, enhancing protective effectiveness. Second, we design a multi-scale, semantic-preserving data augmentation technique to enhance the transferability of adversarial perturbations across unknown conditions. Finally, we propose a selection-based distribution deviation optimization strategy to bolster protection against manipulations guided by diverse random seeds. Extensive experiments on InpaintGuardBench and CelebA-HQ demonstrate that Anti-Inpainting effectively defends against diffusion-based inpainters under unknown conditions. Additionally, our approach demonstrates robustness against various image purification methods and transferability across different diffusion model versions.", "date": "2025-05-19", "categories": []} {"id": "2508.00965", "title": "VAULT: Vigilant Adversarial Updates via LLM-Driven Retrieval-Augmented Generation for NLI", "abstract": "We introduce VAULT, a fully automated adversarial RAG pipeline that systematically uncovers and remedies weaknesses in NLI models through three stages: retrieval, adversarial generation, and iterative retraining. First, we perform balanced few-shot retrieval by embedding premises with both semantic (BGE) and lexical (BM25) similarity. Next, we assemble these contexts into LLM prompts to generate adversarial hypotheses, which are then validated by an LLM ensemble for label fidelity. Finally, the validated adversarial examples are injected back into the training set at increasing mixing ratios, progressively fortifying a zero-shot RoBERTa-base model.On standard benchmarks, VAULT elevates RoBERTa-base accuracy from 88.48% to 92.60% on SNLI +4.12%, from 75.04% to 80.95% on ANLI +5.91%, and from 54.67% to 71.99% on MultiNLI +17.32%. It also consistently outperforms prior in-context adversarial methods by up to 2.0% across datasets. By automating high-quality adversarial data curation at scale, VAULT enables rapid, human-independent robustness improvements in NLI inference tasks.", "date": "2025-08-01", "categories": []} {"id": "2508.01554", "title": "Are All Prompt Components Value-Neutral? Understanding the Heterogeneous Adversarial Robustness of Dissected Prompt in Large Language Models", "abstract": "Prompt-based adversarial attacks have become an effective means to assess the robustness of large language models (LLMs). However, existing approaches often treat prompts as monolithic text, overlooking their structural heterogeneity-different prompt components contribute unequally to adversarial robustness. Prior works like PromptRobust assume prompts are value-neutral, but our analysis reveals that complex, domain-specific prompts with rich structures have components with differing vulnerabilities. To address this gap, we introduce PromptAnatomy, an automated framework that dissects prompts into functional components and generates diverse, interpretable adversarial examples by selectively perturbing each component using our proposed method, ComPerturb. To ensure linguistic plausibility and mitigate distribution shifts, we further incorporate a perplexity (PPL)-based filtering mechanism. As a complementary resource, we annotate four public instruction-tuning datasets using the PromptAnatomy framework, verified through human review. Extensive experiments across these datasets and five advanced LLMs demonstrate that ComPerturb achieves state-of-the-art attack success rates. Ablation studies validate the complementary benefits of prompt dissection and PPL filtering. Our results underscore the importance of prompt structure awareness and controlled perturbation for reliable adversarial robustness evaluation in LLMs. Code and data are available at https://github.com/Yujiaaaaa/PACP.", "date": "2025-08-03", "categories": []} {"id": "2508.01676", "title": "Benchmarking Adversarial Patch Selection and Location", "abstract": "Adversarial patch attacks threaten the reliability of modern vision models. We present PatchMap, the first spatially exhaustive benchmark of patch placement, built by evaluating over 1.5e8 forward passes on ImageNet validation images. PatchMap reveals systematic hot-spots where small patches (as little as 2% of the image) induce confident misclassifications and large drops in model confidence. To demonstrate its utility, we propose a simple segmentation guided placement heuristic that leverages off the shelf masks to identify vulnerable regions without any gradient queries. Across five architectures-including adversarially trained ResNet50, our method boosts attack success rates by 8 to 13 percentage points compared to random or fixed placements. We publicly release PatchMap and the code implementation. The full PatchMap bench (6.5B predictions, multiple backbones) will be released soon to further accelerate research on location-aware defenses and adaptive attacks.", "date": "2025-08-03", "categories": []} {"id": "2508.01845", "title": "Beyond Vulnerabilities: A Survey of Adversarial Attacks as Both Threats and Defenses in Computer Vision Systems", "abstract": "Adversarial attacks against computer vision systems have emerged as a critical research area that challenges the fundamental assumptions about neural network robustness and security. This comprehensive survey examines the evolving landscape of adversarial techniques, revealing their dual nature as both sophisticated security threats and valuable defensive tools. We provide a systematic analysis of adversarial attack methodologies across three primary domains: pixel-space attacks, physically realizable attacks, and latent-space attacks. Our investigation traces the technical evolution from early gradient-based methods such as FGSM and PGD to sophisticated optimization techniques incorporating momentum, adaptive step sizes, and advanced transferability mechanisms. We examine how physically realizable attacks have successfully bridged the gap between digital vulnerabilities and real-world threats through adversarial patches, 3D textures, and dynamic optical perturbations. Additionally, we explore the emergence of latent-space attacks that leverage semantic structure in internal representations to create more transferable and meaningful adversarial examples. Beyond traditional offensive applications, we investigate the constructive use of adversarial techniques for vulnerability assessment in biometric authentication systems and protection against malicious generative models. Our analysis reveals critical research gaps, particularly in neural style transfer protection and computational efficiency requirements. This survey contributes a comprehensive taxonomy, evolution analysis, and identification of future research directions, aiming to advance understanding of adversarial vulnerabilities and inform the development of more robust and trustworthy computer vision systems.", "date": "2025-08-03", "categories": []} {"id": "2508.02186", "title": "Failure Cases Are Better Learned But Boundary Says Sorry: Facilitating Smooth Perception Change for Accuracy-Robustness Trade-Off in Adversarial Training", "abstract": "Adversarial Training (AT) is one of the most effective methods to train robust Deep Neural Networks (DNNs). However, AT creates an inherent trade-off between clean accuracy and adversarial robustness, which is commonly attributed to the more complicated decision boundary caused by the insufficient learning of hard adversarial samples. In this work, we reveal a counterintuitive fact for the first time: From the perspective of perception consistency, hard adversarial samples that can still attack the robust model after AT are already learned better than those successfully defended. Thus, different from previous views, we argue that it is rather the over-sufficient learning of hard adversarial samples that degrades the decision boundary and contributes to the trade-off problem. Specifically, the excessive pursuit of perception consistency would force the model to view the perturbations as noise and ignore the information within them, which should have been utilized to induce a smoother perception transition towards the decision boundary to support its establishment to an appropriate location. In response, we define a new AT objective named Robust Perception, encouraging the model perception to change smoothly with input perturbations, based on which we propose a novel Robust Perception Adversarial Training (RPAT) method, effectively mitigating the current accuracy-robustness trade-off. Experiments on CIFAR-10, CIFAR-100, and Tiny-ImageNet with ResNet-18, PreActResNet-18, and WideResNet-34-10 demonstrate the effectiveness of our method beyond four common baselines and 12 state-of-the-art (SOTA) works. The code is available at https://github.com/FlaAI/RPAT.", "date": "2025-08-04", "categories": []} {"id": "2407.02811", "title": "SPLITZ: Certifiable Robustness via Split Lipschitz Randomized Smoothing", "abstract": "Certifiable robustness gives the guarantee that small perturbations around an input to a classifier will not change the prediction. There are two approaches to provide certifiable robustness to adversarial examples: a) explicitly training classifiers with small Lipschitz constants, and b) Randomized smoothing, which adds random noise to the input to create a smooth classifier. We propose SPLITZ, a practical and novel approach which leverages the synergistic benefits of both the above ideas into a single framework. Our main idea is to split a classifier into two halves, constrain the Lipschitz constant of the first half, and smooth the second half via randomization. Motivation for SPLITZ comes from the observation that many standard deep networks exhibit heterogeneity in Lipschitz constants across layers. SPLITZ can exploit this heterogeneity while inheriting the scalability of randomized smoothing. We present a principled approach to train SPLITZ and provide theoretical analysis to derive certified robustness guarantees during inference. We present a comprehensive comparison of robustness-accuracy trade-offs and show that SPLITZ consistently improves on existing state-of-the-art approaches in the MNIST, CIFAR-10 and ImageNet datasets. For instance, with $\\ell_2$ norm perturbation budget of $\\epsilon=1$, SPLITZ achieves $43.2\\%$ top-1 test accuracy on CIFAR-10 dataset compared to state-of-art top-1 test accuracy $39.8\\%$.", "date": "2024-07-03", "categories": []} {"id": "2411.13587", "title": "Exploring the Adversarial Vulnerabilities of Vision-Language-Action Models in Robotics", "abstract": "Recently in robotics, Vision-Language-Action (VLA) models have emerged as a transformative approach, enabling robots to execute complex tasks by integrating visual and linguistic inputs within an end-to-end learning framework. Despite their significant capabilities, VLA models introduce new attack surfaces. This paper systematically evaluates their robustness. Recognizing the unique demands of robotic execution, our attack objectives target the inherent spatial and functional characteristics of robotic systems. In particular, we introduce two untargeted attack objectives that leverage spatial foundations to destabilize robotic actions, and a targeted attack objective that manipulates the robotic trajectory. Additionally, we design an adversarial patch generation approach that places a small, colorful patch within the camera's view, effectively executing the attack in both digital and physical environments. Our evaluation reveals a marked degradation in task success rates, with up to a 100\\% reduction across a suite of simulated robotic tasks, highlighting critical security gaps in current VLA architectures. By unveiling these vulnerabilities and proposing actionable evaluation metrics, we advance both the understanding and enhancement of safety for VLA-based robotic systems, underscoring the necessity for continuously developing robust defense strategies prior to physical-world deployments.", "date": "2024-11-18", "categories": []} {"id": "2504.17894", "title": "DCT-Shield: A Robust Frequency Domain Defense against Malicious Image Editing", "abstract": "Advancements in diffusion models have enabled effortless image editing via text prompts, raising concerns about image security. Attackers with access to user images can exploit these tools for malicious edits. Recent defenses attempt to protect images by adding a limited noise in the pixel space to disrupt the functioning of diffusion-based editing models. However, the adversarial noise added by previous methods is easily noticeable to the human eye. Moreover, most of these methods are not robust to purification techniques like JPEG compression under a feasible pixel budget. We propose a novel optimization approach that introduces adversarial perturbations directly in the frequency domain by modifying the Discrete Cosine Transform (DCT) coefficients of the input image. By leveraging the JPEG pipeline, our method generates adversarial images that effectively prevent malicious image editing. Extensive experiments across a variety of tasks and datasets demonstrate that our approach introduces fewer visual artifacts while maintaining similar levels of edit protection and robustness to noise purification techniques.", "date": "2025-04-24", "categories": []} {"id": "2505.08320", "title": "Adaptive Branch Specialization in Spectral-Spatial Graph Neural Networks for Certified Robustness", "abstract": "Recent Graph Neural Networks (GNNs) combine spectral-spatial architectures for enhanced representation learning. However, limited attention has been paid to certified robustness, particularly regarding training strategies and underlying rationale. In this paper, we explicitly specialize each branch: the spectral network is trained to withstand l0 edge flips and capture homophilic structures, while the spatial part is designed to resist linf feature perturbations and heterophilic patterns. A context-aware gating network adaptively fuses the two representations, dynamically routing each node's prediction to the more reliable branch. This specialized adversarial training scheme uses branch-specific inner maximization (structure vs feature attacks) and a unified alignment objective. We provide theoretical guarantees: (i) expressivity of the gating mechanism beyond 1-WL, (ii) spectral-spatial frequency bias, and (iii) certified robustness with trade-off. Empirically, SpecSphere attains state-of-the-art node classification accuracy and offers tighter certified robustness on real-world benchmarks.", "date": "2025-05-13", "categories": []} {"id": "2507.23202", "title": "Adversarial-Guided Diffusion for Multimodal LLM Attacks", "abstract": "This paper addresses the challenge of generating adversarial image using a diffusion model to deceive multimodal large language models (MLLMs) into generating the targeted responses, while avoiding significant distortion of the clean image. To address the above challenges, we propose an adversarial-guided diffusion (AGD) approach for adversarial attack MLLMs. We introduce adversarial-guided noise to ensure attack efficacy. A key observation in our design is that, unlike most traditional adversarial attacks which embed high-frequency perturbations directly into the clean image, AGD injects target semantics into the noise component of the reverse diffusion. Since the added noise in a diffusion model spans the entire frequency spectrum, the adversarial signal embedded within it also inherits this full-spectrum property. Importantly, during reverse diffusion, the adversarial image is formed as a linear combination of the clean image and the noise. Thus, when applying defenses such as a simple low-pass filtering, which act independently on each component, the adversarial image within the noise component is less likely to be suppressed, as it is not confined to the high-frequency band. This makes AGD inherently robust to variety defenses. Extensive experiments demonstrate that our AGD outperforms state-of-the-art methods in attack performance as well as in model robustness to some defenses.", "date": "2025-07-31", "categories": []} {"id": "2507.23335", "title": "Scalable and Precise Patch Robustness Certification for Deep Learning Models with Top-k Predictions", "abstract": "Patch robustness certification is an emerging verification approach for defending against adversarial patch attacks with provable guarantees for deep learning systems. Certified recovery techniques guarantee the prediction of the sole true label of a certified sample. However, existing techniques, if applicable to top-k predictions, commonly conduct pairwise comparisons on those votes between labels, failing to certify the sole true label within the top k prediction labels precisely due to the inflation on the number of votes controlled by the attacker (i.e., attack budget); yet enumerating all combinations of vote allocation suffers from the combinatorial explosion problem. We propose CostCert, a novel, scalable, and precise voting-based certified recovery defender. CostCert verifies the true label of a sample within the top k predictions without pairwise comparisons and combinatorial explosion through a novel design: whether the attack budget on the sample is infeasible to cover the smallest total additional votes on top of the votes uncontrollable by the attacker to exclude the true labels from the top k prediction labels. Experiments show that CostCert significantly outperforms the current state-of-the-art defender PatchGuard, such as retaining up to 57.3% in certified accuracy when the patch size is 96, whereas PatchGuard has already dropped to zero.", "date": "2025-07-31", "categories": []} {"id": "2504.04858", "title": "Don't Lag, RAG: Training-Free Adversarial Detection Using RAG", "abstract": "Adversarial patch attacks pose a major threat to vision systems by embedding localized perturbations that mislead deep models. Traditional defense methods often require retraining or fine-tuning, making them impractical for real-world deployment. We propose a training-free Visual Retrieval-Augmented Generation (VRAG) framework that integrates Vision-Language Models (VLMs) for adversarial patch detection. By retrieving visually similar patches and images that resemble stored attacks in a continuously expanding database, VRAG performs generative reasoning to identify diverse attack types, all without additional training or fine-tuning. We extensively evaluate open-source large-scale VLMs, including Qwen-VL-Plus, Qwen2.5-VL-72B, and UI-TARS-72B-DPO, alongside Gemini-2.0, a closed-source model. Notably, the open-source UI-TARS-72B-DPO model achieves up to 95 percent classification accuracy, setting a new state-of-the-art for open-source adversarial patch detection. Gemini-2.0 attains the highest overall accuracy, 98 percent, but remains closed-source. Experimental results demonstrate VRAG's effectiveness in identifying a variety of adversarial patches with minimal human annotation, paving the way for robust, practical defenses against evolving adversarial patch attacks.", "date": "2025-04-07", "categories": []} {"id": "2507.22428", "title": "Theoretical Analysis of Relative Errors in Gradient Computations for Adversarial Attacks with CE Loss", "abstract": "Gradient-based adversarial attacks using the Cross-Entropy (CE) loss often suffer from overestimation due to relative errors in gradient computation induced by floating-point arithmetic. This paper provides a rigorous theoretical analysis of these errors, conducting the first comprehensive study of floating-point computation errors in gradient-based attacks across four distinct scenarios: (i) unsuccessful untargeted attacks, (ii) successful untargeted attacks, (iii) unsuccessful targeted attacks, and (iv) successful targeted attacks. We establish theoretical foundations characterizing the behavior of relative numerical errors under different attack conditions, revealing previously unknown patterns in gradient computation instability, and identify floating-point underflow and rounding as key contributors. Building on this insight, we propose the Theoretical MIFPE (T-MIFPE) loss function, which incorporates an optimal scaling factor $T = t^*$ to minimize the impact of floating-point errors, thereby enhancing the accuracy of gradient computation in adversarial attacks. Extensive experiments on the MNIST, CIFAR-10, and CIFAR-100 datasets demonstrate that T-MIFPE outperforms existing loss functions, including CE, C\\&W, DLR, and MIFPE, in terms of attack potency and robustness evaluation accuracy.", "date": "2025-07-30", "categories": []} {"id": "2507.22446", "title": "RCR-AF: Enhancing Model Generalization via Rademacher Complexity Reduction Activation Function", "abstract": "Despite their widespread success, deep neural networks remain critically vulnerable to adversarial attacks, posing significant risks in safety-sensitive applications. This paper investigates activation functions as a crucial yet underexplored component for enhancing model robustness. We propose a Rademacher Complexity Reduction Activation Function (RCR-AF), a novel activation function designed to improve both generalization and adversarial resilience. RCR-AF uniquely combines the advantages of GELU (including smoothness, gradient stability, and negative information retention) with ReLU's desirable monotonicity, while simultaneously controlling both model sparsity and capacity through built-in clipping mechanisms governed by two hyperparameters, $\\alpha$ and $\\gamma$. Our theoretical analysis, grounded in Rademacher complexity, demonstrates that these parameters directly modulate the model's Rademacher complexity, offering a principled approach to enhance robustness. Comprehensive empirical evaluations show that RCR-AF consistently outperforms widely-used alternatives (ReLU, GELU, and Swish) in both clean accuracy under standard training and in adversarial robustness within adversarial training paradigms.", "date": "2025-07-30", "categories": []} {"id": "2403.05030", "title": "Defending Against Unforeseen Failure Modes with Latent Adversarial Training", "abstract": "Despite extensive diagnostics and debugging by developers, AI systems sometimes exhibit harmful unintended behaviors. Finding and fixing these is challenging because the attack surface is so large -- it is not tractable to exhaustively search for inputs that may elicit harmful behaviors. Red-teaming and adversarial training (AT) are commonly used to improve robustness, however, they empirically struggle to fix failure modes that differ from the attacks used during training. In this work, we utilize latent adversarial training (LAT) to defend against vulnerabilities without leveraging knowledge of what they are or using inputs that elicit them. LAT makes use of the compressed, abstract, and structured latent representations of concepts that the network actually uses for prediction. Here, we use it to defend against failure modes without examples that elicit them. Specifically, we use LAT to remove backdoors and defend against held-out classes of adversarial attacks. We show in image classification, text classification, and text generation tasks that LAT usually improves both robustness to novel attacks and performance on clean data relative to AT. This suggests that LAT can be a promising tool for defending against failure modes that are not explicitly identified by developers.", "date": "2024-03-08", "categories": []} {"id": "2407.15549", "title": "Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMs", "abstract": "Large language models (LLMs) can often be made to behave in undesirable ways that they are explicitly fine-tuned not to. For example, the LLM red-teaming literature has produced a wide variety of 'jailbreaking' techniques to elicit harmful text from models that were fine-tuned to be harmless. Recent work on red-teaming, model editing, and interpretability suggests that this challenge stems from how (adversarial) fine-tuning largely serves to suppress rather than remove undesirable capabilities from LLMs. Prior work has introduced latent adversarial training (LAT) as a way to improve robustness to broad classes of failures. These prior works have considered untargeted latent space attacks where the adversary perturbs latent activations to maximize loss on examples of desirable behavior. Untargeted LAT can provide a generic type of robustness but does not leverage information about specific failure modes. Here, we experiment with targeted LAT where the adversary seeks to minimize loss on a specific competing task. We find that it can augment a wide variety of state-of-the-art methods. First, we use targeted LAT to improve robustness to jailbreaks, outperforming a strong R2D2 baseline with orders of magnitude less compute. Second, we use it to more effectively remove backdoors with no knowledge of the trigger. Finally, we use it to more effectively unlearn knowledge for specific undesirable tasks in a way that is also more robust to re-learning. Overall, our results suggest that targeted LAT can be an effective tool for defending against harmful behaviors from LLMs.", "date": "2024-07-22", "categories": []} {"id": "2507.21163", "title": "Generating Adversarial Point Clouds Using Diffusion Model", "abstract": "Adversarial attack methods for 3D point cloud classification reveal the vulnerabilities of point cloud recognition models. This vulnerability could lead to safety risks in critical applications that use deep learning models, such as autonomous vehicles. To uncover the deficiencies of these models, researchers can evaluate their security through adversarial attacks. However, most existing adversarial attack methods are based on white-box attacks. While these methods achieve high attack success rates and imperceptibility, their applicability in real-world scenarios is limited. Black-box attacks, which are more meaningful in real-world scenarios, often yield poor results. This paper proposes a novel black-box adversarial example generation method that utilizes a diffusion model to improve the attack success rate and imperceptibility in the black-box setting, without relying on the internal information of the point cloud classification model to generate adversarial samples. We use a 3D diffusion model to use the compressed features of the point cloud as prior knowledge to guide the reverse diffusion process to add adversarial points to clean examples. Subsequently, its reverse process is employed to transform the distribution of other categories into adversarial points, which are then added to the point cloud.", "date": "2025-07-25", "categories": []} {"id": "2507.21992", "title": "Teach Me to Trick: Exploring Adversarial Transferability via Knowledge Distillation", "abstract": "We investigate whether knowledge distillation (KD) from multiple heterogeneous teacher models can enhance the generation of transferable adversarial examples. A lightweight student model is trained using two KD strategies: curriculum-based switching and joint optimization, with ResNet50 and DenseNet-161 as teachers. The trained student is then used to generate adversarial examples using FG, FGS, and PGD attacks, which are evaluated against a black-box target model (GoogLeNet). Our results show that student models distilled from multiple teachers achieve attack success rates comparable to ensemble-based baselines, while reducing adversarial example generation time by up to a factor of six. An ablation study further reveals that lower temperature settings and the inclusion of hard-label supervision significantly enhance transferability. These findings suggest that KD can serve not only as a model compression technique but also as a powerful tool for improving the efficiency and effectiveness of black-box adversarial attacks.", "date": "2025-07-29", "categories": []} {"id": "2411.09296", "title": "Enhancing generalization in high energy physics using white-box adversarial attacks", "abstract": "Machine learning is becoming increasingly popular in the context of particle physics. Supervised learning, which uses labeled Monte Carlo (MC) simulations, remains one of the most widely used methods for discriminating signals beyond the Standard Model. However, this paper suggests that supervised models may depend excessively on artifacts and approximations from Monte Carlo simulations, potentially limiting their ability to generalize well to real data. This study aims to enhance the generalization properties of supervised models by reducing the sharpness of local minima. It reviews the application of four distinct white-box adversarial attacks in the context of classifying Higgs boson decay signals. The attacks are divided into weight-space attacks and feature-space attacks. To study and quantify the sharpness of different local minima, this paper presents two analysis methods: gradient ascent and reduced Hessian eigenvalue analysis. The results show that white-box adversarial attacks significantly improve generalization performance, albeit with increased computational complexity.", "date": "2024-11-14", "categories": []} {"id": "2507.19598", "title": "MOCHA: Are Code Language Models Robust Against Multi-Turn Malicious Coding Prompts?", "abstract": "Recent advancements in Large Language Models (LLMs) have significantly enhanced their code generation capabilities. However, their robustness against adversarial misuse, particularly through multi-turn malicious coding prompts, remains underexplored. In this work, we introduce code decomposition attacks, where a malicious coding task is broken down into a series of seemingly benign subtasks across multiple conversational turns to evade safety filters. To facilitate systematic evaluation, we introduce \\benchmarkname{}, a large-scale benchmark designed to evaluate the robustness of code LLMs against both single-turn and multi-turn malicious prompts. Empirical results across open- and closed-source models reveal persistent vulnerabilities, especially under multi-turn scenarios. Fine-tuning on MOCHA improves rejection rates while preserving coding ability, and importantly, enhances robustness on external adversarial datasets with up to 32.4% increase in rejection rates without any additional supervision.", "date": "2025-07-25", "categories": []} {"id": "2507.20996", "title": "Improving Adversarial Robustness Through Adaptive Learning-Driven Multi-Teacher Knowledge Distillation", "abstract": "Convolutional neural networks (CNNs) excel in computer vision but are susceptible to adversarial attacks, crafted perturbations designed to mislead predictions. Despite advances in adversarial training, a gap persists between model accuracy and robustness. To mitigate this issue, in this paper, we present a multi-teacher adversarial robustness distillation using an adaptive learning strategy. Specifically, our proposed method first trained multiple clones of a baseline CNN model using an adversarial training strategy on a pool of perturbed data acquired through different adversarial attacks. Once trained, these adversarially trained models are used as teacher models to supervise the learning of a student model on clean data using multi-teacher knowledge distillation. To ensure an effective robustness distillation, we design an adaptive learning strategy that controls the knowledge contribution of each model by assigning weights as per their prediction precision. Distilling knowledge from adversarially pre-trained teacher models not only enhances the learning capabilities of the student model but also empowers it with the capacity to withstand different adversarial attacks, despite having no exposure to adversarial data. To verify our claims, we extensively evaluated our proposed method on MNIST-Digits and Fashion-MNIST datasets across diverse experimental settings. The obtained results exhibit the efficacy of our multi-teacher adversarial distillation and adaptive learning strategy, enhancing CNNs' adversarial robustness against various adversarial attacks.", "date": "2025-07-28", "categories": []} {"id": "2507.18870", "title": "Transferable and Undefendable Point Cloud Attacks via Medial Axis Transform", "abstract": "Studying adversarial attacks on point clouds is essential for evaluating and improving the robustness of 3D deep learning models. However, most existing attack methods are developed under ideal white-box settings and often suffer from limited transferability to unseen models and insufficient robustness against common defense mechanisms. In this paper, we propose MAT-Adv, a novel adversarial attack framework that enhances both transferability and undefendability by explicitly perturbing the medial axis transform (MAT) representations, in order to induce inherent adversarialness in the resulting point clouds. Specifically, we employ an autoencoder to project input point clouds into compact MAT representations that capture the intrinsic geometric structure of point clouds. By perturbing these intrinsic representations, MAT-Adv introduces structural-level adversarial characteristics that remain effective across diverse models and defense strategies. To mitigate overfitting and prevent perturbation collapse, we incorporate a dropout strategy into the optimization of MAT perturbations, further improving transferability and undefendability. Extensive experiments demonstrate that MAT-Adv significantly outperforms existing state-of-the-art methods in both transferability and undefendability. Codes will be made public upon paper acceptance.", "date": "2025-07-25", "categories": []} {"id": "2309.03791", "title": "Optimal Transport Regularized Divergences: Application to Adversarial Robustness", "abstract": "We introduce a new class of optimal-transport-regularized divergences, $D^c$, constructed via an infimal convolution between an information divergence, $D$, and an optimal-transport (OT) cost, $C$, and study their use in distributionally robust optimization (DRO). In particular, we propose the $ARMOR_D$ methods as novel approaches to enhancing the adversarial robustness of deep learning models. These DRO-based methods are defined by minimizing the maximum expected loss over a $D^c$-neighborhood of the empirical distribution of the training data. Viewed as a tool for constructing adversarial samples, our method allows samples to be both transported, according to the OT cost, and re-weighted, according to the information divergence; the addition of a principled and dynamical adversarial re-weighting on top of adversarial sample transport is a key innovation of $ARMOR_D$. $ARMOR_D$ can be viewed as a generalization of the best-performing loss functions and OT costs in the adversarial training literature; we demonstrate this flexibility by using $ARMOR_D$ to augment the UDR, TRADES, and MART methods and obtain improved performance on CIFAR-10 and CIFAR-100 image recognition. Specifically, augmenting with $ARMOR_D$ leads to 1.9\\% and 2.1\\% improvement against AutoAttack, a powerful ensemble of adversarial attacks, on CIFAR-10 and CIFAR-100 respectively. To foster reproducibility, we made the code accessible at https://github.com/star-ailab/ARMOR.", "date": "2023-09-07", "categories": []} {"id": "2504.17723", "title": "Statistical Runtime Verification for LLMs via Robustness Estimation", "abstract": "Adversarial robustness verification is essential for ensuring the safe deployment of Large Language Models (LLMs) in runtime-critical applications. However, formal verification techniques remain computationally infeasible for modern LLMs due to their exponential runtime and white-box access requirements. This paper presents a case study adapting and extending the RoMA statistical verification framework to assess its feasibility as an online runtime robustness monitor for LLMs in black-box deployment settings. Our adaptation of RoMA analyzes confidence score distributions under semantic perturbations to provide quantitative robustness assessments with statistically validated bounds. Our empirical validation against formal verification baselines demonstrates that RoMA achieves comparable accuracy (within 1\\% deviation), and reduces verification times from hours to minutes. We evaluate this framework across semantic, categorial, and orthographic perturbation domains. Our results demonstrate RoMA's effectiveness for robustness monitoring in operational LLM deployments. These findings point to RoMA as a potentially scalable alternative when formal methods are infeasible, with promising implications for runtime verification in LLM-based systems.", "date": "2025-04-24", "categories": []} {"id": "2507.18113", "title": "Policy Disruption in Reinforcement Learning:Adversarial Attack with Large Language Models and Critical State Identification", "abstract": "Reinforcement learning (RL) has achieved remarkable success in fields like robotics and autonomous driving, but adversarial attacks designed to mislead RL systems remain challenging. Existing approaches often rely on modifying the environment or policy, limiting their practicality. This paper proposes an adversarial attack method in which existing agents in the environment guide the target policy to output suboptimal actions without altering the environment. We propose a reward iteration optimization framework that leverages large language models (LLMs) to generate adversarial rewards explicitly tailored to the vulnerabilities of the target agent, thereby enhancing the effectiveness of inducing the target agent toward suboptimal decision-making. Additionally, a critical state identification algorithm is designed to pinpoint the target agent's most vulnerable states, where suboptimal behavior from the victim leads to significant degradation in overall performance. Experimental results in diverse environments demonstrate the superiority of our method over existing approaches.", "date": "2025-07-24", "categories": []} {"id": "2507.18457", "title": "Revisiting Physically Realizable Adversarial Object Attack against LiDAR-based Detection: Clarifying Problem Formulation and Experimental Protocols", "abstract": "Adversarial robustness in LiDAR-based 3D object detection is a critical research area due to its widespread application in real-world scenarios. While many digital attacks manipulate point clouds or meshes, they often lack physical realizability, limiting their practical impact. Physical adversarial object attacks remain underexplored and suffer from poor reproducibility due to inconsistent setups and hardware differences. To address this, we propose a device-agnostic, standardized framework that abstracts key elements of physical adversarial object attacks, supports diverse methods, and provides open-source code with benchmarking protocols in simulation and real-world settings. Our framework enables fair comparison, accelerates research, and is validated by successfully transferring simulated attacks to a physical LiDAR system. Beyond the framework, we offer insights into factors influencing attack success and advance understanding of adversarial robustness in real-world LiDAR perception.", "date": "2025-07-24", "categories": []} {"id": "2507.18484", "title": "Reinforced Embodied Active Defense: Exploiting Adaptive Interaction for Robust Visual Perception in Adversarial 3D Environments", "abstract": "Adversarial attacks in 3D environments have emerged as a critical threat to the reliability of visual perception systems, particularly in safety-sensitive applications such as identity verification and autonomous driving. These attacks employ adversarial patches and 3D objects to manipulate deep neural network (DNN) predictions by exploiting vulnerabilities within complex scenes. Existing defense mechanisms, such as adversarial training and purification, primarily employ passive strategies to enhance robustness. However, these approaches often rely on pre-defined assumptions about adversarial tactics, limiting their adaptability in dynamic 3D settings. To address these challenges, we introduce Reinforced Embodied Active Defense (Rein-EAD), a proactive defense framework that leverages adaptive exploration and interaction with the environment to improve perception robustness in 3D adversarial contexts. By implementing a multi-step objective that balances immediate prediction accuracy with predictive entropy minimization, Rein-EAD optimizes defense strategies over a multi-step horizon. Additionally, Rein-EAD involves an uncertainty-oriented reward-shaping mechanism that facilitates efficient policy updates, thereby reducing computational overhead and supporting real-world applicability without the need for differentiable environments. Comprehensive experiments validate the effectiveness of Rein-EAD, demonstrating a substantial reduction in attack success rates while preserving standard accuracy across diverse tasks. Notably, Rein-EAD exhibits robust generalization to unseen and adaptive attacks, making it suitable for real-world complex tasks, including 3D object classification, face recognition and autonomous driving.", "date": "2025-07-24", "categories": []} {"id": "2507.17070", "title": "Advancing Robustness in Deep Reinforcement Learning with an Ensemble Defense Approach", "abstract": "Recent advancements in Deep Reinforcement Learning (DRL) have demonstrated its applicability across various domains, including robotics, healthcare, energy optimization, and autonomous driving. However, a critical question remains: How robust are DRL models when exposed to adversarial attacks? While existing defense mechanisms such as adversarial training and distillation enhance the resilience of DRL models, there remains a significant research gap regarding the integration of multiple defenses in autonomous driving scenarios specifically. This paper addresses this gap by proposing a novel ensemble-based defense architecture to mitigate adversarial attacks in autonomous driving. Our evaluation demonstrates that the proposed architecture significantly enhances the robustness of DRL models. Compared to the baseline under FGSM attacks, our ensemble method improves the mean reward from 5.87 to 18.38 (over 213% increase) and reduces the mean collision rate from 0.50 to 0.09 (an 82% decrease) in the highway scenario and merge scenario, outperforming all standalone defense strategies.", "date": "2025-07-22", "categories": []} {"id": "2507.17577", "title": "Boosting Ray Search Procedure of Hard-label Attacks with Transfer-based Priors", "abstract": "One of the most practical and challenging types of black-box adversarial attacks is the hard-label attack, where only the top-1 predicted label is available. One effective approach is to search for the optimal ray direction from the benign image that minimizes the $\\ell_p$-norm distance to the adversarial region. The unique advantage of this approach is that it transforms the hard-label attack into a continuous optimization problem. The objective function value is the ray's radius, which can be obtained via binary search at a high query cost. Existing methods use a \"sign trick\" in gradient estimation to reduce the number of queries. In this paper, we theoretically analyze the quality of this gradient estimation and propose a novel prior-guided approach to improve ray search efficiency both theoretically and empirically. Specifically, we utilize the transfer-based priors from surrogate models, and our gradient estimators appropriately integrate them by approximating the projection of the true gradient onto the subspace spanned by these priors and random directions, in a query-efficient manner. We theoretically derive the expected cosine similarities between the obtained gradient estimators and the true gradient, and demonstrate the improvement achieved by incorporating priors. Extensive experiments on the ImageNet and CIFAR-10 datasets show that our approach significantly outperforms 11 state-of-the-art methods in terms of query efficiency.", "date": "2025-07-23", "categories": []} {"id": "2507.15974", "title": "Does More Inference-Time Compute Really Help Robustness?", "abstract": "Recently, Zaremba et al. demonstrated that increasing inference-time computation improves robustness in large proprietary reasoning LLMs. In this paper, we first show that smaller-scale, open-source models (e.g., DeepSeek R1, Qwen3, Phi-reasoning) can also benefit from inference-time scaling using a simple budget forcing strategy. More importantly, we reveal and critically examine an implicit assumption in prior work: intermediate reasoning steps are hidden from adversaries. By relaxing this assumption, we identify an important security risk, intuitively motivated and empirically verified as an inverse scaling law: if intermediate reasoning steps become explicitly accessible, increased inference-time computation consistently reduces model robustness. Finally, we discuss practical scenarios where models with hidden reasoning chains are still vulnerable to attacks, such as models with tool-integrated reasoning and advanced reasoning extraction attacks. Our findings collectively demonstrate that the robustness benefits of inference-time scaling depend heavily on the adversarial setting and deployment context. We urge practitioners to carefully weigh these subtle trade-offs before applying inference-time scaling in security-sensitive, real-world applications.", "date": "2025-07-21", "categories": []} {"id": "2507.16052", "title": "Disrupting Semantic and Abstract Features for Better Adversarial Transferability", "abstract": "Adversarial examples pose significant threats to deep neural networks (DNNs), and their property of transferability in the black-box setting has led to the emergence of transfer-based attacks, making it feasible to target real-world applications employing DNNs. Among them, feature-level attacks, where intermediate features are perturbed based on feature importance weight matrix computed from transformed images, have gained popularity. In this work, we find that existing feature-level attacks primarily manipulate the semantic information to derive the weight matrix. Inspired by several works that find CNNs tend to focus more on high-frequency components (a.k.a. abstract features, e.g., texture, edge, etc.), we validate that transforming images in the high-frequency space also improves transferability. Based on this finding, we propose a balanced approach called Semantic and Abstract FEatures disRuption (SAFER). Specifically, SAFER conducts BLOCKMIX on the input image and SELF-MIX on the frequency spectrum when computing the weight matrix to highlight crucial features. By using such a weight matrix, we can direct the attacker to disrupt both semantic and abstract features, leading to improved transferability. Extensive experiments on the ImageNet dataset also demonstrate the effectiveness of our method in boosting adversarial transferability.", "date": "2025-07-21", "categories": []} {"id": "2507.16164", "title": "Attacking interpretable NLP systems", "abstract": "Studies have shown that machine learning systems are vulnerable to adversarial examples in theory and practice. Where previous attacks have focused mainly on visual models that exploit the difference between human and machine perception, text-based models have also fallen victim to these attacks. However, these attacks often fail to maintain the semantic meaning of the text and similarity. This paper introduces AdvChar, a black-box attack on Interpretable Natural Language Processing Systems, designed to mislead the classifier while keeping the interpretation similar to benign inputs, thus exploiting trust in system transparency. AdvChar achieves this by making less noticeable modifications to text input, forcing the deep learning classifier to make incorrect predictions and preserve the original interpretation. We use an interpretation-focused scoring approach to determine the most critical tokens that, when changed, can cause the classifier to misclassify the input. We apply simple character-level modifications to measure the importance of tokens, minimizing the difference between the original and new text while generating adversarial interpretations similar to benign ones. We thoroughly evaluated AdvChar by testing it against seven NLP models and three interpretation models using benchmark datasets for the classification task. Our experiments show that AdvChar can significantly reduce the prediction accuracy of current deep learning models by altering just two characters on average in input samples.", "date": "2025-07-22", "categories": []} {"id": "2507.16257", "title": "Quality Text, Robust Vision: The Role of Language in Enhancing Visual Robustness of Vision-Language Models", "abstract": "Defending pre-trained vision-language models (VLMs), such as CLIP, against adversarial attacks is crucial, as these models are widely used in diverse zero-shot tasks, including image classification. However, existing adversarial training (AT) methods for robust fine-tuning largely overlook the role of language in enhancing visual robustness. Specifically, (1) supervised AT methods rely on short texts (e.g., class labels) to generate adversarial perturbations, leading to overfitting to object classes in the training data, and (2) unsupervised AT avoids this overfitting but remains suboptimal against practical text-guided adversarial attacks due to its lack of semantic guidance. To address these limitations, we propose Quality Text-guided Adversarial Fine-Tuning (QT-AFT), which leverages high-quality captions during training to guide adversarial examples away from diverse semantics present in images. This enables the visual encoder to robustly recognize a broader range of image features even under adversarial noise, thereby enhancing robustness across diverse downstream tasks. QT-AFT overcomes the key weaknesses of prior methods -- overfitting in supervised AT and lack of semantic awareness in unsupervised AT -- achieving state-of-the-art zero-shot adversarial robustness and clean accuracy, evaluated across 16 zero-shot datasets. Furthermore, our comprehensive study uncovers several key insights into the role of language in enhancing vision robustness; for example, describing object properties in addition to object names further enhances zero-shot robustness. Our findings point to an urgent direction for future work -- centering high-quality linguistic supervision in robust visual representation learning.", "date": "2025-07-22", "categories": []} {"id": "2405.20090", "title": "Transfer Attack for Bad and Good: Explain and Boost Adversarial Transferability across Multimodal Large Language Models", "abstract": "Multimodal Large Language Models (MLLMs) demonstrate exceptional performance in cross-modality interaction, yet they also suffer adversarial vulnerabilities. In particular, the transferability of adversarial examples remains an ongoing challenge. In this paper, we specifically analyze the manifestation of adversarial transferability among MLLMs and identify the key factors that influence this characteristic. We discover that the transferability of MLLMs exists in cross-LLM scenarios with the same vision encoder and indicate \\underline{\\textit{two key Factors}} that may influence transferability. We provide two semantic-level data augmentation methods, Adding Image Patch (AIP) and Typography Augment Transferability Method (TATM), which boost the transferability of adversarial examples across MLLMs. To explore the potential impact in the real world, we utilize two tasks that can have both negative and positive societal impacts: \\ding{182} Harmful Content Insertion and \\ding{183} Information Protection.", "date": "2024-05-30", "categories": []} {"id": "2503.01781", "title": "Cats Confuse Reasoning LLM: Query Agnostic Adversarial Triggers for Reasoning Models", "abstract": "We investigate the robustness of reasoning models trained for step-by-step problem solving by introducing query-agnostic adversarial triggers - short, irrelevant text that, when appended to math problems, systematically mislead models to output incorrect answers without altering the problem's semantics. We propose CatAttack, an automated iterative attack pipeline for generating triggers on a weaker, less expensive proxy model (DeepSeek V3) and successfully transfer them to more advanced reasoning target models like DeepSeek R1 and DeepSeek R1-distilled-Qwen-32B, resulting in greater than 300% increase in the likelihood of the target model generating an incorrect answer. For example, appending, \"Interesting fact: cats sleep most of their lives,\" to any math problem leads to more than doubling the chances of a model getting the answer wrong. Our findings highlight critical vulnerabilities in reasoning models, revealing that even state-of-the-art models remain susceptible to subtle adversarial inputs, raising security and reliability concerns. The CatAttack triggers dataset with model responses is available at https://huggingface.co/datasets/collinear-ai/cat-attack-adversarial-triggers.", "date": "2025-03-03", "categories": []} {"id": "2507.14248", "title": "Breaking the Illusion of Security via Interpretation: Interpretable Vision Transformer Systems under Attack", "abstract": "Vision transformer (ViT) models, when coupled with interpretation models, are regarded as secure and challenging to deceive, making them well-suited for security-critical domains such as medical applications, autonomous vehicles, drones, and robotics. However, successful attacks on these systems can lead to severe consequences. Recent research on threats targeting ViT models primarily focuses on generating the smallest adversarial perturbations that can deceive the models with high confidence, without considering their impact on model interpretations. Nevertheless, the use of interpretation models can effectively assist in detecting adversarial examples. This study investigates the vulnerability of transformer models to adversarial attacks, even when combined with interpretation models. We propose an attack called \"AdViT\" that generates adversarial examples capable of misleading both a given transformer model and its coupled interpretation model. Through extensive experiments on various transformer models and two transformer-based interpreters, we demonstrate that AdViT achieves a 100% attack success rate in both white-box and black-box scenarios. In white-box scenarios, it reaches up to 98% misclassification confidence, while in black-box scenarios, it reaches up to 76% misclassification confidence. Remarkably, AdViT consistently generates accurate interpretations in both scenarios, making the adversarial examples more difficult to detect.", "date": "2025-07-18", "categories": []} {"id": "2507.15042", "title": "DeRAG: Black-box Adversarial Attacks on Multiple Retrieval-Augmented Generation Applications via Prompt Injection", "abstract": "Adversarial prompt attacks can significantly alter the reliability of Retrieval-Augmented Generation (RAG) systems by re-ranking them to produce incorrect outputs. In this paper, we present a novel method that applies Differential Evolution (DE) to optimize adversarial prompt suffixes for RAG-based question answering. Our approach is gradient-free, treating the RAG pipeline as a black box and evolving a population of candidate suffixes to maximize the retrieval rank of a targeted incorrect document to be closer to real world scenarios. We conducted experiments on the BEIR QA datasets to evaluate attack success at certain retrieval rank thresholds under multiple retrieving applications. Our results demonstrate that DE-based prompt optimization attains competitive (and in some cases higher) success rates compared to GGPP to dense retrievers and PRADA to sparse retrievers, while using only a small number of tokens (<=5 tokens) in the adversarial suffix. Furthermore, we introduce a readability-aware suffix construction strategy, validated by a statistically significant reduction in MLM negative log-likelihood with Welch's t-test. Through evaluations with a BERT-based adversarial suffix detector, we show that DE-generated suffixes evade detection, yielding near-chance detection accuracy.", "date": "2025-07-20", "categories": []} {"id": "2507.15067", "title": "ROBAD: Robust Adversary-aware Local-Global Attended Bad Actor Detection Sequential Model", "abstract": "Detecting bad actors is critical to ensure the safety and integrity of internet platforms. Several deep learning-based models have been developed to identify such users. These models should not only accurately detect bad actors, but also be robust against adversarial attacks that aim to evade detection. However, past deep learning-based detection models do not meet the robustness requirement because they are sensitive to even minor changes in the input sequence. To address this issue, we focus on (1) improving the model understanding capability and (2) enhancing the model knowledge such that the model can recognize potential input modifications when making predictions. To achieve these goals, we create a novel transformer-based classification model, called ROBAD (RObust adversary-aware local-global attended Bad Actor Detection model), which uses the sequence of user posts to generate user embedding to detect bad actors. Particularly, ROBAD first leverages the transformer encoder block to encode each post bidirectionally, thus building a post embedding to capture the local information at the post level. Next, it adopts the transformer decoder block to model the sequential pattern in the post embeddings by using the attention mechanism, which generates the sequence embedding to obtain the global information at the sequence level. Finally, to enrich the knowledge of the model, embeddings of modified sequences by mimicked attackers are fed into a contrastive-learning-enhanced classification layer for sequence prediction. In essence, by capturing the local and global information (i.e., the post and sequence information) and leveraging the mimicked behaviors of bad actors in training, ROBAD can be robust to adversarial attacks. Extensive experiments on Yelp and Wikipedia datasets show that ROBAD can effectively detect bad actors when under state-of-the-art adversarial attacks.", "date": "2025-07-20", "categories": []} {"id": "2504.10888", "title": "CDUPatch: Color-Driven Universal Adversarial Patch Attack for Dual-Modal Visible-Infrared Detectors", "abstract": "Adversarial patches are widely used to evaluate the robustness of object detection systems in real-world scenarios. These patches were initially designed to deceive single-modal detectors (e.g., visible or infrared) and have recently been extended to target visible-infrared dual-modal detectors. However, existing dual-modal adversarial patch attacks have limited attack effectiveness across diverse physical scenarios. To address this, we propose CDUPatch, a universal cross-modal patch attack against visible-infrared object detectors across scales, views, and scenarios. Specifically, we observe that color variations lead to different levels of thermal absorption, resulting in temperature differences in infrared imaging. Leveraging this property, we propose an RGB-to-infrared adapter that maps RGB patches to infrared patches, enabling unified optimization of cross-modal patches. By learning an optimal color distribution on the adversarial patch, we can manipulate its thermal response and generate an adversarial infrared texture. Additionally, we introduce a multi-scale clipping strategy and construct a new visible-infrared dataset, MSDrone, which contains aerial vehicle images in varying scales and perspectives. These data augmentation strategies enhance the robustness of our patch in real-world conditions. Experiments on four benchmark datasets (e.g., DroneVehicle, LLVIP, VisDrone, MSDrone) show that our method outperforms existing patch attacks in the digital domain. Extensive physical tests further confirm strong transferability across scales, views, and scenarios.", "date": "2025-04-15", "categories": []} {"id": "2507.13598", "title": "GIFT: Gradient-aware Immunization of diffusion models against malicious Fine-Tuning with safe concepts retention", "abstract": "We present GIFT: a {G}radient-aware {I}mmunization technique to defend diffusion models against malicious {F}ine-{T}uning while preserving their ability to generate safe content. Existing safety mechanisms like safety checkers are easily bypassed, and concept erasure methods fail under adversarial fine-tuning. GIFT addresses this by framing immunization as a bi-level optimization problem: the upper-level objective degrades the model's ability to represent harmful concepts using representation noising and maximization, while the lower-level objective preserves performance on safe data. GIFT achieves robust resistance to malicious fine-tuning while maintaining safe generative quality. Experimental results show that our method significantly impairs the model's ability to re-learn harmful concepts while maintaining performance on safe content, offering a promising direction for creating inherently safer generative models resistant to adversarial fine-tuning attacks.", "date": "2025-07-18", "categories": []} {"id": "2507.13727", "title": "Adversarial Training Improves Generalization Under Distribution Shifts in Bioacoustics", "abstract": "Adversarial training is a promising strategy for enhancing model robustness against adversarial attacks. However, its impact on generalization under substantial data distribution shifts in audio classification remains largely unexplored. To address this gap, this work investigates how different adversarial training strategies improve generalization performance and adversarial robustness in audio classification. The study focuses on two model architectures: a conventional convolutional neural network (ConvNeXt) and an inherently interpretable prototype-based model (AudioProtoPNet). The approach is evaluated using a challenging bird sound classification benchmark. This benchmark is characterized by pronounced distribution shifts between training and test data due to varying environmental conditions and recording methods, a common real-world challenge. The investigation explores two adversarial training strategies: one based on output-space attacks that maximize the classification loss function, and another based on embedding-space attacks designed to maximize embedding dissimilarity. These attack types are also used for robustness evaluation. Additionally, for AudioProtoPNet, the study assesses the stability of its learned prototypes under targeted embedding-space attacks. Results show that adversarial training, particularly using output-space attacks, improves clean test data performance by an average of 10.5% relative and simultaneously strengthens the adversarial robustness of the models. These findings, although derived from the bird sound domain, suggest that adversarial training holds potential to enhance robustness against both strong distribution shifts and adversarial attacks in challenging audio classification settings.", "date": "2025-07-18", "categories": []} {"id": "2412.04245", "title": "Intriguing Properties of Robust Classification", "abstract": "Despite extensive research since the community learned about adversarial examples 10 years ago, we still do not know how to train high-accuracy classifiers that are guaranteed to be robust to small perturbations of their inputs. Previous works often argued that this might be because no classifier exists that is robust and accurate at the same time. However, in computer vision this assumption does not match reality where humans are usually accurate and robust on most tasks of interest. We offer an alternative explanation and show that in certain settings robust generalization is only possible with unrealistically large amounts of data. Specifically, we find a setting where a robust classifier exists, it is easy to learn an accurate classifier, yet it requires an exponential amount of data to learn a robust classifier. Based on this theoretical result, we evaluate the influence of the amount of training data on datasets such as CIFAR-10. Our findings indicate that the amount of training data is the main factor determining the robust performance. Furthermore we show that there are low magnitude directions in the data which are useful for non-robust generalization but are not available for robust classifiers. We provide code at https://github.com/berndprach/IntriguingProperties.", "date": "2024-12-05", "categories": []} {"id": "2502.19697", "title": "Prompt-driven Transferable Adversarial Attack on Person Re-Identification with Attribute-aware Textual Inversion", "abstract": "Person re-identification (re-id) models are vital in security surveillance systems, requiring transferable adversarial attacks to explore the vulnerabilities of them. Recently, vision-language models (VLM) based attacks have shown superior transferability by attacking generalized image and textual features of VLM, but they lack comprehensive feature disruption due to the overemphasis on discriminative semantics in integral representation. In this paper, we introduce the Attribute-aware Prompt Attack (AP-Attack), a novel method that leverages VLM's image-text alignment capability to explicitly disrupt fine-grained semantic features of pedestrian images by destroying attribute-specific textual embeddings. To obtain personalized textual descriptions for individual attributes, textual inversion networks are designed to map pedestrian images to pseudo tokens that represent semantic embeddings, trained in the contrastive learning manner with images and a predefined prompt template that explicitly describes the pedestrian attributes. Inverted benign and adversarial fine-grained textual semantics facilitate attacker in effectively conducting thorough disruptions, enhancing the transferability of adversarial examples. Extensive experiments show that AP-Attack achieves state-of-the-art transferability, significantly outperforming previous methods by 22.9% on mean Drop Rate in cross-model&dataset attack scenarios.", "date": "2025-02-27", "categories": []} {"id": "2502.05208", "title": "Mitigation of Camouflaged Adversarial Attacks in Autonomous Vehicles--A Case Study Using CARLA Simulator", "abstract": "Autonomous vehicles (AVs) rely heavily on cameras and artificial intelligence (AI) to make safe and accurate driving decisions. However, since AI is the core enabling technology, this raises serious cyber threats that hinder the large-scale adoption of AVs. Therefore, it becomes crucial to analyze the resilience of AV security systems against sophisticated attacks that manipulate camera inputs, deceiving AI models. In this paper, we develop camera-camouflaged adversarial attacks targeting traffic sign recognition (TSR) in AVs. Specifically, if the attack is initiated by modifying the texture of a stop sign to fool the AV's object detection system, thereby affecting the AV actuators. The attack's effectiveness is tested using the CARLA AV simulator and the results show that such an attack can delay the auto-braking response to the stop sign, resulting in potential safety issues. We conduct extensive experiments under various conditions, confirming that our new attack is effective and robust. Additionally, we address the attack by presenting mitigation strategies. The proposed attack and defense methods are applicable to other end-to-end trained autonomous cyber-physical systems.", "date": "2025-02-03", "categories": []} {"id": "2507.11968", "title": "Watch, Listen, Understand, Mislead: Tri-modal Adversarial Attacks on Short Videos for Content Appropriateness Evaluation", "abstract": "Multimodal Large Language Models (MLLMs) are increasingly used for content moderation, yet their robustness in short-form video contexts remains underexplored. Current safety evaluations often rely on unimodal attacks, failing to address combined attack vulnerabilities. In this paper, we introduce a comprehensive framework for evaluating the tri-modal safety of MLLMs. First, we present the Short-Video Multimodal Adversarial (SVMA) dataset, comprising diverse short-form videos with human-guided synthetic adversarial attacks. Second, we propose ChimeraBreak, a novel tri-modal attack strategy that simultaneously challenges visual, auditory, and semantic reasoning pathways. Extensive experiments on state-of-the-art MLLMs reveal significant vulnerabilities with high Attack Success Rates (ASR). Our findings uncover distinct failure modes, showing model biases toward misclassifying benign or policy-violating content. We assess results using LLM-as-a-judge, demonstrating attack reasoning efficacy. Our dataset and findings provide crucial insights for developing more robust and safe MLLMs.", "date": "2025-07-16", "categories": []} {"id": "2507.12107", "title": "Non-Adaptive Adversarial Face Generation", "abstract": "Adversarial attacks on face recognition systems (FRSs) pose serious security and privacy threats, especially when these systems are used for identity verification. In this paper, we propose a novel method for generating adversarial faces-synthetic facial images that are visually distinct yet recognized as a target identity by the FRS. Unlike iterative optimization-based approaches (e.g., gradient descent or other iterative solvers), our method leverages the structural characteristics of the FRS feature space. We figure out that individuals sharing the same attribute (e.g., gender or race) form an attributed subsphere. By utilizing such subspheres, our method achieves both non-adaptiveness and a remarkably small number of queries. This eliminates the need for relying on transferability and open-source surrogate models, which have been a typical strategy when repeated adaptive queries to commercial FRSs are impossible. Despite requiring only a single non-adaptive query consisting of 100 face images, our method achieves a high success rate of over 93% against AWS's CompareFaces API at its default threshold. Furthermore, unlike many existing attacks that perturb a given image, our method can deliberately produce adversarial faces that impersonate the target identity while exhibiting high-level attributes chosen by the adversary.", "date": "2025-07-16", "categories": []} {"id": "2403.07095", "title": "Gaussian Loss Smoothing Enables Certified Training with Tight Convex Relaxations", "abstract": "Training neural networks with high certified accuracy against adversarial examples remains an open challenge despite significant efforts. While certification methods can effectively leverage tight convex relaxations for bound computation, in training, these methods, perhaps surprisingly, can perform worse than looser relaxations. Prior work hypothesized that this phenomenon is caused by the discontinuity, non-smoothness, and perturbation sensitivity of the loss surface induced by tighter relaxations. In this work, we theoretically show that applying Gaussian Loss Smoothing (GLS) on the loss surface can alleviate these issues. We confirm this empirically by instantiating GLS with two variants: a zeroth-order optimization algorithm, called PGPE, which allows training with non-differentiable relaxations, and a first-order optimization algorithm, called RGS, which requires gradients of the relaxation but is much more efficient than PGPE. Extensive experiments show that when combined with tight relaxations, these methods surpass state-of-the-art methods when training on the same network architecture for many settings. Our results clearly demonstrate the promise of Gaussian Loss Smoothing for training certifiably robust neural networks and pave a path towards leveraging tighter relaxations for certified training.", "date": "2024-03-11", "categories": []} {"id": "2507.04762", "title": "Robustifying 3D Perception via Least-Squares Graphs for Multi-Agent Object Tracking", "abstract": "The critical perception capabilities of EdgeAI systems, such as autonomous vehicles, are required to be resilient against adversarial threats, by enabling accurate identification and localization of multiple objects in the scene over time, mitigating their impact. Single-agent tracking offers resilience to adversarial attacks but lacks situational awareness, underscoring the need for multi-agent cooperation to enhance context understanding and robustness. This paper proposes a novel mitigation framework on 3D LiDAR scene against adversarial noise by tracking objects based on least-squares graph on multi-agent adversarial bounding boxes. Specifically, we employ the least-squares graph tool to reduce the induced positional error of each detection's centroid utilizing overlapped bounding boxes on a fully connected graph via differential coordinates and anchor points. Hence, the multi-vehicle detections are fused and refined mitigating the adversarial impact, and associated with existing tracks in two stages performing tracking to further suppress the adversarial threat. An extensive evaluation study on the real-world V2V4Real dataset demonstrates that the proposed method significantly outperforms both state-of-the-art single and multi-agent tracking frameworks by up to 23.3% under challenging adversarial conditions, operating as a resilient approach without relying on additional defense mechanisms.", "date": "2025-07-07", "categories": []} {"id": "2401.17196", "title": "Single Word Change is All You Need: Using LLMs to Create Synthetic Training Examples for Text Classifiers", "abstract": "In text classification, creating an adversarial example means subtly perturbing a few words in a sentence without changing its meaning, causing it to be misclassified by a classifier. A concerning observation is that a significant portion of adversarial examples generated by existing methods change only one word. This single-word perturbation vulnerability represents a significant weakness in classifiers, which malicious users can exploit to efficiently create a multitude of adversarial examples. This paper studies this problem and makes the following key contributions: (1) We introduce a novel metric $\\rho$ to quantitatively assess a classifier's robustness against single-word perturbation. (2) We present the SP-Attack, designed to exploit the single-word perturbation vulnerability, achieving a higher attack success rate, better preserving sentence meaning, while reducing computation costs compared to state-of-the-art adversarial methods. (3) We propose SP-Defense, which aims to improve \\r{ho} by applying data augmentation in learning. Experimental results on 4 datasets and BERT and distilBERT classifiers show that SP-Defense improves $\\rho$ by 14.6% and 13.9% and decreases the attack success rate of SP-Attack by 30.4% and 21.2% on two classifiers respectively, and decreases the attack success rate of existing attack methods that involve multiple-word perturbations.", "date": "2024-01-30", "categories": []} {"id": "2502.12377", "title": "Alignment and Adversarial Robustness: Are More Human-Like Models More Secure?", "abstract": "A small but growing body of work has shown that machine learning models which better align with human vision have also exhibited higher robustness to adversarial examples, raising the question: can human-like perception make models more secure? If true generally, such mechanisms would offer new avenues toward robustness. In this work, we conduct a large-scale empirical analysis to systematically investigate the relationship between representational alignment and adversarial robustness. We evaluate 114 models spanning diverse architectures and training paradigms, measuring their neural and behavioral alignment and engineering task performance across 105 benchmarks as well as their adversarial robustness via AutoAttack. Our findings reveal that while average alignment and robustness exhibit a weak overall correlation, specific alignment benchmarks serve as strong predictors of adversarial robustness, particularly those that measure selectivity toward texture or shape. These results suggest that different forms of alignment play distinct roles in model robustness, motivating further investigation into how alignment-driven approaches can be leveraged to build more secure and perceptually-grounded vision models.", "date": "2025-02-17", "categories": []} {"id": "2503.14836", "title": "On the Robustness Tradeoff in Fine-Tuning", "abstract": "Fine-tuning has become the standard practice for adapting pre-trained models to downstream tasks. However, the impact on model robustness is not well understood. In this work, we characterize the robustness-accuracy trade-off in fine-tuning. We evaluate the robustness and accuracy of fine-tuned models over 6 benchmark datasets and 7 different fine-tuning strategies. We observe a consistent trade-off between adversarial robustness and accuracy. Peripheral updates such as BitFit are more effective for simple tasks -- over 75% above the average measured by the area under the Pareto frontiers on CIFAR-10 and CIFAR-100. In contrast, fine-tuning information-heavy layers, such as attention layers via Compacter, achieves a better Pareto frontier on more complex tasks -- 57.5% and 34.6% above the average on Caltech-256 and CUB-200, respectively. Lastly, we observe that the robustness of fine-tuning against out-of-distribution data closely tracks accuracy. These insights emphasize the need for robustness-aware fine-tuning to ensure reliable real-world deployments.", "date": "2025-03-19", "categories": []} {"id": "2507.10048", "title": "On the Efficiency of Training Robust Decision Trees", "abstract": "As machine learning gets adopted into the industry quickly, trustworthiness is increasingly in focus. Yet, efficiency and sustainability of robust training pipelines still have to be established. In this work, we consider a simple pipeline for training adversarially robust decision trees and investigate the efficiency of each step. Our pipeline consists of three stages. Firstly, we choose the perturbation size automatically for each dataset. For that, we introduce a simple algorithm, instead of relying on intuition or prior work. Moreover, we show that the perturbation size can be estimated from smaller models than the one intended for full training, and thus significant gains in efficiency can be achieved. Secondly, we train state-of-the-art adversarial training methods and evaluate them regarding both their training time and adversarial accuracy. Thirdly, we certify the robustness of each of the models thus obtained and investigate the time required for this. We find that verification time, which is critical to the efficiency of the full pipeline, is not correlated with training time.", "date": "2025-07-14", "categories": []} {"id": "2507.10265", "title": "Kaleidoscopic Background Attack: Disrupting Pose Estimation with Multi-Fold Radial Symmetry Textures", "abstract": "Camera pose estimation is a fundamental computer vision task that is essential for applications like visual localization and multi-view stereo reconstruction. In the object-centric scenarios with sparse inputs, the accuracy of pose estimation can be significantly influenced by background textures that occupy major portions of the images across different viewpoints. In light of this, we introduce the Kaleidoscopic Background Attack (KBA), which uses identical segments to form discs with multi-fold radial symmetry. These discs maintain high similarity across different viewpoints, enabling effective attacks on pose estimation models even with natural texture segments. Additionally, a projected orientation consistency loss is proposed to optimize the kaleidoscopic segments, leading to significant enhancement in the attack effectiveness. Experimental results show that optimized adversarial kaleidoscopic backgrounds can effectively attack various camera pose estimation models.", "date": "2025-07-14", "categories": []} {"id": "2507.08163", "title": "Adaptive Diffusion Denoised Smoothing : Certified Robustness via Randomized Smoothing with Differentially Private Guided Denoising Diffusion", "abstract": "We propose Adaptive Diffusion Denoised Smoothing, a method for certifying the predictions of a vision model against adversarial examples, while adapting to the input. Our key insight is to reinterpret a guided denoising diffusion model as a long sequence of adaptive Gaussian Differentially Private (GDP) mechanisms refining a pure noise sample into an image. We show that these adaptive mechanisms can be composed through a GDP privacy filter to analyze the end-to-end robustness of the guided denoising process, yielding a provable certification that extends the adaptive randomized smoothing analysis. We demonstrate that our design, under a specific guiding strategy, can improve both certified accuracy and standard accuracy on ImageNet for an $\\ell_2$ threat model.", "date": "2025-07-10", "categories": []} {"id": "2507.08212", "title": "EvA: Evolutionary Attacks on Graphs", "abstract": "Even a slight perturbation in the graph structure can cause a significant drop in the accuracy of graph neural networks (GNNs). Most existing attacks leverage gradient information to perturb edges. This relaxes the attack's optimization problem from a discrete to a continuous space, resulting in solutions far from optimal. It also restricts the adaptability of the attack to non-differentiable objectives. Instead, we introduce a few simple yet effective enhancements of an evolutionary-based algorithm to solve the discrete optimization problem directly. Our Evolutionary Attack (EvA) works with any black-box model and objective, eliminating the need for a differentiable proxy loss. This allows us to design two novel attacks that reduce the effectiveness of robustness certificates and break conformal sets. The memory complexity of our attack is linear in the attack budget. Among our experiments, EvA shows $\\sim$11\\% additional drop in accuracy on average compared to the best previous attack, revealing significant untapped potential in designing attacks.", "date": "2025-07-10", "categories": []} {"id": "2305.13651", "title": "Adversarial Defenses via Vector Quantization", "abstract": "Adversarial attacks pose significant challenges to the robustness of modern deep neural networks in computer vision, and defending these networks against adversarial attacks has attracted intense research efforts. Among various defense strategies, preprocessing-based defenses are practically appealing since there is no need to train the network under protection. However, such approaches typically do not achieve comparable robustness as other methods such as adversarial training. In this paper, we propose a novel framework for preprocessing-based defenses, where a vector quantizer is used as a preprocessor. This framework, inspired by and extended from Randomized Discretization (RandDisc), is theoretically principled by rate-distortion theory: indeed, RandDisc may be viewed as a scalar quantizer, and rate-distortion theory suggests that such quantization schemes are inferior to vector quantization. In our framework, the preprocessing vector quantizer treats the input image as a collection of patches and finds a set of representative patches based on the patch distributions; each original patch is then modified according to the representative patches close to it. We present two lightweight defenses in this framework, referred to as patched RandDisc (pRD) and sliding-window RandDisc (swRD), where the patches are disjoint in the former and overlapping in the latter. We show that vector-quantization-based defenses have certifiable robust accuracy and that pRD and swRD demonstrate state-of-the-art performances, surpassing RandDisc by a large margin. Notably, the proposed defenses possess the obfuscated gradients property. Our experiments however show that pRD and swRD remain effective under the STE and EOT attacks, which are designed specifically for defenses with gradient obfuscation. ...", "date": "2023-05-23", "categories": []} {"id": "2406.10427", "title": "Adaptive Randomized Smoothing: Certified Adversarial Robustness for Multi-Step Defences", "abstract": "We propose Adaptive Randomized Smoothing (ARS) to certify the predictions of our test-time adaptive models against adversarial examples. ARS extends the analysis of randomized smoothing using $f$-Differential Privacy to certify the adaptive composition of multiple steps. For the first time, our theory covers the sound adaptive composition of general and high-dimensional functions of noisy inputs. We instantiate ARS on deep image classification to certify predictions against adversarial examples of bounded $L_{\\infty}$ norm. In the $L_{\\infty}$ threat model, ARS enables flexible adaptation through high-dimensional input-dependent masking. We design adaptivity benchmarks, based on CIFAR-10 and CelebA, and show that ARS improves standard test accuracy by $1$ to $15\\%$ points. On ImageNet, ARS improves certified test accuracy by up to $1.6\\%$ points over standard RS without adaptivity. Our code is available at https://github.com/ubc-systopia/adaptive-randomized-smoothing .", "date": "2024-06-14", "categories": []} {"id": "2504.20310", "title": "A Cryptographic Perspective on Mitigation vs. Detection in Machine Learning", "abstract": "In this paper, we initiate a cryptographically inspired theoretical study of detection versus mitigation of adversarial inputs produced by attackers on Machine Learning algorithms during inference time.\n We formally define defense by detection (DbD) and defense by mitigation (DbM). Our definitions come in the form of a 3-round protocol between two resource-bounded parties: a trainer/defender and an attacker. The attacker aims to produce inference-time inputs that fool the training algorithm. We define correctness, completeness, and soundness properties to capture successful defense at inference time while not degrading (too much) the performance of the algorithm on inputs from the training distribution.\n We first show that achieving DbD and achieving DbM are equivalent for ML classification tasks. Surprisingly, this is not the case for ML generative learning tasks, where there are many possible correct outputs for each input. We show a separation between DbD and DbM by exhibiting two generative learning tasks for which it is possible to defend by mitigation but it is provably impossible to defend by detection. The mitigation phase uses significantly less computational resources than the initial training algorithm. In the first learning task we consider sample complexity as the resource and in the second the time complexity. The first result holds under the assumption that the Identity-Based Fully Homomorphic Encryption (IB-FHE), publicly-verifiable zero-knowledge Succinct Non-Interactive Arguments of Knowledge (zk-SNARK), and Strongly Unforgeable Signatures exist. The second result assumes the existence of Non-Parallelizing Languages with Average-Case Hardness (NPL) and Incrementally-Verifiable Computation (IVC) and IB-FHE.", "date": "2025-04-28", "categories": []} {"id": "2507.07259", "title": "Exploiting Edge Features for Transferable Adversarial Attacks in Distributed Machine Learning", "abstract": "As machine learning models become increasingly deployed across the edge of internet of things environments, a partitioned deep learning paradigm in which models are split across multiple computational nodes introduces a new dimension of security risk. Unlike traditional inference setups, these distributed pipelines span the model computation across heterogeneous nodes and communication layers, thereby exposing a broader attack surface to potential adversaries. Building on these motivations, this work explores a previously overlooked vulnerability: even when both the edge and cloud components of the model are inaccessible (i.e., black-box), an adversary who intercepts the intermediate features transmitted between them can still pose a serious threat. We demonstrate that, under these mild and realistic assumptions, an attacker can craft highly transferable proxy models, making the entire deep learning system significantly more vulnerable to evasion attacks. In particular, the intercepted features can be effectively analyzed and leveraged to distill surrogate models capable of crafting highly transferable adversarial examples against the target model. To this end, we propose an exploitation strategy specifically designed for distributed settings, which involves reconstructing the original tensor shape from vectorized transmitted features using simple statistical analysis, and adapting surrogate architectures accordingly to enable effective feature distillation. A comprehensive and systematic experimental evaluation has been conducted to demonstrate that surrogate models trained with the proposed strategy, i.e., leveraging intermediate features, tremendously improve the transferability of adversarial attacks. These findings underscore the urgent need to account for intermediate feature leakage in the design of secure distributed deep learning systems.", "date": "2025-07-09", "categories": []} {"id": "2507.07709", "title": "One Object, Multiple Lies: A Benchmark for Cross-task Adversarial Attack on Unified Vision-Language Models", "abstract": "Unified vision-language models(VLMs) have recently shown remarkable progress, enabling a single model to flexibly address diverse tasks through different instructions within a shared computational architecture. This instruction-based control mechanism creates unique security challenges, as adversarial inputs must remain effective across multiple task instructions that may be unpredictably applied to process the same malicious content. In this paper, we introduce CrossVLAD, a new benchmark dataset carefully curated from MSCOCO with GPT-4-assisted annotations for systematically evaluating cross-task adversarial attacks on unified VLMs. CrossVLAD centers on the object-change objective-consistently manipulating a target object's classification across four downstream tasks-and proposes a novel success rate metric that measures simultaneous misclassification across all tasks, providing a rigorous evaluation of adversarial transferability. To tackle this challenge, we present CRAFT (Cross-task Region-based Attack Framework with Token-alignment), an efficient region-centric attack method. Extensive experiments on Florence-2 and other popular unified VLMs demonstrate that our method outperforms existing approaches in both overall cross-task attack performance and targeted object-change success rates, highlighting its effectiveness in adversarially influencing unified VLMs across diverse tasks.", "date": "2025-07-10", "categories": []} {"id": "2507.07768", "title": "TRIX- Trading Adversarial Fairness via Mixed Adversarial Training", "abstract": "Adversarial Training (AT) is a widely adopted defense against adversarial examples. However, existing approaches typically apply a uniform training objective across all classes, overlooking disparities in class-wise vulnerability. This results in adversarial unfairness: classes with well distinguishable features (strong classes) tend to become more robust, while classes with overlapping or shared features(weak classes) remain disproportionately susceptible to adversarial attacks. We observe that strong classes do not require strong adversaries during training, as their non-robust features are quickly suppressed. In contrast, weak classes benefit from stronger adversaries to effectively reduce their vulnerabilities. Motivated by this, we introduce TRIX, a feature-aware adversarial training framework that adaptively assigns weaker targeted adversaries to strong classes, promoting feature diversity via uniformly sampled targets, and stronger untargeted adversaries to weak classes, enhancing their focused robustness. TRIX further incorporates per-class loss weighting and perturbation strength adjustments, building on prior work, to emphasize weak classes during the optimization. Comprehensive experiments on standard image classification benchmarks, including evaluations under strong attacks such as PGD and AutoAttack, demonstrate that TRIX significantly improves worst-case class accuracy on both clean and adversarial data, reducing inter-class robustness disparities, and preserves overall accuracy. Our results highlight TRIX as a practical step toward fair and effective adversarial defense.", "date": "2025-07-10", "categories": []} {"id": "2408.06079", "title": "Towards Adversarial Robustness via Debiased High-Confidence Logit Alignment", "abstract": "Despite the remarkable progress of deep neural networks (DNNs) in various visual tasks, their vulnerability to adversarial examples raises significant security concerns. Recent adversarial training methods leverage inverse adversarial attacks to generate high-confidence examples, aiming to align adversarial distributions with high-confidence class regions. However, our investigation reveals that under inverse adversarial attacks, high-confidence outputs are influenced by biased feature activations, causing models to rely on background features that lack a causal relationship with the labels. This spurious correlation bias leads to overfitting irrelevant background features during adversarial training, thereby degrading the model's robust performance and generalization capabilities. To address this issue, we propose Debiased High-Confidence Adversarial Training (DHAT), a novel approach that aligns adversarial logits with debiased high-confidence logits and restores proper attention by enhancing foreground logit orthogonality. Extensive experiments demonstrate that DHAT achieves state-of-the-art robustness on both CIFAR and ImageNet-1K benchmarks, while significantly improving generalization by mitigating the feature bias inherent in inverse adversarial training approaches. Code is available at https://github.com/KejiaZhang-Robust/DHAT.", "date": "2024-08-12", "categories": []} {"id": "2506.23581", "title": "PBCAT: Patch-based composite adversarial training against physically realizable attacks on object detection", "abstract": "Object detection plays a crucial role in many security-sensitive applications. However, several recent studies have shown that object detectors can be easily fooled by physically realizable attacks, \\eg, adversarial patches and recent adversarial textures, which pose realistic and urgent threats. Adversarial Training (AT) has been recognized as the most effective defense against adversarial attacks. While AT has been extensively studied in the $l_\\infty$ attack settings on classification models, AT against physically realizable attacks on object detectors has received limited exploration. Early attempts are only performed to defend against adversarial patches, leaving AT against a wider range of physically realizable attacks under-explored. In this work, we consider defending against various physically realizable attacks with a unified AT method. We propose PBCAT, a novel Patch-Based Composite Adversarial Training strategy. PBCAT optimizes the model by incorporating the combination of small-area gradient-guided adversarial patches and imperceptible global adversarial perturbations covering the entire image. With these designs, PBCAT has the potential to defend against not only adversarial patches but also unseen physically realizable attacks such as adversarial textures. Extensive experiments in multiple settings demonstrated that PBCAT significantly improved robustness against various physically realizable attacks over state-of-the-art defense methods. Notably, it improved the detection accuracy by 29.7\\% over previous defense methods under one recent adversarial texture attack.", "date": "2025-06-30", "categories": []} {"id": "2507.06256", "title": "Attacker's Noise Can Manipulate Your Audio-based LLM in the Real World", "abstract": "This paper investigates the real-world vulnerabilities of audio-based large language models (ALLMs), such as Qwen2-Audio. We first demonstrate that an adversary can craft stealthy audio perturbations to manipulate ALLMs into exhibiting specific targeted behaviors, such as eliciting responses to wake-keywords (e.g., \"Hey Qwen\"), or triggering harmful behaviors (e.g. \"Change my calendar event\"). Subsequently, we show that playing adversarial background noise during user interaction with the ALLMs can significantly degrade the response quality. Crucially, our research illustrates the scalability of these attacks to real-world scenarios, impacting other innocent users when these adversarial noises are played through the air. Further, we discuss the transferrability of the attack, and potential defensive measures.", "date": "2025-07-07", "categories": []} {"id": "2507.06856", "title": "IAP: Invisible Adversarial Patch Attack through Perceptibility-Aware Localization and Perturbation Optimization", "abstract": "Despite modifying only a small localized input region, adversarial patches can drastically change the prediction of computer vision models. However, prior methods either cannot perform satisfactorily under targeted attack scenarios or fail to produce contextually coherent adversarial patches, causing them to be easily noticeable by human examiners and insufficiently stealthy against automatic patch defenses. In this paper, we introduce IAP, a novel attack framework that generates highly invisible adversarial patches based on perceptibility-aware localization and perturbation optimization schemes. Specifically, IAP first searches for a proper location to place the patch by leveraging classwise localization and sensitivity maps, balancing the susceptibility of patch location to both victim model prediction and human visual system, then employs a perceptibility-regularized adversarial loss and a gradient update rule that prioritizes color constancy for optimizing invisible perturbations. Comprehensive experiments across various image benchmarks and model architectures demonstrate that IAP consistently achieves competitive attack success rates in targeted settings with significantly improved patch invisibility compared to existing baselines. In addition to being highly imperceptible to humans, IAP is shown to be stealthy enough to render several state-of-the-art patch defenses ineffective.", "date": "2025-07-09", "categories": []} {"id": "2507.06907", "title": "Robust and Safe Traffic Sign Recognition using N-version with Weighted Voting", "abstract": "Autonomous driving is rapidly advancing as a key application of machine learning, yet ensuring the safety of these systems remains a critical challenge. Traffic sign recognition, an essential component of autonomous vehicles, is particularly vulnerable to adversarial attacks that can compromise driving safety. In this paper, we propose an N-version machine learning (NVML) framework that integrates a safety-aware weighted soft voting mechanism. Our approach utilizes Failure Mode and Effects Analysis (FMEA) to assess potential safety risks and assign dynamic, safety-aware weights to the ensemble outputs. We evaluate the robustness of three-version NVML systems employing various voting mechanisms against adversarial samples generated using the Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD) attacks. Experimental results demonstrate that our NVML approach significantly enhances the robustness and safety of traffic sign recognition systems under adversarial conditions.", "date": "2025-07-09", "categories": []} {"id": "2507.07056", "title": "LoRAShield: Data-Free Editing Alignment for Secure Personalized LoRA Sharing", "abstract": "The proliferation of Low-Rank Adaptation (LoRA) models has democratized personalized text-to-image generation, enabling users to share lightweight models (e.g., personal portraits) on platforms like Civitai and Liblib. However, this \"share-and-play\" ecosystem introduces critical risks: benign LoRAs can be weaponized by adversaries to generate harmful content (e.g., political, defamatory imagery), undermining creator rights and platform safety. Existing defenses like concept-erasure methods focus on full diffusion models (DMs), neglecting LoRA's unique role as a modular adapter and its vulnerability to adversarial prompt engineering. To bridge this gap, we propose LoRAShield, the first data-free editing framework for securing LoRA models against misuse. Our platform-driven approach dynamically edits and realigns LoRA's weight subspace via adversarial optimization and semantic augmentation. Experimental results demonstrate that LoRAShield achieves remarkable effectiveness, efficiency, and robustness in blocking malicious generations without sacrificing the functionality of the benign task. By shifting the defense to platforms, LoRAShield enables secure, scalable sharing of personalized models, a critical step toward trustworthy generative ecosystems.", "date": "2025-07-05", "categories": []} {"id": "2505.19840", "title": "One Surrogate to Fool Them All: Universal, Transferable, and Targeted Adversarial Attacks with CLIP", "abstract": "Deep Neural Networks (DNNs) have achieved widespread success yet remain prone to adversarial attacks. Typically, such attacks either involve frequent queries to the target model or rely on surrogate models closely mirroring the target model -- often trained with subsets of the target model's training data -- to achieve high attack success rates through transferability. However, in realistic scenarios where training data is inaccessible and excessive queries can raise alarms, crafting adversarial examples becomes more challenging. In this paper, we present UnivIntruder, a novel attack framework that relies solely on a single, publicly available CLIP model and publicly available datasets. By using textual concepts, UnivIntruder generates universal, transferable, and targeted adversarial perturbations that mislead DNNs into misclassifying inputs into adversary-specified classes defined by textual concepts.\n Our extensive experiments show that our approach achieves an Attack Success Rate (ASR) of up to 85% on ImageNet and over 99% on CIFAR-10, significantly outperforming existing transfer-based methods. Additionally, we reveal real-world vulnerabilities, showing that even without querying target models, UnivIntruder compromises image search engines like Google and Baidu with ASR rates up to 84%, and vision language models like GPT-4 and Claude-3.5 with ASR rates up to 80%. These findings underscore the practicality of our attack in scenarios where traditional avenues are blocked, highlighting the need to reevaluate security paradigms in AI applications.", "date": "2025-05-26", "categories": []} {"id": "2507.05441", "title": "Adversarial Machine Learning Attacks on Financial Reporting via Maximum Violated Multi-Objective Attack", "abstract": "Bad actors, primarily distressed firms, have the incentive and desire to manipulate their financial reports to hide their distress and derive personal gains. As attackers, these firms are motivated by potentially millions of dollars and the availability of many publicly disclosed and used financial modeling frameworks. Existing attack methods do not work on this data due to anti-correlated objectives that must both be satisfied for the attacker to succeed. We introduce Maximum Violated Multi-Objective (MVMO) attacks that adapt the attacker's search direction to find $20\\times$ more satisfying attacks compared to standard attacks. The result is that in $\\approx50\\%$ of cases, a company could inflate their earnings by 100-200%, while simultaneously reducing their fraud scores by 15%. By working with lawyers and professional accountants, we ensure our threat model is realistic to how such frauds are performed in practice.", "date": "2025-07-07", "categories": []} {"id": "2507.03427", "title": "Rectifying Adversarial Sample with Low Entropy Prior for Test-Time Defense", "abstract": "Existing defense methods fail to defend against unknown attacks and thus raise generalization issue of adversarial robustness. To remedy this problem, we attempt to delve into some underlying common characteristics among various attacks for generality. In this work, we reveal the commonly overlooked low entropy prior (LE) implied in various adversarial samples, and shed light on the universal robustness against unseen attacks in inference phase. LE prior is elaborated as two properties across various attacks as shown in Fig. 1 and Fig. 2: 1) low entropy misclassification for adversarial samples and 2) lower entropy prediction for higher attack intensity. This phenomenon stands in stark contrast to the naturally distributed samples. The LE prior can instruct existing test-time defense methods, thus we propose a two-stage REAL approach: Rectify Adversarial sample based on LE prior for test-time adversarial rectification. Specifically, to align adversarial samples more closely with clean samples, we propose to first rectify adversarial samples misclassified with low entropy by reverse maximizing prediction entropy, thereby eliminating their adversarial nature. To ensure the rectified samples can be correctly classified with low entropy, we carry out secondary rectification by forward minimizing prediction entropy, thus creating a Max-Min entropy optimization scheme. Further, based on the second property, we propose an attack-aware weighting mechanism to adaptively adjust the strengths of Max-Min entropy objectives. Experiments on several datasets show that REAL can greatly improve the performance of existing sample rectification models.", "date": "2025-07-04", "categories": []} {"id": "2507.03450", "title": "Evaluating the Evaluators: Trust in Adversarial Robustness Tests", "abstract": "Despite significant progress in designing powerful adversarial evasion attacks for robustness verification, the evaluation of these methods often remains inconsistent and unreliable. Many assessments rely on mismatched models, unverified implementations, and uneven computational budgets, which can lead to biased results and a false sense of security. Consequently, robustness claims built on such flawed testing protocols may be misleading and give a false sense of security. As a concrete step toward improving evaluation reliability, we present AttackBench, a benchmark framework developed to assess the effectiveness of gradient-based attacks under standardized and reproducible conditions. AttackBench serves as an evaluation tool that ranks existing attack implementations based on a novel optimality metric, which enables researchers and practitioners to identify the most reliable and effective attack for use in subsequent robustness evaluations. The framework enforces consistent testing conditions and enables continuous updates, making it a reliable foundation for robustness verification.", "date": "2025-07-04", "categories": []} {"id": "2507.03953", "title": "Evaluating Adversarial Protections for Diffusion Personalization: A Comprehensive Study", "abstract": "With the increasing adoption of diffusion models for image generation and personalization, concerns regarding privacy breaches and content misuse have become more pressing. In this study, we conduct a comprehensive comparison of eight perturbation based protection methods: AdvDM, ASPL, FSGM, MetaCloak, Mist, PhotoGuard, SDS, and SimAC--across both portrait and artwork domains. These methods are evaluated under varying perturbation budgets, using a range of metrics to assess visual imperceptibility and protective efficacy. Our results offer practical guidance for method selection. Code is available at: https://github.com/vkeilo/DiffAdvPerturbationBench.", "date": "2025-07-05", "categories": []} {"id": "2506.23661", "title": "Robustness of Misinformation Classification Systems to Adversarial Examples Through BeamAttack", "abstract": "We extend BeamAttack, an adversarial attack algorithm designed to evaluate the robustness of text classification systems through word-level modifications guided by beam search. Our extensions include support for word deletions and the option to skip substitutions, enabling the discovery of minimal modifications that alter model predictions. We also integrate LIME to better prioritize word replacements. Evaluated across multiple datasets and victim models (BiLSTM, BERT, and adversarially trained RoBERTa) within the BODEGA framework, our approach achieves over a 99\\% attack success rate while preserving the semantic and lexical similarity of the original texts. Through both quantitative and qualitative analysis, we highlight BeamAttack's effectiveness and its limitations. Our implementation is available at https://github.com/LucK1Y/BeamAttack", "date": "2025-06-30", "categories": []} {"id": "2311.01356", "title": "Upper and lower bounds for the Lipschitz constant of random neural networks", "abstract": "Empirical studies have widely demonstrated that neural networks are highly sensitive to small, adversarial perturbations of the input. The worst-case robustness against these so-called adversarial examples can be quantified by the Lipschitz constant of the neural network. In this paper, we study upper and lower bounds for the Lipschitz constant of random ReLU neural networks. Specifically, we assume that the weights and biases follow a generalization of the He initialization, where general symmetric distributions for the biases are permitted. For deep networks of fixed depth and sufficiently large width, our established upper bound is larger than the lower bound by a factor that is logarithmic in the width. In contrast, for shallow neural networks we characterize the Lipschitz constant up to an absolute numerical constant that is independent of all parameters.", "date": "2023-11-02", "categories": []} {"id": "2507.01791", "title": "Boosting Adversarial Transferability Against Defenses via Multi-Scale Transformation", "abstract": "The transferability of adversarial examples poses a significant security challenge for deep neural networks, which can be attacked without knowing anything about them. In this paper, we propose a new Segmented Gaussian Pyramid (SGP) attack method to enhance the transferability, particularly against defense models. Unlike existing methods that generally focus on single-scale images, our approach employs Gaussian filtering and three types of downsampling to construct a series of multi-scale examples. Then, the gradients of the loss function with respect to each scale are computed, and their average is used to determine the adversarial perturbations. The proposed SGP can be considered an input transformation with high extensibility that is easily integrated into most existing adversarial attacks. Extensive experiments demonstrate that in contrast to the state-of-the-art methods, SGP significantly enhances attack success rates against black-box defense models, with average attack success rates increasing by 2.3% to 32.6%, based only on transferability.", "date": "2025-07-02", "categories": []} {"id": "2501.13094", "title": "Robust Representation Consistency Model via Contrastive Denoising", "abstract": "Robustness is essential for deep neural networks, especially in security-sensitive applications. To this end, randomized smoothing provides theoretical guarantees for certifying robustness against adversarial perturbations. Recently, diffusion models have been successfully employed for randomized smoothing to purify noise-perturbed samples before making predictions with a standard classifier. While these methods excel at small perturbation radii, they struggle with larger perturbations and incur a significant computational overhead during inference compared to classical methods. To address this, we reformulate the generative modeling task along the diffusion trajectories in pixel space as a discriminative task in the latent space. Specifically, we use instance discrimination to achieve consistent representations along the trajectories by aligning temporally adjacent points. After fine-tuning based on the learned representations, our model enables implicit denoising-then-classification via a single prediction, substantially reducing inference costs. We conduct extensive experiments on various datasets and achieve state-of-the-art performance with minimal computation budget during inference. For example, our method outperforms the certified accuracy of diffusion-based methods on ImageNet across all perturbation radii by 5.3% on average, with up to 11.6% at larger radii, while reducing inference costs by 85$\\times$ on average. Codes are available at: https://github.com/jiachenlei/rRCM.", "date": "2025-01-22", "categories": []} {"id": "2507.00015", "title": "Vision Transformer with Adversarial Indicator Token against Adversarial Attacks in Radio Signal Classifications", "abstract": "The remarkable success of transformers across various fields such as natural language processing and computer vision has paved the way for their applications in automatic modulation classification, a critical component in the communication systems of Internet of Things (IoT) devices. However, it has been observed that transformer-based classification of radio signals is susceptible to subtle yet sophisticated adversarial attacks. To address this issue, we have developed a defensive strategy for transformer-based modulation classification systems to counter such adversarial attacks. In this paper, we propose a novel vision transformer (ViT) architecture by introducing a new concept known as adversarial indicator (AdvI) token to detect adversarial attacks. To the best of our knowledge, this is the first work to propose an AdvI token in ViT to defend against adversarial attacks. Integrating an adversarial training method with a detection mechanism using AdvI token, we combine a training time defense and running time defense in a unified neural network model, which reduces architectural complexity of the system compared to detecting adversarial perturbations using separate models. We investigate into the operational principles of our method by examining the attention mechanism. We show the proposed AdvI token acts as a crucial element within the ViT, influencing attention weights and thereby highlighting regions or features in the input data that are potentially suspicious or anomalous. Through experimental results, we demonstrate that our approach surpasses several competitive methods in handling white-box attack scenarios, including those utilizing the fast gradient method, projected gradient descent attacks and basic iterative method.", "date": "2025-06-13", "categories": []} {"id": "2507.00690", "title": "Cage-Based Deformation for Transferable and Undefendable Point Cloud Attack", "abstract": "Adversarial attacks on point clouds often impose strict geometric constraints to preserve plausibility; however, such constraints inherently limit transferability and undefendability. While deformation offers an alternative, existing unstructured approaches may introduce unnatural distortions, making adversarial point clouds conspicuous and undermining their plausibility. In this paper, we propose CageAttack, a cage-based deformation framework that produces natural adversarial point clouds. It first constructs a cage around the target object, providing a structured basis for smooth, natural-looking deformation. Perturbations are then applied to the cage vertices, which seamlessly propagate to the point cloud, ensuring that the resulting deformations remain intrinsic to the object and preserve plausibility. Extensive experiments on seven 3D deep neural network classifiers across three datasets show that CageAttack achieves a superior balance among transferability, undefendability, and plausibility, outperforming state-of-the-art methods. Codes will be made public upon acceptance.", "date": "2025-07-01", "categories": []} {"id": "2507.00817", "title": "CAVALRY-V: A Large-Scale Generator Framework for Adversarial Attacks on Video MLLMs", "abstract": "Video Multimodal Large Language Models (V-MLLMs) have shown impressive capabilities in temporal reasoning and cross-modal understanding, yet their vulnerability to adversarial attacks remains underexplored due to unique challenges: complex cross-modal reasoning mechanisms, temporal dependencies, and computational constraints. We present CAVALRY-V (Cross-modal Language-Vision Adversarial Yielding for Videos), a novel framework that directly targets the critical interface between visual perception and language generation in V-MLLMs. Our approach introduces two key innovations: (1) a dual-objective semantic-visual loss function that simultaneously disrupts the model's text generation logits and visual representations to undermine cross-modal integration, and (2) a computationally efficient two-stage generator framework that combines large-scale pre-training for cross-model transferability with specialized fine-tuning for spatiotemporal coherence. Empirical evaluation on comprehensive video understanding benchmarks demonstrates that CAVALRY-V significantly outperforms existing attack methods, achieving 22.8% average improvement over the best baseline attacks on both commercial systems (GPT-4.1, Gemini 2.0) and open-source models (QwenVL-2.5, InternVL-2.5, Llava-Video, Aria, MiniCPM-o-2.6). Our framework achieves flexibility through implicit temporal coherence modeling rather than explicit regularization, enabling significant performance improvements even on image understanding (34.4% average gain). This capability demonstrates CAVALRY-V's potential as a foundational approach for adversarial research across multimodal systems.", "date": "2025-07-01", "categories": []} {"id": "2310.11594", "title": "Adversarial Robustness Unhardening via Backdoor Attacks in Federated Learning", "abstract": "The delicate equilibrium between user privacy and the ability to unleash the potential of distributed data is an important concern. Federated learning, which enables the training of collaborative models without sharing of data, has emerged as a privacy-centric solution. This approach brings forth security challenges, notably poisoning and backdoor attacks where malicious entities inject corrupted data into the training process, as well as evasion attacks that aim to induce misclassifications at test time. Our research investigates the intersection of adversarial training, a common defense method against evasion attacks, and backdoor attacks within federated learning. We introduce Adversarial Robustness Unhardening (ARU), which is employed by a subset of adversarial clients to intentionally undermine model robustness during federated training, rendering models susceptible to a broader range of evasion attacks. We present extensive experiments evaluating ARU's impact on adversarial training and existing robust aggregation defenses against poisoning and backdoor attacks. Our results show that ARU can substantially undermine adversarial training's ability to harden models against test-time evasion attacks, and that adversaries employing ARU can even evade robust aggregation defenses that often neutralize poisoning or backdoor attacks.", "date": "2023-10-17", "categories": []} {"id": "2410.01697", "title": "Enhancing Adversarial Robustness through Multi-Objective Representation Learning", "abstract": "Deep neural networks (DNNs) are vulnerable to small adversarial perturbations, which are tiny changes to the input data that appear insignificant but cause the model to produce drastically different outputs. Many defense methods require modifying model architectures during evaluation or performing test-time data purification. This not only introduces additional complexity but is often architecture-dependent. We show, however, that robust feature learning during training can significantly enhance DNN robustness. We propose MOREL, a multi-objective approach that aligns natural and adversarial features using cosine similarity and multi-positive contrastive losses to encourage similar features for same-class inputs. Extensive experiments demonstrate that MOREL significantly improves robustness against both white-box and black-box attacks. Our code is available at https://github.com/salomonhotegni/MOREL", "date": "2024-10-02", "categories": []} {"id": "2411.05853", "title": "A Fundamental Accuracy--Robustness Trade-off in Regression and Classification", "abstract": "We derive a fundamental trade-off between standard and adversarial risk in a rather general situation that formalizes the following simple intuition: \"If no (nearly) optimal predictor is smooth, adversarial robustness comes at the cost of accuracy.\" As a concrete example, we evaluate the derived trade-off in regression with polynomial ridge functions under mild regularity conditions. Generalizing our analysis of this example, we formulate a necessary condition under which adversarial robustness can be achieved without significant degradation of the accuracy. This necessary condition is expressed in terms of a quantity that resembles the Poincar\\'{e} constant of the data distribution.", "date": "2024-11-06", "categories": []} {"id": "2506.22602", "title": "Are Fast Methods Stable in Adversarially Robust Transfer Learning?", "abstract": "Transfer learning is often used to decrease the computational cost of model training, as fine-tuning a model allows a downstream task to leverage the features learned from the pre-training dataset and quickly adapt them to a new task. This is particularly useful for achieving adversarial robustness, as adversarially training models from scratch is very computationally expensive. However, high robustness in transfer learning still requires adversarial training during the fine-tuning phase, which requires up to an order of magnitude more time than standard fine-tuning. In this work, we revisit the use of the fast gradient sign method (FGSM) in robust transfer learning to improve the computational cost of adversarial fine-tuning. We surprisingly find that FGSM is much more stable in adversarial fine-tuning than when training from scratch. In particular, FGSM fine-tuning does not suffer from any issues with catastrophic overfitting at standard perturbation budgets of $\\varepsilon=4$ or $\\varepsilon=8$. This stability is further enhanced with parameter-efficient fine-tuning methods, where FGSM remains stable even up to $\\varepsilon=32$ for linear probing. We demonstrate how this stability translates into performance across multiple datasets. Compared to fine-tuning with the more commonly used method of projected gradient descent (PGD), on average, FGSM only loses 0.39% and 1.39% test robustness for $\\varepsilon=4$ and $\\varepsilon=8$ while using $4\\times$ less training time. Surprisingly, FGSM may not only be a significantly more efficient alternative to PGD in adversarially robust transfer learning but also a well-performing one.", "date": "2025-06-27", "categories": []} {"id": "2506.22722", "title": "Kill Two Birds with One Stone! Trajectory enabled Unified Online Detection of Adversarial Examples and Backdoor Attacks", "abstract": "The proposed UniGuard is the first unified online detection framework capable of simultaneously addressing adversarial examples and backdoor attacks. UniGuard builds upon two key insights: first, both AE and backdoor attacks have to compromise the inference phase, making it possible to tackle them simultaneously during run-time via online detection. Second, an adversarial input, whether a perturbed sample in AE attacks or a trigger-carrying sample in backdoor attacks, exhibits distinctive trajectory signatures from a benign sample as it propagates through the layers of a DL model in forward inference. The propagation trajectory of the adversarial sample must deviate from that of its benign counterpart; otherwise, the adversarial objective cannot be fulfilled. Detecting these trajectory signatures is inherently challenging due to their subtlety; UniGuard overcomes this by treating the propagation trajectory as a time-series signal, leveraging LSTM and spectrum transformation to amplify differences between adversarial and benign trajectories that are subtle in the time domain. UniGuard exceptional efficiency and effectiveness have been extensively validated across various modalities (image, text, and audio) and tasks (classification and regression), ranging from diverse model architectures against a wide range of AE attacks and backdoor attacks, including challenging partial backdoors and dynamic triggers. When compared to SOTA methods, including ContraNet (NDSS 22) specific for AE detection and TED (IEEE SP 24) specific for backdoor detection, UniGuard consistently demonstrates superior performance, even when matched against each method's strengths in addressing their respective threats-each SOTA fails to parts of attack strategies while UniGuard succeeds for all.", "date": "2025-06-28", "categories": []} {"id": "2506.23676", "title": "A Unified Framework for Stealthy Adversarial Generation via Latent Optimization and Transferability Enhancement", "abstract": "Due to their powerful image generation capabilities, diffusion-based adversarial example generation methods through image editing are rapidly gaining popularity. However, due to reliance on the discriminative capability of the diffusion model, these diffusion-based methods often struggle to generalize beyond conventional image classification tasks, such as in Deepfake detection. Moreover, traditional strategies for enhancing adversarial example transferability are challenging to adapt to these methods. To address these challenges, we propose a unified framework that seamlessly incorporates traditional transferability enhancement strategies into diffusion model-based adversarial example generation via image editing, enabling their application across a wider range of downstream tasks. Our method won first place in the \"1st Adversarial Attacks on Deepfake Detectors: A Challenge in the Era of AI-Generated Media\" competition at ACM MM25, which validates the effectiveness of our approach.", "date": "2025-06-30", "categories": []} {"id": "2506.24048", "title": "Consensus-based optimization for closed-box adversarial attacks and a connection to evolution strategies", "abstract": "Consensus-based optimization (CBO) has established itself as an efficient gradient-free optimization scheme, with attractive mathematical properties, such as mean-field convergence results for non-convex loss functions. In this work, we study CBO in the context of closed-box adversarial attacks, which are imperceptible input perturbations that aim to fool a classifier, without accessing its gradient. Our contribution is to establish a connection between the so-called consensus hopping as introduced by Riedl et al. and natural evolution strategies (NES) commonly applied in the context of adversarial attacks and to rigorously relate both methods to gradient-based optimization schemes. Beyond that, we provide a comprehensive experimental study that shows that despite the conceptual similarities, CBO can outperform NES and other evolutionary strategies in certain scenarios.", "date": "2025-06-30", "categories": []} {"id": "2305.09305", "title": "Releasing Inequality Phenomenon in $\\ell_{\\infty}$-norm Adversarial Training via Input Gradient Distillation", "abstract": "Adversarial training (AT) is considered the most effective defense against adversarial attacks. However, a recent study revealed that \\(\\ell_{\\infty}\\)-norm adversarial training (\\(\\ell_{\\infty}\\)-AT) will also induce unevenly distributed input gradients, which is called the inequality phenomenon. This phenomenon makes the \\(\\ell_{\\infty}\\)-norm adversarially trained model more vulnerable than the standard-trained model when high-attribution or randomly selected pixels are perturbed, enabling robust and practical black-box attacks against \\(\\ell_{\\infty}\\)-adversarially trained models. In this paper, we propose a simple yet effective method called Input Gradient Distillation (IGD) to release the inequality phenomenon in $\\ell_{\\infty}$-AT. IGD distills the standard-trained teacher model's equal decision pattern into the $\\ell_{\\infty}$-adversarially trained student model by aligning input gradients of the student model and the standard-trained model with the Cosine Similarity. Experiments show that IGD can mitigate the inequality phenomenon and its threats while preserving adversarial robustness. Compared to vanilla $\\ell_{\\infty}$-AT, IGD reduces error rates against inductive noise, inductive occlusion, random noise, and noisy images in ImageNet-C by up to 60\\%, 16\\%, 50\\%, and 21\\%, respectively. Other than empirical experiments, we also conduct a theoretical analysis to explain why releasing the inequality phenomenon can improve such robustness and discuss why the severity of the inequality phenomenon varies according to the dataset's image resolution. Our code is available at https://github.com/fhdnskfbeuv/Inuput-Gradient-Distillation", "date": "2023-05-16", "categories": []} {"id": "2403.12988", "title": "Enhancing Object Detection Robustness: Detecting and Restoring Confidence in the Presence of Adversarial Patch Attacks", "abstract": "The widespread adoption of computer vision systems has underscored their susceptibility to adversarial attacks, particularly adversarial patch attacks on object detectors. This study evaluates defense mechanisms for the YOLOv5 model against such attacks. Optimized adversarial patches were generated and placed in sensitive image regions, by applying EigenCAM and grid search to determine optimal placement. We tested several defenses, including Segment and Complete (SAC), Inpainting, and Latent Diffusion Models. Our pipeline comprises three main stages: patch application, object detection, and defense analysis. Results indicate that adversarial patches reduce average detection confidence by 22.06\\%. Defenses restored confidence levels by 3.45\\% (SAC), 5.05\\% (Inpainting), and significantly improved them by 26.61\\%, which even exceeds the original accuracy levels, when using the Latent Diffusion Model, highlighting its superior effectiveness in mitigating the effects of adversarial patches.", "date": "2024-03-04", "categories": []} {"id": "2506.21874", "title": "On the Feasibility of Poisoning Text-to-Image AI Models via Adversarial Mislabeling", "abstract": "Today's text-to-image generative models are trained on millions of images sourced from the Internet, each paired with a detailed caption produced by Vision-Language Models (VLMs). This part of the training pipeline is critical for supplying the models with large volumes of high-quality image-caption pairs during training. However, recent work suggests that VLMs are vulnerable to stealthy adversarial attacks, where adversarial perturbations are added to images to mislead the VLMs into producing incorrect captions.\n In this paper, we explore the feasibility of adversarial mislabeling attacks on VLMs as a mechanism to poisoning training pipelines for text-to-image models. Our experiments demonstrate that VLMs are highly vulnerable to adversarial perturbations, allowing attackers to produce benign-looking images that are consistently miscaptioned by the VLM models. This has the effect of injecting strong \"dirty-label\" poison samples into the training pipeline for text-to-image models, successfully altering their behavior with a small number of poisoned samples. We find that while potential defenses can be effective, they can be targeted and circumvented by adaptive attackers. This suggests a cat-and-mouse game that is likely to reduce the quality of training data and increase the cost of text-to-image model development. Finally, we demonstrate the real-world effectiveness of these attacks, achieving high attack success (over 73%) even in black-box scenarios against commercial VLMs (Google Vertex AI and Microsoft Azure).", "date": "2025-06-27", "categories": []} {"id": "2401.10586", "title": "PuriDefense: Randomized Local Implicit Adversarial Purification for Defending Black-box Query-based Attacks", "abstract": "Black-box query-based attacks constitute significant threats to Machine Learning as a Service (MLaaS) systems since they can generate adversarial examples without accessing the target model's architecture and parameters. Traditional defense mechanisms, such as adversarial training, gradient masking, and input transformations, either impose substantial computational costs or compromise the test accuracy of non-adversarial inputs. To address these challenges, we propose an efficient defense mechanism, PuriDefense, that employs random patch-wise purifications with an ensemble of lightweight purification models at a low level of inference cost. These models leverage the local implicit function and rebuild the natural image manifold. Our theoretical analysis suggests that this approach slows down the convergence of query-based attacks by incorporating randomness into purifications. Extensive experiments on CIFAR-10 and ImageNet validate the effectiveness of our proposed purifier-based defense mechanism, demonstrating significant improvements in robustness against query-based attacks.", "date": "2024-01-19", "categories": []} {"id": "2506.14539", "title": "Doppelganger Method: Breaking Role Consistency in LLM Agent via Prompt-based Transferable Adversarial Attack", "abstract": "Since the advent of large language models, prompt engineering now enables the rapid, low-effort creation of diverse autonomous agents that are already in widespread use. Yet this convenience raises urgent concerns about the safety, robustness, and behavioral consistency of the underlying prompts, along with the pressing challenge of preventing those prompts from being exposed to user's attempts. In this paper, we propose the ''Doppelganger method'' to demonstrate the risk of an agent being hijacked, thereby exposing system instructions and internal information. Next, we define the ''Prompt Alignment Collapse under Adversarial Transfer (PACAT)'' level to evaluate the vulnerability to this adversarial transfer attack. We also propose a ''Caution for Adversarial Transfer (CAT)'' prompt to counter the Doppelganger method. The experimental results demonstrate that the Doppelganger method can compromise the agent's consistency and expose its internal information. In contrast, CAT prompts enable effective defense against this adversarial attack.", "date": "2025-06-17", "categories": []} {"id": "2506.20816", "title": "Universal and Efficient Detection of Adversarial Data through Nonuniform Impact on Network Layers", "abstract": "Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial input designs with limited noise budgets. While numerous successful attacks with subtle modifications to original input have been proposed, defense techniques against these attacks are relatively understudied. Existing defense approaches either focus on improving DNN robustness by negating the effects of perturbations or use a secondary model to detect adversarial data. Although equally important, the attack detection approach, which is studied in this work, provides a more practical defense compared to the robustness approach. We show that the existing detection methods are either ineffective against the state-of-the-art attack techniques or computationally inefficient for real-time processing. We propose a novel universal and efficient method to detect adversarial examples by analyzing the varying degrees of impact of attacks on different DNN layers. {Our method trains a lightweight regression model that predicts deeper-layer features from early-layer features, and uses the prediction error to detect adversarial samples.} Through theoretical arguments and extensive experiments, we demonstrate that our detection method is highly effective, computationally efficient for real-time processing, compatible with any DNN architecture, and applicable across different domains, such as image, video, and audio.", "date": "2025-06-25", "categories": []} {"id": "2502.01633", "title": "Adversarial Reasoning at Jailbreaking Time", "abstract": "As large language models (LLMs) are becoming more capable and widespread, the study of their failure cases is becoming increasingly important. Recent advances in standardizing, measuring, and scaling test-time compute suggest new methodologies for optimizing models to achieve high performance on hard tasks. In this paper, we apply these advances to the task of model jailbreaking: eliciting harmful responses from aligned LLMs. We develop an adversarial reasoning approach to automatic jailbreaking that leverages a loss signal to guide the test-time compute, achieving SOTA attack success rates against many aligned LLMs, even those that aim to trade inference-time compute for adversarial robustness. Our approach introduces a new paradigm in understanding LLM vulnerabilities, laying the foundation for the development of more robust and trustworthy AI systems.", "date": "2025-02-03", "categories": []} {"id": "2506.19871", "title": "An Attack Method for Medical Insurance Claim Fraud Detection based on Generative Adversarial Network", "abstract": "Insurance fraud detection represents a pivotal advancement in modern insurance service, providing intelligent and digitalized monitoring to enhance management and prevent fraud. It is crucial for ensuring the security and efficiency of insurance systems. Although AI and machine learning algorithms have demonstrated strong performance in detecting fraudulent claims, the absence of standardized defense mechanisms renders current systems vulnerable to emerging adversarial threats. In this paper, we propose a GAN-based approach to conduct adversarial attacks on fraud detection systems. Our results indicate that an attacker, without knowledge of the training data or internal model details, can generate fraudulent cases that are classified as legitimate with a 99\\% attack success rate (ASR). By subtly modifying real insurance records and claims, adversaries can significantly increase the fraud risk, potentially bypassing compromised detection systems. These findings underscore the urgent need to enhance the robustness of insurance fraud detection models against adversarial manipulation, thereby ensuring the stability and reliability of different insurance systems.", "date": "2025-06-22", "categories": []} {"id": "2506.20576", "title": "Vulnerability Disclosure through Adaptive Black-Box Adversarial Attacks on NIDS", "abstract": "Adversarial attacks, wherein slight inputs are carefully crafted to mislead intelligent models, have attracted increasing attention. However, a critical gap persists between theoretical advancements and practical application, particularly in structured data like network traffic, where interdependent features complicate effective adversarial manipulations. Moreover, ambiguity in current approaches restricts reproducibility and limits progress in this field. Hence, existing defenses often fail to handle evolving adversarial attacks. This paper proposes a novel approach for black-box adversarial attacks, that addresses these limitations. Unlike prior work, which often assumes system access or relies on repeated probing, our method strictly respect black-box constraints, reducing interaction to avoid detection and better reflect real-world scenarios. We present an adaptive feature selection strategy using change-point detection and causality analysis to identify and target sensitive features to perturbations. This lightweight design ensures low computational cost and high deployability. Our comprehensive experiments show the attack's effectiveness in evading detection with minimal interaction, enhancing its adaptability and applicability in real-world scenarios. By advancing the understanding of adversarial attacks in network traffic, this work lays a foundation for developing robust defenses.", "date": "2025-06-25", "categories": []} {"id": "2506.18591", "title": "SpaNN: Detecting Multiple Adversarial Patches on CNNs by Spanning Saliency Thresholds", "abstract": "State-of-the-art convolutional neural network models for object detection and image classification are vulnerable to physically realizable adversarial perturbations, such as patch attacks. Existing defenses have focused, implicitly or explicitly, on single-patch attacks, leaving their sensitivity to the number of patches as an open question or rendering them computationally infeasible or inefficient against attacks consisting of multiple patches in the worst cases. In this work, we propose SpaNN, an attack detector whose computational complexity is independent of the expected number of adversarial patches. The key novelty of the proposed detector is that it builds an ensemble of binarized feature maps by applying a set of saliency thresholds to the neural activations of the first convolutional layer of the victim model. It then performs clustering on the ensemble and uses the cluster features as the input to a classifier for attack detection. Contrary to existing detectors, SpaNN does not rely on a fixed saliency threshold for identifying adversarial regions, which makes it robust against white box adversarial attacks. We evaluate SpaNN on four widely used data sets for object detection and classification, and our results show that SpaNN outperforms state-of-the-art defenses by up to 11 and 27 percentage points in the case of object detection and the case of image classification, respectively. Our code is available at https://github.com/gerkbyrd/SpaNN.", "date": "2025-06-23", "categories": []} {"id": "2305.17528", "title": "Two Heads are Actually Better than One: Towards Better Adversarial Robustness via Transduction and Rejection", "abstract": "Both transduction and rejection have emerged as important techniques for defending against adversarial perturbations. A recent work by Goldwasser et al. showed that rejection combined with transduction can give provable guarantees (for certain problems) that cannot be achieved otherwise. Nevertheless, under recent strong adversarial attacks, their work was shown to have low performance in a practical deep-learning setting. In this paper, we take a step towards realizing the promise of transduction+rejection in more realistic scenarios. Our key observation is that a novel application of a reduction technique by Tram\\`er, which was until now only used to demonstrate the vulnerability of certain defenses, can be used to actually construct effective defenses. Theoretically, we show that a careful application of this technique in the transductive setting can give significantly improved sample-complexity for robust generalization. Our theory guides us to design a new transductive algorithm for learning a selective model; extensive experiments using state of the art attacks show that our approach provides significantly better robust accuracy (81.6% on CIFAR-10 and 57.9% on CIFAR-100 under $l_\\infty$ with budget 8/255) than existing techniques.", "date": "2023-05-27", "categories": []} {"id": "2401.01752", "title": "FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers", "abstract": "In recent years, the Vision Transformer (ViT) model has gradually become mainstream in various computer vision tasks, and the robustness of the model has received increasing attention. However, existing large models tend to prioritize performance during training, potentially neglecting the robustness, which may lead to serious security concerns. In this paper, we establish a new challenge: exploring how to use a small number of additional parameters for adversarial finetuning to quickly and effectively enhance the adversarial robustness of a standardly trained model. To address this challenge, we develop novel LNLoRA module, incorporating a learnable layer normalization before the conventional LoRA module, which helps mitigate magnitude differences in parameters between the adversarial and standard training paradigms. Furthermore, we propose the FullLoRA framework by integrating the learnable LNLoRA modules into all key components of ViT-based models while keeping the pretrained model frozen, which can significantly improve the model robustness via adversarial finetuning in a parameter-efficient manner. Extensive experiments on several datasets demonstrate the superiority of our proposed FullLoRA framework. It achieves comparable robustness with full finetuning while only requiring about 5\\% of the learnable parameters. This also effectively addresses concerns regarding extra model storage space and enormous training time caused by adversarial finetuning.", "date": "2024-01-03", "categories": []} {"id": "2506.17250", "title": "Towards Interpretable Adversarial Examples via Sparse Adversarial Attack", "abstract": "Sparse attacks are to optimize the magnitude of adversarial perturbations for fooling deep neural networks (DNNs) involving only a few perturbed pixels (i.e., under the l0 constraint), suitable for interpreting the vulnerability of DNNs. However, existing solutions fail to yield interpretable adversarial examples due to their poor sparsity. Worse still, they often struggle with heavy computational overhead, poor transferability, and weak attack strength. In this paper, we aim to develop a sparse attack for understanding the vulnerability of CNNs by minimizing the magnitude of initial perturbations under the l0 constraint, to overcome the existing drawbacks while achieving a fast, transferable, and strong attack to DNNs. In particular, a novel and theoretical sound parameterization technique is introduced to approximate the NP-hard l0 optimization problem, making directly optimizing sparse perturbations computationally feasible. Besides, a novel loss function is designed to augment initial perturbations by maximizing the adversary property and minimizing the number of perturbed pixels simultaneously. Extensive experiments are conducted to demonstrate that our approach, with theoretical performance guarantees, outperforms state-of-the-art sparse attacks in terms of computational overhead, transferability, and attack strength, expecting to serve as a benchmark for evaluating the robustness of DNNs. In addition, theoretical and empirical results validate that our approach yields sparser adversarial examples, empowering us to discover two categories of noises, i.e., \"obscuring noise\" and \"leading noise\", which will help interpret how adversarial perturbation misleads the classifiers into incorrect predictions. Our code is available at https://github.com/fudong03/SparseAttack.", "date": "2025-06-08", "categories": []} {"id": "2506.18304", "title": "Sharpening the Spear: Adaptive Expert-Guided Adversarial Attack Against DRL-based Autonomous Driving Policies", "abstract": "Deep reinforcement learning (DRL) has emerged as a promising paradigm for autonomous driving. However, despite their advanced capabilities, DRL-based policies remain highly vulnerable to adversarial attacks, posing serious safety risks in real-world deployments. Investigating such attacks is crucial for revealing policy vulnerabilities and guiding the development of more robust autonomous systems. While prior attack methods have made notable progress, they still face several challenges: 1) they often rely on high-frequency attacks, yet critical attack opportunities are typically context-dependent and temporally sparse, resulting in inefficient attack patterns; 2) restricting attack frequency can improve efficiency but often results in unstable training due to the adversary's limited exploration. To address these challenges, we propose an adaptive expert-guided adversarial attack method that enhances both the stability and efficiency of attack policy training. Our method first derives an expert policy from successful attack demonstrations using imitation learning, strengthened by an ensemble Mixture-of-Experts architecture for robust generalization across scenarios. This expert policy then guides a DRL-based adversary through a KL-divergence regularization term. Due to the diversity of scenarios, expert policies may be imperfect. To address this, we further introduce a performance-aware annealing strategy that gradually reduces reliance on the expert as the adversary improves. Extensive experiments demonstrate that our method achieves outperforms existing approaches in terms of collision rate, attack efficiency, and training stability, especially in cases where the expert policy is sub-optimal.", "date": "2025-06-23", "categories": []} {"id": "2311.16487", "title": "On the Robustness of Decision-Focused Learning", "abstract": "Decision-Focused Learning (DFL) is an emerging learning paradigm that tackles the task of training a machine learning (ML) model to predict missing parameters of an incomplete optimization problem, where the missing parameters are predicted. DFL trains an ML model in an end-to-end system, by integrating the prediction and optimization tasks, providing better alignment of the training and testing objectives. DFL has shown a lot of promise and holds the capacity to revolutionize decision-making in many real-world applications. However, very little is known about the performance of these models under adversarial attacks. We adopt ten unique DFL methods and benchmark their performance under two distinctly focused attacks adapted towards the Predict-then-Optimize problem setting. Our study proposes the hypothesis that the robustness of a model is highly correlated with its ability to find predictions that lead to optimal decisions without deviating from the ground-truth label. Furthermore, we provide insight into how to target the models that violate this condition and show how these models respond differently depending on the achieved optimality at the end of their training cycles.", "date": "2023-11-28", "categories": []} {"id": "2406.03458", "title": "Distributional Adversarial Loss", "abstract": "We initiate the study of a new notion of adversarial loss which we call distributional adversarial loss. In this notion, we assume for each original example, the allowed adversarial perturbation set is a family of distributions, and the adversarial loss over each example is the maximum loss over all the associated distributions. The goal is to minimize the overall adversarial loss. We show sample complexity bounds in the PAC-learning setting for our notion of adversarial loss. Our notion of adversarial loss contrasts the prior work on robust learning that considers a set of points, not distributions, as the perturbation set of each clean example. As an application of our approach, we show how to unify the two lines of work on randomized smoothing and robust learning in the PAC-learning setting and derive sample complexity bounds for randomized smoothing methods.\n Furthermore, we investigate the role of randomness in achieving robustness against adversarial attacks. We show a general derandomization technique that preserves the extent of a randomized classifier's robustness against adversarial attacks and show its effectiveness empirically.", "date": "2024-06-05", "categories": []} {"id": "2502.09271", "title": "LiSA: Leveraging Link Recommender to Attack Graph Neural Networks via Subgraph Injection", "abstract": "Graph Neural Networks (GNNs) have demonstrated remarkable proficiency in modeling data with graph structures, yet recent research reveals their susceptibility to adversarial attacks. Traditional attack methodologies, which rely on manipulating the original graph or adding links to artificially created nodes, often prove impractical in real-world settings. This paper introduces a novel adversarial scenario involving the injection of an isolated subgraph to deceive both the link recommender and the node classifier within a GNN system. Specifically, the link recommender is mislead to propose links between targeted victim nodes and the subgraph, encouraging users to unintentionally establish connections and that would degrade the node classification accuracy, thereby facilitating a successful attack. To address this, we present the LiSA framework, which employs a dual surrogate model and bi-level optimization to simultaneously meet two adversarial objectives. Extensive experiments on real-world datasets demonstrate the effectiveness of our method.", "date": "2025-02-13", "categories": []} {"id": "2506.11611", "title": "KCES: Training-Free Defense for Robust Graph Neural Networks via Kernel Complexity", "abstract": "Graph Neural Networks (GNNs) have achieved impressive success across a wide range of graph-based tasks, yet they remain highly vulnerable to small, imperceptible perturbations and adversarial attacks. Although numerous defense methods have been proposed to address these vulnerabilities, many rely on heuristic metrics, overfit to specific attack patterns, and suffer from high computational complexity. In this paper, we propose Kernel Complexity-Based Edge Sanitization (KCES), a training-free, model-agnostic defense framework. KCES leverages Graph Kernel Complexity (GKC), a novel metric derived from the graph's Gram matrix that characterizes GNN generalization via its test error bound. Building on GKC, we define a KC score for each edge, measuring the change in GKC when the edge is removed. Edges with high KC scores, typically introduced by adversarial perturbations, are pruned to mitigate their harmful effects, thereby enhancing GNNs' robustness. KCES can also be seamlessly integrated with existing defense strategies as a plug-and-play module without requiring training. Theoretical analysis and extensive experiments demonstrate that KCES consistently enhances GNN robustness, outperforms state-of-the-art baselines, and amplifies the effectiveness of existing defenses, offering a principled and efficient solution for securing GNNs.", "date": "2025-06-13", "categories": []} {"id": "2506.15988", "title": "Adversarial Attacks and Detection in Visual Place Recognition for Safer Robot Navigation", "abstract": "Stand-alone Visual Place Recognition (VPR) systems have little defence against a well-designed adversarial attack, which can lead to disastrous consequences when deployed for robot navigation. This paper extensively analyzes the effect of four adversarial attacks common in other perception tasks and four novel VPR-specific attacks on VPR localization performance. We then propose how to close the loop between VPR, an Adversarial Attack Detector (AAD), and active navigation decisions by demonstrating the performance benefit of simulated AADs in a novel experiment paradigm -- which we detail for the robotics community to use as a system framework. In the proposed experiment paradigm, we see the addition of AADs across a range of detection accuracies can improve performance over baseline; demonstrating a significant improvement -- such as a ~50% reduction in the mean along-track localization error -- can be achieved with True Positive and False Positive detection rates of only 75% and up to 25% respectively. We examine a variety of metrics including: Along-Track Error, Percentage of Time Attacked, Percentage of Time in an `Unsafe' State, and Longest Continuous Time Under Attack. Expanding further on these results, we provide the first investigation into the efficacy of the Fast Gradient Sign Method (FGSM) adversarial attack for VPR. The analysis in this work highlights the need for AADs in real-world systems for trustworthy navigation, and informs quantitative requirements for system design.", "date": "2025-06-19", "categories": []} {"id": "2506.16407", "title": "Robustness Evaluation of OCR-based Visual Document Understanding under Multi-Modal Adversarial Attacks", "abstract": "Visual Document Understanding (VDU) systems have achieved strong performance in information extraction by integrating textual, layout, and visual signals. However, their robustness under realistic adversarial perturbations remains insufficiently explored. We introduce the first unified framework for generating and evaluating multi-modal adversarial attacks on OCR-based VDU models. Our method covers six gradient-based layout attack scenarios, incorporating manipulations of OCR bounding boxes, pixels, and texts across both word and line granularities, with constraints on layout perturbation budget (e.g., IoU >= 0.6) to preserve plausibility.\n Experimental results across four datasets (FUNSD, CORD, SROIE, DocVQA) and six model families demonstrate that line-level attacks and compound perturbations (BBox + Pixel + Text) yield the most severe performance degradation. Projected Gradient Descent (PGD)-based BBox perturbations outperform random-shift baselines in all investigated models. Ablation studies further validate the impact of layout budget, text modification, and adversarial transferability.", "date": "2025-06-19", "categories": []} {"id": "2506.17133", "title": "Robust Training with Data Augmentation for Medical Imaging Classification", "abstract": "Deep neural networks are increasingly being used to detect and diagnose medical conditions using medical imaging. Despite their utility, these models are highly vulnerable to adversarial attacks and distribution shifts, which can affect diagnostic reliability and undermine trust among healthcare professionals. In this study, we propose a robust training algorithm with data augmentation (RTDA) to mitigate these vulnerabilities in medical image classification. We benchmark classifier robustness against adversarial perturbations and natural variations of RTDA and six competing baseline techniques, including adversarial training and data augmentation approaches in isolation and combination, using experimental data sets with three different imaging technologies (mammograms, X-rays, and ultrasound). We demonstrate that RTDA achieves superior robustness against adversarial attacks and improved generalization performance in the presence of distribution shift in each image classification task while maintaining high clean accuracy.", "date": "2025-06-20", "categories": []} {"id": "2409.07448", "title": "A Novel Perturb-ability Score to Mitigate Evasion Adversarial Attacks on Flow-Based ML-NIDS", "abstract": "As network security threats evolve, safeguarding flow-based Machine Learning (ML)-based Network Intrusion Detection Systems (NIDS) from evasion adversarial attacks is crucial. This paper introduces the notion of feature perturb-ability and presents a novel Perturb-ability Score (PS), which quantifies how susceptible NIDS features are to manipulation in the problem-space by an attacker. PS thereby identifies features structurally resistant to evasion attacks in flow-based ML-NIDS due to the semantics of network traffic fields, as these features are constrained by domain-specific limitations and correlations. Consequently, attempts to manipulate such features would likely either compromise the attack's malicious functionality, render the traffic invalid for processing, or potentially both outcomes simultaneously.\n We introduce and demonstrate the effectiveness of our PS-enabled defenses, PS-guided feature selection and PS-guided feature masking, in enhancing flow-based NIDS resilience. Experimental results across various ML-based NIDS models and public datasets show that discarding or masking highly manipulatable features (high-PS features) can maintain solid detection performance while significantly reducing vulnerability to evasion adversarial attacks. Our findings confirm that PS effectively identifies flow-based NIDS features susceptible to problem-space perturbations. This novel approach leverages problem-space NIDS domain constraints as lightweight universal defense mechanisms against evasion adversarial attacks targeting flow-based ML-NIDS.", "date": "2024-09-11", "categories": []} {"id": "2506.15506", "title": "Insights on Adversarial Attacks for Tabular Machine Learning via a Systematic Literature Review", "abstract": "Adversarial attacks in machine learning have been extensively reviewed in areas like computer vision and NLP, but research on tabular data remains scattered. This paper provides the first systematic literature review focused on adversarial attacks targeting tabular machine learning models. We highlight key trends, categorize attack strategies and analyze how they address practical considerations for real-world applicability. Additionally, we outline current challenges and open research questions. By offering a clear and structured overview, this review aims to guide future efforts in understanding and addressing adversarial vulnerabilities in tabular machine learning.", "date": "2025-06-18", "categories": []} {"id": "2506.14374", "title": "Excessive Reasoning Attack on Reasoning LLMs", "abstract": "Recent reasoning large language models (LLMs), such as OpenAI o1 and DeepSeek-R1, exhibit strong performance on complex tasks through test-time inference scaling. However, prior studies have shown that these models often incur significant computational costs due to excessive reasoning, such as frequent switching between reasoning trajectories (e.g., underthinking) or redundant reasoning on simple questions (e.g., overthinking). In this work, we expose a novel threat: adversarial inputs can be crafted to exploit excessive reasoning behaviors and substantially increase computational overhead without compromising model utility. Therefore, we propose a novel loss framework consisting of three components: (1) Priority Cross-Entropy Loss, a modification of the standard cross-entropy objective that emphasizes key tokens by leveraging the autoregressive nature of LMs; (2) Excessive Reasoning Loss, which encourages the model to initiate additional reasoning paths during inference; and (3) Delayed Termination Loss, which is designed to extend the reasoning process and defer the generation of final outputs. We optimize and evaluate our attack for the GSM8K and ORCA datasets on DeepSeek-R1-Distill-LLaMA and DeepSeek-R1-Distill-Qwen. Empirical results demonstrate a 3x to 9x increase in reasoning length with comparable utility performance. Furthermore, our crafted adversarial inputs exhibit transferability, inducing computational overhead in o3-mini, o1-mini, DeepSeek-R1, and QWQ models.", "date": "2025-06-17", "categories": []} {"id": "2506.14582", "title": "Busting the Paper Ballot: Voting Meets Adversarial Machine Learning", "abstract": "We show the security risk associated with using machine learning classifiers in United States election tabulators. The central classification task in election tabulation is deciding whether a mark does or does not appear on a bubble associated to an alternative in a contest on the ballot. Barretto et al. (E-Vote-ID 2021) reported that convolutional neural networks are a viable option in this field, as they outperform simple feature-based classifiers.\n Our contributions to election security can be divided into four parts. To demonstrate and analyze the hypothetical vulnerability of machine learning models on election tabulators, we first introduce four new ballot datasets. Second, we train and test a variety of different models on our new datasets. These models include support vector machines, convolutional neural networks (a basic CNN, VGG and ResNet), and vision transformers (Twins and CaiT). Third, using our new datasets and trained models, we demonstrate that traditional white box attacks are ineffective in the voting domain due to gradient masking. Our analyses further reveal that gradient masking is a product of numerical instability. We use a modified difference of logits ratio loss to overcome this issue (Croce and Hein, ICML 2020). Fourth, in the physical world, we conduct attacks with the adversarial examples generated using our new methods. In traditional adversarial machine learning, a high (50% or greater) attack success rate is ideal. However, for certain elections, even a 5% attack success rate can flip the outcome of a race. We show such an impact is possible in the physical domain. We thoroughly discuss attack realism, and the challenges and practicality associated with printing and scanning ballot adversarial examples.", "date": "2025-06-17", "categories": []} {"id": "2410.17442", "title": "Detecting Adversarial Examples", "abstract": "Deep Neural Networks (DNNs) have been shown to be vulnerable to adversarial examples. While numerous successful adversarial attacks have been proposed, defenses against these attacks remain relatively understudied. Existing defense approaches either focus on negating the effects of perturbations caused by the attacks to restore the DNNs' original predictions or use a secondary model to detect adversarial examples. However, these methods often become ineffective due to the continuous advancements in attack techniques. We propose a novel universal and lightweight method to detect adversarial examples by analyzing the layer outputs of DNNs. Our method trains a lightweight regression model that predicts deeper-layer features from early-layer features, and uses the prediction error to detect adversarial samples. Through theoretical justification and extensive experiments, we demonstrate that our detection method is highly effective, compatible with any DNN architecture, and applicable across different domains, such as image, video, and audio.", "date": "2024-10-22", "categories": []} {"id": "2410.23142", "title": "FAIR-TAT: Improving Model Fairness Using Targeted Adversarial Training", "abstract": "Deep neural networks are susceptible to adversarial attacks and common corruptions, which undermine their robustness. In order to enhance model resilience against such challenges, Adversarial Training (AT) has emerged as a prominent solution. Nevertheless, adversarial robustness is often attained at the expense of model fairness during AT, i.e., disparity in class-wise robustness of the model. While distinctive classes become more robust towards such adversaries, hard to detect classes suffer. Recently, research has focused on improving model fairness specifically for perturbed images, overlooking the accuracy of the most likely non-perturbed data. Additionally, despite their robustness against the adversaries encountered during model training, state-of-the-art adversarial trained models have difficulty maintaining robustness and fairness when confronted with diverse adversarial threats or common corruptions. In this work, we address the above concerns by introducing a novel approach called Fair Targeted Adversarial Training (FAIR-TAT). We show that using targeted adversarial attacks for adversarial training (instead of untargeted attacks) can allow for more favorable trade-offs with respect to adversarial fairness. Empirical results validate the efficacy of our approach.", "date": "2024-10-30", "categories": []} {"id": "2412.11934", "title": "Stepwise Reasoning Error Disruption Attack of LLMs", "abstract": "Large language models (LLMs) have made remarkable strides in complex reasoning tasks, but their safety and robustness in reasoning processes remain underexplored. Existing attacks on LLM reasoning are constrained by specific settings or lack of imperceptibility, limiting their feasibility and generalizability. To address these challenges, we propose the Stepwise rEasoning Error Disruption (SEED) attack, which subtly injects errors into prior reasoning steps to mislead the model into producing incorrect subsequent reasoning and final answers. Unlike previous methods, SEED is compatible with zero-shot and few-shot settings, maintains the natural reasoning flow, and ensures covert execution without modifying the instruction. Extensive experiments on four datasets across four different models demonstrate SEED's effectiveness, revealing the vulnerabilities of LLMs to disruptions in reasoning processes. These findings underscore the need for greater attention to the robustness of LLM reasoning to ensure safety in practical applications. Our code is available at: https://github.com/Applied-Machine-Learning-Lab/SEED-Attack.", "date": "2024-12-16", "categories": []} {"id": "2502.07225", "title": "CAT: Contrastive Adversarial Training for Evaluating the Robustness of Protective Perturbations in Latent Diffusion Models", "abstract": "Latent diffusion models have recently demonstrated superior capabilities in many downstream image synthesis tasks. However, customization of latent diffusion models using unauthorized data can severely compromise the privacy and intellectual property rights of data owners. Adversarial examples as protective perturbations have been developed to defend against unauthorized data usage by introducing imperceptible noise to customization samples, preventing diffusion models from effectively learning them. In this paper, we first reveal that the primary reason adversarial examples are effective as protective perturbations in latent diffusion models is the distortion of their latent representations, as demonstrated through qualitative and quantitative experiments. We then propose the Contrastive Adversarial Training (CAT) utilizing lightweight adapters as an adaptive attack against these protection methods, highlighting their lack of robustness. Extensive experiments demonstrate that our CAT method significantly reduces the effectiveness of protective perturbations in customization, urging the community to reconsider and improve the robustness of existing protective perturbations. The code is available at https://github.com/senp98/CAT.", "date": "2025-02-11", "categories": []} {"id": "2506.12613", "title": "Existence of Adversarial Examples for Random Convolutional Networks via Isoperimetric Inequalities on $\\mathbb{so}(d)$", "abstract": "We show that adversarial examples exist for various random convolutional networks, and furthermore, that this is a relatively simple consequence of the isoperimetric inequality on the special orthogonal group $\\mathbb{so}(d)$. This extends and simplifies a recent line of work which shows similar results for random fully connected networks.", "date": "2025-06-14", "categories": []} {"id": "2506.12685", "title": "Alphabet Index Mapping: Jailbreaking LLMs through Semantic Dissimilarity", "abstract": "Large Language Models (LLMs) have demonstrated remarkable capabilities, yet their susceptibility to adversarial attacks, particularly jailbreaking, poses significant safety and ethical concerns. While numerous jailbreak methods exist, many suffer from computational expense, high token usage, or complex decoding schemes. Liu et al. (2024) introduced FlipAttack, a black-box method that achieves high attack success rates (ASR) through simple prompt manipulation. This paper investigates the underlying mechanisms of FlipAttack's effectiveness by analyzing the semantic changes induced by its flipping modes. We hypothesize that semantic dissimilarity between original and manipulated prompts is inversely correlated with ASR. To test this, we examine embedding space visualizations (UMAP, KDE) and cosine similarities for FlipAttack's modes. Furthermore, we introduce a novel adversarial attack, Alphabet Index Mapping (AIM), designed to maximize semantic dissimilarity while maintaining simple decodability. Experiments on GPT-4 using a subset of AdvBench show AIM and its variant AIM+FWO achieve a 94% ASR, outperforming FlipAttack and other methods on this subset. Our findings suggest that while high semantic dissimilarity is crucial, a balance with decoding simplicity is key for successful jailbreaking. This work contributes to a deeper understanding of adversarial prompt mechanics and offers a new, effective jailbreak technique.", "date": "2025-06-15", "categories": []} {"id": "2506.12875", "title": "Intriguing Frequency Interpretation of Adversarial Robustness for CNNs and ViTs", "abstract": "Adversarial examples have attracted significant attention over the years, yet understanding their frequency-based characteristics remains insufficient. In this paper, we investigate the intriguing properties of adversarial examples in the frequency domain for the image classification task, with the following key findings. (1) As the high-frequency components increase, the performance gap between adversarial and natural examples becomes increasingly pronounced. (2) The model performance against filtered adversarial examples initially increases to a peak and declines to its inherent robustness. (3) In Convolutional Neural Networks, mid- and high-frequency components of adversarial examples exhibit their attack capabilities, while in Transformers, low- and mid-frequency components of adversarial examples are particularly effective. These results suggest that different network architectures have different frequency preferences and that differences in frequency components between adversarial and natural examples may directly influence model robustness. Based on our findings, we further conclude with three useful proposals that serve as a valuable reference to the AI model security community.", "date": "2025-06-15", "categories": []} {"id": "2407.08970", "title": "Self-interpreting Adversarial Images", "abstract": "We introduce a new type of indirect, cross-modal injection attacks against visual language models that enable creation of self-interpreting images. These images contain hidden \"meta-instructions\" that control how models answer users' questions about the image and steer models' outputs to express an adversary-chosen style, sentiment, or point of view.\n Self-interpreting images act as soft prompts, conditioning the model to satisfy the adversary's (meta-)objective while still producing answers based on the image's visual content. Meta-instructions are thus a stronger form of prompt injection. Adversarial images look natural and the model's answers are coherent and plausible, yet they also follow the adversary-chosen interpretation, e.g., political spin, or even objectives that are not achievable with explicit text instructions.\n We evaluate the efficacy of self-interpreting images for a variety of models, interpretations, and user prompts. We describe how these attacks could cause harm by enabling creation of self-interpreting content that carries spam, misinformation, or spin. Finally, we discuss defenses.", "date": "2024-07-12", "categories": []} {"id": "2408.02509", "title": "Black-Box Adversarial Attacks on LLM-Based Code Completion", "abstract": "Modern code completion engines, powered by large language models (LLMs), assist millions of developers with their strong capabilities to generate functionally correct code. Due to this popularity, it is crucial to investigate the security implications of relying on LLM-based code completion. In this work, we demonstrate that state-of-the-art black-box LLM-based code completion engines can be stealthily biased by adversaries to significantly increase their rate of insecure code generation. We present the first attack, named INSEC, that achieves this goal. INSEC works by injecting an attack string as a short comment in the completion input. The attack string is crafted through a query-based optimization procedure starting from a set of carefully designed initialization schemes. We demonstrate INSEC's broad applicability and effectiveness by evaluating it on various state-of-the-art open-source models and black-box commercial services (e.g., OpenAI API and GitHub Copilot). On a diverse set of security-critical test cases, covering 16 CWEs across 5 programming languages, INSEC increases the rate of generated insecure code by more than 50%, while maintaining the functional correctness of generated code. We consider INSEC practical -- it requires low resources and costs less than 10 US dollars to develop on commodity hardware. Moreover, we showcase the attack's real-world deployability, by developing an IDE plug-in that stealthily injects INSEC into the GitHub Copilot extension.", "date": "2024-08-05", "categories": []} {"id": "2506.11892", "title": "Attention-based Adversarial Robust Distillation in Radio Signal Classifications for Low-Power IoT Devices", "abstract": "Due to great success of transformers in many applications such as natural language processing and computer vision, transformers have been successfully applied in automatic modulation classification. We have shown that transformer-based radio signal classification is vulnerable to imperceptible and carefully crafted attacks called adversarial examples. Therefore, we propose a defense system against adversarial examples in transformer-based modulation classifications. Considering the need for computationally efficient architecture particularly for Internet of Things (IoT)-based applications or operation of devices in environment where power supply is limited, we propose a compact transformer for modulation classification. The advantages of robust training such as adversarial training in transformers may not be attainable in compact transformers. By demonstrating this, we propose a novel compact transformer that can enhance robustness in the presence of adversarial attacks. The new method is aimed at transferring the adversarial attention map from the robustly trained large transformer to a compact transformer. The proposed method outperforms the state-of-the-art techniques for the considered white-box scenarios including fast gradient method and projected gradient descent attacks. We have provided reasoning of the underlying working mechanisms and investigated the transferability of the adversarial examples between different architectures. The proposed method has the potential to protect the transformer from the transferability of adversarial examples.", "date": "2025-06-13", "categories": []} {"id": "2506.11901", "title": "A Neural Rejection System Against Universal Adversarial Perturbations in Radio Signal Classification", "abstract": "Advantages of deep learning over traditional methods have been demonstrated for radio signal classification in the recent years. However, various researchers have discovered that even a small but intentional feature perturbation known as adversarial examples can significantly deteriorate the performance of the deep learning based radio signal classification. Among various kinds of adversarial examples, universal adversarial perturbation has gained considerable attention due to its feature of being data independent, hence as a practical strategy to fool the radio signal classification with a high success rate. Therefore, in this paper, we investigate a defense system called neural rejection system to propose against universal adversarial perturbations, and evaluate its performance by generating white-box universal adversarial perturbations. We show that the proposed neural rejection system is able to defend universal adversarial perturbations with significantly higher accuracy than the undefended deep neural network.", "date": "2025-06-13", "categories": []} {"id": "2506.11992", "title": "Compression Aware Certified Training", "abstract": "Deep neural networks deployed in safety-critical, resource-constrained environments must balance efficiency and robustness. Existing methods treat compression and certified robustness as separate goals, compromising either efficiency or safety. We propose CACTUS (Compression Aware Certified Training Using network Sets), a general framework for unifying these objectives during training. CACTUS models maintain high certified accuracy even when compressed. We apply CACTUS for both pruning and quantization and show that it effectively trains models which can be efficiently compressed while maintaining high accuracy and certifiable robustness. CACTUS achieves state-of-the-art accuracy and certified performance for both pruning and quantization on a variety of datasets and input specifications.", "date": "2025-06-13", "categories": []} {"id": "2503.14299", "title": "Unveiling the Role of Randomization in Multiclass Adversarial Classification: Insights from Graph Theory", "abstract": "Randomization as a mean to improve the adversarial robustness of machine learning models has recently attracted significant attention. Unfortunately, much of the theoretical analysis so far has focused on binary classification, providing only limited insights into the more complex multiclass setting. In this paper, we take a step toward closing this gap by drawing inspiration from the field of graph theory. Our analysis focuses on discrete data distributions, allowing us to cast the adversarial risk minimization problems within the well-established framework of set packing problems. By doing so, we are able to identify three structural conditions on the support of the data distribution that are necessary for randomization to improve robustness. Furthermore, we are able to construct several data distributions where (contrarily to binary classification) switching from a deterministic to a randomized solution significantly reduces the optimal adversarial risk. These findings highlight the crucial role randomization can play in enhancing robustness to adversarial attacks in multiclass classification.", "date": "2025-03-18", "categories": []} {"id": "2506.10047", "title": "GenBreak: Red Teaming Text-to-Image Generators Using Large Language Models", "abstract": "Text-to-image (T2I) models such as Stable Diffusion have advanced rapidly and are now widely used in content creation. However, these models can be misused to generate harmful content, including nudity or violence, posing significant safety risks. While most platforms employ content moderation systems, underlying vulnerabilities can still be exploited by determined adversaries. Recent research on red-teaming and adversarial attacks against T2I models has notable limitations: some studies successfully generate highly toxic images but use adversarial prompts that are easily detected and blocked by safety filters, while others focus on bypassing safety mechanisms but fail to produce genuinely harmful outputs, neglecting the discovery of truly high-risk prompts. Consequently, there remains a lack of reliable tools for evaluating the safety of defended T2I models. To address this gap, we propose GenBreak, a framework that fine-tunes a red-team large language model (LLM) to systematically explore underlying vulnerabilities in T2I generators. Our approach combines supervised fine-tuning on curated datasets with reinforcement learning via interaction with a surrogate T2I model. By integrating multiple reward signals, we guide the LLM to craft adversarial prompts that enhance both evasion capability and image toxicity, while maintaining semantic coherence and diversity. These prompts demonstrate strong effectiveness in black-box attacks against commercial T2I generators, revealing practical and concerning safety weaknesses.", "date": "2025-06-11", "categories": []} {"id": "2506.10620", "title": "Assessing the Resilience of Automotive Intrusion Detection Systems to Adversarial Manipulation", "abstract": "The security of modern vehicles has become increasingly important, with the controller area network (CAN) bus serving as a critical communication backbone for various Electronic Control Units (ECUs). The absence of robust security measures in CAN, coupled with the increasing connectivity of vehicles, makes them susceptible to cyberattacks. While intrusion detection systems (IDSs) have been developed to counter such threats, they are not foolproof. Adversarial attacks, particularly evasion attacks, can manipulate inputs to bypass detection by IDSs. This paper extends our previous work by investigating the feasibility and impact of gradient-based adversarial attacks performed with different degrees of knowledge against automotive IDSs. We consider three scenarios: white-box (attacker with full system knowledge), grey-box (partial system knowledge), and the more realistic black-box (no knowledge of the IDS' internal workings or data). We evaluate the effectiveness of the proposed attacks against state-of-the-art IDSs on two publicly available datasets. Additionally, we study effect of the adversarial perturbation on the attack impact and evaluate real-time feasibility by precomputing evasive payloads for timed injection based on bus traffic. Our results demonstrate that, besides attacks being challenging due to the automotive domain constraints, their effectiveness is strongly dependent on the dataset quality, the target IDS, and the attacker's degree of knowledge.", "date": "2025-06-12", "categories": []} {"id": "2506.10831", "title": "Efficiency Robustness of Dynamic Deep Learning Systems", "abstract": "Deep Learning Systems (DLSs) are increasingly deployed in real-time applications, including those in resourceconstrained environments such as mobile and IoT devices. To address efficiency challenges, Dynamic Deep Learning Systems (DDLSs) adapt inference computation based on input complexity, reducing overhead. While this dynamic behavior improves efficiency, such behavior introduces new attack surfaces. In particular, efficiency adversarial attacks exploit these dynamic mechanisms to degrade system performance. This paper systematically explores efficiency robustness of DDLSs, presenting the first comprehensive taxonomy of efficiency attacks. We categorize these attacks based on three dynamic behaviors: (i) attacks on dynamic computations per inference, (ii) attacks on dynamic inference iterations, and (iii) attacks on dynamic output production for downstream tasks. Through an in-depth evaluation, we analyze adversarial strategies that target DDLSs efficiency and identify key challenges in securing these systems. In addition, we investigate existing defense mechanisms, demonstrating their limitations against increasingly popular efficiency attacks and the necessity for novel mitigation strategies to secure future adaptive DDLSs.", "date": "2025-06-12", "categories": []} {"id": "2506.10888", "title": "Lattice Climber Attack: Adversarial attacks for randomized mixtures of classifiers", "abstract": "Finite mixtures of classifiers (a.k.a. randomized ensembles) have been proposed as a way to improve robustness against adversarial attacks. However, existing attacks have been shown to not suit this kind of classifier. In this paper, we discuss the problem of attacking a mixture in a principled way and introduce two desirable properties of attacks based on a geometrical analysis of the problem (effectiveness and maximality). We then show that existing attacks do not meet both of these properties. Finally, we introduce a new attack called {\\em lattice climber attack} with theoretical guarantees in the binary linear setting, and demonstrate its performance by conducting experiments on synthetic and real datasets.", "date": "2025-06-12", "categories": []} {"id": "2506.09148", "title": "Adversarial Text Generation with Dynamic Contextual Perturbation", "abstract": "Adversarial attacks on Natural Language Processing (NLP) models expose vulnerabilities by introducing subtle perturbations to input text, often leading to misclassification while maintaining human readability. Existing methods typically focus on word-level or local text segment alterations, overlooking the broader context, which results in detectable or semantically inconsistent perturbations. We propose a novel adversarial text attack scheme named Dynamic Contextual Perturbation (DCP). DCP dynamically generates context-aware perturbations across sentences, paragraphs, and documents, ensuring semantic fidelity and fluency. Leveraging the capabilities of pre-trained language models, DCP iteratively refines perturbations through an adversarial objective function that balances the dual objectives of inducing model misclassification and preserving the naturalness of the text. This comprehensive approach allows DCP to produce more sophisticated and effective adversarial examples that better mimic natural language patterns. Our experimental results, conducted on various NLP models and datasets, demonstrate the efficacy of DCP in challenging the robustness of state-of-the-art NLP systems. By integrating dynamic contextual analysis, DCP significantly enhances the subtlety and impact of adversarial attacks. This study highlights the critical role of context in adversarial attacks and lays the groundwork for creating more robust NLP systems capable of withstanding sophisticated adversarial strategies.", "date": "2025-06-10", "categories": []} {"id": "2506.09640", "title": "Evasion Attacks Against Bayesian Predictive Models", "abstract": "There is an increasing interest in analyzing the behavior of machine learning systems against adversarial attacks. However, most of the research in adversarial machine learning has focused on studying weaknesses against evasion or poisoning attacks to predictive models in classical setups, with the susceptibility of Bayesian predictive models to attacks remaining underexplored. This paper introduces a general methodology for designing optimal evasion attacks against such models. We investigate two adversarial objectives: perturbing specific point predictions and altering the entire posterior predictive distribution. For both scenarios, we propose novel gradient-based attacks and study their implementation and properties in various computational setups.", "date": "2025-06-11", "categories": []} {"id": "2506.09896", "title": "A look at adversarial attacks on radio waveforms from discrete latent space", "abstract": "Having designed a VQVAE that maps digital radio waveforms into discrete latent space, and yields a perfectly classifiable reconstruction of the original data, we here analyze the attack suppressing properties of VQVAE when an adversarial attack is performed on high-SNR radio-frequency (RF) data-points. To target amplitude modulations from a subset of digitally modulated waveform classes, we first create adversarial attacks that preserve the phase between the in-phase and quadrature component whose values are adversarially changed. We compare them with adversarial attacks of the same intensity where phase is not preserved. We test the classification accuracy of such adversarial examples on a classifier trained to deliver 100% accuracy on the original data. To assess the ability of VQVAE to suppress the strength of the attack, we evaluate the classifier accuracy on the reconstructions by VQVAE of the adversarial datapoints and show that VQVAE substantially decreases the effectiveness of the attack. We also compare the I/Q plane diagram of the attacked data, their reconstructions and the original data. Finally, using multiple methods and metrics, we compare the probability distribution of the VQVAE latent space with and without attack. Varying the attack strength, we observe interesting properties of the discrete space, which may help detect the attacks.", "date": "2025-06-11", "categories": []} {"id": "2310.08732", "title": "Provably Cost-Sensitive Adversarial Defense via Randomized Smoothing", "abstract": "As ML models are increasingly deployed in critical applications, robustness against adversarial perturbations is crucial. While numerous defenses have been proposed to counter such attacks, they typically assume that all adversarial transformations are equally important, an assumption that rarely aligns with real-world applications. To address this, we study the problem of robust learning against adversarial perturbations under cost-sensitive scenarios, where the potential harm of different types of misclassifications is encoded in a cost matrix. Our solution introduces a provably robust learning algorithm to certify and optimize for cost-sensitive robustness, building on the scalable certification framework of randomized smoothing. Specifically, we formalize the definition of cost-sensitive certified radius and propose our novel adaptation of the standard certification algorithm to generate tight robustness certificates tailored to any cost matrix. In addition, we design a robust training method that improves certified cost-sensitive robustness without compromising model accuracy. Extensive experiments on benchmark datasets, including challenging ones unsolvable by existing methods, demonstrate the effectiveness of our certification algorithm and training method across various cost-sensitive scenarios.", "date": "2023-10-12", "categories": []} {"id": "2506.08611", "title": "Towards Class-wise Fair Adversarial Training via Anti-Bias Soft Label Distillation", "abstract": "Adversarial Training (AT) is widely recognized as an effective approach to enhance the adversarial robustness of Deep Neural Networks. As a variant of AT, Adversarial Robustness Distillation (ARD) has shown outstanding performance in enhancing the robustness of small models. However, both AT and ARD face robust fairness issue: these models tend to display strong adversarial robustness against some classes (easy classes) while demonstrating weak adversarial robustness against others (hard classes). This paper explores the underlying factors of this problem and points out the smoothness degree of soft labels for different classes significantly impacts the robust fairness from both empirical observation and theoretical analysis. Based on the above exploration, we propose Anti-Bias Soft Label Distillation (ABSLD) within the Knowledge Distillation framework to enhance the adversarial robust fairness. Specifically, ABSLD adaptively reduces the student's error risk gap between different classes, which is accomplished by adjusting the class-wise smoothness degree of teacher's soft labels during the training process, and the adjustment is managed by assigning varying temperatures to different classes. Additionally, as a label-based approach, ABSLD is highly adaptable and can be integrated with the sample-based methods. Extensive experiments demonstrate ABSLD outperforms state-of-the-art methods on the comprehensive performance of robustness and fairness.", "date": "2025-06-10", "categories": []} {"id": "2506.08961", "title": "Towards Robust Deep Reinforcement Learning against Environmental State Perturbation", "abstract": "Adversarial attacks and robustness in Deep Reinforcement Learning (DRL) have been widely studied in various threat models; however, few consider environmental state perturbations, which are natural in embodied scenarios. To improve the robustness of DRL agents, we formulate the problem of environmental state perturbation, introducing a preliminary non-targeted attack method as a calibration adversary, and then propose a defense framework, named Boosted Adversarial Training (BAT), which first tunes the agents via supervised learning to avoid catastrophic failure and subsequently adversarially trains the agent with reinforcement learning. Extensive experimental results substantiate the vulnerability of mainstream agents under environmental state perturbations and the effectiveness of our proposed attack. The defense results demonstrate that while existing robust reinforcement learning algorithms may not be suitable, our BAT framework can significantly enhance the robustness of agents against environmental state perturbations across various situations.", "date": "2025-06-10", "categories": []} {"id": "2306.07992", "title": "Securing Visually-Aware Recommender Systems: An Adversarial Image Reconstruction and Detection Framework", "abstract": "With rich visual data, such as images, becoming readily associated with items, visually-aware recommendation systems (VARS) have been widely used in different applications. Recent studies have shown that VARS are vulnerable to item-image adversarial attacks, which add human-imperceptible perturbations to the clean images associated with those items. Attacks on VARS pose new security challenges to a wide range of applications such as e-Commerce and social networks where VARS are widely used. How to secure VARS from such adversarial attacks becomes a critical problem. Currently, there is still a lack of systematic study on how to design secure defense strategies against visual attacks on VARS. In this paper, we attempt to fill this gap by proposing an adversarial image reconstruction and detection framework to secure VARS. Our proposed method can simultaneously (1) secure VARS from adversarial attacks characterized by local perturbations by image reconstruction based on global vision transformers; and (2) accurately detect adversarial examples using a novel contrastive learning approach. Meanwhile, our framework is designed to be used as both a filter and a detector so that they can be jointly trained to improve the flexibility of our defense strategy to a variety of attacks and VARS models. We have conducted extensive experimental studies with two popular attack methods (FGSM and PGD). Our experimental results on two real-world datasets show that our defense strategy against visual attacks is effective and outperforms existing methods on different attacks. Moreover, our method can detect adversarial examples with high accuracy.", "date": "2023-06-11", "categories": []} {"id": "2406.11458", "title": "Adversaries With Incentives: A Strategic Alternative to Adversarial Robustness", "abstract": "Adversarial training aims to defend against adversaries: malicious opponents whose sole aim is to harm predictive performance in any way possible. This presents a rather harsh perspective, which we assert results in unnecessarily conservative training. As an alternative, we propose to model opponents as simply pursuing their own goals--rather than working directly against the classifier. Employing tools from strategic modeling, our approach enables knowledge or beliefs regarding the opponent's possible incentives to be used as inductive bias for learning. Accordingly, our method of strategic training is designed to defend against all opponents within an 'incentive uncertainty set'. This resorts to adversarial learning when the set is maximal, but offers potential gains when the set can be appropriately reduced. We conduct a series of experiments that show how even mild knowledge regarding the opponent's incentives can be useful, and that the degree of potential gains depends on how these incentives relate to the structure of the learning task.", "date": "2024-06-17", "categories": []} {"id": "2501.00066", "title": "On Adversarial Robustness of Language Models in Transfer Learning", "abstract": "We investigate the adversarial robustness of LLMs in transfer learning scenarios. Through comprehensive experiments on multiple datasets (MBIB Hate Speech, MBIB Political Bias, MBIB Gender Bias) and various model architectures (BERT, RoBERTa, GPT-2, Gemma, Phi), we reveal that transfer learning, while improving standard performance metrics, often leads to increased vulnerability to adversarial attacks. Our findings demonstrate that larger models exhibit greater resilience to this phenomenon, suggesting a complex interplay between model size, architecture, and adaptation methods. Our work highlights the crucial need for considering adversarial robustness in transfer learning scenarios and provides insights into maintaining model security without compromising performance. These findings have significant implications for the development and deployment of LLMs in real-world applications where both performance and robustness are paramount.", "date": "2024-12-29", "categories": []} {"id": "2503.20583", "title": "Feature Statistics with Uncertainty Help Adversarial Robustness", "abstract": "Despite the remarkable success of deep neural networks (DNNs), the security threat of adversarial attacks poses a significant challenge to the reliability of DNNs. In this paper, both theoretically and empirically, we discover a universal phenomenon that has been neglected in previous works, i.e., adversarial attacks tend to shift the distributions of feature statistics. Motivated by this finding, and by leveraging the advantages of uncertainty-aware stochastic methods in building robust models efficiently, we propose an uncertainty-driven feature statistics adjustment module for robustness enhancement, named Feature Statistics with Uncertainty (FSU). It randomly resamples channel-wise feature means and standard deviations of examples from multivariate Gaussian distributions, which helps to reconstruct the perturbed examples and calibrate the shifted distributions. The calibration recovers some domain characteristics of the data for classification, thereby mitigating the influence of perturbations and weakening the ability of attacks to deceive models. The proposed FSU module has universal applicability in training, attacking, predicting, and fine-tuning, demonstrating impressive robustness enhancement ability at a trivial additional time cost. For example, by fine-tuning the well-established models with FSU, the state-of-the-art methods achieve up to 17.13% and 34.82% robustness improvement against powerful AA and CW attacks on benchmark datasets.", "date": "2025-03-26", "categories": []} {"id": "2506.00978", "title": "CAPAA: Classifier-Agnostic Projector-Based Adversarial Attack", "abstract": "Projector-based adversarial attack aims to project carefully designed light patterns (i.e., adversarial projections) onto scenes to deceive deep image classifiers. It has potential applications in privacy protection and the development of more robust classifiers. However, existing approaches primarily focus on individual classifiers and fixed camera poses, often neglecting the complexities of multi-classifier systems and scenarios with varying camera poses. This limitation reduces their effectiveness when introducing new classifiers or camera poses. In this paper, we introduce Classifier-Agnostic Projector-Based Adversarial Attack (CAPAA) to address these issues. First, we develop a novel classifier-agnostic adversarial loss and optimization framework that aggregates adversarial and stealthiness loss gradients from multiple classifiers. Then, we propose an attention-based gradient weighting mechanism that concentrates perturbations on regions of high classification activation, thereby improving the robustness of adversarial projections when applied to scenes with varying camera poses. Our extensive experimental evaluations demonstrate that CAPAA achieves both a higher attack success rate and greater stealthiness compared to existing baselines. Codes are available at: https://github.com/ZhanLiQxQ/CAPAA.", "date": "2025-06-01", "categories": []} {"id": "2506.03988", "title": "RAID: A Dataset for Testing the Adversarial Robustness of AI-Generated Image Detectors", "abstract": "AI-generated images have reached a quality level at which humans are incapable of reliably distinguishing them from real images. To counteract the inherent risk of fraud and disinformation, the detection of AI-generated images is a pressing challenge and an active research topic. While many of the presented methods claim to achieve high detection accuracy, they are usually evaluated under idealized conditions. In particular, the adversarial robustness is often neglected, potentially due to a lack of awareness or the substantial effort required to conduct a comprehensive robustness analysis. In this work, we tackle this problem by providing a simpler means to assess the robustness of AI-generated image detectors. We present RAID (Robust evaluation of AI-generated image Detectors), a dataset of 72k diverse and highly transferable adversarial examples. The dataset is created by running attacks against an ensemble of seven state-of-the-art detectors and images generated by four different text-to-image models. Extensive experiments show that our methodology generates adversarial images that transfer with a high success rate to unseen detectors, which can be used to quickly provide an approximate yet still reliable estimate of a detector's adversarial robustness. Our findings indicate that current state-of-the-art AI-generated image detectors can be easily deceived by adversarial examples, highlighting the critical need for the development of more robust methods. We release our dataset at https://huggingface.co/datasets/aimagelab/RAID and evaluation code at https://github.com/pralab/RAID.", "date": "2025-06-04", "categories": []} {"id": "2506.06823", "title": "Exploring Visual Prompting: Robustness Inheritance and Beyond", "abstract": "Visual Prompting (VP), an efficient method for transfer learning, has shown its potential in vision tasks. However, previous works focus exclusively on VP from standard source models, it is still unknown how it performs under the scenario of a robust source model: Can the robustness of the source model be successfully inherited? Does VP also encounter the same trade-off between robustness and generalization ability as the source model during this process? If such a trade-off exists, is there a strategy specifically tailored to VP to mitigate this limitation? In this paper, we thoroughly explore these three questions for the first time and provide affirmative answers to them. To mitigate the trade-off faced by VP, we propose a strategy called Prompt Boundary Loosening (PBL). As a lightweight, plug-and-play strategy naturally compatible with VP, PBL effectively ensures the successful inheritance of robustness when the source model is a robust model, while significantly enhancing VP's generalization ability across various downstream datasets. Extensive experiments across various datasets show that our findings are universal and demonstrate the significant benefits of the proposed strategy.", "date": "2025-06-07", "categories": []} {"id": "2506.06933", "title": "Rewriting the Budget: A General Framework for Black-Box Attacks Under Cost Asymmetry", "abstract": "Traditional decision-based black-box adversarial attacks on image classifiers aim to generate adversarial examples by slightly modifying input images while keeping the number of queries low, where each query involves sending an input to the model and observing its output. Most existing methods assume that all queries have equal cost. However, in practice, queries may incur asymmetric costs; for example, in content moderation systems, certain output classes may trigger additional review, enforcement, or penalties, making them more costly than others. While prior work has considered such asymmetric cost settings, effective algorithms for this scenario remain underdeveloped. In this paper, we propose a general framework for decision-based attacks under asymmetric query costs, which we refer to as asymmetric black-box attacks. We modify two core components of existing attacks: the search strategy and the gradient estimation process. Specifically, we propose Asymmetric Search (AS), a more conservative variant of binary search that reduces reliance on high-cost queries, and Asymmetric Gradient Estimation (AGREST), which shifts the sampling distribution to favor low-cost queries. We design efficient algorithms that minimize total attack cost by balancing different query types, in contrast to earlier methods such as stealthy attacks that focus only on limiting expensive (high-cost) queries. Our method can be integrated into a range of existing black-box attacks with minimal changes. We perform both theoretical analysis and empirical evaluation on standard image classification benchmarks. Across various cost regimes, our method consistently achieves lower total query cost and smaller perturbations than existing approaches, with improvements of up to 40% in some settings.", "date": "2025-06-07", "categories": []} {"id": "2506.07056", "title": "D2R: dual regularization loss with collaborative adversarial generation for model robustness", "abstract": "The robustness of Deep Neural Network models is crucial for defending models against adversarial attacks. Recent defense methods have employed collaborative learning frameworks to enhance model robustness. Two key limitations of existing methods are (i) insufficient guidance of the target model via loss functions and (ii) non-collaborative adversarial generation. We, therefore, propose a dual regularization loss (D2R Loss) method and a collaborative adversarial generation (CAG) strategy for adversarial training. D2R loss includes two optimization steps. The adversarial distribution and clean distribution optimizations enhance the target model's robustness by leveraging the strengths of different loss functions obtained via a suitable function space exploration to focus more precisely on the target model's distribution. CAG generates adversarial samples using a gradient-based collaboration between guidance and target models. We conducted extensive experiments on three benchmark databases, including CIFAR-10, CIFAR-100, Tiny ImageNet, and two popular target models, WideResNet34-10 and PreActResNet18. Our results show that D2R loss with CAG produces highly robust models.", "date": "2025-06-08", "categories": []} {"id": "2506.07590", "title": "Explore the vulnerability of black-box models via diffusion models", "abstract": "Recent advancements in diffusion models have enabled high-fidelity and photorealistic image generation across diverse applications. However, these models also present security and privacy risks, including copyright violations, sensitive information leakage, and the creation of harmful or offensive content that could be exploited maliciously. In this study, we uncover a novel security threat where an attacker leverages diffusion model APIs to generate synthetic images, which are then used to train a high-performing substitute model. This enables the attacker to execute model extraction and transfer-based adversarial attacks on black-box classification models with minimal queries, without needing access to the original training data. The generated images are sufficiently high-resolution and diverse to train a substitute model whose outputs closely match those of the target model. Across the seven benchmarks, including CIFAR and ImageNet subsets, our method shows an average improvement of 27.37% over state-of-the-art methods while using just 0.01 times of the query budget, achieving a 98.68% success rate in adversarial attacks on the target model.", "date": "2025-06-09", "categories": []} {"id": "2506.07804", "title": "Enhancing Adversarial Robustness with Conformal Prediction: A Framework for Guaranteed Model Reliability", "abstract": "As deep learning models are increasingly deployed in high-risk applications, robust defenses against adversarial attacks and reliable performance guarantees become paramount. Moreover, accuracy alone does not provide sufficient assurance or reliable uncertainty estimates for these models. This study advances adversarial training by leveraging principles from Conformal Prediction. Specifically, we develop an adversarial attack method, termed OPSA (OPtimal Size Attack), designed to reduce the efficiency of conformal prediction at any significance level by maximizing model uncertainty without requiring coverage guarantees. Correspondingly, we introduce OPSA-AT (Adversarial Training), a defense strategy that integrates OPSA within a novel conformal training paradigm. Experimental evaluations demonstrate that our OPSA attack method induces greater uncertainty compared to baseline approaches for various defenses. Conversely, our OPSA-AT defensive model significantly enhances robustness not only against OPSA but also other adversarial attacks, and maintains reliable prediction. Our findings highlight the effectiveness of this integrated approach for developing trustworthy and resilient deep learning models for safety-critical domains. Our code is available at https://github.com/bjbbbb/Enhancing-Adversarial-Robustness-with-Conformal-Prediction.", "date": "2025-06-09", "categories": []} {"id": "2506.07948", "title": "TokenBreak: Bypassing Text Classification Models Through Token Manipulation", "abstract": "Natural Language Processing (NLP) models are used for text-related tasks such as classification and generation. To complete these tasks, input data is first tokenized from human-readable text into a format the model can understand, enabling it to make inferences and understand context. Text classification models can be implemented to guard against threats such as prompt injection attacks against Large Language Models (LLMs), toxic input and cybersecurity risks such as spam emails. In this paper, we introduce TokenBreak: a novel attack that can bypass these protection models by taking advantage of the tokenization strategy they use. This attack technique manipulates input text in such a way that certain models give an incorrect classification. Importantly, the end target (LLM or email recipient) can still understand and respond to the manipulated text and therefore be vulnerable to the very attack the protection model was put in place to prevent. The tokenizer is tied to model architecture, meaning it is possible to predict whether or not a model is vulnerable to attack based on family. We also present a defensive strategy as an added layer of protection that can be implemented without having to retrain the defensive model.", "date": "2025-06-09", "categories": []} {"id": "2411.14842", "title": "Who Can Withstand Chat-Audio Attacks? An Evaluation Benchmark for Large Audio-Language Models", "abstract": "Adversarial audio attacks pose a significant threat to the growing use of large audio-language models (LALMs) in voice-based human-machine interactions. While existing research focused on model-specific adversarial methods, real-world applications demand a more generalizable and universal approach to audio adversarial attacks. In this paper, we introduce the Chat-Audio Attacks (CAA) benchmark including four distinct types of audio attacks, which aims to explore the vulnerabilities of LALMs to these audio attacks in conversational scenarios. To evaluate the robustness of LALMs, we propose three evaluation strategies: Standard Evaluation, utilizing traditional metrics to quantify model performance under attacks; GPT-4o-Based Evaluation, which simulates real-world conversational complexities; and Human Evaluation, offering insights into user perception and trust. We evaluate six state-of-the-art LALMs with voice interaction capabilities, including Gemini-1.5-Pro, GPT-4o, and others, using three distinct evaluation methods on the CAA benchmark. Our comprehensive analysis reveals the impact of four types of audio attacks on the performance of these models, demonstrating that GPT-4o exhibits the highest level of resilience. Our data can be accessed via the following link: \\href{https://github.com/crystraldo/CAA}{CAA}.", "date": "2024-11-22", "categories": []} {"id": "2503.02169", "title": "One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy", "abstract": "Statistical adversarial data detection (SADD) detects whether an upcoming batch contains adversarial examples (AEs) by measuring the distributional discrepancies between clean examples (CEs) and AEs. In this paper, we explore the strength of SADD-based methods by theoretically showing that minimizing distributional discrepancy can help reduce the expected loss on AEs. Despite these advantages, SADD-based methods have a potential limitation: they discard inputs that are detected as AEs, leading to the loss of useful information within those inputs. To address this limitation, we propose a two-pronged adversarial defense method, named Distributional-discrepancy-based Adversarial Defense (DAD). In the training phase, DAD first optimizes the test power of the maximum mean discrepancy (MMD) to derive MMD-OPT, which is a stone that kills two birds. MMD-OPT first serves as a guiding signal to minimize the distributional discrepancy between CEs and AEs to train a denoiser. Then, it serves as a discriminator to differentiate CEs and AEs during inference. Overall, in the inference stage, DAD consists of a two-pronged process: (1) directly feeding the detected CEs into the classifier, and (2) removing noise from the detected AEs by the distributional-discrepancy-based denoiser. Extensive experiments show that DAD outperforms current state-of-the-art (SOTA) defense methods by simultaneously improving clean and robust accuracy on CIFAR-10 and ImageNet-1K against adaptive white-box attacks. Codes are publicly available at: https://github.com/tmlr-group/DAD.", "date": "2025-03-04", "categories": []} {"id": "2503.02174", "title": "Adversarial Tokenization", "abstract": "Current LLM pipelines account for only one possible tokenization for a given string, ignoring exponentially many alternative tokenizations during training and inference. For example, the standard Llama3 tokenization of penguin is [p,enguin], yet [peng,uin] is another perfectly valid alternative. In this paper, we show that despite LLMs being trained solely on one tokenization, they still retain semantic understanding of other tokenizations, raising questions about their implications in LLM safety. Put succinctly, we answer the following question: can we adversarially tokenize an obviously malicious string to evade safety and alignment restrictions? We show that not only is adversarial tokenization an effective yet previously neglected axis of attack, but it is also competitive against existing state-of-the-art adversarial approaches without changing the text of the harmful request. We empirically validate this exploit across three state-of-the-art LLMs and adversarial datasets, revealing a previously unknown vulnerability in subword models.", "date": "2025-03-04", "categories": []} {"id": "2506.05382", "title": "How stealthy is stealthy? Studying the Efficacy of Black-Box Adversarial Attacks in the Real World", "abstract": "Deep learning systems, critical in domains like autonomous vehicles, are vulnerable to adversarial examples (crafted inputs designed to mislead classifiers). This study investigates black-box adversarial attacks in computer vision. This is a realistic scenario, where attackers have query-only access to the target model. Three properties are introduced to evaluate attack feasibility: robustness to compression, stealthiness to automatic detection, and stealthiness to human inspection. State-of-the-Art methods tend to prioritize one criterion at the expense of others. We propose ECLIPSE, a novel attack method employing Gaussian blurring on sampled gradients and a local surrogate model. Comprehensive experiments on a public dataset highlight ECLIPSE's advantages, demonstrating its contribution to the trade-off between the three properties.", "date": "2025-06-03", "categories": []} {"id": "2506.05429", "title": "Coordinated Robustness Evaluation Framework for Vision-Language Models", "abstract": "Vision-language models, which integrate computer vision and natural language processing capabilities, have demonstrated significant advancements in tasks such as image captioning and visual question and answering. However, similar to traditional models, they are susceptible to small perturbations, posing a challenge to their robustness, particularly in deployment scenarios. Evaluating the robustness of these models requires perturbations in both the vision and language modalities to learn their inter-modal dependencies. In this work, we train a generic surrogate model that can take both image and text as input and generate joint representation which is further used to generate adversarial perturbations for both the text and image modalities. This coordinated attack strategy is evaluated on the visual question and answering and visual reasoning datasets using various state-of-the-art vision-language models. Our results indicate that the proposed strategy outperforms other multi-modal attacks and single-modality attacks from the recent literature. Our results demonstrate their effectiveness in compromising the robustness of several state-of-the-art pre-trained multi-modal models such as instruct-BLIP, ViLT and others.", "date": "2025-06-05", "categories": []} {"id": "2506.05430", "title": "Explainer-guided Targeted Adversarial Attacks against Binary Code Similarity Detection Models", "abstract": "Binary code similarity detection (BCSD) serves as a fundamental technique for various software engineering tasks, e.g., vulnerability detection and classification. Attacks against such models have therefore drawn extensive attention, aiming at misleading the models to generate erroneous predictions. Prior works have explored various approaches to generating semantic-preserving variants, i.e., adversarial samples, to evaluate the robustness of the models against adversarial attacks. However, they have mainly relied on heuristic criteria or iterative greedy algorithms to locate salient code influencing the model output, failing to operate on a solid theoretical basis. Moreover, when processing programs with high complexities, such attacks tend to be time-consuming.\n In this work, we propose a novel optimization for adversarial attacks against BCSD models. In particular, we aim to improve the attacks in a challenging scenario, where the attack goal is to limit the model predictions to a specific range, i.e., the targeted attacks. Our attack leverages the superior capability of black-box, model-agnostic explainers in interpreting the model decision boundaries, thereby pinpointing the critical code snippet to apply semantic-preserving perturbations. The evaluation results demonstrate that compared with the state-of-the-art attacks, the proposed attacks achieve higher attack success rate in almost all scenarios, while also improving the efficiency and transferability. Our real-world case studies on vulnerability detection and classification further demonstrate the security implications of our attacks, highlighting the urgent need to further enhance the robustness of existing BCSD models.", "date": "2025-06-05", "categories": []} {"id": "2506.05431", "title": "Robustness Evaluation for Video Models with Reinforcement Learning", "abstract": "Evaluating the robustness of Video classification models is very challenging, specifically when compared to image-based models. With their increased temporal dimension, there is a significant increase in complexity and computational cost. One of the key challenges is to keep the perturbations to a minimum to induce misclassification. In this work, we propose a multi-agent reinforcement learning approach (spatial and temporal) that cooperatively learns to identify the given video's sensitive spatial and temporal regions. The agents consider temporal coherence in generating fine perturbations, leading to a more effective and visually imperceptible attack. Our method outperforms the state-of-the-art solutions on the Lp metric and the average queries. Our method enables custom distortion types, making the robustness evaluation more relevant to the use case. We extensively evaluate 4 popular models for video action recognition on two popular datasets, HMDB-51 and UCF-101.", "date": "2025-06-05", "categories": []} {"id": "2407.18213", "title": "Scaling Trends in Language Model Robustness", "abstract": "Increasing model size has unlocked a dazzling array of capabilities in modern language models. At the same time, even frontier models remain vulnerable to jailbreaks and prompt injections, despite concerted efforts to make them robust. As both attack and defense gain access to more compute, and as models become larger, what happens to robustness? We argue that to answer this question requires a \\emph{scaling} approach, which we employ in an extensive study of language model robustness across several classification tasks, model families, and adversarial attacks. We find that in the absence of explicit safety training, larger models are not consistently more robust; however, scale improves sample efficiency in adversarial training, though it worsens compute efficiency. Further, we find that increasing attack compute smoothly improves attack success rate against both undefended and adversarially trained models. Finally, after exploring robustness transfer across attacks and threat models, we combine attack and defense scaling rates to study the offense-defense balance. We find that while attack scaling outpaces adversarial training across all models studied, larger adversarially trained models might give defense the advantage in the long run. These results underscore the utility of the scaling lens, and provide a paradigm for evaluating future attacks and defenses on frontier models.", "date": "2024-07-25", "categories": []} {"id": "2410.06895", "title": "Average Certified Radius is a Poor Metric for Randomized Smoothing", "abstract": "Randomized smoothing (RS) is popular for providing certified robustness guarantees against adversarial attacks. The average certified radius (ACR) has emerged as a widely used metric for tracking progress in RS. However, in this work, for the first time we show that ACR is a poor metric for evaluating robustness guarantees provided by RS. We theoretically prove not only that a trivial classifier can have arbitrarily large ACR, but also that ACR is extremely sensitive to improvements on easy samples. In addition, the comparison using ACR has a strong dependence on the certification budget. Empirically, we confirm that existing training strategies, though improving ACR, reduce the model's robustness on hard samples consistently. To strengthen our findings, we propose strategies, including explicitly discarding hard samples, reweighing the dataset with approximate certified radius, and extreme optimization for easy samples, to replicate the progress in RS training and even achieve the state-of-the-art ACR on CIFAR-10, without training for robustness on the full data distribution. Overall, our results suggest that ACR has introduced a strong undesired bias to the field, and its application should be discontinued in RS. Finally, we suggest using the empirical distribution of $p_A$, the accuracy of the base model on noisy data, as an alternative metric for RS.", "date": "2024-10-09", "categories": []} {"id": "2502.07987", "title": "Universal Adversarial Attack on Aligned Multimodal LLMs", "abstract": "We propose a universal adversarial attack on multimodal Large Language Models (LLMs) that leverages a single optimized image to override alignment safeguards across diverse queries and even multiple models. By backpropagating through the vision encoder and language head, we craft a synthetic image that forces the model to respond with a targeted phrase (e.g., \"Sure, here it is\") or otherwise unsafe content -- even for harmful prompts. In experiments on the SafeBench and MM-SafetyBench benchmarks, our method achieves higher attack success rates than existing baselines, including text-only universal prompts (e.g., up to 81% on certain models). We further demonstrate cross-model universality by training on several multimodal LLMs simultaneously. Additionally, a multi-answer variant of our approach produces more natural-sounding (yet still malicious) responses. These findings underscore critical vulnerabilities in current multimodal alignment and call for more robust adversarial defenses. We will release code and datasets under the Apache-2.0 license. Warning: some content generated by Multimodal LLMs in this paper may be offensive.", "date": "2025-02-11", "categories": []} {"id": "2506.04823", "title": "Fool the Stoplight: Realistic Adversarial Patch Attacks on Traffic Light Detectors", "abstract": "Realistic adversarial attacks on various camera-based perception tasks of autonomous vehicles have been successfully demonstrated so far. However, only a few works considered attacks on traffic light detectors. This work shows how CNNs for traffic light detection can be attacked with printed patches. We propose a threat model, where each instance of a traffic light is attacked with a patch placed under it, and describe a training strategy. We demonstrate successful adversarial patch attacks in universal settings. Our experiments show realistic targeted red-to-green label-flipping attacks and attacks on pictogram classification. Finally, we perform a real-world evaluation with printed patches and demonstrate attacks in the lab settings with a mobile traffic light for construction sites and in a test area with stationary traffic lights. Our code is available at https://github.com/KASTEL-MobilityLab/attacks-on-traffic-light-detection.", "date": "2025-06-05", "categories": []} {"id": "2506.05032", "title": "Identifying and Understanding Cross-Class Features in Adversarial Training", "abstract": "Adversarial training (AT) has been considered one of the most effective methods for making deep neural networks robust against adversarial attacks, while the training mechanisms and dynamics of AT remain open research problems. In this paper, we present a novel perspective on studying AT through the lens of class-wise feature attribution. Specifically, we identify the impact of a key family of features on AT that are shared by multiple classes, which we call cross-class features. These features are typically useful for robust classification, which we offer theoretical evidence to illustrate through a synthetic data model. Through systematic studies across multiple model architectures and settings, we find that during the initial stage of AT, the model tends to learn more cross-class features until the best robustness checkpoint. As AT further squeezes the training robust loss and causes robust overfitting, the model tends to make decisions based on more class-specific features. Based on these discoveries, we further provide a unified view of two existing properties of AT, including the advantage of soft-label training and robust overfitting. Overall, these insights refine the current understanding of AT mechanisms and provide new perspectives on studying them. Our code is available at https://github.com/PKU-ML/Cross-Class-Features-AT.", "date": "2025-06-05", "categories": []} {"id": "2506.03350", "title": "Adversarial Attacks on Robotic Vision Language Action Models", "abstract": "The emergence of vision-language-action models (VLAs) for end-to-end control is reshaping the field of robotics by enabling the fusion of multimodal sensory inputs at the billion-parameter scale. The capabilities of VLAs stem primarily from their architectures, which are often based on frontier large language models (LLMs). However, LLMs are known to be susceptible to adversarial misuse, and given the significant physical risks inherent to robotics, questions remain regarding the extent to which VLAs inherit these vulnerabilities. Motivated by these concerns, in this work we initiate the study of adversarial attacks on VLA-controlled robots. Our main algorithmic contribution is the adaptation and application of LLM jailbreaking attacks to obtain complete control authority over VLAs. We find that textual attacks, which are applied once at the beginning of a rollout, facilitate full reachability of the action space of commonly used VLAs and often persist over longer horizons. This differs significantly from LLM jailbreaking literature, as attacks in the real world do not have to be semantically linked to notions of harm. We make all code available at https://github.com/eliotjones1/robogcg .", "date": "2025-06-03", "categories": []} {"id": "2404.16873", "title": "AdvPrompter: Fast Adaptive Adversarial Prompting for LLMs", "abstract": "Large Language Models (LLMs) are vulnerable to jailbreaking attacks that lead to generation of inappropriate or harmful content. Manual red-teaming requires a time-consuming search for adversarial prompts, whereas automatic adversarial prompt generation often leads to semantically meaningless attacks that do not scale well. In this paper, we present a novel method that uses another LLM, called AdvPrompter, to generate human-readable adversarial prompts in seconds. AdvPrompter, which is trained using an alternating optimization algorithm, generates suffixes that veil the input instruction without changing its meaning, such that the TargetLLM is lured to give a harmful response. Experimental results on popular open source TargetLLMs show highly competitive results on the AdvBench and HarmBench datasets, that also transfer to closed-source black-box LLMs. We also show that training on adversarial suffixes generated by AdvPrompter is a promising strategy for improving the robustness of LLMs to jailbreaking attacks.", "date": "2024-04-21", "categories": []} {"id": "2410.01574", "title": "Adversarial Robustness of AI-Generated Image Detectors in the Real World", "abstract": "The rapid advancement of Generative Artificial Intelligence (GenAI) capabilities is accompanied by a concerning rise in its misuse. In particular the generation of credible misinformation in the form of images poses a significant threat to the public trust in democratic processes. Consequently, there is an urgent need to develop tools to reliably distinguish between authentic and AI-generated content. The majority of detection methods are based on neural networks that are trained to recognize forensic artifacts. In this work, we demonstrate that current state-of-the-art classifiers are vulnerable to adversarial examples under real-world conditions. Through extensive experiments, comprising four detection methods and five attack algorithms, we show that an attacker can dramatically decrease classification performance, without internal knowledge of the detector's architecture. Notably, most attacks remain effective even when images are degraded during the upload to, e.g., social media platforms. In a case study, we demonstrate that these robustness challenges are also found in commercial tools by conducting black-box attacks on HIVE, a proprietary online GenAI media detector. In addition, we evaluate the robustness of using generated features of a robust pre-trained model and showed that this increases the robustness, while not reaching the performance on benign inputs. These results, along with the increasing potential of GenAI to erode public trust, underscore the need for more research and new perspectives on methods to prevent its misuse.", "date": "2024-10-02", "categories": []} {"id": "2506.02016", "title": "Are classical deep neural networks weakly adversarially robust?", "abstract": "Adversarial attacks have received increasing attention and it has been widely recognized that classical DNNs have weak adversarial robustness. The most commonly used adversarial defense method, adversarial training, improves the adversarial accuracy of DNNs by generating adversarial examples and retraining the model. However, adversarial training requires a significant computational overhead. In this paper, inspired by existing studies focusing on the clustering properties of DNN output features at each layer and the Progressive Feedforward Collapse phenomenon, we propose a method for adversarial example detection and image recognition that uses layer-wise features to construct feature paths and computes the correlation between the examples feature paths and the class-centered feature paths. Experimental results show that the recognition method achieves 82.77% clean accuracy and 44.17% adversarial accuracy on the ResNet-20 with PFC. Compared to the adversarial training method with 77.64% clean accuracy and 52.94% adversarial accuracy, our method exhibits a trade-off without relying on computationally expensive defense strategies. Furthermore, on the standard ResNet-18, our method maintains this advantage with respective metrics of 80.01% and 46.1%. This result reveals inherent adversarial robustness in DNNs, challenging the conventional understanding of the weak adversarial robustness in DNNs.", "date": "2025-05-28", "categories": []} {"id": "2408.09181", "title": "PADetBench: Towards Benchmarking Physical Attacks against Object Detection", "abstract": "Physical attacks against object detection have gained increasing attention due to their significant practical implications. However, conducting physical experiments is extremely time-consuming and labor-intensive. Moreover, physical dynamics and cross-domain transformation are challenging to strictly regulate in the real world, leading to unaligned evaluation and comparison, severely hindering the development of physically robust models. To accommodate these challenges, we explore utilizing realistic simulation to thoroughly and rigorously benchmark physical attacks with fairness under controlled physical dynamics and cross-domain transformation. This resolves the problem of capturing identical adversarial images that cannot be achieved in the real world. Our benchmark includes 20 physical attack methods, 48 object detectors, comprehensive physical dynamics, and evaluation metrics. We also provide end-to-end pipelines for dataset generation, detection, evaluation, and further analysis. In addition, we perform 8064 groups of evaluation based on our benchmark, which includes both overall evaluation and further detailed ablation studies for controlled physical dynamics. Through these experiments, we provide in-depth analyses of physical attack performance and physical adversarial robustness, draw valuable observations, and discuss potential directions for future research.\n Codebase: https://github.com/JiaweiLian/Benchmarking_Physical_Attack", "date": "2024-08-17", "categories": []} {"id": "2410.17401", "title": "AdvAgent: Controllable Blackbox Red-teaming on Web Agents", "abstract": "Foundation model-based agents are increasingly used to automate complex tasks, enhancing efficiency and productivity. However, their access to sensitive resources and autonomous decision-making also introduce significant security risks, where successful attacks could lead to severe consequences. To systematically uncover these vulnerabilities, we propose AdvAgent, a black-box red-teaming framework for attacking web agents. Unlike existing approaches, AdvAgent employs a reinforcement learning-based pipeline to train an adversarial prompter model that optimizes adversarial prompts using feedback from the black-box agent. With careful attack design, these prompts effectively exploit agent weaknesses while maintaining stealthiness and controllability. Extensive evaluations demonstrate that AdvAgent achieves high success rates against state-of-the-art GPT-4-based web agents across diverse web tasks. Furthermore, we find that existing prompt-based defenses provide only limited protection, leaving agents vulnerable to our framework. These findings highlight critical vulnerabilities in current web agents and emphasize the urgent need for stronger defense mechanisms. We release code at https://ai-secure.github.io/AdvAgent/.", "date": "2024-10-22", "categories": []} {"id": "2411.09749", "title": "RenderBender: A Survey on Adversarial Attacks Using Differentiable Rendering", "abstract": "Differentiable rendering techniques like Gaussian Splatting and Neural Radiance Fields have become powerful tools for generating high-fidelity models of 3D objects and scenes. Their ability to produce both physically plausible and differentiable models of scenes are key ingredient needed to produce physically plausible adversarial attacks on DNNs. However, the adversarial machine learning community has yet to fully explore these capabilities, partly due to differing attack goals (e.g., misclassification, misdetection) and a wide range of possible scene manipulations used to achieve them (e.g., alter texture, mesh). This survey contributes the first framework that unifies diverse goals and tasks, facilitating easy comparison of existing work, identifying research gaps, and highlighting future directions - ranging from expanding attack goals and tasks to account for new modalities, state-of-the-art models, tools, and pipelines, to underscoring the importance of studying real-world threats in complex scenes.", "date": "2024-11-14", "categories": []} {"id": "2501.18626", "title": "The TIP of the Iceberg: Revealing a Hidden Class of Task-in-Prompt Adversarial Attacks on LLMs", "abstract": "We present a novel class of jailbreak adversarial attacks on LLMs, termed Task-in-Prompt (TIP) attacks. Our approach embeds sequence-to-sequence tasks (e.g., cipher decoding, riddles, code execution) into the model's prompt to indirectly generate prohibited inputs. To systematically assess the effectiveness of these attacks, we introduce the PHRYGE benchmark. We demonstrate that our techniques successfully circumvent safeguards in six state-of-the-art language models, including GPT-4o and LLaMA 3.2. Our findings highlight critical weaknesses in current LLM safety alignments and underscore the urgent need for more sophisticated defence strategies.\n Warning: this paper contains examples of unethical inquiries used solely for research purposes.", "date": "2025-01-27", "categories": []} {"id": "2503.12827", "title": "GSBA$^K$: $top$-$K$ Geometric Score-based Black-box Attack", "abstract": "Existing score-based adversarial attacks mainly focus on crafting $top$-1 adversarial examples against classifiers with single-label classification. Their attack success rate and query efficiency are often less than satisfactory, particularly under small perturbation requirements; moreover, the vulnerability of classifiers with multi-label learning is yet to be studied. In this paper, we propose a comprehensive surrogate free score-based attack, named \\b geometric \\b score-based \\b black-box \\b attack (GSBA$^K$), to craft adversarial examples in an aggressive $top$-$K$ setting for both untargeted and targeted attacks, where the goal is to change the $top$-$K$ predictions of the target classifier. We introduce novel gradient-based methods to find a good initial boundary point to attack. Our iterative method employs novel gradient estimation techniques, particularly effective in $top$-$K$ setting, on the decision boundary to effectively exploit the geometry of the decision boundary. Additionally, GSBA$^K$ can be used to attack against classifiers with $top$-$K$ multi-label learning. Extensive experimental results on ImageNet and PASCAL VOC datasets validate the effectiveness of GSBA$^K$ in crafting $top$-$K$ adversarial examples.", "date": "2025-03-17", "categories": []} {"id": "2506.00280", "title": "3D Gaussian Splat Vulnerabilities", "abstract": "With 3D Gaussian Splatting (3DGS) being increasingly used in safety-critical applications, how can an adversary manipulate the scene to cause harm? We introduce CLOAK, the first attack that leverages view-dependent Gaussian appearances - colors and textures that change with viewing angle - to embed adversarial content visible only from specific viewpoints. We further demonstrate DAGGER, a targeted adversarial attack directly perturbing 3D Gaussians without access to underlying training data, deceiving multi-stage object detectors e.g., Faster R-CNN, through established methods such as projected gradient descent. These attacks highlight underexplored vulnerabilities in 3DGS, introducing a new potential threat to robotic learning for autonomous navigation and other safety-critical 3DGS applications.", "date": "2025-05-30", "categories": []} {"id": "2506.00325", "title": "Towards Effective and Efficient Adversarial Defense with Diffusion Models for Robust Visual Tracking", "abstract": "Although deep learning-based visual tracking methods have made significant progress, they exhibit vulnerabilities when facing carefully designed adversarial attacks, which can lead to a sharp decline in tracking performance. To address this issue, this paper proposes for the first time a novel adversarial defense method based on denoise diffusion probabilistic models, termed DiffDf, aimed at effectively improving the robustness of existing visual tracking methods against adversarial attacks. DiffDf establishes a multi-scale defense mechanism by combining pixel-level reconstruction loss, semantic consistency loss, and structural similarity loss, effectively suppressing adversarial perturbations through a gradual denoising process. Extensive experimental results on several mainstream datasets show that the DiffDf method demonstrates excellent generalization performance for trackers with different architectures, significantly improving various evaluation metrics while achieving real-time inference speeds of over 30 FPS, showcasing outstanding defense performance and efficiency. Codes are available at https://github.com/pgao-lab/DiffDf.", "date": "2025-05-31", "categories": []} {"id": "2506.00548", "title": "Con Instruction: Universal Jailbreaking of Multimodal Large Language Models via Non-Textual Modalities", "abstract": "Existing attacks against multimodal language models (MLLMs) primarily communicate instructions through text accompanied by adversarial images. In contrast, we exploit the capabilities of MLLMs to interpret non-textual instructions, specifically, adversarial images or audio generated by our novel method, Con Instruction. We optimize these adversarial examples to align closely with target instructions in the embedding space, revealing the detrimental implications of MLLMs' sophisticated understanding. Unlike prior work, our method does not require training data or preprocessing of textual instructions. While these non-textual adversarial examples can effectively bypass MLLM safety mechanisms, their combination with various text inputs substantially amplifies attack success. We further introduce a new Attack Response Categorization (ARC) framework, which evaluates both the quality of the model's response and its relevance to the malicious instructions. Experimental results demonstrate that Con Instruction effectively bypasses safety mechanisms in multiple vision- and audio-language models, including LLaVA-v1.5, InternVL, Qwen-VL, and Qwen-Audio, evaluated on two standard benchmarks: AdvBench and SafeBench. Specifically, our method achieves the highest attack success rates, reaching 81.3% and 86.6% on LLaVA-v1.5 (13B). On the defense side, we explore various countermeasures against our attacks and uncover a substantial performance gap among existing techniques. Our implementation is made publicly available.", "date": "2025-05-31", "categories": []} {"id": "2506.01267", "title": "Adversarial learning for nonparametric regression: Minimax rate and adaptive estimation", "abstract": "Despite tremendous advancements of machine learning models and algorithms in various application domains, they are known to be vulnerable to subtle, natural or intentionally crafted perturbations in future input data, known as adversarial attacks. While numerous adversarial learning methods have been proposed, fundamental questions about their statistical optimality in robust loss remain largely unanswered. In particular, the minimax rate of convergence and the construction of rate-optimal estimators under future $X$-attacks are yet to be worked out.\n In this paper, we address this issue in the context of nonparametric regression, under suitable assumptions on the smoothness of the regression function and the geometric structure of the input perturbation set. We first establish the minimax rate of convergence under adversarial $L_q$-risks with $1 \\leq q \\leq \\infty$ and propose a piecewise local polynomial estimator that achieves the minimax optimality. The established minimax rate elucidates how the smoothness level and perturbation magnitude affect the fundamental limit of adversarial learning under future $X$-attacks. Furthermore, we construct a data-driven adaptive estimator that is shown to achieve, within a logarithmic factor, the optimal rate across a broad scale of nonparametric and adversarial classes.", "date": "2025-06-02", "categories": []} {"id": "2506.01511", "title": "Enhancing Diffusion-based Unrestricted Adversarial Attacks via Adversary Preferences Alignment", "abstract": "Preference alignment in diffusion models has primarily focused on benign human preferences (e.g., aesthetic). In this paper, we propose a novel perspective: framing unrestricted adversarial example generation as a problem of aligning with adversary preferences. Unlike benign alignment, adversarial alignment involves two inherently conflicting preferences: visual consistency and attack effectiveness, which often lead to unstable optimization and reward hacking (e.g., reducing visual quality to improve attack success). To address this, we propose APA (Adversary Preferences Alignment), a two-stage framework that decouples conflicting preferences and optimizes each with differentiable rewards. In the first stage, APA fine-tunes LoRA to improve visual consistency using rule-based similarity reward. In the second stage, APA updates either the image latent or prompt embedding based on feedback from a substitute classifier, guided by trajectory-level and step-wise rewards. To enhance black-box transferability, we further incorporate a diffusion augmentation strategy. Experiments demonstrate that APA achieves significantly better attack transferability while maintaining high visual consistency, inspiring further research to approach adversarial attacks from an alignment perspective. Code will be available at https://github.com/deep-kaixun/APA.", "date": "2025-06-02", "categories": []} {"id": "2506.01591", "title": "Silence is Golden: Leveraging Adversarial Examples to Nullify Audio Control in LDM-based Talking-Head Generation", "abstract": "Advances in talking-head animation based on Latent Diffusion Models (LDM) enable the creation of highly realistic, synchronized videos. These fabricated videos are indistinguishable from real ones, increasing the risk of potential misuse for scams, political manipulation, and misinformation. Hence, addressing these ethical concerns has become a pressing issue in AI security. Recent proactive defense studies focused on countering LDM-based models by adding perturbations to portraits. However, these methods are ineffective at protecting reference portraits from advanced image-to-video animation. The limitations are twofold: 1) they fail to prevent images from being manipulated by audio signals, and 2) diffusion-based purification techniques can effectively eliminate protective perturbations. To address these challenges, we propose Silencer, a two-stage method designed to proactively protect the privacy of portraits. First, a nullifying loss is proposed to ignore audio control in talking-head generation. Second, we apply anti-purification loss in LDM to optimize the inverted latent feature to generate robust perturbations. Extensive experiments demonstrate the effectiveness of Silencer in proactively protecting portrait privacy. We hope this work will raise awareness among the AI security community regarding critical ethical issues related to talking-head generation techniques. Code: https://github.com/yuangan/Silencer.", "date": "2025-06-02", "categories": []} {"id": "2409.01249", "title": "Adversarial Pruning: A Survey and Benchmark of Pruning Methods for Adversarial Robustness", "abstract": "Recent work has proposed neural network pruning techniques to reduce the size of a network while preserving robustness against adversarial examples, i.e., well-crafted inputs inducing a misclassification. These methods, which we refer to as adversarial pruning methods, involve complex and articulated designs, making it difficult to analyze the differences and establish a fair and accurate comparison. In this work, we overcome these issues by surveying current adversarial pruning methods and proposing a novel taxonomy to categorize them based on two main dimensions: the pipeline, defining when to prune; and the specifics, defining how to prune. We then highlight the limitations of current empirical analyses and propose a novel, fair evaluation benchmark to address them. We finally conduct an empirical re-evaluation of current adversarial pruning methods and discuss the results, highlighting the shared traits of top-performing adversarial pruning methods, as well as common issues. We welcome contributions in our publicly-available benchmark at https://github.com/pralab/AdversarialPruningBenchmark", "date": "2024-09-02", "categories": []} {"id": "2502.03758", "title": "Improving Adversarial Robustness via Phase and Amplitude-aware Prompting", "abstract": "Deep neural networks are found to be vulnerable to adversarial perturbations. The prompt-based defense has been increasingly studied due to its high efficiency. However, existing prompt-based defenses mainly exploited mixed prompt patterns, where critical patterns closely related to object semantics lack sufficient focus. The phase and amplitude spectra have been proven to be highly related to specific semantic patterns and crucial for robustness. To this end, in this paper, we propose a Phase and Amplitude-aware Prompting (PAP) defense. Specifically, we construct phase-level and amplitude-level prompts for each class, and adjust weights for prompting according to the model's robust performance under these prompts during training. During testing, we select prompts for each image using its predicted label to obtain the prompted image, which is inputted to the model to get the final prediction. Experimental results demonstrate the effectiveness of our method.", "date": "2025-02-06", "categories": []} {"id": "2505.05528", "title": "X-Transfer Attacks: Towards Super Transferable Adversarial Attacks on CLIP", "abstract": "As Contrastive Language-Image Pre-training (CLIP) models are increasingly adopted for diverse downstream tasks and integrated into large vision-language models (VLMs), their susceptibility to adversarial perturbations has emerged as a critical concern. In this work, we introduce \\textbf{X-Transfer}, a novel attack method that exposes a universal adversarial vulnerability in CLIP. X-Transfer generates a Universal Adversarial Perturbation (UAP) capable of deceiving various CLIP encoders and downstream VLMs across different samples, tasks, and domains. We refer to this property as \\textbf{super transferability}--a single perturbation achieving cross-data, cross-domain, cross-model, and cross-task adversarial transferability simultaneously. This is achieved through \\textbf{surrogate scaling}, a key innovation of our approach. Unlike existing methods that rely on fixed surrogate models, which are computationally intensive to scale, X-Transfer employs an efficient surrogate scaling strategy that dynamically selects a small subset of suitable surrogates from a large search space. Extensive evaluations demonstrate that X-Transfer significantly outperforms previous state-of-the-art UAP methods, establishing a new benchmark for adversarial transferability across CLIP models. The code is publicly available in our \\href{https://github.com/HanxunH/XTransferBench}{GitHub repository}.", "date": "2025-05-08", "categories": []} {"id": "2505.22604", "title": "Adversarially Robust AI-Generated Image Detection for Free: An Information Theoretic Perspective", "abstract": "Rapid advances in Artificial Intelligence Generated Images (AIGI) have facilitated malicious use, such as forgery and misinformation. Therefore, numerous methods have been proposed to detect fake images. Although such detectors have been proven to be universally vulnerable to adversarial attacks, defenses in this field are scarce. In this paper, we first identify that adversarial training (AT), widely regarded as the most effective defense, suffers from performance collapse in AIGI detection. Through an information-theoretic lens, we further attribute the cause of collapse to feature entanglement, which disrupts the preservation of feature-label mutual information. Instead, standard detectors show clear feature separation. Motivated by this difference, we propose Training-free Robust Detection via Information-theoretic Measures (TRIM), the first training-free adversarial defense for AIGI detection. TRIM builds on standard detectors and quantifies feature shifts using prediction entropy and KL divergence. Extensive experiments across multiple datasets and attacks validate the superiority of our TRIM, e.g., outperforming the state-of-the-art defense by 33.88% (28.91%) on ProGAN (GenImage), while well maintaining original accuracy.", "date": "2025-05-28", "categories": []} {"id": "2505.24141", "title": "The Butterfly Effect in Pathology: Exploring Security in Pathology Foundation Models", "abstract": "With the widespread adoption of pathology foundation models in both research and clinical decision support systems, exploring their security has become a critical concern. However, despite their growing impact, the vulnerability of these models to adversarial attacks remains largely unexplored. In this work, we present the first systematic investigation into the security of pathology foundation models for whole slide image~(WSI) analysis against adversarial attacks. Specifically, we introduce the principle of \\textit{local perturbation with global impact} and propose a label-free attack framework that operates without requiring access to downstream task labels. Under this attack framework, we revise four classical white-box attack methods and redefine the perturbation budget based on the characteristics of WSI. We conduct comprehensive experiments on three representative pathology foundation models across five datasets and six downstream tasks. Despite modifying only 0.1\\% of patches per slide with imperceptible noise, our attack leads to downstream accuracy degradation that can reach up to 20\\% in the worst cases. Furthermore, we analyze key factors that influence attack success, explore the relationship between patch-level vulnerability and semantic content, and conduct a preliminary investigation into potential defence strategies. These findings lay the groundwork for future research on the adversarial robustness and reliable deployment of pathology foundation models. Our code is publicly available at: https://github.com/Jiashuai-Liu-hmos/Attack-WSI-pathology-foundation-models.", "date": "2025-05-30", "categories": []} {"id": "2505.24227", "title": "Light as Deception: GPT-driven Natural Relighting Against Vision-Language Pre-training Models", "abstract": "While adversarial attacks on vision-and-language pretraining (VLP) models have been explored, generating natural adversarial samples crafted through realistic and semantically meaningful perturbations remains an open challenge. Existing methods, primarily designed for classification tasks, struggle when adapted to VLP models due to their restricted optimization spaces, leading to ineffective attacks or unnatural artifacts. To address this, we propose \\textbf{LightD}, a novel framework that generates natural adversarial samples for VLP models via semantically guided relighting. Specifically, LightD leverages ChatGPT to propose context-aware initial lighting parameters and integrates a pretrained relighting model (IC-light) to enable diverse lighting adjustments. LightD expands the optimization space while ensuring perturbations align with scene semantics. Additionally, gradient-based optimization is applied to the reference lighting image to further enhance attack effectiveness while maintaining visual naturalness. The effectiveness and superiority of the proposed LightD have been demonstrated across various VLP models in tasks such as image captioning and visual question answering.", "date": "2025-05-30", "categories": []} {"id": "2505.24369", "title": "Adversarial Preference Learning for Robust LLM Alignment", "abstract": "Modern language models often rely on Reinforcement Learning from Human Feedback (RLHF) to encourage safe behaviors. However, they remain vulnerable to adversarial attacks due to three key limitations: (1) the inefficiency and high cost of human annotation, (2) the vast diversity of potential adversarial attacks, and (3) the risk of feedback bias and reward hacking. To address these challenges, we introduce Adversarial Preference Learning (APL), an iterative adversarial training method incorporating three key innovations. First, a direct harmfulness metric based on the model's intrinsic preference probabilities, eliminating reliance on external assessment. Second, a conditional generative attacker that synthesizes input-specific adversarial variations. Third, an iterative framework with automated closed-loop feedback, enabling continuous adaptation through vulnerability discovery and mitigation. Experiments on Mistral-7B-Instruct-v0.3 demonstrate that APL significantly enhances robustness, achieving 83.33% harmlessness win rate over the base model (evaluated by GPT-4o), reducing harmful outputs from 5.88% to 0.43% (measured by LLaMA-Guard), and lowering attack success rate by up to 65% according to HarmBench. Notably, APL maintains competitive utility, with an MT-Bench score of 6.59 (comparable to the baseline 6.78) and an LC-WinRate of 46.52% against the base model.", "date": "2025-05-30", "categories": []} {"id": "2505.24654", "title": "Black-box Adversarial Attacks on CNN-based SLAM Algorithms", "abstract": "Continuous advancements in deep learning have led to significant progress in feature detection, resulting in enhanced accuracy in tasks like Simultaneous Localization and Mapping (SLAM). Nevertheless, the vulnerability of deep neural networks to adversarial attacks remains a challenge for their reliable deployment in applications, such as navigation of autonomous agents. Even though CNN-based SLAM algorithms are a growing area of research there is a notable absence of a comprehensive presentation and examination of adversarial attacks targeting CNN-based feature detectors, as part of a SLAM system. Our work introduces black-box adversarial perturbations applied to the RGB images fed into the GCN-SLAM algorithm. Our findings on the TUM dataset [30] reveal that even attacks of moderate scale can lead to tracking failure in as many as 76% of the frames. Moreover, our experiments highlight the catastrophic impact of attacking depth instead of RGB input images on the SLAM system.", "date": "2025-05-30", "categories": []} {"id": "2505.24703", "title": "PatchDEMUX: A Certifiably Robust Framework for Multi-label Classifiers Against Adversarial Patches", "abstract": "Deep learning techniques have enabled vast improvements in computer vision technologies. Nevertheless, these models are vulnerable to adversarial patch attacks which catastrophically impair performance. The physically realizable nature of these attacks calls for certifiable defenses, which feature provable guarantees on robustness. While certifiable defenses have been successfully applied to single-label classification, limited work has been done for multi-label classification. In this work, we present PatchDEMUX, a certifiably robust framework for multi-label classifiers against adversarial patches. Our approach is a generalizable method which can extend any existing certifiable defense for single-label classification; this is done by considering the multi-label classification task as a series of isolated binary classification problems to provably guarantee robustness. Furthermore, in the scenario where an attacker is limited to a single patch we propose an additional certification procedure that can provide tighter robustness bounds. Using the current state-of-the-art (SOTA) single-label certifiable defense PatchCleanser as a backbone, we find that PatchDEMUX can achieve non-trivial robustness on the MS-COCO and PASCAL VOC datasets while maintaining high clean performance", "date": "2025-05-30", "categories": []} {"id": "2402.17390", "title": "Robustness-Congruent Adversarial Training for Secure Machine Learning Model Updates", "abstract": "Machine-learning models demand periodic updates to improve their average accuracy, exploiting novel architectures and additional data. However, a newly updated model may commit mistakes the previous model did not make. Such misclassifications are referred to as negative flips, experienced by users as a regression of performance. In this work, we show that this problem also affects robustness to adversarial examples, hindering the development of secure model update practices. In particular, when updating a model to improve its adversarial robustness, previously ineffective adversarial attacks on some inputs may become successful, causing a regression in the perceived security of the system. We propose a novel technique, named robustness-congruent adversarial training, to address this issue. It amounts to fine-tuning a model with adversarial training, while constraining it to retain higher robustness on the samples for which no adversarial example was found before the update. We show that our algorithm and, more generally, learning with non-regression constraints, provides a theoretically-grounded framework to train consistent estimators. Our experiments on robust models for computer vision confirm that both accuracy and robustness, even if improved after model update, can be affected by negative flips, and our robustness-congruent adversarial training can mitigate the problem, outperforming competing baseline methods.", "date": "2024-02-27", "categories": []} {"id": "2412.16359", "title": "Human-Readable Adversarial Prompts: An Investigation into LLM Vulnerabilities Using Situational Context", "abstract": "As the AI systems become deeply embedded in social media platforms, we've uncovered a concerning security vulnerability that goes beyond traditional adversarial attacks. It becomes important to assess the risks of LLMs before the general public use them on social media platforms to avoid any adverse impacts. Unlike obvious nonsensical text strings that safety systems can easily catch, our work reveals that human-readable situation-driven adversarial full-prompts that leverage situational context are effective but much harder to detect. We found that skilled attackers can exploit the vulnerabilities in open-source and proprietary LLMs to make a malicious user query safe for LLMs, resulting in generating a harmful response. This raises an important question about the vulnerabilities of LLMs. To measure the robustness against human-readable attacks, which now present a potent threat, our research makes three major contributions. First, we developed attacks that use movie scripts as situational contextual frameworks, creating natural-looking full-prompts that trick LLMs into generating harmful content. Second, we developed a method to transform gibberish adversarial text into readable, innocuous content that still exploits vulnerabilities when used within the full-prompts. Finally, we enhanced the AdvPrompter framework with p-nucleus sampling to generate diverse human-readable adversarial texts that significantly improve attack effectiveness against models like GPT-3.5-Turbo-0125 and Gemma-7b. Our findings show that these systems can be manipulated to operate beyond their intended ethical boundaries when presented with seemingly normal prompts that contain hidden adversarial elements. By identifying these vulnerabilities, we aim to drive the development of more robust safety mechanisms that can withstand sophisticated attacks in real-world applications.", "date": "2024-12-20", "categories": []} {"id": "2505.22839", "title": "How Do Diffusion Models Improve Adversarial Robustness?", "abstract": "Recent findings suggest that diffusion models significantly enhance empirical adversarial robustness. While some intuitive explanations have been proposed, the precise mechanisms underlying these improvements remain unclear. In this work, we systematically investigate how and how well diffusion models improve adversarial robustness. First, we observe that diffusion models intriguingly increase, rather than decrease, the $\\ell_p$ distance to clean samples--challenging the intuition that purification denoises inputs closer to the original data. Second, we find that the purified images are heavily influenced by the internal randomness of diffusion models, where a compression effect arises within each randomness configuration. Motivated by this observation, we evaluate robustness under fixed randomness and find that the improvement drops to approximately 24% on CIFAR-10--substantially lower than prior reports approaching 70%. Importantly, we show that this remaining robustness gain strongly correlates with the model's ability to compress the input space, revealing the compression rate as a reliable robustness indicator without requiring gradient-based analysis. Our findings provide novel insights into the mechanisms underlying diffusion-based purification, and offer guidance for developing more effective and principled adversarial purification systems.", "date": "2025-05-28", "categories": []} {"id": "2505.23192", "title": "Fooling the Watchers: Breaking AIGC Detectors via Semantic Prompt Attacks", "abstract": "The rise of text-to-image (T2I) models has enabled the synthesis of photorealistic human portraits, raising serious concerns about identity misuse and the robustness of AIGC detectors. In this work, we propose an automated adversarial prompt generation framework that leverages a grammar tree structure and a variant of the Monte Carlo tree search algorithm to systematically explore the semantic prompt space. Our method generates diverse, controllable prompts that consistently evade both open-source and commercial AIGC detectors. Extensive experiments across multiple T2I models validate its effectiveness, and the approach ranked first in a real-world adversarial AIGC detection competition. Beyond attack scenarios, our method can also be used to construct high-quality adversarial datasets, providing valuable resources for training and evaluating more robust AIGC detection and defense systems.", "date": "2025-05-29", "categories": []} {"id": "2505.23266", "title": "Disrupting Vision-Language Model-Driven Navigation Services via Adversarial Object Fusion", "abstract": "We present Adversarial Object Fusion (AdvOF), a novel attack framework targeting vision-and-language navigation (VLN) agents in service-oriented environments by generating adversarial 3D objects. While foundational models like Large Language Models (LLMs) and Vision Language Models (VLMs) have enhanced service-oriented navigation systems through improved perception and decision-making, their integration introduces vulnerabilities in mission-critical service workflows. Existing adversarial attacks fail to address service computing contexts, where reliability and quality-of-service (QoS) are paramount. We utilize AdvOF to investigate and explore the impact of adversarial environments on the VLM-based perception module of VLN agents. In particular, AdvOF first precisely aggregates and aligns the victim object positions in both 2D and 3D space, defining and rendering adversarial objects. Then, we collaboratively optimize the adversarial object with regularization between the adversarial and victim object across physical properties and VLM perceptions. Through assigning importance weights to varying views, the optimization is processed stably and multi-viewedly by iterative fusions from local updates and justifications. Our extensive evaluations demonstrate AdvOF can effectively degrade agent performance under adversarial conditions while maintaining minimal interference with normal navigation tasks. This work advances the understanding of service security in VLM-powered navigation systems, providing computational foundations for robust service composition in physical-world deployments.", "date": "2025-05-29", "categories": []} {"id": "2505.23313", "title": "Adversarial Semantic and Label Perturbation Attack for Pedestrian Attribute Recognition", "abstract": "Pedestrian Attribute Recognition (PAR) is an indispensable task in human-centered research and has made great progress in recent years with the development of deep neural networks. However, the potential vulnerability and anti-interference ability have still not been fully explored. To bridge this gap, this paper proposes the first adversarial attack and defense framework for pedestrian attribute recognition. Specifically, we exploit both global- and patch-level attacks on the pedestrian images, based on the pre-trained CLIP-based PAR framework. It first divides the input pedestrian image into non-overlapping patches and embeds them into feature embeddings using a projection layer. Meanwhile, the attribute set is expanded into sentences using prompts and embedded into attribute features using a pre-trained CLIP text encoder. A multi-modal Transformer is adopted to fuse the obtained vision and text tokens, and a feed-forward network is utilized for attribute recognition. Based on the aforementioned PAR framework, we adopt the adversarial semantic and label-perturbation to generate the adversarial noise, termed ASL-PAR. We also design a semantic offset defense strategy to suppress the influence of adversarial attacks. Extensive experiments conducted on both digital domains (i.e., PETA, PA100K, MSP60K, RAPv2) and physical domains fully validated the effectiveness of our proposed adversarial attack and defense strategies for the pedestrian attribute recognition. The source code of this paper will be released on https://github.com/Event-AHU/OpenPAR.", "date": "2025-05-29", "categories": []} {"id": "2406.04848", "title": "CTBENCH: A Library and Benchmark for Certified Training", "abstract": "Training certifiably robust neural networks is an important but challenging task. While many algorithms for (deterministic) certified training have been proposed, they are often evaluated on different training schedules, certification methods, and systematically under-tuned hyperparameters, making it difficult to compare their performance. To address this challenge, we introduce CTBench, a unified library and a high-quality benchmark for certified training that evaluates all algorithms under fair settings and systematically tuned hyperparameters. We show that (1) almost all algorithms in CTBench surpass the corresponding reported performance in literature in the magnitude of algorithmic improvements, thus establishing new state-of-the-art, and (2) the claimed advantage of recent algorithms drops significantly when we enhance the outdated baselines with a fair training schedule, a fair certification method and well-tuned hyperparameters. Based on CTBench, we provide new insights into the current state of certified training, including (1) certified models have less fragmented loss surface, (2) certified models share many mistakes, (3) certified models have more sparse activations, (4) reducing regularization cleverly is crucial for certified training especially for large radii and (5) certified training has the potential to improve out-of-distribution generalization. We are confident that CTBench will serve as a benchmark and testbed for future research in certified training.", "date": "2024-06-07", "categories": []} {"id": "2410.06851", "title": "Understanding Model Ensemble in Transferable Adversarial Attack", "abstract": "Model ensemble adversarial attack has become a powerful method for generating transferable adversarial examples that can target even unknown models, but its theoretical foundation remains underexplored. To address this gap, we provide early theoretical insights that serve as a roadmap for advancing model ensemble adversarial attack. We first define transferability error to measure the error in adversarial transferability, alongside concepts of diversity and empirical model ensemble Rademacher complexity. We then decompose the transferability error into vulnerability, diversity, and a constant, which rigidly explains the origin of transferability error in model ensemble attack: the vulnerability of an adversarial example to ensemble components, and the diversity of ensemble components. Furthermore, we apply the latest mathematical tools in information theory to bound the transferability error using complexity and generalization terms, contributing to three practical guidelines for reducing transferability error: (1) incorporating more surrogate models, (2) increasing their diversity, and (3) reducing their complexity in cases of overfitting. Finally, extensive experiments with 54 models validate our theoretical framework, representing a significant step forward in understanding transferable model ensemble adversarial attacks.", "date": "2024-10-09", "categories": []} {"id": "2504.08411", "title": "A Knowledge-guided Adversarial Defense for Resisting Malicious Visual Manipulation", "abstract": "Malicious applications of visual manipulation have raised serious threats to the security and reputation of users in many fields. To alleviate these issues, adversarial noise-based defenses have been enthusiastically studied in recent years. However, ``data-only\" methods tend to distort fake samples in the low-level feature space rather than the high-level semantic space, leading to limitations in resisting malicious manipulation. Frontier research has shown that integrating knowledge in deep learning can produce reliable and generalizable solutions. Inspired by these, we propose a knowledge-guided adversarial defense (KGAD) to actively force malicious manipulation models to output semantically confusing samples. Specifically, in the process of generating adversarial noise, we focus on constructing significant semantic confusions at the domain-specific knowledge level, and exploit a metric closely related to visual perception to replace the general pixel-wise metrics. The generated adversarial noise can actively interfere with the malicious manipulation model by triggering knowledge-guided and perception-related disruptions in the fake samples. To validate the effectiveness of the proposed method, we conduct qualitative and quantitative experiments on human perception and visual quality assessment. The results on two different tasks both show that our defense provides better protection compared to state-of-the-art methods and achieves great generalizability.", "date": "2025-04-11", "categories": []} {"id": "2505.21556", "title": "Benign-to-Toxic Jailbreaking: Inducing Harmful Responses from Harmless Prompts", "abstract": "Optimization-based jailbreaks typically adopt the Toxic-Continuation setting in large vision-language models (LVLMs), following the standard next-token prediction objective. In this setting, an adversarial image is optimized to make the model predict the next token of a toxic prompt. However, we find that the Toxic-Continuation paradigm is effective at continuing already-toxic inputs, but struggles to induce safety misalignment when explicit toxic signals are absent. We propose a new paradigm: Benign-to-Toxic (B2T) jailbreak. Unlike prior work, we optimize adversarial images to induce toxic outputs from benign conditioning. Since benign conditioning contains no safety violations, the image alone must break the model's safety mechanisms. Our method outperforms prior approaches, transfers in black-box settings, and complements text-based jailbreaks. These results reveal an underexplored vulnerability in multimodal alignment and introduce a fundamentally new direction for jailbreak approaches.", "date": "2025-05-26", "categories": []} {"id": "2505.21609", "title": "Preventing Adversarial AI Attacks Against Autonomous Situational Awareness: A Maritime Case Study", "abstract": "Adversarial artificial intelligence (AI) attacks pose a significant threat to autonomous transportation, such as maritime vessels, that rely on AI components. Malicious actors can exploit these systems to deceive and manipulate AI-driven operations. This paper addresses three critical research challenges associated with adversarial AI: the limited scope of traditional defences, inadequate security metrics, and the need to build resilience beyond model-level defences. To address these challenges, we propose building defences utilising multiple inputs and data fusion to create defensive components and an AI security metric as a novel approach toward developing more secure AI systems. We name this approach the Data Fusion Cyber Resilience (DFCR) method, and we evaluate it through real-world demonstrations and comprehensive quantitative analyses, comparing a system built with the DFCR method against single-input models and models utilising existing state-of-the-art defences. The findings show that the DFCR approach significantly enhances resilience against adversarial machine learning attacks in maritime autonomous system operations, achieving up to a 35\\% reduction in loss for successful multi-pronged perturbation attacks, up to a 100\\% reduction in loss for successful adversarial patch attacks and up to 100\\% reduction in loss for successful spoofing attacks when using these more resilient systems. We demonstrate how DFCR and DFCR confidence scores can reduce adversarial AI contact confidence and improve decision-making by the system, even when typical adversarial defences have been compromised. Ultimately, this work contributes to the development of more secure and resilient AI-driven systems against adversarial attacks.", "date": "2025-05-27", "categories": []} {"id": "2505.21742", "title": "What is Adversarial Training for Diffusion Models?", "abstract": "We answer the question in the title, showing that adversarial training (AT) for diffusion models (DMs) fundamentally differs from classifiers: while AT in classifiers enforces output invariance, AT in DMs requires equivariance to keep the diffusion process aligned with the data distribution. AT is a way to enforce smoothness in the diffusion flow, improving robustness to outliers and corrupted data. Unlike prior art, our method makes no assumptions about the noise model and integrates seamlessly into diffusion training by adding random noise, similar to randomized smoothing, or adversarial noise, akin to AT. This enables intrinsic capabilities such as handling noisy data, dealing with extreme variability such as outliers, preventing memorization, and improving robustness. We rigorously evaluate our approach with proof-of-concept datasets with known distributions in low- and high-dimensional space, thereby taking a perfect measure of errors; we further evaluate on standard benchmarks such as CIFAR-10, CelebA and LSUN Bedroom, showing strong performance under severe noise, data corruption, and iterative adversarial attacks.", "date": "2025-05-27", "categories": []} {"id": "2505.21967", "title": "Seeing the Threat: Vulnerabilities in Vision-Language Models to Adversarial Attack", "abstract": "Large Vision-Language Models (LVLMs) have shown remarkable capabilities across a wide range of multimodal tasks. However, their integration of visual inputs introduces expanded attack surfaces, thereby exposing them to novel security vulnerabilities. In this work, we conduct a systematic representational analysis to uncover why conventional adversarial attacks can circumvent the safety mechanisms embedded in LVLMs. We further propose a novel two stage evaluation framework for adversarial attacks on LVLMs. The first stage differentiates among instruction non compliance, outright refusal, and successful adversarial exploitation. The second stage quantifies the degree to which the model's output fulfills the harmful intent of the adversarial prompt, while categorizing refusal behavior into direct refusals, soft refusals, and partial refusals that remain inadvertently helpful. Finally, we introduce a normative schema that defines idealized model behavior when confronted with harmful prompts, offering a principled target for safety alignment in multimodal systems.", "date": "2025-05-28", "categories": []} {"id": "2505.22486", "title": "Understanding Adversarial Training with Energy-based Models", "abstract": "We aim at using Energy-based Model (EBM) framework to better understand adversarial training (AT) in classifiers, and additionally to analyze the intrinsic generative capabilities of robust classifiers. By viewing standard classifiers through an energy lens, we begin by analyzing how the energies of adversarial examples, generated by various attacks, differ from those of the natural samples. The central focus of our work is to understand the critical phenomena of Catastrophic Overfitting (CO) and Robust Overfitting (RO) in AT from an energy perspective. We analyze the impact of existing AT approaches on the energy of samples during training and observe that the behavior of the ``delta energy' -- change in energy between original sample and its adversarial counterpart -- diverges significantly when CO or RO occurs. After a thorough analysis of these energy dynamics and their relationship with overfitting, we propose a novel regularizer, the Delta Energy Regularizer (DER), designed to smoothen the energy landscape during training. We demonstrate that DER is effective in mitigating both CO and RO across multiple benchmarks. We further show that robust classifiers, when being used as generative models, have limits in handling trade-off between image quality and variability. We propose an improved technique based on a local class-wise principal component analysis (PCA) and energy-based guidance for better class-specific initialization and adaptive stopping, enhancing sample diversity and generation quality. Considering that we do not explicitly train for generative modeling, we achieve a competitive Inception Score (IS) and Fr\\'echet inception distance (FID) compared to hybrid discriminative-generative models.", "date": "2025-05-28", "categories": []} {"id": "2406.03143", "title": "ZeroPur: Succinct Training-Free Adversarial Purification", "abstract": "Adversarial purification is a kind of defense technique that can defend against various unseen adversarial attacks without modifying the victim classifier. Existing methods often depend on external generative models or cooperation between auxiliary functions and victim classifiers. However, retraining generative models, auxiliary functions, or victim classifiers relies on the domain of the fine-tuned dataset and is computation-consuming. In this work, we suppose that adversarial images are outliers of the natural image manifold, and the purification process can be considered as returning them to this manifold. Following this assumption, we present a simple adversarial purification method without further training to purify adversarial images, called ZeroPur. ZeroPur contains two steps: given an adversarial example, Guided Shift obtains the shifted embedding of the adversarial example by the guidance of its blurred counterparts; after that, Adaptive Projection constructs a directional vector by this shifted embedding to provide momentum, projecting adversarial images onto the manifold adaptively. ZeroPur is independent of external models and requires no retraining of victim classifiers or auxiliary functions, relying solely on victim classifiers themselves to achieve purification. Extensive experiments on three datasets (CIFAR-10, CIFAR-100, and ImageNet-1K) using various classifier architectures (ResNet, WideResNet) demonstrate that our method achieves state-of-the-art robust performance. The code will be publicly available.", "date": "2024-06-05", "categories": []} {"id": "2410.12671", "title": "New Paradigm of Adversarial Training: Releasing Accuracy-Robustness Trade-Off via Dummy Class", "abstract": "Adversarial Training (AT) is one of the most effective methods to enhance the robustness of Deep Neural Networks (DNNs). However, existing AT methods suffer from an inherent accuracy-robustness trade-off. Previous works have studied this issue under the current AT paradigm, but still face over 10% accuracy reduction without significant robustness improvement over simple baselines such as PGD-AT. This inherent trade-off raises a question: Whether the current AT paradigm, which assumes to learn corresponding benign and adversarial samples as the same class, inappropriately mixes clean and robust objectives that may be essentially inconsistent. In fact, our empirical results show that up to 40% of CIFAR-10 adversarial samples always fail to satisfy such an assumption across various AT methods and robust models, explicitly indicating the room for improvement of the current AT paradigm. To relax from this overstrict assumption and the tension between clean and robust learning, in this work, we propose a new AT paradigm by introducing an additional dummy class for each original class, aiming to accommodate hard adversarial samples with shifted distribution after perturbation. The robustness w.r.t. these adversarial samples can be achieved by runtime recovery from the predicted dummy classes to the corresponding original ones, without conflicting with the clean objective on accuracy of benign samples. Finally, based on our new paradigm, we propose a novel DUmmy Classes-based Adversarial Training (DUCAT) method that concurrently improves accuracy and robustness in a plug-and-play manner only relevant to logits, loss, and a proposed two-hot soft label-based supervised signal. Our method outperforms state-of-the-art (SOTA) benchmarks, effectively releasing the current trade-off. The code is available at https://github.com/FlaAI/DUCAT.", "date": "2024-10-16", "categories": []} {"id": "2410.21952", "title": "On the Robustness of Adversarial Training Against Uncertainty Attacks", "abstract": "In learning problems, the noise inherent to the task at hand hinders the possibility to infer without a certain degree of uncertainty. Quantifying this uncertainty, regardless of its wide use, assumes high relevance for security-sensitive applications. Within these scenarios, it becomes fundamental to guarantee good (i.e., trustworthy) uncertainty measures, which downstream modules can securely employ to drive the final decision-making process. However, an attacker may be interested in forcing the system to produce either (i) highly uncertain outputs jeopardizing the system's availability or (ii) low uncertainty estimates, making the system accept uncertain samples that would instead require a careful inspection (e.g., human intervention). Therefore, it becomes fundamental to understand how to obtain robust uncertainty estimates against these kinds of attacks. In this work, we reveal both empirically and theoretically that defending against adversarial examples, i.e., carefully perturbed samples that cause misclassification, additionally guarantees a more secure, trustworthy uncertainty estimate under common attack scenarios without the need for an ad-hoc defense strategy. To support our claims, we evaluate multiple adversarial-robust models from the publicly available benchmark RobustBench on the CIFAR-10 and ImageNet datasets.", "date": "2024-10-29", "categories": []} {"id": "2501.05359", "title": "SC-Pro: Training-Free Framework for Defending Unsafe Image Synthesis Attack", "abstract": "With advances in diffusion models, image generation has shown significant performance improvements. This raises concerns about the potential abuse of image generation, such as the creation of explicit or violent images, commonly referred to as Not Safe For Work (NSFW) content. To address this, the Stable Diffusion model includes several safety checkers to censor initial text prompts and final output images generated from the model. However, recent research has shown that these safety checkers have vulnerabilities against adversarial attacks, allowing them to generate NSFW images. In this paper, we find that these adversarial attacks are not robust to small changes in text prompts or input latents. Based on this, we propose SC-Pro (Spherical or Circular Probing), a training-free framework that easily defends against adversarial attacks generating NSFW images. Moreover, we develop an approach that utilizes one-step diffusion models for efficient NSFW detection (SC-Pro-o), further reducing computational resources. We demonstrate the superiority of our method in terms of performance and applicability.", "date": "2025-01-09", "categories": []} {"id": "2502.06832", "title": "Optimizing Robustness and Accuracy in Mixture of Experts: A Dual-Model Approach", "abstract": "Mixture of Experts (MoE) have shown remarkable success in leveraging specialized expert networks for complex machine learning tasks. However, their susceptibility to adversarial attacks presents a critical challenge for deployment in robust applications. This paper addresses the critical question of how to incorporate robustness into MoEs while maintaining high natural accuracy. We begin by analyzing the vulnerability of MoE components, finding that expert networks are notably more susceptible to adversarial attacks than the router. Based on this insight, we propose a targeted robust training technique that integrates a novel loss function to enhance the adversarial robustness of MoE, requiring only the robustification of one additional expert without compromising training or inference efficiency. Building on this, we introduce a dual-model strategy that linearly combines a standard MoE model with our robustified MoE model using a smoothing parameter. This approach allows for flexible control over the robustness-accuracy trade-off. We further provide theoretical foundations by deriving certified robustness bounds for both the single MoE and the dual-model. To push the boundaries of robustness and accuracy, we propose a novel joint training strategy JTDMoE for the dual-model. This joint training enhances both robustness and accuracy beyond what is achievable with separate models. Experimental results on CIFAR-10 and TinyImageNet datasets using ResNet18 and Vision Transformer (ViT) architectures demonstrate the effectiveness of our proposed methods. The code is publicly available at https://github.com/TIML-Group/Robust-MoE-Dual-Model.", "date": "2025-02-05", "categories": []} {"id": "2505.21181", "title": "Boosting Adversarial Transferability via High-Frequency Augmentation and Hierarchical-Gradient Fusion", "abstract": "Adversarial attacks have become a significant challenge in the security of machine learning models, particularly in the context of black-box defense strategies. Existing methods for enhancing adversarial transferability primarily focus on the spatial domain. This paper presents Frequency-Space Attack (FSA), a new adversarial attack framework that effectively integrates frequency-domain and spatial-domain transformations. FSA combines two key techniques: (1) High-Frequency Augmentation, which applies Fourier transform with frequency-selective amplification to diversify inputs and emphasize the critical role of high-frequency components in adversarial attacks, and (2) Hierarchical-Gradient Fusion, which merges multi-scale gradient decomposition and fusion to capture both global structures and fine-grained details, resulting in smoother perturbations. Our experiment demonstrates that FSA consistently outperforms state-of-the-art methods across various black-box models. Notably, our proposed FSA achieves an average attack success rate increase of 23.6% compared with BSR (CVPR 2024) on eight black-box defense models.", "date": "2025-05-27", "categories": []} {"id": "2505.21414", "title": "A Framework for Adversarial Analysis of Decision Support Systems Prior to Deployment", "abstract": "This paper introduces a comprehensive framework designed to analyze and secure decision-support systems trained with Deep Reinforcement Learning (DRL), prior to deployment, by providing insights into learned behavior patterns and vulnerabilities discovered through simulation. The introduced framework aids in the development of precisely timed and targeted observation perturbations, enabling researchers to assess adversarial attack outcomes within a strategic decision-making context. We validate our framework, visualize agent behavior, and evaluate adversarial outcomes within the context of a custom-built strategic game, CyberStrike. Utilizing the proposed framework, we introduce a method for systematically discovering and ranking the impact of attacks on various observation indices and time-steps, and we conduct experiments to evaluate the transferability of adversarial attacks across agent architectures and DRL training algorithms. The findings underscore the critical need for robust adversarial defense mechanisms to protect decision-making policies in high-stakes environments.", "date": "2025-05-27", "categories": []} {"id": "2505.21494", "title": "Adversarial Attacks against Closed-Source MLLMs via Feature Optimal Alignment", "abstract": "Multimodal large language models (MLLMs) remain vulnerable to transferable adversarial examples. While existing methods typically achieve targeted attacks by aligning global features-such as CLIP's [CLS] token-between adversarial and target samples, they often overlook the rich local information encoded in patch tokens. This leads to suboptimal alignment and limited transferability, particularly for closed-source models. To address this limitation, we propose a targeted transferable adversarial attack method based on feature optimal alignment, called FOA-Attack, to improve adversarial transfer capability. Specifically, at the global level, we introduce a global feature loss based on cosine similarity to align the coarse-grained features of adversarial samples with those of target samples. At the local level, given the rich local representations within Transformers, we leverage clustering techniques to extract compact local patterns to alleviate redundant local features. We then formulate local feature alignment between adversarial and target samples as an optimal transport (OT) problem and propose a local clustering optimal transport loss to refine fine-grained feature alignment. Additionally, we propose a dynamic ensemble model weighting strategy to adaptively balance the influence of multiple models during adversarial example generation, thereby further improving transferability. Extensive experiments across various models demonstrate the superiority of the proposed method, outperforming state-of-the-art methods, especially in transferring to closed-source MLLMs. The code is released at https://github.com/jiaxiaojunQAQ/FOA-Attack.", "date": "2025-05-27", "categories": []} {"id": "2309.17048", "title": "On Continuity of Robust and Accurate Classifiers", "abstract": "The reliability of a learning model is key to the successful deployment of machine learning in various applications. However, it is difficult to describe the phenomenon due to the complicated nature of the problems in machine learning. It has been shown that adversarial training can improve the robustness of the hypothesis. However, this improvement usually comes at the cost of decreased performance on natural samples. Hence, it has been suggested that robustness and accuracy of a hypothesis are at odds with each other. In this paper, we put forth the alternative proposal that it is the continuity of a hypothesis that is incompatible with its robustness and accuracy in many of these scenarios. In other words, a continuous function cannot effectively learn the optimal robust hypothesis. We introduce a framework for a rigorous study of harmonic and holomorphic hypothesis in learning theory terms and provide empirical evidence that continuous hypotheses do not perform as well as discontinuous hypotheses in some common machine learning tasks. From a practical point of view, our results suggests that a robust and accurate learning rule would train different continuous hypotheses for different regions of the domain. From a theoretical perspective, our analysis explains the adversarial examples phenomenon in these situations as a conflict between the continuity of a sequence of functions and its uniform convergence to a discontinuous function. Given that many of the contemporary machine learning models are continuous functions, it is important to theoretically study the continuity of robust and accurate classifiers as it is consequential in their construction, analysis and evaluation.", "date": "2023-09-29", "categories": []} {"id": "2404.02928", "title": "Jailbreaking Prompt Attack: A Controllable Adversarial Attack against Diffusion Models", "abstract": "Text-to-image (T2I) models can be maliciously used to generate harmful content such as sexually explicit, unfaithful, and misleading or Not-Safe-for-Work (NSFW) images. Previous attacks largely depend on the availability of the diffusion model or involve a lengthy optimization process. In this work, we investigate a more practical and universal attack that does not require the presence of a target model and demonstrate that the high-dimensional text embedding space inherently contains NSFW concepts that can be exploited to generate harmful images. We present the Jailbreaking Prompt Attack (JPA). JPA first searches for the target malicious concepts in the text embedding space using a group of antonyms generated by ChatGPT. Subsequently, a prefix prompt is optimized in the discrete vocabulary space to align malicious concepts semantically in the text embedding space. We further introduce a soft assignment with gradient masking technique that allows us to perform gradient ascent in the discrete vocabulary space.\n We perform extensive experiments with open-sourced T2I models, e.g. stable-diffusion-v1-4 and closed-sourced online services, e.g. DALLE2, Midjourney with black-box safety checkers. Results show that (1) JPA bypasses both text and image safety checkers (2) while preserving high semantic alignment with the target prompt. (3) JPA demonstrates a much faster speed than previous methods and can be executed in a fully automated manner. These merits render it a valuable tool for robustness evaluation in future text-to-image generation research.", "date": "2024-04-02", "categories": []} {"id": "2405.17130", "title": "Explaining the role of Intrinsic Dimensionality in Adversarial Training", "abstract": "Adversarial Training (AT) impacts different architectures in distinct ways: vision models gain robustness but face reduced generalization, encoder-based models exhibit limited robustness improvements with minimal generalization loss, and recent work in latent-space adversarial training (LAT) demonstrates that decoder-based models achieve improved robustness by applying AT across multiple layers. We provide the first explanation for these trends by leveraging the manifold conjecture: off-manifold adversarial examples (AEs) enhance robustness, while on-manifold AEs improve generalization. We show that vision and decoder-based models exhibit low intrinsic dimensionality in earlier layers (favoring off-manifold AEs), whereas encoder-based models do so in later layers (favoring on-manifold AEs). Exploiting this property, we introduce SMAAT, which improves the scalability of AT for encoder-based models by perturbing the layer with the lowest intrinsic dimensionality. This reduces the projected gradient descent (PGD) chain length required for AE generation, cutting GPU time by 25-33% while significantly boosting robustness. We validate SMAAT across multiple tasks, including text generation, sentiment classification, safety filtering, and retrieval augmented generation setups, demonstrating superior robustness with comparable generalization to standard training.", "date": "2024-05-27", "categories": []} {"id": "2406.13920", "title": "Understanding the Robustness of Graph Neural Networks against Adversarial Attacks", "abstract": "Recent studies have shown that graph neural networks (GNNs) are vulnerable to adversarial attacks, posing significant challenges to their deployment in safety-critical scenarios. This vulnerability has spurred a growing focus on designing robust GNNs. Despite this interest, current advancements have predominantly relied on empirical trial and error, resulting in a limited understanding of the robustness of GNNs against adversarial attacks. To address this issue, we conduct the first large-scale systematic study on the adversarial robustness of GNNs by considering the patterns of input graphs, the architecture of GNNs, and their model capacity, along with discussions on sensitive neurons and adversarial transferability. This work proposes a comprehensive empirical framework for analyzing the adversarial robustness of GNNs. To support the analysis of adversarial robustness in GNNs, we introduce two evaluation metrics: the confidence-based decision surface and the accuracy-based adversarial transferability rate. Through experimental analysis, we derive 11 actionable guidelines for designing robust GNNs, enabling model developers to gain deeper insights. The code of this study is available at https://github.com/star4455/GraphRE.", "date": "2024-06-20", "categories": []} {"id": "2503.17168", "title": "Hi-ALPS -- An Experimental Robustness Quantification of Six LiDAR-based Object Detection Systems for Autonomous Driving", "abstract": "Light Detection and Ranging (LiDAR) is an essential sensor technology for autonomous driving as it can capture high-resolution 3D data. As 3D object detection systems (OD) can interpret such point cloud data, they play a key role in the driving decisions of autonomous vehicles. Consequently, such 3D OD must be robust against all types of perturbations and must therefore be extensively tested. One approach is the use of adversarial examples, which are small, sometimes sophisticated perturbations in the input data that change, i.e., falsify, the prediction of the OD. These perturbations are carefully designed based on the weaknesses of the OD. The robustness of the OD cannot be quantified with adversarial examples in general, because if the OD is vulnerable to a given attack, it is unclear whether this is due to the robustness of the OD or whether the attack algorithm produces particularly strong adversarial examples. The contribution of this work is Hi-ALPS -- Hierarchical Adversarial-example-based LiDAR Perturbation Level System, where higher robustness of the OD is required to withstand the perturbations as the perturbation levels increase. In doing so, the Hi-ALPS levels successively implement a heuristic followed by established adversarial example approaches. In a series of comprehensive experiments using Hi-ALPS, we quantify the robustness of six state-of-the-art 3D OD under different types of perturbations. The results of the experiments show that none of the OD is robust against all Hi-ALPS levels; an important factor for the ranking is that human observers can still correctly recognize the perturbed objects, as the respective perturbations are small. To increase the robustness of the OD, we discuss the applicability of state-of-the-art countermeasures. In addition, we derive further suggestions for countermeasures based on our experimental results.", "date": "2025-03-21", "categories": []} {"id": "2504.18556", "title": "RDI: An adversarial robustness evaluation metric for deep neural networks based on model statistical features", "abstract": "Deep neural networks (DNNs) are highly susceptible to adversarial samples, raising concerns about their reliability in safety-critical tasks. Currently, methods of evaluating adversarial robustness are primarily categorized into attack-based and certified robustness evaluation approaches. The former not only relies on specific attack algorithms but also is highly time-consuming, while the latter due to its analytical nature, is typically difficult to implement for large and complex models. A few studies evaluate model robustness based on the model's decision boundary, but they suffer from low evaluation accuracy. To address the aforementioned issues, we propose a novel adversarial robustness evaluation metric, Robustness Difference Index (RDI), which is based on model statistical features. RDI draws inspiration from clustering evaluation by analyzing the intra-class and inter-class distances of feature vectors separated by the decision boundary to quantify model robustness. It is attack-independent and has high computational efficiency. Experiments show that, RDI demonstrates a stronger correlation with the gold-standard adversarial robustness metric of attack success rate (ASR). The average computation time of RDI is only 1/30 of the evaluation method based on the PGD attack. Our open-source code is available at: https://github.com/BUPTAIOC/RDI.", "date": "2025-04-16", "categories": []} {"id": "2505.18864", "title": "Audio Jailbreak Attacks: Exposing Vulnerabilities in SpeechGPT in a White-Box Framework", "abstract": "Recent advances in Multimodal Large Language Models (MLLMs) have significantly enhanced the naturalness and flexibility of human computer interaction by enabling seamless understanding across text, vision, and audio modalities. Among these, voice enabled models such as SpeechGPT have demonstrated considerable improvements in usability, offering expressive, and emotionally responsive interactions that foster deeper connections in real world communication scenarios. However, the use of voice introduces new security risks, as attackers can exploit the unique characteristics of spoken language, such as timing, pronunciation variability, and speech to text translation, to craft inputs that bypass defenses in ways not seen in text-based systems. Despite substantial research on text based jailbreaks, the voice modality remains largely underexplored in terms of both attack strategies and defense mechanisms. In this work, we present an adversarial attack targeting the speech input of aligned MLLMs in a white box scenario. Specifically, we introduce a novel token level attack that leverages access to the model's speech tokenization to generate adversarial token sequences. These sequences are then synthesized into audio prompts, which effectively bypass alignment safeguards and to induce prohibited outputs. Evaluated on SpeechGPT, our approach achieves up to 89 percent attack success rate across multiple restricted tasks, significantly outperforming existing voice based jailbreak methods. Our findings shed light on the vulnerabilities of voice-enabled multimodal systems and to help guide the development of more robust next-generation MLLMs.", "date": "2025-05-24", "categories": []} {"id": "2505.19425", "title": "Structure Disruption: Subverting Malicious Diffusion-Based Inpainting via Self-Attention Query Perturbation", "abstract": "The rapid advancement of diffusion models has enhanced their image inpainting and editing capabilities but also introduced significant societal risks. Adversaries can exploit user images from social media to generate misleading or harmful content. While adversarial perturbations can disrupt inpainting, global perturbation-based methods fail in mask-guided editing tasks due to spatial constraints. To address these challenges, we propose Structure Disruption Attack (SDA), a powerful protection framework for safeguarding sensitive image regions against inpainting-based editing. Building upon the contour-focused nature of self-attention mechanisms of diffusion models, SDA optimizes perturbations by disrupting queries in self-attention during the initial denoising step to destroy the contour generation process. This targeted interference directly disrupts the structural generation capability of diffusion models, effectively preventing them from producing coherent images. We validate our motivation through visualization techniques and extensive experiments on public datasets, demonstrating that SDA achieves state-of-the-art (SOTA) protection performance while maintaining strong robustness.", "date": "2025-05-26", "categories": []} {"id": "2505.19951", "title": "Novel Loss-Enhanced Universal Adversarial Patches for Sustainable Speaker Privacy", "abstract": "Deep learning voice models are commonly used nowadays, but the safety processing of personal data, such as human identity and speech content, remains suspicious. To prevent malicious user identification, speaker anonymization methods were proposed. Current methods, particularly based on universal adversarial patch (UAP) applications, have drawbacks such as significant degradation of audio quality, decreased speech recognition quality, low transferability across different voice biometrics models, and performance dependence on the input audio length. To mitigate these drawbacks, in this work, we introduce and leverage the novel Exponential Total Variance (TV) loss function and provide experimental evidence that it positively affects UAP strength and imperceptibility. Moreover, we present a novel scalable UAP insertion procedure and demonstrate its uniformly high performance for various audio lengths.", "date": "2025-05-26", "categories": []} {"id": "2407.18170", "title": "RIDA: A Robust Attack Framework on Incomplete Graphs", "abstract": "Graph Neural Networks (GNNs) are vital in data science but are increasingly susceptible to adversarial attacks. To help researchers develop more robust GNN models, it's essential to focus on designing strong attack models as foundational benchmarks and guiding references. Among adversarial attacks, gray-box poisoning attacks are noteworthy due to their effectiveness and fewer constraints. These attacks exploit GNNs' need for retraining on updated data, thereby impacting their performance by perturbing these datasets. However, current research overlooks the real-world scenario of incomplete graphs. To address this gap, we introduce the Robust Incomplete Deep Attack Framework (RIDA). It is the first algorithm for robust gray-box poisoning attacks on incomplete graphs. The approach innovatively aggregates distant vertex information and ensures powerful data utilization. Extensive tests against 9 SOTA baselines on 3 real-world datasets demonstrate that RIDA's superiority in handling incompleteness and high attack performance on the incomplete graph.", "date": "2024-07-25", "categories": []} {"id": "2505.17807", "title": "Temporal Consistency Constrained Transferable Adversarial Attacks with Background Mixup for Action Recognition", "abstract": "Action recognition models using deep learning are vulnerable to adversarial examples, which are transferable across other models trained on the same data modality. Existing transferable attack methods face two major challenges: 1) they heavily rely on the assumption that the decision boundaries of the surrogate (a.k.a., source) model and the target model are similar, which limits the adversarial transferability; and 2) their decision boundary difference makes the attack direction uncertain, which may result in the gradient oscillation, weakening the adversarial attack. This motivates us to propose a Background Mixup-induced Temporal Consistency (BMTC) attack method for action recognition. From the input transformation perspective, we design a model-agnostic background adversarial mixup module to reduce the surrogate-target model dependency. In particular, we randomly sample one video from each category and make its background frame, while selecting the background frame with the top attack ability for mixup with the clean frame by reinforcement learning. Moreover, to ensure an explicit attack direction, we leverage the background category as guidance for updating the gradient of adversarial example, and design a temporal gradient consistency loss, which strengthens the stability of the attack direction on subsequent frames. Empirical studies on two video datasets, i.e., UCF101 and Kinetics-400, and one image dataset, i.e., ImageNet, demonstrate that our method significantly boosts the transferability of adversarial examples across several action/image recognition models. Our code is available at https://github.com/mlvccn/BMTC_TransferAttackVid.", "date": "2025-05-23", "categories": []} {"id": "2505.18097", "title": "Towards more transferable adversarial attack in black-box manner", "abstract": "Adversarial attacks have become a well-explored domain, frequently serving as evaluation baselines for model robustness. Among these, black-box attacks based on transferability have received significant attention due to their practical applicability in real-world scenarios. Traditional black-box methods have generally focused on improving the optimization framework (e.g., utilizing momentum in MI-FGSM) to enhance transferability, rather than examining the dependency on surrogate white-box model architectures. Recent state-of-the-art approach DiffPGD has demonstrated enhanced transferability by employing diffusion-based adversarial purification models for adaptive attacks. The inductive bias of diffusion-based adversarial purification aligns naturally with the adversarial attack process, where both involving noise addition, reducing dependency on surrogate white-box model selection. However, the denoising process of diffusion models incurs substantial computational costs through chain rule derivation, manifested in excessive VRAM consumption and extended runtime. This progression prompts us to question whether introducing diffusion models is necessary. We hypothesize that a model sharing similar inductive bias to diffusion-based adversarial purification, combined with an appropriate loss function, could achieve comparable or superior transferability while dramatically reducing computational overhead. In this paper, we propose a novel loss function coupled with a unique surrogate model to validate our hypothesis. Our approach leverages the score of the time-dependent classifier from classifier-guided diffusion models, effectively incorporating natural data distribution knowledge into the adversarial optimization process. Experimental results demonstrate significantly improved transferability across diverse model architectures while maintaining robustness against diffusion-based defenses.", "date": "2025-05-23", "categories": []} {"id": "2306.01271", "title": "On the Clean Generalization and Robust Overfitting in Adversarial Training from Two Theoretical Views: Representation Complexity and Training Dynamics", "abstract": "Similar to surprising performance in the standard deep learning, deep nets trained by adversarial training also generalize well for unseen clean data (natural data). However, despite adversarial training can achieve low robust training error, there exists a significant robust generalization gap. We call this phenomenon the Clean Generalization and Robust Overfitting (CGRO). In this work, we study the CGRO phenomenon in adversarial training from two views: representation complexity and training dynamics. Specifically, we consider a binary classification setting with $N$ separated training data points. First, we prove that, based on the assumption that we assume there is $\\operatorname{poly}(D)$-size clean classifier (where $D$ is the data dimension), ReLU net with only $O(N D)$ extra parameters is able to leverages robust memorization to achieve the CGRO, while robust classifier still requires exponential representation complexity in worst case. Next, we focus on a structured-data case to analyze training dynamics, where we train a two-layer convolutional network with $O(N D)$ width against adversarial perturbation. We then show that a three-stage phase transition occurs during learning process and the network provably converges to robust memorization regime, which thereby results in the CGRO. Besides, we also empirically verify our theoretical analysis by experiments in real-image recognition datasets.", "date": "2023-06-02", "categories": []} {"id": "2505.16166", "title": "TRAIL: Transferable Robust Adversarial Images via Latent diffusion", "abstract": "Adversarial attacks exploiting unrestricted natural perturbations present severe security risks to deep learning systems, yet their transferability across models remains limited due to distribution mismatches between generated adversarial features and real-world data. While recent works utilize pre-trained diffusion models as adversarial priors, they still encounter challenges due to the distribution shift between the distribution of ideal adversarial samples and the natural image distribution learned by the diffusion model. To address the challenge, we propose Transferable Robust Adversarial Images via Latent Diffusion (TRAIL), a test-time adaptation framework that enables the model to generate images from a distribution of images with adversarial features and closely resembles the target images. To mitigate the distribution shift, during attacks, TRAIL updates the diffusion U-Net's weights by combining adversarial objectives (to mislead victim models) and perceptual constraints (to preserve image realism). The adapted model then generates adversarial samples through iterative noise injection and denoising guided by these objectives. Experiments demonstrate that TRAIL significantly outperforms state-of-the-art methods in cross-model attack transferability, validating that distribution-aligned adversarial feature synthesis is critical for practical black-box attacks.", "date": "2025-05-22", "categories": []} {"id": "2505.16263", "title": "All You Need is \"Leet\": Evading Hate-speech Detection AI", "abstract": "Social media and online forums are increasingly becoming popular. Unfortunately, these platforms are being used for spreading hate speech. In this paper, we design black-box techniques to protect users from hate-speech on online platforms by generating perturbations that can fool state of the art deep learning based hate speech detection models thereby decreasing their efficiency. We also ensure a minimal change in the original meaning of hate-speech. Our best perturbation attack is successfully able to evade hate-speech detection for 86.8 % of hateful text.", "date": "2025-05-22", "categories": []} {"id": "2505.16318", "title": "SuperPure: Efficient Purification of Localized and Distributed Adversarial Patches via Super-Resolution GAN Models", "abstract": "As vision-based machine learning models are increasingly integrated into autonomous and cyber-physical systems, concerns about (physical) adversarial patch attacks are growing. While state-of-the-art defenses can achieve certified robustness with minimal impact on utility against highly-concentrated localized patch attacks, they fall short in two important areas: (i) State-of-the-art methods are vulnerable to low-noise distributed patches where perturbations are subtly dispersed to evade detection or masking, as shown recently by the DorPatch attack; (ii) Achieving high robustness with state-of-the-art methods is extremely time and resource-consuming, rendering them impractical for latency-sensitive applications in many cyber-physical systems.\n To address both robustness and latency issues, this paper proposes a new defense strategy for adversarial patch attacks called SuperPure. The key novelty is developing a pixel-wise masking scheme that is robust against both distributed and localized patches. The masking involves leveraging a GAN-based super-resolution scheme to gradually purify the image from adversarial patches. Our extensive evaluations using ImageNet and two standard classifiers, ResNet and EfficientNet, show that SuperPure advances the state-of-the-art in three major directions: (i) it improves the robustness against conventional localized patches by more than 20%, on average, while also improving top-1 clean accuracy by almost 10%; (ii) It achieves 58% robustness against distributed patch attacks (as opposed to 0% in state-of-the-art method, PatchCleanser); (iii) It decreases the defense end-to-end latency by over 98% compared to PatchCleanser. Our further analysis shows that SuperPure is robust against white-box attacks and different patch sizes. Our code is open-source.", "date": "2025-05-22", "categories": []} {"id": "2406.19413", "title": "Saliency Attention and Semantic Similarity-Driven Adversarial Perturbation", "abstract": "In this paper, we introduce an enhanced textual adversarial attack method, known as Saliency Attention and Semantic Similarity driven adversarial Perturbation (SASSP). The proposed scheme is designed to improve the effectiveness of contextual perturbations by integrating saliency, attention, and semantic similarity. Traditional adversarial attack methods often struggle to maintain semantic consistency and coherence while effectively deceiving target models. Our proposed approach addresses these challenges by incorporating a three-pronged strategy for word selection and perturbation. First, we utilize a saliency-based word selection to prioritize words for modification based on their importance to the model's prediction. Second, attention mechanisms are employed to focus perturbations on contextually significant words, enhancing the attack's efficacy. Finally, an advanced semantic similarity-checking method is employed that includes embedding-based similarity and paraphrase detection. By leveraging models like Sentence-BERT for embedding similarity and fine-tuned paraphrase detection models from the Sentence Transformers library, the scheme ensures that the perturbed text remains contextually appropriate and semantically consistent with the original. Empirical evaluations demonstrate that SASSP generates adversarial examples that not only maintain high semantic fidelity but also effectively deceive state-of-the-art natural language processing models. Moreover, in comparison to the original scheme of contextual perturbation CLARE, SASSP has yielded a higher attack success rate and lower word perturbation rate.", "date": "2024-06-18", "categories": []} {"id": "2505.04046", "title": "Reliable Disentanglement Multi-view Learning Against View Adversarial Attacks", "abstract": "Trustworthy multi-view learning has attracted extensive attention because evidence learning can provide reliable uncertainty estimation to enhance the credibility of multi-view predictions. Existing trusted multi-view learning methods implicitly assume that multi-view data is secure. However, in safety-sensitive applications such as autonomous driving and security monitoring, multi-view data often faces threats from adversarial perturbations, thereby deceiving or disrupting multi-view models. This inevitably leads to the adversarial unreliability problem (AUP) in trusted multi-view learning. To overcome this tricky problem, we propose a novel multi-view learning framework, namely Reliable Disentanglement Multi-view Learning (RDML). Specifically, we first propose evidential disentanglement learning to decompose each view into clean and adversarial parts under the guidance of corresponding evidences, which is extracted by a pretrained evidence extractor. Then, we employ the feature recalibration module to mitigate the negative impact of adversarial perturbations and extract potential informative features from them. Finally, to further ignore the irreparable adversarial interferences, a view-level evidential attention mechanism is designed. Extensive experiments on multi-view classification tasks with adversarial attacks show that RDML outperforms the state-of-the-art methods by a relatively large margin. Our code is available at https://github.com/Willy1005/2025-IJCAI-RDML.", "date": "2025-05-07", "categories": []} {"id": "2505.15336", "title": "My Face Is Mine, Not Yours: Facial Protection Against Diffusion Model Face Swapping", "abstract": "The proliferation of diffusion-based deepfake technologies poses significant risks for unauthorized and unethical facial image manipulation. While traditional countermeasures have primarily focused on passive detection methods, this paper introduces a novel proactive defense strategy through adversarial attacks that preemptively protect facial images from being exploited by diffusion-based deepfake systems. Existing adversarial protection methods predominantly target conventional generative architectures (GANs, AEs, VAEs) and fail to address the unique challenges presented by diffusion models, which have become the predominant framework for high-quality facial deepfakes. Current diffusion-specific adversarial approaches are limited by their reliance on specific model architectures and weights, rendering them ineffective against the diverse landscape of diffusion-based deepfake implementations. Additionally, they typically employ global perturbation strategies that inadequately address the region-specific nature of facial manipulation in deepfakes.", "date": "2025-05-21", "categories": []} {"id": "2505.15594", "title": "Beyond Classification: Evaluating Diffusion Denoised Smoothing for Security-Utility Trade off", "abstract": "While foundation models demonstrate impressive performance across various tasks, they remain vulnerable to adversarial inputs. Current research explores various approaches to enhance model robustness, with Diffusion Denoised Smoothing emerging as a particularly promising technique. This method employs a pretrained diffusion model to preprocess inputs before model inference. Yet, its effectiveness remains largely unexplored beyond classification. We aim to address this gap by analyzing three datasets with four distinct downstream tasks under three different adversarial attack algorithms. Our findings reveal that while foundation models maintain resilience against conventional transformations, applying high-noise diffusion denoising to clean images without any distortions significantly degrades performance by as high as 57%. Low-noise diffusion settings preserve performance but fail to provide adequate protection across all attack types. Moreover, we introduce a novel attack strategy specifically targeting the diffusion process itself, capable of circumventing defenses in the low-noise regime. Our results suggest that the trade-off between adversarial robustness and performance remains a challenge to be addressed.", "date": "2025-05-21", "categories": []} {"id": "2505.13708", "title": "Robust learning of halfspaces under log-concave marginals", "abstract": "We say that a classifier is \\emph{adversarially robust} to perturbations of norm $r$ if, with high probability over a point $x$ drawn from the input distribution, there is no point within distance $\\le r$ from $x$ that is classified differently. The \\emph{boundary volume} is the probability that a point falls within distance $r$ of a point with a different label. This work studies the task of computationally efficient learning of hypotheses with small boundary volume, where the input is distributed as a subgaussian isotropic log-concave distribution over $\\mathbb{R}^d$.\n Linear threshold functions are adversarially robust; they have boundary volume proportional to $r$. Such concept classes are efficiently learnable by polynomial regression, which produces a polynomial threshold function (PTF), but PTFs in general may have boundary volume $\\Omega(1)$, even for $r \\ll 1$.\n We give an algorithm that agnostically learns linear threshold functions and returns a classifier with boundary volume $O(r+\\varepsilon)$ at radius of perturbation $r$. The time and sample complexity of $d^{\\tilde{O}(1/\\varepsilon^2)}$ matches the complexity of polynomial regression.\n Our algorithm augments the classic approach of polynomial regression with three additional steps: a) performing the $\\ell_1$-error regression under noise sensitivity constraints, b) a structured partitioning and rounding step that returns a Boolean classifier with error $\\textsf{opt} + O(\\varepsilon)$ and noise sensitivity $O(r+\\varepsilon)$ simultaneously, and c) a local corrector that ``smooths'' a function with low noise sensitivity into a function that is adversarially robust.", "date": "2025-05-19", "categories": []} {"id": "2505.14021", "title": "Adversarial Training from Mean Field Perspective", "abstract": "Although adversarial training is known to be effective against adversarial examples, training dynamics are not well understood. In this study, we present the first theoretical analysis of adversarial training in random deep neural networks without any assumptions on data distributions. We introduce a new theoretical framework based on mean field theory, which addresses the limitations of existing mean field-based approaches. Based on this framework, we derive (empirically tight) upper bounds of $\\ell_q$ norm-based adversarial loss with $\\ell_p$ norm-based adversarial examples for various values of $p$ and $q$. Moreover, we prove that networks without shortcuts are generally not adversarially trainable and that adversarial training reduces network capacity. We also show that network width alleviates these issues. Furthermore, we present the various impacts of the input and output dimensions on the upper bounds and time evolution of the weight variance.", "date": "2025-05-20", "categories": []} {"id": "2505.14286", "title": "Universal Acoustic Adversarial Attacks for Flexible Control of Speech-LLMs", "abstract": "The combination of pre-trained speech encoders with large language models has enabled the development of speech LLMs that can handle a wide range of spoken language processing tasks. While these models are powerful and flexible, this very flexibility may make them more vulnerable to adversarial attacks. To examine the extent of this problem, in this work we investigate universal acoustic adversarial attacks on speech LLMs. Here a fixed, universal, adversarial audio segment is prepended to the original input audio. We initially investigate attacks that cause the model to either produce no output or to perform a modified task overriding the original prompt. We then extend the nature of the attack to be selective so that it activates only when specific input attributes, such as a speaker gender or spoken language, are present. Inputs without the targeted attribute should be unaffected, allowing fine-grained control over the model outputs. Our findings reveal critical vulnerabilities in Qwen2-Audio and Granite-Speech and suggest that similar speech LLMs may be susceptible to universal adversarial attacks. This highlights the need for more robust training strategies and improved resistance to adversarial attacks.", "date": "2025-05-20", "categories": []} {"id": "2206.05751", "title": "Consistent Attack: Universal Adversarial Perturbation on Embodied Vision Navigation", "abstract": "Embodied agents in vision navigation coupled with deep neural networks have attracted increasing attention. However, deep neural networks have been shown vulnerable to malicious adversarial noises, which may potentially cause catastrophic failures in Embodied Vision Navigation. Among different adversarial noises, universal adversarial perturbations (UAP), i.e., a constant image-agnostic perturbation applied on every input frame of the agent, play a critical role in Embodied Vision Navigation since they are computation-efficient and application-practical during the attack. However, existing UAP methods ignore the system dynamics of Embodied Vision Navigation and might be sub-optimal. In order to extend UAP to the sequential decision setting, we formulate the disturbed environment under the universal noise $\\delta$, as a $\\delta$-disturbed Markov Decision Process ($\\delta$-MDP). Based on the formulation, we analyze the properties of $\\delta$-MDP and propose two novel Consistent Attack methods, named Reward UAP and Trajectory UAP, for attacking Embodied agents, which consider the dynamic of the MDP and calculate universal noises by estimating the disturbed distribution and the disturbed Q function. For various victim models, our Consistent Attack can cause a significant drop in their performance in the PointGoal task in Habitat with different datasets and different scenes. Extensive experimental results indicate that there exist serious potential risks for applying Embodied Vision Navigation methods to the real world.", "date": "2022-06-12", "categories": []} {"id": "2405.16940", "title": "Adversarial Attacks on Both Face Recognition and Face Anti-spoofing Models", "abstract": "Adversarial attacks on Face Recognition (FR) systems have demonstrated significant effectiveness against standalone FR models. However, their practicality diminishes in complete FR systems that incorporate Face Anti-Spoofing (FAS) models, as these models can detect and mitigate a substantial number of adversarial examples. To address this critical yet under-explored challenge, we introduce a novel attack setting that targets both FR and FAS models simultaneously, thereby enhancing the practicability of adversarial attacks on integrated FR systems. Specifically, we propose a new attack method, termed Reference-free Multi-level Alignment (RMA), designed to improve the capacity of black-box attacks on both FR and FAS models. The RMA framework is built upon three key components. Firstly, we propose an Adaptive Gradient Maintenance module to address the imbalances in gradient contributions between FR and FAS models. Secondly, we develop a Reference-free Intermediate Biasing module to improve the transferability of adversarial examples against FAS models. In addition, we introduce a Multi-level Feature Alignment module to reduce feature discrepancies at various levels of representation. Extensive experiments showcase the superiority of our proposed attack method to state-of-the-art adversarial attacks.", "date": "2024-05-27", "categories": []} {"id": "2407.00248", "title": "DiffuseDef: Improved Robustness to Adversarial Attacks via Iterative Denoising", "abstract": "Pretrained language models have significantly advanced performance across various natural language processing tasks. However, adversarial attacks continue to pose a critical challenge to systems built using these models, as they can be exploited with carefully crafted adversarial texts. Inspired by the ability of diffusion models to predict and reduce noise in computer vision, we propose a novel and flexible adversarial defense method for language classification tasks, DiffuseDef, which incorporates a diffusion layer as a denoiser between the encoder and the classifier. The diffusion layer is trained on top of the existing classifier, ensuring seamless integration with any model in a plug-and-play manner. During inference, the adversarial hidden state is first combined with sampled noise, then denoised iteratively and finally ensembled to produce a robust text representation. By integrating adversarial training, denoising, and ensembling techniques, we show that DiffuseDef improves over existing adversarial defense methods and achieves state-of-the-art performance against common black-box and white-box adversarial attacks.", "date": "2024-06-28", "categories": []} {"id": "2409.05657", "title": "Adversarial Attacks on Data Attribution", "abstract": "Data attribution aims to quantify the contribution of individual training data points to the outputs of an AI model, which has been used to measure the value of training data and compensate data providers. Given the impact on financial decisions and compensation mechanisms, a critical question arises concerning the adversarial robustness of data attribution methods. However, there has been little to no systematic research addressing this issue. In this work, we aim to bridge this gap by detailing a threat model with clear assumptions about the adversary's goal and capabilities and proposing principled adversarial attack methods on data attribution. We present two methods, Shadow Attack and Outlier Attack, which generate manipulated datasets to inflate the compensation adversarially. The Shadow Attack leverages knowledge about the data distribution in the AI applications, and derives adversarial perturbations through \"shadow training\", a technique commonly used in membership inference attacks. In contrast, the Outlier Attack does not assume any knowledge about the data distribution and relies solely on black-box queries to the target model's predictions. It exploits an inductive bias present in many data attribution methods - outlier data points are more likely to be influential - and employs adversarial examples to generate manipulated datasets. Empirically, in image classification and text generation tasks, the Shadow Attack can inflate the data-attribution-based compensation by at least 200%, while the Outlier Attack achieves compensation inflation ranging from 185% to as much as 643%. Our implementation is ready at https://github.com/TRAIS-Lab/adversarial-attack-data-attribution.", "date": "2024-09-09", "categories": []} {"id": "2410.16805", "title": "Test-time Adversarial Defense with Opposite Adversarial Path and High Attack Time Cost", "abstract": "Deep learning models are known to be vulnerable to adversarial attacks by injecting sophisticated designed perturbations to input data. Training-time defenses still exhibit a significant performance gap between natural accuracy and robust accuracy. In this paper, we investigate a new test-time adversarial defense method via diffusion-based recovery along opposite adversarial paths (OAPs). We present a purifier that can be plugged into a pre-trained model to resist adversarial attacks. Different from prior arts, the key idea is excessive denoising or purification by integrating the opposite adversarial direction with reverse diffusion to push the input image further toward the opposite adversarial direction. For the first time, we also exemplify the pitfall of conducting AutoAttack (Rand) for diffusion-based defense methods. Through the lens of time complexity, we examine the trade-off between the effectiveness of adaptive attack and its computation complexity against our defense. Experimental evaluation along with time cost analysis verifies the effectiveness of the proposed method.", "date": "2024-10-22", "categories": []} {"id": "2410.23687", "title": "Adversarial Attacks of Vision Tasks in the Past 10 Years: A Survey", "abstract": "With the advent of Large Vision-Language Models (LVLMs), new attack vectors, such as cognitive bias, prompt injection, and jailbreaking, have emerged. Understanding these attacks promotes system robustness improvement and neural networks demystification. However, existing surveys often target attack taxonomy and lack in-depth analysis like 1) unified insights into adversariality, transferability, and generalization; 2) detailed evaluations framework; 3) motivation-driven attack categorizations; and 4) an integrated perspective on both traditional and LVLM attacks. This article addresses these gaps by offering a thorough summary of traditional and LVLM adversarial attacks, emphasizing their connections and distinctions, and providing actionable insights for future research.", "date": "2024-10-31", "categories": []} {"id": "2505.12287", "title": "The Tower of Babel Revisited: Multilingual Jailbreak Prompts on Closed-Source Large Language Models", "abstract": "Large language models (LLMs) have seen widespread applications across various domains, yet remain vulnerable to adversarial prompt injections. While most existing research on jailbreak attacks and hallucination phenomena has focused primarily on open-source models, we investigate the frontier of closed-source LLMs under multilingual attack scenarios. We present a first-of-its-kind integrated adversarial framework that leverages diverse attack techniques to systematically evaluate frontier proprietary solutions, including GPT-4o, DeepSeek-R1, Gemini-1.5-Pro, and Qwen-Max. Our evaluation spans six categories of security contents in both English and Chinese, generating 38,400 responses across 32 types of jailbreak attacks. Attack success rate (ASR) is utilized as the quantitative metric to assess performance from three dimensions: prompt design, model architecture, and language environment. Our findings suggest that Qwen-Max is the most vulnerable, while GPT-4o shows the strongest defense. Notably, prompts in Chinese consistently yield higher ASRs than their English counterparts, and our novel Two-Sides attack technique proves to be the most effective across all models. This work highlights a dire need for language-aware alignment and robust cross-lingual defenses in LLMs, and we hope it will inspire researchers, developers, and policymakers toward more robust and inclusive AI systems.", "date": "2025-05-18", "categories": []} {"id": "2505.12686", "title": "RoVo: Robust Voice Protection Against Unauthorized Speech Synthesis with Embedding-Level Perturbations", "abstract": "With the advancement of AI-based speech synthesis technologies such as Deep Voice, there is an increasing risk of voice spoofing attacks, including voice phishing and fake news, through unauthorized use of others' voices. Existing defenses that inject adversarial perturbations directly into audio signals have limited effectiveness, as these perturbations can easily be neutralized by speech enhancement methods. To overcome this limitation, we propose RoVo (Robust Voice), a novel proactive defense technique that injects adversarial perturbations into high-dimensional embedding vectors of audio signals, reconstructing them into protected speech. This approach effectively defends against speech synthesis attacks and also provides strong resistance to speech enhancement models, which represent a secondary attack threat.\n In extensive experiments, RoVo increased the Defense Success Rate (DSR) by over 70% compared to unprotected speech, across four state-of-the-art speech synthesis models. Specifically, RoVo achieved a DSR of 99.5% on a commercial speaker-verification API, effectively neutralizing speech synthesis attack. Moreover, RoVo's perturbations remained robust even under strong speech enhancement conditions, outperforming traditional methods. A user study confirmed that RoVo preserves both naturalness and usability of protected speech, highlighting its effectiveness in complex and evolving threat scenarios.", "date": "2025-05-19", "categories": []} {"id": "2505.13329", "title": "Recommender Systems for Democracy: Toward Adversarial Robustness in Voting Advice Applications", "abstract": "Voting advice applications (VAAs) help millions of voters understand which political parties or candidates best align with their views. This paper explores the potential risks these applications pose to the democratic process when targeted by adversarial entities. In particular, we expose 11 manipulation strategies and measure their impact using data from Switzerland's primary VAA, Smartvote, collected during the last two national elections. We find that altering application parameters, such as the matching method, can shift a party's recommendation frequency by up to 105%. Cherry-picking questionnaire items can increase party recommendation frequency by over 261%, while subtle changes to parties' or candidates' responses can lead to a 248% increase. To address these vulnerabilities, we propose adversarial robustness properties VAAs should satisfy, introduce empirical metrics for assessing the resilience of various matching methods, and suggest possible avenues for research toward mitigating the effect of manipulation. Our framework is key to ensuring secure and reliable AI-based VAAs poised to emerge in the near future.", "date": "2025-05-19", "categories": []} {"id": "2505.10838", "title": "LARGO: Latent Adversarial Reflection through Gradient Optimization for Jailbreaking LLMs", "abstract": "Efficient red-teaming method to uncover vulnerabilities in Large Language Models (LLMs) is crucial. While recent attacks often use LLMs as optimizers, the discrete language space make gradient-based methods struggle. We introduce LARGO (Latent Adversarial Reflection through Gradient Optimization), a novel latent self-reflection attack that reasserts the power of gradient-based optimization for generating fluent jailbreaking prompts. By operating within the LLM's continuous latent space, LARGO first optimizes an adversarial latent vector and then recursively call the same LLM to decode the latent into natural language. This methodology yields a fast, effective, and transferable attack that produces fluent and stealthy prompts. On standard benchmarks like AdvBench and JailbreakBench, LARGO surpasses leading jailbreaking techniques, including AutoDAN, by 44 points in attack success rate. Our findings demonstrate a potent alternative to agentic LLM prompting, highlighting the efficacy of interpreting and attacking LLM internals through gradient optimization.", "date": "2025-05-16", "categories": []} {"id": "2505.09616", "title": "SpecWav-Attack: Leveraging Spectrogram Resizing and Wav2Vec 2.0 for Attacking Anonymized Speech", "abstract": "This paper presents SpecWav-Attack, an adversarial model for detecting speakers in anonymized speech. It leverages Wav2Vec2 for feature extraction and incorporates spectrogram resizing and incremental training for improved performance. Evaluated on librispeech-dev and librispeech-test, SpecWav-Attack outperforms conventional attacks, revealing vulnerabilities in anonymized speech systems and emphasizing the need for stronger defenses, benchmarked against the ICASSP 2025 Attacker Challenge.", "date": "2025-01-10", "categories": []} {"id": "2408.13274", "title": "Robust Image Classification: Defensive Strategies against FGSM and PGD Adversarial Attacks", "abstract": "Adversarial attacks, particularly the Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD) pose significant threats to the robustness of deep learning models in image classification. This paper explores and refines defense mechanisms against these attacks to enhance the resilience of neural networks. We employ a combination of adversarial training and innovative preprocessing techniques, aiming to mitigate the impact of adversarial perturbations. Our methodology involves modifying input data before classification and investigating different model architectures and training strategies. Through rigorous evaluation of benchmark datasets, we demonstrate the effectiveness of our approach in defending against FGSM and PGD attacks. Our results show substantial improvements in model robustness compared to baseline methods, highlighting the potential of our defense strategies in real-world applications. This study contributes to the ongoing efforts to develop secure and reliable machine learning systems, offering practical insights and paving the way for future research in adversarial defense. By bridging theoretical advancements and practical implementation, we aim to enhance the trustworthiness of AI applications in safety-critical domains.", "date": "2024-08-20", "categories": []} {"id": "2505.08835", "title": "Robustness Analysis against Adversarial Patch Attacks in Fully Unmanned Stores", "abstract": "The advent of convenient and efficient fully unmanned stores equipped with artificial intelligence-based automated checkout systems marks a new era in retail. However, these systems have inherent artificial intelligence security vulnerabilities, which are exploited via adversarial patch attacks, particularly in physical environments. This study demonstrated that adversarial patches can severely disrupt object detection models used in unmanned stores, leading to issues such as theft, inventory discrepancies, and interference. We investigated three types of adversarial patch attacks -- Hiding, Creating, and Altering attacks -- and highlighted their effectiveness. We also introduce the novel color histogram similarity loss function by leveraging attacker knowledge of the color information of a target class object. Besides the traditional confusion-matrix-based attack success rate, we introduce a new bounding-boxes-based metric to analyze the practical impact of these attacks. Starting with attacks on object detection models trained on snack and fruit datasets in a digital environment, we evaluated the effectiveness of adversarial patches in a physical testbed that mimicked a real unmanned store with RGB cameras and realistic conditions. Furthermore, we assessed the robustness of these attacks in black-box scenarios, demonstrating that shadow attacks can enhance success rates of attacks even without direct access to model parameters. Our study underscores the necessity for robust defense strategies to protect unmanned stores from adversarial threats. Highlighting the limitations of the current defense mechanisms in real-time detection systems and discussing various proactive measures, we provide insights into improving the robustness of object detection models and fortifying unmanned retail environments against these attacks.", "date": "2025-05-13", "categories": []} {"id": "2505.08999", "title": "Towards Adaptive Meta-Gradient Adversarial Examples for Visual Tracking", "abstract": "In recent years, visual tracking methods based on convolutional neural networks and Transformers have achieved remarkable performance and have been successfully applied in fields such as autonomous driving. However, the numerous security issues exposed by deep learning models have gradually affected the reliable application of visual tracking methods in real-world scenarios. Therefore, how to reveal the security vulnerabilities of existing visual trackers through effective adversarial attacks has become a critical problem that needs to be addressed. To this end, we propose an adaptive meta-gradient adversarial attack (AMGA) method for visual tracking. This method integrates multi-model ensembles and meta-learning strategies, combining momentum mechanisms and Gaussian smoothing, which can significantly enhance the transferability and attack effectiveness of adversarial examples. AMGA randomly selects models from a large model repository, constructs diverse tracking scenarios, and iteratively performs both white- and black-box adversarial attacks in each scenario, optimizing the gradient directions of each model. This paradigm minimizes the gap between white- and black-box adversarial attacks, thus achieving excellent attack performance in black-box scenarios. Extensive experimental results on large-scale datasets such as OTB2015, LaSOT, and GOT-10k demonstrate that AMGA significantly improves the attack performance, transferability, and deception of adversarial examples. Codes and data are available at https://github.com/pgao-lab/AMGA.", "date": "2025-05-13", "categories": []} {"id": "2505.09602", "title": "Adversarial Suffix Filtering: a Defense Pipeline for LLMs", "abstract": "Large Language Models (LLMs) are increasingly embedded in autonomous systems and public-facing environments, yet they remain susceptible to jailbreak vulnerabilities that may undermine their security and trustworthiness. Adversarial suffixes are considered to be the current state-of-the-art jailbreak, consistently outperforming simpler methods and frequently succeeding even in black-box settings. Existing defenses rely on access to the internal architecture of models limiting diverse deployment, increase memory and computation footprints dramatically, or can be bypassed with simple prompt engineering methods. We introduce $\\textbf{Adversarial Suffix Filtering}$ (ASF), a lightweight novel model-agnostic defensive pipeline designed to protect LLMs against adversarial suffix attacks. ASF functions as an input preprocessor and sanitizer that detects and filters adversarially crafted suffixes in prompts, effectively neutralizing malicious injections. We demonstrate that ASF provides comprehensive defense capabilities across both black-box and white-box attack settings, reducing the attack efficacy of state-of-the-art adversarial suffix generation methods to below 4%, while only minimally affecting the target model's capabilities in non-adversarial scenarios.", "date": "2025-05-14", "categories": []} {"id": "2410.02240", "title": "SCA: Improve Semantic Consistent in Unrestricted Adversarial Attacks via DDPM Inversion", "abstract": "Systems based on deep neural networks are vulnerable to adversarial attacks. Unrestricted adversarial attacks typically manipulate the semantic content of an image (e.g., color or texture) to create adversarial examples that are both effective and photorealistic. Recent works have utilized the diffusion inversion process to map images into a latent space, where high-level semantics are manipulated by introducing perturbations. However, they often result in substantial semantic distortions in the denoised output and suffer from low efficiency. In this study, we propose a novel framework called Semantic-Consistent Unrestricted Adversarial Attacks (SCA), which employs an inversion method to extract edit-friendly noise maps and utilizes a Multimodal Large Language Model (MLLM) to provide semantic guidance throughout the process. Under the condition of rich semantic information provided by MLLM, we perform the DDPM denoising process of each step using a series of edit-friendly noise maps and leverage DPM Solver++ to accelerate this process, enabling efficient sampling with semantic consistency. Compared to existing methods, our framework enables the efficient generation of adversarial examples that exhibit minimal discernible semantic changes. Consequently, we for the first time introduce Semantic-Consistent Adversarial Examples (SCAE). Extensive experiments and visualizations have demonstrated the high efficiency of SCA, particularly in being on average 12 times faster than the state-of-the-art attacks. Our code can be found at https://github.com/Pan-Zihao/SCA.", "date": "2024-10-03", "categories": []} {"id": "2412.16254", "title": "Adversarial Robustness through Dynamic Ensemble Learning", "abstract": "Adversarial attacks pose a significant threat to the reliability of pre-trained language models (PLMs) such as GPT, BERT, RoBERTa, and T5. This paper presents Adversarial Robustness through Dynamic Ensemble Learning (ARDEL), a novel scheme designed to enhance the robustness of PLMs against such attacks. ARDEL leverages the diversity of multiple PLMs and dynamically adjusts the ensemble configuration based on input characteristics and detected adversarial patterns. Key components of ARDEL include a meta-model for dynamic weighting, an adversarial pattern detection module, and adversarial training with regularization techniques. Comprehensive evaluations using standardized datasets and various adversarial attack scenarios demonstrate that ARDEL significantly improves robustness compared to existing methods. By dynamically reconfiguring the ensemble to prioritize the most robust models for each input, ARDEL effectively reduces attack success rates and maintains higher accuracy under adversarial conditions. This work contributes to the broader goal of developing more secure and trustworthy AI systems for real-world NLP applications, offering a practical and scalable solution to enhance adversarial resilience in PLMs.", "date": "2024-12-20", "categories": []} {"id": "2505.07856", "title": "Unpacking Robustness in Inflectional Languages: Adversarial Evaluation and Mechanistic Insights", "abstract": "Various techniques are used in the generation of adversarial examples, including methods such as TextBugger which introduce minor, hardly visible perturbations to words leading to changes in model behaviour. Another class of techniques involves substituting words with their synonyms in a way that preserves the text's meaning but alters its predicted class, with TextFooler being a prominent example of such attacks. Most adversarial example generation methods are developed and evaluated primarily on non-inflectional languages, typically English. In this work, we evaluate and explain how adversarial attacks perform in inflectional languages. To explain the impact of inflection on model behaviour and its robustness under attack, we designed a novel protocol inspired by mechanistic interpretability, based on Edge Attribution Patching (EAP) method. The proposed evaluation protocol relies on parallel task-specific corpora that include both inflected and syncretic variants of texts in two languages -- Polish and English. To analyse the models and explain the relationship between inflection and adversarial robustness, we create a new benchmark based on task-oriented dataset MultiEmo, enabling the identification of mechanistic inflection-related elements of circuits within the model and analyse their behaviour under attack.", "date": "2025-05-08", "categories": []} {"id": "2303.13326", "title": "Decentralized Adversarial Training over Graphs", "abstract": "The vulnerability of machine learning models to adversarial attacks has been attracting considerable attention in recent years. Most existing studies focus on the behavior of stand-alone single-agent learners. In comparison, this work studies adversarial training over graphs, where individual agents are subjected to perturbations of varied strength levels across space. It is expected that interactions by linked agents, and the heterogeneity of the attack models that are possible over the graph, can help enhance robustness in view of the coordination power of the group. Using a min-max formulation of distributed learning, we develop a decentralized adversarial training framework for multi-agent systems. Specifically, we devise two decentralized adversarial training algorithms by relying on two popular decentralized learning strategies--diffusion and consensus. We analyze the convergence properties of the proposed framework for strongly-convex, convex, and non-convex environments, and illustrate the enhanced robustness to adversarial attacks.", "date": "2023-03-23", "categories": []} {"id": "2311.11796", "title": "Beyond Boundaries: A Comprehensive Survey of Transferable Attacks on AI Systems", "abstract": "As Artificial Intelligence (AI) systems increasingly underpin critical applications, from autonomous vehicles to biometric authentication, their vulnerability to transferable attacks presents a growing concern. These attacks, designed to generalize across instances, domains, models, tasks, modalities, or even hardware platforms, pose severe risks to security, privacy, and system integrity. This survey delivers the first comprehensive review of transferable attacks across seven major categories, including evasion, backdoor, data poisoning, model stealing, model inversion, membership inference, and side-channel attacks. We introduce a unified six-dimensional taxonomy: cross-instance, cross-domain, cross-modality, cross-model, cross-task, and cross-hardware, which systematically captures the diverse transfer pathways of adversarial strategies. Through this framework, we examine both the underlying mechanics and practical implications of transferable attacks on AI systems. Furthermore, we review cutting-edge methods for enhancing attack transferability, organized around data augmentation and optimization strategies. By consolidating fragmented research and identifying critical future directions, this work provides a foundational roadmap for understanding, evaluating, and defending against transferable threats in real-world AI systems.", "date": "2023-11-20", "categories": []} {"id": "2403.11297", "title": "A Modified Word Saliency-Based Adversarial Attack on Text Classification Models", "abstract": "This paper introduces a novel adversarial attack method targeting text classification models, termed the Modified Word Saliency-based Adversarial At-tack (MWSAA). The technique builds upon the concept of word saliency to strategically perturb input texts, aiming to mislead classification models while preserving semantic coherence. By refining the traditional adversarial attack approach, MWSAA significantly enhances its efficacy in evading detection by classification systems. The methodology involves first identifying salient words in the input text through a saliency estimation process, which prioritizes words most influential to the model's decision-making process. Subsequently, these salient words are subjected to carefully crafted modifications, guided by semantic similarity metrics to ensure that the altered text remains coherent and retains its original meaning. Empirical evaluations conducted on diverse text classification datasets demonstrate the effectiveness of the proposed method in generating adversarial examples capable of successfully deceiving state-of-the-art classification models. Comparative analyses with existing adversarial attack techniques further indicate the superiority of the proposed approach in terms of both attack success rate and preservation of text coherence.", "date": "2024-03-17", "categories": []} {"id": "2404.19460", "title": "AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples", "abstract": "Adversarial examples are typically optimized with gradient-based attacks. While novel attacks are continuously proposed, each is shown to outperform its predecessors using different experimental setups, hyperparameter settings, and number of forward and backward calls to the target models. This provides overly-optimistic and even biased evaluations that may unfairly favor one particular attack over the others. In this work, we aim to overcome these limitations by proposing AttackBench, i.e., the first evaluation framework that enables a fair comparison among different attacks. To this end, we first propose a categorization of gradient-based attacks, identifying their main components and differences. We then introduce our framework, which evaluates their effectiveness and efficiency. We measure these characteristics by (i) defining an optimality metric that quantifies how close an attack is to the optimal solution, and (ii) limiting the number of forward and backward queries to the model, such that all attacks are compared within a given maximum query budget. Our extensive experimental analysis compares more than $100$ attack implementations with a total of over $800$ different configurations against CIFAR-10 and ImageNet models, highlighting that only very few attacks outperform all the competing approaches. Within this analysis, we shed light on several implementation issues that prevent many attacks from finding better solutions or running at all. We release AttackBench as a publicly-available benchmark, aiming to continuously update it to include and evaluate novel gradient-based attacks for optimizing adversarial examples.", "date": "2024-04-30", "categories": []} {"id": "2505.06860", "title": "DP-TRAE: A Dual-Phase Merging Transferable Reversible Adversarial Example for Image Privacy Protection", "abstract": "In the field of digital security, Reversible Adversarial Examples (RAE) combine adversarial attacks with reversible data hiding techniques to effectively protect sensitive data and prevent unauthorized analysis by malicious Deep Neural Networks (DNNs). However, existing RAE techniques primarily focus on white-box attacks, lacking a comprehensive evaluation of their effectiveness in black-box scenarios. This limitation impedes their broader deployment in complex, dynamic environments. Further more, traditional black-box attacks are often characterized by poor transferability and high query costs, significantly limiting their practical applicability. To address these challenges, we propose the Dual-Phase Merging Transferable Reversible Attack method, which generates highly transferable initial adversarial perturbations in a white-box model and employs a memory augmented black-box strategy to effectively mislead target mod els. Experimental results demonstrate the superiority of our approach, achieving a 99.0% attack success rate and 100% recovery rate in black-box scenarios, highlighting its robustness in privacy protection. Moreover, we successfully implemented a black-box attack on a commercial model, further substantiating the potential of this approach for practical use.", "date": "2025-05-11", "categories": []} {"id": "2505.06889", "title": "IM-BERT: Enhancing Robustness of BERT through the Implicit Euler Method", "abstract": "Pre-trained Language Models (PLMs) have achieved remarkable performance on diverse NLP tasks through pre-training and fine-tuning. However, fine-tuning the model with a large number of parameters on limited downstream datasets often leads to vulnerability to adversarial attacks, causing overfitting of the model on standard datasets.\n To address these issues, we propose IM-BERT from the perspective of a dynamic system by conceptualizing a layer of BERT as a solution of Ordinary Differential Equations (ODEs). Under the situation of initial value perturbation, we analyze the numerical stability of two main numerical ODE solvers: the explicit and implicit Euler approaches.\n Based on these analyses, we introduce a numerically robust IM-connection incorporating BERT's layers. This strategy enhances the robustness of PLMs against adversarial attacks, even in low-resource scenarios, without introducing additional parameters or adversarial training strategies.\n Experimental results on the adversarial GLUE (AdvGLUE) dataset validate the robustness of IM-BERT under various conditions. Compared to the original BERT, IM-BERT exhibits a performance improvement of approximately 8.3\\%p on the AdvGLUE dataset. Furthermore, in low-resource scenarios, IM-BERT outperforms BERT by achieving 5.9\\%p higher accuracy.", "date": "2025-05-11", "categories": []} {"id": "2406.02044", "title": "Towards Universal and Black-Box Query-Response Only Attack on LLMs with\n QROA", "abstract": " The rapid adoption of Large Language Models (LLMs) has exposed critical\nsecurity and ethical vulnerabilities, particularly their susceptibility to\nadversarial manipulations. This paper introduces QROA, a novel black-box\njailbreak method designed to identify adversarial suffixes that can bypass LLM\nalignment safeguards when appended to a malicious instruction. Unlike existing\nsuffix-based jailbreak approaches, QROA does not require access to the model's\nlogit or any other internal information. It also eliminates reliance on\nhuman-crafted templates, operating solely through the standard query-response\ninterface of LLMs. By framing the attack as an optimization bandit problem,\nQROA employs a surrogate model and token level optimization to efficiently\nexplore suffix variations. Furthermore, we propose QROA-UNV, an extension that\nidentifies universal adversarial suffixes for individual models, enabling\none-query jailbreaks across a wide range of instructions. Testing on multiple\nmodels demonstrates Attack Success Rate (ASR) greater than 80\\%. These findings\nhighlight critical vulnerabilities, emphasize the need for advanced defenses,\nand contribute to the development of more robust safety evaluations for secure\nAI deployment. The code is made public on the following link:\nhttps://github.com/qroa/QROA\n", "date": "2024-06-04", "categories": []} {"id": "2505.03831", "title": "A Comprehensive Analysis of Adversarial Attacks against Spam Filters", "abstract": " Deep learning has revolutionized email filtering, which is critical to\nprotect users from cyber threats such as spam, malware, and phishing. However,\nthe increasing sophistication of adversarial attacks poses a significant\nchallenge to the effectiveness of these filters. This study investigates the\nimpact of adversarial attacks on deep learning-based spam detection systems\nusing real-world datasets. Six prominent deep learning models are evaluated on\nthese datasets, analyzing attacks at the word, character sentence, and\nAI-generated paragraph-levels. Novel scoring functions, including spam weights\nand attention weights, are introduced to improve attack effectiveness. This\ncomprehensive analysis sheds light on the vulnerabilities of spam filters and\ncontributes to efforts to improve their security against evolving adversarial\nthreats.\n", "date": "2025-05-04", "categories": []} {"id": "2312.13435", "title": "The Adaptive Arms Race: Redefining Robustness in AI Security", "abstract": " Despite considerable efforts on making them robust, real-world AI-based\nsystems remain vulnerable to decision based attacks, as definitive proofs of\ntheir operational robustness have so far proven intractable. Canonical\nrobustness evaluation relies on adaptive attacks, which leverage complete\nknowledge of the defense and are tailored to bypass it. This work broadens the\nnotion of adaptivity, which we employ to enhance both attacks and defenses,\nshowing how they can benefit from mutual learning through interaction. We\nintroduce a framework for adaptively optimizing black-box attacks and defenses\nunder the competitive game they form. To assess robustness reliably, it is\nessential to evaluate against realistic and worst-case attacks. We thus enhance\nattacks and their evasive arsenal together using RL, apply the same principle\nto defenses, and evaluate them first independently and then jointly under a\nmulti-agent perspective. We find that active defenses, those that dynamically\ncontrol system responses, are an essential complement to model hardening\nagainst decision-based attacks; that these defenses can be circumvented by\nadaptive attacks, something that elicits defenses being adaptive too. Our\nfindings, supported by an extensive theoretical and empirical investigation,\nconfirm that adaptive adversaries pose a serious threat to black-box AI-based\nsystems, rekindling the proverbial arms race. Notably, our approach outperforms\nthe state-of-the-art black-box attacks and defenses, while bringing them\ntogether to render effective insights into the robustness of real-world\ndeployed ML-based systems.\n", "date": "2023-12-20", "categories": []} {"id": "2503.06269", "title": "Using Mechanistic Interpretability to Craft Adversarial Attacks against\n Large Language Models", "abstract": " Traditional white-box methods for creating adversarial perturbations against\nLLMs typically rely only on gradient computation from the targeted model,\nignoring the internal mechanisms responsible for attack success or failure.\nConversely, interpretability studies that analyze these internal mechanisms\nlack practical applications beyond runtime interventions. We bridge this gap by\nintroducing a novel white-box approach that leverages mechanistic\ninterpretability techniques to craft practical adversarial inputs.\nSpecifically, we first identify acceptance subspaces - sets of feature vectors\nthat do not trigger the model's refusal mechanisms - then use gradient-based\noptimization to reroute embeddings from refusal subspaces to acceptance\nsubspaces, effectively achieving jailbreaks. This targeted approach\nsignificantly reduces computation cost, achieving attack success rates of\n80-95\\% on state-of-the-art models including Gemma2, Llama3.2, and Qwen2.5\nwithin minutes or even seconds, compared to existing techniques that often fail\nor require hours of computation. We believe this approach opens a new direction\nfor both attack research and defense development. Furthermore, it showcases a\npractical application of mechanistic interpretability where other methods are\nless efficient, which highlights its utility. The code and generated datasets\nare available at https://github.com/Sckathach/subspace-rerouting.\n", "date": "2025-03-08", "categories": []} {"id": "2505.03120", "title": "Adversarial Sample Generation for Anomaly Detection in Industrial\n Control Systems", "abstract": " Machine learning (ML)-based intrusion detection systems (IDS) are vulnerable\nto adversarial attacks. It is crucial for an IDS to learn to recognize\nadversarial examples before malicious entities exploit them. In this paper, we\ngenerated adversarial samples using the Jacobian Saliency Map Attack (JSMA). We\nvalidate the generalization and scalability of the adversarial samples to\ntackle a broad range of real attacks on Industrial Control Systems (ICS). We\nevaluated the impact by assessing multiple attacks generated using the proposed\nmethod. The model trained with adversarial samples detected attacks with 95%\naccuracy on real-world attack data not used during training. The study was\nconducted using an operational secure water treatment (SWaT) testbed.\n", "date": "2025-05-06", "categories": []} {"id": "2505.03435", "title": "Robustness in AI-Generated Detection: Enhancing Resistance to\n Adversarial Attacks", "abstract": " The rapid advancement of generative image technology has introduced\nsignificant security concerns, particularly in the domain of face generation\ndetection. This paper investigates the vulnerabilities of current AI-generated\nface detection systems. Our study reveals that while existing detection methods\noften achieve high accuracy under standard conditions, they exhibit limited\nrobustness against adversarial attacks. To address these challenges, we propose\nan approach that integrates adversarial training to mitigate the impact of\nadversarial examples. Furthermore, we utilize diffusion inversion and\nreconstruction to further enhance detection robustness. Experimental results\ndemonstrate that minor adversarial perturbations can easily bypass existing\ndetection systems, but our method significantly improves the robustness of\nthese systems. Additionally, we provide an in-depth analysis of adversarial and\nbenign examples, offering insights into the intrinsic characteristics of\nAI-generated content. All associated code will be made publicly available in a\ndedicated repository to facilitate further research and verification.\n", "date": "2025-05-06", "categories": []} {"id": "2505.01900", "title": "CAMOUFLAGE: Exploiting Misinformation Detection Systems Through\n LLM-driven Adversarial Claim Transformation", "abstract": " Automated evidence-based misinformation detection systems, which evaluate the\nveracity of short claims against evidence, lack comprehensive analysis of their\nadversarial vulnerabilities. Existing black-box text-based adversarial attacks\nare ill-suited for evidence-based misinformation detection systems, as these\nattacks primarily focus on token-level substitutions involving gradient or\nlogit-based optimization strategies, which are incapable of fooling the\nmulti-component nature of these detection systems. These systems incorporate\nboth retrieval and claim-evidence comparison modules, which requires attacks to\nbreak the retrieval of evidence and/or the comparison module so that it draws\nincorrect inferences. We present CAMOUFLAGE, an iterative, LLM-driven approach\nthat employs a two-agent system, a Prompt Optimization Agent and an Attacker\nAgent, to create adversarial claim rewritings that manipulate evidence\nretrieval and mislead claim-evidence comparison, effectively bypassing the\nsystem without altering the meaning of the claim. The Attacker Agent produces\nsemantically equivalent rewrites that attempt to mislead detectors, while the\nPrompt Optimization Agent analyzes failed attack attempts and refines the\nprompt of the Attacker to guide subsequent rewrites. This enables larger\nstructural and stylistic transformations of the text rather than token-level\nsubstitutions, adapting the magnitude of changes based on previous outcomes.\nUnlike existing approaches, CAMOUFLAGE optimizes its attack solely based on\nbinary model decisions to guide its rewriting process, eliminating the need for\nclassifier logits or extensive querying. We evaluate CAMOUFLAGE on four\nsystems, including two recent academic systems and two real-world APIs, with an\naverage attack success rate of 46.92\\% while preserving textual coherence and\nsemantic equivalence to the original claims.\n", "date": "2025-05-03", "categories": []} {"id": "2505.02073", "title": "Lightweight Defense Against Adversarial Attacks in Time Series\n Classification", "abstract": " As time series classification (TSC) gains prominence, ensuring robust TSC\nmodels against adversarial attacks is crucial. While adversarial defense is\nwell-studied in Computer Vision (CV), the TSC field has primarily relied on\nadversarial training (AT), which is computationally expensive. In this paper,\nfive data augmentation-based defense methods tailored for time series are\ndeveloped, with the most computationally intensive method among them increasing\nthe computational resources by only 14.07% compared to the original TSC model.\nMoreover, the deployment process for these methods is straightforward. By\nleveraging these advantages of our methods, we create two combined methods. One\nof these methods is an ensemble of all the proposed techniques, which not only\nprovides better defense performance than PGD-based AT but also enhances the\ngeneralization ability of TSC models. Moreover, the computational resources\nrequired for our ensemble are less than one-third of those required for\nPGD-based AT. These methods advance robust TSC in data mining. Furthermore, as\nfoundation models are increasingly explored for time series feature learning,\nour work provides insights into integrating data augmentation-based adversarial\ndefense with large-scale pre-trained models in future research.\n", "date": "2025-05-04", "categories": []} {"id": "2505.01050", "title": "Transferable Adversarial Attacks on Black-Box Vision-Language Models", "abstract": " Vision Large Language Models (VLLMs) are increasingly deployed to offer\nadvanced capabilities on inputs comprising both text and images. While prior\nresearch has shown that adversarial attacks can transfer from open-source to\nproprietary black-box models in text-only and vision-only contexts, the extent\nand effectiveness of such vulnerabilities remain underexplored for VLLMs. We\npresent a comprehensive analysis demonstrating that targeted adversarial\nexamples are highly transferable to widely-used proprietary VLLMs such as\nGPT-4o, Claude, and Gemini. We show that attackers can craft perturbations to\ninduce specific attacker-chosen interpretations of visual information, such as\nmisinterpreting hazardous content as safe, overlooking sensitive or restricted\nmaterial, or generating detailed incorrect responses aligned with the\nattacker's intent. Furthermore, we discover that universal perturbations --\nmodifications applicable to a wide set of images -- can consistently induce\nthese misinterpretations across multiple proprietary VLLMs. Our experimental\nresults on object recognition, visual question answering, and image captioning\nshow that this vulnerability is common across current state-of-the-art models,\nand underscore an urgent need for robust mitigations to ensure the safe and\nsecure deployment of VLLMs.\n", "date": "2025-05-02", "categories": []} {"id": "2505.01130", "title": "Risk Analysis and Design Against Adversarial Actions", "abstract": " Learning models capable of providing reliable predictions in the face of\nadversarial actions has become a central focus of the machine learning\ncommunity in recent years. This challenge arises from observing that data\nencountered at deployment time often deviate from the conditions under which\nthe model was trained. In this paper, we address deployment-time adversarial\nactions and propose a versatile, well-principled framework to evaluate the\nmodel's robustness against attacks of diverse types and intensities. While we\ninitially focus on Support Vector Regression (SVR), the proposed approach\nextends naturally to the broad domain of learning via relaxed optimization\ntechniques. Our results enable an assessment of the model vulnerability without\nrequiring additional test data and operate in a distribution-free setup. These\nresults not only provide a tool to enhance trust in the model's applicability\nbut also aid in selecting among competing alternatives. Later in the paper, we\nshow that our findings also offer useful insights for establishing new results\nwithin the out-of-distribution framework.\n", "date": "2025-05-02", "categories": []} {"id": "2505.01168", "title": "Harmonizing Intra-coherence and Inter-divergence in Ensemble Attacks for\n Adversarial Transferability", "abstract": " The development of model ensemble attacks has significantly improved the\ntransferability of adversarial examples, but this progress also poses severe\nthreats to the security of deep neural networks. Existing methods, however,\nface two critical challenges: insufficient capture of shared gradient\ndirections across models and a lack of adaptive weight allocation mechanisms.\nTo address these issues, we propose a novel method Harmonized Ensemble for\nAdversarial Transferability (HEAT), which introduces domain generalization into\nadversarial example generation for the first time. HEAT consists of two key\nmodules: Consensus Gradient Direction Synthesizer, which uses Singular Value\nDecomposition to synthesize shared gradient directions; and Dual-Harmony Weight\nOrchestrator which dynamically balances intra-domain coherence, stabilizing\ngradients within individual models, and inter-domain diversity, enhancing\ntransferability across models. Experimental results demonstrate that HEAT\nsignificantly outperforms existing methods across various datasets and\nsettings, offering a new perspective and direction for adversarial attack\nresearch.\n", "date": "2025-05-02", "categories": []} {"id": "2410.05573", "title": "TaeBench: Improving Quality of Toxic Adversarial Examples", "abstract": " Toxicity text detectors can be vulnerable to adversarial examples - small\nperturbations to input text that fool the systems into wrong detection.\nExisting attack algorithms are time-consuming and often produce invalid or\nambiguous adversarial examples, making them less useful for evaluating or\nimproving real-world toxicity content moderators. This paper proposes an\nannotation pipeline for quality control of generated toxic adversarial examples\n(TAE). We design model-based automated annotation and human-based quality\nverification to assess the quality requirements of TAE. Successful TAE should\nfool a target toxicity model into making benign predictions, be grammatically\nreasonable, appear natural like human-generated text, and exhibit semantic\ntoxicity. When applying these requirements to more than 20 state-of-the-art\n(SOTA) TAE attack recipes, we find many invalid samples from a total of 940k\nraw TAE attack generations. We then utilize the proposed pipeline to filter and\ncurate a high-quality TAE dataset we call TaeBench (of size 264k). Empirically,\nwe demonstrate that TaeBench can effectively transfer-attack SOTA toxicity\ncontent moderation models and services. Our experiments also show that TaeBench\nwith adversarial training achieve significant improvements of the robustness of\ntwo toxicity detectors.\n", "date": "2024-10-08", "categories": []} {"id": "2505.00061", "title": "Enhancing Security and Strengthening Defenses in Automated Short-Answer\n Grading Systems", "abstract": " This study examines vulnerabilities in transformer-based automated\nshort-answer grading systems used in medical education, with a focus on how\nthese systems can be manipulated through adversarial gaming strategies. Our\nresearch identifies three main types of gaming strategies that exploit the\nsystem's weaknesses, potentially leading to false positives. To counteract\nthese vulnerabilities, we implement several adversarial training methods\ndesigned to enhance the systems' robustness. Our results indicate that these\nmethods significantly reduce the susceptibility of grading systems to such\nmanipulations, especially when combined with ensemble techniques like majority\nvoting and ridge regression, which further improve the system's defense against\nsophisticated adversarial inputs. Additionally, employing large language models\nsuch as GPT-4 with varied prompting techniques has shown promise in recognizing\nand scoring gaming strategies effectively. The findings underscore the\nimportance of continuous improvements in AI-driven educational tools to ensure\ntheir reliability and fairness in high-stakes settings.\n", "date": "2025-04-30", "categories": []} {"id": "2505.00487", "title": "Analysis of the vulnerability of machine learning regression models to\n adversarial attacks using data from 5G wireless networks", "abstract": " This article describes the process of creating a script and conducting an\nanalytical study of a dataset using the DeepMIMO emulator. An advertorial\nattack was carried out using the FGSM method to maximize the gradient. A\ncomparison is made of the effectiveness of binary classifiers in the task of\ndetecting distorted data. The dynamics of changes in the quality indicators of\nthe regression model were analyzed in conditions without adversarial attacks,\nduring an adversarial attack and when the distorted data was isolated. It is\nshown that an adversarial FGSM attack with gradient maximization leads to an\nincrease in the value of the MSE metric by 33% and a decrease in the R2\nindicator by 10% on average. The LightGBM binary classifier effectively\nidentifies data with adversarial anomalies with 98% accuracy. Regression\nmachine learning models are susceptible to adversarial attacks, but rapid\nanalysis of network traffic and data transmitted over the network makes it\npossible to identify malicious activity\n", "date": "2025-05-01", "categories": []} {"id": "2502.12734", "title": "Iron Sharpens Iron: Defending Against Attacks in Machine-Generated Text\n Detection with Adversarial Training", "abstract": " Machine-generated Text (MGT) detection is crucial for regulating and\nattributing online texts. While the existing MGT detectors achieve strong\nperformance, they remain vulnerable to simple perturbations and adversarial\nattacks. To build an effective defense against malicious perturbations, we view\nMGT detection from a threat modeling perspective, that is, analyzing the\nmodel's vulnerability from an adversary's point of view and exploring effective\nmitigations. To this end, we introduce an adversarial framework for training a\nrobust MGT detector, named GREedy Adversary PromoTed DefendER (GREATER). The\nGREATER consists of two key components: an adversary GREATER-A and a detector\nGREATER-D. The GREATER-D learns to defend against the adversarial attack from\nGREATER-A and generalizes the defense to other attacks. GREATER-A identifies\nand perturbs the critical tokens in embedding space, along with greedy search\nand pruning to generate stealthy and disruptive adversarial examples. Besides,\nwe update the GREATER-A and GREATER-D synchronously, encouraging the GREATER-D\nto generalize its defense to different attacks and varying attack intensities.\nOur experimental results across 10 text perturbation strategies and 6\nadversarial attacks show that our GREATER-D reduces the Attack Success Rate\n(ASR) by 0.67% compared with SOTA defense methods while our GREATER-A is\ndemonstrated to be more effective and efficient than SOTA attack approaches.\nCodes and dataset are available in https://github.com/Liyuuuu111/GREATER.\n", "date": "2025-02-18", "categories": []} {"id": "2503.00063", "title": "NoPain: No-box Point Cloud Attack via Optimal Transport Singular\n Boundary", "abstract": " Adversarial attacks exploit the vulnerability of deep models against\nadversarial samples. Existing point cloud attackers are tailored to specific\nmodels, iteratively optimizing perturbations based on gradients in either a\nwhite-box or black-box setting. Despite their promising attack performance,\nthey often struggle to produce transferable adversarial samples due to\noverfitting the specific parameters of surrogate models. To overcome this\nissue, we shift our focus to the data distribution itself and introduce a novel\napproach named NoPain, which employs optimal transport (OT) to identify the\ninherent singular boundaries of the data manifold for cross-network point cloud\nattacks. Specifically, we first calculate the OT mapping from noise to the\ntarget feature space, then identify singular boundaries by locating\nnon-differentiable positions. Finally, we sample along singular boundaries to\ngenerate adversarial point clouds. Once the singular boundaries are determined,\nNoPain can efficiently produce adversarial samples without the need of\niterative updates or guidance from the surrogate classifiers. Extensive\nexperiments demonstrate that the proposed end-to-end method outperforms\nbaseline approaches in terms of both transferability and efficiency, while also\nmaintaining notable advantages even against defense strategies. Code and model\nare available at https://github.com/cognaclee/nopain\n", "date": "2025-02-27", "categories": []} {"id": "2504.20077", "title": "Edge-Based Learning for Improved Classification Under Adversarial Noise", "abstract": " Adversarial noise introduces small perturbations in images, misleading deep\nlearning models into misclassification and significantly impacting recognition\naccuracy. In this study, we analyzed the effects of Fast Gradient Sign Method\n(FGSM) adversarial noise on image classification and investigated whether\ntraining on specific image features can improve robustness. We hypothesize that\nwhile adversarial noise perturbs various regions of an image, edges may remain\nrelatively stable and provide essential structural information for\nclassification. To test this, we conducted a series of experiments using brain\ntumor and COVID datasets. Initially, we trained the models on clean images and\nthen introduced subtle adversarial perturbations, which caused deep learning\nmodels to significantly misclassify the images. Retraining on a combination of\nclean and noisy images led to improved performance. To evaluate the robustness\nof the edge features, we extracted edges from the original/clean images and\ntrained the models exclusively on edge-based representations. When noise was\nintroduced to the images, the edge-based models demonstrated greater resilience\nto adversarial attacks compared to those trained on the original or clean\nimages. These results suggest that while adversarial noise is able to exploit\ncomplex non-edge regions significantly more than edges, the improvement in the\naccuracy after retraining is marginally more in the original data as compared\nto the edges. Thus, leveraging edge-based learning can improve the resilience\nof deep learning models against adversarial perturbations.\n", "date": "2025-04-25", "categories": []} {"id": "2504.20295", "title": "The Dark Side of Digital Twins: Adversarial Attacks on AI-Driven Water\n Forecasting", "abstract": " Digital twins (DTs) are improving water distribution systems by using\nreal-time data, analytics, and prediction models to optimize operations. This\npaper presents a DT platform designed for a Spanish water supply network,\nutilizing Long Short-Term Memory (LSTM) networks to predict water consumption.\nHowever, machine learning models are vulnerable to adversarial attacks, such as\nthe Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD).\nThese attacks manipulate critical model parameters, injecting subtle\ndistortions that degrade forecasting accuracy. To further exploit these\nvulnerabilities, we introduce a Learning Automata (LA) and Random LA-based\napproach that dynamically adjusts perturbations, making adversarial attacks\nmore difficult to detect. Experimental results show that this approach\nsignificantly impacts prediction reliability, causing the Mean Absolute\nPercentage Error (MAPE) to rise from 26% to over 35%. Moreover, adaptive attack\nstrategies amplify this effect, highlighting cybersecurity risks in AI-driven\nDTs. These findings emphasize the urgent need for robust defenses, including\nadversarial training, anomaly detection, and secure data pipelines.\n", "date": "2025-04-28", "categories": []} {"id": "2504.20848", "title": "Mitigating the Structural Bias in Graph Adversarial Defenses", "abstract": " In recent years, graph neural networks (GNNs) have shown great potential in\naddressing various graph structure-related downstream tasks. However, recent\nstudies have found that current GNNs are susceptible to malicious adversarial\nattacks. Given the inevitable presence of adversarial attacks in the real\nworld, a variety of defense methods have been proposed to counter these attacks\nand enhance the robustness of GNNs. Despite the commendable performance of\nthese defense methods, we have observed that they tend to exhibit a structural\nbias in terms of their defense capability on nodes with low degree (i.e., tail\nnodes), which is similar to the structural bias of traditional GNNs on nodes\nwith low degree in the clean graph. Therefore, in this work, we propose a\ndefense strategy by including hetero-homo augmented graph construction, $k$NN\naugmented graph construction, and multi-view node-wise attention modules to\nmitigate the structural bias of GNNs against adversarial attacks. Notably, the\nhetero-homo augmented graph consists of removing heterophilic links (i.e.,\nlinks connecting nodes with dissimilar features) globally and adding homophilic\nlinks (i.e., links connecting nodes with similar features) for nodes with low\ndegree. To further enhance the defense capability, an attention mechanism is\nadopted to adaptively combine the representations from the above two kinds of\ngraph views. We conduct extensive experiments to demonstrate the defense and\ndebiasing effect of the proposed strategy on benchmark datasets.\n", "date": "2025-04-29", "categories": []} {"id": "2504.11831", "title": "Support is All You Need for Certified VAE Training", "abstract": " Variational Autoencoders (VAEs) have become increasingly popular and deployed\nin safety-critical applications. In such applications, we want to give\ncertified probabilistic guarantees on performance under adversarial attacks. We\npropose a novel method, CIVET, for certified training of VAEs. CIVET depends on\nthe key insight that we can bound worst-case VAE error by bounding the error on\ncarefully chosen support sets at the latent layer. We show this point\nmathematically and present a novel training algorithm utilizing this insight.\nWe show in an extensive evaluation across different datasets (in both the\nwireless and vision application areas), architectures, and perturbation\nmagnitudes that our method outperforms SOTA methods achieving good standard\nperformance with strong robustness guarantees.\n", "date": "2025-04-16", "categories": []} {"id": "2504.19000", "title": "Unveiling and Mitigating Adversarial Vulnerabilities in Iterative\n Optimizers", "abstract": " Machine learning (ML) models are often sensitive to carefully crafted yet\nseemingly unnoticeable perturbations. Such adversarial examples are considered\nto be a property of ML models, often associated with their black-box operation\nand sensitivity to features learned from data. This work examines the\nadversarial sensitivity of non-learned decision rules, and particularly of\niterative optimizers. Our analysis is inspired by the recent developments in\ndeep unfolding, which cast such optimizers as ML models. We show that\nnon-learned iterative optimizers share the sensitivity to adversarial examples\nof ML models, and that attacking iterative optimizers effectively alters the\noptimization objective surface in a manner that modifies the minima sought. We\nthen leverage the ability to cast iteration-limited optimizers as ML models to\nenhance robustness via adversarial training. For a class of proximal gradient\noptimizers, we rigorously prove how their learning affects adversarial\nsensitivity. We numerically back our findings, showing the vulnerability of\nvarious optimizers, as well as the robustness induced by unfolding and\nadversarial training.\n", "date": "2025-04-26", "categories": []} {"id": "2504.19019", "title": "Graph of Attacks: Improved Black-Box and Interpretable Jailbreaks for\n LLMs", "abstract": " The challenge of ensuring Large Language Models (LLMs) align with societal\nstandards is of increasing interest, as these models are still prone to\nadversarial jailbreaks that bypass their safety mechanisms. Identifying these\nvulnerabilities is crucial for enhancing the robustness of LLMs against such\nexploits. We propose Graph of ATtacks (GoAT), a method for generating\nadversarial prompts to test the robustness of LLM alignment using the Graph of\nThoughts framework [Besta et al., 2024]. GoAT excels at generating highly\neffective jailbreak prompts with fewer queries to the victim model than\nstate-of-the-art attacks, achieving up to five times better jailbreak success\nrate against robust models like Llama. Notably, GoAT creates high-quality,\nhuman-readable prompts without requiring access to the targeted model's\nparameters, making it a black-box attack. Unlike approaches constrained by\ntree-based reasoning, GoAT's reasoning is based on a more intricate graph\nstructure. By making simultaneous attack paths aware of each other's progress,\nthis dynamic framework allows a deeper integration and refinement of reasoning\npaths, significantly enhancing the collaborative exploration of adversarial\nvulnerabilities in LLMs. At a technical level, GoAT starts with a graph\nstructure and iteratively refines it by combining and improving thoughts,\nenabling synergy between different thought paths. The code for our\nimplementation can be found at: https://github.com/GoAT-pydev/Graph_of_Attacks.\n", "date": "2025-04-26", "categories": []} {"id": "2504.19730", "title": "Evaluate-and-Purify: Fortifying Code Language Models Against Adversarial\n Attacks Using LLM-as-a-Judge", "abstract": " The widespread adoption of code language models in software engineering tasks\nhas exposed vulnerabilities to adversarial attacks, especially the identifier\nsubstitution attacks. Although existing identifier substitution attackers\ndemonstrate high success rates, they often produce adversarial examples with\nunnatural code patterns. In this paper, we systematically assess the quality of\nadversarial examples using LLM-as-a-Judge. Our analysis reveals that over 80%\nof adversarial examples generated by state-of-the-art identifier substitution\nattackers (e.g., ALERT) are actually detectable. Based on this insight, we\npropose EP-Shield, a unified framework for evaluating and purifying identifier\nsubstitution attacks via naturalness-aware reasoning. Specifically, we first\nevaluate the naturalness of code and identify the perturbed adversarial code,\nthen purify it so that the victim model can restore correct prediction.\nExtensive experiments demonstrate the superiority of EP-Shield over adversarial\nfine-tuning (up to 83.36% improvement) and its lightweight design 7B\nparameters) with GPT-4-level performance.\n", "date": "2025-04-28", "categories": []} {"id": "2504.17829", "title": "Fine-Tuning Adversarially-Robust Transformers for Single-Image Dehazing", "abstract": " Single-image dehazing is an important topic in remote sensing applications,\nenhancing the quality of acquired images and increasing object detection\nprecision. However, the reliability of such structures has not been\nsufficiently analyzed, which poses them to the risk of imperceptible\nperturbations that can significantly hinder their performance. In this work, we\nshow that state-of-the-art image-to-image dehazing transformers are susceptible\nto adversarial noise, with even 1 pixel change being able to decrease the PSNR\nby as much as 2.8 dB. Next, we propose two lightweight fine-tuning strategies\naimed at increasing the robustness of pre-trained transformers. Our methods\nresults in comparable clean performance, while significantly increasing the\nprotection against adversarial data. We further present their applicability in\ntwo remote sensing scenarios, showcasing their robust behavior for\nout-of-distribution data. The source code for adversarial fine-tuning and\nattack algorithms can be found at github.com/Vladimirescu/RobustDehazing.\n", "date": "2025-04-24", "categories": []} {"id": "2406.04724", "title": "On Minimizing Adversarial Counterfactual Error in Adversarial RL", "abstract": " Deep Reinforcement Learning (DRL) policies are highly susceptible to\nadversarial noise in observations, which poses significant risks in\nsafety-critical scenarios. The challenge inherent to adversarial perturbations\nis that by altering the information observed by the agent, the state becomes\nonly partially observable. Existing approaches address this by either enforcing\nconsistent actions across nearby states or maximizing the worst-case value\nwithin adversarially perturbed observations. However, the former suffers from\nperformance degradation when attacks succeed, while the latter tends to be\noverly conservative, leading to suboptimal performance in benign settings. We\nhypothesize that these limitations stem from their failing to account for\npartial observability directly. To this end, we introduce a novel objective\ncalled Adversarial Counterfactual Error (ACoE), defined on the beliefs about\nthe true state and balancing value optimization with robustness. To make ACoE\nscalable in model-free settings, we propose the theoretically-grounded\nsurrogate objective Cumulative-ACoE (C-ACoE). Our empirical evaluations on\nstandard benchmarks (MuJoCo, Atari, and Highway) demonstrate that our method\nsignificantly outperforms current state-of-the-art approaches for addressing\nadversarial RL challenges, offering a promising direction for improving\nrobustness in DRL under adversarial conditions. Our code is available at\nhttps://github.com/romanbelaire/acoe-robust-rl.\n", "date": "2024-06-07", "categories": []} {"id": "2408.15833", "title": "Network transferability of adversarial patches in real-time object\n detection", "abstract": " Adversarial patches in computer vision can be used, to fool deep neural\nnetworks and manipulate their decision-making process. One of the most\nprominent examples of adversarial patches are evasion attacks for object\ndetectors. By covering parts of objects of interest, these patches suppress the\ndetections and thus make the target object 'invisible' to the object detector.\nSince these patches are usually optimized on a specific network with a specific\ntrain dataset, the transferability across multiple networks and datasets is not\ngiven. This paper addresses these issues and investigates the transferability\nacross numerous object detector architectures. Our extensive evaluation across\nvarious models on two distinct datasets indicates that patches optimized with\nlarger models provide better network transferability than patches that are\noptimized with smaller models.\n", "date": "2024-08-28", "categories": []} {"id": "2412.01527", "title": "Traversing the Subspace of Adversarial Patches", "abstract": " Despite ongoing research on the topic of adversarial examples in deep\nlearning for computer vision, some fundamentals of the nature of these attacks\nremain unclear. As the manifold hypothesis posits, high-dimensional data tends\nto be part of a low-dimensional manifold. To verify the thesis with adversarial\npatches, this paper provides an analysis of a set of adversarial patches and\ninvestigates the reconstruction abilities of three different dimensionality\nreduction methods. Quantitatively, the performance of reconstructed patches in\nan attack setting is measured and the impact of sampled patches from the latent\nspace during adversarial training is investigated. The evaluation is performed\non two publicly available datasets for person detection. The results indicate\nthat more sophisticated dimensionality reduction methods offer no advantages\nover a simple principal component analysis.\n", "date": "2024-12-02", "categories": []} {"id": "2504.13192", "title": "CheatAgent: Attacking LLM-Empowered Recommender Systems via LLM Agent", "abstract": " Recently, Large Language Model (LLM)-empowered recommender systems (RecSys)\nhave brought significant advances in personalized user experience and have\nattracted considerable attention. Despite the impressive progress, the research\nquestion regarding the safety vulnerability of LLM-empowered RecSys still\nremains largely under-investigated. Given the security and privacy concerns, it\nis more practical to focus on attacking the black-box RecSys, where attackers\ncan only observe the system's inputs and outputs. However, traditional attack\napproaches employing reinforcement learning (RL) agents are not effective for\nattacking LLM-empowered RecSys due to the limited capabilities in processing\ncomplex textual inputs, planning, and reasoning. On the other hand, LLMs\nprovide unprecedented opportunities to serve as attack agents to attack RecSys\nbecause of their impressive capability in simulating human-like decision-making\nprocesses. Therefore, in this paper, we propose a novel attack framework called\nCheatAgent by harnessing the human-like capabilities of LLMs, where an\nLLM-based agent is developed to attack LLM-Empowered RecSys. Specifically, our\nmethod first identifies the insertion position for maximum impact with minimal\ninput modification. After that, the LLM agent is designed to generate\nadversarial perturbations to insert at target positions. To further improve the\nquality of generated perturbations, we utilize the prompt tuning technique to\nimprove attacking strategies via feedback from the victim RecSys iteratively.\nExtensive experiments across three real-world datasets demonstrate the\neffectiveness of our proposed attacking method.\n", "date": "2025-04-13", "categories": []} {"id": "2504.17219", "title": "Enhancing Variational Autoencoders with Smooth Robust Latent Encoding", "abstract": " Variational Autoencoders (VAEs) have played a key role in scaling up\ndiffusion-based generative models, as in Stable Diffusion, yet questions\nregarding their robustness remain largely underexplored. Although adversarial\ntraining has been an established technique for enhancing robustness in\npredictive models, it has been overlooked for generative models due to concerns\nabout potential fidelity degradation by the nature of trade-offs between\nperformance and robustness. In this work, we challenge this presumption,\nintroducing Smooth Robust Latent VAE (SRL-VAE), a novel adversarial training\nframework that boosts both generation quality and robustness. In contrast to\nconventional adversarial training, which focuses on robustness only, our\napproach smooths the latent space via adversarial perturbations, promoting more\ngeneralizable representations while regularizing with originality\nrepresentation to sustain original fidelity. Applied as a post-training step on\npre-trained VAEs, SRL-VAE improves image robustness and fidelity with minimal\ncomputational overhead. Experiments show that SRL-VAE improves both generation\nquality, in image reconstruction and text-guided image editing, and robustness,\nagainst Nightshade attacks and image editing attacks. These results establish a\nnew paradigm, showing that adversarial training, once thought to be detrimental\nto generative models, can instead enhance both fidelity and robustness.\n", "date": "2025-04-24", "categories": []} {"id": "2405.20770", "title": "Large Language Model Sentinel: LLM Agent for Adversarial Purification", "abstract": " Over the past two years, the use of large language models (LLMs) has advanced\nrapidly. While these LLMs offer considerable convenience, they also raise\nsecurity concerns, as LLMs are vulnerable to adversarial attacks by some\nwell-designed textual perturbations. In this paper, we introduce a novel\ndefense technique named Large LAnguage MOdel Sentinel (LLAMOS), which is\ndesigned to enhance the adversarial robustness of LLMs by purifying the\nadversarial textual examples before feeding them into the target LLM. Our\nmethod comprises two main components: a) Agent instruction, which can simulate\na new agent for adversarial defense, altering minimal characters to maintain\nthe original meaning of the sentence while defending against attacks; b)\nDefense guidance, which provides strategies for modifying clean or adversarial\nexamples to ensure effective defense and accurate outputs from the target LLMs.\nRemarkably, the defense agent demonstrates robust defensive capabilities even\nwithout learning from adversarial examples. Additionally, we conduct an\nintriguing adversarial experiment where we develop two agents, one for defense\nand one for attack, and engage them in mutual confrontation. During the\nadversarial interactions, neither agent completely beat the other. Extensive\nexperiments on both open-source and closed-source LLMs demonstrate that our\nmethod effectively defends against adversarial attacks, thereby enhancing\nadversarial robustness.\n", "date": "2024-05-24", "categories": []} {"id": "2503.06276", "title": "Exploring Adversarial Transferability between Kolmogorov-arnold Networks", "abstract": " Kolmogorov-Arnold Networks (KANs) have emerged as a transformative model\nparadigm, significantly impacting various fields. However, their adversarial\nrobustness remains less underexplored, especially across different KAN\narchitectures. To explore this critical safety issue, we conduct an analysis\nand find that due to overfitting to the specific basis functions of KANs, they\npossess poor adversarial transferability among different KANs. To tackle this\nchallenge, we propose AdvKAN, the first transfer attack method for KANs. AdvKAN\nintegrates two key components: 1) a Breakthrough-Defense Surrogate Model\n(BDSM), which employs a breakthrough-defense training strategy to mitigate\noverfitting to the specific structures of KANs. 2) a Global-Local Interaction\n(GLI) technique, which promotes sufficient interaction between adversarial\ngradients of hierarchical levels, further smoothing out loss surfaces of KANs.\nBoth of them work together to enhance the strength of transfer attack among\ndifferent KANs. Extensive experimental results on various KANs and datasets\ndemonstrate the effectiveness of AdvKAN, which possesses notably superior\nattack capabilities and deeply reveals the vulnerabilities of KANs. Code will\nbe released upon acceptance.\n", "date": "2025-03-08", "categories": []} {"id": "2504.14921", "title": "Fast Adversarial Training with Weak-to-Strong Spatial-Temporal\n Consistency in the Frequency Domain on Videos", "abstract": " Adversarial Training (AT) has been shown to significantly enhance adversarial\nrobustness via a min-max optimization approach. However, its effectiveness in\nvideo recognition tasks is hampered by two main challenges. First, fast\nadversarial training for video models remains largely unexplored, which\nseverely impedes its practical applications. Specifically, most video\nadversarial training methods are computationally costly, with long training\ntimes and high expenses. Second, existing methods struggle with the trade-off\nbetween clean accuracy and adversarial robustness. To address these challenges,\nwe introduce Video Fast Adversarial Training with Weak-to-Strong consistency\n(VFAT-WS), the first fast adversarial training method for video data.\nSpecifically, VFAT-WS incorporates the following key designs: First, it\nintegrates a straightforward yet effective temporal frequency augmentation\n(TF-AUG), and its spatial-temporal enhanced form STF-AUG, along with a\nsingle-step PGD attack to boost training efficiency and robustness. Second, it\ndevises a weak-to-strong spatial-temporal consistency regularization, which\nseamlessly integrates the simpler TF-AUG and the more complex STF-AUG.\nLeveraging the consistency regularization, it steers the learning process from\nsimple to complex augmentations. Both of them work together to achieve a better\ntrade-off between clean accuracy and robustness. Extensive experiments on\nUCF-101 and HMDB-51 with both CNN and Transformer-based models demonstrate that\nVFAT-WS achieves great improvements in adversarial robustness and corruption\nrobustness, while accelerating training by nearly 490%.\n", "date": "2025-04-21", "categories": []} {"id": "2504.15823", "title": "Human-Imperceptible Physical Adversarial Attack for NIR Face Recognition\n Models", "abstract": " Near-infrared (NIR) face recognition systems, which can operate effectively\nin low-light conditions or in the presence of makeup, exhibit vulnerabilities\nwhen subjected to physical adversarial attacks. To further demonstrate the\npotential risks in real-world applications, we design a novel, stealthy, and\npractical adversarial patch to attack NIR face recognition systems in a\nblack-box setting. We achieved this by utilizing human-imperceptible\ninfrared-absorbing ink to generate multiple patches with digitally optimized\nshapes and positions for infrared images. To address the optimization mismatch\nbetween digital and real-world NIR imaging, we develop a light reflection model\nfor human skin to minimize pixel-level discrepancies by simulating NIR light\nreflection.\n Compared to state-of-the-art (SOTA) physical attacks on NIR face recognition\nsystems, the experimental results show that our method improves the attack\nsuccess rate in both digital and physical domains, particularly maintaining\neffectiveness across various face postures. Notably, the proposed approach\noutperforms SOTA methods, achieving an average attack success rate of 82.46% in\nthe physical domain across different models, compared to 64.18% for existing\nmethods. The artifact is available at\nhttps://anonymous.4open.science/r/Human-imperceptible-adversarial-patch-0703/.\n", "date": "2025-04-22", "categories": []} {"id": "2504.15942", "title": "Adversarial Observations in Weather Forecasting", "abstract": " AI-based systems, such as Google's GenCast, have recently redefined the state\nof the art in weather forecasting, offering more accurate and timely\npredictions of both everyday weather and extreme events. While these systems\nare on the verge of replacing traditional meteorological methods, they also\nintroduce new vulnerabilities into the forecasting process. In this paper, we\ninvestigate this threat and present a novel attack on autoregressive diffusion\nmodels, such as those used in GenCast, capable of manipulating weather\nforecasts and fabricating extreme events, including hurricanes, heat waves, and\nintense rainfall. The attack introduces subtle perturbations into weather\nobservations that are statistically indistinguishable from natural noise and\nchange less than 0.1% of the measurements - comparable to tampering with data\nfrom a single meteorological satellite. As modern forecasting integrates data\nfrom nearly a hundred satellites and many other sources operated by different\ncountries, our findings highlight a critical security risk with the potential\nto cause large-scale disruptions and undermine public trust in weather\nprediction.\n", "date": "2025-04-22", "categories": []} {"id": "2410.20197", "title": "Transferable Adversarial Attacks on SAM and Its Downstream Models", "abstract": " The utilization of large foundational models has a dilemma: while fine-tuning\ndownstream tasks from them holds promise for making use of the well-generalized\nknowledge in practical applications, their open accessibility also poses\nthreats of adverse usage. This paper, for the first time, explores the\nfeasibility of adversarial attacking various downstream models fine-tuned from\nthe segment anything model (SAM), by solely utilizing the information from the\nopen-sourced SAM. In contrast to prevailing transfer-based adversarial attacks,\nwe demonstrate the existence of adversarial dangers even without accessing the\ndownstream task and dataset to train a similar surrogate model. To enhance the\neffectiveness of the adversarial attack towards models fine-tuned on unknown\ndatasets, we propose a universal meta-initialization (UMI) algorithm to extract\nthe intrinsic vulnerability inherent in the foundation model, which is then\nutilized as the prior knowledge to guide the generation of adversarial\nperturbations. Moreover, by formulating the gradient difference in the\nattacking process between the open-sourced SAM and its fine-tuned downstream\nmodels, we theoretically demonstrate that a deviation occurs in the adversarial\nupdate direction by directly maximizing the distance of encoded feature\nembeddings in the open-sourced SAM. Consequently, we propose a gradient robust\nloss that simulates the associated uncertainty with gradient-based noise\naugmentation to enhance the robustness of generated adversarial examples (AEs)\ntowards this deviation, thus improving the transferability. Extensive\nexperiments demonstrate the effectiveness of the proposed universal\nmeta-initialized and gradient robust adversarial attack (UMI-GRAT) toward SAMs\nand their downstream models. Code is available at\nhttps://github.com/xiasong0501/GRAT.\n", "date": "2024-10-26", "categories": []} {"id": "2501.12761", "title": "Modality Unified Attack for Omni-Modality Person Re-Identification", "abstract": " Deep learning based person re-identification (re-id) models have been widely\nemployed in surveillance systems. Recent studies have demonstrated that\nblack-box single-modality and cross-modality re-id models are vulnerable to\nadversarial examples (AEs), leaving the robustness of multi-modality re-id\nmodels unexplored. Due to the lack of knowledge about the specific type of\nmodel deployed in the target black-box surveillance system, we aim to generate\nmodality unified AEs for omni-modality (single-, cross- and multi-modality)\nre-id models. Specifically, we propose a novel Modality Unified Attack method\nto train modality-specific adversarial generators to generate AEs that\neffectively attack different omni-modality models. A multi-modality model is\nadopted as the surrogate model, wherein the features of each modality are\nperturbed by metric disruption loss before fusion. To collapse the common\nfeatures of omni-modality models, Cross Modality Simulated Disruption approach\nis introduced to mimic the cross-modality feature embeddings by intentionally\nfeeding images to non-corresponding modality-specific subnetworks of the\nsurrogate model. Moreover, Multi Modality Collaborative Disruption strategy is\ndevised to facilitate the attacker to comprehensively corrupt the informative\ncontent of person images by leveraging a multi modality feature collaborative\nmetric disruption loss. Extensive experiments show that our MUA method can\neffectively attack the omni-modality re-id models, achieving 55.9%, 24.4%,\n49.0% and 62.7% mean mAP Drop Rate, respectively.\n", "date": "2025-01-22", "categories": []} {"id": "2504.13966", "title": "Adversarial Resilience against Clean-Label Attacks in Realizable and\n Noisy Settings", "abstract": " We investigate the challenge of establishing stochastic-like guarantees when\nsequentially learning from a stream of i.i.d. data that includes an unknown\nquantity of clean-label adversarial samples. We permit the learner to abstain\nfrom making predictions when uncertain. The regret of the learner is measured\nin terms of misclassification and abstention error, where we allow the learner\nto abstain for free on adversarial injected samples. This approach is based on\nthe work of Goel, Hanneke, Moran, and Shetty from arXiv:2306.13119. We explore\nthe methods they present and manage to correct inaccuracies in their\nargumentation.\n However, this approach is limited to the realizable setting, where labels are\nassigned according to some function $f^*$ from the hypothesis space\n$\\mathcal{F}$. Based on similar arguments, we explore methods to make\nadaptations for the agnostic setting where labels are random. Introducing the\nnotion of a clean-label adversary in the agnostic context, we are the first to\ngive a theoretical analysis of a disagreement-based learner for thresholds,\nsubject to a clean-label adversary with noise.\n", "date": "2025-04-17", "categories": []} {"id": "2504.14395", "title": "Hydra: An Agentic Reasoning Approach for Enhancing Adversarial\n Robustness and Mitigating Hallucinations in Vision-Language Models", "abstract": " To develop trustworthy Vision-Language Models (VLMs), it is essential to\naddress adversarial robustness and hallucination mitigation, both of which\nimpact factual accuracy in high-stakes applications such as defense and\nhealthcare. Existing methods primarily focus on either adversarial defense or\nhallucination post-hoc correction, leaving a gap in unified robustness\nstrategies. We introduce \\textbf{Hydra}, an adaptive agentic framework that\nenhances plug-in VLMs through iterative reasoning, structured critiques, and\ncross-model verification, improving both resilience to adversarial\nperturbations and intrinsic model errors. Hydra employs an Action-Critique\nLoop, where it retrieves and critiques visual information, leveraging\nChain-of-Thought (CoT) and In-Context Learning (ICL) techniques to refine\noutputs dynamically. Unlike static post-hoc correction methods, Hydra adapts to\nboth adversarial manipulations and intrinsic model errors, making it robust to\nmalicious perturbations and hallucination-related inaccuracies. We evaluate\nHydra on four VLMs, three hallucination benchmarks, two adversarial attack\nstrategies, and two adversarial defense methods, assessing performance on both\nclean and adversarial inputs. Results show that Hydra surpasses plug-in VLMs\nand state-of-the-art (SOTA) dehallucination methods, even without explicit\nadversarial defenses, demonstrating enhanced robustness and factual\nconsistency. By bridging adversarial resistance and hallucination mitigation,\nHydra provides a scalable, training-free solution for improving the reliability\nof VLMs in real-world applications.\n", "date": "2025-04-19", "categories": []} {"id": "2504.14423", "title": "Adversarial Attack for RGB-Event based Visual Object Tracking", "abstract": " Visual object tracking is a crucial research topic in the fields of computer\nvision and multi-modal fusion. Among various approaches, robust visual tracking\nthat combines RGB frames with Event streams has attracted increasing attention\nfrom researchers. While striving for high accuracy and efficiency in tracking,\nit is also important to explore how to effectively conduct adversarial attacks\nand defenses on RGB-Event stream tracking algorithms, yet research in this area\nremains relatively scarce. To bridge this gap, in this paper, we propose a\ncross-modal adversarial attack algorithm for RGB-Event visual tracking. Because\nof the diverse representations of Event streams, and given that Event voxels\nand frames are more commonly used, this paper will focus on these two\nrepresentations for an in-depth study. Specifically, for the RGB-Event voxel,\nwe first optimize the perturbation by adversarial loss to generate RGB frame\nadversarial examples. For discrete Event voxel representations, we propose a\ntwo-step attack strategy, more in detail, we first inject Event voxels into the\ntarget region as initialized adversarial examples, then, conduct a\ngradient-guided optimization by perturbing the spatial location of the Event\nvoxels. For the RGB-Event frame based tracking, we optimize the cross-modal\nuniversal perturbation by integrating the gradient information from multimodal\ndata. We evaluate the proposed approach against attacks on three widely used\nRGB-Event Tracking datasets, i.e., COESOT, FE108, and VisEvent. Extensive\nexperiments show that our method significantly reduces the performance of the\ntracker across numerous datasets in both unimodal and multimodal scenarios. The\nsource code will be released on\nhttps://github.com/Event-AHU/Adversarial_Attack_Defense\n", "date": "2025-04-19", "categories": []} {"id": "2504.14541", "title": "Towards Model Resistant to Transferable Adversarial Examples via Trigger\n Activation", "abstract": " Adversarial examples, characterized by imperceptible perturbations, pose\nsignificant threats to deep neural networks by misleading their predictions. A\ncritical aspect of these examples is their transferability, allowing them to\ndeceive {unseen} models in black-box scenarios. Despite the widespread\nexploration of defense methods, including those on transferability, they show\nlimitations: inefficient deployment, ineffective defense, and degraded\nperformance on clean images. In this work, we introduce a novel training\nparadigm aimed at enhancing robustness against transferable adversarial\nexamples (TAEs) in a more efficient and effective way. We propose a model that\nexhibits random guessing behavior when presented with clean data\n$\\boldsymbol{x}$ as input, and generates accurate predictions when with\ntriggered data $\\boldsymbol{x}+\\boldsymbol{\\tau}$. Importantly, the trigger\n$\\boldsymbol{\\tau}$ remains constant for all data instances. We refer to these\nmodels as \\textbf{models with trigger activation}. We are surprised to find\nthat these models exhibit certain robustness against TAEs. Through the\nconsideration of first-order gradients, we provide a theoretical analysis of\nthis robustness. Moreover, through the joint optimization of the learnable\ntrigger and the model, we achieve improved robustness to transferable attacks.\nExtensive experiments conducted across diverse datasets, evaluating a variety\nof attacking methods, underscore the effectiveness and superiority of our\napproach.\n", "date": "2025-04-20", "categories": []} {"id": "2412.10353", "title": "Robust image classification with multi-modal large language models", "abstract": " Deep Neural Networks are vulnerable to adversarial examples, i.e., carefully\ncrafted input samples that can cause models to make incorrect predictions with\nhigh confidence. To mitigate these vulnerabilities, adversarial training and\ndetection-based defenses have been proposed to strengthen models in advance.\nHowever, most of these approaches focus on a single data modality, overlooking\nthe relationships between visual patterns and textual descriptions of the\ninput. In this paper, we propose a novel defense, MultiShield, designed to\ncombine and complement these defenses with multi-modal information to further\nenhance their robustness. MultiShield leverages multi-modal large language\nmodels to detect adversarial examples and abstain from uncertain\nclassifications when there is no alignment between textual and visual\nrepresentations of the input. Extensive evaluations on CIFAR-10 and ImageNet\ndatasets, using robust and non-robust image classification models, demonstrate\nthat MultiShield can be easily integrated to detect and reject adversarial\nexamples, outperforming the original defenses.\n", "date": "2024-12-13", "categories": []} {"id": "2504.13551", "title": "Q-FAKER: Query-free Hard Black-box Attack via Controlled Generation", "abstract": " Many adversarial attack approaches are proposed to verify the vulnerability\nof language models. However, they require numerous queries and the information\non the target model. Even black-box attack methods also require the target\nmodel's output information. They are not applicable in real-world scenarios, as\nin hard black-box settings where the target model is closed and inaccessible.\nEven the recently proposed hard black-box attacks still require many queries\nand demand extremely high costs for training adversarial generators. To address\nthese challenges, we propose Q-faker (Query-free Hard Black-box Attacker), a\nnovel and efficient method that generates adversarial examples without\naccessing the target model. To avoid accessing the target model, we use a\nsurrogate model instead. The surrogate model generates adversarial sentences\nfor a target-agnostic attack. During this process, we leverage controlled\ngeneration techniques. We evaluate our proposed method on eight datasets.\nExperimental results demonstrate our method's effectiveness including high\ntransferability and the high quality of the generated adversarial examples, and\nprove its practical in hard black-box settings.\n", "date": "2025-04-18", "categories": []} {"id": "2408.01934", "title": "A Survey and Evaluation of Adversarial Attacks for Object Detection", "abstract": " Deep learning models achieve remarkable accuracy in computer vision tasks,\nyet remain vulnerable to adversarial examples--carefully crafted perturbations\nto input images that can deceive these models into making confident but\nincorrect predictions. This vulnerability pose significant risks in high-stakes\napplications such as autonomous vehicles, security surveillance, and\nsafety-critical inspection systems. While the existing literature extensively\ncovers adversarial attacks in image classification, comprehensive analyses of\nsuch attacks on object detection systems remain limited. This paper presents a\nnovel taxonomic framework for categorizing adversarial attacks specific to\nobject detection architectures, synthesizes existing robustness metrics, and\nprovides a comprehensive empirical evaluation of state-of-the-art attack\nmethodologies on popular object detection models, including both traditional\ndetectors and modern detectors with vision-language pretraining. Through\nrigorous analysis of open-source attack implementations and their effectiveness\nacross diverse detection architectures, we derive key insights into attack\ncharacteristics. Furthermore, we delineate critical research gaps and emerging\nchallenges to guide future investigations in securing object detection systems\nagainst adversarial threats. Our findings establish a foundation for developing\nmore robust detection models while highlighting the urgent need for\nstandardized evaluation protocols in this rapidly evolving domain.\n", "date": "2024-08-04", "categories": []} {"id": "2504.12644", "title": "Quantum Computing Supported Adversarial Attack-Resilient Autonomous\n Vehicle Perception Module for Traffic Sign Classification", "abstract": " Deep learning (DL)-based image classification models are essential for\nautonomous vehicle (AV) perception modules since incorrect categorization might\nhave severe repercussions. Adversarial attacks are widely studied cyberattacks\nthat can lead DL models to predict inaccurate output, such as incorrectly\nclassified traffic signs by the perception module of an autonomous vehicle. In\nthis study, we create and compare hybrid classical-quantum deep learning\n(HCQ-DL) models with classical deep learning (C-DL) models to demonstrate\nrobustness against adversarial attacks for perception modules. Before feeding\nthem into the quantum system, we used transfer learning models, alexnet and\nvgg-16, as feature extractors. We tested over 1000 quantum circuits in our\nHCQ-DL models for projected gradient descent (PGD), fast gradient sign attack\n(FGSA), and gradient attack (GA), which are three well-known untargeted\nadversarial approaches. We evaluated the performance of all models during\nadversarial attacks and no-attack scenarios. Our HCQ-DL models maintain\naccuracy above 95\\% during a no-attack scenario and above 91\\% for GA and FGSA\nattacks, which is higher than C-DL models. During the PGD attack, our\nalexnet-based HCQ-DL model maintained an accuracy of 85\\% compared to C-DL\nmodels that achieved accuracies below 21\\%. Our results highlight that the\nHCQ-DL models provide improved accuracy for traffic sign classification under\nadversarial settings compared to their classical counterparts.\n", "date": "2025-04-17", "categories": []} {"id": "2402.09063", "title": "Soft Prompt Threats: Attacking Safety Alignment and Unlearning in\n Open-Source LLMs through the Embedding Space", "abstract": " Current research in adversarial robustness of LLMs focuses on discrete input\nmanipulations in the natural language space, which can be directly transferred\nto closed-source models. However, this approach neglects the steady progression\nof open-source models. As open-source models advance in capability, ensuring\ntheir safety also becomes increasingly imperative. Yet, attacks tailored to\nopen-source LLMs that exploit full model access remain largely unexplored. We\naddress this research gap and propose the embedding space attack, which\ndirectly attacks the continuous embedding representation of input tokens. We\nfind that embedding space attacks circumvent model alignments and trigger\nharmful behaviors more efficiently than discrete attacks or model fine-tuning.\nFurthermore, we present a novel threat model in the context of unlearning and\nshow that embedding space attacks can extract supposedly deleted information\nfrom unlearned LLMs across multiple datasets and models. Our findings highlight\nembedding space attacks as an important threat model in open-source LLMs.\nTrigger Warning: the appendix contains LLM-generated text with violence and\nharassment.\n", "date": "2024-02-14", "categories": []} {"id": "2409.04208", "title": "Learning to Learn Transferable Generative Attack for Person\n Re-Identification", "abstract": " Deep learning-based person re-identification (re-id) models are widely\nemployed in surveillance systems and inevitably inherit the vulnerability of\ndeep networks to adversarial attacks. Existing attacks merely consider\ncross-dataset and cross-model transferability, ignoring the cross-test\ncapability to perturb models trained in different domains. To powerfully\nexamine the robustness of real-world re-id models, the Meta Transferable\nGenerative Attack (MTGA) method is proposed, which adopts meta-learning\noptimization to promote the generative attacker producing highly transferable\nadversarial examples by learning comprehensively simulated transfer-based\ncross-model\\&dataset\\&test black-box meta attack tasks. Specifically,\ncross-model\\&dataset black-box attack tasks are first mimicked by selecting\ndifferent re-id models and datasets for meta-train and meta-test attack\nprocesses. As different models may focus on different feature regions, the\nPerturbation Random Erasing module is further devised to prevent the attacker\nfrom learning to only corrupt model-specific features. To boost the attacker\nlearning to possess cross-test transferability, the Normalization Mix strategy\nis introduced to imitate diverse feature embedding spaces by mixing\nmulti-domain statistics of target models. Extensive experiments show the\nsuperiority of MTGA, especially in cross-model\\&dataset and\ncross-model\\&dataset\\&test attacks, our MTGA outperforms the SOTA methods by\n21.5\\% and 11.3\\% on mean mAP drop rate, respectively. The code of MTGA will be\nreleased after the paper is accepted.\n", "date": "2024-09-06", "categories": []} {"id": "2501.10906", "title": "Explainable Adversarial Attacks on Coarse-to-Fine Classifiers", "abstract": " Traditional adversarial attacks typically aim to alter the predicted labels\nof input images by generating perturbations that are imperceptible to the human\neye. However, these approaches often lack explainability. Moreover, most\nexisting work on adversarial attacks focuses on single-stage classifiers, but\nmulti-stage classifiers are largely unexplored. In this paper, we introduce\ninstance-based adversarial attacks for multi-stage classifiers, leveraging\nLayer-wise Relevance Propagation (LRP), which assigns relevance scores to\npixels based on their influence on classification outcomes. Our approach\ngenerates explainable adversarial perturbations by utilizing LRP to identify\nand target key features critical for both coarse and fine-grained\nclassifications. Unlike conventional attacks, our method not only induces\nmisclassification but also enhances the interpretability of the model's\nbehavior across classification stages, as demonstrated by experimental results.\n", "date": "2025-01-19", "categories": []} {"id": "2503.12793", "title": "Improving Generalization of Universal Adversarial Perturbation via\n Dynamic Maximin Optimization", "abstract": " Deep neural networks (DNNs) are susceptible to universal adversarial\nperturbations (UAPs). These perturbations are meticulously designed to fool the\ntarget model universally across all sample classes. Unlike instance-specific\nadversarial examples (AEs), generating UAPs is more complex because they must\nbe generalized across a wide range of data samples and models. Our research\nreveals that existing universal attack methods, which optimize UAPs using DNNs\nwith static model parameter snapshots, do not fully leverage the potential of\nDNNs to generate more effective UAPs. Rather than optimizing UAPs against\nstatic DNN models with a fixed training set, we suggest using dynamic\nmodel-data pairs to generate UAPs. In particular, we introduce a dynamic\nmaximin optimization strategy, aiming to optimize the UAP across a variety of\noptimal model-data pairs. We term this approach DM-UAP. DM-UAP utilizes an\niterative max-min-min optimization framework that refines the model-data pairs,\ncoupled with a curriculum UAP learning algorithm to examine the combined space\nof model parameters and data thoroughly. Comprehensive experiments on the\nImageNet dataset demonstrate that the proposed DM-UAP markedly enhances both\ncross-sample universality and cross-model transferability of UAPs. Using only\n500 samples for UAP generation, DM-UAP outperforms the state-of-the-art\napproach with an average increase in fooling ratio of 12.108%.\n", "date": "2025-03-17", "categories": []} {"id": "2504.11707", "title": "Towards Safe Synthetic Image Generation On the Web: A Multimodal Robust\n NSFW Defense and Million Scale Dataset", "abstract": " In the past years, we have witnessed the remarkable success of Text-to-Image\n(T2I) models and their widespread use on the web. Extensive research in making\nT2I models produce hyper-realistic images has led to new concerns, such as\ngenerating Not-Safe-For-Work (NSFW) web content and polluting the web society.\nTo help prevent misuse of T2I models and create a safer web environment for\nusers features like NSFW filters and post-hoc security checks are used in these\nmodels. However, recent work unveiled how these methods can easily fail to\nprevent misuse. In particular, adversarial attacks on text and image modalities\ncan easily outplay defensive measures. %Exploiting such leads to the growing\nconcern of preventing adversarial attacks on text and image modalities.\nMoreover, there is currently no robust multimodal NSFW dataset that includes\nboth prompt and image pairs and adversarial examples. This work proposes a\nmillion-scale prompt and image dataset generated using open-source diffusion\nmodels. Second, we develop a multimodal defense to distinguish safe and NSFW\ntext and images, which is robust against adversarial attacks and directly\nalleviates current challenges. Our extensive experiments show that our model\nperforms well against existing SOTA NSFW detection methods in terms of accuracy\nand recall, drastically reducing the Attack Success Rate (ASR) in multimodal\nadversarial attack scenarios. Code:\nhttps://github.com/shahidmuneer/multimodal-nsfw-defense.\n", "date": "2025-04-16", "categories": []} {"id": "2504.11923", "title": "SemDiff: Generating Natural Unrestricted Adversarial Examples via\n Semantic Attributes Optimization in Diffusion Models", "abstract": " Unrestricted adversarial examples (UAEs), allow the attacker to create\nnon-constrained adversarial examples without given clean samples, posing a\nsevere threat to the safety of deep learning models. Recent works utilize\ndiffusion models to generate UAEs. However, these UAEs often lack naturalness\nand imperceptibility due to simply optimizing in intermediate latent noises. In\nlight of this, we propose SemDiff, a novel unrestricted adversarial attack that\nexplores the semantic latent space of diffusion models for meaningful\nattributes, and devises a multi-attributes optimization approach to ensure\nattack success while maintaining the naturalness and imperceptibility of\ngenerated UAEs. We perform extensive experiments on four tasks on three\nhigh-resolution datasets, including CelebA-HQ, AFHQ and ImageNet. The results\ndemonstrate that SemDiff outperforms state-of-the-art methods in terms of\nattack success rate and imperceptibility. The generated UAEs are natural and\nexhibit semantically meaningful changes, in accord with the attributes'\nweights. In addition, SemDiff is found capable of evading different defenses,\nwhich further validates its effectiveness and threatening.\n", "date": "2025-04-16", "categories": []} {"id": "2504.12255", "title": "Human Aligned Compression for Robust Models", "abstract": " Adversarial attacks on image models threaten system robustness by introducing\nimperceptible perturbations that cause incorrect predictions. We investigate\nhuman-aligned learned lossy compression as a defense mechanism, comparing two\nlearned models (HiFiC and ELIC) against traditional JPEG across various quality\nlevels. Our experiments on ImageNet subsets demonstrate that learned\ncompression methods outperform JPEG, particularly for Vision Transformer\narchitectures, by preserving semantically meaningful content while removing\nadversarial noise. Even in white-box settings where attackers can access the\ndefense, these methods maintain substantial effectiveness. We also show that\nsequential compression--applying rounds of\ncompression/decompression--significantly enhances defense efficacy while\nmaintaining classification performance. Our findings reveal that human-aligned\ncompression provides an effective, computationally efficient defense that\nprotects the image features most relevant to human and machine understanding.\nIt offers a practical approach to improving model robustness against\nadversarial threats.\n", "date": "2025-04-16", "categories": []} {"id": "2409.08372", "title": "FedProphet: Memory-Efficient Federated Adversarial Training via Robust\n and Consistent Cascade Learning", "abstract": " Federated Adversarial Training (FAT) can supplement robustness against\nadversarial examples to Federated Learning (FL), promoting a meaningful step\ntoward trustworthy AI. However, FAT requires large models to preserve high\naccuracy while achieving strong robustness, incurring high memory-swapping\nlatency when training on memory-constrained edge devices. Existing\nmemory-efficient FL methods suffer from poor accuracy and weak robustness due\nto inconsistent local and global models. In this paper, we propose FedProphet,\na novel FAT framework that can achieve memory efficiency, robustness, and\nconsistency simultaneously. FedProphget reduces the memory requirement in local\ntraining while guaranteeing adversarial robustness by adversarial cascade\nlearning with strong convexity regularization, and we show that the strong\nrobustness also implies low inconsistency in FedProphet. We also develop a\ntraining coordinator on the server of FL, with Adaptive Perturbation Adjustment\nfor utility-robustness balance and Differentiated Module Assignment for\nobjective inconsistency mitigation. FedPeophet significantly outperforms other\nbaselines under different experimental settings, maintaining the accuracy and\nrobustness of end-to-end FAT with 80% memory reduction and up to 10.8x speedup\nin training time.\n", "date": "2024-09-12", "categories": []} {"id": "2501.14122", "title": "Reinforcement Learning Platform for Adversarial Black-box Attacks with\n Custom Distortion Filters", "abstract": " We present a Reinforcement Learning Platform for Adversarial Black-box\nuntargeted and targeted attacks, RLAB, that allows users to select from various\ndistortion filters to create adversarial examples. The platform uses a\nReinforcement Learning agent to add minimum distortion to input images while\nstill causing misclassification by the target model. The agent uses a novel\ndual-action method to explore the input image at each step to identify\nsensitive regions for adding distortions while removing noises that have less\nimpact on the target model. This dual action leads to faster and more efficient\nconvergence of the attack. The platform can also be used to measure the\nrobustness of image classification models against specific distortion types.\nAlso, retraining the model with adversarial samples significantly improved\nrobustness when evaluated on benchmark datasets. The proposed platform\noutperforms state-of-the-art methods in terms of the average number of queries\nrequired to cause misclassification. This advances trustworthiness with a\npositive social impact.\n", "date": "2025-01-23", "categories": []} {"id": "2504.10850", "title": "How to Enhance Downstream Adversarial Robustness (almost) without\n Touching the Pre-Trained Foundation Model?", "abstract": " With the rise of powerful foundation models, a pre-training-fine-tuning\nparadigm becomes increasingly popular these days: A foundation model is\npre-trained using a huge amount of data from various sources, and then the\ndownstream users only need to fine-tune and adapt it to specific downstream\ntasks. However, due to the high computation complexity of adversarial training,\nit is not feasible to fine-tune the foundation model to improve its robustness\non the downstream task. Observing the above challenge, we want to improve the\ndownstream robustness without updating/accessing the weights in the foundation\nmodel. Inspired from existing literature in robustness inheritance (Kim et al.,\n2020), through theoretical investigation, we identify a close relationship\nbetween robust contrastive learning with the adversarial robustness of\nsupervised learning. To further validate and utilize this theoretical insight,\nwe design a simple-yet-effective robust auto-encoder as a data pre-processing\nmethod before feeding the data into the foundation model. The proposed approach\nhas zero access to the foundation model when training the robust auto-encoder.\nExtensive experiments demonstrate the effectiveness of the proposed method in\nimproving the robustness of downstream tasks, verifying the connection between\nthe feature robustness (implied by small adversarial contrastive loss) and the\nrobustness of the downstream task.\n", "date": "2025-04-15", "categories": []} {"id": "2504.11034", "title": "Defending Against Frequency-Based Attacks with Diffusion Models", "abstract": " Adversarial training is a common strategy for enhancing model robustness\nagainst adversarial attacks. However, it is typically tailored to the specific\nattack types it is trained on, limiting its ability to generalize to unseen\nthreat models. Adversarial purification offers an alternative by leveraging a\ngenerative model to remove perturbations before classification. Since the\npurifier is trained independently of both the classifier and the threat models,\nit is better equipped to handle previously unseen attack scenarios. Diffusion\nmodels have proven highly effective for noise purification, not only in\ncountering pixel-wise adversarial perturbations but also in addressing\nnon-adversarial data shifts. In this study, we broaden the focus beyond\npixel-wise robustness to explore the extent to which purification can mitigate\nboth spectral and spatial adversarial attacks. Our findings highlight its\neffectiveness in handling diverse distortion patterns across low- to\nhigh-frequency regions.\n", "date": "2025-04-15", "categories": []} {"id": "2504.11038", "title": "QAVA: Query-Agnostic Visual Attack to Large Vision-Language Models", "abstract": " In typical multimodal tasks, such as Visual Question Answering (VQA),\nadversarial attacks targeting a specific image and question can lead large\nvision-language models (LVLMs) to provide incorrect answers. However, it is\ncommon for a single image to be associated with multiple questions, and LVLMs\nmay still answer other questions correctly even for an adversarial image\nattacked by a specific question. To address this, we introduce the\nquery-agnostic visual attack (QAVA), which aims to create robust adversarial\nexamples that generate incorrect responses to unspecified and unknown\nquestions. Compared to traditional adversarial attacks focused on specific\nimages and questions, QAVA significantly enhances the effectiveness and\nefficiency of attacks on images when the question is unknown, achieving\nperformance comparable to attacks on known target questions. Our research\nbroadens the scope of visual adversarial attacks on LVLMs in practical\nsettings, uncovering previously overlooked vulnerabilities, particularly in the\ncontext of visual adversarial threats. The code is available at\nhttps://github.com/btzyd/qava.\n", "date": "2025-04-15", "categories": []} {"id": "2310.13019", "title": "Tailoring Adversarial Attacks on Deep Neural Networks for Targeted Class\n Manipulation Using DeepFool Algorithm", "abstract": " The susceptibility of deep neural networks (DNNs) to adversarial attacks\nundermines their reliability across numerous applications, underscoring the\nnecessity for an in-depth exploration of these vulnerabilities and the\nformulation of robust defense strategies. The DeepFool algorithm by\nMoosavi-Dezfooli et al. (2016) represents a pivotal step in identifying minimal\nperturbations required to induce misclassification of input images.\nNonetheless, its generic methodology falls short in scenarios necessitating\ntargeted interventions. Additionally, previous research studies have\npredominantly concentrated on the success rate of attacks without adequately\naddressing the consequential distortion of images, the maintenance of image\nquality, or the confidence threshold required for misclassification. To bridge\nthese gaps, we introduce the Enhanced Targeted DeepFool (ET DeepFool)\nalgorithm, an evolution of DeepFool that not only facilitates the specification\nof desired misclassification targets but also incorporates a configurable\nminimum confidence score. Our empirical investigations demonstrate the\nsuperiority of this refined approach in maintaining the integrity of images and\nminimizing perturbations across a variety of DNN architectures. Unlike previous\niterations, such as the Targeted DeepFool by Gajjar et al. (2022), our method\ngrants unparalleled control over the perturbation process, enabling precise\nmanipulation of model responses. Preliminary outcomes reveal that certain\nmodels, including AlexNet and the advanced Vision Transformer, display\ncommendable robustness to such manipulations. This discovery of varying levels\nof model robustness, as unveiled through our confidence level adjustments,\ncould have far-reaching implications for the field of image recognition. Our\ncode is available at https://github.com/FazleLabib/et_deepfool.\n", "date": "2023-10-18", "categories": []} {"id": "2406.13073", "title": "Let the Noise Speak: Harnessing Noise for a Unified Defense Against\n Adversarial and Backdoor Attacks", "abstract": " The exponential adoption of machine learning (ML) is propelling the world\ninto a future of distributed and intelligent automation and data-driven\nsolutions. However, the proliferation of malicious data manipulation attacks\nagainst ML, namely adversarial and backdoor attacks, jeopardizes its\nreliability in safety-critical applications. The existing detection methods are\nattack-specific and built upon some strong assumptions, limiting them in\ndiverse practical scenarios. Thus, motivated by the need for a more robust,\nunified, and attack-agnostic defense mechanism, we first investigate the shared\ntraits of adversarial and backdoor attacks. Based on our observation, we\npropose NoiSec, a reconstruction-based intrusion detection system that brings a\nnovel perspective by shifting focus from the reconstructed input to the\nreconstruction noise itself, which is the foundational root cause of such\nmalicious data alterations. NoiSec disentangles the noise from the test input,\nextracts the underlying features from the noise, and leverages them to\nrecognize systematic malicious manipulation. Our comprehensive evaluation of\nNoiSec demonstrates its high effectiveness across various datasets, including\nbasic objects, natural scenes, traffic signs, medical images, spectrogram-based\naudio data, and wireless sensing against five state-of-the-art adversarial\nattacks and three backdoor attacks under challenging evaluation conditions.\nNoiSec demonstrates strong detection performance in both white-box and\nblack-box adversarial attack scenarios, significantly outperforming the closest\nbaseline models, particularly in an adaptive attack setting. We will provide\nthe code for future baseline comparison. Our code and artifacts are publicly\navailable at https://github.com/shahriar0651/NoiSec.\n", "date": "2024-06-18", "categories": []} {"id": "2412.03539", "title": "NODE-AdvGAN: Improving the transferability and perceptual similarity of\n adversarial examples by dynamic-system-driven adversarial generative model", "abstract": " Understanding adversarial examples is crucial for improving model robustness,\nas they introduce imperceptible perturbations to deceive models. Effective\nadversarial examples, therefore, offer the potential to train more robust\nmodels by eliminating model singularities. We propose NODE-AdvGAN, a novel\napproach that treats adversarial generation as a continuous process and employs\na Neural Ordinary Differential Equation (NODE) to simulate generator dynamics.\nBy mimicking the iterative nature of traditional gradient-based methods,\nNODE-AdvGAN generates smoother and more precise perturbations that preserve\nhigh perceptual similarity when added to benign images. We also propose a new\ntraining strategy, NODE-AdvGAN-T, which enhances transferability in black-box\nattacks by tuning the noise parameters during training. Experiments demonstrate\nthat NODE-AdvGAN and NODE-AdvGAN-T generate more effective adversarial examples\nthat achieve higher attack success rates while preserving better perceptual\nquality than baseline models.\n", "date": "2024-12-04", "categories": []} {"id": "2504.06141", "title": "Adversarial Training of Reward Models", "abstract": " Reward modeling has emerged as a promising approach for the scalable\nalignment of language models. However, contemporary reward models (RMs) often\nlack robustness, awarding high rewards to low-quality, out-of-distribution\n(OOD) samples. This can lead to reward hacking, where policies exploit\nunintended shortcuts to maximize rewards, undermining alignment. To address\nthis challenge, we introduce Adv-RM, a novel adversarial training framework\nthat automatically identifies adversarial examples -- responses that receive\nhigh rewards from the target RM but are OOD and of low quality. By leveraging\nreinforcement learning, Adv-RM trains a policy to generate adversarial examples\nthat reliably expose vulnerabilities in large state-of-the-art reward models\nsuch as Nemotron 340B RM. Incorporating these adversarial examples into the\nreward training process improves the robustness of RMs, mitigating reward\nhacking and enhancing downstream performance in RLHF. We demonstrate that\nAdv-RM significantly outperforms conventional RM training, increasing stability\nand enabling more effective RLHF training in both synthetic and real-data\nsettings.\n", "date": "2025-04-08", "categories": []} {"id": "2504.08782", "title": "Embedding Hidden Adversarial Capabilities in Pre-Trained Diffusion\n Models", "abstract": " We introduce a new attack paradigm that embeds hidden adversarial\ncapabilities directly into diffusion models via fine-tuning, without altering\ntheir observable behavior or requiring modifications during inference. Unlike\nprior approaches that target specific images or adjust the generation process\nto produce adversarial outputs, our method integrates adversarial functionality\ninto the model itself. The resulting tampered model generates high-quality\nimages indistinguishable from those of the original, yet these images cause\nmisclassification in downstream classifiers at a high rate. The\nmisclassification can be targeted to specific output classes. Users can employ\nthis compromised model unaware of its embedded adversarial nature, as it\nfunctions identically to a standard diffusion model. We demonstrate the\neffectiveness and stealthiness of our approach, uncovering a covert attack\nvector that raises new security concerns. These findings expose a risk arising\nfrom the use of externally-supplied models and highlight the urgent need for\nrobust model verification and defense mechanisms against hidden threats in\ngenerative models. The code is available at\nhttps://github.com/LucasBeerens/CRAFTed-Diffusion .\n", "date": "2025-04-05", "categories": []} {"id": "2504.08798", "title": "Exploring Gradient-Guided Masked Language Model to Detect Textual\n Adversarial Attacks", "abstract": " Textual adversarial examples pose serious threats to the reliability of\nnatural language processing systems. Recent studies suggest that adversarial\nexamples tend to deviate from the underlying manifold of normal texts, whereas\npre-trained masked language models can approximate the manifold of normal data.\nThese findings inspire the exploration of masked language models for detecting\ntextual adversarial attacks. We first introduce Masked Language Model-based\nDetection (MLMD), leveraging the mask and unmask operations of the masked\nlanguage modeling (MLM) objective to induce the difference in manifold changes\nbetween normal and adversarial texts. Although MLMD achieves competitive\ndetection performance, its exhaustive one-by-one masking strategy introduces\nsignificant computational overhead. Our posterior analysis reveals that a\nsignificant number of non-keywords in the input are not important for detection\nbut consume resources. Building on this, we introduce Gradient-guided MLMD\n(GradMLMD), which leverages gradient information to identify and skip\nnon-keywords during detection, significantly reducing resource consumption\nwithout compromising detection performance.\n", "date": "2025-04-08", "categories": []} {"id": "2504.08866", "title": "On Transfer-based Universal Attacks in Pure Black-box Setting", "abstract": " Despite their impressive performance, deep visual models are susceptible to\ntransferable black-box adversarial attacks. Principally, these attacks craft\nperturbations in a target model-agnostic manner. However, surprisingly, we find\nthat existing methods in this domain inadvertently take help from various\npriors that violate the black-box assumption such as the availability of the\ndataset used to train the target model, and the knowledge of the number of\nclasses in the target model. Consequently, the literature fails to articulate\nthe true potency of transferable black-box attacks. We provide an empirical\nstudy of these biases and propose a framework that aids in a prior-free\ntransparent study of this paradigm. Using our framework, we analyze the role of\nprior knowledge of the target model data and number of classes in attack\nperformance. We also provide several interesting insights based on our\nanalysis, and demonstrate that priors cause overestimation in transferability\nscores. Finally, we extend our framework to query-based attacks. This extension\ninspires a novel image-blending technique to prepare data for effective\nsurrogate model training.\n", "date": "2025-04-11", "categories": []} {"id": "2504.08906", "title": "Robust SAM: On the Adversarial Robustness of Vision Foundation Models", "abstract": " The Segment Anything Model (SAM) is a widely used vision foundation model\nwith diverse applications, including image segmentation, detection, and\ntracking. Given SAM's wide applications, understanding its robustness against\nadversarial attacks is crucial for real-world deployment. However, research on\nSAM's robustness is still in its early stages. Existing attacks often overlook\nthe role of prompts in evaluating SAM's robustness, and there has been\ninsufficient exploration of defense methods to balance the robustness and\naccuracy. To address these gaps, this paper proposes an adversarial robustness\nframework designed to evaluate and enhance the robustness of SAM. Specifically,\nwe introduce a cross-prompt attack method to enhance the attack transferability\nacross different prompt types. Besides attacking, we propose a few-parameter\nadaptation strategy to defend SAM against various adversarial attacks. To\nbalance robustness and accuracy, we use the singular value decomposition (SVD)\nto constrain the space of trainable parameters, where only singular values are\nadaptable. Experiments demonstrate that our cross-prompt attack method\noutperforms previous approaches in terms of attack success rate on both SAM and\nSAM 2. By adapting only 512 parameters, we achieve at least a 15\\% improvement\nin mean intersection over union (mIoU) against various adversarial attacks.\nCompared to previous defense methods, our approach enhances the robustness of\nSAM while maximally maintaining its original performance.\n", "date": "2025-04-11", "categories": []} {"id": "2504.09361", "title": "PapMOT: Exploring Adversarial Patch Attack against Multiple Object\n Tracking", "abstract": " Tracking multiple objects in a continuous video stream is crucial for many\ncomputer vision tasks. It involves detecting and associating objects with their\nrespective identities across successive frames. Despite significant progress\nmade in multiple object tracking (MOT), recent studies have revealed the\nvulnerability of existing MOT methods to adversarial attacks. Nevertheless, all\nof these attacks belong to digital attacks that inject pixel-level noise into\ninput images, and are therefore ineffective in physical scenarios. To fill this\ngap, we propose PapMOT, which can generate physical adversarial patches against\nMOT for both digital and physical scenarios. Besides attacking the detection\nmechanism, PapMOT also optimizes a printable patch that can be detected as new\ntargets to mislead the identity association process. Moreover, we introduce a\npatch enhancement strategy to further degrade the temporal consistency of\ntracking results across video frames, resulting in more aggressive attacks. We\nfurther develop new evaluation metrics to assess the robustness of MOT against\nsuch attacks. Extensive evaluations on multiple datasets demonstrate that our\nPapMOT can successfully attack various architectures of MOT trackers in digital\nscenarios. We also validate the effectiveness of PapMOT for physical attacks by\ndeploying printed adversarial patches in the real world.\n", "date": "2025-04-12", "categories": []} {"id": "2211.10882", "title": "Multi-head Ensemble of Smoothed Classifiers for Certified Robustness", "abstract": " Randomized Smoothing (RS) is a promising technique for certified robustness,\nand recently in RS the ensemble of multiple Deep Neural Networks (DNNs) has\nshown state-of-the-art performances due to its variance reduction effect over\nGaussian noises. However, such an ensemble brings heavy computation burdens in\nboth training and certification, and yet under-exploits individual DNNs and\ntheir mutual effects, as the communication between these classifiers is\ncommonly ignored in optimization. In this work, we consider a novel\nensemble-based training way for a single DNN with multiple augmented heads,\nnamed as SmOothed Multi-head Ensemble (SOME). In SOME, similar to the pursuit\nof variance reduction via ensemble, an ensemble of multiple heads imposed with\na cosine constraint inside a single DNN is employed with much cheaper training\nand certification computation overloads in RS. In such network structure, an\nassociated training strategy is designed by introducing a circular\ncommunication flow among those augmented heads. That is, each head teaches its\nneighbor with the self-paced learning strategy using smoothed losses, which are\nspecifically designed in relation to certified robustness. The deployed\nmulti-head structure and the circular-teaching scheme in SOME jointly\ncontribute to the diversities among multiple heads and benefit their ensemble,\nleading to a competitively stronger certifiably-robust RS-based defense than\nensembling multiple DNNs (effectiveness) at the cost of much less computational\nexpenses (efficiency), verified by extensive experiments and discussions.\n", "date": "2022-11-20", "categories": []} {"id": "2410.21443", "title": "TACO: Adversarial Camouflage Optimization on Trucks to Fool Object\n Detectors", "abstract": " Adversarial attacks threaten the reliability of machine learning models in\ncritical applications like autonomous vehicles and defense systems. As object\ndetectors become more robust with models like YOLOv8, developing effective\nadversarial methodologies is increasingly challenging. We present Truck\nAdversarial Camouflage Optimization (TACO), a novel framework that generates\nadversarial camouflage patterns on 3D vehicle models to deceive\nstate-of-the-art object detectors. Adopting Unreal Engine 5, TACO integrates\ndifferentiable rendering with a Photorealistic Rendering Network to optimize\nadversarial textures targeted at YOLOv8. To ensure the generated textures are\nboth effective in deceiving detectors and visually plausible, we introduce the\nConvolutional Smooth Loss function, a generalized smooth loss function.\nExperimental evaluations demonstrate that TACO significantly degrades YOLOv8's\ndetection performance, achieving an AP@0.5 of 0.0099 on unseen test data.\nFurthermore, these adversarial patterns exhibit strong transferability to other\nobject detection models such as Faster R-CNN and earlier YOLO versions.\n", "date": "2024-10-28", "categories": []} {"id": "2501.18998", "title": "Adversarial Attacks on AI-Generated Text Detection Models: A Token\n Probability-Based Approach Using Embeddings", "abstract": " In recent years, text generation tools utilizing Artificial Intelligence (AI)\nhave occasionally been misused across various domains, such as generating\nstudent reports or creative writings. This issue prompts plagiarism detection\nservices to enhance their capabilities in identifying AI-generated content.\nAdversarial attacks are often used to test the robustness of AI-text generated\ndetectors. This work proposes a novel textual adversarial attack on the\ndetection models such as Fast-DetectGPT. The method employs embedding models\nfor data perturbation, aiming at reconstructing the AI generated texts to\nreduce the likelihood of detection of the true origin of the texts.\nSpecifically, we employ different embedding techniques, including the Tsetlin\nMachine (TM), an interpretable approach in machine learning for this purpose.\nBy combining synonyms and embedding similarity vectors, we demonstrates the\nstate-of-the-art reduction in detection scores against Fast-DetectGPT.\nParticularly, in the XSum dataset, the detection score decreased from 0.4431 to\n0.2744 AUROC, and in the SQuAD dataset, it dropped from 0.5068 to 0.3532 AUROC.\n", "date": "2025-01-31", "categories": []} {"id": "2504.08414", "title": "Adversarial Examples in Environment Perception for Automated Driving\n (Review)", "abstract": " The renaissance of deep learning has led to the massive development of\nautomated driving. However, deep neural networks are vulnerable to adversarial\nexamples. The perturbations of adversarial examples are imperceptible to human\neyes but can lead to the false predictions of neural networks. It poses a huge\nrisk to artificial intelligence (AI) applications for automated driving. This\nsurvey systematically reviews the development of adversarial robustness\nresearch over the past decade, including the attack and defense methods and\ntheir applications in automated driving. The growth of automated driving pushes\nforward the realization of trustworthy AI applications. This review lists\nsignificant references in the research history of adversarial examples.\n", "date": "2025-04-11", "categories": []} {"id": "2501.15257", "title": "Towards Communication-Efficient Adversarial Federated Learning for\n Robust Edge Intelligence", "abstract": " Federated learning (FL) has gained significant attention for enabling\ndecentralized training on edge networks without exposing raw data. However, FL\nmodels remain susceptible to adversarial attacks and performance degradation in\nnon-IID data settings, thus posing challenges to both robustness and accuracy.\nThis paper aims to achieve communication-efficient adversarial federated\nlearning (AFL) by leveraging a pre-trained model to enhance both robustness and\naccuracy under adversarial attacks and non-IID challenges in AFL. By leveraging\nthe knowledge from a pre-trained model for both clean and adversarial images,\nwe propose a pre-trained model-guided adversarial federated learning (PM-AFL)\nframework. This framework integrates vanilla and adversarial mixture knowledge\ndistillation to effectively balance accuracy and robustness while promoting\nlocal models to learn from diverse data. Specifically, for clean accuracy, we\nadopt a dual distillation strategy where the class probabilities of randomly\npaired images, and their blended versions are aligned between the teacher model\nand the local models. For adversarial robustness, we employ a similar\ndistillation approach but replace clean samples on the local side with\nadversarial examples. Moreover, by considering the bias between local and\nglobal models, we also incorporate a consistency regularization term to ensure\nthat local adversarial predictions stay aligned with their corresponding global\nclean ones. These strategies collectively enable local models to absorb diverse\nknowledge from the teacher model while maintaining close alignment with the\nglobal model, thereby mitigating overfitting to local optima and enhancing the\ngeneralization of the global model. Experiments demonstrate that the\nPM-AFL-based framework not only significantly outperforms other methods but\nalso maintains communication efficiency.\n", "date": "2025-01-25", "categories": []} {"id": "2504.02412", "title": "Bridging the Theoretical Gap in Randomized Smoothing", "abstract": " Randomized smoothing has become a leading approach for certifying adversarial\nrobustness in machine learning models. However, a persistent gap remains\nbetween theoretical certified robustness and empirical robustness accuracy.\nThis paper introduces a new framework that bridges this gap by leveraging\nLipschitz continuity for certification and proposing a novel, less conservative\nmethod for computing confidence intervals in randomized smoothing. Our approach\ntightens the bounds of certified robustness, offering a more accurate\nreflection of model robustness in practice. Through rigorous experimentation we\nshow that our method improves the robust accuracy, compressing the gap between\nempirical findings and previous theoretical results. We argue that\ninvestigating local Lipschitz constants and designing ad-hoc confidence\nintervals can further enhance the performance of randomized smoothing. These\nresults pave the way for a deeper understanding of the relationship between\nLipschitz continuity and certified robustness.\n", "date": "2025-04-03", "categories": []} {"id": "2305.15203", "title": "Frequency maps reveal the correlation between Adversarial Attacks and\n Implicit Bias", "abstract": " Despite their impressive performance in classification tasks, neural networks\nare known to be vulnerable to adversarial attacks, subtle perturbations of the\ninput data designed to deceive the model. In this work, we investigate the\ncorrelation between these perturbations and the implicit bias of neural\nnetworks trained with gradient-based algorithms. To this end, we analyse a\nrepresentation of the network's implicit bias through the lens of the Fourier\ntransform. Specifically, we identify unique fingerprints of implicit bias and\nadversarial attacks by calculating the minimal, essential frequencies needed\nfor accurate classification of each image, as well as the frequencies that\ndrive misclassification in its adversarially perturbed counterpart. This\napproach enables us to uncover and analyse the correlation between these\nessential frequencies, providing a precise map of how the network's biases\nalign or contrast with the frequency components exploited by adversarial\nattacks. To this end, among other methods, we use a newly introduced technique\ncapable of detecting nonlinear correlations between high-dimensional datasets.\nOur results provide empirical evidence that the network bias in Fourier space\nand the target frequencies of adversarial attacks are highly correlated and\nsuggest new potential strategies for adversarial defence.\n", "date": "2023-05-24", "categories": []} {"id": "2501.09446", "title": "Double Visual Defense: Adversarial Pre-training and Instruction Tuning\n for Improving Vision-Language Model Robustness", "abstract": " This paper investigates the robustness of vision-language models against\nadversarial visual perturbations and introduces a novel ``double visual\ndefense\" to enhance this robustness. Unlike previous approaches that resort to\nlightweight adversarial fine-tuning of a pre-trained CLIP model, we perform\nlarge-scale adversarial vision-language pre-training from scratch using\nweb-scale data. We then strengthen the defense by incorporating adversarial\nvisual instruction tuning. The resulting models from each stage, $\\Delta$CLIP\nand $\\Delta^2$LLaVA, show substantially enhanced zero-shot robustness and set a\nnew state-of-the-art in adversarial defense for vision-language models. For\nexample, the adversarial robustness of $\\Delta$CLIP surpasses that of the\nprevious best models on ImageNet-1k by ~20%. %For example, $\\Delta$CLIP\nsurpasses the previous best models on ImageNet-1k by ~20% in terms of\nadversarial robustness. Similarly, compared to prior art, $\\Delta^2$LLaVA\nbrings a ~30% robustness improvement to image captioning task and a ~20%\nrobustness improvement to visual question answering task. Furthermore, our\nmodels exhibit stronger zero-shot recognition capability, fewer hallucinations,\nand superior reasoning performance compared to baselines. Our project page is\nhttps://doublevisualdefense.github.io/.\n", "date": "2025-01-16", "categories": []} {"id": "2504.05838", "title": "Mind the Trojan Horse: Image Prompt Adapter Enabling Scalable and\n Deceptive Jailbreaking", "abstract": " Recently, the Image Prompt Adapter (IP-Adapter) has been increasingly\nintegrated into text-to-image diffusion models (T2I-DMs) to improve\ncontrollability. However, in this paper, we reveal that T2I-DMs equipped with\nthe IP-Adapter (T2I-IP-DMs) enable a new jailbreak attack named the hijacking\nattack. We demonstrate that, by uploading imperceptible image-space adversarial\nexamples (AEs), the adversary can hijack massive benign users to jailbreak an\nImage Generation Service (IGS) driven by T2I-IP-DMs and mislead the public to\ndiscredit the service provider. Worse still, the IP-Adapter's dependency on\nopen-source image encoders reduces the knowledge required to craft AEs.\nExtensive experiments verify the technical feasibility of the hijacking attack.\nIn light of the revealed threat, we investigate several existing defenses and\nexplore combining the IP-Adapter with adversarially trained models to overcome\nexisting defenses' limitations. Our code is available at\nhttps://github.com/fhdnskfbeuv/attackIPA.\n", "date": "2025-04-08", "categories": []} {"id": "2404.14309", "title": "Towards Understanding the Robustness of Diffusion-Based Purification: A\n Stochastic Perspective", "abstract": " Diffusion-Based Purification (DBP) has emerged as an effective defense\nmechanism against adversarial attacks. The success of DBP is often attributed\nto the forward diffusion process, which reduces the distribution gap between\nclean and adversarial images by adding Gaussian noise. While this explanation\nis theoretically sound, the exact role of this mechanism in enhancing\nrobustness remains unclear. In this paper, through empirical analysis, we\npropose that the intrinsic stochasticity in the DBP process is the primary\nfactor driving robustness. To test this hypothesis, we introduce a novel\nDeterministic White-Box (DW-box) setting to assess robustness in the absence of\nstochasticity, and we analyze attack trajectories and loss landscapes. Our\nresults suggest that DBP models primarily rely on stochasticity to avoid\neffective attack directions, while their ability to purify adversarial\nperturbations may be limited. To further enhance the robustness of DBP models,\nwe propose Adversarial Denoising Diffusion Training (ADDT), which incorporates\nclassifier-guided adversarial perturbations into the diffusion training\nprocess, thereby strengthening the models' ability to purify adversarial\nperturbations. Additionally, we propose Rank-Based Gaussian Mapping (RBGM) to\nimprove the compatibility of perturbations with diffusion models. Experimental\nresults validate the effectiveness of ADDT. In conclusion, our study suggests\nthat future research on DBP can benefit from a clearer distinction between\nstochasticity-driven and purification-driven robustness.\n", "date": "2024-04-22", "categories": []} {"id": "2412.20006", "title": "Adversarial Robustness for Deep Learning-based Wildfire Prediction\n Models", "abstract": " Rapidly growing wildfires have recently devastated societal assets, exposing\na critical need for early warning systems to expedite relief efforts. Smoke\ndetection using camera-based Deep Neural Networks (DNNs) offers a promising\nsolution for wildfire prediction. However, the rarity of smoke across time and\nspace limits training data, raising model overfitting and bias concerns.\nCurrent DNNs, primarily Convolutional Neural Networks (CNNs) and transformers,\ncomplicate robustness evaluation due to architectural differences. To address\nthese challenges, we introduce WARP (Wildfire Adversarial Robustness\nProcedure), the first model-agnostic framework for evaluating wildfire\ndetection models' adversarial robustness. WARP addresses inherent limitations\nin data diversity by generating adversarial examples through image-global and\n-local perturbations. Global and local attacks superimpose Gaussian noise and\nPNG patches onto image inputs, respectively; this suits both CNNs and\ntransformers while generating realistic adversarial scenarios. Using WARP, we\nassessed real-time CNNs and Transformers, uncovering key vulnerabilities. At\ntimes, transformers exhibited over 70% precision degradation under global\nattacks, while both models generally struggled to differentiate cloud-like PNG\npatches from real smoke during local attacks. To enhance model robustness, we\nproposed four wildfire-oriented data augmentation techniques based on WARP's\nmethodology and results, which diversify smoke image data and improve model\nprecision and robustness. These advancements represent a substantial step\ntoward developing a reliable early wildfire warning system, which may be our\nfirst safeguard against wildfire destruction.\n", "date": "2024-12-28", "categories": []} {"id": "2504.03735", "title": "Misaligned Roles, Misplaced Images: Structural Input Perturbations\n Expose Multimodal Alignment Blind Spots", "abstract": " Multimodal Language Models (MMLMs) typically undergo post-training alignment\nto prevent harmful content generation. However, these alignment stages focus\nprimarily on the assistant role, leaving the user role unaligned, and stick to\na fixed input prompt structure of special tokens, leaving the model vulnerable\nwhen inputs deviate from these expectations. We introduce Role-Modality Attacks\n(RMA), a novel class of adversarial attacks that exploit role confusion between\nthe user and assistant and alter the position of the image token to elicit\nharmful outputs. Unlike existing attacks that modify query content, RMAs\nmanipulate the input structure without altering the query itself. We\nsystematically evaluate these attacks across multiple Vision Language Models\n(VLMs) on eight distinct settings, showing that they can be composed to create\nstronger adversarial prompts, as also evidenced by their increased projection\nin the negative refusal direction in the residual stream, a property observed\nin prior successful attacks. Finally, for mitigation, we propose an adversarial\ntraining approach that makes the model robust against input prompt\nperturbations. By training the model on a range of harmful and benign prompts\nall perturbed with different RMA settings, it loses its sensitivity to Role\nConfusion and Modality Manipulation attacks and is trained to only pay\nattention to the content of the query in the input prompt structure,\neffectively reducing Attack Success Rate (ASR) while preserving the model's\ngeneral utility.\n", "date": "2025-04-01", "categories": []} {"id": "2504.04747", "title": "Two is Better than One: Efficient Ensemble Defense for Robust and\n Compact Models", "abstract": " Deep learning-based computer vision systems adopt complex and large\narchitectures to improve performance, yet they face challenges in deployment on\nresource-constrained mobile and edge devices. To address this issue, model\ncompression techniques such as pruning, quantization, and matrix factorization\nhave been proposed; however, these compressed models are often highly\nvulnerable to adversarial attacks. We introduce the \\textbf{Efficient Ensemble\nDefense (EED)} technique, which diversifies the compression of a single base\nmodel based on different pruning importance scores and enhances ensemble\ndiversity to achieve high adversarial robustness and resource efficiency. EED\ndynamically determines the number of necessary sub-models during the inference\nstage, minimizing unnecessary computations while maintaining high robustness.\nOn the CIFAR-10 and SVHN datasets, EED demonstrated state-of-the-art robustness\nperformance compared to existing adversarial pruning techniques, along with an\ninference speed improvement of up to 1.86 times. This proves that EED is a\npowerful defense solution in resource-constrained environments.\n", "date": "2025-04-07", "categories": []} {"id": "2504.02335", "title": "Evaluating and Enhancing Segmentation Model Robustness with Metamorphic\n Testing", "abstract": " Image segmentation is critical for applications such as medical imaging,\naugmented reality, and video surveillance. However, segmentation models often\nlack robustness, making them vulnerable to adversarial perturbations from\nsubtle image distortions. In this work, we propose SegRMT, a metamorphic\ntesting approach that leverages genetic algorithms (GA) to optimize sequences\nof spatial and spectral transformations while preserving image fidelity via a\npredefined PSNR threshold. Using the Cityscapes dataset, our method generates\nadversarial examples that effectively challenge the DeepLabV3 segmentation\nmodel. Our experiments show that SegRMT reduces DeepLabV3's mean Intersection\nover Union (mIoU) to 6.4%, outperforming other adversarial baselines that\ndecrease mIoU to between 8.5% and 21.7%. Furthermore, when used for adversarial\ntraining, SegRMT boosts model performance, achieving mIoU improvements up to\n73% on dedicated adversarial datasets and increasing cross-adversarial mIoU to\n53.8%, compared to only 2%-10% for other methods. These findings demonstrate\nthat SegRMT not only simulates realistic image distortions but also enhances\nthe robustness of segmentation models, making it a valuable tool for ensuring\nreliable performance in safety-critical applications.\n", "date": "2025-04-03", "categories": []} {"id": "2402.18370", "title": "Adversarial Example Soups: Improving Transferability and Stealthiness\n for Free", "abstract": " Transferable adversarial examples cause practical security risks since they\ncan mislead a target model without knowing its internal knowledge. A\nconventional recipe for maximizing transferability is to keep only the optimal\nadversarial example from all those obtained in the optimization pipeline. In\nthis paper, for the first time, we revisit this convention and demonstrate that\nthose discarded, sub-optimal adversarial examples can be reused to boost\ntransferability. Specifically, we propose ``Adversarial Example Soups'' (AES),\nwith AES-tune for averaging discarded adversarial examples in hyperparameter\ntuning and AES-rand for stability testing. In addition, our AES is inspired by\n``model soups'', which averages weights of multiple fine-tuned models for\nimproved accuracy without increasing inference time. Extensive experiments\nvalidate the global effectiveness of our AES, boosting 10 state-of-the-art\ntransfer attacks and their combinations by up to 13\\% against 10 diverse\n(defensive) target models. We also show the possibility of generalizing AES to\nother types, \\textit{e.g.}, directly averaging multiple in-the-wild adversarial\nexamples that yield comparable success. A promising byproduct of AES is the\nimproved stealthiness of adversarial examples since the perturbation variances\nare naturally reduced.\n", "date": "2024-02-27", "categories": []} {"id": "2408.16807", "title": "STEREO: A Two-Stage Framework for Adversarially Robust Concept Erasing\n from Text-to-Image Diffusion Models", "abstract": " The rapid proliferation of large-scale text-to-image diffusion (T2ID) models\nhas raised serious concerns about their potential misuse in generating harmful\ncontent. Although numerous methods have been proposed for erasing undesired\nconcepts from T2ID models, they often provide a false sense of security;\nconcept-erased models (CEMs) can still be manipulated via adversarial attacks\nto regenerate the erased concept. While a few robust concept erasure methods\nbased on adversarial training have emerged recently, they compromise on utility\n(generation quality for benign concepts) to achieve robustness and/or remain\nvulnerable to advanced embedding space attacks. These limitations stem from the\nfailure of robust CEMs to thoroughly search for \"blind spots\" in the embedding\nspace. To bridge this gap, we propose STEREO, a novel two-stage framework that\nemploys adversarial training as a first step rather than the only step for\nrobust concept erasure. In the first stage, STEREO employs adversarial training\nas a vulnerability identification mechanism to search thoroughly enough. In the\nsecond robustly erase once stage, STEREO introduces an anchor-concept-based\ncompositional objective to robustly erase the target concept in a single\nfine-tuning stage, while minimizing the degradation of model utility. We\nbenchmark STEREO against seven state-of-the-art concept erasure methods,\ndemonstrating its superior robustness to both white-box and black-box attacks,\nwhile largely preserving utility.\n", "date": "2024-08-29", "categories": []} {"id": "2504.01228", "title": "TenAd: A Tensor-based Low-rank Black Box Adversarial Attack for Video\n Classification", "abstract": " Deep learning models have achieved remarkable success in computer vision but\nremain vulnerable to adversarial attacks, particularly in black-box settings\nwhere model details are unknown. Existing adversarial attack methods(even those\nworks with key frames) often treat video data as simple vectors, ignoring their\ninherent multi-dimensional structure, and require a large number of queries,\nmaking them inefficient and detectable. In this paper, we propose\n\\textbf{TenAd}, a novel tensor-based low-rank adversarial attack that leverages\nthe multi-dimensional properties of video data by representing videos as\nfourth-order tensors. By exploiting low-rank attack, our method significantly\nreduces the search space and the number of queries needed to generate\nadversarial examples in black-box settings. Experimental results on standard\nvideo classification datasets demonstrate that \\textbf{TenAd} effectively\ngenerates imperceptible adversarial perturbations while achieving higher attack\nsuccess rates and query efficiency compared to state-of-the-art methods. Our\napproach outperforms existing black-box adversarial attacks in terms of success\nrate, query efficiency, and perturbation imperceptibility, highlighting the\npotential of tensor-based methods for adversarial attacks on video models.\n", "date": "2025-04-01", "categories": []} {"id": "2504.01345", "title": "Breaking BERT: Gradient Attack on Twitter Sentiment Analysis for\n Targeted Misclassification", "abstract": " Social media platforms like Twitter have increasingly relied on Natural\nLanguage Processing NLP techniques to analyze and understand the sentiments\nexpressed in the user generated content. One such state of the art NLP model is\nBidirectional Encoder Representations from Transformers BERT which has been\nwidely adapted in sentiment analysis. BERT is susceptible to adversarial\nattacks. This paper aims to scrutinize the inherent vulnerabilities of such\nmodels in Twitter sentiment analysis. It aims to formulate a framework for\nconstructing targeted adversarial texts capable of deceiving these models,\nwhile maintaining stealth. In contrast to conventional methodologies, such as\nImportance Reweighting, this framework core idea resides in its reliance on\ngradients to prioritize the importance of individual words within the text. It\nuses a whitebox approach to attain fine grained sensitivity, pinpointing words\nthat exert maximal influence on the classification outcome. This paper is\norganized into three interdependent phases. It starts with fine-tuning a\npre-trained BERT model on Twitter data. It then analyzes gradients of the model\nto rank words on their importance, and iteratively replaces those with feasible\ncandidates until an acceptable solution is found. Finally, it evaluates the\neffectiveness of the adversarial text against the custom trained sentiment\nclassification model. This assessment would help in gauging the capacity of the\nadversarial text to successfully subvert classification without raising any\nalarm.\n", "date": "2025-04-02", "categories": []} {"id": "2504.01399", "title": "Leveraging Generalizability of Image-to-Image Translation for Enhanced\n Adversarial Defense", "abstract": " In the rapidly evolving field of artificial intelligence, machine learning\nemerges as a key technology characterized by its vast potential and inherent\nrisks. The stability and reliability of these models are important, as they are\nfrequent targets of security threats. Adversarial attacks, first rigorously\ndefined by Ian Goodfellow et al. in 2013, highlight a critical vulnerability:\nthey can trick machine learning models into making incorrect predictions by\napplying nearly invisible perturbations to images. Although many studies have\nfocused on constructing sophisticated defensive mechanisms to mitigate such\nattacks, they often overlook the substantial time and computational costs of\ntraining and maintaining these models. Ideally, a defense method should be able\nto generalize across various, even unseen, adversarial attacks with minimal\noverhead. Building on our previous work on image-to-image translation-based\ndefenses, this study introduces an improved model that incorporates residual\nblocks to enhance generalizability. The proposed method requires training only\na single model, effectively defends against diverse attack types, and is\nwell-transferable between different target models. Experiments show that our\nmodel can restore the classification accuracy from near zero to an average of\n72\\% while maintaining competitive performance compared to state-of-the-art\nmethods.\n", "date": "2025-04-02", "categories": []} {"id": "2504.01735", "title": "AdPO: Enhancing the Adversarial Robustness of Large Vision-Language\n Models with Preference Optimization", "abstract": " Large Vision-Language Models (LVLMs), such as GPT-4o and LLaVA, have recently\nwitnessed remarkable advancements and are increasingly being deployed in\nreal-world applications. However, inheriting the sensitivity of visual neural\nnetworks, LVLMs remain vulnerable to adversarial attacks, which can result in\nerroneous or malicious outputs. While existing efforts utilize adversarial\nfine-tuning to enhance robustness, they often suffer from performance\ndegradation on clean inputs. In this paper, we proposes AdPO, a novel\nadversarial defense strategy for LVLMs based on preference optimization. For\nthe first time, we reframe adversarial training as a preference optimization\nproblem, aiming to enhance the model's preference for generating normal outputs\non clean inputs while rejecting the potential misleading outputs for\nadversarial examples. Notably, AdPO achieves this by solely modifying the image\nencoder, e.g., CLIP ViT, resulting in superior clean and adversarial\nperformance in a variety of downsream tasks. Considering that training involves\nlarge language models (LLMs), the computational cost increases significantly.\nWe validate that training on smaller LVLMs and subsequently transferring to\nlarger models can achieve competitive performance while maintaining efficiency\ncomparable to baseline methods. Our comprehensive experiments confirm the\neffectiveness of the proposed AdPO, which provides a novel perspective for\nfuture adversarial defense research.\n", "date": "2025-04-02", "categories": []} {"id": "2407.08678", "title": "How to beat a Bayesian adversary", "abstract": " Deep neural networks and other modern machine learning models are often\nsusceptible to adversarial attacks. Indeed, an adversary may often be able to\nchange a model's prediction through a small, directed perturbation of the\nmodel's input - an issue in safety-critical applications. Adversarially robust\nmachine learning is usually based on a minmax optimisation problem that\nminimises the machine learning loss under maximisation-based adversarial\nattacks.\n In this work, we study adversaries that determine their attack using a\nBayesian statistical approach rather than maximisation. The resulting Bayesian\nadversarial robustness problem is a relaxation of the usual minmax problem. To\nsolve this problem, we propose Abram - a continuous-time particle system that\nshall approximate the gradient flow corresponding to the underlying learning\nproblem. We show that Abram approximates a McKean-Vlasov process and justify\nthe use of Abram by giving assumptions under which the McKean-Vlasov process\nfinds the minimiser of the Bayesian adversarial robustness problem. We discuss\ntwo ways to discretise Abram and show its suitability in benchmark adversarial\ndeep learning experiments.\n", "date": "2024-07-11", "categories": []} {"id": "2501.18098", "title": "Disentangling Safe and Unsafe Corruptions via Anisotropy and Locality", "abstract": " State-of-the-art machine learning systems are vulnerable to small\nperturbations to their input, where ``small'' is defined according to a threat\nmodel that assigns a positive threat to each perturbation. Most prior works\ndefine a task-agnostic, isotropic, and global threat, like the $\\ell_p$ norm,\nwhere the magnitude of the perturbation fully determines the degree of the\nthreat and neither the direction of the attack nor its position in space\nmatter. However, common corruptions in computer vision, such as blur,\ncompression, or occlusions, are not well captured by such threat models. This\npaper proposes a novel threat model called \\texttt{Projected Displacement} (PD)\nto study robustness beyond existing isotropic and global threat models. The\nproposed threat model measures the threat of a perturbation via its alignment\nwith \\textit{unsafe directions}, defined as directions in the input space along\nwhich a perturbation of sufficient magnitude changes the ground truth class\nlabel. Unsafe directions are identified locally for each input based on\nobserved training data. In this way, the PD threat model exhibits anisotropy\nand locality. Experiments on Imagenet-1k data indicate that, for any input, the\nset of perturbations with small PD threat includes \\textit{safe} perturbations\nof large $\\ell_p$ norm that preserve the true label, such as noise, blur and\ncompression, while simultaneously excluding \\textit{unsafe} perturbations that\nalter the true label. Unlike perceptual threat models based on embeddings of\nlarge-vision models, the PD threat model can be readily computed for arbitrary\nclassification tasks without pre-training or finetuning. Further additional\ntask annotation such as sensitivity to image regions or concept hierarchies can\nbe easily integrated into the assessment of threat and thus the PD threat model\npresents practitioners with a flexible, task-driven threat specification.\n", "date": "2025-01-30", "categories": []} {"id": "2504.00038", "title": "Revisiting the Relationship between Adversarial and Clean Training: Why\n Clean Training Can Make Adversarial Training Better", "abstract": " Adversarial training (AT) is an effective technique for enhancing adversarial\nrobustness, but it usually comes at the cost of a decline in generalization\nability. Recent studies have attempted to use clean training to assist\nadversarial training, yet there are contradictions among the conclusions. We\ncomprehensively summarize the representative strategies and, with a focus on\nthe multi - view hypothesis, provide a unified explanation for the\ncontradictory phenomena among different studies. In addition, we conduct an in\n- depth analysis of the knowledge combinations transferred from clean - trained\nmodels to adversarially - trained models in previous studies, and find that\nthey can be divided into two categories: reducing the learning difficulty and\nproviding correct guidance. Based on this finding, we propose a new idea of\nleveraging clean training to further improve the performance of advanced AT\nmethods.We reveal that the problem of generalization degradation faced by AT\npartly stems from the difficulty of adversarial training in learning certain\nsample features, and this problem can be alleviated by making full use of clean\ntraining.\n", "date": "2025-03-30", "categories": []} {"id": "2504.00429", "title": "Unleashing the Power of Pre-trained Encoders for Universal Adversarial\n Attack Detection", "abstract": " Adversarial attacks pose a critical security threat to real-world AI systems\nby injecting human-imperceptible perturbations into benign samples to induce\nmisclassification in deep learning models. While existing detection methods,\nsuch as Bayesian uncertainty estimation and activation pattern analysis, have\nachieved progress through feature engineering, their reliance on handcrafted\nfeature design and prior knowledge of attack patterns limits generalization\ncapabilities and incurs high engineering costs. To address these limitations,\nthis paper proposes a lightweight adversarial detection framework based on the\nlarge-scale pre-trained vision-language model CLIP. Departing from conventional\nadversarial feature characterization paradigms, we innovatively adopt an\nanomaly detection perspective. By jointly fine-tuning CLIP's dual visual-text\nencoders with trainable adapter networks and learnable prompts, we construct a\ncompact representation space tailored for natural images. Notably, our\ndetection architecture achieves substantial improvements in generalization\ncapability across both known and unknown attack patterns compared to\ntraditional methods, while significantly reducing training overhead. This study\nprovides a novel technical pathway for establishing a parameter-efficient and\nattack-agnostic defense paradigm, markedly enhancing the robustness of vision\nsystems against evolving adversarial threats.\n", "date": "2025-04-01", "categories": []} {"id": "2504.00721", "title": "Alleviating Performance Disparity in Adversarial Spatiotemporal Graph\n Learning Under Zero-Inflated Distribution", "abstract": " Spatiotemporal Graph Learning (SGL) under Zero-Inflated Distribution (ZID) is\ncrucial for urban risk management tasks, including crime prediction and traffic\naccident profiling. However, SGL models are vulnerable to adversarial attacks,\ncompromising their practical utility. While adversarial training (AT) has been\nwidely used to bolster model robustness, our study finds that traditional AT\nexacerbates performance disparities between majority and minority classes under\nZID, potentially leading to irreparable losses due to underreporting critical\nrisk events. In this paper, we first demonstrate the smaller top-k gradients\nand lower separability of minority class are key factors contributing to this\ndisparity. To address these issues, we propose MinGRE, a framework for Minority\nClass Gradients and Representations Enhancement. MinGRE employs a\nmulti-dimensional attention mechanism to reweight spatiotemporal gradients,\nminimizing the gradient distribution discrepancies across classes.\nAdditionally, we introduce an uncertainty-guided contrastive loss to improve\nthe inter-class separability and intra-class compactness of minority\nrepresentations with higher uncertainty. Extensive experiments demonstrate that\nthe MinGRE framework not only significantly reduces the performance disparity\nacross classes but also achieves enhanced robustness compared to existing\nbaselines. These findings underscore the potential of our method in fostering\nthe development of more equitable and robust models.\n", "date": "2025-04-01", "categories": []} {"id": "2402.07498", "title": "Accelerated Smoothing: A Scalable Approach to Randomized Smoothing", "abstract": " Randomized smoothing has emerged as a potent certifiable defense against\nadversarial attacks by employing smoothing noises from specific distributions\nto ensure the robustness of a smoothed classifier. However, the utilization of\nMonte Carlo sampling in this process introduces a compute-intensive element,\nwhich constrains the practicality of randomized smoothing on a larger scale. To\naddress this limitation, we propose a novel approach that replaces Monte Carlo\nsampling with the training of a surrogate neural network. Through extensive\nexperimentation in various settings, we demonstrate the efficacy of our\napproach in approximating the smoothed classifier with remarkable precision.\nFurthermore, we demonstrate that our approach significantly accelerates the\nrobust radius certification process, providing nearly $600$X improvement in\ncomputation time, overcoming the computational bottlenecks associated with\ntraditional randomized smoothing.\n", "date": "2024-02-12", "categories": []} {"id": "2411.15555", "title": "Improving the Transferability of Adversarial Attacks on Face Recognition\n with Diverse Parameters Augmentation", "abstract": " Face Recognition (FR) models are vulnerable to adversarial examples that\nsubtly manipulate benign face images, underscoring the urgent need to improve\nthe transferability of adversarial attacks in order to expose the blind spots\nof these systems. Existing adversarial attack methods often overlook the\npotential benefits of augmenting the surrogate model with diverse\ninitializations, which limits the transferability of the generated adversarial\nexamples. To address this gap, we propose a novel method called Diverse\nParameters Augmentation (DPA) attack method, which enhances surrogate models by\nincorporating diverse parameter initializations, resulting in a broader and\nmore diverse set of surrogate models. Specifically, DPA consists of two key\nstages: Diverse Parameters Optimization (DPO) and Hard Model Aggregation (HMA).\nIn the DPO stage, we initialize the parameters of the surrogate model using\nboth pre-trained and random parameters. Subsequently, we save the models in the\nintermediate training process to obtain a diverse set of surrogate models.\nDuring the HMA stage, we enhance the feature maps of the diversified surrogate\nmodels by incorporating beneficial perturbations, thereby further improving the\ntransferability. Experimental results demonstrate that our proposed attack\nmethod can effectively enhance the transferability of the crafted adversarial\nface examples.\n", "date": "2024-11-23", "categories": []} {"id": "2501.11901", "title": "Enhancing Adversarial Transferability via Component-Wise Transformation", "abstract": " Deep Neural Networks (DNNs) are highly vulnerable to adversarial examples,\nwhich pose significant challenges in security-sensitive applications. Among\nvarious adversarial attack strategies, input transformation-based attacks have\ndemonstrated remarkable effectiveness in enhancing adversarial transferability.\nHowever, existing methods still perform poorly across different architectures,\neven though they have achieved promising results within the same architecture.\nThis limitation arises because, while models of the same architecture may focus\non different regions of the object, the variation is even more pronounced\nacross different architectures. Unfortunately, current approaches fail to\neffectively guide models to attend to these diverse regions. To address this\nissue, this paper proposes a novel input transformation-based attack method,\ntermed Component-Wise Transformation (CWT). CWT applies interpolation and\nselective rotation to individual image blocks, ensuring that each transformed\nimage highlights different target regions, thereby improving the\ntransferability of adversarial examples. Extensive experiments on the standard\nImageNet dataset show that CWT consistently outperforms state-of-the-art\nmethods in both attack success rates and stability across CNN- and\nTransformer-based models.\n", "date": "2025-01-21", "categories": []} {"id": "2502.21048", "title": "Data-free Universal Adversarial Perturbation with Pseudo-semantic Prior", "abstract": " Data-free Universal Adversarial Perturbation (UAP) is an image-agnostic\nadversarial attack that deceives deep neural networks using a single\nperturbation generated solely from random noise without relying on data priors.\nHowever, traditional data-free UAP methods often suffer from limited\ntransferability due to the absence of semantic content in random noise. To\naddress this issue, we propose a novel data-free universal attack method that\nrecursively extracts pseudo-semantic priors directly from the UAPs during\ntraining to enrich the semantic content within the data-free UAP framework. Our\napproach effectively leverages latent semantic information within UAPs via\nregion sampling, enabling successful input transformations-typically\nineffective in traditional data-free UAP methods due to the lack of semantic\ncues-and significantly enhancing black-box transferability. Furthermore, we\nintroduce a sample reweighting technique to mitigate potential imbalances from\nrandom sampling and transformations, emphasizing hard examples less affected by\nthe UAPs. Comprehensive experiments on ImageNet show that our method achieves\nstate-of-the-art performance in average fooling rate by a substantial margin,\nnotably improves attack transferability across various CNN architectures\ncompared to existing data-free UAP methods, and even surpasses data-dependent\nUAP methods. Code is available at: https://github.com/ChnanChan/PSP-UAP.\n", "date": "2025-02-28", "categories": []} {"id": "2410.05346", "title": "AnyAttack: Towards Large-scale Self-supervised Adversarial Attacks on\n Vision-language Models", "abstract": " Due to their multimodal capabilities, Vision-Language Models (VLMs) have\nfound numerous impactful applications in real-world scenarios. However, recent\nstudies have revealed that VLMs are vulnerable to image-based adversarial\nattacks. Traditional targeted adversarial attacks require specific targets and\nlabels, limiting their real-world impact.We present AnyAttack, a\nself-supervised framework that transcends the limitations of conventional\nattacks through a novel foundation model approach. By pre-training on the\nmassive LAION-400M dataset without label supervision, AnyAttack achieves\nunprecedented flexibility - enabling any image to be transformed into an attack\nvector targeting any desired output across different VLMs.This approach\nfundamentally changes the threat landscape, making adversarial capabilities\naccessible at an unprecedented scale. Our extensive validation across five\nopen-source VLMs (CLIP, BLIP, BLIP2, InstructBLIP, and MiniGPT-4) demonstrates\nAnyAttack's effectiveness across diverse multimodal tasks. Most concerning,\nAnyAttack seamlessly transfers to commercial systems including Google Gemini,\nClaude Sonnet, Microsoft Copilot and OpenAI GPT, revealing a systemic\nvulnerability requiring immediate attention.\n", "date": "2024-10-07", "categories": []} {"id": "2503.22205", "title": "Data-Free Universal Attack by Exploiting the Intrinsic Vulnerability of\n Deep Models", "abstract": " Deep neural networks (DNNs) are susceptible to Universal Adversarial\nPerturbations (UAPs), which are instance agnostic perturbations that can\ndeceive a target model across a wide range of samples. Unlike instance-specific\nadversarial examples, UAPs present a greater challenge as they must generalize\nacross different samples and models. Generating UAPs typically requires access\nto numerous examples, which is a strong assumption in real-world tasks. In this\npaper, we propose a novel data-free method called Intrinsic UAP (IntriUAP), by\nexploiting the intrinsic vulnerabilities of deep models. We analyze a series of\npopular deep models composed of linear and nonlinear layers with a Lipschitz\nconstant of 1, revealing that the vulnerability of these models is\npredominantly influenced by their linear components. Based on this observation,\nwe leverage the ill-conditioned nature of the linear components by aligning the\nUAP with the right singular vectors corresponding to the maximum singular value\nof each linear layer. Remarkably, our method achieves highly competitive\nperformance in attacking popular image classification deep models without using\nany image samples. We also evaluate the black-box attack performance of our\nmethod, showing that it matches the state-of-the-art baseline for data-free\nmethods on models that conform to our theoretical framework. Beyond the\ndata-free assumption, IntriUAP also operates under a weaker assumption, where\nthe adversary only can access a few of the victim model's layers. Experiments\ndemonstrate that the attack success rate decreases by only 4% when the\nadversary has access to just 50% of the linear layers in the victim model.\n", "date": "2025-03-28", "categories": []} {"id": "2503.22653", "title": "Tropical Bisectors and Carlini-Wagner Attacks", "abstract": " Pasque et al. showed that using a tropical symmetric metric as an activation\nfunction in the last layer can improve the robustness of convolutional neural\nnetworks (CNNs) against state-of-the-art attacks, including the Carlini-Wagner\nattack. This improvement occurs when the attacks are not specifically adapted\nto the non-differentiability of the tropical layer. Moreover, they showed that\nthe decision boundary of a tropical CNN is defined by tropical bisectors. In\nthis paper, we explore the combinatorics of tropical bisectors and analyze how\nthe tropical embedding layer enhances robustness against Carlini-Wagner\nattacks. We prove an upper bound on the number of linear segments the decision\nboundary of a tropical CNN can have. We then propose a refined version of the\nCarlini-Wagner attack, specifically tailored for the tropical architecture.\nComputational experiments with MNIST and LeNet5 showcase our attacks improved\nsuccess rate.\n", "date": "2025-03-28", "categories": []} {"id": "2410.16449", "title": "Robust Feature Learning for Multi-Index Models in High Dimensions", "abstract": " Recently, there have been numerous studies on feature learning with neural\nnetworks, specifically on learning single- and multi-index models where the\ntarget is a function of a low-dimensional projection of the input. Prior works\nhave shown that in high dimensions, the majority of the compute and data\nresources are spent on recovering the low-dimensional projection; once this\nsubspace is recovered, the remainder of the target can be learned independently\nof the ambient dimension. However, implications of feature learning in\nadversarial settings remain unexplored. In this work, we take the first steps\ntowards understanding adversarially robust feature learning with neural\nnetworks. Specifically, we prove that the hidden directions of a multi-index\nmodel offer a Bayes optimal low-dimensional projection for robustness against\n$\\ell_2$-bounded adversarial perturbations under the squared loss, assuming\nthat the multi-index coordinates are statistically independent from the rest of\nthe coordinates. Therefore, robust learning can be achieved by first performing\nstandard feature learning, then robustly tuning a linear readout layer on top\nof the standard representations. In particular, we show that adversarially\nrobust learning is just as easy as standard learning. Specifically, the\nadditional number of samples needed to robustly learn multi-index models when\ncompared to standard learning does not depend on dimensionality.\n", "date": "2024-10-21", "categories": []} {"id": "2503.20844", "title": "Robust Deep Reinforcement Learning in Robotics via Adaptive\n Gradient-Masked Adversarial Attacks", "abstract": " Deep reinforcement learning (DRL) has emerged as a promising approach for\nrobotic control, but its realworld deployment remains challenging due to its\nvulnerability to environmental perturbations. Existing white-box adversarial\nattack methods, adapted from supervised learning, fail to effectively target\nDRL agents as they overlook temporal dynamics and indiscriminately perturb all\nstate dimensions, limiting their impact on long-term rewards. To address these\nchallenges, we propose the Adaptive Gradient-Masked Reinforcement (AGMR)\nAttack, a white-box attack method that combines DRL with a gradient-based soft\nmasking mechanism to dynamically identify critical state dimensions and\noptimize adversarial policies. AGMR selectively allocates perturbations to the\nmost impactful state features and incorporates a dynamic adjustment mechanism\nto balance exploration and exploitation during training. Extensive experiments\ndemonstrate that AGMR outperforms state-of-the-art adversarial attack methods\nin degrading the performance of the victim agent and enhances the victim\nagent's robustness through adversarial defense mechanisms.\n", "date": "2025-03-26", "categories": []} {"id": "2310.00116", "title": "Certified Robustness via Dynamic Margin Maximization and Improved\n Lipschitz Regularization", "abstract": " To improve the robustness of deep classifiers against adversarial\nperturbations, many approaches have been proposed, such as designing new\narchitectures with better robustness properties (e.g., Lipschitz-capped\nnetworks), or modifying the training process itself (e.g., min-max\noptimization, constrained learning, or regularization). These approaches,\nhowever, might not be effective at increasing the margin in the input (feature)\nspace. As a result, there has been an increasing interest in developing\ntraining procedures that can directly manipulate the decision boundary in the\ninput space. In this paper, we build upon recent developments in this category\nby developing a robust training algorithm whose objective is to increase the\nmargin in the output (logit) space while regularizing the Lipschitz constant of\nthe model along vulnerable directions. We show that these two objectives can\ndirectly promote larger margins in the input space. To this end, we develop a\nscalable method for calculating guaranteed differentiable upper bounds on the\nLipschitz constant of neural networks accurately and efficiently. The relative\naccuracy of the bounds prevents excessive regularization and allows for more\ndirect manipulation of the decision boundary. Furthermore, our Lipschitz\nbounding algorithm exploits the monotonicity and Lipschitz continuity of the\nactivation layers, and the resulting bounds can be used to design new layers\nwith controllable bounds on their Lipschitz constant. Experiments on the MNIST,\nCIFAR-10, and Tiny-ImageNet data sets verify that our proposed algorithm\nobtains competitively improved results compared to the state-of-the-art.\n", "date": "2023-09-29", "categories": []} {"id": "2503.20310", "title": "Enabling Heterogeneous Adversarial Transferability via Feature\n Permutation Attacks", "abstract": " Adversarial attacks in black-box settings are highly practical, with\ntransfer-based attacks being the most effective at generating adversarial\nexamples (AEs) that transfer from surrogate models to unseen target models.\nHowever, their performance significantly degrades when transferring across\nheterogeneous architectures -- such as CNNs, MLPs, and Vision Transformers\n(ViTs) -- due to fundamental architectural differences. To address this, we\npropose Feature Permutation Attack (FPA), a zero-FLOP, parameter-free method\nthat enhances adversarial transferability across diverse architectures. FPA\nintroduces a novel feature permutation (FP) operation, which rearranges pixel\nvalues in selected feature maps to simulate long-range dependencies,\neffectively making CNNs behave more like ViTs and MLPs. This enhances feature\ndiversity and improves transferability both across heterogeneous architectures\nand within homogeneous CNNs. Extensive evaluations on 14 state-of-the-art\narchitectures show that FPA achieves maximum absolute gains in attack success\nrates of 7.68% on CNNs, 14.57% on ViTs, and 14.48% on MLPs, outperforming\nexisting black-box attacks. Additionally, FPA is highly generalizable and can\nseamlessly integrate with other transfer-based attacks to further boost their\nperformance. Our findings establish FPA as a robust, efficient, and\ncomputationally lightweight strategy for enhancing adversarial transferability\nacross heterogeneous architectures.\n", "date": "2025-03-26", "categories": []} {"id": "2503.20454", "title": "Lipschitz Constant Meets Condition Number: Learning Robust and Compact\n Deep Neural Networks", "abstract": " Recent research has revealed that high compression of Deep Neural Networks\n(DNNs), e.g., massive pruning of the weight matrix of a DNN, leads to a severe\ndrop in accuracy and susceptibility to adversarial attacks. Integration of\nnetwork pruning into an adversarial training framework has been proposed to\npromote adversarial robustness. It has been observed that a highly pruned\nweight matrix tends to be ill-conditioned, i.e., increasing the condition\nnumber of the weight matrix. This phenomenon aggravates the vulnerability of a\nDNN to input noise. Although a highly pruned weight matrix is considered to be\nable to lower the upper bound of the local Lipschitz constant to tolerate large\ndistortion, the ill-conditionedness of such a weight matrix results in a\nnon-robust DNN model. To overcome this challenge, this work develops novel\njoint constraints to adjust the weight distribution of networks, namely, the\nTransformed Sparse Constraint joint with Condition Number Constraint (TSCNC),\nwhich copes with smoothing distribution and differentiable constraint functions\nto reduce condition number and thus avoid the ill-conditionedness of weight\nmatrices. Furthermore, our theoretical analyses unveil the relevance between\nthe condition number and the local Lipschitz constant of the weight matrix,\nnamely, the sharply increasing condition number becomes the dominant factor\nthat restricts the robustness of over-sparsified models. Extensive experiments\nare conducted on several public datasets, and the results show that the\nproposed constraints significantly improve the robustness of a DNN with high\npruning rates.\n", "date": "2025-03-26", "categories": []} {"id": "2503.20613", "title": "State-Aware Perturbation Optimization for Robust Deep Reinforcement\n Learning", "abstract": " Recently, deep reinforcement learning (DRL) has emerged as a promising\napproach for robotic control. However, the deployment of DRL in real-world\nrobots is hindered by its sensitivity to environmental perturbations. While\nexisting whitebox adversarial attacks rely on local gradient information and\napply uniform perturbations across all states to evaluate DRL robustness, they\nfail to account for temporal dynamics and state-specific vulnerabilities. To\ncombat the above challenge, we first conduct a theoretical analysis of\nwhite-box attacks in DRL by establishing the adversarial victim-dynamics Markov\ndecision process (AVD-MDP), to derive the necessary and sufficient conditions\nfor a successful attack. Based on this, we propose a selective state-aware\nreinforcement adversarial attack method, named STAR, to optimize perturbation\nstealthiness and state visitation dispersion. STAR first employs a soft\nmask-based state-targeting mechanism to minimize redundant perturbations,\nenhancing stealthiness and attack effectiveness. Then, it incorporates an\ninformation-theoretic optimization objective to maximize mutual information\nbetween perturbations, environmental states, and victim actions, ensuring a\ndispersed state-visitation distribution that steers the victim agent into\nvulnerable states for maximum return reduction. Extensive experiments\ndemonstrate that STAR outperforms state-of-the-art benchmarks.\n", "date": "2025-03-26", "categories": []} {"id": "2411.15553", "title": "Improving Transferable Targeted Attacks with Feature Tuning Mixup", "abstract": " Deep neural networks (DNNs) exhibit vulnerability to adversarial examples\nthat can transfer across different DNN models. A particularly challenging\nproblem is developing transferable targeted attacks that can mislead DNN models\ninto predicting specific target classes. While various methods have been\nproposed to enhance attack transferability, they often incur substantial\ncomputational costs while yielding limited improvements. Recent clean feature\nmixup methods use random clean features to perturb the feature space but lack\noptimization for disrupting adversarial examples, overlooking the advantages of\nattack-specific perturbations. In this paper, we propose Feature Tuning Mixup\n(FTM), a novel method that enhances targeted attack transferability by\ncombining both random and optimized noises in the feature space. FTM introduces\nlearnable feature perturbations and employs an efficient stochastic update\nstrategy for optimization. These learnable perturbations facilitate the\ngeneration of more robust adversarial examples with improved transferability.\nWe further demonstrate that attack performance can be enhanced through an\nensemble of multiple FTM-perturbed surrogate models. Extensive experiments on\nthe ImageNet-compatible dataset across various DNN models demonstrate that our\nmethod achieves significant improvements over state-of-the-art methods while\nmaintaining low computational cost.\n", "date": "2024-11-23", "categories": []} {"id": "2503.19099", "title": "Masks and Mimicry: Strategic Obfuscation and Impersonation Attacks on\n Authorship Verification", "abstract": " The increasing use of Artificial Intelligence (AI) technologies, such as\nLarge Language Models (LLMs) has led to nontrivial improvements in various\ntasks, including accurate authorship identification of documents. However,\nwhile LLMs improve such defense techniques, they also simultaneously provide a\nvehicle for malicious actors to launch new attack vectors. To combat this\nsecurity risk, we evaluate the adversarial robustness of authorship models\n(specifically an authorship verification model) to potent LLM-based attacks.\nThese attacks include untargeted methods - \\textit{authorship obfuscation} and\ntargeted methods - \\textit{authorship impersonation}. For both attacks, the\nobjective is to mask or mimic the writing style of an author while preserving\nthe original texts' semantics, respectively. Thus, we perturb an accurate\nauthorship verification model, and achieve maximum attack success rates of 92\\%\nand 78\\% for both obfuscation and impersonation attacks, respectively.\n", "date": "2025-03-24", "categories": []} {"id": "2503.19347", "title": "Stop Walking in Circles! Bailing Out Early in Projected Gradient Descent", "abstract": " Projected Gradient Descent (PGD) under the $L_\\infty$ ball has become one of\nthe defacto methods used in adversarial robustness evaluation for computer\nvision (CV) due to its reliability and efficacy, making a strong and\neasy-to-implement iterative baseline. However, PGD is computationally demanding\nto apply, especially when using thousands of iterations is the current\nbest-practice recommendation to generate an adversarial example for a single\nimage. In this work, we introduce a simple novel method for early termination\nof PGD based on cycle detection by exploiting the geometry of how PGD is\nimplemented in practice and show that it can produce large speedup factors\nwhile providing the \\emph{exact} same estimate of model robustness as standard\nPGD. This method substantially speeds up PGD without sacrificing any attack\nstrength, enabling evaluations of robustness that were previously\ncomputationally intractable.\n", "date": "2025-03-25", "categories": []} {"id": "2503.19591", "title": "Boosting the Transferability of Audio Adversarial Examples with Acoustic\n Representation Optimization", "abstract": " With the widespread application of automatic speech recognition (ASR)\nsystems, their vulnerability to adversarial attacks has been extensively\nstudied. However, most existing adversarial examples are generated on specific\nindividual models, resulting in a lack of transferability. In real-world\nscenarios, attackers often cannot access detailed information about the target\nmodel, making query-based attacks unfeasible. To address this challenge, we\npropose a technique called Acoustic Representation Optimization that aligns\nadversarial perturbations with low-level acoustic characteristics derived from\nspeech representation models. Rather than relying on model-specific,\nhigher-layer abstractions, our approach leverages fundamental acoustic\nrepresentations that remain consistent across diverse ASR architectures. By\nenforcing an acoustic representation loss to guide perturbations toward these\nrobust, lower-level representations, we enhance the cross-model transferability\nof adversarial examples without degrading audio quality. Our method is\nplug-and-play and can be integrated with any existing attack methods. We\nevaluate our approach on three modern ASR models, and the experimental results\ndemonstrate that our method significantly improves the transferability of\nadversarial examples generated by previous methods while preserving the audio\nquality.\n", "date": "2025-03-25", "categories": []} {"id": "2503.19791", "title": "SITA: Structurally Imperceptible and Transferable Adversarial Attacks\n for Stylized Image Generation", "abstract": " Image generation technology has brought significant advancements across\nvarious fields but has also raised concerns about data misuse and potential\nrights infringements, particularly with respect to creating visual artworks.\nCurrent methods aimed at safeguarding artworks often employ adversarial\nattacks. However, these methods face challenges such as poor transferability,\nhigh computational costs, and the introduction of noticeable noise, which\ncompromises the aesthetic quality of the original artwork. To address these\nlimitations, we propose a Structurally Imperceptible and Transferable\nAdversarial (SITA) attacks. SITA leverages a CLIP-based destylization loss,\nwhich decouples and disrupts the robust style representation of the image. This\ndisruption hinders style extraction during stylized image generation, thereby\nimpairing the overall stylization process. Importantly, SITA eliminates the\nneed for a surrogate diffusion model, leading to significantly reduced\ncomputational overhead. The method's robust style feature disruption ensures\nhigh transferability across diverse models. Moreover, SITA introduces\nperturbations by embedding noise within the imperceptible structural details of\nthe image. This approach effectively protects against style extraction without\ncompromising the visual quality of the artwork. Extensive experiments\ndemonstrate that SITA offers superior protection for artworks against\nunauthorized use in stylized generation. It significantly outperforms existing\nmethods in terms of transferability, computational efficiency, and noise\nimperceptibility. Code is available at https://github.com/A-raniy-day/SITA.\n", "date": "2025-03-25", "categories": []} {"id": "2307.06608", "title": "MF-CLIP: Leveraging CLIP as Surrogate Models for No-box Adversarial\n Attacks", "abstract": " The vulnerability of Deep Neural Networks (DNNs) to adversarial attacks poses\na significant challenge to their deployment in safety-critical applications.\nWhile extensive research has addressed various attack scenarios, the no-box\nattack setting where adversaries have no prior knowledge, including access to\ntraining data of the target model, remains relatively underexplored despite its\npractical relevance. This work presents a systematic investigation into\nleveraging large-scale Vision-Language Models (VLMs), particularly CLIP, as\nsurrogate models for executing no-box attacks. Our theoretical and empirical\nanalyses reveal a key limitation in the execution of no-box attacks stemming\nfrom insufficient discriminative capabilities for direct application of vanilla\nCLIP as a surrogate model. To address this limitation, we propose MF-CLIP: a\nnovel framework that enhances CLIP's effectiveness as a surrogate model through\nmargin-aware feature space optimization. Comprehensive evaluations across\ndiverse architectures and datasets demonstrate that MF-CLIP substantially\nadvances the state-of-the-art in no-box attacks, surpassing existing baselines\nby 15.23% on standard models and achieving a 9.52% improvement on adversarially\ntrained models. Our code will be made publicly available to facilitate\nreproducibility and future research in this direction.\n", "date": "2023-07-13", "categories": []} {"id": "2410.01617", "title": "On Using Certified Training towards Empirical Robustness", "abstract": " Adversarial training is arguably the most popular way to provide empirical\nrobustness against specific adversarial examples. While variants based on\nmulti-step attacks incur significant computational overhead, single-step\nvariants are vulnerable to a failure mode known as catastrophic overfitting,\nwhich hinders their practical utility for large perturbations. A parallel line\nof work, certified training, has focused on producing networks amenable to\nformal guarantees of robustness against any possible attack. However, the wide\ngap between the best-performing empirical and certified defenses has severely\nlimited the applicability of the latter. Inspired by recent developments in\ncertified training, which rely on a combination of adversarial attacks with\nnetwork over-approximations, and by the connections between local linearity and\ncatastrophic overfitting, we present experimental evidence on the practical\nutility and limitations of using certified training towards empirical\nrobustness. We show that, when tuned for the purpose, a recent certified\ntraining algorithm can prevent catastrophic overfitting on single-step attacks,\nand that it can bridge the gap to multi-step baselines under appropriate\nexperimental settings. Finally, we present a conceptually simple regularizer\nfor network over-approximations that can achieve similar effects while markedly\nreducing runtime.\n", "date": "2024-10-02", "categories": []} {"id": "2503.01407", "title": "Divide and Conquer: Heterogeneous Noise Integration for Diffusion-based\n Adversarial Purification", "abstract": " Existing diffusion-based purification methods aim to disrupt adversarial\nperturbations by introducing a certain amount of noise through a forward\ndiffusion process, followed by a reverse process to recover clean examples.\nHowever, this approach is fundamentally flawed: the uniform operation of the\nforward process across all pixels compromises normal pixels while attempting to\ncombat adversarial perturbations, resulting in the target model producing\nincorrect predictions. Simply relying on low-intensity noise is insufficient\nfor effective defense. To address this critical issue, we implement a\nheterogeneous purification strategy grounded in the interpretability of neural\nnetworks. Our method decisively applies higher-intensity noise to specific\npixels that the target model focuses on while the remaining pixels are\nsubjected to only low-intensity noise. This requirement motivates us to\nredesign the sampling process of the diffusion model, allowing for the\neffective removal of varying noise levels. Furthermore, to evaluate our method\nagainst strong adaptative attack, our proposed method sharply reduces time cost\nand memory usage through a single-step resampling. The empirical evidence from\nextensive experiments across three datasets demonstrates that our method\noutperforms most current adversarial training and purification techniques by a\nsubstantial margin.\n", "date": "2025-03-03", "categories": []} {"id": "2503.18290", "title": "When is dataset cartography ineffective? Using training dynamics does\n not improve robustness against Adversarial SQuAD", "abstract": " In this paper, I investigate the effectiveness of dataset cartography for\nextractive question answering on the SQuAD dataset. I begin by analyzing\nannotation artifacts in SQuAD and evaluate the impact of two adversarial\ndatasets, AddSent and AddOneSent, on an ELECTRA-small model. Using training\ndynamics, I partition SQuAD into easy-to-learn, ambiguous, and hard-to-learn\nsubsets. I then compare the performance of models trained on these subsets to\nthose trained on randomly selected samples of equal size. Results show that\ntraining on cartography-based subsets does not improve generalization to the\nSQuAD validation set or the AddSent adversarial set. While the hard-to-learn\nsubset yields a slightly higher F1 score on the AddOneSent dataset, the overall\ngains are limited. These findings suggest that dataset cartography provides\nlittle benefit for adversarial robustness in SQuAD-style QA tasks. I conclude\nby comparing these results to prior findings on SNLI and discuss possible\nreasons for the observed differences.\n", "date": "2025-03-24", "categories": []} {"id": "2401.10090", "title": "Cross-Modality Perturbation Synergy Attack for Person Re-identification", "abstract": " In recent years, there has been significant research focusing on addressing\nsecurity concerns in single-modal person re-identification (ReID) systems that\nare based on RGB images. However, the safety of cross-modality scenarios, which\nare more commonly encountered in practical applications involving images\ncaptured by infrared cameras, has not received adequate attention. The main\nchallenge in cross-modality ReID lies in effectively dealing with visual\ndifferences between different modalities. For instance, infrared images are\ntypically grayscale, unlike visible images that contain color information.\nExisting attack methods have primarily focused on the characteristics of the\nvisible image modality, overlooking the features of other modalities and the\nvariations in data distribution among different modalities. This oversight can\npotentially undermine the effectiveness of these methods in image retrieval\nacross diverse modalities. This study represents the first exploration into the\nsecurity of cross-modality ReID models and proposes a universal perturbation\nattack specifically designed for cross-modality ReID. This attack optimizes\nperturbations by leveraging gradients from diverse modality data, thereby\ndisrupting the discriminator and reinforcing the differences between\nmodalities. We conducted experiments on three widely used cross-modality\ndatasets, namely RegDB, SYSU, and LLCM. The results not only demonstrate the\neffectiveness of our method but also provide insights for future improvements\nin the robustness of cross-modality ReID systems. The code will be available at\nhttps://github.com/finger-monkey/cmps__attack.\n", "date": "2024-01-18", "categories": []} {"id": "2408.17064", "title": "Instant Adversarial Purification with Adversarial Consistency\n Distillation", "abstract": " Neural networks have revolutionized numerous fields with their exceptional\nperformance, yet they remain susceptible to adversarial attacks through subtle\nperturbations. While diffusion-based purification methods like DiffPure offer\npromising defense mechanisms, their computational overhead presents a\nsignificant practical limitation. In this paper, we introduce One Step Control\nPurification (OSCP), a novel defense framework that achieves robust adversarial\npurification in a single Neural Function Evaluation (NFE) within diffusion\nmodels. We propose Gaussian Adversarial Noise Distillation (GAND) as the\ndistillation objective and Controlled Adversarial Purification (CAP) as the\ninference pipeline, which makes OSCP demonstrate remarkable efficiency while\nmaintaining defense efficacy. Our proposed GAND addresses a fundamental tension\nbetween consistency distillation and adversarial perturbation, bridging the gap\nbetween natural and adversarial manifolds in the latent space, while remaining\ncomputationally efficient through Parameter-Efficient Fine-Tuning (PEFT)\nmethods such as LoRA, eliminating the high computational budget request from\nfull parameter fine-tuning. The CAP guides the purification process through the\nunlearnable edge detection operator calculated by the input image as an extra\nprompt, effectively preventing the purified images from deviating from their\noriginal appearance when large purification steps are used. Our experimental\nresults on ImageNet showcase OSCP's superior performance, achieving a 74.19%\ndefense success rate with merely 0.1s per purification -- a 100-fold speedup\ncompared to conventional approaches.\n", "date": "2024-08-30", "categories": []} {"id": "2410.07081", "title": "JPEG Inspired Deep Learning", "abstract": " Although it is traditionally believed that lossy image compression, such as\nJPEG compression, has a negative impact on the performance of deep neural\nnetworks (DNNs), it is shown by recent works that well-crafted JPEG compression\ncan actually improve the performance of deep learning (DL). Inspired by this,\nwe propose JPEG-DL, a novel DL framework that prepends any underlying DNN\narchitecture with a trainable JPEG compression layer. To make the quantization\noperation in JPEG compression trainable, a new differentiable soft quantizer is\nemployed at the JPEG layer, and then the quantization operation and underlying\nDNN are jointly trained. Extensive experiments show that in comparison with the\nstandard DL, JPEG-DL delivers significant accuracy improvements across various\ndatasets and model architectures while enhancing robustness against adversarial\nattacks. Particularly, on some fine-grained image classification datasets,\nJPEG-DL can increase prediction accuracy by as much as 20.9%. Our code is\navailable on https://github.com/AhmedHussKhalifa/JPEG-Inspired-DL.git.\n", "date": "2024-10-09", "categories": []} {"id": "2503.01924", "title": "TAET: Two-Stage Adversarial Equalization Training on Long-Tailed\n Distributions", "abstract": " Adversarial robustness is a critical challenge in deploying deep neural\nnetworks for real-world applications. While adversarial training is a widely\nrecognized defense strategy, most existing studies focus on balanced datasets,\noverlooking the prevalence of long-tailed distributions in real-world data,\nwhich significantly complicates robustness. This paper provides a comprehensive\nanalysis of adversarial training under long-tailed distributions and identifies\nlimitations in the current state-of-the-art method, AT-BSL, in achieving robust\nperformance under such conditions. To address these challenges, we propose a\nnovel training framework, TAET, which integrates an initial stabilization phase\nfollowed by a stratified equalization adversarial training phase. Additionally,\nprior work on long-tailed robustness has largely ignored the crucial evaluation\nmetric of balanced accuracy. To bridge this gap, we introduce the concept of\nbalanced robustness, a comprehensive metric tailored for assessing robustness\nunder long-tailed distributions. Extensive experiments demonstrate that our\nmethod surpasses existing advanced defenses, achieving significant improvements\nin both memory and computational efficiency. This work represents a substantial\nadvancement in addressing robustness challenges in real-world applications. Our\ncode is available at:\nhttps://github.com/BuhuiOK/TAET-Two-Stage-Adversarial-Equalization-Training-on-Long-Tailed-Distributions.\n", "date": "2025-03-02", "categories": []} {"id": "2503.06903", "title": "When Lighting Deceives: Exposing Vision-Language Models' Illumination\n Vulnerability Through Illumination Transformation Attack", "abstract": " Vision-Language Models (VLMs) have achieved remarkable success in various\ntasks, yet their robustness to real-world illumination variations remains\nlargely unexplored. To bridge this gap, we propose \\textbf{I}llumination\n\\textbf{T}ransformation \\textbf{A}ttack (\\textbf{ITA}), the first framework to\nsystematically assess VLMs' robustness against illumination changes. However,\nthere still exist two key challenges: (1) how to model global illumination with\nfine-grained control to achieve diverse lighting conditions and (2) how to\nensure adversarial effectiveness while maintaining naturalness. To address the\nfirst challenge, we innovatively decompose global illumination into multiple\nparameterized point light sources based on the illumination rendering equation.\nThis design enables us to model more diverse lighting variations that previous\nmethods could not capture. Then, by integrating these parameterized lighting\nvariations with physics-based lighting reconstruction techniques, we could\nprecisely render such light interactions in the original scenes, finally\nmeeting the goal of fine-grained lighting control. For the second challenge, by\ncontrolling illumination through the lighting reconstrution model's latent\nspace rather than direct pixel manipulation, we inherently preserve physical\nlighting priors. Furthermore, to prevent potential reconstruction artifacts, we\ndesign additional perceptual constraints for maintaining visual consistency\nwith original images and diversity constraints for avoiding light source\nconvergence.\n Extensive experiments demonstrate that our ITA could significantly reduce the\nperformance of advanced VLMs, e.g., LLaVA-1.6, while possessing competitive\nnaturalness, exposing VLMS' critical illuminiation vulnerabilities.\n", "date": "2025-03-10", "categories": []} {"id": "2503.16550", "title": "Unified Enhancement of the Generalization and Robustness of Language\n Models via Bi-Stage Optimization", "abstract": " Neural network language models (LMs) are confronted with significant\nchallenges in generalization and robustness. Currently, many studies focus on\nimproving either generalization or robustness in isolation, without methods\naddressing both aspects simultaneously, which presents a significant challenge\nin developing LMs that are both robust and generalized. In this paper, we\npropose a bi-stage optimization framework to uniformly enhance both the\ngeneralization and robustness of LMs, termed UEGR. Specifically, during the\nforward propagation stage, we enrich the output probability distributions of\nadversarial samples by adaptive dropout to generate diverse sub models, and\nincorporate JS divergence and adversarial losses of these output distributions\nto reinforce output stability. During backward propagation stage, we compute\nparameter saliency scores and selectively update only the most critical\nparameters to minimize unnecessary deviations and consolidate the model's\nresilience. Theoretical analysis shows that our framework includes gradient\nregularization to limit the model's sensitivity to input perturbations and\nselective parameter updates to flatten the loss landscape, thus improving both\ngeneralization and robustness. The experimental results show that our method\nsignificantly improves the generalization and robustness of LMs compared to\nother existing methods across 13 publicly available language datasets,\nachieving state-of-the-art (SOTA) performance.\n", "date": "2025-03-19", "categories": []} {"id": "2503.16975", "title": "EasyRobust: A Comprehensive and Easy-to-use Toolkit for Robust and\n Generalized Vision", "abstract": " Deep neural networks (DNNs) has shown great promise in computer vision tasks.\nHowever, machine vision achieved by DNNs cannot be as robust as human\nperception. Adversarial attacks and data distribution shifts have been known as\ntwo major scenarios which degrade machine performance and obstacle the wide\ndeployment of machines \"in the wild\". In order to break these obstructions and\nfacilitate the research of model robustness, we develop EasyRobust, a\ncomprehensive and easy-to-use toolkit for training, evaluation and analysis of\nrobust vision models. EasyRobust targets at two types of robustness: 1)\nAdversarial robustness enables the model to defense against malicious inputs\ncrafted by worst-case perturbations, also known as adversarial examples; 2)\nNon-adversarial robustness enhances the model performance on natural test\nimages with corruptions or distribution shifts. Thorough benchmarks on image\nclassification enable EasyRobust to provide an accurate robustness evaluation\non vision models. We wish our EasyRobust can help for training\npractically-robust models and promote academic and industrial progress in\nclosing the gap between human and machine vision. Codes and models of\nEasyRobust have been open-sourced in https://github.com/alibaba/easyrobust.\n", "date": "2025-03-21", "categories": []} {"id": "2503.17172", "title": "Principal Eigenvalue Regularization for Improved Worst-Class Certified\n Robustness of Smoothed Classifiers", "abstract": " Recent studies have identified a critical challenge in deep neural networks\n(DNNs) known as ``robust fairness\", where models exhibit significant\ndisparities in robust accuracy across different classes. While prior work has\nattempted to address this issue in adversarial robustness, the study of\nworst-class certified robustness for smoothed classifiers remains unexplored.\nOur work bridges this gap by developing a PAC-Bayesian bound for the\nworst-class error of smoothed classifiers. Through theoretical analysis, we\ndemonstrate that the largest eigenvalue of the smoothed confusion matrix\nfundamentally influences the worst-class error of smoothed classifiers. Based\non this insight, we introduce a regularization method that optimizes the\nlargest eigenvalue of smoothed confusion matrix to enhance worst-class accuracy\nof the smoothed classifier and further improve its worst-class certified\nrobustness. We provide extensive experimental validation across multiple\ndatasets and model architectures to demonstrate the effectiveness of our\napproach.\n", "date": "2025-03-21", "categories": []} {"id": "2503.11032", "title": "Weakly Supervised Contrastive Adversarial Training for Learning Robust\n Features from Semi-supervised Data", "abstract": " Existing adversarial training (AT) methods often suffer from incomplete\nperturbation, meaning that not all non-robust features are perturbed when\ngenerating adversarial examples (AEs). This results in residual correlations\nbetween non-robust features and labels, leading to suboptimal learning of\nrobust features. However, achieving complete perturbation, i.e., perturbing as\nmany non-robust features as possible, is challenging due to the difficulty in\ndistinguishing robust and non-robust features and the sparsity of labeled data.\nTo address these challenges, we propose a novel approach called Weakly\nSupervised Contrastive Adversarial Training (WSCAT). WSCAT ensures complete\nperturbation for improved learning of robust features by disrupting\ncorrelations between non-robust features and labels through complete AE\ngeneration over partially labeled data, grounded in information theory.\nExtensive theoretical analysis and comprehensive experiments on widely adopted\nbenchmarks validate the superiority of WSCAT. Our code is available at\nhttps://github.com/zhang-lilin/WSCAT.\n", "date": "2025-03-14", "categories": []} {"id": "2503.16179", "title": "Narrowing Class-Wise Robustness Gaps in Adversarial Training", "abstract": " Efforts to address declining accuracy as a result of data shifts often\ninvolve various data-augmentation strategies. Adversarial training is one such\nmethod, designed to improve robustness to worst-case distribution shifts caused\nby adversarial examples. While this method can improve robustness, it may also\nhinder generalization to clean examples and exacerbate performance imbalances\nacross different classes. This paper explores the impact of adversarial\ntraining on both overall and class-specific performance, as well as its\nspill-over effects. We observe that enhanced labeling during training boosts\nadversarial robustness by 53.50% and mitigates class imbalances by 5.73%,\nleading to improved accuracy in both clean and adversarial settings compared to\nstandard adversarial training.\n", "date": "2025-03-20", "categories": []} {"id": "2403.01896", "title": "Robustness bounds on the successful adversarial examples in\n probabilistic models: Implications from Gaussian processes", "abstract": " Adversarial example (AE) is an attack method for machine learning, which is\ncrafted by adding imperceptible perturbation to the data inducing\nmisclassification. In the current paper, we investigated the upper bound of the\nprobability of successful AEs based on the Gaussian Process (GP)\nclassification, a probabilistic inference model. We proved a new upper bound of\nthe probability of a successful AE attack that depends on AE's perturbation\nnorm, the kernel function used in GP, and the distance of the closest pair with\ndifferent labels in the training dataset. Surprisingly, the upper bound is\ndetermined regardless of the distribution of the sample dataset. We showed that\nour theoretical result was confirmed through the experiment using ImageNet. In\naddition, we showed that changing the parameters of the kernel function induces\na change of the upper bound of the probability of successful AEs.\n", "date": "2024-03-04", "categories": []} {"id": "2408.00315", "title": "ADBM: Adversarial diffusion bridge model for reliable adversarial\n purification", "abstract": " Recently Diffusion-based Purification (DiffPure) has been recognized as an\neffective defense method against adversarial examples. However, we find\nDiffPure which directly employs the original pre-trained diffusion models for\nadversarial purification, to be suboptimal. This is due to an inherent\ntrade-off between noise purification performance and data recovery quality.\nAdditionally, the reliability of existing evaluations for DiffPure is\nquestionable, as they rely on weak adaptive attacks. In this work, we propose a\nnovel Adversarial Diffusion Bridge Model, termed ADBM. ADBM directly constructs\na reverse bridge from the diffused adversarial data back to its original clean\nexamples, enhancing the purification capabilities of the original diffusion\nmodels. Through theoretical analysis and experimental validation across various\nscenarios, ADBM has proven to be a superior and robust defense mechanism,\noffering significant promise for practical applications.\n", "date": "2024-08-01", "categories": []} {"id": "2410.12677", "title": "Efficient Optimization Algorithms for Linear Adversarial Training", "abstract": " Adversarial training can be used to learn models that are robust against\nperturbations. For linear models, it can be formulated as a convex optimization\nproblem. Compared to methods proposed in the context of deep learning,\nleveraging the optimization structure allows significantly faster convergence\nrates. Still, the use of generic convex solvers can be inefficient for\nlarge-scale problems. Here, we propose tailored optimization algorithms for the\nadversarial training of linear models, which render large-scale regression and\nclassification problems more tractable. For regression problems, we propose a\nfamily of solvers based on iterative ridge regression and, for classification,\na family of solvers based on projected gradient descent. The methods are based\non extended variable reformulations of the original problem. We illustrate\ntheir efficiency in numerical examples.\n", "date": "2024-10-16", "categories": []} {"id": "2410.15176", "title": "Adaptive Pruning with Module Robustness Sensitivity: Balancing\n Compression and Robustness", "abstract": " Neural network pruning has traditionally focused on weight-based criteria to\nachieve model compression, frequently overlooking the crucial balance between\nadversarial robustness and accuracy. Existing approaches often fail to preserve\nrobustness in pruned networks, leaving them more susceptible to adversarial\nattacks. This paper introduces Module Robustness Sensitivity (MRS), a novel\nmetric that quantifies layer-wise sensitivity to adversarial perturbations and\ndynamically informs pruning decisions. Leveraging MRS, we propose Module Robust\nPruning and Fine-Tuning (MRPF), an adaptive pruning algorithm compatible with\nany adversarial training method, offering both flexibility and scalability.\nExtensive experiments on SVHN, CIFAR, and Tiny-ImageNet across diverse\narchitectures, including ResNet, VGG, and MobileViT, demonstrate that MRPF\nsignificantly enhances adversarial robustness while maintaining competitive\naccuracy and computational efficiency. Furthermore, MRPF consistently\noutperforms state-of-the-art structured pruning methods in balancing\nrobustness, accuracy, and compression. This work establishes a practical and\ngeneralizable framework for robust pruning, addressing the long-standing\ntrade-off between model compression and robustness preservation.\n", "date": "2024-10-19", "categories": []} {"id": "2503.14751", "title": "LipShiFT: A Certifiably Robust Shift-based Vision Transformer", "abstract": " Deriving tight Lipschitz bounds for transformer-based architectures presents\na significant challenge. The large input sizes and high-dimensional attention\nmodules typically prove to be crucial bottlenecks during the training process\nand leads to sub-optimal results. Our research highlights practical constraints\nof these methods in vision tasks. We find that Lipschitz-based margin training\nacts as a strong regularizer while restricting weights in successive layers of\nthe model. Focusing on a Lipschitz continuous variant of the ShiftViT model, we\naddress significant training challenges for transformer-based architectures\nunder norm-constrained input setting. We provide an upper bound estimate for\nthe Lipschitz constants of this model using the $l_2$ norm on common image\nclassification datasets. Ultimately, we demonstrate that our method scales to\nlarger models and advances the state-of-the-art in certified robustness for\ntransformer-based architectures.\n", "date": "2025-03-18", "categories": []} {"id": "2503.15404", "title": "Improving Adversarial Transferability on Vision Transformers via Forward\n Propagation Refinement", "abstract": " Vision Transformers (ViTs) have been widely applied in various computer\nvision and vision-language tasks. To gain insights into their robustness in\npractical scenarios, transferable adversarial examples on ViTs have been\nextensively studied. A typical approach to improving adversarial\ntransferability is by refining the surrogate model. However, existing work on\nViTs has restricted their surrogate refinement to backward propagation. In this\nwork, we instead focus on Forward Propagation Refinement (FPR) and specifically\nrefine two key modules of ViTs: attention maps and token embeddings. For\nattention maps, we propose Attention Map Diversification (AMD), which\ndiversifies certain attention maps and also implicitly imposes beneficial\ngradient vanishing during backward propagation. For token embeddings, we\npropose Momentum Token Embedding (MTE), which accumulates historical token\nembeddings to stabilize the forward updates in both the Attention and MLP\nblocks. We conduct extensive experiments with adversarial examples transferred\nfrom ViTs to various CNNs and ViTs, demonstrating that our FPR outperforms the\ncurrent best (backward) surrogate refinement by up to 7.0\\% on average. We also\nvalidate its superiority against popular defenses and its compatibility with\nother transfer methods. Codes and appendix are available at\nhttps://github.com/RYC-98/FPR.\n", "date": "2025-03-19", "categories": []} {"id": "2503.12874", "title": "Evolution-based Region Adversarial Prompt Learning for Robustness\n Enhancement in Vision-Language Models", "abstract": " Large pre-trained vision-language models (VLMs), such as CLIP, demonstrate\nimpressive generalization but remain highly vulnerable to adversarial examples\n(AEs). Previous work has explored robust text prompts through adversarial\ntraining, achieving some improvement in both robustness and generalization.\nHowever, they primarily rely on singlegradient direction perturbations (e.g.,\nPGD) to generate AEs, which lack diversity, resulting in limited improvement in\nadversarial robustness. To address these limitations, we propose an\nevolution-based region adversarial prompt tuning method called ER-APT, which\ncombines gradient methods with genetic evolution to generate more diverse and\nchallenging AEs. In each training iteration, we first generate AEs using\ntraditional gradient-based methods. Subsequently, a genetic evolution mechanism\nincorporating selection, mutation, and crossover is applied to optimize the\nAEs, ensuring a broader and more aggressive perturbation distribution.The final\nevolved AEs are used for prompt tuning, achieving region-based adversarial\noptimization instead of conventional single-point adversarial prompt tuning. We\nalso propose a dynamic loss weighting method to adjust prompt learning\nefficiency for accuracy and robustness. Experimental evaluations on various\nbenchmark datasets demonstrate the superiority of our proposed method,\noutperforming stateof-the-art APT methods. The code is released at\nhttps://github.com/jiaxiaojunQAQ/ER-APT.\n", "date": "2025-03-17", "categories": []} {"id": "2503.13945", "title": "Make the Most of Everything: Further Considerations on Disrupting\n Diffusion-based Customization", "abstract": " The fine-tuning technique for text-to-image diffusion models facilitates\nimage customization but risks privacy breaches and opinion manipulation.\nCurrent research focuses on prompt- or image-level adversarial attacks for\nanti-customization, yet it overlooks the correlation between these two levels\nand the relationship between internal modules and inputs. This hinders\nanti-customization performance in practical threat scenarios. We propose Dual\nAnti-Diffusion (DADiff), a two-stage adversarial attack targeting diffusion\ncustomization, which, for the first time, integrates the adversarial\nprompt-level attack into the generation process of image-level adversarial\nexamples. In stage 1, we generate prompt-level adversarial vectors to guide the\nsubsequent image-level attack. In stage 2, besides conducting the end-to-end\nattack on the UNet model, we disrupt its self- and cross-attention modules,\naiming to break the correlations between image pixels and align the\ncross-attention results computed using instance prompts and adversarial prompt\nvectors within the images. Furthermore, we introduce a local random timestep\ngradient ensemble strategy, which updates adversarial perturbations by\nintegrating random gradients from multiple segmented timesets. Experimental\nresults on various mainstream facial datasets demonstrate 10%-30% improvements\nin cross-prompt, keyword mismatch, cross-model, and cross-mechanism\nanti-customization with DADiff compared to existing methods.\n", "date": "2025-03-18", "categories": []} {"id": "2503.13962", "title": "Survey of Adversarial Robustness in Multimodal Large Language Models", "abstract": " Multimodal Large Language Models (MLLMs) have demonstrated exceptional\nperformance in artificial intelligence by facilitating integrated understanding\nacross diverse modalities, including text, images, video, audio, and speech.\nHowever, their deployment in real-world applications raises significant\nconcerns about adversarial vulnerabilities that could compromise their safety\nand reliability. Unlike unimodal models, MLLMs face unique challenges due to\nthe interdependencies among modalities, making them susceptible to\nmodality-specific threats and cross-modal adversarial manipulations. This paper\nreviews the adversarial robustness of MLLMs, covering different modalities. We\nbegin with an overview of MLLMs and a taxonomy of adversarial attacks tailored\nto each modality. Next, we review key datasets and evaluation metrics used to\nassess the robustness of MLLMs. After that, we provide an in-depth review of\nattacks targeting MLLMs across different modalities. Our survey also identifies\ncritical challenges and suggests promising future research directions.\n", "date": "2025-03-18", "categories": []} {"id": "2210.16371", "title": "Distributed Black-box Attack: Do Not Overestimate Black-box Attacks", "abstract": " As cloud computing becomes pervasive, deep learning models are deployed on\ncloud servers and then provided as APIs to end users. However, black-box\nadversarial attacks can fool image classification models without access to\nmodel structure and weights. Recent studies have reported attack success rates\nof over 95% with fewer than 1,000 queries. Then the question arises: whether\nblack-box attacks have become a real threat against cloud APIs? To shed some\nlight on this, our research indicates that black-box attacks are not as\neffective against cloud APIs as proposed in research papers due to several\ncommon mistakes that overestimate the efficiency of black-box attacks. To avoid\nsimilar mistakes, we conduct black-box attacks directly on cloud APIs rather\nthan local models.\n", "date": "2022-10-28", "categories": []} {"id": "2309.01102", "title": "CARNet: Collaborative Adversarial Resilience for Robust Underwater Image\n Enhancement and Perception", "abstract": " Due to the uneven absorption of different light wavelengths in aquatic\nenvironments, underwater images suffer from low visibility and clear color\ndeviations. With the advancement of autonomous underwater vehicles, extensive\nresearch has been conducted on learning-based underwater enhancement\nalgorithms. These works can generate visually pleasing enhanced images and\nmitigate the adverse effects of degraded images on subsequent perception tasks.\nHowever, learning-based methods are susceptible to the inherent fragility of\nadversarial attacks, causing significant disruption in enhanced results. In\nthis work, we introduce a collaborative adversarial resilience network, dubbed\nCARNet, for underwater image enhancement and subsequent detection tasks.\nConcretely, we first introduce an invertible network with strong\nperturbation-perceptual abilities to isolate attacks from underwater images,\npreventing interference with visual quality enhancement and perceptual tasks.\nFurthermore, an attack pattern discriminator is introduced to adaptively\nidentify and eliminate various types of attacks. Additionally, we propose a\nbilevel attack optimization strategy to heighten the robustness of the network\nagainst different types of attacks under the collaborative adversarial training\nof vision-driven and perception-driven attacks. Extensive experiments\ndemonstrate that the proposed method outputs visually appealing enhancement\nimages and performs an average 6.71% higher detection mAP than state-of-the-art\nmethods.\n", "date": "2023-09-03", "categories": []} {"id": "2404.17092", "title": "Robust and Efficient Adversarial Defense in SNNs via Image Purification\n and Joint Detection", "abstract": " Spiking Neural Networks (SNNs) aim to bridge the gap between neuroscience and\nmachine learning by emulating the structure of the human nervous system.\nHowever, like convolutional neural networks, SNNs are vulnerable to adversarial\nattacks. To tackle the challenge, we propose a biologically inspired\nmethodology to enhance the robustness of SNNs, drawing insights from the visual\nmasking effect and filtering theory. First, an end-to-end SNN-based image\npurification model is proposed to defend against adversarial attacks, including\na noise extraction network and a non-blind denoising network. The former\nnetwork extracts noise features from noisy images, while the latter component\nemploys a residual U-Net structure to reconstruct high-quality noisy images and\ngenerate clean images. Simultaneously, a multi-level firing SNN based on\nSqueeze-and-Excitation Network is introduced to improve the robustness of the\nclassifier. Crucially, the proposed image purification network serves as a\npre-processing module, avoiding modifications to classifiers. Unlike\nadversarial training, our method is highly flexible and can be seamlessly\nintegrated with other defense strategies. Experimental results on various\ndatasets demonstrate that the proposed methodology outperforms state-of-the-art\nbaselines in terms of defense effectiveness, training time, and resource\nconsumption.\n", "date": "2024-04-26", "categories": []} {"id": "2503.12683", "title": "Algebraic Adversarial Attacks on Explainability Models", "abstract": " Classical adversarial attacks are phrased as a constrained optimisation\nproblem. Despite the efficacy of a constrained optimisation approach to\nadversarial attacks, one cannot trace how an adversarial point was generated.\nIn this work, we propose an algebraic approach to adversarial attacks and study\nthe conditions under which one can generate adversarial examples for post-hoc\nexplainability models. Phrasing neural networks in the framework of geometric\ndeep learning, algebraic adversarial attacks are constructed through analysis\nof the symmetry groups of neural networks. Algebraic adversarial examples\nprovide a mathematically tractable approach to adversarial examples. We\nvalidate our approach of algebraic adversarial examples on two well-known and\none real-world dataset.\n", "date": "2025-03-16", "categories": []} {"id": "2407.20657", "title": "Prompt-Driven Contrastive Learning for Transferable Adversarial Attacks", "abstract": " Recent vision-language foundation models, such as CLIP, have demonstrated\nsuperior capabilities in learning representations that can be transferable\nacross diverse range of downstream tasks and domains. With the emergence of\nsuch powerful models, it has become crucial to effectively leverage their\ncapabilities in tackling challenging vision tasks. On the other hand, only a\nfew works have focused on devising adversarial examples that transfer well to\nboth unknown domains and model architectures. In this paper, we propose a novel\ntransfer attack method called PDCL-Attack, which leverages the CLIP model to\nenhance the transferability of adversarial perturbations generated by a\ngenerative model-based attack framework. Specifically, we formulate an\neffective prompt-driven feature guidance by harnessing the semantic\nrepresentation power of text, particularly from the ground-truth class labels\nof input images. To the best of our knowledge, we are the first to introduce\nprompt learning to enhance the transferable generative attacks. Extensive\nexperiments conducted across various cross-domain and cross-model settings\nempirically validate our approach, demonstrating its superiority over\nstate-of-the-art methods.\n", "date": "2024-07-30", "categories": []} {"id": "2408.13809", "title": "On the Robustness of Kolmogorov-Arnold Networks: An Adversarial\n Perspective", "abstract": " Kolmogorov-Arnold Networks (KANs) have recently emerged as a novel approach\nto function approximation, demonstrating remarkable potential in various\ndomains. Despite their theoretical promise, the robustness of KANs under\nadversarial conditions has yet to be thoroughly examined. In this paper we\nexplore the adversarial robustness of KANs, with a particular focus on image\nclassification tasks. We assess the performance of KANs against standard white\nbox and black-box adversarial attacks, comparing their resilience to that of\nestablished neural network architectures. Our experimental evaluation\nencompasses a variety of standard image classification benchmark datasets and\ninvestigates both fully connected and convolutional neural network\narchitectures, of three sizes: small, medium, and large. We conclude that\nsmall- and medium-sized KANs (either fully connected or convolutional) are not\nconsistently more robust than their standard counterparts, but that large-sized\nKANs are, by and large, more robust. This comprehensive evaluation of KANs in\nadversarial scenarios offers the first in-depth analysis of KAN security,\nlaying the groundwork for future research in this emerging field.\n", "date": "2024-08-25", "categories": []} {"id": "2411.19853", "title": "Towards Class-wise Robustness Analysis", "abstract": " While being very successful in solving many downstream tasks, the application\nof deep neural networks is limited in real-life scenarios because of their\nsusceptibility to domain shifts such as common corruptions, and adversarial\nattacks. The existence of adversarial examples and data corruption\nsignificantly reduces the performance of deep classification models.\nResearchers have made strides in developing robust neural architectures to\nbolster decisions of deep classifiers. However, most of these works rely on\neffective adversarial training methods, and predominantly focus on overall\nmodel robustness, disregarding class-wise differences in robustness, which are\ncritical. Exploiting weakly robust classes is a potential avenue for attackers\nto fool the image recognition models. Therefore, this study investigates\nclass-to-class biases across adversarially trained robust classification models\nto understand their latent space structures and analyze their strong and weak\nclass-wise properties. We further assess the robustness of classes against\ncommon corruptions and adversarial attacks, recognizing that class\nvulnerability extends beyond the number of correct classifications for a\nspecific class. We find that the number of false positives of classes as\nspecific target classes significantly impacts their vulnerability to attacks.\nThrough our analysis on the Class False Positive Score, we assess a fair\nevaluation of how susceptible each class is to misclassification.\n", "date": "2024-11-29", "categories": []} {"id": "2412.02171", "title": "Can't Slow me Down: Learning Robust and Hardware-Adaptive Object\n Detectors against Latency Attacks for Edge Devices", "abstract": " Object detection is a fundamental enabler for many real-time downstream\napplications such as autonomous driving, augmented reality and supply chain\nmanagement. However, the algorithmic backbone of neural networks is brittle to\nimperceptible perturbations in the system inputs, which were generally known as\nmisclassifying attacks. By targeting the real-time processing capability, a new\nclass of latency attacks are reported recently. They exploit new attack\nsurfaces in object detectors by creating a computational bottleneck in the\npost-processing module, that leads to cascading failure and puts the real-time\ndownstream tasks at risks. In this work, we take an initial attempt to defend\nagainst this attack via background-attentive adversarial training that is also\ncognizant of the underlying hardware capabilities. We first draw system-level\nconnections between latency attack and hardware capacity across heterogeneous\nGPU devices. Based on the particular adversarial behaviors, we utilize\nobjectness loss as a proxy and build background attention into the adversarial\ntraining pipeline, and achieve a reasonable balance between clean and robust\naccuracy. The extensive experiments demonstrate the defense effectiveness of\nrestoring real-time processing capability from $13$ FPS to $43$ FPS on Jetson\nOrin NX, with a better trade-off between the clean and robust accuracy.\n", "date": "2024-12-03", "categories": []} {"id": "2503.04385", "title": "Scale-Invariant Adversarial Attack against Arbitrary-scale\n Super-resolution", "abstract": " The advent of local continuous image function (LIIF) has garnered significant\nattention for arbitrary-scale super-resolution (SR) techniques. However, while\nthe vulnerabilities of fixed-scale SR have been assessed, the robustness of\ncontinuous representation-based arbitrary-scale SR against adversarial attacks\nremains an area warranting further exploration. The elaborately designed\nadversarial attacks for fixed-scale SR are scale-dependent, which will cause\ntime-consuming and memory-consuming problems when applied to arbitrary-scale\nSR. To address this concern, we propose a simple yet effective\n``scale-invariant'' SR adversarial attack method with good transferability,\ntermed SIAGT. Specifically, we propose to construct resource-saving attacks by\nexploiting finite discrete points of continuous representation. In addition, we\nformulate a coordinate-dependent loss to enhance the cross-model\ntransferability of the attack. The attack can significantly deteriorate the SR\nimages while introducing imperceptible distortion to the targeted\nlow-resolution (LR) images. Experiments carried out on three popular LIIF-based\nSR approaches and four classical SR datasets show remarkable attack performance\nand transferability of SIAGT.\n", "date": "2025-03-06", "categories": []} {"id": "2503.09735", "title": "Enhancing Adversarial Example Detection Through Model Explanation", "abstract": " Adversarial examples are a major problem for machine learning models, leading\nto a continuous search for effective defenses. One promising direction is to\nleverage model explanations to better understand and defend against these\nattacks. We looked at AmI, a method proposed by a NeurIPS 2018 spotlight paper\nthat uses model explanations to detect adversarial examples. Our study shows\nthat while AmI is a promising idea, its performance is too dependent on\nspecific settings (e.g., hyperparameter) and external factors such as the\noperating system and the deep learning framework used, and such drawbacks limit\nAmI's practical usage. Our findings highlight the need for more robust defense\nmechanisms that are effective under various conditions. In addition, we\nadvocate for a comprehensive evaluation framework for defense techniques.\n", "date": "2025-03-12", "categories": []} {"id": "2503.10081", "title": "AdvPaint: Protecting Images from Inpainting Manipulation via Adversarial\n Attention Disruption", "abstract": " The outstanding capability of diffusion models in generating high-quality\nimages poses significant threats when misused by adversaries. In particular, we\nassume malicious adversaries exploiting diffusion models for inpainting tasks,\nsuch as replacing a specific region with a celebrity. While existing methods\nfor protecting images from manipulation in diffusion-based generative models\nhave primarily focused on image-to-image and text-to-image tasks, the challenge\nof preventing unauthorized inpainting has been rarely addressed, often\nresulting in suboptimal protection performance. To mitigate inpainting abuses,\nwe propose ADVPAINT, a novel defensive framework that generates adversarial\nperturbations that effectively disrupt the adversary's inpainting tasks.\nADVPAINT targets the self- and cross-attention blocks in a target diffusion\ninpainting model to distract semantic understanding and prompt interactions\nduring image generation. ADVPAINT also employs a two-stage perturbation\nstrategy, dividing the perturbation region based on an enlarged bounding box\naround the object, enhancing robustness across diverse masks of varying shapes\nand sizes. Our experimental results demonstrate that ADVPAINT's perturbations\nare highly effective in disrupting the adversary's inpainting tasks,\noutperforming existing methods; ADVPAINT attains over a 100-point increase in\nFID and substantial decreases in precision.\n", "date": "2025-03-13", "categories": []} {"id": "2503.10191", "title": "Robustness Tokens: Towards Adversarial Robustness of Transformers", "abstract": " Recently, large pre-trained foundation models have become widely adopted by\nmachine learning practitioners for a multitude of tasks. Given that such models\nare publicly available, relying on their use as backbone models for downstream\ntasks might result in high vulnerability to adversarial attacks crafted with\nthe same public model. In this work, we propose Robustness Tokens, a novel\napproach specific to the transformer architecture that fine-tunes a few\nadditional private tokens with low computational requirements instead of tuning\nmodel parameters as done in traditional adversarial training. We show that\nRobustness Tokens make Vision Transformer models significantly more robust to\nwhite-box adversarial attacks while also retaining the original downstream\nperformances.\n", "date": "2025-03-13", "categories": []} {"id": "2412.02371", "title": "TSCheater: Generating High-Quality Tibetan Adversarial Texts via Visual\n Similarity", "abstract": " Language models based on deep neural networks are vulnerable to textual\nadversarial attacks. While rich-resource languages like English are receiving\nfocused attention, Tibetan, a cross-border language, is gradually being studied\ndue to its abundant ancient literature and critical language strategy.\nCurrently, there are several Tibetan adversarial text generation methods, but\nthey do not fully consider the textual features of Tibetan script and\noverestimate the quality of generated adversarial texts. To address this issue,\nwe propose a novel Tibetan adversarial text generation method called TSCheater,\nwhich considers the characteristic of Tibetan encoding and the feature that\nvisually similar syllables have similar semantics. This method can also be\ntransferred to other abugidas, such as Devanagari script. We utilize a\nself-constructed Tibetan syllable visual similarity database called TSVSDB to\ngenerate substitution candidates and adopt a greedy algorithm-based scoring\nmechanism to determine substitution order. After that, we conduct the method on\neight victim language models. Experimentally, TSCheater outperforms existing\nmethods in attack effectiveness, perturbation magnitude, semantic similarity,\nvisual similarity, and human acceptance. Finally, we construct the first\nTibetan adversarial robustness evaluation benchmark called AdvTS, which is\ngenerated by existing methods and proofread by humans.\n", "date": "2024-12-03", "categories": []} {"id": "2503.08704", "title": "Life-Cycle Routing Vulnerabilities of LLM Router", "abstract": " Large language models (LLMs) have achieved remarkable success in natural\nlanguage processing, yet their performance and computational costs vary\nsignificantly. LLM routers play a crucial role in dynamically balancing these\ntrade-offs. While previous studies have primarily focused on routing\nefficiency, security vulnerabilities throughout the entire LLM router life\ncycle, from training to inference, remain largely unexplored. In this paper, we\npresent a comprehensive investigation into the life-cycle routing\nvulnerabilities of LLM routers. We evaluate both white-box and black-box\nadversarial robustness, as well as backdoor robustness, across several\nrepresentative routing models under extensive experimental settings. Our\nexperiments uncover several key findings: 1) Mainstream DNN-based routers tend\nto exhibit the weakest adversarial and backdoor robustness, largely due to\ntheir strong feature extraction capabilities that amplify vulnerabilities\nduring both training and inference; 2) Training-free routers demonstrate the\nstrongest robustness across different attack types, benefiting from the absence\nof learnable parameters that can be manipulated. These findings highlight\ncritical security risks spanning the entire life cycle of LLM routers and\nprovide insights for developing more robust models.\n", "date": "2025-03-09", "categories": []} {"id": "2503.08801", "title": "Enhanced Estimation Techniques for Certified Radii in Randomized\n Smoothing", "abstract": " This paper presents novel methods for estimating certified radii in\nrandomized smoothing, a technique crucial for certifying the robustness of\nneural networks against adversarial perturbations. Our proposed techniques\nsignificantly improve the accuracy of certified test-set accuracy by providing\ntighter bounds on the certified radii. We introduce advanced algorithms for\nboth discrete and continuous domains, demonstrating their effectiveness on\nCIFAR-10 and ImageNet datasets. The new methods show considerable improvements\nover existing approaches, particularly in reducing discrepancies in certified\nradii estimates. We also explore the impact of various hyperparameters,\nincluding sample size, standard deviation, and temperature, on the performance\nof these methods. Our findings highlight the potential for more efficient\ncertification processes and pave the way for future research on tighter\nconfidence sequences and improved theoretical frameworks. The study concludes\nwith a discussion of potential future directions, including enhanced estimation\ntechniques for discrete domains and further theoretical advancements to bridge\nthe gap between empirical and theoretical performance in randomized smoothing.\n", "date": "2025-03-11", "categories": []} {"id": "2503.08973", "title": "Quantitative Analysis of Deeply Quantized Tiny Neural Networks Robust to\n Adversarial Attacks", "abstract": " Reducing the memory footprint of Machine Learning (ML) models, especially\nDeep Neural Networks (DNNs), is imperative to facilitate their deployment on\nresource-constrained edge devices. However, a notable drawback of DNN models\nlies in their susceptibility to adversarial attacks, wherein minor input\nperturbations can deceive them. A primary challenge revolves around the\ndevelopment of accurate, resilient, and compact DNN models suitable for\ndeployment on resource-constrained edge devices. This paper presents the\noutcomes of a compact DNN model that exhibits resilience against both black-box\nand white-box adversarial attacks. This work has achieved this resilience\nthrough training with the QKeras quantization-aware training framework. The\nstudy explores the potential of QKeras and an adversarial robustness technique,\nJacobian Regularization (JR), to co-optimize the DNN architecture through\nper-layer JR methodology. As a result, this paper has devised a DNN model\nemploying this co-optimization strategy based on Stochastic Ternary\nQuantization (STQ). Its performance was compared against existing DNN models in\nthe face of various white-box and black-box attacks. The experimental findings\nrevealed that, the proposed DNN model had small footprint and on average, it\nexhibited better performance than Quanos and DS-CNN MLCommons/TinyML (MLC/T)\nbenchmarks when challenged with white-box and black-box attacks, respectively,\non the CIFAR-10 image and Google Speech Commands audio datasets.\n", "date": "2025-03-12", "categories": []} {"id": "2503.09124", "title": "AdvAD: Exploring Non-Parametric Diffusion for Imperceptible Adversarial\n Attacks", "abstract": " Imperceptible adversarial attacks aim to fool DNNs by adding imperceptible\nperturbation to the input data. Previous methods typically improve the\nimperceptibility of attacks by integrating common attack paradigms with\nspecifically designed perception-based losses or the capabilities of generative\nmodels. In this paper, we propose Adversarial Attacks in Diffusion (AdvAD), a\nnovel modeling framework distinct from existing attack paradigms. AdvAD\ninnovatively conceptualizes attacking as a non-parametric diffusion process by\ntheoretically exploring basic modeling approach rather than using the denoising\nor generation abilities of regular diffusion models requiring neural networks.\nAt each step, much subtler yet effective adversarial guidance is crafted using\nonly the attacked model without any additional network, which gradually leads\nthe end of diffusion process from the original image to a desired imperceptible\nadversarial example. Grounded in a solid theoretical foundation of the proposed\nnon-parametric diffusion process, AdvAD achieves high attack efficacy and\nimperceptibility with intrinsically lower overall perturbation strength.\nAdditionally, an enhanced version AdvAD-X is proposed to evaluate the extreme\nof our novel framework under an ideal scenario. Extensive experiments\ndemonstrate the effectiveness of the proposed AdvAD and AdvAD-X. Compared with\nstate-of-the-art imperceptible attacks, AdvAD achieves an average of 99.9$\\%$\n(+17.3$\\%$) ASR with 1.34 (-0.97) $l_2$ distance, 49.74 (+4.76) PSNR and 0.9971\n(+0.0043) SSIM against four prevalent DNNs with three different architectures\non the ImageNet-compatible dataset. Code is available at\nhttps://github.com/XianguiKang/AdvAD.\n", "date": "2025-03-12", "categories": []} {"id": "2403.16067", "title": "Adversarial Guided Diffusion Models for Adversarial Purification", "abstract": " Diffusion model (DM) based adversarial purification (AP) has proven to be a\npowerful defense method that can remove adversarial perturbations and generate\na purified example without threats. In principle, the pre-trained DMs can only\nensure that purified examples conform to the same distribution of the training\ndata, but it may inadvertently compromise the semantic information of input\nexamples, leading to misclassification of purified examples. Recent\nadvancements introduce guided diffusion techniques to preserve semantic\ninformation while removing the perturbations. However, these guidances often\nrely on distance measures between purified examples and diffused examples,\nwhich can also preserve perturbations in purified examples. To further unleash\nthe robustness power of DM-based AP, we propose an adversarial guided diffusion\nmodel (AGDM) by introducing a novel adversarial guidance that contains\nsufficient semantic information but does not explicitly involve adversarial\nperturbations. The guidance is modeled by an auxiliary neural network obtained\nwith adversarial training, considering the distance in the latent\nrepresentations rather than at the pixel-level values. Extensive experiments\nare conducted on CIFAR-10, CIFAR-100 and ImageNet to demonstrate that our\nmethod is effective for simultaneously maintaining semantic information and\nremoving the adversarial perturbations. In addition, comprehensive comparisons\nshow that our method significantly enhances the robustness of existing DM-based\nAP, with an average robust accuracy improved by up to 7.30% on CIFAR-10.\n", "date": "2024-03-24", "categories": []} {"id": "2411.15210", "title": "Towards Million-Scale Adversarial Robustness Evaluation With Stronger\n Individual Attacks", "abstract": " As deep learning models are increasingly deployed in safety-critical\napplications, evaluating their vulnerabilities to adversarial perturbations is\nessential for ensuring their reliability and trustworthiness. Over the past\ndecade, a large number of white-box adversarial robustness evaluation methods\n(i.e., attacks) have been proposed, ranging from single-step to multi-step\nmethods and from individual to ensemble methods. Despite these advances,\nchallenges remain in conducting meaningful and comprehensive robustness\nevaluations, particularly when it comes to large-scale testing and ensuring\nevaluations reflect real-world adversarial risks. In this work, we focus on\nimage classification models and propose a novel individual attack method,\nProbability Margin Attack (PMA), which defines the adversarial margin in the\nprobability space rather than the logits space. We analyze the relationship\nbetween PMA and existing cross-entropy or logits-margin-based attacks, and show\nthat PMA can outperform the current state-of-the-art individual methods.\nBuilding on PMA, we propose two types of ensemble attacks that balance\neffectiveness and efficiency. Furthermore, we create a million-scale dataset,\nCC1M, derived from the existing CC3M dataset, and use it to conduct the first\nmillion-scale white-box adversarial robustness evaluation of\nadversarially-trained ImageNet models. Our findings provide valuable insights\ninto the robustness gaps between individual versus ensemble attacks and\nsmall-scale versus million-scale evaluations.\n", "date": "2024-11-20", "categories": []} {"id": "2412.08014", "title": "MAGIC: Mastering Physical Adversarial Generation in Context through\n Collaborative LLM Agents", "abstract": " Physical adversarial attacks in driving scenarios can expose critical\nvulnerabilities in visual perception models. However, developing such attacks\nremains challenging due to diverse real-world environments and the requirement\nfor maintaining visual naturality. Building upon this challenge, we reformulate\nphysical adversarial attacks as a one-shot patch generation problem. Our\napproach generates adversarial patches through a deep generative model that\nconsiders the specific scene context, enabling direct physical deployment in\nmatching environments. The primary challenge lies in simultaneously achieving\ntwo objectives: generating adversarial patches that effectively mislead object\ndetection systems while determining contextually appropriate deployment within\nthe scene. We propose MAGIC (Mastering Physical Adversarial Generation In\nContext), a novel framework powered by multi-modal LLM agents to address these\nchallenges. MAGIC automatically understands scene context and generates\nadversarial patch through the synergistic interaction of language and vision\ncapabilities. In particular, MAGIC orchestrates three specialized LLM agents:\nThe adv-patch generation agent (GAgent) masters the creation of deceptive\npatches through strategic prompt engineering for text-to-image models. The\nadv-patch deployment agent (DAgent) ensures contextual coherence by determining\noptimal deployment strategies based on scene understanding. The\nself-examination agent (EAgent) completes this trilogy by providing critical\noversight and iterative refinement of both processes. We validate our method on\nboth digital and physical levels, i.e., nuImage and manually captured\nreal-world scenes, where both statistical and visual results prove that our\nMAGIC is powerful and effective for attacking widely applied object detection\nsystems, i.e., YOLO and DETR series.\n", "date": "2024-12-11", "categories": []} {"id": "2503.07818", "title": "Strengthening the Internal Adversarial Robustness in Lifted Neural\n Networks", "abstract": " Lifted neural networks (i.e. neural architectures explicitly optimizing over\nrespective network potentials to determine the neural activities) can be\ncombined with a type of adversarial training to gain robustness for internal as\nwell as input layers, in addition to improved generalization performance. In\nthis work we first investigate how adversarial robustness in this framework can\nbe further strengthened by solely modifying the training loss. In a second step\nwe fix some remaining limitations and arrive at a novel training loss for\nlifted neural networks, that combines targeted and untargeted adversarial\nperturbations.\n", "date": "2025-03-10", "categories": []} {"id": "2503.08226", "title": "A Grey-box Text Attack Framework using Explainable AI", "abstract": " Explainable AI is a strong strategy implemented to understand complex\nblack-box model predictions in a human interpretable language. It provides the\nevidence required to execute the use of trustworthy and reliable AI systems. On\nthe other hand, however, it also opens the door to locating possible\nvulnerabilities in an AI model. Traditional adversarial text attack uses word\nsubstitution, data augmentation techniques and gradient-based attacks on\npowerful pre-trained Bidirectional Encoder Representations from Transformers\n(BERT) variants to generate adversarial sentences. These attacks are generally\nwhitebox in nature and not practical as they can be easily detected by humans\nE.g. Changing the word from \"Poor\" to \"Rich\". We proposed a simple yet\neffective Grey-box cum Black-box approach that does not require the knowledge\nof the model while using a set of surrogate Transformer/BERT models to perform\nthe attack using Explainable AI techniques. As Transformers are the current\nstate-of-the-art models for almost all Natural Language Processing (NLP) tasks,\nan attack generated from BERT1 is transferable to BERT2. This transferability\nis made possible due to the attention mechanism in the transformer that allows\nthe model to capture long-range dependencies in a sequence. Using the power of\nBERT generalisation via attention, we attempt to exploit how transformers learn\nby attacking a few surrogate transformer variants which are all based on a\ndifferent architecture. We demonstrate that this approach is highly effective\nto generate semantically good sentences by changing as little as one word that\nis not detectable by humans while still fooling other BERT models.\n", "date": "2025-03-11", "categories": []} {"id": "2405.16918", "title": "The Uncanny Valley: Exploring Adversarial Robustness from a Flatness\n Perspective", "abstract": " Flatness of the loss surface not only correlates positively with\ngeneralization, but is also related to adversarial robustness since\nperturbations of inputs relate non-linearly to perturbations of weights. In\nthis paper, we empirically analyze the relation between adversarial examples\nand relative flatness with respect to the parameters of one layer. We observe a\npeculiar property of adversarial examples in the context of relative flatness:\nduring an iterative first-order white-box attack, the flatness of the loss\nsurface measured around the adversarial example first becomes sharper until the\nlabel is flipped, but if we keep the attack running, it runs into a flat\nuncanny valley where the label remains flipped. In extensive experiments, we\nobserve this phenomenon across various model architectures and datasets, even\nfor adversarially trained models. Our results also extend to large language\nmodels (LLMs), but due to the discrete nature of the input space and\ncomparatively weak attacks, adversarial examples rarely reach truly flat\nregions. Most importantly, this phenomenon shows that flatness alone cannot\nexplain adversarial robustness unless we can also guarantee the behavior of the\nfunction around the examples. We, therefore theoretically connect relative\nflatness to adversarial robustness by bounding the third derivative of the loss\nsurface, underlining the need for flatness in combination with a low global\nLipschitz constant for a robust model.\n", "date": "2024-05-27", "categories": []} {"id": "2406.08443", "title": "Transform-Dependent Adversarial Attacks", "abstract": " Deep networks are highly vulnerable to adversarial attacks, yet conventional\nattack methods utilize static adversarial perturbations that induce fixed\nmispredictions. In this work, we exploit an overlooked property of adversarial\nperturbations--their dependence on image transforms--and introduce\ntransform-dependent adversarial attacks. Unlike traditional attacks, our\nperturbations exhibit metamorphic properties, enabling diverse adversarial\neffects as a function of transformation parameters. We demonstrate that this\ntransform-dependent vulnerability exists across different architectures (e.g.,\nCNN and transformer), vision tasks (e.g., image classification and object\ndetection), and a wide range of image transforms. Additionally, we show that\ntransform-dependent perturbations can serve as a defense mechanism, preventing\nsensitive information disclosure when image enhancement transforms pose a risk\nof revealing private content. Through analysis in blackbox and defended model\nsettings, we show that transform-dependent perturbations achieve high targeted\nattack success rates, outperforming state-of-the-art transfer attacks by 17-31%\nin blackbox scenarios. Our work introduces novel, controllable paradigm for\nadversarial attack deployment, revealing a previously overlooked vulnerability\nin deep networks.\n", "date": "2024-06-12", "categories": []} {"id": "2412.03002", "title": "AdvDreamer Unveils: Are Vision-Language Models Truly Ready for\n Real-World 3D Variations?", "abstract": " Vision Language Models (VLMs) have exhibited remarkable generalization\ncapabilities, yet their robustness in dynamic real-world scenarios remains\nlargely unexplored. To systematically evaluate VLMs' robustness to real-world\n3D variations, we propose AdvDreamer, the first framework capable of generating\nphysically reproducible Adversarial 3D Transformation (Adv-3DT) samples from\nsingle-view observations. In AdvDreamer, we integrate three key innovations:\nFirstly, to characterize real-world 3D variations with limited prior knowledge\nprecisely, we design a zero-shot Monocular Pose Manipulation pipeline built\nupon generative 3D priors. Secondly, to ensure the visual quality of worst-case\nAdv-3DT samples, we propose a Naturalness Reward Model that provides continuous\nnaturalness regularization during adversarial optimization, effectively\npreventing convergence to hallucinated or unnatural elements. Thirdly, to\nenable systematic evaluation across diverse VLM architectures and\nvisual-language tasks, we introduce the Inverse Semantic Probability loss as\nthe adversarial optimization objective, which solely operates in the\nfundamental visual-textual alignment space. Based on the captured Adv-3DT\nsamples with high aggressiveness and transferability, we establish MM3DTBench,\nthe first VQA benchmark dataset tailored to evaluate VLM robustness under\nchallenging 3D variations. Extensive evaluations of representative VLMs with\nvarying architectures reveal that real-world 3D variations can pose severe\nthreats to model performance across various tasks.\n", "date": "2024-12-04", "categories": []} {"id": "2412.11168", "title": "PGD-Imp: Rethinking and Unleashing Potential of Classic PGD with Dual\n Strategies for Imperceptible Adversarial Attacks", "abstract": " Imperceptible adversarial attacks have recently attracted increasing research\ninterests. Existing methods typically incorporate external modules or loss\nterms other than a simple $l_p$-norm into the attack process to achieve\nimperceptibility, while we argue that such additional designs may not be\nnecessary. In this paper, we rethink the essence of imperceptible attacks and\npropose two simple yet effective strategies to unleash the potential of PGD,\nthe common and classical attack, for imperceptibility from an optimization\nperspective. Specifically, the Dynamic Step Size is introduced to find the\noptimal solution with minimal attack cost towards the decision boundary of the\nattacked model, and the Adaptive Early Stop strategy is adopted to reduce the\nredundant strength of adversarial perturbations to the minimum level. The\nproposed PGD-Imperceptible (PGD-Imp) attack achieves state-of-the-art results\nin imperceptible adversarial attacks for both untargeted and targeted\nscenarios. When performing untargeted attacks against ResNet-50, PGD-Imp\nattains 100$\\%$ (+0.3$\\%$) ASR, 0.89 (-1.76) $l_2$ distance, and 52.93 (+9.2)\nPSNR with 57s (-371s) running time, significantly outperforming existing\nmethods.\n", "date": "2024-12-15", "categories": []} {"id": "2502.14833", "title": "Probabilistic Robustness in Deep Learning: A Concise yet Comprehensive\n Guide", "abstract": " Deep learning (DL) has demonstrated significant potential across various\nsafety-critical applications, yet ensuring its robustness remains a key\nchallenge. While adversarial robustness has been extensively studied in\nworst-case scenarios, probabilistic robustness (PR) offers a more practical\nperspective by quantifying the likelihood of failures under stochastic\nperturbations. This paper provides a concise yet comprehensive overview of PR,\ncovering its formal definitions, evaluation and enhancement methods. We\nintroduce a reformulated ''min-max'' optimisation framework for adversarial\ntraining specifically designed to improve PR. Furthermore, we explore the\nintegration of PR verification evidence into system-level safety assurance,\naddressing challenges in translating DL model-level robustness to system-level\nclaims. Finally, we highlight open research questions, including benchmarking\nPR evaluation methods, extending PR to generative AI tasks, and developing\nrigorous methodologies and case studies for system-level integration.\n", "date": "2025-02-20", "categories": []} {"id": "2503.06559", "title": "MMARD: Improving the Min-Max Optimization Process in Adversarial\n Robustness Distillation", "abstract": " Adversarial Robustness Distillation (ARD) is a promising task to boost the\nrobustness of small-capacity models with the guidance of the pre-trained robust\nteacher. The ARD can be summarized as a min-max optimization process, i.e.,\nsynthesizing adversarial examples (inner) & training the student (outer).\nAlthough competitive robustness performance, existing ARD methods still have\nissues. In the inner process, the synthetic training examples are far from the\nteacher's decision boundary leading to important robust information missing. In\nthe outer process, the student model is decoupled from learning natural and\nrobust scenarios, leading to the robustness saturation, i.e., student\nperformance is highly susceptible to customized teacher selection. To tackle\nthese issues, this paper proposes a general Min-Max optimization Adversarial\nRobustness Distillation (MMARD) method. For the inner process, we introduce the\nteacher's robust predictions, which drive the training examples closer to the\nteacher's decision boundary to explore more robust knowledge. For the outer\nprocess, we propose a structured information modeling method based on\ntriangular relationships to measure the mutual information of the model in\nnatural and robust scenarios and enhance the model's ability to understand\nmulti-scenario mapping relationships. Experiments show our MMARD achieves\nstate-of-the-art performance on multiple benchmarks. Besides, MMARD is\nplug-and-play and convenient to combine with existing methods.\n", "date": "2025-03-09", "categories": []} {"id": "2503.07058", "title": "Breaking the Limits of Quantization-Aware Defenses: QADT-R for\n Robustness Against Patch-Based Adversarial Attacks in QNNs", "abstract": " Quantized Neural Networks (QNNs) have emerged as a promising solution for\nreducing model size and computational costs, making them well-suited for\ndeployment in edge and resource-constrained environments. While quantization is\nknown to disrupt gradient propagation and enhance robustness against\npixel-level adversarial attacks, its effectiveness against patch-based\nadversarial attacks remains largely unexplored. In this work, we demonstrate\nthat adversarial patches remain highly transferable across quantized models,\nachieving over 70\\% attack success rates (ASR) even at extreme bit-width\nreductions (e.g., 2-bit). This challenges the common assumption that\nquantization inherently mitigates adversarial threats. To address this, we\npropose Quantization-Aware Defense Training with Randomization (QADT-R), a\nnovel defense strategy that integrates Adaptive Quantization-Aware Patch\nGeneration (A-QAPA), Dynamic Bit-Width Training (DBWT), and\nGradient-Inconsistent Regularization (GIR) to enhance resilience against highly\ntransferable patch-based attacks. A-QAPA generates adversarial patches within\nquantized models, ensuring robustness across different bit-widths. DBWT\nintroduces bit-width cycling during training to prevent overfitting to a\nspecific quantization setting, while GIR injects controlled gradient\nperturbations to disrupt adversarial optimization. Extensive evaluations on\nCIFAR-10 and ImageNet show that QADT-R reduces ASR by up to 25\\% compared to\nprior defenses such as PBAT and DWQ. Our findings further reveal that\nPBAT-trained models, while effective against seen patch configurations, fail to\ngeneralize to unseen patches due to quantization shift. Additionally, our\nempirical analysis of gradient alignment, spatial sensitivity, and patch\nvisibility provides insights into the mechanisms that contribute to the high\ntransferability of patch-based attacks in QNNs.\n", "date": "2025-03-10", "categories": []} {"id": "2503.04853", "title": "From Pixels to Trajectory: Universal Adversarial Example Detection via\n Temporal Imprints", "abstract": " For the first time, we unveil discernible temporal (or historical) trajectory\nimprints resulting from adversarial example (AE) attacks. Standing in contrast\nto existing studies all focusing on spatial (or static) imprints within the\ntargeted underlying victim models, we present a fresh temporal paradigm for\nunderstanding these attacks. Of paramount discovery is that these imprints are\nencapsulated within a single loss metric, spanning universally across diverse\ntasks such as classification and regression, and modalities including image,\ntext, and audio. Recognizing the distinct nature of loss between adversarial\nand clean examples, we exploit this temporal imprint for AE detection by\nproposing TRAIT (TRaceable Adversarial temporal trajectory ImprinTs). TRAIT\noperates under minimal assumptions without prior knowledge of attacks, thereby\nframing the detection challenge as a one-class classification problem. However,\ndetecting AEs is still challenged by significant overlaps between the\nconstructed synthetic losses of adversarial and clean examples due to the\nabsence of ground truth for incoming inputs. TRAIT addresses this challenge by\nconverting the synthetic loss into a spectrum signature, using the technique of\nFast Fourier Transform to highlight the discrepancies, drawing inspiration from\nthe temporal nature of the imprints, analogous to time-series signals. Across\n12 AE attacks including SMACK (USENIX Sec'2023), TRAIT demonstrates consistent\noutstanding performance across comprehensively evaluated modalities, tasks,\ndatasets, and model architectures. In all scenarios, TRAIT achieves an AE\ndetection accuracy exceeding 97%, often around 99%, while maintaining a false\nrejection rate of 1%. TRAIT remains effective under the formulated strong\nadaptive attacks.\n", "date": "2025-03-06", "categories": []} {"id": "2503.04963", "title": "Energy-Latency Attacks: A New Adversarial Threat to Deep Learning", "abstract": " The growing computational demand for deep neural networks ( DNNs) has raised\nconcerns about their energy consumption and carbon footprint, particularly as\nthe size and complexity of the models continue to increase. To address these\nchallenges, energy-efficient hardware and custom accelerators have become\nessential. Additionally, adaptable DNN s are being developed to dynamically\nbalance performance and efficiency. The use of these strategies became more\ncommon to enable sustainable AI deployment. However, these efficiency-focused\ndesigns may also introduce vulnerabilities, as attackers can potentially\nexploit them to increase latency and energy usage by triggering their\nworst-case-performance scenarios. This new type of attack, called\nenergy-latency attacks, has recently gained significant research attention,\nfocusing on the vulnerability of DNN s to this emerging attack paradigm, which\ncan trigger denial-of-service ( DoS) attacks. This paper provides a\ncomprehensive overview of current research on energy-latency attacks,\ncategorizing them using the established taxonomy for traditional adversarial\nattacks. We explore different metrics used to measure the success of these\nattacks and provide an analysis and comparison of existing attack strategies.\nWe also analyze existing defense mechanisms and highlight current challenges\nand potential areas for future research in this developing field. The GitHub\npage for this work can be accessed at\nhttps://github.com/hbrachemi/Survey_energy_attacks/\n", "date": "2025-03-06", "categories": []} {"id": "2312.03286", "title": "Indirect Gradient Matching for Adversarial Robust Distillation", "abstract": " Adversarial training significantly improves adversarial robustness, but\nsuperior performance is primarily attained with large models. This substantial\nperformance gap for smaller models has spurred active research into adversarial\ndistillation (AD) to mitigate the difference. Existing AD methods leverage the\nteacher's logits as a guide. In contrast to these approaches, we aim to\ntransfer another piece of knowledge from the teacher, the input gradient. In\nthis paper, we propose a distillation module termed Indirect Gradient\nDistillation Module (IGDM) that indirectly matches the student's input gradient\nwith that of the teacher. Experimental results show that IGDM seamlessly\nintegrates with existing AD methods, significantly enhancing their performance.\nParticularly, utilizing IGDM on the CIFAR-100 dataset improves the AutoAttack\naccuracy from 28.06% to 30.32% with the ResNet-18 architecture and from 26.18%\nto 29.32% with the MobileNetV2 architecture when integrated into the SOTA\nmethod without additional data augmentation.\n", "date": "2023-12-06", "categories": []} {"id": "2402.01879", "title": "$\\sigma$-zero: Gradient-based Optimization of $\\ell_0$-norm Adversarial\n Examples", "abstract": " Evaluating the adversarial robustness of deep networks to gradient-based\nattacks is challenging. While most attacks consider $\\ell_2$- and\n$\\ell_\\infty$-norm constraints to craft input perturbations, only a few\ninvestigate sparse $\\ell_1$- and $\\ell_0$-norm attacks. In particular,\n$\\ell_0$-norm attacks remain the least studied due to the inherent complexity\nof optimizing over a non-convex and non-differentiable constraint. However,\nevaluating adversarial robustness under these attacks could reveal weaknesses\notherwise left untested with more conventional $\\ell_2$- and $\\ell_\\infty$-norm\nattacks. In this work, we propose a novel $\\ell_0$-norm attack, called\n$\\sigma$-zero, which leverages a differentiable approximation of the $\\ell_0$\nnorm to facilitate gradient-based optimization, and an adaptive projection\noperator to dynamically adjust the trade-off between loss minimization and\nperturbation sparsity. Extensive evaluations using MNIST, CIFAR10, and ImageNet\ndatasets, involving robust and non-robust models, show that\n$\\sigma$\\texttt{-zero} finds minimum $\\ell_0$-norm adversarial examples without\nrequiring any time-consuming hyperparameter tuning, and that it outperforms all\ncompeting sparse attacks in terms of success rate, perturbation size, and\nefficiency.\n", "date": "2024-02-02", "categories": []} {"id": "2410.02163", "title": "Adversarial Decoding: Generating Readable Documents for Adversarial\n Objectives", "abstract": " We design, implement, and evaluate adversarial decoding, a new, generic text\ngeneration technique that produces readable documents for different adversarial\nobjectives. Prior methods either produce easily detectable gibberish, or cannot\nhandle objectives that include embedding similarity. In particular, they only\nwork for direct attacks (such as jailbreaking) and cannot produce adversarial\ntext for realistic indirect injection, e.g., documents that (1) are retrieved\nin RAG systems in response to broad classes of queries, and also (2)\nadversarially influence subsequent generation. We also show that fluency (low\nperplexity) is not sufficient to evade filtering. We measure the effectiveness\nof adversarial decoding for different objectives, including RAG poisoning,\njailbreaking, and evasion of defensive filters, and demonstrate that it\noutperforms existing methods while producing readable adversarial documents.\n", "date": "2024-10-03", "categories": []} {"id": "2502.01262", "title": "FSPGD: Rethinking Black-box Attacks on Semantic Segmentation", "abstract": " Transferability, the ability of adversarial examples crafted for one model to\ndeceive other models, is crucial for black-box attacks. Despite advancements in\nattack methods for semantic segmentation, transferability remains limited,\nreducing their effectiveness in real-world applications. To address this, we\nintroduce the Feature Similarity Projected Gradient Descent (FSPGD) attack, a\nnovel black-box approach that enhances both attack performance and\ntransferability. Unlike conventional segmentation attacks that rely on output\npredictions for gradient calculation, FSPGD computes gradients from\nintermediate layer features. Specifically, our method introduces a loss\nfunction that targets local information by comparing features between clean\nimages and adversarial examples, while also disrupting contextual information\nby accounting for spatial relationships between objects. Experiments on Pascal\nVOC 2012 and Cityscapes datasets demonstrate that FSPGD achieves superior\ntransferability and attack performance, establishing a new state-of-the-art\nbenchmark. Code is available at https://github.com/KU-AIVS/FSPGD.\n", "date": "2025-02-03", "categories": []} {"id": "2503.03842", "title": "Task-Agnostic Attacks Against Vision Foundation Models", "abstract": " The study of security in machine learning mainly focuses on downstream\ntask-specific attacks, where the adversarial example is obtained by optimizing\na loss function specific to the downstream task. At the same time, it has\nbecome standard practice for machine learning practitioners to adopt publicly\navailable pre-trained vision foundation models, effectively sharing a common\nbackbone architecture across a multitude of applications such as\nclassification, segmentation, depth estimation, retrieval, question-answering\nand more. The study of attacks on such foundation models and their impact to\nmultiple downstream tasks remains vastly unexplored. This work proposes a\ngeneral framework that forges task-agnostic adversarial examples by maximally\ndisrupting the feature representation obtained with foundation models. We\nextensively evaluate the security of the feature representations obtained by\npopular vision foundation models by measuring the impact of this attack on\nmultiple downstream tasks and its transferability between models.\n", "date": "2025-03-05", "categories": []} {"id": "2405.16226", "title": "Detecting Adversarial Data using Perturbation Forgery", "abstract": " As a defense strategy against adversarial attacks, adversarial detection aims\nto identify and filter out adversarial data from the data flow based on\ndiscrepancies in distribution and noise patterns between natural and\nadversarial data. Although previous detection methods achieve high performance\nin detecting gradient-based adversarial attacks, new attacks based on\ngenerative models with imbalanced and anisotropic noise patterns evade\ndetection. Even worse, the significant inference time overhead and limited\nperformance against unseen attacks make existing techniques impractical for\nreal-world use. In this paper, we explore the proximity relationship among\nadversarial noise distributions and demonstrate the existence of an open\ncovering for these distributions. By training on the open covering of\nadversarial noise distributions, a detector with strong generalization\nperformance against various types of unseen attacks can be developed. Based on\nthis insight, we heuristically propose Perturbation Forgery, which includes\nnoise distribution perturbation, sparse mask generation, and pseudo-adversarial\ndata production, to train an adversarial detector capable of detecting any\nunseen gradient-based, generative-based, and physical adversarial attacks.\nComprehensive experiments conducted on multiple general and facial datasets,\nwith a wide spectrum of attacks, validate the strong generalization of our\nmethod.\n", "date": "2024-05-25", "categories": []} {"id": "2503.03613", "title": "CLIP is Strong Enough to Fight Back: Test-time Counterattacks towards\n Zero-shot Adversarial Robustness of CLIP", "abstract": " Despite its prevalent use in image-text matching tasks in a zero-shot manner,\nCLIP has been shown to be highly vulnerable to adversarial perturbations added\nonto images. Recent studies propose to finetune the vision encoder of CLIP with\nadversarial samples generated on the fly, and show improved robustness against\nadversarial attacks on a spectrum of downstream datasets, a property termed as\nzero-shot robustness. In this paper, we show that malicious perturbations that\nseek to maximise the classification loss lead to `falsely stable' images, and\npropose to leverage the pre-trained vision encoder of CLIP to counterattack\nsuch adversarial images during inference to achieve robustness. Our paradigm is\nsimple and training-free, providing the first method to defend CLIP from\nadversarial attacks at test time, which is orthogonal to existing methods\naiming to boost zero-shot adversarial robustness of CLIP. We conduct\nexperiments across 16 classification datasets, and demonstrate stable and\nconsistent gains compared to test-time defence methods adapted from existing\nadversarial robustness studies that do not rely on external networks, without\nnoticeably impairing performance on clean images. We also show that our\nparadigm can be employed on CLIP models that have been adversarially finetuned\nto further enhance their robustness at test time. Our code is available\n\\href{https://github.com/Sxing2/CLIP-Test-time-Counterattacks}{here}.\n", "date": "2025-03-05", "categories": []} {"id": "2308.10373", "title": "HoSNN: Adversarially-Robust Homeostatic Spiking Neural Networks with\n Adaptive Firing Thresholds", "abstract": " While spiking neural networks (SNNs) offer a promising neurally-inspired\nmodel of computation, they are vulnerable to adversarial attacks. We present\nthe first study that draws inspiration from neural homeostasis to design a\nthreshold-adapting leaky integrate-and-fire (TA-LIF) neuron model and utilize\nTA-LIF neurons to construct the adversarially robust homeostatic SNNs (HoSNNs)\nfor improved robustness. The TA-LIF model incorporates a self-stabilizing\ndynamic thresholding mechanism, offering a local feedback control solution to\nthe minimization of each neuron's membrane potential error caused by\nadversarial disturbance. Theoretical analysis demonstrates favorable dynamic\nproperties of TA-LIF neurons in terms of the bounded-input bounded-output\nstability and suppressed time growth of membrane potential error, underscoring\ntheir superior robustness compared with the standard LIF neurons. When trained\nwith weak FGSM attacks (attack budget = 2/255) and tested with much stronger\nPGD attacks (attack budget = 8/255), our HoSNNs significantly improve model\naccuracy on several datasets: from 30.54% to 74.91% on FashionMNIST, from 0.44%\nto 35.06% on SVHN, from 0.56% to 42.63% on CIFAR10, from 0.04% to 16.66% on\nCIFAR100, over the conventional LIF-based SNNs.\n", "date": "2023-08-20", "categories": []} {"id": "2310.04285", "title": "Assessing Robustness via Score-Based Adversarial Image Generation", "abstract": " Most adversarial attacks and defenses focus on perturbations within small\n$\\ell_p$-norm constraints. However, $\\ell_p$ threat models cannot capture all\nrelevant semantics-preserving perturbations, and hence, the scope of robustness\nevaluations is limited. In this work, we introduce Score-Based Adversarial\nGeneration (ScoreAG), a novel framework that leverages the advancements in\nscore-based generative models to generate unrestricted adversarial examples\nthat overcome the limitations of $\\ell_p$-norm constraints. Unlike traditional\nmethods, ScoreAG maintains the core semantics of images while generating\nadversarial examples, either by transforming existing images or synthesizing\nnew ones entirely from scratch. We further exploit the generative capability of\nScoreAG to purify images, empirically enhancing the robustness of classifiers.\nOur extensive empirical evaluation demonstrates that ScoreAG improves upon the\nmajority of state-of-the-art attacks and defenses across multiple benchmarks.\nThis work highlights the importance of investigating adversarial examples\nbounded by semantics rather than $\\ell_p$-norm constraints. ScoreAG represents\nan important step towards more encompassing robustness assessments.\n", "date": "2023-10-06", "categories": []} {"id": "2411.04376", "title": "Game-Theoretic Defenses for Robust Conformal Prediction Against\n Adversarial Attacks in Medical Imaging", "abstract": " Adversarial attacks pose significant threats to the reliability and safety of\ndeep learning models, especially in critical domains such as medical imaging.\nThis paper introduces a novel framework that integrates conformal prediction\nwith game-theoretic defensive strategies to enhance model robustness against\nboth known and unknown adversarial perturbations. We address three primary\nresearch questions: constructing valid and efficient conformal prediction sets\nunder known attacks (RQ1), ensuring coverage under unknown attacks through\nconservative thresholding (RQ2), and determining optimal defensive strategies\nwithin a zero-sum game framework (RQ3). Our methodology involves training\nspecialized defensive models against specific attack types and employing\nmaximum and minimum classifiers to aggregate defenses effectively. Extensive\nexperiments conducted on the MedMNIST datasets, including PathMNIST,\nOrganAMNIST, and TissueMNIST, demonstrate that our approach maintains high\ncoverage guarantees while minimizing prediction set sizes. The game-theoretic\nanalysis reveals that the optimal defensive strategy often converges to a\nsingular robust model, outperforming uniform and simple strategies across all\nevaluated datasets. This work advances the state-of-the-art in uncertainty\nquantification and adversarial robustness, providing a reliable mechanism for\ndeploying deep learning models in adversarial environments.\n", "date": "2024-11-07", "categories": []} {"id": "2401.15262", "title": "Asymptotic Behavior of Adversarial Training Estimator under\n $\\ell_\\infty$-Perturbation", "abstract": " Adversarial training has been proposed to protect machine learning models\nagainst adversarial attacks. This paper focuses on adversarial training under\n$\\ell_\\infty$-perturbation, which has recently attracted much research\nattention. The asymptotic behavior of the adversarial training estimator is\ninvestigated in the generalized linear model. The results imply that the\nasymptotic distribution of the adversarial training estimator under\n$\\ell_\\infty$-perturbation could put a positive probability mass at $0$ when\nthe true parameter is $0$, providing a theoretical guarantee of the associated\nsparsity-recovery ability. Alternatively, a two-step procedure is proposed --\nadaptive adversarial training, which could further improve the performance of\nadversarial training under $\\ell_\\infty$-perturbation. Specifically, the\nproposed procedure could achieve asymptotic variable-selection consistency and\nunbiasedness. Numerical experiments are conducted to show the sparsity-recovery\nability of adversarial training under $\\ell_\\infty$-perturbation and to compare\nthe empirical performance between classic adversarial training and adaptive\nadversarial training.\n", "date": "2024-01-27", "categories": []} {"id": "2402.09154", "title": "Attacking Large Language Models with Projected Gradient Descent", "abstract": " Current LLM alignment methods are readily broken through specifically crafted\nadversarial prompts. While crafting adversarial prompts using discrete\noptimization is highly effective, such attacks typically use more than 100,000\nLLM calls. This high computational cost makes them unsuitable for, e.g.,\nquantitative analyses and adversarial training. To remedy this, we revisit\nProjected Gradient Descent (PGD) on the continuously relaxed input prompt.\nAlthough previous attempts with ordinary gradient-based attacks largely failed,\nwe show that carefully controlling the error introduced by the continuous\nrelaxation tremendously boosts their efficacy. Our PGD for LLMs is up to one\norder of magnitude faster than state-of-the-art discrete optimization to\nachieve the same devastating attack results.\n", "date": "2024-02-14", "categories": []} {"id": "2405.01229", "title": "Boosting Jailbreak Attack with Momentum", "abstract": " Large Language Models (LLMs) have achieved remarkable success across diverse\ntasks, yet they remain vulnerable to adversarial attacks, notably the\nwell-known jailbreak attack. In particular, the Greedy Coordinate Gradient\n(GCG) attack has demonstrated efficacy in exploiting this vulnerability by\noptimizing adversarial prompts through a combination of gradient heuristics and\ngreedy search. However, the efficiency of this attack has become a bottleneck\nin the attacking process. To mitigate this limitation, in this paper we rethink\nthe generation of the adversarial prompts through an optimization lens, aiming\nto stabilize the optimization process and harness more heuristic insights from\nprevious optimization iterations. Specifically, we propose the\n\\textbf{M}omentum \\textbf{A}ccelerated G\\textbf{C}G (\\textbf{MAC}) attack,\nwhich integrates a momentum term into the gradient heuristic to boost and\nstabilize the random search for tokens in adversarial prompts. Experimental\nresults showcase the notable enhancement achieved by MAC over baselines in\nterms of attack success rate and optimization efficiency. Moreover, we\ndemonstrate that MAC can still exhibit superior performance for transfer\nattacks and models under defense mechanisms. Our code is available at\nhttps://github.com/weizeming/momentum-attack-llm.\n", "date": "2024-05-02", "categories": []} {"id": "2409.07002", "title": "AdvLogo: Adversarial Patch Attack against Object Detectors based on\n Diffusion Models", "abstract": " With the rapid development of deep learning, object detectors have\ndemonstrated impressive performance; however, vulnerabilities still exist in\ncertain scenarios. Current research exploring the vulnerabilities using\nadversarial patches often struggles to balance the trade-off between attack\neffectiveness and visual quality. To address this problem, we propose a novel\nframework of patch attack from semantic perspective, which we refer to as\nAdvLogo. Based on the hypothesis that every semantic space contains an\nadversarial subspace where images can cause detectors to fail in recognizing\nobjects, we leverage the semantic understanding of the diffusion denoising\nprocess and drive the process to adversarial subareas by perturbing the latent\nand unconditional embeddings at the last timestep. To mitigate the distribution\nshift that exposes a negative impact on image quality, we apply perturbation to\nthe latent in frequency domain with the Fourier Transform. Experimental results\ndemonstrate that AdvLogo achieves strong attack performance while maintaining\nhigh visual quality.\n", "date": "2024-09-11", "categories": []} {"id": "2409.19788", "title": "Exploring Adversarial Robustness in Classification tasks using DNA\n Language Models", "abstract": " DNA Language Models, such as GROVER, DNABERT2 and the Nucleotide Transformer,\noperate on DNA sequences that inherently contain sequencing errors, mutations,\nand laboratory-induced noise, which may significantly impact model performance.\nDespite the importance of this issue, the robustness of DNA language models\nremains largely underexplored. In this paper, we comprehensivly investigate\ntheir robustness in DNA classification by applying various adversarial attack\nstrategies: the character (nucleotide substitutions), word (codon\nmodifications), and sentence levels (back-translation-based transformations) to\nsystematically analyze model vulnerabilities. Our results demonstrate that DNA\nlanguage models are highly susceptible to adversarial attacks, leading to\nsignificant performance degradation. Furthermore, we explore adversarial\ntraining method as a defense mechanism, which enhances both robustness and\nclassification accuracy. This study highlights the limitations of DNA language\nmodels and underscores the necessity of robustness in bioinformatics.\n", "date": "2024-09-29", "categories": []} {"id": "2410.10322", "title": "Feature Averaging: An Implicit Bias of Gradient Descent Leading to\n Non-Robustness in Neural Networks", "abstract": " In this work, we investigate a particular implicit bias in gradient descent\ntraining, which we term \"Feature Averaging,\" and argue that it is one of the\nprincipal factors contributing to the non-robustness of deep neural networks.\nWe show that, even when multiple discriminative features are present in the\ninput data, neural networks trained by gradient descent tend to rely on an\naverage (or a certain combination) of these features for classification, rather\nthan distinguishing and leveraging each feature individually. Specifically, we\nprovide a detailed theoretical analysis of the training dynamics of two-layer\nReLU networks on a binary classification task, where the data distribution\nconsists of multiple clusters with mutually orthogonal centers. We rigorously\nprove that gradient descent biases the network towards feature averaging, where\nthe weights of each hidden neuron represent an average of the cluster centers\n(each corresponding to a distinct feature), thereby making the network\nvulnerable to input perturbations aligned with the negative direction of the\naveraged features. On the positive side, we demonstrate that this vulnerability\ncan be mitigated through more granular supervision. In particular, we prove\nthat a two-layer ReLU network can achieve optimal robustness when trained to\nclassify individual features rather than merely the original binary classes.\nFinally, we validate our theoretical findings with experiments on synthetic\ndatasets, MNIST, and CIFAR-10, and confirm the prevalence of feature averaging\nand its impact on adversarial robustness. We hope these theoretical and\nempirical insights deepen the understanding of how gradient descent shapes\nfeature learning and adversarial robustness, and how more detailed supervision\ncan enhance robustness.\n", "date": "2024-10-14", "categories": []} {"id": "2412.00537", "title": "Exact Certification of (Graph) Neural Networks Against Label Poisoning", "abstract": " Machine learning models are highly vulnerable to label flipping, i.e., the\nadversarial modification (poisoning) of training labels to compromise\nperformance. Thus, deriving robustness certificates is important to guarantee\nthat test predictions remain unaffected and to understand worst-case robustness\nbehavior. However, for Graph Neural Networks (GNNs), the problem of certifying\nlabel flipping has so far been unsolved. We change this by introducing an exact\ncertification method, deriving both sample-wise and collective certificates.\nOur method leverages the Neural Tangent Kernel (NTK) to capture the training\ndynamics of wide networks enabling us to reformulate the bilevel optimization\nproblem representing label flipping into a Mixed-Integer Linear Program (MILP).\nWe apply our method to certify a broad range of GNN architectures in node\nclassification tasks. Thereby, concerning the worst-case robustness to label\nflipping: $(i)$ we establish hierarchies of GNNs on different benchmark graphs;\n$(ii)$ quantify the effect of architectural choices such as activations, depth\nand skip-connections; and surprisingly, $(iii)$ uncover a novel phenomenon of\nthe robustness plateauing for intermediate perturbation budgets across all\ninvestigated datasets and architectures. While we focus on GNNs, our\ncertificates are applicable to sufficiently wide NNs in general through their\nNTK. Thus, our work presents the first exact certificate to a poisoning attack\never derived for neural networks, which could be of independent interest. The\ncode is available at https://github.com/saper0/qpcert.\n", "date": "2024-11-30", "categories": []} {"id": "2502.08079", "title": "MAA: Meticulous Adversarial Attack against Vision-Language Pre-trained\n Models", "abstract": " Current adversarial attacks for evaluating the robustness of vision-language\npre-trained (VLP) models in multi-modal tasks suffer from limited\ntransferability, where attacks crafted for a specific model often struggle to\ngeneralize effectively across different models, limiting their utility in\nassessing robustness more broadly. This is mainly attributed to the\nover-reliance on model-specific features and regions, particularly in the image\nmodality. In this paper, we propose an elegant yet highly effective method\ntermed Meticulous Adversarial Attack (MAA) to fully exploit model-independent\ncharacteristics and vulnerabilities of individual samples, achieving enhanced\ngeneralizability and reduced model dependence. MAA emphasizes fine-grained\noptimization of adversarial images by developing a novel resizing and sliding\ncrop (RScrop) technique, incorporating a multi-granularity similarity\ndisruption (MGSD) strategy. Extensive experiments across diverse VLP models,\nmultiple benchmark datasets, and a variety of downstream tasks demonstrate that\nMAA significantly enhances the effectiveness and transferability of adversarial\nattacks. A large cohort of performance studies is conducted to generate\ninsights into the effectiveness of various model configurations, guiding future\nadvancements in this domain.\n", "date": "2025-02-12", "categories": []} {"id": "2502.11858", "title": "Rethinking Audio-Visual Adversarial Vulnerability from Temporal and\n Modality Perspectives", "abstract": " While audio-visual learning equips models with a richer understanding of the\nreal world by leveraging multiple sensory modalities, this integration also\nintroduces new vulnerabilities to adversarial attacks.\n In this paper, we present a comprehensive study of the adversarial robustness\nof audio-visual models, considering both temporal and modality-specific\nvulnerabilities. We propose two powerful adversarial attacks: 1) a temporal\ninvariance attack that exploits the inherent temporal redundancy across\nconsecutive time segments and 2) a modality misalignment attack that introduces\nincongruence between the audio and visual modalities. These attacks are\ndesigned to thoroughly assess the robustness of audio-visual models against\ndiverse threats. Furthermore, to defend against such attacks, we introduce a\nnovel audio-visual adversarial training framework. This framework addresses key\nchallenges in vanilla adversarial training by incorporating efficient\nadversarial perturbation crafting tailored to multi-modal data and an\nadversarial curriculum strategy. Extensive experiments in the Kinetics-Sounds\ndataset demonstrate that our proposed temporal and modality-based attacks in\ndegrading model performance can achieve state-of-the-art performance, while our\nadversarial training defense largely improves the adversarial robustness as\nwell as the adversarial training efficiency.\n", "date": "2025-02-17", "categories": []} {"id": "2502.18176", "title": "CLIPure: Purification in Latent Space via CLIP for Adversarially Robust\n Zero-Shot Classification", "abstract": " In this paper, we aim to build an adversarially robust zero-shot image\nclassifier. We ground our work on CLIP, a vision-language pre-trained encoder\nmodel that can perform zero-shot classification by matching an image with text\nprompts ``a photo of a .''. Purification is the path we choose\nsince it does not require adversarial training on specific attack types and\nthus can cope with any foreseen attacks. We then formulate purification risk as\nthe KL divergence between the joint distributions of the purification process\nof denoising the adversarial samples and the attack process of adding\nperturbations to benign samples, through bidirectional Stochastic Differential\nEquations (SDEs). The final derived results inspire us to explore purification\nin the multi-modal latent space of CLIP. We propose two variants for our\nCLIPure approach: CLIPure-Diff which models the likelihood of images' latent\nvectors with the DiffusionPrior module in DaLLE-2 (modeling the generation\nprocess of CLIP's latent vectors), and CLIPure-Cos which models the likelihood\nwith the cosine similarity between the embeddings of an image and ``a photo of\na.''. As far as we know, CLIPure is the first purification method in\nmulti-modal latent space and CLIPure-Cos is the first purification method that\nis not based on generative models, which substantially improves defense\nefficiency. We conducted extensive experiments on CIFAR-10, ImageNet, and 13\ndatasets that previous CLIP-based defense methods used for evaluating zero-shot\nclassification robustness. Results show that CLIPure boosts the SOTA robustness\nby a large margin, e.g., from 71.7% to 91.1% on CIFAR10, from 59.6% to 72.6% on\nImageNet, and 108% relative improvements of average robustness on the 13\ndatasets over previous SOTA. The code is available at\nhttps://github.com/TMLResearchGroup-CAS/CLIPure.\n", "date": "2025-02-25", "categories": []} {"id": "2503.00377", "title": "Adversarial Attacks on Event-Based Pedestrian Detectors: A Physical\n Approach", "abstract": " Event cameras, known for their low latency and high dynamic range, show great\npotential in pedestrian detection applications. However, while recent research\nhas primarily focused on improving detection accuracy, the robustness of\nevent-based visual models against physical adversarial attacks has received\nlimited attention. For example, adversarial physical objects, such as specific\nclothing patterns or accessories, can exploit inherent vulnerabilities in these\nsystems, leading to misdetections or misclassifications. This study is the\nfirst to explore physical adversarial attacks on event-driven pedestrian\ndetectors, specifically investigating whether certain clothing patterns worn by\npedestrians can cause these detectors to fail, effectively rendering them\nunable to detect the person. To address this, we developed an end-to-end\nadversarial framework in the digital domain, framing the design of adversarial\nclothing textures as a 2D texture optimization problem. By crafting an\neffective adversarial loss function, the framework iteratively generates\noptimal textures through backpropagation. Our results demonstrate that the\ntextures identified in the digital domain possess strong adversarial\nproperties. Furthermore, we translated these digitally optimized textures into\nphysical clothing and tested them in real-world scenarios, successfully\ndemonstrating that the designed textures significantly degrade the performance\nof event-based pedestrian detection models. This work highlights the\nvulnerability of such models to physical adversarial attacks.\n", "date": "2025-03-01", "categories": []} {"id": "2503.00384", "title": "A Survey of Adversarial Defenses in Vision-based Systems:\n Categorization, Methods and Challenges", "abstract": " Adversarial attacks have emerged as a major challenge to the trustworthy\ndeployment of machine learning models, particularly in computer vision\napplications. These attacks have a varied level of potency and can be\nimplemented in both white box and black box approaches. Practical attacks\ninclude methods to manipulate the physical world and enforce adversarial\nbehaviour by the corresponding target neural network models. Multiple different\napproaches to mitigate different kinds of such attacks are available in the\nliterature, each with their own advantages and limitations. In this survey, we\npresent a comprehensive systematization of knowledge on adversarial defenses,\nfocusing on two key computer vision tasks: image classification and object\ndetection. We review the state-of-the-art adversarial defense techniques and\ncategorize them for easier comparison. In addition, we provide a schematic\nrepresentation of these categories within the context of the overall machine\nlearning pipeline, facilitating clearer understanding and benchmarking of\ndefenses. Furthermore, we map these defenses to the types of adversarial\nattacks and datasets where they are most effective, offering practical insights\nfor researchers and practitioners. This study is necessary for understanding\nthe scope of how the available defenses are able to address the adversarial\nthreats, and their shortcomings as well, which is necessary for driving the\nresearch in this area in the most appropriate direction, with the aim of\nbuilding trustworthy AI systems for regular practical use-cases.\n", "date": "2025-03-01", "categories": []} {"id": "2503.00932", "title": "Improving the Transferability of Adversarial Attacks by an Input\n Transpose", "abstract": " Deep neural networks (DNNs) are highly susceptible to adversarial\nexamples--subtle perturbations applied to inputs that are often imperceptible\nto humans yet lead to incorrect model predictions. In black-box scenarios,\nhowever, existing adversarial examples exhibit limited transferability and\nstruggle to effectively compromise multiple unseen DNN models. Previous\nstrategies enhance the cross-model generalization of adversarial examples by\nintroducing versatility into adversarial perturbations, thereby improving\ntransferability. However, further refining perturbation versatility often\ndemands intricate algorithm development and substantial computation\nconsumption. In this work, we propose an input transpose method that requires\nalmost no additional labor and computation costs but can significantly improve\nthe transferability of existing adversarial strategies. Even without adding\nadversarial perturbations, our method demonstrates considerable effectiveness\nin cross-model attacks. Our exploration finds that on specific datasets, a mere\n$1^\\circ$ left or right rotation might be sufficient for most adversarial\nexamples to deceive unseen models. Our further analysis suggests that this\ntransferability improvement triggered by rotating only $1^\\circ$ may stem from\nvisible pattern shifts in the DNN's low-level feature maps. Moreover, this\ntransferability exhibits optimal angles that, when identified under\nunrestricted query conditions, could potentially yield even greater\nperformance.\n", "date": "2025-03-02", "categories": []} {"id": "2503.01811", "title": "AutoAdvExBench: Benchmarking autonomous exploitation of adversarial\n example defenses", "abstract": " We introduce AutoAdvExBench, a benchmark to evaluate if large language models\n(LLMs) can autonomously exploit defenses to adversarial examples. Unlike\nexisting security benchmarks that often serve as proxies for real-world tasks,\nbench directly measures LLMs' success on tasks regularly performed by machine\nlearning security experts. This approach offers a significant advantage: if a\nLLM could solve the challenges presented in bench, it would immediately present\npractical utility for adversarial machine learning researchers. We then design\na strong agent that is capable of breaking 75% of CTF-like (\"homework\nexercise\") adversarial example defenses. However, we show that this agent is\nonly able to succeed on 13% of the real-world defenses in our benchmark,\nindicating the large gap between difficulty in attacking \"real\" code, and\nCTF-like code. In contrast, a stronger LLM that can attack 21% of real defenses\nonly succeeds on 54% of CTF-like defenses. We make this benchmark available at\nhttps://github.com/ethz-spylab/AutoAdvExBench.\n", "date": "2025-03-03", "categories": []} {"id": "2502.20562", "title": "LISArD: Learning Image Similarity to Defend Against Gray-box Adversarial\n Attacks", "abstract": " State-of-the-art defense mechanisms are typically evaluated in the context of\nwhite-box attacks, which is not realistic, as it assumes the attacker can\naccess the gradients of the target network. To protect against this scenario,\nAdversarial Training (AT) and Adversarial Distillation (AD) include adversarial\nexamples during the training phase, and Adversarial Purification uses a\ngenerative model to reconstruct all the images given to the classifier. This\npaper considers an even more realistic evaluation scenario: gray-box attacks,\nwhich assume that the attacker knows the architecture and the dataset used to\ntrain the target network, but cannot access its gradients. We provide empirical\nevidence that models are vulnerable to gray-box attacks and propose LISArD, a\ndefense mechanism that does not increase computational and temporal costs but\nprovides robustness against gray-box and white-box attacks without including\nAT. Our method approximates a cross-correlation matrix, created with the\nembeddings of perturbed and clean images, to a diagonal matrix while\nsimultaneously conducting classification learning. Our results show that LISArD\ncan effectively protect against gray-box attacks, can be used in multiple\narchitectures, and carries over its resilience to the white-box scenario. Also,\nstate-of-the-art AD models underperform greatly when removing AT and/or moving\nto gray-box settings, highlighting the lack of robustness from existing\napproaches to perform in various conditions (aside from white-box settings).\nAll the source code is available at https://github.com/Joana-Cabral/LISArD.\n", "date": "2025-02-27", "categories": []} {"id": "2502.20604", "title": "Exploring the Impact of Temperature Scaling in Softmax for\n Classification and Adversarial Robustness", "abstract": " The softmax function is a fundamental component in deep learning. This study\ndelves into the often-overlooked parameter within the softmax function, known\nas \"temperature,\" providing novel insights into the practical and theoretical\naspects of temperature scaling for image classification. Our empirical studies,\nadopting convolutional neural networks and transformers on multiple benchmark\ndatasets, reveal that moderate temperatures generally introduce better overall\nperformance. Through extensive experiments and rigorous theoretical analysis,\nwe explore the role of temperature scaling in model training and unveil that\ntemperature not only influences learning step size but also shapes the model's\noptimization direction. Moreover, for the first time, we discover a surprising\nbenefit of elevated temperatures: enhanced model robustness against common\ncorruption, natural perturbation, and non-targeted adversarial attacks like\nProjected Gradient Descent. We extend our discoveries to adversarial training,\ndemonstrating that, compared to the standard softmax function with the default\ntemperature value, higher temperatures have the potential to enhance\nadversarial training. The insights of this work open new avenues for improving\nmodel performance and security in deep learning applications.\n", "date": "2025-02-28", "categories": []} {"id": "2502.20948", "title": "Concealed Adversarial attacks on neural networks for sequential data", "abstract": " The emergence of deep learning led to the broad usage of neural networks in\nthe time series domain for various applications, including finance and\nmedicine. While powerful, these models are prone to adversarial attacks: a\nbenign targeted perturbation of input data leads to significant changes in a\nclassifier's output. However, formally small attacks in the time series domain\nbecome easily detected by the human eye or a simple detector model.\n We develop a concealed adversarial attack for different time-series models:\nit provides more realistic perturbations, being hard to detect by a human or\nmodel discriminator. To achieve this goal, the proposed adversarial attack\nmaximizes an aggregation of a classifier and a trained discriminator loss. To\nmake the attack stronger, we also propose a training procedure for a\ndiscriminator that provides broader coverage of possible attacks. Extensive\nbenchmarking on six UCR time series datasets across four diverse architectures\n- including recurrent, convolutional, state-space, and transformer-based models\n- demonstrates the superiority of our attack for a concealability-efficiency\ntrade-off. Our findings highlight the growing challenge of designing robust\ntime series models, emphasizing the need for improved defenses against\nrealistic and effective attacks.\n", "date": "2025-02-28", "categories": []} {"id": "2502.21279", "title": "L-Lipschitz Gershgorin ResNet Network", "abstract": " Deep residual networks (ResNets) have demonstrated outstanding success in\ncomputer vision tasks, attributed to their ability to maintain gradient flow\nthrough deep architectures. Simultaneously, controlling the Lipschitz bound in\nneural networks has emerged as an essential area of research for enhancing\nadversarial robustness and network certifiability. This paper uses a rigorous\napproach to design $\\mathcal{L}$-Lipschitz deep residual networks using a\nLinear Matrix Inequality (LMI) framework. The ResNet architecture was\nreformulated as a pseudo-tri-diagonal LMI with off-diagonal elements and\nderived closed-form constraints on network parameters to ensure\n$\\mathcal{L}$-Lipschitz continuity. To address the lack of explicit eigenvalue\ncomputations for such matrix structures, the Gershgorin circle theorem was\nemployed to approximate eigenvalue locations, guaranteeing the LMI's negative\nsemi-definiteness. Our contributions include a provable parameterization\nmethodology for constructing Lipschitz-constrained networks and a compositional\nframework for managing recursive systems within hierarchical architectures.\nThese findings enable robust network designs applicable to adversarial\nrobustness, certified training, and control systems. However, a limitation was\nidentified in the Gershgorin-based approximations, which over-constrain the\nsystem, suppressing non-linear dynamics and diminishing the network's\nexpressive capacity.\n", "date": "2025-02-28", "categories": []} {"id": "2502.19672", "title": "Improving Adversarial Transferability in MLLMs via Dynamic\n Vision-Language Alignment Attack", "abstract": " Multimodal Large Language Models (MLLMs), built upon LLMs, have recently\ngained attention for their capabilities in image recognition and understanding.\nHowever, while MLLMs are vulnerable to adversarial attacks, the transferability\nof these attacks across different models remains limited, especially under\ntargeted attack setting. Existing methods primarily focus on vision-specific\nperturbations but struggle with the complex nature of vision-language modality\nalignment. In this work, we introduce the Dynamic Vision-Language Alignment\n(DynVLA) Attack, a novel approach that injects dynamic perturbations into the\nvision-language connector to enhance generalization across diverse\nvision-language alignment of different models. Our experimental results show\nthat DynVLA significantly improves the transferability of adversarial examples\nacross various MLLMs, including BLIP2, InstructBLIP, MiniGPT4, LLaVA, and\nclosed-source models such as Gemini.\n", "date": "2025-02-27", "categories": []} {"id": "2502.19710", "title": "SAP-DIFF: Semantic Adversarial Patch Generation for Black-Box Face\n Recognition Models via Diffusion Models", "abstract": " Given the need to evaluate the robustness of face recognition (FR) models,\nmany efforts have focused on adversarial patch attacks that mislead FR models\nby introducing localized perturbations. Impersonation attacks are a significant\nthreat because adversarial perturbations allow attackers to disguise themselves\nas legitimate users. This can lead to severe consequences, including data\nbreaches, system damage, and misuse of resources. However, research on such\nattacks in FR remains limited. Existing adversarial patch generation methods\nexhibit limited efficacy in impersonation attacks due to (1) the need for high\nattacker capabilities, (2) low attack success rates, and (3) excessive query\nrequirements. To address these challenges, we propose a novel method SAP-DIFF\nthat leverages diffusion models to generate adversarial patches via semantic\nperturbations in the latent space rather than direct pixel manipulation. We\nintroduce an attention disruption mechanism to generate features unrelated to\nthe original face, facilitating the creation of adversarial samples and a\ndirectional loss function to guide perturbations toward the target identity\nfeature space, thereby enhancing attack effectiveness and efficiency. Extensive\nexperiments on popular FR models and datasets demonstrate that our method\noutperforms state-of-the-art approaches, achieving an average attack success\nrate improvement of 45.66% (all exceeding 40%), and a reduction in the number\nof queries by about 40% compared to the SOTA approach\n", "date": "2025-02-27", "categories": []} {"id": "2502.19757", "title": "Snowball Adversarial Attack on Traffic Sign Classification", "abstract": " Adversarial attacks on machine learning models often rely on small,\nimperceptible perturbations to mislead classifiers. Such strategy focuses on\nminimizing the visual perturbation for humans so they are not confused, and\nalso maximizing the misclassification for machine learning algorithms. An\northogonal strategy for adversarial attacks is to create perturbations that are\nclearly visible but do not confuse humans, yet still maximize misclassification\nfor machine learning algorithms. This work follows the later strategy, and\ndemonstrates instance of it through the Snowball Adversarial Attack in the\ncontext of traffic sign recognition. The attack leverages the human brain's\nsuperior ability to recognize objects despite various occlusions, while machine\nlearning algorithms are easily confused. The evaluation shows that the Snowball\nAdversarial Attack is robust across various images and is able to confuse\nstate-of-the-art traffic sign recognition algorithm. The findings reveal that\nSnowball Adversarial Attack can significantly degrade model performance with\nminimal effort, raising important concerns about the vulnerabilities of deep\nneural networks and highlighting the necessity for improved defenses for image\nrecognition machine learning models.\n", "date": "2025-02-27", "categories": []} {"id": "2410.08338", "title": "Time Traveling to Defend Against Adversarial Example Attacks in Image\n Classification", "abstract": " Adversarial example attacks have emerged as a critical threat to machine\nlearning. Adversarial attacks in image classification abuse various, minor\nmodifications to the image that confuse the image classification neural network\n-- while the image still remains recognizable to humans. One important domain\nwhere the attacks have been applied is in the automotive setting with traffic\nsign classification. Researchers have demonstrated that adding stickers,\nshining light, or adding shadows are all different means to make machine\nlearning inference algorithms mis-classify the traffic signs. This can cause\npotentially dangerous situations as a stop sign is recognized as a speed limit\nsign causing vehicles to ignore it and potentially leading to accidents. To\naddress these attacks, this work focuses on enhancing defenses against such\nadversarial attacks. This work shifts the advantage to the user by introducing\nthe idea of leveraging historical images and majority voting. While the\nattacker modifies a traffic sign that is currently being processed by the\nvictim's machine learning inference, the victim can gain advantage by examining\npast images of the same traffic sign. This work introduces the notion of ''time\ntraveling'' and uses historical Street View images accessible to anybody to\nperform inference on different, past versions of the same traffic sign. In the\nevaluation, the proposed defense has 100% effectiveness against latest\nadversarial example attack on traffic sign classification algorithm.\n", "date": "2024-10-10", "categories": []} {"id": "2411.18776", "title": "Fall Leaf Adversarial Attack on Traffic Sign Classification", "abstract": " Adversarial input image perturbation attacks have emerged as a significant\nthreat to machine learning algorithms, particularly in image classification\nsetting. These attacks involve subtle perturbations to input images that cause\nneural networks to misclassify the input images, even though the images remain\neasily recognizable to humans. One critical area where adversarial attacks have\nbeen demonstrated is in automotive systems where traffic sign classification\nand recognition is critical, and where misclassified images can cause\nautonomous systems to take wrong actions. This work presents a new class of\nadversarial attacks. Unlike existing work that has focused on adversarial\nperturbations that leverage human-made artifacts to cause the perturbations,\nsuch as adding stickers, paint, or shining flashlights at traffic signs, this\nwork leverages nature-made artifacts: tree leaves. By leveraging nature-made\nartifacts, the new class of attacks has plausible deniability: a fall leaf\nstuck to a street sign could come from a near-by tree, rather than be placed\nthere by an malicious human attacker. To evaluate the new class of the\nadversarial input image perturbation attacks, this work analyses how fall\nleaves can cause misclassification in street signs. The work evaluates various\nleaves from different species of trees, and considers various parameters such\nas size, color due to tree leaf type, and rotation. The work demonstrates high\nsuccess rate for misclassification. The work also explores the correlation\nbetween successful attacks and how they affect the edge detection, which is\ncritical in many image classification algorithms.\n", "date": "2024-11-27", "categories": []} {"id": "2502.18724", "title": "Adversarial Universal Stickers: Universal Perturbation Attacks on\n Traffic Sign using Stickers", "abstract": " Adversarial attacks on deep learning models have proliferated in recent\nyears. In many cases, a different adversarial perturbation is required to be\nadded to each image to cause the deep learning model to misclassify it. This is\nineffective as each image has to be modified in a different way. Meanwhile,\nresearch on universal perturbations focuses on designing a single perturbation\nthat can be applied to all images in a data set, and cause a deep learning\nmodel to misclassify the images. This work advances the field of universal\nperturbations by exploring universal perturbations in the context of traffic\nsigns and autonomous vehicle systems. This work introduces a novel method for\ngenerating universal perturbations that visually look like simple black and\nwhite stickers, and using them to cause incorrect street sign predictions.\nUnlike traditional adversarial perturbations, the adversarial universal\nstickers are designed to be applicable to any street sign: same sticker, or\nstickers, can be applied in same location to any street sign and cause it to be\nmisclassified. Further, to enable safe experimentation with adversarial images\nand street signs, this work presents a virtual setting that leverages Street\nView images of street signs, rather than the need to physically modify street\nsigns, to test the attacks. The experiments in the virtual setting demonstrate\nthat these stickers can consistently mislead deep learning models used commonly\nin street sign recognition, and achieve high attack success rates on dataset of\nUS traffic signs. The findings highlight the practical security risks posed by\nsimple stickers applied to traffic signs, and the ease with which adversaries\ncan generate adversarial universal stickers that can be applied to many street\nsigns.\n", "date": "2025-02-26", "categories": []} {"id": "2405.13922", "title": "Towards Certification of Uncertainty Calibration under Adversarial\n Attacks", "abstract": " Since neural classifiers are known to be sensitive to adversarial\nperturbations that alter their accuracy, \\textit{certification methods} have\nbeen developed to provide provable guarantees on the insensitivity of their\npredictions to such perturbations. Furthermore, in safety-critical\napplications, the frequentist interpretation of the confidence of a classifier\n(also known as model calibration) can be of utmost importance. This property\ncan be measured via the Brier score or the expected calibration error. We show\nthat attacks can significantly harm calibration, and thus propose certified\ncalibration as worst-case bounds on calibration under adversarial\nperturbations. Specifically, we produce analytic bounds for the Brier score and\napproximate bounds via the solution of a mixed-integer program on the expected\ncalibration error. Finally, we propose novel calibration attacks and\ndemonstrate how they can improve model calibration through \\textit{adversarial\ncalibration training}.\n", "date": "2024-05-22", "categories": []} {"id": "2409.13232", "title": "Relationship between Uncertainty in DNNs and Adversarial Attacks", "abstract": " Deep Neural Networks (DNNs) have achieved state of the art results and even\noutperformed human accuracy in many challenging tasks, leading to DNNs adoption\nin a variety of fields including natural language processing, pattern\nrecognition, prediction, and control optimization. However, DNNs are\naccompanied by uncertainty about their results, causing them to predict an\noutcome that is either incorrect or outside of a certain level of confidence.\nThese uncertainties stem from model or data constraints, which could be\nexacerbated by adversarial attacks. Adversarial attacks aim to provide\nperturbed input to DNNs, causing the DNN to make incorrect predictions or\nincrease model uncertainty. In this review, we explore the relationship between\nDNN uncertainty and adversarial attacks, emphasizing how adversarial attacks\nmight raise DNN uncertainty.\n", "date": "2024-09-20", "categories": []} {"id": "2410.23091", "title": "CausalDiff: Causality-Inspired Disentanglement via Diffusion Model for\n Adversarial Defense", "abstract": " Despite ongoing efforts to defend neural classifiers from adversarial\nattacks, they remain vulnerable, especially to unseen attacks. In contrast,\nhumans are difficult to be cheated by subtle manipulations, since we make\njudgments only based on essential factors. Inspired by this observation, we\nattempt to model label generation with essential label-causative factors and\nincorporate label-non-causative factors to assist data generation. For an\nadversarial example, we aim to discriminate the perturbations as non-causative\nfactors and make predictions only based on the label-causative factors.\nConcretely, we propose a casual diffusion model (CausalDiff) that adapts\ndiffusion models for conditional data generation and disentangles the two types\nof casual factors by learning towards a novel casual information bottleneck\nobjective. Empirically, CausalDiff has significantly outperformed\nstate-of-the-art defense methods on various unseen attacks, achieving an\naverage robustness of 86.39% (+4.01%) on CIFAR-10, 56.25% (+3.13%) on\nCIFAR-100, and 82.62% (+4.93%) on GTSRB (German Traffic Sign Recognition\nBenchmark). The code is available at\nhttps://github.com/CAS-AISafetyBasicResearchGroup/CausalDiff.\n", "date": "2024-10-30", "categories": []} {"id": "2502.17972", "title": "Model-Free Adversarial Purification via Coarse-To-Fine Tensor Network\n Representation", "abstract": " Deep neural networks are known to be vulnerable to well-designed adversarial\nattacks. Although numerous defense strategies have been proposed, many are\ntailored to the specific attacks or tasks and often fail to generalize across\ndiverse scenarios. In this paper, we propose Tensor Network Purification (TNP),\na novel model-free adversarial purification method by a specially designed\ntensor network decomposition algorithm. TNP depends neither on the pre-trained\ngenerative model nor the specific dataset, resulting in strong robustness\nacross diverse adversarial scenarios. To this end, the key challenge lies in\nrelaxing Gaussian-noise assumptions of classical decompositions and\naccommodating the unknown distribution of adversarial perturbations. Unlike the\nlow-rank representation of classical decompositions, TNP aims to reconstruct\nthe unobserved clean examples from an adversarial example. Specifically, TNP\nleverages progressive downsampling and introduces a novel adversarial\noptimization objective to address the challenge of minimizing reconstruction\nerror but without inadvertently restoring adversarial perturbations. Extensive\nexperiments conducted on CIFAR-10, CIFAR-100, and ImageNet demonstrate that our\nmethod generalizes effectively across various norm threats, attack types, and\ntasks, providing a versatile and promising adversarial purification technique.\n", "date": "2025-02-25", "categories": []} {"id": "2402.02316", "title": "Your Diffusion Model is Secretly a Certifiably Robust Classifier", "abstract": " Generative learning, recognized for its effective modeling of data\ndistributions, offers inherent advantages in handling out-of-distribution\ninstances, especially for enhancing robustness to adversarial attacks. Among\nthese, diffusion classifiers, utilizing powerful diffusion models, have\ndemonstrated superior empirical robustness. However, a comprehensive\ntheoretical understanding of their robustness is still lacking, raising\nconcerns about their vulnerability to stronger future attacks. In this study,\nwe prove that diffusion classifiers possess $O(1)$ Lipschitzness, and establish\ntheir certified robustness, demonstrating their inherent resilience. To achieve\nnon-constant Lipschitzness, thereby obtaining much tighter certified\nrobustness, we generalize diffusion classifiers to classify Gaussian-corrupted\ndata. This involves deriving the evidence lower bounds (ELBOs) for these\ndistributions, approximating the likelihood using the ELBO, and calculating\nclassification probabilities via Bayes' theorem. Experimental results show the\nsuperior certified robustness of these Noised Diffusion Classifiers (NDCs).\nNotably, we achieve over 80% and 70% certified robustness on CIFAR-10 under\nadversarial perturbations with \\(\\ell_2\\) norms less than 0.25 and 0.5,\nrespectively, using a single off-the-shelf diffusion model without any\nadditional data.\n", "date": "2024-02-04", "categories": []} {"id": "2409.14424", "title": "Dormant: Defending against Pose-driven Human Image Animation", "abstract": " Pose-driven human image animation has achieved tremendous progress, enabling\nthe generation of vivid and realistic human videos from just one single photo.\nHowever, it conversely exacerbates the risk of image misuse, as attackers may\nuse one available image to create videos involving politics, violence, and\nother illegal content. To counter this threat, we propose Dormant, a novel\nprotection approach tailored to defend against pose-driven human image\nanimation techniques. Dormant applies protective perturbation to one human\nimage, preserving the visual similarity to the original but resulting in\npoor-quality video generation. The protective perturbation is optimized to\ninduce misextraction of appearance features from the image and create\nincoherence among the generated video frames. Our extensive evaluation across 8\nanimation methods and 4 datasets demonstrates the superiority of Dormant over 6\nbaseline protection methods, leading to misaligned identities, visual\ndistortions, noticeable artifacts, and inconsistent frames in the generated\nvideos. Moreover, Dormant shows effectiveness on 6 real-world commercial\nservices, even with fully black-box access.\n", "date": "2024-09-22", "categories": []} {"id": "2410.06287", "title": "Non-Halting Queries: Exploiting Fixed Points in LLMs", "abstract": " We introduce a new vulnerability that exploits fixed points in autoregressive\nmodels and use it to craft queries that never halt. More precisely, for\nnon-halting queries, the LLM never samples the end-of-string token . We\nrigorously analyze the conditions under which the non-halting anomaly presents\nitself. In particular, at temperature zero, we prove that if a repeating\n(cyclic) token sequence is observed at the output beyond the context size, then\nthe LLM does not halt.\n We demonstrate non-halting queries in many experiments performed in base\nunaligned models where repeating prompts immediately lead to a non-halting\ncyclic behavior as predicted by the analysis. Further, we develop a simple\nrecipe that takes the same fixed points observed in the base model and creates\na prompt structure to target aligned models. We demonstrate the recipe's\nsuccess in sending every major model released over the past year into a\nnon-halting state with the same simple prompt even over higher temperatures.\nFurther, we devise an experiment with 100 randomly selected tokens and show\nthat the recipe to create non-halting queries succeeds with high success rates\nranging from 97% for GPT-4o to 19% for Gemini Pro 1.5. These results show that\nthe proposed adversarial recipe succeeds in bypassing alignment at one to two\norders of magnitude higher rates compared to earlier reports.\n We also study gradient-based direct inversion using ARCA to craft new short\nprompts to induce the non-halting state. We inverted 10,000 random repeating\n2-cycle outputs for llama-3.1-8b-instruct. Out of 10,000 three-token inverted\nprompts 1,512 yield non-halting queries reaching a rate of 15%. Our experiments\nwith ARCA show that non-halting may be easily induced with as few as 3 input\ntokens with high probability. Overall, our experiments demonstrate that\nnon-halting queries are prevalent and relatively easy to find.\n", "date": "2024-10-08", "categories": []} {"id": "2502.16012", "title": "Cross-Model Transferability of Adversarial Patches in Real-time\n Segmentation for Autonomous Driving", "abstract": " Adversarial attacks pose a significant threat to deep learning models,\nparticularly in safety-critical applications like healthcare and autonomous\ndriving. Recently, patch based attacks have demonstrated effectiveness in\nreal-time inference scenarios owing to their 'drag and drop' nature. Following\nthis idea for Semantic Segmentation (SS), here we propose a novel Expectation\nOver Transformation (EOT) based adversarial patch attack that is more realistic\nfor autonomous vehicles. To effectively train this attack we also propose a\n'simplified' loss function that is easy to analyze and implement. Using this\nattack as our basis, we investigate whether adversarial patches once optimized\non a specific SS model, can fool other models or architectures. We conduct a\ncomprehensive cross-model transferability analysis of adversarial patches\ntrained on SOTA Convolutional Neural Network (CNN) models such PIDNet-S,\nPIDNet-M and PIDNet-L, among others. Additionally, we also include the\nSegformer model to study transferability to Vision Transformers (ViTs). All of\nour analysis is conducted on the widely used Cityscapes dataset. Our study\nreveals key insights into how model architectures (CNN vs CNN or CNN vs.\nTransformer-based) influence attack susceptibility. In particular, we conclude\nthat although the transferability (effectiveness) of attacks on unseen images\nof any dimension is really high, the attacks trained against one particular\nmodel are minimally effective on other models. And this was found to be true\nfor both ViT and CNN based models. Additionally our results also indicate that\nfor CNN-based models, the repercussions of patch attacks are local, unlike\nViTs. Per-class analysis reveals that simple-classes like 'sky' suffer less\nmisclassification than others. The code for the project is available at:\nhttps://github.com/p-shekhar/adversarial-patch-transferability\n", "date": "2025-02-22", "categories": []} {"id": "2502.16044", "title": "A Multi-Scale Isolation Forest Approach for Real-Time Detection and\n Filtering of FGSM Adversarial Attacks in Video Streams of Autonomous Vehicles", "abstract": " Deep Neural Networks (DNNs) have demonstrated remarkable success across a\nwide range of tasks, particularly in fields such as image classification.\nHowever, DNNs are highly susceptible to adversarial attacks, where subtle\nperturbations are introduced to input images, leading to erroneous model\noutputs. In today's digital era, ensuring the security and integrity of images\nprocessed by DNNs is of critical importance. One of the most prominent\nadversarial attack methods is the Fast Gradient Sign Method (FGSM), which\nperturbs images in the direction of the loss gradient to deceive the model.\n This paper presents a novel approach for detecting and filtering FGSM\nadversarial attacks in image processing tasks. Our proposed method evaluates\n10,000 images, each subjected to five different levels of perturbation,\ncharacterized by $\\epsilon$ values of 0.01, 0.02, 0.05, 0.1, and 0.2. These\nperturbations are applied in the direction of the loss gradient. We demonstrate\nthat our approach effectively filters adversarially perturbed images,\nmitigating the impact of FGSM attacks.\n The method is implemented in Python, and the source code is publicly\navailable on GitHub for reproducibility and further research.\n", "date": "2025-02-22", "categories": []} {"id": "2502.16423", "title": "Unified Prompt Attack Against Text-to-Image Generation Models", "abstract": " Text-to-Image (T2I) models have advanced significantly, but their growing\npopularity raises security concerns due to their potential to generate harmful\nimages. To address these issues, we propose UPAM, a novel framework to evaluate\nthe robustness of T2I models from an attack perspective. Unlike prior methods\nthat focus solely on textual defenses, UPAM unifies the attack on both textual\nand visual defenses. Additionally, it enables gradient-based optimization,\novercoming reliance on enumeration for improved efficiency and effectiveness.\nTo handle cases where T2I models block image outputs due to defenses, we\nintroduce Sphere-Probing Learning (SPL) to enable optimization even without\nimage results. Following SPL, our model bypasses defenses, inducing the\ngeneration of harmful content. To ensure semantic alignment with attacker\nintent, we propose Semantic-Enhancing Learning (SEL) for precise semantic\ncontrol. UPAM also prioritizes the naturalness of adversarial prompts using\nIn-context Naturalness Enhancement (INE), making them harder for human\nexaminers to detect. Additionally, we address the issue of iterative\nqueries--common in prior methods and easily detectable by API defenders--by\nintroducing Transferable Attack Learning (TAL), allowing effective attacks with\nminimal queries. Extensive experiments validate UPAM's superiority in\neffectiveness, efficiency, naturalness, and low query detection rates.\n", "date": "2025-02-23", "categories": []} {"id": "2502.16734", "title": "Towards Optimal Adversarial Robust Reinforcement Learning with Infinity\n Measurement Error", "abstract": " Ensuring the robustness of deep reinforcement learning (DRL) agents against\nadversarial attacks is critical for their trustworthy deployment. Recent\nresearch highlights the challenges of achieving state-adversarial robustness\nand suggests that an optimal robust policy (ORP) does not always exist,\ncomplicating the enforcement of strict robustness constraints. In this paper,\nwe further explore the concept of ORP. We first introduce the Intrinsic\nState-adversarial Markov Decision Process (ISA-MDP), a novel formulation where\nadversaries cannot fundamentally alter the intrinsic nature of state\nobservations. ISA-MDP, supported by empirical and theoretical evidence,\nuniversally characterizes decision-making under state-adversarial paradigms. We\nrigorously prove that within ISA-MDP, a deterministic and stationary ORP\nexists, aligning with the Bellman optimal policy. Our findings theoretically\nreveal that improving DRL robustness does not necessarily compromise\nperformance in natural environments. Furthermore, we demonstrate the necessity\nof infinity measurement error (IME) in both $Q$-function and probability spaces\nto achieve ORP, unveiling vulnerabilities of previous DRL algorithms that rely\non $1$-measurement errors. Motivated by these insights, we develop the\nConsistent Adversarial Robust Reinforcement Learning (CAR-RL) framework, which\noptimizes surrogates of IME. We apply CAR-RL to both value-based and\npolicy-based DRL algorithms, achieving superior performance and validating our\ntheoretical analysis.\n", "date": "2025-02-23", "categories": []} {"id": "2502.16737", "title": "Keeping up with dynamic attackers: Certifying robustness to adaptive\n online data poisoning", "abstract": " The rise of foundation models fine-tuned on human feedback from potentially\nuntrusted users has increased the risk of adversarial data poisoning,\nnecessitating the study of robustness of learning algorithms against such\nattacks. Existing research on provable certified robustness against data\npoisoning attacks primarily focuses on certifying robustness for static\nadversaries who modify a fraction of the dataset used to train the model before\nthe training algorithm is applied. In practice, particularly when learning from\nhuman feedback in an online sense, adversaries can observe and react to the\nlearning process and inject poisoned samples that optimize adversarial\nobjectives better than when they are restricted to poisoning a static dataset\nonce, before the learning algorithm is applied. Indeed, it has been shown in\nprior work that online dynamic adversaries can be significantly more powerful\nthan static ones. We present a novel framework for computing certified bounds\non the impact of dynamic poisoning, and use these certificates to design robust\nlearning algorithms. We give an illustration of the framework for the mean\nestimation and binary classification problems and outline directions for\nextending this in further work. The code to implement our certificates and\nreplicate our results is available at\nhttps://github.com/Avinandan22/Certified-Robustness.\n", "date": "2025-02-23", "categories": []} {"id": "2502.17003", "title": "Improving the Transferability of Adversarial Examples by Inverse\n Knowledge Distillation", "abstract": " In recent years, the rapid development of deep neural networks has brought\nincreased attention to the security and robustness of these models. While\nexisting adversarial attack algorithms have demonstrated success in improving\nadversarial transferability, their performance remains suboptimal due to a lack\nof consideration for the discrepancies between target and source models. To\naddress this limitation, we propose a novel method, Inverse Knowledge\nDistillation (IKD), designed to enhance adversarial transferability\neffectively. IKD introduces a distillation-inspired loss function that\nseamlessly integrates with gradient-based attack methods, promoting diversity\nin attack gradients and mitigating overfitting to specific model architectures.\nBy diversifying gradients, IKD enables the generation of adversarial samples\nwith superior generalization capabilities across different models,\nsignificantly enhancing their effectiveness in black-box attack scenarios.\nExtensive experiments on the ImageNet dataset validate the effectiveness of our\napproach, demonstrating substantial improvements in the transferability and\nattack success rates of adversarial samples across a wide range of models.\n", "date": "2025-02-24", "categories": []} {"id": "2502.17099", "title": "Improved Diffusion-based Generative Model with Better Adversarial\n Robustness", "abstract": " Diffusion Probabilistic Models (DPMs) have achieved significant success in\ngenerative tasks. However, their training and sampling processes suffer from\nthe issue of distribution mismatch. During the denoising process, the input\ndata distributions differ between the training and inference stages,\npotentially leading to inaccurate data generation. To obviate this, we analyze\nthe training objective of DPMs and theoretically demonstrate that this mismatch\ncan be alleviated through Distributionally Robust Optimization (DRO), which is\nequivalent to performing robustness-driven Adversarial Training (AT) on DPMs.\nFurthermore, for the recently proposed Consistency Model (CM), which distills\nthe inference process of the DPM, we prove that its training objective also\nencounters the mismatch issue. Fortunately, this issue can be mitigated by AT\nas well. Based on these insights, we propose to conduct efficient AT on both\nDPM and CM. Finally, extensive empirical studies validate the effectiveness of\nAT in diffusion-based models. The code is available at\nhttps://github.com/kugwzk/AT_Diff.\n", "date": "2025-02-24", "categories": []} {"id": "2502.17121", "title": "Adversarial Training for Defense Against Label Poisoning Attacks", "abstract": " As machine learning models grow in complexity and increasingly rely on\npublicly sourced data, such as the human-annotated labels used in training\nlarge language models, they become more vulnerable to label poisoning attacks.\nThese attacks, in which adversaries subtly alter the labels within a training\ndataset, can severely degrade model performance, posing significant risks in\ncritical applications. In this paper, we propose FLORAL, a novel adversarial\ntraining defense strategy based on support vector machines (SVMs) to counter\nthese threats. Utilizing a bilevel optimization framework, we cast the training\nprocess as a non-zero-sum Stackelberg game between an attacker, who\nstrategically poisons critical training labels, and the model, which seeks to\nrecover from such attacks. Our approach accommodates various model\narchitectures and employs a projected gradient descent algorithm with kernel\nSVMs for adversarial training. We provide a theoretical analysis of our\nalgorithm's convergence properties and empirically evaluate FLORAL's\neffectiveness across diverse classification tasks. Compared to robust baselines\nand foundation models such as RoBERTa, FLORAL consistently achieves higher\nrobust accuracy under increasing attacker budgets. These results underscore the\npotential of FLORAL to enhance the resilience of machine learning models\nagainst label poisoning threats, thereby ensuring robust classification in\nadversarial settings.\n", "date": "2025-02-24", "categories": []} {"id": "2502.17254", "title": "REINFORCE Adversarial Attacks on Large Language Models: An Adaptive,\n Distributional, and Semantic Objective", "abstract": " To circumvent the alignment of large language models (LLMs), current\noptimization-based adversarial attacks usually craft adversarial prompts by\nmaximizing the likelihood of a so-called affirmative response. An affirmative\nresponse is a manually designed start of a harmful answer to an inappropriate\nrequest. While it is often easy to craft prompts that yield a substantial\nlikelihood for the affirmative response, the attacked model frequently does not\ncomplete the response in a harmful manner. Moreover, the affirmative objective\nis usually not adapted to model-specific preferences and essentially ignores\nthe fact that LLMs output a distribution over responses. If low attack success\nunder such an objective is taken as a measure of robustness, the true\nrobustness might be grossly overestimated. To alleviate these flaws, we propose\nan adaptive and semantic optimization problem over the population of responses.\nWe derive a generally applicable objective via the REINFORCE policy-gradient\nformalism and demonstrate its efficacy with the state-of-the-art jailbreak\nalgorithms Greedy Coordinate Gradient (GCG) and Projected Gradient Descent\n(PGD). For example, our objective doubles the attack success rate (ASR) on\nLlama3 and increases the ASR from 2% to 50% with circuit breaker defense.\n", "date": "2025-02-24", "categories": []} {"id": "2502.17392", "title": "Emoti-Attack: Zero-Perturbation Adversarial Attacks on NLP Systems via\n Emoji Sequences", "abstract": " Deep neural networks (DNNs) have achieved remarkable success in the field of\nnatural language processing (NLP), leading to widely recognized applications\nsuch as ChatGPT. However, the vulnerability of these models to adversarial\nattacks remains a significant concern. Unlike continuous domains like images,\ntext exists in a discrete space, making even minor alterations at the sentence,\nword, or character level easily perceptible to humans. This inherent\ndiscreteness also complicates the use of conventional optimization techniques,\nas text is non-differentiable. Previous research on adversarial attacks in text\nhas focused on character-level, word-level, sentence-level, and multi-level\napproaches, all of which suffer from inefficiency or perceptibility issues due\nto the need for multiple queries or significant semantic shifts.\n In this work, we introduce a novel adversarial attack method, Emoji-Attack,\nwhich leverages the manipulation of emojis to create subtle, yet effective,\nperturbations. Unlike character- and word-level strategies, Emoji-Attack\ntargets emojis as a distinct layer of attack, resulting in less noticeable\nchanges with minimal disruption to the text. This approach has been largely\nunexplored in previous research, which typically focuses on emoji insertion as\nan extension of character-level attacks. Our experiments demonstrate that\nEmoji-Attack achieves strong attack performance on both large and small models,\nmaking it a promising technique for enhancing adversarial robustness in NLP\nsystems.\n", "date": "2025-02-24", "categories": []} {"id": "2502.11910", "title": "Adversarial Alignment for LLMs Requires Simpler, Reproducible, and More\n Measurable Objectives", "abstract": " Misaligned research objectives have considerably hindered progress in\nadversarial robustness research over the past decade. For instance, an\nextensive focus on optimizing target metrics, while neglecting rigorous\nstandardized evaluation, has led researchers to pursue ad-hoc heuristic\ndefenses that were seemingly effective. Yet, most of these were exposed as\nflawed by subsequent evaluations, ultimately contributing little measurable\nprogress to the field. In this position paper, we illustrate that current\nresearch on the robustness of large language models (LLMs) risks repeating past\npatterns with potentially worsened real-world implications. To address this, we\nargue that realigned objectives are necessary for meaningful progress in\nadversarial alignment. To this end, we build on established cybersecurity\ntaxonomy to formally define differences between past and emerging threat models\nthat apply to LLMs. Using this framework, we illustrate that progress requires\ndisentangling adversarial alignment into addressable sub-problems and returning\nto core academic principles, such as measureability, reproducibility, and\ncomparability. Although the field presents significant challenges, the fresh\nstart on adversarial robustness offers the unique opportunity to build on past\nexperience while avoiding previous mistakes.\n", "date": "2025-02-17", "categories": []} {"id": "2502.14976", "title": "EigenShield: Causal Subspace Filtering via Random Matrix Theory for\n Adversarially Robust Vision-Language Models", "abstract": " Vision-Language Models (VLMs) inherit adversarial vulnerabilities of Large\nLanguage Models (LLMs), which are further exacerbated by their multimodal\nnature. Existing defenses, including adversarial training, input\ntransformations, and heuristic detection, are computationally expensive,\narchitecture-dependent, and fragile against adaptive attacks. We introduce\nEigenShield, an inference-time defense leveraging Random Matrix Theory to\nquantify adversarial disruptions in high-dimensional VLM representations.\nUnlike prior methods that rely on empirical heuristics, EigenShield employs the\nspiked covariance model to detect structured spectral deviations. Using a\nRobustness-based Nonconformity Score (RbNS) and quantile-based thresholding, it\nseparates causal eigenvectors, which encode semantic information, from\ncorrelational eigenvectors that are susceptible to adversarial artifacts. By\nprojecting embeddings onto the causal subspace, EigenShield filters adversarial\nnoise without modifying model parameters or requiring adversarial training.\nThis architecture-independent, attack-agnostic approach significantly reduces\nthe attack success rate, establishing spectral analysis as a principled\nalternative to conventional defenses. Our results demonstrate that EigenShield\nconsistently outperforms all existing defenses, including adversarial training,\nUNIGUARD, and CIDER.\n", "date": "2025-02-20", "categories": []} {"id": "2502.15017", "title": "Interpreting Adversarial Attacks and Defences using Architectures with\n Enhanced Interpretability", "abstract": " Adversarial attacks in deep learning represent a significant threat to the\nintegrity and reliability of machine learning models. Adversarial training has\nbeen a popular defence technique against these adversarial attacks. In this\nwork, we capitalize on a network architecture, namely Deep Linearly Gated\nNetworks (DLGN), which has better interpretation capabilities than regular deep\nnetwork architectures. Using this architecture, we interpret robust models\ntrained using PGD adversarial training and compare them with standard training.\nFeature networks in DLGN act as feature extractors, making them the only medium\nthrough which an adversary can attack the model. We analyze the feature network\nof DLGN with fully connected layers with respect to properties like alignment\nof the hyperplanes, hyperplane relation with PCA, and sub-network overlap among\nclasses and compare these properties between robust and standard models. We\nalso consider this architecture having CNN layers wherein we qualitatively\n(using visualizations) and quantitatively contrast gating patterns between\nrobust and standard models. We uncover insights into hyperplanes resembling\nprincipal components in PGD-AT and STD-TR models, with PGD-AT hyperplanes\naligned farther from the data points. We use path activity analysis to show\nthat PGD-AT models create diverse, non-overlapping active subnetworks across\nclasses, preventing attack-induced gating overlaps. Our visualization ideas\nshow the nature of representations learnt by PGD-AT and STD-TR models.\n", "date": "2025-02-20", "categories": []} {"id": "2501.13676", "title": "Certified Robustness Under Bounded Levenshtein Distance", "abstract": " Text classifiers suffer from small perturbations, that if chosen\nadversarially, can dramatically change the output of the model. Verification\nmethods can provide robustness certificates against such adversarial\nperturbations, by computing a sound lower bound on the robust accuracy.\nNevertheless, existing verification methods incur in prohibitive costs and\ncannot practically handle Levenshtein distance constraints. We propose the\nfirst method for computing the Lipschitz constant of convolutional classifiers\nwith respect to the Levenshtein distance. We use these Lipschitz constant\nestimates for training 1-Lipschitz classifiers. This enables computing the\ncertified radius of a classifier in a single forward pass. Our method, LipsLev,\nis able to obtain $38.80$% and $13.93$% verified accuracy at distance $1$ and\n$2$ respectively in the AG-News dataset, while being $4$ orders of magnitude\nfaster than existing approaches. We believe our work can open the door to more\nefficient verification in the text domain.\n", "date": "2025-01-23", "categories": []} {"id": "2502.14298", "title": "Generalization Certificates for Adversarially Robust Bayesian Linear\n Regression", "abstract": " Adversarial robustness of machine learning models is critical to ensuring\nreliable performance under data perturbations. Recent progress has been on\npoint estimators, and this paper considers distributional predictors. First,\nusing the link between exponential families and Bregman divergences, we\nformulate an adversarial Bregman divergence loss as an adversarial negative\nlog-likelihood. Using the geometric properties of Bregman divergences, we\ncompute the adversarial perturbation for such models in closed-form. Second,\nunder such losses, we introduce \\emph{adversarially robust posteriors}, by\nexploiting the optimization-centric view of generalized Bayesian inference.\nThird, we derive the \\emph{first} rigorous generalization certificates in the\ncontext of an adversarial extension of Bayesian linear regression by leveraging\nthe PAC-Bayesian framework. Finally, experiments on real and synthetic datasets\ndemonstrate the superior robustness of the derived adversarially robust\nposterior over Bayes posterior, and also validate our theoretical guarantees.\n", "date": "2025-02-20", "categories": []} {"id": "2502.14586", "title": "Moshi Moshi? A Model Selection Hijacking Adversarial Attack", "abstract": " Model selection is a fundamental task in Machine Learning~(ML), focusing on\nselecting the most suitable model from a pool of candidates by evaluating their\nperformance on specific metrics. This process ensures optimal performance,\ncomputational efficiency, and adaptability to diverse tasks and environments.\nDespite its critical role, its security from the perspective of adversarial ML\nremains unexplored. This risk is heightened in the\nMachine-Learning-as-a-Service model, where users delegate the training phase\nand the model selection process to third-party providers, supplying data and\ntraining strategies. Therefore, attacks on model selection could harm both the\nuser and the provider, undermining model performance and driving up operational\ncosts.\n In this work, we present MOSHI (MOdel Selection HIjacking adversarial\nattack), the first adversarial attack specifically targeting model selection.\nOur novel approach manipulates model selection data to favor the adversary,\neven without prior knowledge of the system. Utilizing a framework based on\nVariational Auto Encoders, we provide evidence that an attacker can induce\ninefficiencies in ML deployment. We test our attack on diverse computer vision\nand speech recognition benchmark tasks and different settings, obtaining an\naverage attack success rate of 75.42%. In particular, our attack causes an\naverage 88.30% decrease in generalization capabilities, an 83.33% increase in\nlatency, and an increase of up to 105.85% in energy consumption. These results\nhighlight the significant vulnerabilities in model selection processes and\ntheir potential impact on real-world applications.\n", "date": "2025-02-20", "categories": []} {"id": "2406.16342", "title": "Is your benchmark truly adversarial? AdvScore: Evaluating Human-Grounded\n Adversarialness", "abstract": " Adversarial datasets should validate AI robustness by providing samples on\nwhich humans perform well, but models do not. However, as models evolve,\ndatasets can become obsolete. Measuring whether a dataset remains adversarial\nis hindered by the lack of a standardized metric for measuring adversarialness.\nWe propose AdvScore, a human-grounded evaluation metric that assesses a\ndataset's adversarialness by capturing models' and humans' varying abilities\nwhile also identifying poor examples. We then use AdvScore to motivate a new\ndataset creation pipeline for realistic and high-quality adversarial samples,\nenabling us to collect an adversarial question answering (QA) dataset, AdvQA.\nWe apply AdvScore using 9,347 human responses and ten language models'\npredictions to track model improvement over five years, from 2020 to 2024.\nAdvScore thus provides guidance for achieving robustness comparable with human\ncapabilities. Furthermore, it helps determine to what extent adversarial\ndatasets continue to pose challenges, ensuring that, rather than reflecting\noutdated or overly artificial difficulties, they effectively test model\ncapabilities.\n", "date": "2024-06-24", "categories": []} {"id": "2408.11810", "title": "Pixel Is Not a Barrier: An Effective Evasion Attack for Pixel-Domain\n Diffusion Models", "abstract": " Diffusion Models have emerged as powerful generative models for high-quality\nimage synthesis, with many subsequent image editing techniques based on them.\nHowever, the ease of text-based image editing introduces significant risks,\nsuch as malicious editing for scams or intellectual property infringement.\nPrevious works have attempted to safeguard images from diffusion-based editing\nby adding imperceptible perturbations. These methods are costly and\nspecifically target prevalent Latent Diffusion Models (LDMs), while\nPixel-domain Diffusion Models (PDMs) remain largely unexplored and robust\nagainst such attacks. Our work addresses this gap by proposing a novel attack\nframework, AtkPDM. AtkPDM is mainly composed of a feature representation\nattacking loss that exploits vulnerabilities in denoising UNets and a latent\noptimization strategy to enhance the naturalness of adversarial images.\nExtensive experiments demonstrate the effectiveness of our approach in\nattacking dominant PDM-based editing methods (e.g., SDEdit) while maintaining\nreasonable fidelity and robustness against common defense methods.\nAdditionally, our framework is extensible to LDMs, achieving comparable\nperformance to existing approaches.\n", "date": "2024-08-21", "categories": []} {"id": "2410.04234", "title": "Functional Homotopy: Smoothing Discrete Optimization via Continuous\n Parameters for LLM Jailbreak Attacks", "abstract": " Optimization methods are widely employed in deep learning to identify and\nmitigate undesired model responses. While gradient-based techniques have proven\neffective for image models, their application to language models is hindered by\nthe discrete nature of the input space. This study introduces a novel\noptimization approach, termed the \\emph{functional homotopy} method, which\nleverages the functional duality between model training and input generation.\nBy constructing a series of easy-to-hard optimization problems, we iteratively\nsolve these problems using principles derived from established homotopy\nmethods. We apply this approach to jailbreak attack synthesis for large\nlanguage models (LLMs), achieving a $20\\%-30\\%$ improvement in success rate\nover existing methods in circumventing established safe open-source models such\nas Llama-2 and Llama-3.\n", "date": "2024-10-05", "categories": []} {"id": "2411.08133", "title": "Impactful Bit-Flip Search on Full-precision Models", "abstract": " Neural networks have shown remarkable performance in various tasks, yet they\nremain susceptible to subtle changes in their input or model parameters. One\nparticularly impactful vulnerability arises through the Bit-Flip Attack (BFA),\nwhere flipping a small number of critical bits in a model's parameters can\nseverely degrade its performance. A common technique for inducing bit flips in\nDRAM is the Row-Hammer attack, which exploits frequent uncached memory accesses\nto alter data. Identifying susceptible bits can be achieved through exhaustive\nsearch or progressive layer-by-layer analysis, especially in quantized\nnetworks. In this work, we introduce Impactful Bit-Flip Search (IBS), a novel\nmethod for efficiently pinpointing and flipping critical bits in full-precision\nnetworks. Additionally, we propose a Weight-Stealth technique that\nstrategically modifies the model's parameters in a way that maintains the float\nvalues within the original distribution, thereby bypassing simple range checks\noften used in tamper detection.\n", "date": "2024-11-12", "categories": []} {"id": "2502.10487", "title": "Fast Proxies for LLM Robustness Evaluation", "abstract": " Evaluating the robustness of LLMs to adversarial attacks is crucial for safe\ndeployment, yet current red-teaming methods are often prohibitively expensive.\nWe compare the ability of fast proxy metrics to predict the real-world\nrobustness of an LLM against a simulated attacker ensemble. This allows us to\nestimate a model's robustness to computationally expensive attacks without\nrequiring runs of the attacks themselves. Specifically, we consider\ngradient-descent-based embedding-space attacks, prefilling attacks, and direct\nprompting. Even though direct prompting in particular does not achieve high\nASR, we find that it and embedding-space attacks can predict attack success\nrates well, achieving $r_p=0.87$ (linear) and $r_s=0.94$ (Spearman rank)\ncorrelations with the full attack ensemble while reducing computational cost by\nthree orders of magnitude.\n", "date": "2025-02-14", "categories": []} {"id": "2502.11162", "title": "Logarithmic Width Suffices for Robust Memorization", "abstract": " The memorization capacity of neural networks with a given architecture has\nbeen thoroughly studied in many works. Specifically, it is well-known that\nmemorizing $N$ samples can be done using a network of constant width,\nindependent of $N$. However, the required constructions are often quite\ndelicate. In this paper, we consider the natural question of how well\nfeedforward ReLU neural networks can memorize robustly, namely while being able\nto withstand adversarial perturbations of a given radius. We establish both\nupper and lower bounds on the possible radius for general $l_p$ norms, implying\n(among other things) that width logarithmic in the number of input samples is\nnecessary and sufficient to achieve robust memorization (with robustness radius\nindependent of $N$).\n", "date": "2025-02-16", "categories": []} {"id": "2502.11725", "title": "Adversarially Robust CLIP Models Can Induce Better (Robust) Perceptual\n Metrics", "abstract": " Measuring perceptual similarity is a key tool in computer vision. In recent\nyears perceptual metrics based on features extracted from neural networks with\nlarge and diverse training sets, e.g. CLIP, have become popular. At the same\ntime, the metrics extracted from features of neural networks are not\nadversarially robust. In this paper we show that adversarially robust CLIP\nmodels, called R-CLIP$_\\textrm{F}$, obtained by unsupervised adversarial\nfine-tuning induce a better and adversarially robust perceptual metric that\noutperforms existing metrics in a zero-shot setting, and further matches the\nperformance of state-of-the-art metrics while being robust after fine-tuning.\nMoreover, our perceptual metric achieves strong performance on related tasks\nsuch as robust image-to-image retrieval, which becomes especially relevant when\napplied to \"Not Safe for Work\" (NSFW) content detection and dataset filtering.\nWhile standard perceptual metrics can be easily attacked by a small\nperturbation completely degrading NSFW detection, our robust perceptual metric\nmaintains high accuracy under an attack while having similar performance for\nunperturbed images. Finally, perceptual metrics induced by robust CLIP models\nhave higher interpretability: feature inversion can show which images are\nconsidered similar, while text inversion can find what images are associated to\na given prompt. This also allows us to visualize the very rich visual concepts\nlearned by a CLIP model, including memorized persons, paintings and complex\nqueries.\n", "date": "2025-02-17", "categories": []} {"id": "2502.11863", "title": "FedEAT: A Robustness Optimization Framework for Federated LLMs", "abstract": " Significant advancements have been made by Large Language Models (LLMs) in\nthe domains of natural language understanding and automated content creation.\nHowever, they still face persistent problems, including substantial\ncomputational costs and inadequate availability of training data. The\ncombination of Federated Learning (FL) and LLMs (federated LLMs) offers a\nsolution by leveraging distributed data while protecting privacy, which\npositions it as an ideal choice for sensitive domains. However, Federated LLMs\nstill suffer from robustness challenges, including data heterogeneity,\nmalicious clients, and adversarial attacks, which greatly hinder their\napplications. We first introduce the robustness problems in federated LLMs, to\naddress these challenges, we propose FedEAT (Federated Embedding space\nAdversarial Training), a novel framework that applies adversarial training in\nthe embedding space of client LLM and employs a robust aggregation approach,\nspecifically geometric median aggregation, to enhance the robustness of\nFederated LLMs. Our experiments demonstrate that FedEAT effectively improves\nthe robustness of Federated LLMs with minimal performance loss.\n", "date": "2025-02-17", "categories": []} {"id": "2305.17438", "title": "On the Importance of Backbone to the Adversarial Robustness of Object\n Detectors", "abstract": " Object detection is a critical component of various security-sensitive\napplications, such as autonomous driving and video surveillance. However,\nexisting object detectors are vulnerable to adversarial attacks, which poses a\nsignificant challenge to their reliability and security. Through experiments,\nfirst, we found that existing works on improving the adversarial robustness of\nobject detectors give a false sense of security. Second, we found that\nadversarially pre-trained backbone networks were essential for enhancing the\nadversarial robustness of object detectors. We then proposed a simple yet\neffective recipe for fast adversarial fine-tuning on object detectors with\nadversarially pre-trained backbones. Without any modifications to the structure\nof object detectors, our recipe achieved significantly better adversarial\nrobustness than previous works. Finally, we explored the potential of different\nmodern object detector designs for improving adversarial robustness with our\nrecipe and demonstrated interesting findings, which inspired us to design\nstate-of-the-art (SOTA) robust detectors. Our empirical results set a new\nmilestone for adversarially robust object detection. Code and trained\ncheckpoints are available at https://github.com/thu-ml/oddefense.\n", "date": "2023-05-27", "categories": []} {"id": "2402.00626", "title": "Vision-LLMs Can Fool Themselves with Self-Generated Typographic Attacks", "abstract": " Typographic attacks, adding misleading text to images, can deceive\nvision-language models (LVLMs). The susceptibility of recent large LVLMs like\nGPT4-V to such attacks is understudied, raising concerns about amplified\nmisinformation in personal assistant applications. Previous attacks use simple\nstrategies, such as random misleading words, which don't fully exploit LVLMs'\nlanguage reasoning abilities. We introduce an experimental setup for testing\ntypographic attacks on LVLMs and propose two novel self-generated attacks: (1)\nClass-based attacks, where the model identifies a similar class to deceive\nitself, and (2) Reasoned attacks, where an advanced LVLM suggests an attack\ncombining a deceiving class and description. Our experiments show these attacks\nsignificantly reduce classification performance by up to 60\\% and are effective\nacross different models, including InstructBLIP and MiniGPT4. Code:\nhttps://github.com/mqraitem/Self-Gen-Typo-Attack\n", "date": "2024-02-01", "categories": []} {"id": "2412.08555", "title": "Grimm: A Plug-and-Play Perturbation Rectifier for Graph Neural Networks\n Defending against Poisoning Attacks", "abstract": " Recent studies have revealed the vulnerability of graph neural networks\n(GNNs) to adversarial poisoning attacks on node classification tasks. Current\ndefensive methods require substituting the original GNNs with defense models,\nregardless of the original's type. This approach, while targeting adversarial\nrobustness, compromises the enhancements developed in prior research to boost\nGNNs' practical performance. Here we introduce Grimm, the first plug-and-play\ndefense model. With just a minimal interface requirement for extracting\nfeatures from any layer of the protected GNNs, Grimm is thus enabled to\nseamlessly rectify perturbations. Specifically, we utilize the feature\ntrajectories (FTs) generated by GNNs, as they evolve through epochs, to reflect\nthe training status of the networks. We then theoretically prove that the FTs\nof victim nodes will inevitably exhibit discriminable anomalies. Consequently,\ninspired by the natural parallelism between the biological nervous and immune\nsystems, we construct Grimm, a comprehensive artificial immune system for GNNs.\nGrimm not only detects abnormal FTs and rectifies adversarial edges during\ntraining but also operates efficiently in parallel, thereby mirroring the\nconcurrent functionalities of its biological counterparts. We experimentally\nconfirm that Grimm offers four empirically validated advantages: 1)\nHarmlessness, as it does not actively interfere with GNN training; 2)\nParallelism, ensuring monitoring, detection, and rectification functions\noperate independently of the GNN training process; 3) Generalizability,\ndemonstrating compatibility with mainstream GNNs such as GCN, GAT, and\nGraphSAGE; and 4) Transferability, as the detectors for abnormal FTs can be\nefficiently transferred across different systems for one-step rectification.\n", "date": "2024-12-11", "categories": []} {"id": "2502.09352", "title": "Wasserstein distributional adversarial training for deep neural networks", "abstract": " Design of adversarial attacks for deep neural networks, as well as methods of\nadversarial training against them, are subject of intense research. In this\npaper, we propose methods to train against distributional attack threats,\nextending the TRADES method used for pointwise attacks. Our approach leverages\nrecent contributions and relies on sensitivity analysis for Wasserstein\ndistributionally robust optimization problems. We introduce an efficient\nfine-tuning method which can be deployed on a previously trained model. We test\nour methods on a range of pre-trained models on RobustBench. These experimental\nresults demonstrate the additional training enhances Wasserstein distributional\nrobustness, while maintaining original levels of pointwise robustness, even for\nalready very successful networks. The improvements are less marked for models\npre-trained using huge synthetic datasets of 20-100M images. However,\nremarkably, sometimes our methods are still able to improve their performance\neven when trained using only the original training dataset (50k images).\n", "date": "2025-02-13", "categories": []} {"id": "2409.02483", "title": "TASAR: Transfer-based Attack on Skeletal Action Recognition", "abstract": " Skeletal sequence data, as a widely employed representation of human actions,\nare crucial in Human Activity Recognition (HAR). Recently, adversarial attacks\nhave been proposed in this area, which exposes potential security concerns, and\nmore importantly provides a good tool for model robustness test. Within this\nresearch, transfer-based attack is an important tool as it mimics the\nreal-world scenario where an attacker has no knowledge of the target model, but\nis under-explored in Skeleton-based HAR (S-HAR). Consequently, existing S-HAR\nattacks exhibit weak adversarial transferability and the reason remains largely\nunknown. In this paper, we investigate this phenomenon via the characterization\nof the loss function. We find that one prominent indicator of poor\ntransferability is the low smoothness of the loss function. Led by this\nobservation, we improve the transferability by properly smoothening the loss\nwhen computing the adversarial examples. This leads to the first Transfer-based\nAttack on Skeletal Action Recognition, TASAR. TASAR explores the smoothened\nmodel posterior of pre-trained surrogates, which is achieved by a new\npost-train Dual Bayesian optimization strategy. Furthermore, unlike existing\ntransfer-based methods which overlook the temporal coherence within sequences,\nTASAR incorporates motion dynamics into the Bayesian attack, effectively\ndisrupting the spatial-temporal coherence of S-HARs. For exhaustive evaluation,\nwe build the first large-scale robust S-HAR benchmark, comprising 7 S-HAR\nmodels, 10 attack methods, 3 S-HAR datasets and 2 defense models. Extensive\nresults demonstrate the superiority of TASAR. Our benchmark enables easy\ncomparisons for future studies, with the code available in the\nhttps://github.com/yunfengdiao/Skeleton-Robustness-Benchmark.\n", "date": "2024-09-04", "categories": []} {"id": "2502.07821", "title": "Amnesia as a Catalyst for Enhancing Black Box Pixel Attacks in Image\n Classification and Object Detection", "abstract": " It is well known that query-based attacks tend to have relatively higher\nsuccess rates in adversarial black-box attacks. While research on black-box\nattacks is actively being conducted, relatively few studies have focused on\npixel attacks that target only a limited number of pixels. In image\nclassification, query-based pixel attacks often rely on patches, which heavily\ndepend on randomness and neglect the fact that scattered pixels are more\nsuitable for adversarial attacks. Moreover, to the best of our knowledge,\nquery-based pixel attacks have not been explored in the field of object\ndetection. To address these issues, we propose a novel pixel-based black-box\nattack called Remember and Forget Pixel Attack using Reinforcement\nLearning(RFPAR), consisting of two main components: the Remember and Forget\nprocesses. RFPAR mitigates randomness and avoids patch dependency by leveraging\nrewards generated through a one-step RL algorithm to perturb pixels. RFPAR\neffectively creates perturbed images that minimize the confidence scores while\nadhering to limited pixel constraints. Furthermore, we advance our proposed\nattack beyond image classification to object detection, where RFPAR reduces the\nconfidence scores of detected objects to avoid detection. Experiments on the\nImageNet-1K dataset for classification show that RFPAR outperformed\nstate-of-the-art query-based pixel attacks. For object detection, using the\nMSCOCO dataset with YOLOv8 and DDQ, RFPAR demonstrates comparable mAP reduction\nto state-of-the-art query-based attack while requiring fewer query. Further\nexperiments on the Argoverse dataset using YOLOv8 confirm that RFPAR\neffectively removed objects on a larger scale dataset. Our code is available at\nhttps://github.com/KAU-QuantumAILab/RFPAR.\n", "date": "2025-02-10", "categories": []} {"id": "2502.08374", "title": "AdvSwap: Covert Adversarial Perturbation with High Frequency\n Info-swapping for Autonomous Driving Perception", "abstract": " Perception module of Autonomous vehicles (AVs) are increasingly susceptible\nto be attacked, which exploit vulnerabilities in neural networks through\nadversarial inputs, thereby compromising the AI safety. Some researches focus\non creating covert adversarial samples, but existing global noise techniques\nare detectable and difficult to deceive the human visual system. This paper\nintroduces a novel adversarial attack method, AdvSwap, which creatively\nutilizes wavelet-based high-frequency information swapping to generate covert\nadversarial samples and fool the camera. AdvSwap employs invertible neural\nnetwork for selective high-frequency information swapping, preserving both\nforward propagation and data integrity. The scheme effectively removes the\noriginal label data and incorporates the guidance image data, producing\nconcealed and robust adversarial samples. Experimental evaluations and\ncomparisons on the GTSRB and nuScenes datasets demonstrate that AdvSwap can\nmake concealed attacks on common traffic targets. The generates adversarial\nsamples are also difficult to perceive by humans and algorithms. Meanwhile, the\nmethod has strong attacking robustness and attacking transferability.\n", "date": "2025-02-12", "categories": []} {"id": "2408.08502", "title": "Efficient Image-to-Image Diffusion Classifier for Adversarial Robustness", "abstract": " Diffusion models (DMs) have demonstrated great potential in the field of\nadversarial robustness, where DM-based defense methods can achieve superior\ndefense capability without adversarial training. However, they all require huge\ncomputational costs due to the usage of large-scale pre-trained DMs, making it\ndifficult to conduct full evaluation under strong attacks and compare with\ntraditional CNN-based methods. Simply reducing the network size and timesteps\nin DMs could significantly harm the image generation quality, which invalidates\nprevious frameworks. To alleviate this issue, we redesign the diffusion\nframework from generating high-quality images to predicting distinguishable\nimage labels. Specifically, we employ an image translation framework to learn\nmany-to-one mapping from input samples to designed orthogonal image labels.\nBased on this framework, we introduce an efficient Image-to-Image diffusion\nclassifier with a pruned U-Net structure and reduced diffusion timesteps.\nBesides the framework, we redesign the optimization objective of DMs to fit the\ntarget of image classification, where a new classification loss is incorporated\nin the DM-based image translation framework to distinguish the generated label\nfrom those of other classes. We conduct sufficient evaluations of the proposed\nclassifier under various attacks on popular benchmarks. Extensive experiments\nshow that our method achieves better adversarial robustness with fewer\ncomputational costs than DM-based and CNN-based methods. The code is available\nat https://github.com/hfmei/IDC\n", "date": "2024-08-16", "categories": []} {"id": "2502.07232", "title": "Simplifying Adversarially Robust PAC Learning with Tolerance", "abstract": " Adversarially robust PAC learning has proved to be challenging, with the\ncurrently best known learners [Montasser et al., 2021a] relying on improper\nmethods based on intricate compression schemes, resulting in sample complexity\nexponential in the VC-dimension. A series of follow up work considered a\nslightly relaxed version of the problem called adversarially robust learning\nwith tolerance [Ashtiani et al., 2023, Bhattacharjee et al., 2023, Raman et\nal., 2024] and achieved better sample complexity in terms of the VC-dimension.\nHowever, those algorithms were either improper and complex, or required\nadditional assumptions on the hypothesis class H. We prove, for the first time,\nthe existence of a simpler learner that achieves a sample complexity linear in\nthe VC-dimension without requiring additional assumptions on H. Even though our\nlearner is improper, it is \"almost proper\" in the sense that it outputs a\nhypothesis that is \"similar\" to a hypothesis in H.\n We also use the ideas from our algorithm to construct a semi-supervised\nlearner in the tolerant setting. This simple algorithm achieves comparable\nbounds to the previous (non-tolerant) semi-supervised algorithm of Attias et\nal. [2022a], but avoids the use of intricate subroutines from previous works,\nand is \"almost proper.\"\n", "date": "2025-02-11", "categories": []} {"id": "2409.14161", "title": "When Witnesses Defend: A Witness Graph Topological Layer for Adversarial\n Graph Learning", "abstract": " Capitalizing on the intuitive premise that shape characteristics are more\nrobust to perturbations, we bridge adversarial graph learning with the emerging\ntools from computational topology, namely, persistent homology representations\nof graphs. We introduce the concept of witness complex to adversarial analysis\non graphs, which allows us to focus only on the salient shape characteristics\nof graphs, yielded by the subset of the most essential nodes (i.e., landmarks),\nwith minimal loss of topological information on the whole graph. The remaining\nnodes are then used as witnesses, governing which higher-order graph\nsubstructures are incorporated into the learning process. Armed with the\nwitness mechanism, we design Witness Graph Topological Layer (WGTL), which\nsystematically integrates both local and global topological graph feature\nrepresentations, the impact of which is, in turn, automatically controlled by\nthe robust regularized topological loss. Given the attacker's budget, we derive\nthe important stability guarantees of both local and global topology encodings\nand the associated robust topological loss. We illustrate the versatility and\nefficiency of WGTL by its integration with five GNNs and three existing\nnon-topological defense mechanisms. Our extensive experiments across six\ndatasets demonstrate that WGTL boosts the robustness of GNNs across a range of\nperturbations and against a range of adversarial attacks. Our datasets and\nsource codes are available at https://github.com/toggled/WGTL.\n", "date": "2024-09-21", "categories": []} {"id": "2502.05203", "title": "Adversarial Machine Learning: Attacking and Safeguarding Image Datasets", "abstract": " This paper examines the vulnerabilities of convolutional neural networks\n(CNNs) to adversarial attacks and explores a method for their safeguarding. In\nthis study, CNNs were implemented on four of the most common image datasets,\nnamely CIFAR-10, ImageNet, MNIST, and Fashion-MNIST, and achieved high baseline\naccuracy. To assess the strength of these models, the Fast Gradient Sign Method\nwas used, which is a type of exploit on the model that is used to bring down\nthe models accuracies by adding a very minimal perturbation to the input image.\nTo counter the FGSM attack, a safeguarding approach went through, which\nincludes retraining the models on clear and pollutant or adversarial images to\nincrease their resistance ability. The next step involves applying FGSM again,\nbut this time to the adversarially trained models, to see how much the accuracy\nof the models has gone down and evaluate the effectiveness of the defense. It\nappears that while most level of robustness is achieved against the models\nafter adversarial training, there are still a few losses in the performance of\nthese models against adversarial perturbations. This work emphasizes the need\nto create better defenses for models deployed in real-world scenarios against\nadversaries.\n", "date": "2025-01-31", "categories": []} {"id": "2502.05542", "title": "Democratic Training Against Universal Adversarial Perturbations", "abstract": " Despite their advances and success, real-world deep neural networks are known\nto be vulnerable to adversarial attacks. Universal adversarial perturbation, an\ninput-agnostic attack, poses a serious threat for them to be deployed in\nsecurity-sensitive systems. In this case, a single universal adversarial\nperturbation deceives the model on a range of clean inputs without requiring\ninput-specific optimization, which makes it particularly threatening. In this\nwork, we observe that universal adversarial perturbations usually lead to\nabnormal entropy spectrum in hidden layers, which suggests that the prediction\nis dominated by a small number of ``feature'' in such cases (rather than\ndemocratically by many features). Inspired by this, we propose an efficient yet\neffective defense method for mitigating UAPs called \\emph{Democratic Training}\nby performing entropy-based model enhancement to suppress the effect of the\nuniversal adversarial perturbations in a given model. \\emph{Democratic\nTraining} is evaluated with 7 neural networks trained on 5 benchmark datasets\nand 5 types of state-of-the-art universal adversarial attack methods. The\nresults show that it effectively reduces the attack success rate, improves\nmodel robustness and preserves the model accuracy on clean samples.\n", "date": "2025-02-08", "categories": []} {"id": "2502.05637", "title": "Adversarial Machine Learning: Attacks, Defenses, and Open Challenges", "abstract": " Adversarial Machine Learning (AML) addresses vulnerabilities in AI systems\nwhere adversaries manipulate inputs or training data to degrade performance.\nThis article provides a comprehensive analysis of evasion and poisoning\nattacks, formalizes defense mechanisms with mathematical rigor, and discusses\nthe challenges of implementing robust solutions in adaptive threat models.\nAdditionally, it highlights open challenges in certified robustness,\nscalability, and real-world deployment.\n", "date": "2025-02-08", "categories": []} {"id": "2502.05772", "title": "Effective Black-Box Multi-Faceted Attacks Breach Vision Large Language\n Model Guardrails", "abstract": " Vision Large Language Models (VLLMs) integrate visual data processing,\nexpanding their real-world applications, but also increasing the risk of\ngenerating unsafe responses. In response, leading companies have implemented\nMulti-Layered safety defenses, including alignment training, safety system\nprompts, and content moderation. However, their effectiveness against\nsophisticated adversarial attacks remains largely unexplored. In this paper, we\npropose MultiFaceted Attack, a novel attack framework designed to\nsystematically bypass Multi-Layered Defenses in VLLMs. It comprises three\ncomplementary attack facets: Visual Attack that exploits the multimodal nature\nof VLLMs to inject toxic system prompts through images; Alignment Breaking\nAttack that manipulates the model's alignment mechanism to prioritize the\ngeneration of contrasting responses; and Adversarial Signature that deceives\ncontent moderators by strategically placing misleading information at the end\nof the response. Extensive evaluations on eight commercial VLLMs in a black-box\nsetting demonstrate that MultiFaceted Attack achieves a 61.56% attack success\nrate, surpassing state-of-the-art methods by at least 42.18%.\n", "date": "2025-02-09", "categories": []} {"id": "2403.13196", "title": "ADAPT to Robustify Prompt Tuning Vision Transformers", "abstract": " The performance of deep models, including Vision Transformers, is known to be\nvulnerable to adversarial attacks. Many existing defenses against these\nattacks, such as adversarial training, rely on full-model fine-tuning to induce\nrobustness in the models. These defenses require storing a copy of the entire\nmodel, that can have billions of parameters, for each task. At the same time,\nparameter-efficient prompt tuning is used to adapt large transformer-based\nmodels to downstream tasks without the need to save large copies. In this\npaper, we examine parameter-efficient prompt tuning of Vision Transformers for\ndownstream tasks under the lens of robustness. We show that previous\nadversarial defense methods, when applied to the prompt tuning paradigm, suffer\nfrom gradient obfuscation and are vulnerable to adaptive attacks. We introduce\nADAPT, a novel framework for performing adaptive adversarial training in the\nprompt tuning paradigm. Our method achieves competitive robust accuracy of ~40%\nw.r.t. SOTA robustness methods using full-model fine-tuning, by tuning only ~1%\nof the number of parameters.\n", "date": "2024-03-19", "categories": []} {"id": "2410.08503", "title": "Adversarial Training Can Provably Improve Robustness: Theoretical\n Analysis of Feature Learning Process Under Structured Data", "abstract": " Adversarial training is a widely-applied approach to training deep neural\nnetworks to be robust against adversarial perturbation. However, although\nadversarial training has achieved empirical success in practice, it still\nremains unclear why adversarial examples exist and how adversarial training\nmethods improve model robustness. In this paper, we provide a theoretical\nunderstanding of adversarial examples and adversarial training algorithms from\nthe perspective of feature learning theory. Specifically, we focus on a\nmultiple classification setting, where the structured data can be composed of\ntwo types of features: the robust features, which are resistant to perturbation\nbut sparse, and the non-robust features, which are susceptible to perturbation\nbut dense. We train a two-layer smoothed ReLU convolutional neural network to\nlearn our structured data. First, we prove that by using standard training\n(gradient descent over the empirical risk), the network learner primarily\nlearns the non-robust feature rather than the robust feature, which thereby\nleads to the adversarial examples that are generated by perturbations aligned\nwith negative non-robust feature directions. Then, we consider the\ngradient-based adversarial training algorithm, which runs gradient ascent to\nfind adversarial examples and runs gradient descent over the empirical risk at\nadversarial examples to update models. We show that the adversarial training\nmethod can provably strengthen the robust feature learning and suppress the\nnon-robust feature learning to improve the network robustness. Finally, we also\nempirically validate our theoretical findings with experiments on real-image\ndatasets, including MNIST, CIFAR10 and SVHN.\n", "date": "2024-10-11", "categories": []} {"id": "2502.04360", "title": "MARAGE: Transferable Multi-Model Adversarial Attack for\n Retrieval-Augmented Generation Data Extraction", "abstract": " Retrieval-Augmented Generation (RAG) offers a solution to mitigate\nhallucinations in Large Language Models (LLMs) by grounding their outputs to\nknowledge retrieved from external sources. The use of private resources and\ndata in constructing these external data stores can expose them to risks of\nextraction attacks, in which attackers attempt to steal data from these private\ndatabases. Existing RAG extraction attacks often rely on manually crafted\nprompts, which limit their effectiveness. In this paper, we introduce a\nframework called MARAGE for optimizing an adversarial string that, when\nappended to user queries submitted to a target RAG system, causes outputs\ncontaining the retrieved RAG data verbatim. MARAGE leverages a continuous\noptimization scheme that integrates gradients from multiple models with\ndifferent architectures simultaneously to enhance the transferability of the\noptimized string to unseen models. Additionally, we propose a strategy that\nemphasizes the initial tokens in the target RAG data, further improving the\nattack's generalizability. Evaluations show that MARAGE consistently\noutperforms both manual and optimization-based baselines across multiple LLMs\nand RAG datasets, while maintaining robust transferability to previously unseen\nmodels. Moreover, we conduct probing tasks to shed light on the reasons why\nMARAGE is more effective compared to the baselines and to analyze the impact of\nour approach on the model's internal state.\n", "date": "2025-02-05", "categories": []} {"id": "2502.04679", "title": "Mechanistic Understandings of Representation Vulnerabilities and\n Engineering Robust Vision Transformers", "abstract": " While transformer-based models dominate NLP and vision applications, their\nunderlying mechanisms to map the input space to the label space semantically\nare not well understood. In this paper, we study the sources of known\nrepresentation vulnerabilities of vision transformers (ViT), where perceptually\nidentical images can have very different representations and semantically\nunrelated images can have the same representation. Our analysis indicates that\nimperceptible changes to the input can result in significant representation\nchanges, particularly in later layers, suggesting potential instabilities in\nthe performance of ViTs. Our comprehensive study reveals that adversarial\neffects, while subtle in early layers, propagate and amplify through the\nnetwork, becoming most pronounced in middle to late layers. This insight\nmotivates the development of NeuroShield-ViT, a novel defense mechanism that\nstrategically neutralizes vulnerable neurons in earlier layers to prevent the\ncascade of adversarial effects. We demonstrate NeuroShield-ViT's effectiveness\nacross various attacks, particularly excelling against strong iterative\nattacks, and showcase its remarkable zero-shot generalization capabilities.\nWithout fine-tuning, our method achieves a competitive accuracy of 77.8% on\nadversarial examples, surpassing conventional robustness methods. Our results\nshed new light on how adversarial effects propagate through ViT layers, while\nproviding a promising approach to enhance the robustness of vision transformers\nagainst adversarial attacks. Additionally, they provide a promising approach to\nenhance the robustness of vision transformers against adversarial attacks.\n", "date": "2025-02-07", "categories": []} {"id": "2408.11071", "title": "DiffZOO: A Purely Query-Based Black-Box Attack for Red-teaming\n Text-to-Image Generative Model via Zeroth Order Optimization", "abstract": " Current text-to-image (T2I) synthesis diffusion models raise misuse concerns,\nparticularly in creating prohibited or not-safe-for-work (NSFW) images. To\naddress this, various safety mechanisms and red teaming attack methods are\nproposed to enhance or expose the T2I model's capability to generate unsuitable\ncontent. However, many red teaming attack methods assume knowledge of the text\nencoders, limiting their practical usage. In this work, we rethink the case of\n\\textit{purely black-box} attacks without prior knowledge of the T2l model. To\novercome the unavailability of gradients and the inability to optimize attacks\nwithin a discrete prompt space, we propose DiffZOO which applies Zeroth Order\nOptimization to procure gradient approximations and harnesses both C-PRV and\nD-PRV to enhance attack prompts within the discrete prompt domain. We evaluated\nour method across multiple safety mechanisms of the T2I diffusion model and\nonline servers. Experiments on multiple state-of-the-art safety mechanisms show\nthat DiffZOO attains an 8.5% higher average attack success rate than previous\nworks, hence its promise as a practical red teaming tool for T2l models.\n", "date": "2024-08-18", "categories": []} {"id": "2502.04248", "title": "Adapting to Evolving Adversaries with Regularized Continual Robust\n Training", "abstract": " Robust training methods typically defend against specific attack types, such\nas Lp attacks with fixed budgets, and rarely account for the fact that\ndefenders may encounter new attacks over time. A natural solution is to adapt\nthe defended model to new adversaries as they arise via fine-tuning, a method\nwhich we call continual robust training (CRT). However, when implemented\nnaively, fine-tuning on new attacks degrades robustness on previous attacks.\nThis raises the question: how can we improve the initial training and\nfine-tuning of the model to simultaneously achieve robustness against previous\nand new attacks? We present theoretical results which show that the gap in a\nmodel's robustness against different attacks is bounded by how far each attack\nperturbs a sample in the model's logit space, suggesting that regularizing with\nrespect to this logit space distance can help maintain robustness against\nprevious attacks. Extensive experiments on 3 datasets (CIFAR-10, CIFAR-100, and\nImageNette) and over 100 attack combinations demonstrate that the proposed\nregularization improves robust accuracy with little overhead in training time.\nOur findings and open-source code lay the groundwork for the deployment of\nmodels robust to evolving attacks.\n", "date": "2025-02-06", "categories": []} {"id": "2309.02705", "title": "Certifying LLM Safety against Adversarial Prompting", "abstract": " Large language models (LLMs) are vulnerable to adversarial attacks that add\nmalicious tokens to an input prompt to bypass the safety guardrails of an LLM\nand cause it to produce harmful content. In this work, we introduce\nerase-and-check, the first framework for defending against adversarial prompts\nwith certifiable safety guarantees. Given a prompt, our procedure erases tokens\nindividually and inspects the resulting subsequences using a safety filter. Our\nsafety certificate guarantees that harmful prompts are not mislabeled as safe\ndue to an adversarial attack up to a certain size. We implement the safety\nfilter in two ways, using Llama 2 and DistilBERT, and compare the performance\nof erase-and-check for the two cases. We defend against three attack modes: i)\nadversarial suffix, where an adversarial sequence is appended at the end of a\nharmful prompt; ii) adversarial insertion, where the adversarial sequence is\ninserted anywhere in the middle of the prompt; and iii) adversarial infusion,\nwhere adversarial tokens are inserted at arbitrary positions in the prompt, not\nnecessarily as a contiguous block. Our experimental results demonstrate that\nthis procedure can obtain strong certified safety guarantees on harmful prompts\nwhile maintaining good empirical performance on safe prompts. Additionally, we\npropose three efficient empirical defenses: i) RandEC, a randomized subsampling\nversion of erase-and-check; ii) GreedyEC, which greedily erases tokens that\nmaximize the softmax score of the harmful class; and iii) GradEC, which uses\ngradient information to optimize tokens to erase. We demonstrate their\neffectiveness against adversarial prompts generated by the Greedy Coordinate\nGradient (GCG) attack algorithm. The code for our experiments is available at\nhttps://github.com/aounon/certified-llm-safety.\n", "date": "2023-09-06", "categories": []} {"id": "2411.14834", "title": "Evaluating the Robustness of the \"Ensemble Everything Everywhere\"\n Defense", "abstract": " Ensemble everything everywhere is a defense to adversarial examples that was\nrecently proposed to make image classifiers robust. This defense works by\nensembling a model's intermediate representations at multiple noisy image\nresolutions, producing a single robust classification. This defense was shown\nto be effective against multiple state-of-the-art attacks. Perhaps even more\nconvincingly, it was shown that the model's gradients are perceptually aligned:\nattacks against the model produce noise that perceptually resembles the\ntargeted class.\n In this short note, we show that this defense is not robust to adversarial\nattack. We first show that the defense's randomness and ensembling method cause\nsevere gradient masking. We then use standard adaptive attack techniques to\nreduce the defense's robust accuracy from 48% to 14% on CIFAR-100 and from 62%\nto 11% on CIFAR-10, under the $\\ell_\\infty$-norm threat model with\n$\\varepsilon=8/255$.\n", "date": "2024-11-22", "categories": []} {"id": "2412.11638", "title": "IDProtector: An Adversarial Noise Encoder to Protect Against\n ID-Preserving Image Generation", "abstract": " Recently, zero-shot methods like InstantID have revolutionized\nidentity-preserving generation. Unlike multi-image finetuning approaches such\nas DreamBooth, these zero-shot methods leverage powerful facial encoders to\nextract identity information from a single portrait photo, enabling efficient\nidentity-preserving generation through a single inference pass. However, this\nconvenience introduces new threats to the facial identity protection. This\npaper aims to safeguard portrait photos from unauthorized encoder-based\ncustomization. We introduce IDProtector, an adversarial noise encoder that\napplies imperceptible adversarial noise to portrait photos in a single forward\npass. Our approach offers universal protection for portraits against multiple\nstate-of-the-art encoder-based methods, including InstantID, IP-Adapter, and\nPhotoMaker, while ensuring robustness to common image transformations such as\nJPEG compression, resizing, and affine transformations. Experiments across\ndiverse portrait datasets and generative models reveal that IDProtector\ngeneralizes effectively to unseen data and even closed-source proprietary\nmodels.\n", "date": "2024-12-16", "categories": []} {"id": "2502.01896", "title": "INTACT: Inducing Noise Tolerance through Adversarial Curriculum Training\n for LiDAR-based Safety-Critical Perception and Autonomy", "abstract": " In this work, we present INTACT, a novel two-phase framework designed to\nenhance the robustness of deep neural networks (DNNs) against noisy LiDAR data\nin safety-critical perception tasks. INTACT combines meta-learning with\nadversarial curriculum training (ACT) to systematically address challenges\nposed by data corruption and sparsity in 3D point clouds. The meta-learning\nphase equips a teacher network with task-agnostic priors, enabling it to\ngenerate robust saliency maps that identify critical data regions. The ACT\nphase leverages these saliency maps to progressively expose a student network\nto increasingly complex noise patterns, ensuring targeted perturbation and\nimproved noise resilience. INTACT's effectiveness is demonstrated through\ncomprehensive evaluations on object detection, tracking, and classification\nbenchmarks using diverse datasets, including KITTI, Argoverse, and ModelNet40.\nResults indicate that INTACT improves model robustness by up to 20% across all\ntasks, outperforming standard adversarial and curriculum training methods. This\nframework not only addresses the limitations of conventional training\nstrategies but also offers a scalable and efficient solution for real-world\ndeployment in resource-constrained safety-critical systems. INTACT's principled\nintegration of meta-learning and adversarial training establishes a new\nparadigm for noise-tolerant 3D perception in safety-critical applications.\nINTACT improved KITTI Multiple Object Tracking Accuracy (MOTA) by 9.6% (64.1%\n-> 75.1%) and by 12.4% under Gaussian noise (52.5% -> 73.7%). Similarly, KITTI\nmean Average Precision (mAP) rose from 59.8% to 69.8% (50% point drop) and\n49.3% to 70.9% (Gaussian noise), highlighting the framework's ability to\nenhance deep learning model resilience in safety-critical object tracking\nscenarios.\n", "date": "2025-02-04", "categories": []} {"id": "2502.01936", "title": "Query-Based and Unnoticeable Graph Injection Attack from Neighborhood\n Perspective", "abstract": " The robustness of Graph Neural Networks (GNNs) has become an increasingly\nimportant topic due to their expanding range of applications. Various attack\nmethods have been proposed to explore the vulnerabilities of GNNs, ranging from\nGraph Modification Attacks (GMA) to the more practical and flexible Graph\nInjection Attacks (GIA). However, existing methods face two key challenges: (i)\ntheir reliance on surrogate models, which often leads to reduced attack\neffectiveness due to structural differences and prior biases, and (ii) existing\nGIA methods often sacrifice attack success rates in undefended settings to\nbypass certain defense models, thereby limiting their overall effectiveness. To\novercome these limitations, we propose QUGIA, a Query-based and Unnoticeable\nGraph Injection Attack. QUGIA injects nodes by first selecting edges based on\nvictim node connections and then generating node features using a Bayesian\nframework. This ensures that the injected nodes are similar to the original\ngraph nodes, implicitly preserving homophily and making the attack more\nunnoticeable. Unlike previous methods, QUGIA does not rely on surrogate models,\nthereby avoiding performance degradation and achieving better generalization.\nExtensive experiments on six real-world datasets with diverse characteristics\ndemonstrate that QUGIA achieves unnoticeable attacks and outperforms\nstate-of-the-art attackers. The code will be released upon acceptance.\n", "date": "2025-02-04", "categories": []} {"id": "2502.02537", "title": "Uncertainty Quantification for Collaborative Object Detection Under\n Adversarial Attacks", "abstract": " Collaborative Object Detection (COD) and collaborative perception can\nintegrate data or features from various entities, and improve object detection\naccuracy compared with individual perception. However, adversarial attacks pose\na potential threat to the deep learning COD models, and introduce high output\nuncertainty. With unknown attack models, it becomes even more challenging to\nimprove COD resiliency and quantify the output uncertainty for highly dynamic\nperception scenes such as autonomous vehicles. In this study, we propose the\nTrusted Uncertainty Quantification in Collaborative Perception framework\n(TUQCP). TUQCP leverages both adversarial training and uncertainty\nquantification techniques to enhance the adversarial robustness of existing COD\nmodels. More specifically, TUQCP first adds perturbations to the shared\ninformation of randomly selected agents during object detection collaboration\nby adversarial training. TUQCP then alleviates the impacts of adversarial\nattacks by providing output uncertainty estimation through learning-based\nmodule and uncertainty calibration through conformal prediction. Our framework\nworks for early and intermediate collaboration COD models and single-agent\nobject detection models. We evaluate TUQCP on V2X-Sim, a comprehensive\ncollaborative perception dataset for autonomous driving, and demonstrate a\n80.41% improvement in object detection accuracy compared to the baselines under\nthe same adversarial attacks. TUQCP demonstrates the importance of uncertainty\nquantification to COD under adversarial attacks.\n", "date": "2025-02-04", "categories": []} {"id": "2405.00679", "title": "Exploring Biologically Inspired Mechanisms of Adversarial Robustness", "abstract": " Backpropagation-optimized artificial neural networks, while precise, lack\nrobustness, leading to unforeseen behaviors that affect their safety.\nBiological neural systems do solve some of these issues already. Unlike\nartificial models, biological neurons adjust connectivity based on neighboring\ncell activity. Understanding the biological mechanisms of robustness can pave\nthe way towards building trust worthy and safe systems. Robustness in neural\nrepresentations is hypothesized to correlate with the smoothness of the\nencoding manifold. Recent work suggests power law covariance spectra, which\nwere observed studying the primary visual cortex of mice, to be indicative of a\nbalanced trade-off between accuracy and robustness in representations. Here, we\nshow that unsupervised local learning models with winner takes all dynamics\nlearn such power law representations, providing upcoming studies a mechanistic\nmodel with that characteristic. Our research aims to understand the interplay\nbetween geometry, spectral properties, robustness, and expressivity in neural\nrepresentations. Hence, we study the link between representation smoothness and\nspectrum by using weight, Jacobian and spectral regularization while assessing\nperformance and adversarial robustness. Our work serves as a foundation for\nfuture research into the mechanisms underlying power law spectra and optimally\nsmooth encodings in both biological and artificial systems. The insights gained\nmay elucidate the mechanisms that realize robust neural networks in mammalian\nbrains and inform the development of more stable and reliable artificial\nsystems.\n", "date": "2024-02-05", "categories": []} {"id": "2412.11735", "title": "Transferable Adversarial Face Attack with Text Controlled Attribute", "abstract": " Traditional adversarial attacks typically produce adversarial examples under\nnorm-constrained conditions, whereas unrestricted adversarial examples are\nfree-form with semantically meaningful perturbations. Current unrestricted\nadversarial impersonation attacks exhibit limited control over adversarial face\nattributes and often suffer from low transferability. In this paper, we propose\na novel Text Controlled Attribute Attack (TCA$^2$) to generate photorealistic\nadversarial impersonation faces guided by natural language. Specifically, the\ncategory-level personal softmax vector is employed to precisely guide the\nimpersonation attacks. Additionally, we propose both data and model\naugmentation strategies to achieve transferable attacks on unknown target\nmodels. Finally, a generative model, \\textit{i.e}, Style-GAN, is utilized to\nsynthesize impersonated faces with desired attributes. Extensive experiments on\ntwo high-resolution face recognition datasets validate that our TCA$^2$ method\ncan generate natural text-guided adversarial impersonation faces with high\ntransferability. We also evaluate our method on real-world face recognition\nsystems, \\textit{i.e}, Face++ and Aliyun, further demonstrating the practical\npotential of our approach.\n", "date": "2024-12-16", "categories": []} {"id": "2502.00834", "title": "Boosting Adversarial Robustness and Generalization with Structural Prior", "abstract": " This work investigates a novel approach to boost adversarial robustness and\ngeneralization by incorporating structural prior into the design of deep\nlearning models. Specifically, our study surprisingly reveals that existing\ndictionary learning-inspired convolutional neural networks (CNNs) provide a\nfalse sense of security against adversarial attacks. To address this, we\npropose Elastic Dictionary Learning Networks (EDLNets), a novel ResNet\narchitecture that significantly enhances adversarial robustness and\ngeneralization. This novel and effective approach is supported by a theoretical\nrobustness analysis using influence functions. Moreover, extensive and reliable\nexperiments demonstrate consistent and significant performance improvement on\nopen robustness leaderboards such as RobustBench, surpassing state-of-the-art\nbaselines. To the best of our knowledge, this is the first work to discover and\nvalidate that structural prior can reliably enhance deep learning robustness\nunder strong adaptive attacks, unveiling a promising direction for future\nresearch.\n", "date": "2025-02-02", "categories": []} {"id": "2404.14402", "title": "A mean curvature flow arising in adversarial training", "abstract": " We connect adversarial training for binary classification to a geometric\nevolution equation for the decision boundary. Relying on a perspective that\nrecasts adversarial training as a regularization problem, we introduce a\nmodified training scheme that constitutes a minimizing movements scheme for a\nnonlocal perimeter functional. We prove that the scheme is monotone and\nconsistent as the adversarial budget vanishes and the perimeter localizes, and\nas a consequence we rigorously show that the scheme approximates a weighted\nmean curvature flow. This highlights that the efficacy of adversarial training\nmay be due to locally minimizing the length of the decision boundary. In our\nanalysis, we introduce a variety of tools for working with the subdifferential\nof a supremal-type nonlocal total variation and its regularity properties.\n", "date": "2024-04-22", "categories": []} {"id": "2501.18629", "title": "The Relationship Between Network Similarity and Transferability of\n Adversarial Attacks", "abstract": " Neural networks are vulnerable to adversarial attacks, and several defenses\nhave been proposed. Designing a robust network is a challenging task given the\nwide range of attacks that have been developed. Therefore, we aim to provide\ninsight into the influence of network similarity on the success rate of\ntransferred adversarial attacks. Network designers can then compare their new\nnetwork with existing ones to estimate its vulnerability. To achieve this, we\ninvestigate the complex relationship between network similarity and the success\nrate of transferred adversarial attacks. We applied the Centered Kernel\nAlignment (CKA) network similarity score and used various methods to find a\ncorrelation between a large number of Convolutional Neural Networks (CNNs) and\nadversarial attacks. Network similarity was found to be moderate across\ndifferent CNN architectures, with more complex models such as DenseNet showing\nlower similarity scores due to their architectural complexity. Layer similarity\nwas highest for consistent, basic layers such as DataParallel, Dropout and\nConv2d, while specialized layers showed greater variability. Adversarial attack\nsuccess rates were generally consistent for non-transferred attacks, but varied\nsignificantly for some transferred attacks, with complex networks being more\nvulnerable. We found that a DecisionTreeRegressor can predict the success rate\nof transferred attacks for all black-box and Carlini & Wagner attacks with an\naccuracy of over 90%, suggesting that predictive models may be viable under\ncertain conditions. However, the variability of results across different data\nsubsets underscores the complexity of these relationships and suggests that\nfurther research is needed to generalize these findings across different attack\nscenarios and network architectures.\n", "date": "2025-01-27", "categories": []} {"id": "2501.18841", "title": "Trading Inference-Time Compute for Adversarial Robustness", "abstract": " We conduct experiments on the impact of increasing inference-time compute in\nreasoning models (specifically OpenAI o1-preview and o1-mini) on their\nrobustness to adversarial attacks. We find that across a variety of attacks,\nincreased inference-time compute leads to improved robustness. In many cases\n(with important exceptions), the fraction of model samples where the attack\nsucceeds tends to zero as the amount of test-time compute grows. We perform no\nadversarial training for the tasks we study, and we increase inference-time\ncompute by simply allowing the models to spend more compute on reasoning,\nindependently of the form of attack. Our results suggest that inference-time\ncompute has the potential to improve adversarial robustness for Large Language\nModels. We also explore new attacks directed at reasoning models, as well as\nsettings where inference-time compute does not improve reliability, and\nspeculate on the reasons for these as well as ways to address them.\n", "date": "2025-01-31", "categories": []} {"id": "2501.18006", "title": "Topological Signatures of Adversaries in Multimodal Alignments", "abstract": " Multimodal Machine Learning systems, particularly those aligning text and\nimage data like CLIP/BLIP models, have become increasingly prevalent, yet\nremain susceptible to adversarial attacks. While substantial research has\naddressed adversarial robustness in unimodal contexts, defense strategies for\nmultimodal systems are underexplored. This work investigates the topological\nsignatures that arise between image and text embeddings and shows how\nadversarial attacks disrupt their alignment, introducing distinctive\nsignatures. We specifically leverage persistent homology and introduce two\nnovel Topological-Contrastive losses based on Total Persistence and Multi-scale\nkernel methods to analyze the topological signatures introduced by adversarial\nperturbations. We observe a pattern of monotonic changes in the proposed\ntopological losses emerging in a wide range of attacks on image-text\nalignments, as more adversarial samples are introduced in the data. By\ndesigning an algorithm to back-propagate these signatures to input samples, we\nare able to integrate these signatures into Maximum Mean Discrepancy tests,\ncreating a novel class of tests that leverage topological signatures for better\nadversarial detection.\n", "date": "2025-01-29", "categories": []} {"id": "2501.16497", "title": "Smoothed Embeddings for Robust Language Models", "abstract": " Improving the safety and reliability of large language models (LLMs) is a\ncrucial aspect of realizing trustworthy AI systems. Although alignment methods\naim to suppress harmful content generation, LLMs are often still vulnerable to\njailbreaking attacks that employ adversarial inputs that subvert alignment and\ninduce harmful outputs. We propose the Randomized Embedding Smoothing and Token\nAggregation (RESTA) defense, which adds random noise to the embedding vectors\nand performs aggregation during the generation of each output token, with the\naim of better preserving semantic information. Our experiments demonstrate that\nour approach achieves superior robustness versus utility tradeoffs compared to\nthe baseline defenses.\n", "date": "2025-01-27", "categories": []} {"id": "2501.14999", "title": "VideoPure: Diffusion-based Adversarial Purification for Video\n Recognition", "abstract": " Recent work indicates that video recognition models are vulnerable to\nadversarial examples, posing a serious security risk to downstream\napplications. However, current research has primarily focused on adversarial\nattacks, with limited work exploring defense mechanisms. Furthermore, due to\nthe spatial-temporal complexity of videos, existing video defense methods face\nissues of high cost, overfitting, and limited defense performance. Recently,\ndiffusion-based adversarial purification methods have achieved robust defense\nperformance in the image domain. However, due to the additional temporal\ndimension in videos, directly applying these diffusion-based adversarial\npurification methods to the video domain suffers performance and efficiency\ndegradation. To achieve an efficient and effective video adversarial defense\nmethod, we propose the first diffusion-based video purification framework to\nimprove video recognition models' adversarial robustness: VideoPure. Given an\nadversarial example, we first employ temporal DDIM inversion to transform the\ninput distribution into a temporally consistent and trajectory-defined\ndistribution, covering adversarial noise while preserving more video structure.\nThen, during DDIM denoising, we leverage intermediate results at each denoising\nstep and conduct guided spatial-temporal optimization, removing adversarial\nnoise while maintaining temporal consistency. Finally, we input the list of\noptimized intermediate results into the video recognition model for multi-step\nvoting to obtain the predicted class. We investigate the defense performance of\nour method against black-box, gray-box, and adaptive attacks on benchmark\ndatasets and models. Compared with other adversarial purification methods, our\nmethod overall demonstrates better defense performance against different\nattacks. Our code is available at https://github.com/deep-kaixun/VideoPure.\n", "date": "2025-01-25", "categories": []} {"id": "2501.15269", "title": "Mirage in the Eyes: Hallucination Attack on Multi-modal Large Language\n Models with Only Attention Sink", "abstract": " Fusing visual understanding into language generation, Multi-modal Large\nLanguage Models (MLLMs) are revolutionizing visual-language applications. Yet,\nthese models are often plagued by the hallucination problem, which involves\ngenerating inaccurate objects, attributes, and relationships that do not match\nthe visual content. In this work, we delve into the internal attention\nmechanisms of MLLMs to reveal the underlying causes of hallucination, exposing\nthe inherent vulnerabilities in the instruction-tuning process.\n We propose a novel hallucination attack against MLLMs that exploits attention\nsink behaviors to trigger hallucinated content with minimal image-text\nrelevance, posing a significant threat to critical downstream applications.\nDistinguished from previous adversarial methods that rely on fixed patterns,\nour approach generates dynamic, effective, and highly transferable visual\nadversarial inputs, without sacrificing the quality of model responses.\nComprehensive experiments on 6 prominent MLLMs demonstrate the efficacy of our\nattack in compromising black-box MLLMs even with extensive mitigating\nmechanisms, as well as the promising results against cutting-edge commercial\nAPIs, such as GPT-4o and Gemini 1.5. Our code is available at\nhttps://huggingface.co/RachelHGF/Mirage-in-the-Eyes.\n", "date": "2025-01-25", "categories": []} {"id": "2501.15271", "title": "Killing it with Zero-Shot: Adversarially Robust Novelty Detection", "abstract": " Novelty Detection (ND) plays a crucial role in machine learning by\nidentifying new or unseen data during model inference. This capability is\nespecially important for the safe and reliable operation of automated systems.\nDespite advances in this field, existing techniques often fail to maintain\ntheir performance when subject to adversarial attacks. Our research addresses\nthis gap by marrying the merits of nearest-neighbor algorithms with robust\nfeatures obtained from models pretrained on ImageNet. We focus on enhancing the\nrobustness and performance of ND algorithms. Experimental results demonstrate\nthat our approach significantly outperforms current state-of-the-art methods\nacross various benchmarks, particularly under adversarial conditions. By\nincorporating robust pretrained features into the k-NN algorithm, we establish\na new standard for performance and robustness in the field of robust ND. This\nwork opens up new avenues for research aimed at fortifying machine learning\nsystems against adversarial vulnerabilities. Our implementation is publicly\navailable at https://github.com/rohban-lab/ZARND.\n", "date": "2025-01-25", "categories": []} {"id": "2501.15434", "title": "Mitigating Spurious Negative Pairs for Robust Industrial Anomaly\n Detection", "abstract": " Despite significant progress in Anomaly Detection (AD), the robustness of\nexisting detection methods against adversarial attacks remains a challenge,\ncompromising their reliability in critical real-world applications such as\nautonomous driving. This issue primarily arises from the AD setup, which\nassumes that training data is limited to a group of unlabeled normal samples,\nmaking the detectors vulnerable to adversarial anomaly samples during testing.\nAdditionally, implementing adversarial training as a safeguard encounters\ndifficulties, such as formulating an effective objective function without\naccess to labels. An ideal objective function for adversarial training in AD\nshould promote strong perturbations both within and between the normal and\nanomaly groups to maximize margin between normal and anomaly distribution. To\naddress these issues, we first propose crafting a pseudo-anomaly group derived\nfrom normal group samples. Then, we demonstrate that adversarial training with\ncontrastive loss could serve as an ideal objective function, as it creates both\ninter- and intra-group perturbations. However, we notice that spurious negative\npairs compromise the conventional contrastive loss to achieve robust AD.\nSpurious negative pairs are those that should be closely mapped but are\nerroneously separated. These pairs introduce noise and misguide the direction\nof inter-group adversarial perturbations. To overcome the effect of spurious\nnegative pairs, we define opposite pairs and adversarially pull them apart to\nstrengthen inter-group perturbations. Experimental results demonstrate our\nsuperior performance in both clean and adversarial scenarios, with a 26.1%\nimprovement in robust detection across various challenging benchmark datasets.\nThe implementation of our work is available at:\nhttps://github.com/rohban-lab/COBRA.\n", "date": "2025-01-26", "categories": []} {"id": "2501.14005", "title": "Device-aware Optical Adversarial Attack for a Portable Projector-camera\n System", "abstract": " Deep-learning-based face recognition (FR) systems are susceptible to\nadversarial examples in both digital and physical domains. Physical attacks\npresent a greater threat to deployed systems as adversaries can easily access\nthe input channel, allowing them to provide malicious inputs to impersonate a\nvictim. This paper addresses the limitations of existing projector-camera-based\nadversarial light attacks in practical FR setups. By incorporating device-aware\nadaptations into the digital attack algorithm, such as resolution-aware and\ncolor-aware adjustments, we mitigate the degradation from digital to physical\ndomains. Experimental validation showcases the efficacy of our proposed\nalgorithm against real and spoof adversaries, achieving high physical\nsimilarity scores in FR models and state-of-the-art commercial systems. On\naverage, there is only a 14% reduction in scores from digital to physical\nattacks, with high attack success rate in both white- and black-box scenarios.\n", "date": "2025-01-23", "categories": []} {"id": "2501.14496", "title": "A Note on Implementation Errors in Recent Adaptive Attacks Against\n Multi-Resolution Self-Ensembles", "abstract": " This note documents an implementation issue in recent adaptive attacks (Zhang\net al. [2024]) against the multi-resolution self-ensemble defense (Fort and\nLakshminarayanan [2024]). The implementation allowed adversarial perturbations\nto exceed the standard $L_\\infty = 8/255$ bound by up to a factor of\n20$\\times$, reaching magnitudes of up to $L_\\infty = 160/255$. When attacks are\nproperly constrained within the intended bounds, the defense maintains\nnon-trivial robustness. Beyond highlighting the importance of careful\nvalidation in adversarial machine learning research, our analysis reveals an\nintriguing finding: properly bounded adaptive attacks against strong\nmulti-resolution self-ensembles often align with human perception, suggesting\nthe need to reconsider how we measure adversarial robustness.\n", "date": "2025-01-24", "categories": []} {"id": "2410.04377", "title": "Graded Suspiciousness of Adversarial Texts to Human", "abstract": " Adversarial examples pose a significant challenge to deep neural networks\n(DNNs) across both image and text domains, with the intent to degrade model\nperformance through meticulously altered inputs. Adversarial texts, however,\nare distinct from adversarial images due to their requirement for semantic\nsimilarity and the discrete nature of the textual contents. This study delves\ninto the concept of human suspiciousness, a quality distinct from the\ntraditional focus on imperceptibility found in image-based adversarial\nexamples. Unlike images, where adversarial changes are meant to be\nindistinguishable to the human eye, textual adversarial content must often\nremain undetected or non-suspicious to human readers, even when the text's\npurpose is to deceive NLP systems or bypass filters.\n In this research, we expand the study of human suspiciousness by analyzing\nhow individuals perceive adversarial texts. We gather and publish a novel\ndataset of Likert-scale human evaluations on the suspiciousness of adversarial\nsentences, crafted by four widely used adversarial attack methods and assess\ntheir correlation with the human ability to detect machine-generated\nalterations. Additionally, we develop a regression-based model to quantify\nsuspiciousness and establish a baseline for future research in reducing the\nsuspiciousness in adversarial text generation. We also demonstrate how the\nregressor-generated suspicious scores can be incorporated into adversarial\ngeneration methods to produce texts that are less likely to be perceived as\ncomputer-generated. We make our human suspiciousness annotated data and our\ncode available.\n", "date": "2024-10-06", "categories": []} {"id": "2501.13273", "title": "Enhancing Robust Fairness via Confusional Spectral Regularization", "abstract": " Recent research has highlighted a critical issue known as ``robust fairness\",\nwhere robust accuracy varies significantly across different classes,\nundermining the reliability of deep neural networks (DNNs). A common approach\nto address this has been to dynamically reweight classes during training,\ngiving more weight to those with lower empirical robust performance. However,\nwe find there is a divergence of class-wise robust performance between training\nset and testing set, which limits the effectiveness of these explicit\nreweighting methods, indicating the need for a principled alternative. In this\nwork, we derive a robust generalization bound for the worst-class robust error\nwithin the PAC-Bayesian framework, accounting for unknown data distributions.\nOur analysis shows that the worst-class robust error is influenced by two main\nfactors: the spectral norm of the empirical robust confusion matrix and the\ninformation embedded in the model and training set. While the latter has been\nextensively studied, we propose a novel regularization technique targeting the\nspectral norm of the robust confusion matrix to improve worst-class robust\naccuracy and enhance robust fairness. We validate our approach through\ncomprehensive experiments on various datasets and models, demonstrating its\neffectiveness in enhancing robust fairness.\n", "date": "2025-01-22", "categories": []} {"id": "2501.13563", "title": "Black-Box Adversarial Attack on Vision Language Models for Autonomous\n Driving", "abstract": " Vision-language models (VLMs) have significantly advanced autonomous driving\n(AD) by enhancing reasoning capabilities; however, these models remain highly\nsusceptible to adversarial attacks. While existing research has explored\nwhite-box attacks to some extent, the more practical and challenging black-box\nscenarios remain largely underexplored due to their inherent difficulty. In\nthis paper, we take the first step toward designing black-box adversarial\nattacks specifically targeting VLMs in AD. We identify two key challenges for\nachieving effective black-box attacks in this context: the effectiveness across\ndriving reasoning chains in AD systems and the dynamic nature of driving\nscenarios. To address this, we propose Cascading Adversarial Disruption (CAD).\nIt first introduces Decision Chain Disruption, which targets low-level\nreasoning breakdown by generating and injecting deceptive semantics, ensuring\nthe perturbations remain effective across the entire decision-making chain.\nBuilding on this, we present Risky Scene Induction, which addresses dynamic\nadaptation by leveraging a surrogate VLM to understand and construct high-level\nrisky scenarios that are likely to result in critical errors in the current\ndriving contexts. Extensive experiments conducted on multiple AD VLMs and\nbenchmarks demonstrate that CAD achieves state-of-the-art attack effectiveness,\nsignificantly outperforming existing methods (+13.43% on average). Moreover, we\nvalidate its practical applicability through real-world attacks on AD vehicles\npowered by VLMs, where the route completion rate drops by 61.11% and the\nvehicle crashes directly into the obstacle vehicle with adversarial patches.\nFinally, we release CADA dataset, comprising 18,808 adversarial\nvisual-question-answer pairs, to facilitate further evaluation and research in\nthis critical domain. Our codes and dataset will be available after paper's\nacceptance.\n", "date": "2025-01-23", "categories": []} {"id": "2501.13782", "title": "Defending against Adversarial Malware Attacks on ML-based Android\n Malware Detection Systems", "abstract": " Android malware presents a persistent threat to users' privacy and data\nintegrity. To combat this, researchers have proposed machine learning-based\n(ML-based) Android malware detection (AMD) systems. However, adversarial\nAndroid malware attacks compromise the detection integrity of the ML-based AMD\nsystems, raising significant concerns. Existing defenses against adversarial\nAndroid malware provide protections against feature space attacks which\ngenerate adversarial feature vectors only, leaving protection against realistic\nthreats from problem space attacks which generate real adversarial malware an\nopen problem. In this paper, we address this gap by proposing ADD, a practical\nadversarial Android malware defense framework designed as a plug-in to enhance\nthe adversarial robustness of the ML-based AMD systems against problem space\nattacks. Our extensive evaluation across various ML-based AMD systems\ndemonstrates that ADD is effective against state-of-the-art problem space\nadversarial Android malware attacks. Additionally, ADD shows the defense\neffectiveness in enhancing the adversarial robustness of real-world antivirus\nsolutions.\n", "date": "2025-01-23", "categories": []} {"id": "2305.08929", "title": "AF2-Mutation: Adversarial Sequence Mutations against AlphaFold2 on\n Protein Tertiary Structure Prediction", "abstract": " Deep learning-based approaches, such as AlphaFold2 (AF2), have significantly\nadvanced protein tertiary structure prediction, achieving results comparable to\nreal biological experimental methods. While AF2 has shown limitations in\npredicting the effects of mutations, its robustness against sequence mutations\nremains to be determined. Starting with the wild-type (WT) sequence, we\ninvestigate adversarial sequences generated via an evolutionary approach, which\nAF2 predicts to be substantially different from WT. Our experiments on CASP14\nreveal that by modifying merely three residues in the protein sequence using a\ncombination of replacement, deletion, and insertion strategies, the alteration\nin AF2's predictions, as measured by the Local Distance Difference Test (lDDT),\nreaches 46.61. Moreover, when applied to a specific protein, SPNS2, our\nproposed algorithm successfully identifies biologically meaningful residues\ncritical to protein structure determination and potentially indicates\nalternative conformations, thus significantly expediting the experimental\nprocess.\n", "date": "2023-05-15", "categories": []} {"id": "2501.02654", "title": "Tougher Text, Smarter Models: Raising the Bar for Adversarial Defence\n Benchmarks", "abstract": " Recent advancements in natural language processing have highlighted the\nvulnerability of deep learning models to adversarial attacks. While various\ndefence mechanisms have been proposed, there is a lack of comprehensive\nbenchmarks that evaluate these defences across diverse datasets, models, and\ntasks. In this work, we address this gap by presenting an extensive benchmark\nfor textual adversarial defence that significantly expands upon previous work.\nOur benchmark incorporates a wide range of datasets, evaluates state-of-the-art\ndefence mechanisms, and extends the assessment to include critical tasks such\nas single-sentence classification, similarity and paraphrase identification,\nnatural language inference, and commonsense reasoning. This work not only\nserves as a valuable resource for researchers and practitioners in the field of\nadversarial robustness but also identifies key areas for future research in\ntextual adversarial defence. By establishing a new standard for benchmarking in\nthis domain, we aim to accelerate progress towards more robust and reliable\nnatural language processing systems.\n", "date": "2025-01-05", "categories": []} {"id": "2501.12516", "title": "Robustness of Selected Learning Models under Label-Flipping Attack", "abstract": " In this paper we compare traditional machine learning and deep learning\nmodels trained on a malware dataset when subjected to adversarial attack based\non label-flipping. Specifically, we investigate the robustness of Support\nVector Machines (SVM), Random Forest, Gaussian Naive Bayes (GNB), Gradient\nBoosting Machine (GBM), LightGBM, XGBoost, Multilayer Perceptron (MLP),\nConvolutional Neural Network (CNN), MobileNet, and DenseNet models when facing\nvarying percentages of misleading labels. We empirically assess the the\naccuracy of each of these models under such an adversarial attack on the\ntraining data. This research aims to provide insights into which models are\ninherently more robust, in the sense of being better able to resist intentional\ndisruptions to the training data. We find wide variation in the robustness of\nthe models tested to adversarial attack, with our MLP model achieving the best\ncombination of initial accuracy and robustness.\n", "date": "2025-01-21", "categories": []} {"id": "2406.17830", "title": "Treatment of Statistical Estimation Problems in Randomized Smoothing for\n Adversarial Robustness", "abstract": " Randomized smoothing is a popular certified defense against adversarial\nattacks. In its essence, we need to solve a problem of statistical estimation\nwhich is usually very time-consuming since we need to perform numerous (usually\n$10^5$) forward passes of the classifier for every point to be certified. In\nthis paper, we review the statistical estimation problems for randomized\nsmoothing to find out if the computational burden is necessary. In particular,\nwe consider the (standard) task of adversarial robustness where we need to\ndecide if a point is robust at a certain radius or not using as few samples as\npossible while maintaining statistical guarantees. We present estimation\nprocedures employing confidence sequences enjoying the same statistical\nguarantees as the standard methods, with the optimal sample complexities for\nthe estimation task and empirically demonstrate their good performance.\nAdditionally, we provide a randomized version of Clopper-Pearson confidence\nintervals resulting in strictly stronger certificates.\n", "date": "2024-06-25", "categories": []} {"id": "2410.04884", "title": "Patch is Enough: Naturalistic Adversarial Patch against Vision-Language\n Pre-training Models", "abstract": " Visual language pre-training (VLP) models have demonstrated significant\nsuccess across various domains, yet they remain vulnerable to adversarial\nattacks. Addressing these adversarial vulnerabilities is crucial for enhancing\nsecurity in multimodal learning. Traditionally, adversarial methods targeting\nVLP models involve simultaneously perturbing images and text. However, this\napproach faces notable challenges: first, adversarial perturbations often fail\nto translate effectively into real-world scenarios; second, direct\nmodifications to the text are conspicuously visible. To overcome these\nlimitations, we propose a novel strategy that exclusively employs image patches\nfor attacks, thus preserving the integrity of the original text. Our method\nleverages prior knowledge from diffusion models to enhance the authenticity and\nnaturalness of the perturbations. Moreover, to optimize patch placement and\nimprove the efficacy of our attacks, we utilize the cross-attention mechanism,\nwhich encapsulates intermodal interactions by generating attention maps to\nguide strategic patch placements. Comprehensive experiments conducted in a\nwhite-box setting for image-to-text scenarios reveal that our proposed method\nsignificantly outperforms existing techniques, achieving a 100% attack success\nrate. Additionally, it demonstrates commendable performance in transfer tasks\ninvolving text-to-image configurations.\n", "date": "2024-10-07", "categories": []} {"id": "2410.11317", "title": "Deciphering the Chaos: Enhancing Jailbreak Attacks via Adversarial\n Prompt Translation", "abstract": " Automatic adversarial prompt generation provides remarkable success in\njailbreaking safely-aligned large language models (LLMs). Existing\ngradient-based attacks, while demonstrating outstanding performance in\njailbreaking white-box LLMs, often generate garbled adversarial prompts with\nchaotic appearance. These adversarial prompts are difficult to transfer to\nother LLMs, hindering their performance in attacking unknown victim models. In\nthis paper, for the first time, we delve into the semantic meaning embedded in\ngarbled adversarial prompts and propose a novel method that \"translates\" them\ninto coherent and human-readable natural language adversarial prompts. In this\nway, we can effectively uncover the semantic information that triggers\nvulnerabilities of the model and unambiguously transfer it to the victim model,\nwithout overlooking the adversarial information hidden in the garbled text, to\nenhance jailbreak attacks. It also offers a new approach to discovering\neffective designs for jailbreak prompts, advancing the understanding of\njailbreak attacks. Experimental results demonstrate that our method\nsignificantly improves the success rate of jailbreak attacks against various\nsafety-aligned LLMs and outperforms state-of-the-arts by large margins. With at\nmost 10 queries, our method achieves an average attack success rate of 81.8% in\nattacking 7 commercial closed-source LLMs, including GPT and Claude-3 series,\non HarmBench. Our method also achieves over 90% attack success rates against\nLlama-2-Chat models on AdvBench, despite their outstanding resistance to\njailbreak attacks. Code at:\nhttps://github.com/qizhangli/Adversarial-Prompt-Translator.\n", "date": "2024-10-15", "categories": []} {"id": "2410.23677", "title": "Wide Two-Layer Networks can Learn from Adversarial Perturbations", "abstract": " Adversarial examples have raised several open questions, such as why they can\ndeceive classifiers and transfer between different models. A prevailing\nhypothesis to explain these phenomena suggests that adversarial perturbations\nappear as random noise but contain class-specific features. This hypothesis is\nsupported by the success of perturbation learning, where classifiers trained\nsolely on adversarial examples and the corresponding incorrect labels\ngeneralize well to correctly labeled test data. Although this hypothesis and\nperturbation learning are effective in explaining intriguing properties of\nadversarial examples, their solid theoretical foundation is limited. In this\nstudy, we theoretically explain the counterintuitive success of perturbation\nlearning. We assume wide two-layer networks and the results hold for any data\ndistribution. We prove that adversarial perturbations contain sufficient\nclass-specific features for networks to generalize from them. Moreover, the\npredictions of classifiers trained on mislabeled adversarial examples coincide\nwith those of classifiers trained on correctly labeled clean samples. The code\nis available at https://github.com/s-kumano/perturbation-learning.\n", "date": "2024-10-31", "categories": []} {"id": "2501.02147", "title": "Exploring Secure Machine Learning Through Payload Injection and FGSM\n Attacks on ResNet-50", "abstract": " This paper investigates the resilience of a ResNet-50 image classification\nmodel under two prominent security threats: Fast Gradient Sign Method (FGSM)\nadversarial attacks and malicious payload injection. Initially, the model\nattains a 53.33% accuracy on clean images. When subjected to FGSM\nperturbations, its overall accuracy remains unchanged; however, the model's\nconfidence in incorrect predictions notably increases. Concurrently, a payload\ninjection scheme is successfully executed in 93.33% of the tested samples,\nrevealing how stealthy attacks can manipulate model predictions without\ndegrading visual quality. These findings underscore the vulnerability of even\nhigh-performing neural networks and highlight the urgency of developing more\nrobust defense mechanisms for security-critical applications.\n", "date": "2025-01-04", "categories": []} {"id": "2501.10606", "title": "Differentiable Adversarial Attacks for Marked Temporal Point Processes", "abstract": " Marked temporal point processes (MTPPs) have been shown to be extremely\neffective in modeling continuous time event sequences (CTESs). In this work, we\npresent adversarial attacks designed specifically for MTPP models. A key\ncriterion for a good adversarial attack is its imperceptibility. For objects\nsuch as images or text, this is often achieved by bounding perturbation in some\nfixed $L_p$ norm-ball. However, similarly minimizing distance norms between two\nCTESs in the context of MTPPs is challenging due to their sequential nature and\nvarying time-scales and lengths. We address this challenge by first permuting\nthe events and then incorporating the additive noise to the arrival timestamps.\nHowever, the worst case optimization of such adversarial attacks is a hard\ncombinatorial problem, requiring exploration across a permutation space that is\nfactorially large in the length of the input sequence. As a result, we propose\na novel differentiable scheme PERMTPP using which we can perform adversarial\nattacks by learning to minimize the likelihood, while minimizing the distance\nbetween two CTESs. Our experiments on four real-world datasets demonstrate the\noffensive and defensive capabilities, and lower inference times of PERMTPP.\n", "date": "2025-01-17", "categories": []} {"id": "2501.11852", "title": "Cross-Entropy Attacks to Language Models via Rare Event Simulation", "abstract": " Black-box textual adversarial attacks are challenging due to the lack of\nmodel information and the discrete, non-differentiable nature of text. Existing\nmethods often lack versatility for attacking different models, suffer from\nlimited attacking performance due to the inefficient optimization with word\nsaliency ranking, and frequently sacrifice semantic integrity to achieve better\nattack outcomes. This paper introduces a novel approach to textual adversarial\nattacks, which we call Cross-Entropy Attacks (CEA), that uses Cross-Entropy\noptimization to address the above issues. Our CEA approach defines adversarial\nobjectives for both soft-label and hard-label settings and employs CE\noptimization to identify optimal replacements. Through extensive experiments on\ndocument classification and language translation problems, we demonstrate that\nour attack method excels in terms of attacking performance, imperceptibility,\nand sentence quality.\n", "date": "2025-01-21", "categories": []} {"id": "2501.12275", "title": "With Great Backbones Comes Great Adversarial Transferability", "abstract": " Advances in self-supervised learning (SSL) for machine vision have improved\nrepresentation robustness and model performance, giving rise to pre-trained\nbackbones like \\emph{ResNet} and \\emph{ViT} models tuned with SSL methods such\nas \\emph{SimCLR}. Due to the computational and data demands of pre-training,\nthe utilization of such backbones becomes a strenuous necessity. However,\nemploying these backbones may inherit vulnerabilities to adversarial attacks.\nWhile adversarial robustness has been studied under \\emph{white-box} and\n\\emph{black-box} settings, the robustness of models tuned on pre-trained\nbackbones remains largely unexplored. Additionally, the role of tuning\nmeta-information in mitigating exploitation risks is unclear. This work\nsystematically evaluates the adversarial robustness of such models across\n$20,000$ combinations of tuning meta-information, including fine-tuning\ntechniques, backbone families, datasets, and attack types. We propose using\nproxy models to transfer attacks, simulating varying levels of target knowledge\nby fine-tuning these proxies with diverse configurations. Our findings reveal\nthat proxy-based attacks approach the effectiveness of \\emph{white-box}\nmethods, even with minimal tuning knowledge. We also introduce a naive\n\"backbone attack,\" leveraging only the backbone to generate adversarial\nsamples, which outperforms \\emph{black-box} attacks and rivals \\emph{white-box}\nmethods, highlighting critical risks in model-sharing practices. Finally, our\nablations reveal how increasing tuning meta-information impacts attack\ntransferability, measuring each meta-information combination.\n", "date": "2025-01-21", "categories": []} {"id": "2501.10202", "title": "Provably Safeguarding a Classifier from OOD and Adversarial Samples: an\n Extreme Value Theory Approach", "abstract": " This paper introduces a novel method, Sample-efficient Probabilistic\nDetection using Extreme Value Theory (SPADE), which transforms a classifier\ninto an abstaining classifier, offering provable protection against\nout-of-distribution and adversarial samples. The approach is based on a\nGeneralized Extreme Value (GEV) model of the training distribution in the\nclassifier's latent space, enabling the formal characterization of OOD samples.\nInterestingly, under mild assumptions, the GEV model also allows for formally\ncharacterizing adversarial samples. The abstaining classifier, which rejects\nsamples based on their assessment by the GEV model, provably avoids OOD and\nadversarial samples. The empirical validation of the approach, conducted on\nvarious neural architectures (ResNet, VGG, and Vision Transformer) and medium\nand large-sized datasets (CIFAR-10, CIFAR-100, and ImageNet), demonstrates its\nfrugality, stability, and efficiency compared to the state of the art.\n", "date": "2025-01-17", "categories": []} {"id": "2501.08258", "title": "Towards an End-to-End (E2E) Adversarial Learning and Application in the\n Physical World", "abstract": " The traditional learning process of patch-based adversarial attacks,\nconducted in the digital domain and then applied in the physical domain (e.g.,\nvia printed stickers), may suffer from reduced performance due to adversarial\npatches' limited transferability from the digital domain to the physical\ndomain. Given that previous studies have considered using projectors to apply\nadversarial attacks, we raise the following question: can adversarial learning\n(i.e., patch generation) be performed entirely in the physical domain with a\nprojector? In this work, we propose the Physical-domain Adversarial Patch\nLearning Augmentation (PAPLA) framework, a novel end-to-end (E2E) framework\nthat converts adversarial learning from the digital domain to the physical\ndomain using a projector. We evaluate PAPLA across multiple scenarios,\nincluding controlled laboratory settings and realistic outdoor environments,\ndemonstrating its ability to ensure attack success compared to conventional\ndigital learning-physical application (DL-PA) methods. We also analyze the\nimpact of environmental factors, such as projection surface color, projector\nstrength, ambient light, distance, and angle of the target object relative to\nthe camera, on the effectiveness of projected patches. Finally, we demonstrate\nthe feasibility of the attack against a parked car and a stop sign in a\nreal-world outdoor environment. Our results show that under specific\nconditions, E2E adversarial learning in the physical domain eliminates the\ntransferability issue and ensures evasion by object detectors. Finally, we\nprovide insights into the challenges and opportunities of applying adversarial\nlearning in the physical domain and explain where such an approach is more\neffective than using a sticker.\n", "date": "2025-01-14", "categories": []} {"id": "2501.09086", "title": "Salient Information Preserving Adversarial Training Improves Clean and\n Robust Accuracy", "abstract": " In this work we introduce Salient Information Preserving Adversarial Training\n(SIP-AT), an intuitive method for relieving the robustness-accuracy trade-off\nincurred by traditional adversarial training. SIP-AT uses salient image regions\nto guide the adversarial training process in such a way that fragile features\ndeemed meaningful by an annotator remain unperturbed during training, allowing\nmodels to learn highly predictive non-robust features without sacrificing\noverall robustness. This technique is compatible with both human-based and\nautomatically generated salience estimates, allowing SIP-AT to be used as a\npart of human-driven model development without forcing SIP-AT to be reliant\nupon additional human data. We perform experiments across multiple datasets and\narchitectures and demonstrate that SIP-AT is able to boost the clean accuracy\nof models while maintaining a high degree of robustness against attacks at\nmultiple epsilon levels. We complement our central experiments with an\nobservational study measuring the rate at which human subjects successfully\nidentify perturbed images. This study helps build a more intuitive\nunderstanding of adversarial attack strength and demonstrates the heightened\nimportance of low-epsilon robustness. Our results demonstrate the efficacy of\nSIP-AT and provide valuable insight into the risks posed by adversarial samples\nof various strengths.\n", "date": "2025-01-15", "categories": []} {"id": "2501.09609", "title": "Adversarial-Ensemble Kolmogorov Arnold Networks for Enhancing Indoor\n Wi-Fi Positioning: A Defensive Approach Against Spoofing and Signal\n Manipulation Attacks", "abstract": " The research presents a study on enhancing the robustness of Wi-Fi-based\nindoor positioning systems against adversarial attacks. The goal is to improve\nthe positioning accuracy and resilience of these systems under two attack\nscenarios: Wi-Fi Spoofing and Signal Strength Manipulation. Three models are\ndeveloped and evaluated: a baseline model (M_Base), an adversarially trained\nrobust model (M_Rob), and an ensemble model (M_Ens). All models utilize a\nKolmogorov-Arnold Network (KAN) architecture. The robust model is trained with\nadversarially perturbed data, while the ensemble model combines predictions\nfrom both the base and robust models. Experimental results show that the robust\nmodel reduces positioning error by approximately 10% compared to the baseline,\nachieving 2.03 meters error under Wi-Fi spoofing and 2.00 meters under signal\nstrength manipulation. The ensemble model further outperforms with errors of\n2.01 meters and 1.975 meters for the respective attack types. This analysis\nhighlights the effectiveness of adversarial training techniques in mitigating\nattack impacts. The findings underscore the importance of considering\nadversarial scenarios in developing indoor positioning systems, as improved\nresilience can significantly enhance the accuracy and reliability of such\nsystems in mission-critical environments.\n", "date": "2025-01-16", "categories": []} {"id": "2310.04539", "title": "Generating Less Certain Adversarial Examples Improves Robust\n Generalization", "abstract": " This paper revisits the robust overfitting phenomenon of adversarial\ntraining. Observing that models with better robust generalization performance\nare less certain in predicting adversarially generated training inputs, we\nargue that overconfidence in predicting adversarial examples is a potential\ncause. Therefore, we hypothesize that generating less certain adversarial\nexamples improves robust generalization, and propose a formal definition of\nadversarial certainty that captures the variance of the model's predicted\nlogits on adversarial examples. Our theoretical analysis of synthetic\ndistributions characterizes the connection between adversarial certainty and\nrobust generalization. Accordingly, built upon the notion of adversarial\ncertainty, we develop a general method to search for models that can generate\ntraining-time adversarial inputs with reduced certainty, while maintaining the\nmodel's capability in distinguishing adversarial examples. Extensive\nexperiments on image benchmarks demonstrate that our method effectively learns\nmodels with consistently improved robustness and mitigates robust overfitting,\nconfirming the importance of generating less certain adversarial examples for\nrobust generalization. Our implementations are available as open-source code\nat: https://github.com/TrustMLRG/AdvCertainty.\n", "date": "2023-10-06", "categories": []} {"id": "2406.12843", "title": "Can Go AIs be adversarially robust?", "abstract": " Prior work found that superhuman Go AIs can be defeated by simple adversarial\nstrategies, especially \"cyclic\" attacks. In this paper, we study whether adding\nnatural countermeasures can achieve robustness in Go, a favorable domain for\nrobustness since it benefits from incredible average-case capability and a\nnarrow, innately adversarial setting. We test three defenses: adversarial\ntraining on hand-constructed positions, iterated adversarial training, and\nchanging the network architecture. We find that though some of these defenses\nprotect against previously discovered attacks, none withstand freshly trained\nadversaries. Furthermore, most of the reliably effective attacks these\nadversaries discover are different realizations of the same overall class of\ncyclic attacks. Our results suggest that building robust AI systems is\nchallenging even with extremely superhuman systems in some of the most\ntractable settings, and highlight two key gaps: efficient generalization of\ndefenses, and diversity in training. For interactive examples of attacks and a\nlink to our codebase, see https://goattack.far.ai.\n", "date": "2024-06-18", "categories": []} {"id": "2501.07922", "title": "VENOM: Text-driven Unrestricted Adversarial Example Generation with\n Diffusion Models", "abstract": " Adversarial attacks have proven effective in deceiving machine learning\nmodels by subtly altering input images, motivating extensive research in recent\nyears. Traditional methods constrain perturbations within $l_p$-norm bounds,\nbut advancements in Unrestricted Adversarial Examples (UAEs) allow for more\ncomplex, generative-model-based manipulations. Diffusion models now lead UAE\ngeneration due to superior stability and image quality over GANs. However,\nexisting diffusion-based UAE methods are limited to using reference images and\nface challenges in generating Natural Adversarial Examples (NAEs) directly from\nrandom noise, often producing uncontrolled or distorted outputs. In this work,\nwe introduce VENOM, the first text-driven framework for high-quality\nunrestricted adversarial examples generation through diffusion models. VENOM\nunifies image content generation and adversarial synthesis into a single\nreverse diffusion process, enabling high-fidelity adversarial examples without\nsacrificing attack success rate (ASR). To stabilize this process, we\nincorporate an adaptive adversarial guidance strategy with momentum, ensuring\nthat the generated adversarial examples $x^*$ align with the distribution\n$p(x)$ of natural images. Extensive experiments demonstrate that VENOM achieves\nsuperior ASR and image quality compared to prior methods, marking a significant\nadvancement in adversarial example generation and providing insights into model\nvulnerabilities for improved defense development.\n", "date": "2025-01-14", "categories": []} {"id": "2211.10227", "title": "Adversarial Detection by Approximation of Ensemble Boundary", "abstract": " Despite being effective in many application areas, Deep Neural Networks\n(DNNs) are vulnerable to being attacked. In object recognition, the attack\ntakes the form of a small perturbation added to an image, that causes the DNN\nto misclassify, but to a human appears no different. Adversarial attacks lead\nto defences that are themselves subject to attack, and the attack/ defence\nstrategies provide important information about the properties of DNNs. In this\npaper, a novel method of detecting adversarial attacks is proposed for an\nensemble of Deep Neural Networks (DNNs) solving two-class pattern recognition\nproblems. The ensemble is combined using Walsh coefficients which are capable\nof approximating Boolean functions and thereby controlling the decision\nboundary complexity. The hypothesis in this paper is that decision boundaries\nwith high curvature allow adversarial perturbations to be found, but change the\ncurvature of the decision boundary, which is then approximated in a different\nway by Walsh coefficients compared to the clean images. Besides controlling\nboundary complexity, the coefficients also measure the correlation with class\nlabels, which may aid in understanding the learning and transferability\nproperties of DNNs. While the experiments here use images, the proposed\napproach of modelling two-class ensemble decision boundaries could in principle\nbe applied to any application area.\n", "date": "2022-11-18", "categories": []} {"id": "2407.04016", "title": "Mitigating Low-Frequency Bias: Feature Recalibration and Frequency\n Attention Regularization for Adversarial Robustness", "abstract": " Ensuring the robustness of deep neural networks against adversarial attacks\nremains a fundamental challenge in computer vision. While adversarial training\n(AT) has emerged as a promising defense strategy, our analysis reveals a\ncritical limitation: AT-trained models exhibit a bias toward low-frequency\nfeatures while neglecting high-frequency components. This bias is particularly\nconcerning as each frequency component carries distinct and crucial\ninformation: low-frequency features encode fundamental structural patterns,\nwhile high-frequency features capture intricate details and textures. To\naddress this limitation, we propose High-Frequency Feature Disentanglement and\nRecalibration (HFDR), a novel module that strategically separates and\nrecalibrates frequency-specific features to capture latent semantic cues. We\nfurther introduce frequency attention regularization to harmonize feature\nextraction across the frequency spectrum and mitigate the inherent\nlow-frequency bias of AT. Extensive experiments demonstrate our method's\nsuperior performance against white-box attacks and transfer attacks, while\nexhibiting strong generalization capabilities across diverse scenarios.\n", "date": "2024-07-04", "categories": []} {"id": "2501.01025", "title": "Towards Adversarially Robust Deep Metric Learning", "abstract": " Deep Metric Learning (DML) has shown remarkable successes in many domains by\ntaking advantage of powerful deep neural networks. Deep neural networks are\nprone to adversarial attacks and could be easily fooled by adversarial\nexamples. The current progress on this robustness issue is mainly about deep\nclassification models but pays little attention to DML models. Existing works\nfail to thoroughly inspect the robustness of DML and neglect an important DML\nscenario, the clustering-based inference. In this work, we first point out the\nrobustness issue of DML models in clustering-based inference scenarios. We find\nthat, for the clustering-based inference, existing defenses designed DML are\nunable to be reused and the adaptions of defenses designed for deep\nclassification models cannot achieve satisfactory robustness performance. To\nalleviate the hazard of adversarial examples, we propose a new defense, the\nEnsemble Adversarial Training (EAT), which exploits ensemble learning and\nadversarial training. EAT promotes the diversity of the ensemble, encouraging\neach model in the ensemble to have different robustness features, and employs a\nself-transferring mechanism to make full use of the robustness statistics of\nthe whole ensemble in the update of every single model. We evaluate the EAT\nmethod on three widely-used datasets with two popular model architectures. The\nresults show that the proposed EAT method greatly outperforms the adaptions of\ndefenses designed for deep classification models.\n", "date": "2025-01-02", "categories": []} {"id": "2501.07044", "title": "Protego: Detecting Adversarial Examples for Vision Transformers via\n Intrinsic Capabilities", "abstract": " Transformer models have excelled in natural language tasks, prompting the\nvision community to explore their implementation in computer vision problems.\nHowever, these models are still influenced by adversarial examples. In this\npaper, we investigate the attack capabilities of six common adversarial attacks\non three pretrained ViT models to reveal the vulnerability of ViT models. To\nunderstand and analyse the bias in neural network decisions when the input is\nadversarial, we use two visualisation techniques that are attention rollout and\ngrad attention rollout. To prevent ViT models from adversarial attack, we\npropose Protego, a detection framework that leverages the transformer intrinsic\ncapabilities to detection adversarial examples of ViT models. Nonetheless, this\nis challenging due to a diversity of attack strategies that may be adopted by\nadversaries. Inspired by the attention mechanism, we know that the token of\nprediction contains all the information from the input sample. Additionally,\nthe attention region for adversarial examples differs from that of normal\nexamples. Given these points, we can train a detector that achieves superior\nperformance than existing detection methods to identify adversarial examples.\nOur experiments have demonstrated the high effectiveness of our detection\nmethod. For these six adversarial attack methods, our detector's AUC scores all\nexceed 0.95. Protego may advance investigations in metaverse security.\n", "date": "2025-01-13", "categories": []} {"id": "2501.05588", "title": "Enforcing Fundamental Relations via Adversarial Attacks on Input\n Parameter Correlations", "abstract": " Correlations between input parameters play a crucial role in many scientific\nclassification tasks, since these are often related to fundamental laws of\nnature. For example, in high energy physics, one of the common deep learning\nuse-cases is the classification of signal and background processes in particle\ncollisions. In many such cases, the fundamental principles of the correlations\nbetween observables are often better understood than the actual distributions\nof the observables themselves. In this work, we present a new adversarial\nattack algorithm called Random Distribution Shuffle Attack (RDSA), emphasizing\nthe correlations between observables in the network rather than individual\nfeature characteristics. Correct application of the proposed novel attack can\nresult in a significant improvement in classification performance -\nparticularly in the context of data augmentation - when using the generated\nadversaries within adversarial training. Given that correlations between input\nfeatures are also crucial in many other disciplines. We demonstrate the RDSA\neffectiveness on six classification tasks, including two particle collision\nchallenges (using CERN Open Data), hand-written digit recognition (MNIST784),\nhuman activity recognition (HAR), weather forecasting (Rain in Australia), and\nICU patient mortality (MIMIC-IV), demonstrating a general use case beyond\nfundamental physics for this new type of adversarial attack algorithms.\n", "date": "2025-01-09", "categories": []} {"id": "2501.05015", "title": "On Measuring Unnoticeability of Graph Adversarial Attacks: Observations,\n New Measure, and Applications", "abstract": " Adversarial attacks are allegedly unnoticeable. Prior studies have designed\nattack noticeability measures on graphs, primarily using statistical tests to\ncompare the topology of original and (possibly) attacked graphs. However, we\nobserve two critical limitations in the existing measures. First, because the\nmeasures rely on simple rules, attackers can readily enhance their attacks to\nbypass them, reducing their attack \"noticeability\" and, yet, maintaining their\nattack performance. Second, because the measures naively leverage global\nstatistics, such as degree distributions, they may entirely overlook attacks\nuntil severe perturbations occur, letting the attacks be almost \"totally\nunnoticeable.\" To address the limitations, we introduce HideNSeek, a learnable\nmeasure for graph attack noticeability. First, to mitigate the bypass problem,\nHideNSeek learns to distinguish the original and (potential) attack edges using\na learnable edge scorer (LEO), which scores each edge on its likelihood of\nbeing an attack. Second, to mitigate the overlooking problem, HideNSeek\nconducts imbalance-aware aggregation of all the edge scores to obtain the final\nnoticeability score. Using six real-world graphs, we empirically demonstrate\nthat HideNSeek effectively alleviates the observed limitations, and LEO (i.e.,\nour learnable edge scorer) outperforms eleven competitors in distinguishing\nattack edges under five different attack methods. For an additional\napplication, we show that LEO boost the performance of robust GNNs by removing\nattack-like edges.\n", "date": "2025-01-09", "categories": []} {"id": "2501.04527", "title": "Towards Fair Class-wise Robustness: Class Optimal Distribution\n Adversarial Training", "abstract": " Adversarial training has proven to be a highly effective method for improving\nthe robustness of deep neural networks against adversarial attacks.\nNonetheless, it has been observed to exhibit a limitation in terms of robust\nfairness, characterized by a significant disparity in robustness across\ndifferent classes. Recent efforts to mitigate this problem have turned to\nclass-wise reweighted methods. However, these methods suffer from a lack of\nrigorous theoretical analysis and are limited in their exploration of the\nweight space, as they mainly rely on existing heuristic algorithms or intuition\nto compute weights. In addition, these methods fail to guarantee the\nconsistency of the optimization direction due to the decoupled optimization of\nweights and the model parameters. They potentially lead to suboptimal weight\nassignments and consequently, a suboptimal model. To address these problems,\nthis paper proposes a novel min-max training framework, Class Optimal\nDistribution Adversarial Training (CODAT), which employs distributionally\nrobust optimization to fully explore the class-wise weight space, thus enabling\nthe identification of the optimal weight with theoretical guarantees.\nFurthermore, we derive a closed-form optimal solution to the internal\nmaximization and then get a deterministic equivalent objective function, which\nprovides a theoretical basis for the joint optimization of weights and model\nparameters. Meanwhile, we propose a fairness elasticity coefficient for the\nevaluation of the algorithm with regard to both robustness and robust fairness.\nExperimental results on various datasets show that the proposed method can\neffectively improve the robust fairness of the model and outperform the\nstate-of-the-art approaches.\n", "date": "2025-01-08", "categories": []} {"id": "2208.06538", "title": "Transferable Adversarial Examples with Bayes Approach", "abstract": " The vulnerability of deep neural networks (DNNs) to black-box adversarial\nattacks is one of the most heated topics in trustworthy AI. In such attacks,\nthe attackers operate without any insider knowledge of the model, making the\ncross-model transferability of adversarial examples critical. Despite the\npotential for adversarial examples to be effective across various models, it\nhas been observed that adversarial examples that are specifically crafted for a\nspecific model often exhibit poor transferability. In this paper, we explore\nthe transferability of adversarial examples via the lens of Bayesian approach.\nSpecifically, we leverage Bayesian approach to probe the transferability and\nthen study what constitutes a transferability-promoting prior. Following this,\nwe design two concrete transferability-promoting priors, along with an adaptive\ndynamic weighting strategy for instances sampled from these priors. Employing\nthese techniques, we present BayAtk. Extensive experiments illustrate the\nsignificant effectiveness of BayAtk in crafting more transferable adversarial\nexamples against both undefended and defended black-box models compared to\nexisting state-of-the-art attacks.\n", "date": "2022-08-13", "categories": []} {"id": "2404.08980", "title": "Stability and Generalization in Free Adversarial Training", "abstract": " While adversarial training methods have significantly improved the robustness\nof deep neural networks against norm-bounded adversarial perturbations, the\ngeneralization gap between their performance on training and test data is\nconsiderably greater than that of standard empirical risk minimization. Recent\nstudies have aimed to connect the generalization properties of adversarially\ntrained classifiers to the min-max optimization algorithm used in their\ntraining. In this work, we analyze the interconnections between generalization\nand optimization in adversarial training using the algorithmic stability\nframework. Specifically, our goal is to compare the generalization gap of\nneural networks trained using the vanilla adversarial training method, which\nfully optimizes perturbations at every iteration, with the free adversarial\ntraining method, which simultaneously optimizes norm-bounded perturbations and\nclassifier parameters. We prove bounds on the generalization error of these\nmethods, indicating that the free adversarial training method may exhibit a\nlower generalization gap between training and test samples due to its\nsimultaneous min-max optimization of classifier weights and perturbation\nvariables. We conduct several numerical experiments to evaluate the\ntrain-to-test generalization gap in vanilla and free adversarial training\nmethods. Our empirical findings also suggest that the free adversarial training\nmethod could lead to a smaller generalization gap over a similar number of\ntraining iterations. The paper code is available at\nhttps://github.com/Xiwei-Cheng/Stability_FreeAT.\n", "date": "2024-04-13", "categories": []} {"id": "2501.03402", "title": "On the Adversarial Robustness of Benjamini Hochberg", "abstract": " The Benjamini-Hochberg (BH) procedure is widely used to control the false\ndetection rate (FDR) in multiple testing. Applications of this control abound\nin drug discovery, forensics, anomaly detection, and, in particular, machine\nlearning, ranging from nonparametric outlier detection to out-of-distribution\ndetection and one-class classification methods. Considering this control could\nbe relied upon in critical safety/security contexts, we investigate its\nadversarial robustness. More precisely, we study under what conditions BH does\nand does not exhibit adversarial robustness, we present a class of simple and\neasily implementable adversarial test-perturbation algorithms, and we perform\ncomputational experiments. With our algorithms, we demonstrate that there are\nconditions under which BH's control can be significantly broken with relatively\nfew (even just one) test score perturbation(s), and provide non-asymptotic\nguarantees on the expected adversarial-adjustment to FDR. Our technical\nanalysis involves a combinatorial reframing of the BH procedure as a ``balls\ninto bins'' process, and drawing a connection to generalized ballot problems to\nfacilitate an information-theoretic approach for deriving non-asymptotic lower\nbounds.\n", "date": "2025-01-06", "categories": []} {"id": "2306.06359", "title": "NeRFool: Uncovering the Vulnerability of Generalizable Neural Radiance\n Fields against Adversarial Perturbations", "abstract": " Generalizable Neural Radiance Fields (GNeRF) are one of the most promising\nreal-world solutions for novel view synthesis, thanks to their cross-scene\ngeneralization capability and thus the possibility of instant rendering on new\nscenes. While adversarial robustness is essential for real-world applications,\nlittle study has been devoted to understanding its implication on GNeRF. We\nhypothesize that because GNeRF is implemented by conditioning on the source\nviews from new scenes, which are often acquired from the Internet or\nthird-party providers, there are potential new security concerns regarding its\nreal-world applications. Meanwhile, existing understanding and solutions for\nneural networks' adversarial robustness may not be applicable to GNeRF, due to\nits 3D nature and uniquely diverse operations. To this end, we present NeRFool,\nwhich to the best of our knowledge is the first work that sets out to\nunderstand the adversarial robustness of GNeRF. Specifically, NeRFool unveils\nthe vulnerability patterns and important insights regarding GNeRF's adversarial\nrobustness. Built upon the above insights gained from NeRFool, we further\ndevelop NeRFool+, which integrates two techniques capable of effectively\nattacking GNeRF across a wide range of target views, and provide guidelines for\ndefending against our proposed attacks. We believe that our NeRFool/NeRFool+\nlays the initial foundation for future innovations in developing robust\nreal-world GNeRF solutions. Our codes are available at:\nhttps://github.com/GATECH-EIC/NeRFool.\n", "date": "2023-06-10", "categories": []} {"id": "2501.02232", "title": "Distillation-Enhanced Physical Adversarial Attacks", "abstract": " The study of physical adversarial patches is crucial for identifying\nvulnerabilities in AI-based recognition systems and developing more robust deep\nlearning models. While recent research has focused on improving patch\nstealthiness for greater practical applicability, achieving an effective\nbalance between stealth and attack performance remains a significant challenge.\nTo address this issue, we propose a novel physical adversarial attack method\nthat leverages knowledge distillation. Specifically, we first define a stealthy\ncolor space tailored to the target environment to ensure smooth blending. Then,\nwe optimize an adversarial patch in an unconstrained color space, which serves\nas the 'teacher' patch. Finally, we use an adversarial knowledge distillation\nmodule to transfer the teacher patch's knowledge to the 'student' patch,\nguiding the optimization of the stealthy patch. Experimental results show that\nour approach improves attack performance by 20%, while maintaining stealth,\nhighlighting its practical value.\n", "date": "2025-01-04", "categories": []} {"id": "2402.01369", "title": "On the Multi-modal Vulnerability of Diffusion Models", "abstract": " Diffusion models have been widely deployed in various image generation tasks,\ndemonstrating an extraordinary connection between image and text modalities.\nAlthough prior studies have explored the vulnerability of diffusion models from\nthe perspectives of text and image modalities separately, the current research\nlandscape has not yet thoroughly investigated the vulnerabilities that arise\nfrom the integration of multiple modalities, specifically through the joint\nanalysis of textual and visual features. In this paper, we are the first to\nvisualize both text and image feature space embedded by diffusion models and\nobserve a significant difference. The prompts are embedded chaotically in the\ntext feature space, while in the image feature space they are clustered\naccording to their subjects. These fascinating findings may underscore a\npotential misalignment in robustness between the two modalities that exists\nwithin diffusion models. Based on this observation, we propose MMP-Attack,\nwhich leverages multi-modal priors (MMP) to manipulate the generation results\nof diffusion models by appending a specific suffix to the original prompt.\nSpecifically, our goal is to induce diffusion models to generate a specific\nobject while simultaneously eliminating the original object. Our MMP-Attack\nshows a notable advantage over existing studies with superior manipulation\ncapability and efficiency. Our code is publicly available at\n\\url{https://github.com/ydc123/MMP-Attack}.\n", "date": "2024-02-02", "categories": []} {"id": "2412.16651", "title": "PB-UAP: Hybrid Universal Adversarial Attack For Image Segmentation", "abstract": " With the rapid advancement of deep learning, the model robustness has become\na significant research hotspot, \\ie, adversarial attacks on deep neural\nnetworks. Existing works primarily focus on image classification tasks, aiming\nto alter the model's predicted labels. Due to the output complexity and deeper\nnetwork architectures, research on adversarial examples for segmentation models\nis still limited, particularly for universal adversarial perturbations. In this\npaper, we propose a novel universal adversarial attack method designed for\nsegmentation models, which includes dual feature separation and low-frequency\nscattering modules. The two modules guide the training of adversarial examples\nin the pixel and frequency space, respectively. Experiments demonstrate that\nour method achieves high attack success rates surpassing the state-of-the-art\nmethods, and exhibits strong transferability across different models.\n", "date": "2024-12-21", "categories": []} {"id": "2501.01529", "title": "SAFER: Sharpness Aware layer-selective Finetuning for Enhanced\n Robustness in vision transformers", "abstract": " Vision transformers (ViTs) have become essential backbones in advanced\ncomputer vision applications and multi-modal foundation models. Despite their\nstrengths, ViTs remain vulnerable to adversarial perturbations, comparable to\nor even exceeding the vulnerability of convolutional neural networks (CNNs).\nFurthermore, the large parameter count and complex architecture of ViTs make\nthem particularly prone to adversarial overfitting, often compromising both\nclean and adversarial accuracy.\n This paper mitigates adversarial overfitting in ViTs through a novel,\nlayer-selective fine-tuning approach: SAFER. Instead of optimizing the entire\nmodel, we identify and selectively fine-tune a small subset of layers most\nsusceptible to overfitting, applying sharpness-aware minimization to these\nlayers while freezing the rest of the model. Our method consistently enhances\nboth clean and adversarial accuracy over baseline approaches. Typical\nimprovements are around 5%, with some cases achieving gains as high as 20%\nacross various ViT architectures and datasets.\n", "date": "2025-01-02", "categories": []} {"id": "2501.01620", "title": "Adaptive Meta-learning-based Adversarial Training for Robust Automatic\n Modulation Classification", "abstract": " DL-based automatic modulation classification (AMC) models are highly\nsusceptible to adversarial attacks, where even minimal input perturbations can\ncause severe misclassifications. While adversarially training an AMC model\nbased on an adversarial attack significantly increases its robustness against\nthat attack, the AMC model will still be defenseless against other adversarial\nattacks. The theoretically infinite possibilities for adversarial perturbations\nmean that an AMC model will inevitably encounter new unseen adversarial attacks\nif it is ever to be deployed to a real-world communication system. Moreover,\nthe computational limitations and challenges of obtaining new data in real-time\nwill not allow a full training process for the AMC model to adapt to the new\nattack when it is online. To this end, we propose a meta-learning-based\nadversarial training framework for AMC models that substantially enhances\nrobustness against unseen adversarial attacks and enables fast adaptation to\nthese attacks using just a few new training samples, if any are available. Our\nresults demonstrate that this training framework provides superior robustness\nand accuracy with much less online training time than conventional adversarial\ntraining of AMC models, making it highly efficient for real-world deployment.\n", "date": "2025-01-03", "categories": []} {"id": "2501.01818", "title": "Rerouting LLM Routers", "abstract": " LLM routers aim to balance quality and cost of generation by classifying\nqueries and routing them to a cheaper or more expensive LLM depending on their\ncomplexity. Routers represent one type of what we call LLM control planes:\nsystems that orchestrate use of one or more LLMs. In this paper, we investigate\nrouters' adversarial robustness.\n We first define LLM control plane integrity, i.e., robustness of LLM\norchestration to adversarial inputs, as a distinct problem in AI safety. Next,\nwe demonstrate that an adversary can generate query-independent token sequences\nwe call ``confounder gadgets'' that, when added to any query, cause LLM routers\nto send the query to a strong LLM.\n Our quantitative evaluation shows that this attack is successful both in\nwhite-box and black-box settings against a variety of open-source and\ncommercial routers, and that confounding queries do not affect the quality of\nLLM responses. Finally, we demonstrate that gadgets can be effective while\nmaintaining low perplexity, thus perplexity-based filtering is not an effective\ndefense. We finish by investigating alternative defenses.\n", "date": "2025-01-03", "categories": []} {"id": "2311.05006", "title": "Familiarity-Based Open-Set Recognition Under Adversarial Attacks", "abstract": " Open-set recognition (OSR), the identification of novel categories, can be a\ncritical component when deploying classification models in real-world\napplications. Recent work has shown that familiarity-based scoring rules such\nas the Maximum Softmax Probability (MSP) or the Maximum Logit Score (MLS) are\nstrong baselines when the closed-set accuracy is high. However, one of the\npotential weaknesses of familiarity-based OSR are adversarial attacks. Here, we\nstudy gradient-based adversarial attacks on familiarity scores for both types\nof attacks, False Familiarity and False Novelty attacks, and evaluate their\neffectiveness in informed and uninformed settings on TinyImageNet. Furthermore,\nwe explore how novel and familiar samples react to adversarial attacks and\nformulate the adversarial reaction score as an alternative OSR scoring rule,\nwhich shows a high correlation with the MLS familiarity score.\n", "date": "2023-11-08", "categories": []} {"id": "2501.00707", "title": "Everywhere Attack: Attacking Locally and Globally to Boost Targeted\n Transferability", "abstract": " Adversarial examples' (AE) transferability refers to the phenomenon that AEs\ncrafted with one surrogate model can also fool other models. Notwithstanding\nremarkable progress in untargeted transferability, its targeted counterpart\nremains challenging. This paper proposes an everywhere scheme to boost targeted\ntransferability. Our idea is to attack a victim image both globally and\nlocally. We aim to optimize 'an army of targets' in every local image region\ninstead of the previous works that optimize a high-confidence target in the\nimage. Specifically, we split a victim image into non-overlap blocks and\njointly mount a targeted attack on each block. Such a strategy mitigates\ntransfer failures caused by attention inconsistency between surrogate and\nvictim models and thus results in stronger transferability. Our approach is\nmethod-agnostic, which means it can be easily combined with existing\ntransferable attacks for even higher transferability. Extensive experiments on\nImageNet demonstrate that the proposed approach universally improves the\nstate-of-the-art targeted attacks by a clear margin, e.g., the transferability\nof the widely adopted Logit attack can be improved by 28.8%-300%.We also\nevaluate the crafted AEs on a real-world platform: Google Cloud Vision. Results\nfurther support the superiority of the proposed method.\n", "date": "2025-01-01", "categories": []} {"id": "2501.01106", "title": "AIM: Additional Image Guided Generation of Transferable Adversarial\n Attacks", "abstract": " Transferable adversarial examples highlight the vulnerability of deep neural\nnetworks (DNNs) to imperceptible perturbations across various real-world\napplications. While there have been notable advancements in untargeted\ntransferable attacks, targeted transferable attacks remain a significant\nchallenge. In this work, we focus on generative approaches for targeted\ntransferable attacks. Current generative attacks focus on reducing overfitting\nto surrogate models and the source data domain, but they often overlook the\nimportance of enhancing transferability through additional semantics. To\naddress this issue, we introduce a novel plug-and-play module into the general\ngenerator architecture to enhance adversarial transferability. Specifically, we\npropose a \\emph{Semantic Injection Module} (SIM) that utilizes the semantics\ncontained in an additional guiding image to improve transferability. The\nguiding image provides a simple yet effective method to incorporate target\nsemantics from the target class to create targeted and highly transferable\nattacks. Additionally, we propose new loss formulations that can integrate the\nsemantic injection module more effectively for both targeted and untargeted\nattacks. We conduct comprehensive experiments under both targeted and\nuntargeted attack settings to demonstrate the efficacy of our proposed\napproach.\n", "date": "2025-01-02", "categories": []} {"id": "2412.19947", "title": "Standard-Deviation-Inspired Regularization for Improving Adversarial\n Robustness", "abstract": " Adversarial Training (AT) has been demonstrated to improve the robustness of\ndeep neural networks (DNNs) against adversarial attacks. AT is a min-max\noptimization procedure where in adversarial examples are generated to train a\nmore robust DNN. The inner maximization step of AT increases the losses of\ninputs with respect to their actual classes. The outer minimization involves\nminimizing the losses on the adversarial examples obtained from the inner\nmaximization. This work proposes a standard-deviation-inspired (SDI)\nregularization term to improve adversarial robustness and generalization. We\nargue that the inner maximization in AT is similar to minimizing a modified\nstandard deviation of the model's output probabilities. Moreover, we suggest\nthat maximizing this modified standard deviation can complement the outer\nminimization of the AT framework. To support our argument, we experimentally\nshow that the SDI measure can be used to craft adversarial examples.\nAdditionally, we demonstrate that combining the SDI regularization term with\nexisting AT variants enhances the robustness of DNNs against stronger attacks,\nsuch as CW and Auto-attack, and improves generalization.\n", "date": "2024-12-27", "categories": []} {"id": "2412.20529", "title": "Attacks on the neural network and defense methods", "abstract": " This article will discuss the use of attacks on a neural network trained on\naudio data, as well as possible methods of protection against these attacks.\nFGSM, PGD and CW attacks, as well as data poisoning, will be considered. Within\nthe framework of protection, Art-IBM and advertorch libraries will be\nconsidered. The obtained accuracy metrics within the framework of attack\napplications are presented\n", "date": "2024-12-29", "categories": []} {"id": "2412.20807", "title": "Two Heads Are Better Than One: Averaging along Fine-Tuning to Improve\n Targeted Transferability", "abstract": " With much longer optimization time than that of untargeted attacks\nnotwithstanding, the transferability of targeted attacks is still far from\nsatisfactory. Recent studies reveal that fine-tuning an existing adversarial\nexample (AE) in feature space can efficiently boost its targeted\ntransferability. However, existing fine-tuning schemes only utilize the\nendpoint and ignore the valuable information in the fine-tuning trajectory.\nNoting that the vanilla fine-tuning trajectory tends to oscillate around the\nperiphery of a flat region of the loss surface, we propose averaging over the\nfine-tuning trajectory to pull the crafted AE towards a more centered region.\nWe compare the proposed method with existing fine-tuning schemes by integrating\nthem with state-of-the-art targeted attacks in various attacking scenarios.\nExperimental results uphold the superiority of the proposed method in boosting\ntargeted transferability. The code is available at github.com/zengh5/Avg_FT.\n", "date": "2024-12-30", "categories": []} {"id": "2412.21164", "title": "Adversarial Attack and Defense for LoRa Device Identification and\n Authentication via Deep Learning", "abstract": " LoRa provides long-range, energy-efficient communications in Internet of\nThings (IoT) applications that rely on Low-Power Wide-Area Network (LPWAN)\ncapabilities. Despite these merits, concerns persist regarding the security of\nLoRa networks, especially in situations where device identification and\nauthentication are imperative to secure the reliable access to the LoRa\nnetworks. This paper explores a deep learning (DL) approach to tackle these\nconcerns, focusing on two critical tasks, namely (i) identifying LoRa devices\nand (ii) classifying them to legitimate and rogue devices. Deep neural networks\n(DNNs), encompassing both convolutional and feedforward neural networks, are\ntrained for these tasks using actual LoRa signal data. In this setting, the\nadversaries may spoof rogue LoRa signals through the kernel density estimation\n(KDE) method based on legitimate device signals that are received by the\nadversaries. Two cases are considered, (i) training two separate classifiers,\none for each of the two tasks, and (ii) training a multi-task classifier for\nboth tasks. The vulnerabilities of the resulting DNNs to manipulations in input\nsamples are studied in form of untargeted and targeted adversarial attacks\nusing the Fast Gradient Sign Method (FGSM). Individual and common perturbations\nare considered against single-task and multi-task classifiers for the LoRa\nsignal analysis. To provide resilience against such attacks, a defense approach\nis presented by increasing the robustness of classifiers with adversarial\ntraining. Results quantify how vulnerable LoRa signal classification tasks are\nto adversarial attacks and emphasize the need to fortify IoT applications\nagainst these subtle yet effective threats.\n", "date": "2024-12-30", "categories": []} {"id": "2412.18706", "title": "SurvAttack: Black-Box Attack On Survival Models through\n Ontology-Informed EHR Perturbation", "abstract": " Survival analysis (SA) models have been widely studied in mining electronic\nhealth records (EHRs), particularly in forecasting the risk of critical\nconditions for prioritizing high-risk patients. However, their vulnerability to\nadversarial attacks is much less explored in the literature. Developing\nblack-box perturbation algorithms and evaluating their impact on\nstate-of-the-art survival models brings two benefits to medical applications.\nFirst, it can effectively evaluate the robustness of models in pre-deployment\ntesting. Also, exploring how subtle perturbations would result in significantly\ndifferent outcomes can provide counterfactual insights into the clinical\ninterpretation of model prediction. In this work, we introduce SurvAttack, a\nnovel black-box adversarial attack framework leveraging subtle clinically\ncompatible, and semantically consistent perturbations on longitudinal EHRs to\ndegrade survival models' predictive performance. We specifically develop a\ngreedy algorithm to manipulate medical codes with various adversarial actions\nthroughout a patient's medical history. Then, these adversarial actions are\nprioritized using a composite scoring strategy based on multi-aspect\nperturbation quality, including saliency, perturbation stealthiness, and\nclinical meaningfulness. The proposed adversarial EHR perturbation algorithm is\nthen used in an efficient SA-specific strategy to attack a survival model when\nestimating the temporal ranking of survival urgency for patients. To\ndemonstrate the significance of our work, we conduct extensive experiments,\nincluding baseline comparisons, explainability analysis, and case studies. The\nexperimental results affirm our research's effectiveness in illustrating the\nvulnerabilities of patient survival models, model interpretation, and\nultimately contributing to healthcare quality.\n", "date": "2024-12-24", "categories": []} {"id": "2412.18718", "title": "Evaluating the Adversarial Robustness of Detection Transformers", "abstract": " Robust object detection is critical for autonomous driving and mobile\nrobotics, where accurate detection of vehicles, pedestrians, and obstacles is\nessential for ensuring safety. Despite the advancements in object detection\ntransformers (DETRs), their robustness against adversarial attacks remains\nunderexplored. This paper presents a comprehensive evaluation of DETR model and\nits variants under both white-box and black-box adversarial attacks, using the\nMS-COCO and KITTI datasets to cover general and autonomous driving scenarios.\nWe extend prominent white-box attack methods (FGSM, PGD, and CW) to assess DETR\nvulnerability, demonstrating that DETR models are significantly susceptible to\nadversarial attacks, similar to traditional CNN-based detectors. Our extensive\ntransferability analysis reveals high intra-network transferability among DETR\nvariants, but limited cross-network transferability to CNN-based models.\nAdditionally, we propose a novel untargeted attack designed specifically for\nDETR, exploiting its intermediate loss functions to induce misclassification\nwith minimal perturbations. Visualizations of self-attention feature maps\nprovide insights into how adversarial attacks affect the internal\nrepresentations of DETR models. These findings reveal critical vulnerabilities\nin detection transformers under standard adversarial attacks, emphasizing the\nneed for future research to enhance the robustness of transformer-based object\ndetectors in safety-critical applications.\n", "date": "2024-12-25", "categories": []} {"id": "2412.18815", "title": "Distortion-Aware Adversarial Attacks on Bounding Boxes of Object\n Detectors", "abstract": " Deep learning-based object detection has become ubiquitous in the last decade\ndue to its high accuracy in many real-world applications. With this growing\ntrend, these models are interested in being attacked by adversaries, with most\nof the results being on classifiers, which do not match the context of\npractical object detection. In this work, we propose a novel method to fool\nobject detectors, expose the vulnerability of state-of-the-art detectors, and\npromote later works to build more robust detectors to adversarial examples. Our\nmethod aims to generate adversarial images by perturbing object confidence\nscores during training, which is crucial in predicting confidence for each\nclass in the testing phase. Herein, we provide a more intuitive technique to\nembed additive noises based on detected objects' masks and the training loss\nwith distortion control over the original image by leveraging the gradient of\niterative images. To verify the proposed method, we perform adversarial attacks\nagainst different object detectors, including the most recent state-of-the-art\nmodels like YOLOv8, Faster R-CNN, RetinaNet, and Swin Transformer. We also\nevaluate our technique on MS COCO 2017 and PASCAL VOC 2012 datasets and analyze\nthe trade-off between success attack rate and image distortion. Our experiments\nshow that the achievable success attack rate is up to $100$\\% and up to $98$\\%\nwhen performing white-box and black-box attacks, respectively. The source code\nand relevant documentation for this work are available at the following link:\nhttps://github.com/anonymous20210106/attack_detector\n", "date": "2024-12-25", "categories": []} {"id": "2412.18844", "title": "Improving Integrated Gradient-based Transferable Adversarial Examples by\n Refining the Integration Path", "abstract": " Transferable adversarial examples are known to cause threats in practical,\nblack-box attack scenarios. A notable approach to improving transferability is\nusing integrated gradients (IG), originally developed for model\ninterpretability. In this paper, we find that existing IG-based attacks have\nlimited transferability due to their naive adoption of IG in model\ninterpretability. To address this limitation, we focus on the IG integration\npath and refine it in three aspects: multiplicity, monotonicity, and diversity,\nsupported by theoretical analyses. We propose the Multiple Monotonic\nDiversified Integrated Gradients (MuMoDIG) attack, which can generate highly\ntransferable adversarial examples on different CNN and ViT models and defenses.\nExperiments validate that MuMoDIG outperforms the latest IG-based attack by up\nto 37.3\\% and other state-of-the-art attacks by 8.4\\%. In general, our study\nreveals that migrating established techniques to improve transferability may\nrequire non-trivial efforts. Code is available at\n\\url{https://github.com/RYC-98/MuMoDIG}.\n", "date": "2024-12-25", "categories": []} {"id": "2412.18952", "title": "Bridging Interpretability and Robustness Using LIME-Guided Model\n Refinement", "abstract": " This paper explores the intricate relationship between interpretability and\nrobustness in deep learning models. Despite their remarkable performance across\nvarious tasks, deep learning models often exhibit critical vulnerabilities,\nincluding susceptibility to adversarial attacks, over-reliance on spurious\ncorrelations, and a lack of transparency in their decision-making processes. To\naddress these limitations, we propose a novel framework that leverages Local\nInterpretable Model-Agnostic Explanations (LIME) to systematically enhance\nmodel robustness. By identifying and mitigating the influence of irrelevant or\nmisleading features, our approach iteratively refines the model, penalizing\nreliance on these features during training. Empirical evaluations on multiple\nbenchmark datasets demonstrate that LIME-guided refinement not only improves\ninterpretability but also significantly enhances resistance to adversarial\nperturbations and generalization to out-of-distribution data.\n", "date": "2024-12-25", "categories": []} {"id": "2412.19015", "title": "Imperceptible Adversarial Attacks on Point Clouds Guided by\n Point-to-Surface Field", "abstract": " Adversarial attacks on point clouds are crucial for assessing and improving\nthe adversarial robustness of 3D deep learning models. Traditional solutions\nstrictly limit point displacement during attacks, making it challenging to\nbalance imperceptibility with adversarial effectiveness. In this paper, we\nattribute the inadequate imperceptibility of adversarial attacks on point\nclouds to deviations from the underlying surface. To address this, we introduce\na novel point-to-surface (P2S) field that adjusts adversarial perturbation\ndirections by dragging points back to their original underlying surface.\nSpecifically, we use a denoising network to learn the gradient field of the\nlogarithmic density function encoding the shape's surface, and apply a\ndistance-aware adjustment to perturbation directions during attacks, thereby\nenhancing imperceptibility. Extensive experiments show that adversarial attacks\nguided by our P2S field are more imperceptible, outperforming state-of-the-art\nmethods.\n", "date": "2024-12-26", "categories": []} {"id": "2412.19747", "title": "Enhancing Adversarial Robustness of Deep Neural Networks Through\n Supervised Contrastive Learning", "abstract": " Adversarial attacks exploit the vulnerabilities of convolutional neural\nnetworks by introducing imperceptible perturbations that lead to\nmisclassifications, exposing weaknesses in feature representations and decision\nboundaries. This paper presents a novel framework combining supervised\ncontrastive learning and margin-based contrastive loss to enhance adversarial\nrobustness. Supervised contrastive learning improves the structure of the\nfeature space by clustering embeddings of samples within the same class and\nseparating those from different classes. Margin-based contrastive loss,\ninspired by support vector machines, enforces explicit constraints to create\nrobust decision boundaries with well-defined margins. Experiments on the\nCIFAR-100 dataset with a ResNet-18 backbone demonstrate robustness performance\nimprovements in adversarial accuracy under Fast Gradient Sign Method attacks.\n", "date": "2024-12-27", "categories": []} {"id": "2408.10204", "title": "Criticality Leveraged Adversarial Training (CLAT) for Boosted\n Performance via Parameter Efficiency", "abstract": " Adversarial training enhances neural network robustness but suffers from a\ntendency to overfit and increased generalization errors on clean data. This\nwork introduces CLAT, an innovative approach that mitigates adversarial\noverfitting by introducing parameter efficiency into the adversarial training\nprocess, improving both clean accuracy and adversarial robustness. Instead of\ntuning the entire model, CLAT identifies and fine-tunes robustness-critical\nlayers - those predominantly learning non-robust features - while freezing the\nremaining model to enhance robustness. It employs dynamic critical layer\nselection to adapt to changes in layer criticality throughout the fine-tuning\nprocess. Empirically, CLAT can be applied on top of existing adversarial\ntraining methods, significantly reduces the number of trainable parameters by\napproximately 95%, and achieves more than a 2% improvement in adversarial\nrobustness compared to baseline methods.\n", "date": "2024-08-19", "categories": []} {"id": "2412.16662", "title": "Adversarial Attack Against Images Classification based on Generative\n Adversarial Networks", "abstract": " Adversarial attacks on image classification systems have always been an\nimportant problem in the field of machine learning, and generative adversarial\nnetworks (GANs), as popular models in the field of image generation, have been\nwidely used in various novel scenarios due to their powerful generative\ncapabilities. However, with the popularity of generative adversarial networks,\nthe misuse of fake image technology has raised a series of security problems,\nsuch as malicious tampering with other people's photos and videos, and invasion\nof personal privacy. Inspired by the generative adversarial networks, this work\nproposes a novel adversarial attack method, aiming to gain insight into the\nweaknesses of the image classification system and improve its anti-attack\nability. Specifically, the generative adversarial networks are used to generate\nadversarial samples with small perturbations but enough to affect the\ndecision-making of the classifier, and the adversarial samples are generated\nthrough the adversarial learning of the training generator and the classifier.\nFrom extensive experiment analysis, we evaluate the effectiveness of the method\non a classical image classification dataset, and the results show that our\nmodel successfully deceives a variety of advanced classifiers while maintaining\nthe naturalness of adversarial samples.\n", "date": "2024-12-21", "categories": []} {"id": "2412.09692", "title": "Three-in-One: Robust Enhanced Universal Transferable Anti-Facial\n Retrieval in Online Social Networks", "abstract": " Deep hash-based retrieval techniques are widely used in facial retrieval\nsystems to improve the efficiency of facial matching. However, it also carries\nthe danger of exposing private information. Deep hash models are easily\ninfluenced by adversarial examples, which can be leveraged to protect private\nimages from malicious retrieval. The existing adversarial example methods\nagainst deep hash models focus on universality and transferability, lacking the\nresearch on its robustness in online social networks (OSNs), which leads to\ntheir failure in anti-retrieval after post-processing. Therefore, we provide\nthe first in-depth discussion on robustness adversarial perturbation in\nuniversal transferable anti-facial retrieval and propose Three-in-One\nAdversarial Perturbation (TOAP). Specifically, we construct a local and global\nCompression Generator (CG) to simulate complex post-processing scenarios, which\ncan be used to mitigate perturbation. Then, we propose robust optimization\nobjectives based on the discovery of the variation patterns of model's\ndistribution after post-processing, and generate adversarial examples using\nthese objectives and meta-learning. Finally, we iteratively optimize\nperturbation by alternately generating adversarial examples and fine-tuning the\nCG, balancing the performance of perturbation while enhancing CG's ability to\nmitigate them. Numerous experiments demonstrate that, in addition to its\nadvantages in universality and transferability, TOAP significantly outperforms\ncurrent state-of-the-art methods in multiple robustness metrics. It further\nimproves universality and transferability by 5% to 28%, and achieves up to\nabout 33% significant improvement in several simulated post-processing\nscenarios as well as mainstream OSNs, demonstrating that TOAP can effectively\nprotect private images from malicious retrieval in real-world scenarios.\n", "date": "2024-12-12", "categories": []} {"id": "2412.16213", "title": "AdvIRL: Reinforcement Learning-Based Adversarial Attacks on 3D NeRF\n Models", "abstract": " The increasing deployment of AI models in critical applications has exposed\nthem to significant risks from adversarial attacks. While adversarial\nvulnerabilities in 2D vision models have been extensively studied, the threat\nlandscape for 3D generative models, such as Neural Radiance Fields (NeRF),\nremains underexplored. This work introduces \\textit{AdvIRL}, a novel framework\nfor crafting adversarial NeRF models using Instant Neural Graphics Primitives\n(Instant-NGP) and Reinforcement Learning. Unlike prior methods, \\textit{AdvIRL}\ngenerates adversarial noise that remains robust under diverse 3D\ntransformations, including rotations and scaling, enabling effective black-box\nattacks in real-world scenarios. Our approach is validated across a wide range\nof scenes, from small objects (e.g., bananas) to large environments (e.g.,\nlighthouses). Notably, targeted attacks achieved high-confidence\nmisclassifications, such as labeling a banana as a slug and a truck as a\ncannon, demonstrating the practical risks posed by adversarial NeRFs. Beyond\nattacking, \\textit{AdvIRL}-generated adversarial models can serve as\nadversarial training data to enhance the robustness of vision systems. The\nimplementation of \\textit{AdvIRL} is publicly available at\n\\url{https://github.com/Tommy-Nguyen-cpu/AdvIRL/tree/MultiView-Clean}, ensuring\nreproducibility and facilitating future research.\n", "date": "2024-12-18", "categories": []} {"id": "2412.16234", "title": "Is AI Robust Enough for Scientific Research?", "abstract": " We uncover a phenomenon largely overlooked by the scientific community\nutilizing AI: neural networks exhibit high susceptibility to minute\nperturbations, resulting in significant deviations in their outputs. Through an\nanalysis of five diverse application areas -- weather forecasting, chemical\nenergy and force calculations, fluid dynamics, quantum chromodynamics, and\nwireless communication -- we demonstrate that this vulnerability is a broad and\ngeneral characteristic of AI systems. This revelation exposes a hidden risk in\nrelying on neural networks for essential scientific computations, calling\nfurther studies on their reliability and security.\n", "date": "2024-12-19", "categories": []} {"id": "2412.16955", "title": "NumbOD: A Spatial-Frequency Fusion Attack Against Object Detectors", "abstract": " With the advancement of deep learning, object detectors (ODs) with various\narchitectures have achieved significant success in complex scenarios like\nautonomous driving. Previous adversarial attacks against ODs have been focused\non designing customized attacks targeting their specific structures (e.g., NMS\nand RPN), yielding some results but simultaneously constraining their\nscalability. Moreover, most efforts against ODs stem from image-level attacks\noriginally designed for classification tasks, resulting in redundant\ncomputations and disturbances in object-irrelevant areas (e.g., background).\nConsequently, how to design a model-agnostic efficient attack to\ncomprehensively evaluate the vulnerabilities of ODs remains challenging and\nunresolved. In this paper, we propose NumbOD, a brand-new spatial-frequency\nfusion attack against various ODs, aimed at disrupting object detection within\nimages. We directly leverage the features output by the OD without relying on\nits internal structures to craft adversarial examples. Specifically, we first\ndesign a dual-track attack target selection strategy to select high-quality\nbounding boxes from OD outputs for targeting. Subsequently, we employ\ndirectional perturbations to shift and compress predicted boxes and change\nclassification results to deceive ODs. Additionally, we focus on manipulating\nthe high-frequency components of images to confuse ODs' attention on critical\nobjects, thereby enhancing the attack efficiency. Our extensive experiments on\nnine ODs and two datasets show that NumbOD achieves powerful attack performance\nand high stealthiness.\n", "date": "2024-12-22", "categories": []} {"id": "2412.16958", "title": "Breaking Barriers in Physical-World Adversarial Examples: Improving\n Robustness and Transferability via Robust Feature", "abstract": " As deep neural networks (DNNs) are widely applied in the physical world, many\nresearches are focusing on physical-world adversarial examples (PAEs), which\nintroduce perturbations to inputs and cause the model's incorrect outputs.\nHowever, existing PAEs face two challenges: unsatisfactory attack performance\n(i.e., poor transferability and insufficient robustness to environment\nconditions), and difficulty in balancing attack effectiveness with\nstealthiness, where better attack effectiveness often makes PAEs more\nperceptible.\n In this paper, we explore a novel perturbation-based method to overcome the\nchallenges. For the first challenge, we introduce a strategy Deceptive RF\ninjection based on robust features (RFs) that are predictive, robust to\nperturbations, and consistent across different models. Specifically, it\nimproves the transferability and robustness of PAEs by covering RFs of other\nclasses onto the predictive features in clean images. For the second challenge,\nwe introduce another strategy Adversarial Semantic Pattern Minimization, which\nremoves most perturbations and retains only essential adversarial patterns in\nAEsBased on the two strategies, we design our method Robust Feature Coverage\nAttack (RFCoA), comprising Robust Feature Disentanglement and Adversarial\nFeature Fusion. In the first stage, we extract target class RFs in feature\nspace. In the second stage, we use attention-based feature fusion to overlay\nthese RFs onto predictive features of clean images and remove unnecessary\nperturbations. Experiments show our method's superior transferability,\nrobustness, and stealthiness compared to existing state-of-the-art methods.\nAdditionally, our method's effectiveness can extend to Large Vision-Language\nModels (LVLMs), indicating its potential applicability to more complex tasks.\n", "date": "2024-12-22", "categories": []} {"id": "2412.15275", "title": "Fooling LLM graders into giving better grades through neural activity\n guided adversarial prompting", "abstract": " The deployment of artificial intelligence (AI) in critical decision-making\nand evaluation processes raises concerns about inherent biases that malicious\nactors could exploit to distort decision outcomes. We propose a systematic\nmethod to reveal such biases in AI evaluation systems and apply it to automated\nessay grading as an example. Our approach first identifies hidden neural\nactivity patterns that predict distorted decision outcomes and then optimizes\nan adversarial input suffix to amplify such patterns. We demonstrate that this\ncombination can effectively fool large language model (LLM) graders into\nassigning much higher grades than humans would. We further show that this\nwhite-box attack transfers to black-box attacks on other models, including\ncommercial closed-source models like Gemini. They further reveal the existence\nof a \"magic word\" that plays a pivotal role in the efficacy of the attack. We\ntrace the origin of this magic word bias to the structure of commonly-used chat\ntemplates for supervised fine-tuning of LLMs and show that a minor change in\nthe template can drastically reduce the bias. This work not only uncovers\nvulnerabilities in current LLMs but also proposes a systematic method to\nidentify and remove hidden biases, contributing to the goal of ensuring AI\nsafety and security.\n", "date": "2024-12-17", "categories": []} {"id": "2412.15614", "title": "Technical Report for ICML 2024 TiFA Workshop MLLM Attack Challenge:\n Suffix Injection and Projected Gradient Descent Can Easily Fool An MLLM", "abstract": " This technical report introduces our top-ranked solution that employs two\napproaches, \\ie suffix injection and projected gradient descent (PGD) , to\naddress the TiFA workshop MLLM attack challenge. Specifically, we first append\nthe text from an incorrectly labeled option (pseudo-labeled) to the original\nquery as a suffix. Using this modified query, our second approach applies the\nPGD method to add imperceptible perturbations to the image. Combining these two\ntechniques enables successful attacks on the LLaVA 1.5 model.\n", "date": "2024-12-20", "categories": []} {"id": "2412.15924", "title": "Watertox: The Art of Simplicity in Universal Attacks A Cross-Model\n Framework for Robust Adversarial Generation", "abstract": " Contemporary adversarial attack methods face significant limitations in\ncross-model transferability and practical applicability. We present Watertox,\nan elegant adversarial attack framework achieving remarkable effectiveness\nthrough architectural diversity and precision-controlled perturbations. Our\ntwo-stage Fast Gradient Sign Method combines uniform baseline perturbations\n($\\epsilon_1 = 0.1$) with targeted enhancements ($\\epsilon_2 = 0.4$). The\nframework leverages an ensemble of complementary architectures, from VGG to\nConvNeXt, synthesizing diverse perspectives through an innovative voting\nmechanism. Against state-of-the-art architectures, Watertox reduces model\naccuracy from 70.6% to 16.0%, with zero-shot attacks achieving up to 98.8%\naccuracy reduction against unseen architectures. These results establish\nWatertox as a significant advancement in adversarial methodologies, with\npromising applications in visual security systems and CAPTCHA generation.\n", "date": "2024-12-20", "categories": []} {"id": "2412.08108", "title": "Doubly-Universal Adversarial Perturbations: Deceiving Vision-Language\n Models Across Both Images and Text with a Single Perturbation", "abstract": " Large Vision-Language Models (VLMs) have demonstrated remarkable performance\nacross multimodal tasks by integrating vision encoders with large language\nmodels (LLMs). However, these models remain vulnerable to adversarial attacks.\nAmong such attacks, Universal Adversarial Perturbations (UAPs) are especially\npowerful, as a single optimized perturbation can mislead the model across\nvarious input images. In this work, we introduce a novel UAP specifically\ndesigned for VLMs: the Doubly-Universal Adversarial Perturbation (Doubly-UAP),\ncapable of universally deceiving VLMs across both image and text inputs. To\nsuccessfully disrupt the vision encoder's fundamental process, we analyze the\ncore components of the attention mechanism. After identifying value vectors in\nthe middle-to-late layers as the most vulnerable, we optimize Doubly-UAP in a\nlabel-free manner with a frozen model. Despite being developed as a black-box\nto the LLM, Doubly-UAP achieves high attack success rates on VLMs, consistently\noutperforming baseline methods across vision-language tasks. Extensive ablation\nstudies and analyses further demonstrate the robustness of Doubly-UAP and\nprovide insights into how it influences internal attention mechanisms.\n", "date": "2024-12-11", "categories": []} {"id": "2412.08282", "title": "How Does the Smoothness Approximation Method Facilitate Generalization\n for Federated Adversarial Learning?", "abstract": " Federated Adversarial Learning (FAL) is a robust framework for resisting\nadversarial attacks on federated learning. Although some FAL studies have\ndeveloped efficient algorithms, they primarily focus on convergence performance\nand overlook generalization. Generalization is crucial for evaluating algorithm\nperformance on unseen data. However, generalization analysis is more\nchallenging due to non-smooth adversarial loss functions. A common approach to\naddressing this issue is to leverage smoothness approximation. In this paper,\nwe develop algorithm stability measures to evaluate the generalization\nperformance of two popular FAL algorithms: \\textit{Vanilla FAL (VFAL)} and {\\it\nSlack FAL (SFAL)}, using three different smooth approximation methods: 1)\n\\textit{Surrogate Smoothness Approximation (SSA)}, (2) \\textit{Randomized\nSmoothness Approximation (RSA)}, and (3) \\textit{Over-Parameterized Smoothness\nApproximation (OPSA)}. Based on our in-depth analysis, we answer the question\nof how to properly set the smoothness approximation method to mitigate\ngeneralization error in FAL. Moreover, we identify RSA as the most effective\nmethod for reducing generalization error. In highly data-heterogeneous\nscenarios, we also recommend employing SFAL to mitigate the deterioration of\ngeneralization performance caused by heterogeneity. Based on our theoretical\nresults, we provide insights to help develop more efficient FAL algorithms,\nsuch as designing new metrics and dynamic aggregation rules to mitigate\nheterogeneity.\n", "date": "2024-12-11", "categories": []} {"id": "2412.14714", "title": "Holistic Adversarially Robust Pruning", "abstract": " Neural networks can be drastically shrunk in size by removing redundant\nparameters. While crucial for the deployment on resource-constraint hardware,\noftentimes, compression comes with a severe drop in accuracy and lack of\nadversarial robustness. Despite recent advances, counteracting both aspects has\nonly succeeded for moderate compression rates so far. We propose a novel\nmethod, HARP, that copes with aggressive pruning significantly better than\nprior work. For this, we consider the network holistically. We learn a global\ncompression strategy that optimizes how many parameters (compression rate) and\nwhich parameters (scoring connections) to prune specific to each layer\nindividually. Our method fine-tunes an existing model with dynamic\nregularization, that follows a step-wise incremental function balancing the\ndifferent objectives. It starts by favoring robustness before shifting focus on\nreaching the target compression rate and only then handles the objectives\nequally. The learned compression strategies allow us to maintain the\npre-trained model natural accuracy and its adversarial robustness for a\nreduction by 99% of the network original size. Moreover, we observe a crucial\ninfluence of non-uniform compression across layers.\n", "date": "2024-12-19", "categories": []} {"id": "2306.10963", "title": "Eigenpatches -- Adversarial Patches from Principal Components", "abstract": " Adversarial patches are still a simple yet powerful white box attack that can\nbe used to fool object detectors by suppressing possible detections. The\npatches of these so-called evasion attacks are computational expensive to\nproduce and require full access to the attacked detector. This paper addresses\nthe problem of computational expensiveness by analyzing 375 generated patches,\ncalculating the principal components of these and show, that linear\ncombinations of the resulting \"eigenpatches\" can be used to fool object\ndetections successfully.\n", "date": "2023-06-19", "categories": []} {"id": "2404.18791", "title": "Certification of Speaker Recognition Models to Additive Perturbations", "abstract": " Speaker recognition technology is applied to various tasks, from personal\nvirtual assistants to secure access systems. However, the robustness of these\nsystems against adversarial attacks, particularly to additive perturbations,\nremains a significant challenge. In this paper, we pioneer applying robustness\ncertification techniques to speaker recognition, initially developed for the\nimage domain. Our work covers this gap by transferring and improving randomized\nsmoothing certification techniques against norm-bounded additive perturbations\nfor classification and few-shot learning tasks to speaker recognition. We\ndemonstrate the effectiveness of these methods on VoxCeleb 1 and 2 datasets for\nseveral models. We expect this work to improve the robustness of voice\nbiometrics and accelerate the research of certification methods in the audio\ndomain.\n", "date": "2024-04-29", "categories": []} {"id": "2412.13376", "title": "Targeted View-Invariant Adversarial Perturbations for 3D Object\n Recognition", "abstract": " Adversarial attacks pose significant challenges in 3D object recognition,\nespecially in scenarios involving multi-view analysis where objects can be\nobserved from varying angles. This paper introduces View-Invariant Adversarial\nPerturbations (VIAP), a novel method for crafting robust adversarial examples\nthat remain effective across multiple viewpoints. Unlike traditional methods,\nVIAP enables targeted attacks capable of manipulating recognition systems to\nclassify objects as specific, pre-determined labels, all while using a single\nuniversal perturbation. Leveraging a dataset of 1,210 images across 121 diverse\nrendered 3D objects, we demonstrate the effectiveness of VIAP in both targeted\nand untargeted settings. Our untargeted perturbations successfully generate a\nsingular adversarial noise robust to 3D transformations, while targeted attacks\nachieve exceptional results, with top-1 accuracies exceeding 95% across various\nepsilon values. These findings highlight VIAPs potential for real-world\napplications, such as testing the robustness of 3D recognition systems. The\nproposed method sets a new benchmark for view-invariant adversarial robustness,\nadvancing the field of adversarial machine learning for 3D object recognition.\n", "date": "2024-12-17", "categories": []} {"id": "2412.13705", "title": "Mitigating Adversarial Attacks in LLMs through Defensive Suffix\n Generation", "abstract": " Large language models (LLMs) have exhibited outstanding performance in\nnatural language processing tasks. However, these models remain susceptible to\nadversarial attacks in which slight input perturbations can lead to harmful or\nmisleading outputs. A gradient-based defensive suffix generation algorithm is\ndesigned to bolster the robustness of LLMs. By appending carefully optimized\ndefensive suffixes to input prompts, the algorithm mitigates adversarial\ninfluences while preserving the models' utility. To enhance adversarial\nunderstanding, a novel total loss function ($L_{\\text{total}}$) combining\ndefensive loss ($L_{\\text{def}}$) and adversarial loss ($L_{\\text{adv}}$)\ngenerates defensive suffixes more effectively. Experimental evaluations\nconducted on open-source LLMs such as Gemma-7B, mistral-7B, Llama2-7B, and\nLlama2-13B show that the proposed method reduces attack success rates (ASR) by\nan average of 11\\% compared to models without defensive suffixes. Additionally,\nthe perplexity score of Gemma-7B decreased from 6.57 to 3.93 when applying the\ndefensive suffix generated by openELM-270M. Furthermore, TruthfulQA evaluations\ndemonstrate consistent improvements with Truthfulness scores increasing by up\nto 10\\% across tested configurations. This approach significantly enhances the\nsecurity of LLMs in critical applications without requiring extensive\nretraining.\n", "date": "2024-12-18", "categories": []} {"id": "2412.13709", "title": "Physics-Based Adversarial Attack on Near-Infrared Human Detector for\n Nighttime Surveillance Camera Systems", "abstract": " Many surveillance cameras switch between daytime and nighttime modes based on\nilluminance levels. During the day, the camera records ordinary RGB images\nthrough an enabled IR-cut filter. At night, the filter is disabled to capture\nnear-infrared (NIR) light emitted from NIR LEDs typically mounted around the\nlens. While RGB-based AI algorithm vulnerabilities have been widely reported,\nthe vulnerabilities of NIR-based AI have rarely been investigated. In this\npaper, we identify fundamental vulnerabilities in NIR-based image understanding\ncaused by color and texture loss due to the intrinsic characteristics of\nclothes' reflectance and cameras' spectral sensitivity in the NIR range. We\nfurther show that the nearly co-located configuration of illuminants and\ncameras in existing surveillance systems facilitates concealing and fully\npassive attacks in the physical world. Specifically, we demonstrate how\nretro-reflective and insulation plastic tapes can manipulate the intensity\ndistribution of NIR images. We showcase an attack on the YOLO-based human\ndetector using binary patterns designed in the digital space (via black-box\nquery and searching) and then physically realized using tapes pasted onto\nclothes. Our attack highlights significant reliability concerns for nighttime\nsurveillance systems, which are intended to enhance security. Codes Available:\nhttps://github.com/MyNiuuu/AdvNIR\n", "date": "2024-12-18", "categories": []} {"id": "2412.13762", "title": "Cultivating Archipelago of Forests: Evolving Robust Decision Trees\n through Island Coevolution", "abstract": " Decision trees are widely used in machine learning due to their simplicity\nand interpretability, but they often lack robustness to adversarial attacks and\ndata perturbations. The paper proposes a novel island-based coevolutionary\nalgorithm (ICoEvoRDF) for constructing robust decision tree ensembles. The\nalgorithm operates on multiple islands, each containing populations of decision\ntrees and adversarial perturbations. The populations on each island evolve\nindependently, with periodic migration of top-performing decision trees between\nislands. This approach fosters diversity and enhances the exploration of the\nsolution space, leading to more robust and accurate decision tree ensembles.\nICoEvoRDF utilizes a popular game theory concept of mixed Nash equilibrium for\nensemble weighting, which further leads to improvement in results. ICoEvoRDF is\nevaluated on 20 benchmark datasets, demonstrating its superior performance\ncompared to state-of-the-art methods in optimizing both adversarial accuracy\nand minimax regret. The flexibility of ICoEvoRDF allows for the integration of\ndecision trees from various existing methods, providing a unified framework for\ncombining diverse solutions. Our approach offers a promising direction for\ndeveloping robust and interpretable machine learning models\n", "date": "2024-12-18", "categories": []} {"id": "2402.02629", "title": "PROSAC: Provably Safe Certification for Machine Learning Models under\n Adversarial Attacks", "abstract": " It is widely known that state-of-the-art machine learning models, including\nvision and language models, can be seriously compromised by adversarial\nperturbations. It is therefore increasingly relevant to develop capabilities to\ncertify their performance in the presence of the most effective adversarial\nattacks. Our paper offers a new approach to certify the performance of machine\nlearning models in the presence of adversarial attacks with population level\nrisk guarantees. In particular, we introduce the notion of\n$(\\alpha,\\zeta)$-safe machine learning model. We propose a hypothesis testing\nprocedure, based on the availability of a calibration set, to derive\nstatistical guarantees providing that the probability of declaring that the\nadversarial (population) risk of a machine learning model is less than $\\alpha$\n(i.e. the model is safe), while the model is in fact unsafe (i.e. the model\nadversarial population risk is higher than $\\alpha$), is less than $\\zeta$. We\nalso propose Bayesian optimization algorithms to determine efficiently whether\na machine learning model is $(\\alpha,\\zeta)$-safe in the presence of an\nadversarial attack, along with statistical guarantees. We apply our framework\nto a range of machine learning models - including various sizes of vision\nTransformer (ViT) and ResNet models - impaired by a variety of adversarial\nattacks, such as PGDAttack, MomentumAttack, GenAttack and BanditAttack, to\nillustrate the operation of our approach. Importantly, we show that ViT's are\ngenerally more robust to adversarial attacks than ResNets, and large models are\ngenerally more robust than smaller models. Our approach goes beyond existing\nempirical adversarial risk-based certification guarantees. It formulates\nrigorous (and provable) performance guarantees that can be used to satisfy\nregulatory requirements mandating the use of state-of-the-art technical tools.\n", "date": "2024-02-04", "categories": []} {"id": "2406.12259", "title": "Adversarial Attacks on Large Language Models in Medicine", "abstract": " The integration of Large Language Models (LLMs) into healthcare applications\noffers promising advancements in medical diagnostics, treatment\nrecommendations, and patient care. However, the susceptibility of LLMs to\nadversarial attacks poses a significant threat, potentially leading to harmful\noutcomes in delicate medical contexts. This study investigates the\nvulnerability of LLMs to two types of adversarial attacks in three medical\ntasks. Utilizing real-world patient data, we demonstrate that both open-source\nand proprietary LLMs are susceptible to manipulation across multiple tasks.\nThis research further reveals that domain-specific tasks demand more\nadversarial data in model fine-tuning than general domain tasks for effective\nattack execution, especially for more capable models. We discover that while\nintegrating adversarial data does not markedly degrade overall model\nperformance on medical benchmarks, it does lead to noticeable shifts in\nfine-tuned model weights, suggesting a potential pathway for detecting and\ncountering model attacks. This research highlights the urgent need for robust\nsecurity measures and the development of defensive mechanisms to safeguard LLMs\nin medical applications, to ensure their safe and effective deployment in\nhealthcare settings.\n", "date": "2024-06-18", "categories": []} {"id": "2412.07559", "title": "Adaptive Epsilon Adversarial Training for Robust Gravitational Wave\n Parameter Estimation Using Normalizing Flows", "abstract": " Adversarial training with Normalizing Flow (NF) models is an emerging\nresearch area aimed at improving model robustness through adversarial samples.\nIn this study, we focus on applying adversarial training to NF models for\ngravitational wave parameter estimation. We propose an adaptive epsilon method\nfor Fast Gradient Sign Method (FGSM) adversarial training, which dynamically\nadjusts perturbation strengths based on gradient magnitudes using logarithmic\nscaling. Our hybrid architecture, combining ResNet and Inverse Autoregressive\nFlow, reduces the Negative Log Likelihood (NLL) loss by 47\\% under FGSM attacks\ncompared to the baseline model, while maintaining an NLL of 4.2 on clean data\n(only 5\\% higher than the baseline). For perturbation strengths between 0.01\nand 0.1, our model achieves an average NLL of 5.8, outperforming both\nfixed-epsilon (NLL: 6.7) and progressive-epsilon (NLL: 7.2) methods. Under\nstronger Projected Gradient Descent attacks with perturbation strength of 0.05,\nour model maintains an NLL of 6.4, demonstrating superior robustness while\navoiding catastrophic overfitting.\n", "date": "2024-12-10", "categories": []} {"id": "2412.12217", "title": "Comprehensive Survey on Adversarial Examples in Cybersecurity: Impacts,\n Challenges, and Mitigation Strategies", "abstract": " Deep learning (DL) has significantly transformed cybersecurity, enabling\nadvancements in malware detection, botnet identification, intrusion detection,\nuser authentication, and encrypted traffic analysis. However, the rise of\nadversarial examples (AE) poses a critical challenge to the robustness and\nreliability of DL-based systems. These subtle, crafted perturbations can\ndeceive models, leading to severe consequences like misclassification and\nsystem vulnerabilities. This paper provides a comprehensive review of the\nimpact of AE attacks on key cybersecurity applications, highlighting both their\ntheoretical and practical implications. We systematically examine the methods\nused to generate adversarial examples, their specific effects across various\ndomains, and the inherent trade-offs attackers face between efficacy and\nresource efficiency. Additionally, we explore recent advancements in defense\nmechanisms, including gradient masking, adversarial training, and detection\ntechniques, evaluating their potential to enhance model resilience. By\nsummarizing cutting-edge research, this study aims to bridge the gap between\nadversarial research and practical security applications, offering insights to\nfortify the adoption of DL solutions in cybersecurity.\n", "date": "2024-12-16", "categories": []} {"id": "2412.12449", "title": "Adversarially robust generalization theory via Jacobian regularization\n for deep neural networks", "abstract": " Powerful deep neural networks are vulnerable to adversarial attacks. To\nobtain adversarially robust models, researchers have separately developed\nadversarial training and Jacobian regularization techniques. There are abundant\ntheoretical and empirical studies for adversarial training, but theoretical\nfoundations for Jacobian regularization are still lacking. In this study, we\nshow that Jacobian regularization is closely related to adversarial training in\nthat $\\ell_{2}$ or $\\ell_{1}$ Jacobian regularized loss serves as an\napproximate upper bound on the adversarially robust loss under $\\ell_{2}$ or\n$\\ell_{\\infty}$ adversarial attack respectively. Further, we establish the\nrobust generalization gap for Jacobian regularized risk minimizer via bounding\nthe Rademacher complexity of both the standard loss function class and Jacobian\nregularization function class. Our theoretical results indicate that the norms\nof Jacobian are related to both standard and robust generalization. We also\nperform experiments on MNIST data classification to demonstrate that Jacobian\nregularized risk minimization indeed serves as a surrogate for adversarially\nrobust risk minimization, and that reducing the norms of Jacobian can improve\nboth standard and robust generalization. This study promotes both theoretical\nand empirical understandings to adversarially robust generalization via\nJacobian regularization.\n", "date": "2024-12-17", "categories": []} {"id": "2412.12626", "title": "Improving the Transferability of 3D Point Cloud Attack via\n Spectral-aware Admix and Optimization Designs", "abstract": " Deep learning models for point clouds have shown to be vulnerable to\nadversarial attacks, which have received increasing attention in various\nsafety-critical applications such as autonomous driving, robotics, and\nsurveillance. Existing 3D attackers generally design various attack strategies\nin the white-box setting, requiring the prior knowledge of 3D model details.\nHowever, real-world 3D applications are in the black-box setting, where we can\nonly acquire the outputs of the target classifier. Although few recent works\ntry to explore the black-box attack, they still achieve limited attack success\nrates (ASR). To alleviate this issue, this paper focuses on attacking the 3D\nmodels in a transfer-based black-box setting, where we first carefully design\nadversarial examples in a white-box surrogate model and then transfer them to\nattack other black-box victim models. Specifically, we propose a novel\nSpectral-aware Admix with Augmented Optimization method (SAAO) to improve the\nadversarial transferability. In particular, since traditional Admix strategy\nare deployed in the 2D domain that adds pixel-wise images for perturbing, we\ncan not directly follow it to merge point clouds in coordinate domain as it\nwill destroy the geometric shapes. Therefore, we design spectral-aware fusion\nthat performs Graph Fourier Transform (GFT) to get spectral features of the\npoint clouds and add them in the spectral domain. Afterward, we run a few steps\nwith spectral-aware weighted Admix to select better optimization paths as well\nas to adjust corresponding learning weights. At last, we run more steps to\ngenerate adversarial spectral feature along the optimization path and perform\nInverse-GFT on the adversarial spectral feature to obtain the adversarial\nexample in the data domain. Experiments show that our SAAO achieves better\ntransferability compared to existing 3D attack methods.\n", "date": "2024-12-17", "categories": []} {"id": "2312.03289", "title": "Enhancing Robustness in Incremental Learning with Adversarial Training", "abstract": " Adversarial training is one of the most effective approaches against\nadversarial attacks. However, adversarial training has primarily been studied\nin scenarios where data for all classes is provided, with limited research\nconducted in the context of incremental learning where knowledge is introduced\nsequentially. In this study, we investigate Adversarially Robust Class\nIncremental Learning (ARCIL), which deals with adversarial robustness in\nincremental learning. We first explore a series of baselines that integrate\nincremental learning with existing adversarial training methods, finding that\nthey lead to conflicts between acquiring new knowledge and retaining past\nknowledge. Furthermore, we discover that training new knowledge causes the\ndisappearance of a key characteristic in robust models: a flat loss landscape\nin input space. To address such issues, we propose a novel and robust baseline\nfor ARCIL, named \\textbf{FL}atness-preserving \\textbf{A}dversarial\n\\textbf{I}ncremental learning for \\textbf{R}obustness (\\textbf{FLAIR}).\nExperimental results demonstrate that FLAIR significantly outperforms other\nbaselines. To the best of our knowledge, we are the first to comprehensively\ninvestigate the baselines, challenges, and solutions for ARCIL, which we\nbelieve represents a significant advance toward achieving real-world\nrobustness. Codes are available at \\url{https://github.com/HongsinLee/FLAIR}.\n", "date": "2023-12-06", "categories": []} {"id": "2404.10335", "title": "Efficient Generation of Targeted and Transferable Adversarial Examples\n for Vision-Language Models Via Diffusion Models", "abstract": " Adversarial attacks, particularly \\textbf{targeted} transfer-based attacks,\ncan be used to assess the adversarial robustness of large visual-language\nmodels (VLMs), allowing for a more thorough examination of potential security\nflaws before deployment. However, previous transfer-based adversarial attacks\nincur high costs due to high iteration counts and complex method structure.\nFurthermore, due to the unnaturalness of adversarial semantics, the generated\nadversarial examples have low transferability. These issues limit the utility\nof existing methods for assessing robustness. To address these issues, we\npropose AdvDiffVLM, which uses diffusion models to generate natural,\nunrestricted and targeted adversarial examples via score matching.\nSpecifically, AdvDiffVLM uses Adaptive Ensemble Gradient Estimation to modify\nthe score during the diffusion model's reverse generation process, ensuring\nthat the produced adversarial examples have natural adversarial targeted\nsemantics, which improves their transferability. Simultaneously, to improve the\nquality of adversarial examples, we use the GradCAM-guided Mask method to\ndisperse adversarial semantics throughout the image rather than concentrating\nthem in a single area. Finally, AdvDiffVLM embeds more target semantics into\nadversarial examples after multiple iterations. Experimental results show that\nour method generates adversarial examples 5x to 10x faster than\nstate-of-the-art transfer-based adversarial attacks while maintaining higher\nquality adversarial examples. Furthermore, compared to previous transfer-based\nadversarial attacks, the adversarial examples generated by our method have\nbetter transferability. Notably, AdvDiffVLM can successfully attack a variety\nof commercial VLMs in a black-box environment, including GPT-4V.\n", "date": "2024-04-16", "categories": []} {"id": "2407.15211", "title": "Failures to Find Transferable Image Jailbreaks Between Vision-Language\n Models", "abstract": " The integration of new modalities into frontier AI systems offers exciting\ncapabilities, but also increases the possibility such systems can be\nadversarially manipulated in undesirable ways. In this work, we focus on a\npopular class of vision-language models (VLMs) that generate text outputs\nconditioned on visual and textual inputs. We conducted a large-scale empirical\nstudy to assess the transferability of gradient-based universal image\n``jailbreaks\" using a diverse set of over 40 open-parameter VLMs, including 18\nnew VLMs that we publicly release. Overall, we find that transferable\ngradient-based image jailbreaks are extremely difficult to obtain. When an\nimage jailbreak is optimized against a single VLM or against an ensemble of\nVLMs, the jailbreak successfully jailbreaks the attacked VLM(s), but exhibits\nlittle-to-no transfer to any other VLMs; transfer is not affected by whether\nthe attacked and target VLMs possess matching vision backbones or language\nmodels, whether the language model underwent instruction-following and/or\nsafety-alignment training, or many other factors. Only two settings display\npartially successful transfer: between identically-pretrained and\nidentically-initialized VLMs with slightly different VLM training data, and\nbetween different training checkpoints of a single VLM. Leveraging these\nresults, we then demonstrate that transfer can be significantly improved\nagainst a specific target VLM by attacking larger ensembles of\n``highly-similar\" VLMs. These results stand in stark contrast to existing\nevidence of universal and transferable text jailbreaks against language models\nand transferable adversarial attacks against image classifiers, suggesting that\nVLMs may be more robust to gradient-based transfer attacks.\n", "date": "2024-07-21", "categories": []} {"id": "2408.13896", "title": "HTS-Attack: Heuristic Token Search for Jailbreaking Text-to-Image Models", "abstract": " Text-to-Image(T2I) models have achieved remarkable success in image\ngeneration and editing, yet these models still have many potential issues,\nparticularly in generating inappropriate or Not-Safe-For-Work(NSFW) content.\nStrengthening attacks and uncovering such vulnerabilities can advance the\ndevelopment of reliable and practical T2I models. Most of the previous works\ntreat T2I models as white-box systems, using gradient optimization to generate\nadversarial prompts. However, accessing the model's gradient is often\nimpossible in real-world scenarios. Moreover, existing defense methods, those\nusing gradient masking, are designed to prevent attackers from obtaining\naccurate gradient information. While several black-box jailbreak attacks have\nbeen explored, they achieve the limited performance of jailbreaking T2I models\ndue to difficulties associated with optimization in discrete spaces. To address\nthis, we propose HTS-Attack, a heuristic token search attack method. HTS-Attack\nbegins with an initialization that removes sensitive tokens, followed by a\nheuristic search where high-performing candidates are recombined and mutated.\nThis process generates a new pool of candidates, and the optimal adversarial\nprompt is updated based on their effectiveness. By incorporating both optimal\nand suboptimal candidates, HTS-Attack avoids local optima and improves\nrobustness in bypassing defenses. Extensive experiments validate the\neffectiveness of our method in attacking the latest prompt checkers, post-hoc\nimage checkers, securely trained T2I models, and online commercial models.\n", "date": "2024-08-25", "categories": []} {"id": "2412.06727", "title": "Take Fake as Real: Realistic-like Robust Black-box Adversarial Attack to\n Evade AIGC Detection", "abstract": " The security of AI-generated content (AIGC) detection is crucial for ensuring\nmultimedia content credibility. To enhance detector security, research on\nadversarial attacks has become essential. However, most existing adversarial\nattacks focus only on GAN-generated facial images detection, struggle to be\neffective on multi-class natural images and diffusion-based detectors, and\nexhibit poor invisibility. To fill this gap, we first conduct an in-depth\nanalysis of the vulnerability of AIGC detectors and discover the feature that\ndetectors vary in vulnerability to different post-processing. Then, considering\nthat the detector is agnostic in real-world scenarios and given this discovery,\nwe propose a Realistic-like Robust Black-box Adversarial attack (R$^2$BA) with\npost-processing fusion optimization. Unlike typical perturbations, R$^2$BA uses\nreal-world post-processing, i.e., Gaussian blur, JPEG compression, Gaussian\nnoise and light spot to generate adversarial examples. Specifically, we use a\nstochastic particle swarm algorithm with inertia decay to optimize\npost-processing fusion intensity and explore the detector's decision boundary.\nGuided by the detector's fake probability, R$^2$BA enhances/weakens the\ndetector-vulnerable/detector-robust post-processing intensity to strike a\nbalance between adversariality and invisibility. Extensive experiments on\npopular/commercial AIGC detectors and datasets demonstrate that R$^2$BA\nexhibits impressive anti-detection performance, excellent invisibility, and\nstrong robustness in GAN-based and diffusion-based cases. Compared to\nstate-of-the-art white-box and black-box attacks, R$^2$BA shows significant\nimprovements of 15\\%--72\\% and 21\\%--47\\% in anti-detection performance under\nthe original and robust scenario respectively, offering valuable insights for\nthe security of AIGC detection in real-world applications.\n", "date": "2024-12-09", "categories": []} {"id": "2412.08615", "title": "Exploiting the Index Gradients for Optimization-Based Jailbreaking on\n Large Language Models", "abstract": " Despite the advancements in training Large Language Models (LLMs) with\nalignment techniques to enhance the safety of generated content, these models\nremain susceptible to jailbreak, an adversarial attack method that exposes\nsecurity vulnerabilities in LLMs. Notably, the Greedy Coordinate Gradient (GCG)\nmethod has demonstrated the ability to automatically generate adversarial\nsuffixes that jailbreak state-of-the-art LLMs. However, the optimization\nprocess involved in GCG is highly time-consuming, rendering the jailbreaking\npipeline inefficient. In this paper, we investigate the process of GCG and\nidentify an issue of Indirect Effect, the key bottleneck of the GCG\noptimization. To this end, we propose the Model Attack Gradient Index GCG\n(MAGIC), that addresses the Indirect Effect by exploiting the gradient\ninformation of the suffix tokens, thereby accelerating the procedure by having\nless computation and fewer iterations. Our experiments on AdvBench show that\nMAGIC achieves up to a 1.5x speedup, while maintaining Attack Success Rates\n(ASR) on par or even higher than other baselines. Our MAGIC achieved an ASR of\n74% on the Llama-2 and an ASR of 54% when conducting transfer attacks on\nGPT-3.5. Code is available at https://github.com/jiah-li/magic.\n", "date": "2024-12-11", "categories": []} {"id": "2412.10713", "title": "RAT: Adversarial Attacks on Deep Reinforcement Agents for Targeted\n Behaviors", "abstract": " Evaluating deep reinforcement learning (DRL) agents against targeted behavior\nattacks is critical for assessing their robustness. These attacks aim to\nmanipulate the victim into specific behaviors that align with the attacker's\nobjectives, often bypassing traditional reward-based defenses. Prior methods\nhave primarily focused on reducing cumulative rewards; however, rewards are\ntypically too generic to capture complex safety requirements effectively. As a\nresult, focusing solely on reward reduction can lead to suboptimal attack\nstrategies, particularly in safety-critical scenarios where more precise\nbehavior manipulation is needed. To address these challenges, we propose RAT, a\nmethod designed for universal, targeted behavior attacks. RAT trains an\nintention policy that is explicitly aligned with human preferences, serving as\na precise behavioral target for the adversary. Concurrently, an adversary\nmanipulates the victim's policy to follow this target behavior. To enhance the\neffectiveness of these attacks, RAT dynamically adjusts the state occupancy\nmeasure within the replay buffer, allowing for more controlled and effective\nbehavior manipulation. Our empirical results on robotic simulation tasks\ndemonstrate that RAT outperforms existing adversarial attack algorithms in\ninducing specific behaviors. Additionally, RAT shows promise in improving agent\nrobustness, leading to more resilient policies. We further validate RAT by\nguiding Decision Transformer agents to adopt behaviors aligned with human\npreferences in various MuJoCo tasks, demonstrating its effectiveness across\ndiverse tasks.\n", "date": "2024-12-14", "categories": []} {"id": "2412.10805", "title": "Are Language Models Agnostic to Linguistically Grounded Perturbations? A\n Case Study of Indic Languages", "abstract": " Pre-trained language models (PLMs) are known to be susceptible to\nperturbations to the input text, but existing works do not explicitly focus on\nlinguistically grounded attacks, which are subtle and more prevalent in nature.\nIn this paper, we study whether PLMs are agnostic to linguistically grounded\nattacks or not. To this end, we offer the first study addressing this,\ninvestigating different Indic languages and various downstream tasks. Our\nfindings reveal that although PLMs are susceptible to linguistic perturbations,\nwhen compared to non-linguistic attacks, PLMs exhibit a slightly lower\nsusceptibility to linguistic attacks. This highlights that even constrained\nattacks are effective. Moreover, we investigate the implications of these\noutcomes across a range of languages, encompassing diverse language families\nand different scripts.\n", "date": "2024-12-14", "categories": []} {"id": "2412.11608", "title": "Towards Adversarial Robustness of Model-Level Mixture-of-Experts\n Architectures for Semantic Segmentation", "abstract": " Vulnerability to adversarial attacks is a well-known deficiency of deep\nneural networks. Larger networks are generally more robust, and ensembling is\none method to increase adversarial robustness: each model's weaknesses are\ncompensated by the strengths of others. While an ensemble uses a deterministic\nrule to combine model outputs, a mixture of experts (MoE) includes an\nadditional learnable gating component that predicts weights for the outputs of\nthe expert models, thus determining their contributions to the final\nprediction. MoEs have been shown to outperform ensembles on specific tasks, yet\ntheir susceptibility to adversarial attacks has not been studied yet. In this\nwork, we evaluate the adversarial vulnerability of MoEs for semantic\nsegmentation of urban and highway traffic scenes. We show that MoEs are, in\nmost cases, more robust to per-instance and universal white-box adversarial\nattacks and can better withstand transfer attacks. Our code is available at\n\\url{https://github.com/KASTEL-MobilityLab/mixtures-of-experts/}.\n", "date": "2024-12-16", "categories": []} {"id": "2409.03646", "title": "Limited but consistent gains in adversarial robustness by co-training\n object recognition models with human EEG", "abstract": " In contrast to human vision, artificial neural networks (ANNs) remain\nrelatively susceptible to adversarial attacks. To address this vulnerability,\nefforts have been made to transfer inductive bias from human brains to ANNs,\noften by training the ANN representations to match their biological\ncounterparts. Previous works relied on brain data acquired in rodents or\nprimates using invasive techniques, from specific regions of the brain, under\nnon-natural conditions (anesthetized animals), and with stimulus datasets\nlacking diversity and naturalness. In this work, we explored whether aligning\nmodel representations to human EEG responses to a rich set of real-world images\nincreases robustness to ANNs. Specifically, we trained ResNet50-backbone models\non a dual task of classification and EEG prediction; and evaluated their EEG\nprediction accuracy and robustness to adversarial attacks. We observed\nsignificant correlation between the networks' EEG prediction accuracy, often\nhighest around 100 ms post stimulus onset, and their gains in adversarial\nrobustness. Although effect size was limited, effects were consistent across\ndifferent random initializations and robust for architectural variants. We\nfurther teased apart the data from individual EEG channels and observed\nstrongest contribution from electrodes in the parieto-occipital regions. The\ndemonstrated utility of human EEG for such tasks opens up avenues for future\nefforts that scale to larger datasets under diverse stimuli conditions with the\npromise of stronger effects.\n", "date": "2024-09-05", "categories": []} {"id": "2412.10265", "title": "Adversarial Robustness of Bottleneck Injected Deep Neural Networks for\n Task-Oriented Communication", "abstract": " This paper investigates the adversarial robustness of Deep Neural Networks\n(DNNs) using Information Bottleneck (IB) objectives for task-oriented\ncommunication systems. We empirically demonstrate that while IB-based\napproaches provide baseline resilience against attacks targeting downstream\ntasks, the reliance on generative models for task-oriented communication\nintroduces new vulnerabilities. Through extensive experiments on several\ndatasets, we analyze how bottleneck depth and task complexity influence\nadversarial robustness. Our key findings show that Shallow Variational\nBottleneck Injection (SVBI) provides less adversarial robustness compared to\nDeep Variational Information Bottleneck (DVIB) approaches, with the gap\nwidening for more complex tasks. Additionally, we reveal that IB-based\nobjectives exhibit stronger robustness against attacks focusing on salient\npixels with high intensity compared to those perturbing many pixels with lower\nintensity. Lastly, we demonstrate that task-oriented communication systems that\nrely on generative models to extract and recover salient information have an\nincreased attack surface. The results highlight important security\nconsiderations for next-generation communication systems that leverage neural\nnetworks for goal-oriented compression.\n", "date": "2024-12-13", "categories": []} {"id": "2402.11940", "title": "AICAttack: Adversarial Image Captioning Attack with Attention-Based\n Optimization", "abstract": " Recent advances in deep learning research have shown remarkable achievements\nacross many tasks in computer vision (CV) and natural language processing\n(NLP). At the intersection of CV and NLP is the problem of image captioning,\nwhere the related models' robustness against adversarial attacks has not been\nwell studied. This paper presents a novel adversarial attack strategy,\nAICAttack (Attention-based Image Captioning Attack), designed to attack image\ncaptioning models through subtle perturbations on images. Operating within a\nblack-box attack scenario, our algorithm requires no access to the target\nmodel's architecture, parameters, or gradient information. We introduce an\nattention-based candidate selection mechanism that identifies the optimal\npixels to attack, followed by a customised differential evolution method to\noptimise the perturbations of pixels' RGB values. We demonstrate AICAttack's\neffectiveness through extensive experiments on benchmark datasets against\nmultiple victim models. The experimental results demonstrate that our method\noutperforms current leading-edge techniques by achieving consistently higher\nattack success rates.\n", "date": "2024-02-19", "categories": []} {"id": "2402.13575", "title": "Flexible Physical Camouflage Generation Based on a Differential Approach", "abstract": " This study introduces a novel approach to neural rendering, specifically\ntailored for adversarial camouflage, within an extensive 3D rendering\nframework. Our method, named FPA, goes beyond traditional techniques by\nfaithfully simulating lighting conditions and material variations, ensuring a\nnuanced and realistic representation of textures on a 3D target. To achieve\nthis, we employ a generative approach that learns adversarial patterns from a\ndiffusion model. This involves incorporating a specially designed adversarial\nloss and covert constraint loss to guarantee the adversarial and covert nature\nof the camouflage in the physical world. Furthermore, we showcase the\neffectiveness of the proposed camouflage in sticker mode, demonstrating its\nability to cover the target without compromising adversarial information.\nThrough empirical and physical experiments, FPA exhibits strong performance in\nterms of attack success rate and transferability. Additionally, the designed\nsticker-mode camouflage, coupled with a concealment constraint, adapts to the\nenvironment, yielding diverse styles of texture. Our findings highlight the\nversatility and efficacy of the FPA approach in adversarial camouflage\napplications.\n", "date": "2024-02-21", "categories": []} {"id": "2407.11463", "title": "Investigating Imperceptibility of Adversarial Attacks on Tabular Data:\n An Empirical Analysis", "abstract": " Adversarial attacks are a potential threat to machine learning models by\ncausing incorrect predictions through imperceptible perturbations to the input\ndata. While these attacks have been extensively studied in unstructured data\nlike images, applying them to tabular data, poses new challenges. These\nchallenges arise from the inherent heterogeneity and complex feature\ninterdependencies in tabular data, which differ from the image data. To account\nfor this distinction, it is necessary to establish tailored imperceptibility\ncriteria specific to tabular data. However, there is currently a lack of\nstandardised metrics for assessing the imperceptibility of adversarial attacks\non tabular data. To address this gap, we propose a set of key properties and\ncorresponding metrics designed to comprehensively characterise imperceptible\nadversarial attacks on tabular data. These are: proximity to the original\ninput, sparsity of altered features, deviation from the original data\ndistribution, sensitivity in perturbing features with narrow distribution,\nimmutability of certain features that should remain unchanged, feasibility of\nspecific feature values that should not go beyond valid practical ranges, and\nfeature interdependencies capturing complex relationships between data\nattributes. We evaluate the imperceptibility of five adversarial attacks,\nincluding both bounded attacks and unbounded attacks, on tabular data using the\nproposed imperceptibility metrics. The results reveal a trade-off between the\nimperceptibility and effectiveness of these attacks. The study also identifies\nlimitations in current attack algorithms, offering insights that can guide\nfuture research in the area. The findings gained from this empirical analysis\nprovide valuable direction for enhancing the design of adversarial attack\nalgorithms, thereby advancing adversarial machine learning on tabular data.\n", "date": "2024-07-16", "categories": []} {"id": "2412.09150", "title": "Evaluating Adversarial Attacks on Traffic Sign Classifiers beyond\n Standard Baselines", "abstract": " Adversarial attacks on traffic sign classification models were among the\nfirst successfully tried in the real world. Since then, the research in this\narea has been mainly restricted to repeating baseline models, such as LISA-CNN\nor GTSRB-CNN, and similar experiment settings, including white and black\npatches on traffic signs. In this work, we decouple model architectures from\nthe datasets and evaluate on further generic models to make a fair comparison.\nFurthermore, we compare two attack settings, inconspicuous and visible, which\nare usually regarded without direct comparison. Our results show that standard\nbaselines like LISA-CNN or GTSRB-CNN are significantly more susceptible than\nthe generic ones. We, therefore, suggest evaluating new attacks on a broader\nspectrum of baselines in the future. Our code is available at\n\\url{https://github.com/KASTEL-MobilityLab/attacks-on-traffic-sign-recognition/}.\n", "date": "2024-12-12", "categories": []} {"id": "2402.16822", "title": "Rainbow Teaming: Open-Ended Generation of Diverse Adversarial Prompts", "abstract": " As large language models (LLMs) become increasingly prevalent across many\nreal-world applications, understanding and enhancing their robustness to\nadversarial attacks is of paramount importance. Existing methods for\nidentifying adversarial prompts tend to focus on specific domains, lack\ndiversity, or require extensive human annotations. To address these\nlimitations, we present Rainbow Teaming, a novel black-box approach for\nproducing a diverse collection of adversarial prompts. Rainbow Teaming casts\nadversarial prompt generation as a quality-diversity problem and uses\nopen-ended search to generate prompts that are both effective and diverse.\nFocusing on the safety domain, we use Rainbow Teaming to target various\nstate-of-the-art LLMs, including the Llama 2 and Llama 3 models. Our approach\nreveals hundreds of effective adversarial prompts, with an attack success rate\nexceeding 90% across all tested models. Furthermore, we demonstrate that\nprompts generated by Rainbow Teaming are highly transferable and that\nfine-tuning models with synthetic data generated by our method significantly\nenhances their safety without sacrificing general performance or helpfulness.\nWe additionally explore the versatility of Rainbow Teaming by applying it to\nquestion answering and cybersecurity, showcasing its potential to drive robust\nopen-ended self-improvement in a wide range of applications.\n", "date": "2024-02-26", "categories": []} {"id": "2412.07996", "title": "Enhancing Remote Adversarial Patch Attacks on Face Detectors with Tiling\n and Scaling", "abstract": " This paper discusses the attack feasibility of Remote Adversarial Patch (RAP)\ntargeting face detectors. The RAP that targets face detectors is similar to the\nRAP that targets general object detectors, but the former has multiple issues\nin the attack process the latter does not. (1) It is possible to detect objects\nof various scales. In particular, the area of small objects that are convolved\nduring feature extraction by CNN is small,so the area that affects the\ninference results is also small. (2) It is a two-class classification, so there\nis a large gap in characteristics between the classes. This makes it difficult\nto attack the inference results by directing them to a different class. In this\npaper, we propose a new patch placement method and loss function for each\nproblem. The patches targeting the proposed face detector showed superior\ndetection obstruct effects compared to the patches targeting the general object\ndetector.\n", "date": "2024-12-11", "categories": []} {"id": "2412.08394", "title": "Adversarial Purification by Consistency-aware Latent Space Optimization\n on Data Manifolds", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial samples crafted by\nadding imperceptible perturbations to clean data, potentially leading to\nincorrect and dangerous predictions. Adversarial purification has been an\neffective means to improve DNNs robustness by removing these perturbations\nbefore feeding the data into the model. However, it faces significant\nchallenges in preserving key structural and semantic information of data, as\nthe imperceptible nature of adversarial perturbations makes it hard to avoid\nover-correcting, which can destroy important information and degrade model\nperformance. In this paper, we break away from traditional adversarial\npurification methods by focusing on the clean data manifold. To this end, we\nreveal that samples generated by a well-trained generative model are close to\nclean ones but far from adversarial ones. Leveraging this insight, we propose\nConsistency Model-based Adversarial Purification (CMAP), which optimizes\nvectors within the latent space of a pre-trained consistency model to generate\nsamples for restoring clean data. Specifically, 1) we propose a\n\\textit{Perceptual consistency restoration} mechanism by minimizing the\ndiscrepancy between generated samples and input samples in both pixel and\nperceptual spaces. 2) To maintain the optimized latent vectors within the valid\ndata manifold, we introduce a \\textit{Latent distribution consistency\nconstraint} strategy to align generated samples with the clean data\ndistribution. 3) We also apply a \\textit{Latent vector consistency prediction}\nscheme via an ensemble approach to enhance prediction reliability. CMAP\nfundamentally addresses adversarial perturbations at their source, providing a\nrobust purification. Extensive experiments on CIFAR-10 and ImageNet-100 show\nthat our CMAP significantly enhances robustness against strong adversarial\nattacks while preserving high natural accuracy.\n", "date": "2024-12-11", "categories": []} {"id": "2412.08608", "title": "AdvWave: Stealthy Adversarial Jailbreak Attack against Large\n Audio-Language Models", "abstract": " Recent advancements in large audio-language models (LALMs) have enabled\nspeech-based user interactions, significantly enhancing user experience and\naccelerating the deployment of LALMs in real-world applications. However,\nensuring the safety of LALMs is crucial to prevent risky outputs that may raise\nsocietal concerns or violate AI regulations. Despite the importance of this\nissue, research on jailbreaking LALMs remains limited due to their recent\nemergence and the additional technical challenges they present compared to\nattacks on DNN-based audio models. Specifically, the audio encoders in LALMs,\nwhich involve discretization operations, often lead to gradient shattering,\nhindering the effectiveness of attacks relying on gradient-based optimizations.\nThe behavioral variability of LALMs further complicates the identification of\neffective (adversarial) optimization targets. Moreover, enforcing stealthiness\nconstraints on adversarial audio waveforms introduces a reduced, non-convex\nfeasible solution space, further intensifying the challenges of the\noptimization process. To overcome these challenges, we develop AdvWave, the\nfirst jailbreak framework against LALMs. We propose a dual-phase optimization\nmethod that addresses gradient shattering, enabling effective end-to-end\ngradient-based optimization. Additionally, we develop an adaptive adversarial\ntarget search algorithm that dynamically adjusts the adversarial optimization\ntarget based on the response patterns of LALMs for specific queries. To ensure\nthat adversarial audio remains perceptually natural to human listeners, we\ndesign a classifier-guided optimization approach that generates adversarial\nnoise resembling common urban sounds. Extensive evaluations on multiple\nadvanced LALMs demonstrate that AdvWave outperforms baseline methods, achieving\na 40% higher average jailbreak attack success rate.\n", "date": "2024-12-11", "categories": []} {"id": "2401.14707", "title": "AFD: Mitigating Feature Gap for Adversarial Robustness by Feature\n Disentanglement", "abstract": " Adversarial fine-tuning methods enhance adversarial robustness via\nfine-tuning the pre-trained model in an adversarial training manner. However,\nwe identify that some specific latent features of adversarial samples are\nconfused by adversarial perturbation and lead to an unexpectedly increasing gap\nbetween features in the last hidden layer of natural and adversarial samples.\nTo address this issue, we propose a disentanglement-based approach to\nexplicitly model and further remove the specific latent features. We introduce\na feature disentangler to separate out the specific latent features from the\nfeatures of the adversarial samples, thereby boosting robustness by eliminating\nthe specific latent features. Besides, we align clean features in the\npre-trained model with features of adversarial samples in the fine-tuned model,\nto benefit from the intrinsic features of natural samples. Empirical\nevaluations on three benchmark datasets demonstrate that our approach surpasses\nexisting adversarial fine-tuning methods and adversarial training baselines.\n", "date": "2024-01-26", "categories": []} {"id": "2402.02095", "title": "Contrasting Adversarial Perturbations: The Space of Harmless\n Perturbations", "abstract": " Existing works have extensively studied adversarial examples, which are\nminimal perturbations that can mislead the output of deep neural networks\n(DNNs) while remaining imperceptible to humans. However, in this work, we\nreveal the existence of a harmless perturbation space, in which perturbations\ndrawn from this space, regardless of their magnitudes, leave the network output\nunchanged when applied to inputs. Essentially, the harmless perturbation space\nemerges from the usage of non-injective functions (linear or non-linear layers)\nwithin DNNs, enabling multiple distinct inputs to be mapped to the same output.\nFor linear layers with input dimensions exceeding output dimensions, any linear\ncombination of the orthogonal bases of the nullspace of the parameter\nconsistently yields no change in their output. For non-linear layers, the\nharmless perturbation space may expand, depending on the properties of the\nlayers and input samples. Inspired by this property of DNNs, we solve for a\nfamily of general perturbation spaces that are redundant for the DNN's\ndecision, and can be used to hide sensitive data and serve as a means of model\nidentification. Our work highlights the distinctive robustness of DNNs (i.e.,\nconsistency under large magnitude perturbations) in contrast to adversarial\nexamples (vulnerability for small imperceptible noises).\n", "date": "2024-02-03", "categories": []} {"id": "2412.07022", "title": "Dense Cross-Connected Ensemble Convolutional Neural Networks for\n Enhanced Model Robustness", "abstract": " The resilience of convolutional neural networks against input variations and\nadversarial attacks remains a significant challenge in image recognition tasks.\nMotivated by the need for more robust and reliable image recognition systems,\nwe propose the Dense Cross-Connected Ensemble Convolutional Neural Network\n(DCC-ECNN). This novel architecture integrates the dense connectivity principle\nof DenseNet with the ensemble learning strategy, incorporating intermediate\ncross-connections between different DenseNet paths to facilitate extensive\nfeature sharing and integration. The DCC-ECNN architecture leverages DenseNet's\nefficient parameter usage and depth while benefiting from the robustness of\nensemble learning, ensuring a richer and more resilient feature representation.\n", "date": "2024-12-09", "categories": []} {"id": "2412.07078", "title": "Defensive Dual Masking for Robust Adversarial Defense", "abstract": " The field of textual adversarial defenses has gained considerable attention\nin recent years due to the increasing vulnerability of natural language\nprocessing (NLP) models to adversarial attacks, which exploit subtle\nperturbations in input text to deceive models. This paper introduces the\nDefensive Dual Masking (DDM) algorithm, a novel approach designed to enhance\nmodel robustness against such attacks. DDM utilizes a unique adversarial\ntraining strategy where [MASK] tokens are strategically inserted into training\nsamples to prepare the model to handle adversarial perturbations more\neffectively. During inference, potentially adversarial tokens are dynamically\nreplaced with [MASK] tokens to neutralize potential threats while preserving\nthe core semantics of the input. The theoretical foundation of our approach is\nexplored, demonstrating how the selective masking mechanism strengthens the\nmodel's ability to identify and mitigate adversarial manipulations. Our\nempirical evaluation across a diverse set of benchmark datasets and attack\nmechanisms consistently shows that DDM outperforms state-of-the-art defense\ntechniques, improving model accuracy and robustness. Moreover, when applied to\nLarge Language Models (LLMs), DDM also enhances their resilience to adversarial\nattacks, providing a scalable defense mechanism for large-scale NLP\napplications.\n", "date": "2024-12-10", "categories": []} {"id": "2412.07231", "title": "Adversarial Filtering Based Evasion and Backdoor Attacks to EEG-Based\n Brain-Computer Interfaces", "abstract": " A brain-computer interface (BCI) enables direct communication between the\nbrain and an external device. Electroencephalogram (EEG) is a common input\nsignal for BCIs, due to its convenience and low cost. Most research on\nEEG-based BCIs focuses on the accurate decoding of EEG signals, while ignoring\ntheir security. Recent studies have shown that machine learning models in BCIs\nare vulnerable to adversarial attacks. This paper proposes adversarial\nfiltering based evasion and backdoor attacks to EEG-based BCIs, which are very\neasy to implement. Experiments on three datasets from different BCI paradigms\ndemonstrated the effectiveness of our proposed attack approaches. To our\nknowledge, this is the first study on adversarial filtering for EEG-based BCIs,\nraising a new security concern and calling for more attention on the security\nof BCIs.\n", "date": "2024-12-10", "categories": []} {"id": "2412.07253", "title": "CapGen:An Environment-Adaptive Generator of Adversarial Patches", "abstract": " Adversarial patches, often used to provide physical stealth protection for\ncritical assets and assess perception algorithm robustness, usually neglect the\nneed for visual harmony with the background environment, making them easily\nnoticeable. Moreover, existing methods primarily concentrate on improving\nattack performance, disregarding the intricate dynamics of adversarial patch\nelements. In this work, we introduce the Camouflaged Adversarial Pattern\nGenerator (CAPGen), a novel approach that leverages specific base colors from\nthe surrounding environment to produce patches that seamlessly blend with their\nbackground for superior visual stealthiness while maintaining robust\nadversarial performance. We delve into the influence of both patterns (i.e.,\ncolor-agnostic texture information) and colors on the effectiveness of attacks\nfacilitated by patches, discovering that patterns exert a more pronounced\neffect on performance than colors. Based on these findings, we propose a rapid\ngeneration strategy for adversarial patches. This involves updating the colors\nof high-performance adversarial patches to align with those of the new\nenvironment, ensuring visual stealthiness without compromising adversarial\nimpact. This paper is the first to comprehensively examine the roles played by\npatterns and colors in the context of adversarial patches.\n", "date": "2024-12-10", "categories": []} {"id": "2212.08341", "title": "Adversarial Example Defense via Perturbation Grading Strategy", "abstract": " Deep Neural Networks have been widely used in many fields. However, studies\nhave shown that DNNs are easily attacked by adversarial examples, which have\ntiny perturbations and greatly mislead the correct judgment of DNNs.\nFurthermore, even if malicious attackers cannot obtain all the underlying model\nparameters, they can use adversarial examples to attack various DNN-based task\nsystems. Researchers have proposed various defense methods to protect DNNs,\nsuch as reducing the aggressiveness of adversarial examples by preprocessing or\nimproving the robustness of the model by adding modules. However, some defense\nmethods are only effective for small-scale examples or small perturbations but\nhave limited defense effects for adversarial examples with large perturbations.\nThis paper assigns different defense strategies to adversarial perturbations of\ndifferent strengths by grading the perturbations on the input examples.\nExperimental results show that the proposed method effectively improves defense\nperformance. In addition, the proposed method does not modify any task model,\nwhich can be used as a preprocessing module, which significantly reduces the\ndeployment cost in practical applications.\n", "date": "2022-12-16", "categories": []} {"id": "2303.12481", "title": "Revisiting DeepFool: generalization and improvement", "abstract": " Deep neural networks have been known to be vulnerable to adversarial\nexamples, which are inputs that are modified slightly to fool the network into\nmaking incorrect predictions. This has led to a significant amount of research\non evaluating the robustness of these networks against such perturbations. One\nparticularly important robustness metric is the robustness to minimal $\\ell_2$\nadversarial perturbations. However, existing methods for evaluating this\nrobustness metric are either computationally expensive or not very accurate. In\nthis paper, we introduce a new family of adversarial attacks that strike a\nbalance between effectiveness and computational efficiency. Our proposed\nattacks are generalizations of the well-known DeepFool (DF) attack, while they\nremain simple to understand and implement. We demonstrate that our attacks\noutperform existing methods in terms of both effectiveness and computational\nefficiency. Our proposed attacks are also suitable for evaluating the\nrobustness of large models and can be used to perform adversarial training (AT)\nto achieve state-of-the-art robustness to minimal $\\ell_2$ adversarial\nperturbations.\n", "date": "2023-03-22", "categories": []} {"id": "2402.12329", "title": "Query-Based Adversarial Prompt Generation", "abstract": " Recent work has shown it is possible to construct adversarial examples that\ncause an aligned language model to emit harmful strings or perform harmful\nbehavior. Existing attacks work either in the white-box setting (with full\naccess to the model weights), or through transferability: the phenomenon that\nadversarial examples crafted on one model often remain effective on other\nmodels. We improve on prior work with a query-based attack that leverages API\naccess to a remote language model to construct adversarial examples that cause\nthe model to emit harmful strings with (much) higher probability than with\ntransfer-only attacks. We validate our attack on GPT-3.5 and OpenAI's safety\nclassifier; we can cause GPT-3.5 to emit harmful strings that current transfer\nattacks fail at, and we can evade the safety classifier with nearly 100%\nprobability.\n", "date": "2024-02-19", "categories": []} {"id": "2404.08255", "title": "Practical Region-level Attack against Segment Anything Models", "abstract": " Segment Anything Models (SAM) have made significant advancements in image\nsegmentation, allowing users to segment target portions of an image with a\nsingle click (i.e., user prompt). Given its broad applications, the robustness\nof SAM against adversarial attacks is a critical concern. While recent works\nhave explored adversarial attacks against a pre-defined prompt/click, their\nthreat model is not yet realistic: (1) they often assume the user-click\nposition is known to the attacker (point-based attack), and (2) they often\noperate under a white-box setting with limited transferability. In this paper,\nwe propose a more practical region-level attack where attackers do not need to\nknow the precise user prompt. The attack remains effective as the user clicks\non any point on the target object in the image, hiding the object from SAM.\nAlso, by adapting a spectrum transformation method, we make the attack more\ntransferable under a black-box setting. Both control experiments and testing\nagainst real-world SAM services confirm its effectiveness.\n", "date": "2024-04-12", "categories": []} {"id": "2412.05351", "title": "Towards Predicting the Success of Transfer-based Attacks by Quantifying\n Shared Feature Representations", "abstract": " Much effort has been made to explain and improve the success of\ntransfer-based attacks (TBA) on black-box computer vision models. This work\nprovides the first attempt at a priori prediction of attack success by\nidentifying the presence of vulnerable features within target models. Recent\nwork by Chen and Liu (2024) proposed the manifold attack model, a unifying\nframework proposing that successful TBA exist in a common manifold space. Our\nwork experimentally tests the common manifold space hypothesis by a new\nmethodology: first, projecting feature vectors from surrogate and target\nfeature extractors trained on ImageNet onto the same low-dimensional manifold;\nsecond, quantifying any observed structure similarities on the manifold; and\nfinally, by relating these observed similarities to the success of the TBA. We\nfind that shared feature representation moderately correlates with increased\nsuccess of TBA (\\r{ho}= 0.56). This method may be used to predict whether an\nattack will transfer without information of the model weights, training,\narchitecture or details of the attack. The results confirm the presence of\nshared feature representations between two feature extractors of different\nsizes and complexities, and demonstrate the utility of datasets from different\ntarget domains as test signals for interpreting black-box feature\nrepresentations.\n", "date": "2024-12-06", "categories": []} {"id": "2412.05980", "title": "Anti-Reference: Universal and Immediate Defense Against Reference-Based\n Generation", "abstract": " Diffusion models have revolutionized generative modeling with their\nexceptional ability to produce high-fidelity images. However, misuse of such\npotent tools can lead to the creation of fake news or disturbing content\ntargeting individuals, resulting in significant social harm. In this paper, we\nintroduce Anti-Reference, a novel method that protects images from the threats\nposed by reference-based generation techniques by adding imperceptible\nadversarial noise to the images. We propose a unified loss function that\nenables joint attacks on fine-tuning-based customization methods,\nnon-fine-tuning customization methods, and human-centric driving methods. Based\non this loss, we train a Adversarial Noise Encoder to predict the noise or\ndirectly optimize the noise using the PGD method. Our method shows certain\ntransfer attack capabilities, effectively challenging both gray-box models and\nsome commercial APIs. Extensive experiments validate the performance of\nAnti-Reference, establishing a new benchmark in image security.\n", "date": "2024-12-08", "categories": []} {"id": "2412.06181", "title": "Enhancing Adversarial Resistance in LLMs with Recursion", "abstract": " The increasing integration of Large Language Models (LLMs) into society\nnecessitates robust defenses against vulnerabilities from jailbreaking and\nadversarial prompts. This project proposes a recursive framework for enhancing\nthe resistance of LLMs to manipulation through the use of prompt simplification\ntechniques. By increasing the transparency of complex and confusing adversarial\nprompts, the proposed method enables more reliable detection and prevention of\nmalicious inputs. Our findings attempt to address a critical problem in AI\nsafety and security, providing a foundation for the development of systems able\nto distinguish harmless inputs from prompts containing malicious intent. As\nLLMs continue to be used in diverse applications, the importance of such\nsafeguards will only grow.\n", "date": "2024-12-09", "categories": []} {"id": "2412.06215", "title": "A Real-Time Defense Against Object Vanishing Adversarial Patch Attacks\n for Object Detection in Autonomous Vehicles", "abstract": " Autonomous vehicles (AVs) increasingly use DNN-based object detection models\nin vision-based perception. Correct detection and classification of obstacles\nis critical to ensure safe, trustworthy driving decisions. Adversarial patches\naim to fool a DNN with intentionally generated patterns concentrated in a\nlocalized region of an image. In particular, object vanishing patch attacks can\ncause object detection models to fail to detect most or all objects in a scene,\nposing a significant practical threat to AVs.\n This work proposes ADAV (Adversarial Defense for Autonomous Vehicles), a\nnovel defense methodology against object vanishing patch attacks specifically\ndesigned for autonomous vehicles. Unlike existing defense methods which have\nhigh latency or are designed for static images, ADAV runs in real-time and\nleverages contextual information from prior frames in an AV's video feed. ADAV\nchecks if the object detector's output for the target frame is temporally\nconsistent with the output from a previous reference frame to detect the\npresence of a patch. If the presence of a patch is detected, ADAV uses\ngradient-based attribution to localize adversarial pixels that break temporal\nconsistency. This two stage procedure allows ADAV to efficiently process clean\ninputs, and both stages are optimized to be low latency. ADAV is evaluated\nusing real-world driving data from the Berkeley Deep Drive BDD100K dataset, and\ndemonstrates high adversarial and clean performance.\n", "date": "2024-12-09", "categories": []} {"id": "2404.12635", "title": "AED-PADA:Improving Generalizability of Adversarial Example Detection via\n Principal Adversarial Domain Adaptation", "abstract": " Adversarial example detection, which can be conveniently applied in many\nscenarios, is important in the area of adversarial defense. Unfortunately,\nexisting detection methods suffer from poor generalization performance, because\ntheir training process usually relies on the examples generated from a single\nknown adversarial attack and there exists a large discrepancy between the\ntraining and unseen testing adversarial examples. To address this issue, we\npropose a novel method, named Adversarial Example Detection via Principal\nAdversarial Domain Adaptation (AED-PADA). Specifically, our approach identifies\nthe Principal Adversarial Domains (PADs), i.e., a combination of features of\nthe adversarial examples generated by different attacks, which possesses a\nlarge portion of the entire adversarial feature space. Subsequently, we pioneer\nto exploit Multi-source Unsupervised Domain Adaptation in adversarial example\ndetection, with PADs as the source domains. Experimental results demonstrate\nthe superior generalization ability of our proposed AED-PADA. Note that this\nsuperiority is particularly achieved in challenging scenarios characterized by\nemploying the minimal magnitude constraint for the perturbations.\n", "date": "2024-04-19", "categories": []} {"id": "2412.02323", "title": "Pay Attention to the Robustness of Chinese Minority Language Models!\n Syllable-level Textual Adversarial Attack on Tibetan Script", "abstract": " The textual adversarial attack refers to an attack method in which the\nattacker adds imperceptible perturbations to the original texts by elaborate\ndesign so that the NLP (natural language processing) model produces false\njudgments. This method is also used to evaluate the robustness of NLP models.\nCurrently, most of the research in this field focuses on English, and there is\nalso a certain amount of research on Chinese. However, to the best of our\nknowledge, there is little research targeting Chinese minority languages.\nTextual adversarial attacks are a new challenge for the information processing\nof Chinese minority languages. In response to this situation, we propose a\nTibetan syllable-level black-box textual adversarial attack called TSAttacker\nbased on syllable cosine distance and scoring mechanism. And then, we conduct\nTSAttacker on six models generated by fine-tuning two PLMs (pre-trained\nlanguage models) for three downstream tasks. The experiment results show that\nTSAttacker is effective and generates high-quality adversarial samples. In\naddition, the robustness of the involved models still has much room for\nimprovement.\n", "date": "2024-12-03", "categories": []} {"id": "2412.02795", "title": "Hijacking Vision-and-Language Navigation Agents with Adversarial\n Environmental Attacks", "abstract": " Assistive embodied agents that can be instructed in natural language to\nperform tasks in open-world environments have the potential to significantly\nimpact labor tasks like manufacturing or in-home care -- benefiting the lives\nof those who come to depend on them. In this work, we consider how this benefit\nmight be hijacked by local modifications in the appearance of the agent's\noperating environment. Specifically, we take the popular Vision-and-Language\nNavigation (VLN) task as a representative setting and develop a whitebox\nadversarial attack that optimizes a 3D attack object's appearance to induce\ndesired behaviors in pretrained VLN agents that observe it in the environment.\nWe demonstrate that the proposed attack can cause VLN agents to ignore their\ninstructions and execute alternative actions after encountering the attack\nobject -- even for instructions and agent paths not considered when optimizing\nthe attack. For these novel settings, we find our attacks can induce\nearly-termination behaviors or divert an agent along an attacker-defined\nmulti-step trajectory. Under both conditions, environmental attacks\nsignificantly reduce agent capabilities to successfully follow user\ninstructions.\n", "date": "2024-12-03", "categories": []} {"id": "2412.02803", "title": "Gaussian Splatting Under Attack: Investigating Adversarial Noise in 3D\n Objects", "abstract": " 3D Gaussian Splatting has advanced radiance field reconstruction, enabling\nhigh-quality view synthesis and fast rendering in 3D modeling. While\nadversarial attacks on object detection models are well-studied for 2D images,\ntheir impact on 3D models remains underexplored. This work introduces the\nMasked Iterative Fast Gradient Sign Method (M-IFGSM), designed to generate\nadversarial noise targeting the CLIP vision-language model. M-IFGSM\nspecifically alters the object of interest by focusing perturbations on masked\nregions, degrading the performance of CLIP's zero-shot object detection\ncapability when applied to 3D models. Using eight objects from the Common\nObjects 3D (CO3D) dataset, we demonstrate that our method effectively reduces\nthe accuracy and confidence of the model, with adversarial noise being nearly\nimperceptible to human observers. The top-1 accuracy in original model renders\ndrops from 95.4\\% to 12.5\\% for train images and from 91.2\\% to 35.4\\% for test\nimages, with confidence levels reflecting this shift from true classification\nto misclassification, underscoring the risks of adversarial attacks on 3D\nmodels in applications such as autonomous driving, robotics, and surveillance.\nThe significance of this research lies in its potential to expose\nvulnerabilities in modern 3D vision models, including radiance fields,\nprompting the development of more robust defenses and security measures in\ncritical real-world applications.\n", "date": "2024-12-03", "categories": []} {"id": "2412.03051", "title": "Less is More: A Stealthy and Efficient Adversarial Attack Method for\n DRL-based Autonomous Driving Policies", "abstract": " Despite significant advancements in deep reinforcement learning (DRL)-based\nautonomous driving policies, these policies still exhibit vulnerability to\nadversarial attacks. This vulnerability poses a formidable challenge to the\npractical deployment of these policies in autonomous driving. Designing\neffective adversarial attacks is an indispensable prerequisite for enhancing\nthe robustness of these policies. In view of this, we present a novel stealthy\nand efficient adversarial attack method for DRL-based autonomous driving\npolicies. Specifically, we introduce a DRL-based adversary designed to trigger\nsafety violations (e.g., collisions) by injecting adversarial samples at\ncritical moments. We model the attack as a mixed-integer optimization problem\nand formulate it as a Markov decision process. Then, we train the adversary to\nlearn the optimal policy for attacking at critical moments without domain\nknowledge. Furthermore, we introduce attack-related information and a\ntrajectory clipping method to enhance the learning capability of the adversary.\nFinally, we validate our method in an unprotected left-turn scenario across\ndifferent traffic densities. The experimental results show that our method\nachieves more than 90% collision rate within three attacks in most cases.\nFurthermore, our method achieves more than 130% improvement in attack\nefficiency compared to the unlimited attack method.\n", "date": "2024-12-04", "categories": []} {"id": "2412.03453", "title": "Pre-trained Multiple Latent Variable Generative Models are good\n defenders against Adversarial Attacks", "abstract": " Attackers can deliberately perturb classifiers' input with subtle noise,\naltering final predictions. Among proposed countermeasures, adversarial\npurification employs generative networks to preprocess input images, filtering\nout adversarial noise. In this study, we propose specific generators, defined\nMultiple Latent Variable Generative Models (MLVGMs), for adversarial\npurification. These models possess multiple latent variables that naturally\ndisentangle coarse from fine features. Taking advantage of these properties, we\nautoencode images to maintain class-relevant information, while discarding and\nre-sampling any detail, including adversarial noise. The procedure is\ncompletely training-free, exploring the generalization abilities of pre-trained\nMLVGMs on the adversarial purification downstream task. Despite the lack of\nlarge models, trained on billions of samples, we show that smaller MLVGMs are\nalready competitive with traditional methods, and can be used as foundation\nmodels. Official code released at https://github.com/SerezD/gen_adversarial.\n", "date": "2024-12-04", "categories": []} {"id": "2312.06701", "title": "Dynamic Adversarial Attacks on Autonomous Driving Systems", "abstract": " This paper introduces an attacking mechanism to challenge the resilience of\nautonomous driving systems. Specifically, we manipulate the decision-making\nprocesses of an autonomous vehicle by dynamically displaying adversarial\npatches on a screen mounted on another moving vehicle. These patches are\noptimized to deceive the object detection models into misclassifying targeted\nobjects, e.g., traffic signs. Such manipulation has significant implications\nfor critical multi-vehicle interactions such as intersection crossing and lane\nchanging, which are vital for safe and efficient autonomous driving systems.\nParticularly, we make four major contributions. First, we introduce a novel\nadversarial attack approach where the patch is not co-located with its target,\nenabling more versatile and stealthy attacks. Moreover, our method utilizes\ndynamic patches displayed on a screen, allowing for adaptive changes and\nmovement, enhancing the flexibility and performance of the attack. To do so, we\ndesign a Screen Image Transformation Network (SIT-Net), which simulates\nenvironmental effects on the displayed images, narrowing the gap between\nsimulated and real-world scenarios. Further, we integrate a positional loss\nterm into the adversarial training process to increase the success rate of the\ndynamic attack. Finally, we shift the focus from merely attacking perceptual\nsystems to influencing the decision-making algorithms of self-driving systems.\nOur experiments demonstrate the first successful implementation of such dynamic\nadversarial attacks in real-world autonomous driving scenarios, paving the way\nfor advancements in the field of robust and secure autonomous driving.\n", "date": "2023-12-10", "categories": []} {"id": "2412.02343", "title": "Multi-Granularity Tibetan Textual Adversarial Attack Method Based on\n Masked Language Model", "abstract": " In social media, neural network models have been applied to hate speech\ndetection, sentiment analysis, etc., but neural network models are susceptible\nto adversarial attacks. For instance, in a text classification task, the\nattacker elaborately introduces perturbations to the original texts that hardly\nalter the original semantics in order to trick the model into making different\npredictions. By studying textual adversarial attack methods, the robustness of\nlanguage models can be evaluated and then improved. Currently, most of the\nresearch in this field focuses on English, and there is also a certain amount\nof research on Chinese. However, there is little research targeting Chinese\nminority languages. With the rapid development of artificial intelligence\ntechnology and the emergence of Chinese minority language models, textual\nadversarial attacks become a new challenge for the information processing of\nChinese minority languages. In response to this situation, we propose a\nmulti-granularity Tibetan textual adversarial attack method based on masked\nlanguage models called TSTricker. We utilize the masked language models to\ngenerate candidate substitution syllables or words, adopt the scoring mechanism\nto determine the substitution order, and then conduct the attack method on\nseveral fine-tuned victim models. The experimental results show that TSTricker\nreduces the accuracy of the classification models by more than 28.70% and makes\nthe classification models change the predictions of more than 90.60% of the\nsamples, which has an evidently higher attack effect than the baseline method.\n", "date": "2024-12-03", "categories": []} {"id": "2308.07834", "title": "Simple and Efficient Partial Graph Adversarial Attack: A New Perspective", "abstract": " As the study of graph neural networks becomes more intensive and\ncomprehensive, their robustness and security have received great research\ninterest. The existing global attack methods treat all nodes in the graph as\ntheir attack targets. Although existing methods have achieved excellent\nresults, there is still considerable space for improvement. The key problem is\nthat the current approaches rigidly follow the definition of global attacks.\nThey ignore an important issue, i.e., different nodes have different robustness\nand are not equally resilient to attacks. From a global attacker's view, we\nshould arrange the attack budget wisely, rather than wasting them on highly\nrobust nodes. To this end, we propose a totally new method named partial graph\nattack (PGA), which selects the vulnerable nodes as attack targets. First, to\nselect the vulnerable items, we propose a hierarchical target selection policy,\nwhich allows attackers to only focus on easy-to-attack nodes. Then, we propose\na cost-effective anchor-picking policy to pick the most promising anchors for\nadding or removing edges, and a more aggressive iterative greedy-based attack\nmethod to perform more efficient attacks. Extensive experimental results\ndemonstrate that PGA can achieve significant improvements in both attack effect\nand attack efficiency compared to other existing graph global attack methods.\n", "date": "2023-08-15", "categories": []} {"id": "2401.02718", "title": "Calibration Attacks: A Comprehensive Study of Adversarial Attacks on\n Model Confidence", "abstract": " In this work, we highlight and perform a comprehensive study on calibration\nattacks, a form of adversarial attacks that aim to trap victim models to be\nheavily miscalibrated without altering their predicted labels, hence\nendangering the trustworthiness of the models and follow-up decision making\nbased on their confidence. We propose four typical forms of calibration\nattacks: underconfidence, overconfidence, maximum miscalibration, and random\nconfidence attacks, conducted in both black-box and white-box setups. We\ndemonstrate that the attacks are highly effective on both convolutional and\nattention-based models: with a small number of queries, they seriously skew\nconfidence without changing the predictive performance. Given the potential\ndanger, we further investigate the effectiveness of a wide range of adversarial\ndefence and recalibration methods, including our proposed defences specifically\ndesigned for calibration attacks to mitigate the harm. From the ECE and KS\nscores, we observe that there are still significant limitations in handling\ncalibration attacks. To the best of our knowledge, this is the first dedicated\nstudy that provides a comprehensive investigation on calibration-focused\nattacks. We hope this study helps attract more attention to these types of\nattacks and hence hamper their potential serious damages. To this end, this\nwork also provides detailed analyses to understand the characteristics of the\nattacks. Our code is available at https://github.com/PhenetOs/CalibrationAttack\n", "date": "2024-01-05", "categories": []} {"id": "2412.01495", "title": "Adversarial Attacks on Hyperbolic Networks", "abstract": " As hyperbolic deep learning grows in popularity, so does the need for\nadversarial robustness in the context of such a non-Euclidean geometry. To this\nend, this paper proposes hyperbolic alternatives to the commonly used FGM and\nPGD adversarial attacks. Through interpretable synthetic benchmarks and\nexperiments on existing datasets, we show how the existing and newly proposed\nattacks differ. Moreover, we investigate the differences in adversarial\nrobustness between Euclidean and fully hyperbolic networks. We find that these\nnetworks suffer from different types of vulnerabilities and that the newly\nproposed hyperbolic attacks cannot address these differences. Therefore, we\nconclude that the shifts in adversarial robustness are due to the models\nlearning distinct patterns resulting from their different geometries.\n", "date": "2024-12-02", "categories": []} {"id": "2212.00727", "title": "Adversarial Artifact Detection in EEG-Based Brain-Computer Interfaces", "abstract": " Machine learning has achieved great success in electroencephalogram (EEG)\nbased brain-computer interfaces (BCIs). Most existing BCI research focused on\nimproving its accuracy, but few had considered its security. Recent studies,\nhowever, have shown that EEG-based BCIs are vulnerable to adversarial attacks,\nwhere small perturbations added to the input can cause misclassification.\nDetection of adversarial examples is crucial to both the understanding of this\nphenomenon and the defense. This paper, for the first time, explores\nadversarial detection in EEG-based BCIs. Experiments on two EEG datasets using\nthree convolutional neural networks were performed to verify the performances\nof multiple detection approaches. We showed that both white-box and black-box\nattacks can be detected, and the former are easier to detect.\n", "date": "2022-11-28", "categories": []} {"id": "2402.10527", "title": "Assessing biomedical knowledge robustness in large language models by\n query-efficient sampling attacks", "abstract": " The increasing depth of parametric domain knowledge in large language models\n(LLMs) is fueling their rapid deployment in real-world applications.\nUnderstanding model vulnerabilities in high-stakes and knowledge-intensive\ntasks is essential for quantifying the trustworthiness of model predictions and\nregulating their use. The recent discovery of named entities as adversarial\nexamples (i.e. adversarial entities) in natural language processing tasks\nraises questions about their potential impact on the knowledge robustness of\npre-trained and finetuned LLMs in high-stakes and specialized domains. We\nexamined the use of type-consistent entity substitution as a template for\ncollecting adversarial entities for billion-parameter LLMs with biomedical\nknowledge. To this end, we developed an embedding-space attack based on\npowerscaled distance-weighted sampling to assess the robustness of their\nbiomedical knowledge with a low query budget and controllable coverage. Our\nmethod has favorable query efficiency and scaling over alternative approaches\nbased on random sampling and blackbox gradient-guided search, which we\ndemonstrated for adversarial distractor generation in biomedical question\nanswering. Subsequent failure mode analysis uncovered two regimes of\nadversarial entities on the attack surface with distinct characteristics and we\nshowed that entity substitution attacks can manipulate token-wise Shapley value\nexplanations, which become deceptive in this setting. Our approach complements\nstandard evaluations for high-capacity models and the results highlight the\nbrittleness of domain knowledge in LLMs.\n", "date": "2024-02-16", "categories": []} {"id": "2411.18699", "title": "An indicator for effectiveness of text-to-image guardrails utilizing the\n Single-Turn Crescendo Attack (STCA)", "abstract": " The Single-Turn Crescendo Attack (STCA), first introduced in Aqrawi and\nAbbasi [2024], is an innovative method designed to bypass the ethical\nsafeguards of text-to-text AI models, compelling them to generate harmful\ncontent. This technique leverages a strategic escalation of context within a\nsingle prompt, combined with trust-building mechanisms, to subtly deceive the\nmodel into producing unintended outputs. Extending the application of STCA to\ntext-to-image models, we demonstrate its efficacy by compromising the\nguardrails of a widely-used model, DALL-E 3, achieving outputs comparable to\noutputs from the uncensored model Flux Schnell, which served as a baseline\ncontrol. This study provides a framework for researchers to rigorously evaluate\nthe robustness of guardrails in text-to-image models and benchmark their\nresilience against adversarial attacks.\n", "date": "2024-11-27", "categories": []} {"id": "2411.18956", "title": "Random Sampling for Diffusion-based Adversarial Purification", "abstract": " Denoising Diffusion Probabilistic Models (DDPMs) have gained great attention\nin adversarial purification. Current diffusion-based works focus on designing\neffective condition-guided mechanisms while ignoring a fundamental problem,\ni.e., the original DDPM sampling is intended for stable generation, which may\nnot be the optimal solution for adversarial purification. Inspired by the\nstability of the Denoising Diffusion Implicit Model (DDIM), we propose an\nopposite sampling scheme called random sampling. In brief, random sampling will\nsample from a random noisy space during each diffusion process, while DDPM and\nDDIM sampling will continuously sample from the adjacent or original noisy\nspace. Thus, random sampling obtains more randomness and achieves stronger\nrobustness against adversarial attacks. Correspondingly, we also introduce a\nnovel mediator conditional guidance to guarantee the consistency of the\nprediction under the purified image and clean image input. To expand awareness\nof guided diffusion purification, we conduct a detailed evaluation with\ndifferent sampling methods and our random sampling achieves an impressive\nimprovement in multiple settings. Leveraging mediator-guided random sampling,\nwe also establish a baseline method named DiffAP, which significantly\noutperforms state-of-the-art (SOTA) approaches in performance and defensive\nstability. Remarkably, under strong attack, our DiffAP even achieves a more\nthan 20% robustness advantage with 10$\\times$ sampling acceleration.\n", "date": "2024-11-28", "categories": []} {"id": "2411.17936", "title": "Stealthy Multi-Task Adversarial Attacks", "abstract": " Deep Neural Networks exhibit inherent vulnerabilities to adversarial attacks,\nwhich can significantly compromise their outputs and reliability. While\nexisting research primarily focuses on attacking single-task scenarios or\nindiscriminately targeting all tasks in multi-task environments, we investigate\nselectively targeting one task while preserving performance in others within a\nmulti-task framework. This approach is motivated by varying security priorities\namong tasks in real-world applications, such as autonomous driving, where\nmisinterpreting critical objects (e.g., signs, traffic lights) poses a greater\nsecurity risk than minor depth miscalculations. Consequently, attackers may\nhope to target security-sensitive tasks while avoiding non-critical tasks from\nbeing compromised, thus evading being detected before compromising crucial\nfunctions. In this paper, we propose a method for the stealthy multi-task\nattack framework that utilizes multiple algorithms to inject imperceptible\nnoise into the input. This novel method demonstrates remarkable efficacy in\ncompromising the target task while simultaneously maintaining or even enhancing\nperformance across non-targeted tasks - a criterion hitherto unexplored in the\nfield. Additionally, we introduce an automated approach for searching the\nweighting factors in the loss function, further enhancing attack efficiency.\nExperimental results validate our framework's ability to successfully attack\nthe target task while preserving the performance of non-targeted tasks. The\nautomated loss function weight searching method demonstrates comparable\nefficacy to manual tuning, establishing a state-of-the-art multi-task attack\nframework.\n", "date": "2024-11-26", "categories": []} {"id": "2411.17959", "title": "Adversarial Training in Low-Label Regimes with Margin-Based\n Interpolation", "abstract": " Adversarial training has emerged as an effective approach to train robust\nneural network models that are resistant to adversarial attacks, even in\nlow-label regimes where labeled data is scarce. In this paper, we introduce a\nnovel semi-supervised adversarial training approach that enhances both\nrobustness and natural accuracy by generating effective adversarial examples.\nOur method begins by applying linear interpolation between clean and\nadversarial examples to create interpolated adversarial examples that cross\ndecision boundaries by a controlled margin. This sample-aware strategy tailors\nadversarial examples to the characteristics of each data point, enabling the\nmodel to learn from the most informative perturbations. Additionally, we\npropose a global epsilon scheduling strategy that progressively adjusts the\nupper bound of perturbation strengths during training. The combination of these\nstrategies allows the model to develop increasingly complex decision boundaries\nwith better robustness and natural accuracy. Empirical evaluations show that\nour approach effectively enhances performance against various adversarial\nattacks, such as PGD and AutoAttack.\n", "date": "2024-11-27", "categories": []} {"id": "2312.07130", "title": "Harnessing LLM to Attack LLM-Guarded Text-to-Image Models", "abstract": " To prevent Text-to-Image (T2I) models from generating unethical images,\npeople deploy safety filters to block inappropriate drawing prompts. Previous\nworks have employed token replacement to search adversarial prompts that\nattempt to bypass these filters, but they have become ineffective as\nnonsensical tokens fail semantic logic checks. In this paper, we approach\nadversarial prompts from a different perspective. We demonstrate that\nrephrasing a drawing intent into multiple benign descriptions of individual\nvisual components can obtain an effective adversarial prompt. We propose a\nLLM-piloted multi-agent method named DACA to automatically complete intended\nrephrasing. Our method successfully bypasses the safety filters of DALL-E 3 and\nMidjourney to generate the intended images, achieving success rates of up to\n76.7% and 64% in the one-time attack, and 98% and 84% in the re-use attack,\nrespectively. We open-source our code and dataset on [this\nlink](https://github.com/researchcode003/DACA).\n", "date": "2023-12-12", "categories": []} {"id": "2407.03946", "title": "TrackPGD: Efficient Adversarial Attack using Object Binary Masks against\n Robust Transformer Trackers", "abstract": " Adversarial perturbations can deceive neural networks by adding small,\nimperceptible noise to the input. Recent object trackers with transformer\nbackbones have shown strong performance on tracking datasets, but their\nadversarial robustness has not been thoroughly evaluated. While transformer\ntrackers are resilient to black-box attacks, existing white-box adversarial\nattacks are not universally applicable against these new transformer trackers\ndue to differences in backbone architecture. In this work, we introduce\nTrackPGD, a novel white-box attack that utilizes predicted object binary masks\nto target robust transformer trackers. Built upon the powerful segmentation\nattack SegPGD, our proposed TrackPGD effectively influences the decisions of\ntransformer-based trackers. Our method addresses two primary challenges in\nadapting a segmentation attack for trackers: limited class numbers and extreme\npixel class imbalance. TrackPGD uses the same number of iterations as other\nattack methods for tracker networks and produces competitive adversarial\nexamples that mislead transformer and non-transformer trackers such as\nMixFormerM, OSTrackSTS, TransT-SEG, and RTS on datasets including VOT2022STS,\nDAVIS2016, UAV123, and GOT-10k.\n", "date": "2024-07-04", "categories": []} {"id": "2410.19863", "title": "Breaking the Illusion: Real-world Challenges for Adversarial Patches in\n Object Detection", "abstract": " Adversarial attacks pose a significant threat to the robustness and\nreliability of machine learning systems, particularly in computer vision\napplications. This study investigates the performance of adversarial patches\nfor the YOLO object detection network in the physical world. Two attacks were\ntested: a patch designed to be placed anywhere within the scene - global patch,\nand another patch intended to partially overlap with specific object targeted\nfor removal from detection - local patch. Various factors such as patch size,\nposition, rotation, brightness, and hue were analyzed to understand their\nimpact on the effectiveness of the adversarial patches. The results reveal a\nnotable dependency on these parameters, highlighting the challenges in\nmaintaining attack efficacy in real-world conditions. Learning to align\ndigitally applied transformation parameters with those measured in the real\nworld still results in up to a 64\\% discrepancy in patch performance. These\nfindings underscore the importance of understanding environmental influences on\nadversarial attacks, which can inform the development of more robust defenses\nfor practical machine learning applications.\n", "date": "2024-10-23", "categories": []} {"id": "2411.17026", "title": "RED: Robust Environmental Design", "abstract": " The classification of road signs by autonomous systems, especially those\nreliant on visual inputs, is highly susceptible to adversarial attacks.\nTraditional approaches to mitigating such vulnerabilities have focused on\nenhancing the robustness of classification models. In contrast, this paper\nadopts a fundamentally different strategy aimed at increasing robustness\nthrough the redesign of road signs themselves. We propose an attacker-agnostic\nlearning scheme to automatically design road signs that are robust to a wide\narray of patch-based attacks. Empirical tests conducted in both digital and\nphysical environments demonstrate that our approach significantly reduces\nvulnerability to patch attacks, outperforming existing techniques.\n", "date": "2024-11-26", "categories": []} {"id": "2411.17468", "title": "Adversarial Bounding Boxes Generation (ABBG) Attack against Visual\n Object Trackers", "abstract": " Adversarial perturbations aim to deceive neural networks into predicting\ninaccurate results. For visual object trackers, adversarial attacks have been\ndeveloped to generate perturbations by manipulating the outputs. However,\ntransformer trackers predict a specific bounding box instead of an object\ncandidate list, which limits the applicability of many existing attack\nscenarios. To address this issue, we present a novel white-box approach to\nattack visual object trackers with transformer backbones using only one\nbounding box. From the tracker predicted bounding box, we generate a list of\nadversarial bounding boxes and compute the adversarial loss for those bounding\nboxes. Experimental results demonstrate that our simple yet effective attack\noutperforms existing attacks against several robust transformer trackers,\nincluding TransT-M, ROMTrack, and MixFormer, on popular benchmark tracking\ndatasets such as GOT-10k, UAV123, and VOT2022STS.\n", "date": "2024-11-26", "categories": []} {"id": "2208.09449", "title": "A Novel Plug-and-Play Approach for Adversarially Robust Generalization", "abstract": " In this work, we propose a robust framework that employs adversarially robust\ntraining to safeguard the ML models against perturbed testing data. Our\ncontributions can be seen from both computational and statistical perspectives.\nFirstly, from a computational/optimization point of view, we derive the\nready-to-use exact solution for several widely used loss functions with a\nvariety of norm constraints on adversarial perturbation for various supervised\nand unsupervised ML problems, including regression, classification, two-layer\nneural networks, graphical models, and matrix completion. The solutions are\neither in closed-form, or an easily tractable optimization problem such as 1-D\nconvex optimization, semidefinite programming, difference of convex programming\nor a sorting-based algorithm. Secondly, from statistical/generalization\nviewpoint, using some of these results, we derive novel bounds of the\nadversarial Rademacher complexity for various problems, which entails new\ngeneralization bounds. Thirdly, we perform some sanity-check experiments on\nreal-world datasets for supervised problems such as regression and\nclassification, as well as for unsupervised problems such as matrix completion\nand learning graphical models, with very little computational overhead.\n", "date": "2022-08-19", "categories": []} {"id": "2306.00353", "title": "Constructing Semantics-Aware Adversarial Examples with a Probabilistic\n Perspective", "abstract": " We propose a probabilistic perspective on adversarial examples, allowing us\nto embed subjective understanding of semantics as a distribution into the\nprocess of generating adversarial examples, in a principled manner. Despite\nsignificant pixel-level modifications compared to traditional adversarial\nattacks, our method preserves the overall semantics of the image, making the\nchanges difficult for humans to detect. This extensive pixel-level modification\nenhances our method's ability to deceive classifiers designed to defend against\nadversarial attacks. Our empirical findings indicate that the proposed methods\nachieve higher success rates in circumventing adversarial defense mechanisms,\nwhile remaining difficult for human observers to detect.\n", "date": "2023-06-01", "categories": []} {"id": "2404.07921", "title": "AmpleGCG: Learning a Universal and Transferable Generative Model of\n Adversarial Suffixes for Jailbreaking Both Open and Closed LLMs", "abstract": " As large language models (LLMs) become increasingly prevalent and integrated\ninto autonomous systems, ensuring their safety is imperative. Despite\nsignificant strides toward safety alignment, recent work\nGCG~\\citep{zou2023universal} proposes a discrete token optimization algorithm\nand selects the single suffix with the lowest loss to successfully jailbreak\naligned LLMs. In this work, we first discuss the drawbacks of solely picking\nthe suffix with the lowest loss during GCG optimization for jailbreaking and\nuncover the missed successful suffixes during the intermediate steps. Moreover,\nwe utilize those successful suffixes as training data to learn a generative\nmodel, named AmpleGCG, which captures the distribution of adversarial suffixes\ngiven a harmful query and enables the rapid generation of hundreds of suffixes\nfor any harmful queries in seconds. AmpleGCG achieves near 100\\% attack success\nrate (ASR) on two aligned LLMs (Llama-2-7B-chat and Vicuna-7B), surpassing two\nstrongest attack baselines. More interestingly, AmpleGCG also transfers\nseamlessly to attack different models, including closed-source LLMs, achieving\na 99\\% ASR on the latest GPT-3.5. To summarize, our work amplifies the impact\nof GCG by training a generative model of adversarial suffixes that is universal\nto any harmful queries and transferable from attacking open-source LLMs to\nclosed-source LLMs. In addition, it can generate 200 adversarial suffixes for\none harmful query in only 4 seconds, rendering it more challenging to defend.\n", "date": "2024-04-11", "categories": []} {"id": "2410.17628", "title": "Is Smoothness the Key to Robustness? A Comparison of Attention and\n Convolution Models Using a Novel Metric", "abstract": " Robustness is a critical aspect of machine learning models. Existing\nrobustness evaluation approaches often lack theoretical generality or rely\nheavily on empirical assessments, limiting insights into the structural factors\ncontributing to robustness. Moreover, theoretical robustness analysis is not\napplicable for direct comparisons between models. To address these challenges,\nwe propose $\\textit{TopoLip}$, a metric based on layer-wise analysis that\nbridges topological data analysis and Lipschitz continuity for robustness\nevaluation. TopoLip provides a unified framework for both theoretical and\nempirical robustness comparisons across different architectures or\nconfigurations, and it reveals how model parameters influence the robustness of\nmodels. Using TopoLip, we demonstrate that attention-based models typically\nexhibit smoother transformations and greater robustness compared to\nconvolution-based models, as validated through theoretical analysis and\nadversarial tasks. Our findings establish a connection between architectural\ndesign, robustness, and topological properties.\n", "date": "2024-10-23", "categories": []} {"id": "2411.15222", "title": "Rethinking the Intermediate Features in Adversarial Attacks: Misleading\n Robotic Models via Adversarial Distillation", "abstract": " Language-conditioned robotic learning has significantly enhanced robot\nadaptability by enabling a single model to execute diverse tasks in response to\nverbal commands. Despite these advancements, security vulnerabilities within\nthis domain remain largely unexplored. This paper addresses this gap by\nproposing a novel adversarial prompt attack tailored to language-conditioned\nrobotic models. Our approach involves crafting a universal adversarial prefix\nthat induces the model to perform unintended actions when added to any original\nprompt. We demonstrate that existing adversarial techniques exhibit limited\neffectiveness when directly transferred to the robotic domain due to the\ninherent robustness of discretized robotic action spaces. To overcome this\nchallenge, we propose to optimize adversarial prefixes based on continuous\naction representations, circumventing the discretization process. Additionally,\nwe identify the beneficial impact of intermediate features on adversarial\nattacks and leverage the negative gradient of intermediate self-attention\nfeatures to further enhance attack efficacy. Extensive experiments on VIMA\nmodels across 13 robot manipulation tasks validate the superiority of our\nmethod over existing approaches and demonstrate its transferability across\ndifferent model variants.\n", "date": "2024-11-21", "categories": []} {"id": "2411.15878", "title": "ExAL: An Exploration Enhanced Adversarial Learning Algorithm", "abstract": " Adversarial learning is critical for enhancing model robustness, aiming to\ndefend against adversarial attacks that jeopardize machine learning systems.\nTraditional methods often lack efficient mechanisms to explore diverse\nadversarial perturbations, leading to limited model resilience. Inspired by\ngame-theoretic principles, where adversarial dynamics are analyzed through\nframeworks like Nash equilibrium, exploration mechanisms in such setups allow\nfor the discovery of diverse strategies, enhancing system robustness. However,\nexisting adversarial learning methods often fail to incorporate structured\nexploration effectively, reducing their ability to improve model defense\ncomprehensively. To address these challenges, we propose a novel\nExploration-enhanced Adversarial Learning Algorithm (ExAL), leveraging the\nExponentially Weighted Momentum Particle Swarm Optimizer (EMPSO) to generate\noptimized adversarial perturbations. ExAL integrates exploration-driven\nmechanisms to discover perturbations that maximize impact on the model's\ndecision boundary while preserving structural coherence in the data. We\nevaluate the performance of ExAL on the MNIST Handwritten Digits and Blended\nMalware datasets. Experimental results demonstrate that ExAL significantly\nenhances model resilience to adversarial attacks by improving robustness\nthrough adversarial learning.\n", "date": "2024-11-24", "categories": []} {"id": "2411.16162", "title": "Sparse patches adversarial attacks via extrapolating point-wise\n information", "abstract": " Sparse and patch adversarial attacks were previously shown to be applicable\nin realistic settings and are considered a security risk to autonomous systems.\nSparse adversarial perturbations constitute a setting in which the adversarial\nperturbations are limited to affecting a relatively small number of points in\nthe input. Patch adversarial attacks denote the setting where the sparse\nattacks are limited to a given structure, i.e., sparse patches with a given\nshape and number. However, previous patch adversarial attacks do not\nsimultaneously optimize multiple patches' locations and perturbations. This\nwork suggests a novel approach for sparse patches adversarial attacks via\npoint-wise trimming dense adversarial perturbations. Our approach enables\nsimultaneous optimization of multiple sparse patches' locations and\nperturbations for any given number and shape. Moreover, our approach is also\napplicable for standard sparse adversarial attacks, where we show that it\nsignificantly improves the state-of-the-art over multiple extensive settings. A\nreference implementation of the proposed method and the reported experiments is\nprovided at \\url{https://github.com/yanemcovsky/SparsePatches.git}\n", "date": "2024-11-25", "categories": []} {"id": "2411.16622", "title": "Imperceptible Adversarial Examples in the Physical World", "abstract": " Adversarial examples in the digital domain against deep learning-based\ncomputer vision models allow for perturbations that are imperceptible to human\neyes. However, producing similar adversarial examples in the physical world has\nbeen difficult due to the non-differentiable image distortion functions in\nvisual sensing systems. The existing algorithms for generating physically\nrealizable adversarial examples often loosen their definition of adversarial\nexamples by allowing unbounded perturbations, resulting in obvious or even\nstrange visual patterns. In this work, we make adversarial examples\nimperceptible in the physical world using a straight-through estimator (STE,\na.k.a. BPDA). We employ STE to overcome the non-differentiability -- applying\nexact, non-differentiable distortions in the forward pass of the\nbackpropagation step, and using the identity function in the backward pass. Our\ndifferentiable rendering extension to STE also enables imperceptible\nadversarial patches in the physical world. Using printout photos, and\nexperiments in the CARLA simulator, we show that STE enables fast generation of\n$\\ell_\\infty$ bounded adversarial examples despite the non-differentiable\ndistortions. To the best of our knowledge, this is the first work demonstrating\nimperceptible adversarial examples bounded by small $\\ell_\\infty$ norms in the\nphysical world that force zero classification accuracy in the global\nperturbation threat model and cause near-zero ($4.22\\%$) AP50 in object\ndetection in the patch perturbation threat model. We urge the community to\nre-evaluate the threat of adversarial examples in the physical world.\n", "date": "2024-11-25", "categories": []} {"id": "2411.14738", "title": "Universal and Context-Independent Triggers for Precise Control of LLM\n Outputs", "abstract": " Large language models (LLMs) have been widely adopted in applications such as\nautomated content generation and even critical decision-making systems.\nHowever, the risk of prompt injection allows for potential manipulation of LLM\noutputs. While numerous attack methods have been documented, achieving full\ncontrol over these outputs remains challenging, often requiring experienced\nattackers to make multiple attempts and depending heavily on the prompt\ncontext. Recent advancements in gradient-based white-box attack techniques have\nshown promise in tasks like jailbreaks and system prompt leaks. Our research\ngeneralizes gradient-based attacks to find a trigger that is (1) Universal:\neffective irrespective of the target output; (2) Context-Independent: robust\nacross diverse prompt contexts; and (3) Precise Output: capable of manipulating\nLLM inputs to yield any specified output with high accuracy. We propose a novel\nmethod to efficiently discover such triggers and assess the effectiveness of\nthe proposed attack. Furthermore, we discuss the substantial threats posed by\nsuch attacks to LLM-based applications, highlighting the potential for\nadversaries to taking over the decisions and actions made by AI agents.\n", "date": "2024-11-22", "categories": []} {"id": "2209.15179", "title": "Physical Adversarial Attack meets Computer Vision: A Decade Survey", "abstract": " Despite the impressive achievements of Deep Neural Networks (DNNs) in\ncomputer vision, their vulnerability to adversarial attacks remains a critical\nconcern. Extensive research has demonstrated that incorporating sophisticated\nperturbations into input images can lead to a catastrophic degradation in DNNs'\nperformance. This perplexing phenomenon not only exists in the digital space\nbut also in the physical world. Consequently, it becomes imperative to evaluate\nthe security of DNNs-based systems to ensure their safe deployment in\nreal-world scenarios, particularly in security-sensitive applications. To\nfacilitate a profound understanding of this topic, this paper presents a\ncomprehensive overview of physical adversarial attacks. Firstly, we distill\nfour general steps for launching physical adversarial attacks. Building upon\nthis foundation, we uncover the pervasive role of artifacts carrying\nadversarial perturbations in the physical world. These artifacts influence each\nstep. To denote them, we introduce a new term: adversarial medium. Then, we\ntake the first step to systematically evaluate the performance of physical\nadversarial attacks, taking the adversarial medium as a first attempt. Our\nproposed evaluation metric, hiPAA, comprises six perspectives: Effectiveness,\nStealthiness, Robustness, Practicability, Aesthetics, and Economics. We also\nprovide comparative results across task categories, together with insightful\nobservations and suggestions for future research directions.\n", "date": "2022-09-30", "categories": []} {"id": "2311.00207", "title": "Magmaw: Modality-Agnostic Adversarial Attacks on Machine Learning-Based\n Wireless Communication Systems", "abstract": " Machine Learning (ML) has been instrumental in enabling joint transceiver\noptimization by merging all physical layer blocks of the end-to-end wireless\ncommunication systems. Although there have been a number of adversarial attacks\non ML-based wireless systems, the existing methods do not provide a\ncomprehensive view including multi-modality of the source data, common physical\nlayer protocols, and wireless domain constraints. This paper proposes Magmaw, a\nnovel wireless attack methodology capable of generating universal adversarial\nperturbations for any multimodal signal transmitted over a wireless channel. We\nfurther introduce new objectives for adversarial attacks on downstream\napplications. We adopt the widely-used defenses to verify the resilience of\nMagmaw. For proof-of-concept evaluation, we build a real-time wireless attack\nplatform using a software-defined radio system. Experimental results\ndemonstrate that Magmaw causes significant performance degradation even in the\npresence of strong defense mechanisms. Furthermore, we validate the performance\nof Magmaw in two case studies: encrypted communication channel and channel\nmodality-based ML model.\n", "date": "2023-11-01", "categories": []} {"id": "2406.08298", "title": "AdaNCA: Neural Cellular Automata As Adaptors For More Robust Vision\n Transformer", "abstract": " Vision Transformers (ViTs) demonstrate remarkable performance in image\nclassification through visual-token interaction learning, particularly when\nequipped with local information via region attention or convolutions. Although\nsuch architectures improve the feature aggregation from different\ngranularities, they often fail to contribute to the robustness of the networks.\nNeural Cellular Automata (NCA) enables the modeling of global visual-token\nrepresentations through local interactions, with its training strategies and\narchitecture design conferring strong generalization ability and robustness\nagainst noisy input. In this paper, we propose Adaptor Neural Cellular Automata\n(AdaNCA) for Vision Transformers that uses NCA as plug-and-play adaptors\nbetween ViT layers, thus enhancing ViT's performance and robustness against\nadversarial samples as well as out-of-distribution inputs. To overcome the\nlarge computational overhead of standard NCAs, we propose Dynamic Interaction\nfor more efficient interaction learning. Using our analysis of AdaNCA placement\nand robustness improvement, we also develop an algorithm for identifying the\nmost effective insertion points for AdaNCA. With less than a 3% increase in\nparameters, AdaNCA contributes to more than 10% absolute improvement in\naccuracy under adversarial attacks on the ImageNet1K benchmark. Moreover, we\ndemonstrate with extensive evaluations across eight robustness benchmarks and\nfour ViT architectures that AdaNCA, as a plug-and-play module, consistently\nimproves the robustness of ViTs.\n", "date": "2024-06-12", "categories": []} {"id": "2411.13778", "title": "A Survey on Adversarial Robustness of LiDAR-based Machine Learning\n Perception in Autonomous Vehicles", "abstract": " In autonomous driving, the combination of AI and vehicular technology offers\ngreat potential. However, this amalgamation comes with vulnerabilities to\nadversarial attacks. This survey focuses on the intersection of Adversarial\nMachine Learning (AML) and autonomous systems, with a specific focus on\nLiDAR-based systems. We comprehensively explore the threat landscape,\nencompassing cyber-attacks on sensors and adversarial perturbations.\nAdditionally, we investigate defensive strategies employed in countering these\nthreats. This paper endeavors to present a concise overview of the challenges\nand advances in securing autonomous driving systems against adversarial\nthreats, emphasizing the need for robust defenses to ensure safety and\nsecurity.\n", "date": "2024-11-21", "categories": []} {"id": "2411.14424", "title": "Learning Fair Robustness via Domain Mixup", "abstract": " Adversarial training is one of the predominant techniques for training\nclassifiers that are robust to adversarial attacks. Recent work, however has\nfound that adversarial training, which makes the overall classifier robust, it\ndoes not necessarily provide equal amount of robustness for all classes. In\nthis paper, we propose the use of mixup for the problem of learning fair robust\nclassifiers, which can provide similar robustness across all classes.\nSpecifically, the idea is to mix inputs from the same classes and perform\nadversarial training on mixed up inputs. We present a theoretical analysis of\nthis idea for the case of linear classifiers and show that mixup combined with\nadversarial training can provably reduce the class-wise robustness disparity.\nThis method not only contributes to reducing the disparity in class-wise\nadversarial risk, but also the class-wise natural risk. Complementing our\ntheoretical analysis, we also provide experimental results on both synthetic\ndata and the real world dataset (CIFAR-10), which shows improvement in class\nwise disparities for both natural and adversarial risks.\n", "date": "2024-11-21", "categories": []} {"id": "2411.12071", "title": "Theoretical Corrections and the Leveraging of Reinforcement Learning to\n Enhance Triangle Attack", "abstract": " Adversarial examples represent a serious issue for the application of machine\nlearning models in many sensitive domains. For generating adversarial examples,\ndecision based black-box attacks are one of the most practical techniques as\nthey only require query access to the model. One of the most recently proposed\nstate-of-the-art decision based black-box attacks is Triangle Attack (TA). In\nthis paper, we offer a high-level description of TA and explain potential\ntheoretical limitations. We then propose a new decision based black-box attack,\nTriangle Attack with Reinforcement Learning (TARL). Our new attack addresses\nthe limits of TA by leveraging reinforcement learning. This creates an attack\nthat can achieve similar, if not better, attack accuracy than TA with half as\nmany queries on state-of-the-art classifiers and defenses across ImageNet and\nCIFAR-10.\n", "date": "2024-11-18", "categories": []} {"id": "2411.12473", "title": "NMT-Obfuscator Attack: Ignore a sentence in translation with only one\n word", "abstract": " Neural Machine Translation systems are used in diverse applications due to\ntheir impressive performance. However, recent studies have shown that these\nsystems are vulnerable to carefully crafted small perturbations to their\ninputs, known as adversarial attacks. In this paper, we propose a new type of\nadversarial attack against NMT models. In this attack, we find a word to be\nadded between two sentences such that the second sentence is ignored and not\ntranslated by the NMT model. The word added between the two sentences is such\nthat the whole adversarial text is natural in the source language. This type of\nattack can be harmful in practical scenarios since the attacker can hide\nmalicious information in the automatic translation made by the target NMT\nmodel. Our experiments show that different NMT models and translation tasks are\nvulnerable to this type of attack. Our attack can successfully force the NMT\nmodels to ignore the second part of the input in the translation for more than\n50% of all cases while being able to maintain low perplexity for the whole\ninput.\n", "date": "2024-11-19", "categories": []} {"id": "2411.12575", "title": "Stochastic BIQA: Median Randomized Smoothing for Certified Blind Image\n Quality Assessment", "abstract": " Most modern No-Reference Image-Quality Assessment (NR-IQA) metrics are based\non neural networks vulnerable to adversarial attacks. Attacks on such metrics\nlead to incorrect image/video quality predictions, which poses significant\nrisks, especially in public benchmarks. Developers of image processing\nalgorithms may unfairly increase the score of a target IQA metric without\nimproving the actual quality of the adversarial image. Although some empirical\ndefenses for IQA metrics were proposed, they do not provide theoretical\nguarantees and may be vulnerable to adaptive attacks. This work focuses on\ndeveloping a provably robust no-reference IQA metric. Our method is based on\nMedian Smoothing (MS) combined with an additional convolution denoiser with\nranking loss to improve the SROCC and PLCC scores of the defended IQA metric.\nCompared with two prior methods on three datasets, our method exhibited\nsuperior SROCC and PLCC scores while maintaining comparable certified\nguarantees.\n", "date": "2024-11-19", "categories": []} {"id": "2403.05100", "title": "Exploring the Adversarial Frontier: Quantifying Robustness via\n Adversarial Hypervolume", "abstract": " The escalating threat of adversarial attacks on deep learning models,\nparticularly in security-critical fields, has underscored the need for robust\ndeep learning systems. Conventional robustness evaluations have relied on\nadversarial accuracy, which measures a model's performance under a specific\nperturbation intensity. However, this singular metric does not fully\nencapsulate the overall resilience of a model against varying degrees of\nperturbation. To address this gap, we propose a new metric termed adversarial\nhypervolume, assessing the robustness of deep learning models comprehensively\nover a range of perturbation intensities from a multi-objective optimization\nstandpoint. This metric allows for an in-depth comparison of defense mechanisms\nand recognizes the trivial improvements in robustness afforded by less potent\ndefensive strategies. Additionally, we adopt a novel training algorithm that\nenhances adversarial robustness uniformly across various perturbation\nintensities, in contrast to methods narrowly focused on optimizing adversarial\naccuracy. Our extensive empirical studies validate the effectiveness of the\nadversarial hypervolume metric, demonstrating its ability to reveal subtle\ndifferences in robustness that adversarial accuracy overlooks. This research\ncontributes a new measure of robustness and establishes a standard for\nassessing and benchmarking the resilience of current and future defensive\nmodels against adversarial threats.\n", "date": "2024-03-08", "categories": []} {"id": "2405.14210", "title": "Eidos: Efficient, Imperceptible Adversarial 3D Point Clouds", "abstract": " Classification of 3D point clouds is a challenging machine learning (ML) task\nwith important real-world applications in a spectrum from autonomous driving\nand robot-assisted surgery to earth observation from low orbit. As with other\nML tasks, classification models are notoriously brittle in the presence of\nadversarial attacks. These are rooted in imperceptible changes to inputs with\nthe effect that a seemingly well-trained model ends up misclassifying the\ninput. This paper adds to the understanding of adversarial attacks by\npresenting Eidos, a framework providing Efficient Imperceptible aDversarial\nattacks on 3D pOint cloudS. Eidos supports a diverse set of imperceptibility\nmetrics. It employs an iterative, two-step procedure to identify optimal\nadversarial examples, thereby enabling a runtime-imperceptibility trade-off. We\nprovide empirical evidence relative to several popular 3D point cloud\nclassification models and several established 3D attack methods, showing Eidos'\nsuperiority with respect to efficiency as well as imperceptibility.\n", "date": "2024-05-23", "categories": []} {"id": "2411.10498", "title": "Prompt-Guided Environmentally Consistent Adversarial Patch", "abstract": " Adversarial attacks in the physical world pose a significant threat to the\nsecurity of vision-based systems, such as facial recognition and autonomous\ndriving. Existing adversarial patch methods primarily focus on improving attack\nperformance, but they often produce patches that are easily detectable by\nhumans and struggle to achieve environmental consistency, i.e., blending\npatches into the environment. This paper introduces a novel approach for\ngenerating adversarial patches, which addresses both the visual naturalness and\nenvironmental consistency of the patches. We propose Prompt-Guided\nEnvironmentally Consistent Adversarial Patch (PG-ECAP), a method that aligns\nthe patch with the environment to ensure seamless integration into the\nenvironment. The approach leverages diffusion models to generate patches that\nare both environmental consistency and effective in evading detection. To\nfurther enhance the naturalness and consistency, we introduce two alignment\nlosses: Prompt Alignment Loss and Latent Space Alignment Loss, ensuring that\nthe generated patch maintains its adversarial properties while fitting\nnaturally within its environment. Extensive experiments in both digital and\nphysical domains demonstrate that PG-ECAP outperforms existing methods in\nattack success rate and environmental consistency.\n", "date": "2024-11-15", "categories": []} {"id": "2407.03864", "title": "Adversarial Robustness of VAEs across Intersectional Subgroups", "abstract": " Despite advancements in Autoencoders (AEs) for tasks like dimensionality\nreduction, representation learning and data generation, they remain vulnerable\nto adversarial attacks. Variational Autoencoders (VAEs), with their\nprobabilistic approach to disentangling latent spaces, show stronger resistance\nto such perturbations compared to deterministic AEs; however, their resilience\nagainst adversarial inputs is still a concern. This study evaluates the\nrobustness of VAEs against non-targeted adversarial attacks by optimizing\nminimal sample-specific perturbations to cause maximal damage across diverse\ndemographic subgroups (combinations of age and gender). We investigate two\nquestions: whether there are robustness disparities among subgroups, and what\nfactors contribute to these disparities, such as data scarcity and\nrepresentation entanglement. Our findings reveal that robustness disparities\nexist but are not always correlated with the size of the subgroup. By using\ndownstream gender and age classifiers and examining latent embeddings, we\nhighlight the vulnerability of subgroups like older women, who are prone to\nmisclassification due to adversarial perturbations pushing their\nrepresentations toward those of other subgroups.\n", "date": "2024-07-04", "categories": []} {"id": "2411.08933", "title": "Confidence-aware Denoised Fine-tuning of Off-the-shelf Models for\n Certified Robustness", "abstract": " The remarkable advances in deep learning have led to the emergence of many\noff-the-shelf classifiers, e.g., large pre-trained models. However, since they\nare typically trained on clean data, they remain vulnerable to adversarial\nattacks. Despite this vulnerability, their superior performance and\ntransferability make off-the-shelf classifiers still valuable in practice,\ndemanding further work to provide adversarial robustness for them in a post-hoc\nmanner. A recently proposed method, denoised smoothing, leverages a denoiser\nmodel in front of the classifier to obtain provable robustness without\nadditional training. However, the denoiser often creates hallucination, i.e.,\nimages that have lost the semantics of their originally assigned class, leading\nto a drop in robustness. Furthermore, its noise-and-denoise procedure\nintroduces a significant distribution shift from the original distribution,\ncausing the denoised smoothing framework to achieve sub-optimal robustness. In\nthis paper, we introduce Fine-Tuning with Confidence-Aware Denoised Image\nSelection (FT-CADIS), a novel fine-tuning scheme to enhance the certified\nrobustness of off-the-shelf classifiers. FT-CADIS is inspired by the\nobservation that the confidence of off-the-shelf classifiers can effectively\nidentify hallucinated images during denoised smoothing. Based on this, we\ndevelop a confidence-aware training objective to handle such hallucinated\nimages and improve the stability of fine-tuning from denoised images. In this\nway, the classifier can be fine-tuned using only images that are beneficial for\nadversarial robustness. We also find that such a fine-tuning can be done by\nupdating a small fraction of parameters of the classifier. Extensive\nexperiments demonstrate that FT-CADIS has established the state-of-the-art\ncertified robustness among denoised smoothing methods across all\n$\\ell_2$-adversary radius in various benchmarks.\n", "date": "2024-11-13", "categories": []} {"id": "2410.24006", "title": "DiffPAD: Denoising Diffusion-based Adversarial Patch Decontamination", "abstract": " In the ever-evolving adversarial machine learning landscape, developing\neffective defenses against patch attacks has become a critical challenge,\nnecessitating reliable solutions to safeguard real-world AI systems. Although\ndiffusion models have shown remarkable capacity in image synthesis and have\nbeen recently utilized to counter $\\ell_p$-norm bounded attacks, their\npotential in mitigating localized patch attacks remains largely underexplored.\nIn this work, we propose DiffPAD, a novel framework that harnesses the power of\ndiffusion models for adversarial patch decontamination. DiffPAD first performs\nsuper-resolution restoration on downsampled input images, then adopts\nbinarization, dynamic thresholding scheme and sliding window for effective\nlocalization of adversarial patches. Such a design is inspired by the\ntheoretically derived correlation between patch size and diffusion restoration\nerror that is generalized across diverse patch attack scenarios. Finally,\nDiffPAD applies inpainting techniques to the original input images with the\nestimated patch region being masked. By integrating closed-form solutions for\nsuper-resolution restoration and image inpainting into the conditional reverse\nsampling process of a pre-trained diffusion model, DiffPAD obviates the need\nfor text guidance or fine-tuning. Through comprehensive experiments, we\ndemonstrate that DiffPAD not only achieves state-of-the-art adversarial\nrobustness against patch attacks but also excels in recovering naturalistic\nimages without patch remnants. The source code is available at\nhttps://github.com/JasonFu1998/DiffPAD.\n", "date": "2024-10-31", "categories": []} {"id": "2411.09220", "title": "Transferable Adversarial Attacks against ASR", "abstract": " Given the extensive research and real-world applications of automatic speech\nrecognition (ASR), ensuring the robustness of ASR models against minor input\nperturbations becomes a crucial consideration for maintaining their\neffectiveness in real-time scenarios. Previous explorations into ASR model\nrobustness have predominantly revolved around evaluating accuracy on white-box\nsettings with full access to ASR models. Nevertheless, full ASR model details\nare often not available in real-world applications. Therefore, evaluating the\nrobustness of black-box ASR models is essential for a comprehensive\nunderstanding of ASR model resilience. In this regard, we thoroughly study the\nvulnerability of practical black-box attacks in cutting-edge ASR models and\npropose to employ two advanced time-domain-based transferable attacks alongside\nour differentiable feature extractor. We also propose a speech-aware gradient\noptimization approach (SAGO) for ASR, which forces mistranscription with\nminimal impact on human imperceptibility through voice activity detection rule\nand a speech-aware gradient-oriented optimizer. Our comprehensive experimental\nresults reveal performance enhancements compared to baseline approaches across\nfive models on two databases.\n", "date": "2024-11-14", "categories": []} {"id": "2311.07444", "title": "On the Robustness of Neural Collapse and the Neural Collapse of\n Robustness", "abstract": " Neural Collapse refers to the curious phenomenon in the end of training of a\nneural network, where feature vectors and classification weights converge to a\nvery simple geometrical arrangement (a simplex). While it has been observed\nempirically in various cases and has been theoretically motivated, its\nconnection with crucial properties of neural networks, like their\ngeneralization and robustness, remains unclear. In this work, we study the\nstability properties of these simplices. We find that the simplex structure\ndisappears under small adversarial attacks, and that perturbed examples \"leap\"\nbetween simplex vertices. We further analyze the geometry of networks that are\noptimized to be robust against adversarial perturbations of the input, and find\nthat Neural Collapse is a pervasive phenomenon in these cases as well, with\nclean and perturbed representations forming aligned simplices, and giving rise\nto a robust simple nearest-neighbor classifier. By studying the propagation of\nthe amount of collapse inside the network, we identify novel properties of both\nrobust and non-robust machine learning models, and show that earlier, unlike\nlater layers maintain reliable simplices on perturbed data. Our code is\navailable at https://github.com/JingtongSu/robust_neural_collapse .\n", "date": "2023-11-13", "categories": []} {"id": "2411.08248", "title": "Deceiving Question-Answering Models: A Hybrid Word-Level Adversarial\n Approach", "abstract": " Deep learning underpins most of the currently advanced natural language\nprocessing (NLP) tasks such as textual classification, neural machine\ntranslation (NMT), abstractive summarization and question-answering (QA).\nHowever, the robustness of the models, particularly QA models, against\nadversarial attacks is a critical concern that remains insufficiently explored.\nThis paper introduces QA-Attack (Question Answering Attack), a novel word-level\nadversarial strategy that fools QA models. Our attention-based attack exploits\nthe customized attention mechanism and deletion ranking strategy to identify\nand target specific words within contextual passages. It creates deceptive\ninputs by carefully choosing and substituting synonyms, preserving grammatical\nintegrity while misleading the model to produce incorrect responses. Our\napproach demonstrates versatility across various question types, particularly\nwhen dealing with extensive long textual inputs. Extensive experiments on\nmultiple benchmark datasets demonstrate that QA-Attack successfully deceives\nbaseline QA models and surpasses existing adversarial techniques regarding\nsuccess rate, semantics changes, BLEU score, fluency and grammar error rate.\n", "date": "2024-11-12", "categories": []} {"id": "2404.19287", "title": "Revisiting the Adversarial Robustness of Vision Language Models: a\n Multimodal Perspective", "abstract": " Pretrained vision-language models (VLMs) like CLIP exhibit exceptional\ngeneralization across diverse downstream tasks. While recent studies reveal\ntheir vulnerability to adversarial attacks, research to date has primarily\nfocused on enhancing the robustness of image encoders against image-based\nattacks, with defenses against text-based and multimodal attacks remaining\nlargely unexplored. To this end, this work presents the first comprehensive\nstudy on improving the adversarial robustness of VLMs against attacks targeting\nimage, text, and multimodal inputs. This is achieved by proposing multimodal\ncontrastive adversarial training (MMCoA). Such an approach strengthens the\nrobustness of both image and text encoders by aligning the clean text\nembeddings with adversarial image embeddings, and adversarial text embeddings\nwith clean image embeddings. The robustness of the proposed MMCoA is examined\nagainst existing defense methods over image, text, and multimodal attacks on\nthe CLIP model. Extensive experiments on 15 datasets across two tasks reveal\nthe characteristics of different adversarial defense methods under distinct\ndistribution shifts and dataset complexities across the three attack types.\nThis paves the way for a unified framework of adversarial robustness against\ndifferent modality attacks, opening up new possibilities for securing VLMs\nagainst multimodal attacks. The code is available at\nhttps://github.com/ElleZWQ/MMCoA.git.\n", "date": "2024-04-30", "categories": []} {"id": "2411.07843", "title": "Chain Association-based Attacking and Shielding Natural Language\n Processing Systems", "abstract": " Association as a gift enables people do not have to mention something in\ncompletely straightforward words and allows others to understand what they\nintend to refer to. In this paper, we propose a chain association-based\nadversarial attack against natural language processing systems, utilizing the\ncomprehension gap between humans and machines. We first generate a chain\nassociation graph for Chinese characters based on the association paradigm for\nbuilding search space of potential adversarial examples. Then, we introduce an\ndiscrete particle swarm optimization algorithm to search for the optimal\nadversarial examples. We conduct comprehensive experiments and show that\nadvanced natural language processing models and applications, including large\nlanguage models, are vulnerable to our attack, while humans appear good at\nunderstanding the perturbed text. We also explore two methods, including\nadversarial training and associative graph-based recovery, to shield systems\nfrom chain association-based attack. Since a few examples that use some\nderogatory terms, this paper contains materials that may be offensive or\nupsetting to some people.\n", "date": "2024-11-12", "categories": []} {"id": "2411.07850", "title": "IAE: Irony-based Adversarial Examples for Sentiment Analysis Systems", "abstract": " Adversarial examples, which are inputs deliberately perturbed with\nimperceptible changes to induce model errors, have raised serious concerns for\nthe reliability and security of deep neural networks (DNNs). While adversarial\nattacks have been extensively studied in continuous data domains such as\nimages, the discrete nature of text presents unique challenges. In this paper,\nwe propose Irony-based Adversarial Examples (IAE), a method that transforms\nstraightforward sentences into ironic ones to create adversarial text. This\napproach exploits the rhetorical device of irony, where the intended meaning is\nopposite to the literal interpretation, requiring a deeper understanding of\ncontext to detect. The IAE method is particularly challenging due to the need\nto accurately locate evaluation words, substitute them with appropriate\ncollocations, and expand the text with suitable ironic elements while\nmaintaining semantic coherence. Our research makes the following key\ncontributions: (1) We introduce IAE, a strategy for generating textual\nadversarial examples using irony. This method does not rely on pre-existing\nirony corpora, making it a versatile tool for creating adversarial text in\nvarious NLP tasks. (2) We demonstrate that the performance of several\nstate-of-the-art deep learning models on sentiment analysis tasks significantly\ndeteriorates when subjected to IAE attacks. This finding underscores the\nsusceptibility of current NLP systems to adversarial manipulation through\nirony. (3) We compare the impact of IAE on human judgment versus NLP systems,\nrevealing that humans are less susceptible to the effects of irony in text.\n", "date": "2024-11-12", "categories": []} {"id": "2310.16221", "title": "Hierarchical Randomized Smoothing", "abstract": " Real-world data is complex and often consists of objects that can be\ndecomposed into multiple entities (e.g. images into pixels, graphs into\ninterconnected nodes). Randomized smoothing is a powerful framework for making\nmodels provably robust against small changes to their inputs - by guaranteeing\nrobustness of the majority vote when randomly adding noise before\nclassification. Yet, certifying robustness on such complex data via randomized\nsmoothing is challenging when adversaries do not arbitrarily perturb entire\nobjects (e.g. images) but only a subset of their entities (e.g. pixels). As a\nsolution, we introduce hierarchical randomized smoothing: We partially smooth\nobjects by adding random noise only on a randomly selected subset of their\nentities. By adding noise in a more targeted manner than existing methods we\nobtain stronger robustness guarantees while maintaining high accuracy. We\ninitialize hierarchical smoothing using different noising distributions,\nyielding novel robustness certificates for discrete and continuous domains. We\nexperimentally demonstrate the importance of hierarchical smoothing in image\nand node classification, where it yields superior robustness-accuracy\ntrade-offs. Overall, hierarchical smoothing is an important contribution\ntowards models that are both - certifiably robust to perturbations and\naccurate.\n", "date": "2023-10-24", "categories": []} {"id": "2404.07234", "title": "Goal-guided Generative Prompt Injection Attack on Large Language Models", "abstract": " Current large language models (LLMs) provide a strong foundation for\nlarge-scale user-oriented natural language tasks. A large number of users can\neasily inject adversarial text or instructions through the user interface, thus\ncausing LLMs model security challenges. Although there is currently a large\namount of research on prompt injection attacks, most of these black-box attacks\nuse heuristic strategies. It is unclear how these heuristic strategies relate\nto the success rate of attacks and thus effectively improve model robustness.\nTo solve this problem, we redefine the goal of the attack: to maximize the KL\ndivergence between the conditional probabilities of the clean text and the\nadversarial text. Furthermore, we prove that maximizing the KL divergence is\nequivalent to maximizing the Mahalanobis distance between the embedded\nrepresentation $x$ and $x'$ of the clean text and the adversarial text when the\nconditional probability is a Gaussian distribution and gives a quantitative\nrelationship on $x$ and $x'$. Then we designed a simple and effective\ngoal-guided generative prompt injection strategy (G2PIA) to find an injection\ntext that satisfies specific constraints to achieve the optimal attack effect\napproximately. It is particularly noteworthy that our attack method is a\nquery-free black-box attack method with low computational cost. Experimental\nresults on seven LLM models and four datasets show the effectiveness of our\nattack method.\n", "date": "2024-04-06", "categories": []} {"id": "2411.06666", "title": "Adversarial Detection with a Dynamically Stable System", "abstract": " Adversarial detection is designed to identify and reject maliciously crafted\nadversarial examples(AEs) which are generated to disrupt the classification of\ntarget models.\n Presently, various input transformation-based methods have been developed on\nadversarial example detection, which typically rely on empirical experience and\nlead to unreliability against new attacks.\n To address this issue, we propose and conduct a Dynamically Stable System\n(DSS), which can effectively detect the adversarial examples from normal\nexamples according to the stability of input examples.\n Particularly, in our paper, the generation of adversarial examples is\nconsidered as the perturbation process of a Lyapunov dynamic system, and we\npropose an example stability mechanism, in which a novel control term is added\nin adversarial example generation to ensure that the normal examples can\nachieve dynamic stability while the adversarial examples cannot achieve the\nstability.\n Then, based on the proposed example stability mechanism, a Dynamically Stable\nSystem (DSS) is proposed, which can utilize the disruption and restoration\nactions to determine the stability of input examples and detect the adversarial\nexamples through changes in the stability of the input examples.\n In comparison with existing methods in three benchmark datasets(MNIST,\nCIFAR10, and CIFAR100), our evaluation results show that our proposed DSS can\nachieve ROC-AUC values of 99.83%, 97.81% and 94.47%, surpassing the\nstate-of-the-art(SOTA) values of 97.35%, 91.10% and 93.49% in the other 7\nmethods.\n", "date": "2024-11-11", "categories": []} {"id": "2307.01778", "title": "Physically Realizable Natural-Looking Clothing Textures Evade Person\n Detectors via 3D Modeling", "abstract": " Recent works have proposed to craft adversarial clothes for evading person\ndetectors, while they are either only effective at limited viewing angles or\nvery conspicuous to humans. We aim to craft adversarial texture for clothes\nbased on 3D modeling, an idea that has been used to craft rigid adversarial\nobjects such as a 3D-printed turtle. Unlike rigid objects, humans and clothes\nare non-rigid, leading to difficulties in physical realization. In order to\ncraft natural-looking adversarial clothes that can evade person detectors at\nmultiple viewing angles, we propose adversarial camouflage textures (AdvCaT)\nthat resemble one kind of the typical textures of daily clothes, camouflage\ntextures. We leverage the Voronoi diagram and Gumbel-softmax trick to\nparameterize the camouflage textures and optimize the parameters via 3D\nmodeling. Moreover, we propose an efficient augmentation pipeline on 3D meshes\ncombining topologically plausible projection (TopoProj) and Thin Plate Spline\n(TPS) to narrow the gap between digital and real-world objects. We printed the\ndeveloped 3D texture pieces on fabric materials and tailored them into T-shirts\nand trousers. Experiments show high attack success rates of these clothes\nagainst multiple detectors.\n", "date": "2023-07-04", "categories": []} {"id": "2311.06122", "title": "Fight Fire with Fire: Combating Adversarial Patch Attacks using\n Pattern-randomized Defensive Patches", "abstract": " Object detection has found extensive applications in various tasks, but it is\nalso susceptible to adversarial patch attacks. The ideal defense should be\neffective, efficient, easy to deploy, and capable of withstanding adaptive\nattacks. In this paper, we adopt a counterattack strategy to propose a novel\nand general methodology for defending adversarial attacks. Two types of\ndefensive patches, canary and woodpecker, are specially-crafted and injected\ninto the model input to proactively probe or counteract potential adversarial\npatches. In this manner, adversarial patch attacks can be effectively detected\nby simply analyzing the model output, without the need to alter the target\nmodel. Moreover, we employ randomized canary and woodpecker injection patterns\nto defend against defense-aware attacks. The effectiveness and practicality of\nthe proposed method are demonstrated through comprehensive experiments. The\nresults illustrate that canary and woodpecker achieve high performance, even\nwhen confronted with unknown attack methods, while incurring limited time\noverhead. Furthermore, our method also exhibits sufficient robustness against\ndefense-aware attacks, as evidenced by adaptive attack experiments.\n", "date": "2023-11-10", "categories": []} {"id": "2403.01251", "title": "Accelerating Greedy Coordinate Gradient and General Prompt Optimization\n via Probe Sampling", "abstract": " Safety of Large Language Models (LLMs) has become a critical issue given\ntheir rapid progresses. Greedy Coordinate Gradient (GCG) is shown to be\neffective in constructing adversarial prompts to break the aligned LLMs, but\noptimization of GCG is time-consuming. To reduce the time cost of GCG and\nenable more comprehensive studies of LLM safety, in this work, we study a new\nalgorithm called $\\texttt{Probe sampling}$. At the core of the algorithm is a\nmechanism that dynamically determines how similar a smaller draft model's\npredictions are to the target model's predictions for prompt candidates. When\nthe target model is similar to the draft model, we rely heavily on the draft\nmodel to filter out a large number of potential prompt candidates. Probe\nsampling achieves up to $5.6$ times speedup using Llama2-7b-chat and leads to\nequal or improved attack success rate (ASR) on the AdvBench. Furthermore, probe\nsampling is also able to accelerate other prompt optimization techniques and\nadversarial methods, leading to acceleration of $1.8\\times$ for AutoPrompt,\n$2.4\\times$ for APE and $2.4\\times$ for AutoDAN.\n", "date": "2024-03-02", "categories": []} {"id": "2404.13631", "title": "Fermi-Bose Machine achieves both generalization and adversarial\n robustness", "abstract": " Distinct from human cognitive processing, deep neural networks trained by\nbackpropagation can be easily fooled by adversarial examples. To design a\nsemantically meaningful representation learning, we discard backpropagation,\nand instead, propose a local contrastive learning, where the representation for\nthe inputs bearing the same label shrink (akin to boson) in hidden layers,\nwhile those of different labels repel (akin to fermion). This layer-wise\nlearning is local in nature, being biological plausible. A statistical\nmechanics analysis shows that the target fermion-pair-distance is a key\nparameter. Moreover, the application of this local contrastive learning to\nMNIST benchmark dataset demonstrates that the adversarial vulnerability of\nstandard perceptron can be greatly mitigated by tuning the target distance,\ni.e., controlling the geometric separation of prototype manifolds.\n", "date": "2024-04-21", "categories": []} {"id": "2401.03115", "title": "Transferable Learned Image Compression-Resistant Adversarial\n Perturbations", "abstract": " Adversarial attacks can readily disrupt the image classification system,\nrevealing the vulnerability of DNN-based recognition tasks. While existing\nadversarial perturbations are primarily applied to uncompressed images or\ncompressed images by the traditional image compression method, i.e., JPEG,\nlimited studies have investigated the robustness of models for image\nclassification in the context of DNN-based image compression. With the rapid\nevolution of advanced image compression, DNN-based learned image compression\nhas emerged as the promising approach for transmitting images in many\nsecurity-critical applications, such as cloud-based face recognition and\nautonomous driving, due to its superior performance over traditional\ncompression. Therefore, there is a pressing need to fully investigate the\nrobustness of a classification system post-processed by learned image\ncompression. To bridge this research gap, we explore the adversarial attack on\na new pipeline that targets image classification models that utilize learned\nimage compressors as pre-processing modules. Furthermore, to enhance the\ntransferability of perturbations across various quality levels and\narchitectures of learned image compression models, we introduce a saliency\nscore-based sampling method to enable the fast generation of transferable\nperturbation. Extensive experiments with popular attack methods demonstrate the\nenhanced transferability of our proposed method when attacking images that have\nbeen post-processed with different learned image compression models.\n", "date": "2024-01-06", "categories": []} {"id": "2411.03348", "title": "Undermining Image and Text Classification Algorithms Using Adversarial\n Attacks", "abstract": " Machine learning models are prone to adversarial attacks, where inputs can be\nmanipulated in order to cause misclassifications. While previous research has\nfocused on techniques like Generative Adversarial Networks (GANs), there's\nlimited exploration of GANs and Synthetic Minority Oversampling Technique\n(SMOTE) in text and image classification models to perform adversarial attacks.\nOur study addresses this gap by training various machine learning models and\nusing GANs and SMOTE to generate additional data points aimed at attacking text\nclassification models. Furthermore, we extend our investigation to face\nrecognition models, training a Convolutional Neural Network(CNN) and subjecting\nit to adversarial attacks with fast gradient sign perturbations on key features\nidentified by GradCAM, a technique used to highlight key image characteristics\nCNNs use in classification. Our experiments reveal a significant vulnerability\nin classification models. Specifically, we observe a 20 % decrease in accuracy\nfor the top-performing text classification models post-attack, along with a 30\n% decrease in facial recognition accuracy. This highlights the susceptibility\nof these models to manipulation of input data. Adversarial attacks not only\ncompromise the security but also undermine the reliability of machine learning\nsystems. By showcasing the impact of adversarial attacks on both text\nclassification and face recognition models, our study underscores the urgent\nneed for develop robust defenses against such vulnerabilities.\n", "date": "2024-11-03", "categories": []} {"id": "2411.04533", "title": "Neural Fingerprints for Adversarial Attack Detection", "abstract": " Deep learning models for image classification have become standard tools in\nrecent years. A well known vulnerability of these models is their\nsusceptibility to adversarial examples. These are generated by slightly\naltering an image of a certain class in a way that is imperceptible to humans\nbut causes the model to classify it wrongly as another class. Many algorithms\nhave been proposed to address this problem, falling generally into one of two\ncategories: (i) building robust classifiers (ii) directly detecting attacked\nimages. Despite the good performance of these detectors, we argue that in a\nwhite-box setting, where the attacker knows the configuration and weights of\nthe network and the detector, they can overcome the detector by running many\nexamples on a local copy, and sending only those that were not detected to the\nactual model. This problem is common in security applications where even a very\ngood model is not sufficient to ensure safety. In this paper we propose to\novercome this inherent limitation of any static defence with randomization. To\ndo so, one must generate a very large family of detectors with consistent\nperformance, and select one or more of them randomly for each input. For the\nindividual detectors, we suggest the method of neural fingerprints. In the\ntraining phase, for each class we repeatedly sample a tiny random subset of\nneurons from certain layers of the network, and if their average is\nsufficiently different between clean and attacked images of the focal class\nthey are considered a fingerprint and added to the detector bank. During test\ntime, we sample fingerprints from the bank associated with the label predicted\nby the model, and detect attacks using a likelihood ratio test. We evaluate our\ndetectors on ImageNet with different attack methods and model architectures,\nand show near-perfect detection with low rates of false detection.\n", "date": "2024-11-07", "categories": []} {"id": "2411.04772", "title": "Attention Masks Help Adversarial Attacks to Bypass Safety Detectors", "abstract": " Despite recent research advancements in adversarial attack methods, current\napproaches against XAI monitors are still discoverable and slower. In this\npaper, we present an adaptive framework for attention mask generation to enable\nstealthy, explainable and efficient PGD image classification adversarial attack\nunder XAI monitors. Specifically, we utilize mutation XAI mixture and multitask\nself-supervised X-UNet for attention mask generation to guide PGD attack.\nExperiments on MNIST (MLP), CIFAR-10 (AlexNet) have shown that our system can\noutperform benchmark PGD, Sparsefool and SOTA SINIFGSM in balancing among\nstealth, efficiency and explainability which is crucial for effectively fooling\nSOTA defense protected classifiers.\n", "date": "2024-11-07", "categories": []} {"id": "2303.15409", "title": "Class-Conditioned Transformation for Enhanced Robust Image\n Classification", "abstract": " Robust classification methods predominantly concentrate on algorithms that\naddress a specific threat model, resulting in ineffective defenses against\nother threat models. Real-world applications are exposed to this vulnerability,\nas malicious attackers might exploit alternative threat models. In this work,\nwe propose a novel test-time threat model agnostic algorithm that enhances\nAdversarial-Trained (AT) models. Our method operates through COnditional image\ntransformation and DIstance-based Prediction (CODIP) and includes two main\nsteps: First, we transform the input image into each dataset class, where the\ninput image might be either clean or attacked. Next, we make a prediction based\non the shortest transformed distance. The conditional transformation utilizes\nthe perceptually aligned gradients property possessed by AT models and, as a\nresult, eliminates the need for additional models or additional training.\nMoreover, it allows users to choose the desired balance between clean and\nrobust accuracy without training. The proposed method achieves state-of-the-art\nresults demonstrated through extensive experiments on various models, AT\nmethods, datasets, and attack types. Notably, applying CODIP leads to\nsubstantial robust accuracy improvement of up to $+23\\%$, $+20\\%$, $+26\\%$, and\n$+22\\%$ on CIFAR10, CIFAR100, ImageNet and Flowers datasets, respectively.\n", "date": "2023-03-27", "categories": []} {"id": "2411.02669", "title": "Semantic-Aligned Adversarial Evolution Triangle for High-Transferability\n Vision-Language Attack", "abstract": " Vision-language pre-training (VLP) models excel at interpreting both images\nand text but remain vulnerable to multimodal adversarial examples (AEs).\nAdvancing the generation of transferable AEs, which succeed across unseen\nmodels, is key to developing more robust and practical VLP models. Previous\napproaches augment image-text pairs to enhance diversity within the adversarial\nexample generation process, aiming to improve transferability by expanding the\ncontrast space of image-text features. However, these methods focus solely on\ndiversity around the current AEs, yielding limited gains in transferability. To\naddress this issue, we propose to increase the diversity of AEs by leveraging\nthe intersection regions along the adversarial trajectory during optimization.\nSpecifically, we propose sampling from adversarial evolution triangles composed\nof clean, historical, and current adversarial examples to enhance adversarial\ndiversity. We provide a theoretical analysis to demonstrate the effectiveness\nof the proposed adversarial evolution triangle. Moreover, we find that\nredundant inactive dimensions can dominate similarity calculations, distorting\nfeature matching and making AEs model-dependent with reduced transferability.\nHence, we propose to generate AEs in the semantic image-text feature contrast\nspace, which can project the original feature space into a semantic corpus\nsubspace. The proposed semantic-aligned subspace can reduce the image feature\nredundancy, thereby improving adversarial transferability. Extensive\nexperiments across different datasets and models demonstrate that the proposed\nmethod can effectively improve adversarial transferability and outperform\nstate-of-the-art adversarial attack methods. The code is released at\nhttps://github.com/jiaxiaojunQAQ/SA-AET.\n", "date": "2024-11-04", "categories": []} {"id": "2411.02871", "title": "Enhancing Adversarial Robustness via Uncertainty-Aware Distributional\n Adversarial Training", "abstract": " Despite remarkable achievements in deep learning across various domains, its\ninherent vulnerability to adversarial examples still remains a critical concern\nfor practical deployment. Adversarial training has emerged as one of the most\neffective defensive techniques for improving model robustness against such\nmalicious inputs. However, existing adversarial training schemes often lead to\nlimited generalization ability against underlying adversaries with diversity\ndue to their overreliance on a point-by-point augmentation strategy by mapping\neach clean example to its adversarial counterpart during training. In addition,\nadversarial examples can induce significant disruptions in the statistical\ninformation w.r.t. the target model, thereby introducing substantial\nuncertainty and challenges to modeling the distribution of adversarial\nexamples. To circumvent these issues, in this paper, we propose a novel\nuncertainty-aware distributional adversarial training method, which enforces\nadversary modeling by leveraging both the statistical information of\nadversarial examples and its corresponding uncertainty estimation, with the\ngoal of augmenting the diversity of adversaries. Considering the potentially\nnegative impact induced by aligning adversaries to misclassified clean\nexamples, we also refine the alignment reference based on the statistical\nproximity to clean examples during adversarial training, thereby reframing\nadversarial training within a distribution-to-distribution matching framework\ninteracted between the clean and adversarial domains. Furthermore, we design an\nintrospective gradient alignment approach via matching input gradients between\nthese domains without introducing external models. Extensive experiments across\nfour benchmark datasets and various network architectures demonstrate that our\napproach achieves state-of-the-art adversarial robustness and maintains natural\nperformance.\n", "date": "2024-11-05", "categories": []} {"id": "2303.14133", "title": "Survey on Adversarial Attack and Defense for Medical Image Analysis:\n Methods and Challenges", "abstract": " Deep learning techniques have achieved superior performance in computer-aided\nmedical image analysis, yet they are still vulnerable to imperceptible\nadversarial attacks, resulting in potential misdiagnosis in clinical practice.\nOppositely, recent years have also witnessed remarkable progress in defense\nagainst these tailored adversarial examples in deep medical diagnosis systems.\nIn this exposition, we present a comprehensive survey on recent advances in\nadversarial attacks and defenses for medical image analysis with a systematic\ntaxonomy in terms of the application scenario. We also provide a unified\nframework for different types of adversarial attack and defense methods in the\ncontext of medical image analysis. For a fair comparison, we establish a new\nbenchmark for adversarially robust medical diagnosis models obtained by\nadversarial training under various scenarios. To the best of our knowledge,\nthis is the first survey paper that provides a thorough evaluation of\nadversarially robust medical diagnosis models. By analyzing qualitative and\nquantitative results, we conclude this survey with a detailed discussion of\ncurrent challenges for adversarial attack and defense in medical image analysis\nsystems to shed light on future research directions. Code is available on\n\\href{https://github.com/tomvii/Adv_MIA}{\\color{red}{GitHub}}.\n", "date": "2023-03-24", "categories": []} {"id": "2402.02554", "title": "DeSparsify: Adversarial Attack Against Token Sparsification Mechanisms\n in Vision Transformers", "abstract": " Vision transformers have contributed greatly to advancements in the computer\nvision domain, demonstrating state-of-the-art performance in diverse tasks\n(e.g., image classification, object detection). However, their high\ncomputational requirements grow quadratically with the number of tokens used.\nToken sparsification mechanisms have been proposed to address this issue. These\nmechanisms employ an input-dependent strategy, in which uninformative tokens\nare discarded from the computation pipeline, improving the model's efficiency.\nHowever, their dynamism and average-case assumption makes them vulnerable to a\nnew threat vector - carefully crafted adversarial examples capable of fooling\nthe sparsification mechanism, resulting in worst-case performance. In this\npaper, we present DeSparsify, an attack targeting the availability of vision\ntransformers that use token sparsification mechanisms. The attack aims to\nexhaust the operating system's resources, while maintaining its stealthiness.\nOur evaluation demonstrates the attack's effectiveness on three token\nsparsification mechanisms and examines the attack's transferability between\nthem and its effect on the GPU resources. To mitigate the impact of the attack,\nwe propose various countermeasures.\n", "date": "2024-02-04", "categories": []} {"id": "2409.08167", "title": "High-Frequency Anti-DreamBooth: Robust Defense against Personalized\n Image Synthesis", "abstract": " Recently, text-to-image generative models have been misused to create\nunauthorized malicious images of individuals, posing a growing social problem.\nPrevious solutions, such as Anti-DreamBooth, add adversarial noise to images to\nprotect them from being used as training data for malicious generation.\nHowever, we found that the adversarial noise can be removed by adversarial\npurification methods such as DiffPure. Therefore, we propose a new adversarial\nattack method that adds strong perturbation on the high-frequency areas of\nimages to make it more robust to adversarial purification. Our experiment\nshowed that the adversarial images retained noise even after adversarial\npurification, hindering malicious image generation.\n", "date": "2024-09-12", "categories": []} {"id": "2411.00837", "title": "Longitudinal Mammogram Exam-based Breast Cancer Diagnosis Models:\n Vulnerability to Adversarial Attacks", "abstract": " In breast cancer detection and diagnosis, the longitudinal analysis of\nmammogram images is crucial. Contemporary models excel in detecting temporal\nimaging feature changes, thus enhancing the learning process over sequential\nimaging exams. Yet, the resilience of these longitudinal models against\nadversarial attacks remains underexplored. In this study, we proposed a novel\nattack method that capitalizes on the feature-level relationship between two\nsequential mammogram exams of a longitudinal model, guided by both\ncross-entropy loss and distance metric learning, to achieve significant attack\nefficacy, as implemented using attack transferring in a black-box attacking\nmanner. We performed experiments on a cohort of 590 breast cancer patients\n(each has two sequential mammogram exams) in a case-control setting. Results\nshowed that our proposed method surpassed several state-of-the-art adversarial\nattacks in fooling the diagnosis models to give opposite outputs. Our method\nremained effective even if the model was trained with the common defending\nmethod of adversarial training.\n", "date": "2024-10-29", "categories": []} {"id": "2411.00898", "title": "Replace-then-Perturb: Targeted Adversarial Attacks With Visual Reasoning\n for Vision-Language Models", "abstract": " The conventional targeted adversarial attacks add a small perturbation to an\nimage to make neural network models estimate the image as a predefined target\nclass, even if it is not the correct target class. Recently, for\nvisual-language models (VLMs), the focus of targeted adversarial attacks is to\ngenerate a perturbation that makes VLMs answer intended target text outputs.\nFor example, they aim to make a small perturbation on an image to make VLMs'\nanswers change from \"there is an apple\" to \"there is a baseball.\" However,\nanswering just intended text outputs is insufficient for tricky questions like\n\"if there is a baseball, tell me what is below it.\" This is because the target\nof the adversarial attacks does not consider the overall integrity of the\noriginal image, thereby leading to a lack of visual reasoning. In this work, we\nfocus on generating targeted adversarial examples with visual reasoning against\nVLMs. To this end, we propose 1) a novel adversarial attack procedure --\nnamely, Replace-then-Perturb and 2) a contrastive learning-based adversarial\nloss -- namely, Contrastive-Adv. In Replace-then-Perturb, we first leverage a\ntext-guided segmentation model to find the target object in the image. Then, we\nget rid of the target object and inpaint the empty space with the desired\nprompt. By doing this, we can generate a target image corresponding to the\ndesired prompt, while maintaining the overall integrity of the original image.\nFurthermore, in Contrastive-Adv, we design a novel loss function to obtain\nbetter adversarial examples. Our extensive benchmark results demonstrate that\nReplace-then-Perturb and Contrastive-Adv outperform the baseline adversarial\nattack algorithms. We note that the source code to reproduce the results will\nbe available.\n", "date": "2024-11-01", "categories": []} {"id": "2411.00899", "title": "Certified Robustness for Deep Equilibrium Models via Serialized Random\n Smoothing", "abstract": " Implicit models such as Deep Equilibrium Models (DEQs) have emerged as\npromising alternative approaches for building deep neural networks. Their\ncertified robustness has gained increasing research attention due to security\nconcerns. Existing certified defenses for DEQs employing deterministic\ncertification methods such as interval bound propagation and Lipschitz-bounds\ncan not certify on large-scale datasets. Besides, they are also restricted to\nspecific forms of DEQs. In this paper, we provide the first randomized\nsmoothing certified defense for DEQs to solve these limitations. Our study\nreveals that simply applying randomized smoothing to certify DEQs provides\ncertified robustness generalized to large-scale datasets but incurs extremely\nexpensive computation costs. To reduce computational redundancy, we propose a\nnovel Serialized Randomized Smoothing (SRS) approach that leverages historical\ninformation. Additionally, we derive a new certified radius estimation for SRS\nto theoretically ensure the correctness of our algorithm. Extensive experiments\nand ablation studies on image recognition demonstrate that our algorithm can\nsignificantly accelerate the certification of DEQs by up to 7x almost without\nsacrificing the certified accuracy. Our code is available at\nhttps://github.com/WeizhiGao/Serialized-Randomized-Smoothing.\n", "date": "2024-11-01", "categories": []} {"id": "2411.02094", "title": "Alignment-Based Adversarial Training (ABAT) for Improving the Robustness\n and Accuracy of EEG-Based BCIs", "abstract": " Machine learning has achieved great success in electroencephalogram (EEG)\nbased brain-computer interfaces (BCIs). Most existing BCI studies focused on\nimproving the decoding accuracy, with only a few considering the adversarial\nsecurity. Although many adversarial defense approaches have been proposed in\nother application domains such as computer vision, previous research showed\nthat their direct extensions to BCIs degrade the classification accuracy on\nbenign samples. This phenomenon greatly affects the applicability of\nadversarial defense approaches to EEG-based BCIs. To mitigate this problem, we\npropose alignment-based adversarial training (ABAT), which performs EEG data\nalignment before adversarial training. Data alignment aligns EEG trials from\ndifferent domains to reduce their distribution discrepancies, and adversarial\ntraining further robustifies the classification boundary. The integration of\ndata alignment and adversarial training can make the trained EEG classifiers\nsimultaneously more accurate and more robust. Experiments on five EEG datasets\nfrom two different BCI paradigms (motor imagery classification, and event\nrelated potential recognition), three convolutional neural network classifiers\n(EEGNet, ShallowCNN and DeepCNN) and three different experimental settings\n(offline within-subject cross-block/-session classification, online\ncross-session classification, and pre-trained classifiers) demonstrated its\neffectiveness. It is very intriguing that adversarial attacks, which are\nusually used to damage BCI systems, can be used in ABAT to simultaneously\nimprove the model accuracy and robustness.\n", "date": "2024-11-04", "categories": []} {"id": "2402.13629", "title": "Adversarial Purification and Fine-tuning for Robust UDC Image\n Restoration", "abstract": " This study delves into the enhancement of Under-Display Camera (UDC) image\nrestoration models, focusing on their robustness against adversarial attacks.\nDespite its innovative approach to seamless display integration, UDC technology\nfaces unique image degradation challenges exacerbated by the susceptibility to\nadversarial perturbations. Our research initially conducts an in-depth\nrobustness evaluation of deep-learning-based UDC image restoration models by\nemploying several white-box and black-box attacking methods. This evaluation is\npivotal in understanding the vulnerabilities of current UDC image restoration\ntechniques. Following the assessment, we introduce a defense framework\nintegrating adversarial purification with subsequent fine-tuning processes.\nFirst, our approach employs diffusion-based adversarial purification,\neffectively neutralizing adversarial perturbations. Then, we apply the\nfine-tuning methodologies to refine the image restoration models further,\nensuring that the quality and fidelity of the restored images are maintained.\nThe effectiveness of our proposed approach is validated through extensive\nexperiments, showing marked improvements in resilience against typical\nadversarial attacks.\n", "date": "2024-02-21", "categories": []} {"id": "2405.15589", "title": "Efficient Adversarial Training in LLMs with Continuous Attacks", "abstract": " Large language models (LLMs) are vulnerable to adversarial attacks that can\nbypass their safety guardrails. In many domains, adversarial training has\nproven to be one of the most promising methods to reliably improve robustness\nagainst such attacks. Yet, in the context of LLMs, current methods for\nadversarial training are hindered by the high computational costs required to\nperform discrete adversarial attacks at each training iteration. We address\nthis problem by instead calculating adversarial attacks in the continuous\nembedding space of the LLM, which is orders of magnitudes more efficient. We\npropose a fast adversarial training algorithm (C-AdvUL) composed of two losses:\nthe first makes the model robust on continuous embedding attacks computed on an\nadversarial behaviour dataset; the second ensures the usefulness of the final\nmodel by fine-tuning on utility data. Moreover, we introduce C-AdvIPO, an\nadversarial variant of IPO that does not require utility data for adversarially\nrobust alignment. Our empirical evaluation on five models from different\nfamilies (Gemma, Phi3, Mistral, Zephyr, Llama2) and at different scales (2B,\n3.8B, 7B) shows that both algorithms substantially enhance LLM robustness\nagainst discrete attacks (GCG, AutoDAN, PAIR), while maintaining utility. Our\nresults demonstrate that robustness to continuous perturbations can extrapolate\nto discrete threat models. Thereby, we present a path toward scalable\nadversarial training algorithms for robustly aligning LLMs.\n", "date": "2024-05-24", "categories": []} {"id": "2405.20778", "title": "Improved Generation of Adversarial Examples Against Safety-aligned LLMs", "abstract": " Adversarial prompts generated using gradient-based methods exhibit\noutstanding performance in performing automatic jailbreak attacks against\nsafety-aligned LLMs. Nevertheless, due to the discrete nature of texts, the\ninput gradient of LLMs struggles to precisely reflect the magnitude of loss\nchange that results from token replacements in the prompt, leading to limited\nattack success rates against safety-aligned LLMs, even in the white-box\nsetting. In this paper, we explore a new perspective on this problem,\nsuggesting that it can be alleviated by leveraging innovations inspired in\ntransfer-based attacks that were originally proposed for attacking black-box\nimage classification models. For the first time, we appropriate the ideologies\nof effective methods among these transfer-based attacks, i.e., Skip Gradient\nMethod and Intermediate Level Attack, into gradient-based adversarial prompt\ngeneration and achieve significant performance gains without introducing\nobvious computational cost. Meanwhile, by discussing mechanisms behind the\ngains, new insights are drawn, and proper combinations of these methods are\nalso developed. Our empirical results show that 87% of the query-specific\nadversarial suffixes generated by the developed combination can induce\nLlama-2-7B-Chat to produce the output that exactly matches the target string on\nAdvBench. This match rate is 33% higher than that of a very strong baseline\nknown as GCG, demonstrating advanced discrete optimization for adversarial\nprompt generation against LLMs. In addition, without introducing obvious cost,\nthe combination achieves >30% absolute increase in attack success rates\ncompared with GCG when generating both query-specific (38% -> 68%) and\nuniversal adversarial prompts (26.68% -> 60.32%) for attacking the\nLlama-2-7B-Chat model on AdvBench. Code at:\nhttps://github.com/qizhangli/Gradient-based-Jailbreak-Attacks.\n", "date": "2024-05-28", "categories": []} {"id": "2406.18451", "title": "Detecting Brittle Decisions for Free: Leveraging Margin Consistency in\n Deep Robust Classifiers", "abstract": " Despite extensive research on adversarial training strategies to improve\nrobustness, the decisions of even the most robust deep learning models can\nstill be quite sensitive to imperceptible perturbations, creating serious risks\nwhen deploying them for high-stakes real-world applications. While detecting\nsuch cases may be critical, evaluating a model's vulnerability at a\nper-instance level using adversarial attacks is computationally too intensive\nand unsuitable for real-time deployment scenarios. The input space margin is\nthe exact score to detect non-robust samples and is intractable for deep neural\nnetworks. This paper introduces the concept of margin consistency -- a property\nthat links the input space margins and the logit margins in robust models --\nfor efficient detection of vulnerable samples. First, we establish that margin\nconsistency is a necessary and sufficient condition to use a model's logit\nmargin as a score for identifying non-robust samples. Next, through\ncomprehensive empirical analysis of various robustly trained models on CIFAR10\nand CIFAR100 datasets, we show that they indicate high margin consistency with\na strong correlation between their input space margins and the logit margins.\nThen, we show that we can effectively and confidently use the logit margin to\ndetect brittle decisions with such models. Finally, we address cases where the\nmodel is not sufficiently margin-consistent by learning a pseudo-margin from\nthe feature representation. Our findings highlight the potential of leveraging\ndeep representations to assess adversarial vulnerability in deployment\nscenarios efficiently.\n", "date": "2024-06-26", "categories": []} {"id": "2407.18414", "title": "Adversarially Robust Decision Transformer", "abstract": " Decision Transformer (DT), as one of the representative Reinforcement\nLearning via Supervised Learning (RvS) methods, has achieved strong performance\nin offline learning tasks by leveraging the powerful Transformer architecture\nfor sequential decision-making. However, in adversarial environments, these\nmethods can be non-robust, since the return is dependent on the strategies of\nboth the decision-maker and adversary. Training a probabilistic model\nconditioned on observed return to predict action can fail to generalize, as the\ntrajectories that achieve a return in the dataset might have done so due to a\nsuboptimal behavior adversary. To address this, we propose a worst-case-aware\nRvS algorithm, the Adversarially Robust Decision Transformer (ARDT), which\nlearns and conditions the policy on in-sample minimax returns-to-go. ARDT\naligns the target return with the worst-case return learned through minimax\nexpectile regression, thereby enhancing robustness against powerful test-time\nadversaries. In experiments conducted on sequential games with full data\ncoverage, ARDT can generate a maximin (Nash Equilibrium) strategy, the solution\nwith the largest adversarial robustness. In large-scale sequential games and\ncontinuous adversarial RL environments with partial data coverage, ARDT\ndemonstrates significantly superior robustness to powerful test-time\nadversaries and attains higher worst-case returns compared to contemporary DT\nmethods.\n", "date": "2024-07-25", "categories": []} {"id": "2411.00222", "title": "Protecting Feed-Forward Networks from Adversarial Attacks Using\n Predictive Coding", "abstract": " An adversarial example is a modified input image designed to cause a Machine\nLearning (ML) model to make a mistake; these perturbations are often invisible\nor subtle to human observers and highlight vulnerabilities in a model's ability\nto generalize from its training data. Several adversarial attacks can create\nsuch examples, each with a different perspective, effectiveness, and\nperceptibility of changes. Conversely, defending against such adversarial\nattacks improves the robustness of ML models in image processing and other\ndomains of deep learning. Most defence mechanisms require either a level of\nmodel awareness, changes to the model, or access to a comprehensive set of\nadversarial examples during training, which is impractical. Another option is\nto use an auxiliary model in a preprocessing manner without changing the\nprimary model. This study presents a practical and effective solution -- using\npredictive coding networks (PCnets) as an auxiliary step for adversarial\ndefence. By seamlessly integrating PCnets into feed-forward networks as a\npreprocessing step, we substantially bolster resilience to adversarial\nperturbations. Our experiments on MNIST and CIFAR10 demonstrate the remarkable\neffectiveness of PCnets in mitigating adversarial examples with about 82% and\n65% improvements in robustness, respectively. The PCnet, trained on a small\nsubset of the dataset, leverages its generative nature to effectively counter\nadversarial efforts, reverting perturbed images closer to their original forms.\nThis innovative approach holds promise for enhancing the security and\nreliability of neural network classifiers in the face of the escalating threat\nof adversarial attacks.\n", "date": "2024-10-31", "categories": []} {"id": "2306.01762", "title": "Rapid Plug-in Defenders", "abstract": " In the realm of daily services, the deployment of deep neural networks\nunderscores the paramount importance of their reliability. However, the\nvulnerability of these networks to adversarial attacks, primarily\nevasion-based, poses a concerning threat to their functionality. Common methods\nfor enhancing robustness involve heavy adversarial training or leveraging\nlearned knowledge from clean data, both necessitating substantial computational\nresources. This inherent time-intensive nature severely limits the agility of\nlarge foundational models to swiftly counter adversarial perturbations. To\naddress this challenge, this paper focuses on the Rapid Plug-in Defender\n(RaPiD) problem, aiming to rapidly counter adversarial perturbations without\naltering the deployed model. Drawing inspiration from the generalization and\nthe universal computation ability of pre-trained transformer models, we propose\na novel method termed CeTaD (Considering Pre-trained Transformers as Defenders)\nfor RaPiD, optimized for efficient computation. CeTaD strategically fine-tunes\nthe normalization layer parameters within the defender using a limited set of\nclean and adversarial examples. Our evaluation centers on assessing CeTaD's\neffectiveness, transferability, and the impact of different components in\nscenarios involving one-shot adversarial examples. The proposed method is\ncapable of rapidly adapting to various attacks and different application\nscenarios without altering the target model and clean training data. We also\nexplore the influence of varying training data conditions on CeTaD's\nperformance. Notably, CeTaD exhibits adaptability across differentiable service\nmodels and proves the potential of continuous learning.\n", "date": "2023-05-27", "categories": []} {"id": "2312.05508", "title": "Improving Adversarial Robust Fairness via Anti-Bias Soft Label\n Distillation", "abstract": " Adversarial Training (AT) has been widely proved to be an effective method to\nimprove the adversarial robustness against adversarial examples for Deep Neural\nNetworks (DNNs). As a variant of AT, Adversarial Robustness Distillation (ARD)\nhas demonstrated its superior performance in improving the robustness of small\nstudent models with the guidance of large teacher models. However, both AT and\nARD encounter the robust fairness problem: these models exhibit strong\nrobustness when facing part of classes (easy class), but weak robustness when\nfacing others (hard class). In this paper, we give an in-depth analysis of the\npotential factors and argue that the smoothness degree of samples' soft labels\nfor different classes (i.e., hard class or easy class) will affect the robust\nfairness of DNNs from both empirical observation and theoretical analysis.\nBased on the above finding, we propose an Anti-Bias Soft Label Distillation\n(ABSLD) method to mitigate the adversarial robust fairness problem within the\nframework of Knowledge Distillation (KD). Specifically, ABSLD adaptively\nreduces the student's error risk gap between different classes to achieve\nfairness by adjusting the class-wise smoothness degree of samples' soft labels\nduring the training process, and the smoothness degree of soft labels is\ncontrolled by assigning different temperatures in KD to different classes.\nExtensive experiments demonstrate that ABSLD outperforms state-of-the-art AT,\nARD, and robust fairness methods in the comprehensive metric (Normalized\nStandard Deviation) of robustness and fairness.\n", "date": "2023-12-09", "categories": []} {"id": "2404.15154", "title": "Do not think about pink elephant!", "abstract": " Large Models (LMs) have heightened expectations for the potential of general\nAI as they are akin to human intelligence. This paper shows that recent large\nmodels such as Stable Diffusion and DALL-E3 also share the vulnerability of\nhuman intelligence, namely the \"white bear phenomenon\". We investigate the\ncauses of the white bear phenomenon by analyzing their representation space.\nBased on this analysis, we propose a simple prompt-based attack method, which\ngenerates figures prohibited by the LM provider's policy. To counter these\nattacks, we introduce prompt-based defense strategies inspired by cognitive\ntherapy techniques, successfully mitigating attacks by up to 48.22\\%.\n", "date": "2024-04-22", "categories": []} {"id": "2410.23382", "title": "Estimating Neural Network Robustness via Lipschitz Constant and\n Architecture Sensitivity", "abstract": " Ensuring neural network robustness is essential for the safe and reliable\noperation of robotic learning systems, especially in perception and\ndecision-making tasks within real-world environments. This paper investigates\nthe robustness of neural networks in perception systems, specifically examining\ntheir sensitivity to targeted, small-scale perturbations. We identify the\nLipschitz constant as a key metric for quantifying and enhancing network\nrobustness. We derive an analytical expression to compute the Lipschitz\nconstant based on neural network architecture, providing a theoretical basis\nfor estimating and improving robustness. Several experiments reveal the\nrelationship between network design, the Lipschitz constant, and robustness,\noffering practical insights for developing safer, more robust robot learning\nsystems.\n", "date": "2024-10-30", "categories": []} {"id": "2410.23483", "title": "Keep on Swimming: Real Attackers Only Need Partial Knowledge of a\n Multi-Model System", "abstract": " Recent approaches in machine learning often solve a task using a composition\nof multiple models or agentic architectures. When targeting a composed system\nwith adversarial attacks, it might not be computationally or informationally\nfeasible to train an end-to-end proxy model or a proxy model for every\ncomponent of the system. We introduce a method to craft an adversarial attack\nagainst the overall multi-model system when we only have a proxy model for the\nfinal black-box model, and when the transformation applied by the initial\nmodels can make the adversarial perturbations ineffective. Current methods\nhandle this by applying many copies of the first model/transformation to an\ninput and then re-use a standard adversarial attack by averaging gradients, or\nlearning a proxy model for both stages. To our knowledge, this is the first\nattack specifically designed for this threat model and our method has a\nsubstantially higher attack success rate (80% vs 25%) and contains 9.4% smaller\nperturbations (MSE) compared to prior state-of-the-art methods. Our experiments\nfocus on a supervised image pipeline, but we are confident the attack will\ngeneralize to other multi-model settings [e.g. a mix of open/closed source\nfoundation models], or agentic systems\n", "date": "2024-10-30", "categories": []} {"id": "2410.23870", "title": "Noise as a Double-Edged Sword: Reinforcement Learning Exploits\n Randomized Defenses in Neural Networks", "abstract": " This study investigates a counterintuitive phenomenon in adversarial machine\nlearning: the potential for noise-based defenses to inadvertently aid evasion\nattacks in certain scenarios. While randomness is often employed as a defensive\nstrategy against adversarial examples, our research reveals that this approach\ncan sometimes backfire, particularly when facing adaptive attackers using\nreinforcement learning (RL). Our findings show that in specific cases,\nespecially with visually noisy classes, the introduction of noise in the\nclassifier's confidence values can be exploited by the RL attacker, leading to\na significant increase in evasion success rates. In some instances, the\nnoise-based defense scenario outperformed other strategies by up to 20\\% on a\nsubset of classes. However, this effect was not consistent across all\nclassifiers tested, highlighting the complexity of the interaction between\nnoise-based defenses and different models. These results suggest that in some\ncases, noise-based defenses can inadvertently create an adversarial training\nloop beneficial to the RL attacker. Our study emphasizes the need for a more\nnuanced approach to defensive strategies in adversarial machine learning,\nparticularly in safety-critical applications. It challenges the assumption that\nrandomness universally enhances defense against evasion attacks and highlights\nthe importance of considering adaptive, RL-based attackers when designing\nrobust defense mechanisms.\n", "date": "2024-10-31", "categories": []} {"id": "2403.01446", "title": "GuardT2I: Defending Text-to-Image Models from Adversarial Prompts", "abstract": " Recent advancements in Text-to-Image (T2I) models have raised significant\nsafety concerns about their potential misuse for generating inappropriate or\nNot-Safe-For-Work (NSFW) contents, despite existing countermeasures such as\nNSFW classifiers or model fine-tuning for inappropriate concept removal.\nAddressing this challenge, our study unveils GuardT2I, a novel moderation\nframework that adopts a generative approach to enhance T2I models' robustness\nagainst adversarial prompts. Instead of making a binary classification,\nGuardT2I utilizes a Large Language Model (LLM) to conditionally transform text\nguidance embeddings within the T2I models into natural language for effective\nadversarial prompt detection, without compromising the models' inherent\nperformance. Our extensive experiments reveal that GuardT2I outperforms leading\ncommercial solutions like OpenAI-Moderation and Microsoft Azure Moderator by a\nsignificant margin across diverse adversarial scenarios. Our framework is\navailable at https://github.com/cure-lab/GuardT2I.\n", "date": "2024-03-03", "categories": []} {"id": "2410.21802", "title": "Text-Guided Attention is All You Need for Zero-Shot Robustness in\n Vision-Language Models", "abstract": " Due to the impressive zero-shot capabilities, pre-trained vision-language\nmodels (e.g. CLIP), have attracted widespread attention and adoption across\nvarious domains. Nonetheless, CLIP has been observed to be susceptible to\nadversarial examples. Through experimental analysis, we have observed a\nphenomenon wherein adversarial perturbations induce shifts in text-guided\nattention. Building upon this observation, we propose a simple yet effective\nstrategy: Text-Guided Attention for Zero-Shot Robustness (TGA-ZSR). This\nframework incorporates two components: the Attention Refinement module and the\nAttention-based Model Constraint module. Our goal is to maintain the\ngeneralization of the CLIP model and enhance its adversarial robustness: The\nAttention Refinement module aligns the text-guided attention obtained from the\ntarget model via adversarial examples with the text-guided attention acquired\nfrom the original model via clean examples. This alignment enhances the model's\nrobustness. Additionally, the Attention-based Model Constraint module acquires\ntext-guided attention from both the target and original models using clean\nexamples. Its objective is to maintain model performance on clean samples while\nenhancing overall robustness. The experiments validate that our method yields a\n9.58% enhancement in zero-shot robust accuracy over the current\nstate-of-the-art techniques across 16 datasets. Our code is available at\nhttps://github.com/zhyblue424/TGA-ZSR.\n", "date": "2024-10-29", "categories": []} {"id": "2410.23182", "title": "ProTransformer: Robustify Transformers via Plug-and-Play Paradigm", "abstract": " Transformer-based architectures have dominated various areas of machine\nlearning in recent years. In this paper, we introduce a novel robust attention\nmechanism designed to enhance the resilience of transformer-based\narchitectures. Crucially, this technique can be integrated into existing\ntransformers as a plug-and-play layer, improving their robustness without the\nneed for additional training or fine-tuning. Through comprehensive experiments\nand ablation studies, we demonstrate that our ProTransformer significantly\nenhances the robustness of transformer models across a variety of prediction\ntasks, attack mechanisms, backbone architectures, and data domains. Notably,\nwithout further fine-tuning, the ProTransformer consistently improves the\nperformance of vanilla transformers by 19.5%, 28.3%, 16.1%, and 11.4% for BERT,\nALBERT, DistilBERT, and RoBERTa, respectively, under the classical TextFooler\nattack. Furthermore, ProTransformer shows promising resilience in large\nlanguage models (LLMs) against prompting-based attacks, improving the\nperformance of T5 and LLaMA by 24.8% and 17.8%, respectively, and enhancing\nVicuna by an average of 10.4% against the Jailbreaking attack. Beyond the\nlanguage domain, ProTransformer also demonstrates outstanding robustness in\nboth vision and graph domains.\n", "date": "2024-10-30", "categories": []} {"id": "2410.21791", "title": "Enhancing Adversarial Attacks through Chain of Thought", "abstract": " Large language models (LLMs) have demonstrated impressive performance across\nvarious domains but remain susceptible to safety concerns. Prior research\nindicates that gradient-based adversarial attacks are particularly effective\nagainst aligned LLMs and the chain of thought (CoT) prompting can elicit\ndesired answers through step-by-step reasoning. This paper proposes enhancing\nthe robustness of adversarial attacks on aligned LLMs by integrating CoT\nprompts with the greedy coordinate gradient (GCG) technique. Using CoT triggers\ninstead of affirmative targets stimulates the reasoning abilities of backend\nLLMs, thereby improving the transferability and universality of adversarial\nattacks. We conducted an ablation study comparing our CoT-GCG approach with\nAmazon Web Services auto-cot. Results revealed our approach outperformed both\nthe baseline GCG attack and CoT prompting. Additionally, we used Llama Guard to\nevaluate potentially harmful interactions, providing a more objective risk\nassessment of entire conversations compared to matching outputs to rejection\nphrases. The code of this paper is available at\nhttps://github.com/sujingbo0217/CS222W24-LLM-Attack.\n", "date": "2024-10-29", "categories": []} {"id": "2410.22143", "title": "AmpleGCG-Plus: A Strong Generative Model of Adversarial Suffixes to\n Jailbreak LLMs with Higher Success Rates in Fewer Attempts", "abstract": " Although large language models (LLMs) are typically aligned, they remain\nvulnerable to jailbreaking through either carefully crafted prompts in natural\nlanguage or, interestingly, gibberish adversarial suffixes. However, gibberish\ntokens have received relatively less attention despite their success in\nattacking aligned LLMs. Recent work, AmpleGCG~\\citep{liao2024amplegcg},\ndemonstrates that a generative model can quickly produce numerous customizable\ngibberish adversarial suffixes for any harmful query, exposing a range of\nalignment gaps in out-of-distribution (OOD) language spaces. To bring more\nattention to this area, we introduce AmpleGCG-Plus, an enhanced version that\nachieves better performance in fewer attempts. Through a series of exploratory\nexperiments, we identify several training strategies to improve the learning of\ngibberish suffixes. Our results, verified under a strict evaluation setting,\nshow that it outperforms AmpleGCG on both open-weight and closed-source models,\nachieving increases in attack success rate (ASR) of up to 17\\% in the white-box\nsetting against Llama-2-7B-chat, and more than tripling ASR in the black-box\nsetting against GPT-4. Notably, AmpleGCG-Plus jailbreaks the newer GPT-4o\nseries of models at similar rates to GPT-4, and, uncovers vulnerabilities\nagainst the recently proposed circuit breakers defense. We publicly release\nAmpleGCG-Plus along with our collected training datasets.\n", "date": "2024-10-29", "categories": []} {"id": "2208.03923", "title": "Adversarial robustness of VAEs through the lens of local geometry", "abstract": " In an unsupervised attack on variational autoencoders (VAEs), an adversary\nfinds a small perturbation in an input sample that significantly changes its\nlatent space encoding, thereby compromising the reconstruction for a fixed\ndecoder. A known reason for such vulnerability is the distortions in the latent\nspace resulting from a mismatch between approximated latent posterior and a\nprior distribution. Consequently, a slight change in an input sample can move\nits encoding to a low/zero density region in the latent space resulting in an\nunconstrained generation. This paper demonstrates that an optimal way for an\nadversary to attack VAEs is to exploit a directional bias of a stochastic\npullback metric tensor induced by the encoder and decoder networks. The\npullback metric tensor of an encoder measures the change in infinitesimal\nlatent volume from an input to a latent space. Thus, it can be viewed as a lens\nto analyse the effect of input perturbations leading to latent space\ndistortions. We propose robustness evaluation scores using the eigenspectrum of\na pullback metric tensor. Moreover, we empirically show that the scores\ncorrelate with the robustness parameter $\\beta$ of the $\\beta-$VAE. Since\nincreasing $\\beta$ also degrades reconstruction quality, we demonstrate a\nsimple alternative using \\textit{mixup} training to fill the empty regions in\nthe latent space, thus improving robustness with improved reconstruction.\n", "date": "2022-08-08", "categories": []} {"id": "2304.09875", "title": "GREAT Score: Global Robustness Evaluation of Adversarial Perturbation\n using Generative Models", "abstract": " Current studies on adversarial robustness mainly focus on aggregating local\nrobustness results from a set of data samples to evaluate and rank different\nmodels. However, the local statistics may not well represent the true global\nrobustness of the underlying unknown data distribution. To address this\nchallenge, this paper makes the first attempt to present a new framework,\ncalled GREAT Score , for global robustness evaluation of adversarial\nperturbation using generative models. Formally, GREAT Score carries the\nphysical meaning of a global statistic capturing a mean certified attack-proof\nperturbation level over all samples drawn from a generative model. For\nfinite-sample evaluation, we also derive a probabilistic guarantee on the\nsample complexity and the difference between the sample mean and the true mean.\nGREAT Score has several advantages: (1) Robustness evaluations using GREAT\nScore are efficient and scalable to large models, by sparing the need of\nrunning adversarial attacks. In particular, we show high correlation and\nsignificantly reduced computation cost of GREAT Score when compared to the\nattack-based model ranking on RobustBench (Croce,et. al. 2021). (2) The use of\ngenerative models facilitates the approximation of the unknown data\ndistribution. In our ablation study with different generative adversarial\nnetworks (GANs), we observe consistency between global robustness evaluation\nand the quality of GANs. (3) GREAT Score can be used for remote auditing of\nprivacy-sensitive black-box models, as demonstrated by our robustness\nevaluation on several online facial recognition services.\n", "date": "2023-04-19", "categories": []} {"id": "2305.13948", "title": "Decoupled Kullback-Leibler Divergence Loss", "abstract": " In this paper, we delve deeper into the Kullback-Leibler (KL) Divergence loss\nand mathematically prove that it is equivalent to the Decoupled\nKullback-Leibler (DKL) Divergence loss that consists of 1) a weighted Mean\nSquare Error (wMSE) loss and 2) a Cross-Entropy loss incorporating soft labels.\nThanks to the decomposed formulation of DKL loss, we have identified two areas\nfor improvement. Firstly, we address the limitation of KL/DKL in scenarios like\nknowledge distillation by breaking its asymmetric optimization property. This\nmodification ensures that the $\\mathbf{w}$MSE component is always effective\nduring training, providing extra constructive cues. Secondly, we introduce\nclass-wise global information into KL/DKL to mitigate bias from individual\nsamples. With these two enhancements, we derive the Improved Kullback-Leibler\n(IKL) Divergence loss and evaluate its effectiveness by conducting experiments\non CIFAR-10/100 and ImageNet datasets, focusing on adversarial training, and\nknowledge distillation tasks. The proposed approach achieves new\nstate-of-the-art adversarial robustness on the public leaderboard --\nRobustBench and competitive performance on knowledge distillation,\ndemonstrating the substantial practical merits. Our code is available at\nhttps://github.com/jiequancui/DKL.\n", "date": "2023-05-23", "categories": []} {"id": "2410.20019", "title": "Attacks against Abstractive Text Summarization Models through Lead Bias\n and Influence Functions", "abstract": " Large Language Models have introduced novel opportunities for text\ncomprehension and generation. Yet, they are vulnerable to adversarial\nperturbations and data poisoning attacks, particularly in tasks like text\nclassification and translation. However, the adversarial robustness of\nabstractive text summarization models remains less explored. In this work, we\nunveil a novel approach by exploiting the inherent lead bias in summarization\nmodels, to perform adversarial perturbations. Furthermore, we introduce an\ninnovative application of influence functions, to execute data poisoning, which\ncompromises the model's integrity. This approach not only shows a skew in the\nmodels behavior to produce desired outcomes but also shows a new behavioral\nchange, where models under attack tend to generate extractive summaries rather\nthan abstractive summaries.\n", "date": "2024-10-26", "categories": []} {"id": "2410.20097", "title": "Generative Adversarial Patches for Physical Attacks on Cross-Modal\n Pedestrian Re-Identification", "abstract": " Visible-infrared pedestrian Re-identification (VI-ReID) aims to match\npedestrian images captured by infrared cameras and visible cameras. However,\nVI-ReID, like other traditional cross-modal image matching tasks, poses\nsignificant challenges due to its human-centered nature. This is evidenced by\nthe shortcomings of existing methods, which struggle to extract common features\nacross modalities, while losing valuable information when bridging the gap\nbetween them in the implicit feature space, potentially compromising security.\nTo address this vulnerability, this paper introduces the first physical\nadversarial attack against VI-ReID models. Our method, termed Edge-Attack,\nspecifically tests the models' ability to leverage deep-level implicit features\nby focusing on edge information, the most salient explicit feature\ndifferentiating individuals across modalities. Edge-Attack utilizes a novel\ntwo-step approach. First, a multi-level edge feature extractor is trained in a\nself-supervised manner to capture discriminative edge representations for each\nindividual. Second, a generative model based on Vision Transformer Generative\nAdversarial Networks (ViTGAN) is employed to generate adversarial patches\nconditioned on the extracted edge features. By applying these patches to\npedestrian clothing, we create realistic, physically-realizable adversarial\nsamples. This black-box, self-supervised approach ensures the generalizability\nof our attack against various VI-ReID models. Extensive experiments on\nSYSU-MM01 and RegDB datasets, including real-world deployments, demonstrate the\neffectiveness of Edge- Attack in significantly degrading the performance of\nstate-of-the-art VI-ReID methods.\n", "date": "2024-10-26", "categories": []} {"id": "2410.20284", "title": "Classification under strategic adversary manipulation using pessimistic\n bilevel optimisation", "abstract": " Adversarial machine learning concerns situations in which learners face\nattacks from active adversaries. Such scenarios arise in applications such as\nspam email filtering, malware detection and fake-image generation, where\nsecurity methods must be actively updated to keep up with the ever improving\ngeneration of malicious data.We model these interactions between the learner\nand the adversary as a game and formulate the problem as a pessimistic bilevel\noptimisation problem with the learner taking the role of the leader. The\nadversary, modelled as a stochastic data generator, takes the role of the\nfollower, generating data in response to the classifier. While existing models\nrely on the assumption that the adversary will choose the least costly solution\nleading to a convex lower-level problem with a unique solution, we present a\nnovel model and solution method which do not make such assumptions. We compare\nthese to the existing approach and see significant improvements in performance\nsuggesting that relaxing these assumptions leads to a more realistic model.\n", "date": "2024-10-26", "categories": []} {"id": "2410.20432", "title": "Integrating uncertainty quantification into randomized smoothing based\n robustness guarantees", "abstract": " Deep neural networks have proven to be extremely powerful, however, they are\nalso vulnerable to adversarial attacks which can cause hazardous incorrect\npredictions in safety-critical applications. Certified robustness via\nrandomized smoothing gives a probabilistic guarantee that the smoothed\nclassifier's predictions will not change within an $\\ell_2$-ball around a given\ninput. On the other hand (uncertainty) score-based rejection is a technique\noften applied in practice to defend models against adversarial attacks. In this\nwork, we fuse these two approaches by integrating a classifier that abstains\nfrom predicting when uncertainty is high into the certified robustness\nframework. This allows us to derive two novel robustness guarantees for\nuncertainty aware classifiers, namely (i) the radius of an $\\ell_2$-ball around\nthe input in which the same label is predicted and uncertainty remains low and\n(ii) the $\\ell_2$-radius of a ball in which the predictions will either not\nchange or be uncertain. While the former provides robustness guarantees with\nrespect to attacks aiming at increased uncertainty, the latter informs about\nthe amount of input perturbation necessary to lead the uncertainty aware model\ninto a wrong prediction. Notably, this is on CIFAR10 up to 20.93% larger than\nfor models not allowing for uncertainty based rejection. We demonstrate, that\nthe novel framework allows for a systematic robustness evaluation of different\nnetwork architectures and uncertainty measures and to identify desired\nproperties of uncertainty quantification techniques. Moreover, we show that\nleveraging uncertainty in a smoothed classifier helps out-of-distribution\ndetection.\n", "date": "2024-10-27", "categories": []} {"id": "2303.12249", "title": "State-of-the-art optical-based physical adversarial attacks for deep\n learning computer vision systems", "abstract": " Adversarial attacks can mislead deep learning models to make false\npredictions by implanting small perturbations to the original input that are\nimperceptible to the human eye, which poses a huge security threat to the\ncomputer vision systems based on deep learning. Physical adversarial attacks,\nwhich is more realistic, as the perturbation is introduced to the input before\nit is being captured and converted to a binary image inside the vision system,\nwhen compared to digital adversarial attacks. In this paper, we focus on\nphysical adversarial attacks and further classify them into invasive and\nnon-invasive. Optical-based physical adversarial attack techniques (e.g. using\nlight irradiation) belong to the non-invasive category. As the perturbations\ncan be easily ignored by humans as the perturbations are very similar to the\neffects generated by a natural environment in the real world. They are highly\ninvisibility and executable and can pose a significant or even lethal threats\nto real systems. This paper focuses on optical-based physical adversarial\nattack techniques for computer vision systems, with emphasis on the\nintroduction and discussion of optical-based physical adversarial attack\ntechniques.\n", "date": "2023-03-22", "categories": []} {"id": "2312.17431", "title": "MVPatch: More Vivid Patch for Adversarial Camouflaged Attacks on Object\n Detectors in the Physical World", "abstract": " Recent studies have shown that Adversarial Patches (APs) can effectively\nmanipulate object detection models. However, the conspicuous patterns often\nassociated with these patches tend to attract human attention, posing a\nsignificant challenge. Existing research has primarily focused on enhancing\nattack efficacy in the physical domain while often neglecting the optimization\nof stealthiness and transferability. Furthermore, applying APs in real-world\nscenarios faces major challenges related to transferability, stealthiness, and\npracticality. To address these challenges, we introduce generalization theory\ninto the context of APs, enabling our iterative process to simultaneously\nenhance transferability and refine visual correlation with realistic images. We\npropose a Dual-Perception-Based Framework (DPBF) to generate the More Vivid\nPatch (MVPatch), which enhances transferability, stealthiness, and\npracticality. The DPBF integrates two key components: the\nModel-Perception-Based Module (MPBM) and the Human-Perception-Based Module\n(HPBM), along with regularization terms. The MPBM employs ensemble strategy to\nreduce object confidence scores across multiple detectors, thereby improving AP\ntransferability with robust theoretical support. Concurrently, the HPBM\nintroduces a lightweight method for achieving visual similarity, creating\nnatural and inconspicuous adversarial patches without relying on additional\ngenerative models. The regularization terms further enhance the practicality of\nthe generated APs in the physical domain. Additionally, we introduce\nnaturalness and transferability scores to provide an unbiased assessment of\nAPs. Extensive experimental validation demonstrates that MVPatch achieves\nsuperior transferability and a natural appearance in both digital and physical\ndomains, underscoring its effectiveness and stealthiness.\n", "date": "2023-12-29", "categories": []} {"id": "2409.13770", "title": "A constrained optimization approach to improve robustness of neural\n networks", "abstract": " In this paper, we present a novel nonlinear programming-based approach to\nfine-tune pre-trained neural networks to improve robustness against adversarial\nattacks while maintaining high accuracy on clean data. Our method introduces\nadversary-correction constraints to ensure correct classification of\nadversarial data and minimizes changes to the model parameters. We propose an\nefficient cutting-plane-based algorithm to iteratively solve the large-scale\nnonconvex optimization problem by approximating the feasible region through\npolyhedral cuts and balancing between robustness and accuracy. Computational\nexperiments on standard datasets such as MNIST and CIFAR10 demonstrate that the\nproposed approach significantly improves robustness, even with a very small set\nof adversarial data, while maintaining minimal impact on accuracy.\n", "date": "2024-09-18", "categories": []} {"id": "2410.19160", "title": "Adversarial Attacks on Large Language Models Using Regularized\n Relaxation", "abstract": " As powerful Large Language Models (LLMs) are now widely used for numerous\npractical applications, their safety is of critical importance. While alignment\ntechniques have significantly improved overall safety, LLMs remain vulnerable\nto carefully crafted adversarial inputs. Consequently, adversarial attack\nmethods are extensively used to study and understand these vulnerabilities.\nHowever, current attack methods face significant limitations. Those relying on\noptimizing discrete tokens suffer from limited efficiency, while continuous\noptimization techniques fail to generate valid tokens from the model's\nvocabulary, rendering them impractical for real-world applications. In this\npaper, we propose a novel technique for adversarial attacks that overcomes\nthese limitations by leveraging regularized gradients with continuous\noptimization methods. Our approach is two orders of magnitude faster than the\nstate-of-the-art greedy coordinate gradient-based method, significantly\nimproving the attack success rate on aligned language models. Moreover, it\ngenerates valid tokens, addressing a fundamental limitation of existing\ncontinuous optimization methods. We demonstrate the effectiveness of our attack\non five state-of-the-art LLMs using four datasets.\n", "date": "2024-10-24", "categories": []} {"id": "2312.12608", "title": "Rethinking Randomized Smoothing from the Perspective of Scalability", "abstract": " Machine learning models have demonstrated remarkable success across diverse\ndomains but remain vulnerable to adversarial attacks. Empirical defense\nmechanisms often fail, as new attacks constantly emerge, rendering existing\ndefenses obsolete, shifting the focus to certification-based defenses.\nRandomized smoothing has emerged as a promising technique among notable\nadvancements. This study reviews the theoretical foundations and empirical\neffectiveness of randomized smoothing and its derivatives in verifying machine\nlearning classifiers from a perspective of scalability. We provide an in-depth\nexploration of the fundamental concepts underlying randomized smoothing,\nhighlighting its theoretical guarantees in certifying robustness against\nadversarial perturbations and discuss the challenges of existing methodologies.\n", "date": "2023-12-19", "categories": []} {"id": "2410.18556", "title": "Complexity Matters: Effective Dimensionality as a Measure for\n Adversarial Robustness", "abstract": " Quantifying robustness in a single measure for the purposes of model\nselection, development of adversarial training methods, and anticipating trends\nhas so far been elusive. The simplest metric to consider is the number of\ntrainable parameters in a model but this has previously been shown to be\ninsufficient at explaining robustness properties. A variety of other metrics,\nsuch as ones based on boundary thickness and gradient flatness have been\nproposed but have been shown to be inadequate proxies for robustness.\n In this work, we investigate the relationship between a model's effective\ndimensionality, which can be thought of as model complexity, and its robustness\nproperties. We run experiments on commercial-scale models that are often used\nin real-world environments such as YOLO and ResNet. We reveal a near-linear\ninverse relationship between effective dimensionality and adversarial\nrobustness, that is models with a lower dimensionality exhibit better\nrobustness. We investigate the effect of a variety of adversarial training\nmethods on effective dimensionality and find the same inverse linear\nrelationship present, suggesting that effective dimensionality can serve as a\nuseful criterion for model selection and robustness evaluation, providing a\nmore nuanced and effective metric than parameter count or previously-tested\nmeasures.\n", "date": "2024-10-24", "categories": []} {"id": "2410.18648", "title": "GADT: Enhancing Transferable Adversarial Attacks through Gradient-guided\n Adversarial Data Transformation", "abstract": " Current Transferable Adversarial Examples (TAE) are primarily generated by\nadding Adversarial Noise (AN). Recent studies emphasize the importance of\noptimizing Data Augmentation (DA) parameters along with AN, which poses a\ngreater threat to real-world AI applications. However, existing DA-based\nstrategies often struggle to find optimal solutions due to the challenging DA\nsearch procedure without proper guidance. In this work, we propose a novel\nDA-based attack algorithm, GADT. GADT identifies suitable DA parameters through\niterative antagonism and uses posterior estimates to update AN based on these\nparameters. We uniquely employ a differentiable DA operation library to\nidentify adversarial DA parameters and introduce a new loss function as a\nmetric during DA optimization. This loss term enhances adversarial effects\nwhile preserving the original image content, maintaining attack crypticity.\nExtensive experiments on public datasets with various networks demonstrate that\nGADT can be integrated with existing transferable attack methods, updating\ntheir DA parameters effectively while retaining their AN formulation\nstrategies. Furthermore, GADT can be utilized in other black-box attack\nscenarios, e.g., query-based attacks, offering a new avenue to enhance attacks\non real-world AI applications in both research and industrial contexts.\n", "date": "2024-10-24", "categories": []} {"id": "2312.10132", "title": "Closing the Gap: Achieving Better Accuracy-Robustness Tradeoffs against\n Query-Based Attacks", "abstract": " Although promising, existing defenses against query-based attacks share a\ncommon limitation: they offer increased robustness against attacks at the price\nof a considerable accuracy drop on clean samples. In this work, we show how to\nefficiently establish, at test-time, a solid tradeoff between robustness and\naccuracy when mitigating query-based attacks. Given that these attacks\nnecessarily explore low-confidence regions, our insight is that activating\ndedicated defenses, such as random noise defense and random image\ntransformations, only for low-confidence inputs is sufficient to prevent them.\nOur approach is independent of training and supported by theory. We verify the\neffectiveness of our approach for various existing defenses by conducting\nextensive experiments on CIFAR-10, CIFAR-100, and ImageNet. Our results confirm\nthat our proposal can indeed enhance these defenses by providing better\ntradeoffs between robustness and accuracy when compared to state-of-the-art\napproaches while being completely training-free.\n", "date": "2023-12-15", "categories": []} {"id": "2312.11309", "title": "The Ultimate Combo: Boosting Adversarial Example Transferability by\n Composing Data Augmentations", "abstract": " To help adversarial examples generalize from surrogate machine-learning (ML)\nmodels to targets, certain transferability-based black-box evasion attacks\nincorporate data augmentations (e.g., random resizing). Yet, prior work has\nexplored limited augmentations and their composition. To fill the gap, we\nsystematically studied how data augmentation affects transferability.\nSpecifically, we explored 46 augmentation techniques originally proposed to\nhelp ML models generalize to unseen benign samples, and assessed how they\nimpact transferability, when applied individually or composed. Performing\nexhaustive search on a small subset of augmentation techniques and genetic\nsearch on all techniques, we identified augmentation combinations that help\npromote transferability. Extensive experiments with the ImageNet and CIFAR-10\ndatasets and 18 models showed that simple color-space augmentations (e.g.,\ncolor to greyscale) attain high transferability when combined with standard\naugmentations. Furthermore, we discovered that composing augmentations impacts\ntransferability mostly monotonically (i.e., more augmentations $\\rightarrow$\n$\\ge$transferability). We also found that the best composition significantly\noutperformed the state of the art (e.g., 91.8% vs. $\\le$82.5% average\ntransferability to adversarially trained targets on ImageNet). Lastly, our\ntheoretical analysis, backed by empirical evidence, intuitively explains why\ncertain augmentations promote transferability.\n", "date": "2023-12-18", "categories": []} {"id": "2403.14774", "title": "Few-Shot Adversarial Prompt Learning on Vision-Language Models", "abstract": " The vulnerability of deep neural networks to imperceptible adversarial\nperturbations has attracted widespread attention. Inspired by the success of\nvision-language foundation models, previous efforts achieved zero-shot\nadversarial robustness by aligning adversarial visual features with text\nsupervision. However, in practice, they are still unsatisfactory due to several\nissues, including heavy adaptation cost, suboptimal text supervision, and\nuncontrolled natural generalization capacity. In this paper, to address these\nissues, we propose a few-shot adversarial prompt framework where adapting input\nsequences with limited data makes significant adversarial robustness\nimprovement. Specifically, we achieve this by providing adversarially\ncorrelated text supervision that is end-to-end learned from adversarial\nexamples. We also propose a novel training objective that enhances the\nconsistency of multi-modal features while encourages differentiated uni-modal\nfeatures between natural and adversarial examples. The proposed framework gives\naccess to learn adversarial text supervision, which provides superior\ncross-modal adversarial alignment and matches state-of-the-art zero-shot\nadversarial robustness with only 1% training data. Code is available at:\nhttps://github.com/lionel-w2/FAP.\n", "date": "2024-03-21", "categories": []} {"id": "2404.00362", "title": "STBA: Towards Evaluating the Robustness of DNNs for Query-Limited\n Black-box Scenario", "abstract": " Many attack techniques have been proposed to explore the vulnerability of\nDNNs and further help to improve their robustness. Despite the significant\nprogress made recently, existing black-box attack methods still suffer from\nunsatisfactory performance due to the vast number of queries needed to optimize\ndesired perturbations. Besides, the other critical challenge is that\nadversarial examples built in a noise-adding manner are abnormal and struggle\nto successfully attack robust models, whose robustness is enhanced by\nadversarial training against small perturbations. There is no doubt that these\ntwo issues mentioned above will significantly increase the risk of exposure and\nresult in a failure to dig deeply into the vulnerability of DNNs. Hence, it is\nnecessary to evaluate DNNs' fragility sufficiently under query-limited settings\nin a non-additional way. In this paper, we propose the Spatial Transform\nBlack-box Attack (STBA), a novel framework to craft formidable adversarial\nexamples in the query-limited scenario. Specifically, STBA introduces a flow\nfield to the high-frequency part of clean images to generate adversarial\nexamples and adopts the following two processes to enhance their naturalness\nand significantly improve the query efficiency: a) we apply an estimated flow\nfield to the high-frequency part of clean images to generate adversarial\nexamples instead of introducing external noise to the benign image, and b) we\nleverage an efficient gradient estimation method based on a batch of samples to\noptimize such an ideal flow field under query-limited settings. Compared to\nexisting score-based black-box baselines, extensive experiments indicated that\nSTBA could effectively improve the imperceptibility of the adversarial examples\nand remarkably boost the attack success rate under query-limited settings.\n", "date": "2024-03-30", "categories": []} {"id": "2410.16317", "title": "A Survey on Physical Adversarial Attacks against Face Recognition\n Systems", "abstract": " As Face Recognition (FR) technology becomes increasingly prevalent in\nfinance, the military, public safety, and everyday life, security concerns have\ngrown substantially. Physical adversarial attacks targeting FR systems in\nreal-world settings have attracted considerable research interest due to their\npracticality and the severe threats they pose. However, a systematic overview\nfocused on physical adversarial attacks against FR systems is still lacking,\nhindering an in-depth exploration of the challenges and future directions in\nthis field. In this paper, we bridge this gap by comprehensively collecting and\nanalyzing physical adversarial attack methods targeting FR systems.\nSpecifically, we first investigate the key challenges of physical attacks on FR\nsystems. We then categorize existing physical attacks into three categories\nbased on the physical medium used and summarize how the research in each\ncategory has evolved to address these challenges. Furthermore, we review\ncurrent defense strategies and discuss potential future research directions.\nOur goal is to provide a fresh, comprehensive, and deep understanding of\nphysical adversarial attacks against FR systems, thereby inspiring relevant\nresearch in this area.\n", "date": "2024-10-10", "categories": []} {"id": "2410.16579", "title": "Conflict-Aware Adversarial Training", "abstract": " Adversarial training is the most effective method to obtain adversarial\nrobustness for deep neural networks by directly involving adversarial samples\nin the training procedure. To obtain an accurate and robust model, the\nweighted-average method is applied to optimize standard loss and adversarial\nloss simultaneously. In this paper, we argue that the weighted-average method\ndoes not provide the best tradeoff for the standard performance and adversarial\nrobustness. We argue that the failure of the weighted-average method is due to\nthe conflict between the gradients derived from standard and adversarial loss,\nand further demonstrate such a conflict increases with attack budget\ntheoretically and practically. To alleviate this problem, we propose a new\ntrade-off paradigm for adversarial training with a conflict-aware factor for\nthe convex combination of standard and adversarial loss, named\n\\textbf{Conflict-Aware Adversarial Training~(CA-AT)}. Comprehensive\nexperimental results show that CA-AT consistently offers a superior trade-off\nbetween standard performance and adversarial robustness under the settings of\nadversarial training from scratch and parameter-efficient finetuning.\n", "date": "2024-10-21", "categories": []} {"id": "2304.02847", "title": "Robustmix: Improving Robustness by Regularizing the Frequency Bias of\n Deep Nets", "abstract": " Deep networks have achieved impressive results on a range of well-curated\nbenchmark datasets. Surprisingly, their performance remains sensitive to\nperturbations that have little effect on human performance. In this work, we\npropose a novel extension of Mixup called Robustmix that regularizes networks\nto classify based on lower-frequency spatial features. We show that this type\nof regularization improves robustness on a range of benchmarks such as\nImagenet-C and Stylized Imagenet. It adds little computational overhead and,\nfurthermore, does not require a priori knowledge of a large set of image\ntransformations. We find that this approach further complements recent advances\nin model architecture and data augmentation, attaining a state-of-the-art mCE\nof 44.8 with an EfficientNet-B8 model and RandAugment, which is a reduction of\n16 mCE compared to the baseline.\n", "date": "2023-04-06", "categories": []} {"id": "2410.14911", "title": "A Hybrid Defense Strategy for Boosting Adversarial Robustness in\n Vision-Language Models", "abstract": " The robustness of Vision-Language Models (VLMs) such as CLIP is critical for\ntheir deployment in safety-critical applications like autonomous driving,\nhealthcare diagnostics, and security systems, where accurate interpretation of\nvisual and textual data is essential. However, these models are highly\nsusceptible to adversarial attacks, which can severely compromise their\nperformance and reliability in real-world scenarios. Previous methods have\nprimarily focused on improving robustness through adversarial training and\ngenerating adversarial examples using models like FGSM, AutoAttack, and\nDeepFool. However, these approaches often rely on strong assumptions, such as\nfixed perturbation norms or predefined attack patterns, and involve high\ncomputational complexity, making them challenging to implement in practical\nsettings. In this paper, we propose a novel adversarial training framework that\nintegrates multiple attack strategies and advanced machine learning techniques\nto significantly enhance the robustness of VLMs against a broad range of\nadversarial attacks. Experiments conducted on real-world datasets, including\nCIFAR-10 and CIFAR-100, demonstrate that the proposed method significantly\nenhances model robustness. The fine-tuned CLIP model achieved an accuracy of\n43.5% on adversarially perturbed images, compared to only 4% for the baseline\nmodel. The neural network model achieved a high accuracy of 98% in these\nchallenging classification tasks, while the XGBoost model reached a success\nrate of 85.26% in prediction tasks.\n", "date": "2024-10-18", "categories": []} {"id": "2410.15042", "title": "Adversarial Training: A Survey", "abstract": " Adversarial training (AT) refers to integrating adversarial examples --\ninputs altered with imperceptible perturbations that can significantly impact\nmodel predictions -- into the training process. Recent studies have\ndemonstrated the effectiveness of AT in improving the robustness of deep neural\nnetworks against diverse adversarial attacks. However, a comprehensive overview\nof these developments is still missing. This survey addresses this gap by\nreviewing a broad range of recent and representative studies. Specifically, we\nfirst describe the implementation procedures and practical applications of AT,\nfollowed by a comprehensive review of AT techniques from three perspectives:\ndata enhancement, network design, and training configurations. Lastly, we\ndiscuss common challenges in AT and propose several promising directions for\nfuture research.\n", "date": "2024-10-19", "categories": []} {"id": "2410.15409", "title": "PEAS: A Strategy for Crafting Transferable Adversarial Examples", "abstract": " Black box attacks, where adversaries have limited knowledge of the target\nmodel, pose a significant threat to machine learning systems. Adversarial\nexamples generated with a substitute model often suffer from limited\ntransferability to the target model. While recent work explores ranking\nperturbations for improved success rates, these methods see only modest gains.\nWe propose a novel strategy called PEAS that can boost the transferability of\nexisting black box attacks. PEAS leverages the insight that samples which are\nperceptually equivalent exhibit significant variability in their adversarial\ntransferability. Our approach first generates a set of images from an initial\nsample via subtle augmentations. We then evaluate the transferability of\nadversarial perturbations on these images using a set of substitute models.\nFinally, the most transferable adversarial example is selected and used for the\nattack. Our experiments show that PEAS can double the performance of existing\nattacks, achieving a 2.5x improvement in attack success rates on average over\ncurrent ranking methods. We thoroughly evaluate PEAS on ImageNet and CIFAR-10,\nanalyze hyperparameter impacts, and provide an ablation study to isolate each\ncomponent's importance.\n", "date": "2024-10-20", "categories": []} {"id": "2410.15889", "title": "Model Mimic Attack: Knowledge Distillation for Provably Transferable\n Adversarial Examples", "abstract": " The vulnerability of artificial neural networks to adversarial perturbations\nin the black-box setting is widely studied in the literature. The majority of\nattack methods to construct these perturbations suffer from an impractically\nlarge number of queries required to find an adversarial example. In this work,\nwe focus on knowledge distillation as an approach to conduct transfer-based\nblack-box adversarial attacks and propose an iterative training of the\nsurrogate model on an expanding dataset. This work is the first, to our\nknowledge, to provide provable guarantees on the success of knowledge\ndistillation-based attack on classification neural networks: we prove that if\nthe student model has enough learning capabilities, the attack on the teacher\nmodel is guaranteed to be found within the finite number of distillation\niterations.\n", "date": "2024-10-21", "categories": []} {"id": "2410.16073", "title": "On the Geometry of Regularization in Adversarial Training:\n High-Dimensional Asymptotics and Generalization Bounds", "abstract": " Regularization, whether explicit in terms of a penalty in the loss or\nimplicit in the choice of algorithm, is a cornerstone of modern machine\nlearning. Indeed, controlling the complexity of the model class is particularly\nimportant when data is scarce, noisy or contaminated, as it translates a\nstatistical belief on the underlying structure of the data. This work\ninvestigates the question of how to choose the regularization norm $\\lVert\n\\cdot \\rVert$ in the context of high-dimensional adversarial training for\nbinary classification. To this end, we first derive an exact asymptotic\ndescription of the robust, regularized empirical risk minimizer for various\ntypes of adversarial attacks and regularization norms (including non-$\\ell_p$\nnorms). We complement this analysis with a uniform convergence analysis,\nderiving bounds on the Rademacher Complexity for this class of problems.\nLeveraging our theoretical results, we quantitatively characterize the\nrelationship between perturbation size and the optimal choice of $\\lVert \\cdot\n\\rVert$, confirming the intuition that, in the data scarce regime, the type of\nregularization becomes increasingly important for adversarial training as\nperturbations grow in size.\n", "date": "2024-10-21", "categories": []} {"id": "2410.13193", "title": "Golyadkin's Torment: Doppelg\\\"angers and Adversarial Vulnerability", "abstract": " Many machine learning (ML) classifiers are claimed to outperform humans, but\nthey still make mistakes that humans do not. The most notorious examples of\nsuch mistakes are adversarial visual metamers. This paper aims to define and\ninvestigate the phenomenon of adversarial Doppelgangers (AD), which includes\nadversarial visual metamers, and to compare the performance and robustness of\nML classifiers to human performance.\n We find that AD are inputs that are close to each other with respect to a\nperceptual metric defined in this paper. AD are qualitatively different from\nthe usual adversarial examples. The vast majority of classifiers are vulnerable\nto AD and robustness-accuracy trade-offs may not improve them. Some\nclassification problems may not admit any AD robust classifiers because the\nunderlying classes are ambiguous. We provide criteria that can be used to\ndetermine whether a classification problem is well defined or not; describe the\nstructure and attributes of an AD-robust classifier; introduce and explore the\nnotions of conceptual entropy and regions of conceptual ambiguity for\nclassifiers that are vulnerable to AD attacks, along with methods to bound the\nAD fooling rate of an attack. We define the notion of classifiers that exhibit\nhypersensitive behavior, that is, classifiers whose only mistakes are\nadversarial Doppelgangers. Improving the AD robustness of hyper-sensitive\nclassifiers is equivalent to improving accuracy. We identify conditions\nguaranteeing that all classifiers with sufficiently high accuracy are\nhyper-sensitive.\n Our findings are aimed at significant improvements in the reliability and\nsecurity of machine learning systems.\n", "date": "2024-10-17", "categories": []} {"id": "2410.14089", "title": "MMAD-Purify: A Precision-Optimized Framework for Efficient and Scalable\n Multi-Modal Attacks", "abstract": " Neural networks have achieved remarkable performance across a wide range of\ntasks, yet they remain susceptible to adversarial perturbations, which pose\nsignificant risks in safety-critical applications. With the rise of\nmultimodality, diffusion models have emerged as powerful tools not only for\ngenerative tasks but also for various applications such as image editing,\ninpainting, and super-resolution. However, these models still lack robustness\ndue to limited research on attacking them to enhance their resilience.\nTraditional attack techniques, such as gradient-based adversarial attacks and\ndiffusion model-based methods, are hindered by computational inefficiencies and\nscalability issues due to their iterative nature. To address these challenges,\nwe introduce an innovative framework that leverages the distilled backbone of\ndiffusion models and incorporates a precision-optimized noise predictor to\nenhance the effectiveness of our attack framework. This approach not only\nenhances the attack's potency but also significantly reduces computational\ncosts. Our framework provides a cutting-edge solution for multi-modal\nadversarial attacks, ensuring reduced latency and the generation of\nhigh-fidelity adversarial examples with superior success rates. Furthermore, we\ndemonstrate that our framework achieves outstanding transferability and\nrobustness against purification defenses, outperforming existing gradient-based\nattack models in both effectiveness and efficiency.\n", "date": "2024-10-17", "categories": []} {"id": "2410.13010", "title": "Hiding-in-Plain-Sight (HiPS) Attack on CLIP for Targetted Object Removal\n from Images", "abstract": " Machine learning models are known to be vulnerable to adversarial attacks,\nbut traditional attacks have mostly focused on single-modalities. With the rise\nof large multi-modal models (LMMs) like CLIP, which combine vision and language\ncapabilities, new vulnerabilities have emerged. However, prior work in\nmultimodal targeted attacks aim to completely change the model's output to what\nthe adversary wants. In many realistic scenarios, an adversary might seek to\nmake only subtle modifications to the output, so that the changes go unnoticed\nby downstream models or even by humans. We introduce Hiding-in-Plain-Sight\n(HiPS) attacks, a novel class of adversarial attacks that subtly modifies model\npredictions by selectively concealing target object(s), as if the target object\nwas absent from the scene. We propose two HiPS attack variants, HiPS-cls and\nHiPS-cap, and demonstrate their effectiveness in transferring to downstream\nimage captioning models, such as CLIP-Cap, for targeted object removal from\nimage captions.\n", "date": "2024-10-16", "categories": []} {"id": "2410.13122", "title": "Boosting Imperceptibility of Stable Diffusion-based Adversarial Examples\n Generation with Momentum", "abstract": " We propose a novel framework, Stable Diffusion-based Momentum Integrated\nAdversarial Examples (SD-MIAE), for generating adversarial examples that can\neffectively mislead neural network classifiers while maintaining visual\nimperceptibility and preserving the semantic similarity to the original class\nlabel. Our method leverages the text-to-image generation capabilities of the\nStable Diffusion model by manipulating token embeddings corresponding to the\nspecified class in its latent space. These token embeddings guide the\ngeneration of adversarial images that maintain high visual fidelity. The\nSD-MIAE framework consists of two phases: (1) an initial adversarial\noptimization phase that modifies token embeddings to produce misclassified yet\nnatural-looking images and (2) a momentum-based optimization phase that refines\nthe adversarial perturbations. By introducing momentum, our approach stabilizes\nthe optimization of perturbations across iterations, enhancing both the\nmisclassification rate and visual fidelity of the generated adversarial\nexamples. Experimental results demonstrate that SD-MIAE achieves a high\nmisclassification rate of 79%, improving by 35% over the state-of-the-art\nmethod while preserving the imperceptibility of adversarial perturbations and\nthe semantic similarity to the original class label, making it a practical\nmethod for robust adversarial evaluation.\n", "date": "2024-10-17", "categories": []} {"id": "2208.06222", "title": "Scale-free and Task-agnostic Attack: Generating Photo-realistic\n Adversarial Patterns with Patch Quilting Generator", "abstract": " \\noindent Traditional L_p norm-restricted image attack algorithms suffer from\npoor transferability to black box scenarios and poor robustness to defense\nalgorithms. Recent CNN generator-based attack approaches can synthesize\nunrestricted and semantically meaningful entities to the image, which is shown\nto be transferable and robust. However, such methods attack images by either\nsynthesizing local adversarial entities, which are only suitable for attacking\nspecific contents or performing global attacks, which are only applicable to a\nspecific image scale. In this paper, we propose a novel Patch Quilting\nGenerative Adversarial Networks (PQ-GAN) to learn the first scale-free CNN\ngenerator that can be applied to attack images with arbitrary scales for\nvarious computer vision tasks. The principal investigation on transferability\nof the generated adversarial examples, robustness to defense frameworks, and\nvisual quality assessment show that the proposed PQG-based attack framework\noutperforms the other nine state-of-the-art adversarial attack approaches when\nattacking the neural networks trained on two standard evaluation datasets\n(i.e., ImageNet and CityScapes).\n", "date": "2022-08-12", "categories": []} {"id": "2402.02263", "title": "MixedNUTS: Training-Free Accuracy-Robustness Balance via Nonlinearly\n Mixed Classifiers", "abstract": " Adversarial robustness often comes at the cost of degraded accuracy, impeding\nreal-life applications of robust classification models. Training-based\nsolutions for better trade-offs are limited by incompatibilities with\nalready-trained high-performance large models, necessitating the exploration of\ntraining-free ensemble approaches. Observing that robust models are more\nconfident in correct predictions than in incorrect ones on clean and\nadversarial data alike, we speculate amplifying this \"benign confidence\nproperty\" can reconcile accuracy and robustness in an ensemble setting. To\nachieve so, we propose \"MixedNUTS\", a training-free method where the output\nlogits of a robust classifier and a standard non-robust classifier are\nprocessed by nonlinear transformations with only three parameters, which are\noptimized through an efficient algorithm. MixedNUTS then converts the\ntransformed logits into probabilities and mixes them as the overall output. On\nCIFAR-10, CIFAR-100, and ImageNet datasets, experimental results with custom\nstrong adaptive attacks demonstrate MixedNUTS's vastly improved accuracy and\nnear-SOTA robustness -- it boosts CIFAR-100 clean accuracy by 7.86 points,\nsacrificing merely 0.87 points in robust accuracy.\n", "date": "2024-02-03", "categories": []} {"id": "2405.14033", "title": "Adversarial Training of Two-Layer Polynomial and ReLU Activation\n Networks via Convex Optimization", "abstract": " Training neural networks which are robust to adversarial attacks remains an\nimportant problem in deep learning, especially as heavily overparameterized\nmodels are adopted in safety-critical settings. Drawing from recent work which\nreformulates the training problems for two-layer ReLU and polynomial activation\nnetworks as convex programs, we devise a convex semidefinite program (SDP) for\nadversarial training of two-layer polynomial activation networks and prove that\nthe convex SDP achieves the same globally optimal solution as its nonconvex\ncounterpart. The convex SDP is observed to improve robust test accuracy against\n$\\ell_\\infty$ attacks relative to the original convex training formulation on\nmultiple datasets. Additionally, we present scalable implementations of\nadversarial training for two-layer polynomial and ReLU networks which are\ncompatible with standard machine learning libraries and GPU acceleration.\nLeveraging these implementations, we retrain the final two fully connected\nlayers of a Pre-Activation ResNet-18 model on the CIFAR-10 dataset with both\npolynomial and ReLU activations. The two `robustified' models achieve\nsignificantly higher robust test accuracies against $\\ell_\\infty$ attacks than\na Pre-Activation ResNet-18 model trained with sharpness-aware minimization,\ndemonstrating the practical utility of convex adversarial training on\nlarge-scale problems.\n", "date": "2024-05-22", "categories": []} {"id": "2410.12076", "title": "Taking off the Rose-Tinted Glasses: A Critical Look at Adversarial ML\n Through the Lens of Evasion Attacks", "abstract": " The vulnerability of machine learning models in adversarial scenarios has\ngarnered significant interest in the academic community over the past decade,\nresulting in a myriad of attacks and defenses. However, while the community\nappears to be overtly successful in devising new attacks across new contexts,\nthe development of defenses has stalled. After a decade of research, we appear\nno closer to securing AI applications beyond additional training. Despite a\nlack of effective mitigations, AI development and its incorporation into\nexisting systems charge full speed ahead with the rise of generative AI and\nlarge language models. Will our ineffectiveness in developing solutions to\nadversarial threats further extend to these new technologies?\n In this paper, we argue that overly permissive attack and overly restrictive\ndefensive threat models have hampered defense development in the ML domain.\nThrough the lens of adversarial evasion attacks against neural networks, we\ncritically examine common attack assumptions, such as the ability to bypass any\ndefense not explicitly built into the model. We argue that these flawed\nassumptions, seen as reasonable by the community based on paper acceptance,\nhave encouraged the development of adversarial attacks that map poorly to\nreal-world scenarios. In turn, new defenses evaluated against these very\nattacks are inadvertently required to be almost perfect and incorporated as\npart of the model. But do they need to? In practice, machine learning models\nare deployed as a small component of a larger system. We analyze adversarial\nmachine learning from a system security perspective rather than an AI\nperspective and its implications for emerging AI paradigms.\n", "date": "2024-10-15", "categories": []} {"id": "2410.12307", "title": "DAT: Improving Adversarial Robustness via Generative Amplitude Mix-up in\n Frequency Domain", "abstract": " To protect deep neural networks (DNNs) from adversarial attacks, adversarial\ntraining (AT) is developed by incorporating adversarial examples (AEs) into\nmodel training. Recent studies show that adversarial attacks disproportionately\nimpact the patterns within the phase of the sample's frequency spectrum --\ntypically containing crucial semantic information -- more than those in the\namplitude, resulting in the model's erroneous categorization of AEs. We find\nthat, by mixing the amplitude of training samples' frequency spectrum with\nthose of distractor images for AT, the model can be guided to focus on phase\npatterns unaffected by adversarial perturbations. As a result, the model's\nrobustness can be improved. Unfortunately, it is still challenging to select\nappropriate distractor images, which should mix the amplitude without affecting\nthe phase patterns. To this end, in this paper, we propose an optimized\nAdversarial Amplitude Generator (AAG) to achieve a better tradeoff between\nimproving the model's robustness and retaining phase patterns. Based on this\ngenerator, together with an efficient AE production procedure, we design a new\nDual Adversarial Training (DAT) strategy. Experiments on various datasets show\nthat our proposed DAT leads to significantly improved robustness against\ndiverse adversarial attacks.\n", "date": "2024-10-16", "categories": []} {"id": "2410.12607", "title": "Low-Rank Adversarial PGD Attack", "abstract": " Adversarial attacks on deep neural network models have seen rapid development\nand are extensively used to study the stability of these networks. Among\nvarious adversarial strategies, Projected Gradient Descent (PGD) is a widely\nadopted method in computer vision due to its effectiveness and quick\nimplementation, making it suitable for adversarial training. In this work, we\nobserve that in many cases, the perturbations computed using PGD predominantly\naffect only a portion of the singular value spectrum of the original image,\nsuggesting that these perturbations are approximately low-rank. Motivated by\nthis observation, we propose a variation of PGD that efficiently computes a\nlow-rank attack. We extensively validate our method on a range of standard\nmodels as well as robust models that have undergone adversarial training. Our\nanalysis indicates that the proposed low-rank PGD can be effectively used in\nadversarial training due to its straightforward and fast implementation coupled\nwith competitive performance. Notably, we find that low-rank PGD often performs\ncomparably to, and sometimes even outperforms, the traditional full-rank PGD\nattack, while using significantly less memory.\n", "date": "2024-10-16", "categories": []} {"id": "2410.12759", "title": "Unitary Multi-Margin BERT for Robust Natural Language Processing", "abstract": " Recent developments in adversarial attacks on deep learning leave many\nmission-critical natural language processing (NLP) systems at risk of\nexploitation. To address the lack of computationally efficient adversarial\ndefense methods, this paper reports a novel, universal technique that\ndrastically improves the robustness of Bidirectional Encoder Representations\nfrom Transformers (BERT) by combining the unitary weights with the multi-margin\nloss. We discover that the marriage of these two simple ideas amplifies the\nprotection against malicious interference. Our model, the unitary multi-margin\nBERT (UniBERT), boosts post-attack classification accuracies significantly by\n5.3% to 73.8% while maintaining competitive pre-attack accuracies. Furthermore,\nthe pre-attack and post-attack accuracy tradeoff can be adjusted via a single\nscalar parameter to best fit the design requirements for the target\napplications.\n", "date": "2024-10-16", "categories": []} {"id": "2402.15853", "title": "RAUCA: A Novel Physical Adversarial Attack on Vehicle Detectors via\n Robust and Accurate Camouflage Generation", "abstract": " Adversarial camouflage is a widely used physical attack against vehicle\ndetectors for its superiority in multi-view attack performance. One promising\napproach involves using differentiable neural renderers to facilitate\nadversarial camouflage optimization through gradient back-propagation. However,\nexisting methods often struggle to capture environmental characteristics during\nthe rendering process or produce adversarial textures that can precisely map to\nthe target vehicle, resulting in suboptimal attack performance. Moreover, these\napproaches neglect diverse weather conditions, reducing the efficacy of\ngenerated camouflage across varying weather scenarios. To tackle these\nchallenges, we propose a robust and accurate camouflage generation method,\nnamely RAUCA. The core of RAUCA is a novel neural rendering component, Neural\nRenderer Plus (NRP), which can accurately project vehicle textures and render\nimages with environmental characteristics such as lighting and weather. In\naddition, we integrate a multi-weather dataset for camouflage generation,\nleveraging the NRP to enhance the attack robustness. Experimental results on\nsix popular object detectors show that RAUCA consistently outperforms existing\nmethods in both simulation and real-world settings.\n", "date": "2024-02-24", "categories": []} {"id": "2410.11272", "title": "Cognitive Overload Attack:Prompt Injection for Long Context", "abstract": " Large Language Models (LLMs) have demonstrated remarkable capabilities in\nperforming tasks across various domains without needing explicit retraining.\nThis capability, known as In-Context Learning (ICL), while impressive, exposes\nLLMs to a variety of adversarial prompts and jailbreaks that manipulate\nsafety-trained LLMs into generating undesired or harmful output. In this paper,\nwe propose a novel interpretation of ICL in LLMs through the lens of cognitive\nneuroscience, by drawing parallels between learning in human cognition with\nICL. We applied the principles of Cognitive Load Theory in LLMs and empirically\nvalidate that similar to human cognition, LLMs also suffer from cognitive\noverload a state where the demand on cognitive processing exceeds the available\ncapacity of the model, leading to potential errors. Furthermore, we\ndemonstrated how an attacker can exploit ICL to jailbreak LLMs through\ndeliberately designed prompts that induce cognitive overload on LLMs, thereby\ncompromising the safety mechanisms of LLMs. We empirically validate this threat\nmodel by crafting various cognitive overload prompts and show that advanced\nmodels such as GPT-4, Claude-3.5 Sonnet, Claude-3 OPUS, Llama-3-70B-Instruct,\nGemini-1.0-Pro, and Gemini-1.5-Pro can be successfully jailbroken, with attack\nsuccess rates of up to 99.99%. Our findings highlight critical vulnerabilities\nin LLMs and underscore the urgency of developing robust safeguards. We propose\nintegrating insights from cognitive load theory into the design and evaluation\nof LLMs to better anticipate and mitigate the risks of adversarial attacks. By\nexpanding our experiments to encompass a broader range of models and by\nhighlighting vulnerabilities in LLMs' ICL, we aim to ensure the development of\nsafer and more reliable AI systems.\n", "date": "2024-10-15", "categories": []} {"id": "2402.17509", "title": "Extreme Miscalibration and the Illusion of Adversarial Robustness", "abstract": " Deep learning-based Natural Language Processing (NLP) models are vulnerable\nto adversarial attacks, where small perturbations can cause a model to\nmisclassify. Adversarial Training (AT) is often used to increase model\nrobustness. However, we have discovered an intriguing phenomenon: deliberately\nor accidentally miscalibrating models masks gradients in a way that interferes\nwith adversarial attack search methods, giving rise to an apparent increase in\nrobustness. We show that this observed gain in robustness is an illusion of\nrobustness (IOR), and demonstrate how an adversary can perform various forms of\ntest-time temperature calibration to nullify the aforementioned interference\nand allow the adversarial attack to find adversarial examples. Hence, we urge\nthe NLP community to incorporate test-time temperature scaling into their\nrobustness evaluations to ensure that any observed gains are genuine. Finally,\nwe show how the temperature can be scaled during \\textit{training} to improve\ngenuine robustness.\n", "date": "2024-02-27", "categories": []} {"id": "2405.17894", "title": "White-box Multimodal Jailbreaks Against Large Vision-Language Models", "abstract": " Recent advancements in Large Vision-Language Models (VLMs) have underscored\ntheir superiority in various multimodal tasks. However, the adversarial\nrobustness of VLMs has not been fully explored. Existing methods mainly assess\nrobustness through unimodal adversarial attacks that perturb images, while\nassuming inherent resilience against text-based attacks. Different from\nexisting attacks, in this work we propose a more comprehensive strategy that\njointly attacks both text and image modalities to exploit a broader spectrum of\nvulnerability within VLMs. Specifically, we propose a dual optimization\nobjective aimed at guiding the model to generate affirmative responses with\nhigh toxicity. Our attack method begins by optimizing an adversarial image\nprefix from random noise to generate diverse harmful responses in the absence\nof text input, thus imbuing the image with toxic semantics. Subsequently, an\nadversarial text suffix is integrated and co-optimized with the adversarial\nimage prefix to maximize the probability of eliciting affirmative responses to\nvarious harmful instructions. The discovered adversarial image prefix and text\nsuffix are collectively denoted as a Universal Master Key (UMK). When\nintegrated into various malicious queries, UMK can circumvent the alignment\ndefenses of VLMs and lead to the generation of objectionable content, known as\njailbreaks. The experimental results demonstrate that our universal attack\nstrategy can effectively jailbreak MiniGPT-4 with a 96% success rate,\nhighlighting the vulnerability of VLMs and the urgent need for new alignment\nstrategies.\n", "date": "2024-05-28", "categories": []} {"id": "2410.09845", "title": "Understanding Robustness of Parameter-Efficient Tuning for Image\n Classification", "abstract": " Parameter-efficient tuning (PET) techniques calibrate the model's predictions\non downstream tasks by freezing the pre-trained models and introducing a small\nnumber of learnable parameters. However, despite the numerous PET methods\nproposed, their robustness has not been thoroughly investigated. In this paper,\nwe systematically explore the robustness of four classical PET techniques\n(e.g., VPT, Adapter, AdaptFormer, and LoRA) under both white-box attacks and\ninformation perturbations. For white-box attack scenarios, we first analyze the\nperformance of PET techniques using FGSM and PGD attacks. Subsequently, we\nfurther explore the transferability of adversarial samples and the impact of\nlearnable parameter quantities on the robustness of PET methods. Under\ninformation perturbation attacks, we introduce four distinct perturbation\nstrategies, including Patch-wise Drop, Pixel-wise Drop, Patch Shuffle, and\nGaussian Noise, to comprehensively assess the robustness of these PET\ntechniques in the presence of information loss. Via these extensive studies, we\nenhance the understanding of the robustness of PET methods, providing valuable\ninsights for improving their performance in computer vision applications. The\ncode is available at https://github.com/JCruan519/PETRobustness.\n", "date": "2024-10-13", "categories": []} {"id": "2410.10091", "title": "Out-of-Bounding-Box Triggers: A Stealthy Approach to Cheat Object\n Detectors", "abstract": " In recent years, the study of adversarial robustness in object detection\nsystems, particularly those based on deep neural networks (DNNs), has become a\npivotal area of research. Traditional physical attacks targeting object\ndetectors, such as adversarial patches and texture manipulations, directly\nmanipulate the surface of the object. While these methods are effective, their\novert manipulation of objects may draw attention in real-world applications. To\naddress this, this paper introduces a more subtle approach: an inconspicuous\nadversarial trigger that operates outside the bounding boxes, rendering the\nobject undetectable to the model. We further enhance this approach by proposing\nthe Feature Guidance (FG) technique and the Universal Auto-PGD (UAPGD)\noptimization strategy for crafting high-quality triggers. The effectiveness of\nour method is validated through extensive empirical testing, demonstrating its\nhigh performance in both digital and physical environments. The code and video\nwill be available at: https://github.com/linToTao/Out-of-bbox-attack.\n", "date": "2024-10-14", "categories": []} {"id": "2410.10554", "title": "ROSAR: An Adversarial Re-Training Framework for Robust Side-Scan Sonar\n Object Detection", "abstract": " This paper introduces ROSAR, a novel framework enhancing the robustness of\ndeep learning object detection models tailored for side-scan sonar (SSS)\nimages, generated by autonomous underwater vehicles using sonar sensors. By\nextending our prior work on knowledge distillation (KD), this framework\nintegrates KD with adversarial retraining to address the dual challenges of\nmodel efficiency and robustness against SSS noises. We introduce three novel,\npublicly available SSS datasets, capturing different sonar setups and noise\nconditions. We propose and formalize two SSS safety properties and utilize them\nto generate adversarial datasets for retraining. Through a comparative analysis\nof projected gradient descent (PGD) and patch-based adversarial attacks, ROSAR\ndemonstrates significant improvements in model robustness and detection\naccuracy under SSS-specific conditions, enhancing the model's robustness by up\nto 1.85%. ROSAR is available at\nhttps://github.com/remaro-network/ROSAR-framework.\n", "date": "2024-10-14", "categories": []} {"id": "2410.10736", "title": "Towards Calibrated Losses for Adversarial Robust Reject Option\n Classification", "abstract": " Robustness towards adversarial attacks is a vital property for classifiers in\nseveral applications such as autonomous driving, medical diagnosis, etc. Also,\nin such scenarios, where the cost of misclassification is very high, knowing\nwhen to abstain from prediction becomes crucial. A natural question is which\nsurrogates can be used to ensure learning in scenarios where the input points\nare adversarially perturbed and the classifier can abstain from prediction?\nThis paper aims to characterize and design surrogates calibrated in\n\"Adversarial Robust Reject Option\" setting. First, we propose an adversarial\nrobust reject option loss $\\ell_{d}^{\\gamma}$ and analyze it for the hypothesis\nset of linear classifiers ($\\mathcal{H}_{\\textrm{lin}}$). Next, we provide a\ncomplete characterization result for any surrogate to be\n$(\\ell_{d}^{\\gamma},\\mathcal{H}_{\\textrm{lin}})$- calibrated. To demonstrate\nthe difficulty in designing surrogates to $\\ell_{d}^{\\gamma}$, we show negative\ncalibration results for convex surrogates and quasi-concave conditional risk\ncases (these gave positive calibration in adversarial setting without reject\noption). We also empirically argue that Shifted Double Ramp Loss (DRL) and\nShifted Double Sigmoid Loss (DSL) satisfy the calibration conditions. Finally,\nwe demonstrate the robustness of shifted DRL and shifted DSL against\nadversarial perturbations on a synthetically generated dataset.\n", "date": "2024-10-14", "categories": []} {"id": "2404.15081", "title": "Perturbing Attention Gives You More Bang for the Buck: Subtle Imaging\n Perturbations That Efficiently Fool Customized Diffusion Models", "abstract": " Diffusion models (DMs) embark a new era of generative modeling and offer more\nopportunities for efficient generating high-quality and realistic data samples.\nHowever, their widespread use has also brought forth new challenges in model\nsecurity, which motivates the creation of more effective adversarial attackers\non DMs to understand its vulnerability. We propose CAAT, a simple but generic\nand efficient approach that does not require costly training to effectively\nfool latent diffusion models (LDMs). The approach is based on the observation\nthat cross-attention layers exhibits higher sensitivity to gradient change,\nallowing for leveraging subtle perturbations on published images to\nsignificantly corrupt the generated images. We show that a subtle perturbation\non an image can significantly impact the cross-attention layers, thus changing\nthe mapping between text and image during the fine-tuning of customized\ndiffusion models. Extensive experiments demonstrate that CAAT is compatible\nwith diverse diffusion models and outperforms baseline attack methods in a more\neffective (more noise) and efficient (twice as fast as Anti-DreamBooth and\nMist) manner.\n", "date": "2024-04-23", "categories": []} {"id": "2407.04482", "title": "Controlling Whisper: Universal Acoustic Adversarial Attacks to Control\n Speech Foundation Models", "abstract": " Speech enabled foundation models, either in the form of flexible speech\nrecognition based systems or audio-prompted large language models (LLMs), are\nbecoming increasingly popular. One of the interesting aspects of these models\nis their ability to perform tasks other than automatic speech recognition (ASR)\nusing an appropriate prompt. For example, the OpenAI Whisper model can perform\nboth speech transcription and speech translation. With the development of\naudio-prompted LLMs there is the potential for even greater control options. In\nthis work we demonstrate that with this greater flexibility the systems can be\nsusceptible to model-control adversarial attacks. Without any access to the\nmodel prompt it is possible to modify the behaviour of the system by\nappropriately changing the audio input. To illustrate this risk, we demonstrate\nthat it is possible to prepend a short universal adversarial acoustic segment\nto any input speech signal to override the prompt setting of an ASR foundation\nmodel. Specifically, we successfully use a universal adversarial acoustic\nsegment to control Whisper to always perform speech translation, despite being\nset to perform speech transcription. Overall, this work demonstrates a new form\nof adversarial attack on multi-tasking speech enabled foundation models that\nneeds to be considered prior to the deployment of this form of model.\n", "date": "2024-07-05", "categories": []} {"id": "2410.08620", "title": "Natural Language Induced Adversarial Images", "abstract": " Research of adversarial attacks is important for AI security because it shows\nthe vulnerability of deep learning models and helps to build more robust\nmodels. Adversarial attacks on images are most widely studied, which include\nnoise-based attacks, image editing-based attacks, and latent space-based\nattacks. However, the adversarial examples crafted by these methods often lack\nsufficient semantic information, making it challenging for humans to understand\nthe failure modes of deep learning models under natural conditions. To address\nthis limitation, we propose a natural language induced adversarial image attack\nmethod. The core idea is to leverage a text-to-image model to generate\nadversarial images given input prompts, which are maliciously constructed to\nlead to misclassification for a target model. To adopt commercial text-to-image\nmodels for synthesizing more natural adversarial images, we propose an adaptive\ngenetic algorithm (GA) for optimizing discrete adversarial prompts without\nrequiring gradients and an adaptive word space reduction method for improving\nquery efficiency. We further used CLIP to maintain the semantic consistency of\nthe generated images. In our experiments, we found that some high-frequency\nsemantic information such as \"foggy\", \"humid\", \"stretching\", etc. can easily\ncause classifier errors. This adversarial semantic information exists not only\nin generated images but also in photos captured in the real world. We also\nfound that some adversarial semantic information can be transferred to unknown\nclassification tasks. Furthermore, our attack method can transfer to different\ntext-to-image models (e.g., Midjourney, DALL-E 3, etc.) and image classifiers.\nOur code is available at:\nhttps://github.com/zxp555/Natural-Language-Induced-Adversarial-Images.\n", "date": "2024-10-11", "categories": []} {"id": "2410.09040", "title": "AttnGCG: Enhancing Jailbreaking Attacks on LLMs with Attention\n Manipulation", "abstract": " This paper studies the vulnerabilities of transformer-based Large Language\nModels (LLMs) to jailbreaking attacks, focusing specifically on the\noptimization-based Greedy Coordinate Gradient (GCG) strategy. We first observe\na positive correlation between the effectiveness of attacks and the internal\nbehaviors of the models. For instance, attacks tend to be less effective when\nmodels pay more attention to system prompts designed to ensure LLM safety\nalignment. Building on this discovery, we introduce an enhanced method that\nmanipulates models' attention scores to facilitate LLM jailbreaking, which we\nterm AttnGCG. Empirically, AttnGCG shows consistent improvements in attack\nefficacy across diverse LLMs, achieving an average increase of ~7% in the\nLlama-2 series and ~10% in the Gemma series. Our strategy also demonstrates\nrobust attack transferability against both unseen harmful goals and black-box\nLLMs like GPT-3.5 and GPT-4. Moreover, we note our attention-score\nvisualization is more interpretable, allowing us to gain better insights into\nhow our targeted attention manipulation facilitates more effective\njailbreaking. We release the code at\nhttps://github.com/UCSC-VLAA/AttnGCG-attack.\n", "date": "2024-10-11", "categories": []} {"id": "2408.10571", "title": "Prompt-Agnostic Adversarial Perturbation for Customized Diffusion Models", "abstract": " Diffusion models have revolutionized customized text-to-image generation,\nallowing for efficient synthesis of photos from personal data with textual\ndescriptions. However, these advancements bring forth risks including privacy\nbreaches and unauthorized replication of artworks. Previous researches\nprimarily center around using prompt-specific methods to generate adversarial\nexamples to protect personal images, yet the effectiveness of existing methods\nis hindered by constrained adaptability to different prompts. In this paper, we\nintroduce a Prompt-Agnostic Adversarial Perturbation (PAP) method for\ncustomized diffusion models. PAP first models the prompt distribution using a\nLaplace Approximation, and then produces prompt-agnostic perturbations by\nmaximizing a disturbance expectation based on the modeled distribution. This\napproach effectively tackles the prompt-agnostic attacks, leading to improved\ndefense stability. Extensive experiments in face privacy and artistic style\nprotection, demonstrate the superior generalization of PAP in comparison to\nexisting techniques. Our project page is available at\nhttps://github.com/vancyland/Prompt-Agnostic-Adversarial-Perturbation-for-Customized-Diffusion-Models.github.io.\n", "date": "2024-08-20", "categories": []} {"id": "2410.07675", "title": "Adversarial Robustness Overestimation and Instability in TRADES", "abstract": " This paper examines the phenomenon of probabilistic robustness overestimation\nin TRADES, a prominent adversarial training method. Our study reveals that\nTRADES sometimes yields disproportionately high PGD validation accuracy\ncompared to the AutoAttack testing accuracy in the multiclass classification\ntask. This discrepancy highlights a significant overestimation of robustness\nfor these instances, potentially linked to gradient masking. We further analyze\nthe parameters contributing to unstable models that lead to overestimation. Our\nfindings indicate that smaller batch sizes, lower beta values (which control\nthe weight of the robust loss term in TRADES), larger learning rates, and\nhigher class complexity (e.g., CIFAR-100 versus CIFAR-10) are associated with\nan increased likelihood of robustness overestimation. By examining metrics such\nas the First-Order Stationary Condition (FOSC), inner-maximization, and\ngradient information, we identify the underlying cause of this phenomenon as\ngradient masking and provide insights into it. Furthermore, our experiments\nshow that certain unstable training instances may return to a state without\nrobust overestimation, inspiring our attempts at a solution. In addition to\nadjusting parameter settings to reduce instability or retraining when\noverestimation occurs, we recommend incorporating Gaussian noise in inputs when\nthe FOSC score exceed the threshold. This method aims to mitigate robustness\noverestimation of TRADES and other similar methods at its source, ensuring more\nreliable representation of adversarial robustness during evaluation.\n", "date": "2024-10-10", "categories": []} {"id": "2410.07962", "title": "Towards Assurance of LLM Adversarial Robustness using Ontology-Driven\n Argumentation", "abstract": " Despite the impressive adaptability of large language models (LLMs),\nchallenges remain in ensuring their security, transparency, and\ninterpretability. Given their susceptibility to adversarial attacks, LLMs need\nto be defended with an evolving combination of adversarial training and\nguardrails. However, managing the implicit and heterogeneous knowledge for\ncontinuously assuring robustness is difficult. We introduce a novel approach\nfor assurance of the adversarial robustness of LLMs based on formal\nargumentation. Using ontologies for formalization, we structure\nstate-of-the-art attacks and defenses, facilitating the creation of a\nhuman-readable assurance case, and a machine-readable representation. We\ndemonstrate its application with examples in English language and code\ntranslation tasks, and provide implications for theory and practice, by\ntargeting engineers, data scientists, users, and auditors.\n", "date": "2024-10-10", "categories": []} {"id": "2311.06423", "title": "Transferability Bound Theory: Exploring Relationship between Adversarial\n Transferability and Flatness", "abstract": " A prevailing belief in attack and defense community is that the higher\nflatness of adversarial examples enables their better cross-model\ntransferability, leading to a growing interest in employing sharpness-aware\nminimization and its variants. However, the theoretical relationship between\nthe transferability of adversarial examples and their flatness has not been\nwell established, making the belief questionable. To bridge this gap, we embark\non a theoretical investigation and, for the first time, derive a theoretical\nbound for the transferability of adversarial examples with few practical\nassumptions. Our analysis challenges this belief by demonstrating that the\nincreased flatness of adversarial examples does not necessarily guarantee\nimproved transferability. Moreover, building upon the theoretical analysis, we\npropose TPA, a Theoretically Provable Attack that optimizes a surrogate of the\nderived bound to craft adversarial examples. Extensive experiments across\nwidely used benchmark datasets and various real-world applications show that\nTPA can craft more transferable adversarial examples compared to\nstate-of-the-art baselines. We hope that these results can recalibrate\npreconceived impressions within the community and facilitate the development of\nstronger adversarial attack and defense mechanisms. The source codes are\navailable in .\n", "date": "2023-11-10", "categories": []} {"id": "2405.01349", "title": "Position: Towards Resilience Against Adversarial Examples", "abstract": " Current research on defending against adversarial examples focuses primarily\non achieving robustness against a single attack type such as $\\ell_2$ or\n$\\ell_{\\infty}$-bounded attacks. However, the space of possible perturbations\nis much larger than considered by many existing defenses and is difficult to\nmathematically model, so the attacker can easily bypass the defense by using a\ntype of attack that is not covered by the defense. In this position paper, we\nargue that in addition to robustness, we should also aim to develop defense\nalgorithms that are adversarially resilient -- defense algorithms should\nspecify a means to quickly adapt the defended model to be robust against new\nattacks. We provide a definition of adversarial resilience and outline\nconsiderations of designing an adversarially resilient defense. We then\nintroduce a subproblem of adversarial resilience which we call continual\nadaptive robustness, in which the defender gains knowledge of the formulation\nof possible perturbation spaces over time and can then update their model based\non this information. Additionally, we demonstrate the connection between\ncontinual adaptive robustness and previously studied problems of multiattack\nrobustness and unforeseen attack robustness and outline open directions within\nthese fields which can contribute to improving continual adaptive robustness\nand adversarial resilience.\n", "date": "2024-05-02", "categories": []} {"id": "2405.15234", "title": "Defensive Unlearning with Adversarial Training for Robust Concept\n Erasure in Diffusion Models", "abstract": " Diffusion models (DMs) have achieved remarkable success in text-to-image\ngeneration, but they also pose safety risks, such as the potential generation\nof harmful content and copyright violations. The techniques of machine\nunlearning, also known as concept erasing, have been developed to address these\nrisks. However, these techniques remain vulnerable to adversarial prompt\nattacks, which can prompt DMs post-unlearning to regenerate undesired images\ncontaining concepts (such as nudity) meant to be erased. This work aims to\nenhance the robustness of concept erasing by integrating the principle of\nadversarial training (AT) into machine unlearning, resulting in the robust\nunlearning framework referred to as AdvUnlearn. However, achieving this\neffectively and efficiently is highly nontrivial. First, we find that a\nstraightforward implementation of AT compromises DMs' image generation quality\npost-unlearning. To address this, we develop a utility-retaining regularization\non an additional retain set, optimizing the trade-off between concept erasure\nrobustness and model utility in AdvUnlearn. Moreover, we identify the text\nencoder as a more suitable module for robustification compared to UNet,\nensuring unlearning effectiveness. And the acquired text encoder can serve as a\nplug-and-play robust unlearner for various DM types. Empirically, we perform\nextensive experiments to demonstrate the robustness advantage of AdvUnlearn\nacross various DM unlearning scenarios, including the erasure of nudity,\nobjects, and style concepts. In addition to robustness, AdvUnlearn also\nachieves a balanced tradeoff with model utility. To our knowledge, this is the\nfirst work to systematically explore robust DM unlearning through AT, setting\nit apart from existing methods that overlook robustness in concept erasing.\nCodes are available at: https://github.com/OPTML-Group/AdvUnlearn\n", "date": "2024-05-24", "categories": []} {"id": "2405.15984", "title": "Evaluating and Safeguarding the Adversarial Robustness of\n Retrieval-Based In-Context Learning", "abstract": " With the emergence of large language models, such as LLaMA and OpenAI GPT-3,\nIn-Context Learning (ICL) gained significant attention due to its effectiveness\nand efficiency. However, ICL is very sensitive to the choice, order, and\nverbaliser used to encode the demonstrations in the prompt. Retrieval-Augmented\nICL methods try to address this problem by leveraging retrievers to extract\nsemantically related examples as demonstrations. While this approach yields\nmore accurate results, its robustness against various types of adversarial\nattacks, including perturbations on test samples, demonstrations, and retrieved\ndata, remains under-explored. Our study reveals that retrieval-augmented models\ncan enhance robustness against test sample attacks, outperforming vanilla ICL\nwith a 4.87% reduction in Attack Success Rate (ASR); however, they exhibit\noverconfidence in the demonstrations, leading to a 2% increase in ASR for\ndemonstration attacks. Adversarial training can help improve the robustness of\nICL methods to adversarial attacks; however, such a training scheme can be too\ncostly in the context of LLMs. As an alternative, we introduce an effective\ntraining-free adversarial defence method, DARD, which enriches the example pool\nwith those attacked samples. We show that DARD yields improvements in\nperformance and robustness, achieving a 15% reduction in ASR over the\nbaselines. Code and data are released to encourage further research:\nhttps://github.com/simonucl/adv-retreival-icl\n", "date": "2024-05-24", "categories": []} {"id": "2406.05532", "title": "Exploring Adversarial Robustness of Deep State Space Models", "abstract": " Deep State Space Models (SSMs) have proven effective in numerous task\nscenarios but face significant security challenges due to Adversarial\nPerturbations (APs) in real-world deployments. Adversarial Training (AT) is a\nmainstream approach to enhancing Adversarial Robustness (AR) and has been\nvalidated on various traditional DNN architectures. However, its effectiveness\nin improving the AR of SSMs remains unclear. While many enhancements in SSM\ncomponents, such as integrating Attention mechanisms and expanding to\ndata-dependent SSM parameterizations, have brought significant gains in\nStandard Training (ST) settings, their potential benefits in AT remain\nunexplored. To investigate this, we evaluate existing structural variants of\nSSMs with AT to assess their AR performance. We observe that pure SSM\nstructures struggle to benefit from AT, whereas incorporating Attention yields\na markedly better trade-off between robustness and generalization for SSMs in\nAT compared to other components. Nonetheless, the integration of Attention also\nleads to Robust Overfitting (RO) issues. To understand these phenomena, we\nempirically and theoretically analyze the output error of SSMs under AP. We\nfind that fixed-parameterized SSMs have output error bounds strictly related to\ntheir parameters, limiting their AT benefits, while input-dependent SSMs may\nface the problem of error explosion. Furthermore, we show that the Attention\ncomponent effectively scales the output error of SSMs during training, enabling\nthem to benefit more from AT, but at the cost of introducing RO due to its high\nmodel complexity. Inspired by this, we propose a simple and effective Adaptive\nScaling (AdS) mechanism that brings AT performance close to\nAttention-integrated SSMs without introducing the issue of RO. Our code is\navailable at\nhttps://github.com/Biqing-Qi/Exploring-Adversarial-Robustness-of-Deep-State-Space-Models.git.\n", "date": "2024-06-08", "categories": []} {"id": "2407.03210", "title": "Combining AI Control Systems and Human Decision Support via Robustness\n and Criticality", "abstract": " AI-enabled capabilities are reaching the requisite level of maturity to be\ndeployed in the real world, yet do not always make correct or safe decisions.\nOne way of addressing these concerns is to leverage AI control systems\nalongside and in support of human decisions, relying on the AI control system\nin safe situations while calling on a human co-decider for critical situations.\nWe extend a methodology for adversarial explanations (AE) to state-of-the-art\nreinforcement learning frameworks, including MuZero. Multiple improvements to\nthe base agent architecture are proposed. We demonstrate how this technology\nhas two applications: for intelligent decision tools and to enhance training /\nlearning frameworks. In a decision support context, adversarial explanations\nhelp a user make the correct decision by highlighting those contextual factors\nthat would need to change for a different AI-recommended decision. As another\nbenefit of adversarial explanations, we show that the learned AI control system\ndemonstrates robustness against adversarial tampering. Additionally, we\nsupplement AE by introducing strategically similar autoencoders (SSAs) to help\nusers identify and understand all salient factors being considered by the AI\nsystem. In a training / learning framework, this technology can improve both\nthe AI's decisions and explanations through human interaction. Finally, to\nidentify when AI decisions would most benefit from human oversight, we tie this\ncombined system to our prior art on statistically verified analyses of the\ncriticality of decisions at any point in time.\n", "date": "2024-07-03", "categories": []} {"id": "2410.05951", "title": "Hyper Adversarial Tuning for Boosting Adversarial Robustness of\n Pretrained Large Vision Models", "abstract": " Large vision models have been found vulnerable to adversarial examples,\nemphasizing the need for enhancing their adversarial robustness. While\nadversarial training is an effective defense for deep convolutional models, it\noften faces scalability issues with large vision models due to high\ncomputational costs. Recent approaches propose robust fine-tuning methods, such\nas adversarial tuning of low-rank adaptation (LoRA) in large vision models, but\nthey still struggle to match the accuracy of full parameter adversarial\nfine-tuning. The integration of various defense mechanisms offers a promising\napproach to enhancing the robustness of large vision models, yet this paradigm\nremains underexplored. To address this, we propose hyper adversarial tuning\n(HyperAT), which leverages shared defensive knowledge among different methods\nto improve model robustness efficiently and effectively simultaneously.\nSpecifically, adversarial tuning of each defense method is formulated as a\nlearning task, and a hypernetwork generates LoRA specific to this defense.\nThen, a random sampling and tuning strategy is proposed to extract and\nfacilitate the defensive knowledge transfer between different defenses.\nFinally, diverse LoRAs are merged to enhance the adversarial robustness.\nExperiments on various datasets and model architectures demonstrate that\nHyperAT significantly enhances the adversarial robustness of pretrained large\nvision models without excessive computational overhead, establishing a new\nstate-of-the-art benchmark.\n", "date": "2024-10-08", "categories": []} {"id": "2410.06339", "title": "Filtered Randomized Smoothing: A New Defense for Robust Modulation\n Classification", "abstract": " Deep Neural Network (DNN) based classifiers have recently been used for the\nmodulation classification of RF signals. These classifiers have shown\nimpressive performance gains relative to conventional methods, however, they\nare vulnerable to imperceptible (low-power) adversarial attacks. Some of the\nprominent defense approaches include adversarial training (AT) and randomized\nsmoothing (RS). While AT increases robustness in general, it fails to provide\nresilience against previously unseen adaptive attacks. Other approaches, such\nas Randomized Smoothing (RS), which injects noise into the input, address this\nshortcoming by providing provable certified guarantees against arbitrary\nattacks, however, they tend to sacrifice accuracy.\n In this paper, we study the problem of designing robust DNN-based modulation\nclassifiers that can provide provable defense against arbitrary attacks without\nsignificantly sacrificing accuracy. To this end, we first analyze the spectral\ncontent of commonly studied attacks on modulation classifiers for the benchmark\nRadioML dataset. We observe that spectral signatures of un-perturbed RF signals\nare highly localized, whereas attack signals tend to be spread out in\nfrequency. To exploit this spectral heterogeneity, we propose Filtered\nRandomized Smoothing (FRS), a novel defense which combines spectral filtering\ntogether with randomized smoothing. FRS can be viewed as a strengthening of RS\nby leveraging the specificity (spectral Heterogeneity) inherent to the\nmodulation classification problem. In addition to providing an approach to\ncompute the certified accuracy of FRS, we also provide a comprehensive set of\nsimulations on the RadioML dataset to show the effectiveness of FRS and show\nthat it significantly outperforms existing defenses including AT and RS in\nterms of accuracy on both attacked and benign signals.\n", "date": "2024-10-08", "categories": []} {"id": "2410.06699", "title": "Break the Visual Perception: Adversarial Attacks Targeting Encoded\n Visual Tokens of Large Vision-Language Models", "abstract": " Large vision-language models (LVLMs) integrate visual information into large\nlanguage models, showcasing remarkable multi-modal conversational capabilities.\nHowever, the visual modules introduces new challenges in terms of robustness\nfor LVLMs, as attackers can craft adversarial images that are visually clean\nbut may mislead the model to generate incorrect answers. In general, LVLMs rely\non vision encoders to transform images into visual tokens, which are crucial\nfor the language models to perceive image contents effectively. Therefore, we\nare curious about one question: Can LVLMs still generate correct responses when\nthe encoded visual tokens are attacked and disrupting the visual information?\nTo this end, we propose a non-targeted attack method referred to as VT-Attack\n(Visual Tokens Attack), which constructs adversarial examples from multiple\nperspectives, with the goal of comprehensively disrupting feature\nrepresentations and inherent relationships as well as the semantic properties\nof visual tokens output by image encoders. Using only access to the image\nencoder in the proposed attack, the generated adversarial examples exhibit\ntransferability across diverse LVLMs utilizing the same image encoder and\ngenerality across different tasks. Extensive experiments validate the superior\nattack performance of the VT-Attack over baseline methods, demonstrating its\neffectiveness in attacking LVLMs with image encoders, which in turn can provide\nguidance on the robustness of LVLMs, particularly in terms of the stability of\nthe visual feature space.\n", "date": "2024-10-09", "categories": []} {"id": "2410.06921", "title": "Adversarial Vulnerability as a Consequence of On-Manifold Inseparibility", "abstract": " Recent works have shown theoretically and empirically that redundant data\ndimensions are a source of adversarial vulnerability. However, the inverse\ndoesn't seem to hold in practice; employing dimension-reduction techniques\ndoesn't exhibit robustness as expected. In this work, we consider\nclassification tasks and characterize the data distribution as a\nlow-dimensional manifold, with high/low variance features defining the on/off\nmanifold direction. We argue that clean training experiences poor convergence\nin the off-manifold direction caused by the ill-conditioning in widely used\nfirst-order optimizers like gradient descent. The poor convergence then acts as\na source of adversarial vulnerability when the dataset is inseparable in the\non-manifold direction. We provide theoretical results for logistic regression\nand a 2-layer linear network on the considered data distribution. Furthermore,\nwe advocate using second-order methods that are immune to ill-conditioning and\nlead to better robustness. We perform experiments and exhibit tremendous\nrobustness improvements in clean training through long training and the\nemployment of second-order methods, corroborating our framework. Additionally,\nwe find the inclusion of batch-norm layers hinders such robustness gains. We\nattribute this to differing implicit biases between traditional and\nbatch-normalized neural networks.\n", "date": "2024-10-09", "categories": []} {"id": "2408.14866", "title": "Advancing Adversarial Suffix Transfer Learning on Aligned Large Language\n Models", "abstract": " Language Language Models (LLMs) face safety concerns due to potential misuse\nby malicious users. Recent red-teaming efforts have identified adversarial\nsuffixes capable of jailbreaking LLMs using the gradient-based search algorithm\nGreedy Coordinate Gradient (GCG). However, GCG struggles with computational\ninefficiency, limiting further investigations regarding suffix transferability\nand scalability across models and data. In this work, we bridge the connection\nbetween search efficiency and suffix transferability. We propose a two-stage\ntransfer learning framework, DeGCG, which decouples the search process into\nbehavior-agnostic pre-searching and behavior-relevant post-searching.\nSpecifically, we employ direct first target token optimization in pre-searching\nto facilitate the search process. We apply our approach to cross-model,\ncross-data, and self-transfer scenarios. Furthermore, we introduce an\ninterleaved variant of our approach, i-DeGCG, which iteratively leverages\nself-transferability to accelerate the search process. Experiments on HarmBench\ndemonstrate the efficiency of our approach across various models and domains.\nNotably, our i-DeGCG outperforms the baseline on Llama2-chat-7b with ASRs of\n$43.9$ ($+22.2$) and $39.0$ ($+19.5$) on valid and test sets, respectively.\nFurther analysis on cross-model transfer indicates the pivotal role of first\ntarget token optimization in leveraging suffix transferability for efficient\nsearching.\n", "date": "2024-08-27", "categories": []} {"id": "2410.04577", "title": "Robustness Reprogramming for Representation Learning", "abstract": " This work tackles an intriguing and fundamental open challenge in\nrepresentation learning: Given a well-trained deep learning model, can it be\nreprogrammed to enhance its robustness against adversarial or noisy input\nperturbations without altering its parameters? To explore this, we revisit the\ncore feature transformation mechanism in representation learning and propose a\nnovel non-linear robust pattern matching technique as a robust alternative.\nFurthermore, we introduce three model reprogramming paradigms to offer flexible\ncontrol of robustness under different efficiency requirements. Comprehensive\nexperiments and ablation studies across diverse learning models ranging from\nbasic linear model and MLPs to shallow and modern deep ConvNets demonstrate the\neffectiveness of our approaches. This work not only opens a promising and\northogonal direction for improving adversarial defenses in deep learning beyond\nexisting methods but also provides new insights into designing more resilient\nAI systems with robust statistics.\n", "date": "2024-10-06", "categories": []} {"id": "2410.05136", "title": "LOTOS: Layer-wise Orthogonalization for Training Robust Ensembles", "abstract": " Transferability of adversarial examples is a well-known property that\nendangers all classification models, even those that are only accessible\nthrough black-box queries. Prior work has shown that an ensemble of models is\nmore resilient to transferability: the probability that an adversarial example\nis effective against most models of the ensemble is low. Thus, most ongoing\nresearch focuses on improving ensemble diversity. Another line of prior work\nhas shown that Lipschitz continuity of the models can make models more robust\nsince it limits how a model's output changes with small input perturbations. In\nthis paper, we study the effect of Lipschitz continuity on transferability\nrates. We show that although a lower Lipschitz constant increases the\nrobustness of a single model, it is not as beneficial in training robust\nensembles as it increases the transferability rate of adversarial examples\nacross models in the ensemble. Therefore, we introduce LOTOS, a new training\nparadigm for ensembles, which counteracts this adverse effect. It does so by\npromoting orthogonality among the top-$k$ sub-spaces of the transformations of\nthe corresponding affine layers of any pair of models in the ensemble. We\ntheoretically show that $k$ does not need to be large for convolutional layers,\nwhich makes the computational overhead negligible. Through various experiments,\nwe show LOTOS increases the robust accuracy of ensembles of ResNet-18 models by\n$6$ percentage points (p.p) against black-box attacks on CIFAR-10. It is also\ncapable of combining with the robustness of prior state-of-the-art methods for\ntraining robust ensembles to enhance their robust accuracy by $10.7$ p.p.\n", "date": "2024-10-07", "categories": []} {"id": "2410.03376", "title": "Mitigating Adversarial Perturbations for Deep Reinforcement Learning via\n Vector Quantization", "abstract": " Recent studies reveal that well-performing reinforcement learning (RL) agents\nin training often lack resilience against adversarial perturbations during\ndeployment. This highlights the importance of building a robust agent before\ndeploying it in the real world. Most prior works focus on developing robust\ntraining-based procedures to tackle this problem, including enhancing the\nrobustness of the deep neural network component itself or adversarially\ntraining the agent on strong attacks. In this work, we instead study an input\ntransformation-based defense for RL. Specifically, we propose using a variant\nof vector quantization (VQ) as a transformation for input observations, which\nis then used to reduce the space of adversarial attacks during testing,\nresulting in the transformed observations being less affected by attacks. Our\nmethod is computationally efficient and seamlessly integrates with adversarial\ntraining, further enhancing the robustness of RL agents against adversarial\nattacks. Through extensive experiments in multiple environments, we demonstrate\nthat using VQ as the input transformation effectively defends against\nadversarial attacks on the agent's observations.\n", "date": "2024-10-04", "categories": []} {"id": "2410.03658", "title": "RAFT: Realistic Attacks to Fool Text Detectors", "abstract": " Large language models (LLMs) have exhibited remarkable fluency across various\ntasks. However, their unethical applications, such as disseminating\ndisinformation, have become a growing concern. Although recent works have\nproposed a number of LLM detection methods, their robustness and reliability\nremain unclear. In this paper, we present RAFT: a grammar error-free black-box\nattack against existing LLM detectors. In contrast to previous attacks for\nlanguage models, our method exploits the transferability of LLM embeddings at\nthe word-level while preserving the original text quality. We leverage an\nauxiliary embedding to greedily select candidate words to perturb against the\ntarget detector. Experiments reveal that our attack effectively compromises all\ndetectors in the study across various domains by up to 99%, and are\ntransferable across source models. Manual human evaluation studies show our\nattacks are realistic and indistinguishable from original human-written text.\nWe also show that examples generated by RAFT can be used to train adversarially\nrobust detectors. Our work shows that current LLM detectors are not\nadversarially robust, underscoring the urgent need for more resilient detection\nmechanisms.\n", "date": "2024-10-04", "categories": []} {"id": "2310.14637", "title": "Semantic-Aware Adversarial Training for Reliable Deep Hashing Retrieval", "abstract": " Deep hashing has been intensively studied and successfully applied in\nlarge-scale image retrieval systems due to its efficiency and effectiveness.\nRecent studies have recognized that the existence of adversarial examples poses\na security threat to deep hashing models, that is, adversarial vulnerability.\nNotably, it is challenging to efficiently distill reliable semantic\nrepresentatives for deep hashing to guide adversarial learning, and thereby it\nhinders the enhancement of adversarial robustness of deep hashing-based\nretrieval models. Moreover, current researches on adversarial training for deep\nhashing are hard to be formalized into a unified minimax structure. In this\npaper, we explore Semantic-Aware Adversarial Training (SAAT) for improving the\nadversarial robustness of deep hashing models. Specifically, we conceive a\ndiscriminative mainstay features learning (DMFL) scheme to construct semantic\nrepresentatives for guiding adversarial learning in deep hashing. Particularly,\nour DMFL with the strict theoretical guarantee is adaptively optimized in a\ndiscriminative learning manner, where both discriminative and semantic\nproperties are jointly considered. Moreover, adversarial examples are\nfabricated by maximizing the Hamming distance between the hash codes of\nadversarial samples and mainstay features, the efficacy of which is validated\nin the adversarial attack trials. Further, we, for the first time, formulate\nthe formalized adversarial training of deep hashing into a unified minimax\noptimization under the guidance of the generated mainstay codes. Extensive\nexperiments on benchmark datasets show superb attack performance against the\nstate-of-the-art algorithms, meanwhile, the proposed adversarial training can\neffectively eliminate adversarial perturbations for trustworthy deep\nhashing-based retrieval. Our code is available at\nhttps://github.com/xandery-geek/SAAT.\n", "date": "2023-10-23", "categories": []} {"id": "2407.10179", "title": "CLIP-Guided Generative Networks for Transferable Targeted Adversarial\n Attacks", "abstract": " Transferable targeted adversarial attacks aim to mislead models into\noutputting adversary-specified predictions in black-box scenarios. Recent\nstudies have introduced \\textit{single-target} generative attacks that train a\ngenerator for each target class to generate highly transferable perturbations,\nresulting in substantial computational overhead when handling multiple classes.\n\\textit{Multi-target} attacks address this by training only one\nclass-conditional generator for multiple classes. However, the generator simply\nuses class labels as conditions, failing to leverage the rich semantic\ninformation of the target class. To this end, we design a \\textbf{C}LIP-guided\n\\textbf{G}enerative \\textbf{N}etwork with \\textbf{C}ross-attention modules\n(CGNC) to enhance multi-target attacks by incorporating textual knowledge of\nCLIP into the generator. Extensive experiments demonstrate that CGNC yields\nsignificant improvements over previous multi-target generative attacks, e.g., a\n21.46\\% improvement in success rate from ResNet-152 to DenseNet-121. Moreover,\nwe propose a masked fine-tuning mechanism to further strengthen our method in\nattacking a single class, which surpasses existing single-target methods.\n", "date": "2024-07-14", "categories": []} {"id": "2410.02043", "title": "Impact of White-Box Adversarial Attacks on Convolutional Neural Networks", "abstract": " Autonomous vehicle navigation and healthcare diagnostics are among the many\nfields where the reliability and security of machine learning models for image\ndata are critical. We conduct a comprehensive investigation into the\nsusceptibility of Convolutional Neural Networks (CNNs), which are widely used\nfor image data, to white-box adversarial attacks. We investigate the effects of\nvarious sophisticated attacks -- Fast Gradient Sign Method, Basic Iterative\nMethod, Jacobian-based Saliency Map Attack, Carlini & Wagner, Projected\nGradient Descent, and DeepFool -- on CNN performance metrics, (e.g., loss,\naccuracy), the differential efficacy of adversarial techniques in increasing\nerror rates, the relationship between perceived image quality metrics (e.g.,\nERGAS, PSNR, SSIM, and SAM) and classification performance, and the comparative\neffectiveness of iterative versus single-step attacks. Using the MNIST,\nCIFAR-10, CIFAR-100, and Fashio_MNIST datasets, we explore the effect of\ndifferent attacks on the CNNs performance metrics by varying the\nhyperparameters of CNNs. Our study provides insights into the robustness of\nCNNs against adversarial threats, pinpoints vulnerabilities, and underscores\nthe urgent need for developing robust defense mechanisms to protect CNNs and\nensuring their trustworthy deployment in real-world scenarios.\n", "date": "2024-10-02", "categories": []} {"id": "2410.01393", "title": "Signal Adversarial Examples Generation for Signal Detection Network via\n White-Box Attack", "abstract": " With the development and application of deep learning in signal detection\ntasks, the vulnerability of neural networks to adversarial attacks has also\nbecome a security threat to signal detection networks. This paper defines a\nsignal adversarial examples generation model for signal detection network from\nthe perspective of adding perturbations to the signal. The model uses the\ninequality relationship of L2-norm between time domain and time-frequency\ndomain to constrain the energy of signal perturbations. Building upon this\nmodel, we propose a method for generating signal adversarial examples utilizing\ngradient-based attacks and Short-Time Fourier Transform. The experimental\nresults show that under the constraint of signal perturbation energy ratio less\nthan 3%, our adversarial attack resulted in a 28.1% reduction in the mean\nAverage Precision (mAP), a 24.7% reduction in recall, and a 30.4% reduction in\nprecision of the signal detection network. Compared to random noise\nperturbation of equivalent intensity, our adversarial attack demonstrates a\nsignificant attack effect.\n", "date": "2024-10-02", "categories": []} {"id": "2407.17447", "title": "FLRT: Fluent Student-Teacher Redteaming", "abstract": " Many publicly available language models have been safety tuned to reduce the\nlikelihood of toxic or liability-inducing text. To redteam or jailbreak these\nmodels for compliance with toxic requests, users and security analysts have\ndeveloped adversarial prompting techniques. One attack method is to apply\ndiscrete optimization techniques to the prompt. However, the resulting attack\nstrings are often gibberish text, easily filtered by defenders due to high\nmeasured perplexity, and may fail for unseen tasks and/or well-tuned models. In\nthis work, we improve existing algorithms (primarily GCG and BEAST) to develop\npowerful and fluent attacks on safety-tuned models like Llama-2 and Phi-3. Our\ntechnique centers around a new distillation-based approach that encourages the\nvictim model to emulate a toxified finetune, either in terms of output\nprobabilities or internal activations. To encourage human-fluent attacks, we\nadd a multi-model perplexity penalty and a repetition penalty to the objective.\nWe also enhance optimizer strength by allowing token insertions, token swaps,\nand token deletions and by using longer attack sequences. The resulting process\nis able to reliably jailbreak the most difficult target models with prompts\nthat appear similar to human-written prompts. On Advbench we achieve attack\nsuccess rates $>93$% for Llama-2-7B, Llama-3-8B, and Vicuna-7B, while\nmaintaining model-measured perplexity $<33$; we achieve $95$% attack success\nfor Phi-3, though with higher perplexity. We also find a universally-optimized\nsingle fluent prompt that induces $>88$% compliance on previously unseen tasks\nacross Llama-2-7B, Phi-3-mini and Vicuna-7B and transfers to other black-box\nmodels.\n", "date": "2024-07-24", "categories": []} {"id": "2408.09839", "title": "Segment-Anything Models Achieve Zero-shot Robustness in Autonomous\n Driving", "abstract": " Semantic segmentation is a significant perception task in autonomous driving.\nIt suffers from the risks of adversarial examples. In the past few years, deep\nlearning has gradually transitioned from convolutional neural network (CNN)\nmodels with a relatively small number of parameters to foundation models with a\nhuge number of parameters. The segment-anything model (SAM) is a generalized\nimage segmentation framework that is capable of handling various types of\nimages and is able to recognize and segment arbitrary objects in an image\nwithout the need to train on a specific object. It is a unified model that can\nhandle diverse downstream tasks, including semantic segmentation, object\ndetection, and tracking. In the task of semantic segmentation for autonomous\ndriving, it is significant to study the zero-shot adversarial robustness of\nSAM. Therefore, we deliver a systematic empirical study on the robustness of\nSAM without additional training. Based on the experimental results, the\nzero-shot adversarial robustness of the SAM under the black-box corruptions and\nwhite-box adversarial attacks is acceptable, even without the need for\nadditional training. The finding of this study is insightful in that the\ngigantic model parameters and huge amounts of training data lead to the\nphenomenon of emergence, which builds a guarantee of adversarial robustness.\nSAM is a vision foundation model that can be regarded as an early prototype of\nan artificial general intelligence (AGI) pipeline. In such a pipeline, a\nunified model can handle diverse tasks. Therefore, this research not only\ninspects the impact of vision foundation models on safe autonomous driving but\nalso provides a perspective on developing trustworthy AGI. The code is\navailable at: https://github.com/momo1986/robust_sam_iv.\n", "date": "2024-08-19", "categories": []} {"id": "2305.18779", "title": "It begins with a boundary: A geometric view on probabilistically robust\n learning", "abstract": " Although deep neural networks have achieved super-human performance on many\nclassification tasks, they often exhibit a worrying lack of robustness towards\nadversarially generated examples. Thus, considerable effort has been invested\ninto reformulating standard Risk Minimization (RM) into an adversarially robust\nframework. Recently, attention has shifted towards approaches which interpolate\nbetween the robustness offered by adversarial training and the higher clean\naccuracy and faster training times of RM. In this paper, we take a fresh and\ngeometric view on one such method -- Probabilistically Robust Learning (PRL).\nWe propose a mathematical framework for understanding PRL, which allows us to\nidentify geometric pathologies in its original formulation and to introduce a\nfamily of probabilistic nonlocal perimeter functionals to rectify them. We\nprove existence of solutions to the original and modified problems using novel\nrelaxation methods and also study properties, as well as local limits, of the\nintroduced perimeters. We also clarify, through a suitable $\\Gamma$-convergence\nanalysis, the way in which the original and modified PRL models interpolate\nbetween risk minimization and adversarial training.\n", "date": "2023-05-30", "categories": []} {"id": "2309.15669", "title": "On the Computational Entanglement of Distant Features in Adversarial\n Machine Learning", "abstract": " In this research, we introduce the concept of \"computational entanglement,\" a\nphenomenon observed in overparameterized feedforward linear networks that\nenables the network to achieve zero loss by fitting random noise, even on\npreviously unseen test samples. Analyzing this behavior through spacetime\ndiagrams reveals its connection to length contraction, where both training and\ntest samples converge toward a shared normalized point within a flat Riemannian\nmanifold. Moreover, we present a novel application of computational\nentanglement in transforming a worst-case adversarial examples-inputs that are\nhighly non-robust and uninterpretable to human observers-into outputs that are\nboth recognizable and robust. This provides new insights into the behavior of\nnon-robust features in adversarial example generation, underscoring the\ncritical role of computational entanglement in enhancing model robustness and\nadvancing our understanding of neural networks in adversarial contexts.\n", "date": "2023-09-27", "categories": []} {"id": "2312.16907", "title": "DOEPatch: Dynamically Optimized Ensemble Model for Adversarial Patches\n Generation", "abstract": " Object detection is a fundamental task in various applications ranging from\nautonomous driving to intelligent security systems. However, recognition of a\nperson can be hindered when their clothing is decorated with carefully designed\ngraffiti patterns, leading to the failure of object detection. To achieve\ngreater attack potential against unknown black-box models, adversarial patches\ncapable of affecting the outputs of multiple-object detection models are\nrequired. While ensemble models have proven effective, current research in the\nfield of object detection typically focuses on the simple fusion of the outputs\nof all models, with limited attention being given to developing general\nadversarial patches that can function effectively in the physical world. In\nthis paper, we introduce the concept of energy and treat the adversarial\npatches generation process as an optimization of the adversarial patches to\nminimize the total energy of the ``person'' category. Additionally, by adopting\nadversarial training, we construct a dynamically optimized ensemble model.\nDuring training, the weight parameters of the attacked target models are\nadjusted to find the balance point at which the generated adversarial patches\ncan effectively attack all target models. We carried out six sets of\ncomparative experiments and tested our algorithm on five mainstream object\ndetection models. The adversarial patches generated by our algorithm can reduce\nthe recognition accuracy of YOLOv2 and YOLOv3 to 13.19\\% and 29.20\\%,\nrespectively. In addition, we conducted experiments to test the effectiveness\nof T-shirts covered with our adversarial patches in the physical world and\ncould achieve that people are not recognized by the object detection model.\nFinally, leveraging the Grad-CAM tool, we explored the attack mechanism of\nadversarial patches from an energetic perspective.\n", "date": "2023-12-28", "categories": []} {"id": "2405.10924", "title": "Boosting Few-Pixel Robustness Verification via Covering Verification\n Designs", "abstract": " Proving local robustness is crucial to increase the reliability of neural\nnetworks. While many verifiers prove robustness in $L_\\infty$ $\\epsilon$-balls,\nvery little work deals with robustness verification in $L_0$ $\\epsilon$-balls,\ncapturing robustness to few pixel attacks. This verification introduces a\ncombinatorial challenge, because the space of pixels to perturb is discrete and\nof exponential size. A previous work relies on covering designs to identify\nsets for defining $L_\\infty$ neighborhoods, which if proven robust imply that\nthe $L_0$ $\\epsilon$-ball is robust. However, the number of neighborhoods to\nverify remains very high, leading to a high analysis time. We propose covering\nverification designs, a combinatorial design that tailors effective but\nanalysis-incompatible coverings to $L_0$ robustness verification. The challenge\nis that computing a covering verification design introduces a high time and\nmemory overhead, which is intensified in our setting, where multiple candidate\ncoverings are required to identify how to reduce the overall analysis time. We\nintroduce CoVerD, an $L_0$ robustness verifier that selects between different\ncandidate coverings without constructing them, but by predicting their block\nsize distribution. This prediction relies on a theorem providing closed-form\nexpressions for the mean and variance of this distribution. CoVerD constructs\nthe chosen covering verification design on-the-fly, while keeping the memory\nconsumption minimal and enabling to parallelize the analysis. The experimental\nresults show that CoVerD reduces the verification time on average by up to 5.1x\ncompared to prior work and that it scales to larger $L_0$ $\\epsilon$-balls.\n", "date": "2024-05-17", "categories": []} {"id": "2409.19096", "title": "Enhancing Robustness of Graph Neural Networks through p-Laplacian", "abstract": " With the increase of data in day-to-day life, businesses and different\nstakeholders need to analyze the data for better predictions. Traditionally,\nrelational data has been a source of various insights, but with the increase in\ncomputational power and the need to understand deeper relationships between\nentities, the need to design new techniques has arisen. For this graph data\nanalysis has become an extraordinary tool for understanding the data, which\nreveals more realistic and flexible modelling of complex relationships.\nRecently, Graph Neural Networks (GNNs) have shown great promise in various\napplications, such as social network analysis, recommendation systems, drug\ndiscovery, and more. However, many adversarial attacks can happen over the\ndata, whether during training (poisoning attack) or during testing (evasion\nattack), which can adversely manipulate the desired outcome from the GNN model.\nTherefore, it is crucial to make the GNNs robust to such attacks. The existing\nrobustness methods are computationally demanding and perform poorly when the\nintensity of attack increases. This paper presents a computationally efficient\nframework, namely, pLapGNN, based on weighted p-Laplacian for making GNNs\nrobust. Empirical evaluation on real datasets establishes the efficacy and\nefficiency of the proposed method.\n", "date": "2024-09-27", "categories": []} {"id": "2409.19619", "title": "Discerning the Chaos: Detecting Adversarial Perturbations while\n Disentangling Intentional from Unintentional Noises", "abstract": " Deep learning models, such as those used for face recognition and attribute\nprediction, are susceptible to manipulations like adversarial noise and\nunintentional noise, including Gaussian and impulse noise. This paper\nintroduces CIAI, a Class-Independent Adversarial Intent detection network built\non a modified vision transformer with detection layers. CIAI employs a novel\nloss function that combines Maximum Mean Discrepancy and Center Loss to detect\nboth intentional (adversarial attacks) and unintentional noise, regardless of\nthe image class. It is trained in a multi-step fashion. We also introduce the\naspect of intent during detection that can act as an added layer of security.\nWe further showcase the performance of our proposed detector on CelebA,\nCelebA-HQ, LFW, AgeDB, and CIFAR-10 datasets. Our detector is able to detect\nboth intentional (like FGSM, PGD, and DeepFool) and unintentional (like\nGaussian and Salt & Pepper noises) perturbations.\n", "date": "2024-09-29", "categories": []} {"id": "2409.19671", "title": "Nonideality-aware training makes memristive networks more robust to\n adversarial attacks", "abstract": " Neural networks are now deployed in a wide number of areas from object\nclassification to natural language systems. Implementations using analog\ndevices like memristors promise better power efficiency, potentially bringing\nthese applications to a greater number of environments. However, such systems\nsuffer from more frequent device faults and overall, their exposure to\nadversarial attacks has not been studied extensively. In this work, we\ninvestigate how nonideality-aware training - a common technique to deal with\nphysical nonidealities - affects adversarial robustness. We find that\nadversarial robustness is significantly improved, even with limited knowledge\nof what nonidealities will be encountered during test time.\n", "date": "2024-09-29", "categories": []} {"id": "2409.20139", "title": "Characterizing Model Robustness via Natural Input Gradients", "abstract": " Adversarially robust models are locally smooth around each data sample so\nthat small perturbations cannot drastically change model outputs. In modern\nsystems, such smoothness is usually obtained via Adversarial Training, which\nexplicitly enforces models to perform well on perturbed examples. In this work,\nwe show the surprising effectiveness of instead regularizing the gradient with\nrespect to model inputs on natural examples only. Penalizing input Gradient\nNorm is commonly believed to be a much inferior approach. Our analyses identify\nthat the performance of Gradient Norm regularization critically depends on the\nsmoothness of activation functions, and are in fact extremely effective on\nmodern vision transformers that adopt smooth activations over piecewise linear\nones (eg, ReLU), contrary to prior belief. On ImageNet-1k, Gradient Norm\ntraining achieves > 90% the performance of state-of-the-art PGD-3 Adversarial\nTraining} (52% vs.~56%), while using only 60% computation cost of the\nstate-of-the-art without complex adversarial optimization. Our analyses also\nhighlight the relationship between model robustness and properties of natural\ninput gradients, such as asymmetric sample and channel statistics.\nSurprisingly, we find model robustness can be significantly improved by simply\nregularizing its gradients to concentrate on image edges without explicit\nconditioning on the gradient norm.\n", "date": "2024-09-30", "categories": []} {"id": "2206.07282", "title": "Human Eyes Inspired Recurrent Neural Networks are More Robust Against\n Adversarial Noises", "abstract": " Humans actively observe the visual surroundings by focusing on salient\nobjects and ignoring trivial details. However, computer vision models based on\nconvolutional neural networks (CNN) often analyze visual input all at once\nthrough a single feed-forward pass. In this study, we designed a dual-stream\nvision model inspired by the human brain. This model features retina-like input\nlayers and includes two streams: one determining the next point of focus (the\nfixation), while the other interprets the visuals surrounding the fixation.\nTrained on image recognition, this model examines an image through a sequence\nof fixations, each time focusing on different parts, thereby progressively\nbuilding a representation of the image. We evaluated this model against various\nbenchmarks in terms of object recognition, gaze behavior and adversarial\nrobustness. Our findings suggest that the model can attend and gaze in ways\nsimilar to humans without being explicitly trained to mimic human attention,\nand that the model can enhance robustness against adversarial attacks due to\nits retinal sampling and recurrent processing. In particular, the model can\ncorrect its perceptual errors by taking more glances, setting itself apart from\nall feed-forward-only models. In conclusion, the interactions of retinal\nsampling, eye movement, and recurrent dynamics are important to human-like\nvisual exploration and inference.\n", "date": "2022-06-15", "categories": []} {"id": "2310.00503", "title": "Black-box Attacks on Image Activity Prediction and its Natural Language\n Explanations", "abstract": " Explainable AI (XAI) methods aim to describe the decision process of deep\nneural networks. Early XAI methods produced visual explanations, whereas more\nrecent techniques generate multimodal explanations that include textual\ninformation and visual representations. Visual XAI methods have been shown to\nbe vulnerable to white-box and gray-box adversarial attacks, with an attacker\nhaving full or partial knowledge of and access to the target system. As the\nvulnerabilities of multimodal XAI models have not been examined, in this paper\nwe assess for the first time the robustness to black-box attacks of the natural\nlanguage explanations generated by a self-rationalizing image-based activity\nrecognition model. We generate unrestricted, spatially variant perturbations\nthat disrupt the association between the predictions and the corresponding\nexplanations to mislead the model into generating unfaithful explanations. We\nshow that we can create adversarial images that manipulate the explanations of\nan activity recognition model by having access only to its final output.\n", "date": "2023-09-30", "categories": []} {"id": "2408.03944", "title": "Improving Fast Adversarial Training Paradigm: An Example Taxonomy\n Perspective", "abstract": " While adversarial training is an effective defense method against adversarial\nattacks, it notably increases the training cost. To this end, fast adversarial\ntraining (FAT) is presented for efficient training and has become a hot\nresearch topic. However, FAT suffers from catastrophic overfitting, which leads\nto a performance drop compared with multi-step adversarial training. However,\nthe cause of catastrophic overfitting remains unclear and lacks exploration. In\nthis paper, we present an example taxonomy in FAT, which identifies that\ncatastrophic overfitting is caused by the imbalance between the inner and outer\noptimization in FAT. Furthermore, we investigated the impact of varying degrees\nof training loss, revealing a correlation between training loss and\ncatastrophic overfitting. Based on these observations, we redesign the loss\nfunction in FAT with the proposed dynamic label relaxation to concentrate the\nloss range and reduce the impact of misclassified examples. Meanwhile, we\nintroduce batch momentum initialization to enhance the diversity to prevent\ncatastrophic overfitting in an efficient manner. Furthermore, we also propose\nCatastrophic Overfitting aware Loss Adaptation (COLA), which employs a separate\ntraining strategy for examples based on their loss degree. Our proposed method,\nnamed example taxonomy aware FAT (ETA), establishes an improved paradigm for\nFAT. Experiment results demonstrate our ETA achieves state-of-the-art\nperformance. Comprehensive experiments on four standard datasets demonstrate\nthe competitiveness of our proposed method.\n", "date": "2024-07-22", "categories": []} {"id": "2409.17403", "title": "Transient Adversarial 3D Projection Attacks on Object Detection in\n Autonomous Driving", "abstract": " Object detection is a crucial task in autonomous driving. While existing\nresearch has proposed various attacks on object detection, such as those using\nadversarial patches or stickers, the exploration of projection attacks on 3D\nsurfaces remains largely unexplored. Compared to adversarial patches or\nstickers, which have fixed adversarial patterns, projection attacks allow for\ntransient modifications to these patterns, enabling a more flexible attack. In\nthis paper, we introduce an adversarial 3D projection attack specifically\ntargeting object detection in autonomous driving scenarios. We frame the attack\nformulation as an optimization problem, utilizing a combination of color\nmapping and geometric transformation models. Our results demonstrate the\neffectiveness of the proposed attack in deceiving YOLOv3 and Mask R-CNN in\nphysical settings. Evaluations conducted in an indoor environment show an\nattack success rate of up to 100% under low ambient light conditions,\nhighlighting the potential damage of our attack in real-world driving\nscenarios.\n", "date": "2024-09-25", "categories": []} {"id": "2409.17589", "title": "Improving Fast Adversarial Training via Self-Knowledge Guidance", "abstract": " Adversarial training has achieved remarkable advancements in defending\nagainst adversarial attacks. Among them, fast adversarial training (FAT) is\ngaining attention for its ability to achieve competitive robustness with fewer\ncomputing resources. Existing FAT methods typically employ a uniform strategy\nthat optimizes all training data equally without considering the influence of\ndifferent examples, which leads to an imbalanced optimization. However, this\nimbalance remains unexplored in the field of FAT. In this paper, we conduct a\ncomprehensive study of the imbalance issue in FAT and observe an obvious class\ndisparity regarding their performances. This disparity could be embodied from a\nperspective of alignment between clean and robust accuracy. Based on the\nanalysis, we mainly attribute the observed misalignment and disparity to the\nimbalanced optimization in FAT, which motivates us to optimize different\ntraining data adaptively to enhance robustness. Specifically, we take disparity\nand misalignment into consideration. First, we introduce self-knowledge guided\nregularization, which assigns differentiated regularization weights to each\nclass based on its training state, alleviating class disparity. Additionally,\nwe propose self-knowledge guided label relaxation, which adjusts label\nrelaxation according to the training accuracy, alleviating the misalignment and\nimproving robustness. By combining these methods, we formulate the\nSelf-Knowledge Guided FAT (SKG-FAT), leveraging naturally generated knowledge\nduring training to enhance the adversarial robustness without compromising\ntraining efficiency. Extensive experiments on four standard datasets\ndemonstrate that the SKG-FAT improves the robustness and preserves competitive\nclean accuracy, outperforming the state-of-the-art methods.\n", "date": "2024-09-26", "categories": []} {"id": "2409.17874", "title": "DarkSAM: Fooling Segment Anything Model to Segment Nothing", "abstract": " Segment Anything Model (SAM) has recently gained much attention for its\noutstanding generalization to unseen data and tasks. Despite its promising\nprospect, the vulnerabilities of SAM, especially to universal adversarial\nperturbation (UAP) have not been thoroughly investigated yet. In this paper, we\npropose DarkSAM, the first prompt-free universal attack framework against SAM,\nincluding a semantic decoupling-based spatial attack and a texture\ndistortion-based frequency attack. We first divide the output of SAM into\nforeground and background. Then, we design a shadow target strategy to obtain\nthe semantic blueprint of the image as the attack target. DarkSAM is dedicated\nto fooling SAM by extracting and destroying crucial object features from images\nin both spatial and frequency domains. In the spatial domain, we disrupt the\nsemantics of both the foreground and background in the image to confuse SAM. In\nthe frequency domain, we further enhance the attack effectiveness by distorting\nthe high-frequency components (i.e., texture information) of the image.\nConsequently, with a single UAP, DarkSAM renders SAM incapable of segmenting\nobjects across diverse images with varying prompts. Experimental results on\nfour datasets for SAM and its two variant models demonstrate the powerful\nattack capability and transferability of DarkSAM.\n", "date": "2024-09-26", "categories": []} {"id": "2409.17963", "title": "CNCA: Toward Customizable and Natural Generation of Adversarial\n Camouflage for Vehicle Detectors", "abstract": " Prior works on physical adversarial camouflage against vehicle detectors\nmainly focus on the effectiveness and robustness of the attack. The current\nmost successful methods optimize 3D vehicle texture at a pixel level. However,\nthis results in conspicuous and attention-grabbing patterns in the generated\ncamouflage, which humans can easily identify. To address this issue, we propose\na Customizable and Natural Camouflage Attack (CNCA) method by leveraging an\noff-the-shelf pre-trained diffusion model. By sampling the optimal texture\nimage from the diffusion model with a user-specific text prompt, our method can\ngenerate natural and customizable adversarial camouflage while maintaining high\nattack performance. With extensive experiments on the digital and physical\nworlds and user studies, the results demonstrate that our proposed method can\ngenerate significantly more natural-looking camouflage than the\nstate-of-the-art baselines while achieving competitive attack performance. Our\ncode is available at\n\\href{https://anonymous.4open.science/r/CNCA-1D54}{https://anonymous.4open.science/r/CNCA-1D54}\n", "date": "2024-09-26", "categories": []} {"id": "2409.17977", "title": "Cross-Modality Attack Boosted by Gradient-Evolutionary Multiform\n Optimization", "abstract": " In recent years, despite significant advancements in adversarial attack\nresearch, the security challenges in cross-modal scenarios, such as the\ntransferability of adversarial attacks between infrared, thermal, and RGB\nimages, have been overlooked. These heterogeneous image modalities collected by\ndifferent hardware devices are widely prevalent in practical applications, and\nthe substantial differences between modalities pose significant challenges to\nattack transferability. In this work, we explore a novel cross-modal\nadversarial attack strategy, termed multiform attack. We propose a dual-layer\noptimization framework based on gradient-evolution, facilitating efficient\nperturbation transfer between modalities. In the first layer of optimization,\nthe framework utilizes image gradients to learn universal perturbations within\neach modality and employs evolutionary algorithms to search for shared\nperturbations with transferability across different modalities through\nsecondary optimization. Through extensive testing on multiple heterogeneous\ndatasets, we demonstrate the superiority and robustness of Multiform Attack\ncompared to existing techniques. This work not only enhances the\ntransferability of cross-modal adversarial attacks but also provides a new\nperspective for understanding security vulnerabilities in cross-modal systems.\n", "date": "2024-09-26", "categories": []} {"id": "2409.02485", "title": "Adversarial Attacks on Machine Learning-Aided Visualizations", "abstract": " Research in ML4VIS investigates how to use machine learning (ML) techniques\nto generate visualizations, and the field is rapidly growing with high societal\nimpact. However, as with any computational pipeline that employs ML processes,\nML4VIS approaches are susceptible to a range of ML-specific adversarial\nattacks. These attacks can manipulate visualization generations, causing\nanalysts to be tricked and their judgments to be impaired. Due to a lack of\nsynthesis from both visualization and ML perspectives, this security aspect is\nlargely overlooked by the current ML4VIS literature. To bridge this gap, we\ninvestigate the potential vulnerabilities of ML-aided visualizations from\nadversarial attacks using a holistic lens of both visualization and ML\nperspectives. We first identify the attack surface (i.e., attack entry points)\nthat is unique in ML-aided visualizations. We then exemplify five different\nadversarial attacks. These examples highlight the range of possible attacks\nwhen considering the attack surface and multiple different adversary\ncapabilities. Our results show that adversaries can induce various attacks,\nsuch as creating arbitrary and deceptive visualizations, by systematically\nidentifying input attributes that are influential in ML inferences. Based on\nour observations of the attack surface characteristics and the attack examples,\nwe underline the importance of comprehensive studies of security issues and\ndefense mechanisms as a call of urgency for the ML4VIS community.\n", "date": "2024-09-04", "categories": []} {"id": "2409.06793", "title": "Adversarial Attacks to Multi-Modal Models", "abstract": " Multi-modal models have gained significant attention due to their powerful\ncapabilities. These models effectively align embeddings across diverse data\nmodalities, showcasing superior performance in downstream tasks compared to\ntheir unimodal counterparts. Recent study showed that the attacker can\nmanipulate an image or audio file by altering it in such a way that its\nembedding matches that of an attacker-chosen targeted input, thereby deceiving\ndownstream models. However, this method often underperforms due to inherent\ndisparities in data from different modalities. In this paper, we introduce\nCrossFire, an innovative approach to attack multi-modal models. CrossFire\nbegins by transforming the targeted input chosen by the attacker into a format\nthat matches the modality of the original image or audio file. We then\nformulate our attack as an optimization problem, aiming to minimize the angular\ndeviation between the embeddings of the transformed input and the modified\nimage or audio file. Solving this problem determines the perturbations to be\nadded to the original media. Our extensive experiments on six real-world\nbenchmark datasets reveal that CrossFire can significantly manipulate\ndownstream tasks, surpassing existing attacks. Additionally, we evaluate six\ndefensive strategies against CrossFire, finding that current defenses are\ninsufficient to counteract our CrossFire.\n", "date": "2024-09-10", "categories": []} {"id": "2409.15381", "title": "Adversarial Attacks on Parts of Speech: An Empirical Study in\n Text-to-Image Generation", "abstract": " Recent studies show that text-to-image (T2I) models are vulnerable to\nadversarial attacks, especially with noun perturbations in text prompts. In\nthis study, we investigate the impact of adversarial attacks on different POS\ntags within text prompts on the images generated by T2I models. We create a\nhigh-quality dataset for realistic POS tag token swapping and perform\ngradient-based attacks to find adversarial suffixes that mislead T2I models\ninto generating images with altered tokens. Our empirical results show that the\nattack success rate (ASR) varies significantly among different POS tag\ncategories, with nouns, proper nouns, and adjectives being the easiest to\nattack. We explore the mechanism behind the steering effect of adversarial\nsuffixes, finding that the number of critical tokens and content fusion vary\namong POS tags, while features like suffix transferability are consistent\nacross categories. We have made our implementation publicly available at -\nhttps://github.com/shahariar-shibli/Adversarial-Attack-on-POS-Tags.\n", "date": "2024-09-21", "categories": []} {"id": "2311.08598", "title": "$DA^3$: A Distribution-Aware Adversarial Attack against Language Models", "abstract": " Language models can be manipulated by adversarial attacks, which introduce\nsubtle perturbations to input data. While recent attack methods can achieve a\nrelatively high attack success rate (ASR), we've observed that the generated\nadversarial examples have a different data distribution compared with the\noriginal examples. Specifically, these adversarial examples exhibit reduced\nconfidence levels and greater divergence from the training data distribution.\nConsequently, they are easy to detect using straightforward detection methods,\ndiminishing the efficacy of such attacks. To address this issue, we propose a\nDistribution-Aware Adversarial Attack ($DA^3$) method. $DA^3$ considers the\ndistribution shifts of adversarial examples to improve attacks' effectiveness\nunder detection methods. We further design a novel evaluation metric, the\nNon-detectable Attack Success Rate (NASR), which integrates both ASR and\ndetectability for the attack task. We conduct experiments on four widely used\ndatasets to validate the attack effectiveness and transferability of\nadversarial examples generated by $DA^3$ against both the white-box BERT-base\nand RoBERTa-base models and the black-box LLaMA2-7b model.\n", "date": "2023-11-14", "categories": []} {"id": "2402.06827", "title": "RAMP: Boosting Adversarial Robustness Against Multiple $l_p$\n Perturbations for Universal Robustness", "abstract": " Most existing works focus on improving robustness against adversarial attacks\nbounded by a single $l_p$ norm using adversarial training (AT). However, these\nAT models' multiple-norm robustness (union accuracy) is still low, which is\ncrucial since in the real-world an adversary is not necessarily bounded by a\nsingle norm. The tradeoffs among robustness against multiple $l_p$\nperturbations and accuracy/robustness make obtaining good union and clean\naccuracy challenging. We design a logit pairing loss to improve the union\naccuracy by analyzing the tradeoffs from the lens of distribution shifts. We\nconnect natural training (NT) with AT via gradient projection, to incorporate\nuseful information from NT into AT, where we empirically and theoretically show\nit moderates the accuracy/robustness tradeoff. We propose a novel training\nframework \\textbf{RAMP}, to boost the robustness against multiple $l_p$\nperturbations. \\textbf{RAMP} can be easily adapted for robust fine-tuning and\nfull AT. For robust fine-tuning, \\textbf{RAMP} obtains a union accuracy up to\n$53.3\\%$ on CIFAR-10, and $29.1\\%$ on ImageNet. For training from scratch,\n\\textbf{RAMP} achieves a union accuracy of $44.6\\%$ and good clean accuracy of\n$81.2\\%$ on ResNet-18 against AutoAttack on CIFAR-10. Beyond multi-norm\nrobustness \\textbf{RAMP}-trained models achieve superior \\textit{universal\nrobustness}, effectively generalizing against a range of unseen adversaries and\nnatural corruptions.\n", "date": "2024-02-09", "categories": []} {"id": "2402.14899", "title": "Stop Reasoning! When Multimodal LLM with Chain-of-Thought Reasoning\n Meets Adversarial Image", "abstract": " Multimodal LLMs (MLLMs) with a great ability of text and image understanding\nhave received great attention. To achieve better reasoning with MLLMs,\nChain-of-Thought (CoT) reasoning has been widely explored, which further\npromotes MLLMs' explainability by giving intermediate reasoning steps. Despite\nthe strong power demonstrated by MLLMs in multimodal reasoning, recent studies\nshow that MLLMs still suffer from adversarial images. This raises the following\nopen questions: Does CoT also enhance the adversarial robustness of MLLMs? What\ndo the intermediate reasoning steps of CoT entail under adversarial attacks? To\nanswer these questions, we first generalize existing attacks to CoT-based\ninferences by attacking the two main components, i.e., rationale and answer. We\nfind that CoT indeed improves MLLMs' adversarial robustness against the\nexisting attack methods by leveraging the multi-step reasoning process, but not\nsubstantially. Based on our findings, we further propose a novel attack method,\ntermed as stop-reasoning attack, that attacks the model while bypassing the CoT\nreasoning process. Experiments on three MLLMs and two visual reasoning datasets\nverify the effectiveness of our proposed method. We show that stop-reasoning\nattack can result in misled predictions and outperform baseline attacks by a\nsignificant margin.\n", "date": "2024-02-22", "categories": []} {"id": "2409.13828", "title": "ViTGuard: Attention-aware Detection against Adversarial Examples for\n Vision Transformer", "abstract": " The use of transformers for vision tasks has challenged the traditional\ndominant role of convolutional neural networks (CNN) in computer vision (CV).\nFor image classification tasks, Vision Transformer (ViT) effectively\nestablishes spatial relationships between patches within images, directing\nattention to important areas for accurate predictions. However, similar to\nCNNs, ViTs are vulnerable to adversarial attacks, which mislead the image\nclassifier into making incorrect decisions on images with carefully designed\nperturbations. Moreover, adversarial patch attacks, which introduce arbitrary\nperturbations within a small area, pose a more serious threat to ViTs. Even\nworse, traditional detection methods, originally designed for CNN models, are\nimpractical or suffer significant performance degradation when applied to ViTs,\nand they generally overlook patch attacks.\n In this paper, we propose ViTGuard as a general detection method for\ndefending ViT models against adversarial attacks, including typical attacks\nwhere perturbations spread over the entire input and patch attacks. ViTGuard\nuses a Masked Autoencoder (MAE) model to recover randomly masked patches from\nthe unmasked regions, providing a flexible image reconstruction strategy. Then,\nthreshold-based detectors leverage distinctive ViT features, including\nattention maps and classification (CLS) token representations, to distinguish\nbetween normal and adversarial samples. The MAE model does not involve any\nadversarial samples during training, ensuring the effectiveness of our\ndetectors against unseen attacks. ViTGuard is compared with seven existing\ndetection methods under nine attacks across three datasets. The evaluation\nresults show the superiority of ViTGuard over existing detectors. Finally,\nconsidering the potential detection evasion, we further demonstrate ViTGuard's\nrobustness against adaptive attacks for evasion.\n", "date": "2024-09-20", "categories": []} {"id": "2409.14240", "title": "Cloud Adversarial Example Generation for Remote Sensing Image\n Classification", "abstract": " Most existing adversarial attack methods for remote sensing images merely add\nadversarial perturbations or patches, resulting in unnatural modifications.\nClouds are common atmospheric effects in remote sensing images. Generating\nclouds on these images can produce adversarial examples better aligning with\nhuman perception. In this paper, we propose a Perlin noise based cloud\ngeneration attack method. Common Perlin noise based cloud generation is a\nrandom, non-optimizable process, which cannot be directly used to attack the\ntarget models. We design a Perlin Gradient Generator Network (PGGN), which\ntakes a gradient parameter vector as input and outputs the grids of Perlin\nnoise gradient vectors at different scales. After a series of computations\nbased on the gradient vectors, cloud masks at corresponding scales can be\nproduced. These cloud masks are then weighted and summed depending on a mixing\ncoefficient vector and a scaling factor to produce the final cloud masks. The\ngradient vector, coefficient vector and scaling factor are collectively\nrepresented as a cloud parameter vector, transforming the cloud generation into\na black-box optimization problem. The Differential Evolution (DE) algorithm is\nemployed to solve for the optimal solution of the cloud parameter vector,\nachieving a query-based black-box attack. Detailed experiments confirm that\nthis method has strong attack capabilities and achieves high query efficiency.\nAdditionally, we analyze the transferability of the generated adversarial\nexamples and their robustness in adversarial defense scenarios.\n", "date": "2024-09-21", "categories": []} {"id": "2409.14940", "title": "Improving Adversarial Robustness for 3D Point Cloud Recognition at\n Test-Time through Purified Self-Training", "abstract": " Recognizing 3D point cloud plays a pivotal role in many real-world\napplications. However, deploying 3D point cloud deep learning model is\nvulnerable to adversarial attacks. Despite many efforts into developing robust\nmodel by adversarial training, they may become less effective against emerging\nattacks. This limitation motivates the development of adversarial purification\nwhich employs generative model to mitigate the impact of adversarial attacks.\nIn this work, we highlight the remaining challenges from two perspectives.\nFirst, the purification based method requires retraining the classifier on\npurified samples which introduces additional computation overhead. Moreover, in\na more realistic scenario, testing samples arrives in a streaming fashion and\nadversarial samples are not isolated from clean samples. These challenges\nmotivates us to explore dynamically update model upon observing testing\nsamples. We proposed a test-time purified self-training strategy to achieve\nthis objective. Adaptive thresholding and feature distribution alignment are\nintroduced to improve the robustness of self-training. Extensive results on\ndifferent adversarial attacks suggest the proposed method is complementary to\npurification based method in handling continually changing adversarial attacks\non the testing data stream.\n", "date": "2024-09-23", "categories": []} {"id": "2409.15190", "title": "Interpretability-Guided Test-Time Adversarial Defense", "abstract": " We propose a novel and low-cost test-time adversarial defense by devising\ninterpretability-guided neuron importance ranking methods to identify neurons\nimportant to the output classes. Our method is a training-free approach that\ncan significantly improve the robustness-accuracy tradeoff while incurring\nminimal computational overhead. While being among the most efficient test-time\ndefenses (4x faster), our method is also robust to a wide range of black-box,\nwhite-box, and adaptive attacks that break previous test-time defenses. We\ndemonstrate the efficacy of our method for CIFAR10, CIFAR100, and ImageNet-1k\non the standard RobustBench benchmark (with average gains of 2.6%, 4.9%, and\n2.8% respectively). We also show improvements (average 1.5%) over the\nstate-of-the-art test-time defenses even under strong adaptive attacks.\n", "date": "2024-09-23", "categories": []} {"id": "2408.12673", "title": "Enhancing Transferability of Adversarial Attacks with GE-AdvGAN+: A\n Comprehensive Framework for Gradient Editing", "abstract": " Transferable adversarial attacks pose significant threats to deep neural\nnetworks, particularly in black-box scenarios where internal model information\nis inaccessible. Studying adversarial attack methods helps advance the\nperformance of defense mechanisms and explore model vulnerabilities. These\nmethods can uncover and exploit weaknesses in models, promoting the development\nof more robust architectures. However, current methods for transferable attacks\noften come with substantial computational costs, limiting their deployment and\napplication, especially in edge computing scenarios. Adversarial generative\nmodels, such as Generative Adversarial Networks (GANs), are characterized by\ntheir ability to generate samples without the need for retraining after an\ninitial training phase. GE-AdvGAN, a recent method for transferable adversarial\nattacks, is based on this principle. In this paper, we propose a novel general\nframework for gradient editing-based transferable attacks, named GE-AdvGAN+,\nwhich integrates nearly all mainstream attack methods to enhance\ntransferability while significantly reducing computational resource\nconsumption. Our experiments demonstrate the compatibility and effectiveness of\nour framework. Compared to the baseline AdvGAN, our best-performing method,\nGE-AdvGAN++, achieves an average ASR improvement of 47.8. Additionally, it\nsurpasses the latest competing algorithm, GE-AdvGAN, with an average ASR\nincrease of 5.9. The framework also exhibits enhanced computational efficiency,\nachieving 2217.7 FPS, outperforming traditional methods such as BIM and\nMI-FGSM. The implementation code for our GE-AdvGAN+ framework is available at\nhttps://github.com/GEAdvGANP\n", "date": "2024-08-22", "categories": []} {"id": "2409.12997", "title": "VCAT: Vulnerability-aware and Curiosity-driven Adversarial Training for\n Enhancing Autonomous Vehicle Robustness", "abstract": " Autonomous vehicles (AVs) face significant threats to their safe operation in\ncomplex traffic environments. Adversarial training has emerged as an effective\nmethod of enabling AVs to preemptively fortify their robustness against\nmalicious attacks. Train an attacker using an adversarial policy, allowing the\nAV to learn robust driving through interaction with this attacker. However,\nadversarial policies in existing methodologies often get stuck in a loop of\noverexploiting established vulnerabilities, resulting in poor improvement for\nAVs. To overcome the limitations, we introduce a pioneering framework termed\nVulnerability-aware and Curiosity-driven Adversarial Training (VCAT).\nSpecifically, during the traffic vehicle attacker training phase, a surrogate\nnetwork is employed to fit the value function of the AV victim, providing dense\ninformation about the victim's inherent vulnerabilities. Subsequently, random\nnetwork distillation is used to characterize the novelty of the environment,\nconstructing an intrinsic reward to guide the attacker in exploring unexplored\nterritories. In the victim defense training phase, the AV is trained in\ncritical scenarios in which the pretrained attacker is positioned around the\nvictim to generate attack behaviors. Experimental results revealed that the\ntraining methodology provided by VCAT significantly improved the robust control\ncapabilities of learning-based AVs, outperforming both conventional training\nmodalities and alternative reinforcement learning counterparts, with a marked\nreduction in crash rates. The code is available at\nhttps://github.com/caixxuan/VCAT.\n", "date": "2024-09-19", "categories": []} {"id": "2409.13546", "title": "Certified Adversarial Robustness via Partition-based Randomized\n Smoothing", "abstract": " A reliable application of deep neural network classifiers requires robustness\ncertificates against adversarial perturbations. Gaussian smoothing is a widely\nanalyzed approach to certifying robustness against norm-bounded perturbations,\nwhere the certified prediction radius depends on the variance of the Gaussian\nnoise and the confidence level of the neural net's prediction under the\nadditive Gaussian noise. However, in application to high-dimensional image\ndatasets, the certified radius of the plain Gaussian smoothing could be\nrelatively small, since Gaussian noise with high variances can significantly\nharm the visibility of an image. In this work, we propose the Pixel\nPartitioning-based Randomized Smoothing (PPRS) methodology to boost the neural\nnet's confidence score and thus the robustness radius of the certified\nprediction. We demonstrate that the proposed PPRS algorithm improves the\nvisibility of the images under additive Gaussian noise. We discuss the\nnumerical results of applying PPRS to standard computer vision datasets and\nneural network architectures. Our empirical findings indicate a considerable\nimprovement in the certified accuracy and stability of the prediction model to\nthe additive Gaussian noise in randomized smoothing.\n", "date": "2024-09-20", "categories": []} {"id": "2212.06431", "title": "Object-fabrication Targeted Attack for Object Detection", "abstract": " Recent studies have demonstrated that object detection networks are usually\nvulnerable to adversarial examples. Generally, adversarial attacks for object\ndetection can be categorized into targeted and untargeted attacks. Compared\nwith untargeted attacks, targeted attacks present greater challenges and all\nexisting targeted attack methods launch the attack by misleading detectors to\nmislabel the detected object as a specific wrong label. However, since these\nmethods must depend on the presence of the detected objects within the victim\nimage, they suffer from limitations in attack scenarios and attack success\nrates. In this paper, we propose a targeted feature space attack method that\ncan mislead detectors to `fabricate' extra designated objects regardless of\nwhether the victim image contains objects or not. Specifically, we introduce a\nguided image to extract coarse-grained features of the target objects and\ndesign an innovative dual attention mechanism to filter out the critical\nfeatures of the target objects efficiently. The attack performance of the\nproposed method is evaluated on MS COCO and BDD100K datasets with FasterRCNN\nand YOLOv5. Evaluation results indicate that the proposed targeted feature\nspace attack method shows significant improvements in terms of image-specific,\nuniversality, and generalization attack performance, compared with the previous\ntargeted attack for object detection.\n", "date": "2022-12-13", "categories": []} {"id": "2308.11406", "title": "Designing an attack-defense game: how to increase robustness of\n financial transaction models via a competition", "abstract": " Banks routinely use neural networks to make decisions. While these models\noffer higher accuracy, they are susceptible to adversarial attacks, a risk\noften overlooked in the context of event sequences, particularly sequences of\nfinancial transactions, as most works consider computer vision and NLP\nmodalities.\n We propose a thorough approach to studying these risks: a novel type of\ncompetition that allows a realistic and detailed investigation of problems in\nfinancial transaction data. The participants directly oppose each other,\nproposing attacks and defenses -- so they are examined in close-to-real-life\nconditions.\n The paper outlines our unique competition structure with direct opposition of\nparticipants, presents results for several different top submissions, and\nanalyzes the competition results. We also introduce a new open dataset\nfeaturing financial transactions with credit default labels, enhancing the\nscope for practical research and development.\n", "date": "2023-08-22", "categories": []} {"id": "2409.02802", "title": "Boosting Certified Robustness for Time Series Classification with\n Efficient Self-Ensemble", "abstract": " Recently, the issue of adversarial robustness in the time series domain has\ngarnered significant attention. However, the available defense mechanisms\nremain limited, with adversarial training being the predominant approach,\nthough it does not provide theoretical guarantees. Randomized Smoothing has\nemerged as a standout method due to its ability to certify a provable lower\nbound on robustness radius under $\\ell_p$-ball attacks. Recognizing its\nsuccess, research in the time series domain has started focusing on these\naspects. However, existing research predominantly focuses on time series\nforecasting, or under the non-$\\ell_p$ robustness in statistic feature\naugmentation for time series classification~(TSC). Our review found that\nRandomized Smoothing performs modestly in TSC, struggling to provide effective\nassurances on datasets with poor robustness. Therefore, we propose a\nself-ensemble method to enhance the lower bound of the probability confidence\nof predicted labels by reducing the variance of classification margins, thereby\ncertifying a larger radius. This approach also addresses the computational\noverhead issue of Deep Ensemble~(DE) while remaining competitive and, in some\ncases, outperforming it in terms of robustness. Both theoretical analysis and\nexperimental results validate the effectiveness of our method, demonstrating\nsuperior performance in robustness testing compared to baseline approaches.\n", "date": "2024-09-04", "categories": []} {"id": "2409.12379", "title": "Enhancing 3D Robotic Vision Robustness by Minimizing Adversarial Mutual\n Information through a Curriculum Training Approach", "abstract": " Adversarial attacks exploit vulnerabilities in a model's decision boundaries\nthrough small, carefully crafted perturbations that lead to significant\nmispredictions. In 3D vision, the high dimensionality and sparsity of data\ngreatly expand the attack surface, making 3D vision particularly vulnerable for\nsafety-critical robotics. To enhance 3D vision's adversarial robustness, we\npropose a training objective that simultaneously minimizes prediction loss and\nmutual information (MI) under adversarial perturbations to contain the upper\nbound of misprediction errors. This approach simplifies handling adversarial\nexamples compared to conventional methods, which require explicit searching and\ntraining on adversarial samples. However, minimizing prediction loss conflicts\nwith minimizing MI, leading to reduced robustness and catastrophic forgetting.\nTo address this, we integrate curriculum advisors in the training setup that\ngradually introduce adversarial objectives to balance training and prevent\nmodels from being overwhelmed by difficult cases early in the process. The\nadvisors also enhance robustness by encouraging training on diverse MI examples\nthrough entropy regularizers. We evaluated our method on ModelNet40 and KITTI\nusing PointNet, DGCNN, SECOND, and PointTransformers, achieving 2-5% accuracy\ngains on ModelNet40 and a 5-10% mAP improvement in object detection. Our code\nis publicly available at https://github.com/nstrndrbi/Mine-N-Learn.\n", "date": "2024-09-19", "categories": []} {"id": "2409.12472", "title": "TEAM: Temporal Adversarial Examples Attack Model against Network\n Intrusion Detection System Applied to RNN", "abstract": " With the development of artificial intelligence, neural networks play a key\nrole in network intrusion detection systems (NIDS). Despite the tremendous\nadvantages, neural networks are susceptible to adversarial attacks. To improve\nthe reliability of NIDS, many research has been conducted and plenty of\nsolutions have been proposed. However, the existing solutions rarely consider\nthe adversarial attacks against recurrent neural networks (RNN) with time\nsteps, which would greatly affect the application of NIDS in real world.\nTherefore, we first propose a novel RNN adversarial attack model based on\nfeature reconstruction called \\textbf{T}emporal adversarial \\textbf{E}xamples\n\\textbf{A}ttack \\textbf{M}odel \\textbf{(TEAM)}, which applied to time series\ndata and reveals the potential connection between adversarial and time steps in\nRNN. That is, the past adversarial examples within the same time steps can\ntrigger further attacks on current or future original examples. Moreover, TEAM\nleverages Time Dilation (TD) to effectively mitigates the effect of temporal\namong adversarial examples within the same time steps. Experimental results\nshow that in most attack categories, TEAM improves the misjudgment rate of NIDS\non both black and white boxes, making the misjudgment rate reach more than\n96.68%. Meanwhile, the maximum increase in the misjudgment rate of the NIDS for\nsubsequent original samples exceeds 95.57%.\n", "date": "2024-09-19", "categories": []} {"id": "2409.12642", "title": "Deep generative models as an adversarial attack strategy for tabular\n machine learning", "abstract": " Deep Generative Models (DGMs) have found application in computer vision for\ngenerating adversarial examples to test the robustness of machine learning (ML)\nsystems. Extending these adversarial techniques to tabular ML presents unique\nchallenges due to the distinct nature of tabular data and the necessity to\npreserve domain constraints in adversarial examples. In this paper, we adapt\nfour popular tabular DGMs into adversarial DGMs (AdvDGMs) and evaluate their\neffectiveness in generating realistic adversarial examples that conform to\ndomain constraints.\n", "date": "2024-09-19", "categories": []} {"id": "2409.12946", "title": "Revisiting Semi-supervised Adversarial Robustness via Noise-aware Online\n Robust Distillation", "abstract": " The robust self-training (RST) framework has emerged as a prominent approach\nfor semi-supervised adversarial training. To explore the possibility of\ntackling more complicated tasks with even lower labeling budgets, unlike prior\napproaches that rely on robust pretrained models, we present SNORD - a simple\nyet effective framework that introduces contemporary semi-supervised learning\ntechniques into the realm of adversarial training. By enhancing pseudo labels\nand managing noisy training data more effectively, SNORD showcases impressive,\nstate-of-the-art performance across diverse datasets and labeling budgets, all\nwithout the need for pretrained models. Compared to full adversarial\nsupervision, SNORD achieves a 90% relative robust accuracy under epsilon =\n8/255 AutoAttack, requiring less than 0.1%, 2%, and 10% labels for CIFAR-10,\nCIFAR-100, and TinyImageNet-200, respectively. Additional experiments confirm\nthe efficacy of each component and demonstrate the adaptability of integrating\nSNORD with existing adversarial pretraining strategies to further bolster\nrobustness.\n", "date": "2024-09-19", "categories": []} {"id": "2309.00236", "title": "Image Hijacks: Adversarial Images can Control Generative Models at\n Runtime", "abstract": " Are foundation models secure against malicious actors? In this work, we focus\non the image input to a vision-language model (VLM). We discover image hijacks,\nadversarial images that control the behaviour of VLMs at inference time, and\nintroduce the general Behaviour Matching algorithm for training image hijacks.\nFrom this, we derive the Prompt Matching method, allowing us to train hijacks\nmatching the behaviour of an arbitrary user-defined text prompt (e.g. 'the\nEiffel Tower is now located in Rome') using a generic, off-the-shelf dataset\nunrelated to our choice of prompt. We use Behaviour Matching to craft hijacks\nfor four types of attack, forcing VLMs to generate outputs of the adversary's\nchoice, leak information from their context window, override their safety\ntraining, and believe false statements. We study these attacks against LLaVA, a\nstate-of-the-art VLM based on CLIP and LLaMA-2, and find that all attack types\nachieve a success rate of over 80%. Moreover, our attacks are automated and\nrequire only small image perturbations.\n", "date": "2023-09-01", "categories": []} {"id": "2409.11454", "title": "Golden Ratio Search: A Low-Power Adversarial Attack for Deep Learning\n based Modulation Classification", "abstract": " We propose a minimal power white box adversarial attack for Deep Learning\nbased Automatic Modulation Classification (AMC). The proposed attack uses the\nGolden Ratio Search (GRS) method to find powerful attacks with minimal power.\nWe evaluate the efficacy of the proposed method by comparing it with existing\nadversarial attack approaches. Additionally, we test the robustness of the\nproposed attack against various state-of-the-art architectures, including\ndefense mechanisms such as adversarial training, binarization, and ensemble\nmethods. Experimental results demonstrate that the proposed attack is powerful,\nrequires minimal power, and can be generated in less time, significantly\nchallenging the resilience of current AMC methods.\n", "date": "2024-09-17", "categories": []} {"id": "2409.11754", "title": "NPAT Null-Space Projected Adversarial Training Towards Zero\n Deterioration", "abstract": " To mitigate the susceptibility of neural networks to adversarial attacks,\nadversarial training has emerged as a prevalent and effective defense strategy.\nIntrinsically, this countermeasure incurs a trade-off, as it sacrifices the\nmodel's accuracy in processing normal samples. To reconcile the trade-off, we\npioneer the incorporation of null-space projection into adversarial training\nand propose two innovative Null-space Projection based Adversarial\nTraining(NPAT) algorithms tackling sample generation and gradient optimization,\nnamed Null-space Projected Data Augmentation (NPDA) and Null-space Projected\nGradient Descent (NPGD), to search for an overarching optimal solutions, which\nenhance robustness with almost zero deterioration in generalization\nperformance. Adversarial samples and perturbations are constrained within the\nnull-space of the decision boundary utilizing a closed-form null-space\nprojector, effectively mitigating threat of attack stemming from unreliable\nfeatures. Subsequently, we conducted experiments on the CIFAR10 and SVHN\ndatasets and reveal that our methodology can seamlessly combine with\nadversarial training methods and obtain comparable robustness while keeping\ngeneralization close to a high-accuracy model.\n", "date": "2024-09-18", "categories": []} {"id": "2409.10578", "title": "GLEAN: Generative Learning for Eliminating Adversarial Noise", "abstract": " In the age of powerful diffusion models such as DALL-E and Stable Diffusion,\nmany in the digital art community have suffered style mimicry attacks due to\nfine-tuning these models on their works. The ability to mimic an artist's style\nvia text-to-image diffusion models raises serious ethical issues, especially\nwithout explicit consent. Glaze, a tool that applies various ranges of\nperturbations to digital art, has shown significant success in preventing style\nmimicry attacks, at the cost of artifacts ranging from imperceptible noise to\nsevere quality degradation. The release of Glaze has sparked further\ndiscussions regarding the effectiveness of similar protection methods. In this\npaper, we propose GLEAN- applying I2I generative networks to strip\nperturbations from Glazed images, evaluating the performance of style mimicry\nattacks before and after GLEAN on the results of Glaze. GLEAN aims to support\nand enhance Glaze by highlighting its limitations and encouraging further\ndevelopment.\n", "date": "2024-09-15", "categories": []} {"id": "2310.08847", "title": "On the Over-Memorization During Natural, Robust and Catastrophic\n Overfitting", "abstract": " Overfitting negatively impacts the generalization ability of deep neural\nnetworks (DNNs) in both natural and adversarial training. Existing methods\nstruggle to consistently address different types of overfitting, typically\ndesigning strategies that focus separately on either natural or adversarial\npatterns. In this work, we adopt a unified perspective by solely focusing on\nnatural patterns to explore different types of overfitting. Specifically, we\nexamine the memorization effect in DNNs and reveal a shared behaviour termed\nover-memorization, which impairs their generalization capacity. This behaviour\nmanifests as DNNs suddenly becoming high-confidence in predicting certain\ntraining patterns and retaining a persistent memory for them. Furthermore, when\nDNNs over-memorize an adversarial pattern, they tend to simultaneously exhibit\nhigh-confidence prediction for the corresponding natural pattern. These\nfindings motivate us to holistically mitigate different types of overfitting by\nhindering the DNNs from over-memorization training patterns. To this end, we\npropose a general framework, Distraction Over-Memorization (DOM), which\nexplicitly prevents over-memorization by either removing or augmenting the\nhigh-confidence natural patterns. Extensive experiments demonstrate the\neffectiveness of our proposed method in mitigating overfitting across various\ntraining paradigms.\n", "date": "2023-10-13", "categories": []} {"id": "2404.08154", "title": "Eliminating Catastrophic Overfitting Via Abnormal Adversarial Examples\n Regularization", "abstract": " Single-step adversarial training (SSAT) has demonstrated the potential to\nachieve both efficiency and robustness. However, SSAT suffers from catastrophic\noverfitting (CO), a phenomenon that leads to a severely distorted classifier,\nmaking it vulnerable to multi-step adversarial attacks. In this work, we\nobserve that some adversarial examples generated on the SSAT-trained network\nexhibit anomalous behaviour, that is, although these training samples are\ngenerated by the inner maximization process, their associated loss decreases\ninstead, which we named abnormal adversarial examples (AAEs). Upon further\nanalysis, we discover a close relationship between AAEs and classifier\ndistortion, as both the number and outputs of AAEs undergo a significant\nvariation with the onset of CO. Given this observation, we re-examine the SSAT\nprocess and uncover that before the occurrence of CO, the classifier already\ndisplayed a slight distortion, indicated by the presence of few AAEs.\nFurthermore, the classifier directly optimizing these AAEs will accelerate its\ndistortion, and correspondingly, the variation of AAEs will sharply increase as\na result. In such a vicious circle, the classifier rapidly becomes highly\ndistorted and manifests as CO within a few iterations. These observations\nmotivate us to eliminate CO by hindering the generation of AAEs. Specifically,\nwe design a novel method, termed Abnormal Adversarial Examples Regularization\n(AAER), which explicitly regularizes the variation of AAEs to hinder the\nclassifier from becoming distorted. Extensive experiments demonstrate that our\nmethod can effectively eliminate CO and further boost adversarial robustness\nwith negligible additional computational overhead.\n", "date": "2024-04-11", "categories": []} {"id": "2405.16262", "title": "Layer-Aware Analysis of Catastrophic Overfitting: Revealing the\n Pseudo-Robust Shortcut Dependency", "abstract": " Catastrophic overfitting (CO) presents a significant challenge in single-step\nadversarial training (AT), manifesting as highly distorted deep neural networks\n(DNNs) that are vulnerable to multi-step adversarial attacks. However, the\nunderlying factors that lead to the distortion of decision boundaries remain\nunclear. In this work, we delve into the specific changes within different DNN\nlayers and discover that during CO, the former layers are more susceptible,\nexperiencing earlier and greater distortion, while the latter layers show\nrelative insensitivity. Our analysis further reveals that this increased\nsensitivity in former layers stems from the formation of pseudo-robust\nshortcuts, which alone can impeccably defend against single-step adversarial\nattacks but bypass genuine-robust learning, resulting in distorted decision\nboundaries. Eliminating these shortcuts can partially restore robustness in\nDNNs from the CO state, thereby verifying that dependence on them triggers the\noccurrence of CO. This understanding motivates us to implement adaptive weight\nperturbations across different layers to hinder the generation of pseudo-robust\nshortcuts, consequently mitigating CO. Extensive experiments demonstrate that\nour proposed method, Layer-Aware Adversarial Weight Perturbation (LAP), can\neffectively prevent CO and further enhance robustness.\n", "date": "2024-05-25", "categories": []} {"id": "2409.09406", "title": "Real-world Adversarial Defense against Patch Attacks based on Diffusion\n Model", "abstract": " Adversarial patches present significant challenges to the robustness of deep\nlearning models, making the development of effective defenses become critical\nfor real-world applications. This paper introduces DIFFender, a novel\nDIFfusion-based DeFender framework that leverages the power of a text-guided\ndiffusion model to counter adversarial patch attacks. At the core of our\napproach is the discovery of the Adversarial Anomaly Perception (AAP)\nphenomenon, which enables the diffusion model to accurately detect and locate\nadversarial patches by analyzing distributional anomalies. DIFFender seamlessly\nintegrates the tasks of patch localization and restoration within a unified\ndiffusion model framework, enhancing defense efficacy through their close\ninteraction. Additionally, DIFFender employs an efficient few-shot\nprompt-tuning algorithm, facilitating the adaptation of the pre-trained\ndiffusion model to defense tasks without the need for extensive retraining. Our\ncomprehensive evaluation, covering image classification and face recognition\ntasks, as well as real-world scenarios, demonstrates DIFFender's robust\nperformance against adversarial attacks. The framework's versatility and\ngeneralizability across various settings, classifiers, and attack methodologies\nmark a significant advancement in adversarial patch defense strategies. Except\nfor the popular visible domain, we have identified another advantage of\nDIFFender: its capability to easily expand into the infrared domain.\nConsequently, we demonstrate the good flexibility of DIFFender, which can\ndefend against both infrared and visible adversarial patch attacks\nalternatively using a universal defense framework.\n", "date": "2024-09-14", "categories": []} {"id": "2409.09860", "title": "Revisiting Physical-World Adversarial Attack on Traffic Sign\n Recognition: A Commercial Systems Perspective", "abstract": " Traffic Sign Recognition (TSR) is crucial for safe and correct driving\nautomation. Recent works revealed a general vulnerability of TSR models to\nphysical-world adversarial attacks, which can be low-cost, highly deployable,\nand capable of causing severe attack effects such as hiding a critical traffic\nsign or spoofing a fake one. However, so far existing works generally only\nconsidered evaluating the attack effects on academic TSR models, leaving the\nimpacts of such attacks on real-world commercial TSR systems largely unclear.\nIn this paper, we conduct the first large-scale measurement of physical-world\nadversarial attacks against commercial TSR systems. Our testing results reveal\nthat it is possible for existing attack works from academia to have highly\nreliable (100\\%) attack success against certain commercial TSR system\nfunctionality, but such attack capabilities are not generalizable, leading to\nmuch lower-than-expected attack success rates overall. We find that one\npotential major factor is a spatial memorization design that commonly exists in\ntoday's commercial TSR systems. We design new attack success metrics that can\nmathematically model the impacts of such design on the TSR system-level attack\nsuccess, and use them to revisit existing attacks. Through these efforts, we\nuncover 7 novel observations, some of which directly challenge the observations\nor claims in prior works due to the introduction of the new metrics.\n", "date": "2024-09-15", "categories": []} {"id": "2405.02764", "title": "Assessing Adversarial Robustness of Large Language Models: An Empirical\n Study", "abstract": " Large Language Models (LLMs) have revolutionized natural language processing,\nbut their robustness against adversarial attacks remains a critical concern. We\npresents a novel white-box style attack approach that exposes vulnerabilities\nin leading open-source LLMs, including Llama, OPT, and T5. We assess the impact\nof model size, structure, and fine-tuning strategies on their resistance to\nadversarial perturbations. Our comprehensive evaluation across five diverse\ntext classification tasks establishes a new benchmark for LLM robustness. The\nfindings of this study have far-reaching implications for the reliable\ndeployment of LLMs in real-world applications and contribute to the advancement\nof trustworthy AI systems.\n", "date": "2024-05-04", "categories": []} {"id": "2407.15861", "title": "Adversarial Attacks and Defenses on Text-to-Image Diffusion Models: A\n Survey", "abstract": " Recently, the text-to-image diffusion model has gained considerable attention\nfrom the community due to its exceptional image generation capability. A\nrepresentative model, Stable Diffusion, amassed more than 10 million users\nwithin just two months of its release. This surge in popularity has facilitated\nstudies on the robustness and safety of the model, leading to the proposal of\nvarious adversarial attack methods. Simultaneously, there has been a marked\nincrease in research focused on defense methods to improve the robustness and\nsafety of these models. In this survey, we provide a comprehensive review of\nthe literature on adversarial attacks and defenses targeting text-to-image\ndiffusion models. We begin with an overview of text-to-image diffusion models,\nfollowed by an introduction to a taxonomy of adversarial attacks and an\nin-depth review of existing attack methods. We then present a detailed analysis\nof current defense methods that improve model robustness and safety. Finally,\nwe discuss ongoing challenges and explore promising future research directions.\nFor a complete list of the adversarial attack and defense methods covered in\nthis survey, please refer to our curated repository at\nhttps://github.com/datar001/Awesome-AD-on-T2IDM.\n", "date": "2024-07-10", "categories": []} {"id": "2409.08919", "title": "XSub: Explanation-Driven Adversarial Attack against Blackbox Classifiers\n via Feature Substitution", "abstract": " Despite its significant benefits in enhancing the transparency and\ntrustworthiness of artificial intelligence (AI) systems, explainable AI (XAI)\nhas yet to reach its full potential in real-world applications. One key\nchallenge is that XAI can unintentionally provide adversaries with insights\ninto black-box models, inevitably increasing their vulnerability to various\nattacks. In this paper, we develop a novel explanation-driven adversarial\nattack against black-box classifiers based on feature substitution, called\nXSub. The key idea of XSub is to strategically replace important features\n(identified via XAI) in the original sample with corresponding important\nfeatures from a \"golden sample\" of a different label, thereby increasing the\nlikelihood of the model misclassifying the perturbed sample. The degree of\nfeature substitution is adjustable, allowing us to control how much of the\noriginal samples information is replaced. This flexibility effectively balances\na trade-off between the attacks effectiveness and its stealthiness. XSub is\nalso highly cost-effective in that the number of required queries to the\nprediction model and the explanation model in conducting the attack is in O(1).\nIn addition, XSub can be easily extended to launch backdoor attacks in case the\nattacker has access to the models training data. Our evaluation demonstrates\nthat XSub is not only effective and stealthy but also cost-effective, enabling\nits application across a wide range of AI models.\n", "date": "2024-09-13", "categories": []} {"id": "2309.03665", "title": "How adversarial attacks can disrupt seemingly stable accurate\n classifiers", "abstract": " Adversarial attacks dramatically change the output of an otherwise accurate\nlearning system using a seemingly inconsequential modification to a piece of\ninput data. Paradoxically, empirical evidence indicates that even systems which\nare robust to large random perturbations of the input data remain susceptible\nto small, easily constructed, adversarial perturbations of their inputs. Here,\nwe show that this may be seen as a fundamental feature of classifiers working\nwith high dimensional input data. We introduce a simple generic and\ngeneralisable framework for which key behaviours observed in practical systems\narise with high probability -- notably the simultaneous susceptibility of the\n(otherwise accurate) model to easily constructed adversarial attacks, and\nrobustness to random perturbations of the input data. We confirm that the same\nphenomena are directly observed in practical neural networks trained on\nstandard image classification problems, where even large additive random noise\nfails to trigger the adversarial instability of the network. A surprising\ntakeaway is that even small margins separating a classifier's decision surface\nfrom training and testing data can hide adversarial susceptibility from being\ndetected using randomly sampled perturbations. Counterintuitively, using\nadditive noise during training or testing is therefore inefficient for\neradicating or detecting adversarial examples, and more demanding adversarial\ntraining is required.\n", "date": "2023-09-07", "categories": []} {"id": "2311.06942", "title": "Resilient Graph Neural Networks: A Coupled Dynamical Systems Approach", "abstract": " Graph Neural Networks (GNNs) have established themselves as a key component\nin addressing diverse graph-based tasks. Despite their notable successes, GNNs\nremain susceptible to input perturbations in the form of adversarial attacks.\nThis paper introduces an innovative approach to fortify GNNs against\nadversarial perturbations through the lens of coupled dynamical systems. Our\nmethod introduces graph neural layers based on differential equations with\ncontractive properties, which, as we show, improve the robustness of GNNs. A\ndistinctive feature of the proposed approach is the simultaneous learned\nevolution of both the node features and the adjacency matrix, yielding an\nintrinsic enhancement of model robustness to perturbations in the input\nfeatures and the connectivity of the graph. We mathematically derive the\nunderpinnings of our novel architecture and provide theoretical insights to\nreason about its expected behavior. We demonstrate the efficacy of our method\nthrough numerous real-world benchmarks, reading on par or improved performance\ncompared to existing methods.\n", "date": "2023-11-12", "categories": []} {"id": "2401.13751", "title": "A Training Rate and Survival Heuristic for Inference and Robustness\n Evaluation (TRASHFIRE)", "abstract": " Machine learning models -- deep neural networks in particular -- have\nperformed remarkably well on benchmark datasets across a wide variety of\ndomains. However, the ease of finding adversarial counter-examples remains a\npersistent problem when training times are measured in hours or days and the\ntime needed to find a successful adversarial counter-example is measured in\nseconds. Much work has gone into generating and defending against these\nadversarial counter-examples, however the relative costs of attacks and\ndefences are rarely discussed. Additionally, machine learning research is\nalmost entirely guided by test/train metrics, but these would require billions\nof samples to meet industry standards. The present work addresses the problem\nof understanding and predicting how particular model hyper-parameters influence\nthe performance of a model in the presence of an adversary. The proposed\napproach uses survival models, worst-case examples, and a cost-aware analysis\nto precisely and accurately reject a particular model change during routine\nmodel training procedures rather than relying on real-world deployment,\nexpensive formal verification methods, or accurate simulations of very\ncomplicated systems (\\textit{e.g.}, digitally recreating every part of a car or\na plane). Through an evaluation of many pre-processing techniques, adversarial\ncounter-examples, and neural network configurations, the conclusion is that\ndeeper models do offer marginal gains in survival times compared to more\nshallow counterparts. However, we show that those gains are driven more by the\nmodel inference time than inherent robustness properties. Using the proposed\nmethodology, we show that ResNet is hopelessly insecure against even the\nsimplest of white box attacks.\n", "date": "2024-01-24", "categories": []} {"id": "2409.08255", "title": "LoRID: Low-Rank Iterative Diffusion for Adversarial Purification", "abstract": " This work presents an information-theoretic examination of diffusion-based\npurification methods, the state-of-the-art adversarial defenses that utilize\ndiffusion models to remove malicious perturbations in adversarial examples. By\ntheoretically characterizing the inherent purification errors associated with\nthe Markov-based diffusion purifications, we introduce LoRID, a novel Low-Rank\nIterative Diffusion purification method designed to remove adversarial\nperturbation with low intrinsic purification errors. LoRID centers around a\nmulti-stage purification process that leverages multiple rounds of\ndiffusion-denoising loops at the early time-steps of the diffusion models, and\nthe integration of Tucker decomposition, an extension of matrix factorization,\nto remove adversarial noise at high-noise regimes. Consequently, LoRID\nincreases the effective diffusion time-steps and overcomes strong adversarial\nattacks, achieving superior robustness performance in CIFAR-10/100, CelebA-HQ,\nand ImageNet datasets under both white-box and black-box settings.\n", "date": "2024-09-12", "categories": []} {"id": "2311.15994", "title": "Adversarial Doodles: Interpretable and Human-drawable Attacks Provide\n Describable Insights", "abstract": " DNN-based image classifiers are susceptible to adversarial attacks. Most\nprevious adversarial attacks do not have clear patterns, making it difficult to\ninterpret attacks' results and gain insights into classifiers' mechanisms.\nTherefore, we propose Adversarial Doodles, which have interpretable shapes. We\noptimize black bezier curves to fool the classifier by overlaying them onto the\ninput image. By introducing random affine transformation and regularizing the\ndoodled area, we obtain small-sized attacks that cause misclassification even\nwhen humans replicate them by hand. Adversarial doodles provide describable\ninsights into the relationship between the human-drawn doodle's shape and the\nclassifier's output, such as \"When we add three small circles on a helicopter\nimage, the ResNet-50 classifier mistakenly classifies it as an airplane.\"\n", "date": "2023-11-27", "categories": []} {"id": "2406.11522", "title": "FullCert: Deterministic End-to-End Certification for Training and\n Inference of Neural Networks", "abstract": " Modern machine learning models are sensitive to the manipulation of both the\ntraining data (poisoning attacks) and inference data (adversarial examples).\nRecognizing this issue, the community has developed many empirical defenses\nagainst both attacks and, more recently, certification methods with provable\nguarantees against inference-time attacks. However, such guarantees are still\nlargely lacking for training-time attacks. In this work, we present FullCert,\nthe first end-to-end certifier with sound, deterministic bounds, which proves\nrobustness against both training-time and inference-time attacks. We first\nbound all possible perturbations an adversary can make to the training data\nunder the considered threat model. Using these constraints, we bound the\nperturbations' influence on the model's parameters. Finally, we bound the\nimpact of these parameter changes on the model's prediction, resulting in joint\nrobustness guarantees against poisoning and adversarial examples. To facilitate\nthis novel certification paradigm, we combine our theoretical work with a new\nopen-source library BoundFlow, which enables model training on bounded\ndatasets. We experimentally demonstrate FullCert's feasibility on two datasets.\n", "date": "2024-06-17", "categories": []} {"id": "2409.03131", "title": "Well, that escalated quickly: The Single-Turn Crescendo Attack (STCA)", "abstract": " This paper introduces a new method for adversarial attacks on large language\nmodels (LLMs) called the Single-Turn Crescendo Attack (STCA). Building on the\nmulti-turn crescendo attack method introduced by Russinovich, Salem, and Eldan\n(2024), which gradually escalates the context to provoke harmful responses, the\nSTCA achieves similar outcomes in a single interaction. By condensing the\nescalation into a single, well-crafted prompt, the STCA bypasses typical\nmoderation filters that LLMs use to prevent inappropriate outputs. This\ntechnique reveals vulnerabilities in current LLMs and emphasizes the importance\nof stronger safeguards in responsible AI (RAI). The STCA offers a novel method\nthat has not been previously explored.\n", "date": "2024-09-04", "categories": []} {"id": "2409.06726", "title": "Feedback-based Modal Mutual Search for Attacking Vision-Language\n Pre-training Models", "abstract": " Although vision-language pre-training (VLP) models have achieved remarkable\nprogress on cross-modal tasks, they remain vulnerable to adversarial attacks.\nUsing data augmentation and cross-modal interactions to generate transferable\nadversarial examples on surrogate models, transfer-based black-box attacks have\nbecome the mainstream methods in attacking VLP models, as they are more\npractical in real-world scenarios. However, their transferability may be\nlimited due to the differences on feature representation across different\nmodels. To this end, we propose a new attack paradigm called Feedback-based\nModal Mutual Search (FMMS). FMMS introduces a novel modal mutual loss (MML),\naiming to push away the matched image-text pairs while randomly drawing\nmismatched pairs closer in feature space, guiding the update directions of the\nadversarial examples. Additionally, FMMS leverages the target model feedback to\niteratively refine adversarial examples, driving them into the adversarial\nregion. To our knowledge, this is the first work to exploit target model\nfeedback to explore multi-modality adversarial boundaries. Extensive empirical\nevaluations on Flickr30K and MSCOCO datasets for image-text matching tasks show\nthat FMMS significantly outperforms the state-of-the-art baselines.\n", "date": "2024-08-27", "categories": []} {"id": "2409.07321", "title": "Module-wise Adaptive Adversarial Training for End-to-end Autonomous\n Driving", "abstract": " Recent advances in deep learning have markedly improved autonomous driving\n(AD) models, particularly end-to-end systems that integrate perception,\nprediction, and planning stages, achieving state-of-the-art performance.\nHowever, these models remain vulnerable to adversarial attacks, where\nhuman-imperceptible perturbations can disrupt decision-making processes. While\nadversarial training is an effective method for enhancing model robustness\nagainst such attacks, no prior studies have focused on its application to\nend-to-end AD models. In this paper, we take the first step in adversarial\ntraining for end-to-end AD models and present a novel Module-wise Adaptive\nAdversarial Training (MA2T). However, extending conventional adversarial\ntraining to this context is highly non-trivial, as different stages within the\nmodel have distinct objectives and are strongly interconnected. To address\nthese challenges, MA2T first introduces Module-wise Noise Injection, which\ninjects noise before the input of different modules, targeting training models\nwith the guidance of overall objectives rather than each independent module\nloss. Additionally, we introduce Dynamic Weight Accumulation Adaptation, which\nincorporates accumulated weight changes to adaptively learn and adjust the loss\nweights of each module based on their contributions (accumulated reduction\nrates) for better balance and robust training. To demonstrate the efficacy of\nour defense, we conduct extensive experiments on the widely-used nuScenes\ndataset across several end-to-end AD models under both white-box and black-box\nattacks, where our method outperforms other baselines by large margins\n(+5-10%). Moreover, we validate the robustness of our defense through\nclosed-loop evaluation in the CARLA simulation environment, showing improved\nresilience even against natural corruption.\n", "date": "2024-09-11", "categories": []} {"id": "2409.07390", "title": "D-CAPTCHA++: A Study of Resilience of Deepfake CAPTCHA under\n Transferable Imperceptible Adversarial Attack", "abstract": " The advancements in generative AI have enabled the improvement of audio\nsynthesis models, including text-to-speech and voice conversion. This raises\nconcerns about its potential misuse in social manipulation and political\ninterference, as synthetic speech has become indistinguishable from natural\nhuman speech. Several speech-generation programs are utilized for malicious\npurposes, especially impersonating individuals through phone calls. Therefore,\ndetecting fake audio is crucial to maintain social security and safeguard the\nintegrity of information. Recent research has proposed a D-CAPTCHA system based\non the challenge-response protocol to differentiate fake phone calls from real\nones. In this work, we study the resilience of this system and introduce a more\nrobust version, D-CAPTCHA++, to defend against fake calls. Specifically, we\nfirst expose the vulnerability of the D-CAPTCHA system under transferable\nimperceptible adversarial attack. Secondly, we mitigate such vulnerability by\nimproving the robustness of the system by using adversarial training in\nD-CAPTCHA deepfake detectors and task classifiers.\n", "date": "2024-09-11", "categories": []} {"id": "2407.06315", "title": "Shedding More Light on Robust Classifiers under the lens of Energy-based\n Models", "abstract": " By reinterpreting a robust discriminative classifier as Energy-based Model\n(EBM), we offer a new take on the dynamics of adversarial training (AT). Our\nanalysis of the energy landscape during AT reveals that untargeted attacks\ngenerate adversarial images much more in-distribution (lower energy) than the\noriginal data from the point of view of the model. Conversely, we observe the\nopposite for targeted attacks. On the ground of our thorough analysis, we\npresent new theoretical and practical results that show how interpreting AT\nenergy dynamics unlocks a better understanding: (1) AT dynamic is governed by\nthree phases and robust overfitting occurs in the third phase with a drastic\ndivergence between natural and adversarial energies (2) by rewriting the loss\nof TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization\n(TRADES) in terms of energies, we show that TRADES implicitly alleviates\noverfitting by means of aligning the natural energy with the adversarial one\n(3) we empirically show that all recent state-of-the-art robust classifiers are\nsmoothing the energy landscape and we reconcile a variety of studies about\nunderstanding AT and weighting the loss function under the umbrella of EBMs.\nMotivated by rigorous evidence, we propose Weighted Energy Adversarial Training\n(WEAT), a novel sample weighting scheme that yields robust accuracy matching\nthe state-of-the-art on multiple benchmarks such as CIFAR-10 and SVHN and going\nbeyond in CIFAR-100 and Tiny-ImageNet. We further show that robust classifiers\nvary in the intensity and quality of their generative capabilities, and offer a\nsimple method to push this capability, reaching a remarkable Inception Score\n(IS) and FID using a robust classifier without training for generative\nmodeling. The code to reproduce our results is available at\nhttp://github.com/OmnAI-Lab/Robust-Classifiers-under-the-lens-of-EBM/ .\n", "date": "2024-07-08", "categories": []} {"id": "2409.06420", "title": "Unrevealed Threats: A Comprehensive Study of the Adversarial Robustness\n of Underwater Image Enhancement Models", "abstract": " Learning-based methods for underwater image enhancement (UWIE) have undergone\nextensive exploration. However, learning-based models are usually vulnerable to\nadversarial examples so as the UWIE models. To the best of our knowledge, there\nis no comprehensive study on the adversarial robustness of UWIE models, which\nindicates that UWIE models are potentially under the threat of adversarial\nattacks. In this paper, we propose a general adversarial attack protocol. We\nmake a first attempt to conduct adversarial attacks on five well-designed UWIE\nmodels on three common underwater image benchmark datasets. Considering the\nscattering and absorption of light in the underwater environment, there exists\na strong correlation between color correction and underwater image enhancement.\nOn the basis of that, we also design two effective UWIE-oriented adversarial\nattack methods Pixel Attack and Color Shift Attack targeting different color\nspaces. The results show that five models exhibit varying degrees of\nvulnerability to adversarial attacks and well-designed small perturbations on\ndegraded images are capable of preventing UWIE models from generating enhanced\nresults. Further, we conduct adversarial training on these models and\nsuccessfully mitigated the effectiveness of adversarial attacks. In summary, we\nreveal the adversarial vulnerability of UWIE models and propose a new\nevaluation dimension of UWIE models.\n", "date": "2024-09-10", "categories": []} {"id": "2405.09176", "title": "Cross-Input Certified Training for Universal Perturbations", "abstract": " Existing work in trustworthy machine learning primarily focuses on\nsingle-input adversarial perturbations. In many real-world attack scenarios,\ninput-agnostic adversarial attacks, e.g. universal adversarial perturbations\n(UAPs), are much more feasible. Current certified training methods train models\nrobust to single-input perturbations but achieve suboptimal clean and UAP\naccuracy, thereby limiting their applicability in practical applications. We\npropose a novel method, CITRUS, for certified training of networks robust\nagainst UAP attackers. We show in an extensive evaluation across different\ndatasets, architectures, and perturbation magnitudes that our method\noutperforms traditional certified training methods on standard accuracy (up to\n10.3\\%) and achieves SOTA performance on the more practical certified UAP\naccuracy metric.\n", "date": "2024-05-15", "categories": []} {"id": "2408.13985", "title": "TF-Attack: Transferable and Fast Adversarial Attacks on Large Language\n Models", "abstract": " With the great advancements in large language models (LLMs), adversarial\nattacks against LLMs have recently attracted increasing attention. We found\nthat pre-existing adversarial attack methodologies exhibit limited\ntransferability and are notably inefficient, particularly when applied to LLMs.\nIn this paper, we analyze the core mechanisms of previous predominant\nadversarial attack methods, revealing that 1) the distributions of importance\nscore differ markedly among victim models, restricting the transferability; 2)\nthe sequential attack processes induces substantial time overheads. Based on\nthe above two insights, we introduce a new scheme, named TF-Attack, for\nTransferable and Fast adversarial attacks on LLMs. TF-Attack employs an\nexternal LLM as a third-party overseer rather than the victim model to identify\ncritical units within sentences. Moreover, TF-Attack introduces the concept of\nImportance Level, which allows for parallel substitutions of attacks. We\nconduct extensive experiments on 6 widely adopted benchmarks, evaluating the\nproposed method through both automatic and human metrics. Results show that our\nmethod consistently surpasses previous methods in transferability and delivers\nsignificant speed improvements, up to 20 times faster than earlier attack\nstrategies.\n", "date": "2024-08-26", "categories": []} {"id": "2409.05021", "title": "Vision-fused Attack: Advancing Aggressive and Stealthy Adversarial Text\n against Neural Machine Translation", "abstract": " While neural machine translation (NMT) models achieve success in our daily\nlives, they show vulnerability to adversarial attacks. Despite being harmful,\nthese attacks also offer benefits for interpreting and enhancing NMT models,\nthus drawing increased research attention. However, existing studies on\nadversarial attacks are insufficient in both attacking ability and human\nimperceptibility due to their sole focus on the scope of language. This paper\nproposes a novel vision-fused attack (VFA) framework to acquire powerful\nadversarial text, i.e., more aggressive and stealthy. Regarding the attacking\nability, we design the vision-merged solution space enhancement strategy to\nenlarge the limited semantic solution space, which enables us to search for\nadversarial candidates with higher attacking ability. For human\nimperceptibility, we propose the perception-retained adversarial text selection\nstrategy to align the human text-reading mechanism. Thus, the finally selected\nadversarial text could be more deceptive. Extensive experiments on various\nmodels, including large language models (LLMs) like LLaMA and GPT-3.5, strongly\nsupport that VFA outperforms the comparisons by large margins (up to 81%/14%\nimprovements on ASR/SSIM).\n", "date": "2024-09-08", "categories": []} {"id": "2409.05558", "title": "Seeing Through the Mask: Rethinking Adversarial Examples for CAPTCHAs", "abstract": " Modern CAPTCHAs rely heavily on vision tasks that are supposedly hard for\ncomputers but easy for humans. However, advances in image recognition models\npose a significant threat to such CAPTCHAs. These models can easily be fooled\nby generating some well-hidden \"random\" noise and adding it to the image, or\nhiding objects in the image. However, these methods are model-specific and thus\ncan not aid CAPTCHAs in fooling all models. We show in this work that by\nallowing for more significant changes to the images while preserving the\nsemantic information and keeping it solvable by humans, we can fool many\nstate-of-the-art models. Specifically, we demonstrate that by adding masks of\nvarious intensities the Accuracy @ 1 (Acc@1) drops by more than 50%-points for\nall models, and supposedly robust models such as vision transformers see an\nAcc@1 drop of 80%-points.\n These masks can therefore effectively fool modern image classifiers, thus\nshowing that machines have not caught up with humans -- yet.\n", "date": "2024-09-09", "categories": []} {"id": "2304.04343", "title": "Certifiable Black-Box Attacks with Randomized Adversarial Examples:\n Breaking Defenses with Provable Confidence", "abstract": " Black-box adversarial attacks have demonstrated strong potential to\ncompromise machine learning models by iteratively querying the target model or\nleveraging transferability from a local surrogate model. Recently, such attacks\ncan be effectively mitigated by state-of-the-art (SOTA) defenses, e.g.,\ndetection via the pattern of sequential queries, or injecting noise into the\nmodel. To our best knowledge, we take the first step to study a new paradigm of\nblack-box attacks with provable guarantees -- certifiable black-box attacks\nthat can guarantee the attack success probability (ASP) of adversarial examples\nbefore querying over the target model. This new black-box attack unveils\nsignificant vulnerabilities of machine learning models, compared to traditional\nempirical black-box attacks, e.g., breaking strong SOTA defenses with provable\nconfidence, constructing a space of (infinite) adversarial examples with high\nASP, and the ASP of the generated adversarial examples is theoretically\nguaranteed without verification/queries over the target model. Specifically, we\nestablish a novel theoretical foundation for ensuring the ASP of the black-box\nattack with randomized adversarial examples (AEs). Then, we propose several\nnovel techniques to craft the randomized AEs while reducing the perturbation\nsize for better imperceptibility. Finally, we have comprehensively evaluated\nthe certifiable black-box attacks on the CIFAR10/100, ImageNet, and LibriSpeech\ndatasets, while benchmarking with 16 SOTA black-box attacks, against various\nSOTA defenses in the domains of computer vision and speech recognition. Both\ntheoretical and experimental results have validated the significance of the\nproposed attack. The code and all the benchmarks are available at\n\\url{https://github.com/datasec-lab/CertifiedAttack}.\n", "date": "2023-04-10", "categories": []} {"id": "2407.09050", "title": "Refusing Safe Prompts for Multi-modal Large Language Models", "abstract": " Multimodal large language models (MLLMs) have become the cornerstone of\ntoday's generative AI ecosystem, sparking intense competition among tech giants\nand startups. In particular, an MLLM generates a text response given a prompt\nconsisting of an image and a question. While state-of-the-art MLLMs use safety\nfilters and alignment techniques to refuse unsafe prompts, in this work, we\nintroduce MLLM-Refusal, the first method that induces refusals for safe\nprompts. In particular, our MLLM-Refusal optimizes a nearly-imperceptible\nrefusal perturbation and adds it to an image, causing target MLLMs to likely\nrefuse a safe prompt containing the perturbed image and a safe question.\nSpecifically, we formulate MLLM-Refusal as a constrained optimization problem\nand propose an algorithm to solve it. Our method offers competitive advantages\nfor MLLM model providers by potentially disrupting user experiences of\ncompeting MLLMs, since competing MLLM's users will receive unexpected refusals\nwhen they unwittingly use these perturbed images in their prompts. We evaluate\nMLLM-Refusal on four MLLMs across four datasets, demonstrating its\neffectiveness in causing competing MLLMs to refuse safe prompts while not\naffecting non-competing MLLMs. Furthermore, we explore three potential\ncountermeasures-adding Gaussian noise, DiffPure, and adversarial training. Our\nresults show that though they can mitigate MLLM-Refusal's effectiveness, they\nalso sacrifice the accuracy and/or efficiency of the competing MLLM. The code\nis available at https://github.com/Sadcardation/MLLM-Refusal.\n", "date": "2024-07-12", "categories": []} {"id": "2409.04133", "title": "Secure Traffic Sign Recognition: An Attention-Enabled Universal Image\n Inpainting Mechanism against Light Patch Attacks", "abstract": " Traffic sign recognition systems play a crucial role in assisting drivers to\nmake informed decisions while driving. However, due to the heavy reliance on\ndeep learning technologies, particularly for future connected and autonomous\ndriving, these systems are susceptible to adversarial attacks that pose\nsignificant safety risks to both personal and public transportation. Notably,\nresearchers recently identified a new attack vector to deceive sign recognition\nsystems: projecting well-designed adversarial light patches onto traffic signs.\nIn comparison with traditional adversarial stickers or graffiti, these emerging\nlight patches exhibit heightened aggression due to their ease of implementation\nand outstanding stealthiness. To effectively counter this security threat, we\npropose a universal image inpainting mechanism, namely, SafeSign. It relies on\nattention-enabled multi-view image fusion to repair traffic signs contaminated\nby adversarial light patches, thereby ensuring the accurate sign recognition.\nHere, we initially explore the fundamental impact of malicious light patches on\nthe local and global feature spaces of authentic traffic signs. Then, we design\na binary mask-based U-Net image generation pipeline outputting diverse\ncontaminated sign patterns, to provide our image inpainting model with needed\ntraining data. Following this, we develop an attention mechanism-enabled neural\nnetwork to jointly utilize the complementary information from multi-view images\nto repair contaminated signs. Finally, extensive experiments are conducted to\nevaluate SafeSign's effectiveness in resisting potential light patch-based\nattacks, bringing an average accuracy improvement of 54.8% in three widely-used\nsign recognition models\n", "date": "2024-09-06", "categories": []} {"id": "2209.06388", "title": "TSFool: Crafting Highly-Imperceptible Adversarial Time Series through\n Multi-Objective Attack", "abstract": " Recent years have witnessed the success of recurrent neural network (RNN)\nmodels in time series classification (TSC). However, neural networks (NNs) are\nvulnerable to adversarial samples, which cause real-life adversarial attacks\nthat undermine the robustness of AI models. To date, most existing attacks\ntarget at feed-forward NNs and image recognition tasks, but they cannot perform\nwell on RNN-based TSC. This is due to the cyclical computation of RNN, which\nprevents direct model differentiation. In addition, the high visual sensitivity\nof time series to perturbations also poses challenges to local objective\noptimization of adversarial samples. In this paper, we propose an efficient\nmethod called TSFool to craft highly-imperceptible adversarial time series for\nRNN-based TSC. The core idea is a new global optimization objective known as\n\"Camouflage Coefficient\" that captures the imperceptibility of adversarial\nsamples from the class distribution. Based on this, we reduce the adversarial\nattack problem to a multi-objective optimization problem that enhances the\nperturbation quality. Furthermore, to speed up the optimization process, we\npropose to use a representation model for RNN to capture deeply embedded\nvulnerable samples whose features deviate from the latent manifold. Experiments\non 11 UCR and UEA datasets showcase that TSFool significantly outperforms six\nwhite-box and three black-box benchmark attacks in terms of effectiveness,\nefficiency and imperceptibility from various perspectives including standard\nmeasure, human study and real-world defense.\n", "date": "2022-09-14", "categories": []} {"id": "2402.19027", "title": "How to Train your Antivirus: RL-based Hardening through the\n Problem-Space", "abstract": " ML-based malware detection on dynamic analysis reports is vulnerable to both\nevasion and spurious correlations. In this work, we investigate a specific ML\narchitecture employed in the pipeline of a widely-known commercial antivirus\ncompany, with the goal to harden it against adversarial malware. Adversarial\ntraining, the sole defensive technique that can confer empirical robustness, is\nnot applicable out of the box in this domain, for the principal reason that\ngradient-based perturbations rarely map back to feasible problem-space\nprograms. We introduce a novel Reinforcement Learning approach for constructing\nadversarial examples, a constituent part of adversarially training a model\nagainst evasion. Our approach comes with multiple advantages. It performs\nmodifications that are feasible in the problem-space, and only those; thus it\ncircumvents the inverse mapping problem. It also makes possible to provide\ntheoretical guarantees on the robustness of the model against a particular set\nof adversarial capabilities. Our empirical exploration validates our\ntheoretical insights, where we can consistently reach 0% Attack Success Rate\nafter a few adversarial retraining iterations.\n", "date": "2024-02-29", "categories": []} {"id": "2407.08572", "title": "Boosting Adversarial Transferability for Skeleton-based Action\n Recognition via Exploring the Model Posterior Space", "abstract": " Skeletal motion plays a pivotal role in human activity recognition (HAR).\nRecently, attack methods have been proposed to identify the universal\nvulnerability of skeleton-based HAR(S-HAR). However, the research of\nadversarial transferability on S-HAR is largely missing. More importantly,\nexisting attacks all struggle in transfer across unknown S-HAR models. We\nobserved that the key reason is that the loss landscape of the action\nrecognizers is rugged and sharp. Given the established correlation in prior\nstudies~\\cite{qin2022boosting,wu2020towards} between loss landscape and\nadversarial transferability, we assume and empirically validate that smoothing\nthe loss landscape could potentially improve adversarial transferability on\nS-HAR. This is achieved by proposing a new post-train Dual Bayesian strategy,\nwhich can effectively explore the model posterior space for a collection of\nsurrogates without the need for re-training. Furthermore, to craft adversarial\nexamples along the motion manifold, we incorporate the attack gradient with\ninformation of the motion dynamics in a Bayesian manner. Evaluated on benchmark\ndatasets, e.g. HDM05 and NTU 60, the average transfer success rate can reach as\nhigh as 35.9\\% and 45.5\\% respectively. In comparison, current state-of-the-art\nskeletal attacks achieve only 3.6\\% and 9.8\\%. The high adversarial\ntransferability remains consistent across various surrogate, victim, and even\ndefense models. Through a comprehensive analysis of the results, we provide\ninsights on what surrogates are more likely to exhibit transferability, to shed\nlight on future research.\n", "date": "2024-07-11", "categories": []} {"id": "2409.02649", "title": "OpenFact at CheckThat! 2024: Combining Multiple Attack Methods for\n Effective Adversarial Text Generation", "abstract": " This paper presents the experiments and results for the CheckThat! Lab at\nCLEF 2024 Task 6: Robustness of Credibility Assessment with Adversarial\nExamples (InCrediblAE). The primary objective of this task was to generate\nadversarial examples in five problem domains in order to evaluate the\nrobustness of widely used text classification methods (fine-tuned BERT, BiLSTM,\nand RoBERTa) when applied to credibility assessment issues.\n This study explores the application of ensemble learning to enhance\nadversarial attacks on natural language processing (NLP) models. We\nsystematically tested and refined several adversarial attack methods, including\nBERT-Attack, Genetic algorithms, TextFooler, and CLARE, on five datasets across\nvarious misinformation tasks. By developing modified versions of BERT-Attack\nand hybrid methods, we achieved significant improvements in attack\neffectiveness. Our results demonstrate the potential of modification and\ncombining multiple methods to create more sophisticated and effective\nadversarial attack strategies, contributing to the development of more robust\nand secure systems.\n", "date": "2024-09-04", "categories": []} {"id": "2409.03183", "title": "Bypassing DARCY Defense: Indistinguishable Universal Adversarial\n Triggers", "abstract": " Neural networks (NN) classification models for Natural Language Processing\n(NLP) are vulnerable to the Universal Adversarial Triggers (UAT) attack that\ntriggers a model to produce a specific prediction for any input. DARCY borrows\nthe \"honeypot\" concept to bait multiple trapdoors, effectively detecting the\nadversarial examples generated by UAT. Unfortunately, we find a new UAT\ngeneration method, called IndisUAT, which produces triggers (i.e., tokens) and\nuses them to craft adversarial examples whose feature distribution is\nindistinguishable from that of the benign examples in a randomly-chosen\ncategory at the detection layer of DARCY. The produced adversarial examples\nincur the maximal loss of predicting results in the DARCY-protected models.\nMeanwhile, the produced triggers are effective in black-box models for text\ngeneration, text inference, and reading comprehension. Finally, the evaluation\nresults under NN models for NLP tasks indicate that the IndisUAT method can\neffectively circumvent DARCY and penetrate other defenses. For example,\nIndisUAT can reduce the true positive rate of DARCY's detection by at least\n40.8% and 90.6%, and drop the accuracy by at least 33.3% and 51.6% in the RNN\nand CNN models, respectively. IndisUAT reduces the accuracy of the BERT's\nadversarial defense model by at least 34.0%, and makes the GPT-2 language model\nspew racist outputs even when conditioned on non-racial context.\n", "date": "2024-09-05", "categories": []} {"id": "2409.03458", "title": "Non-Uniform Illumination Attack for Fooling Convolutional Neural\n Networks", "abstract": " Convolutional Neural Networks (CNNs) have made remarkable strides; however,\nthey remain susceptible to vulnerabilities, particularly in the face of minor\nimage perturbations that humans can easily recognize. This weakness, often\ntermed as 'attacks', underscores the limited robustness of CNNs and the need\nfor research into fortifying their resistance against such manipulations. This\nstudy introduces a novel Non-Uniform Illumination (NUI) attack technique, where\nimages are subtly altered using varying NUI masks. Extensive experiments are\nconducted on widely-accepted datasets including CIFAR10, TinyImageNet, and\nCalTech256, focusing on image classification with 12 different NUI attack\nmodels. The resilience of VGG, ResNet, MobilenetV3-small and InceptionV3 models\nagainst NUI attacks are evaluated. Our results show a substantial decline in\nthe CNN models' classification accuracy when subjected to NUI attacks,\nindicating their vulnerability under non-uniform illumination. To mitigate\nthis, a defense strategy is proposed, including NUI-attacked images, generated\nthrough the new NUI transformation, into the training set. The results\ndemonstrate a significant enhancement in CNN model performance when confronted\nwith perturbed images affected by NUI attacks. This strategy seeks to bolster\nCNN models' resilience against NUI attacks.\n", "date": "2024-09-05", "categories": []} {"id": "2409.03598", "title": "A practical approach to evaluating the adversarial distance for machine\n learning classifiers", "abstract": " Robustness is critical for machine learning (ML) classifiers to ensure\nconsistent performance in real-world applications where models may encounter\ncorrupted or adversarial inputs. In particular, assessing the robustness of\nclassifiers to adversarial inputs is essential to protect systems from\nvulnerabilities and thus ensure safety in use. However, methods to accurately\ncompute adversarial robustness have been challenging for complex ML models and\nhigh-dimensional data. Furthermore, evaluations typically measure adversarial\naccuracy on specific attack budgets, limiting the informative value of the\nresulting metrics. This paper investigates the estimation of the more\ninformative adversarial distance using iterative adversarial attacks and a\ncertification approach. Combined, the methods provide a comprehensive\nevaluation of adversarial robustness by computing estimates for the upper and\nlower bounds of the adversarial distance. We present visualisations and\nablation studies that provide insights into how this evaluation method should\nbe applied and parameterised. We find that our adversarial attack approach is\neffective compared to related implementations, while the certification method\nfalls short of expectations. The approach in this paper should encourage a more\ninformative way of evaluating the adversarial robustness of ML classifiers.\n", "date": "2024-09-05", "categories": []} {"id": "2405.04346", "title": "Revisiting Character-level Adversarial Attacks for Language Models", "abstract": " Adversarial attacks in Natural Language Processing apply perturbations in the\ncharacter or token levels. Token-level attacks, gaining prominence for their\nuse of gradient-based methods, are susceptible to altering sentence semantics,\nleading to invalid adversarial examples. While character-level attacks easily\nmaintain semantics, they have received less attention as they cannot easily\nadopt popular gradient-based methods, and are thought to be easy to defend.\nChallenging these beliefs, we introduce Charmer, an efficient query-based\nadversarial attack capable of achieving high attack success rate (ASR) while\ngenerating highly similar adversarial examples. Our method successfully targets\nboth small (BERT) and large (Llama 2) models. Specifically, on BERT with SST-2,\nCharmer improves the ASR in 4.84% points and the USE similarity in 8% points\nwith respect to the previous art. Our implementation is available in\nhttps://github.com/LIONS-EPFL/Charmer.\n", "date": "2024-05-07", "categories": []} {"id": "2409.01282", "title": "One-Index Vector Quantization Based Adversarial Attack on Image\n Classification", "abstract": " To improve storage and transmission, images are generally compressed. Vector\nquantization (VQ) is a popular compression method as it has a high compression\nratio that suppresses other compression techniques. Despite this, existing\nadversarial attack methods on image classification are mostly performed in the\npixel domain with few exceptions in the compressed domain, making them less\napplicable in real-world scenarios. In this paper, we propose a novel one-index\nattack method in the VQ domain to generate adversarial images by a differential\nevolution algorithm, successfully resulting in image misclassification in\nvictim models. The one-index attack method modifies a single index in the\ncompressed data stream so that the decompressed image is misclassified. It only\nneeds to modify a single VQ index to realize an attack, which limits the number\nof perturbed indexes. The proposed method belongs to a semi-black-box attack,\nwhich is more in line with the actual attack scenario. We apply our method to\nattack three popular image classification models, i.e., Resnet, NIN, and VGG16.\nOn average, 55.9% and 77.4% of the images in CIFAR-10 and Fashion MNIST,\nrespectively, are successfully attacked, with a high level of misclassification\nconfidence and a low level of image perturbation.\n", "date": "2024-09-02", "categories": []} {"id": "2409.02629", "title": "AdvSecureNet: A Python Toolkit for Adversarial Machine Learning", "abstract": " Machine learning models are vulnerable to adversarial attacks. Several tools\nhave been developed to research these vulnerabilities, but they often lack\ncomprehensive features and flexibility. We introduce AdvSecureNet, a PyTorch\nbased toolkit for adversarial machine learning that is the first to natively\nsupport multi-GPU setups for attacks, defenses, and evaluation. It is the first\ntoolkit that supports both CLI and API interfaces and external YAML\nconfiguration files to enhance versatility and reproducibility. The toolkit\nincludes multiple attacks, defenses and evaluation metrics. Rigiorous software\nengineering practices are followed to ensure high code quality and\nmaintainability. The project is available as an open-source project on GitHub\nat https://github.com/melihcatal/advsecurenet and installable via PyPI.\n", "date": "2024-09-04", "categories": []} {"id": "2409.00340", "title": "LightPure: Realtime Adversarial Image Purification for Mobile Devices\n Using Diffusion Models", "abstract": " Autonomous mobile systems increasingly rely on deep neural networks for\nperception and decision-making. While effective, these systems are vulnerable\nto adversarial machine learning attacks where minor input perturbations can\nsignificantly impact outcomes. Common countermeasures involve adversarial\ntraining and/or data or network transformation. These methods, though\neffective, require full access to typically proprietary classifiers and are\ncostly for large models. Recent solutions propose purification models, which\nadd a \"purification\" layer before classification, eliminating the need to\nmodify the classifier directly. Despite their effectiveness, these methods are\ncompute-intensive, making them unsuitable for mobile systems where resources\nare limited and low latency is essential.\n This paper introduces LightPure, a new method that enhances adversarial image\npurification. It improves the accuracy of existing purification methods and\nprovides notable enhancements in speed and computational efficiency, making it\nsuitable for mobile devices with limited resources. Our approach uses a\ntwo-step diffusion and one-shot Generative Adversarial Network (GAN) framework,\nprioritizing latency without compromising robustness. We propose several new\ntechniques to achieve a reasonable balance between classification accuracy and\nadversarial robustness while maintaining desired latency. We design and\nimplement a proof-of-concept on a Jetson Nano board and evaluate our method\nusing various attack scenarios and datasets. Our results show that LightPure\ncan outperform existing methods by up to 10x in terms of latency while\nachieving higher accuracy and robustness for various attack scenarios. This\nmethod offers a scalable and effective solution for real-world mobile systems.\n", "date": "2024-08-31", "categories": []} {"id": "2409.00418", "title": "Robust off-policy Reinforcement Learning via Soft Constrained Adversary", "abstract": " Recently, robust reinforcement learning (RL) methods against input\nobservation have garnered significant attention and undergone rapid evolution\ndue to RL's potential vulnerability. Although these advanced methods have\nachieved reasonable success, there have been two limitations when considering\nadversary in terms of long-term horizons. First, the mutual dependency between\nthe policy and its corresponding optimal adversary limits the development of\noff-policy RL algorithms; although obtaining optimal adversary should depend on\nthe current policy, this has restricted applications to off-policy RL. Second,\nthese methods generally assume perturbations based only on the $L_p$-norm, even\nwhen prior knowledge of the perturbation distribution in the environment is\navailable. We here introduce another perspective on adversarial RL: an\nf-divergence constrained problem with the prior knowledge distribution. From\nthis, we derive two typical attacks and their corresponding robust learning\nframeworks. The evaluation of robustness is conducted and the results\ndemonstrate that our proposed methods achieve excellent performance in\nsample-efficient off-policy RL.\n", "date": "2024-08-31", "categories": []} {"id": "2409.00667", "title": "Comprehensive Botnet Detection by Mitigating Adversarial Attacks,\n Navigating the Subtleties of Perturbation Distances and Fortifying\n Predictions with Conformal Layers", "abstract": " Botnets are computer networks controlled by malicious actors that present\nsignificant cybersecurity challenges. They autonomously infect, propagate, and\ncoordinate to conduct cybercrimes, necessitating robust detection methods. This\nresearch addresses the sophisticated adversarial manipulations posed by\nattackers, aiming to undermine machine learning-based botnet detection systems.\nWe introduce a flow-based detection approach, leveraging machine learning and\ndeep learning algorithms trained on the ISCX and ISOT datasets. The detection\nalgorithms are optimized using the Genetic Algorithm and Particle Swarm\nOptimization to obtain a baseline detection method. The Carlini & Wagner (C&W)\nattack and Generative Adversarial Network (GAN) generate deceptive data with\nsubtle perturbations, targeting each feature used for classification while\npreserving their semantic and syntactic relationships, which ensures that the\nadversarial samples retain meaningfulness and realism. An in-depth analysis of\nthe required L2 distance from the original sample for the malware sample to\nmisclassify is performed across various iteration checkpoints, showing\ndifferent levels of misclassification at different L2 distances of the Pertrub\nsample from the original sample. Our work delves into the vulnerability of\nvarious models, examining the transferability of adversarial examples from a\nNeural Network surrogate model to Tree-based algorithms. Subsequently, models\nthat initially misclassified the perturbed samples are retrained, enhancing\ntheir resilience and detection capabilities. In the final phase, a conformal\nprediction layer is integrated, significantly rejecting incorrect predictions,\nof 58.20 % in the ISCX dataset and 98.94 % in the ISOT dataset.\n", "date": "2024-09-01", "categories": []} {"id": "2409.01627", "title": "Dynamic Guidance Adversarial Distillation with Enhanced Teacher\n Knowledge", "abstract": " In the realm of Adversarial Distillation (AD), strategic and precise\nknowledge transfer from an adversarially robust teacher model to a less robust\nstudent model is paramount. Our Dynamic Guidance Adversarial Distillation\n(DGAD) framework directly tackles the challenge of differential sample\nimportance, with a keen focus on rectifying the teacher model's\nmisclassifications. DGAD employs Misclassification-Aware Partitioning (MAP) to\ndynamically tailor the distillation focus, optimizing the learning process by\nsteering towards the most reliable teacher predictions. Additionally, our\nError-corrective Label Swapping (ELS) corrects misclassifications of the\nteacher on both clean and adversarially perturbed inputs, refining the quality\nof knowledge transfer. Further, Predictive Consistency Regularization (PCR)\nguarantees consistent performance of the student model across both clean and\nadversarial inputs, significantly enhancing its overall robustness. By\nintegrating these methodologies, DGAD significantly improves upon the accuracy\nof clean data and fortifies the model's defenses against sophisticated\nadversarial threats. Our experimental validation on CIFAR10, CIFAR100, and Tiny\nImageNet datasets, employing various model architectures, demonstrates the\nefficacy of DGAD, establishing it as a promising approach for enhancing both\nthe robustness and accuracy of student models in adversarial settings.\n", "date": "2024-09-03", "categories": []} {"id": "2210.00008", "title": "Adversarial Attacks on Transformers-Based Malware Detectors", "abstract": " Signature-based malware detectors have proven to be insufficient as even a\nsmall change in malignant executable code can bypass these signature-based\ndetectors. Many machine learning-based models have been proposed to efficiently\ndetect a wide variety of malware. Many of these models are found to be\nsusceptible to adversarial attacks - attacks that work by generating\nintentionally designed inputs that can force these models to misclassify. Our\nwork aims to explore vulnerabilities in the current state of the art malware\ndetectors to adversarial attacks. We train a Transformers-based malware\ndetector, carry out adversarial attacks resulting in a misclassification rate\nof 23.9% and propose defenses that reduce this misclassification rate to half.\nAn implementation of our work can be found at\nhttps://github.com/yashjakhotiya/Adversarial-Attacks-On-Transformers.\n", "date": "2022-10-01", "categories": []} {"id": "2408.02674", "title": "On Feasibility of Intent Obfuscating Attacks", "abstract": " Intent obfuscation is a common tactic in adversarial situations, enabling the\nattacker to both manipulate the target system and avoid culpability.\nSurprisingly, it has rarely been implemented in adversarial attacks on machine\nlearning systems. We are the first to propose using intent obfuscation to\ngenerate adversarial examples for object detectors: by perturbing another\nnon-overlapping object to disrupt the target object, the attacker hides their\nintended target. We conduct a randomized experiment on 5 prominent detectors --\nYOLOv3, SSD, RetinaNet, Faster R-CNN, and Cascade R-CNN -- using both targeted\nand untargeted attacks and achieve success on all models and attacks. We\nanalyze the success factors characterizing intent obfuscating attacks,\nincluding target object confidence and perturb object sizes. We then\ndemonstrate that the attacker can exploit these success factors to increase\nsuccess rates for all models and attacks. Finally, we discuss main takeaways\nand legal repercussions.\n", "date": "2024-07-22", "categories": []} {"id": "2408.15702", "title": "Evaluating Model Robustness Using Adaptive Sparse L0 Regularization", "abstract": " Deep Neural Networks have demonstrated remarkable success in various domains\nbut remain susceptible to adversarial examples, which are slightly altered\ninputs designed to induce misclassification. While adversarial attacks\ntypically optimize under Lp norm constraints, attacks based on the L0 norm,\nprioritising input sparsity, are less studied due to their complex and non\nconvex nature. These sparse adversarial examples challenge existing defenses by\naltering a minimal subset of features, potentially uncovering more subtle DNN\nweaknesses. However, the current L0 norm attack methodologies face a trade off\nbetween accuracy and efficiency either precise but computationally intense or\nexpedient but imprecise. This paper proposes a novel, scalable, and effective\napproach to generate adversarial examples based on the L0 norm, aimed at\nrefining the robustness evaluation of DNNs against such perturbations.\n", "date": "2024-08-28", "categories": []} {"id": "2408.15721", "title": "Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual\n Perturbations Against Backdoor Attacks", "abstract": " Text-to-image diffusion models have been widely adopted in real-world\napplications due to their ability to generate realistic images from textual\ndescriptions. However, recent studies have shown that these methods are\nvulnerable to backdoor attacks. Despite the significant threat posed by\nbackdoor attacks on text-to-image diffusion models, countermeasures remain\nunder-explored. In this paper, we address this research gap by demonstrating\nthat state-of-the-art backdoor attacks against text-to-image diffusion models\ncan be effectively mitigated by a surprisingly simple defense strategy -\ntextual perturbation. Experiments show that textual perturbations are effective\nin defending against state-of-the-art backdoor attacks with minimal sacrifice\nto generation quality. We analyze the efficacy of textual perturbation from two\nangles: text embedding space and cross-attention maps. They further explain how\nbackdoor attacks have compromised text-to-image diffusion models, providing\ninsights for studying future attack and defense strategies. Our code is\navailable at https://github.com/oscarchew/t2i-backdoor-defense.\n", "date": "2024-08-28", "categories": []} {"id": "2311.12084", "title": "ODDR: Outlier Detection & Dimension Reduction Based Defense Against\n Adversarial Patches", "abstract": " Adversarial attacks present a significant challenge to the dependable\ndeployment of machine learning models, with patch-based attacks being\nparticularly potent. These attacks introduce adversarial perturbations in\nlocalized regions of an image, deceiving even well-trained models. In this\npaper, we propose Outlier Detection and Dimension Reduction (ODDR), a\ncomprehensive defense strategy engineered to counteract patch-based adversarial\nattacks through advanced statistical methodologies. Our approach is based on\nthe observation that input features corresponding to adversarial\npatches-whether naturalistic or synthetic-deviate from the intrinsic\ndistribution of the remaining image data and can thus be identified as\noutliers. ODDR operates through a robust three-stage pipeline: Fragmentation,\nSegregation, and Neutralization. This model-agnostic framework is versatile,\noffering protection across various tasks, including image classification,\nobject detection, and depth estimation, and is proved effective in both\nCNN-based and Transformer-based architectures. In the Fragmentation stage,\nimage samples are divided into smaller segments, preparing them for the\nSegregation stage, where advanced outlier detection techniques isolate\nanomalous features linked to adversarial perturbations. The Neutralization\nstage then applies dimension reduction techniques to these outliers,\neffectively neutralizing the adversarial impact while preserving critical\ninformation for the machine learning task. Extensive evaluation on benchmark\ndatasets against state-of-the-art adversarial patches underscores the efficacy\nof ODDR. Our method enhances model accuracy from 39.26% to 79.1% under the\nGoogleAp attack, outperforming leading defenses such as LGS (53.86%), Jujutsu\n(60%), and Jedi (64.34%).\n", "date": "2023-11-20", "categories": []} {"id": "2404.10789", "title": "PASA: Attack Agnostic Unsupervised Adversarial Detection using\n Prediction & Attribution Sensitivity Analysis", "abstract": " Deep neural networks for classification are vulnerable to adversarial\nattacks, where small perturbations to input samples lead to incorrect\npredictions. This susceptibility, combined with the black-box nature of such\nnetworks, limits their adoption in critical applications like autonomous\ndriving. Feature-attribution-based explanation methods provide relevance of\ninput features for model predictions on input samples, thus explaining model\ndecisions. However, we observe that both model predictions and feature\nattributions for input samples are sensitive to noise. We develop a practical\nmethod for this characteristic of model prediction and feature attribution to\ndetect adversarial samples. Our method, PASA, requires the computation of two\ntest statistics using model prediction and feature attribution and can reliably\ndetect adversarial samples using thresholds learned from benign samples. We\nvalidate our lightweight approach by evaluating the performance of PASA on\nvarying strengths of FGSM, PGD, BIM, and CW attacks on multiple image and\nnon-image datasets. On average, we outperform state-of-the-art statistical\nunsupervised adversarial detectors on CIFAR-10 and ImageNet by 14\\% and 35\\%\nROC-AUC scores, respectively. Moreover, our approach demonstrates competitive\nperformance even when an adversary is aware of the defense mechanism.\n", "date": "2024-04-12", "categories": []} {"id": "2408.14143", "title": "2D-Malafide: Adversarial Attacks Against Face Deepfake Detection Systems", "abstract": " We introduce 2D-Malafide, a novel and lightweight adversarial attack designed\nto deceive face deepfake detection systems. Building upon the concept of 1D\nconvolutional perturbations explored in the speech domain, our method leverages\n2D convolutional filters to craft perturbations which significantly degrade the\nperformance of state-of-the-art face deepfake detectors. Unlike traditional\nadditive noise approaches, 2D-Malafide optimises a small number of filter\ncoefficients to generate robust adversarial perturbations which are\ntransferable across different face images. Experiments, conducted using the\nFaceForensics++ dataset, demonstrate that 2D-Malafide substantially degrades\ndetection performance in both white-box and black-box settings, with larger\nfilter sizes having the greatest impact. Additionally, we report an\nexplainability analysis using GradCAM which illustrates how 2D-Malafide\nmisleads detection systems by altering the image areas used most for\nclassification. Our findings highlight the vulnerability of current deepfake\ndetection systems to convolutional adversarial attacks as well as the need for\nfuture work to enhance detection robustness through improved image fidelity\nconstraints.\n", "date": "2024-08-26", "categories": []} {"id": "2408.14879", "title": "Adversarial Manhole: Challenging Monocular Depth Estimation and Semantic\n Segmentation Models with Patch Attack", "abstract": " Monocular depth estimation (MDE) and semantic segmentation (SS) are crucial\nfor the navigation and environmental interpretation of many autonomous driving\nsystems. However, their vulnerability to practical adversarial attacks is a\nsignificant concern. This paper presents a novel adversarial attack using\npractical patches that mimic manhole covers to deceive MDE and SS models. The\ngoal is to cause these systems to misinterpret scenes, leading to false\ndetections of near obstacles or non-passable objects. We use Depth Planar\nMapping to precisely position these patches on road surfaces, enhancing the\nattack's effectiveness. Our experiments show that these adversarial patches\ncause a 43% relative error in MDE and achieve a 96% attack success rate in SS.\nThese patches create affected error regions over twice their size in MDE and\napproximately equal to their size in SS. Our studies also confirm the patch's\neffectiveness in physical simulations, the adaptability of the patches across\ndifferent target models, and the effectiveness of our proposed modules,\nhighlighting their practical implications.\n", "date": "2024-08-27", "categories": []} {"id": "2408.13461", "title": "Probing the Robustness of Vision-Language Pretrained Models: A\n Multimodal Adversarial Attack Approach", "abstract": " Vision-language pretraining (VLP) with transformers has demonstrated\nexceptional performance across numerous multimodal tasks. However, the\nadversarial robustness of these models has not been thoroughly investigated.\nExisting multimodal attack methods have largely overlooked cross-modal\ninteractions between visual and textual modalities, particularly in the context\nof cross-attention mechanisms. In this paper, we study the adversarial\nvulnerability of recent VLP transformers and design a novel Joint Multimodal\nTransformer Feature Attack (JMTFA) that concurrently introduces adversarial\nperturbations in both visual and textual modalities under white-box settings.\nJMTFA strategically targets attention relevance scores to disrupt important\nfeatures within each modality, generating adversarial samples by fusing\nperturbations and leading to erroneous model predictions. Experimental results\nindicate that the proposed approach achieves high attack success rates on\nvision-language understanding and reasoning downstream tasks compared to\nexisting baselines. Notably, our findings reveal that the textual modality\nsignificantly influences the complex fusion processes within VLP transformers.\nMoreover, we observe no apparent relationship between model size and\nadversarial robustness under our proposed attacks. These insights emphasize a\nnew dimension of adversarial robustness and underscore potential risks in the\nreliable deployment of multimodal AI systems.\n", "date": "2024-08-24", "categories": []} {"id": "2307.11672", "title": "Robust Feature Inference: A Test-time Defense Strategy using Spectral\n Projections", "abstract": " Test-time defenses are used to improve the robustness of deep neural networks\nto adversarial examples during inference. However, existing methods either\nrequire an additional trained classifier to detect and correct the adversarial\nsamples, or perform additional complex optimization on the model parameters or\nthe input to adapt to the adversarial samples at test-time, resulting in a\nsignificant increase in the inference time compared to the base model. In this\nwork, we propose a novel test-time defense strategy called Robust Feature\nInference (RFI) that is easy to integrate with any existing (robust) training\nprocedure without additional test-time computation. Based on the notion of\nrobustness of features that we present, the key idea is to project the trained\nmodels to the most robust feature space, thereby reducing the vulnerability to\nadversarial attacks in non-robust directions. We theoretically characterize the\nsubspace of the eigenspectrum of the feature covariance that is the most robust\nfor a generalized additive model. Our extensive experiments on CIFAR-10,\nCIFAR-100, tiny ImageNet and ImageNet datasets for several robustness\nbenchmarks, including the state-of-the-art methods in RobustBench show that RFI\nimproves robustness across adaptive and transfer attacks consistently. We also\ncompare RFI with adaptive test-time defenses to demonstrate the effectiveness\nof our proposed approach.\n", "date": "2023-07-21", "categories": []} {"id": "2401.16352", "title": "Adversarial Training on Purification (AToP): Advancing Both Robustness\n and Generalization", "abstract": " The deep neural networks are known to be vulnerable to well-designed\nadversarial attacks. The most successful defense technique based on adversarial\ntraining (AT) can achieve optimal robustness against particular attacks but\ncannot generalize well to unseen attacks. Another effective defense technique\nbased on adversarial purification (AP) can enhance generalization but cannot\nachieve optimal robustness. Meanwhile, both methods share one common limitation\non the degraded standard accuracy. To mitigate these issues, we propose a novel\npipeline to acquire the robust purifier model, named Adversarial Training on\nPurification (AToP), which comprises two components: perturbation destruction\nby random transforms (RT) and purifier model fine-tuned (FT) by adversarial\nloss. RT is essential to avoid overlearning to known attacks, resulting in the\nrobustness generalization to unseen attacks, and FT is essential for the\nimprovement of robustness. To evaluate our method in an efficient and scalable\nway, we conduct extensive experiments on CIFAR-10, CIFAR-100, and ImageNette to\ndemonstrate that our method achieves optimal robustness and exhibits\ngeneralization ability against unseen attacks.\n", "date": "2024-01-29", "categories": []} {"id": "2408.12670", "title": "Leveraging Information Consistency in Frequency and Spatial Domain for\n Adversarial Attacks", "abstract": " Adversarial examples are a key method to exploit deep neural networks. Using\ngradient information, such examples can be generated in an efficient way\nwithout altering the victim model. Recent frequency domain transformation has\nfurther enhanced the transferability of such adversarial examples, such as\nspectrum simulation attack. In this work, we investigate the effectiveness of\nfrequency domain-based attacks, aligning with similar findings in the spatial\ndomain. Furthermore, such consistency between the frequency and spatial domains\nprovides insights into how gradient-based adversarial attacks induce\nperturbations across different domains, which is yet to be explored. Hence, we\npropose a simple, effective, and scalable gradient-based adversarial attack\nalgorithm leveraging the information consistency in both frequency and spatial\ndomains. We evaluate the algorithm for its effectiveness against different\nmodels. Extensive experiments demonstrate that our algorithm achieves\nstate-of-the-art results compared to other gradient-based algorithms. Our code\nis available at: https://github.com/LMBTough/FSA.\n", "date": "2024-08-22", "categories": []} {"id": "2408.12727", "title": "BankTweak: Adversarial Attack against Multi-Object Trackers by\n Manipulating Feature Banks", "abstract": " Multi-object tracking (MOT) aims to construct moving trajectories for\nobjects, and modern multi-object trackers mainly utilize the\ntracking-by-detection methodology. Initial approaches to MOT attacks primarily\naimed to degrade the detection quality of the frames under attack, thereby\nreducing accuracy only in those specific frames, highlighting a lack of\n\\textit{efficiency}. To improve efficiency, recent advancements manipulate\nobject positions to cause persistent identity (ID) switches during the\nassociation phase, even after the attack ends within a few frames. However,\nthese position-manipulating attacks have inherent limitations, as they can be\neasily counteracted by adjusting distance-related parameters in the association\nphase, revealing a lack of \\textit{robustness}. In this paper, we present\n\\textsf{BankTweak}, a novel adversarial attack designed for MOT trackers, which\nfeatures efficiency and robustness. \\textsf{BankTweak} focuses on the feature\nextractor in the association phase and reveals vulnerability in the Hungarian\nmatching method used by feature-based MOT systems. Exploiting the\nvulnerability, \\textsf{BankTweak} induces persistent ID switches (addressing\n\\textit{efficiency}) even after the attack ends by strategically injecting\naltered features into the feature banks without modifying object positions\n(addressing \\textit{robustness}). To demonstrate the applicability, we apply\n\\textsf{BankTweak} to three multi-object trackers (DeepSORT, StrongSORT, and\nMOTDT) with one-stage, two-stage, anchor-free, and transformer detectors.\nExtensive experiments on the MOT17 and MOT20 datasets show that our method\nsubstantially surpasses existing attacks, exposing the vulnerability of the\ntracking-by-detection framework to \\textsf{BankTweak}.\n", "date": "2024-08-22", "categories": []} {"id": "2408.13102", "title": "Dynamic Label Adversarial Training for Deep Learning Robustness Against\n Adversarial Attacks", "abstract": " Adversarial training is one of the most effective methods for enhancing model\nrobustness. Recent approaches incorporate adversarial distillation in\nadversarial training architectures. However, we notice two scenarios of defense\nmethods that limit their performance: (1) Previous methods primarily use static\nground truth for adversarial training, but this often causes robust\noverfitting; (2) The loss functions are either Mean Squared Error or\nKL-divergence leading to a sub-optimal performance on clean accuracy. To solve\nthose problems, we propose a dynamic label adversarial training (DYNAT)\nalgorithm that enables the target model to gradually and dynamically gain\nrobustness from the guide model's decisions. Additionally, we found that a\nbudgeted dimension of inner optimization for the target model may contribute to\nthe trade-off between clean accuracy and robust accuracy. Therefore, we propose\na novel inner optimization method to be incorporated into the adversarial\ntraining. This will enable the target model to adaptively search for\nadversarial examples based on dynamic labels from the guiding model,\ncontributing to the robustness of the target model. Extensive experiments\nvalidate the superior performance of our approach.\n", "date": "2024-08-23", "categories": []} {"id": "2311.01473", "title": "Adversarial Examples in the Physical World: A Survey", "abstract": " Deep neural networks (DNNs) have demonstrated high vulnerability to\nadversarial examples, raising broad security concerns about their applications.\nBesides the attacks in the digital world, the practical implications of\nadversarial examples in the physical world present significant challenges and\nsafety concerns. However, current research on physical adversarial examples\n(PAEs) lacks a comprehensive understanding of their unique characteristics,\nleading to limited significance and understanding. In this paper, we address\nthis gap by thoroughly examining the characteristics of PAEs within a practical\nworkflow encompassing training, manufacturing, and re-sampling processes. By\nanalyzing the links between physical adversarial attacks, we identify\nmanufacturing and re-sampling as the primary sources of distinct attributes and\nparticularities in PAEs. Leveraging this knowledge, we develop a comprehensive\nanalysis and classification framework for PAEs based on their specific\ncharacteristics, covering over 100 studies on physical-world adversarial\nexamples. Furthermore, we investigate defense strategies against PAEs and\nidentify open challenges and opportunities for future research. We aim to\nprovide a fresh, thorough, and systematic understanding of PAEs, thereby\npromoting the development of robust adversarial learning and its application in\nopen-world scenarios to provide the community with a continuously updated list\nof physical world adversarial sample resources, including papers, code, \\etc,\nwithin the proposed framework\n", "date": "2023-11-01", "categories": []} {"id": "2406.03833", "title": "Talos: A More Effective and Efficient Adversarial Defense for GNN Models\n Based on the Global Homophily of Graphs", "abstract": " Graph neural network (GNN) models play a pivotal role in numerous tasks\ninvolving graph-related data analysis. Despite their efficacy, similar to other\ndeep learning models, GNNs are susceptible to adversarial attacks. Even minor\nperturbations in graph data can induce substantial alterations in model\npredictions. While existing research has explored various adversarial defense\ntechniques for GNNs, the challenge of defending against adversarial attacks on\nreal-world scale graph data remains largely unresolved. On one hand, methods\nreliant on graph purification and preprocessing tend to excessively emphasize\nlocal graph information, leading to sub-optimal defensive outcomes. On the\nother hand, approaches rooted in graph structure learning entail significant\ntime overheads, rendering them impractical for large-scale graphs. In this\npaper, we propose a new defense method named Talos, which enhances the global,\nrather than local, homophily of graphs as a defense. Experiments show that the\nproposed approach notably outperforms state-of-the-art defense approaches,\nwhile imposing little computational overhead.\n", "date": "2024-06-06", "categories": []} {"id": "2408.09672", "title": "Regularization for Adversarial Robust Learning", "abstract": " Despite the growing prevalence of artificial neural networks in real-world\napplications, their vulnerability to adversarial attacks remains a significant\nconcern, which motivates us to investigate the robustness of machine learning\nmodels. While various heuristics aim to optimize the distributionally robust\nrisk using the $\\infty$-Wasserstein metric, such a notion of robustness\nfrequently encounters computation intractability. To tackle the computational\nchallenge, we develop a novel approach to adversarial training that integrates\n$\\phi$-divergence regularization into the distributionally robust risk\nfunction. This regularization brings a notable improvement in computation\ncompared with the original formulation. We develop stochastic gradient methods\nwith biased oracles to solve this problem efficiently, achieving the\nnear-optimal sample complexity. Moreover, we establish its regularization\neffects and demonstrate it is asymptotic equivalence to a regularized empirical\nrisk minimization framework, by considering various scaling regimes of the\nregularization parameter and robustness level. These regimes yield gradient\nnorm regularization, variance regularization, or a smoothed gradient norm\nregularization that interpolates between these extremes. We numerically\nvalidate our proposed method in supervised learning, reinforcement learning,\nand contextual learning and showcase its state-of-the-art performance against\nvarious adversarial attacks.\n", "date": "2024-08-19", "categories": []} {"id": "2408.08205", "title": "A Multi-task Adversarial Attack Against Face Authentication", "abstract": " Deep-learning-based identity management systems, such as face authentication\nsystems, are vulnerable to adversarial attacks. However, existing attacks are\ntypically designed for single-task purposes, which means they are tailored to\nexploit vulnerabilities unique to the individual target rather than being\nadaptable for multiple users or systems. This limitation makes them unsuitable\nfor certain attack scenarios, such as morphing, universal, transferable, and\ncounter attacks. In this paper, we propose a multi-task adversarial attack\nalgorithm called MTADV that are adaptable for multiple users or systems. By\ninterpreting these scenarios as multi-task attacks, MTADV is applicable to both\nsingle- and multi-task attacks, and feasible in the white- and gray-box\nsettings. Furthermore, MTADV is effective against various face datasets,\nincluding LFW, CelebA, and CelebA-HQ, and can work with different deep learning\nmodels, such as FaceNet, InsightFace, and CurricularFace. Importantly, MTADV\nretains its feasibility as a single-task attack targeting a single user/system.\nTo the best of our knowledge, MTADV is the first adversarial attack method that\ncan target all of the aforementioned scenarios in one algorithm.\n", "date": "2024-08-15", "categories": []} {"id": "2408.11218", "title": "Revisiting Min-Max Optimization Problem in Adversarial Training", "abstract": " The rise of computer vision applications in the real world puts the security\nof the deep neural networks at risk. Recent works demonstrate that\nconvolutional neural networks are susceptible to adversarial examples - where\nthe input images look similar to the natural images but are classified\nincorrectly by the model. To provide a rebuttal to this problem, we propose a\nnew method to build robust deep neural networks against adversarial attacks by\nreformulating the saddle point optimization problem in \\cite{madry2017towards}.\nOur proposed method offers significant resistance and a concrete security\nguarantee against multiple adversaries. The goal of this paper is to act as a\nstepping stone for a new variation of deep learning models which would lead\ntowards fully robust deep learning models.\n", "date": "2024-08-20", "categories": []} {"id": "2408.11264", "title": "Correlation Analysis of Adversarial Attack in Time Series Classification", "abstract": " This study investigates the vulnerability of time series classification\nmodels to adversarial attacks, with a focus on how these models process local\nversus global information under such conditions. By leveraging the Normalized\nAuto Correlation Function (NACF), an exploration into the inclination of neural\nnetworks is conducted. It is demonstrated that regularization techniques,\nparticularly those employing Fast Fourier Transform (FFT) methods and targeting\nfrequency components of perturbations, markedly enhance the effectiveness of\nattacks. Meanwhile, the defense strategies, like noise introduction and\nGaussian filtering, are shown to significantly lower the Attack Success Rate\n(ASR), with approaches based on noise introducing notably effective in\ncountering high-frequency distortions. Furthermore, models designed to\nprioritize global information are revealed to possess greater resistance to\nadversarial manipulations. These results underline the importance of designing\nattack and defense mechanisms, informed by frequency domain analysis, as a\nmeans to considerably reinforce the resilience of neural network models against\nadversarial threats.\n", "date": "2024-08-21", "categories": []} {"id": "2408.11680", "title": "First line of defense: A robust first layer mitigates adversarial\n attacks", "abstract": " Adversarial training (AT) incurs significant computational overhead, leading\nto growing interest in designing inherently robust architectures. We\ndemonstrate that a carefully designed first layer of the neural network can\nserve as an implicit adversarial noise filter (ANF). This filter is created\nusing a combination of large kernel size, increased convolution filters, and a\nmaxpool operation. We show that integrating this filter as the first layer in\narchitectures such as ResNet, VGG, and EfficientNet results in adversarially\nrobust networks. Our approach achieves higher adversarial accuracies than\nexisting natively robust architectures without AT and is competitive with\nadversarial-trained architectures across a wide range of datasets. Supporting\nour findings, we show that (a) the decision regions for our method have better\nmargins, (b) the visualized loss surfaces are smoother, (c) the modified peak\nsignal-to-noise ratio (mPSNR) values at the output of the ANF are higher, (d)\nhigh-frequency components are more attenuated, and (e) architectures\nincorporating ANF exhibit better denoising in Gaussian noise compared to\nbaseline architectures. Code for all our experiments are available at\n\\url{https://github.com/janani-suresh-97/first-line-defence.git}.\n", "date": "2024-08-21", "categories": []} {"id": "2310.12431", "title": "SAM Meets UAP: Attacking Segment Anything Model With Universal\n Adversarial Perturbation", "abstract": " As Segment Anything Model (SAM) becomes a popular foundation model in\ncomputer vision, its adversarial robustness has become a concern that cannot be\nignored. This works investigates whether it is possible to attack SAM with\nimage-agnostic Universal Adversarial Perturbation (UAP). In other words, we\nseek a single perturbation that can fool the SAM to predict invalid masks for\nmost (if not all) images. We demonstrate convetional image-centric attack\nframework is effective for image-independent attacks but fails for universal\nadversarial attack. To this end, we propose a novel perturbation-centric\nframework that results in a UAP generation method based on self-supervised\ncontrastive learning (CL), where the UAP is set to the anchor sample and the\npositive sample is augmented from the UAP. The representations of negative\nsamples are obtained from the image encoder in advance and saved in a memory\nbank. The effectiveness of our proposed CL-based UAP generation method is\nvalidated by both quantitative and qualitative results. On top of the ablation\nstudy to understand various components in our proposed method, we shed light on\nthe roles of positive and negative samples in making the generated UAP\neffective for attacking SAM.\n", "date": "2023-10-19", "categories": []} {"id": "2408.10647", "title": "Privacy-preserving Universal Adversarial Defense for Black-box Models", "abstract": " Deep neural networks (DNNs) are increasingly used in critical applications\nsuch as identity authentication and autonomous driving, where robustness\nagainst adversarial attacks is crucial. These attacks can exploit minor\nperturbations to cause significant prediction errors, making it essential to\nenhance the resilience of DNNs. Traditional defense methods often rely on\naccess to detailed model information, which raises privacy concerns, as model\nowners may be reluctant to share such data. In contrast, existing black-box\ndefense methods fail to offer a universal defense against various types of\nadversarial attacks. To address these challenges, we introduce DUCD, a\nuniversal black-box defense method that does not require access to the target\nmodel's parameters or architecture. Our approach involves distilling the target\nmodel by querying it with data, creating a white-box surrogate while preserving\ndata privacy. We further enhance this surrogate model using a certified defense\nbased on randomized smoothing and optimized noise selection, enabling robust\ndefense against a broad range of adversarial attacks. Comparative evaluations\nbetween the certified defenses of the surrogate and target models demonstrate\nthe effectiveness of our approach. Experiments on multiple image classification\ndatasets show that DUCD not only outperforms existing black-box defenses but\nalso matches the accuracy of white-box defenses, all while enhancing data\nprivacy and reducing the success rate of membership inference attacks.\n", "date": "2024-08-20", "categories": []} {"id": "2408.10694", "title": "MsMemoryGAN: A Multi-scale Memory GAN for Palm-vein Adversarial\n Purification", "abstract": " Deep neural networks have recently achieved promising performance in the vein\nrecognition task and have shown an increasing application trend, however, they\nare prone to adversarial perturbation attacks by adding imperceptible\nperturbations to the input, resulting in making incorrect recognition. To\naddress this issue, we propose a novel defense model named MsMemoryGAN, which\naims to filter the perturbations from adversarial samples before recognition.\nFirst, we design a multi-scale autoencoder to achieve high-quality\nreconstruction and two memory modules to learn the detailed patterns of normal\nsamples at different scales. Second, we investigate a learnable metric in the\nmemory module to retrieve the most relevant memory items to reconstruct the\ninput image. Finally, the perceptional loss is combined with the pixel loss to\nfurther enhance the quality of the reconstructed image. During the training\nphase, the MsMemoryGAN learns to reconstruct the input by merely using fewer\nprototypical elements of the normal patterns recorded in the memory. At the\ntesting stage, given an adversarial sample, the MsMemoryGAN retrieves its most\nrelevant normal patterns in memory for the reconstruction. Perturbations in the\nadversarial sample are usually not reconstructed well, resulting in purifying\nthe input from adversarial perturbations. We have conducted extensive\nexperiments on two public vein datasets under different adversarial attack\nmethods to evaluate the performance of the proposed approach. The experimental\nresults show that our approach removes a wide variety of adversarial\nperturbations, allowing vein classifiers to achieve the highest recognition\naccuracy.\n", "date": "2024-08-20", "categories": []} {"id": "2311.11261", "title": "Adversarial Prompt Tuning for Vision-Language Models", "abstract": " With the rapid advancement of multimodal learning, pre-trained\nVision-Language Models (VLMs) such as CLIP have demonstrated remarkable\ncapacities in bridging the gap between visual and language modalities. However,\nthese models remain vulnerable to adversarial attacks, particularly in the\nimage modality, presenting considerable security risks. This paper introduces\nAdversarial Prompt Tuning (AdvPT), a novel technique to enhance the adversarial\nrobustness of image encoders in VLMs. AdvPT innovatively leverages learnable\ntext prompts and aligns them with adversarial image embeddings, to address the\nvulnerabilities inherent in VLMs without the need for extensive parameter\ntraining or modification of the model architecture. We demonstrate that AdvPT\nimproves resistance against white-box and black-box adversarial attacks and\nexhibits a synergistic effect when combined with existing\nimage-processing-based defense techniques, further boosting defensive\ncapabilities. Comprehensive experimental analyses provide insights into\nadversarial prompt tuning, a novel paradigm devoted to improving resistance to\nadversarial images through textual input modifications, paving the way for\nfuture robust multimodal learning research. These findings open up new\npossibilities for enhancing the security of VLMs. Our code is available at\nhttps://github.com/jiamingzhang94/Adversarial-Prompt-Tuning.\n", "date": "2023-11-19", "categories": []} {"id": "2311.17607", "title": "Topology-preserving Adversarial Training for Alleviating Natural\n Accuracy Degradation", "abstract": " Despite the effectiveness in improving the robustness of neural networks,\nadversarial training has suffered from the natural accuracy degradation\nproblem, i.e., accuracy on natural samples has reduced significantly. In this\nstudy, we reveal that natural accuracy degradation is highly related to the\ndisruption of the natural sample topology in the representation space by\nquantitative and qualitative experiments. Based on this observation, we propose\nTopology-pReserving Adversarial traINing (TRAIN) to alleviate the problem by\npreserving the topology structure of natural samples from a standard model\ntrained only on natural samples during adversarial training. As an additional\nregularization, our method can be combined with various popular adversarial\ntraining algorithms, taking advantage of both sides. Extensive experiments on\nCIFAR-10, CIFAR-100, and Tiny ImageNet show that our proposed method achieves\nconsistent and significant improvements over various strong baselines in most\ncases. Specifically, without additional data, TRAIN achieves up to 8.86%\nimprovement in natural accuracy and 6.33% improvement in robust accuracy.\n", "date": "2023-11-29", "categories": []} {"id": "2312.00029", "title": "Bergeron: Combating Adversarial Attacks through a Conscience-Based\n Alignment Framework", "abstract": " Research into AI alignment has grown considerably since the recent\nintroduction of increasingly capable Large Language Models (LLMs).\nUnfortunately, modern methods of alignment still fail to fully prevent harmful\nresponses when models are deliberately attacked. Such vulnerabilities can lead\nto LLMs being manipulated into generating hazardous content: from instructions\nfor creating dangerous materials to inciting violence or endorsing unethical\nbehaviors. To help mitigate this issue, we introduce Bergeron: a framework\ndesigned to improve the robustness of LLMs against attacks without any\nadditional parameter fine-tuning. Bergeron is organized into two tiers; with a\nsecondary LLM acting as a guardian to the primary LLM. This framework better\nsafeguards the primary model against incoming attacks while monitoring its\noutput for any harmful content. Empirical analysis reviews that by using\nBergeron to complement models with existing alignment training, we can\nsignificantly improve the robustness and safety of multiple, commonly used\ncommercial and open-source LLMs. Specifically, we found that models integrated\nwith Bergeron are, on average, nearly seven times more resistant to attacks\ncompared to models without such support.\n", "date": "2023-11-16", "categories": []} {"id": "2401.08903", "title": "Rethinking Impersonation and Dodging Attacks on Face Recognition Systems", "abstract": " Face Recognition (FR) systems can be easily deceived by adversarial examples\nthat manipulate benign face images through imperceptible perturbations.\nAdversarial attacks on FR encompass two types: impersonation (targeted) attacks\nand dodging (untargeted) attacks. Previous methods often achieve a successful\nimpersonation attack on FR, however, it does not necessarily guarantee a\nsuccessful dodging attack on FR in the black-box setting. In this paper, our\nkey insight is that the generation of adversarial examples should perform both\nimpersonation and dodging attacks simultaneously. To this end, we propose a\nnovel attack method termed as Adversarial Pruning (Adv-Pruning), to fine-tune\nexisting adversarial examples to enhance their dodging capabilities while\npreserving their impersonation capabilities. Adv-Pruning consists of Priming,\nPruning, and Restoration stages. Concretely, we propose Adversarial Priority\nQuantification to measure the region-wise priority of original adversarial\nperturbations, identifying and releasing those with minimal impact on absolute\nmodel output variances. Then, Biased Gradient Adaptation is presented to adapt\nthe adversarial examples to traverse the decision boundaries of both the\nattacker and victim by adding perturbations favoring dodging attacks on the\nvacated regions, preserving the prioritized features of the original\nperturbations while boosting dodging performance. As a result, we can maintain\nthe impersonation capabilities of original adversarial examples while\neffectively enhancing dodging capabilities. Comprehensive experiments\ndemonstrate the superiority of our method compared with state-of-the-art\nadversarial attack methods.\n", "date": "2024-01-17", "categories": []} {"id": "2403.02955", "title": "XAI-Based Detection of Adversarial Attacks on Deepfake Detectors", "abstract": " We introduce a novel methodology for identifying adversarial attacks on\ndeepfake detectors using eXplainable Artificial Intelligence (XAI). In an era\ncharacterized by digital advancement, deepfakes have emerged as a potent tool,\ncreating a demand for efficient detection systems. However, these systems are\nfrequently targeted by adversarial attacks that inhibit their performance. We\naddress this gap, developing a defensible deepfake detector by leveraging the\npower of XAI. The proposed methodology uses XAI to generate interpretability\nmaps for a given method, providing explicit visualizations of decision-making\nfactors within the AI models. We subsequently employ a pretrained feature\nextractor that processes both the input image and its corresponding XAI image.\nThe feature embeddings extracted from this process are then used for training a\nsimple yet effective classifier. Our approach contributes not only to the\ndetection of deepfakes but also enhances the understanding of possible\nadversarial attacks, pinpointing potential vulnerabilities. Furthermore, this\napproach does not change the performance of the deepfake detector. The paper\ndemonstrates promising results suggesting a potential pathway for future\ndeepfake detection mechanisms. We believe this study will serve as a valuable\ncontribution to the community, sparking much-needed discourse on safeguarding\ndeepfake detectors.\n", "date": "2024-03-05", "categories": []} {"id": "2408.08899", "title": "Kov: Transferable and Naturalistic Black-Box LLM Attacks using Markov\n Decision Processes and Tree Search", "abstract": " Eliciting harmful behavior from large language models (LLMs) is an important\ntask to ensure the proper alignment and safety of the models. Often when\ntraining LLMs, ethical guidelines are followed yet alignment failures may still\nbe uncovered through red teaming adversarial attacks. This work frames the\nred-teaming problem as a Markov decision process (MDP) and uses Monte Carlo\ntree search to find harmful behaviors of black-box, closed-source LLMs. We\noptimize token-level prompt suffixes towards targeted harmful behaviors on\nwhite-box LLMs and include a naturalistic loss term, log-perplexity, to\ngenerate more natural language attacks for better interpretability. The\nproposed algorithm, Kov, trains on white-box LLMs to optimize the adversarial\nattacks and periodically evaluates responses from the black-box LLM to guide\nthe search towards more harmful black-box behaviors. In our preliminary study,\nresults indicate that we can jailbreak black-box models, such as GPT-3.5, in\nonly 10 queries, yet fail on GPT-4$-$which may indicate that newer models are\nmore robust to token-level attacks. All work to reproduce these results is open\nsourced (https://github.com/sisl/Kov.jl).\n", "date": "2024-08-11", "categories": []} {"id": "2408.08989", "title": "Ask, Attend, Attack: A Effective Decision-Based Black-Box Targeted\n Attack for Image-to-Text Models", "abstract": " While image-to-text models have demonstrated significant advancements in\nvarious vision-language tasks, they remain susceptible to adversarial attacks.\nExisting white-box attacks on image-to-text models require access to the\narchitecture, gradients, and parameters of the target model, resulting in low\npracticality. Although the recently proposed gray-box attacks have improved\npracticality, they suffer from semantic loss during the training process, which\nlimits their targeted attack performance. To advance adversarial attacks of\nimage-to-text models, this paper focuses on a challenging scenario:\ndecision-based black-box targeted attacks where the attackers only have access\nto the final output text and aim to perform targeted attacks. Specifically, we\nformulate the decision-based black-box targeted attack as a large-scale\noptimization problem. To efficiently solve the optimization problem, a\nthree-stage process \\textit{Ask, Attend, Attack}, called \\textit{AAA}, is\nproposed to coordinate with the solver. \\textit{Ask} guides attackers to create\ntarget texts that satisfy the specific semantics. \\textit{Attend} identifies\nthe crucial regions of the image for attacking, thus reducing the search space\nfor the subsequent \\textit{Attack}. \\textit{Attack} uses an evolutionary\nalgorithm to attack the crucial regions, where the attacks are semantically\nrelated to the target texts of \\textit{Ask}, thus achieving targeted attacks\nwithout semantic loss. Experimental results on transformer-based and\nCNN+RNN-based image-to-text models confirmed the effectiveness of our proposed\n\\textit{AAA}.\n", "date": "2024-08-16", "categories": []} {"id": "2408.10021", "title": "Detecting Adversarial Attacks in Semantic Segmentation via Uncertainty\n Estimation: A Deep Analysis", "abstract": " Deep neural networks have demonstrated remarkable effectiveness across a wide\nrange of tasks such as semantic segmentation. Nevertheless, these networks are\nvulnerable to adversarial attacks that add imperceptible perturbations to the\ninput image, leading to false predictions. This vulnerability is particularly\ndangerous in safety-critical applications like automated driving. While\nadversarial examples and defense strategies are well-researched in the context\nof image classification, there is comparatively less research focused on\nsemantic segmentation. Recently, we have proposed an uncertainty-based method\nfor detecting adversarial attacks on neural networks for semantic segmentation.\nWe observed that uncertainty, as measured by the entropy of the output\ndistribution, behaves differently on clean versus adversely perturbed images,\nand we utilize this property to differentiate between the two. In this extended\nversion of our work, we conduct a detailed analysis of uncertainty-based\ndetection of adversarial attacks including a diverse set of adversarial attacks\nand various state-of-the-art neural networks. Our numerical experiments show\nthe effectiveness of the proposed uncertainty-based detection method, which is\nlightweight and operates as a post-processing step, i.e., no model\nmodifications or knowledge of the adversarial example generation process are\nrequired.\n", "date": "2024-08-19", "categories": []} {"id": "2408.08374", "title": "Evaluating Text Classification Robustness to Part-of-Speech Adversarial\n Examples", "abstract": " As machine learning systems become more widely used, especially for safety\ncritical applications, there is a growing need to ensure that these systems\nbehave as intended, even in the face of adversarial examples. Adversarial\nexamples are inputs that are designed to trick the decision making process, and\nare intended to be imperceptible to humans. However, for text-based\nclassification systems, changes to the input, a string of text, are always\nperceptible. Therefore, text-based adversarial examples instead focus on trying\nto preserve semantics. Unfortunately, recent work has shown this goal is often\nnot met. To improve the quality of text-based adversarial examples, we need to\nknow what elements of the input text are worth focusing on. To address this, in\nthis paper, we explore what parts of speech have the highest impact of\ntext-based classifiers. Our experiments highlight a distinct bias in CNN\nalgorithms against certain parts of speech tokens within review datasets. This\nfinding underscores a critical vulnerability in the linguistic processing\ncapabilities of CNNs.\n", "date": "2024-08-15", "categories": []} {"id": "2408.07364", "title": "Robust Active Learning (RoAL): Countering Dynamic Adversaries in Active\n Learning with Elastic Weight Consolidation", "abstract": " Despite significant advancements in active learning and adversarial attacks,\nthe intersection of these two fields remains underexplored, particularly in\ndeveloping robust active learning frameworks against dynamic adversarial\nthreats. The challenge of developing robust active learning frameworks under\ndynamic adversarial attacks is critical, as these attacks can lead to\ncatastrophic forgetting within the active learning cycle. This paper introduces\nRobust Active Learning (RoAL), a novel approach designed to address this issue\nby integrating Elastic Weight Consolidation (EWC) into the active learning\nprocess. Our contributions are threefold: First, we propose a new dynamic\nadversarial attack that poses significant threats to active learning\nframeworks. Second, we introduce a novel method that combines EWC with active\nlearning to mitigate catastrophic forgetting caused by dynamic adversarial\nattacks. Finally, we conduct extensive experimental evaluations to demonstrate\nthe efficacy of our approach. The results show that RoAL not only effectively\ncounters dynamic adversarial threats but also significantly reduces the impact\nof catastrophic forgetting, thereby enhancing the robustness and performance of\nactive learning systems in adversarial environments.\n", "date": "2024-08-14", "categories": []} {"id": "2408.07733", "title": "Enhancing Adversarial Attacks via Parameter Adaptive Adversarial Attack", "abstract": " In recent times, the swift evolution of adversarial attacks has captured\nwidespread attention, particularly concerning their transferability and other\nperformance attributes. These techniques are primarily executed at the sample\nlevel, frequently overlooking the intrinsic parameters of models. Such neglect\nsuggests that the perturbations introduced in adversarial samples might have\nthe potential for further reduction. Given the essence of adversarial attacks\nis to impair model integrity with minimal noise on original samples, exploring\navenues to maximize the utility of such perturbations is imperative. Against\nthis backdrop, we have delved into the complexities of adversarial attack\nalgorithms, dissecting the adversarial process into two critical phases: the\nDirectional Supervision Process (DSP) and the Directional Optimization Process\n(DOP). While DSP determines the direction of updates based on the current\nsamples and model parameters, it has been observed that existing model\nparameters may not always be conducive to adversarial attacks. The impact of\nmodels on adversarial efficacy is often overlooked in current research, leading\nto the neglect of DSP. We propose that under certain conditions, fine-tuning\nmodel parameters can significantly enhance the quality of DSP. For the first\ntime, we propose that under certain conditions, fine-tuning model parameters\ncan significantly improve the quality of the DSP. We provide, for the first\ntime, rigorous mathematical definitions and proofs for these conditions, and\nintroduce multiple methods for fine-tuning model parameters within DSP. Our\nextensive experiments substantiate the effectiveness of the proposed P3A\nmethod. Our code is accessible at: https://anonymous.4open.science/r/P3A-A12C/\n", "date": "2024-08-14", "categories": []} {"id": "2306.07197", "title": "AROID: Improving Adversarial Robustness Through Online Instance-Wise\n Data Augmentation", "abstract": " Deep neural networks are vulnerable to adversarial examples. Adversarial\ntraining (AT) is an effective defense against adversarial examples. However, AT\nis prone to overfitting which degrades robustness substantially. Recently, data\naugmentation (DA) was shown to be effective in mitigating robust overfitting if\nappropriately designed and optimized for AT. This work proposes a new method to\nautomatically learn online, instance-wise, DA policies to improve robust\ngeneralization for AT. This is the first automated DA method specific for\nrobustness. A novel policy learning objective, consisting of Vulnerability,\nAffinity and Diversity, is proposed and shown to be sufficiently effective and\nefficient to be practical for automatic DA generation during AT. Importantly,\nour method dramatically reduces the cost of policy search from the 5000 hours\nof AutoAugment and the 412 hours of IDBH to 9 hours, making automated DA more\npractical to use for adversarial robustness. This allows our method to\nefficiently explore a large search space for a more effective DA policy and\nevolve the policy as training progresses. Empirically, our method is shown to\noutperform all competitive DA methods across various model architectures and\ndatasets. Our DA policy reinforced vanilla AT to surpass several\nstate-of-the-art AT methods regarding both accuracy and robustness. It can also\nbe combined with those advanced AT methods to further boost robustness. Code\nand pre-trained models are available at https://github.com/TreeLLi/AROID.\n", "date": "2023-06-12", "categories": []} {"id": "2408.07579", "title": "TabularBench: Benchmarking Adversarial Robustness for Tabular Deep\n Learning in Real-world Use-cases", "abstract": " While adversarial robustness in computer vision is a mature research field,\nfewer researchers have tackled the evasion attacks against tabular deep\nlearning, and even fewer investigated robustification mechanisms and reliable\ndefenses. We hypothesize that this lag in the research on tabular adversarial\nattacks is in part due to the lack of standardized benchmarks. To fill this\ngap, we propose TabularBench, the first comprehensive benchmark of robustness\nof tabular deep learning classification models. We evaluated adversarial\nrobustness with CAA, an ensemble of gradient and search attacks which was\nrecently demonstrated as the most effective attack against a tabular model. In\naddition to our open benchmark (https://github.com/serval-uni-lu/tabularbench)\nwhere we welcome submissions of new models and defenses, we implement 7\nrobustification mechanisms inspired by state-of-the-art defenses in computer\nvision and propose the largest benchmark of robust tabular deep learning over\n200 models across five critical scenarios in finance, healthcare and security.\nWe curated real datasets for each use case, augmented with hundreds of\nthousands of realistic synthetic inputs, and trained and assessed our models\nwith and without data augmentations. We open-source our library that provides\nAPI access to all our pre-trained robust tabular models, and the largest\ndatasets of real and synthetic tabular inputs. Finally, we analyze the impact\nof various defenses on the robustness and provide actionable insights to design\nnew defenses and robustification mechanisms.\n", "date": "2024-08-14", "categories": []} {"id": "2402.11196", "title": "Maintaining Adversarial Robustness in Continuous Learning", "abstract": " Adversarial robustness is essential for security and reliability of machine\nlearning systems. However, adversarial robustness enhanced by defense\nalgorithms is easily erased as the neural network's weights update to learn new\ntasks. To address this vulnerability, it is essential to improve the capability\nof neural networks in terms of robust continual learning. Specially, we propose\na novel gradient projection technique that effectively stabilizes sample\ngradients from previous data by orthogonally projecting back-propagation\ngradients onto a crucial subspace before using them for weight updates. This\ntechnique can maintaining robustness by collaborating with a class of defense\nalgorithms through sample gradient smoothing. The experimental results on four\nbenchmarks including Split-CIFAR100 and Split-miniImageNet, demonstrate that\nthe superiority of the proposed approach in mitigating rapidly degradation of\nrobustness during continual learning even when facing strong adversarial\nattacks.\n", "date": "2024-02-17", "categories": []} {"id": "2408.06625", "title": "DePatch: Towards Robust Adversarial Patch for Evading Person Detectors\n in the Real World", "abstract": " Recent years have seen an increasing interest in physical adversarial\nattacks, which aim to craft deployable patterns for deceiving deep neural\nnetworks, especially for person detectors. However, the adversarial patterns of\nexisting patch-based attacks heavily suffer from the self-coupling issue, where\na degradation, caused by physical transformations, in any small patch segment\ncan result in a complete adversarial dysfunction, leading to poor robustness in\nthe complex real world. Upon this observation, we introduce the Decoupled\nadversarial Patch (DePatch) attack to address the self-coupling issue of\nadversarial patches. Specifically, we divide the adversarial patch into\nblock-wise segments, and reduce the inter-dependency among these segments\nthrough randomly erasing out some segments during the optimization. We further\nintroduce a border shifting operation and a progressive decoupling strategy to\nimprove the overall attack capabilities. Extensive experiments demonstrate the\nsuperior performance of our method over other physical adversarial attacks,\nespecially in the real world.\n", "date": "2024-08-13", "categories": []} {"id": "2312.16156", "title": "From text to multimodal: a survey of adversarial example generation in\n question answering systems", "abstract": " Integrating adversarial machine learning with Question Answering (QA) systems\nhas emerged as a critical area for understanding the vulnerabilities and\nrobustness of these systems. This article aims to comprehensively review\nadversarial example-generation techniques in the QA field, including textual\nand multimodal contexts. We examine the techniques employed through systematic\ncategorization, providing a comprehensive, structured review. Beginning with an\noverview of traditional QA models, we traverse the adversarial example\ngeneration by exploring rule-based perturbations and advanced generative\nmodels. We then extend our research to include multimodal QA systems, analyze\nthem across various methods, and examine generative models, seq2seq\narchitectures, and hybrid methodologies. Our research grows to different\ndefense strategies, adversarial datasets, and evaluation metrics and\nillustrates the comprehensive literature on adversarial QA. Finally, the paper\nconsiders the future landscape of adversarial question generation, highlighting\npotential research directions that can advance textual and multimodal QA\nsystems in the context of adversarial challenges.\n", "date": "2023-12-26", "categories": []} {"id": "2408.05446", "title": "Ensemble everything everywhere: Multi-scale aggregation for adversarial\n robustness", "abstract": " Adversarial examples pose a significant challenge to the robustness,\nreliability and alignment of deep neural networks. We propose a novel,\neasy-to-use approach to achieving high-quality representations that lead to\nadversarial robustness through the use of multi-resolution input\nrepresentations and dynamic self-ensembling of intermediate layer predictions.\nWe demonstrate that intermediate layer predictions exhibit inherent robustness\nto adversarial attacks crafted to fool the full classifier, and propose a\nrobust aggregation mechanism based on Vickrey auction that we call\n\\textit{CrossMax} to dynamically ensemble them. By combining multi-resolution\ninputs and robust ensembling, we achieve significant adversarial robustness on\nCIFAR-10 and CIFAR-100 datasets without any adversarial training or extra data,\nreaching an adversarial accuracy of $\\approx$72% (CIFAR-10) and $\\approx$48%\n(CIFAR-100) on the RobustBench AutoAttack suite ($L_\\infty=8/255)$ with a\nfinetuned ImageNet-pretrained ResNet152. This represents a result comparable\nwith the top three models on CIFAR-10 and a +5 % gain compared to the best\ncurrent dedicated approach on CIFAR-100. Adding simple adversarial training on\ntop, we get $\\approx$78% on CIFAR-10 and $\\approx$51% on CIFAR-100, improving\nSOTA by 5 % and 9 % respectively and seeing greater gains on the harder\ndataset. We validate our approach through extensive experiments and provide\ninsights into the interplay between adversarial robustness, and the\nhierarchical nature of deep representations. We show that simple gradient-based\nattacks against our model lead to human-interpretable images of the target\nclasses as well as interpretable image changes. As a byproduct, using our\nmulti-resolution prior, we turn pre-trained classifiers and CLIP models into\ncontrollable image generators and develop successful transferable attacks on\nlarge vision language models.\n", "date": "2024-08-08", "categories": []} {"id": "2408.05479", "title": "ReToMe-VA: Recursive Token Merging for Video Diffusion-based\n Unrestricted Adversarial Attack", "abstract": " Recent diffusion-based unrestricted attacks generate imperceptible\nadversarial examples with high transferability compared to previous\nunrestricted attacks and restricted attacks. However, existing works on\ndiffusion-based unrestricted attacks are mostly focused on images yet are\nseldom explored in videos. In this paper, we propose the Recursive Token\nMerging for Video Diffusion-based Unrestricted Adversarial Attack (ReToMe-VA),\nwhich is the first framework to generate imperceptible adversarial video clips\nwith higher transferability. Specifically, to achieve spatial imperceptibility,\nReToMe-VA adopts a Timestep-wise Adversarial Latent Optimization (TALO)\nstrategy that optimizes perturbations in diffusion models' latent space at each\ndenoising step. TALO offers iterative and accurate updates to generate more\npowerful adversarial frames. TALO can further reduce memory consumption in\ngradient computation. Moreover, to achieve temporal imperceptibility, ReToMe-VA\nintroduces a Recursive Token Merging (ReToMe) mechanism by matching and merging\ntokens across video frames in the self-attention module, resulting in\ntemporally consistent adversarial videos. ReToMe concurrently facilitates\ninter-frame interactions into the attack process, inducing more diverse and\nrobust gradients, thus leading to better adversarial transferability. Extensive\nexperiments demonstrate the efficacy of ReToMe-VA, particularly in surpassing\nstate-of-the-art attacks in adversarial transferability by more than 14.16% on\naverage.\n", "date": "2024-08-10", "categories": []} {"id": "2408.05900", "title": "Classifier Guidance Enhances Diffusion-based Adversarial Purification by\n Preserving Predictive Information", "abstract": " Adversarial purification is one of the promising approaches to defend neural\nnetworks against adversarial attacks. Recently, methods utilizing diffusion\nprobabilistic models have achieved great success for adversarial purification\nin image classification tasks. However, such methods fall into the dilemma of\nbalancing the needs for noise removal and information preservation. This paper\npoints out that existing adversarial purification methods based on diffusion\nmodels gradually lose sample information during the core denoising process,\ncausing occasional label shift in subsequent classification tasks. As a remedy,\nwe suggest to suppress such information loss by introducing guidance from the\nclassifier confidence. Specifically, we propose Classifier-cOnfidence gUided\nPurification (COUP) algorithm, which purifies adversarial examples while\nkeeping away from the classifier decision boundary. Experimental results show\nthat COUP can achieve better adversarial robustness under strong attack\nmethods.\n", "date": "2024-08-12", "categories": []} {"id": "2309.16710", "title": "General Lipschitz: Certified Robustness Against Resolvable Semantic\n Transformations via Transformation-Dependent Randomized Smoothing", "abstract": " Randomized smoothing is the state-of-the-art approach to construct image\nclassifiers that are provably robust against additive adversarial perturbations\nof bounded magnitude. However, it is more complicated to construct reasonable\ncertificates against semantic transformation (e.g., image blurring,\ntranslation, gamma correction) and their compositions. In this work, we propose\n\\emph{General Lipschitz (GL),} a new framework to certify neural networks\nagainst composable resolvable semantic perturbations. Within the framework, we\nanalyze transformation-dependent Lipschitz-continuity of smoothed classifiers\nw.r.t. transformation parameters and derive corresponding robustness\ncertificates. Our method performs comparably to state-of-the-art approaches on\nthe ImageNet dataset.\n", "date": "2023-08-17", "categories": []} {"id": "2408.04839", "title": "Adversarially Robust Industrial Anomaly Detection Through Diffusion\n Model", "abstract": " Deep learning-based industrial anomaly detection models have achieved\nremarkably high accuracy on commonly used benchmark datasets. However, the\nrobustness of those models may not be satisfactory due to the existence of\nadversarial examples, which pose significant threats to the practical\ndeployment of deep anomaly detectors. Recently, it has been shown that\ndiffusion models can be used to purify the adversarial noises and thus build a\nrobust classifier against adversarial attacks. Unfortunately, we found that\nnaively applying this strategy in anomaly detection (i.e., placing a purifier\nbefore an anomaly detector) will suffer from a high anomaly miss rate since the\npurifying process can easily remove both the anomaly signal and the adversarial\nperturbations, causing the later anomaly detector failed to detect anomalies.\nTo tackle this issue, we explore the possibility of performing anomaly\ndetection and adversarial purification simultaneously. We propose a simple yet\neffective adversarially robust anomaly detection method, \\textit{AdvRAD}, that\nallows the diffusion model to act both as an anomaly detector and adversarial\npurifier. We also extend our proposed method for certified robustness to $l_2$\nnorm bounded perturbations. Through extensive experiments, we show that our\nproposed method exhibits outstanding (certified) adversarial robustness while\nalso maintaining equally strong anomaly detection performance on par with the\nstate-of-the-art methods on industrial anomaly detection benchmark datasets.\n", "date": "2024-08-09", "categories": []} {"id": "2408.05124", "title": "Modeling Electromagnetic Signal Injection Attacks on Camera-based Smart\n Systems: Applications and Mitigation", "abstract": " Numerous safety- or security-critical systems depend on cameras to perceive\ntheir surroundings, further allowing artificial intelligence (AI) to analyze\nthe captured images to make important decisions. However, a concerning attack\nvector has emerged, namely, electromagnetic waves, which pose a threat to the\nintegrity of these systems. Such attacks enable attackers to manipulate the\nimages remotely, leading to incorrect AI decisions, e.g., autonomous vehicles\nmissing detecting obstacles ahead resulting in collisions. The lack of\nunderstanding regarding how different systems react to such attacks poses a\nsignificant security risk. Furthermore, no effective solutions have been\ndemonstrated to mitigate this threat.\n To address these gaps, we modeled the attacks and developed a simulation\nmethod for generating adversarial images. Through rigorous analysis, we\nconfirmed that the effects of the simulated adversarial images are\nindistinguishable from those from real attacks. This method enables researchers\nand engineers to rapidly assess the susceptibility of various AI vision\napplications to these attacks, without the need for constructing complicated\nattack devices. In our experiments, most of the models demonstrated\nvulnerabilities to these attacks, emphasizing the need to enhance their\nrobustness. Fortunately, our modeling and simulation method serves as a\nstepping stone toward developing more resilient models. We present a pilot\nstudy on adversarial training to improve their robustness against attacks, and\nour results demonstrate a significant improvement by recovering up to 91%\nperformance, offering a promising direction for mitigating this threat.\n", "date": "2024-08-09", "categories": []} {"id": "2408.03972", "title": "Enhancing Output Diversity Improves Conjugate Gradient-based Adversarial\n Attacks", "abstract": " Deep neural networks are vulnerable to adversarial examples, and adversarial\nattacks that generate adversarial examples have been studied in this context.\nExisting studies imply that increasing the diversity of model outputs\ncontributes to improving the attack performance. This study focuses on the Auto\nConjugate Gradient (ACG) attack, which is inspired by the conjugate gradient\nmethod and has a high diversification performance. We hypothesized that\nincreasing the distance between two consecutive search points would enhance the\noutput diversity. To test our hypothesis, we propose Rescaling-ACG (ReACG),\nwhich automatically modifies the two components that significantly affect the\ndistance between two consecutive search points, including the search direction\nand step size. ReACG showed higher attack performance than that of ACG, and is\nparticularly effective for ImageNet models with several classification classes.\nExperimental results show that the distance between two consecutive search\npoints enhances the output diversity and may help develop new potent attacks.\nThe code is available at \\url{https://github.com/yamamura-k/ReACG}\n", "date": "2024-08-07", "categories": []} {"id": "2408.04181", "title": "EdgeShield: A Universal and Efficient Edge Computing Framework for\n Robust AI", "abstract": " The increasing prevalence of adversarial attacks on Artificial Intelligence\n(AI) systems has created a need for innovative security measures. However, the\ncurrent methods of defending against these attacks often come with a high\ncomputing cost and require back-end processing, making real-time defense\nchallenging. Fortunately, there have been remarkable advancements in\nedge-computing, which make it easier to deploy neural networks on edge devices.\nBuilding upon these advancements, we propose an edge framework design to enable\nuniversal and efficient detection of adversarial attacks. This framework\nincorporates an attention-based adversarial detection methodology and a\nlightweight detection network formation, making it suitable for a wide range of\nneural networks and can be deployed on edge devices. To assess the\neffectiveness of our proposed framework, we conducted evaluations on five\nneural networks. The results indicate an impressive 97.43% F-score can be\nachieved, demonstrating the framework's proficiency in detecting adversarial\nattacks. Moreover, our proposed framework also exhibits significantly reduced\ncomputing complexity and cost in comparison to previous detection methods. This\naspect is particularly beneficial as it ensures that the defense mechanism can\nbe efficiently implemented in real-time on-edge devices.\n", "date": "2024-08-08", "categories": []} {"id": "2408.04310", "title": "Constructing Adversarial Examples for Vertical Federated Learning:\n Optimal Client Corruption through Multi-Armed Bandit", "abstract": " Vertical federated learning (VFL), where each participating client holds a\nsubset of data features, has found numerous applications in finance,\nhealthcare, and IoT systems. However, adversarial attacks, particularly through\nthe injection of adversarial examples (AEs), pose serious challenges to the\nsecurity of VFL models. In this paper, we investigate such vulnerabilities\nthrough developing a novel attack to disrupt the VFL inference process, under a\npractical scenario where the adversary is able to adaptively corrupt a subset\nof clients. We formulate the problem of finding optimal attack strategies as an\nonline optimization problem, which is decomposed into an inner problem of\nadversarial example generation (AEG) and an outer problem of corruption pattern\nselection (CPS). Specifically, we establish the equivalence between the\nformulated CPS problem and a multi-armed bandit (MAB) problem, and propose the\nThompson sampling with Empirical maximum reward (E-TS) algorithm for the\nadversary to efficiently identify the optimal subset of clients for corruption.\nThe key idea of E-TS is to introduce an estimation of the expected maximum\nreward for each arm, which helps to specify a small set of competitive arms, on\nwhich the exploration for the optimal arm is performed. This significantly\nreduces the exploration space, which otherwise can quickly become prohibitively\nlarge as the number of clients increases. We analytically characterize the\nregret bound of E-TS, and empirically demonstrate its capability of efficiently\nrevealing the optimal corruption pattern with the highest attack success rate,\nunder various datasets of popular VFL tasks.\n", "date": "2024-08-08", "categories": []} {"id": "2305.10856", "title": "Spatial-Frequency Discriminability for Revealing Adversarial\n Perturbations", "abstract": " The vulnerability of deep neural networks to adversarial perturbations has\nbeen widely perceived in the computer vision community. From a security\nperspective, it poses a critical risk for modern vision systems, e.g., the\npopular Deep Learning as a Service (DLaaS) frameworks. For protecting deep\nmodels while not modifying them, current algorithms typically detect\nadversarial patterns through discriminative decomposition for natural and\nadversarial data. However, these decompositions are either biased towards\nfrequency resolution or spatial resolution, thus failing to capture adversarial\npatterns comprehensively. Also, when the detector relies on few fixed features,\nit is practical for an adversary to fool the model while evading the detector\n(i.e., defense-aware attack). Motivated by such facts, we propose a\ndiscriminative detector relying on a spatial-frequency Krawtchouk\ndecomposition. It expands the above works from two aspects: 1) the introduced\nKrawtchouk basis provides better spatial-frequency discriminability, capturing\nthe differences between natural and adversarial data comprehensively in both\nspatial and frequency distributions, w.r.t. the common trigonometric or wavelet\nbasis; 2) the extensive features formed by the Krawtchouk decomposition allows\nfor adaptive feature selection and secrecy mechanism, significantly increasing\nthe difficulty of the defense-aware attack, w.r.t. the detector with few fixed\nfeatures. Theoretical and numerical analyses demonstrate the uniqueness and\nusefulness of our detector, exhibiting competitive scores on several deep\nmodels and image sets against a variety of adversarial attacks.\n", "date": "2023-05-18", "categories": []} {"id": "2408.03909", "title": "LaFA: Latent Feature Attacks on Non-negative Matrix Factorization", "abstract": " As Machine Learning (ML) applications rapidly grow, concerns about\nadversarial attacks compromising their reliability have gained significant\nattention. One unsupervised ML method known for its resilience to such attacks\nis Non-negative Matrix Factorization (NMF), an algorithm that decomposes input\ndata into lower-dimensional latent features. However, the introduction of\npowerful computational tools such as Pytorch enables the computation of\ngradients of the latent features with respect to the original data, raising\nconcerns about NMF's reliability. Interestingly, naively deriving the\nadversarial loss for NMF as in the case of ML would result in the\nreconstruction loss, which can be shown theoretically to be an ineffective\nattacking objective. In this work, we introduce a novel class of attacks in NMF\ntermed Latent Feature Attacks (LaFA), which aim to manipulate the latent\nfeatures produced by the NMF process. Our method utilizes the Feature Error\n(FE) loss directly on the latent features. By employing FE loss, we generate\nperturbations in the original data that significantly affect the extracted\nlatent features, revealing vulnerabilities akin to those found in other ML\ntechniques. To handle large peak-memory overhead from gradient back-propagation\nin FE attacks, we develop a method based on implicit differentiation which\nenables their scaling to larger datasets. We validate NMF vulnerabilities and\nFE attacks effectiveness through extensive experiments on synthetic and\nreal-world data.\n", "date": "2024-08-07", "categories": []} {"id": "2309.01351", "title": "Adv3D: Generating 3D Adversarial Examples for 3D Object Detection in\n Driving Scenarios with NeRF", "abstract": " Deep neural networks (DNNs) have been proven extremely susceptible to\nadversarial examples, which raises special safety-critical concerns for\nDNN-based autonomous driving stacks (i.e., 3D object detection). Although there\nare extensive works on image-level attacks, most are restricted to 2D pixel\nspaces, and such attacks are not always physically realistic in our 3D world.\nHere we present Adv3D, the first exploration of modeling adversarial examples\nas Neural Radiance Fields (NeRFs). Advances in NeRF provide photorealistic\nappearances and 3D accurate generation, yielding a more realistic and\nrealizable adversarial example. We train our adversarial NeRF by minimizing the\nsurrounding objects' confidence predicted by 3D detectors on the training set.\nThen we evaluate Adv3D on the unseen validation set and show that it can cause\na large performance reduction when rendering NeRF in any sampled pose. To\ngenerate physically realizable adversarial examples, we propose primitive-aware\nsampling and semantic-guided regularization that enable 3D patch attacks with\ncamouflage adversarial texture. Experimental results demonstrate that the\ntrained adversarial NeRF generalizes well to different poses, scenes, and 3D\ndetectors. Finally, we provide a defense method to our attacks that involves\nadversarial training through data augmentation. Project page:\nhttps://len-li.github.io/adv3d-web\n", "date": "2023-09-04", "categories": []} {"id": "2407.03234", "title": "Self-Evaluation as a Defense Against Adversarial Attacks on LLMs", "abstract": " We introduce a defense against adversarial attacks on LLMs utilizing\nself-evaluation. Our method requires no model fine-tuning, instead using\npre-trained models to evaluate the inputs and outputs of a generator model,\nsignificantly reducing the cost of implementation in comparison to other,\nfinetuning-based methods. Our method can significantly reduce the attack\nsuccess rate of attacks on both open and closed-source LLMs, beyond the\nreductions demonstrated by Llama-Guard2 and commonly used content moderation\nAPIs. We present an analysis of the effectiveness of our method, including\nattempts to attack the evaluator in various settings, demonstrating that it is\nalso more resilient to attacks than existing methods. Code and data will be\nmade available at https://github.com/Linlt-leon/self-eval.\n", "date": "2024-07-03", "categories": []} {"id": "2408.02980", "title": "Sample-agnostic Adversarial Perturbation for Vision-Language\n Pre-training Models", "abstract": " Recent studies on AI security have highlighted the vulnerability of\nVision-Language Pre-training (VLP) models to subtle yet intentionally designed\nperturbations in images and texts. Investigating multimodal systems' robustness\nvia adversarial attacks is crucial in this field. Most multimodal attacks are\nsample-specific, generating a unique perturbation for each sample to construct\nadversarial samples. To the best of our knowledge, it is the first work through\nmultimodal decision boundaries to explore the creation of a universal,\nsample-agnostic perturbation that applies to any image. Initially, we explore\nstrategies to move sample points beyond the decision boundaries of linear\nclassifiers, refining the algorithm to ensure successful attacks under the top\n$k$ accuracy metric. Based on this foundation, in visual-language tasks, we\ntreat visual and textual modalities as reciprocal sample points and decision\nhyperplanes, guiding image embeddings to traverse text-constructed decision\nboundaries, and vice versa. This iterative process consistently refines a\nuniversal perturbation, ultimately identifying a singular direction within the\ninput space which is exploitable to impair the retrieval performance of VLP\nmodels. The proposed algorithms support the creation of global perturbations or\nadversarial patches. Comprehensive experiments validate the effectiveness of\nour method, showcasing its data, task, and model transferability across various\nVLP models and datasets. Code: https://github.com/LibertazZ/MUAP\n", "date": "2024-08-06", "categories": []} {"id": "2303.01351", "title": "APARATE: Adaptive Adversarial Patch for CNN-based Monocular Depth\n Estimation for Autonomous Navigation", "abstract": " In recent times, monocular depth estimation (MDE) has experienced significant\nadvancements in performance, largely attributed to the integration of\ninnovative architectures, i.e., convolutional neural networks (CNNs) and\nTransformers. Nevertheless, the susceptibility of these models to adversarial\nattacks has emerged as a noteworthy concern, especially in domains where safety\nand security are paramount. This concern holds particular weight for MDE due to\nits critical role in applications like autonomous driving and robotic\nnavigation, where accurate scene understanding is pivotal. To assess the\nvulnerability of CNN-based depth prediction methods, recent work tries to\ndesign adversarial patches against MDE. However, the existing approaches fall\nshort of inducing a comprehensive and substantially disruptive impact on the\nvision system. Instead, their influence is partial and confined to specific\nlocal areas. These methods lead to erroneous depth predictions only within the\noverlapping region with the input image, without considering the\ncharacteristics of the target object, such as its size, shape, and position. In\nthis paper, we introduce a novel adversarial patch named APARATE. This patch\npossesses the ability to selectively undermine MDE in two distinct ways: by\ndistorting the estimated distances or by creating the illusion of an object\ndisappearing from the perspective of the autonomous system. Notably, APARATE is\ndesigned to be sensitive to the shape and scale of the target object, and its\ninfluence extends beyond immediate proximity. APARATE, results in a mean depth\nestimation error surpassing $0.5$, significantly impacting as much as $99\\%$ of\nthe targeted region when applied to CNN-based MDE models. Furthermore, it\nyields a significant error of $0.34$ and exerts substantial influence over\n$94\\%$ of the target region in the context of Transformer-based MDE.\n", "date": "2023-03-02", "categories": []} {"id": "2402.17976", "title": "Enhancing Tracking Robustness with Auxiliary Adversarial Defense\n Networks", "abstract": " Adversarial attacks in visual object tracking have significantly degraded the\nperformance of advanced trackers by introducing imperceptible perturbations\ninto images. However, there is still a lack of research on designing\nadversarial defense methods for object tracking. To address these issues, we\npropose an effective auxiliary pre-processing defense network, AADN, which\nperforms defensive transformations on the input images before feeding them into\nthe tracker. Moreover, it can be seamlessly integrated with other visual\ntrackers as a plug-and-play module without parameter adjustments. We train AADN\nusing adversarial training, specifically employing Dua-Loss to generate\nadversarial samples that simultaneously attack the classification and\nregression branches of the tracker. Extensive experiments conducted on the\nOTB100, LaSOT, and VOT2018 benchmarks demonstrate that AADN maintains excellent\ndefense robustness against adversarial attack methods in both adaptive and\nnon-adaptive attack scenarios. Moreover, when transferring the defense network\nto heterogeneous trackers, it exhibits reliable transferability. Finally, AADN\nachieves a processing time of up to 5ms/frame, allowing seamless integration\nwith existing high-speed trackers without introducing significant computational\noverhead.\n", "date": "2024-02-28", "categories": []} {"id": "2403.11515", "title": "SSAP: A Shape-Sensitive Adversarial Patch for Comprehensive Disruption\n of Monocular Depth Estimation in Autonomous Navigation Applications", "abstract": " Monocular depth estimation (MDE) has advanced significantly, primarily\nthrough the integration of convolutional neural networks (CNNs) and more\nrecently, Transformers. However, concerns about their susceptibility to\nadversarial attacks have emerged, especially in safety-critical domains like\nautonomous driving and robotic navigation. Existing approaches for assessing\nCNN-based depth prediction methods have fallen short in inducing comprehensive\ndisruptions to the vision system, often limited to specific local areas. In\nthis paper, we introduce SSAP (Shape-Sensitive Adversarial Patch), a novel\napproach designed to comprehensively disrupt monocular depth estimation (MDE)\nin autonomous navigation applications. Our patch is crafted to selectively\nundermine MDE in two distinct ways: by distorting estimated distances or by\ncreating the illusion of an object disappearing from the system's perspective.\nNotably, our patch is shape-sensitive, meaning it considers the specific shape\nand scale of the target object, thereby extending its influence beyond\nimmediate proximity. Furthermore, our patch is trained to effectively address\ndifferent scales and distances from the camera. Experimental results\ndemonstrate that our approach induces a mean depth estimation error surpassing\n0.5, impacting up to 99% of the targeted region for CNN-based MDE models.\nAdditionally, we investigate the vulnerability of Transformer-based MDE models\nto patch-based attacks, revealing that SSAP yields a significant error of 0.59\nand exerts substantial influence over 99% of the target region on these models.\n", "date": "2024-03-18", "categories": []} {"id": "2408.00193", "title": "Resilience and Security of Deep Neural Networks Against Intentional and\n Unintentional Perturbations: Survey and Research Challenges", "abstract": " In order to deploy deep neural networks (DNNs) in high-stakes scenarios, it\nis imperative that DNNs provide inference robust to external perturbations -\nboth intentional and unintentional. Although the resilience of DNNs to\nintentional and unintentional perturbations has been widely investigated, a\nunified vision of these inherently intertwined problem domains is still\nmissing. In this work, we fill this gap by providing a survey of the state of\nthe art and highlighting the similarities of the proposed approaches.We also\nanalyze the research challenges that need to be addressed to deploy resilient\nand secure DNNs. As there has not been any such survey connecting the\nresilience of DNNs to intentional and unintentional perturbations, we believe\nthis work can help advance the frontier in both domains by enabling the\nexchange of ideas between the two communities.\n", "date": "2024-07-31", "categories": []} {"id": "2408.01428", "title": "Transferable Adversarial Facial Images for Privacy Protection", "abstract": " The success of deep face recognition (FR) systems has raised serious privacy\nconcerns due to their ability to enable unauthorized tracking of users in the\ndigital world. Previous studies proposed introducing imperceptible adversarial\nnoises into face images to deceive those face recognition models, thus\nachieving the goal of enhancing facial privacy protection. Nevertheless, they\nheavily rely on user-chosen references to guide the generation of adversarial\nnoises, and cannot simultaneously construct natural and highly transferable\nadversarial face images in black-box scenarios. In light of this, we present a\nnovel face privacy protection scheme with improved transferability while\nmaintain high visual quality. We propose shaping the entire face space directly\ninstead of exploiting one kind of facial characteristic like makeup information\nto integrate adversarial noises. To achieve this goal, we first exploit global\nadversarial latent search to traverse the latent space of the generative model,\nthereby creating natural adversarial face images with high transferability. We\nthen introduce a key landmark regularization module to preserve the visual\nidentity information. Finally, we investigate the impacts of various kinds of\nlatent spaces and find that $\\mathcal{F}$ latent space benefits the trade-off\nbetween visual naturalness and adversarial transferability. Extensive\nexperiments over two datasets demonstrate that our approach significantly\nenhances attack transferability while maintaining high visual quality,\noutperforming state-of-the-art methods by an average 25% improvement in deep FR\nmodels and 10% improvement on commercial FR APIs, including Face++, Aliyun, and\nTencent.\n", "date": "2024-07-18", "categories": []} {"id": "2408.01705", "title": "Downstream Transfer Attack: Adversarial Attacks on Downstream Models\n with Pre-trained Vision Transformers", "abstract": " With the advancement of vision transformers (ViTs) and self-supervised\nlearning (SSL) techniques, pre-trained large ViTs have become the new\nfoundation models for computer vision applications. However, studies have shown\nthat, like convolutional neural networks (CNNs), ViTs are also susceptible to\nadversarial attacks, where subtle perturbations in the input can fool the model\ninto making false predictions. This paper studies the transferability of such\nan adversarial vulnerability from a pre-trained ViT model to downstream tasks.\nWe focus on \\emph{sample-wise} transfer attacks and propose a novel attack\nmethod termed \\emph{Downstream Transfer Attack (DTA)}. For a given test image,\nDTA leverages a pre-trained ViT model to craft the adversarial example and then\napplies the adversarial example to attack a fine-tuned version of the model on\na downstream dataset. During the attack, DTA identifies and exploits the most\nvulnerable layers of the pre-trained model guided by a cosine similarity loss\nto craft highly transferable attacks. Through extensive experiments with\npre-trained ViTs by 3 distinct pre-training methods, 3 fine-tuning schemes, and\nacross 10 diverse downstream datasets, we show that DTA achieves an average\nattack success rate (ASR) exceeding 90\\%, surpassing existing methods by a huge\nmargin. When used with adversarial training, the adversarial examples generated\nby our DTA can significantly improve the model's robustness to different\ndownstream transfer attacks.\n", "date": "2024-08-03", "categories": []} {"id": "2408.01715", "title": "Joint Universal Adversarial Perturbations with Interpretations", "abstract": " Deep neural networks (DNNs) have significantly boosted the performance of\nmany challenging tasks. Despite the great development, DNNs have also exposed\ntheir vulnerability. Recent studies have shown that adversaries can manipulate\nthe predictions of DNNs by adding a universal adversarial perturbation (UAP) to\nbenign samples. On the other hand, increasing efforts have been made to help\nusers understand and explain the inner working of DNNs by highlighting the most\ninformative parts (i.e., attribution maps) of samples with respect to their\npredictions. Moreover, we first empirically find that such attribution maps\nbetween benign and adversarial examples have a significant discrepancy, which\nhas the potential to detect universal adversarial perturbations for defending\nagainst adversarial attacks. This finding motivates us to further investigate a\nnew research problem: whether there exist universal adversarial perturbations\nthat are able to jointly attack DNNs classifier and its interpretation with\nmalicious desires. It is challenging to give an explicit answer since these two\nobjectives are seemingly conflicting. In this paper, we propose a novel\nattacking framework to generate joint universal adversarial perturbations\n(JUAP), which can fool the DNNs model and misguide the inspection from\ninterpreters simultaneously. Comprehensive experiments on various datasets\ndemonstrate the effectiveness of the proposed method JUAP for joint attacks. To\nthe best of our knowledge, this is the first effort to study UAP for jointly\nattacking both DNNs and interpretations.\n", "date": "2024-08-03", "categories": []} {"id": "2408.01808", "title": "ALIF: Low-Cost Adversarial Audio Attacks on Black-Box Speech Platforms\n using Linguistic Features", "abstract": " Extensive research has revealed that adversarial examples (AE) pose a\nsignificant threat to voice-controllable smart devices. Recent studies have\nproposed black-box adversarial attacks that require only the final\ntranscription from an automatic speech recognition (ASR) system. However, these\nattacks typically involve many queries to the ASR, resulting in substantial\ncosts. Moreover, AE-based adversarial audio samples are susceptible to ASR\nupdates. In this paper, we identify the root cause of these limitations, namely\nthe inability to construct AE attack samples directly around the decision\nboundary of deep learning (DL) models. Building on this observation, we propose\nALIF, the first black-box adversarial linguistic feature-based attack pipeline.\nWe leverage the reciprocal process of text-to-speech (TTS) and ASR models to\ngenerate perturbations in the linguistic embedding space where the decision\nboundary resides. Based on the ALIF pipeline, we present the ALIF-OTL and\nALIF-OTA schemes for launching attacks in both the digital domain and the\nphysical playback environment on four commercial ASRs and voice assistants.\nExtensive evaluations demonstrate that ALIF-OTL and -OTA significantly improve\nquery efficiency by 97.7% and 73.3%, respectively, while achieving competitive\nperformance compared to existing methods. Notably, ALIF-OTL can generate an\nattack sample with only one query. Furthermore, our test-of-time experiment\nvalidates the robustness of our approach against ASR updates.\n", "date": "2024-08-03", "categories": []} {"id": "2408.01977", "title": "Label Augmentation for Neural Networks Robustness", "abstract": " Out-of-distribution generalization can be categorized into two types: common\nperturbations arising from natural variations in the real world and adversarial\nperturbations that are intentionally crafted to deceive neural networks. While\ndeep neural networks excel in accuracy under the assumption of identical\ndistributions between training and test data, they often encounter\nout-of-distribution scenarios resulting in a significant decline in accuracy.\nData augmentation methods can effectively enhance robustness against common\ncorruptions, but they typically fall short in improving robustness against\nadversarial perturbations. In this study, we develop Label Augmentation (LA),\nwhich enhances robustness against both common and intentional perturbations and\nimproves uncertainty estimation. Our findings indicate a Clean error rate\nimprovement of up to 23.29% when employing LA in comparisons to the baseline.\nAdditionally, it enhances robustness under common corruptions benchmark by up\nto 24.23%. When tested against FGSM and PGD attacks, improvements in\nadversarial robustness are noticeable, with enhancements of up to 53.18% for\nFGSM and 24.46% for PGD attacks.\n", "date": "2024-08-04", "categories": []} {"id": "2408.01978", "title": "AdvQDet: Detecting Query-Based Adversarial Attacks with Adversarial\n Contrastive Prompt Tuning", "abstract": " Deep neural networks (DNNs) are known to be vulnerable to adversarial attacks\neven under a black-box setting where the adversary can only query the model.\nParticularly, query-based black-box adversarial attacks estimate adversarial\ngradients based on the returned probability vectors of the target model for a\nsequence of queries. During this process, the queries made to the target model\nare intermediate adversarial examples crafted at the previous attack step,\nwhich share high similarities in the pixel space. Motivated by this\nobservation, stateful detection methods have been proposed to detect and reject\nquery-based attacks. While demonstrating promising results, these methods\neither have been evaded by more advanced attacks or suffer from low efficiency\nin terms of the number of shots (queries) required to detect different attacks.\nArguably, the key challenge here is to assign high similarity scores for any\ntwo intermediate adversarial examples perturbed from the same clean image. To\naddress this challenge, we propose a novel Adversarial Contrastive Prompt\nTuning (ACPT) method to robustly fine-tune the CLIP image encoder to extract\nsimilar embeddings for any two intermediate adversarial queries. With ACPT, we\nfurther introduce a detection framework AdvQDet that can detect 7\nstate-of-the-art query-based attacks with $>99\\%$ detection rate within 5\nshots. We also show that ACPT is robust to 3 types of adaptive attacks. Code is\navailable at https://github.com/xinwong/AdvQDet.\n", "date": "2024-08-04", "categories": []} {"id": "2408.02310", "title": "On the Robustness of Malware Detectors to Adversarial Samples", "abstract": " Adversarial examples add imperceptible alterations to inputs with the\nobjective to induce misclassification in machine learning models. They have\nbeen demonstrated to pose significant challenges in domains like image\nclassification, with results showing that an adversarially perturbed image to\nevade detection against one classifier is most likely transferable to other\nclassifiers. Adversarial examples have also been studied in malware analysis.\nUnlike images, program binaries cannot be arbitrarily perturbed without\nrendering them non-functional. Due to the difficulty of crafting adversarial\nprogram binaries, there is no consensus on the transferability of adversarially\nperturbed programs to different detectors. In this work, we explore the\nrobustness of malware detectors against adversarially perturbed malware. We\ninvestigate the transferability of adversarial attacks developed against one\ndetector, against other machine learning-based malware detectors, and code\nsimilarity techniques, specifically, locality sensitive hashing-based\ndetectors. Our analysis reveals that adversarial program binaries crafted for\none detector are generally less effective against others. We also evaluate an\nensemble of detectors and show that they can potentially mitigate the impact of\nadversarial program binaries. Finally, we demonstrate that substantial program\nchanges made to evade detection may result in the transformation technique\nbeing identified, implying that the adversary must make minimal changes to the\nprogram binary.\n", "date": "2024-08-05", "categories": []} {"id": "2310.01651", "title": "Fool Your (Vision and) Language Model With Embarrassingly Simple\n Permutations", "abstract": " Large language and vision-language models are rapidly being deployed in\npractice thanks to their impressive capabilities in instruction following,\nin-context learning, and so on. This raises an urgent need to carefully analyse\ntheir robustness so that stakeholders can understand if and when such models\nare trustworthy enough to be relied upon in any given application. In this\npaper, we highlight a specific vulnerability in popular models, namely\npermutation sensitivity in multiple-choice question answering (MCQA).\nSpecifically, we show empirically that popular models are vulnerable to\nadversarial permutation in answer sets for multiple-choice prompting, which is\nsurprising as models should ideally be as invariant to prompt permutation as\nhumans are. These vulnerabilities persist across various model sizes, and exist\nin very recent language and vision-language models. Code is available at\nhttps://github.com/ys-zong/FoolyourVLLMs.\n", "date": "2023-10-02", "categories": []} {"id": "2408.00023", "title": "On the Perturbed States for Transformed Input-robust Reinforcement\n Learning", "abstract": " Reinforcement Learning (RL) agents demonstrating proficiency in a training\nenvironment exhibit vulnerability to adversarial perturbations in input\nobservations during deployment. This underscores the importance of building a\nrobust agent before its real-world deployment. To alleviate the challenging\npoint, prior works focus on developing robust training-based procedures,\nencompassing efforts to fortify the deep neural network component's robustness\nor subject the agent to adversarial training against potent attacks. In this\nwork, we propose a novel method referred to as Transformed Input-robust RL\n(TIRL), which explores another avenue to mitigate the impact of adversaries by\nemploying input transformation-based defenses. Specifically, we introduce two\nprinciples for applying transformation-based defenses in learning robust RL\nagents: (1) autoencoder-styled denoising to reconstruct the original state and\n(2) bounded transformations (bit-depth reduction and vector quantization (VQ))\nto achieve close transformed inputs. The transformations are applied to the\nstate before feeding it into the policy network. Extensive experiments on\nmultiple MuJoCo environments demonstrate that input transformation-based\ndefenses, i.e., VQ, defend against several adversaries in the state\nobservations. The official code is available at\nhttps://github.com/tunglm2203/tirl\n", "date": "2024-07-31", "categories": []} {"id": "2408.00352", "title": "Autonomous LLM-Enhanced Adversarial Attack for Text-to-Motion", "abstract": " Human motion generation driven by deep generative models has enabled\ncompelling applications, but the ability of text-to-motion (T2M) models to\nproduce realistic motions from text prompts raises security concerns if\nexploited maliciously. Despite growing interest in T2M, few methods focus on\nsafeguarding these models against adversarial attacks, with existing work on\ntext-to-image models proving insufficient for the unique motion domain. In the\npaper, we propose ALERT-Motion, an autonomous framework leveraging large\nlanguage models (LLMs) to craft targeted adversarial attacks against black-box\nT2M models. Unlike prior methods modifying prompts through predefined rules,\nALERT-Motion uses LLMs' knowledge of human motion to autonomously generate\nsubtle yet powerful adversarial text descriptions. It comprises two key\nmodules: an adaptive dispatching module that constructs an LLM-based agent to\niteratively refine and search for adversarial prompts; and a multimodal\ninformation contrastive module that extracts semantically relevant motion\ninformation to guide the agent's search. Through this LLM-driven approach,\nALERT-Motion crafts adversarial prompts querying victim models to produce\noutputs closely matching targeted motions, while avoiding obvious\nperturbations. Evaluations across popular T2M models demonstrate ALERT-Motion's\nsuperiority over previous methods, achieving higher attack success rates with\nstealthier adversarial prompts. This pioneering work on T2M adversarial attacks\nhighlights the urgency of developing defensive measures as motion generation\ntechnology advances, urging further research into safe and responsible\ndeployment.\n", "date": "2024-08-01", "categories": []} {"id": "2408.00728", "title": "CERT-ED: Certifiably Robust Text Classification for Edit Distance", "abstract": " With the growing integration of AI in daily life, ensuring the robustness of\nsystems to inference-time attacks is crucial. Among the approaches for\ncertifying robustness to such adversarial examples, randomized smoothing has\nemerged as highly promising due to its nature as a wrapper around arbitrary\nblack-box models. Previous work on randomized smoothing in natural language\nprocessing has primarily focused on specific subsets of edit distance\noperations, such as synonym substitution or word insertion, without exploring\nthe certification of all edit operations. In this paper, we adapt Randomized\nDeletion (Huang et al., 2023) and propose, CERTified Edit Distance defense\n(CERT-ED) for natural language classification. Through comprehensive\nexperiments, we demonstrate that CERT-ED outperforms the existing Hamming\ndistance method RanMASK (Zeng et al., 2023) in 4 out of 5 datasets in terms of\nboth accuracy and the cardinality of the certificate. By covering various\nthreat models, including 5 direct and 5 transfer attacks, our method improves\nempirical robustness in 38 out of 50 settings.\n", "date": "2024-08-01", "categories": []} {"id": "2407.21073", "title": "Enhancing Adversarial Text Attacks on BERT Models with Projected\n Gradient Descent", "abstract": " Adversarial attacks against deep learning models represent a major threat to\nthe security and reliability of natural language processing (NLP) systems. In\nthis paper, we propose a modification to the BERT-Attack framework, integrating\nProjected Gradient Descent (PGD) to enhance its effectiveness and robustness.\nThe original BERT-Attack, designed for generating adversarial examples against\nBERT-based models, suffers from limitations such as a fixed perturbation budget\nand a lack of consideration for semantic similarity. The proposed approach in\nthis work, PGD-BERT-Attack, addresses these limitations by leveraging PGD to\niteratively generate adversarial examples while ensuring both imperceptibility\nand semantic similarity to the original input. Extensive experiments are\nconducted to evaluate the performance of PGD-BERT-Attack compared to the\noriginal BERT-Attack and other baseline methods. The results demonstrate that\nPGD-BERT-Attack achieves higher success rates in causing misclassification\nwhile maintaining low perceptual changes. Furthermore, PGD-BERT-Attack produces\nadversarial instances that exhibit greater semantic resemblance to the initial\ninput, enhancing their applicability in real-world scenarios. Overall, the\nproposed modification offers a more effective and robust approach to\nadversarial attacks on BERT-based models, thus contributing to the advancement\nof defense against attacks on NLP systems.\n", "date": "2024-07-29", "categories": []} {"id": "2407.21174", "title": "AI Safety in Practice: Enhancing Adversarial Robustness in Multimodal\n Image Captioning", "abstract": " Multimodal machine learning models that combine visual and textual data are\nincreasingly being deployed in critical applications, raising significant\nsafety and security concerns due to their vulnerability to adversarial attacks.\nThis paper presents an effective strategy to enhance the robustness of\nmultimodal image captioning models against such attacks. By leveraging the Fast\nGradient Sign Method (FGSM) to generate adversarial examples and incorporating\nadversarial training techniques, we demonstrate improved model robustness on\ntwo benchmark datasets: Flickr8k and COCO. Our findings indicate that\nselectively training only the text decoder of the multimodal architecture shows\nperformance comparable to full adversarial training while offering increased\ncomputational efficiency. This targeted approach suggests a balance between\nrobustness and training costs, facilitating the ethical deployment of\nmultimodal AI systems across various domains.\n", "date": "2024-07-30", "categories": []} {"id": "2302.03322", "title": "Attacking Cooperative Multi-Agent Reinforcement Learning by Adversarial\n Minority Influence", "abstract": " This study probes the vulnerabilities of cooperative multi-agent\nreinforcement learning (c-MARL) under adversarial attacks, a critical\ndeterminant of c-MARL's worst-case performance prior to real-world\nimplementation. Current observation-based attacks, constrained by white-box\nassumptions, overlook c-MARL's complex multi-agent interactions and cooperative\nobjectives, resulting in impractical and limited attack capabilities. To\naddress these shortcomes, we propose Adversarial Minority Influence (AMI), a\npractical and strong for c-MARL. AMI is a practical black-box attack and can be\nlaunched without knowing victim parameters. AMI is also strong by considering\nthe complex multi-agent interaction and the cooperative goal of agents,\nenabling a single adversarial agent to unilaterally misleads majority victims\nto form targeted worst-case cooperation. This mirrors minority influence\nphenomena in social psychology. To achieve maximum deviation in victim policies\nunder complex agent-wise interactions, our unilateral attack aims to\ncharacterize and maximize the impact of the adversary on the victims. This is\nachieved by adapting a unilateral agent-wise relation metric derived from\nmutual information, thereby mitigating the adverse effects of victim influence\non the adversary. To lead the victims into a jointly detrimental scenario, our\ntargeted attack deceives victims into a long-term, cooperatively harmful\nsituation by guiding each victim towards a specific target, determined through\na trial-and-error process executed by a reinforcement learning agent. Through\nAMI, we achieve the first successful attack against real-world robot swarms and\neffectively fool agents in simulated environments into collectively worst-case\nscenarios, including Starcraft II and Multi-agent Mujoco. The source code and\ndemonstrations can be found at: https://github.com/DIG-Beihang/AMI.\n", "date": "2023-02-07", "categories": []} {"id": "2407.20653", "title": "FACL-Attack: Frequency-Aware Contrastive Learning for Transferable\n Adversarial Attacks", "abstract": " Deep neural networks are known to be vulnerable to security risks due to the\ninherent transferable nature of adversarial examples. Despite the success of\nrecent generative model-based attacks demonstrating strong transferability, it\nstill remains a challenge to design an efficient attack strategy in a\nreal-world strict black-box setting, where both the target domain and model\narchitectures are unknown. In this paper, we seek to explore a feature\ncontrastive approach in the frequency domain to generate adversarial examples\nthat are robust in both cross-domain and cross-model settings. With that goal\nin mind, we propose two modules that are only employed during the training\nphase: a Frequency-Aware Domain Randomization (FADR) module to randomize\ndomain-variant low- and high-range frequency components and a\nFrequency-Augmented Contrastive Learning (FACL) module to effectively separate\ndomain-invariant mid-frequency features of clean and perturbed image. We\ndemonstrate strong transferability of our generated adversarial perturbations\nthrough extensive cross-domain and cross-model experiments, while keeping the\ninference time complexity.\n", "date": "2024-07-30", "categories": []} {"id": "2310.00607", "title": "Understanding Robust Overfitting from the Feature Generalization\n Perspective", "abstract": " Adversarial training (AT) constructs robust neural networks by incorporating\nadversarial perturbations into natural data. However, it is plagued by the\nissue of robust overfitting (RO), which severely damages the model's\nrobustness. In this paper, we investigate RO from a novel feature\ngeneralization perspective. Specifically, we design factor ablation experiments\nto assess the respective impacts of natural data and adversarial perturbations\non RO, identifying that the inducing factor of RO stems from natural data.\nGiven that the only difference between adversarial and natural training lies in\nthe inclusion of adversarial perturbations, we further hypothesize that\nadversarial perturbations degrade the generalization of features in natural\ndata and verify this hypothesis through extensive experiments. Based on these\nfindings, we provide a holistic view of RO from the feature generalization\nperspective and explain various empirical behaviors associated with RO. To\nexamine our feature generalization perspective, we devise two representative\nmethods, attack strength and data augmentation, to prevent the feature\ngeneralization degradation during AT. Extensive experiments conducted on\nbenchmark datasets demonstrate that the proposed methods can effectively\nmitigate RO and enhance adversarial robustness.\n", "date": "2023-10-01", "categories": []} {"id": "2404.06313", "title": "On adversarial training and the 1 Nearest Neighbor classifier", "abstract": " The ability to fool deep learning classifiers with tiny perturbations of the\ninput has lead to the development of adversarial training in which the loss\nwith respect to adversarial examples is minimized in addition to the training\nexamples. While adversarial training improves the robustness of the learned\nclassifiers, the procedure is computationally expensive, sensitive to\nhyperparameters and may still leave the classifier vulnerable to other types of\nsmall perturbations. In this paper we compare the performance of adversarial\ntraining to that of the simple 1 Nearest Neighbor (1NN) classifier. We prove\nthat under reasonable assumptions, the 1NN classifier will be robust to {\\em\nany} small image perturbation of the training images. In experiments with 135\ndifferent binary image classification problems taken from CIFAR10, MNIST and\nFashion-MNIST we find that 1NN outperforms TRADES (a powerful adversarial\ntraining algorithm) in terms of average adversarial accuracy. In additional\nexperiments with 69 robust models taken from the current adversarial robustness\nleaderboard, we find that 1NN outperforms almost all of them in terms of\nrobustness to perturbations that are only slightly different from those used\nduring training. Taken together, our results suggest that modern adversarial\ntraining methods still fall short of the robustness of the simple 1NN\nclassifier. our code can be found at\n\\url{https://github.com/amirhagai/On-Adversarial-Training-And-The-1-Nearest-Neighbor-Classifier}\n\\keywords{Adversarial training}\n", "date": "2024-04-09", "categories": []} {"id": "2407.19155", "title": "Debiased Graph Poisoning Attack via Contrastive Surrogate Objective", "abstract": " Graph neural networks (GNN) are vulnerable to adversarial attacks, which aim\nto degrade the performance of GNNs through imperceptible changes on the graph.\nHowever, we find that in fact the prevalent meta-gradient-based attacks, which\nutilizes the gradient of the loss w.r.t the adjacency matrix, are biased\ntowards training nodes. That is, their meta-gradient is determined by a\ntraining procedure of the surrogate model, which is solely trained on the\ntraining nodes. This bias manifests as an uneven perturbation, connecting two\nnodes when at least one of them is a labeled node, i.e., training node, while\nit is unlikely to connect two unlabeled nodes. However, these biased attack\napproaches are sub-optimal as they do not consider flipping edges between two\nunlabeled nodes at all. This means that they miss the potential attacked edges\nbetween unlabeled nodes that significantly alter the representation of a node.\nIn this paper, we investigate the meta-gradients to uncover the root cause of\nthe uneven perturbations of existing attacks. Based on our analysis, we propose\na Meta-gradient-based attack method using contrastive surrogate objective\n(Metacon), which alleviates the bias in meta-gradient using a new surrogate\nloss. We conduct extensive experiments to show that Metacon outperforms\nexisting meta gradient-based attack methods through benchmark datasets, while\nshowing that alleviating the bias towards training nodes is effective in\nattacking the graph structure.\n", "date": "2024-07-27", "categories": []} {"id": "2407.19981", "title": "Adversarial Robustness in RGB-Skeleton Action Recognition: Leveraging\n Attention Modality Reweighter", "abstract": " Deep neural networks (DNNs) have been applied in many computer vision tasks\nand achieved state-of-the-art (SOTA) performance. However, misclassification\nwill occur when DNNs predict adversarial examples which are created by adding\nhuman-imperceptible adversarial noise to natural examples. This limits the\napplication of DNN in security-critical fields. In order to enhance the\nrobustness of models, previous research has primarily focused on the unimodal\ndomain, such as image recognition and video understanding. Although multi-modal\nlearning has achieved advanced performance in various tasks, such as action\nrecognition, research on the robustness of RGB-skeleton action recognition\nmodels is scarce. In this paper, we systematically investigate how to improve\nthe robustness of RGB-skeleton action recognition models. We initially\nconducted empirical analysis on the robustness of different modalities and\nobserved that the skeleton modality is more robust than the RGB modality.\nMotivated by this observation, we propose the \\formatword{A}ttention-based\n\\formatword{M}odality \\formatword{R}eweighter (\\formatword{AMR}), which\nutilizes an attention layer to re-weight the two modalities, enabling the model\nto learn more robust features. Our AMR is plug-and-play, allowing easy\nintegration with multimodal models. To demonstrate the effectiveness of AMR, we\nconducted extensive experiments on various datasets. For example, compared to\nthe SOTA methods, AMR exhibits a 43.77\\% improvement against PGD20 attacks on\nthe NTU-RGB+D 60 dataset. Furthermore, it effectively balances the differences\nin robustness between different modalities.\n", "date": "2024-07-29", "categories": []} {"id": "2407.20141", "title": "DDAP: Dual-Domain Anti-Personalization against Text-to-Image Diffusion\n Models", "abstract": " Diffusion-based personalized visual content generation technologies have\nachieved significant breakthroughs, allowing for the creation of specific\nobjects by just learning from a few reference photos. However, when misused to\nfabricate fake news or unsettling content targeting individuals, these\ntechnologies could cause considerable societal harm. To address this problem,\ncurrent methods generate adversarial samples by adversarially maximizing the\ntraining loss, thereby disrupting the output of any personalized generation\nmodel trained with these samples. However, the existing methods fail to achieve\neffective defense and maintain stealthiness, as they overlook the intrinsic\nproperties of diffusion models. In this paper, we introduce a novel Dual-Domain\nAnti-Personalization framework (DDAP). Specifically, we have developed Spatial\nPerturbation Learning (SPL) by exploiting the fixed and perturbation-sensitive\nnature of the image encoder in personalized generation. Subsequently, we have\ndesigned a Frequency Perturbation Learning (FPL) method that utilizes the\ncharacteristics of diffusion models in the frequency domain. The SPL disrupts\nthe overall texture of the generated images, while the FPL focuses on image\ndetails. By alternating between these two methods, we construct the DDAP\nframework, effectively harnessing the strengths of both domains. To further\nenhance the visual quality of the adversarial samples, we design a localization\nmodule to accurately capture attentive areas while ensuring the effectiveness\nof the attack and avoiding unnecessary disturbances in the background.\nExtensive experiments on facial benchmarks have shown that the proposed DDAP\nenhances the disruption of personalized generation models while also\nmaintaining high quality in adversarial samples, making it more effective in\nprotecting privacy in practical applications.\n", "date": "2024-07-29", "categories": []} {"id": "2312.09554", "title": "Embodied Laser Attack:Leveraging Scene Priors to Achieve Agent-based\n Robust Non-contact Attacks", "abstract": " As physical adversarial attacks become extensively applied in unearthing the\npotential risk of security-critical scenarios, especially in dynamic scenarios,\ntheir vulnerability to environmental variations has also been brought to light.\nThe non-robust nature of physical adversarial attack methods brings\nless-than-stable performance consequently. Although methods such as EOT have\nenhanced the robustness of traditional contact attacks like adversarial\npatches, they fall short in practicality and concealment within dynamic\nenvironments such as traffic scenarios. Meanwhile, non-contact laser attacks,\nwhile offering enhanced adaptability, face constraints due to a limited\noptimization space for their attributes, rendering EOT less effective. This\nlimitation underscores the necessity for developing a new strategy to augment\nthe robustness of such practices. To address these issues, this paper\nintroduces the Embodied Laser Attack (ELA), a novel framework that leverages\nthe embodied intelligence paradigm of Perception-Decision-Control to\ndynamically tailor non-contact laser attacks. For the perception module, given\nthe challenge of simulating the victim's view by full-image transformation, ELA\nhas innovatively developed a local perspective transformation network, based on\nthe intrinsic prior knowledge of traffic scenes and enables effective and\nefficient estimation. For the decision and control module, ELA trains an attack\nagent with data-driven reinforcement learning instead of adopting\ntime-consuming heuristic algorithms, making it capable of instantaneously\ndetermining a valid attack strategy with the perceived information by\nwell-designed rewards, which is then conducted by a controllable laser emitter.\nExperimentally, we apply our framework to diverse traffic scenarios both in the\ndigital and physical world, verifying the effectiveness of our method under\ndynamic successive scenes.\n", "date": "2023-12-15", "categories": []} {"id": "2405.20584", "title": "Disrupting Diffusion: Token-Level Attention Erasure Attack against\n Diffusion-based Customization", "abstract": " With the development of diffusion-based customization methods like\nDreamBooth, individuals now have access to train the models that can generate\ntheir personalized images. Despite the convenience, malicious users have\nmisused these techniques to create fake images, thereby triggering a privacy\nsecurity crisis. In light of this, proactive adversarial attacks are proposed\nto protect users against customization. The adversarial examples are trained to\ndistort the customization model's outputs and thus block the misuse. In this\npaper, we propose DisDiff (Disrupting Diffusion), a novel adversarial attack\nmethod to disrupt the diffusion model outputs. We first delve into the\nintrinsic image-text relationships, well-known as cross-attention, and\nempirically find that the subject-identifier token plays an important role in\nguiding image generation. Thus, we propose the Cross-Attention Erasure module\nto explicitly \"erase\" the indicated attention maps and disrupt the text\nguidance. Besides,we analyze the influence of the sampling process of the\ndiffusion model on Projected Gradient Descent (PGD) attack and introduce a\nnovel Merit Sampling Scheduler to adaptively modulate the perturbation updating\namplitude in a step-aware manner. Our DisDiff outperforms the state-of-the-art\nmethods by 12.75% of FDFR scores and 7.25% of ISM scores across two facial\nbenchmarks and two commonly used prompts on average.\n", "date": "2024-05-31", "categories": []} {"id": "2407.14644", "title": "Human-Interpretable Adversarial Prompt Attack on Large Language Models\n with Situational Context", "abstract": " Previous research on testing the vulnerabilities in Large Language Models\n(LLMs) using adversarial attacks has primarily focused on nonsensical prompt\ninjections, which are easily detected upon manual or automated review (e.g.,\nvia byte entropy). However, the exploration of innocuous human-understandable\nmalicious prompts augmented with adversarial injections remains limited. In\nthis research, we explore converting a nonsensical suffix attack into a\nsensible prompt via a situation-driven contextual re-writing. This allows us to\nshow suffix conversion without any gradients, using only LLMs to perform the\nattacks, and thus better understand the scope of possible risks. We combine an\nindependent, meaningful adversarial insertion and situations derived from\nmovies to check if this can trick an LLM. The situations are extracted from the\nIMDB dataset, and prompts are defined following a few-shot chain-of-thought\nprompting. Our approach demonstrates that a successful situation-driven attack\ncan be executed on both open-source and proprietary LLMs. We find that across\nmany LLMs, as few as 1 attempt produces an attack and that these attacks\ntransfer between LLMs.\n", "date": "2024-07-19", "categories": []} {"id": "2407.18632", "title": "Robust VAEs via Generating Process of Noise Augmented Data", "abstract": " Advancing defensive mechanisms against adversarial attacks in generative\nmodels is a critical research topic in machine learning. Our study focuses on a\nspecific type of generative models - Variational Auto-Encoders (VAEs). Contrary\nto common beliefs and existing literature which suggest that noise injection\ntowards training data can make models more robust, our preliminary experiments\nrevealed that naive usage of noise augmentation technique did not substantially\nimprove VAE robustness. In fact, it even degraded the quality of learned\nrepresentations, making VAEs more susceptible to adversarial perturbations.\nThis paper introduces a novel framework that enhances robustness by\nregularizing the latent space divergence between original and noise-augmented\ndata. Through incorporating a paired probabilistic prior into the standard\nvariational lower bound, our method significantly boosts defense against\nadversarial attacks. Our empirical evaluations demonstrate that this approach,\ntermed Robust Augmented Variational Auto-ENcoder (RAVEN), yields superior\nperformance in resisting adversarial inputs on widely-recognized benchmark\ndatasets.\n", "date": "2024-07-26", "categories": []} {"id": "2407.18658", "title": "Adversarial Robustification via Text-to-Image Diffusion Models", "abstract": " Adversarial robustness has been conventionally believed as a challenging\nproperty to encode for neural networks, requiring plenty of training data. In\nthe recent paradigm of adopting off-the-shelf models, however, access to their\ntraining data is often infeasible or not practical, while most of such models\nare not originally trained concerning adversarial robustness. In this paper, we\ndevelop a scalable and model-agnostic solution to achieve adversarial\nrobustness without using any data. Our intuition is to view recent\ntext-to-image diffusion models as \"adaptable\" denoisers that can be optimized\nto specify target tasks. Based on this, we propose: (a) to initiate a\ndenoise-and-classify pipeline that offers provable guarantees against\nadversarial attacks, and (b) to leverage a few synthetic reference images\ngenerated from the text-to-image model that enables novel adaptation schemes.\nOur experiments show that our data-free scheme applied to the pre-trained CLIP\ncould improve the (provable) adversarial robustness of its diverse zero-shot\nclassification derivatives (while maintaining their accuracy), significantly\nsurpassing prior approaches that utilize the full training data. Not only for\nCLIP, we also demonstrate that our framework is easily applicable for\nrobustifying other visual classifiers efficiently.\n", "date": "2024-07-26", "categories": []} {"id": "2302.00509", "title": "Exploring Semantic Perturbations on Grover", "abstract": " With news and information being as easy to access as they currently are, it\nis more important than ever to ensure that people are not mislead by what they\nread. Recently, the rise of neural fake news (AI-generated fake news) and its\ndemonstrated effectiveness at fooling humans has prompted the development of\nmodels to detect it. One such model is the Grover model, which can both detect\nneural fake news to prevent it, and generate it to demonstrate how a model\ncould be misused to fool human readers. In this work we explore the Grover\nmodel's fake news detection capabilities by performing targeted attacks through\nperturbations on input news articles. Through this we test Grover's resilience\nto these adversarial attacks and expose some potential vulnerabilities which\nshould be addressed in further iterations to ensure it can detect all types of\nfake news accurately.\n", "date": "2023-02-01", "categories": []} {"id": "2407.17587", "title": "S-E Pipeline: A Vision Transformer (ViT) based Resilient Classification\n Pipeline for Medical Imaging Against Adversarial Attacks", "abstract": " Vision Transformer (ViT) is becoming widely popular in automating accurate\ndisease diagnosis in medical imaging owing to its robust self-attention\nmechanism. However, ViTs remain vulnerable to adversarial attacks that may\nthwart the diagnosis process by leading it to intentional misclassification of\ncritical disease. In this paper, we propose a novel image classification\npipeline, namely, S-E Pipeline, that performs multiple pre-processing steps\nthat allow ViT to be trained on critical features so as to reduce the impact of\ninput perturbations by adversaries. Our method uses a combination of\nsegmentation and image enhancement techniques such as Contrast Limited Adaptive\nHistogram Equalization (CLAHE), Unsharp Masking (UM), and High-Frequency\nEmphasis filtering (HFE) as preprocessing steps to identify critical features\nthat remain intact even after adversarial perturbations. The experimental study\ndemonstrates that our novel pipeline helps in reducing the effect of\nadversarial attacks by 72.22% for the ViT-b32 model and 86.58% for the ViT-l32\nmodel. Furthermore, we have shown an end-to-end deployment of our proposed\nmethod on the NVIDIA Jetson Orin Nano board to demonstrate its practical use\ncase in modern hand-held devices that are usually resource-constrained.\n", "date": "2024-07-23", "categories": []} {"id": "2407.17797", "title": "A Unified Understanding of Adversarial Vulnerability Regarding Unimodal\n Models and Vision-Language Pre-training Models", "abstract": " With Vision-Language Pre-training (VLP) models demonstrating powerful\nmultimodal interaction capabilities, the application scenarios of neural\nnetworks are no longer confined to unimodal domains but have expanded to more\ncomplex multimodal V+L downstream tasks. The security vulnerabilities of\nunimodal models have been extensively examined, whereas those of VLP models\nremain challenging. We note that in CV models, the understanding of images\ncomes from annotated information, while VLP models are designed to learn image\nrepresentations directly from raw text. Motivated by this discrepancy, we\ndeveloped the Feature Guidance Attack (FGA), a novel method that uses text\nrepresentations to direct the perturbation of clean images, resulting in the\ngeneration of adversarial images. FGA is orthogonal to many advanced attack\nstrategies in the unimodal domain, facilitating the direct application of rich\nresearch findings from the unimodal to the multimodal scenario. By\nappropriately introducing text attack into FGA, we construct Feature Guidance\nwith Text Attack (FGA-T). Through the interaction of attacking two modalities,\nFGA-T achieves superior attack effects against VLP models. Moreover,\nincorporating data augmentation and momentum mechanisms significantly improves\nthe black-box transferability of FGA-T. Our method demonstrates stable and\neffective attack capabilities across various datasets, downstream tasks, and\nboth black-box and white-box settings, offering a unified baseline for\nexploring the robustness of VLP models.\n", "date": "2024-07-25", "categories": []} {"id": "2407.18251", "title": "Sparse vs Contiguous Adversarial Pixel Perturbations in Multimodal\n Models: An Empirical Analysis", "abstract": " Assessing the robustness of multimodal models against adversarial examples is\nan important aspect for the safety of its users. We craft L0-norm perturbation\nattacks on the preprocessed input images. We launch them in a black-box setup\nagainst four multimodal models and two unimodal DNNs, considering both targeted\nand untargeted misclassification. Our attacks target less than 0.04% of\nperturbed image area and integrate different spatial positioning of perturbed\npixels: sparse positioning and pixels arranged in different contiguous shapes\n(row, column, diagonal, and patch). To the best of our knowledge, we are the\nfirst to assess the robustness of three state-of-the-art multimodal models\n(ALIGN, AltCLIP, GroupViT) against different sparse and contiguous pixel\ndistribution perturbations. The obtained results indicate that unimodal DNNs\nare more robust than multimodal models. Furthermore, models using CNN-based\nImage Encoder are more vulnerable than models with ViT - for untargeted\nattacks, we obtain a 99% success rate by perturbing less than 0.02% of the\nimage area.\n", "date": "2024-07-25", "categories": []} {"id": "2309.16452", "title": "On the Trade-offs between Adversarial Robustness and Actionable\n Explanations", "abstract": " As machine learning models are increasingly being employed in various\nhigh-stakes settings, it becomes important to ensure that predictions of these\nmodels are not only adversarially robust, but also readily explainable to\nrelevant stakeholders. However, it is unclear if these two notions can be\nsimultaneously achieved or if there exist trade-offs between them. In this\nwork, we make one of the first attempts at studying the impact of adversarially\nrobust models on actionable explanations which provide end users with a means\nfor recourse. We theoretically and empirically analyze the cost (ease of\nimplementation) and validity (probability of obtaining a positive model\nprediction) of recourses output by state-of-the-art algorithms when the\nunderlying models are adversarially robust vs. non-robust. More specifically,\nwe derive theoretical bounds on the differences between the cost and the\nvalidity of the recourses generated by state-of-the-art algorithms for\nadversarially robust vs. non-robust linear and non-linear models. Our empirical\nresults with multiple real-world datasets validate our theoretical results and\nshow the impact of varying degrees of model robustness on the cost and validity\nof the resulting recourses. Our analyses demonstrate that adversarially robust\nmodels significantly increase the cost and reduce the validity of the resulting\nrecourses, thus shedding light on the inherent trade-offs between adversarial\nrobustness and actionable explanations.\n", "date": "2023-09-28", "categories": []} {"id": "2402.16479", "title": "Edge Detectors Can Make Deep Convolutional Neural Networks More Robust", "abstract": " Deep convolutional neural networks (DCNN for short) are vulnerable to\nexamples with small perturbations. Improving DCNN's robustness is of great\nsignificance to the safety-critical applications, such as autonomous driving\nand industry automation. Inspired by the principal way that human eyes\nrecognize objects, i.e., largely relying on the shape features, this paper\nfirst employs the edge detectors as layer kernels and designs a binary edge\nfeature branch (BEFB for short) to learn the binary edge features, which can be\neasily integrated into any popular backbone. The four edge detectors can learn\nthe horizontal, vertical, positive diagonal, and negative diagonal edge\nfeatures, respectively, and the branch is stacked by multiple Sobel layers\n(using edge detectors as kernels) and one threshold layer. The binary edge\nfeatures learned by the branch, concatenated with the texture features learned\nby the backbone, are fed into the fully connected layers for classification. We\nintegrate the proposed branch into VGG16 and ResNet34, respectively, and\nconduct experiments on multiple datasets. Experimental results demonstrate the\nBEFB is lightweight and has no side effects on training. And the accuracy of\nthe BEFB integrated models is better than the original ones on all datasets\nwhen facing FGSM, PGD, and C\\&W attacks. Besides, BEFB integrated models\nequipped with the robustness enhancing techniques can achieve better\nclassification accuracy compared to the original models. The work in this paper\nfor the first time shows it is feasible to enhance the robustness of DCNNs\nthrough combining both shape-like features and texture features.\n", "date": "2024-02-26", "categories": []} {"id": "2405.14077", "title": "Learning to Transform Dynamically for Better Adversarial Transferability", "abstract": " Adversarial examples, crafted by adding perturbations imperceptible to\nhumans, can deceive neural networks. Recent studies identify the adversarial\ntransferability across various models, \\textit{i.e.}, the cross-model attack\nability of adversarial samples. To enhance such adversarial transferability,\nexisting input transformation-based methods diversify input data with\ntransformation augmentation. However, their effectiveness is limited by the\nfinite number of available transformations. In our study, we introduce a novel\napproach named Learning to Transform (L2T). L2T increases the diversity of\ntransformed images by selecting the optimal combination of operations from a\npool of candidates, consequently improving adversarial transferability. We\nconceptualize the selection of optimal transformation combinations as a\ntrajectory optimization problem and employ a reinforcement learning strategy to\neffectively solve the problem. Comprehensive experiments on the ImageNet\ndataset, as well as practical tests with Google Vision and GPT-4V, reveal that\nL2T surpasses current methodologies in enhancing adversarial transferability,\nthereby confirming its effectiveness and practical significance. The code is\navailable at https://github.com/RongyiZhu/L2T.\n", "date": "2024-05-23", "categories": []} {"id": "2407.17312", "title": "Physical Adversarial Attack on Monocular Depth Estimation via\n Shape-Varying Patches", "abstract": " Adversarial attacks against monocular depth estimation (MDE) systems pose\nsignificant challenges, particularly in safety-critical applications such as\nautonomous driving. Existing patch-based adversarial attacks for MDE are\nconfined to the vicinity of the patch, making it difficult to affect the entire\ntarget. To address this limitation, we propose a physics-based adversarial\nattack on monocular depth estimation, employing a framework called Attack with\nShape-Varying Patches (ASP), aiming to optimize patch content, shape, and\nposition to maximize effectiveness. We introduce various mask shapes, including\nquadrilateral, rectangular, and circular masks, to enhance the flexibility and\nefficiency of the attack. Furthermore, we propose a new loss function to extend\nthe influence of the patch beyond the overlapping regions. Experimental results\ndemonstrate that our attack method generates an average depth error of 18\nmeters on the target car with a patch area of 1/9, affecting over 98\\% of the\ntarget area.\n", "date": "2024-07-24", "categories": []} {"id": "2405.16341", "title": "R.A.C.E.: Robust Adversarial Concept Erasure for Secure Text-to-Image\n Diffusion Model", "abstract": " In the evolving landscape of text-to-image (T2I) diffusion models, the\nremarkable capability to generate high-quality images from textual descriptions\nfaces challenges with the potential misuse of reproducing sensitive content. To\naddress this critical issue, we introduce \\textbf{R}obust \\textbf{A}dversarial\n\\textbf{C}oncept \\textbf{E}rase (RACE), a novel approach designed to mitigate\nthese risks by enhancing the robustness of concept erasure method for T2I\nmodels. RACE utilizes a sophisticated adversarial training framework to\nidentify and mitigate adversarial text embeddings, significantly reducing the\nAttack Success Rate (ASR). Impressively, RACE achieves a 30 percentage point\nreduction in ASR for the ``nudity'' concept against the leading white-box\nattack method. Our extensive evaluations demonstrate RACE's effectiveness in\ndefending against both white-box and black-box attacks, marking a significant\nadvancement in protecting T2I diffusion models from generating inappropriate or\nmisleading imagery. This work underlines the essential need for proactive\ndefense measures in adapting to the rapidly advancing field of adversarial\nchallenges. Our code is publicly available:\n\\url{https://github.com/chkimmmmm/R.A.C.E.}\n", "date": "2024-05-25", "categories": []} {"id": "2301.12554", "title": "Improving the Accuracy-Robustness Trade-Off of Classifiers via Adaptive\n Smoothing", "abstract": " While prior research has proposed a plethora of methods that build neural\nclassifiers robust against adversarial robustness, practitioners are still\nreluctant to adopt them due to their unacceptably severe clean accuracy\npenalties. This paper significantly alleviates this accuracy-robustness\ntrade-off by mixing the output probabilities of a standard classifier and a\nrobust classifier, where the standard network is optimized for clean accuracy\nand is not robust in general. We show that the robust base classifier's\nconfidence difference for correct and incorrect examples is the key to this\nimprovement. In addition to providing intuitions and empirical evidence, we\ntheoretically certify the robustness of the mixed classifier under realistic\nassumptions. Furthermore, we adapt an adversarial input detector into a mixing\nnetwork that adaptively adjusts the mixture of the two base models, further\nreducing the accuracy penalty of achieving robustness. The proposed flexible\nmethod, termed \"adaptive smoothing\", can work in conjunction with existing or\neven future methods that improve clean accuracy, robustness, or adversary\ndetection. Our empirical evaluation considers strong attack methods, including\nAutoAttack and adaptive attack. On the CIFAR-100 dataset, our method achieves\nan 85.21% clean accuracy while maintaining a 38.72% $\\ell_\\infty$-AutoAttacked\n($\\epsilon = 8/255$) accuracy, becoming the second most robust method on the\nRobustBench CIFAR-100 benchmark as of submission, while improving the clean\naccuracy by ten percentage points compared with all listed models. The code\nthat implements our method is available at\nhttps://github.com/Bai-YT/AdaptiveSmoothing.\n", "date": "2023-01-29", "categories": []} {"id": "2401.08734", "title": "Bag of Tricks to Boost Adversarial Transferability", "abstract": " Deep neural networks are widely known to be vulnerable to adversarial\nexamples. However, vanilla adversarial examples generated under the white-box\nsetting often exhibit low transferability across different models. Since\nadversarial transferability poses more severe threats to practical\napplications, various approaches have been proposed for better transferability,\nincluding gradient-based, input transformation-based, and model-related\nattacks, \\etc. In this work, we find that several tiny changes in the existing\nadversarial attacks can significantly affect the attack performance, \\eg, the\nnumber of iterations and step size. Based on careful studies of existing\nadversarial attacks, we propose a bag of tricks to enhance adversarial\ntransferability, including momentum initialization, scheduled step size, dual\nexample, spectral-based input transformation, and several ensemble strategies.\nExtensive experiments on the ImageNet dataset validate the high effectiveness\nof our proposed tricks and show that combining them can further boost\nadversarial transferability. Our work provides practical insights and\ntechniques to enhance adversarial transferability, and offers guidance to\nimprove the attack performance on the real-world application through simple\nadjustments.\n", "date": "2024-01-16", "categories": []} {"id": "2401.17038", "title": "Towards Assessing the Synthetic-to-Measured Adversarial Vulnerability of\n SAR ATR", "abstract": " Recently, there has been increasing concern about the vulnerability of deep\nneural network (DNN)-based synthetic aperture radar (SAR) automatic target\nrecognition (ATR) to adversarial attacks, where a DNN could be easily deceived\nby clean input with imperceptible but aggressive perturbations. This paper\nstudies the synthetic-to-measured (S2M) transfer setting, where an attacker\ngenerates adversarial perturbation based solely on synthetic data and transfers\nit against victim models trained with measured data. Compared with the current\nmeasured-to-measured (M2M) transfer setting, our approach does not need direct\naccess to the victim model or the measured SAR data. We also propose the\ntransferability estimation attack (TEA) to uncover the adversarial risks in\nthis more challenging and practical scenario. The TEA makes full use of the\nlimited similarity between the synthetic and measured data pairs for blind\nestimation and optimization of S2M transferability, leading to feasible\nsurrogate model enhancement without mastering the victim model and data.\nComprehensive evaluations based on the publicly available synthetic and\nmeasured paired labeled experiment (SAMPLE) dataset demonstrate that the TEA\noutperforms state-of-the-art methods and can significantly enhance various\nattack algorithms in computer vision and remote sensing applications. Codes and\ndata are available at https://github.com/scenarri/S2M-TEA.\n", "date": "2024-01-30", "categories": []} {"id": "2407.15385", "title": "Towards Robust Vision Transformer via Masked Adaptive Ensemble", "abstract": " Adversarial training (AT) can help improve the robustness of Vision\nTransformers (ViT) against adversarial attacks by intentionally injecting\nadversarial examples into the training data. However, this way of adversarial\ninjection inevitably incurs standard accuracy degradation to some extent,\nthereby calling for a trade-off between standard accuracy and robustness.\nBesides, the prominent AT solutions are still vulnerable to adaptive attacks.\nTo tackle such shortcomings, this paper proposes a novel ViT architecture,\nincluding a detector and a classifier bridged by our newly developed adaptive\nensemble. Specifically, we empirically discover that detecting adversarial\nexamples can benefit from the Guided Backpropagation technique. Driven by this\ndiscovery, a novel Multi-head Self-Attention (MSA) mechanism is introduced to\nenhance our detector to sniff adversarial examples. Then, a classifier with two\nencoders is employed for extracting visual representations respectively from\nclean images and adversarial examples, with our adaptive ensemble to adaptively\nadjust the proportion of visual representations from the two encoders for\naccurate classification. This design enables our ViT architecture to achieve a\nbetter trade-off between standard accuracy and robustness. Besides, our\nadaptive ensemble technique allows us to mask off a random subset of image\npatches within input data, boosting our ViT's robustness against adaptive\nattacks, while maintaining high standard accuracy. Experimental results exhibit\nthat our ViT architecture, on CIFAR-10, achieves the best standard accuracy and\nadversarial robustness of 90.3% and 49.8%, respectively.\n", "date": "2024-07-22", "categories": []} {"id": "2407.15399", "title": "Imposter.AI: Adversarial Attacks with Hidden Intentions towards Aligned\n Large Language Models", "abstract": " With the development of large language models (LLMs) like ChatGPT, both their\nvast applications and potential vulnerabilities have come to the forefront.\nWhile developers have integrated multiple safety mechanisms to mitigate their\nmisuse, a risk remains, particularly when models encounter adversarial inputs.\nThis study unveils an attack mechanism that capitalizes on human conversation\nstrategies to extract harmful information from LLMs. We delineate three pivotal\nstrategies: (i) decomposing malicious questions into seemingly innocent\nsub-questions; (ii) rewriting overtly malicious questions into more covert,\nbenign-sounding ones; (iii) enhancing the harmfulness of responses by prompting\nmodels for illustrative examples. Unlike conventional methods that target\nexplicit malicious responses, our approach delves deeper into the nature of the\ninformation provided in responses. Through our experiments conducted on\nGPT-3.5-turbo, GPT-4, and Llama2, our method has demonstrated a marked efficacy\ncompared to conventional attack methods. In summary, this work introduces a\nnovel attack method that outperforms previous approaches, raising an important\nquestion: How to discern whether the ultimate intent in a dialogue is\nmalicious?\n", "date": "2024-07-22", "categories": []} {"id": "2407.15683", "title": "Enhancing Transferability of Targeted Adversarial Examples: A\n Self-Universal Perspective", "abstract": " Transfer-based targeted adversarial attacks against black-box deep neural\nnetworks (DNNs) have been proven to be significantly more challenging than\nuntargeted ones. The impressive transferability of current SOTA, the generative\nmethods, comes at the cost of requiring massive amounts of additional data and\ntime-consuming training for each targeted label. This results in limited\nefficiency and flexibility, significantly hindering their deployment in\npractical applications. In this paper, we offer a self-universal perspective\nthat unveils the great yet underexplored potential of input transformations in\npursuing this goal. Specifically, transformations universalize gradient-based\nattacks with intrinsic but overlooked semantics inherent within individual\nimages, exhibiting similar scalability and comparable results to time-consuming\nlearning over massive additional data from diverse classes. We also contribute\na surprising empirical insight that one of the most fundamental\ntransformations, simple image scaling, is highly effective, scalable,\nsufficient, and necessary in enhancing targeted transferability. We further\naugment simple scaling with orthogonal transformations and block-wise\napplicability, resulting in the Simple, faSt, Self-universal yet Strong Scale\nTransformation (S$^4$ST) for self-universal TTA. On the ImageNet-Compatible\nbenchmark dataset, our method achieves a 19.8% improvement in the average\ntargeted transfer success rate against various challenging victim models over\nexisting SOTA transformation methods while only consuming 36% time for\nattacking. It also outperforms resource-intensive attacks by a large margin in\nvarious challenging settings.\n", "date": "2024-07-22", "categories": []} {"id": "2407.11599", "title": "Enhancing TinyML Security: Study of Adversarial Attack Transferability", "abstract": " The recent strides in artificial intelligence (AI) and machine learning (ML)\nhave propelled the rise of TinyML, a paradigm enabling AI computations at the\nedge without dependence on cloud connections. While TinyML offers real-time\ndata analysis and swift responses critical for diverse applications, its\ndevices' intrinsic resource limitations expose them to security risks. This\nresearch delves into the adversarial vulnerabilities of AI models on\nresource-constrained embedded hardware, with a focus on Model Extraction and\nEvasion Attacks. Our findings reveal that adversarial attacks from powerful\nhost machines could be transferred to smaller, less secure devices like ESP32\nand Raspberry Pi. This illustrates that adversarial attacks could be extended\nto tiny devices, underscoring vulnerabilities, and emphasizing the necessity\nfor reinforced security measures in TinyML deployments. This exploration\nenhances the comprehension of security challenges in TinyML and offers insights\nfor safeguarding sensitive data and ensuring device dependability in AI-powered\nedge computing settings.\n", "date": "2024-07-16", "categories": []} {"id": "2407.12588", "title": "Benchmarking Robust Self-Supervised Learning Across Diverse Downstream\n Tasks", "abstract": " Large-scale vision models have become integral in many applications due to\ntheir unprecedented performance and versatility across downstream tasks.\nHowever, the robustness of these foundation models has primarily been explored\nfor a single task, namely image classification. The vulnerability of other\ncommon vision tasks, such as semantic segmentation and depth estimation,\nremains largely unknown. We present a comprehensive empirical evaluation of the\nadversarial robustness of self-supervised vision encoders across multiple\ndownstream tasks. Our attacks operate in the encoder embedding space and at the\ndownstream task output level. In both cases, current state-of-the-art\nadversarial fine-tuning techniques tested only for classification significantly\ndegrade clean and robust performance on other tasks. Since the purpose of a\nfoundation model is to cater to multiple applications at once, our findings\nreveal the need to enhance encoder robustness more broadly. Our code is\navailable at ${github.com/layer6ai-labs/ssl-robustness}$.\n", "date": "2024-07-17", "categories": []} {"id": "2407.13111", "title": "PG-Attack: A Precision-Guided Adversarial Attack Framework Against\n Vision Foundation Models for Autonomous Driving", "abstract": " Vision foundation models are increasingly employed in autonomous driving\nsystems due to their advanced capabilities. However, these models are\nsusceptible to adversarial attacks, posing significant risks to the reliability\nand safety of autonomous vehicles. Adversaries can exploit these\nvulnerabilities to manipulate the vehicle's perception of its surroundings,\nleading to erroneous decisions and potentially catastrophic consequences. To\naddress this challenge, we propose a novel Precision-Guided Adversarial Attack\n(PG-Attack) framework that combines two techniques: Precision Mask Perturbation\nAttack (PMP-Attack) and Deceptive Text Patch Attack (DTP-Attack). PMP-Attack\nprecisely targets the attack region to minimize the overall perturbation while\nmaximizing its impact on the target object's representation in the model's\nfeature space. DTP-Attack introduces deceptive text patches that disrupt the\nmodel's understanding of the scene, further enhancing the attack's\neffectiveness. Our experiments demonstrate that PG-Attack successfully deceives\na variety of advanced multi-modal large models, including GPT-4V, Qwen-VL, and\nimp-V1. Additionally, we won First-Place in the CVPR 2024 Workshop Challenge:\nBlack-box Adversarial Attacks on Vision Foundation Models and codes are\navailable at https://github.com/fuhaha824/PG-Attack.\n", "date": "2024-07-18", "categories": []} {"id": "2407.13646", "title": "Beyond Dropout: Robust Convolutional Neural Networks Based on Local\n Feature Masking", "abstract": " In the contemporary of deep learning, where models often grapple with the\nchallenge of simultaneously achieving robustness against adversarial attacks\nand strong generalization capabilities, this study introduces an innovative\nLocal Feature Masking (LFM) strategy aimed at fortifying the performance of\nConvolutional Neural Networks (CNNs) on both fronts. During the training phase,\nwe strategically incorporate random feature masking in the shallow layers of\nCNNs, effectively alleviating overfitting issues, thereby enhancing the model's\ngeneralization ability and bolstering its resilience to adversarial attacks.\nLFM compels the network to adapt by leveraging remaining features to compensate\nfor the absence of certain semantic features, nurturing a more elastic feature\nlearning mechanism. The efficacy of LFM is substantiated through a series of\nquantitative and qualitative assessments, collectively showcasing a consistent\nand significant improvement in CNN's generalization ability and resistance\nagainst adversarial attacks--a phenomenon not observed in current and prior\nmethodologies. The seamless integration of LFM into established CNN frameworks\nunderscores its potential to advance both generalization and adversarial\nrobustness within the deep learning paradigm. Through comprehensive\nexperiments, including robust person re-identification baseline generalization\nexperiments and adversarial attack experiments, we demonstrate the substantial\nenhancements offered by LFM in addressing the aforementioned challenges. This\ncontribution represents a noteworthy stride in advancing robust neural network\narchitectures.\n", "date": "2024-07-18", "categories": []} {"id": "2407.13700", "title": "Cross-Task Attack: A Self-Supervision Generative Framework Based on\n Attention Shift", "abstract": " Studying adversarial attacks on artificial intelligence (AI) systems helps\ndiscover model shortcomings, enabling the construction of a more robust system.\nMost existing adversarial attack methods only concentrate on single-task\nsingle-model or single-task cross-model scenarios, overlooking the multi-task\ncharacteristic of artificial intelligence systems. As a result, most of the\nexisting attacks do not pose a practical threat to a comprehensive and\ncollaborative AI system. However, implementing cross-task attacks is highly\ndemanding and challenging due to the difficulty in obtaining the real labels of\ndifferent tasks for the same picture and harmonizing the loss functions across\ndifferent tasks. To address this issue, we propose a self-supervised Cross-Task\nAttack framework (CTA), which utilizes co-attention and anti-attention maps to\ngenerate cross-task adversarial perturbation. Specifically, the co-attention\nmap reflects the area to which different visual task models pay attention,\nwhile the anti-attention map reflects the area that different visual task\nmodels neglect. CTA generates cross-task perturbations by shifting the\nattention area of samples away from the co-attention map and closer to the\nanti-attention map. We conduct extensive experiments on multiple vision tasks\nand the experimental results confirm the effectiveness of the proposed design\nfor adversarial attacks.\n", "date": "2024-07-18", "categories": []} {"id": "2306.09124", "title": "DIFFender: Diffusion-Based Adversarial Defense against Patch Attacks", "abstract": " Adversarial attacks, particularly patch attacks, pose significant threats to\nthe robustness and reliability of deep learning models. Developing reliable\ndefenses against patch attacks is crucial for real-world applications. This\npaper introduces DIFFender, a novel defense framework that harnesses the\ncapabilities of a text-guided diffusion model to combat patch attacks. Central\nto our approach is the discovery of the Adversarial Anomaly Perception (AAP)\nphenomenon, which empowers the diffusion model to detect and localize\nadversarial patches through the analysis of distributional discrepancies.\nDIFFender integrates dual tasks of patch localization and restoration within a\nsingle diffusion model framework, utilizing their close interaction to enhance\ndefense efficacy. Moreover, DIFFender utilizes vision-language pre-training\ncoupled with an efficient few-shot prompt-tuning algorithm, which streamlines\nthe adaptation of the pre-trained diffusion model to defense tasks, thus\neliminating the need for extensive retraining. Our comprehensive evaluation\nspans image classification and face recognition tasks, extending to real-world\nscenarios, where DIFFender shows good robustness against adversarial attacks.\nThe versatility and generalizability of DIFFender are evident across a variety\nof settings, classifiers, and attack methodologies, marking an advancement in\nadversarial patch defense strategies.\n", "date": "2023-06-15", "categories": []} {"id": "2311.18495", "title": "Improving Adversarial Transferability via Model Alignment", "abstract": " Neural networks are susceptible to adversarial perturbations that are\ntransferable across different models. In this paper, we introduce a novel model\nalignment technique aimed at improving a given source model's ability in\ngenerating transferable adversarial perturbations. During the alignment\nprocess, the parameters of the source model are fine-tuned to minimize an\nalignment loss. This loss measures the divergence in the predictions between\nthe source model and another, independently trained model, referred to as the\nwitness model. To understand the effect of model alignment, we conduct a\ngeometric analysis of the resulting changes in the loss landscape. Extensive\nexperiments on the ImageNet dataset, using a variety of model architectures,\ndemonstrate that perturbations generated from aligned source models exhibit\nsignificantly higher transferability than those from the original source model.\n", "date": "2023-11-30", "categories": []} {"id": "2405.06134", "title": "Muting Whisper: A Universal Acoustic Adversarial Attack on Speech\n Foundation Models", "abstract": " Recent developments in large speech foundation models like Whisper have led\nto their widespread use in many automatic speech recognition (ASR)\napplications. These systems incorporate `special tokens' in their vocabulary,\nsuch as $\\texttt{<|endoftext|>}$, to guide their language generation process.\nHowever, we demonstrate that these tokens can be exploited by adversarial\nattacks to manipulate the model's behavior. We propose a simple yet effective\nmethod to learn a universal acoustic realization of Whisper's\n$\\texttt{<|endoftext|>}$ token, which, when prepended to any speech signal,\nencourages the model to ignore the speech and only transcribe the special\ntoken, effectively `muting' the model. Our experiments demonstrate that the\nsame, universal 0.64-second adversarial audio segment can successfully mute a\ntarget Whisper ASR model for over 97\\% of speech samples. Moreover, we find\nthat this universal adversarial audio segment often transfers to new datasets\nand tasks. Overall this work demonstrates the vulnerability of Whisper models\nto `muting' adversarial attacks, where such attacks can pose both risks and\npotential benefits in real-world settings: for example the attack can be used\nto bypass speech moderation systems, or conversely the attack can also be used\nto protect private speech data.\n", "date": "2024-05-09", "categories": []} {"id": "2407.12292", "title": "Any Target Can be Offense: Adversarial Example Generation via\n Generalized Latent Infection", "abstract": " Targeted adversarial attack, which aims to mislead a model to recognize any\nimage as a target object by imperceptible perturbations, has become a\nmainstream tool for vulnerability assessment of deep neural networks (DNNs).\nSince existing targeted attackers only learn to attack known target classes,\nthey cannot generalize well to unknown classes. To tackle this issue, we\npropose $\\bf{G}$eneralized $\\bf{A}$dversarial attac$\\bf{KER}$ ($\\bf{GAKer}$),\nwhich is able to construct adversarial examples to any target class. The core\nidea behind GAKer is to craft a latently infected representation during\nadversarial example generation. To this end, the extracted latent\nrepresentations of the target object are first injected into intermediate\nfeatures of an input image in an adversarial generator. Then, the generator is\noptimized to ensure visual consistency with the input image while being close\nto the target object in the feature space. Since the GAKer is class-agnostic\nyet model-agnostic, it can be regarded as a general tool that not only reveals\nthe vulnerability of more DNNs but also identifies deficiencies of DNNs in a\nwider range of classes. Extensive experiments have demonstrated the\neffectiveness of our proposed method in generating adversarial examples for\nboth known and unknown classes. Notably, compared with other generative\nmethods, our method achieves an approximately $14.13\\%$ higher attack success\nrate for unknown classes and an approximately $4.23\\%$ higher success rate for\nknown classes. Our code is available in https://github.com/VL-Group/GAKer.\n", "date": "2024-07-17", "categories": []} {"id": "2407.12443", "title": "Preventing Catastrophic Overfitting in Fast Adversarial Training: A\n Bi-level Optimization Perspective", "abstract": " Adversarial training (AT) has become an effective defense method against\nadversarial examples (AEs) and it is typically framed as a bi-level\noptimization problem. Among various AT methods, fast AT (FAT), which employs a\nsingle-step attack strategy to guide the training process, can achieve good\nrobustness against adversarial attacks at a low cost. However, FAT methods\nsuffer from the catastrophic overfitting problem, especially on complex tasks\nor with large-parameter models. In this work, we propose a FAT method termed\nFGSM-PCO, which mitigates catastrophic overfitting by averting the collapse of\nthe inner optimization problem in the bi-level optimization process. FGSM-PCO\ngenerates current-stage AEs from the historical AEs and incorporates them into\nthe training process using an adaptive mechanism. This mechanism determines an\nappropriate fusion ratio according to the performance of the AEs on the\ntraining model. Coupled with a loss function tailored to the training\nframework, FGSM-PCO can alleviate catastrophic overfitting and help the\nrecovery of an overfitted model to effective training. We evaluate our\nalgorithm across three models and three datasets to validate its effectiveness.\nComparative empirical studies against other FAT algorithms demonstrate that our\nproposed method effectively addresses unresolved overfitting issues in existing\nalgorithms.\n", "date": "2024-07-17", "categories": []} {"id": "2211.11236", "title": "Boosting the Transferability of Adversarial Attacks with Global Momentum\n Initialization", "abstract": " Deep Neural Networks (DNNs) are vulnerable to adversarial examples, which are\ncrafted by adding human-imperceptible perturbations to the benign inputs.\nSimultaneously, adversarial examples exhibit transferability across models,\nenabling practical black-box attacks. However, existing methods are still\nincapable of achieving the desired transfer attack performance. In this work,\nfocusing on gradient optimization and consistency, we analyse the gradient\nelimination phenomenon as well as the local momentum optimum dilemma. To tackle\nthese challenges, we introduce Global Momentum Initialization (GI), providing\nglobal momentum knowledge to mitigate gradient elimination. Specifically, we\nperform gradient pre-convergence before the attack and a global search during\nthis stage. GI seamlessly integrates with existing transfer methods,\nsignificantly improving the success rate of transfer attacks by an average of\n6.4% under various advanced defense mechanisms compared to the state-of-the-art\nmethod. Ultimately, GI demonstrates strong transferability in both image and\nvideo attack domains. Particularly, when attacking advanced defense methods in\nthe image domain, it achieves an average attack success rate of 95.4%. The code\nis available at\n$\\href{https://github.com/Omenzychen/Global-Momentum-Initialization}{https://github.com/Omenzychen/Global-Momentum-Initialization}$.\n", "date": "2022-11-21", "categories": []} {"id": "2306.12941", "title": "Towards Reliable Evaluation and Fast Training of Robust Semantic\n Segmentation Models", "abstract": " Adversarial robustness has been studied extensively in image classification,\nespecially for the $\\ell_\\infty$-threat model, but significantly less so for\nrelated tasks such as object detection and semantic segmentation, where attacks\nturn out to be a much harder optimization problem than for image\nclassification. We propose several problem-specific novel attacks minimizing\ndifferent metrics in accuracy and mIoU. The ensemble of our attacks, SEA, shows\nthat existing attacks severely overestimate the robustness of semantic\nsegmentation models. Surprisingly, existing attempts of adversarial training\nfor semantic segmentation models turn out to be weak or even completely\nnon-robust. We investigate why previous adaptations of adversarial training to\nsemantic segmentation failed and show how recently proposed robust ImageNet\nbackbones can be used to obtain adversarially robust semantic segmentation\nmodels with up to six times less training time for PASCAL-VOC and the more\nchallenging ADE20k. The associated code and robust models are available at\nhttps://github.com/nmndeep/robust-segmentation\n", "date": "2023-06-22", "categories": []} {"id": "2407.11029", "title": "A Geometric Framework for Adversarial Vulnerability in Machine Learning", "abstract": " This work starts with the intention of using mathematics to understand the\nintriguing vulnerability observed by ~\\citet{szegedy2013} within artificial\nneural networks. Along the way, we will develop some novel tools with\napplications far outside of just the adversarial domain. We will do this while\ndeveloping a rigorous mathematical framework to examine this problem. Our goal\nis to build out theory which can support increasingly sophisticated conjecture\nabout adversarial attacks with a particular focus on the so called ``Dimpled\nManifold Hypothesis'' by ~\\citet{shamir2021dimpled}. Chapter one will cover the\nhistory and architecture of neural network architectures. Chapter two is\nfocused on the background of adversarial vulnerability. Starting from the\nseminal paper by ~\\citet{szegedy2013} we will develop the theory of adversarial\nperturbation and attack.\n Chapter three will build a theory of persistence that is related to Ricci\nCurvature, which can be used to measure properties of decision boundaries. We\nwill use this foundation to make a conjecture relating adversarial attacks.\nChapters four and five represent a sudden and wonderful digression that\nexamines an intriguing related body of theory for spatial analysis of neural\nnetworks as approximations of kernel machines and becomes a novel theory for\nrepresenting neural networks with bilinear maps. These heavily mathematical\nchapters will set up a framework and begin exploring applications of what may\nbecome a very important theoretical foundation for analyzing neural network\nlearning with spatial and geometric information. We will conclude by setting up\nour new methods to address the conjecture from chapter 3 in continuing\nresearch.\n", "date": "2024-07-03", "categories": []} {"id": "2407.11073", "title": "SemiAdv: Query-Efficient Black-Box Adversarial Attack with Unlabeled\n Images", "abstract": " Adversarial attack has garnered considerable attention due to its profound\nimplications for the secure deployment of robots in sensitive security\nscenarios. To potentially push for advances in the field, this paper studies\nthe adversarial attack in the black-box setting and proposes an unlabeled\ndata-driven adversarial attack method, called SemiAdv. Specifically, SemiAdv\nachieves the following breakthroughs compared with previous works. First, by\nintroducing the semi-supervised learning technique into the adversarial attack,\nSemiAdv substantially decreases the number of queries required for generating\nadversarial samples. On average, SemiAdv only needs to query a few hundred\ntimes to launch an effective attack with more than 90% success rate. Second,\nmany existing black-box adversarial attacks require massive labeled data to\nmitigate the difference between the local substitute model and the remote\ntarget model for a good attack performance. While SemiAdv relaxes this\nlimitation and is capable of utilizing unlabeled raw data to launch an\neffective attack. Finally, our experiments show that SemiAdv saves up to 12x\nquery accesses for generating adversarial samples while maintaining a\ncompetitive attack success rate compared with state-of-the-art attacks.\n", "date": "2024-07-13", "categories": []} {"id": "2407.11844", "title": "Variational Randomized Smoothing for Sample-Wise Adversarial Robustness", "abstract": " Randomized smoothing is a defensive technique to achieve enhanced robustness\nagainst adversarial examples which are small input perturbations that degrade\nthe performance of neural network models. Conventional randomized smoothing\nadds random noise with a fixed noise level for every input sample to smooth out\nadversarial perturbations. This paper proposes a new variational framework that\nuses a per-sample noise level suitable for each input by introducing a noise\nlevel selector. Our experimental results demonstrate enhancement of empirical\nrobustness against adversarial attacks. We also provide and analyze the\ncertified robustness for our sample-wise smoothing method.\n", "date": "2024-07-16", "categories": []} {"id": "2307.12499", "title": "AdvDiff: Generating Unrestricted Adversarial Examples using Diffusion\n Models", "abstract": " Unrestricted adversarial attacks present a serious threat to deep learning\nmodels and adversarial defense techniques. They pose severe security problems\nfor deep learning applications because they can effectively bypass defense\nmechanisms. However, previous attack methods often directly inject Projected\nGradient Descent (PGD) gradients into the sampling of generative models, which\nare not theoretically provable and thus generate unrealistic examples by\nincorporating adversarial objectives, especially for GAN-based methods on\nlarge-scale datasets like ImageNet. In this paper, we propose a new method,\ncalled AdvDiff, to generate unrestricted adversarial examples with diffusion\nmodels. We design two novel adversarial guidance techniques to conduct\nadversarial sampling in the reverse generation process of diffusion models.\nThese two techniques are effective and stable in generating high-quality,\nrealistic adversarial examples by integrating gradients of the target\nclassifier interpretably. Experimental results on MNIST and ImageNet datasets\ndemonstrate that AdvDiff is effective in generating unrestricted adversarial\nexamples, which outperforms state-of-the-art unrestricted adversarial attack\nmethods in terms of attack performance and generation quality.\n", "date": "2023-07-24", "categories": []} {"id": "2402.03317", "title": "SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular\n Value Penalization", "abstract": " Vision Transformers (ViTs) are increasingly used in computer vision due to\ntheir high performance, but their vulnerability to adversarial attacks is a\nconcern. Existing methods lack a solid theoretical basis, focusing mainly on\nempirical training adjustments. This study introduces SpecFormer, tailored to\nfortify ViTs against adversarial attacks, with theoretical underpinnings. We\nestablish local Lipschitz bounds for the self-attention layer and propose the\nMaximum Singular Value Penalization (MSVP) to precisely manage these bounds By\nincorporating MSVP into ViTs' attention layers, we enhance the model's\nrobustness without compromising training efficiency. SpecFormer, the resulting\nmodel, outperforms other state-of-the-art models in defending against\nadversarial attacks, as proven by experiments on CIFAR and ImageNet datasets.\nCode is released at https://github.com/microsoft/robustlearn.\n", "date": "2024-01-02", "categories": []} {"id": "2403.12445", "title": "Boosting Transferability in Vision-Language Attacks via Diversification\n along the Intersection Region of Adversarial Trajectory", "abstract": " Vision-language pre-training (VLP) models exhibit remarkable capabilities in\ncomprehending both images and text, yet they remain susceptible to multimodal\nadversarial examples (AEs). Strengthening attacks and uncovering\nvulnerabilities, especially common issues in VLP models (e.g., high\ntransferable AEs), can advance reliable and practical VLP models. A recent work\n(i.e., Set-level guidance attack) indicates that augmenting image-text pairs to\nincrease AE diversity along the optimization path enhances the transferability\nof adversarial examples significantly. However, this approach predominantly\nemphasizes diversity around the online adversarial examples (i.e., AEs in the\noptimization period), leading to the risk of overfitting the victim model and\naffecting the transferability. In this study, we posit that the diversity of\nadversarial examples towards the clean input and online AEs are both pivotal\nfor enhancing transferability across VLP models. Consequently, we propose using\ndiversification along the intersection region of adversarial trajectory to\nexpand the diversity of AEs. To fully leverage the interaction between\nmodalities, we introduce text-guided adversarial example selection during\noptimization. Furthermore, to further mitigate the potential overfitting, we\ndirect the adversarial text deviating from the last intersection region along\nthe optimization path, rather than adversarial images as in existing methods.\nExtensive experiments affirm the effectiveness of our method in improving\ntransferability across various VLP models and downstream vision-and-language\ntasks.\n", "date": "2024-03-19", "categories": []} {"id": "2407.10077", "title": "Transferable 3D Adversarial Shape Completion using Diffusion Models", "abstract": " Recent studies that incorporate geometric features and transformers into 3D\npoint cloud feature learning have significantly improved the performance of 3D\ndeep-learning models. However, their robustness against adversarial attacks has\nnot been thoroughly explored. Existing attack methods primarily focus on\nwhite-box scenarios and struggle to transfer to recently proposed 3D\ndeep-learning models. Even worse, these attacks introduce perturbations to 3D\ncoordinates, generating unrealistic adversarial examples and resulting in poor\nperformance against 3D adversarial defenses. In this paper, we generate\nhigh-quality adversarial point clouds using diffusion models. By using partial\npoints as prior knowledge, we generate realistic adversarial examples through\nshape completion with adversarial guidance. The proposed adversarial shape\ncompletion allows for a more reliable generation of adversarial point clouds.\nTo enhance attack transferability, we delve into the characteristics of 3D\npoint clouds and employ model uncertainty for better inference of model\nclassification through random down-sampling of point clouds. We adopt ensemble\nadversarial guidance for improved transferability across different network\narchitectures. To maintain the generation quality, we limit our adversarial\nguidance solely to the critical points of the point clouds by calculating\nsaliency scores. Extensive experiments demonstrate that our proposed attacks\noutperform state-of-the-art adversarial attack methods against both black-box\nmodels and defenses. Our black-box attack establishes a new baseline for\nevaluating the robustness of various 3D point cloud classification models.\n", "date": "2024-07-14", "categories": []} {"id": "2407.10277", "title": "Disrupting Diffusion-based Inpainters with Semantic Digression", "abstract": " The fabrication of visual misinformation on the web and social media has\nincreased exponentially with the advent of foundational text-to-image diffusion\nmodels. Namely, Stable Diffusion inpainters allow the synthesis of maliciously\ninpainted images of personal and private figures, and copyrighted contents,\nalso known as deepfakes. To combat such generations, a disruption framework,\nnamely Photoguard, has been proposed, where it adds adversarial noise to the\ncontext image to disrupt their inpainting synthesis. While their framework\nsuggested a diffusion-friendly approach, the disruption is not sufficiently\nstrong and it requires a significant amount of GPU and time to immunize the\ncontext image. In our work, we re-examine both the minimal and favorable\nconditions for a successful inpainting disruption, proposing DDD, a \"Digression\nguided Diffusion Disruption\" framework. First, we identify the most\nadversarially vulnerable diffusion timestep range with respect to the hidden\nspace. Within this scope of noised manifold, we pose the problem as a semantic\ndigression optimization. We maximize the distance between the inpainting\ninstance's hidden states and a semantic-aware hidden state centroid, calibrated\nboth by Monte Carlo sampling of hidden states and a discretely projected\noptimization in the token space. Effectively, our approach achieves stronger\ndisruption and a higher success rate than Photoguard while lowering the GPU\nmemory requirement, and speeding the optimization up to three times faster.\n", "date": "2024-07-14", "categories": []} {"id": "2407.10918", "title": "PartImageNet++ Dataset: Scaling up Part-based Models for Robust\n Recognition", "abstract": " Deep learning-based object recognition systems can be easily fooled by\nvarious adversarial perturbations. One reason for the weak robustness may be\nthat they do not have part-based inductive bias like the human recognition\nprocess. Motivated by this, several part-based recognition models have been\nproposed to improve the adversarial robustness of recognition. However, due to\nthe lack of part annotations, the effectiveness of these methods is only\nvalidated on small-scale nonstandard datasets. In this work, we propose PIN++,\nshort for PartImageNet++, a dataset providing high-quality part segmentation\nannotations for all categories of ImageNet-1K (IN-1K). With these annotations,\nwe build part-based methods directly on the standard IN-1K dataset for robust\nrecognition. Different from previous two-stage part-based models, we propose a\nMulti-scale Part-supervised Model (MPM), to learn a robust representation with\npart annotations. Experiments show that MPM yielded better adversarial\nrobustness on the large-scale IN-1K over strong baselines across various attack\nsettings. Furthermore, MPM achieved improved robustness on common corruptions\nand several out-of-distribution datasets. The dataset, together with these\nresults, enables and encourages researchers to explore the potential of\npart-based models in more real applications.\n", "date": "2024-07-15", "categories": []} {"id": "2407.08972", "title": "Revealing the Dark Secrets of Extremely Large Kernel ConvNets on\n Robustness", "abstract": " Robustness is a vital aspect to consider when deploying deep learning models\ninto the wild. Numerous studies have been dedicated to the study of the\nrobustness of vision transformers (ViTs), which have dominated as the\nmainstream backbone choice for vision tasks since the dawn of 2020s. Recently,\nsome large kernel convnets make a comeback with impressive performance and\nefficiency. However, it still remains unclear whether large kernel networks are\nrobust and the attribution of their robustness. In this paper, we first conduct\na comprehensive evaluation of large kernel convnets' robustness and their\ndifferences from typical small kernel counterparts and ViTs on six diverse\nrobustness benchmark datasets. Then to analyze the underlying factors behind\ntheir strong robustness, we design experiments from both quantitative and\nqualitative perspectives to reveal large kernel convnets' intriguing properties\nthat are completely different from typical convnets. Our experiments\ndemonstrate for the first time that pure CNNs can achieve exceptional\nrobustness comparable or even superior to that of ViTs. Our analysis on\nocclusion invariance, kernel attention patterns and frequency characteristics\nprovide novel insights into the source of robustness.\n", "date": "2024-07-12", "categories": []} {"id": "2407.09150", "title": "Evaluating the Adversarial Robustness of Semantic Segmentation: Trying\n Harder Pays Off", "abstract": " Machine learning models are vulnerable to tiny adversarial input\nperturbations optimized to cause a very large output error. To measure this\nvulnerability, we need reliable methods that can find such adversarial\nperturbations. For image classification models, evaluation methodologies have\nemerged that have stood the test of time. However, we argue that in the area of\nsemantic segmentation, a good approximation of the sensitivity to adversarial\nperturbations requires significantly more effort than what is currently\nconsidered satisfactory. To support this claim, we re-evaluate a number of\nwell-known robust segmentation models in an extensive empirical study. We\npropose new attacks and combine them with the strongest attacks available in\nthe literature. We also analyze the sensitivity of the models in fine detail.\nThe results indicate that most of the state-of-the-art models have a\ndramatically larger sensitivity to adversarial perturbations than previously\nreported. We also demonstrate a size-bias: small objects are often more easily\nattacked, even if the large objects are robust, a phenomenon not revealed by\ncurrent evaluation metrics. Our results also demonstrate that a diverse set of\nstrong attacks is necessary, because different models are often vulnerable to\ndifferent attacks.\n", "date": "2024-07-12", "categories": []} {"id": "2407.09251", "title": "Deep Adversarial Defense Against Multilevel-Lp Attacks", "abstract": " Deep learning models have shown considerable vulnerability to adversarial\nattacks, particularly as attacker strategies become more sophisticated. While\ntraditional adversarial training (AT) techniques offer some resilience, they\noften focus on defending against a single type of attack, e.g., the\n$\\ell_\\infty$-norm attack, which can fail for other types. This paper\nintroduces a computationally efficient multilevel $\\ell_p$ defense, called the\nEfficient Robust Mode Connectivity (EMRC) method, which aims to enhance a deep\nlearning model's resilience against multiple $\\ell_p$-norm attacks. Similar to\nanalytical continuation approaches used in continuous optimization, the method\nblends two $p$-specific adversarially optimal models, the $\\ell_1$- and\n$\\ell_\\infty$-norm AT solutions, to provide good adversarial robustness for a\nrange of $p$. We present experiments demonstrating that our approach performs\nbetter on various attacks as compared to AT-$\\ell_\\infty$, E-AT, and MSD, for\ndatasets/architectures including: CIFAR-10, CIFAR-100 / PreResNet110,\nWideResNet, ViT-Base.\n", "date": "2024-07-12", "categories": []} {"id": "2208.07174", "title": "A Human-in-the-Middle Attack against Object Detection Systems", "abstract": " Object detection systems using deep learning models have become increasingly\npopular in robotics thanks to the rising power of CPUs and GPUs in embedded\nsystems. However, these models are susceptible to adversarial attacks. While\nsome attacks are limited by strict assumptions on access to the detection\nsystem, we propose a novel hardware attack inspired by Man-in-the-Middle\nattacks in cryptography. This attack generates a Universal Adversarial\nPerturbations (UAP) and injects the perturbation between the USB camera and the\ndetection system via a hardware attack. Besides, prior research is misled by an\nevaluation metric that measures the model accuracy rather than the attack\nperformance. In combination with our proposed evaluation metrics, we\nsignificantly increased the strength of adversarial perturbations. These\nfindings raise serious concerns for applications of deep learning models in\nsafety-critical systems, such as autonomous driving.\n", "date": "2022-08-15", "categories": []} {"id": "2406.13283", "title": "Large-Scale Dataset Pruning in Adversarial Training through Data\n Importance Extrapolation", "abstract": " Their vulnerability to small, imperceptible attacks limits the adoption of\ndeep learning models to real-world systems. Adversarial training has proven to\nbe one of the most promising strategies against these attacks, at the expense\nof a substantial increase in training time. With the ongoing trend of\nintegrating large-scale synthetic data this is only expected to increase even\nfurther. Thus, the need for data-centric approaches that reduce the number of\ntraining samples while maintaining accuracy and robustness arises. While data\npruning and active learning are prominent research topics in deep learning,\nthey are as of now largely unexplored in the adversarial training literature.\nWe address this gap and propose a new data pruning strategy based on\nextrapolating data importance scores from a small set of data to a larger set.\nIn an empirical evaluation, we demonstrate that extrapolation-based pruning can\nefficiently reduce dataset size while maintaining robustness.\n", "date": "2024-06-19", "categories": []} {"id": "2404.09349", "title": "Adversarial Robustness Limits via Scaling-Law and Human-Alignment\n Studies", "abstract": " This paper revisits the simple, long-studied, yet still unsolved problem of\nmaking image classifiers robust to imperceptible perturbations. Taking CIFAR10\nas an example, SOTA clean accuracy is about $100$%, but SOTA robustness to\n$\\ell_{\\infty}$-norm bounded perturbations barely exceeds $70$%. To understand\nthis gap, we analyze how model size, dataset size, and synthetic data quality\naffect robustness by developing the first scaling laws for adversarial\ntraining. Our scaling laws reveal inefficiencies in prior art and provide\nactionable feedback to advance the field. For instance, we discovered that SOTA\nmethods diverge notably from compute-optimal setups, using excess compute for\ntheir level of robustness. Leveraging a compute-efficient setup, we surpass the\nprior SOTA with $20$% ($70$%) fewer training (inference) FLOPs. We trained\nvarious compute-efficient models, with our best achieving $74$% AutoAttack\naccuracy ($+3$% gain). However, our scaling laws also predict robustness slowly\ngrows then plateaus at $90$%: dwarfing our new SOTA by scaling is impractical,\nand perfect robustness is impossible. To better understand this predicted\nlimit, we carry out a small-scale human evaluation on the AutoAttack data that\nfools our top-performing model. Concerningly, we estimate that human\nperformance also plateaus near $90$%, which we show to be attributable to\n$\\ell_{\\infty}$-constrained attacks' generation of invalid images not\nconsistent with their original labels. Having characterized limiting\nroadblocks, we outline promising paths for future research.\n", "date": "2024-04-14", "categories": []} {"id": "2407.07392", "title": "Malicious Path Manipulations via Exploitation of Representation\n Vulnerabilities of Vision-Language Navigation Systems", "abstract": " Building on the unprecedented capabilities of large language models for\ncommand understanding and zero-shot recognition of multi-modal vision-language\ntransformers, visual language navigation (VLN) has emerged as an effective way\nto address multiple fundamental challenges toward a natural language interface\nto robot navigation. However, such vision-language models are inherently\nvulnerable due to the lack of semantic meaning of the underlying embedding\nspace. Using a recently developed gradient based optimization procedure, we\ndemonstrate that images can be modified imperceptibly to match the\nrepresentation of totally different images and unrelated texts for a\nvision-language model. Building on this, we develop algorithms that can\nadversarially modify a minimal number of images so that the robot will follow a\nroute of choice for commands that require a number of landmarks. We demonstrate\nthat experimentally using a recently proposed VLN system; for a given\nnavigation command, a robot can be made to follow drastically different routes.\nWe also develop an efficient algorithm to detect such malicious modifications\nreliably based on the fact that the adversarially modified images have much\nhigher sensitivity to added Gaussian noise than the original images.\n", "date": "2024-07-10", "categories": []} {"id": "2407.07510", "title": "Invisible Optical Adversarial Stripes on Traffic Sign against Autonomous\n Vehicles", "abstract": " Camera-based computer vision is essential to autonomous vehicle's perception.\nThis paper presents an attack that uses light-emitting diodes and exploits the\ncamera's rolling shutter effect to create adversarial stripes in the captured\nimages to mislead traffic sign recognition. The attack is stealthy because the\nstripes on the traffic sign are invisible to human. For the attack to be\nthreatening, the recognition results need to be stable over consecutive image\nframes. To achieve this, we design and implement GhostStripe, an attack system\nthat controls the timing of the modulated light emission to adapt to camera\noperations and victim vehicle movements. Evaluated on real testbeds,\nGhostStripe can stably spoof the traffic sign recognition results for up to\n94\\% of frames to a wrong class when the victim vehicle passes the road\nsection. In reality, such attack effect may fool victim vehicles into\nlife-threatening incidents. We discuss the countermeasures at the levels of\ncamera sensor, perception model, and autonomous driving system.\n", "date": "2024-07-10", "categories": []} {"id": "2407.02248", "title": "EvolBA: Evolutionary Boundary Attack under Hard-label Black Box\n condition", "abstract": " Research has shown that deep neural networks (DNNs) have vulnerabilities that\ncan lead to the misrecognition of Adversarial Examples (AEs) with specifically\ndesigned perturbations. Various adversarial attack methods have been proposed\nto detect vulnerabilities under hard-label black box (HL-BB) conditions in the\nabsence of loss gradients and confidence scores.However, these methods fall\ninto local solutions because they search only local regions of the search\nspace. Therefore, this study proposes an adversarial attack method named EvolBA\nto generate AEs using Covariance Matrix Adaptation Evolution Strategy (CMA-ES)\nunder the HL-BB condition, where only a class label predicted by the target DNN\nmodel is available. Inspired by formula-driven supervised learning, the\nproposed method introduces domain-independent operators for the initialization\nprocess and a jump that enhances search exploration. Experimental results\nconfirmed that the proposed method could determine AEs with smaller\nperturbations than previous methods in images where the previous methods have\ndifficulty.\n", "date": "2024-07-02", "categories": []} {"id": "2407.06372", "title": "Non-Robust Features are Not Always Useful in One-Class Classification", "abstract": " The robustness of machine learning models has been questioned by the\nexistence of adversarial examples. We examine the threat of adversarial\nexamples in practical applications that require lightweight models for\none-class classification. Building on Ilyas et al. (2019), we investigate the\nvulnerability of lightweight one-class classifiers to adversarial attacks and\npossible reasons for it. Our results show that lightweight one-class\nclassifiers learn features that are not robust (e.g. texture) under stronger\nattacks. However, unlike in multi-class classification (Ilyas et al., 2019),\nthese non-robust features are not always useful for the one-class task,\nsuggesting that learning these unpredictive and non-robust features is an\nunwanted consequence of training.\n", "date": "2024-07-08", "categories": []} {"id": "2407.06688", "title": "Universal Multi-view Black-box Attack against Object Detectors via\n Layout Optimization", "abstract": " Object detectors have demonstrated vulnerability to adversarial examples\ncrafted by small perturbations that can deceive the object detector. Existing\nadversarial attacks mainly focus on white-box attacks and are merely valid at a\nspecific viewpoint, while the universal multi-view black-box attack is less\nexplored, limiting their generalization in practice. In this paper, we propose\na novel universal multi-view black-box attack against object detectors, which\noptimizes a universal adversarial UV texture constructed by multiple image\nstickers for a 3D object via the designed layout optimization algorithm.\nSpecifically, we treat the placement of image stickers on the UV texture as a\ncircle-based layout optimization problem, whose objective is to find the\noptimal circle layout filled with image stickers so that it can deceive the\nobject detector under the multi-view scenario. To ensure reasonable placement\nof image stickers, two constraints are elaborately devised. To optimize the\nlayout, we adopt the random search algorithm enhanced by the devised\nimportant-aware selection strategy to find the most appropriate image sticker\nfor each circle from the image sticker pools. Extensive experiments conducted\non four common object detectors suggested that the detection performance\ndecreases by a large magnitude of 74.29% on average in multi-view scenarios.\nAdditionally, a novel evaluation tool based on the photo-realistic simulator is\ndesigned to assess the texture-based attack fairly.\n", "date": "2024-07-09", "categories": []} {"id": "2407.06714", "title": "Improving the Transferability of Adversarial Examples by Feature\n Augmentation", "abstract": " Despite the success of input transformation-based attacks on boosting\nadversarial transferability, the performance is unsatisfying due to the\nignorance of the discrepancy across models. In this paper, we propose a simple\nbut effective feature augmentation attack (FAUG) method, which improves\nadversarial transferability without introducing extra computation costs.\nSpecifically, we inject the random noise into the intermediate features of the\nmodel to enlarge the diversity of the attack gradient, thereby mitigating the\nrisk of overfitting to the specific model and notably amplifying adversarial\ntransferability. Moreover, our method can be combined with existing gradient\nattacks to augment their performance further. Extensive experiments conducted\non the ImageNet dataset across CNN and transformer models corroborate the\nefficacy of our method, e.g., we achieve improvement of +26.22% and +5.57% on\ninput transformation-based attacks and combination methods, respectively.\n", "date": "2024-07-09", "categories": []} {"id": "2407.06796", "title": "Countermeasures Against Adversarial Examples in Radio Signal\n Classification", "abstract": " Deep learning algorithms have been shown to be powerful in many communication\nnetwork design problems, including that in automatic modulation classification.\nHowever, they are vulnerable to carefully crafted attacks called adversarial\nexamples. Hence, the reliance of wireless networks on deep learning algorithms\nposes a serious threat to the security and operation of wireless networks. In\nthis letter, we propose for the first time a countermeasure against adversarial\nexamples in modulation classification. Our countermeasure is based on a neural\nrejection technique, augmented by label smoothing and Gaussian noise injection,\nthat allows to detect and reject adversarial examples with high accuracy. Our\nresults demonstrate that the proposed countermeasure can protect deep-learning\nbased modulation classification systems against adversarial examples.\n", "date": "2024-07-09", "categories": []} {"id": "2407.06807", "title": "A Hybrid Training-time and Run-time Defense Against Adversarial Attacks\n in Modulation Classification", "abstract": " Motivated by the superior performance of deep learning in many applications\nincluding computer vision and natural language processing, several recent\nstudies have focused on applying deep neural network for devising future\ngenerations of wireless networks. However, several recent works have pointed\nout that imperceptible and carefully designed adversarial examples (attacks)\ncan significantly deteriorate the classification accuracy. In this paper, we\ninvestigate a defense mechanism based on both training-time and run-time\ndefense techniques for protecting machine learning-based radio signal\n(modulation) classification against adversarial attacks. The training-time\ndefense consists of adversarial training and label smoothing, while the\nrun-time defense employs a support vector machine-based neural rejection (NR).\nConsidering a white-box scenario and real datasets, we demonstrate that our\nproposed techniques outperform existing state-of-the-art technologies.\n", "date": "2024-07-09", "categories": []} {"id": "2302.02213", "title": "CosPGD: an efficient white-box adversarial attack for pixel-wise\n prediction tasks", "abstract": " While neural networks allow highly accurate predictions in many tasks, their\nlack of robustness towards even slight input perturbations often hampers their\ndeployment. Adversarial attacks such as the seminal projected gradient descent\n(PGD) offer an effective means to evaluate a model's robustness and dedicated\nsolutions have been proposed for attacks on semantic segmentation or optical\nflow estimation. While they attempt to increase the attack's efficiency, a\nfurther objective is to balance its effect, so that it acts on the entire image\ndomain instead of isolated point-wise predictions. This often comes at the cost\nof optimization stability and thus efficiency. Here, we propose CosPGD, an\nattack that encourages more balanced errors over the entire image domain while\nincreasing the attack's overall efficiency. To this end, CosPGD leverages a\nsimple alignment score computed from any pixel-wise prediction and its target\nto scale the loss in a smooth and fully differentiable way. It leads to\nefficient evaluations of a model's robustness for semantic segmentation as well\nas regression models (such as optical flow, disparity estimation, or image\nrestoration), and it allows it to outperform the previous SotA attack on\nsemantic segmentation. We provide code for the CosPGD algorithm and example\nusage at https://github.com/shashankskagnihotri/cospgd.\n", "date": "2023-02-04", "categories": []} {"id": "2304.06430", "title": "Certified Zeroth-order Black-Box Defense with Robust UNet Denoiser", "abstract": " Certified defense methods against adversarial perturbations have been\nrecently investigated in the black-box setting with a zeroth-order (ZO)\nperspective. However, these methods suffer from high model variance with low\nperformance on high-dimensional datasets due to the ineffective design of the\ndenoiser and are limited in their utilization of ZO techniques. To this end, we\npropose a certified ZO preprocessing technique for removing adversarial\nperturbations from the attacked image in the black-box setting using only model\nqueries. We propose a robust UNet denoiser (RDUNet) that ensures the robustness\nof black-box models trained on high-dimensional datasets. We propose a novel\nblack-box denoised smoothing (DS) defense mechanism, ZO-RUDS, by prepending our\nRDUNet to the black-box model, ensuring black-box defense. We further propose\nZO-AE-RUDS in which RDUNet followed by autoencoder (AE) is prepended to the\nblack-box model. We perform extensive experiments on four classification\ndatasets, CIFAR-10, CIFAR-10, Tiny Imagenet, STL-10, and the MNIST dataset for\nimage reconstruction tasks. Our proposed defense methods ZO-RUDS and ZO-AE-RUDS\nbeat SOTA with a huge margin of $35\\%$ and $9\\%$, for low dimensional\n(CIFAR-10) and with a margin of $20.61\\%$ and $23.51\\%$ for high-dimensional\n(STL-10) datasets, respectively.\n", "date": "2023-04-13", "categories": []} {"id": "2307.13885", "title": "Characterizing Data Point Vulnerability via Average-Case Robustness", "abstract": " Studying the robustness of machine learning models is important to ensure\nconsistent model behaviour across real-world settings. To this end, adversarial\nrobustness is a standard framework, which views robustness of predictions\nthrough a binary lens: either a worst-case adversarial misclassification exists\nin the local region around an input, or it does not. However, this binary\nperspective does not account for the degrees of vulnerability, as data points\nwith a larger number of misclassified examples in their neighborhoods are more\nvulnerable. In this work, we consider a complementary framework for robustness,\ncalled average-case robustness, which measures the fraction of points in a\nlocal region that provides consistent predictions. However, computing this\nquantity is hard, as standard Monte Carlo approaches are inefficient especially\nfor high-dimensional inputs. In this work, we propose the first analytical\nestimators for average-case robustness for multi-class classifiers. We show\nempirically that our estimators are accurate and efficient for standard deep\nlearning models and demonstrate their usefulness for identifying vulnerable\ndata points, as well as quantifying robustness bias of models. Overall, our\ntools provide a complementary view to robustness, improving our ability to\ncharacterize model behaviour.\n", "date": "2023-07-26", "categories": []} {"id": "2310.11868", "title": "To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still\n Easy To Generate Unsafe Images ... For Now", "abstract": " The recent advances in diffusion models (DMs) have revolutionized the\ngeneration of realistic and complex images. However, these models also\nintroduce potential safety hazards, such as producing harmful content and\ninfringing data copyrights. Despite the development of safety-driven unlearning\ntechniques to counteract these challenges, doubts about their efficacy persist.\nTo tackle this issue, we introduce an evaluation framework that leverages\nadversarial prompts to discern the trustworthiness of these safety-driven DMs\nafter they have undergone the process of unlearning harmful concepts.\nSpecifically, we investigated the adversarial robustness of DMs, assessed by\nadversarial prompts, when eliminating unwanted concepts, styles, and objects.\nWe develop an effective and efficient adversarial prompt generation approach\nfor DMs, termed UnlearnDiffAtk. This method capitalizes on the intrinsic\nclassification abilities of DMs to simplify the creation of adversarial\nprompts, thereby eliminating the need for auxiliary classification or diffusion\nmodels. Through extensive benchmarking, we evaluate the robustness of\nwidely-used safety-driven unlearned DMs (i.e., DMs after unlearning undesirable\nconcepts, styles, or objects) across a variety of tasks. Our results\ndemonstrate the effectiveness and efficiency merits of UnlearnDiffAtk over the\nstate-of-the-art adversarial prompt generation method and reveal the lack of\nrobustness of current safetydriven unlearning techniques when applied to DMs.\nCodes are available at https://github.com/OPTML-Group/Diffusion-MU-Attack.\nWARNING: There exist AI generations that may be offensive in nature.\n", "date": "2023-10-18", "categories": []} {"id": "2402.09132", "title": "Exploring the Adversarial Capabilities of Large Language Models", "abstract": " The proliferation of large language models (LLMs) has sparked widespread and\ngeneral interest due to their strong language generation capabilities, offering\ngreat potential for both industry and research. While previous research delved\ninto the security and privacy issues of LLMs, the extent to which these models\ncan exhibit adversarial behavior remains largely unexplored. Addressing this\ngap, we investigate whether common publicly available LLMs have inherent\ncapabilities to perturb text samples to fool safety measures, so-called\nadversarial examples resp.~attacks. More specifically, we investigate whether\nLLMs are inherently able to craft adversarial examples out of benign samples to\nfool existing safe rails. Our experiments, which focus on hate speech\ndetection, reveal that LLMs succeed in finding adversarial perturbations,\neffectively undermining hate speech detection systems. Our findings carry\nsignificant implications for (semi-)autonomous systems relying on LLMs,\nhighlighting potential challenges in their interaction with existing systems\nand safety measures.\n", "date": "2024-02-14", "categories": []} {"id": "2403.10883", "title": "Improving Adversarial Transferability of Vision-Language Pre-training\n Models through Collaborative Multimodal Interaction", "abstract": " Despite the substantial advancements in Vision-Language Pre-training (VLP)\nmodels, their susceptibility to adversarial attacks poses a significant\nchallenge. Existing work rarely studies the transferability of attacks on VLP\nmodels, resulting in a substantial performance gap from white-box attacks. We\nobserve that prior work overlooks the interaction mechanisms between\nmodalities, which plays a crucial role in understanding the intricacies of VLP\nmodels. In response, we propose a novel attack, called Collaborative Multimodal\nInteraction Attack (CMI-Attack), leveraging modality interaction through\nembedding guidance and interaction enhancement. Specifically, attacking text at\nthe embedding level while preserving semantics, as well as utilizing\ninteraction image gradients to enhance constraints on perturbations of texts\nand images. Significantly, in the image-text retrieval task on Flickr30K\ndataset, CMI-Attack raises the transfer success rates from ALBEF to TCL,\n$\\text{CLIP}_{\\text{ViT}}$ and $\\text{CLIP}_{\\text{CNN}}$ by 8.11%-16.75% over\nstate-of-the-art methods. Moreover, CMI-Attack also demonstrates superior\nperformance in cross-task generalization scenarios. Our work addresses the\nunderexplored realm of transfer attacks on VLP models, shedding light on the\nimportance of modality interaction for enhanced adversarial robustness.\n", "date": "2024-03-16", "categories": []} {"id": "2404.04188", "title": "Reliable Feature Selection for Adversarially Robust Cyber-Attack\n Detection", "abstract": " The growing cybersecurity threats make it essential to use high-quality data\nto train Machine Learning (ML) models for network traffic analysis, without\nnoisy or missing data. By selecting the most relevant features for cyber-attack\ndetection, it is possible to improve both the robustness and computational\nefficiency of the models used in a cybersecurity system. This work presents a\nfeature selection and consensus process that combines multiple methods and\napplies them to several network datasets. Two different feature sets were\nselected and were used to train multiple ML models with regular and adversarial\ntraining. Finally, an adversarial evasion robustness benchmark was performed to\nanalyze the reliability of the different feature sets and their impact on the\nsusceptibility of the models to adversarial examples. By using an improved\ndataset with more data diversity, selecting the best time-related features and\na more specific feature set, and performing adversarial training, the ML models\nwere able to achieve a better adversarially robust generalization. The\nrobustness of the models was significantly improved without their\ngeneralization to regular traffic flows being affected, without increases of\nfalse alarms, and without requiring too many computational resources, which\nenables a reliable detection of suspicious activity and perturbed traffic flows\nin enterprise computer networks.\n", "date": "2024-04-05", "categories": []} {"id": "2407.01168", "title": "Multi-View Black-Box Physical Attacks on Infrared Pedestrian Detectors\n Using Adversarial Infrared Grid", "abstract": " While extensive research exists on physical adversarial attacks within the\nvisible spectrum, studies on such techniques in the infrared spectrum are\nlimited. Infrared object detectors are vital in modern technological\napplications but are susceptible to adversarial attacks, posing significant\nsecurity threats. Previous studies using physical perturbations like light bulb\narrays and aerogels for white-box attacks, or hot and cold patches for\nblack-box attacks, have proven impractical or limited in multi-view support. To\naddress these issues, we propose the Adversarial Infrared Grid (AdvGrid), which\nmodels perturbations in a grid format and uses a genetic algorithm for\nblack-box optimization. These perturbations are cyclically applied to various\nparts of a pedestrian's clothing to facilitate multi-view black-box physical\nattacks on infrared pedestrian detectors. Extensive experiments validate\nAdvGrid's effectiveness, stealthiness, and robustness. The method achieves\nattack success rates of 80.00\\% in digital environments and 91.86\\% in physical\nenvironments, outperforming baseline methods. Additionally, the average attack\nsuccess rate exceeds 50\\% against mainstream detectors, demonstrating AdvGrid's\nrobustness. Our analyses include ablation studies, transfer attacks, and\nadversarial defenses, confirming the method's superiority.\n", "date": "2024-07-01", "categories": []} {"id": "2407.05182", "title": "A Novel Bifurcation Method for Observation Perturbation Attacks on\n Reinforcement Learning Agents: Load Altering Attacks on a Cyber Physical\n Power System", "abstract": " Components of cyber physical systems, which affect real-world processes, are\noften exposed to the internet. Replacing conventional control methods with Deep\nReinforcement Learning (DRL) in energy systems is an active area of research,\nas these systems become increasingly complex with the advent of renewable\nenergy sources and the desire to improve their efficiency. Artificial Neural\nNetworks (ANN) are vulnerable to specific perturbations of their inputs or\nfeatures, called adversarial examples. These perturbations are difficult to\ndetect when properly regularized, but have significant effects on the ANN's\noutput. Because DRL uses ANN to map optimal actions to observations, they are\nsimilarly vulnerable to adversarial examples. This work proposes a novel attack\ntechnique for continuous control using Group Difference Logits loss with a\nbifurcation layer. By combining aspects of targeted and untargeted attacks, the\nattack significantly increases the impact compared to an untargeted attack,\nwith drastically smaller distortions than an optimally targeted attack. We\ndemonstrate the impacts of powerful gradient-based attacks in a realistic smart\nenergy environment, show how the impacts change with different DRL agents and\ntraining procedures, and use statistical and time-series analysis to evaluate\nattacks' stealth. The results show that adversarial attacks can have\nsignificant impacts on DRL controllers, and constraining an attack's\nperturbations makes it difficult to detect. However, certain DRL architectures\nare far more robust, and robust training methods can further reduce the impact.\n", "date": "2024-07-06", "categories": []} {"id": "2308.08173", "title": "Expressivity of Graph Neural Networks Through the Lens of Adversarial\n Robustness", "abstract": " We perform the first adversarial robustness study into Graph Neural Networks\n(GNNs) that are provably more powerful than traditional Message Passing Neural\nNetworks (MPNNs). In particular, we use adversarial robustness as a tool to\nuncover a significant gap between their theoretically possible and empirically\nachieved expressive power. To do so, we focus on the ability of GNNs to count\nspecific subgraph patterns, which is an established measure of expressivity,\nand extend the concept of adversarial robustness to this task. Based on this,\nwe develop efficient adversarial attacks for subgraph counting and show that\nmore powerful GNNs fail to generalize even to small perturbations to the\ngraph's structure. Expanding on this, we show that such architectures also fail\nto count substructures on out-of-distribution graphs.\n", "date": "2023-08-16", "categories": []} {"id": "2407.03115", "title": "$L_p$-norm Distortion-Efficient Adversarial Attack", "abstract": " Adversarial examples have shown a powerful ability to make a well-trained\nmodel misclassified. Current mainstream adversarial attack methods only\nconsider one of the distortions among $L_0$-norm, $L_2$-norm, and\n$L_\\infty$-norm. $L_0$-norm based methods cause large modification on a single\npixel, resulting in naked-eye visible detection, while $L_2$-norm and\n$L_\\infty$-norm based methods suffer from weak robustness against adversarial\ndefense since they always diffuse tiny perturbations to all pixels. A more\nrealistic adversarial perturbation should be sparse and imperceptible. In this\npaper, we propose a novel $L_p$-norm distortion-efficient adversarial attack,\nwhich not only owns the least $L_2$-norm loss but also significantly reduces\nthe $L_0$-norm distortion. To this aim, we design a new optimization scheme,\nwhich first optimizes an initial adversarial perturbation under $L_2$-norm\nconstraint, and then constructs a dimension unimportance matrix for the initial\nperturbation. Such a dimension unimportance matrix can indicate the adversarial\nunimportance of each dimension of the initial perturbation. Furthermore, we\nintroduce a new concept of adversarial threshold for the dimension unimportance\nmatrix. The dimensions of the initial perturbation whose unimportance is higher\nthan the threshold will be all set to zero, greatly decreasing the $L_0$-norm\ndistortion. Experimental results on three benchmark datasets show that under\nthe same query budget, the adversarial examples generated by our method have\nlower $L_0$-norm and $L_2$-norm distortion than the state-of-the-art.\nEspecially for the MNIST dataset, our attack reduces 8.1$\\%$ $L_2$-norm\ndistortion meanwhile remaining 47$\\%$ pixels unattacked. This demonstrates the\nsuperiority of the proposed method over its competitors in terms of adversarial\nrobustness and visual imperceptibility.\n", "date": "2024-07-03", "categories": []} {"id": "2402.11469", "title": "A Curious Case of Searching for the Correlation between Training Data\n and Adversarial Robustness of Transformer Textual Models", "abstract": " Existing works have shown that fine-tuned textual transformer models achieve\nstate-of-the-art prediction performances but are also vulnerable to adversarial\ntext perturbations. Traditional adversarial evaluation is often done\n\\textit{only after} fine-tuning the models and ignoring the training data. In\nthis paper, we want to prove that there is also a strong correlation between\ntraining data and model robustness. To this end, we extract 13 different\nfeatures representing a wide range of input fine-tuning corpora properties and\nuse them to predict the adversarial robustness of the fine-tuned models.\nFocusing mostly on encoder-only transformer models BERT and RoBERTa with\nadditional results for BART, ELECTRA, and GPT2, we provide diverse evidence to\nsupport our argument. First, empirical analyses show that (a) extracted\nfeatures can be used with a lightweight classifier such as Random Forest to\npredict the attack success rate effectively, and (b) features with the most\ninfluence on the model robustness have a clear correlation with the robustness.\nSecond, our framework can be used as a fast and effective additional tool for\nrobustness evaluation since it (a) saves 30x-193x runtime compared to the\ntraditional technique, (b) is transferable across models, (c) can be used under\nadversarial training, and (d) robust to statistical randomness. Our code is\npublicly available at \\url{https://github.com/CaptainCuong/RobustText_ACL2024}.\n", "date": "2024-02-18", "categories": []} {"id": "2406.18382", "title": "Adversarial Search Engine Optimization for Large Language Models", "abstract": " Large Language Models (LLMs) are increasingly used in applications where the\nmodel selects from competing third-party content, such as in LLM-powered search\nengines or chatbot plugins. In this paper, we introduce Preference Manipulation\nAttacks, a new class of attacks that manipulate an LLM's selections to favor\nthe attacker. We demonstrate that carefully crafted website content or plugin\ndocumentations can trick an LLM to promote the attacker products and discredit\ncompetitors, thereby increasing user traffic and monetization. We show this\nleads to a prisoner's dilemma, where all parties are incentivized to launch\nattacks, but the collective effect degrades the LLM's outputs for everyone. We\ndemonstrate our attacks on production LLM search engines (Bing and Perplexity)\nand plugin APIs (for GPT-4 and Claude). As LLMs are increasingly used to rank\nthird-party content, we expect Preference Manipulation Attacks to emerge as a\nsignificant threat.\n", "date": "2024-06-26", "categories": []} {"id": "2407.01925", "title": "Looking From the Future: Multi-order Iterations Can Enhance Adversarial\n Attack Transferability", "abstract": " Various methods try to enhance adversarial transferability by improving the\ngeneralization from different perspectives. In this paper, we rethink the\noptimization process and propose a novel sequence optimization concept, which\nis named Looking From the Future (LFF). LFF makes use of the original\noptimization process to refine the very first local optimization choice.\nAdapting the LFF concept to the adversarial attack task, we further propose an\nLFF attack as well as an MLFF attack with better generalization ability.\nFurthermore, guiding with the LFF concept, we propose an $LLF^{\\mathcal{N}}$\nattack which entends the LFF attack to a multi-order attack, further enhancing\nthe transfer attack ability. All our proposed methods can be directly applied\nto the iteration-based attack methods. We evaluate our proposed method on the\nImageNet1k dataset by applying several SOTA adversarial attack methods under\nfour kinds of tasks. Experimental results show that our proposed method can\ngreatly enhance the attack transferability. Ablation experiments are also\napplied to verify the effectiveness of each component. The source code will be\nreleased after this paper is accepted.\n", "date": "2024-07-02", "categories": []} {"id": "2407.02240", "title": "MALT Powers Up Adversarial Attacks", "abstract": " Current adversarial attacks for multi-class classifiers choose the target\nclass for a given input naively, based on the classifier's confidence levels\nfor various target classes. We present a novel adversarial targeting method,\n\\textit{MALT - Mesoscopic Almost Linearity Targeting}, based on medium-scale\nalmost linearity assumptions. Our attack wins over the current state of the art\nAutoAttack on the standard benchmark datasets CIFAR-100 and ImageNet and for a\nvariety of robust models. In particular, our attack is \\emph{five times faster}\nthan AutoAttack, while successfully matching all of AutoAttack's successes and\nattacking additional samples that were previously out of reach. We then prove\nformally and demonstrate empirically that our targeting method, although\ninspired by linear predictors, also applies to standard non-linear models.\n", "date": "2024-07-02", "categories": []} {"id": "2404.12120", "title": "Fortify the Guardian, Not the Treasure: Resilient Adversarial Detectors", "abstract": " This paper presents RADAR-Robust Adversarial Detection via Adversarial\nRetraining-an approach designed to enhance the robustness of adversarial\ndetectors against adaptive attacks, while maintaining classifier performance.\nAn adaptive attack is one where the attacker is aware of the defenses and\nadapts their strategy accordingly. Our proposed method leverages adversarial\ntraining to reinforce the ability to detect attacks, without compromising clean\naccuracy. During the training phase, we integrate into the dataset adversarial\nexamples, which were optimized to fool both the classifier and the adversarial\ndetector, enabling the adversarial detector to learn and adapt to potential\nattack scenarios. Experimental evaluations on the CIFAR-10 and SVHN datasets\ndemonstrate that our proposed algorithm significantly improves a detector's\nability to accurately identify adaptive adversarial attacks -- without\nsacrificing clean accuracy.\n", "date": "2024-04-18", "categories": []} {"id": "2405.03672", "title": "Cutting through buggy adversarial example defenses: fixing 1 line of\n code breaks Sabre", "abstract": " Sabre is a defense to adversarial examples that was accepted at IEEE S&P\n2024. We first reveal significant flaws in the evaluation that point to clear\nsigns of gradient masking. We then show the cause of this gradient masking: a\nbug in the original evaluation code. By fixing a single line of code in the\noriginal repository, we reduce Sabre's robust accuracy to 0%. In response to\nthis, the authors modify the defense and introduce a new defense component not\ndescribed in the original paper. But this fix contains a second bug; modifying\none more line of code reduces robust accuracy to below baseline levels. After\nwe released the first version of our paper online, the authors introduced\nanother change to the defense; by commenting out one line of code during attack\nwe reduce the robust accuracy to 0% again.\n", "date": "2024-05-06", "categories": []} {"id": "2407.00389", "title": "Query-Efficient Hard-Label Black-Box Attack against Vision Transformers", "abstract": " Recent studies have revealed that vision transformers (ViTs) face similar\nsecurity risks from adversarial attacks as deep convolutional neural networks\n(CNNs). However, directly applying attack methodology on CNNs to ViTs has been\ndemonstrated to be ineffective since the ViTs typically work on patch-wise\nencoding. This article explores the vulnerability of ViTs against adversarial\nattacks under a black-box scenario, and proposes a novel query-efficient\nhard-label adversarial attack method called AdvViT. Specifically, considering\nthat ViTs are highly sensitive to patch modification, we propose to optimize\nthe adversarial perturbation on the individual patches. To reduce the dimension\nof perturbation search space, we modify only a handful of low-frequency\ncomponents of each patch. Moreover, we design a weight mask matrix for all\npatches to further optimize the perturbation on different regions of a whole\nimage. We test six mainstream ViT backbones on the ImageNet-1k dataset.\nExperimental results show that compared with the state-of-the-art attacks on\nCNNs, our AdvViT achieves much lower $L_2$-norm distortion under the same query\nbudget, sufficiently validating the vulnerability of ViTs against adversarial\nattacks.\n", "date": "2024-06-29", "categories": []} {"id": "2407.00623", "title": "Consistency Purification: Effective and Efficient Diffusion Purification\n towards Certified Robustness", "abstract": " Diffusion Purification, purifying noised images with diffusion models, has\nbeen widely used for enhancing certified robustness via randomized smoothing.\nHowever, existing frameworks often grapple with the balance between efficiency\nand effectiveness. While the Denoising Diffusion Probabilistic Model (DDPM)\noffers an efficient single-step purification, it falls short in ensuring\npurified images reside on the data manifold. Conversely, the Stochastic\nDiffusion Model effectively places purified images on the data manifold but\ndemands solving cumbersome stochastic differential equations, while its\nderivative, the Probability Flow Ordinary Differential Equation (PF-ODE),\nthough solving simpler ordinary differential equations, still requires multiple\ncomputational steps. In this work, we demonstrated that an ideal purification\npipeline should generate the purified images on the data manifold that are as\nmuch semantically aligned to the original images for effectiveness in one step\nfor efficiency. Therefore, we introduced Consistency Purification, an\nefficiency-effectiveness Pareto superior purifier compared to the previous\nwork. Consistency Purification employs the consistency model, a one-step\ngenerative model distilled from PF-ODE, thus can generate on-manifold purified\nimages with a single network evaluation. However, the consistency model is\ndesigned not for purification thus it does not inherently ensure semantic\nalignment between purified and original images. To resolve this issue, we\nfurther refine it through Consistency Fine-tuning with LPIPS loss, which\nenables more aligned semantic meaning while keeping the purified images on data\nmanifold. Our comprehensive experiments demonstrate that our Consistency\nPurification framework achieves state-of the-art certified robustness and\nefficiency compared to baseline methods.\n", "date": "2024-06-30", "categories": []} {"id": "2406.19807", "title": "Deceptive Diffusion: Generating Synthetic Adversarial Examples", "abstract": " We introduce the concept of deceptive diffusion -- training a generative AI\nmodel to produce adversarial images. Whereas a traditional adversarial attack\nalgorithm aims to perturb an existing image to induce a misclassificaton, the\ndeceptive diffusion model can create an arbitrary number of new, misclassified\nimages that are not directly associated with training or test images. Deceptive\ndiffusion offers the possibility of strengthening defence algorithms by\nproviding adversarial training data at scale, including types of\nmisclassification that are otherwise difficult to find. In our experiments, we\nalso investigate the effect of training on a partially attacked data set. This\nhighlights a new type of vulnerability for generative diffusion models: if an\nattacker is able to stealthily poison a portion of the training data, then the\nresulting diffusion model will generate a similar proportion of misleading\noutputs.\n", "date": "2024-06-28", "categories": []} {"id": "2406.19815", "title": "Emotion Loss Attacking: Adversarial Attack Perception for Skeleton based\n on Multi-dimensional Features", "abstract": " Adversarial attack on skeletal motion is a hot topic. However, existing\nresearches only consider part of dynamic features when measuring distance\nbetween skeleton graph sequences, which results in poor imperceptibility. To\nthis end, we propose a novel adversarial attack method to attack action\nrecognizers for skeletal motions. Firstly, our method systematically proposes a\ndynamic distance function to measure the difference between skeletal motions.\nMeanwhile, we innovatively introduce emotional features for complementary\ninformation. In addition, we use Alternating Direction Method of\nMultipliers(ADMM) to solve the constrained optimization problem, which\ngenerates adversarial samples with better imperceptibility to deceive the\nclassifiers. Experiments show that our method is effective on multiple action\nclassifiers and datasets. When the perturbation magnitude measured by l norms\nis the same, the dynamic perturbations generated by our method are much lower\nthan that of other methods. What's more, we are the first to prove the\neffectiveness of emotional features, and provide a new idea for measuring the\ndistance between skeletal motions.\n", "date": "2024-06-28", "categories": []} {"id": "2312.01886", "title": "InstructTA: Instruction-Tuned Targeted Attack for Large Vision-Language\n Models", "abstract": " Large vision-language models (LVLMs) have demonstrated their incredible\ncapability in image understanding and response generation. However, this rich\nvisual interaction also makes LVLMs vulnerable to adversarial examples. In this\npaper, we formulate a novel and practical targeted attack scenario that the\nadversary can only know the vision encoder of the victim LVLM, without the\nknowledge of its prompts (which are often proprietary for service providers and\nnot publicly available) and its underlying large language model (LLM). This\npractical setting poses challenges to the cross-prompt and cross-model\ntransferability of targeted adversarial attack, which aims to confuse the LVLM\nto output a response that is semantically similar to the attacker's chosen\ntarget text. To this end, we propose an instruction-tuned targeted attack\n(dubbed \\textsc{InstructTA}) to deliver the targeted adversarial attack on\nLVLMs with high transferability. Initially, we utilize a public text-to-image\ngenerative model to \"reverse\" the target response into a target image, and\nemploy GPT-4 to infer a reasonable instruction $\\boldsymbol{p}^\\prime$ from the\ntarget response. We then form a local surrogate model (sharing the same vision\nencoder with the victim LVLM) to extract instruction-aware features of an\nadversarial image example and the target image, and minimize the distance\nbetween these two features to optimize the adversarial example. To further\nimprove the transferability with instruction tuning, we augment the instruction\n$\\boldsymbol{p}^\\prime$ with instructions paraphrased from GPT-4. Extensive\nexperiments demonstrate the superiority of our proposed method in targeted\nattack performance and transferability. The code is available at\nhttps://github.com/xunguangwang/InstructTA.\n", "date": "2023-12-04", "categories": []} {"id": "2406.01179", "title": "Are AI-Generated Text Detectors Robust to Adversarial Perturbations?", "abstract": " The widespread use of large language models (LLMs) has sparked concerns about\nthe potential misuse of AI-generated text, as these models can produce content\nthat closely resembles human-generated text. Current detectors for AI-generated\ntext (AIGT) lack robustness against adversarial perturbations, with even minor\nchanges in characters or words causing a reversal in distinguishing between\nhuman-created and AI-generated text. This paper investigates the robustness of\nexisting AIGT detection methods and introduces a novel detector, the Siamese\nCalibrated Reconstruction Network (SCRN). The SCRN employs a reconstruction\nnetwork to add and remove noise from text, extracting a semantic representation\nthat is robust to local perturbations. We also propose a siamese calibration\ntechnique to train the model to make equally confidence predictions under\ndifferent noise, which improves the model's robustness against adversarial\nperturbations. Experiments on four publicly available datasets show that the\nSCRN outperforms all baseline methods, achieving 6.5\\%-18.25\\% absolute\naccuracy improvement over the best baseline method under adversarial attacks.\nMoreover, it exhibits superior generalizability in cross-domain, cross-genre,\nand mixed-source scenarios. The code is available at\n\\url{https://github.com/CarlanLark/Robust-AIGC-Detector}.\n", "date": "2024-06-03", "categories": []} {"id": "2406.14711", "title": "MultiAgent Collaboration Attack: Investigating Adversarial Attacks in\n Large Language Model Collaborations via Debate", "abstract": " Large Language Models (LLMs) have shown exceptional results on current\nbenchmarks when working individually. The advancement in their capabilities,\nalong with a reduction in parameter size and inference times, has facilitated\nthe use of these models as agents, enabling interactions among multiple models\nto execute complex tasks. Such collaborations offer several advantages,\nincluding the use of specialized models (e.g. coding), improved confidence\nthrough multiple computations, and enhanced divergent thinking, leading to more\ndiverse outputs. Thus, the collaborative use of language models is expected to\ngrow significantly in the coming years. In this work, we evaluate the behavior\nof a network of models collaborating through debate under the influence of an\nadversary. We introduce pertinent metrics to assess the adversary's\neffectiveness, focusing on system accuracy and model agreement. Our findings\nhighlight the importance of a model's persuasive ability in influencing others.\nAdditionally, we explore inference-time methods to generate more compelling\narguments and evaluate the potential of prompt-based mitigation as a defensive\nstrategy.\n", "date": "2024-06-20", "categories": []} {"id": "2406.10285", "title": "I Don't Know You, But I Can Catch You: Real-Time Defense against Diverse\n Adversarial Patches for Object Detectors", "abstract": " Deep neural networks (DNNs) have revolutionized the field of computer vision\nlike object detection with their unparalleled performance. However, existing\nresearch has shown that DNNs are vulnerable to adversarial attacks. In the\nphysical world, an adversary could exploit adversarial patches to implement a\nHiding Attack (HA) which patches the target object to make it disappear from\nthe detector, and an Appearing Attack (AA) which fools the detector into\nmisclassifying the patch as a specific object. Recently, many defense methods\nfor detectors have been proposed to mitigate the potential threats of\nadversarial patches. However, such methods still have limitations in\ngeneralization, robustness and efficiency. Most defenses are only effective\nagainst the HA, leaving the detector vulnerable to the AA.\n In this paper, we propose \\textit{NutNet}, an innovative model for detecting\nadversarial patches, with high generalization, robustness and efficiency. With\nexperiments for six detectors including YOLOv2-v4, SSD, Faster RCNN and DETR on\nboth digital and physical domains, the results show that our proposed method\ncan effectively defend against both the HA and AA, with only 0.4\\% sacrifice of\nthe clean performance. We compare NutNet with four baseline defense methods for\ndetectors, and our method exhibits an average defense performance that is over\n2.4 times and 4.7 times higher than existing approaches for HA and AA,\nrespectively. In addition, NutNet only increases the inference time by 8\\%,\nwhich can meet the real-time requirements of the detection systems. Demos of\nNutNet are available at: \\url{https://sites.google.com/view/nutnet}.\n", "date": "2024-06-12", "categories": []} {"id": "2406.17104", "title": "Automated Adversarial Discovery for Safety Classifiers", "abstract": " Safety classifiers are critical in mitigating toxicity on online forums such\nas social media and in chatbots. Still, they continue to be vulnerable to\nemergent, and often innumerable, adversarial attacks. Traditional automated\nadversarial data generation methods, however, tend to produce attacks that are\nnot diverse, but variations of previously observed harm types. We formalize the\ntask of automated adversarial discovery for safety classifiers - to find new\nattacks along previously unseen harm dimensions that expose new weaknesses in\nthe classifier. We measure progress on this task along two key axes (1)\nadversarial success: does the attack fool the classifier? and (2) dimensional\ndiversity: does the attack represent a previously unseen harm type? Our\nevaluation of existing attack generation methods on the CivilComments toxicity\ntask reveals their limitations: Word perturbation attacks fail to fool\nclassifiers, while prompt-based LLM attacks have more adversarial success, but\nlack dimensional diversity. Even our best-performing prompt-based method finds\nnew successful attacks on unseen harm dimensions of attacks only 5\\% of the\ntime. Automatically finding new harmful dimensions of attack is crucial and\nthere is substantial headroom for future research on our new task.\n", "date": "2024-06-24", "categories": []} {"id": "2406.17606", "title": "Diffusion-based Adversarial Purification for Intrusion Detection", "abstract": " The escalating sophistication of cyberattacks has encouraged the integration\nof machine learning techniques in intrusion detection systems, but the rise of\nadversarial examples presents a significant challenge. These crafted\nperturbations mislead ML models, enabling attackers to evade detection or\ntrigger false alerts. As a reaction, adversarial purification has emerged as a\ncompelling solution, particularly with diffusion models showing promising\nresults. However, their purification potential remains unexplored in the\ncontext of intrusion detection. This paper demonstrates the effectiveness of\ndiffusion models in purifying adversarial examples in network intrusion\ndetection. Through a comprehensive analysis of the diffusion parameters, we\nidentify optimal configurations maximizing adversarial robustness with minimal\nimpact on normal performance. Importantly, this study reveals insights into the\nrelationship between diffusion noise and diffusion steps, representing a novel\ncontribution to the field. Our experiments are carried out on two datasets and\nagainst 5 adversarial attacks. The implementation code is publicly available.\n", "date": "2024-06-25", "categories": []} {"id": "2310.02513", "title": "A Recipe for Improved Certifiable Robustness", "abstract": " Recent studies have highlighted the potential of Lipschitz-based methods for\ntraining certifiably robust neural networks against adversarial attacks. A key\nchallenge, supported both theoretically and empirically, is that robustness\ndemands greater network capacity and more data than standard training. However,\neffectively adding capacity under stringent Lipschitz constraints has proven\nmore difficult than it may seem, evident by the fact that state-of-the-art\napproach tend more towards \\emph{underfitting} than overfitting. Moreover, we\nposit that a lack of careful exploration of the design space for Lipshitz-based\napproaches has left potential performance gains on the table. In this work, we\nprovide a more comprehensive evaluation to better uncover the potential of\nLipschitz-based certification methods. Using a combination of novel techniques,\ndesign optimizations, and synthesis of prior work, we are able to significantly\nimprove the state-of-the-art VRA for deterministic certification on a variety\nof benchmark datasets, and over a range of perturbation sizes. Of particular\nnote, we discover that the addition of large ``Cholesky-orthogonalized residual\ndense'' layers to the end of existing state-of-the-art Lipschitz-controlled\nResNet architectures is especially effective for increasing network capacity\nand performance. Combined with filtered generative data augmentation, our final\nresults further the state of the art deterministic VRA by up to 8.5 percentage\npoints\\footnote{Code is available at \\url{https://github.com/hukkai/liresnet}}.\n", "date": "2023-10-04", "categories": []} {"id": "2312.00084", "title": "Can Protective Perturbation Safeguard Personal Data from Being Exploited\n by Stable Diffusion?", "abstract": " Stable Diffusion has established itself as a foundation model in generative\nAI artistic applications, receiving widespread research and application. Some\nrecent fine-tuning methods have made it feasible for individuals to implant\npersonalized concepts onto the basic Stable Diffusion model with minimal\ncomputational costs on small datasets. However, these innovations have also\ngiven rise to issues like facial privacy forgery and artistic copyright\ninfringement. In recent studies, researchers have explored the addition of\nimperceptible adversarial perturbations to images to prevent potential\nunauthorized exploitation and infringements when personal data is used for\nfine-tuning Stable Diffusion. Although these studies have demonstrated the\nability to protect images, it is essential to consider that these methods may\nnot be entirely applicable in real-world scenarios. In this paper, we\nsystematically evaluate the use of perturbations to protect images within a\npractical threat model. The results suggest that these approaches may not be\nsufficient to safeguard image privacy and copyright effectively. Furthermore,\nwe introduce a purification method capable of removing protected perturbations\nwhile preserving the original image structure to the greatest extent possible.\nExperiments reveal that Stable Diffusion can effectively learn from purified\nimages over all protective methods.\n", "date": "2023-11-30", "categories": []} {"id": "2406.15635", "title": "DataFreeShield: Defending Adversarial Attacks without Training Data", "abstract": " Recent advances in adversarial robustness rely on an abundant set of training\ndata, where using external or additional datasets has become a common setting.\nHowever, in real life, the training data is often kept private for security and\nprivacy issues, while only the pretrained weight is available to the public. In\nsuch scenarios, existing methods that assume accessibility to the original data\nbecome inapplicable. Thus we investigate the pivotal problem of data-free\nadversarial robustness, where we try to achieve adversarial robustness without\naccessing any real data. Through a preliminary study, we highlight the severity\nof the problem by showing that robustness without the original dataset is\ndifficult to achieve, even with similar domain datasets. To address this issue,\nwe propose DataFreeShield, which tackles the problem from two perspectives:\nsurrogate dataset generation and adversarial training using the generated data.\nThrough extensive validation, we show that DataFreeShield outperforms\nbaselines, demonstrating that the proposed method sets the first entirely\ndata-free solution for the adversarial robustness problem.\n", "date": "2024-06-21", "categories": []} {"id": "2406.15925", "title": "Federated Adversarial Learning for Robust Autonomous Landing Runway\n Detection", "abstract": " As the development of deep learning techniques in autonomous landing systems\ncontinues to grow, one of the major challenges is trust and security in the\nface of possible adversarial attacks. In this paper, we propose a federated\nadversarial learning-based framework to detect landing runways using paired\ndata comprising of clean local data and its adversarial version. Firstly, the\nlocal model is pre-trained on a large-scale lane detection dataset. Then,\ninstead of exploiting large instance-adaptive models, we resort to a\nparameter-efficient fine-tuning method known as scale and shift deep features\n(SSF), upon the pre-trained model. Secondly, in each SSF layer, distributions\nof clean local data and its adversarial version are disentangled for accurate\nstatistics estimation. To the best of our knowledge, this marks the first\ninstance of federated learning work that address the adversarial sample problem\nin landing runway detection. Our experimental evaluations over both synthesis\nand real images of Landing Approach Runway Detection (LARD) dataset\nconsistently demonstrate good performance of the proposed federated adversarial\nlearning and robust to adversarial attacks.\n", "date": "2024-06-22", "categories": []} {"id": "2406.16501", "title": "UNICAD: A Unified Approach for Attack Detection, Noise Reduction and\n Novel Class Identification", "abstract": " As the use of Deep Neural Networks (DNNs) becomes pervasive, their\nvulnerability to adversarial attacks and limitations in handling unseen classes\nposes significant challenges. The state-of-the-art offers discrete solutions\naimed to tackle individual issues covering specific adversarial attack\nscenarios, classification or evolving learning. However, real-world systems\nneed to be able to detect and recover from a wide range of adversarial attacks\nwithout sacrificing classification accuracy and to flexibly act in {\\bf unseen}\nscenarios. In this paper, UNICAD, is proposed as a novel framework that\nintegrates a variety of techniques to provide an adaptive solution.\n For the targeted image classification, UNICAD achieves accurate image\nclassification, detects unseen classes, and recovers from adversarial attacks\nusing Prototype and Similarity-based DNNs with denoising autoencoders. Our\nexperiments performed on the CIFAR-10 dataset highlight UNICAD's effectiveness\nin adversarial mitigation and unseen class classification, outperforming\ntraditional models.\n", "date": "2024-06-24", "categories": []} {"id": "2406.16609", "title": "Evaluating the Robustness of Deep-Learning Algorithm-Selection Models by\n Evolving Adversarial Instances", "abstract": " Deep neural networks (DNN) are increasingly being used to perform\nalgorithm-selection in combinatorial optimisation domains, particularly as they\naccommodate input representations which avoid designing and calculating\nfeatures. Mounting evidence from domains that use images as input shows that\ndeep convolutional networks are vulnerable to adversarial samples, in which a\nsmall perturbation of an instance can cause the DNN to misclassify. However, it\nremains unknown as to whether deep recurrent networks (DRN) which have recently\nbeen shown promise as algorithm-selectors in the bin-packing domain are equally\nvulnerable. We use an evolutionary algorithm (EA) to find perturbations of\ninstances from two existing benchmarks for online bin packing that cause\ntrained DRNs to misclassify: adversarial samples are successfully generated\nfrom up to 56% of the original instances depending on the dataset. Analysis of\nthe new misclassified instances sheds light on the `fragility' of some training\ninstances, i.e. instances where it is trivial to find a small perturbation that\nresults in a misclassification and the factors that influence this. Finally,\nthe method generates a large number of new instances misclassified with a wide\nvariation in confidence, providing a rich new source of training data to create\nmore robust models.\n", "date": "2024-06-24", "categories": []} {"id": "2402.02165", "title": "Towards Optimal Adversarial Robust Q-learning with Bellman\n Infinity-error", "abstract": " Establishing robust policies is essential to counter attacks or disturbances\naffecting deep reinforcement learning (DRL) agents. Recent studies explore\nstate-adversarial robustness and suggest the potential lack of an optimal\nrobust policy (ORP), posing challenges in setting strict robustness\nconstraints. This work further investigates ORP: At first, we introduce a\nconsistency assumption of policy (CAP) stating that optimal actions in the\nMarkov decision process remain consistent with minor perturbations, supported\nby empirical and theoretical evidence. Building upon CAP, we crucially prove\nthe existence of a deterministic and stationary ORP that aligns with the\nBellman optimal policy. Furthermore, we illustrate the necessity of\n$L^{\\infty}$-norm when minimizing Bellman error to attain ORP. This finding\nclarifies the vulnerability of prior DRL algorithms that target the Bellman\noptimal policy with $L^{1}$-norm and motivates us to train a Consistent\nAdversarial Robust Deep Q-Network (CAR-DQN) by minimizing a surrogate of\nBellman Infinity-error. The top-tier performance of CAR-DQN across various\nbenchmarks validates its practical effectiveness and reinforces the soundness\nof our theoretical analysis.\n", "date": "2024-02-03", "categories": []} {"id": "2303.17890", "title": "Fooling Polarization-based Vision using Locally Controllable Polarizing\n Projection", "abstract": " Polarization is a fundamental property of light that encodes abundant\ninformation regarding surface shape, material, illumination and viewing\ngeometry. The computer vision community has witnessed a blossom of\npolarization-based vision applications, such as reflection removal,\nshape-from-polarization, transparent object segmentation and color constancy,\npartially due to the emergence of single-chip mono/color polarization sensors\nthat make polarization data acquisition easier than ever. However, is\npolarization-based vision vulnerable to adversarial attacks? If so, is that\npossible to realize these adversarial attacks in the physical world, without\nbeing perceived by human eyes? In this paper, we warn the community of the\nvulnerability of polarization-based vision, which can be more serious than\nRGB-based vision. By adapting a commercial LCD projector, we achieve locally\ncontrollable polarizing projection, which is successfully utilized to fool\nstate-of-the-art polarization-based vision algorithms for glass segmentation\nand color constancy. Compared with existing physical attacks on RGB-based\nvision, which always suffer from the trade-off between attack efficacy and eye\nconceivability, the adversarial attackers based on polarizing projection are\ncontact-free and visually imperceptible, since naked human eyes can rarely\nperceive the difference of viciously manipulated polarizing light and ordinary\nillumination. This poses unprecedented risks on polarization-based vision, both\nin the monochromatic and trichromatic domain, for which due attentions should\nbe paid and counter measures be considered.\n", "date": "2023-03-31", "categories": []} {"id": "2405.11547", "title": "Certified Robust Accuracy of Neural Networks Are Bounded due to Bayes\n Errors", "abstract": " Adversarial examples pose a security threat to many critical systems built on\nneural networks. While certified training improves robustness, it also\ndecreases accuracy noticeably. Despite various proposals for addressing this\nissue, the significant accuracy drop remains. More importantly, it is not clear\nwhether there is a certain fundamental limit on achieving robustness whilst\nmaintaining accuracy. In this work, we offer a novel perspective based on Bayes\nerrors. By adopting Bayes error to robustness analysis, we investigate the\nlimit of certified robust accuracy, taking into account data distribution\nuncertainties. We first show that the accuracy inevitably decreases in the\npursuit of robustness due to changed Bayes error in the altered data\ndistribution. Subsequently, we establish an upper bound for certified robust\naccuracy, considering the distribution of individual classes and their\nboundaries. Our theoretical results are empirically evaluated on real-world\ndatasets and are shown to be consistent with the limited success of existing\ncertified training results, e.g., for CIFAR10, our analysis results in an upper\nbound (of certified robust accuracy) of 67.49\\%, meanwhile existing approaches\nare only able to increase it from 53.89\\% in 2017 to 62.84\\% in 2023.\n", "date": "2024-05-19", "categories": []} {"id": "2406.05857", "title": "Self-supervised Adversarial Training of Monocular Depth Estimation\n against Physical-World Attacks", "abstract": " Monocular Depth Estimation (MDE) plays a vital role in applications such as\nautonomous driving. However, various attacks target MDE models, with physical\nattacks posing significant threats to system security. Traditional adversarial\ntraining methods, which require ground-truth labels, are not directly\napplicable to MDE models that lack ground-truth depth. Some self-supervised\nmodel hardening techniques (e.g., contrastive learning) overlook the domain\nknowledge of MDE, resulting in suboptimal performance. In this work, we\nintroduce a novel self-supervised adversarial training approach for MDE models,\nleveraging view synthesis without the need for ground-truth depth. We enhance\nadversarial robustness against real-world attacks by incorporating\nL_0-norm-bounded perturbation during training. We evaluate our method against\nsupervised learning-based and contrastive learning-based approaches\nspecifically designed for MDE. Our experiments with two representative MDE\nnetworks demonstrate improved robustness against various adversarial attacks,\nwith minimal impact on benign performance.\n", "date": "2024-06-09", "categories": []} {"id": "2406.13066", "title": "MaskPure: Improving Defense Against Text Adversaries with Stochastic\n Purification", "abstract": " The improvement of language model robustness, including successful defense\nagainst adversarial attacks, remains an open problem. In computer vision\nsettings, the stochastic noising and de-noising process provided by diffusion\nmodels has proven useful for purifying input images, thus improving model\nrobustness against adversarial attacks. Similarly, some initial work has\nexplored the use of random noising and de-noising to mitigate adversarial\nattacks in an NLP setting, but improving the quality and efficiency of these\nmethods is necessary for them to remain competitive. We extend upon methods of\ninput text purification that are inspired by diffusion processes, which\nrandomly mask and refill portions of the input text before classification. Our\nnovel method, MaskPure, exceeds or matches robustness compared to other\ncontemporary defenses, while also requiring no adversarial classifier training\nand without assuming knowledge of the attack type. In addition, we show that\nMaskPure is provably certifiably robust. To our knowledge, MaskPure is the\nfirst stochastic-purification method with demonstrated success against both\ncharacter-level and word-level attacks, indicating the generalizable and\npromising nature of stochastic denoising defenses. In summary: the MaskPure\nalgorithm bridges literature on the current strongest certifiable and empirical\nadversarial defense methods, showing that both theoretical and practical\nrobustness can be obtained together. Code is available on GitHub at\nhttps://github.com/hubarruby/MaskPure.\n", "date": "2024-06-18", "categories": []} {"id": "2406.14073", "title": "Exploring Layerwise Adversarial Robustness Through the Lens of t-SNE", "abstract": " Adversarial examples, designed to trick Artificial Neural Networks (ANNs)\ninto producing wrong outputs, highlight vulnerabilities in these models.\nExploring these weaknesses is crucial for developing defenses, and so, we\npropose a method to assess the adversarial robustness of image-classifying\nANNs. The t-distributed Stochastic Neighbor Embedding (t-SNE) technique is used\nfor visual inspection, and a metric, which compares the clean and perturbed\nembeddings, helps pinpoint weak spots in the layers. Analyzing two ANNs on\nCIFAR-10, one designed by humans and another via NeuroEvolution, we found that\ndifferences between clean and perturbed representations emerge early on, in the\nfeature extraction layers, affecting subsequent classification. The findings\nwith our metric are supported by the visual analysis of the t-SNE maps.\n", "date": "2024-06-20", "categories": []} {"id": "2406.14259", "title": "MEAT: Median-Ensemble Adversarial Training for Improving Robustness and\n Generalization", "abstract": " Self-ensemble adversarial training methods improve model robustness by\nensembling models at different training epochs, such as model weight averaging\n(WA). However, previous research has shown that self-ensemble defense methods\nin adversarial training (AT) still suffer from robust overfitting, which\nseverely affects the generalization performance. Empirically, in the late\nphases of training, the AT becomes more overfitting to the extent that the\nindividuals for weight averaging also suffer from overfitting and produce\nanomalous weight values, which causes the self-ensemble model to continue to\nundergo robust overfitting due to the failure in removing the weight anomalies.\nTo solve this problem, we aim to tackle the influence of outliers in the weight\nspace in this work and propose an easy-to-operate and effective Median-Ensemble\nAdversarial Training (MEAT) method to solve the robust overfitting phenomenon\nexisting in self-ensemble defense from the source by searching for the median\nof the historical model weights. Experimental results show that MEAT achieves\nthe best robustness against the powerful AutoAttack and can effectively\nallievate the robust overfitting. We further demonstrate that most defense\nmethods can improve robust generalization and robustness by combining with\nMEAT.\n", "date": "2024-06-20", "categories": []} {"id": "2306.16170", "title": "Mitigating Accuracy-Robustness Trade-off via Balanced Multi-Teacher\n Adversarial Distillation", "abstract": " Adversarial Training is a practical approach for improving the robustness of\ndeep neural networks against adversarial attacks. Although bringing reliable\nrobustness, the performance towards clean examples is negatively affected after\nAdversarial Training, which means a trade-off exists between accuracy and\nrobustness. Recently, some studies have tried to use knowledge distillation\nmethods in Adversarial Training, achieving competitive performance in improving\nthe robustness but the accuracy for clean samples is still limited. In this\npaper, to mitigate the accuracy-robustness trade-off, we introduce the Balanced\nMulti-Teacher Adversarial Robustness Distillation (B-MTARD) to guide the\nmodel's Adversarial Training process by applying a strong clean teacher and a\nstrong robust teacher to handle the clean examples and adversarial examples,\nrespectively. During the optimization process, to ensure that different\nteachers show similar knowledge scales, we design the Entropy-Based Balance\nalgorithm to adjust the teacher's temperature and keep the teachers'\ninformation entropy consistent. Besides, to ensure that the student has a\nrelatively consistent learning speed from multiple teachers, we propose the\nNormalization Loss Balance algorithm to adjust the learning weights of\ndifferent types of knowledge. A series of experiments conducted on three public\ndatasets demonstrate that B-MTARD outperforms the state-of-the-art methods\nagainst various adversarial attacks.\n", "date": "2023-06-28", "categories": []} {"id": "2312.00198", "title": "Optimal Attack and Defense for Reinforcement Learning", "abstract": " To ensure the usefulness of Reinforcement Learning (RL) in real systems, it\nis crucial to ensure they are robust to noise and adversarial attacks. In\nadversarial RL, an external attacker has the power to manipulate the victim\nagent's interaction with the environment. We study the full class of online\nmanipulation attacks, which include (i) state attacks, (ii) observation attacks\n(which are a generalization of perceived-state attacks), (iii) action attacks,\nand (iv) reward attacks. We show the attacker's problem of designing a stealthy\nattack that maximizes its own expected reward, which often corresponds to\nminimizing the victim's value, is captured by a Markov Decision Process (MDP)\nthat we call a meta-MDP since it is not the true environment but a higher level\nenvironment induced by the attacked interaction. We show that the attacker can\nderive optimal attacks by planning in polynomial time or learning with\npolynomial sample complexity using standard RL techniques. We argue that the\noptimal defense policy for the victim can be computed as the solution to a\nstochastic Stackelberg game, which can be further simplified into a\npartially-observable turn-based stochastic game (POTBSG). Neither the attacker\nnor the victim would benefit from deviating from their respective optimal\npolicies, thus such solutions are truly robust. Although the defense problem is\nNP-hard, we show that optimal Markovian defenses can be computed (learned) in\npolynomial time (sample complexity) in many scenarios.\n", "date": "2023-11-30", "categories": []} {"id": "2401.10111", "title": "Adapters Mixup: Mixing Parameter-Efficient Adapters to Enhance the\n Adversarial Robustness of Fine-tuned Pre-trained Text Classifiers", "abstract": " Existing works show that augmenting the training data of pre-trained language\nmodels (PLMs) for classification tasks fine-tuned via parameter-efficient\nfine-tuning methods (PEFT) using both clean and adversarial examples can\nenhance their robustness under adversarial attacks. However, this adversarial\ntraining paradigm often leads to performance degradation on clean inputs and\nrequires frequent re-training on the entire data to account for new, unknown\nattacks. To overcome these challenges while still harnessing the benefits of\nadversarial training and the efficiency of PEFT, this work proposes a novel\napproach, called AdpMixup, that combines two paradigms: (1) fine-tuning through\nadapters and (2) adversarial augmentation via mixup to dynamically leverage\nexisting knowledge from a set of pre-known attacks for robust inference.\nIntuitively, AdpMixup fine-tunes PLMs with multiple adapters with both clean\nand pre-known adversarial examples and intelligently mixes them up in different\nratios during prediction. Our experiments show AdpMixup achieves the best\ntrade-off between training efficiency and robustness under both pre-known and\nunknown attacks, compared to existing baselines on five downstream tasks across\nsix varied black-box attacks and 2 PLMs. All source code will be available.\n", "date": "2024-01-18", "categories": []} {"id": "2404.09586", "title": "Mitigating the Curse of Dimensionality for Certified Robustness via Dual\n Randomized Smoothing", "abstract": " Randomized Smoothing (RS) has been proven a promising method for endowing an\narbitrary image classifier with certified robustness. However, the substantial\nuncertainty inherent in the high-dimensional isotropic Gaussian noise imposes\nthe curse of dimensionality on RS. Specifically, the upper bound of ${\\ell_2}$\ncertified robustness radius provided by RS exhibits a diminishing trend with\nthe expansion of the input dimension $d$, proportionally decreasing at a rate\nof $1/\\sqrt{d}$. This paper explores the feasibility of providing ${\\ell_2}$\ncertified robustness for high-dimensional input through the utilization of dual\nsmoothing in the lower-dimensional space. The proposed Dual Randomized\nSmoothing (DRS) down-samples the input image into two sub-images and smooths\nthe two sub-images in lower dimensions. Theoretically, we prove that DRS\nguarantees a tight ${\\ell_2}$ certified robustness radius for the original\ninput and reveal that DRS attains a superior upper bound on the ${\\ell_2}$\nrobustness radius, which decreases proportionally at a rate of $(1/\\sqrt m +\n1/\\sqrt n )$ with $m+n=d$. Extensive experiments demonstrate the\ngeneralizability and effectiveness of DRS, which exhibits a notable capability\nto integrate with established methodologies, yielding substantial improvements\nin both accuracy and ${\\ell_2}$ certified robustness baselines of RS on the\nCIFAR-10 and ImageNet datasets. Code is available at\nhttps://github.com/xiasong0501/DRS.\n", "date": "2024-04-15", "categories": []} {"id": "2406.10802", "title": "KGPA: Robustness Evaluation for Large Language Models via Cross-Domain\n Knowledge Graphs", "abstract": " Existing frameworks for assessing robustness of large language models (LLMs)\noverly depend on specific benchmarks, increasing costs and failing to evaluate\nperformance of LLMs in professional domains due to dataset limitations. This\npaper proposes a framework that systematically evaluates the robustness of LLMs\nunder adversarial attack scenarios by leveraging knowledge graphs (KGs). Our\nframework generates original prompts from the triplets of knowledge graphs and\ncreates adversarial prompts by poisoning, assessing the robustness of LLMs\nthrough the results of these adversarial attacks. We systematically evaluate\nthe effectiveness of this framework and its modules. Experiments show that\nadversarial robustness of the ChatGPT family ranks as GPT-4-turbo > GPT-4o >\nGPT-3.5-turbo, and the robustness of large language models is influenced by the\nprofessional domains in which they operate.\n", "date": "2024-06-16", "categories": []} {"id": "2406.10933", "title": "Improving Adversarial Robustness via Decoupled Visual Representation\n Masking", "abstract": " Deep neural networks are proven to be vulnerable to fine-designed adversarial\nexamples, and adversarial defense algorithms draw more and more attention\nnowadays. Pre-processing based defense is a major strategy, as well as learning\nrobust feature representation has been proven an effective way to boost\ngeneralization. However, existing defense works lack considering different\ndepth-level visual features in the training process. In this paper, we first\nhighlight two novel properties of robust features from the feature distribution\nperspective: 1) \\textbf{Diversity}. The robust feature of intra-class samples\ncan maintain appropriate diversity; 2) \\textbf{Discriminability}. The robust\nfeature of inter-class samples should ensure adequate separation. We find that\nstate-of-the-art defense methods aim to address both of these mentioned issues\nwell. It motivates us to increase intra-class variance and decrease inter-class\ndiscrepancy simultaneously in adversarial training. Specifically, we propose a\nsimple but effective defense based on decoupled visual representation masking.\nThe designed Decoupled Visual Feature Masking (DFM) block can adaptively\ndisentangle visual discriminative features and non-visual features with diverse\nmask strategies, while the suitable discarding information can disrupt\nadversarial noise to improve robustness. Our work provides a generic and\neasy-to-plugin block unit for any former adversarial training algorithm to\nachieve better protection integrally. Extensive experimental results prove the\nproposed method can achieve superior performance compared with state-of-the-art\ndefense approaches. The code is publicly available at\n\\href{https://github.com/chenboluo/Adversarial-defense}{https://github.com/chenboluo/Adversarial-defense}.\n", "date": "2024-06-16", "categories": []} {"id": "2406.11576", "title": "Harmonizing Feature Maps: A Graph Convolutional Approach for Enhancing\n Adversarial Robustness", "abstract": " The vulnerability of Deep Neural Networks to adversarial perturbations\npresents significant security concerns, as the imperceptible perturbations can\ncontaminate the feature space and lead to incorrect predictions. Recent studies\nhave attempted to calibrate contaminated features by either suppressing or\nover-activating particular channels. Despite these efforts, we claim that\nadversarial attacks exhibit varying disruption levels across individual\nchannels. Furthermore, we argue that harmonizing feature maps via graph and\nemploying graph convolution can calibrate contaminated features. To this end,\nwe introduce an innovative plug-and-play module called Feature Map-based\nReconstructed Graph Convolution (FMR-GC). FMR-GC harmonizes feature maps in the\nchannel dimension to reconstruct the graph, then employs graph convolution to\ncapture neighborhood information, effectively calibrating contaminated\nfeatures. Extensive experiments have demonstrated the superior performance and\nscalability of FMR-GC. Moreover, our model can be combined with advanced\nadversarial training methods to considerably enhance robustness without\ncompromising the model's clean accuracy.\n", "date": "2024-06-17", "categories": []} {"id": "2406.10161", "title": "On the Computability of Robust PAC Learning", "abstract": " We initiate the study of computability requirements for adversarially robust\nlearning. Adversarially robust PAC-type learnability is by now an established\nfield of research. However, the effects of computability requirements in\nPAC-type frameworks are only just starting to emerge. We introduce the problem\nof robust computable PAC (robust CPAC) learning and provide some simple\nsufficient conditions for this. We then show that learnability in this setup is\nnot implied by the combination of its components: classes that are both CPAC\nand robustly PAC learnable are not necessarily robustly CPAC learnable.\nFurthermore, we show that the novel framework exhibits some surprising effects:\nfor robust CPAC learnability it is not required that the robust loss is\ncomputably evaluable! Towards understanding characterizing properties, we\nintroduce a novel dimension, the computable robust shattering dimension. We\nprove that its finiteness is necessary, but not sufficient for robust CPAC\nlearnability. This might yield novel insights for the corresponding phenomenon\nin the context of robust PAC learnability, where insufficiency of the robust\nshattering dimension for learnability has been conjectured, but so far a\nresolution has remained elusive.\n", "date": "2024-06-14", "categories": []} {"id": "2304.02497", "title": "Hyper-parameter Tuning for Adversarially Robust Models", "abstract": " This work focuses on the problem of hyper-parameter tuning (HPT) for robust\n(i.e., adversarially trained) models, shedding light on the new challenges and\nopportunities arising during the HPT process for robust models. To this end, we\nconduct an extensive experimental study based on 3 popular deep models, in\nwhich we explore exhaustively 9 (discretized) HPs, 2 fidelity dimensions, and 2\nattack bounds, for a total of 19208 configurations (corresponding to 50\nthousand GPU hours). Through this study, we show that the complexity of the HPT\nproblem is further exacerbated in adversarial settings due to the need to\nindependently tune the HPs used during standard and adversarial training:\nsucceeding in doing so (i.e., adopting different HP settings in both phases)\ncan lead to a reduction of up to 80% and 43% of the error for clean and\nadversarial inputs, respectively. On the other hand, we also identify new\nopportunities to reduce the cost of HPT for robust models. Specifically, we\npropose to leverage cheap adversarial training methods to obtain inexpensive,\nyet highly correlated, estimations of the quality achievable using\nstate-of-the-art methods. We show that, by exploiting this novel idea in\nconjunction with a recent multi-fidelity optimizer (taKG), the efficiency of\nthe HPT process can be enhanced by up to 2.1x.\n", "date": "2023-04-05", "categories": []} {"id": "2406.08829", "title": "Improving Adversarial Robustness via Feature Pattern Consistency\n Constraint", "abstract": " Convolutional Neural Networks (CNNs) are well-known for their vulnerability\nto adversarial attacks, posing significant security concerns. In response to\nthese threats, various defense methods have emerged to bolster the model's\nrobustness. However, most existing methods either focus on learning from\nadversarial perturbations, leading to overfitting to the adversarial examples,\nor aim to eliminate such perturbations during inference, inevitably increasing\ncomputational burdens. Conversely, clean training, which strengthens the\nmodel's robustness by relying solely on clean examples, can address the\naforementioned issues. In this paper, we align with this methodological stream\nand enhance its generalizability to unknown adversarial examples. This\nenhancement is achieved by scrutinizing the behavior of latent features within\nthe network. Recognizing that a correct prediction relies on the correctness of\nthe latent feature's pattern, we introduce a novel and effective Feature\nPattern Consistency Constraint (FPCC) method to reinforce the latent feature's\ncapacity to maintain the correct feature pattern. Specifically, we propose\nSpatial-wise Feature Modification and Channel-wise Feature Selection to enhance\nlatent features. Subsequently, we employ the Pattern Consistency Loss to\nconstrain the similarity between the feature pattern of the latent features and\nthe correct feature pattern. Our experiments demonstrate that the FPCC method\nempowers latent features to uphold correct feature patterns even in the face of\nadversarial examples, resulting in inherent adversarial robustness surpassing\nstate-of-the-art models.\n", "date": "2024-06-13", "categories": []} {"id": "2302.04379", "title": "Et Tu Certifications: Robustness Certificates Yield Better Adversarial\n Examples", "abstract": " In guaranteeing the absence of adversarial examples in an instance's\nneighbourhood, certification mechanisms play an important role in demonstrating\nneural net robustness. In this paper, we ask if these certifications can\ncompromise the very models they help to protect? Our new \\emph{Certification\nAware Attack} exploits certifications to produce computationally efficient\nnorm-minimising adversarial examples $74 \\%$ more often than comparable\nattacks, while reducing the median perturbation norm by more than $10\\%$. While\nthese attacks can be used to assess the tightness of certification bounds, they\nalso highlight that releasing certifications can paradoxically reduce security.\n", "date": "2023-02-09", "categories": []} {"id": "2406.04998", "title": "ADBA:Approximation Decision Boundary Approach for Black-Box Adversarial\n Attacks", "abstract": " Many machine learning models are susceptible to adversarial attacks, with\ndecision-based black-box attacks representing the most critical threat in\nreal-world applications. These attacks are extremely stealthy, generating\nadversarial examples using hard labels obtained from the target machine\nlearning model. This is typically realized by optimizing perturbation\ndirections, guided by decision boundaries identified through query-intensive\nexact search, significantly limiting the attack success rate. This paper\nintroduces a novel approach using the Approximation Decision Boundary (ADB) to\nefficiently and accurately compare perturbation directions without precisely\ndetermining decision boundaries. The effectiveness of our ADB approach (ADBA)\nhinges on promptly identifying suitable ADB, ensuring reliable differentiation\nof all perturbation directions. For this purpose, we analyze the probability\ndistribution of decision boundaries, confirming that using the distribution's\nmedian value as ADB can effectively distinguish different perturbation\ndirections, giving rise to the development of the ADBA-md algorithm. ADBA-md\nonly requires four queries on average to differentiate any pair of perturbation\ndirections, which is highly query-efficient. Extensive experiments on six\nwell-known image classifiers clearly demonstrate the superiority of ADBA and\nADBA-md over multiple state-of-the-art black-box attacks. The source code is\navailable at https://github.com/BUPTAIOC/ADBA.\n", "date": "2024-06-07", "categories": []} {"id": "2406.07580", "title": "DMS: Addressing Information Loss with More Steps for Pragmatic\n Adversarial Attacks", "abstract": " Despite the exceptional performance of deep neural networks (DNNs) across\ndifferent domains, they are vulnerable to adversarial samples, in particular\nfor tasks related to computer vision. Such vulnerability is further influenced\nby the digital container formats used in computers, where the discrete\nnumerical values are commonly used for storing the pixel values. This paper\nexamines how information loss in file formats impacts the effectiveness of\nadversarial attacks. Notably, we observe a pronounced hindrance to the\nadversarial attack performance due to the information loss of the non-integer\npixel values. To address this issue, we explore to leverage the gradient\ninformation of the attack samples within the model to mitigate the information\nloss. We introduce the Do More Steps (DMS) algorithm, which hinges on two core\ntechniques: gradient ascent-based \\textit{adversarial integerization} (DMS-AI)\nand integrated gradients-based \\textit{attribution selection} (DMS-AS). Our\ngoal is to alleviate such lossy process to retain the attack performance when\nstoring these adversarial samples digitally. In particular, DMS-AI integerizes\nthe non-integer pixel values according to the gradient direction, and DMS-AS\nselects the non-integer pixels by comparing attribution results. We conduct\nthorough experiments to assess the effectiveness of our approach, including the\nimplementations of the DMS-AI and DMS-AS on two large-scale datasets with\nvarious latest gradient-based attack methods. Our empirical findings\nconclusively demonstrate the superiority of our proposed DMS-AI and DMS-AS\npixel integerization methods over the standardised methods, such as rounding,\ntruncating and upper approaches, in maintaining attack integrity.\n", "date": "2024-06-09", "categories": []} {"id": "2406.08050", "title": "Adversarial Evasion Attack Efficiency against Large Language Models", "abstract": " Large Language Models (LLMs) are valuable for text classification, but their\nvulnerabilities must not be disregarded. They lack robustness against\nadversarial examples, so it is pertinent to understand the impacts of different\ntypes of perturbations, and assess if those attacks could be replicated by\ncommon users with a small amount of perturbations and a small number of queries\nto a deployed LLM. This work presents an analysis of the effectiveness,\nefficiency, and practicality of three different types of adversarial attacks\nagainst five different LLMs in a sentiment classification task. The obtained\nresults demonstrated the very distinct impacts of the word-level and\ncharacter-level attacks. The word attacks were more effective, but the\ncharacter and more constrained attacks were more practical and required a\nreduced number of perturbations and queries. These differences need to be\nconsidered during the development of adversarial defense strategies to train\nmore robust LLMs for intelligent text classification applications.\n", "date": "2024-06-12", "categories": []} {"id": "2406.08102", "title": "Adversarial Patch for 3D Local Feature Extractor", "abstract": " Local feature extractors are the cornerstone of many computer vision tasks.\nHowever, their vulnerability to adversarial attacks can significantly\ncompromise their effectiveness. This paper discusses approaches to attack\nsophisticated local feature extraction algorithms and models to achieve two\ndistinct goals: (1) forcing a match between originally non-matching image\nregions, and (2) preventing a match between originally matching regions. At the\nend of the paper, we discuss the performance and drawbacks of different patch\ngeneration methods.\n", "date": "2024-06-12", "categories": []} {"id": "2406.08331", "title": "Genetic Column Generation for Computing Lower Bounds for Adversarial\n Classification", "abstract": " Recent theoretical results on adversarial multi-class classification showed a\nsimilarity to the multi-marginal formulation of Wasserstein-barycenter in\noptimal transport. Unfortunately, both problems suffer from the curse of\ndimension, making it hard to exploit the nice linear program structure of the\nproblems for numerical calculations. We investigate how ideas from Genetic\nColumn Generation for multi-marginal optimal transport can be used to overcome\nthe curse of dimension in computing the minimal adversarial risk in multi-class\nclassification.\n", "date": "2024-06-12", "categories": []} {"id": "2306.16979", "title": "Post-train Black-box Defense via Bayesian Boundary Correction", "abstract": " Classifiers based on deep neural networks are susceptible to adversarial\nattack, where the widely existing vulnerability has invoked the research in\ndefending them from potential threats. Given a vulnerable classifier, existing\ndefense methods are mostly white-box and often require re-training the victim\nunder modified loss functions/training regimes. While the model/data/training\nspecifics of the victim are usually unavailable to the user, re-training is\nunappealing, if not impossible for reasons such as limited computational\nresources. To this end, we propose a new post-train black-box defense\nframework. It can turn any pre-trained classifier into a resilient one with\nlittle knowledge of the model specifics. This is achieved by new joint Bayesian\ntreatments on the clean data, the adversarial examples and the classifier, for\nmaximizing their joint probability. It is further equipped with a new\npost-train strategy which keeps the victim intact, avoiding re-training. We\nname our framework Bayesian Boundary Correction (BBC). BBC is a general and\nflexible framework that can easily adapt to different data types. We\ninstantiate BBC for image classification and skeleton-based human activity\nrecognition, for both static and dynamic data. Exhaustive evaluation shows that\nBBC has superior robustness and can enhance robustness without severely hurting\nthe clean accuracy, compared with existing defense methods.\n", "date": "2023-06-29", "categories": []} {"id": "2307.16630", "title": "Text-CRS: A Generalized Certified Robustness Framework against Textual\n Adversarial Attacks", "abstract": " The language models, especially the basic text classification models, have\nbeen shown to be susceptible to textual adversarial attacks such as synonym\nsubstitution and word insertion attacks. To defend against such attacks, a\ngrowing body of research has been devoted to improving the model robustness.\nHowever, providing provable robustness guarantees instead of empirical\nrobustness is still widely unexplored. In this paper, we propose Text-CRS, a\ngeneralized certified robustness framework for natural language processing\n(NLP) based on randomized smoothing. To our best knowledge, existing certified\nschemes for NLP can only certify the robustness against $\\ell_0$ perturbations\nin synonym substitution attacks. Representing each word-level adversarial\noperation (i.e., synonym substitution, word reordering, insertion, and\ndeletion) as a combination of permutation and embedding transformation, we\npropose novel smoothing theorems to derive robustness bounds in both\npermutation and embedding space against such adversarial operations. To further\nimprove certified accuracy and radius, we consider the numerical relationships\nbetween discrete words and select proper noise distributions for the randomized\nsmoothing. Finally, we conduct substantial experiments on multiple language\nmodels and datasets. Text-CRS can address all four different word-level\nadversarial operations and achieve a significant accuracy improvement. We also\nprovide the first benchmark on certified accuracy and radius of four word-level\noperations, besides outperforming the state-of-the-art certification against\nsynonym substitution attacks.\n", "date": "2023-07-31", "categories": []} {"id": "2311.14772", "title": "Trainwreck: A damaging adversarial attack on image classifiers", "abstract": " Adversarial attacks are an important security concern for computer vision\n(CV). As CV models are becoming increasingly valuable assets in applied\npractice, disrupting them is emerging as a form of economic sabotage. This\npaper opens up the exploration of damaging adversarial attacks (DAAs) that seek\nto damage target CV models. DAAs are formalized by defining the threat model,\nthe cost function DAAs maximize, and setting three requirements for success:\npotency, stealth, and customizability. As a pioneer DAA, this paper proposes\nTrainwreck, a train-time attack that conflates the data of similar classes in\nthe training data using stealthy ($\\epsilon \\leq 8/255$) class-pair universal\nperturbations obtained from a surrogate model. Trainwreck is a black-box,\ntransferable attack: it requires no knowledge of the target architecture, and a\nsingle poisoned dataset degrades the performance of any model trained on it.\nThe experimental evaluation on CIFAR-10 and CIFAR-100 and various model\narchitectures (EfficientNetV2, ResNeXt-101, and a finetuned ViT-L-16)\ndemonstrates Trainwreck's efficiency. Trainwreck achieves similar or better\npotency compared to the data poisoning state of the art and is fully\ncustomizable by the poison rate parameter. Finally, data redundancy with\nhashing is identified as a reliable defense against Trainwreck or similar DAAs.\nThe code is available at https://github.com/JanZahalka/trainwreck.\n", "date": "2023-11-24", "categories": []} {"id": "2309.15519", "title": "Defending Against Physical Adversarial Patch Attacks on Infrared Human\n Detection", "abstract": " Infrared detection is an emerging technique for safety-critical tasks owing\nto its remarkable anti-interference capability. However, recent studies have\nrevealed that it is vulnerable to physically-realizable adversarial patches,\nposing risks in its real-world applications. To address this problem, we are\nthe first to investigate defense strategies against adversarial patch attacks\non infrared detection, especially human detection. We propose a straightforward\ndefense strategy, patch-based occlusion-aware detection (POD), which\nefficiently augments training samples with random patches and subsequently\ndetects them. POD not only robustly detects people but also identifies\nadversarial patch locations. Surprisingly, while being extremely\ncomputationally efficient, POD easily generalizes to state-of-the-art\nadversarial patch attacks that are unseen during training. Furthermore, POD\nimproves detection precision even in a clean (i.e., no-attack) situation due to\nthe data augmentation effect. Our evaluation demonstrates that POD is robust to\nadversarial patches of various shapes and sizes. The effectiveness of our\nbaseline approach is shown to be a viable defense mechanism for real-world\ninfrared human detection systems, paving the way for exploring future research\ndirections.\n", "date": "2023-09-27", "categories": []} {"id": "2310.01452", "title": "Fooling the Textual Fooler via Randomizing Latent Representations", "abstract": " Despite outstanding performance in a variety of NLP tasks, recent studies\nhave revealed that NLP models are vulnerable to adversarial attacks that\nslightly perturb the input to cause the models to misbehave. Among these\nattacks, adversarial word-level perturbations are well-studied and effective\nattack strategies. Since these attacks work in black-box settings, they do not\nrequire access to the model architecture or model parameters and thus can be\ndetrimental to existing NLP applications. To perform an attack, the adversary\nqueries the victim model many times to determine the most important words in an\ninput text and to replace these words with their corresponding synonyms. In\nthis work, we propose a lightweight and attack-agnostic defense whose main goal\nis to perplex the process of generating an adversarial example in these\nquery-based black-box attacks; that is to fool the textual fooler. This\ndefense, named AdvFooler, works by randomizing the latent representation of the\ninput at inference time. Different from existing defenses, AdvFooler does not\nnecessitate additional computational overhead during training nor relies on\nassumptions about the potential adversarial perturbation set while having a\nnegligible impact on the model's accuracy. Our theoretical and empirical\nanalyses highlight the significance of robustness resulting from confusing the\nadversary via randomizing the latent space, as well as the impact of\nrandomization on clean accuracy. Finally, we empirically demonstrate near\nstate-of-the-art robustness of AdvFooler against representative adversarial\nword-level attacks on two benchmark datasets.\n", "date": "2023-10-02", "categories": []} {"id": "2312.09558", "title": "Towards Transferable Targeted 3D Adversarial Attack in the Physical\n World", "abstract": " Compared with transferable untargeted attacks, transferable targeted\nadversarial attacks could specify the misclassification categories of\nadversarial samples, posing a greater threat to security-critical tasks. In the\nmeanwhile, 3D adversarial samples, due to their potential of multi-view\nrobustness, can more comprehensively identify weaknesses in existing deep\nlearning systems, possessing great application value. However, the field of\ntransferable targeted 3D adversarial attacks remains vacant. The goal of this\nwork is to develop a more effective technique that could generate transferable\ntargeted 3D adversarial examples, filling the gap in this field. To achieve\nthis goal, we design a novel framework named TT3D that could rapidly\nreconstruct from few multi-view images into Transferable Targeted 3D textured\nmeshes. While existing mesh-based texture optimization methods compute\ngradients in the high-dimensional mesh space and easily fall into local optima,\nleading to unsatisfactory transferability and distinct distortions, TT3D\ninnovatively performs dual optimization towards both feature grid and\nMulti-layer Perceptron (MLP) parameters in the grid-based NeRF space, which\nsignificantly enhances black-box transferability while enjoying naturalness.\nExperimental results show that TT3D not only exhibits superior cross-model\ntransferability but also maintains considerable adaptability across different\nrenders and vision tasks. More importantly, we produce 3D adversarial examples\nwith 3D printing techniques in the real world and verify their robust\nperformance under various scenarios.\n", "date": "2023-12-15", "categories": []} {"id": "2406.05372", "title": "Bridging the Gap: Rademacher Complexity in Robust and Standard\n Generalization", "abstract": " Training Deep Neural Networks (DNNs) with adversarial examples often results\nin poor generalization to test-time adversarial data. This paper investigates\nthis issue, known as adversarially robust generalization, through the lens of\nRademacher complexity. Building upon the studies by Khim and Loh (2018); Yin et\nal. (2019), numerous works have been dedicated to this problem, yet achieving a\nsatisfactory bound remains an elusive goal. Existing works on DNNs either apply\nto a surrogate loss instead of the robust loss or yield bounds that are notably\nlooser compared to their standard counterparts. In the latter case, the bounds\nhave a higher dependency on the width $m$ of the DNNs or the dimension $d$ of\nthe data, with an extra factor of at least $\\mathcal{O}(\\sqrt{m})$ or\n$\\mathcal{O}(\\sqrt{d})$.\n This paper presents upper bounds for adversarial Rademacher complexity of\nDNNs that match the best-known upper bounds in standard settings, as\nestablished in the work of Bartlett et al. (2017), with the dependency on width\nand dimension being $\\mathcal{O}(\\ln(dm))$. The central challenge addressed is\ncalculating the covering number of adversarial function classes. We aim to\nconstruct a new cover that possesses two properties: 1) compatibility with\nadversarial examples, and 2) precision comparable to covers used in standard\nsettings. To this end, we introduce a new variant of covering number called the\n\\emph{uniform covering number}, specifically designed and proven to reconcile\nthese two properties. Consequently, our method effectively bridges the gap\nbetween Rademacher complexity in robust and standard generalization.\n", "date": "2024-06-08", "categories": []} {"id": "2406.05531", "title": "Enhancing Adversarial Transferability via Information Bottleneck\n Constraints", "abstract": " From the perspective of information bottleneck (IB) theory, we propose a\nnovel framework for performing black-box transferable adversarial attacks named\nIBTA, which leverages advancements in invariant features. Intuitively,\ndiminishing the reliance of adversarial perturbations on the original data,\nunder equivalent attack performance constraints, encourages a greater reliance\non invariant features that contributes most to classification, thereby\nenhancing the transferability of adversarial attacks. Building on this\nmotivation, we redefine the optimization of transferable attacks using a novel\ntheoretical framework that centers around IB. Specifically, to overcome the\nchallenge of unoptimizable mutual information, we propose a simple and\nefficient mutual information lower bound (MILB) for approximating computation.\nMoreover, to quantitatively evaluate mutual information, we utilize the Mutual\nInformation Neural Estimator (MINE) to perform a thorough analysis. Our\nexperiments on the ImageNet dataset well demonstrate the efficiency and\nscalability of IBTA and derived MILB. Our code is available at\nhttps://github.com/Biqing-Qi/Enhancing-Adversarial-Transferability-via-Information-Bottleneck-Constraints.\n", "date": "2024-06-08", "categories": []} {"id": "2406.05535", "title": "Perturbation Towards Easy Samples Improves Targeted Adversarial\n Transferability", "abstract": " The transferability of adversarial perturbations provides an effective\nshortcut for black-box attacks. Targeted perturbations have greater\npracticality but are more difficult to transfer between models. In this paper,\nwe experimentally and theoretically demonstrated that neural networks trained\non the same dataset have more consistent performance in\nHigh-Sample-Density-Regions (HSDR) of each class instead of low sample density\nregions. Therefore, in the target setting, adding perturbations towards HSDR of\nthe target class is more effective in improving transferability. However,\ndensity estimation is challenging in high-dimensional scenarios. Further\ntheoretical and experimental verification demonstrates that easy samples with\nlow loss are more likely to be located in HSDR. Perturbations towards such easy\nsamples in the target class can avoid density estimation for HSDR location.\nBased on the above facts, we verified that adding perturbations to easy samples\nin the target class improves targeted adversarial transferability of existing\nattack methods. A generative targeted attack strategy named Easy Sample\nMatching Attack (ESMA) is proposed, which has a higher success rate for\ntargeted attacks and outperforms the SOTA generative method. Moreover, ESMA\nrequires only 5% of the storage space and much less computation time comparing\nto the current SOTA, as ESMA attacks all classes with only one model instead of\nseperate models for each class. Our code is available at\nhttps://github.com/gjq100/ESMA.\n", "date": "2024-06-08", "categories": []} {"id": "2406.05796", "title": "ProFeAT: Projected Feature Adversarial Training for Self-Supervised\n Learning of Robust Representations", "abstract": " The need for abundant labelled data in supervised Adversarial Training (AT)\nhas prompted the use of Self-Supervised Learning (SSL) techniques with AT.\nHowever, the direct application of existing SSL methods to adversarial training\nhas been sub-optimal due to the increased training complexity of combining SSL\nwith AT. A recent approach, DeACL, mitigates this by utilizing supervision from\na standard SSL teacher in a distillation setting, to mimic supervised AT.\nHowever, we find that there is still a large performance gap when compared to\nsupervised adversarial training, specifically on larger models. In this work,\ninvestigate the key reason for this gap and propose Projected Feature\nAdversarial Training (ProFeAT) to bridge the same. We show that the sub-optimal\ndistillation performance is a result of mismatch in training objectives of the\nteacher and student, and propose to use a projection head at the student, that\nallows it to leverage weak supervision from the teacher while also being able\nto learn adversarially robust representations that are distinct from the\nteacher. We further propose appropriate attack and defense losses at the\nfeature and projector, alongside a combination of weak and strong augmentations\nfor the teacher and student respectively, to improve the training data\ndiversity without increasing the training complexity. Through extensive\nexperiments on several benchmark datasets and models, we demonstrate\nsignificant improvements in both clean and robust accuracy when compared to\nexisting SSL-AT methods, setting a new state-of-the-art. We further report\non-par/ improved performance when compared to TRADES, a popular supervised-AT\nmethod.\n", "date": "2024-06-09", "categories": []} {"id": "2406.05810", "title": "ControlLoc: Physical-World Hijacking Attack on Visual Perception in\n Autonomous Driving", "abstract": " Recent research in adversarial machine learning has focused on visual\nperception in Autonomous Driving (AD) and has shown that printed adversarial\npatches can attack object detectors. However, it is important to note that AD\nvisual perception encompasses more than just object detection; it also includes\nMultiple Object Tracking (MOT). MOT enhances the robustness by compensating for\nobject detection errors and requiring consistent object detection results\nacross multiple frames before influencing tracking results and driving\ndecisions. Thus, MOT makes attacks on object detection alone less effective. To\nattack such robust AD visual perception, a digital hijacking attack has been\nproposed to cause dangerous driving scenarios. However, this attack has limited\neffectiveness.\n In this paper, we introduce a novel physical-world adversarial patch attack,\nControlLoc, designed to exploit hijacking vulnerabilities in entire AD visual\nperception. ControlLoc utilizes a two-stage process: initially identifying the\noptimal location for the adversarial patch, and subsequently generating the\npatch that can modify the perceived location and shape of objects with the\noptimal location. Extensive evaluations demonstrate the superior performance of\nControlLoc, achieving an impressive average attack success rate of around 98.1%\nacross various AD visual perceptions and datasets, which is four times greater\neffectiveness than the existing hijacking attack. The effectiveness of\nControlLoc is further validated in physical-world conditions, including real\nvehicle tests under different conditions such as outdoor light conditions with\nan average attack success rate of 77.5%. AD system-level impact assessments are\nalso included, such as vehicle collision, using industry-grade AD systems and\nproduction-grade AD simulators with an average vehicle collision rate and\nunnecessary emergency stop rate of 81.3%.\n", "date": "2024-06-09", "categories": []} {"id": "2406.06089", "title": "Texture Re-scalable Universal Adversarial Perturbation", "abstract": " Universal adversarial perturbation (UAP), also known as image-agnostic\nperturbation, is a fixed perturbation map that can fool the classifier with\nhigh probabilities on arbitrary images, making it more practical for attacking\ndeep models in the real world. Previous UAP methods generate a scale-fixed and\ntexture-fixed perturbation map for all images, which ignores the multi-scale\nobjects in images and usually results in a low fooling ratio. Since the widely\nused convolution neural networks tend to classify objects according to semantic\ninformation stored in local textures, it seems a reasonable and intuitive way\nto improve the UAP from the perspective of utilizing local contents\neffectively. In this work, we find that the fooling ratios significantly\nincrease when we add a constraint to encourage a small-scale UAP map and repeat\nit vertically and horizontally to fill the whole image domain. To this end, we\npropose texture scale-constrained UAP (TSC-UAP), a simple yet effective UAP\nenhancement method that automatically generates UAPs with category-specific\nlocal textures that can fool deep models more easily. Through a low-cost\noperation that restricts the texture scale, TSC-UAP achieves a considerable\nimprovement in the fooling ratio and attack transferability for both\ndata-dependent and data-free UAP methods. Experiments conducted on two\nstate-of-the-art UAP methods, eight popular CNN models and four classical\ndatasets show the remarkable performance of TSC-UAP.\n", "date": "2024-06-10", "categories": []} {"id": "2406.04981", "title": "The Price of Implicit Bias in Adversarially Robust Generalization", "abstract": " We study the implicit bias of optimization in robust empirical risk\nminimization (robust ERM) and its connection with robust generalization. In\nclassification settings under adversarial perturbations with linear models, we\nstudy what type of regularization should ideally be applied for a given\nperturbation set to improve (robust) generalization. We then show that the\nimplicit bias of optimization in robust ERM can significantly affect the\nrobustness of the model and identify two ways this can happen; either through\nthe optimization algorithm or the architecture. We verify our predictions in\nsimulations with synthetic data and experimentally study the importance of\nimplicit bias in robust ERM with deep neural networks.\n", "date": "2024-06-07", "categories": []} {"id": "2406.05119", "title": "Compositional Curvature Bounds for Deep Neural Networks", "abstract": " A key challenge that threatens the widespread use of neural networks in\nsafety-critical applications is their vulnerability to adversarial attacks. In\nthis paper, we study the second-order behavior of continuously differentiable\ndeep neural networks, focusing on robustness against adversarial perturbations.\nFirst, we provide a theoretical analysis of robustness and attack certificates\nfor deep classifiers by leveraging local gradients and upper bounds on the\nsecond derivative (curvature constant). Next, we introduce a novel algorithm to\nanalytically compute provable upper bounds on the second derivative of neural\nnetworks. This algorithm leverages the compositional structure of the model to\npropagate the curvature bound layer-by-layer, giving rise to a scalable and\nmodular approach. The proposed bound can serve as a differentiable regularizer\nto control the curvature of neural networks during training, thereby enhancing\nrobustness. Finally, we demonstrate the efficacy of our method on\nclassification tasks using the MNIST and CIFAR-10 datasets.\n", "date": "2024-06-07", "categories": []} {"id": "2406.05120", "title": "Contextual fusion enhances robustness to image blurring", "abstract": " Mammalian brains handle complex reasoning by integrating information across\nbrain regions specialized for particular sensory modalities. This enables\nimproved robustness and generalization versus deep neural networks, which\ntypically process one modality and are vulnerable to perturbations. While\ndefense methods exist, they do not generalize well across perturbations. We\ndeveloped a fusion model combining background and foreground features from CNNs\ntrained on Imagenet and Places365. We tested its robustness to\nhuman-perceivable perturbations on MS COCO. The fusion model improved\nrobustness, especially for classes with greater context variability. Our\nproposed solution for integrating multiple modalities provides a new approach\nto enhance robustness and may be complementary to existing methods.\n", "date": "2024-06-07", "categories": []} {"id": "2406.04070", "title": "Batch-in-Batch: a new adversarial training framework for initial\n perturbation and sample selection", "abstract": " Adversarial training methods commonly generate independent initial\nperturbation for adversarial samples from a simple uniform distribution, and\nobtain the training batch for the classifier without selection. In this work,\nwe propose a simple yet effective training framework called Batch-in-Batch (BB)\nto enhance models robustness. It involves specifically a joint construction of\ninitial values that could simultaneously generates $m$ sets of perturbations\nfrom the original batch set to provide more diversity for adversarial samples;\nand also includes various sample selection strategies that enable the trained\nmodels to have smoother losses and avoid overconfident outputs. Through\nextensive experiments on three benchmark datasets (CIFAR-10, SVHN, CIFAR-100)\nwith two networks (PreActResNet18 and WideResNet28-10) that are used in both\nthe single-step (Noise-Fast Gradient Sign Method, N-FGSM) and multi-step\n(Projected Gradient Descent, PGD-10) adversarial training, we show that models\ntrained within the BB framework consistently have higher adversarial accuracy\nacross various adversarial settings, notably achieving over a 13% improvement\non the SVHN dataset with an attack radius of 8/255 compared to the N-FGSM\nbaseline model. Furthermore, experimental analysis of the efficiency of both\nthe proposed initial perturbation method and sample selection strategies\nvalidates our insights. Finally, we show that our framework is cost-effective\nin terms of computational resources, even with a relatively large value of $m$.\n", "date": "2024-06-06", "categories": []} {"id": "2306.03430", "title": "Revisiting the Trade-off between Accuracy and Robustness via Weight\n Distribution of Filters", "abstract": " Adversarial attacks have been proven to be potential threats to Deep Neural\nNetworks (DNNs), and many methods are proposed to defend against adversarial\nattacks. However, while enhancing the robustness, the clean accuracy will\ndecline to a certain extent, implying a trade-off existed between the accuracy\nand robustness. In this paper, to meet the trade-off problem, we theoretically\nexplore the underlying reason for the difference of the filters' weight\ndistribution between standard-trained and robust-trained models and then argue\nthat this is an intrinsic property for static neural networks, thus they are\ndifficult to fundamentally improve the accuracy and adversarial robustness at\nthe same time. Based on this analysis, we propose a sample-wise dynamic network\narchitecture named Adversarial Weight-Varied Network (AW-Net), which focuses on\ndealing with clean and adversarial examples with a \"divide and rule\" weight\nstrategy. The AW-Net adaptively adjusts the network's weights based on\nregulation signals generated by an adversarial router, which is directly\ninfluenced by the input sample. Benefiting from the dynamic network\narchitecture, clean and adversarial examples can be processed with different\nnetwork weights, which provides the potential to enhance both accuracy and\nadversarial robustness. A series of experiments demonstrate that our AW-Net is\narchitecture-friendly to handle both clean and adversarial examples and can\nachieve better trade-off performance than state-of-the-art robust models.\n", "date": "2023-06-06", "categories": []} {"id": "2402.12336", "title": "Robust CLIP: Unsupervised Adversarial Fine-Tuning of Vision Embeddings\n for Robust Large Vision-Language Models", "abstract": " Multi-modal foundation models like OpenFlamingo, LLaVA, and GPT-4 are\nincreasingly used for various real-world tasks. Prior work has shown that these\nmodels are highly vulnerable to adversarial attacks on the vision modality.\nThese attacks can be leveraged to spread fake information or defraud users, and\nthus pose a significant risk, which makes the robustness of large multi-modal\nfoundation models a pressing problem. The CLIP model, or one of its variants,\nis used as a frozen vision encoder in many large vision-language models\n(LVLMs), e.g. LLaVA and OpenFlamingo. We propose an unsupervised adversarial\nfine-tuning scheme to obtain a robust CLIP vision encoder, which yields\nrobustness on all vision down-stream tasks (LVLMs, zero-shot classification)\nthat rely on CLIP. In particular, we show that stealth-attacks on users of\nLVLMs by a malicious third party providing manipulated images are no longer\npossible once one replaces the original CLIP model with our robust one. No\nretraining or fine-tuning of the down-stream LVLMs is required. The code and\nrobust models are available at https://github.com/chs20/RobustVLM\n", "date": "2024-02-19", "categories": []} {"id": "2402.15152", "title": "On the Duality Between Sharpness-Aware Minimization and Adversarial\n Training", "abstract": " Adversarial Training (AT), which adversarially perturb the input samples\nduring training, has been acknowledged as one of the most effective defenses\nagainst adversarial attacks, yet suffers from inevitably decreased clean\naccuracy. Instead of perturbing the samples, Sharpness-Aware Minimization (SAM)\nperturbs the model weights during training to find a more flat loss landscape\nand improve generalization. However, as SAM is designed for better clean\naccuracy, its effectiveness in enhancing adversarial robustness remains\nunexplored. In this work, considering the duality between SAM and AT, we\ninvestigate the adversarial robustness derived from SAM. Intriguingly, we find\nthat using SAM alone can improve adversarial robustness. To understand this\nunexpected property of SAM, we first provide empirical and theoretical insights\ninto how SAM can implicitly learn more robust features, and conduct\ncomprehensive experiments to show that SAM can improve adversarial robustness\nnotably without sacrificing any clean accuracy, shedding light on the potential\nof SAM to be a substitute for AT when accuracy comes at a higher priority. Code\nis available at https://github.com/weizeming/SAM_AT.\n", "date": "2024-02-23", "categories": []} {"id": "2405.15942", "title": "Can Implicit Bias Imply Adversarial Robustness?", "abstract": " The implicit bias of gradient-based training algorithms has been considered\nmostly beneficial as it leads to trained networks that often generalize well.\nHowever, Frei et al. (2023) show that such implicit bias can harm adversarial\nrobustness. Specifically, they show that if the data consists of clusters with\nsmall inter-cluster correlation, a shallow (two-layer) ReLU network trained by\ngradient flow generalizes well, but it is not robust to adversarial attacks of\nsmall radius. Moreover, this phenomenon occurs despite the existence of a much\nmore robust classifier that can be explicitly constructed from a shallow\nnetwork. In this paper, we extend recent analyses of neuron alignment to show\nthat a shallow network with a polynomial ReLU activation (pReLU) trained by\ngradient flow not only generalizes well but is also robust to adversarial\nattacks. Our results highlight the importance of the interplay between data\nstructure and architecture design in the implicit bias and robustness of\ntrained networks.\n", "date": "2024-05-24", "categories": []} {"id": "2406.01873", "title": "CR-UTP: Certified Robustness against Universal Text Perturbations on\n Large Language Models", "abstract": " It is imperative to ensure the stability of every prediction made by a\nlanguage model; that is, a language's prediction should remain consistent\ndespite minor input variations, like word substitutions. In this paper, we\ninvestigate the problem of certifying a language model's robustness against\nUniversal Text Perturbations (UTPs), which have been widely used in universal\nadversarial attacks and backdoor attacks. Existing certified robustness based\non random smoothing has shown considerable promise in certifying the\ninput-specific text perturbations (ISTPs), operating under the assumption that\nany random alteration of a sample's clean or adversarial words would negate the\nimpact of sample-wise perturbations. However, with UTPs, masking only the\nadversarial words can eliminate the attack. A naive method is to simply\nincrease the masking ratio and the likelihood of masking attack tokens, but it\nleads to a significant reduction in both certified accuracy and the certified\nradius due to input corruption by extensive masking. To solve this challenge,\nwe introduce a novel approach, the superior prompt search method, designed to\nidentify a superior prompt that maintains higher certified accuracy under\nextensive masking. Additionally, we theoretically motivate why ensembles are a\nparticularly suitable choice as base prompts for random smoothing. The method\nis denoted by superior prompt ensembling technique. We also empirically confirm\nthis technique, obtaining state-of-the-art results in multiple settings. These\nmethodologies, for the first time, enable high certified accuracy against both\nUTPs and ISTPs. The source code of CR-UTP is available at \\url\n{https://github.com/UCFML-Research/CR-UTP}.\n", "date": "2024-06-04", "categories": []} {"id": "2406.02309", "title": "Effects of Exponential Gaussian Distribution on (Double Sampling)\n Randomized Smoothing", "abstract": " Randomized Smoothing (RS) is currently a scalable certified defense method\nproviding robustness certification against adversarial examples. Although\nsignificant progress has been achieved in providing defenses against $\\ell_p$\nadversaries, the interaction between the smoothing distribution and the\nrobustness certification still remains vague. In this work, we comprehensively\nstudy the effect of two families of distributions, named Exponential Standard\nGaussian (ESG) and Exponential General Gaussian (EGG) distributions, on\nRandomized Smoothing and Double Sampling Randomized Smoothing (DSRS). We derive\nan analytic formula for ESG's certified radius, which converges to the origin\nformula of RS as the dimension $d$ increases. Additionally, we prove that EGG\ncan provide tighter constant factors than DSRS in providing $\\Omega(\\sqrt{d})$\nlower bounds of $\\ell_2$ certified radius, and thus further addresses the curse\nof dimensionality in RS. Our experiments on real-world datasets confirm our\ntheoretical analysis of the ESG distributions, that they provide almost the\nsame certification under different exponents $\\eta$ for both RS and DSRS. In\naddition, EGG brings a significant improvement to the DSRS certification, but\nthe mechanism can be different when the classifier properties are different.\nCompared to the primitive DSRS, the increase in certified accuracy provided by\nEGG is prominent, up to 6.4% on ImageNet.\n", "date": "2024-06-04", "categories": []} {"id": "2406.03117", "title": "VQUNet: Vector Quantization U-Net for Defending Adversarial Atacks by\n Regularizing Unwanted Noise", "abstract": " Deep Neural Networks (DNN) have become a promising paradigm when developing\nArtificial Intelligence (AI) and Machine Learning (ML) applications. However,\nDNN applications are vulnerable to fake data that are crafted with adversarial\nattack algorithms. Under adversarial attacks, the prediction accuracy of DNN\napplications suffers, making them unreliable. In order to defend against\nadversarial attacks, we introduce a novel noise-reduction procedure, Vector\nQuantization U-Net (VQUNet), to reduce adversarial noise and reconstruct data\nwith high fidelity. VQUNet features a discrete latent representation learning\nthrough a multi-scale hierarchical structure for both noise reduction and data\nreconstruction. The empirical experiments show that the proposed VQUNet\nprovides better robustness to the target DNN models, and it outperforms other\nstate-of-the-art noise-reduction-based defense methods under various\nadversarial attacks for both Fashion-MNIST and CIFAR10 datasets. When there is\nno adversarial attack, the defense method has less than 1% accuracy degradation\nfor both datasets.\n", "date": "2024-06-05", "categories": []} {"id": "2310.12793", "title": "OODRobustBench: a Benchmark and Large-Scale Analysis of Adversarial\n Robustness under Distribution Shift", "abstract": " Existing works have made great progress in improving adversarial robustness,\nbut typically test their method only on data from the same distribution as the\ntraining data, i.e. in-distribution (ID) testing. As a result, it is unclear\nhow such robustness generalizes under input distribution shifts, i.e.\nout-of-distribution (OOD) testing. This omission is concerning as such\ndistribution shifts are unavoidable when methods are deployed in the wild. To\naddress this issue we propose a benchmark named OODRobustBench to\ncomprehensively assess OOD adversarial robustness using 23 dataset-wise shifts\n(i.e. naturalistic shifts in input distribution) and 6 threat-wise shifts\n(i.e., unforeseen adversarial threat models). OODRobustBench is used to assess\n706 robust models using 60.7K adversarial evaluations. This large-scale\nanalysis shows that: 1) adversarial robustness suffers from a severe OOD\ngeneralization issue; 2) ID robustness correlates strongly with OOD robustness\nin a positive linear way. The latter enables the prediction of OOD robustness\nfrom ID robustness. We then predict and verify that existing methods are\nunlikely to achieve high OOD robustness. Novel methods are therefore required\nto achieve OOD robustness beyond our prediction. To facilitate the development\nof these methods, we investigate a wide range of techniques and identify\nseveral promising directions. Code and models are available at:\nhttps://github.com/OODRobustBench/OODRobustBench.\n", "date": "2023-10-19", "categories": []} {"id": "2311.15165", "title": "Mixing Classifiers to Alleviate the Accuracy-Robustness Trade-Off", "abstract": " Deep neural classifiers have recently found tremendous success in data-driven\ncontrol systems. However, existing models suffer from a trade-off between\naccuracy and adversarial robustness. This limitation must be overcome in the\ncontrol of safety-critical systems that require both high performance and\nrigorous robustness guarantees. In this work, we develop classifiers that\nsimultaneously inherit high robustness from robust models and high accuracy\nfrom standard models. Specifically, we propose a theoretically motivated\nformulation that mixes the output probabilities of a standard neural network\nand a robust neural network. Both base classifiers are pre-trained, and thus\nour method does not require additional training. Our numerical experiments\nverify that the mixed classifier noticeably improves the accuracy-robustness\ntrade-off and identify the confidence property of the robust base classifier as\nthe key leverage of this more benign trade-off. Our theoretical results prove\nthat under mild assumptions, when the robustness of the robust base model is\ncertifiable, no alteration or attack within a closed-form $\\ell_p$ radius on an\ninput can result in the misclassification of the mixed classifier.\n", "date": "2023-11-26", "categories": []} {"id": "2402.08400", "title": "Adaptive Hierarchical Certification for Segmentation using Randomized\n Smoothing", "abstract": " Certification for machine learning is proving that no adversarial sample can\nevade a model within a range under certain conditions, a necessity for\nsafety-critical domains. Common certification methods for segmentation use a\nflat set of fine-grained classes, leading to high abstain rates due to model\nuncertainty across many classes. We propose a novel, more practical setting,\nwhich certifies pixels within a multi-level hierarchy, and adaptively relaxes\nthe certification to a coarser level for unstable components classic methods\nwould abstain from, effectively lowering the abstain rate whilst providing more\ncertified semantically meaningful information. We mathematically formulate the\nproblem setup, introduce an adaptive hierarchical certification algorithm and\nprove the correctness of its guarantees. Since certified accuracy does not take\nthe loss of information into account for coarser classes, we introduce the\nCertified Information Gain ($\\mathrm{CIG}$) metric, which is proportional to\nthe class granularity level. Our extensive experiments on the datasets\nCityscapes, PASCAL-Context, ACDC and COCO-Stuff demonstrate that our adaptive\nalgorithm achieves a higher $\\mathrm{CIG}$ and lower abstain rate compared to\nthe current state-of-the-art certification method. Our code can be found here:\nhttps://github.com/AlaaAnani/adaptive-certify.\n", "date": "2024-02-13", "categories": []} {"id": "2402.16006", "title": "ASETF: A Novel Method for Jailbreak Attack on LLMs through Translate\n Suffix Embeddings", "abstract": " The safety defense methods of Large language models(LLMs) stays limited\nbecause the dangerous prompts are manually curated to just few known attack\ntypes, which fails to keep pace with emerging varieties. Recent studies found\nthat attaching suffixes to harmful instructions can hack the defense of LLMs\nand lead to dangerous outputs. However, similar to traditional text adversarial\nattacks, this approach, while effective, is limited by the challenge of the\ndiscrete tokens. This gradient based discrete optimization attack requires over\n100,000 LLM calls, and due to the unreadable of adversarial suffixes, it can be\nrelatively easily penetrated by common defense methods such as perplexity\nfilters. To cope with this challenge, in this paper, we proposes an Adversarial\nSuffix Embedding Translation Framework (ASETF), aimed at transforming\ncontinuous adversarial suffix embeddings into coherent and understandable text.\nThis method greatly reduces the computational overhead during the attack\nprocess and helps to automatically generate multiple adversarial samples, which\ncan be used as data to strengthen LLMs security defense. Experimental\nevaluations were conducted on Llama2, Vicuna, and other prominent LLMs,\nemploying harmful directives sourced from the Advbench dataset. The results\nindicate that our method significantly reduces the computation time of\nadversarial suffixes and achieves a much better attack success rate to existing\ntechniques, while significantly enhancing the textual fluency of the prompts.\nIn addition, our approach can be generalized into a broader method for\ngenerating transferable adversarial suffixes that can successfully attack\nmultiple LLMs, even black-box LLMs, such as ChatGPT and Gemini.\n", "date": "2024-02-25", "categories": []} {"id": "2406.00775", "title": "Constrained Adaptive Attack: Effective Adversarial Attack Against Deep\n Neural Networks for Tabular Data", "abstract": " State-of-the-art deep learning models for tabular data have recently achieved\nacceptable performance to be deployed in industrial settings. However, the\nrobustness of these models remains scarcely explored. Contrary to computer\nvision, there are no effective attacks to properly evaluate the adversarial\nrobustness of deep tabular models due to intrinsic properties of tabular data,\nsuch as categorical features, immutability, and feature relationship\nconstraints. To fill this gap, we first propose CAPGD, a gradient attack that\novercomes the failures of existing gradient attacks with adaptive mechanisms.\nThis new attack does not require parameter tuning and further degrades the\naccuracy, up to 81% points compared to the previous gradient attacks. Second,\nwe design CAA, an efficient evasion attack that combines our CAPGD attack and\nMOEVA, the best search-based attack. We demonstrate the effectiveness of our\nattacks on five architectures and four critical use cases. Our empirical study\ndemonstrates that CAA outperforms all existing attacks in 17 over the 20\nsettings, and leads to a drop in the accuracy by up to 96.1% points and 21.9%\npoints compared to CAPGD and MOEVA respectively while being up to five times\nfaster than MOEVA. Given the effectiveness and efficiency of our new attacks,\nwe argue that they should become the minimal test for any new defense or robust\narchitectures in tabular machine learning.\n", "date": "2024-06-02", "categories": []} {"id": "2406.01765", "title": "Reproducibility Study on Adversarial Attacks Against Robust Transformer\n Trackers", "abstract": " New transformer networks have been integrated into object tracking pipelines\nand have demonstrated strong performance on the latest benchmarks. This paper\nfocuses on understanding how transformer trackers behave under adversarial\nattacks and how different attacks perform on tracking datasets as their\nparameters change. We conducted a series of experiments to evaluate the\neffectiveness of existing adversarial attacks on object trackers with\ntransformer and non-transformer backbones. We experimented on 7 different\ntrackers, including 3 that are transformer-based, and 4 which leverage other\narchitectures. These trackers are tested against 4 recent attack methods to\nassess their performance and robustness on VOT2022ST, UAV123 and GOT10k\ndatasets. Our empirical study focuses on evaluating adversarial robustness of\nobject trackers based on bounding box versus binary mask predictions, and\nattack methods at different levels of perturbations. Interestingly, our study\nfound that altering the perturbation level may not significantly affect the\noverall object tracking results after the attack. Similarly, the sparsity and\nimperceptibility of the attack perturbations may remain stable against\nperturbation level shifts. By applying a specific attack on all transformer\ntrackers, we show that new transformer trackers having a stronger\ncross-attention modeling achieve a greater adversarial robustness on tracking\ndatasets, such as VOT2022ST and GOT10k. Our results also indicate the necessity\nfor new attack methods to effectively tackle the latest types of transformer\ntrackers. The codes necessary to reproduce this study are available at\nhttps://github.com/fatemehN/ReproducibilityStudy.\n", "date": "2024-06-03", "categories": []} {"id": "2406.01894", "title": "SVASTIN: Sparse Video Adversarial Attack via Spatio-Temporal Invertible\n Neural Networks", "abstract": " Robust and imperceptible adversarial video attack is challenging due to the\nspatial and temporal characteristics of videos. The existing video adversarial\nattack methods mainly take a gradient-based approach and generate adversarial\nvideos with noticeable perturbations. In this paper, we propose a novel Sparse\nAdversarial Video Attack via Spatio-Temporal Invertible Neural Networks\n(SVASTIN) to generate adversarial videos through spatio-temporal feature space\ninformation exchanging. It consists of a Guided Target Video Learning (GTVL)\nmodule to balance the perturbation budget and optimization speed and a\nSpatio-Temporal Invertible Neural Network (STIN) module to perform\nspatio-temporal feature space information exchanging between a source video and\nthe target feature tensor learned by GTVL module. Extensive experiments on\nUCF-101 and Kinetics-400 demonstrate that our proposed SVASTIN can generate\nadversarial examples with higher imperceptibility than the state-of-the-art\nmethods with the higher fooling rate. Code is available at\n\\href{https://github.com/Brittany-Chen/SVASTIN}{https://github.com/Brittany-Chen/SVASTIN}.\n", "date": "2024-06-04", "categories": []} {"id": "2406.02064", "title": "Advancing Generalized Transfer Attack with Initialization Derived\n Bilevel Optimization and Dynamic Sequence Truncation", "abstract": " Transfer attacks generate significant interest for real-world black-box\napplications by crafting transferable adversarial examples through surrogate\nmodels. Whereas, existing works essentially directly optimize the single-level\nobjective w.r.t. the surrogate model, which always leads to poor\ninterpretability of attack mechanism and limited generalization performance\nover unknown victim models. In this work, we propose the\n\\textbf{B}il\\textbf{E}vel \\textbf{T}ransfer \\textbf{A}ttac\\textbf{K} (BETAK)\nframework by establishing an initialization derived bilevel optimization\nparadigm, which explicitly reformulates the nested constraint relationship\nbetween the Upper-Level (UL) pseudo-victim attacker and the Lower-Level (LL)\nsurrogate attacker. Algorithmically, we introduce the Hyper Gradient Response\n(HGR) estimation as an effective feedback for the transferability over\npseudo-victim attackers, and propose the Dynamic Sequence Truncation (DST)\ntechnique to dynamically adjust the back-propagation path for HGR and reduce\ncomputational overhead simultaneously. Meanwhile, we conduct detailed\nalgorithmic analysis and provide convergence guarantee to support non-convexity\nof the LL surrogate attacker. Extensive evaluations demonstrate substantial\nimprovement of BETAK (e.g., $\\mathbf{53.41}$\\% increase of attack success rates\nagainst IncRes-v$2_{ens}$) against different victims and defense methods in\ntargeted and untargeted attack scenarios. The source code is available at\nhttps://github.com/callous-youth/BETAK.\n", "date": "2024-06-04", "categories": []} {"id": "2309.17348", "title": "Intrinsic Biologically Plausible Adversarial Robustness", "abstract": " Artificial Neural Networks (ANNs) trained with Backpropagation (BP) excel in\ndifferent daily tasks but have a dangerous vulnerability: inputs with small\ntargeted perturbations, also known as adversarial samples, can drastically\ndisrupt their performance. Adversarial training, a technique in which the\ntraining dataset is augmented with exemplary adversarial samples, is proven to\nmitigate this problem but comes at a high computational cost. In contrast to\nANNs, humans are not susceptible to misclassifying these same adversarial\nsamples. Thus, one can postulate that biologically-plausible trained ANNs might\nbe more robust against adversarial attacks. In this work, we chose the\nbiologically-plausible learning algorithm Present the Error to Perturb the\nInput To modulate Activity (PEPITA) as a case study and investigated this\nquestion through a comparative analysis with BP-trained ANNs on various\ncomputer vision tasks. We observe that PEPITA has a higher intrinsic\nadversarial robustness and, when adversarially trained, also has a more\nfavorable natural-vs-adversarial performance trade-off. In particular, for the\nsame natural accuracies on the MNIST task, PEPITA's adversarial accuracies\ndecrease on average only by 0.26% while BP's decrease by 8.05%.\n", "date": "2023-09-29", "categories": []} {"id": "2404.05311", "title": "BruSLeAttack: A Query-Efficient Score-Based Black-Box Sparse Adversarial\n Attack", "abstract": " We study the unique, less-well understood problem of generating sparse\nadversarial samples simply by observing the score-based replies to model\nqueries. Sparse attacks aim to discover a minimum number-the l0\nbounded-perturbations to model inputs to craft adversarial examples and\nmisguide model decisions. But, in contrast to query-based dense attack\ncounterparts against black-box models, constructing sparse adversarial\nperturbations, even when models serve confidence score information to queries\nin a score-based setting, is non-trivial. Because, such an attack leads to i)\nan NP-hard problem; and ii) a non-differentiable search space. We develop the\nBruSLeAttack-a new, faster (more query-efficient) Bayesian algorithm for the\nproblem. We conduct extensive attack evaluations including an attack\ndemonstration against a Machine Learning as a Service (MLaaS) offering\nexemplified by Google Cloud Vision and robustness testing of adversarial\ntraining regimes and a recent defense against black-box attacks. The proposed\nattack scales to achieve state-of-the-art attack success rates and query\nefficiency on standard computer vision tasks such as ImageNet across different\nmodel architectures. Our artefacts and DIY attack samples are available on\nGitHub. Importantly, our work facilitates faster evaluation of model\nvulnerabilities and raises our vigilance on the safety, security and\nreliability of deployed systems.\n", "date": "2024-04-08", "categories": []} {"id": "2405.18741", "title": "Genshin: General Shield for Natural Language Processing with Large\n Language Models", "abstract": " Large language models (LLMs) like ChatGPT, Gemini, or LLaMA have been\ntrending recently, demonstrating considerable advancement and generalizability\npower in countless domains. However, LLMs create an even bigger black box\nexacerbating opacity, with interpretability limited to few approaches. The\nuncertainty and opacity embedded in LLMs' nature restrict their application in\nhigh-stakes domains like financial fraud, phishing, etc. Current approaches\nmainly rely on traditional textual classification with posterior interpretable\nalgorithms, suffering from attackers who may create versatile adversarial\nsamples to break the system's defense, forcing users to make trade-offs between\nefficiency and robustness. To address this issue, we propose a novel cascading\nframework called Genshin (General Shield for Natural Language Processing with\nLarge Language Models), utilizing LLMs as defensive one-time plug-ins. Unlike\nmost applications of LLMs that try to transform text into something new or\nstructural, Genshin uses LLMs to recover text to its original state. Genshin\naims to combine the generalizability of the LLM, the discrimination of the\nmedian model, and the interpretability of the simple model. Our experiments on\nthe task of sentimental analysis and spam detection have shown fatal flaws of\nthe current median models and exhilarating results on LLMs' recovery ability,\ndemonstrating that Genshin is both effective and efficient. In our ablation\nstudy, we unearth several intriguing observations. Utilizing the LLM defender,\na tool derived from the 4th paradigm, we have reproduced BERT's 15% optimal\nmask rate results in the 3rd paradigm of NLP. Additionally, when employing the\nLLM as a potential adversarial tool, attackers are capable of executing\neffective attacks that are nearly semantically lossless.\n", "date": "2024-05-29", "categories": []} {"id": "2406.00282", "title": "Adversarial 3D Virtual Patches using Integrated Gradients", "abstract": " LiDAR sensors are widely used in autonomous vehicles to better perceive the\nenvironment. However, prior works have shown that LiDAR signals can be spoofed\nto hide real objects from 3D object detectors. This study explores the\nfeasibility of reducing the required spoofing area through a novel\nobject-hiding strategy based on virtual patches (VPs). We first manually design\nVPs (MVPs) and show that VP-focused attacks can achieve similar success rates\nwith prior work but with a fraction of the required spoofing area. Then we\ndesign a framework Saliency-LiDAR (SALL), which can identify critical regions\nfor LiDAR objects using Integrated Gradients. VPs crafted on critical regions\n(CVPs) reduce object detection recall by at least 15% compared to our baseline\nwith an approximate 50% reduction in the spoofing area for vehicles of average\nsize.\n", "date": "2024-06-01", "categories": []} {"id": "2406.00685", "title": "Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial\n Training", "abstract": " Adversarial training (AT) trains models using adversarial examples (AEs),\nwhich are natural images modified with specific perturbations to mislead the\nmodel. These perturbations are constrained by a predefined perturbation budget\n$\\epsilon$ and are equally applied to each pixel within an image. However, in\nthis paper, we discover that not all pixels contribute equally to the accuracy\non AEs (i.e., robustness) and accuracy on natural images (i.e., accuracy).\nMotivated by this finding, we propose Pixel-reweighted AdveRsarial Training\n(PART), a new framework that partially reduces $\\epsilon$ for less influential\npixels, guiding the model to focus more on key regions that affect its outputs.\nSpecifically, we first use class activation mapping (CAM) methods to identify\nimportant pixel regions, then we keep the perturbation budget for these regions\nwhile lowering it for the remaining regions when generating AEs. In the end, we\nuse these pixel-reweighted AEs to train a model. PART achieves a notable\nimprovement in accuracy without compromising robustness on CIFAR-10, SVHN and\nTinyImagenet-200, justifying the necessity to allocate distinct weights to\ndifferent pixel regions in robust classification.\n", "date": "2024-06-02", "categories": []} {"id": "2406.00699", "title": "Towards General Robustness Verification of MaxPool-based Convolutional\n Neural Networks via Tightening Linear Approximation", "abstract": " The robustness of convolutional neural networks (CNNs) is vital to modern\nAI-driven systems. It can be quantified by formal verification by providing a\ncertified lower bound, within which any perturbation does not alter the\noriginal input's classification result. It is challenging due to nonlinear\ncomponents, such as MaxPool. At present, many verification methods are sound\nbut risk losing some precision to enhance efficiency and scalability, and thus,\na certified lower bound is a crucial criterion for evaluating the performance\nof verification tools. In this paper, we present MaxLin, a robustness verifier\nfor MaxPool-based CNNs with tight linear approximation. By tightening the\nlinear approximation of the MaxPool function, we can certify larger certified\nlower bounds of CNNs. We evaluate MaxLin with open-sourced benchmarks,\nincluding LeNet and networks trained on the MNIST, CIFAR-10, and Tiny ImageNet\ndatasets. The results show that MaxLin outperforms state-of-the-art tools with\nup to 110.60% improvement regarding the certified lower bound and 5.13 $\\times$\nspeedup for the same neural networks. Our code is available at\nhttps://github.com/xiaoyuanpigo/maxlin.\n", "date": "2024-06-02", "categories": []} {"id": "2311.15356", "title": "Having Second Thoughts? Let's hear it", "abstract": " Deep learning models loosely mimic bottom-up signal pathways from low-order\nsensory areas to high-order cognitive areas. After training, DL models can\noutperform humans on some domain-specific tasks, but their decision-making\nprocess has been known to be easily disrupted. Since the human brain consists\nof multiple functional areas highly connected to one another and relies on\nintricate interplays between bottom-up and top-down (from high-order to\nlow-order areas) processing, we hypothesize that incorporating top-down signal\nprocessing may make DL models more robust. To address this hypothesis, we\npropose a certification process mimicking selective attention and test if it\ncould make DL models more robust. Our empirical evaluations suggest that this\nnewly proposed certification can improve DL models' accuracy and help us build\nsafety measures to alleviate their vulnerabilities with both artificial and\nnatural adversarial examples.\n", "date": "2023-11-26", "categories": []} {"id": "2405.12424", "title": "Rethinking Robustness Assessment: Adversarial Attacks on Learning-based\n Quadrupedal Locomotion Controllers", "abstract": " Legged locomotion has recently achieved remarkable success with the progress\nof machine learning techniques, especially deep reinforcement learning (RL).\nControllers employing neural networks have demonstrated empirical and\nqualitative robustness against real-world uncertainties, including sensor noise\nand external perturbations. However, formally investigating the vulnerabilities\nof these locomotion controllers remains a challenge. This difficulty arises\nfrom the requirement to pinpoint vulnerabilities across a long-tailed\ndistribution within a high-dimensional, temporally sequential space. As a first\nstep towards quantitative verification, we propose a computational method that\nleverages sequential adversarial attacks to identify weaknesses in learned\nlocomotion controllers. Our research demonstrates that, even state-of-the-art\nrobust controllers can fail significantly under well-designed, low-magnitude\nadversarial sequence. Through experiments in simulation and on the real robot,\nwe validate our approach's effectiveness, and we illustrate how the results it\ngenerates can be used to robustify the original policy and offer valuable\ninsights into the safety of these black-box policies. Project page:\nhttps://fanshi14.github.io/me/rss24.html\n", "date": "2024-05-21", "categories": []} {"id": "2405.20355", "title": "Enhancing Adversarial Robustness in SNNs with Sparse Gradients", "abstract": " Spiking Neural Networks (SNNs) have attracted great attention for their\nenergy-efficient operations and biologically inspired structures, offering\npotential advantages over Artificial Neural Networks (ANNs) in terms of energy\nefficiency and interpretability. Nonetheless, similar to ANNs, the robustness\nof SNNs remains a challenge, especially when facing adversarial attacks.\nExisting techniques, whether adapted from ANNs or specifically designed for\nSNNs, exhibit limitations in training SNNs or defending against strong attacks.\nIn this paper, we propose a novel approach to enhance the robustness of SNNs\nthrough gradient sparsity regularization. We observe that SNNs exhibit greater\nresilience to random perturbations compared to adversarial perturbations, even\nat larger scales. Motivated by this, we aim to narrow the gap between SNNs\nunder adversarial and random perturbations, thereby improving their overall\nrobustness. To achieve this, we theoretically prove that this performance gap\nis upper bounded by the gradient sparsity of the probability associated with\nthe true label concerning the input image, laying the groundwork for a\npractical strategy to train robust SNNs by regularizing the gradient sparsity.\nWe validate the effectiveness of our approach through extensive experiments on\nboth image-based and event-based datasets. The results demonstrate notable\nimprovements in the robustness of SNNs. Our work highlights the importance of\ngradient sparsity in SNNs and its role in enhancing robustness.\n", "date": "2024-05-30", "categories": []} {"id": "2405.20672", "title": "Investigating and unmasking feature-level vulnerabilities of CNNs to\n adversarial perturbations", "abstract": " This study explores the impact of adversarial perturbations on Convolutional\nNeural Networks (CNNs) with the aim of enhancing the understanding of their\nunderlying mechanisms. Despite numerous defense methods proposed in the\nliterature, there is still an incomplete understanding of this phenomenon.\nInstead of treating the entire model as vulnerable, we propose that specific\nfeature maps learned during training contribute to the overall vulnerability.\nTo investigate how the hidden representations learned by a CNN affect its\nvulnerability, we introduce the Adversarial Intervention framework. Experiments\nwere conducted on models trained on three well-known computer vision datasets,\nsubjecting them to attacks of different nature. Our focus centers on the\neffects that adversarial perturbations to a model's initial layer have on the\noverall behavior of the model. Empirical results revealed compelling insights:\na) perturbing selected channel combinations in shallow layers causes\nsignificant disruptions; b) the channel combinations most responsible for the\ndisruptions are common among different types of attacks; c) despite shared\nvulnerable combinations of channels, different attacks affect hidden\nrepresentations with varying magnitudes; d) there exists a positive correlation\nbetween a kernel's magnitude and its vulnerability. In conclusion, this work\nintroduces a novel framework to study the vulnerability of a CNN model to\nadversarial perturbations, revealing insights that contribute to a deeper\nunderstanding of the phenomenon. The identified properties pave the way for the\ndevelopment of efficient ad-hoc defense mechanisms in future applications.\n", "date": "2024-05-31", "categories": []} {"id": "2403.05955", "title": "IOI: Invisible One-Iteration Adversarial Attack on No-Reference Image-\n and Video-Quality Metrics", "abstract": " No-reference image- and video-quality metrics are widely used in video\nprocessing benchmarks. The robustness of learning-based metrics under video\nattacks has not been widely studied. In addition to having success, attacks\nthat can be employed in video processing benchmarks must be fast and\nimperceptible. This paper introduces an Invisible One-Iteration (IOI)\nadversarial attack on no reference image and video quality metrics. We compared\nour method alongside eight prior approaches using image and video datasets via\nobjective and subjective tests. Our method exhibited superior visual quality\nacross various attacked metric architectures while maintaining comparable\nattack success and speed. We made the code available on GitHub:\nhttps://github.com/katiashh/ioi-attack.\n", "date": "2024-03-09", "categories": []} {"id": "2405.19424", "title": "Diffusion Policy Attacker: Crafting Adversarial Attacks for\n Diffusion-based Policies", "abstract": " Diffusion models (DMs) have emerged as a promising approach for behavior\ncloning (BC). Diffusion policies (DP) based on DMs have elevated BC performance\nto new heights, demonstrating robust efficacy across diverse tasks, coupled\nwith their inherent flexibility and ease of implementation. Despite the\nincreasing adoption of DP as a foundation for policy generation, the critical\nissue of safety remains largely unexplored. While previous attempts have\ntargeted deep policy networks, DP used diffusion models as the policy network,\nmaking it ineffective to be attacked using previous methods because of its\nchained structure and randomness injected. In this paper, we undertake a\ncomprehensive examination of DP safety concerns by introducing adversarial\nscenarios, encompassing offline and online attacks, and global and patch-based\nattacks. We propose DP-Attacker, a suite of algorithms that can craft effective\nadversarial attacks across all aforementioned scenarios. We conduct attacks on\npre-trained diffusion policies across various manipulation tasks. Through\nextensive experiments, we demonstrate that DP-Attacker has the capability to\nsignificantly decrease the success rate of DP for all scenarios. Particularly\nin offline scenarios, DP-Attacker can generate highly transferable\nperturbations applicable to all frames. Furthermore, we illustrate the creation\nof adversarial physical patches that, when applied to the environment,\neffectively deceive the model. Video results are put in:\nhttps://sites.google.com/view/diffusion-policy-attacker.\n", "date": "2024-05-29", "categories": []} {"id": "2405.19956", "title": "HOLMES: to Detect Adversarial Examples with Multiple Detectors", "abstract": " Deep neural networks (DNNs) can easily be cheated by some imperceptible but\npurposeful noise added to images, and erroneously classify them. Previous\ndefensive work mostly focused on retraining the models or detecting the noise,\nbut has either shown limited success rates or been attacked by new adversarial\nexamples. Instead of focusing on adversarial images or the interior of DNN\nmodels, we observed that adversarial examples generated by different algorithms\ncan be identified based on the output of DNNs (logits). Logit can serve as an\nexterior feature to train detectors. Then, we propose HOLMES (Hierarchically\nOrganized Light-weight Multiple dEtector System) to reinforce DNNs by detecting\npotential adversarial examples to minimize the threats they may bring in\npractical. HOLMES is able to distinguish \\textit{unseen} adversarial examples\nfrom multiple attacks with high accuracy and low false positive rates than\nsingle detector systems even in an adaptive model. To ensure the diversity and\nrandomness of detectors in HOLMES, we use two methods: training dedicated\ndetectors for each label and training detectors with top-k logits. Our\neffective and inexpensive strategies neither modify original DNN models nor\nrequire its internal parameters. HOLMES is not only compatible with all kinds\nof learning models (even only with external APIs), but also complementary to\nother defenses to achieve higher detection rates (may also fully protect the\nsystem against various adversarial examples).\n", "date": "2024-05-30", "categories": []} {"id": "2306.09192", "title": "DiffAug: A Diffuse-and-Denoise Augmentation for Training Robust\n Classifiers", "abstract": " We introduce DiffAug, a simple and efficient diffusion-based augmentation\ntechnique to train image classifiers for the crucial yet challenging goal of\nimproved classifier robustness. Applying DiffAug to a given example consists of\none forward-diffusion step followed by one reverse-diffusion step. Using both\nResNet-50 and Vision Transformer architectures, we comprehensively evaluate\nclassifiers trained with DiffAug and demonstrate the surprising effectiveness\nof single-step reverse diffusion in improving robustness to covariate shifts,\ncertified adversarial accuracy and out of distribution detection. When we\ncombine DiffAug with other augmentations such as AugMix and DeepAugment we\ndemonstrate further improved robustness. Finally, building on this approach, we\nalso improve classifier-guided diffusion wherein we observe improvements in:\n(i) classifier-generalization, (ii) gradient quality (i.e., improved perceptual\nalignment) and (iii) image generation performance. We thus introduce a\ncomputationally efficient technique for training with improved robustness that\ndoes not require any additional data, and effectively complements existing\naugmentation approaches.\n", "date": "2023-06-15", "categories": []} {"id": "2403.10461", "title": "Introducing Adaptive Continuous Adversarial Training (ACAT) to Enhance\n ML Robustness", "abstract": " Adversarial training enhances the robustness of Machine Learning (ML) models\nagainst adversarial attacks. However, obtaining labeled training and\nadversarial training data in network/cybersecurity domains is challenging and\ncostly. Therefore, this letter introduces Adaptive Continuous Adversarial\nTraining (ACAT), a method that integrates adversarial training samples into the\nmodel during continuous learning sessions using real-world detected adversarial\ndata. Experimental results with a SPAM detection dataset demonstrate that ACAT\nreduces the time required for adversarial sample detection compared to\ntraditional processes. Moreover, the accuracy of the under-attack ML-based SPAM\nfilter increased from 69% to over 88% after just three retraining sessions.\n", "date": "2024-03-15", "categories": []} {"id": "2405.19098", "title": "Efficient Black-box Adversarial Attacks via Bayesian Optimization Guided\n by a Function Prior", "abstract": " This paper studies the challenging black-box adversarial attack that aims to\ngenerate adversarial examples against a black-box model by only using output\nfeedback of the model to input queries. Some previous methods improve the query\nefficiency by incorporating the gradient of a surrogate white-box model into\nquery-based attacks due to the adversarial transferability. However, the\nlocalized gradient is not informative enough, making these methods still\nquery-intensive. In this paper, we propose a Prior-guided Bayesian Optimization\n(P-BO) algorithm that leverages the surrogate model as a global function prior\nin black-box adversarial attacks. As the surrogate model contains rich prior\ninformation of the black-box one, P-BO models the attack objective with a\nGaussian process whose mean function is initialized as the surrogate model's\nloss. Our theoretical analysis on the regret bound indicates that the\nperformance of P-BO may be affected by a bad prior. Therefore, we further\npropose an adaptive integration strategy to automatically adjust a coefficient\non the function prior by minimizing the regret bound. Extensive experiments on\nimage classifiers and large vision-language models demonstrate the superiority\nof the proposed algorithm in reducing queries and improving attack success\nrates compared with the state-of-the-art black-box attacks. Code is available\nat https://github.com/yibo-miao/PBO-Attack.\n", "date": "2024-05-29", "categories": []} {"id": "2405.15244", "title": "Adversarial Attacks on Hidden Tasks in Multi-Task Learning", "abstract": " Deep learning models are susceptible to adversarial attacks, where slight\nperturbations to input data lead to misclassification. Adversarial attacks\nbecome increasingly effective with access to information about the targeted\nclassifier. In the context of multi-task learning, where a single model learns\nmultiple tasks simultaneously, attackers may aim to exploit vulnerabilities in\nspecific tasks with limited information. This paper investigates the\nfeasibility of attacking hidden tasks within multi-task classifiers, where\nmodel access regarding the hidden target task and labeled data for the hidden\ntarget task are not available, but model access regarding the non-target tasks\nis available. We propose a novel adversarial attack method that leverages\nknowledge from non-target tasks and the shared backbone network of the\nmulti-task model to force the model to forget knowledge related to the target\ntask. Experimental results on CelebA and DeepFashion datasets demonstrate the\neffectiveness of our method in degrading the accuracy of hidden tasks while\npreserving the performance of visible tasks, contributing to the understanding\nof adversarial vulnerabilities in multi-task classifiers.\n", "date": "2024-05-24", "categories": []} {"id": "2405.17678", "title": "TIMA: Text-Image Mutual Awareness for Balancing Zero-Shot Adversarial\n Robustness and Generalization Ability", "abstract": " This work addresses the challenge of achieving zero-shot adversarial\nrobustness while preserving zero-shot generalization in large-scale foundation\nmodels, with a focus on the popular Contrastive Language-Image Pre-training\n(CLIP). Although foundation models were reported to have exceptional zero-shot\ngeneralization, they are highly vulnerable to adversarial perturbations.\nExisting methods achieve a comparable good tradeoff between zero-shot\nadversarial robustness and generalization under small adversarial\nperturbations. However, they fail to achieve a good tradeoff under large\nadversarial perturbations. To this end, we propose a novel Text-Image Mutual\nAwareness (TIMA) method that strikes a balance between zero-shot adversarial\nrobustness and generalization. More precisely, we propose an Image-Aware Text\n(IAT) tuning mechanism that increases the inter-class distance of text\nembeddings by incorporating the Minimum Hyperspherical Energy (MHE).\nSimultaneously, fixed pre-trained image embeddings are used as cross-modal\nauxiliary supervision to maintain the similarity between the MHE-tuned and\noriginal text embeddings by the knowledge distillation, preserving semantic\ninformation between different classes. Besides, we introduce a Text-Aware Image\n(TAI) tuning mechanism, which increases inter-class distance between image\nembeddings during the training stage by Text-distance based Adaptive Margin\n(TAM). Similarly, a knowledge distillation is utilized to retain the similarity\nbetween fine-tuned and pre-trained image embeddings. Extensive experimental\nresults demonstrate the effectiveness of our approach, showing impressive\nzero-shot performance against a wide range of adversarial perturbations while\npreserving the zero-shot generalization capabilities of the original CLIP\nmodel.\n", "date": "2024-05-27", "categories": []} {"id": "2405.17929", "title": "Towards Unified Robustness Against Both Backdoor and Adversarial Attacks", "abstract": " Deep Neural Networks (DNNs) are known to be vulnerable to both backdoor and\nadversarial attacks. In the literature, these two types of attacks are commonly\ntreated as distinct robustness problems and solved separately, since they\nbelong to training-time and inference-time attacks respectively. However, this\npaper revealed that there is an intriguing connection between them: (1)\nplanting a backdoor into a model will significantly affect the model's\nadversarial examples; (2) for an infected model, its adversarial examples have\nsimilar features as the triggered images. Based on these observations, a novel\nProgressive Unified Defense (PUD) algorithm is proposed to defend against\nbackdoor and adversarial attacks simultaneously. Specifically, our PUD has a\nprogressive model purification scheme to jointly erase backdoors and enhance\nthe model's adversarial robustness. At the early stage, the adversarial\nexamples of infected models are utilized to erase backdoors. With the backdoor\ngradually erased, our model purification can naturally turn into a stage to\nboost the model's robustness against adversarial attacks. Besides, our PUD\nalgorithm can effectively identify poisoned images, which allows the initial\nextra dataset not to be completely clean. Extensive experimental results show\nthat, our discovered connection between backdoor and adversarial attacks is\nubiquitous, no matter what type of backdoor attack. The proposed PUD\noutperforms the state-of-the-art backdoor defense, including the model\nrepairing-based and data filtering-based methods. Besides, it also has the\nability to compete with the most advanced adversarial defense methods.\n", "date": "2024-05-28", "categories": []} {"id": "2305.05400", "title": "Investigating the Corruption Robustness of Image Classifiers with Random\n Lp-norm Corruptions", "abstract": " Robustness is a fundamental property of machine learning classifiers required\nto achieve safety and reliability. In the field of adversarial robustness of\nimage classifiers, robustness is commonly defined as the stability of a model\nto all input changes within a p-norm distance. However, in the field of random\ncorruption robustness, variations observed in the real world are used, while\np-norm corruptions are rarely considered. This study investigates the use of\nrandom p-norm corruptions to augment the training and test data of image\nclassifiers. We evaluate the model robustness against imperceptible random\np-norm corruptions and propose a novel robustness metric. We empirically\ninvestigate whether robustness transfers across different p-norms and derive\nconclusions on which p-norm corruptions a model should be trained and\nevaluated. We find that training data augmentation with a combination of p-norm\ncorruptions significantly improves corruption robustness, even on top of\nstate-of-the-art data augmentation schemes.\n", "date": "2023-05-09", "categories": []} {"id": "2307.16865", "title": "Universal Adversarial Defense in Remote Sensing Based on Pre-trained\n Denoising Diffusion Models", "abstract": " Deep neural networks (DNNs) have risen to prominence as key solutions in\nnumerous AI applications for earth observation (AI4EO). However, their\nsusceptibility to adversarial examples poses a critical challenge, compromising\nthe reliability of AI4EO algorithms. This paper presents a novel Universal\nAdversarial Defense approach in Remote Sensing Imagery (UAD-RS), leveraging\npre-trained diffusion models to protect DNNs against universal adversarial\nexamples exhibiting heterogeneous patterns. Specifically, a universal\nadversarial purification framework is developed utilizing pre-trained diffusion\nmodels to mitigate adversarial perturbations through the introduction of\nGaussian noise and subsequent purification of the perturbations from\nadversarial examples. Additionally, an Adaptive Noise Level Selection (ANLS)\nmechanism is introduced to determine the optimal noise level for the\npurification framework with a task-guided Frechet Inception Distance (FID)\nranking strategy, thereby enhancing purification performance. Consequently,\nonly a single pre-trained diffusion model is required for purifying universal\nadversarial samples with heterogeneous patterns across each dataset,\nsignificantly reducing training efforts for multiple attack settings while\nmaintaining high performance without prior knowledge of adversarial\nperturbations. Experimental results on four heterogeneous RS datasets, focusing\non scene classification and semantic segmentation, demonstrate that UAD-RS\noutperforms state-of-the-art adversarial purification approaches, providing\nuniversal defense against seven commonly encountered adversarial perturbations.\nCodes and the pre-trained models are available online\n(https://github.com/EricYu97/UAD-RS).\n", "date": "2023-07-31", "categories": []} {"id": "2309.16096", "title": "Adversarial Examples Might be Avoidable: The Role of Data Concentration\n in Adversarial Robustness", "abstract": " The susceptibility of modern machine learning classifiers to adversarial\nexamples has motivated theoretical results suggesting that these might be\nunavoidable. However, these results can be too general to be applicable to\nnatural data distributions. Indeed, humans are quite robust for tasks involving\nvision. This apparent conflict motivates a deeper dive into the question: Are\nadversarial examples truly unavoidable? In this work, we theoretically\ndemonstrate that a key property of the data distribution -- concentration on\nsmall-volume subsets of the input space -- determines whether a robust\nclassifier exists. We further demonstrate that, for a data distribution\nconcentrated on a union of low-dimensional linear subspaces, utilizing\nstructure in data naturally leads to classifiers that enjoy data-dependent\npolyhedral robustness guarantees, improving upon methods for provable\ncertification in certain regimes.\n", "date": "2023-09-28", "categories": []} {"id": "2404.00924", "title": "BadPart: Unified Black-box Adversarial Patch Attacks against Pixel-wise\n Regression Tasks", "abstract": " Pixel-wise regression tasks (e.g., monocular depth estimation (MDE) and\noptical flow estimation (OFE)) have been widely involved in our daily life in\napplications like autonomous driving, augmented reality and video composition.\nAlthough certain applications are security-critical or bear societal\nsignificance, the adversarial robustness of such models are not sufficiently\nstudied, especially in the black-box scenario. In this work, we introduce the\nfirst unified black-box adversarial patch attack framework against pixel-wise\nregression tasks, aiming to identify the vulnerabilities of these models under\nquery-based black-box attacks. We propose a novel square-based adversarial\npatch optimization framework and employ probabilistic square sampling and\nscore-based gradient estimation techniques to generate the patch effectively\nand efficiently, overcoming the scalability problem of previous black-box patch\nattacks. Our attack prototype, named BadPart, is evaluated on both MDE and OFE\ntasks, utilizing a total of 7 models. BadPart surpasses 3 baseline methods in\nterms of both attack performance and efficiency. We also apply BadPart on the\nGoogle online service for portrait depth estimation, causing 43.5% relative\ndistance error with 50K queries. State-of-the-art (SOTA) countermeasures cannot\ndefend our attack effectively.\n", "date": "2024-04-01", "categories": []} {"id": "2405.11336", "title": "UPAM: Unified Prompt Attack in Text-to-Image Generation Models Against\n Both Textual Filters and Visual Checkers", "abstract": " Text-to-Image (T2I) models have raised security concerns due to their\npotential to generate inappropriate or harmful images. In this paper, we\npropose UPAM, a novel framework that investigates the robustness of T2I models\nfrom the attack perspective. Unlike most existing attack methods that focus on\ndeceiving textual defenses, UPAM aims to deceive both textual and visual\ndefenses in T2I models. UPAM enables gradient-based optimization, offering\ngreater effectiveness and efficiency than previous methods. Given that T2I\nmodels might not return results due to defense mechanisms, we introduce a\nSphere-Probing Learning (SPL) scheme to support gradient optimization even when\nno results are returned. Additionally, we devise a Semantic-Enhancing Learning\n(SEL) scheme to finetune UPAM for generating target-aligned images. Our\nframework also ensures attack stealthiness. Extensive experiments demonstrate\nUPAM's effectiveness and efficiency.\n", "date": "2024-05-18", "categories": []} {"id": "2405.11708", "title": "Adaptive Batch Normalization Networks for Adversarial Robustness", "abstract": " Deep networks are vulnerable to adversarial examples. Adversarial Training\n(AT) has been a standard foundation of modern adversarial defense approaches\ndue to its remarkable effectiveness. However, AT is extremely time-consuming,\nrefraining it from wide deployment in practical applications. In this paper, we\naim at a non-AT defense: How to design a defense method that gets rid of AT but\nis still robust against strong adversarial attacks? To answer this question, we\nresort to adaptive Batch Normalization (BN), inspired by the recent advances in\ntest-time domain adaptation. We propose a novel defense accordingly, referred\nto as the Adaptive Batch Normalization Network (ABNN). ABNN employs a\npre-trained substitute model to generate clean BN statistics and sends them to\nthe target model. The target model is exclusively trained on clean data and\nlearns to align the substitute model's BN statistics. Experimental results show\nthat ABNN consistently improves adversarial robustness against both digital and\nphysically realizable attacks on both image and video datasets. Furthermore,\nABNN can achieve higher clean data performance and significantly lower training\ntime complexity compared to AT-based approaches.\n", "date": "2024-05-20", "categories": []} {"id": "2405.15971", "title": "Robust width: A lightweight and certifiable adversarial defense", "abstract": " Deep neural networks are vulnerable to so-called adversarial examples: inputs\nwhich are intentionally constructed to cause the model to make incorrect\npredictions or classifications. Adversarial examples are often visually\nindistinguishable from natural data samples, making them hard to detect. As\nsuch, they pose significant threats to the reliability of deep learning\nsystems. In this work, we study an adversarial defense based on the robust\nwidth property (RWP), which was recently introduced for compressed sensing. We\nshow that a specific input purification scheme based on the RWP gives\ntheoretical robustness guarantees for images that are approximately sparse. The\ndefense is easy to implement and can be applied to any existing model without\nadditional training or finetuning. We empirically validate the defense on\nImageNet against $L^\\infty$ perturbations at perturbation budgets ranging from\n$4/255$ to $32/255$. In the black-box setting, our method significantly\noutperforms the state-of-the-art, especially for large perturbations. In the\nwhite-box setting, depending on the choice of base classifier, we closely match\nthe state of the art in robust ImageNet classification while avoiding the need\nfor additional data, larger models or expensive adversarial training routines.\nOur code is available at https://github.com/peck94/robust-width-defense.\n", "date": "2024-05-24", "categories": []} {"id": "2405.16036", "title": "Certifying Adapters: Enabling and Enhancing the Certification of\n Classifier Adversarial Robustness", "abstract": " Randomized smoothing has become a leading method for achieving certified\nrobustness in deep classifiers against l_{p}-norm adversarial perturbations.\nCurrent approaches for achieving certified robustness, such as data\naugmentation with Gaussian noise and adversarial training, require expensive\ntraining procedures that tune large models for different Gaussian noise levels\nand thus cannot leverage high-performance pre-trained neural networks. In this\nwork, we introduce a novel certifying adapters framework (CAF) that enables and\nenhances the certification of classifier adversarial robustness. Our approach\nmakes few assumptions about the underlying training algorithm or feature\nextractor and is thus broadly applicable to different feature extractor\narchitectures (e.g., convolutional neural networks or vision transformers) and\nsmoothing algorithms. We show that CAF (a) enables certification in uncertified\nmodels pre-trained on clean datasets and (b) substantially improves the\nperformance of certified classifiers via randomized smoothing and SmoothAdv at\nmultiple radii in CIFAR-10 and ImageNet. We demonstrate that CAF achieves\nimproved certified accuracies when compared to methods based on random or\ndenoised smoothing, and that CAF is insensitive to certifying adapter\nhyperparameters. Finally, we show that an ensemble of adapters enables a single\npre-trained feature extractor to defend against a range of noise perturbation\nscales.\n", "date": "2024-05-25", "categories": []} {"id": "2405.17181", "title": "Spectral regularization for adversarially-robust representation learning", "abstract": " The vulnerability of neural network classifiers to adversarial attacks is a\nmajor obstacle to their deployment in safety-critical applications.\nRegularization of network parameters during training can be used to improve\nadversarial robustness and generalization performance. Usually, the network is\nregularized end-to-end, with parameters at all layers affected by\nregularization. However, in settings where learning representations is key,\nsuch as self-supervised learning (SSL), layers after the feature representation\nwill be discarded when performing inference. For these models, regularizing up\nto the feature space is more suitable. To this end, we propose a new spectral\nregularizer for representation learning that encourages black-box adversarial\nrobustness in downstream classification tasks. In supervised classification\nsettings, we show empirically that this method is more effective in boosting\ntest accuracy and robustness than previously-proposed methods that regularize\nall layers of the network. We then show that this method improves the\nadversarial robustness of classifiers using representations learned with\nself-supervised training or transferred from another classification task. In\nall, our work begins to unveil how representational structure affects\nadversarial robustness.\n", "date": "2024-05-27", "categories": []} {"id": "2405.14923", "title": "How Does Bayes Error Limit Probabilistic Robust Accuracy", "abstract": " Adversarial examples pose a security threat to many critical systems built on\nneural networks. Given that deterministic robustness often comes with\nsignificantly reduced accuracy, probabilistic robustness (i.e., the probability\nof having the same label with a vicinity is $\\ge 1-\\kappa$) has been proposed\nas a promising way of achieving robustness whilst maintaining accuracy.\nHowever, existing training methods for probabilistic robustness still\nexperience non-trivial accuracy loss. It is unclear whether there is an upper\nbound on the accuracy when optimising towards probabilistic robustness, and\nwhether there is a certain relationship between $\\kappa$ and this bound. This\nwork studies these problems from a Bayes error perspective. We find that while\nBayes uncertainty does affect probabilistic robustness, its impact is smaller\nthan that on deterministic robustness. This reduced Bayes uncertainty allows a\nhigher upper bound on probabilistic robust accuracy than that on deterministic\nrobust accuracy. Further, we prove that with optimal probabilistic robustness,\neach probabilistically robust input is also deterministically robust in a\nsmaller vicinity. We also show that voting within the vicinity always improves\nprobabilistic robust accuracy and the upper bound of probabilistic robust\naccuracy monotonically increases as $\\kappa$ grows. Our empirical findings also\nalign with our results.\n", "date": "2024-05-23", "categories": []} {"id": "2405.14934", "title": "Universal Robustness via Median Randomized Smoothing for Real-World\n Super-Resolution", "abstract": " Most of the recent literature on image Super-Resolution (SR) can be\nclassified into two main approaches. The first one involves learning a\ncorruption model tailored to a specific dataset, aiming to mimic the noise and\ncorruption in low-resolution images, such as sensor noise. However, this\napproach is data-specific, tends to lack adaptability, and its accuracy\ndiminishes when faced with unseen types of image corruptions. A second and more\nrecent approach, referred to as Robust Super-Resolution (RSR), proposes to\nimprove real-world SR by harnessing the generalization capabilities of a model\nby making it robust to adversarial attacks. To delve further into this second\napproach, our paper explores the universality of various methods for enhancing\nthe robustness of deep learning SR models. In other words, we inquire: \"Which\nrobustness method exhibits the highest degree of adaptability when dealing with\na wide range of adversarial attacks ?\". Our extensive experimentation on both\nsynthetic and real-world images empirically demonstrates that median randomized\nsmoothing (MRS) is more general in terms of robustness compared to adversarial\nlearning techniques, which tend to focus on specific types of attacks.\nFurthermore, as expected, we also illustrate that the proposed universal robust\nmethod enables the SR model to handle standard corruptions more effectively,\nsuch as blur and Gaussian noise, and notably, corruptions naturally present in\nreal-world images. These results support the significance of shifting the\nparadigm in the development of real-world SR methods towards RSR, especially\nvia MRS.\n", "date": "2024-05-23", "categories": []} {"id": "2401.15335", "title": "L-AutoDA: Leveraging Large Language Models for Automated Decision-based\n Adversarial Attacks", "abstract": " In the rapidly evolving field of machine learning, adversarial attacks\npresent a significant challenge to model robustness and security.\nDecision-based attacks, which only require feedback on the decision of a model\nrather than detailed probabilities or scores, are particularly insidious and\ndifficult to defend against. This work introduces L-AutoDA (Large Language\nModel-based Automated Decision-based Adversarial Attacks), a novel approach\nleveraging the generative capabilities of Large Language Models (LLMs) to\nautomate the design of these attacks. By iteratively interacting with LLMs in\nan evolutionary framework, L-AutoDA automatically designs competitive attack\nalgorithms efficiently without much human effort. We demonstrate the efficacy\nof L-AutoDA on CIFAR-10 dataset, showing significant improvements over baseline\nmethods in both success rate and computational efficiency. Our findings\nunderscore the potential of language models as tools for adversarial attack\ngeneration and highlight new avenues for the development of robust AI systems.\n", "date": "2024-01-27", "categories": []} {"id": "2402.04699", "title": "Breaking Free: How to Hack Safety Guardrails in Black-Box Diffusion\n Models!", "abstract": " Deep neural networks can be exploited using natural adversarial samples,\nwhich do not impact human perception. Current approaches often rely on deep\nneural networks' white-box nature to generate these adversarial samples or\nsynthetically alter the distribution of adversarial samples compared to the\ntraining distribution. In contrast, we propose EvoSeed, a novel evolutionary\nstrategy-based algorithmic framework for generating photo-realistic natural\nadversarial samples. Our EvoSeed framework uses auxiliary Conditional Diffusion\nand Classifier models to operate in a black-box setting. We employ CMA-ES to\noptimize the search for an initial seed vector, which, when processed by the\nConditional Diffusion Model, results in the natural adversarial sample\nmisclassified by the Classifier Model. Experiments show that generated\nadversarial images are of high image quality, raising concerns about generating\nharmful content bypassing safety classifiers. Our research opens new avenues to\nunderstanding the limitations of current safety mechanisms and the risk of\nplausible attacks against classifier systems using image generation. Project\nWebsite can be accessed at: https://shashankkotyan.github.io/EvoSeed.\n", "date": "2024-02-07", "categories": []} {"id": "2405.13324", "title": "Adversarial Training via Adaptive Knowledge Amalgamation of an Ensemble\n of Teachers", "abstract": " Adversarial training (AT) is a popular method for training robust deep neural\nnetworks (DNNs) against adversarial attacks. Yet, AT suffers from two\nshortcomings: (i) the robustness of DNNs trained by AT is highly intertwined\nwith the size of the DNNs, posing challenges in achieving robustness in smaller\nmodels; and (ii) the adversarial samples employed during the AT process exhibit\npoor generalization, leaving DNNs vulnerable to unforeseen attack types. To\naddress these dual challenges, this paper introduces adversarial training via\nadaptive knowledge amalgamation of an ensemble of teachers (AT-AKA). In\nparticular, we generate a diverse set of adversarial samples as the inputs to\nan ensemble of teachers; and then, we adaptively amalgamate the logtis of these\nteachers to train a generalized-robust student. Through comprehensive\nexperiments, we illustrate the superior efficacy of AT-AKA over existing AT\nmethods and adversarial robustness distillation techniques against cutting-edge\nattacks, including AutoAttack.\n", "date": "2024-05-22", "categories": []} {"id": "2405.14169", "title": "Towards Transferable Attacks Against Vision-LLMs in Autonomous Driving\n with Typography", "abstract": " Vision-Large-Language-Models (Vision-LLMs) are increasingly being integrated\ninto autonomous driving (AD) systems due to their advanced visual-language\nreasoning capabilities, targeting the perception, prediction, planning, and\ncontrol mechanisms. However, Vision-LLMs have demonstrated susceptibilities\nagainst various types of adversarial attacks, which would compromise their\nreliability and safety. To further explore the risk in AD systems and the\ntransferability of practical threats, we propose to leverage typographic\nattacks against AD systems relying on the decision-making capabilities of\nVision-LLMs. Different from the few existing works developing general datasets\nof typographic attacks, this paper focuses on realistic traffic scenarios where\nthese attacks can be deployed, on their potential effects on the\ndecision-making autonomy, and on the practical ways in which these attacks can\nbe physically presented. To achieve the above goals, we first propose a\ndataset-agnostic framework for automatically generating false answers that can\nmislead Vision-LLMs' reasoning. Then, we present a linguistic augmentation\nscheme that facilitates attacks at image-level and region-level reasoning, and\nwe extend it with attack patterns against multiple reasoning tasks\nsimultaneously. Based on these, we conduct a study on how these attacks can be\nrealized in physical traffic scenarios. Through our empirical study, we\nevaluate the effectiveness, transferability, and realizability of typographic\nattacks in traffic scenes. Our findings demonstrate particular harmfulness of\nthe typographic attacks against existing Vision-LLMs (e.g., LLaVA, Qwen-VL,\nVILA, and Imp), thereby raising community awareness of vulnerabilities when\nincorporating such models into AD systems. We will release our source code upon\nacceptance.\n", "date": "2024-05-23", "categories": []} {"id": "2405.14176", "title": "Certified Robustness against Sparse Adversarial Perturbations via Data\n Localization", "abstract": " Recent work in adversarial robustness suggests that natural data\ndistributions are localized, i.e., they place high probability in small volume\nregions of the input space, and that this property can be utilized for\ndesigning classifiers with improved robustness guarantees for $\\ell_2$-bounded\nperturbations. Yet, it is still unclear if this observation holds true for more\ngeneral metrics. In this work, we extend this theory to $\\ell_0$-bounded\nadversarial perturbations, where the attacker can modify a few pixels of the\nimage but is unrestricted in the magnitude of perturbation, and we show\nnecessary and sufficient conditions for the existence of $\\ell_0$-robust\nclassifiers. Theoretical certification approaches in this regime essentially\nemploy voting over a large ensemble of classifiers. Such procedures are\ncombinatorial and expensive or require complicated certification techniques. In\ncontrast, a simple classifier emerges from our theory, dubbed Box-NN, which\nnaturally incorporates the geometry of the problem and improves upon the\ncurrent state-of-the-art in certified robustness against sparse attacks for the\nMNIST and Fashion-MNIST datasets.\n", "date": "2024-05-23", "categories": []} {"id": "2305.15241", "title": "Robust Classification via a Single Diffusion Model", "abstract": " Diffusion models have been applied to improve adversarial robustness of image\nclassifiers by purifying the adversarial noises or generating realistic data\nfor adversarial training. However, diffusion-based purification can be evaded\nby stronger adaptive attacks while adversarial training does not perform well\nunder unseen threats, exhibiting inevitable limitations of these methods. To\nbetter harness the expressive power of diffusion models, this paper proposes\nRobust Diffusion Classifier (RDC), a generative classifier that is constructed\nfrom a pre-trained diffusion model to be adversarially robust. RDC first\nmaximizes the data likelihood of a given input and then predicts the class\nprobabilities of the optimized input using the conditional likelihood estimated\nby the diffusion model through Bayes' theorem. To further reduce the\ncomputational cost, we propose a new diffusion backbone called multi-head\ndiffusion and develop efficient sampling strategies. As RDC does not require\ntraining on particular adversarial attacks, we demonstrate that it is more\ngeneralizable to defend against multiple unseen threats. In particular, RDC\nachieves $75.67\\%$ robust accuracy against various $\\ell_\\infty$ norm-bounded\nadaptive attacks with $\\epsilon_\\infty=8/255$ on CIFAR-10, surpassing the\nprevious state-of-the-art adversarial training models by $+4.77\\%$. The results\nhighlight the potential of generative classifiers by employing pre-trained\ndiffusion models for adversarial robustness compared with the commonly studied\ndiscriminative classifiers. Code is available at\n\\url{https://github.com/huanranchen/DiffusionClassifier}.\n", "date": "2023-05-24", "categories": []} {"id": "2312.01260", "title": "Rethinking PGD Attack: Is Sign Function Necessary?", "abstract": " Neural networks have demonstrated success in various domains, yet their\nperformance can be significantly degraded by even a small input perturbation.\nConsequently, the construction of such perturbations, known as adversarial\nattacks, has gained significant attention, many of which fall within\n\"white-box\" scenarios where we have full access to the neural network. Existing\nattack algorithms, such as the projected gradient descent (PGD), commonly take\nthe sign function on the raw gradient before updating adversarial inputs,\nthereby neglecting gradient magnitude information. In this paper, we present a\ntheoretical analysis of how such sign-based update algorithm influences\nstep-wise attack performance, as well as its caveat. We also interpret why\nprevious attempts of directly using raw gradients failed. Based on that, we\nfurther propose a new raw gradient descent (RGD) algorithm that eliminates the\nuse of sign. Specifically, we convert the constrained optimization problem into\nan unconstrained one, by introducing a new hidden variable of non-clipped\nperturbation that can move beyond the constraint. The effectiveness of the\nproposed RGD algorithm has been demonstrated extensively in experiments,\noutperforming PGD and other competitors in various settings, without incurring\nany additional computational overhead. The codes is available in\nhttps://github.com/JunjieYang97/RGD.\n", "date": "2023-12-03", "categories": []} {"id": "2401.10313", "title": "Hacking Predictors Means Hacking Cars: Using Sensitivity Analysis to\n Identify Trajectory Prediction Vulnerabilities for Autonomous Driving\n Security", "abstract": " Adversarial attacks on learning-based multi-modal trajectory predictors have\nalready been demonstrated. However, there are still open questions about the\neffects of perturbations on inputs other than state histories, and how these\nattacks impact downstream planning and control. In this paper, we conduct a\nsensitivity analysis on two trajectory prediction models, Trajectron++ and\nAgentFormer. The analysis reveals that between all inputs, almost all of the\nperturbation sensitivities for both models lie only within the most recent\nposition and velocity states. We additionally demonstrate that, despite\ndominant sensitivity on state history perturbations, an undetectable image map\nperturbation made with the Fast Gradient Sign Method can induce large\nprediction error increases in both models, revealing that these trajectory\npredictors are, in fact, susceptible to image-based attacks. Using an\noptimization-based planner and example perturbations crafted from sensitivity\nresults, we show how these attacks can cause a vehicle to come to a sudden stop\nfrom moderate driving speeds.\n", "date": "2024-01-18", "categories": []} {"id": "2212.02457", "title": "Blessings and Curses of Covariate Shifts: Adversarial Learning Dynamics,\n Directional Convergence, and Equilibria", "abstract": " Covariate distribution shifts and adversarial perturbations present\nrobustness challenges to the conventional statistical learning framework: mild\nshifts in the test covariate distribution can significantly affect the\nperformance of the statistical model learned based on the training\ndistribution. The model performance typically deteriorates when extrapolation\nhappens: namely, covariates shift to a region where the training distribution\nis scarce, and naturally, the learned model has little information. For\nrobustness and regularization considerations, adversarial perturbation\ntechniques are proposed as a remedy; however, careful study needs to be carried\nout about what extrapolation region adversarial covariate shift will focus on,\ngiven a learned model. This paper precisely characterizes the extrapolation\nregion, examining both regression and classification in an infinite-dimensional\nsetting. We study the implications of adversarial covariate shifts to\nsubsequent learning of the equilibrium -- the Bayes optimal model -- in a\nsequential game framework. We exploit the dynamics of the adversarial learning\ngame and reveal the curious effects of the covariate shift to equilibrium\nlearning and experimental design. In particular, we establish two directional\nconvergence results that exhibit distinctive phenomena: (1) a blessing in\nregression, the adversarial covariate shifts in an exponential rate to an\noptimal experimental design for rapid subsequent learning; (2) a curse in\nclassification, the adversarial covariate shifts in a subquadratic rate to the\nhardest experimental design trapping subsequent learning.\n", "date": "2022-12-05", "categories": []} {"id": "2301.09069", "title": "Provable Unrestricted Adversarial Training without Compromise with\n Generalizability", "abstract": " Adversarial training (AT) is widely considered as the most promising strategy\nto defend against adversarial attacks and has drawn increasing interest from\nresearchers. However, the existing AT methods still suffer from two challenges.\nFirst, they are unable to handle unrestricted adversarial examples (UAEs),\nwhich are built from scratch, as opposed to restricted adversarial examples\n(RAEs), which are created by adding perturbations bound by an $l_p$ norm to\nobserved examples. Second, the existing AT methods often achieve adversarial\nrobustness at the expense of standard generalizability (i.e., the accuracy on\nnatural examples) because they make a tradeoff between them. To overcome these\nchallenges, we propose a unique viewpoint that understands UAEs as\nimperceptibly perturbed unobserved examples. Also, we find that the tradeoff\nresults from the separation of the distributions of adversarial examples and\nnatural examples. Based on these ideas, we propose a novel AT approach called\nProvable Unrestricted Adversarial Training (PUAT), which can provide a target\nclassifier with comprehensive adversarial robustness against both UAE and RAE,\nand simultaneously improve its standard generalizability. Particularly, PUAT\nutilizes partially labeled data to achieve effective UAE generation by\naccurately capturing the natural data distribution through a novel augmented\ntriple-GAN. At the same time, PUAT extends the traditional AT by introducing\nthe supervised loss of the target classifier into the adversarial loss and\nachieves the alignment between the UAE distribution, the natural data\ndistribution, and the distribution learned by the classifier, with the\ncollaboration of the augmented triple-GAN. Finally, the solid theoretical\nanalysis and extensive experiments conducted on widely-used benchmarks\ndemonstrate the superiority of PUAT.\n", "date": "2023-01-22", "categories": []} {"id": "2404.08273", "title": "Struggle with Adversarial Defense? Try Diffusion", "abstract": " Adversarial attacks induce misclassification by introducing subtle\nperturbations. Recently, diffusion models are applied to the image classifiers\nto improve adversarial robustness through adversarial training or by purifying\nadversarial noise. However, diffusion-based adversarial training often\nencounters convergence challenges and high computational expenses.\nAdditionally, diffusion-based purification inevitably causes data shift and is\ndeemed susceptible to stronger adaptive attacks. To tackle these issues, we\npropose the Truth Maximization Diffusion Classifier (TMDC), a generative\nBayesian classifier that builds upon pre-trained diffusion models and the\nBayesian theorem. Unlike data-driven classifiers, TMDC, guided by Bayesian\nprinciples, utilizes the conditional likelihood from diffusion models to\ndetermine the class probabilities of input images, thereby insulating against\nthe influences of data shift and the limitations of adversarial training.\nMoreover, to enhance TMDC's resilience against more potent adversarial attacks,\nwe propose an optimization strategy for diffusion classifiers. This strategy\ninvolves post-training the diffusion model on perturbed datasets with\nground-truth labels as conditions, guiding the diffusion model to learn the\ndata distribution and maximizing the likelihood under the ground-truth labels.\nThe proposed method achieves state-of-the-art performance on the CIFAR10\ndataset against heavy white-box attacks and strong adaptive attacks.\nSpecifically, TMDC achieves robust accuracies of 82.81% against $l_{\\infty}$\nnorm-bounded perturbations and 86.05% against $l_{2}$ norm-bounded\nperturbations, respectively, with $\\epsilon=0.05$.\n", "date": "2024-04-12", "categories": []} {"id": "2405.11154", "title": "Revisiting the Robust Generalization of Adversarial Prompt Tuning", "abstract": " Understanding the vulnerability of large-scale pre-trained vision-language\nmodels like CLIP against adversarial attacks is key to ensuring zero-shot\ngeneralization capacity on various downstream tasks. State-of-the-art defense\nmechanisms generally adopt prompt learning strategies for adversarial\nfine-tuning to improve the adversarial robustness of the pre-trained model\nwhile keeping the efficiency of adapting to downstream tasks. Such a setup\nleads to the problem of over-fitting which impedes further improvement of the\nmodel's generalization capacity on both clean and adversarial examples. In this\nwork, we propose an adaptive Consistency-guided Adversarial Prompt Tuning\n(i.e., CAPT) framework that utilizes multi-modal prompt learning to enhance the\nalignment of image and text features for adversarial examples and leverage the\nstrong generalization of pre-trained CLIP to guide the model-enhancing its\nrobust generalization on adversarial examples while maintaining its accuracy on\nclean ones. We also design a novel adaptive consistency objective function to\nbalance the consistency of adversarial inputs and clean inputs between the\nfine-tuning model and the pre-trained model. We conduct extensive experiments\nacross 14 datasets and 4 data sparsity schemes (from 1-shot to full training\ndata settings) to show the superiority of CAPT over other state-of-the-art\nadaption methods. CAPT demonstrated excellent performance in terms of the\nin-distribution performance and the generalization under input distribution\nshift and across datasets.\n", "date": "2024-05-18", "categories": []} {"id": "2405.11629", "title": "Searching Realistic-Looking Adversarial Objects For Autonomous Driving\n Systems", "abstract": " Numerous studies on adversarial attacks targeting self-driving policies fail\nto incorporate realistic-looking adversarial objects, limiting real-world\napplicability. Building upon prior research that facilitated the transition of\nadversarial objects from simulations to practical applications, this paper\ndiscusses a modified gradient-based texture optimization method to discover\nrealistic-looking adversarial objects. While retaining the core architecture\nand techniques of the prior research, the proposed addition involves an entity\ntermed the 'Judge'. This agent assesses the texture of a rendered object,\nassigning a probability score reflecting its realism. This score is integrated\ninto the loss function to encourage the NeRF object renderer to concurrently\nlearn realistic and adversarial textures. The paper analyzes four strategies\nfor developing a robust 'Judge': 1) Leveraging cutting-edge vision-language\nmodels. 2) Fine-tuning open-sourced vision-language models. 3) Pretraining\nneurosymbolic systems. 4) Utilizing traditional image processing techniques.\nOur findings indicate that strategies 1) and 4) yield less reliable outcomes,\npointing towards strategies 2) or 3) as more promising directions for future\nresearch.\n", "date": "2024-05-19", "categories": []} {"id": "2405.11904", "title": "A Constraint-Enforcing Reward for Adversarial Attacks on Text\n Classifiers", "abstract": " Text classifiers are vulnerable to adversarial examples --\ncorrectly-classified examples that are deliberately transformed to be\nmisclassified while satisfying acceptability constraints. The conventional\napproach to finding adversarial examples is to define and solve a combinatorial\noptimisation problem over a space of allowable transformations. While\neffective, this approach is slow and limited by the choice of transformations.\nAn alternate approach is to directly generate adversarial examples by\nfine-tuning a pre-trained language model, as is commonly done for other\ntext-to-text tasks. This approach promises to be much quicker and more\nexpressive, but is relatively unexplored. For this reason, in this work we\ntrain an encoder-decoder paraphrase model to generate a diverse range of\nadversarial examples. For training, we adopt a reinforcement learning algorithm\nand propose a constraint-enforcing reward that promotes the generation of valid\nadversarial examples. Experimental results over two text classification\ndatasets show that our model has achieved a higher success rate than the\noriginal paraphrase model, and overall has proved more effective than other\ncompetitive attacks. Finally, we show how key design choices impact the\ngenerated examples and discuss the strengths and weaknesses of the proposed\napproach.\n", "date": "2024-05-20", "categories": []} {"id": "2405.11982", "title": "Robust Deep Reinforcement Learning with Adaptive Adversarial\n Perturbations in Action Space", "abstract": " Deep reinforcement learning (DRL) algorithms can suffer from modeling errors\nbetween the simulation and the real world. Many studies use adversarial\nlearning to generate perturbation during training process to model the\ndiscrepancy and improve the robustness of DRL. However, most of these\napproaches use a fixed parameter to control the intensity of the adversarial\nperturbation, which can lead to a trade-off between average performance and\nrobustness. In fact, finding the optimal parameter of the perturbation is\nchallenging, as excessive perturbations may destabilize training and compromise\nagent performance, while insufficient perturbations may not impart enough\ninformation to enhance robustness. To keep the training stable while improving\nrobustness, we propose a simple but effective method, namely, Adaptive\nAdversarial Perturbation (A2P), which can dynamically select appropriate\nadversarial perturbations for each sample. Specifically, we propose an adaptive\nadversarial coefficient framework to adjust the effect of the adversarial\nperturbation during training. By designing a metric for the current intensity\nof the perturbation, our method can calculate the suitable perturbation levels\nbased on the current relative performance. The appealing feature of our method\nis that it is simple to deploy in real-world applications and does not require\naccessing the simulator in advance. The experiments in MuJoCo show that our\nmethod can improve the training stability and learn a robust policy when\nmigrated to different test environments. The code is available at\nhttps://github.com/Lqm00/A2P-SAC.\n", "date": "2024-05-20", "categories": []} {"id": "2403.06668", "title": "PeerAiD: Improving Adversarial Distillation from a Specialized Peer\n Tutor", "abstract": " Adversarial robustness of the neural network is a significant concern when it\nis applied to security-critical domains. In this situation, adversarial\ndistillation is a promising option which aims to distill the robustness of the\nteacher network to improve the robustness of a small student network. Previous\nworks pretrain the teacher network to make it robust against the adversarial\nexamples aimed at itself. However, the adversarial examples are dependent on\nthe parameters of the target network. The fixed teacher network inevitably\ndegrades its robustness against the unseen transferred adversarial examples\nwhich target the parameters of the student network in the adversarial\ndistillation process. We propose PeerAiD to make a peer network learn the\nadversarial examples of the student network instead of adversarial examples\naimed at itself. PeerAiD is an adversarial distillation that trains the peer\nnetwork and the student network simultaneously in order to specialize the peer\nnetwork for defending the student network. We observe that such peer networks\nsurpass the robustness of the pretrained robust teacher model against\nadversarial examples aimed at the student network. With this peer network and\nadversarial distillation, PeerAiD achieves significantly higher robustness of\nthe student network with AutoAttack (AA) accuracy by up to 1.66%p and improves\nthe natural accuracy of the student network by up to 4.72%p with ResNet-18 on\nTinyImageNet dataset. Code is available at\nhttps://github.com/jaewonalive/PeerAiD.\n", "date": "2024-03-11", "categories": []} {"id": "2405.09598", "title": "Properties that allow or prohibit transferability of adversarial attacks\n among quantized networks", "abstract": " Deep Neural Networks (DNNs) are known to be vulnerable to adversarial\nexamples. Further, these adversarial examples are found to be transferable from\nthe source network in which they are crafted to a black-box target network. As\nthe trend of using deep learning on embedded devices grows, it becomes relevant\nto study the transferability properties of adversarial examples among\ncompressed networks. In this paper, we consider quantization as a network\ncompression technique and evaluate the performance of transfer-based attacks\nwhen the source and target networks are quantized at different bitwidths. We\nexplore how algorithm specific properties affect transferability by considering\nvarious adversarial example generation algorithms. Furthermore, we examine\ntransferability in a more realistic scenario where the source and target\nnetworks may differ in bitwidth and other model-related properties like\ncapacity and architecture. We find that although quantization reduces\ntransferability, certain attack types demonstrate an ability to enhance it.\nAdditionally, the average transferability of adversarial examples among\nquantized versions of a network can be used to estimate the transferability to\nquantized target networks with varying capacity and architecture.\n", "date": "2024-05-15", "categories": []} {"id": "2405.09924", "title": "Infrared Adversarial Car Stickers", "abstract": " Infrared physical adversarial examples are of great significance for studying\nthe security of infrared AI systems that are widely used in our lives such as\nautonomous driving. Previous infrared physical attacks mainly focused on 2D\ninfrared pedestrian detection which may not fully manifest its destructiveness\nto AI systems. In this work, we propose a physical attack method against\ninfrared detectors based on 3D modeling, which is applied to a real car. The\ngoal is to design a set of infrared adversarial stickers to make cars invisible\nto infrared detectors at various viewing angles, distances, and scenes. We\nbuild a 3D infrared car model with real infrared characteristics and propose an\ninfrared adversarial pattern generation method based on 3D mesh shadow. We\npropose a 3D control points-based mesh smoothing algorithm and use a set of\nsmoothness loss functions to enhance the smoothness of adversarial meshes and\nfacilitate the sticker implementation. Besides, We designed the aluminum\nstickers and conducted physical experiments on two real Mercedes-Benz A200L\ncars. Our adversarial stickers hid the cars from Faster RCNN, an object\ndetector, at various viewing angles, distances, and scenes. The attack success\nrate (ASR) was 91.49% for real cars. In comparison, the ASRs of random stickers\nand no sticker were only 6.21% and 0.66%, respectively. In addition, the ASRs\nof the designed stickers against six unseen object detectors such as YOLOv3 and\nDeformable DETR were between 73.35%-95.80%, showing good transferability of the\nattack performance across detectors.\n", "date": "2024-05-16", "categories": []} {"id": "2405.09981", "title": "Adversarial Robustness for Visual Grounding of Multimodal Large Language\n Models", "abstract": " Multi-modal Large Language Models (MLLMs) have recently achieved enhanced\nperformance across various vision-language tasks including visual grounding\ncapabilities. However, the adversarial robustness of visual grounding remains\nunexplored in MLLMs. To fill this gap, we use referring expression\ncomprehension (REC) as an example task in visual grounding and propose three\nadversarial attack paradigms as follows. Firstly, untargeted adversarial\nattacks induce MLLMs to generate incorrect bounding boxes for each object.\nBesides, exclusive targeted adversarial attacks cause all generated outputs to\nthe same target bounding box. In addition, permuted targeted adversarial\nattacks aim to permute all bounding boxes among different objects within a\nsingle image. Extensive experiments demonstrate that the proposed methods can\nsuccessfully attack visual grounding capabilities of MLLMs. Our methods not\nonly provide a new perspective for designing novel attacks but also serve as a\nstrong baseline for improving the adversarial robustness for visual grounding\nof MLLMs.\n", "date": "2024-05-16", "categories": []} {"id": "2405.08834", "title": "Adversarial Machine Learning Threats to Spacecraft", "abstract": " Spacecraft are among the earliest autonomous systems. Their ability to\nfunction without a human in the loop have afforded some of humanity's grandest\nachievements. As reliance on autonomy grows, space vehicles will become\nincreasingly vulnerable to attacks designed to disrupt autonomous\nprocesses-especially probabilistic ones based on machine learning. This paper\naims to elucidate and demonstrate the threats that adversarial machine learning\n(AML) capabilities pose to spacecraft. First, an AML threat taxonomy for\nspacecraft is introduced. Next, we demonstrate the execution of AML attacks\nagainst spacecraft through experimental simulations using NASA's Core Flight\nSystem (cFS) and NASA's On-board Artificial Intelligence Research (OnAIR)\nPlatform. Our findings highlight the imperative for incorporating AML-focused\nsecurity measures in spacecraft that engage autonomy.\n", "date": "2024-05-14", "categories": []} {"id": "2405.08886", "title": "The Pitfalls and Promise of Conformal Inference Under Adversarial\n Attacks", "abstract": " In safety-critical applications such as medical imaging and autonomous\ndriving, where decisions have profound implications for patient health and road\nsafety, it is imperative to maintain both high adversarial robustness to\nprotect against potential adversarial attacks and reliable uncertainty\nquantification in decision-making. With extensive research focused on enhancing\nadversarial robustness through various forms of adversarial training (AT), a\nnotable knowledge gap remains concerning the uncertainty inherent in\nadversarially trained models. To address this gap, this study investigates the\nuncertainty of deep learning models by examining the performance of conformal\nprediction (CP) in the context of standard adversarial attacks within the\nadversarial defense community. It is first unveiled that existing CP methods do\nnot produce informative prediction sets under the commonly used\n$l_{\\infty}$-norm bounded attack if the model is not adversarially trained,\nwhich underpins the importance of adversarial training for CP. Our paper next\ndemonstrates that the prediction set size (PSS) of CP using adversarially\ntrained models with AT variants is often worse than using standard AT,\ninspiring us to research into CP-efficient AT for improved PSS. We propose to\noptimize a Beta-weighting loss with an entropy minimization regularizer during\nAT to improve CP-efficiency, where the Beta-weighting loss is shown to be an\nupper bound of PSS at the population level by our theoretical analysis.\nMoreover, our empirical study on four image classification datasets across\nthree popular AT baselines validates the effectiveness of the proposed\nUncertainty-Reducing AT (AT-UR).\n", "date": "2024-05-14", "categories": []} {"id": "2405.08892", "title": "RS-Reg: Probabilistic and Robust Certified Regression Through Randomized\n Smoothing", "abstract": " Randomized smoothing has shown promising certified robustness against\nadversaries in classification tasks. Despite such success with only\nzeroth-order access to base models, randomized smoothing has not been extended\nto a general form of regression. By defining robustness in regression tasks\nflexibly through probabilities, we demonstrate how to establish upper bounds on\ninput data point perturbation (using the $\\ell_2$ norm) for a user-specified\nprobability of observing valid outputs. Furthermore, we showcase the asymptotic\nproperty of a basic averaging function in scenarios where the regression model\noperates without any constraint. We then derive a certified upper bound of the\ninput perturbations when dealing with a family of regression models where the\noutputs are bounded. Our simulations verify the validity of the theoretical\nresults and reveal the advantages and limitations of simple smoothing\nfunctions, i.e., averaging, in regression tasks. The code is publicly available\nat \\url{https://github.com/arekavandi/Certified_Robust_Regression}.\n", "date": "2024-05-14", "categories": []} {"id": "2405.09470", "title": "Towards Evaluating the Robustness of Automatic Speech Recognition\n Systems via Audio Style Transfer", "abstract": " In light of the widespread application of Automatic Speech Recognition (ASR)\nsystems, their security concerns have received much more attention than ever\nbefore, primarily due to the susceptibility of Deep Neural Networks. Previous\nstudies have illustrated that surreptitiously crafting adversarial\nperturbations enables the manipulation of speech recognition systems, resulting\nin the production of malicious commands. These attack methods mostly require\nadding noise perturbations under $\\ell_p$ norm constraints, inevitably leaving\nbehind artifacts of manual modifications. Recent research has alleviated this\nlimitation by manipulating style vectors to synthesize adversarial examples\nbased on Text-to-Speech (TTS) synthesis audio. However, style modifications\nbased on optimization objectives significantly reduce the controllability and\neditability of audio styles. In this paper, we propose an attack on ASR systems\nbased on user-customized style transfer. We first test the effect of Style\nTransfer Attack (STA) which combines style transfer and adversarial attack in\nsequential order. And then, as an improvement, we propose an iterative Style\nCode Attack (SCA) to maintain audio quality. Experimental results show that our\nmethod can meet the need for user-customized styles and achieve a success rate\nof 82% in attacks, while keeping sound naturalness due to our user study.\n", "date": "2024-05-15", "categories": []} {"id": "2311.12981", "title": "SD-NAE: Generating Natural Adversarial Examples with Stable Diffusion", "abstract": " Natural Adversarial Examples (NAEs), images arising naturally from the\nenvironment and capable of deceiving classifiers, are instrumental in robustly\nevaluating and identifying vulnerabilities in trained models. In this work,\nunlike prior works that passively collect NAEs from real images, we propose to\nactively synthesize NAEs using the state-of-the-art Stable Diffusion.\nSpecifically, our method formulates a controlled optimization process, where we\nperturb the token embedding that corresponds to a specified class to generate\nNAEs. This generation process is guided by the gradient of loss from the target\nclassifier, ensuring that the created image closely mimics the ground-truth\nclass yet fools the classifier. Named SD-NAE (Stable Diffusion for Natural\nAdversarial Examples), our innovative method is effective in producing valid\nand useful NAEs, which is demonstrated through a meticulously designed\nexperiment. Code is available at https://github.com/linyueqian/SD-NAE.\n", "date": "2023-11-21", "categories": []} {"id": "2405.08317", "title": "SpeechGuard: Exploring the Adversarial Robustness of Multimodal Large\n Language Models", "abstract": " Integrated Speech and Large Language Models (SLMs) that can follow speech\ninstructions and generate relevant text responses have gained popularity\nlately. However, the safety and robustness of these models remains largely\nunclear. In this work, we investigate the potential vulnerabilities of such\ninstruction-following speech-language models to adversarial attacks and\njailbreaking. Specifically, we design algorithms that can generate adversarial\nexamples to jailbreak SLMs in both white-box and black-box attack settings\nwithout human involvement. Additionally, we propose countermeasures to thwart\nsuch jailbreaking attacks. Our models, trained on dialog data with speech\ninstructions, achieve state-of-the-art performance on spoken question-answering\ntask, scoring over 80% on both safety and helpfulness metrics. Despite safety\nguardrails, experiments on jailbreaking demonstrate the vulnerability of SLMs\nto adversarial perturbations and transfer attacks, with average attack success\nrates of 90% and 10% respectively when evaluated on a dataset of carefully\ndesigned harmful questions spanning 12 different toxic categories. However, we\ndemonstrate that our proposed countermeasures reduce the attack success\nsignificantly.\n", "date": "2024-05-14", "categories": []} {"id": "2405.07595", "title": "Environmental Matching Attack Against Unmanned Aerial Vehicles Object\n Detection", "abstract": " Object detection techniques for Unmanned Aerial Vehicles (UAVs) rely on Deep\nNeural Networks (DNNs), which are vulnerable to adversarial attacks.\nNonetheless, adversarial patches generated by existing algorithms in the UAV\ndomain pay very little attention to the naturalness of adversarial patches.\nMoreover, imposing constraints directly on adversarial patches makes it\ndifficult to generate patches that appear natural to the human eye while\nensuring a high attack success rate. We notice that patches are natural looking\nwhen their overall color is consistent with the environment. Therefore, we\npropose a new method named Environmental Matching Attack(EMA) to address the\nissue of optimizing the adversarial patch under the constraints of color. To\nthe best of our knowledge, this paper is the first to consider natural patches\nin the domain of UAVs. The EMA method exploits strong prior knowledge of a\npretrained stable diffusion to guide the optimization direction of the\nadversarial patch, where the text guidance can restrict the color of the patch.\nTo better match the environment, the contrast and brightness of the patch are\nappropriately adjusted. Instead of optimizing the adversarial patch itself, we\noptimize an adversarial perturbation patch which initializes to zero so that\nthe model can better trade off attacking performance and naturalness.\nExperiments conducted on the DroneVehicle and Carpk datasets have shown that\nour work can reach nearly the same attack performance in the digital attack(no\ngreater than 2 in mAP$\\%$), surpass the baseline method in the physical\nspecific scenarios, and exhibit a significant advantage in terms of naturalness\nin visualization and color difference with the environment.\n", "date": "2024-05-13", "categories": []} {"id": "2405.07668", "title": "CrossCert: A Cross-Checking Detection Approach to Patch Robustness\n Certification for Deep Learning Models", "abstract": " Patch robustness certification is an emerging kind of defense technique\nagainst adversarial patch attacks with provable guarantees. There are two\nresearch lines: certified recovery and certified detection. They aim to label\nmalicious samples with provable guarantees correctly and issue warnings for\nmalicious samples predicted to non-benign labels with provable guarantees,\nrespectively. However, existing certified detection defenders suffer from\nprotecting labels subject to manipulation, and existing certified recovery\ndefenders cannot systematically warn samples about their labels. A certified\ndefense that simultaneously offers robust labels and systematic warning\nprotection against patch attacks is desirable. This paper proposes a novel\ncertified defense technique called CrossCert. CrossCert formulates a novel\napproach by cross-checking two certified recovery defenders to provide\nunwavering certification and detection certification. Unwavering certification\nensures that a certified sample, when subjected to a patched perturbation, will\nalways be returned with a benign label without triggering any warnings with a\nprovable guarantee. To our knowledge, CrossCert is the first certified\ndetection technique to offer this guarantee. Our experiments show that, with a\nslightly lower performance than ViP and comparable performance with PatchCensor\nin terms of detection certification, CrossCert certifies a significant\nproportion of samples with the guarantee of unwavering certification.\n", "date": "2024-05-13", "categories": []} {"id": "2405.06049", "title": "BB-Patch: BlackBox Adversarial Patch-Attack using Zeroth-Order\n Optimization", "abstract": " Deep Learning has become popular due to its vast applications in almost all\ndomains. However, models trained using deep learning are prone to failure for\nadversarial samples and carry a considerable risk in sensitive applications.\nMost of these adversarial attack strategies assume that the adversary has\naccess to the training data, the model parameters, and the input during\ndeployment, hence, focus on perturbing the pixel level information present in\nthe input image.\n Adversarial Patches were introduced to the community which helped in bringing\nout the vulnerability of deep learning models in a much more pragmatic manner\nbut here the attacker has a white-box access to the model parameters. Recently,\nthere has been an attempt to develop these adversarial attacks using black-box\ntechniques. However, certain assumptions such as availability large training\ndata is not valid for a real-life scenarios. In a real-life scenario, the\nattacker can only assume the type of model architecture used from a select list\nof state-of-the-art architectures while having access to only a subset of input\ndataset. Hence, we propose an black-box adversarial attack strategy that\nproduces adversarial patches which can be applied anywhere in the input image\nto perform an adversarial attack.\n", "date": "2024-05-09", "categories": []} {"id": "2405.06278", "title": "Exploring the Interplay of Interpretability and Robustness in Deep\n Neural Networks: A Saliency-guided Approach", "abstract": " Adversarial attacks pose a significant challenge to deploying deep learning\nmodels in safety-critical applications. Maintaining model robustness while\nensuring interpretability is vital for fostering trust and comprehension in\nthese models. This study investigates the impact of Saliency-guided Training\n(SGT) on model robustness, a technique aimed at improving the clarity of\nsaliency maps to deepen understanding of the model's decision-making process.\nExperiments were conducted on standard benchmark datasets using various deep\nlearning architectures trained with and without SGT. Findings demonstrate that\nSGT enhances both model robustness and interpretability. Additionally, we\npropose a novel approach combining SGT with standard adversarial training to\nachieve even greater robustness while preserving saliency map quality. Our\nstrategy is grounded in the assumption that preserving salient features crucial\nfor correctly classifying adversarial examples enhances model robustness, while\nmasking non-relevant features improves interpretability. Our technique yields\nsignificant gains, achieving a 35\\% and 20\\% improvement in robustness against\nPGD attack with noise magnitudes of $0.2$ and $0.02$ for the MNIST and CIFAR-10\ndatasets, respectively, while producing high-quality saliency maps.\n", "date": "2024-05-10", "categories": []} {"id": "2405.06298", "title": "PUMA: margin-based data pruning", "abstract": " Deep learning has been able to outperform humans in terms of classification\naccuracy in many tasks. However, to achieve robustness to adversarial\nperturbations, the best methodologies require to perform adversarial training\non a much larger training set that has been typically augmented using\ngenerative models (e.g., diffusion models). Our main objective in this work, is\nto reduce these data requirements while achieving the same or better\naccuracy-robustness trade-offs. We focus on data pruning, where some training\nsamples are removed based on the distance to the model classification boundary\n(i.e., margin). We find that the existing approaches that prune samples with\nlow margin fails to increase robustness when we add a lot of synthetic data,\nand explain this situation with a perceptron learning task. Moreover, we find\nthat pruning high margin samples for better accuracy increases the harmful\nimpact of mislabeled perturbed data in adversarial training, hurting both\nrobustness and accuracy. We thus propose PUMA, a new data pruning strategy that\ncomputes the margin using DeepFool, and prunes the training samples of highest\nmargin without hurting performance by jointly adjusting the training attack\nnorm on the samples of lowest margin. We show that PUMA can be used on top of\nthe current state-of-the-art methodology in robustness, and it is able to\nsignificantly improve the model performance unlike the existing data pruning\nstrategies. Not only PUMA achieves similar robustness with less data, but it\nalso significantly increases the model accuracy, improving the performance\ntrade-off.\n", "date": "2024-05-10", "categories": []} {"id": "2405.06340", "title": "Improving Transferable Targeted Adversarial Attack via Normalized Logit\n Calibration and Truncated Feature Mixing", "abstract": " This paper aims to enhance the transferability of adversarial samples in\ntargeted attacks, where attack success rates remain comparatively low. To\nachieve this objective, we propose two distinct techniques for improving the\ntargeted transferability from the loss and feature aspects. First, in previous\napproaches, logit calibrations used in targeted attacks primarily focus on the\nlogit margin between the targeted class and the untargeted classes among\nsamples, neglecting the standard deviation of the logit. In contrast, we\nintroduce a new normalized logit calibration method that jointly considers the\nlogit margin and the standard deviation of logits. This approach effectively\ncalibrates the logits, enhancing the targeted transferability. Second, previous\nstudies have demonstrated that mixing the features of clean samples during\noptimization can significantly increase transferability. Building upon this, we\nfurther investigate a truncated feature mixing method to reduce the impact of\nthe source training model, resulting in additional improvements. The truncated\nfeature is determined by removing the Rank-1 feature associated with the\nlargest singular value decomposed from the high-level convolutional layers of\nthe clean sample. Extensive experiments conducted on the ImageNet-Compatible\nand CIFAR-10 datasets demonstrate the individual and mutual benefits of our\nproposed two components, which outperform the state-of-the-art methods by a\nlarge margin in black-box targeted attacks.\n", "date": "2024-05-10", "categories": []} {"id": "2405.06345", "title": "Evaluating Adversarial Robustness in the Spatial Frequency Domain", "abstract": " Convolutional Neural Networks (CNNs) have dominated the majority of computer\nvision tasks. However, CNNs' vulnerability to adversarial attacks has raised\nconcerns about deploying these models to safety-critical applications. In\ncontrast, the Human Visual System (HVS), which utilizes spatial frequency\nchannels to process visual signals, is immune to adversarial attacks. As such,\nthis paper presents an empirical study exploring the vulnerability of CNN\nmodels in the frequency domain. Specifically, we utilize the discrete cosine\ntransform (DCT) to construct the Spatial-Frequency (SF) layer to produce a\nblock-wise frequency spectrum of an input image and formulate Spatial Frequency\nCNNs (SF-CNNs) by replacing the initial feature extraction layers of\nwidely-used CNN backbones with the SF layer. Through extensive experiments, we\nobserve that SF-CNN models are more robust than their CNN counterparts under\nboth white-box and black-box attacks. To further explain the robustness of\nSF-CNNs, we compare the SF layer with a trainable convolutional layer with\nidentical kernel sizes using two mixing strategies to show that the lower\nfrequency components contribute the most to the adversarial robustness of\nSF-CNNs. We believe our observations can guide the future design of robust CNN\nmodels.\n", "date": "2024-05-10", "categories": []} {"id": "2405.05524", "title": "Universal Adversarial Perturbations for Vision-Language Pre-trained\n Models", "abstract": " Vision-language pre-trained (VLP) models have been the foundation of numerous\nvision-language tasks. Given their prevalence, it becomes imperative to assess\ntheir adversarial robustness, especially when deploying them in\nsecurity-crucial real-world applications. Traditionally, adversarial\nperturbations generated for this assessment target specific VLP models,\ndatasets, and/or downstream tasks. This practice suffers from low\ntransferability and additional computation costs when transitioning to new\nscenarios.\n In this work, we thoroughly investigate whether VLP models are commonly\nsensitive to imperceptible perturbations of a specific pattern for the image\nmodality. To this end, we propose a novel black-box method to generate\nUniversal Adversarial Perturbations (UAPs), which is so called the Effective\nand T ransferable Universal Adversarial Attack (ETU), aiming to mislead a\nvariety of existing VLP models in a range of downstream tasks. The ETU\ncomprehensively takes into account the characteristics of UAPs and the\nintrinsic cross-modal interactions to generate effective UAPs. Under this\nregime, the ETU encourages both global and local utilities of UAPs. This\nbenefits the overall utility while reducing interactions between UAP units,\nimproving the transferability. To further enhance the effectiveness and\ntransferability of UAPs, we also design a novel data augmentation method named\nScMix. ScMix consists of self-mix and cross-mix data transformations, which can\neffectively increase the multi-modal data diversity while preserving the\nsemantics of the original data. Through comprehensive experiments on various\ndownstream tasks, VLP models, and datasets, we demonstrate that the proposed\nmethod is able to achieve effective and transferrable universal adversarial\nattacks.\n", "date": "2024-05-09", "categories": []} {"id": "2401.01750", "title": "Towards Robust Semantic Segmentation against Patch-based Attack via\n Attention Refinement", "abstract": " The attention mechanism has been proven effective on various visual tasks in\nrecent years. In the semantic segmentation task, the attention mechanism is\napplied in various methods, including the case of both Convolution Neural\nNetworks (CNN) and Vision Transformer (ViT) as backbones. However, we observe\nthat the attention mechanism is vulnerable to patch-based adversarial attacks.\nThrough the analysis of the effective receptive field, we attribute it to the\nfact that the wide receptive field brought by global attention may lead to the\nspread of the adversarial patch. To address this issue, in this paper, we\npropose a Robust Attention Mechanism (RAM) to improve the robustness of the\nsemantic segmentation model, which can notably relieve the vulnerability\nagainst patch-based attacks. Compared to the vallina attention mechanism, RAM\nintroduces two novel modules called Max Attention Suppression and Random\nAttention Dropout, both of which aim to refine the attention matrix and limit\nthe influence of a single adversarial patch on the semantic segmentation\nresults of other positions. Extensive experiments demonstrate the effectiveness\nof our RAM to improve the robustness of semantic segmentation models against\nvarious patch-based attack methods under different attack settings.\n", "date": "2024-01-03", "categories": []} {"id": "2405.05502", "title": "Towards Accurate and Robust Architectures via Neural Architecture Search", "abstract": " To defend deep neural networks from adversarial attacks, adversarial training\nhas been drawing increasing attention for its effectiveness. However, the\naccuracy and robustness resulting from the adversarial training are limited by\nthe architecture, because adversarial training improves accuracy and robustness\nby adjusting the weight connection affiliated to the architecture. In this\nwork, we propose ARNAS to search for accurate and robust architectures for\nadversarial training. First we design an accurate and robust search space, in\nwhich the placement of the cells and the proportional relationship of the\nfilter numbers are carefully determined. With the design, the architectures can\nobtain both accuracy and robustness by deploying accurate and robust structures\nto their sensitive positions, respectively. Then we propose a differentiable\nmulti-objective search strategy, performing gradient descent towards directions\nthat are beneficial for both natural loss and adversarial loss, thus the\naccuracy and robustness can be guaranteed at the same time. We conduct\ncomprehensive experiments in terms of white-box attacks, black-box attacks, and\ntransferability. Experimental results show that the searched architecture has\nthe strongest robustness with the competitive accuracy, and breaks the\ntraditional idea that NAS-based architectures cannot transfer well to complex\ntasks in robustness scenarios. By analyzing outstanding architectures searched,\nwe also conclude that accurate and robust neural architectures tend to deploy\ndifferent structures near the input and output, which has great practical\nsignificance on both hand-crafting and automatically designing of accurate and\nrobust architectures.\n", "date": "2024-05-09", "categories": []} {"id": "2405.05610", "title": "Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for\n LLM", "abstract": " Large language models (LLMs) have achieved remarkable performance in various\nnatural language processing tasks, especially in dialogue systems. However, LLM\nmay also pose security and moral threats, especially in multi round\nconversations where large models are more easily guided by contextual content,\nresulting in harmful or biased responses. In this paper, we present a novel\nmethod to attack LLMs in multi-turn dialogues, called CoA (Chain of Attack).\nCoA is a semantic-driven contextual multi-turn attack method that adaptively\nadjusts the attack policy through contextual feedback and semantic relevance\nduring multi-turn of dialogue with a large model, resulting in the model\nproducing unreasonable or harmful content. We evaluate CoA on different LLMs\nand datasets, and show that it can effectively expose the vulnerabilities of\nLLMs, and outperform existing attack methods. Our work provides a new\nperspective and tool for attacking and defending LLMs, and contributes to the\nsecurity and ethical assessment of dialogue systems.\n", "date": "2024-05-09", "categories": []} {"id": "2401.02565", "title": "Demonstration of an Adversarial Attack Against a Multimodal Vision\n Language Model for Pathology Imaging", "abstract": " In the context of medical artificial intelligence, this study explores the\nvulnerabilities of the Pathology Language-Image Pretraining (PLIP) model, a\nVision Language Foundation model, under targeted attacks. Leveraging the Kather\nColon dataset with 7,180 H&E images across nine tissue types, our investigation\nemploys Projected Gradient Descent (PGD) adversarial perturbation attacks to\ninduce misclassifications intentionally. The outcomes reveal a 100% success\nrate in manipulating PLIP's predictions, underscoring its susceptibility to\nadversarial perturbations. The qualitative analysis of adversarial examples\ndelves into the interpretability challenges, shedding light on nuanced changes\nin predictions induced by adversarial manipulations. These findings contribute\ncrucial insights into the interpretability, domain adaptation, and\ntrustworthiness of Vision Language Models in medical imaging. The study\nemphasizes the pressing need for robust defenses to ensure the reliability of\nAI models. The source codes for this experiment can be found at\nhttps://github.com/jaiprakash1824/VLM_Adv_Attack.\n", "date": "2024-01-04", "categories": []} {"id": "2405.03777", "title": "Is ReLU Adversarially Robust?", "abstract": " The efficacy of deep learning models has been called into question by the\npresence of adversarial examples. Addressing the vulnerability of deep learning\nmodels to adversarial examples is crucial for ensuring their continued\ndevelopment and deployment. In this work, we focus on the role of rectified\nlinear unit (ReLU) activation functions in the generation of adversarial\nexamples. ReLU functions are commonly used in deep learning models because they\nfacilitate the training process. However, our empirical analysis demonstrates\nthat ReLU functions are not robust against adversarial examples. We propose a\nmodified version of the ReLU function, which improves robustness against\nadversarial examples. Our results are supported by an experiment, which\nconfirms the effectiveness of our proposed modification. Additionally, we\ndemonstrate that applying adversarial training to our customized model further\nenhances its robustness compared to a general model.\n", "date": "2024-05-06", "categories": []} {"id": "2405.03789", "title": "On Adversarial Examples for Text Classification by Perturbing Latent\n Representations", "abstract": " Recently, with the advancement of deep learning, several applications in text\nclassification have advanced significantly. However, this improvement comes\nwith a cost because deep learning is vulnerable to adversarial examples. This\nweakness indicates that deep learning is not very robust. Fortunately, the\ninput of a text classifier is discrete. Hence, it can prevent the classifier\nfrom state-of-the-art attacks. Nonetheless, previous works have generated\nblack-box attacks that successfully manipulate the discrete values of the input\nto find adversarial examples. Therefore, instead of changing the discrete\nvalues, we transform the input into its embedding vector containing real values\nto perform the state-of-the-art white-box attacks. Then, we convert the\nperturbed embedding vector back into a text and name it an adversarial example.\nIn summary, we create a framework that measures the robustness of a text\nclassifier by using the gradients of the classifier.\n", "date": "2024-05-06", "categories": []} {"id": "2405.04191", "title": "Effective and Robust Adversarial Training against Data and Label\n Corruptions", "abstract": " Corruptions due to data perturbations and label noise are prevalent in the\ndatasets from unreliable sources, which poses significant threats to model\ntraining. Despite existing efforts in developing robust models, current\nlearning methods commonly overlook the possible co-existence of both\ncorruptions, limiting the effectiveness and practicability of the model. In\nthis paper, we develop an Effective and Robust Adversarial Training (ERAT)\nframework to simultaneously handle two types of corruption (i.e., data and\nlabel) without prior knowledge of their specifics. We propose a hybrid\nadversarial training surrounding multiple potential adversarial perturbations,\nalongside a semi-supervised learning based on class-rebalancing sample\nselection to enhance the resilience of the model for dual corruption. On the\none hand, in the proposed adversarial training, the perturbation generation\nmodule learns multiple surrogate malicious data perturbations by taking a DNN\nmodel as the victim, while the model is trained to maintain semantic\nconsistency between the original data and the hybrid perturbed data. It is\nexpected to enable the model to cope with unpredictable perturbations in\nreal-world data corruption. On the other hand, a class-rebalancing data\nselection strategy is designed to fairly differentiate clean labels from noisy\nlabels. Semi-supervised learning is performed accordingly by discarding noisy\nlabels. Extensive experiments demonstrate the superiority of the proposed ERAT\nframework.\n", "date": "2024-05-07", "categories": []} {"id": "2206.12977", "title": "Adversarially Robust PAC Learnability of Real-Valued Functions", "abstract": " We study robustness to test-time adversarial attacks in the regression\nsetting with $\\ell_p$ losses and arbitrary perturbation sets. We address the\nquestion of which function classes are PAC learnable in this setting. We show\nthat classes of finite fat-shattering dimension are learnable in both\nrealizable and agnostic settings. Moreover, for convex function classes, they\nare even properly learnable. In contrast, some non-convex function classes\nprovably require improper learning algorithms. Our main technique is based on a\nconstruction of an adversarially robust sample compression scheme of a size\ndetermined by the fat-shattering dimension. Along the way, we introduce a novel\nagnostic sample compression scheme for real-valued functions, which may be of\nindependent interest.\n", "date": "2022-06-26", "categories": []} {"id": "2207.10170", "title": "Illusory Attacks: Information-Theoretic Detectability Matters in\n Adversarial Attacks", "abstract": " Autonomous agents deployed in the real world need to be robust against\nadversarial attacks on sensory inputs. Robustifying agent policies requires\nanticipating the strongest attacks possible. We demonstrate that existing\nobservation-space attacks on reinforcement learning agents have a common\nweakness: while effective, their lack of information-theoretic detectability\nconstraints makes them detectable using automated means or human inspection.\nDetectability is undesirable to adversaries as it may trigger security\nescalations. We introduce {\\epsilon}-illusory, a novel form of adversarial\nattack on sequential decision-makers that is both effective and of\n{\\epsilon}-bounded statistical detectability. We propose a novel dual ascent\nalgorithm to learn such attacks end-to-end. Compared to existing attacks, we\nempirically find {\\epsilon}-illusory to be significantly harder to detect with\nautomated methods, and a small study with human participants (IRB approval\nunder reference R84123/RE001) suggests they are similarly harder to detect for\nhumans. Our findings suggest the need for better anomaly detectors, as well as\neffective hardware- and system-level defenses. The project website can be found\nat https://tinyurl.com/illusory-attacks.\n", "date": "2022-07-20", "categories": []} {"id": "2211.11312", "title": "Understanding the Vulnerability of Skeleton-based Human Activity\n Recognition via Black-box Attack", "abstract": " Human Activity Recognition (HAR) has been employed in a wide range of\napplications, e.g. self-driving cars, where safety and lives are at stake.\nRecently, the robustness of skeleton-based HAR methods have been questioned due\nto their vulnerability to adversarial attacks. However, the proposed attacks\nrequire the full-knowledge of the attacked classifier, which is overly\nrestrictive. In this paper, we show such threats indeed exist, even when the\nattacker only has access to the input/output of the model. To this end, we\npropose the very first black-box adversarial attack approach in skeleton-based\nHAR called BASAR. BASAR explores the interplay between the classification\nboundary and the natural motion manifold. To our best knowledge, this is the\nfirst time data manifold is introduced in adversarial attacks on time series.\nVia BASAR, we find on-manifold adversarial samples are extremely deceitful and\nrather common in skeletal motions, in contrast to the common belief that\nadversarial samples only exist off-manifold. Through exhaustive evaluation, we\nshow that BASAR can deliver successful attacks across classifiers, datasets,\nand attack modes. By attack, BASAR helps identify the potential causes of the\nmodel vulnerability and provides insights on possible improvements. Finally, to\nmitigate the newly identified threat, we propose a new adversarial training\napproach by leveraging the sophisticated distributions of on/off-manifold\nadversarial samples, called mixed manifold-based adversarial training (MMAT).\nMMAT can successfully help defend against adversarial attacks without\ncompromising classification accuracy.\n", "date": "2022-11-21", "categories": []} {"id": "2306.15447", "title": "Are aligned neural networks adversarially aligned?", "abstract": " Large language models are now tuned to align with the goals of their\ncreators, namely to be \"helpful and harmless.\" These models should respond\nhelpfully to user questions, but refuse to answer requests that could cause\nharm. However, adversarial users can construct inputs which circumvent attempts\nat alignment. In this work, we study adversarial alignment, and ask to what\nextent these models remain aligned when interacting with an adversarial user\nwho constructs worst-case inputs (adversarial examples). These inputs are\ndesigned to cause the model to emit harmful content that would otherwise be\nprohibited. We show that existing NLP-based optimization attacks are\ninsufficiently powerful to reliably attack aligned text models: even when\ncurrent NLP-based attacks fail, we can find adversarial inputs with brute\nforce. As a result, the failure of current attacks should not be seen as proof\nthat aligned text models remain aligned under adversarial inputs.\n However the recent trend in large-scale ML models is multimodal models that\nallow users to provide images that influence the text that is generated. We\nshow these models can be easily attacked, i.e., induced to perform arbitrary\nun-aligned behavior through adversarial perturbation of the input image. We\nconjecture that improved NLP attacks may demonstrate this same level of\nadversarial control over text-only models.\n", "date": "2023-06-26", "categories": []} {"id": "2310.18936", "title": "Adversarial Examples Are Not Real Features", "abstract": " The existence of adversarial examples has been a mystery for years and\nattracted much interest. A well-known theory by \\citet{ilyas2019adversarial}\nexplains adversarial vulnerability from a data perspective by showing that one\ncan extract non-robust features from adversarial examples and these features\nalone are useful for classification. However, the explanation remains quite\ncounter-intuitive since non-robust features are mostly noise features to\nhumans. In this paper, we re-examine the theory from a larger context by\nincorporating multiple learning paradigms. Notably, we find that contrary to\ntheir good usefulness under supervised learning, non-robust features attain\npoor usefulness when transferred to other self-supervised learning paradigms,\nsuch as contrastive learning, masked image modeling, and diffusion models. It\nreveals that non-robust features are not really as useful as robust or natural\nfeatures that enjoy good transferability between these paradigms. Meanwhile,\nfor robustness, we also show that naturally trained encoders from robust\nfeatures are largely non-robust under AutoAttack. Our cross-paradigm\nexamination suggests that the non-robust features are not really useful but\nmore like paradigm-wise shortcuts, and robust features alone might be\ninsufficient to attain reliable model robustness. Code is available at\n\\url{https://github.com/PKU-ML/AdvNotRealFeatures}.\n", "date": "2023-10-29", "categories": []} {"id": "2405.03193", "title": "Exploring Frequencies via Feature Mixing and Meta-Learning for Improving\n Adversarial Transferability", "abstract": " Recent studies have shown that Deep Neural Networks (DNNs) are susceptible to\nadversarial attacks, with frequency-domain analysis underscoring the\nsignificance of high-frequency components in influencing model predictions.\nConversely, targeting low-frequency components has been effective in enhancing\nattack transferability on black-box models. In this study, we introduce a\nfrequency decomposition-based feature mixing method to exploit these frequency\ncharacteristics in both clean and adversarial samples. Our findings suggest\nthat incorporating features of clean samples into adversarial features\nextracted from adversarial examples is more effective in attacking\nnormally-trained models, while combining clean features with the adversarial\nfeatures extracted from low-frequency parts decomposed from the adversarial\nsamples yields better results in attacking defense models. However, a conflict\nissue arises when these two mixing approaches are employed simultaneously. To\ntackle the issue, we propose a cross-frequency meta-optimization approach\ncomprising the meta-train step, meta-test step, and final update. In the\nmeta-train step, we leverage the low-frequency components of adversarial\nsamples to boost the transferability of attacks against defense models.\nMeanwhile, in the meta-test step, we utilize adversarial samples to stabilize\ngradients, thereby enhancing the attack's transferability against normally\ntrained models. For the final update, we update the adversarial sample based on\nthe gradients obtained from both meta-train and meta-test steps. Our proposed\nmethod is evaluated through extensive experiments on the ImageNet-Compatible\ndataset, affirming its effectiveness in improving the transferability of\nattacks on both normally-trained CNNs and defense models.\n The source code is available at https://github.com/WJJLL/MetaSSA.\n", "date": "2024-05-06", "categories": []} {"id": "2310.05336", "title": "GReAT: A Graph Regularized Adversarial Training Method", "abstract": " This paper presents GReAT (Graph Regularized Adversarial Training), a novel\nregularization method designed to enhance the robust classification performance\nof deep learning models. Adversarial examples, characterized by subtle\nperturbations that can mislead models, pose a significant challenge in machine\nlearning. Although adversarial training is effective in defending against such\nattacks, it often overlooks the underlying data structure. In response, GReAT\nintegrates graph based regularization into the adversarial training process,\nleveraging the data's inherent structure to enhance model robustness. By\nincorporating graph information during training, GReAT defends against\nadversarial attacks and improves generalization to unseen data. Extensive\nevaluations on benchmark datasets demonstrate that GReAT outperforms state of\nthe art methods in robustness, achieving notable improvements in classification\naccuracy. Specifically, compared to the second best methods, GReAT achieves a\nperformance increase of approximately 4.87% for CIFAR10 against FGSM attack and\n10.57% for SVHN against FGSM attack. Additionally, for CIFAR10, GReAT\ndemonstrates a performance increase of approximately 11.05% against PGD attack,\nand for SVHN, a 5.54% increase against PGD attack. This paper provides detailed\ninsights into the proposed methodology, including numerical results and\ncomparisons with existing approaches, highlighting the significant impact of\nGReAT in advancing the performance of deep learning models.\n", "date": "2023-10-09", "categories": []} {"id": "2404.05688", "title": "David and Goliath: An Empirical Evaluation of Attacks and Defenses for\n QNNs at the Deep Edge", "abstract": " ML is shifting from the cloud to the edge. Edge computing reduces the surface\nexposing private data and enables reliable throughput guarantees in real-time\napplications. Of the panoply of devices deployed at the edge,\nresource-constrained MCUs, e.g., Arm Cortex-M, are more prevalent, orders of\nmagnitude cheaper, and less power-hungry than application processors or GPUs.\nThus, enabling intelligence at the deep edge is the zeitgeist, with researchers\nfocusing on unveiling novel approaches to deploy ANNs on these constrained\ndevices. Quantization is a well-established technique that has proved effective\nin enabling the deployment of neural networks on MCUs; however, it is still an\nopen question to understand the robustness of QNNs in the face of adversarial\nexamples.\n To fill this gap, we empirically evaluate the effectiveness of attacks and\ndefenses from (full-precision) ANNs on (constrained) QNNs. Our evaluation\nincludes three QNNs targeting TinyML applications, ten attacks, and six\ndefenses. With this study, we draw a set of interesting findings. First,\nquantization increases the point distance to the decision boundary and leads\nthe gradient estimated by some attacks to explode or vanish. Second,\nquantization can act as a noise attenuator or amplifier, depending on the noise\nmagnitude, and causes gradient misalignment. Regarding adversarial defenses, we\nconclude that input pre-processing defenses show impressive results on small\nperturbations; however, they fall short as the perturbation increases. At the\nsame time, train-based defenses increase the average point distance to the\ndecision boundary, which holds after quantization. However, we argue that\ntrain-based defenses still need to smooth the quantization-shift and gradient\nmisalignment phenomenons to counteract adversarial example transferability to\nQNNs. All artifacts are open-sourced to enable independent validation of\nresults.\n", "date": "2024-04-08", "categories": []} {"id": "2405.01817", "title": "Uniformly Stable Algorithms for Adversarial Training and Beyond", "abstract": " In adversarial machine learning, neural networks suffer from a significant\nissue known as robust overfitting, where the robust test accuracy decreases\nover epochs (Rice et al., 2020). Recent research conducted by Xing et al.,2021;\nXiao et al., 2022 has focused on studying the uniform stability of adversarial\ntraining. Their investigations revealed that SGD-based adversarial training\nfails to exhibit uniform stability, and the derived stability bounds align with\nthe observed phenomenon of robust overfitting in experiments. This motivates us\nto develop uniformly stable algorithms specifically tailored for adversarial\ntraining. To this aim, we introduce Moreau envelope-$\\mathcal{A}$, a variant of\nthe Moreau Envelope-type algorithm. We employ a Moreau envelope function to\nreframe the original problem as a min-min problem, separating the non-strong\nconvexity and non-smoothness of the adversarial loss. Then, this approach\nalternates between solving the inner and outer minimization problems to achieve\nuniform stability without incurring additional computational overhead. In\npractical scenarios, we show the efficacy of ME-$\\mathcal{A}$ in mitigating the\nissue of robust overfitting. Beyond its application in adversarial training,\nthis represents a fundamental result in uniform stability analysis, as\nME-$\\mathcal{A}$ is the first algorithm to exhibit uniform stability for\nweakly-convex, non-smooth problems.\n", "date": "2024-05-03", "categories": []} {"id": "2405.01838", "title": "A Novel Approach to Guard from Adversarial Attacks using Stable\n Diffusion", "abstract": " Recent developments in adversarial machine learning have highlighted the\nimportance of building robust AI systems to protect against increasingly\nsophisticated attacks. While frameworks like AI Guardian are designed to defend\nagainst these threats, they often rely on assumptions that can limit their\neffectiveness. For example, they may assume attacks only come from one\ndirection or include adversarial images in their training data. Our proposal\nsuggests a different approach to the AI Guardian framework. Instead of\nincluding adversarial examples in the training process, we propose training the\nAI system without them. This aims to create a system that is inherently\nresilient to a wider range of attacks. Our method focuses on a dynamic defense\nstrategy using stable diffusion that learns continuously and models threats\ncomprehensively. We believe this approach can lead to a more generalized and\nrobust defense against adversarial attacks.\n In this paper, we outline our proposed approach, including the theoretical\nbasis, experimental design, and expected impact on improving AI security\nagainst adversarial threats.\n", "date": "2024-05-03", "categories": []} {"id": "2405.01934", "title": "Impact of Architectural Modifications on Deep Learning Adversarial\n Robustness", "abstract": " Rapid advancements of deep learning are accelerating adoption in a wide\nvariety of applications, including safety-critical applications such as\nself-driving vehicles, drones, robots, and surveillance systems. These\nadvancements include applying variations of sophisticated techniques that\nimprove the performance of models. However, such models are not immune to\nadversarial manipulations, which can cause the system to misbehave and remain\nunnoticed by experts. The frequency of modifications to existing deep learning\nmodels necessitates thorough analysis to determine the impact on models'\nrobustness. In this work, we present an experimental evaluation of the effects\nof model modifications on deep learning model robustness using adversarial\nattacks. Our methodology involves examining the robustness of variations of\nmodels against various adversarial attacks. By conducting our experiments, we\naim to shed light on the critical issue of maintaining the reliability and\nsafety of deep learning models in safety- and security-critical applications.\nOur results indicate the pressing demand for an in-depth assessment of the\neffects of model changes on the robustness of models.\n", "date": "2024-05-03", "categories": []} {"id": "2405.01963", "title": "From Attack to Defense: Insights into Deep Learning Security Measures in\n Black-Box Settings", "abstract": " Deep Learning (DL) is rapidly maturing to the point that it can be used in\nsafety- and security-crucial applications. However, adversarial samples, which\nare undetectable to the human eye, pose a serious threat that can cause the\nmodel to misbehave and compromise the performance of such applications.\nAddressing the robustness of DL models has become crucial to understanding and\ndefending against adversarial attacks. In this study, we perform comprehensive\nexperiments to examine the effect of adversarial attacks and defenses on\nvarious model architectures across well-known datasets. Our research focuses on\nblack-box attacks such as SimBA, HopSkipJump, MGAAttack, and boundary attacks,\nas well as preprocessor-based defensive mechanisms, including bits squeezing,\nmedian smoothing, and JPEG filter. Experimenting with various models, our\nresults demonstrate that the level of noise needed for the attack increases as\nthe number of layers increases. Moreover, the attack success rate decreases as\nthe number of layers increases. This indicates that model complexity and\nrobustness have a significant relationship. Investigating the diversity and\nrobustness relationship, our experiments with diverse models show that having a\nlarge number of parameters does not imply higher robustness. Our experiments\nextend to show the effects of the training dataset on model robustness. Using\nvarious datasets such as ImageNet-1000, CIFAR-100, and CIFAR-10 are used to\nevaluate the black-box attacks. Considering the multiple dimensions of our\nanalysis, e.g., model complexity and training dataset, we examined the behavior\nof black-box attacks when models apply defenses. Our results show that applying\ndefense strategies can significantly reduce attack effectiveness. This research\nprovides in-depth analysis and insight into the robustness of DL models against\nvarious attacks, and defenses.\n", "date": "2024-05-03", "categories": []} {"id": "2308.15692", "title": "Intriguing Properties of Diffusion Models: An Empirical Study of the\n Natural Attack Capability in Text-to-Image Generative Models", "abstract": " Denoising probabilistic diffusion models have shown breakthrough performance\nto generate more photo-realistic images or human-level illustrations than the\nprior models such as GANs. This high image-generation capability has stimulated\nthe creation of many downstream applications in various areas. However, we find\nthat this technology is actually a double-edged sword: We identify a new type\nof attack, called the Natural Denoising Diffusion (NDD) attack based on the\nfinding that state-of-the-art deep neural network (DNN) models still hold their\nprediction even if we intentionally remove their robust features, which are\nessential to the human visual system (HVS), through text prompts. The NDD\nattack shows a significantly high capability to generate low-cost,\nmodel-agnostic, and transferable adversarial attacks by exploiting the natural\nattack capability in diffusion models. To systematically evaluate the risk of\nthe NDD attack, we perform a large-scale empirical study with our newly created\ndataset, the Natural Denoising Diffusion Attack (NDDA) dataset. We evaluate the\nnatural attack capability by answering 6 research questions. Through a user\nstudy, we find that it can achieve an 88% detection rate while being stealthy\nto 93% of human subjects; we also find that the non-robust features embedded by\ndiffusion models contribute to the natural attack capability. To confirm the\nmodel-agnostic and transferable attack capability, we perform the NDD attack\nagainst the Tesla Model 3 and find that 73% of the physically printed attacks\ncan be detected as stop signs. Our hope is that the study and dataset can help\nour community be aware of the risks in diffusion models and facilitate further\nresearch toward robust DNN models.\n", "date": "2023-08-30", "categories": []} {"id": "2310.17626", "title": "A Survey on Transferability of Adversarial Examples across Deep Neural\n Networks", "abstract": " The emergence of Deep Neural Networks (DNNs) has revolutionized various\ndomains by enabling the resolution of complex tasks spanning image recognition,\nnatural language processing, and scientific problem-solving. However, this\nprogress has also brought to light a concerning vulnerability: adversarial\nexamples. These crafted inputs, imperceptible to humans, can manipulate machine\nlearning models into making erroneous predictions, raising concerns for\nsafety-critical applications. An intriguing property of this phenomenon is the\ntransferability of adversarial examples, where perturbations crafted for one\nmodel can deceive another, often with a different architecture. This intriguing\nproperty enables black-box attacks which circumvents the need for detailed\nknowledge of the target model. This survey explores the landscape of the\nadversarial transferability of adversarial examples. We categorize existing\nmethodologies to enhance adversarial transferability and discuss the\nfundamental principles guiding each approach. While the predominant body of\nresearch primarily concentrates on image classification, we also extend our\ndiscussion to encompass other vision tasks and beyond. Challenges and\nopportunities are discussed, highlighting the importance of fortifying DNNs\nagainst adversarial vulnerabilities in an evolving landscape.\n", "date": "2023-10-26", "categories": []} {"id": "2404.13320", "title": "Pixel is a Barrier: Diffusion Models Are More Adversarially Robust Than\n We Think", "abstract": " Adversarial examples for diffusion models are widely used as solutions for\nsafety concerns. By adding adversarial perturbations to personal images,\nattackers can not edit or imitate them easily. However, it is essential to note\nthat all these protections target the latent diffusion model (LDMs), the\nadversarial examples for diffusion models in the pixel space (PDMs) are largely\noverlooked. This may mislead us to think that the diffusion models are\nvulnerable to adversarial attacks like most deep models. In this paper, we show\nnovel findings that: even though gradient-based white-box attacks can be used\nto attack the LDMs, they fail to attack PDMs. This finding is supported by\nextensive experiments of almost a wide range of attacking methods on various\nPDMs and LDMs with different model structures, which means diffusion models are\nindeed much more robust against adversarial attacks. We also find that PDMs can\nbe used as an off-the-shelf purifier to effectively remove the adversarial\npatterns that were generated on LDMs to protect the images, which means that\nmost protection methods nowadays, to some extent, cannot protect our images\nfrom malicious attacks. We hope that our insights will inspire the community to\nrethink the adversarial samples for diffusion models as protection methods and\nmove forward to more effective protection. Codes are available in\nhttps://github.com/xavihart/PDM-Pure.\n", "date": "2024-04-20", "categories": []} {"id": "2404.15656", "title": "MISLEAD: Manipulating Importance of Selected features for Learning\n Epsilon in Evasion Attack Deception", "abstract": " Emerging vulnerabilities in machine learning (ML) models due to adversarial\nattacks raise concerns about their reliability. Specifically, evasion attacks\nmanipulate models by introducing precise perturbations to input data, causing\nerroneous predictions. To address this, we propose a methodology combining\nSHapley Additive exPlanations (SHAP) for feature importance analysis with an\ninnovative Optimal Epsilon technique for conducting evasion attacks. Our\napproach begins with SHAP-based analysis to understand model vulnerabilities,\ncrucial for devising targeted evasion strategies. The Optimal Epsilon\ntechnique, employing a Binary Search algorithm, efficiently determines the\nminimum epsilon needed for successful evasion. Evaluation across diverse\nmachine learning architectures demonstrates the technique's precision in\ngenerating adversarial samples, underscoring its efficacy in manipulating model\noutcomes. This study emphasizes the critical importance of continuous\nassessment and monitoring to identify and mitigate potential security risks in\nmachine learning systems.\n", "date": "2024-04-24", "categories": []} {"id": "2405.00289", "title": "Adversarial Attacks and Defense for Conversation Entailment Task", "abstract": " As the deployment of NLP systems in critical applications grows, ensuring the\nrobustness of large language models (LLMs) against adversarial attacks becomes\nincreasingly important. Large language models excel in various NLP tasks but\nremain vulnerable to low-cost adversarial attacks. Focusing on the domain of\nconversation entailment, where multi-turn dialogues serve as premises to verify\nhypotheses, we fine-tune a transformer model to accurately discern the\ntruthfulness of these hypotheses. Adversaries manipulate hypotheses through\nsynonym swapping, aiming to deceive the model into making incorrect\npredictions. To counteract these attacks, we implemented innovative fine-tuning\ntechniques and introduced an embedding perturbation loss method to\nsignificantly bolster the model's robustness. Our findings not only emphasize\nthe importance of defending against adversarial attacks in NLP but also\nhighlight the real-world implications, suggesting that enhancing model\nrobustness is critical for reliable NLP applications.\n", "date": "2024-05-01", "categories": []} {"id": "2405.00392", "title": "Certified Adversarial Robustness of Machine Learning-based Malware\n Detectors via (De)Randomized Smoothing", "abstract": " Deep learning-based malware detection systems are vulnerable to adversarial\nEXEmples - carefully-crafted malicious programs that evade detection with\nminimal perturbation. As such, the community is dedicating effort to develop\nmechanisms to defend against adversarial EXEmples. However, current randomized\nsmoothing-based defenses are still vulnerable to attacks that inject blocks of\nadversarial content. In this paper, we introduce a certifiable defense against\npatch attacks that guarantees, for a given executable and an adversarial patch\nsize, no adversarial EXEmple exist. Our method is inspired by (de)randomized\nsmoothing which provides deterministic robustness certificates. During\ntraining, a base classifier is trained using subsets of continguous bytes. At\ninference time, our defense splits the executable into non-overlapping chunks,\nclassifies each chunk independently, and computes the final prediction through\nmajority voting to minimize the influence of injected content. Furthermore, we\nintroduce a preprocessing step that fixes the size of the sections and headers\nto a multiple of the chunk size. As a consequence, the injected content is\nconfined to an integer number of chunks without tampering the other chunks\ncontaining the real bytes of the input examples, allowing us to extend our\ncertified robustness guarantees to content insertion attacks. We perform an\nextensive ablation study, by comparing our defense with randomized\nsmoothing-based defenses against a plethora of content manipulation attacks and\nneural network architectures. Results show that our method exhibits unmatched\nrobustness against strong content-insertion attacks, outperforming randomized\nsmoothing-based defenses in the literature.\n", "date": "2024-05-01", "categories": []} {"id": "2404.19382", "title": "Probing Unlearned Diffusion Models: A Transferable Adversarial Attack\n Perspective", "abstract": " Advanced text-to-image diffusion models raise safety concerns regarding\nidentity privacy violation, copyright infringement, and Not Safe For Work\ncontent generation. Towards this, unlearning methods have been developed to\nerase these involved concepts from diffusion models. However, these unlearning\nmethods only shift the text-to-image mapping and preserve the visual content\nwithin the generative space of diffusion models, leaving a fatal flaw for\nrestoring these erased concepts. This erasure trustworthiness problem needs\nprobe, but previous methods are sub-optimal from two perspectives: (1) Lack of\ntransferability: Some methods operate within a white-box setting, requiring\naccess to the unlearned model. And the learned adversarial input often fails to\ntransfer to other unlearned models for concept restoration; (2) Limited attack:\nThe prompt-level methods struggle to restore narrow concepts from unlearned\nmodels, such as celebrity identity. Therefore, this paper aims to leverage the\ntransferability of the adversarial attack to probe the unlearning robustness\nunder a black-box setting. This challenging scenario assumes that the\nunlearning method is unknown and the unlearned model is inaccessible for\noptimization, requiring the attack to be capable of transferring across\ndifferent unlearned models. Specifically, we employ an adversarial search\nstrategy to search for the adversarial embedding which can transfer across\ndifferent unlearned models. This strategy adopts the original Stable Diffusion\nmodel as a surrogate model to iteratively erase and search for embeddings,\nenabling it to find the embedding that can restore the target concept for\ndifferent unlearning methods. Extensive experiments demonstrate the\ntransferability of the searched adversarial embedding across several\nstate-of-the-art unlearning methods and its effectiveness for different levels\nof concepts.\n", "date": "2024-04-30", "categories": []} {"id": "2404.19640", "title": "Attacking Bayes: On the Adversarial Robustness of Bayesian Neural\n Networks", "abstract": " Adversarial examples have been shown to cause neural networks to fail on a\nwide range of vision and language tasks, but recent work has claimed that\nBayesian neural networks (BNNs) are inherently robust to adversarial\nperturbations. In this work, we examine this claim. To study the adversarial\nrobustness of BNNs, we investigate whether it is possible to successfully break\nstate-of-the-art BNN inference methods and prediction pipelines using even\nrelatively unsophisticated attacks for three tasks: (1) label prediction under\nthe posterior predictive mean, (2) adversarial example detection with Bayesian\npredictive uncertainty, and (3) semantic shift detection. We find that BNNs\ntrained with state-of-the-art approximate inference methods, and even BNNs\ntrained with Hamiltonian Monte Carlo, are highly susceptible to adversarial\nattacks. We also identify various conceptual and experimental errors in\nprevious works that claimed inherent adversarial robustness of BNNs and\nconclusively demonstrate that BNNs and uncertainty-aware Bayesian prediction\npipelines are not inherently robust against adversarial attacks.\n", "date": "2024-04-27", "categories": []} {"id": "2305.10862", "title": "How Deep Learning Sees the World: A Survey on Adversarial Attacks &\n Defenses", "abstract": " Deep Learning is currently used to perform multiple tasks, such as object\nrecognition, face recognition, and natural language processing. However, Deep\nNeural Networks (DNNs) are vulnerable to perturbations that alter the network\nprediction (adversarial examples), raising concerns regarding its usage in\ncritical areas, such as self-driving vehicles, malware detection, and\nhealthcare. This paper compiles the most recent adversarial attacks, grouped by\nthe attacker capacity, and modern defenses clustered by protection strategies.\nWe also present the new advances regarding Vision Transformers, summarize the\ndatasets and metrics used in the context of adversarial settings, and compare\nthe state-of-the-art results under different attacks, finishing with the\nidentification of open issues.\n", "date": "2023-05-18", "categories": []} {"id": "2306.07544", "title": "On Achieving Optimal Adversarial Test Error", "abstract": " We first elucidate various fundamental properties of optimal adversarial\npredictors: the structure of optimal adversarial convex predictors in terms of\noptimal adversarial zero-one predictors, bounds relating the adversarial convex\nloss to the adversarial zero-one loss, and the fact that continuous predictors\ncan get arbitrarily close to the optimal adversarial error for both convex and\nzero-one losses. Applying these results along with new Rademacher complexity\nbounds for adversarial training near initialization, we prove that for general\ndata distributions and perturbation sets, adversarial training on shallow\nnetworks with early stopping and an idealized optimal adversary is able to\nachieve optimal adversarial test error. By contrast, prior theoretical work\neither considered specialized data distributions or only provided training\nerror guarantees.\n", "date": "2023-06-13", "categories": []} {"id": "2404.17760", "title": "Adversarial Examples: Generation Proposal in the Context of Facial\n Recognition Systems", "abstract": " In this paper we investigate the vulnerability that facial recognition\nsystems present to adversarial examples by introducing a new methodology from\nthe attacker perspective. The technique is based on the use of the autoencoder\nlatent space, organized with principal component analysis. We intend to analyze\nthe potential to craft adversarial examples suitable for both dodging and\nimpersonation attacks, against state-of-the-art systems. Our initial\nhypothesis, which was not strongly favoured by the results, stated that it\nwould be possible to separate between the \"identity\" and \"facial expression\"\nfeatures to produce high-quality examples. Despite the findings not supporting\nit, the results sparked insights into adversarial examples generation and\nopened new research avenues in the area.\n", "date": "2024-04-27", "categories": []} {"id": "2404.18825", "title": "Harmonic Machine Learning Models are Robust", "abstract": " We introduce Harmonic Robustness, a powerful and intuitive method to test the\nrobustness of any machine-learning model either during training or in black-box\nreal-time inference monitoring without ground-truth labels. It is based on\nfunctional deviation from the harmonic mean value property, indicating\ninstability and lack of explainability. We show implementation examples in\nlow-dimensional trees and feedforward NNs, where the method reliably identifies\noverfitting, as well as in more complex high-dimensional models such as\nResNet-50 and Vision Transformer where it efficiently measures adversarial\nvulnerability across image classes.\n", "date": "2024-04-29", "categories": []} {"id": "2305.02605", "title": "Toward Evaluating Robustness of Reinforcement Learning with Adversarial\n Policy", "abstract": " Reinforcement learning agents are susceptible to evasion attacks during\ndeployment. In single-agent environments, these attacks can occur through\nimperceptible perturbations injected into the inputs of the victim policy\nnetwork. In multi-agent environments, an attacker can manipulate an adversarial\nopponent to influence the victim policy's observations indirectly. While\nadversarial policies offer a promising technique to craft such attacks, current\nmethods are either sample-inefficient due to poor exploration strategies or\nrequire extra surrogate model training under the black-box assumption. To\naddress these challenges, in this paper, we propose Intrinsically Motivated\nAdversarial Policy (IMAP) for efficient black-box adversarial policy learning\nin both single- and multi-agent environments. We formulate four types of\nadversarial intrinsic regularizers -- maximizing the adversarial state\ncoverage, policy coverage, risk, or divergence -- to discover potential\nvulnerabilities of the victim policy in a principled way. We also present a\nnovel bias-reduction method to balance the extrinsic objective and the\nadversarial intrinsic regularizers adaptively. Our experiments validate the\neffectiveness of the four types of adversarial intrinsic regularizers and the\nbias-reduction method in enhancing black-box adversarial policy learning across\na variety of environments. Our IMAP successfully evades two types of defense\nmethods, adversarial training and robust regularizer, decreasing the\nperformance of the state-of-the-art robust WocaR-PPO agents by 34\\%-54\\% across\nfour single-agent tasks. IMAP also achieves a state-of-the-art attacking\nsuccess rate of 83.91\\% in the multi-agent game YouShallNotPass. Our code is\navailable at \\url{https://github.com/x-zheng16/IMAP}.\n", "date": "2023-05-04", "categories": []} {"id": "2404.15744", "title": "A General Black-box Adversarial Attack on Graph-based Fake News\n Detectors", "abstract": " Graph Neural Network (GNN)-based fake news detectors apply various methods to\nconstruct graphs, aiming to learn distinctive news embeddings for\nclassification. Since the construction details are unknown for attackers in a\nblack-box scenario, it is unrealistic to conduct the classical adversarial\nattacks that require a specific adjacency matrix. In this paper, we propose the\nfirst general black-box adversarial attack framework, i.e., General Attack via\nFake Social Interaction (GAFSI), against detectors based on different graph\nstructures. Specifically, as sharing is an important social interaction for\nGNN-based fake news detectors to construct the graph, we simulate sharing\nbehaviors to fool the detectors. Firstly, we propose a fraudster selection\nmodule to select engaged users leveraging local and global information. In\naddition, a post injection module guides the selected users to create shared\nrelations by sending posts. The sharing records will be added to the social\ncontext, leading to a general attack against different detectors. Experimental\nresults on empirical datasets demonstrate the effectiveness of GAFSI.\n", "date": "2024-04-24", "categories": []} {"id": "2404.17020", "title": "Generating Minimalist Adversarial Perturbations to Test Object-Detection\n Models: An Adaptive Multi-Metric Evolutionary Search Approach", "abstract": " Deep Learning (DL) models excel in computer vision tasks but can be\nsusceptible to adversarial examples. This paper introduces Triple-Metric\nEvoAttack (TM-EVO), an efficient algorithm for evaluating the robustness of\nobject-detection DL models against adversarial attacks. TM-EVO utilizes a\nmulti-metric fitness function to guide an evolutionary search efficiently in\ncreating effective adversarial test inputs with minimal perturbations. We\nevaluate TM-EVO on widely-used object-detection DL models, DETR and Faster\nR-CNN, and open-source datasets, COCO and KITTI. Our findings reveal that\nTM-EVO outperforms the state-of-the-art EvoAttack baseline, leading to\nadversarial tests with less noise while maintaining efficiency.\n", "date": "2024-04-25", "categories": []} {"id": "2404.17371", "title": "Estimating the Robustness Radius for Randomized Smoothing with\n 100$\\times$ Sample Efficiency", "abstract": " Randomized smoothing (RS) has successfully been used to improve the\nrobustness of predictions for deep neural networks (DNNs) by adding random\nnoise to create multiple variations of an input, followed by deciding the\nconsensus. To understand if an RS-enabled DNN is effective in the sampled input\ndomains, it is mandatory to sample data points within the operational design\ndomain, acquire the point-wise certificate regarding robustness radius, and\ncompare it with pre-defined acceptance criteria. Consequently, ensuring that a\npoint-wise robustness certificate for any given data point is obtained\nrelatively cost-effectively is crucial. This work demonstrates that reducing\nthe number of samples by one or two orders of magnitude can still enable the\ncomputation of a slightly smaller robustness radius (commonly ~20% radius\nreduction) with the same confidence. We provide the mathematical foundation for\nexplaining the phenomenon while experimentally showing promising results on the\nstandard CIFAR-10 and ImageNet datasets.\n", "date": "2024-04-26", "categories": []} {"id": "2305.15792", "title": "IDEA: Invariant Defense for Graph Adversarial Robustness", "abstract": " Despite the success of graph neural networks (GNNs), their vulnerability to\nadversarial attacks poses tremendous challenges for practical applications.\nExisting defense methods suffer from severe performance decline under unseen\nattacks, due to either limited observed adversarial examples or pre-defined\nheuristics. To address these limitations, we analyze the causalities in graph\nadversarial attacks and conclude that causal features are key to achieve graph\nadversarial robustness, owing to their determinedness for labels and invariance\nacross attacks. To learn these causal features, we innovatively propose an\nInvariant causal DEfense method against adversarial Attacks (IDEA). We derive\nnode-based and structure-based invariance objectives from an\ninformation-theoretic perspective. IDEA ensures strong predictability for\nlabels and invariant predictability across attacks, which is provably a\ncausally invariant defense across various attacks. Extensive experiments\ndemonstrate that IDEA attains state-of-the-art defense performance under all\nfive attacks on all five datasets. The implementation of IDEA is available at\nhttps://anonymous.4open.science/r/IDEA.\n", "date": "2023-05-25", "categories": []} {"id": "2308.02116", "title": "AdvFAS: A robust face anti-spoofing framework against adversarial\n examples", "abstract": " Ensuring the reliability of face recognition systems against presentation\nattacks necessitates the deployment of face anti-spoofing techniques. Despite\nconsiderable advancements in this domain, the ability of even the most\nstate-of-the-art methods to defend against adversarial examples remains\nelusive. While several adversarial defense strategies have been proposed, they\ntypically suffer from constrained practicability due to inevitable trade-offs\nbetween universality, effectiveness, and efficiency. To overcome these\nchallenges, we thoroughly delve into the coupled relationship between\nadversarial detection and face anti-spoofing. Based on this, we propose a\nrobust face anti-spoofing framework, namely AdvFAS, that leverages two coupled\nscores to accurately distinguish between correctly detected and wrongly\ndetected face images. Extensive experiments demonstrate the effectiveness of\nour framework in a variety of settings, including different attacks, datasets,\nand backbones, meanwhile enjoying high accuracy on clean examples. Moreover, we\nsuccessfully apply the proposed method to detect real-world adversarial\nexamples.\n", "date": "2023-08-04", "categories": []} {"id": "2404.16452", "title": "PAD: Patch-Agnostic Defense against Adversarial Patch Attacks", "abstract": " Adversarial patch attacks present a significant threat to real-world object\ndetectors due to their practical feasibility. Existing defense methods, which\nrely on attack data or prior knowledge, struggle to effectively address a wide\nrange of adversarial patches. In this paper, we show two inherent\ncharacteristics of adversarial patches, semantic independence and spatial\nheterogeneity, independent of their appearance, shape, size, quantity, and\nlocation. Semantic independence indicates that adversarial patches operate\nautonomously within their semantic context, while spatial heterogeneity\nmanifests as distinct image quality of the patch area that differs from\noriginal clean image due to the independent generation process. Based on these\nobservations, we propose PAD, a novel adversarial patch localization and\nremoval method that does not require prior knowledge or additional training.\nPAD offers patch-agnostic defense against various adversarial patches,\ncompatible with any pre-trained object detectors. Our comprehensive digital and\nphysical experiments involving diverse patch types, such as localized noise,\nprintable, and naturalistic patches, exhibit notable improvements over\nstate-of-the-art works. Our code is available at\nhttps://github.com/Lihua-Jing/PAD.\n", "date": "2024-04-25", "categories": []} {"id": "2404.16457", "title": "Towards Precise Observations of Neural Model Robustness in\n Classification", "abstract": " In deep learning applications, robustness measures the ability of neural\nmodels that handle slight changes in input data, which could lead to potential\nsafety hazards, especially in safety-critical applications. Pre-deployment\nassessment of model robustness is essential, but existing methods often suffer\nfrom either high costs or imprecise results. To enhance safety in real-world\nscenarios, metrics that effectively capture the model's robustness are needed.\nTo address this issue, we compare the rigour and usage conditions of various\nassessment methods based on different definitions. Then, we propose a\nstraightforward and practical metric utilizing hypothesis testing for\nprobabilistic robustness and have integrated it into the TorchAttacks library.\nThrough a comparative analysis of diverse robustness assessment methods, our\napproach contributes to a deeper understanding of model robustness in\nsafety-critical applications.\n", "date": "2024-04-25", "categories": []} {"id": "2404.13277", "title": "Beyond Score Changes: Adversarial Attack on No-Reference Image Quality\n Assessment from Two Perspectives", "abstract": " Deep neural networks have demonstrated impressive success in No-Reference\nImage Quality Assessment (NR-IQA). However, recent researches highlight the\nvulnerability of NR-IQA models to subtle adversarial perturbations, leading to\ninconsistencies between model predictions and subjective ratings. Current\nadversarial attacks, however, focus on perturbing predicted scores of\nindividual images, neglecting the crucial aspect of inter-score correlation\nrelationships within an entire image set. Meanwhile, it is important to note\nthat the correlation, like ranking correlation, plays a significant role in\nNR-IQA tasks. To comprehensively explore the robustness of NR-IQA models, we\nintroduce a new framework of correlation-error-based attacks that perturb both\nthe correlation within an image set and score changes on individual images. Our\nresearch primarily focuses on ranking-related correlation metrics like\nSpearman's Rank-Order Correlation Coefficient (SROCC) and prediction\nerror-related metrics like Mean Squared Error (MSE). As an instantiation, we\npropose a practical two-stage SROCC-MSE-Attack (SMA) that initially optimizes\ntarget attack scores for the entire image set and then generates adversarial\nexamples guided by these scores. Experimental results demonstrate that our SMA\nmethod not only significantly disrupts the SROCC to negative values but also\nmaintains a considerable change in the scores of individual images. Meanwhile,\nit exhibits state-of-the-art performance across metrics with different\ncategories. Our method provides a new perspective on the robustness of NR-IQA\nmodels.\n", "date": "2024-04-20", "categories": []} {"id": "2404.15344", "title": "Adversarial Robustness of Distilled and Pruned Deep Learning-based\n Wireless Classifiers", "abstract": " Data-driven deep learning (DL) techniques developed for automatic modulation\nclassification (AMC) of wireless signals are vulnerable to adversarial attacks.\nThis poses a severe security threat to the DL-based wireless systems,\nspecifically for edge applications of AMC. In this work, we address the joint\nproblem of developing optimized DL models that are also robust against\nadversarial attacks. This enables efficient and reliable deployment of DL-based\nAMC on edge devices. We first propose two optimized models using knowledge\ndistillation and network pruning, followed by a computationally efficient\nadversarial training process to improve the robustness. Experimental results on\nfive white-box attacks show that the proposed optimized and adversarially\ntrained models can achieve better robustness than the standard (unoptimized)\nmodel. The two optimized models also achieve higher accuracy on clean\n(unattacked) samples, which is essential for the reliability of DL-based\nsolutions at edge applications.\n", "date": "2024-04-11", "categories": []} {"id": "2404.15784", "title": "An Empirical Study of Aegis", "abstract": " Bit flipping attacks are one class of attacks on neural networks with\nnumerous defense mechanisms invented to mitigate its potency. Due to the\nimportance of ensuring the robustness of these defense mechanisms, we perform\nan empirical study on the Aegis framework. We evaluate the baseline mechanisms\nof Aegis on low-entropy data (MNIST), and we evaluate a pre-trained model with\nthe mechanisms fine-tuned on MNIST. We also compare the use of data\naugmentation to the robustness training of Aegis, and how Aegis performs under\nother adversarial attacks, such as the generation of adversarial examples. We\nfind that both the dynamic-exit strategy and robustness training of Aegis has\nsome drawbacks. In particular, we see drops in accuracy when testing on\nperturbed data, and on adversarial examples, as compared to baselines.\nMoreover, we found that the dynamic exit-strategy loses its uniformity when\ntested on simpler datasets. The code for this project is available on GitHub.\n", "date": "2024-04-24", "categories": []} {"id": "2404.15881", "title": "Steal Now and Attack Later: Evaluating Robustness of Object Detection\n against Black-box Adversarial Attacks", "abstract": " Latency attacks against object detection represent a variant of adversarial\nattacks that aim to inflate the inference time by generating additional ghost\nobjects in a target image. However, generating ghost objects in the black-box\nscenario remains a challenge since information about these unqualified objects\nremains opaque. In this study, we demonstrate the feasibility of generating\nghost objects in adversarial examples by extending the concept of \"steal now,\ndecrypt later\" attacks. These adversarial examples, once produced, can be\nemployed to exploit potential vulnerabilities in the AI service, giving rise to\nsignificant security concerns. The experimental results demonstrate that the\nproposed attack achieves successful attacks across various commonly used models\nand Google Vision API without any prior knowledge about the target model.\nAdditionally, the average cost of each attack is less than \\$ 1 dollars, posing\na significant threat to AI security.\n", "date": "2024-04-24", "categories": []} {"id": "2403.11830", "title": "Problem space structural adversarial attacks for Network Intrusion\n Detection Systems based on Graph Neural Networks", "abstract": " Machine Learning (ML) algorithms have become increasingly popular for\nsupporting Network Intrusion Detection Systems (NIDS). Nevertheless, extensive\nresearch has shown their vulnerability to adversarial attacks, which involve\nsubtle perturbations to the inputs of the models aimed at compromising their\nperformance. Recent proposals have effectively leveraged Graph Neural Networks\n(GNN) to produce predictions based also on the structural patterns exhibited by\nintrusions to enhance the detection robustness. However, the adoption of\nGNN-based NIDS introduces new types of risks. In this paper, we propose the\nfirst formalization of adversarial attacks specifically tailored for GNN in\nnetwork intrusion detection. Moreover, we outline and model the problem space\nconstraints that attackers need to consider to carry out feasible structural\nattacks in real-world scenarios. As a final contribution, we conduct an\nextensive experimental campaign in which we launch the proposed attacks against\nstate-of-the-art GNN-based NIDS. Our findings demonstrate the increased\nrobustness of the models against classical feature-based adversarial attacks,\nwhile highlighting their susceptibility to structure-based attacks.\n", "date": "2024-03-18", "categories": []} {"id": "2401.04727", "title": "Revisiting Adversarial Training at Scale", "abstract": " The machine learning community has witnessed a drastic change in the training\npipeline, pivoted by those ''foundation models'' with unprecedented scales.\nHowever, the field of adversarial training is lagging behind, predominantly\ncentered around small model sizes like ResNet-50, and tiny and low-resolution\ndatasets like CIFAR-10. To bridge this transformation gap, this paper provides\na modern re-examination with adversarial training, investigating its potential\nbenefits when applied at scale. Additionally, we introduce an efficient and\neffective training strategy to enable adversarial training with giant models\nand web-scale data at an affordable computing cost. We denote this newly\nintroduced framework as AdvXL.\n Empirical results demonstrate that AdvXL establishes new state-of-the-art\nrobust accuracy records under AutoAttack on ImageNet-1K. For example, by\ntraining on DataComp-1B dataset, our AdvXL empowers a vanilla ViT-g model to\nsubstantially surpass the previous records of $l_{\\infty}$-, $l_{2}$-, and\n$l_{1}$-robust accuracy by margins of 11.4%, 14.2% and 12.9%, respectively.\nThis achievement posits AdvXL as a pioneering approach, charting a new\ntrajectory for the efficient training of robust visual representations at\nsignificantly larger scales. Our code is available at\nhttps://github.com/UCSC-VLAA/AdvXL.\n", "date": "2024-01-09", "categories": []} {"id": "2403.18985", "title": "Robustness and Visual Explanation for Black Box Image, Video, and ECG\n Signal Classification with Reinforcement Learning", "abstract": " We present a generic Reinforcement Learning (RL) framework optimized for\ncrafting adversarial attacks on different model types spanning from ECG signal\nanalysis (1D), image classification (2D), and video classification (3D). The\nframework focuses on identifying sensitive regions and inducing\nmisclassifications with minimal distortions and various distortion types. The\nnovel RL method outperforms state-of-the-art methods for all three\napplications, proving its efficiency. Our RL approach produces superior\nlocalization masks, enhancing interpretability for image classification and ECG\nanalysis models. For applications such as ECG analysis, our platform highlights\ncritical ECG segments for clinicians while ensuring resilience against\nprevalent distortions. This comprehensive tool aims to bolster both resilience\nwith adversarial training and transparency across varied applications and data\ntypes.\n", "date": "2024-03-27", "categories": []} {"id": "2404.12612", "title": "SA-Attack: Speed-adaptive stealthy adversarial attack on trajectory\n prediction", "abstract": " Trajectory prediction is critical for the safe planning and navigation of\nautomated vehicles. The trajectory prediction models based on the neural\nnetworks are vulnerable to adversarial attacks. Previous attack methods have\nachieved high attack success rates but overlook the adaptability to realistic\nscenarios and the concealment of the deceits. To address this problem, we\npropose a speed-adaptive stealthy adversarial attack method named SA-Attack.\nThis method searches the sensitive region of trajectory prediction models and\ngenerates the adversarial trajectories by using the vehicle-following method\nand incorporating information about forthcoming trajectories. Our method has\nthe ability to adapt to different speed scenarios by reconstructing the\ntrajectory from scratch. Fusing future trajectory trends and curvature\nconstraints can guarantee the smoothness of adversarial trajectories, further\nensuring the stealthiness of attacks. The empirical study on the datasets of\nnuScenes and Apolloscape demonstrates the attack performance of our proposed\nmethod. Finally, we also demonstrate the adaptability and stealthiness of\nSA-Attack for different speed scenarios. Our code is available at the\nrepository: https://github.com/eclipse-bot/SA-Attack.\n", "date": "2024-04-19", "categories": []} {"id": "2404.12653", "title": "How Real Is Real? A Human Evaluation Framework for Unrestricted\n Adversarial Examples", "abstract": " With an ever-increasing reliance on machine learning (ML) models in the real\nworld, adversarial examples threaten the safety of AI-based systems such as\nautonomous vehicles. In the image domain, they represent maliciously perturbed\ndata points that look benign to humans (i.e., the image modification is not\nnoticeable) but greatly mislead state-of-the-art ML models. Previously,\nresearchers ensured the imperceptibility of their altered data points by\nrestricting perturbations via $\\ell_p$ norms. However, recent publications\nclaim that creating natural-looking adversarial examples without such\nrestrictions is also possible. With much more freedom to instill malicious\ninformation into data, these unrestricted adversarial examples can potentially\novercome traditional defense strategies as they are not constrained by the\nlimitations or patterns these defenses typically recognize and mitigate. This\nallows attackers to operate outside of expected threat models. However,\nsurveying existing image-based methods, we noticed a need for more human\nevaluations of the proposed image modifications. Based on existing\nhuman-assessment frameworks for image generation quality, we propose SCOOTER -\nan evaluation framework for unrestricted image-based attacks. It provides\nresearchers with guidelines for conducting statistically significant human\nexperiments, standardized questions, and a ready-to-use implementation. We\npropose a framework that allows researchers to analyze how imperceptible their\nunrestricted attacks truly are.\n", "date": "2024-04-19", "categories": []} {"id": "2208.10878", "title": "Transferability Ranking of Adversarial Examples", "abstract": " Adversarial transferability in black-box scenarios presents a unique\nchallenge: while attackers can employ surrogate models to craft adversarial\nexamples, they lack assurance on whether these examples will successfully\ncompromise the target model. Until now, the prevalent method to ascertain\nsuccess has been trial and error-testing crafted samples directly on the victim\nmodel. This approach, however, risks detection with every attempt, forcing\nattackers to either perfect their first try or face exposure. Our paper\nintroduces a ranking strategy that refines the transfer attack process,\nenabling the attacker to estimate the likelihood of success without repeated\ntrials on the victim's system. By leveraging a set of diverse surrogate models,\nour method can predict transferability of adversarial examples. This strategy\ncan be used to either select the best sample to use in an attack or the best\nperturbation to apply to a specific sample. Using our strategy, we were able to\nraise the transferability of adversarial examples from a mere 20% - akin to\nrandom selection-up to near upper-bound levels, with some scenarios even\nwitnessing a 100% success rate. This substantial improvement not only sheds\nlight on the shared susceptibilities across diverse architectures but also\ndemonstrates that attackers can forego the detectable trial-and-error tactics\nraising increasing the threat of surrogate-based attacks.\n", "date": "2022-08-23", "categories": []} {"id": "2402.06244", "title": "Quantifying and Enhancing Multi-modal Robustness with Modality\n Preference", "abstract": " Multi-modal models have shown a promising capability to effectively integrate\ninformation from various sources, yet meanwhile, they are found vulnerable to\npervasive perturbations, such as uni-modal attacks and missing conditions. To\ncounter these perturbations, robust multi-modal representations are highly\nexpected, which are positioned well away from the discriminative multi-modal\ndecision boundary. In this paper, different from conventional empirical\nstudies, we focus on a commonly used joint multi-modal framework and\ntheoretically discover that larger uni-modal representation margins and more\nreliable integration for modalities are essential components for achieving\nhigher robustness. This discovery can further explain the limitation of\nmulti-modal robustness and the phenomenon that multi-modal models are often\nvulnerable to attacks on the specific modality. Moreover, our analysis reveals\nhow the widespread issue, that the model has different preferences for\nmodalities, limits the multi-modal robustness by influencing the essential\ncomponents and could lead to attacks on the specific modality highly effective.\nInspired by our theoretical finding, we introduce a training procedure called\nCertifiable Robust Multi-modal Training (CRMT), which can alleviate this\ninfluence from modality preference and explicitly regulate essential components\nto significantly improve robustness in a certifiable manner. Our method\ndemonstrates substantial improvements in performance and robustness compared\nwith existing methods. Furthermore, our training procedure can be easily\nextended to enhance other robust training strategies, highlighting its\ncredibility and flexibility.\n", "date": "2024-02-09", "categories": []} {"id": "2404.11665", "title": "Exploring DNN Robustness Against Adversarial Attacks Using Approximate\n Multipliers", "abstract": " Deep Neural Networks (DNNs) have advanced in many real-world applications,\nsuch as healthcare and autonomous driving. However, their high computational\ncomplexity and vulnerability to adversarial attacks are ongoing challenges. In\nthis letter, approximate multipliers are used to explore DNN robustness\nimprovement against adversarial attacks. By uniformly replacing accurate\nmultipliers for state-of-the-art approximate ones in DNN layer models, we\nexplore the DNNs robustness against various adversarial attacks in a feasible\ntime. Results show up to 7% accuracy drop due to approximations when no attack\nis present while improving robust accuracy up to 10% when attacks applied.\n", "date": "2024-04-17", "categories": []} {"id": "2404.12014", "title": "Enhance Robustness of Language Models Against Variation Attack through\n Graph Integration", "abstract": " The widespread use of pre-trained language models (PLMs) in natural language\nprocessing (NLP) has greatly improved performance outcomes. However, these\nmodels' vulnerability to adversarial attacks (e.g., camouflaged hints from drug\ndealers), particularly in the Chinese language with its rich character\ndiversity/variation and complex structures, hatches vital apprehension. In this\nstudy, we propose a novel method, CHinese vAriatioN Graph Enhancement (CHANGE),\nto increase the robustness of PLMs against character variation attacks in\nChinese content. CHANGE presents a novel approach for incorporating a Chinese\ncharacter variation graph into the PLMs. Through designing different\nsupplementary tasks utilizing the graph structure, CHANGE essentially enhances\nPLMs' interpretation of adversarially manipulated text. Experiments conducted\nin a multitude of NLP tasks show that CHANGE outperforms current language\nmodels in combating against adversarial attacks and serves as a valuable\ncontribution to robust language model research. These findings contribute to\nthe groundwork on robust language models and highlight the substantial\npotential of graph-guided pre-training strategies for real-world applications.\n", "date": "2024-04-18", "categories": []} {"id": "2404.12274", "title": "Advancing the Robustness of Large Language Models through Self-Denoised\n Smoothing", "abstract": " Although large language models (LLMs) have achieved significant success,\ntheir vulnerability to adversarial perturbations, including recent jailbreak\nattacks, has raised considerable concerns. However, the increasing size of\nthese models and their limited access make improving their robustness a\nchallenging task. Among various defense strategies, randomized smoothing has\nshown great potential for LLMs, as it does not require full access to the\nmodel's parameters or fine-tuning via adversarial training. However, randomized\nsmoothing involves adding noise to the input before model prediction, and the\nfinal model's robustness largely depends on the model's performance on these\nnoise corrupted data. Its effectiveness is often limited by the model's\nsub-optimal performance on noisy data. To address this issue, we propose to\nleverage the multitasking nature of LLMs to first denoise the noisy inputs and\nthen to make predictions based on these denoised versions. We call this\nprocedure self-denoised smoothing. Unlike previous denoised smoothing\ntechniques in computer vision, which require training a separate model to\nenhance the robustness of LLMs, our method offers significantly better\nefficiency and flexibility. Our experimental results indicate that our method\nsurpasses existing methods in both empirical and certified robustness in\ndefending against adversarial attacks for both downstream tasks and human\nalignments (i.e., jailbreak attacks). Our code is publicly available at\nhttps://github.com/UCSB-NLP-Chang/SelfDenoise\n", "date": "2024-04-18", "categories": []} {"id": "2307.03798", "title": "Fooling Contrastive Language-Image Pre-trained Models with\n CLIPMasterPrints", "abstract": " Models leveraging both visual and textual data such as Contrastive\nLanguage-Image Pre-training (CLIP), are the backbone of many recent advances in\nartificial intelligence. In this work, we show that despite their versatility,\nsuch models are vulnerable to what we refer to as fooling master images.\nFooling master images are capable of maximizing the confidence score of a CLIP\nmodel for a significant number of widely varying prompts, while being either\nunrecognizable or unrelated to the attacked prompts for humans. The existence\nof such images is problematic as it could be used by bad actors to maliciously\ninterfere with CLIP-trained image retrieval models in production with\ncomparably small effort as a single image can attack many different prompts. We\ndemonstrate how fooling master images for CLIP (CLIPMasterPrints) can be mined\nusing stochastic gradient descent, projected gradient descent, or blackbox\noptimization. Contrary to many common adversarial attacks, the blackbox\noptimization approach allows us to mine CLIPMasterPrints even when the weights\nof the model are not accessible. We investigate the properties of the mined\nimages, and find that images trained on a small number of image captions\ngeneralize to a much larger number of semantically related captions. We\nevaluate possible mitigation strategies, where we increase the robustness of\nthe model and introduce an approach to automatically detect CLIPMasterPrints to\nsanitize the input of vulnerable models. Finally, we find that vulnerability to\nCLIPMasterPrints is related to a modality gap in contrastive pre-trained\nmulti-modal networks. Code available at\nhttps://github.com/matfrei/CLIPMasterPrints.\n", "date": "2023-07-07", "categories": []} {"id": "2403.09863", "title": "Towards White Box Deep Learning", "abstract": " Deep neural networks learn fragile \"shortcut\" features, rendering them\ndifficult to interpret (black box) and vulnerable to adversarial attacks. This\npaper proposes semantic features as a general architectural solution to this\nproblem. The main idea is to make features locality-sensitive in the adequate\nsemantic topology of the domain, thus introducing a strong regularization. The\nproof of concept network is lightweight, inherently interpretable and achieves\nalmost human-level adversarial test metrics - with no adversarial training!\nThese results and the general nature of the approach warrant further research\non semantic features. The code is available at\nhttps://github.com/314-Foundation/white-box-nn\n", "date": "2024-03-14", "categories": []} {"id": "2404.10588", "title": "Do Counterfactual Examples Complicate Adversarial Training?", "abstract": " We leverage diffusion models to study the robustness-performance tradeoff of\nrobust classifiers. Our approach introduces a simple, pretrained diffusion\nmethod to generate low-norm counterfactual examples (CEs): semantically altered\ndata which results in different true class membership. We report that the\nconfidence and accuracy of robust models on their clean training data are\nassociated with the proximity of the data to their CEs. Moreover, robust models\nperform very poorly when evaluated on the CEs directly, as they become\nincreasingly invariant to the low-norm, semantic changes brought by CEs. The\nresults indicate a significant overlap between non-robust and semantic\nfeatures, countering the common assumption that non-robust features are not\ninterpretable.\n", "date": "2024-04-16", "categories": []} {"id": "2404.10790", "title": "Multimodal Attack Detection for Action Recognition Models", "abstract": " Adversarial machine learning attacks on video action recognition models is a\ngrowing research area and many effective attacks were introduced in recent\nyears. These attacks show that action recognition models can be breached in\nmany ways. Hence using these models in practice raises significant security\nconcerns. However, there are very few works which focus on defending against or\ndetecting attacks. In this work, we propose a novel universal detection method\nwhich is compatible with any action recognition model. In our extensive\nexperiments, we show that our method consistently detects various attacks\nagainst different target models with high true positive rates while satisfying\nvery low false positive rates. Tested against four state-of-the-art attacks\ntargeting four action recognition models, the proposed detector achieves an\naverage AUC of 0.911 over 16 test cases while the best performance achieved by\nthe existing detectors is 0.645 average AUC. This 41.2% improvement is enabled\nby the robustness of the proposed detector to varying attack methods and target\nmodels. The lowest AUC achieved by our detector across the 16 test cases is\n0.837 while the competing detector's performance drops as low as 0.211. We also\nshow that the proposed detector is robust to varying attack strengths. In\naddition, we analyze our method's real-time performance with different hardware\nsetups to demonstrate its potential as a practical defense mechanism.\n", "date": "2024-04-13", "categories": []} {"id": "2404.10796", "title": "Black-box Adversarial Transferability: An Empirical Study in\n Cybersecurity Perspective", "abstract": " The rapid advancement of artificial intelligence within the realm of\ncybersecurity raises significant security concerns. The vulnerability of deep\nlearning models in adversarial attacks is one of the major issues. In\nadversarial machine learning, malicious users try to fool the deep learning\nmodel by inserting adversarial perturbation inputs into the model during its\ntraining or testing phase. Subsequently, it reduces the model confidence score\nand results in incorrect classifications. The novel key contribution of the\nresearch is to empirically test the black-box adversarial transferability\nphenomena in cyber attack detection systems. It indicates that the adversarial\nperturbation input generated through the surrogate model has a similar impact\non the target model in producing the incorrect classification. To empirically\nvalidate this phenomenon, surrogate and target models are used. The adversarial\nperturbation inputs are generated based on the surrogate-model for which the\nhacker has complete information. Based on these adversarial perturbation\ninputs, both surrogate and target models are evaluated during the inference\nphase. We have done extensive experimentation over the CICDDoS-2019 dataset,\nand the results are classified in terms of various performance metrics like\naccuracy, precision, recall, and f1-score. The findings indicate that any deep\nlearning model is highly susceptible to adversarial attacks, even if the\nattacker does not have access to the internal details of the target model. The\nresults also indicate that white-box adversarial attacks have a severe impact\ncompared to black-box adversarial attacks. There is a need to investigate and\nexplore adversarial defence techniques to increase the robustness of the deep\nlearning models against adversarial attacks.\n", "date": "2024-04-15", "categories": []} {"id": "2404.11538", "title": "GenFighter: A Generative and Evolutive Textual Attack Removal", "abstract": " Adversarial attacks pose significant challenges to deep neural networks\n(DNNs) such as Transformer models in natural language processing (NLP). This\npaper introduces a novel defense strategy, called GenFighter, which enhances\nadversarial robustness by learning and reasoning on the training classification\ndistribution. GenFighter identifies potentially malicious instances deviating\nfrom the distribution, transforms them into semantically equivalent instances\naligned with the training data, and employs ensemble techniques for a unified\nand robust response. By conducting extensive experiments, we show that\nGenFighter outperforms state-of-the-art defenses in accuracy under attack and\nattack success rate metrics. Additionally, it requires a high number of queries\nper attack, making the attack more challenging in real scenarios. The ablation\nstudy shows that our approach integrates transfer learning, a\ngenerative/evolutive procedure, and an ensemble method, providing an effective\ndefense against NLP adversarial attacks.\n", "date": "2024-04-17", "categories": []} {"id": "2404.10202", "title": "Towards a Novel Perspective on Adversarial Examples Driven by Frequency", "abstract": " Enhancing our understanding of adversarial examples is crucial for the secure\napplication of machine learning models in real-world scenarios. A prevalent\nmethod for analyzing adversarial examples is through a frequency-based\napproach. However, existing research indicates that attacks designed to exploit\nlow-frequency or high-frequency information can enhance attack performance,\nleading to an unclear relationship between adversarial perturbations and\ndifferent frequency components. In this paper, we seek to demystify this\nrelationship by exploring the characteristics of adversarial perturbations\nwithin the frequency domain. We employ wavelet packet decomposition for\ndetailed frequency analysis of adversarial examples and conduct statistical\nexaminations across various frequency bands. Intriguingly, our findings\nindicate that significant adversarial perturbations are present within the\nhigh-frequency components of low-frequency bands. Drawing on this insight, we\npropose a black-box adversarial attack algorithm based on combining different\nfrequency bands. Experiments conducted on multiple datasets and models\ndemonstrate that combining low-frequency bands and high-frequency components of\nlow-frequency bands can significantly enhance attack efficiency. The average\nattack success rate reaches 99\\%, surpassing attacks that utilize a single\nfrequency segment. Additionally, we introduce the normalized disturbance\nvisibility index as a solution to the limitations of $L_2$ norm in assessing\ncontinuous and discrete perturbations.\n", "date": "2024-04-16", "categories": []} {"id": "2302.02568", "title": "Less is More: Understanding Word-level Textual Adversarial Attack via\n n-gram Frequency Descend", "abstract": " Word-level textual adversarial attacks have demonstrated notable efficacy in\nmisleading Natural Language Processing (NLP) models. Despite their success, the\nunderlying reasons for their effectiveness and the fundamental characteristics\nof adversarial examples (AEs) remain obscure. This work aims to interpret\nword-level attacks by examining their $n$-gram frequency patterns. Our\ncomprehensive experiments reveal that in approximately 90\\% of cases,\nword-level attacks lead to the generation of examples where the frequency of\n$n$-grams decreases, a tendency we term as the $n$-gram Frequency Descend\n($n$-FD). This finding suggests a straightforward strategy to enhance model\nrobustness: training models using examples with $n$-FD. To examine the\nfeasibility of this strategy, we employed the $n$-gram frequency information,\nas an alternative to conventional loss gradients, to generate perturbed\nexamples in adversarial training. The experiment results indicate that the\nfrequency-based approach performs comparably with the gradient-based approach\nin improving model robustness. Our research offers a novel and more intuitive\nperspective for understanding word-level textual adversarial attacks and\nproposes a new direction to improve model robustness.\n", "date": "2023-02-06", "categories": []} {"id": "2305.12118", "title": "Annealing Self-Distillation Rectification Improves Adversarial Training", "abstract": " In standard adversarial training, models are optimized to fit one-hot labels\nwithin allowable adversarial perturbation budgets. However, the ignorance of\nunderlying distribution shifts brought by perturbations causes the problem of\nrobust overfitting. To address this issue and enhance adversarial robustness,\nwe analyze the characteristics of robust models and identify that robust models\ntend to produce smoother and well-calibrated outputs. Based on the observation,\nwe propose a simple yet effective method, Annealing Self-Distillation\nRectification (ADR), which generates soft labels as a better guidance mechanism\nthat accurately reflects the distribution shift under attack during adversarial\ntraining. By utilizing ADR, we can obtain rectified distributions that\nsignificantly improve model robustness without the need for pre-trained models\nor extensive extra computation. Moreover, our method facilitates seamless\nplug-and-play integration with other adversarial training techniques by\nreplacing the hard labels in their objectives. We demonstrate the efficacy of\nADR through extensive experiments and strong performances across datasets.\n", "date": "2023-05-20", "categories": []} {"id": "2310.11890", "title": "IRAD: Implicit Representation-driven Image Resampling against\n Adversarial Attacks", "abstract": " We introduce a novel approach to counter adversarial attacks, namely, image\nresampling. Image resampling transforms a discrete image into a new one,\nsimulating the process of scene recapturing or rerendering as specified by a\ngeometrical transformation. The underlying rationale behind our idea is that\nimage resampling can alleviate the influence of adversarial perturbations while\npreserving essential semantic information, thereby conferring an inherent\nadvantage in defending against adversarial attacks. To validate this concept,\nwe present a comprehensive study on leveraging image resampling to defend\nagainst adversarial attacks. We have developed basic resampling methods that\nemploy interpolation strategies and coordinate shifting magnitudes. Our\nanalysis reveals that these basic methods can partially mitigate adversarial\nattacks. However, they come with apparent limitations: the accuracy of clean\nimages noticeably decreases, while the improvement in accuracy on adversarial\nexamples is not substantial. We propose implicit representation-driven image\nresampling (IRAD) to overcome these limitations. First, we construct an\nimplicit continuous representation that enables us to represent any input image\nwithin a continuous coordinate space. Second, we introduce SampleNet, which\nautomatically generates pixel-wise shifts for resampling in response to\ndifferent inputs. Furthermore, we can extend our approach to the\nstate-of-the-art diffusion-based method, accelerating it with fewer time steps\nwhile preserving its defense capability. Extensive experiments demonstrate that\nour method significantly enhances the adversarial robustness of diverse deep\nmodels against various attacks while maintaining high accuracy on clean images.\n", "date": "2023-10-18", "categories": []} {"id": "2404.08285", "title": "A Survey of Neural Network Robustness Assessment in Image Recognition", "abstract": " In recent years, there has been significant attention given to the robustness\nassessment of neural networks. Robustness plays a critical role in ensuring\nreliable operation of artificial intelligence (AI) systems in complex and\nuncertain environments. Deep learning's robustness problem is particularly\nsignificant, highlighted by the discovery of adversarial attacks on image\nclassification models. Researchers have dedicated efforts to evaluate\nrobustness in diverse perturbation conditions for image recognition tasks.\nRobustness assessment encompasses two main techniques: robustness verification/\ncertification for deliberate adversarial attacks and robustness testing for\nrandom data corruptions. In this survey, we present a detailed examination of\nboth adversarial robustness (AR) and corruption robustness (CR) in neural\nnetwork assessment. Analyzing current research papers and standards, we provide\nan extensive overview of robustness assessment in image recognition. Three\nessential aspects are analyzed: concepts, metrics, and assessment methods. We\ninvestigate the perturbation metrics and range representations used to measure\nthe degree of perturbations on images, as well as the robustness metrics\nspecifically for the robustness conditions of classification models. The\nstrengths and limitations of the existing methods are also discussed, and some\npotential directions for future research are provided.\n", "date": "2024-04-12", "categories": []} {"id": "2404.08690", "title": "Towards Building a Robust Toxicity Predictor", "abstract": " Recent NLP literature pays little attention to the robustness of toxicity\nlanguage predictors, while these systems are most likely to be used in\nadversarial contexts. This paper presents a novel adversarial attack,\n\\texttt{ToxicTrap}, introducing small word-level perturbations to fool SOTA\ntext classifiers to predict toxic text samples as benign. ToxicTrap exploits\ngreedy based search strategies to enable fast and effective generation of toxic\nadversarial examples. Two novel goal function designs allow ToxicTrap to\nidentify weaknesses in both multiclass and multilabel toxic language detectors.\nOur empirical results show that SOTA toxicity text classifiers are indeed\nvulnerable to the proposed attacks, attaining over 98\\% attack success rates in\nmultilabel cases. We also show how a vanilla adversarial training and its\nimproved version can help increase robustness of a toxicity detector even\nagainst unseen attacks.\n", "date": "2024-04-09", "categories": []} {"id": "2404.09961", "title": "Ti-Patch: Tiled Physical Adversarial Patch for no-reference video\n quality metrics", "abstract": " Objective no-reference image- and video-quality metrics are crucial in many\ncomputer vision tasks. However, state-of-the-art no-reference metrics have\nbecome learning-based and are vulnerable to adversarial attacks. The\nvulnerability of quality metrics imposes restrictions on using such metrics in\nquality control systems and comparing objective algorithms. Also, using\nvulnerable metrics as a loss for deep learning model training can mislead\ntraining to worsen visual quality. Because of that, quality metrics testing for\nvulnerability is a task of current interest. This paper proposes a new method\nfor testing quality metrics vulnerability in the physical space. To our\nknowledge, quality metrics were not previously tested for vulnerability to this\nattack; they were only tested in the pixel space. We applied a physical\nadversarial Ti-Patch (Tiled Patch) attack to quality metrics and did\nexperiments both in pixel and physical space. We also performed experiments on\nthe implementation of physical adversarial wallpaper. The proposed method can\nbe used as additional quality metrics in vulnerability evaluation,\ncomplementing traditional subjective comparison and vulnerability tests in the\npixel space. We made our code and adversarial videos available on GitHub:\nhttps://github.com/leonenkova/Ti-Patch.\n", "date": "2024-04-15", "categories": []} {"id": "2403.18554", "title": "CosalPure: Learning Concept from Group Images for Robust Co-Saliency\n Detection", "abstract": " Co-salient object detection (CoSOD) aims to identify the common and salient\n(usually in the foreground) regions across a given group of images. Although\nachieving significant progress, state-of-the-art CoSODs could be easily\naffected by some adversarial perturbations, leading to substantial accuracy\nreduction. The adversarial perturbations can mislead CoSODs but do not change\nthe high-level semantic information (e.g., concept) of the co-salient objects.\nIn this paper, we propose a novel robustness enhancement framework by first\nlearning the concept of the co-salient objects based on the input group images\nand then leveraging this concept to purify adversarial perturbations, which are\nsubsequently fed to CoSODs for robustness enhancement. Specifically, we propose\nCosalPure containing two modules, i.e., group-image concept learning and\nconcept-guided diffusion purification. For the first module, we adopt a\npre-trained text-to-image diffusion model to learn the concept of co-salient\nobjects within group images where the learned concept is robust to adversarial\nexamples. For the second module, we map the adversarial image to the latent\nspace and then perform diffusion generation by embedding the learned concept\ninto the noise prediction function as an extra condition. Our method can\neffectively alleviate the influence of the SOTA adversarial attack containing\ndifferent adversarial patterns, including exposure and noise. The extensive\nresults demonstrate that our method could enhance the robustness of CoSODs\nsignificantly.\n", "date": "2024-03-27", "categories": []} {"id": "2404.08069", "title": "Persistent Classification: A New Approach to Stability of Data and\n Adversarial Examples", "abstract": " There are a number of hypotheses underlying the existence of adversarial\nexamples for classification problems. These include the high-dimensionality of\nthe data, high codimension in the ambient space of the data manifolds of\ninterest, and that the structure of machine learning models may encourage\nclassifiers to develop decision boundaries close to data points. This article\nproposes a new framework for studying adversarial examples that does not depend\ndirectly on the distance to the decision boundary. Similarly to the smoothed\nclassifier literature, we define a (natural or adversarial) data point to be\n$(\\gamma,\\sigma)$-stable if the probability of the same classification is at\nleast $\\gamma$ for points sampled in a Gaussian neighborhood of the point with\na given standard deviation $\\sigma$. We focus on studying the differences\nbetween persistence metrics along interpolants of natural and adversarial\npoints. We show that adversarial examples have significantly lower persistence\nthan natural examples for large neural networks in the context of the MNIST and\nImageNet datasets. We connect this lack of persistence with decision boundary\ngeometry by measuring angles of interpolants with respect to decision\nboundaries. Finally, we connect this approach with robustness by developing a\nmanifold alignment gradient metric and demonstrating the increase in robustness\nthat can be achieved when training with the addition of this metric.\n", "date": "2024-04-11", "categories": []} {"id": "2305.19521", "title": "Incremental Randomized Smoothing Certification", "abstract": " Randomized smoothing-based certification is an effective approach for\nobtaining robustness certificates of deep neural networks (DNNs) against\nadversarial attacks. This method constructs a smoothed DNN model and certifies\nits robustness through statistical sampling, but it is computationally\nexpensive, especially when certifying with a large number of samples.\nFurthermore, when the smoothed model is modified (e.g., quantized or pruned),\ncertification guarantees may not hold for the modified DNN, and recertifying\nfrom scratch can be prohibitively expensive.\n We present the first approach for incremental robustness certification for\nrandomized smoothing, IRS. We show how to reuse the certification guarantees\nfor the original smoothed model to certify an approximated model with very few\nsamples. IRS significantly reduces the computational cost of certifying\nmodified DNNs while maintaining strong robustness guarantees. We experimentally\ndemonstrate the effectiveness of our approach, showing up to 3x certification\nspeedup over the certification that applies randomized smoothing of the\napproximate model from scratch.\n", "date": "2023-05-31", "categories": []} {"id": "2404.01574", "title": "Multi-granular Adversarial Attacks against Black-box Neural Ranking\n Models", "abstract": " Adversarial ranking attacks have gained increasing attention due to their\nsuccess in probing vulnerabilities, and, hence, enhancing the robustness, of\nneural ranking models. Conventional attack methods employ perturbations at a\nsingle granularity, e.g., word or sentence level, to target documents. However,\nlimiting perturbations to a single level of granularity may reduce the\nflexibility of adversarial examples, thereby diminishing the potential threat\nof the attack. Therefore, we focus on generating high-quality adversarial\nexamples by incorporating multi-granular perturbations. Achieving this\nobjective involves tackling a combinatorial explosion problem, which requires\nidentifying an optimal combination of perturbations across all possible levels\nof granularity, positions, and textual pieces. To address this challenge, we\ntransform the multi-granular adversarial attack into a sequential\ndecision-making process, where perturbations in the next attack step build on\nthe perturbed document in the current attack step. Since the attack process can\nonly access the final state without direct intermediate signals, we use\nreinforcement learning to perform multi-granular attacks. During the\nreinforcement learning process, two agents work cooperatively to identify\nmulti-granular vulnerabilities as attack targets and organize perturbation\ncandidates into a final perturbation sequence. Experimental results show that\nour attack method surpasses prevailing baselines in both attack effectiveness\nand imperceptibility.\n", "date": "2024-04-02", "categories": []} {"id": "2401.04350", "title": "Pre-trained Model Guided Fine-Tuning for Zero-Shot Adversarial\n Robustness", "abstract": " Large-scale pre-trained vision-language models like CLIP have demonstrated\nimpressive performance across various tasks, and exhibit remarkable zero-shot\ngeneralization capability, while they are also vulnerable to imperceptible\nadversarial examples. Existing works typically employ adversarial training\n(fine-tuning) as a defense method against adversarial examples. However, direct\napplication to the CLIP model may result in overfitting, compromising the\nmodel's capacity for generalization. In this paper, we propose Pre-trained\nModel Guided Adversarial Fine-Tuning (PMG-AFT) method, which leverages\nsupervision from the original pre-trained model by carefully designing an\nauxiliary branch, to enhance the model's zero-shot adversarial robustness.\nSpecifically, PMG-AFT minimizes the distance between the features of\nadversarial examples in the target model and those in the pre-trained model,\naiming to preserve the generalization features already captured by the\npre-trained model. Extensive Experiments on 15 zero-shot datasets demonstrate\nthat PMG-AFT significantly outperforms the state-of-the-art method, improving\nthe top-1 robust accuracy by an average of 4.99%. Furthermore, our approach\nconsistently improves clean accuracy by an average of 8.72%. Our code is\navailable at\nhttps://github.com/serendipity1122/Pre-trained-Model-Guided-Fine-Tuning-for-Zero-Shot-Adversarial-Robustness.\n", "date": "2024-01-09", "categories": []} {"id": "2404.06776", "title": "Logit Calibration and Feature Contrast for Robust Federated Learning on\n Non-IID Data", "abstract": " Federated learning (FL) is a privacy-preserving distributed framework for\ncollaborative model training on devices in edge networks. However, challenges\narise due to vulnerability to adversarial examples (AEs) and the\nnon-independent and identically distributed (non-IID) nature of data\ndistribution among devices, hindering the deployment of adversarially robust\nand accurate learning models at the edge. While adversarial training (AT) is\ncommonly acknowledged as an effective defense strategy against adversarial\nattacks in centralized training, we shed light on the adverse effects of\ndirectly applying AT in FL that can severely compromise accuracy, especially in\nnon-IID challenges. Given this limitation, this paper proposes FatCC, which\nincorporates local logit \\underline{C}alibration and global feature\n\\underline{C}ontrast into the vanilla federated adversarial training\n(\\underline{FAT}) process from both logit and feature perspectives. This\napproach can effectively enhance the federated system's robust accuracy (RA)\nand clean accuracy (CA). First, we propose logit calibration, where the logits\nare calibrated during local adversarial updates, thereby improving adversarial\nrobustness. Second, FatCC introduces feature contrast, which involves a global\nalignment term that aligns each local representation with unbiased global\nfeatures, thus further enhancing robustness and accuracy in federated\nadversarial environments. Extensive experiments across multiple datasets\ndemonstrate that FatCC achieves comparable or superior performance gains in\nboth CA and RA compared to other baselines.\n", "date": "2024-04-10", "categories": []} {"id": "2404.07153", "title": "Lost in Translation: Modern Neural Networks Still Struggle With Small\n Realistic Image Transformations", "abstract": " Deep neural networks that achieve remarkable performance in image\nclassification have previously been shown to be easily fooled by tiny\ntransformations such as a one pixel translation of the input image. In order to\naddress this problem, two approaches have been proposed in recent years. The\nfirst approach suggests using huge datasets together with data augmentation in\nthe hope that a highly varied training set will teach the network to learn to\nbe invariant. The second approach suggests using architectural modifications\nbased on sampling theory to deal explicitly with image translations. In this\npaper, we show that these approaches still fall short in robustly handling\n'natural' image translations that simulate a subtle change in camera\norientation. Our findings reveal that a mere one-pixel translation can result\nin a significant change in the predicted image representation for approximately\n40% of the test images in state-of-the-art models (e.g. open-CLIP trained on\nLAION-2B or DINO-v2) , while models that are explicitly constructed to be\nrobust to cyclic translations can still be fooled with 1 pixel realistic\n(non-cyclic) translations 11% of the time. We present Robust Inference by Crop\nSelection: a simple method that can be proven to achieve any desired level of\nconsistency, although with a modest tradeoff with the model's accuracy.\nImportantly, we demonstrate how employing this method reduces the ability to\nfool state-of-the-art models with a 1 pixel translation to less than 5% while\nsuffering from only a 1% drop in classification accuracy. Additionally, we show\nthat our method can be easy adjusted to deal with circular shifts as well. In\nsuch case we achieve 100% robustness to integer shifts with state-of-the-art\naccuracy, and with no need for any further training.\n", "date": "2024-04-10", "categories": []} {"id": "2403.16432", "title": "$\\textit{LinkPrompt}$: Natural and Universal Adversarial Attacks on\n Prompt-based Language Models", "abstract": " Prompt-based learning is a new language model training paradigm that adapts\nthe Pre-trained Language Models (PLMs) to downstream tasks, which revitalizes\nthe performance benchmarks across various natural language processing (NLP)\ntasks. Instead of using a fixed prompt template to fine-tune the model, some\nresearch demonstrates the effectiveness of searching for the prompt via\noptimization. Such prompt optimization process of prompt-based learning on PLMs\nalso gives insight into generating adversarial prompts to mislead the model,\nraising concerns about the adversarial vulnerability of this paradigm. Recent\nstudies have shown that universal adversarial triggers (UATs) can be generated\nto alter not only the predictions of the target PLMs but also the prediction of\ncorresponding Prompt-based Fine-tuning Models (PFMs) under the prompt-based\nlearning paradigm. However, UATs found in previous works are often unreadable\ntokens or characters and can be easily distinguished from natural texts with\nadaptive defenses. In this work, we consider the naturalness of the UATs and\ndevelop $\\textit{LinkPrompt}$, an adversarial attack algorithm to generate UATs\nby a gradient-based beam search algorithm that not only effectively attacks the\ntarget PLMs and PFMs but also maintains the naturalness among the trigger\ntokens. Extensive results demonstrate the effectiveness of\n$\\textit{LinkPrompt}$, as well as the transferability of UATs generated by\n$\\textit{LinkPrompt}$ to open-sourced Large Language Model (LLM) Llama2 and\nAPI-accessed LLM GPT-3.5-turbo. The resource is available at\n$\\href{https://github.com/SavannahXu79/LinkPrompt}{https://github.com/SavannahXu79/LinkPrompt}$.\n", "date": "2024-03-25", "categories": []} {"id": "2404.06236", "title": "Towards Robust Domain Generation Algorithm Classification", "abstract": " In this work, we conduct a comprehensive study on the robustness of domain\ngeneration algorithm (DGA) classifiers. We implement 32 white-box attacks, 19\nof which are very effective and induce a false-negative rate (FNR) of $\\approx$\n100\\% on unhardened classifiers. To defend the classifiers, we evaluate\ndifferent hardening approaches and propose a novel training scheme that\nleverages adversarial latent space vectors and discretized adversarial domains\nto significantly improve robustness. In our study, we highlight a pitfall to\navoid when hardening classifiers and uncover training biases that can be easily\nexploited by attackers to bypass detection, but which can be mitigated by\nadversarial training (AT). In our study, we do not observe any trade-off\nbetween robustness and performance, on the contrary, hardening improves a\nclassifier's detection performance for known and unknown DGAs. We implement all\nattacks and defenses discussed in this paper as a standalone library, which we\nmake publicly available to facilitate hardening of DGA classifiers:\nhttps://gitlab.com/rwth-itsec/robust-dga-detection\n", "date": "2024-04-09", "categories": []} {"id": "2302.11628", "title": "Provable Robustness Against a Union of $\\ell_0$ Adversarial Attacks", "abstract": " Sparse or $\\ell_0$ adversarial attacks arbitrarily perturb an unknown subset\nof the features. $\\ell_0$ robustness analysis is particularly well-suited for\nheterogeneous (tabular) data where features have different types or scales.\nState-of-the-art $\\ell_0$ certified defenses are based on randomized smoothing\nand apply to evasion attacks only. This paper proposes feature partition\naggregation (FPA) -- a certified defense against the union of $\\ell_0$ evasion,\nbackdoor, and poisoning attacks. FPA generates its stronger robustness\nguarantees via an ensemble whose submodels are trained on disjoint feature\nsets. Compared to state-of-the-art $\\ell_0$ defenses, FPA is up to\n3,000${\\times}$ faster and provides larger median robustness guarantees (e.g.,\nmedian certificates of 13 pixels over 10 for CIFAR10, 12 pixels over 10 for\nMNIST, 4 features over 1 for Weather, and 3 features over 1 for Ames), meaning\nFPA provides the additional dimensions of robustness essentially for free.\n", "date": "2023-02-22", "categories": []} {"id": "2311.08268", "title": "A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can\n Fool Large Language Models Easily", "abstract": " Large Language Models (LLMs), such as ChatGPT and GPT-4, are designed to\nprovide useful and safe responses. However, adversarial prompts known as\n'jailbreaks' can circumvent safeguards, leading LLMs to generate potentially\nharmful content. Exploring jailbreak prompts can help to better reveal the\nweaknesses of LLMs and further steer us to secure them. Unfortunately, existing\njailbreak methods either suffer from intricate manual design or require\noptimization on other white-box models, which compromises either generalization\nor efficiency. In this paper, we generalize jailbreak prompt attacks into two\naspects: (1) Prompt Rewriting and (2) Scenario Nesting. Based on this, we\npropose ReNeLLM, an automatic framework that leverages LLMs themselves to\ngenerate effective jailbreak prompts. Extensive experiments demonstrate that\nReNeLLM significantly improves the attack success rate while greatly reducing\nthe time cost compared to existing baselines. Our study also reveals the\ninadequacy of current defense methods in safeguarding LLMs. Finally, we analyze\nthe failure of LLMs defense from the perspective of prompt execution priority,\nand propose corresponding defense strategies. We hope that our research can\ncatalyze both the academic community and LLMs developers towards the provision\nof safer and more regulated LLMs. The code is available at\nhttps://github.com/NJUNLP/ReNeLLM.\n", "date": "2023-11-14", "categories": []} {"id": "2404.05159", "title": "Semantic Stealth: Adversarial Text Attacks on NLP Using Several Methods", "abstract": " In various real-world applications such as machine translation, sentiment\nanalysis, and question answering, a pivotal role is played by NLP models,\nfacilitating efficient communication and decision-making processes in domains\nranging from healthcare to finance. However, a significant challenge is posed\nto the robustness of these natural language processing models by text\nadversarial attacks. These attacks involve the deliberate manipulation of input\ntext to mislead the predictions of the model while maintaining human\ninterpretability. Despite the remarkable performance achieved by\nstate-of-the-art models like BERT in various natural language processing tasks,\nthey are found to remain vulnerable to adversarial perturbations in the input\ntext. In addressing the vulnerability of text classifiers to adversarial\nattacks, three distinct attack mechanisms are explored in this paper using the\nvictim model BERT: BERT-on-BERT attack, PWWS attack, and Fraud Bargain's Attack\n(FBA). Leveraging the IMDB, AG News, and SST2 datasets, a thorough comparative\nanalysis is conducted to assess the effectiveness of these attacks on the BERT\nclassifier model. It is revealed by the analysis that PWWS emerges as the most\npotent adversary, consistently outperforming other methods across multiple\nevaluation scenarios, thereby emphasizing its efficacy in generating\nadversarial examples for text classification. Through comprehensive\nexperimentation, the performance of these attacks is assessed and the findings\nindicate that the PWWS attack outperforms others, demonstrating lower runtime,\nhigher accuracy, and favorable semantic similarity scores. The key insight of\nthis paper lies in the assessment of the relative performances of three\nprevalent state-of-the-art attack mechanisms.\n", "date": "2024-04-08", "categories": []} {"id": "2404.05350", "title": "Certified PEFTSmoothing: Parameter-Efficient Fine-Tuning with Randomized\n Smoothing", "abstract": " Randomized smoothing is the primary certified robustness method for accessing\nthe robustness of deep learning models to adversarial perturbations in the\nl2-norm, by adding isotropic Gaussian noise to the input image and returning\nthe majority votes over the base classifier. Theoretically, it provides a\ncertified norm bound, ensuring predictions of adversarial examples are stable\nwithin this bound. A notable constraint limiting widespread adoption is the\nnecessity to retrain base models entirely from scratch to attain a robust\nversion. This is because the base model fails to learn the noise-augmented data\ndistribution to give an accurate vote. One intuitive way to overcome this\nchallenge is to involve a custom-trained denoiser to eliminate the noise.\nHowever, this approach is inefficient and sub-optimal. Inspired by recent large\nmodel training procedures, we explore an alternative way named PEFTSmoothing to\nadapt the base model to learn the Gaussian noise-augmented data with\nParameter-Efficient Fine-Tuning (PEFT) methods in both white-box and black-box\nsettings. Extensive results demonstrate the effectiveness and efficiency of\nPEFTSmoothing, which allow us to certify over 98% accuracy for ViT on CIFAR-10,\n20% higher than SoTA denoised smoothing, and over 61% accuracy on ImageNet\nwhich is 30% higher than CNN-based denoiser and comparable to the\nDiffusion-based denoiser.\n", "date": "2024-04-08", "categories": []} {"id": "2404.05639", "title": "Investigating the Impact of Quantization on Adversarial Robustness", "abstract": " Quantization is a promising technique for reducing the bit-width of deep\nmodels to improve their runtime performance and storage efficiency, and thus\nbecomes a fundamental step for deployment. In real-world scenarios, quantized\nmodels are often faced with adversarial attacks which cause the model to make\nincorrect inferences by introducing slight perturbations. However, recent\nstudies have paid less attention to the impact of quantization on the model\nrobustness. More surprisingly, existing studies on this topic even present\ninconsistent conclusions, which prompted our in-depth investigation. In this\npaper, we conduct a first-time analysis of the impact of the quantization\npipeline components that can incorporate robust optimization under the settings\nof Post-Training Quantization and Quantization-Aware Training. Through our\ndetailed analysis, we discovered that this inconsistency arises from the use of\ndifferent pipelines in different studies, specifically regarding whether robust\noptimization is performed and at which quantization stage it occurs. Our\nresearch findings contribute insights into deploying more secure and robust\nquantized networks, assisting practitioners in reference for scenarios with\nhigh-security requirements and limited resources.\n", "date": "2024-04-08", "categories": []} {"id": "2404.00185", "title": "On Inherent Adversarial Robustness of Active Vision Systems", "abstract": " Current Deep Neural Networks are vulnerable to adversarial examples, which\nalter their predictions by adding carefully crafted noise. Since human eyes are\nrobust to such inputs, it is possible that the vulnerability stems from the\nstandard way of processing inputs in one shot by processing every pixel with\nthe same importance. In contrast, neuroscience suggests that the human vision\nsystem can differentiate salient features by (1) switching between multiple\nfixation points (saccades) and (2) processing the surrounding with a\nnon-uniform external resolution (foveation). In this work, we advocate that the\nintegration of such active vision mechanisms into current deep learning systems\ncan offer robustness benefits. Specifically, we empirically demonstrate the\ninherent robustness of two active vision methods - GFNet and FALcon - under a\nblack box threat model. By learning and inferencing based on downsampled\nglimpses obtained from multiple distinct fixation points within an input, we\nshow that these active methods achieve (2-3) times greater robustness compared\nto a standard passive convolutional network under state-of-the-art adversarial\nattacks. More importantly, we provide illustrative and interpretable\nvisualization analysis that demonstrates how performing inference from distinct\nfixation points makes active vision methods less vulnerable to malicious\ninputs.\n", "date": "2024-03-29", "categories": []} {"id": "2404.04245", "title": "Evaluating Adversarial Robustness: A Comparison Of FGSM, Carlini-Wagner\n Attacks, And The Role of Distillation as Defense Mechanism", "abstract": " This technical report delves into an in-depth exploration of adversarial\nattacks specifically targeted at Deep Neural Networks (DNNs) utilized for image\nclassification. The study also investigates defense mechanisms aimed at\nbolstering the robustness of machine learning models. The research focuses on\ncomprehending the ramifications of two prominent attack methodologies: the Fast\nGradient Sign Method (FGSM) and the Carlini-Wagner (CW) approach. These attacks\nare examined concerning three pre-trained image classifiers: Resnext50_32x4d,\nDenseNet-201, and VGG-19, utilizing the Tiny-ImageNet dataset. Furthermore, the\nstudy proposes the robustness of defensive distillation as a defense mechanism\nto counter FGSM and CW attacks. This defense mechanism is evaluated using the\nCIFAR-10 dataset, where CNN models, specifically resnet101 and Resnext50_32x4d,\nserve as the teacher and student models, respectively. The proposed defensive\ndistillation model exhibits effectiveness in thwarting attacks such as FGSM.\nHowever, it is noted to remain susceptible to more sophisticated techniques\nlike the CW attack. The document presents a meticulous validation of the\nproposed scheme. It provides detailed and comprehensive results, elucidating\nthe efficacy and limitations of the defense mechanisms employed. Through\nrigorous experimentation and analysis, the study offers insights into the\ndynamics of adversarial attacks on DNNs, as well as the effectiveness of\ndefensive strategies in mitigating their impact.\n", "date": "2024-04-05", "categories": []} {"id": "2404.03340", "title": "Meta Invariance Defense Towards Generalizable Robustness to Unknown\n Adversarial Attacks", "abstract": " Despite providing high-performance solutions for computer vision tasks, the\ndeep neural network (DNN) model has been proved to be extremely vulnerable to\nadversarial attacks. Current defense mainly focuses on the known attacks, but\nthe adversarial robustness to the unknown attacks is seriously overlooked.\nBesides, commonly used adaptive learning and fine-tuning technique is\nunsuitable for adversarial defense since it is essentially a zero-shot problem\nwhen deployed. Thus, to tackle this challenge, we propose an attack-agnostic\ndefense method named Meta Invariance Defense (MID). Specifically, various\ncombinations of adversarial attacks are randomly sampled from a manually\nconstructed Attacker Pool to constitute different defense tasks against unknown\nattacks, in which a student encoder is supervised by multi-consistency\ndistillation to learn the attack-invariant features via a meta principle. The\nproposed MID has two merits: 1) Full distillation from pixel-, feature- and\nprediction-level between benign and adversarial samples facilitates the\ndiscovery of attack-invariance. 2) The model simultaneously achieves robustness\nto the imperceptible adversarial perturbations in high-level image\nclassification and attack-suppression in low-level robust image regeneration.\nTheoretical and empirical studies on numerous benchmarks such as ImageNet\nverify the generalizable robustness and superiority of MID under various\nattacks.\n", "date": "2024-04-04", "categories": []} {"id": "2404.02287", "title": "One Noise to Rule Them All: Multi-View Adversarial Attacks with\n Universal Perturbation", "abstract": " This paper presents a novel universal perturbation method for generating\nrobust multi-view adversarial examples in 3D object recognition. Unlike\nconventional attacks limited to single views, our approach operates on multiple\n2D images, offering a practical and scalable solution for enhancing model\nscalability and robustness. This generalizable method bridges the gap between\n2D perturbations and 3D-like attack capabilities, making it suitable for\nreal-world applications.\n Existing adversarial attacks may become ineffective when images undergo\ntransformations like changes in lighting, camera position, or natural\ndeformations. We address this challenge by crafting a single universal noise\nperturbation applicable to various object views. Experiments on diverse\nrendered 3D objects demonstrate the effectiveness of our approach. The\nuniversal perturbation successfully identified a single adversarial noise for\neach given set of 3D object renders from multiple poses and viewpoints.\nCompared to single-view attacks, our universal attacks lower classification\nconfidence across multiple viewing angles, especially at low noise levels. A\nsample implementation is made available at\nhttps://github.com/memoatwit/UniversalPerturbation.\n", "date": "2024-04-02", "categories": []} {"id": "2404.02585", "title": "Unsegment Anything by Simulating Deformation", "abstract": " Foundation segmentation models, while powerful, pose a significant risk: they\nenable users to effortlessly extract any objects from any digital content with\na single click, potentially leading to copyright infringement or malicious\nmisuse. To mitigate this risk, we introduce a new task \"Anything Unsegmentable\"\nto grant any image \"the right to be unsegmented\". The ambitious pursuit of the\ntask is to achieve highly transferable adversarial attacks against all\nprompt-based segmentation models, regardless of model parameterizations and\nprompts. We highlight the non-transferable and heterogeneous nature of\nprompt-specific adversarial noises. Our approach focuses on disrupting image\nencoder features to achieve prompt-agnostic attacks. Intriguingly, targeted\nfeature attacks exhibit better transferability compared to untargeted ones,\nsuggesting the optimal update direction aligns with the image manifold. Based\non the observations, we design a novel attack named Unsegment Anything by\nSimulating Deformation (UAD). Our attack optimizes a differentiable deformation\nfunction to create a target deformed image, which alters structural information\nwhile preserving achievable feature distance by adversarial example. Extensive\nexperiments verify the effectiveness of our approach, compromising a variety of\npromptable segmentation models with different architectures and prompt\ninterfaces. We release the code at\nhttps://github.com/jiahaolu97/anything-unsegmentable.\n", "date": "2024-04-03", "categories": []} {"id": "2404.02660", "title": "Adversarial Attacks and Dimensionality in Text Classifiers", "abstract": " Adversarial attacks on machine learning algorithms have been a key deterrent\nto the adoption of AI in many real-world use cases. They significantly\nundermine the ability of high-performance neural networks by forcing\nmisclassifications. These attacks introduce minute and structured perturbations\nor alterations in the test samples, imperceptible to human annotators in\ngeneral, but trained neural networks and other models are sensitive to it.\nHistorically, adversarial attacks have been first identified and studied in the\ndomain of image processing. In this paper, we study adversarial examples in the\nfield of natural language processing, specifically text classification tasks.\nWe investigate the reasons for adversarial vulnerability, particularly in\nrelation to the inherent dimensionality of the model. Our key finding is that\nthere is a very strong correlation between the embedding dimensionality of the\nadversarial samples and their effectiveness on models tuned with input samples\nwith same embedding dimension. We utilize this sensitivity to design an\nadversarial defense mechanism. We use ensemble models of varying inherent\ndimensionality to thwart the attacks. This is tested on multiple datasets for\nits efficacy in providing robustness. We also study the problem of measuring\nadversarial perturbation using different distance metrics. For all of the\naforementioned studies, we have run tests on multiple models with varying\ndimensionality and used a word-vector level adversarial attack to substantiate\nthe findings.\n", "date": "2024-04-03", "categories": []} {"id": "2310.13076", "title": "PatchCURE: Improving Certifiable Robustness, Model Utility, and\n Computation Efficiency of Adversarial Patch Defenses", "abstract": " State-of-the-art defenses against adversarial patch attacks can now achieve\nstrong certifiable robustness with a marginal drop in model utility. However,\nthis impressive performance typically comes at the cost of 10-100x more\ninference-time computation compared to undefended models -- the research\ncommunity has witnessed an intense three-way trade-off between certifiable\nrobustness, model utility, and computation efficiency. In this paper, we\npropose a defense framework named PatchCURE to approach this trade-off problem.\nPatchCURE provides sufficient \"knobs\" for tuning defense performance and allows\nus to build a family of defenses: the most robust PatchCURE instance can match\nthe performance of any existing state-of-the-art defense (without efficiency\nconsiderations); the most efficient PatchCURE instance has similar inference\nefficiency as undefended models. Notably, PatchCURE achieves state-of-the-art\nrobustness and utility performance across all different efficiency levels,\ne.g., 16-23% absolute clean accuracy and certified robust accuracy advantages\nover prior defenses when requiring computation efficiency to be close to\nundefended models. The family of PatchCURE defenses enables us to flexibly\nchoose appropriate defenses to satisfy given computation and/or utility\nconstraints in practice.\n", "date": "2023-10-19", "categories": []} {"id": "2403.19080", "title": "MMCert: Provable Defense against Adversarial Attacks to Multi-modal\n Models", "abstract": " Different from a unimodal model whose input is from a single modality, the\ninput (called multi-modal input) of a multi-modal model is from multiple\nmodalities such as image, 3D points, audio, text, etc. Similar to unimodal\nmodels, many existing studies show that a multi-modal model is also vulnerable\nto adversarial perturbation, where an attacker could add small perturbation to\nall modalities of a multi-modal input such that the multi-modal model makes\nincorrect predictions for it. Existing certified defenses are mostly designed\nfor unimodal models, which achieve sub-optimal certified robustness guarantees\nwhen extended to multi-modal models as shown in our experimental results. In\nour work, we propose MMCert, the first certified defense against adversarial\nattacks to a multi-modal model. We derive a lower bound on the performance of\nour MMCert under arbitrary adversarial attacks with bounded perturbations to\nboth modalities (e.g., in the context of auto-driving, we bound the number of\nchanged pixels in both RGB image and depth image). We evaluate our MMCert using\ntwo benchmark datasets: one for the multi-modal road segmentation task and the\nother for the multi-modal emotion recognition task. Moreover, we compare our\nMMCert with a state-of-the-art certified defense extended from unimodal models.\nOur experimental results show that our MMCert outperforms the baseline.\n", "date": "2024-03-28", "categories": []} {"id": "2404.01828", "title": "Defense without Forgetting: Continual Adversarial Defense with\n Anisotropic & Isotropic Pseudo Replay", "abstract": " Deep neural networks have demonstrated susceptibility to adversarial attacks.\nAdversarial defense techniques often focus on one-shot setting to maintain\nrobustness against attack. However, new attacks can emerge in sequences in\nreal-world deployment scenarios. As a result, it is crucial for a defense model\nto constantly adapt to new attacks, but the adaptation process can lead to\ncatastrophic forgetting of previously defended against attacks. In this paper,\nwe discuss for the first time the concept of continual adversarial defense\nunder a sequence of attacks, and propose a lifelong defense baseline called\nAnisotropic \\& Isotropic Replay (AIR), which offers three advantages: (1)\nIsotropic replay ensures model consistency in the neighborhood distribution of\nnew data, indirectly aligning the output preference between old and new tasks.\n(2) Anisotropic replay enables the model to learn a compromise data manifold\nwith fresh mixed semantics for further replay constraints and potential future\nattacks. (3) A straightforward regularizer mitigates the 'plasticity-stability'\ntrade-off by aligning model output between new and old tasks. Experiment\nresults demonstrate that AIR can approximate or even exceed the empirical\nperformance upper bounds achieved by Joint Training.\n", "date": "2024-04-02", "categories": []} {"id": "2404.01907", "title": "Humanizing Machine-Generated Content: Evading AI-Text Detection through\n Adversarial Attack", "abstract": " With the development of large language models (LLMs), detecting whether text\nis generated by a machine becomes increasingly challenging in the face of\nmalicious use cases like the spread of false information, protection of\nintellectual property, and prevention of academic plagiarism. While\nwell-trained text detectors have demonstrated promising performance on unseen\ntest data, recent research suggests that these detectors have vulnerabilities\nwhen dealing with adversarial attacks such as paraphrasing. In this paper, we\npropose a framework for a broader class of adversarial attacks, designed to\nperform minor perturbations in machine-generated content to evade detection. We\nconsider two attack settings: white-box and black-box, and employ adversarial\nlearning in dynamic scenarios to assess the potential enhancement of the\ncurrent detection model's robustness against such attacks. The empirical\nresults reveal that the current detection models can be compromised in as\nlittle as 10 seconds, leading to the misclassification of machine-generated\ntext as human-written content. Furthermore, we explore the prospect of\nimproving the model's robustness over iterative adversarial learning. Although\nsome improvements in model robustness are observed, practical applications\nstill face significant challenges. These findings shed light on the future\ndevelopment of AI-text detectors, emphasizing the need for more accurate and\nrobust detection methods.\n", "date": "2024-04-02", "categories": []} {"id": "2404.02067", "title": "Red-Teaming Segment Anything Model", "abstract": " Foundation models have emerged as pivotal tools, tackling many complex tasks\nthrough pre-training on vast datasets and subsequent fine-tuning for specific\napplications. The Segment Anything Model is one of the first and most\nwell-known foundation models for computer vision segmentation tasks. This work\npresents a multi-faceted red-teaming analysis that tests the Segment Anything\nModel against challenging tasks: (1) We analyze the impact of style transfer on\nsegmentation masks, demonstrating that applying adverse weather conditions and\nraindrops to dashboard images of city roads significantly distorts generated\nmasks. (2) We focus on assessing whether the model can be used for attacks on\nprivacy, such as recognizing celebrities' faces, and show that the model\npossesses some undesired knowledge in this task. (3) Finally, we check how\nrobust the model is to adversarial attacks on segmentation masks under text\nprompts. We not only show the effectiveness of popular white-box attacks and\nresistance to black-box attacks but also introduce a novel approach - Focused\nIterative Gradient Attack (FIGA) that combines white-box approaches to\nconstruct an efficient attack resulting in a smaller number of modified pixels.\nAll of our testing methods and analyses indicate a need for enhanced safety\nmeasures in foundation models for image segmentation.\n", "date": "2024-04-02", "categories": []} {"id": "2305.04067", "title": "The Best Defense is Attack: Repairing Semantics in Textual Adversarial\n Examples", "abstract": " Recent studies have revealed the vulnerability of pre-trained language models\nto adversarial attacks. Existing adversarial defense techniques attempt to\nreconstruct adversarial examples within feature or text spaces. However, these\nmethods struggle to effectively repair the semantics in adversarial examples,\nresulting in unsatisfactory performance and limiting their practical utility.\nTo repair the semantics in adversarial examples, we introduce a novel approach\nnamed Reactive Perturbation Defocusing (Rapid). Rapid employs an adversarial\ndetector to identify fake labels of adversarial examples and leverage\nadversarial attackers to repair the semantics in adversarial examples. Our\nextensive experimental results conducted on four public datasets, convincingly\ndemonstrate the effectiveness of Rapid in various adversarial attack scenarios.\nTo address the problem of defense performance validation in previous works, we\nprovide a demonstration of adversarial detection and repair based on our work,\nwhich can be easily evaluated at https://tinyurl.com/22ercuf8.\n", "date": "2023-05-06", "categories": []} {"id": "2311.17516", "title": "MMA-Diffusion: MultiModal Attack on Diffusion Models", "abstract": " In recent years, Text-to-Image (T2I) models have seen remarkable\nadvancements, gaining widespread adoption. However, this progress has\ninadvertently opened avenues for potential misuse, particularly in generating\ninappropriate or Not-Safe-For-Work (NSFW) content. Our work introduces\nMMA-Diffusion, a framework that presents a significant and realistic threat to\nthe security of T2I models by effectively circumventing current defensive\nmeasures in both open-source models and commercial online services. Unlike\nprevious approaches, MMA-Diffusion leverages both textual and visual modalities\nto bypass safeguards like prompt filters and post-hoc safety checkers, thus\nexposing and highlighting the vulnerabilities in existing defense mechanisms.\n", "date": "2023-11-29", "categories": []} {"id": "2312.05716", "title": "Initialization Matters for Adversarial Transfer Learning", "abstract": " With the prevalence of the Pretraining-Finetuning paradigm in transfer\nlearning, the robustness of downstream tasks has become a critical concern. In\nthis work, we delve into adversarial robustness in transfer learning and reveal\nthe critical role of initialization, including both the pretrained model and\nthe linear head. First, we discover the necessity of an adversarially robust\npretrained model. Specifically, we reveal that with a standard pretrained\nmodel, Parameter-Efficient Finetuning (PEFT) methods either fail to be\nadversarially robust or continue to exhibit significantly degraded adversarial\nrobustness on downstream tasks, even with adversarial training during\nfinetuning. Leveraging a robust pretrained model, surprisingly, we observe that\na simple linear probing can outperform full finetuning and other PEFT methods\nwith random initialization on certain datasets. We further identify that linear\nprobing excels in preserving robustness from the robust pretraining. Based on\nthis, we propose Robust Linear Initialization (RoLI) for adversarial\nfinetuning, which initializes the linear head with the weights obtained by\nadversarial linear probing to maximally inherit the robustness from\npretraining. Across five different image classification datasets, we\ndemonstrate the effectiveness of RoLI and achieve new state-of-the-art results.\nOur code is available at \\url{https://github.com/DongXzz/RoLI}.\n", "date": "2023-12-10", "categories": []} {"id": "2312.09935", "title": "LogoStyleFool: Vitiating Video Recognition Systems via Logo Style\n Transfer", "abstract": " Video recognition systems are vulnerable to adversarial examples. Recent\nstudies show that style transfer-based and patch-based unrestricted\nperturbations can effectively improve attack efficiency. These attacks,\nhowever, face two main challenges: 1) Adding large stylized perturbations to\nall pixels reduces the naturalness of the video and such perturbations can be\neasily detected. 2) Patch-based video attacks are not extensible to targeted\nattacks due to the limited search space of reinforcement learning that has been\nwidely used in video attacks recently. In this paper, we focus on the video\nblack-box setting and propose a novel attack framework named LogoStyleFool by\nadding a stylized logo to the clean video. We separate the attack into three\nstages: style reference selection, reinforcement-learning-based logo style\ntransfer, and perturbation optimization. We solve the first challenge by\nscaling down the perturbation range to a regional logo, while the second\nchallenge is addressed by complementing an optimization stage after\nreinforcement learning. Experimental results substantiate the overall\nsuperiority of LogoStyleFool over three state-of-the-art patch-based attacks in\nterms of attack performance and semantic preservation. Meanwhile, LogoStyleFool\nstill maintains its performance against two existing patch-based defense\nmethods. We believe that our research is beneficial in increasing the attention\nof the security community to such subregional style transfer attacks.\n", "date": "2023-12-15", "categories": []} {"id": "2404.00540", "title": "Embodied Active Defense: Leveraging Recurrent Feedback to Counter\n Adversarial Patches", "abstract": " The vulnerability of deep neural networks to adversarial patches has\nmotivated numerous defense strategies for boosting model robustness. However,\nthe prevailing defenses depend on single observation or pre-established\nadversary information to counter adversarial patches, often failing to be\nconfronted with unseen or adaptive adversarial attacks and easily exhibiting\nunsatisfying performance in dynamic 3D environments. Inspired by active human\nperception and recurrent feedback mechanisms, we develop Embodied Active\nDefense (EAD), a proactive defensive strategy that actively contextualizes\nenvironmental information to address misaligned adversarial patches in 3D\nreal-world settings. To achieve this, EAD develops two central recurrent\nsub-modules, i.e., a perception module and a policy module, to implement two\ncritical functions of active vision. These models recurrently process a series\nof beliefs and observations, facilitating progressive refinement of their\ncomprehension of the target object and enabling the development of strategic\nactions to counter adversarial patches in 3D environments. To optimize learning\nefficiency, we incorporate a differentiable approximation of environmental\ndynamics and deploy patches that are agnostic to the adversary strategies.\nExtensive experiments demonstrate that EAD substantially enhances robustness\nagainst a variety of patches within just a few steps through its action policy\nin safety-critical tasks (e.g., face recognition and object detection), without\ncompromising standard accuracy. Furthermore, due to the attack-agnostic\ncharacteristic, EAD facilitates excellent generalization to unseen attacks,\ndiminishing the averaged attack success rate by 95 percent across a range of\nunseen adversarial attacks.\n", "date": "2024-03-31", "categories": []} {"id": "2404.00828", "title": "PID Control-Based Self-Healing to Improve the Robustness of Large\n Language Models", "abstract": " Despite the effectiveness of deep neural networks in numerous natural\nlanguage processing applications, recent findings have exposed the\nvulnerability of these language models when minor perturbations are introduced.\nWhile appearing semantically indistinguishable to humans, these perturbations\ncan significantly reduce the performance of well-trained language models,\nraising concerns about the reliability of deploying them in safe-critical\nsituations. In this work, we construct a computationally efficient self-healing\nprocess to correct undesired model behavior during online inference when\nperturbations are applied to input data. This is formulated as a trajectory\noptimization problem in which the internal states of the neural network layers\nare automatically corrected using a PID (Proportional-Integral-Derivative)\ncontrol mechanism. The P controller targets immediate state adjustments, while\nthe I and D controllers consider past states and future dynamical trends,\nrespectively. We leverage the geometrical properties of the training data to\ndesign effective linear PID controllers. This approach reduces the\ncomputational cost to that of using just the P controller, instead of the full\nPID control. Further, we introduce an analytical method for approximating the\noptimal control solutions, enhancing the real-time inference capabilities of\nthis controlled system. Moreover, we conduct a theoretical error analysis of\nthe analytic solution in a simplified setting. The proposed PID control-based\nself-healing is a low cost framework that improves the robustness of\npre-trained large language models, whether standard or robustly trained,\nagainst a wide range of perturbations. A detailed implementation can be found\nin:https://github.com/zhuotongchen/PID-Control-Based-Self-Healing-to-Improve-the-Robustness-of-Large-Language-Models.\n", "date": "2024-03-31", "categories": []} {"id": "2209.11964", "title": "Strong Transferable Adversarial Attacks via Ensembled Asymptotically\n Normal Distribution Learning", "abstract": " Strong adversarial examples are crucial for evaluating and enhancing the\nrobustness of deep neural networks. However, the performance of popular attacks\nis usually sensitive, for instance, to minor image transformations, stemming\nfrom limited information -- typically only one input example, a handful of\nwhite-box source models, and undefined defense strategies. Hence, the crafted\nadversarial examples are prone to overfit the source model, which hampers their\ntransferability to unknown architectures. In this paper, we propose an approach\nnamed Multiple Asymptotically Normal Distribution Attacks (MultiANDA) which\nexplicitly characterize adversarial perturbations from a learned distribution.\nSpecifically, we approximate the posterior distribution over the perturbations\nby taking advantage of the asymptotic normality property of stochastic gradient\nascent (SGA), then employ the deep ensemble strategy as an effective proxy for\nBayesian marginalization in this process, aiming to estimate a mixture of\nGaussians that facilitates a more thorough exploration of the potential\noptimization space. The approximated posterior essentially describes the\nstationary distribution of SGA iterations, which captures the geometric\ninformation around the local optimum. Thus, MultiANDA allows drawing an\nunlimited number of adversarial perturbations for each input and reliably\nmaintains the transferability. Our proposed method outperforms ten\nstate-of-the-art black-box attacks on deep learning models with or without\ndefenses through extensive experiments on seven normally trained and seven\ndefense models.\n", "date": "2022-09-24", "categories": []} {"id": "2310.18274", "title": "LipSim: A Provably Robust Perceptual Similarity Metric", "abstract": " Recent years have seen growing interest in developing and applying perceptual\nsimilarity metrics. Research has shown the superiority of perceptual metrics\nover pixel-wise metrics in aligning with human perception and serving as a\nproxy for the human visual system. On the other hand, as perceptual metrics\nrely on neural networks, there is a growing concern regarding their resilience,\ngiven the established vulnerability of neural networks to adversarial attacks.\nIt is indeed logical to infer that perceptual metrics may inherit both the\nstrengths and shortcomings of neural networks. In this work, we demonstrate the\nvulnerability of state-of-the-art perceptual similarity metrics based on an\nensemble of ViT-based feature extractors to adversarial attacks. We then\npropose a framework to train a robust perceptual similarity metric called\nLipSim (Lipschitz Similarity Metric) with provable guarantees. By leveraging\n1-Lipschitz neural networks as the backbone, LipSim provides guarded areas\naround each data point and certificates for all perturbations within an\n$\\ell_2$ ball. Finally, a comprehensive set of experiments shows the\nperformance of LipSim in terms of natural and certified scores and on the image\nretrieval application. The code is available at\nhttps://github.com/SaraGhazanfari/LipSim.\n", "date": "2023-10-27", "categories": []} {"id": "2211.01579", "title": "Data-free Defense of Black Box Models Against Adversarial Attacks", "abstract": " Several companies often safeguard their trained deep models (i.e., details of\narchitecture, learnt weights, training details etc.) from third-party users by\nexposing them only as black boxes through APIs. Moreover, they may not even\nprovide access to the training data due to proprietary reasons or sensitivity\nconcerns. In this work, we propose a novel defense mechanism for black box\nmodels against adversarial attacks in a data-free set up. We construct\nsynthetic data via generative model and train surrogate network using model\nstealing techniques. To minimize adversarial contamination on perturbed\nsamples, we propose 'wavelet noise remover' (WNR) that performs discrete\nwavelet decomposition on input images and carefully select only a few important\ncoefficients determined by our 'wavelet coefficient selection module' (WCSM).\nTo recover the high-frequency content of the image after noise removal via WNR,\nwe further train a 'regenerator' network with an objective to retrieve the\ncoefficients such that the reconstructed image yields similar to original\npredictions on the surrogate model. At test time, WNR combined with trained\nregenerator network is prepended to the black box network, resulting in a high\nboost in adversarial accuracy. Our method improves the adversarial accuracy on\nCIFAR-10 by 38.98% and 32.01% on state-of-the-art Auto Attack compared to\nbaseline, even when the attacker uses surrogate architecture (Alexnet-half and\nAlexnet) similar to the black box architecture (Alexnet) with same model\nstealing strategy as defender. The code is available at\nhttps://github.com/vcl-iisc/data-free-black-box-defense\n", "date": "2022-11-03", "categories": []} {"id": "2402.17729", "title": "Towards Fairness-Aware Adversarial Learning", "abstract": " Although adversarial training (AT) has proven effective in enhancing the\nmodel's robustness, the recently revealed issue of fairness in robustness has\nnot been well addressed, i.e. the robust accuracy varies significantly among\ndifferent categories. In this paper, instead of uniformly evaluating the\nmodel's average class performance, we delve into the issue of robust fairness,\nby considering the worst-case distribution across various classes. We propose a\nnovel learning paradigm, named Fairness-Aware Adversarial Learning (FAAL). As a\ngeneralization of conventional AT, we re-define the problem of adversarial\ntraining as a min-max-max framework, to ensure both robustness and fairness of\nthe trained model. Specifically, by taking advantage of distributional robust\noptimization, our method aims to find the worst distribution among different\ncategories, and the solution is guaranteed to obtain the upper bound\nperformance with high probability. In particular, FAAL can fine-tune an unfair\nrobust model to be fair within only two epochs, without compromising the\noverall clean and robust accuracies. Extensive experiments on various image\ndatasets validate the superior performance and efficiency of the proposed FAAL\ncompared to other state-of-the-art methods.\n", "date": "2024-02-27", "categories": []} {"id": "2403.19150", "title": "Towards Understanding Dual BN In Hybrid Adversarial Training", "abstract": " There is a growing concern about applying batch normalization (BN) in\nadversarial training (AT), especially when the model is trained on both\nadversarial samples and clean samples (termed Hybrid-AT). With the assumption\nthat adversarial and clean samples are from two different domains, a common\npractice in prior works is to adopt Dual BN, where BN and BN are used for\nadversarial and clean branches, respectively. A popular belief for motivating\nDual BN is that estimating normalization statistics of this mixture\ndistribution is challenging and thus disentangling it for normalization\nachieves stronger robustness. In contrast to this belief, we reveal that\ndisentangling statistics plays a less role than disentangling affine parameters\nin model training. This finding aligns with prior work (Rebuffi et al., 2023),\nand we build upon their research for further investigations. We demonstrate\nthat the domain gap between adversarial and clean samples is not very large,\nwhich is counter-intuitive considering the significant influence of adversarial\nperturbation on the model accuracy. We further propose a two-task hypothesis\nwhich serves as the empirical foundation and a unified framework for Hybrid-AT\nimprovement. We also investigate Dual BN in test-time and reveal that affine\nparameters characterize the robustness during inference. Overall, our work\nsheds new light on understanding the mechanism of Dual BN in Hybrid-AT and its\nunderlying justification.\n", "date": "2024-03-28", "categories": []} {"id": "2302.06912", "title": "Regret-Based Defense in Adversarial Reinforcement Learning", "abstract": " Deep Reinforcement Learning (DRL) policies have been shown to be vulnerable\nto small adversarial noise in observations. Such adversarial noise can have\ndisastrous consequences in safety-critical environments. For instance, a\nself-driving car receiving adversarially perturbed sensory observations about\nnearby signs (e.g., a stop sign physically altered to be perceived as a speed\nlimit sign) or objects (e.g., cars altered to be recognized as trees) can be\nfatal. Existing approaches for making RL algorithms robust to an\nobservation-perturbing adversary have focused on reactive approaches that\niteratively improve against adversarial examples generated at each iteration.\nWhile such approaches have been shown to provide improvements over regular RL\nmethods, they are reactive and can fare significantly worse if certain\ncategories of adversarial examples are not generated during training. To that\nend, we pursue a more proactive approach that relies on directly optimizing a\nwell-studied robustness measure, regret instead of expected value. We provide a\nprincipled approach that minimizes maximum regret over a \"neighborhood\" of\nobservations to the received \"observation\". Our regret criterion can be used to\nmodify existing value- and policy-based Deep RL methods. We demonstrate that\nour approaches provide a significant improvement in performance across a wide\nvariety of benchmarks against leading approaches for robust Deep RL.\n", "date": "2023-02-14", "categories": []} {"id": "2308.12882", "title": "LCANets++: Robust Audio Classification using Multi-layer Neural Networks\n with Lateral Competition", "abstract": " Audio classification aims at recognizing audio signals, including speech\ncommands or sound events. However, current audio classifiers are susceptible to\nperturbations and adversarial attacks. In addition, real-world audio\nclassification tasks often suffer from limited labeled data. To help bridge\nthese gaps, previous work developed neuro-inspired convolutional neural\nnetworks (CNNs) with sparse coding via the Locally Competitive Algorithm (LCA)\nin the first layer (i.e., LCANets) for computer vision. LCANets learn in a\ncombination of supervised and unsupervised learning, reducing dependency on\nlabeled samples. Motivated by the fact that auditory cortex is also sparse, we\nextend LCANets to audio recognition tasks and introduce LCANets++, which are\nCNNs that perform sparse coding in multiple layers via LCA. We demonstrate that\nLCANets++ are more robust than standard CNNs and LCANets against perturbations,\ne.g., background noise, as well as black-box and white-box attacks, e.g.,\nevasion and fast gradient sign (FGSM) attacks.\n", "date": "2023-08-23", "categories": []} {"id": "2403.11656", "title": "LocalStyleFool: Regional Video Style Transfer Attack Using Segment\n Anything Model", "abstract": " Previous work has shown that well-crafted adversarial perturbations can\nthreaten the security of video recognition systems. Attackers can invade such\nmodels with a low query budget when the perturbations are semantic-invariant,\nsuch as StyleFool. Despite the query efficiency, the naturalness of the minutia\nareas still requires amelioration, since StyleFool leverages style transfer to\nall pixels in each frame. To close the gap, we propose LocalStyleFool, an\nimproved black-box video adversarial attack that superimposes regional\nstyle-transfer-based perturbations on videos. Benefiting from the popularity\nand scalably usability of Segment Anything Model (SAM), we first extract\ndifferent regions according to semantic information and then track them through\nthe video stream to maintain the temporal consistency. Then, we add\nstyle-transfer-based perturbations to several regions selected based on the\nassociative criterion of transfer-based gradient information and regional area.\nPerturbation fine adjustment is followed to make stylized videos adversarial.\nWe demonstrate that LocalStyleFool can improve both intra-frame and inter-frame\nnaturalness through a human-assessed survey, while maintaining competitive\nfooling rate and query efficiency. Successful experiments on the\nhigh-resolution dataset also showcase that scrupulous segmentation of SAM helps\nto improve the scalability of adversarial attacks under high-resolution data.\n", "date": "2024-03-18", "categories": []} {"id": "2403.17301", "title": "Physical 3D Adversarial Attacks against Monocular Depth Estimation in\n Autonomous Driving", "abstract": " Deep learning-based monocular depth estimation (MDE), extensively applied in\nautonomous driving, is known to be vulnerable to adversarial attacks. Previous\nphysical attacks against MDE models rely on 2D adversarial patches, so they\nonly affect a small, localized region in the MDE map but fail under various\nviewpoints. To address these limitations, we propose 3D Depth Fool\n(3D$^2$Fool), the first 3D texture-based adversarial attack against MDE models.\n3D$^2$Fool is specifically optimized to generate 3D adversarial textures\nagnostic to model types of vehicles and to have improved robustness in bad\nweather conditions, such as rain and fog. Experimental results validate the\nsuperior performance of our 3D$^2$Fool across various scenarios, including\nvehicles, MDE models, weather conditions, and viewpoints. Real-world\nexperiments with printed 3D textures on physical vehicle models further\ndemonstrate that our 3D$^2$Fool can cause an MDE error of over 10 meters.\n", "date": "2024-03-26", "categories": []} {"id": "2403.18423", "title": "SemRoDe: Macro Adversarial Training to Learn Representations That are\n Robust to Word-Level Attacks", "abstract": " Language models (LMs) are indispensable tools for natural language processing\ntasks, but their vulnerability to adversarial attacks remains a concern. While\ncurrent research has explored adversarial training techniques, their\nimprovements to defend against word-level attacks have been limited. In this\nwork, we propose a novel approach called Semantic Robust Defence (SemRoDe), a\nMacro Adversarial Training strategy to enhance the robustness of LMs. Drawing\ninspiration from recent studies in the image domain, we investigate and later\nconfirm that in a discrete data setting such as language, adversarial samples\ngenerated via word substitutions do indeed belong to an adversarial domain\nexhibiting a high Wasserstein distance from the base domain. Our method learns\na robust representation that bridges these two domains. We hypothesize that if\nsamples were not projected into an adversarial domain, but instead to a domain\nwith minimal shift, it would improve attack robustness. We align the domains by\nincorporating a new distance-based objective. With this, our model is able to\nlearn more generalized representations by aligning the model's high-level\noutput features and therefore better handling unseen adversarial samples. This\nmethod can be generalized across word embeddings, even when they share minimal\noverlap at both vocabulary and word-substitution levels. To evaluate the\neffectiveness of our approach, we conduct experiments on BERT and RoBERTa\nmodels on three datasets. The results demonstrate promising state-of-the-art\nrobustness.\n", "date": "2024-03-27", "categories": []} {"id": "2306.11990", "title": "Physics-constrained Attack against Convolution-based Human Motion\n Prediction", "abstract": " Human motion prediction has achieved a brilliant performance with the help of\nconvolution-based neural networks. However, currently, there is no work\nevaluating the potential risk in human motion prediction when facing\nadversarial attacks. The adversarial attack will encounter problems against\nhuman motion prediction in naturalness and data scale. To solve the problems\nabove, we propose a new adversarial attack method that generates the worst-case\nperturbation by maximizing the human motion predictor's prediction error with\nphysical constraints. Specifically, we introduce a novel adaptable scheme that\nfacilitates the attack to suit the scale of the target pose and two physical\nconstraints to enhance the naturalness of the adversarial example. The\nevaluating experiments on three datasets show that the prediction errors of all\ntarget models are enlarged significantly, which means current convolution-based\nhuman motion prediction models are vulnerable to the proposed attack. Based on\nthe experimental results, we provide insights on how to enhance the adversarial\nrobustness of the human motion predictor and how to improve the adversarial\nattack against human motion prediction.\n", "date": "2023-06-21", "categories": []} {"id": "2403.17520", "title": "Boosting Adversarial Training via Fisher-Rao Norm-based Regularization", "abstract": " Adversarial training is extensively utilized to improve the adversarial\nrobustness of deep neural networks. Yet, mitigating the degradation of standard\ngeneralization performance in adversarial-trained models remains an open\nproblem. This paper attempts to resolve this issue through the lens of model\ncomplexity. First, We leverage the Fisher-Rao norm, a geometrically invariant\nmetric for model complexity, to establish the non-trivial bounds of the\nCross-Entropy Loss-based Rademacher complexity for a ReLU-activated Multi-Layer\nPerceptron. Then we generalize a complexity-related variable, which is\nsensitive to the changes in model width and the trade-off factors in\nadversarial training. Moreover, intensive empirical evidence validates that\nthis variable highly correlates with the generalization gap of Cross-Entropy\nloss between adversarial-trained and standard-trained models, especially during\nthe initial and final phases of the training process. Building upon this\nobservation, we propose a novel regularization framework, called Logit-Oriented\nAdversarial Training (LOAT), which can mitigate the trade-off between\nrobustness and accuracy while imposing only a negligible increase in\ncomputational overhead. Our extensive experiments demonstrate that the proposed\nregularization strategy can boost the performance of the prevalent adversarial\ntraining algorithms, including PGD-AT, TRADES, TRADES (LSE), MART, and DM-AT,\nacross various network architectures. Our code will be available at\nhttps://github.com/TrustAI/LOAT.\n", "date": "2024-03-26", "categories": []} {"id": "2308.10299", "title": "Boosting Adversarial Transferability by Block Shuffle and Rotation", "abstract": " Adversarial examples mislead deep neural networks with imperceptible\nperturbations and have brought significant threats to deep learning. An\nimportant aspect is their transferability, which refers to their ability to\ndeceive other models, thus enabling attacks in the black-box setting. Though\nvarious methods have been proposed to boost transferability, the performance\nstill falls short compared with white-box attacks. In this work, we observe\nthat existing input transformation based attacks, one of the mainstream\ntransfer-based attacks, result in different attention heatmaps on various\nmodels, which might limit the transferability. We also find that breaking the\nintrinsic relation of the image can disrupt the attention heatmap of the\noriginal image. Based on this finding, we propose a novel input transformation\nbased attack called block shuffle and rotation (BSR). Specifically, BSR splits\nthe input image into several blocks, then randomly shuffles and rotates these\nblocks to construct a set of new images for gradient calculation. Empirical\nevaluations on the ImageNet dataset demonstrate that BSR could achieve\nsignificantly better transferability than the existing input transformation\nbased methods under single-model and ensemble-model settings. Combining BSR\nwith the current input transformation method can further improve the\ntransferability, which significantly outperforms the state-of-the-art methods.\nCode is available at https://github.com/Trustworthy-AI-Group/BSR\n", "date": "2023-08-20", "categories": []} {"id": "2403.03967", "title": "Effect of Ambient-Intrinsic Dimension Gap on Adversarial Vulnerability", "abstract": " The existence of adversarial attacks on machine learning models imperceptible\nto a human is still quite a mystery from a theoretical perspective. In this\nwork, we introduce two notions of adversarial attacks: natural or on-manifold\nattacks, which are perceptible by a human/oracle, and unnatural or off-manifold\nattacks, which are not. We argue that the existence of the off-manifold attacks\nis a natural consequence of the dimension gap between the intrinsic and ambient\ndimensions of the data. For 2-layer ReLU networks, we prove that even though\nthe dimension gap does not affect generalization performance on samples drawn\nfrom the observed data space, it makes the clean-trained model more vulnerable\nto adversarial perturbations in the off-manifold direction of the data space.\nOur main results provide an explicit relationship between the\n$\\ell_2,\\ell_{\\infty}$ attack strength of the on/off-manifold attack and the\ndimension gap.\n", "date": "2024-03-06", "categories": []} {"id": "2403.16176", "title": "Subspace Defense: Discarding Adversarial Perturbations by Learning a\n Subspace for Clean Signals", "abstract": " Deep neural networks (DNNs) are notoriously vulnerable to adversarial attacks\nthat place carefully crafted perturbations on normal examples to fool DNNs. To\nbetter understand such attacks, a characterization of the features carried by\nadversarial examples is needed. In this paper, we tackle this challenge by\ninspecting the subspaces of sample features through spectral analysis. We first\nempirically show that the features of either clean signals or adversarial\nperturbations are redundant and span in low-dimensional linear subspaces\nrespectively with minimal overlap, and the classical low-dimensional subspace\nprojection can suppress perturbation features out of the subspace of clean\nsignals. This makes it possible for DNNs to learn a subspace where only\nfeatures of clean signals exist while those of perturbations are discarded,\nwhich can facilitate the distinction of adversarial examples. To prevent the\nresidual perturbations that is inevitable in subspace learning, we propose an\nindependence criterion to disentangle clean signals from perturbations.\nExperimental results show that the proposed strategy enables the model to\ninherently suppress adversaries, which not only boosts model robustness but\nalso motivates new directions of effective adversarial defense.\n", "date": "2024-03-24", "categories": []} {"id": "2403.16405", "title": "Ensemble Adversarial Defense via Integration of Multiple Dispersed Low\n Curvature Models", "abstract": " The integration of an ensemble of deep learning models has been extensively\nexplored to enhance defense against adversarial attacks. The diversity among\nsub-models increases the attack cost required to deceive the majority of the\nensemble, thereby improving the adversarial robustness. While existing\napproaches mainly center on increasing diversity in feature representations or\ndispersion of first-order gradients with respect to input, the limited\ncorrelation between these diversity metrics and adversarial robustness\nconstrains the performance of ensemble adversarial defense. In this work, we\naim to enhance ensemble diversity by reducing attack transferability. We\nidentify second-order gradients, which depict the loss curvature, as a key\nfactor in adversarial robustness. Computing the Hessian matrix involved in\nsecond-order gradients is computationally expensive. To address this, we\napproximate the Hessian-vector product using differential approximation. Given\nthat low curvature provides better robustness, our ensemble model was designed\nto consider the influence of curvature among different sub-models. We introduce\na novel regularizer to train multiple more-diverse low-curvature network\nmodels. Extensive experiments across various datasets demonstrate that our\nensemble model exhibits superior robustness against a range of attacks,\nunderscoring the effectiveness of our approach.\n", "date": "2024-03-25", "categories": []} {"id": "2403.16782", "title": "The Anatomy of Adversarial Attacks: Concept-based XAI Dissection", "abstract": " Adversarial attacks (AAs) pose a significant threat to the reliability and\nrobustness of deep neural networks. While the impact of these attacks on model\npredictions has been extensively studied, their effect on the learned\nrepresentations and concepts within these models remains largely unexplored. In\nthis work, we perform an in-depth analysis of the influence of AAs on the\nconcepts learned by convolutional neural networks (CNNs) using eXplainable\nartificial intelligence (XAI) techniques. Through an extensive set of\nexperiments across various network architectures and targeted AA techniques, we\nunveil several key findings. First, AAs induce substantial alterations in the\nconcept composition within the feature space, introducing new concepts or\nmodifying existing ones. Second, the adversarial perturbation itself can be\nlinearly decomposed into a set of latent vector components, with a subset of\nthese being responsible for the attack's success. Notably, we discover that\nthese components are target-specific, i.e., are similar for a given target\nclass throughout different AA techniques and starting classes. Our findings\nprovide valuable insights into the nature of AAs and their impact on learned\nrepresentations, paving the way for the development of more robust and\ninterpretable deep learning models, as well as effective defenses against\nadversarial threats.\n", "date": "2024-03-25", "categories": []} {"id": "2403.14731", "title": "Reversible Jump Attack to Textual Classifiers with Modification\n Reduction", "abstract": " Recent studies on adversarial examples expose vulnerabilities of natural\nlanguage processing (NLP) models. Existing techniques for generating\nadversarial examples are typically driven by deterministic hierarchical rules\nthat are agnostic to the optimal adversarial examples, a strategy that often\nresults in adversarial samples with a suboptimal balance between magnitudes of\nchanges and attack successes. To this end, in this research we propose two\nalgorithms, Reversible Jump Attack (RJA) and Metropolis-Hasting Modification\nReduction (MMR), to generate highly effective adversarial examples and to\nimprove the imperceptibility of the examples, respectively. RJA utilizes a\nnovel randomization mechanism to enlarge the search space and efficiently\nadapts to a number of perturbed words for adversarial examples. With these\ngenerated adversarial examples, MMR applies the Metropolis-Hasting sampler to\nenhance the imperceptibility of adversarial examples. Extensive experiments\ndemonstrate that RJA-MMR outperforms current state-of-the-art methods in attack\nperformance, imperceptibility, fluency and grammar correctness.\n", "date": "2024-03-21", "categories": []} {"id": "2403.14778", "title": "Diffusion Attack: Leveraging Stable Diffusion for Naturalistic Image\n Attacking", "abstract": " In Virtual Reality (VR), adversarial attack remains a significant security\nthreat. Most deep learning-based methods for physical and digital adversarial\nattacks focus on enhancing attack performance by crafting adversarial examples\nthat contain large printable distortions that are easy for human observers to\nidentify. However, attackers rarely impose limitations on the naturalness and\ncomfort of the appearance of the generated attack image, resulting in a\nnoticeable and unnatural attack. To address this challenge, we propose a\nframework to incorporate style transfer to craft adversarial inputs of natural\nstyles that exhibit minimal detectability and maximum natural appearance, while\nmaintaining superior attack capabilities.\n", "date": "2024-03-21", "categories": []} {"id": "2403.15207", "title": "Robust optimization for adversarial learning with finite sample\n complexity guarantees", "abstract": " Decision making and learning in the presence of uncertainty has attracted\nsignificant attention in view of the increasing need to achieve robust and\nreliable operations. In the case where uncertainty stems from the presence of\nadversarial attacks this need is becoming more prominent. In this paper we\nfocus on linear and nonlinear classification problems and propose a novel\nadversarial training method for robust classifiers, inspired by Support Vector\nMachine (SVM) margins. We view robustness under a data driven lens, and derive\nfinite sample complexity bounds for both linear and non-linear classifiers in\nbinary and multi-class scenarios. Notably, our bounds match natural\nclassifiers' complexity. Our algorithm minimizes a worst-case surrogate loss\nusing Linear Programming (LP) and Second Order Cone Programming (SOCP) for\nlinear and non-linear models. Numerical experiments on the benchmark MNIST and\nCIFAR10 datasets show our approach's comparable performance to state-of-the-art\nmethods, without needing adversarial examples during training. Our work offers\na comprehensive framework for enhancing binary linear and non-linear classifier\nrobustness, embedding robustness in learning under the presence of adversaries.\n", "date": "2024-03-22", "categories": []} {"id": "2403.13507", "title": "FMM-Attack: A Flow-based Multi-modal Adversarial Attack on Video-based\n LLMs", "abstract": " Despite the remarkable performance of video-based large language models\n(LLMs), their adversarial threat remains unexplored. To fill this gap, we\npropose the first adversarial attack tailored for video-based LLMs by crafting\nflow-based multi-modal adversarial perturbations on a small fraction of frames\nwithin a video, dubbed FMM-Attack. Extensive experiments show that our attack\ncan effectively induce video-based LLMs to generate incorrect answers when\nvideos are added with imperceptible adversarial perturbations. Intriguingly,\nour FMM-Attack can also induce garbling in the model output, prompting\nvideo-based LLMs to hallucinate. Overall, our observations inspire a further\nunderstanding of multi-modal robustness and safety-related feature alignment\nacross different modalities, which is of great importance for various large\nmulti-modal models. Our code is available at\nhttps://github.com/THU-Kingmin/FMM-Attack.\n", "date": "2024-03-20", "categories": []} {"id": "2403.14489", "title": "Adversary-Robust Graph-Based Learning of WSIs", "abstract": " Enhancing the robustness of deep learning models against adversarial attacks\nis crucial, especially in critical domains like healthcare where significant\nfinancial interests heighten the risk of such attacks. Whole slide images\n(WSIs) are high-resolution, digitized versions of tissue samples mounted on\nglass slides, scanned using sophisticated imaging equipment. The digital\nanalysis of WSIs presents unique challenges due to their gigapixel size and\nmulti-resolution storage format. In this work, we aim at improving the\nrobustness of cancer Gleason grading classification systems against adversarial\nattacks, addressing challenges at both the image and graph levels. As regards\nthe proposed algorithm, we develop a novel and innovative graph-based model\nwhich utilizes GNN to extract features from the graph representation of WSIs. A\ndenoising module, along with a pooling layer is incorporated to manage the\nimpact of adversarial attacks on the WSIs. The process concludes with a\ntransformer module that classifies various grades of prostate cancer based on\nthe processed data. To assess the effectiveness of the proposed method, we\nconducted a comparative analysis using two scenarios. Initially, we trained and\ntested the model without the denoiser using WSIs that had not been exposed to\nany attack. We then introduced a range of attacks at either the image or graph\nlevel and processed them through the proposed network. The performance of the\nmodel was evaluated in terms of accuracy and kappa scores. The results from\nthis comparison showed a significant improvement in cancer diagnosis accuracy,\nhighlighting the robustness and efficiency of the proposed method in handling\nadversarial challenges in the context of medical imaging.\n", "date": "2024-03-21", "categories": []} {"id": "2306.11035", "title": "Adversarial Training Should Be Cast as a Non-Zero-Sum Game", "abstract": " One prominent approach toward resolving the adversarial vulnerability of deep\nneural networks is the two-player zero-sum paradigm of adversarial training, in\nwhich predictors are trained against adversarially chosen perturbations of\ndata. Despite the promise of this approach, algorithms based on this paradigm\nhave not engendered sufficient levels of robustness and suffer from\npathological behavior like robust overfitting. To understand this shortcoming,\nwe first show that the commonly used surrogate-based relaxation used in\nadversarial training algorithms voids all guarantees on the robustness of\ntrained classifiers. The identification of this pitfall informs a novel\nnon-zero-sum bilevel formulation of adversarial training, wherein each player\noptimizes a different objective function. Our formulation yields a simple\nalgorithmic framework that matches and in some cases outperforms\nstate-of-the-art attacks, attains comparable levels of robustness to standard\nadversarial training algorithms, and does not suffer from robust overfitting.\n", "date": "2023-06-19", "categories": []} {"id": "2309.01582", "title": "Improving Visual Quality and Transferability of Adversarial Attacks on\n Face Recognition Simultaneously with Adversarial Restoration", "abstract": " Adversarial face examples possess two critical properties: Visual Quality and\nTransferability. However, existing approaches rarely address these properties\nsimultaneously, leading to subpar results. To address this issue, we propose a\nnovel adversarial attack technique known as Adversarial Restoration\n(AdvRestore), which enhances both visual quality and transferability of\nadversarial face examples by leveraging a face restoration prior. In our\napproach, we initially train a Restoration Latent Diffusion Model (RLDM)\ndesigned for face restoration. Subsequently, we employ the inference process of\nRLDM to generate adversarial face examples. The adversarial perturbations are\napplied to the intermediate features of RLDM. Additionally, by treating RLDM\nface restoration as a sibling task, the transferability of the generated\nadversarial face examples is further improved. Our experimental results\nvalidate the effectiveness of the proposed attack method.\n", "date": "2023-09-04", "categories": []} {"id": "2403.10801", "title": "Securely Fine-tuning Pre-trained Encoders Against Adversarial Examples", "abstract": " With the evolution of self-supervised learning, the pre-training paradigm has\nemerged as a predominant solution within the deep learning landscape. Model\nproviders furnish pre-trained encoders designed to function as versatile\nfeature extractors, enabling downstream users to harness the benefits of\nexpansive models with minimal effort through fine-tuning. Nevertheless, recent\nworks have exposed a vulnerability in pre-trained encoders, highlighting their\nsusceptibility to downstream-agnostic adversarial examples (DAEs) meticulously\ncrafted by attackers. The lingering question pertains to the feasibility of\nfortifying the robustness of downstream models against DAEs, particularly in\nscenarios where the pre-trained encoders are publicly accessible to the\nattackers.\n In this paper, we initially delve into existing defensive mechanisms against\nadversarial examples within the pre-training paradigm. Our findings reveal that\nthe failure of current defenses stems from the domain shift between\npre-training data and downstream tasks, as well as the sensitivity of encoder\nparameters. In response to these challenges, we propose Genetic\nEvolution-Nurtured Adversarial Fine-tuning (Gen-AF), a two-stage adversarial\nfine-tuning approach aimed at enhancing the robustness of downstream models.\nOur extensive experiments, conducted across ten self-supervised training\nmethods and six datasets, demonstrate that Gen-AF attains high testing accuracy\nand robust testing accuracy against state-of-the-art DAEs.\n", "date": "2024-03-16", "categories": []} {"id": "2403.12077", "title": "Evaluating Robustness of Generative Search Engine on Adversarial Factual\n Questions", "abstract": " Generative search engines have the potential to transform how people seek\ninformation online, but generated responses from existing large language models\n(LLMs)-backed generative search engines may not always be accurate.\nNonetheless, retrieval-augmented generation exacerbates safety concerns, since\nadversaries may successfully evade the entire system by subtly manipulating the\nmost vulnerable part of a claim. To this end, we propose evaluating the\nrobustness of generative search engines in the realistic and high-risk setting,\nwhere adversaries have only black-box system access and seek to deceive the\nmodel into returning incorrect responses. Through a comprehensive human\nevaluation of various generative search engines, such as Bing Chat,\nPerplexityAI, and YouChat across diverse queries, we demonstrate the\neffectiveness of adversarial factual questions in inducing incorrect responses.\nMoreover, retrieval-augmented generation exhibits a higher susceptibility to\nfactual errors compared to LLMs without retrieval. These findings highlight the\npotential security risks of these systems and emphasize the need for rigorous\nevaluation before deployment.\n", "date": "2024-02-25", "categories": []} {"id": "2403.12693", "title": "As Firm As Their Foundations: Can open-sourced foundation models be used\n to create adversarial examples for downstream tasks?", "abstract": " Foundation models pre-trained on web-scale vision-language data, such as\nCLIP, are widely used as cornerstones of powerful machine learning systems.\nWhile pre-training offers clear advantages for downstream learning, it also\nendows downstream models with shared adversarial vulnerabilities that can be\neasily identified through the open-sourced foundation model. In this work, we\nexpose such vulnerabilities in CLIP's downstream models and show that\nfoundation models can serve as a basis for attacking their downstream systems.\nIn particular, we propose a simple yet effective adversarial attack strategy\ntermed Patch Representation Misalignment (PRM). Solely based on open-sourced\nCLIP vision encoders, this method produces adversaries that simultaneously fool\nmore than 20 downstream models spanning 4 common vision-language tasks\n(semantic segmentation, object detection, image captioning and visual\nquestion-answering). Our findings highlight the concerning safety risks\nintroduced by the extensive usage of public foundational models in the\ndevelopment of downstream systems, calling for extra caution in these\nscenarios.\n", "date": "2024-03-19", "categories": []} {"id": "2305.13991", "title": "Expressive Losses for Verified Robustness via Convex Combinations", "abstract": " In order to train networks for verified adversarial robustness, it is common\nto over-approximate the worst-case loss over perturbation regions, resulting in\nnetworks that attain verifiability at the expense of standard performance. As\nshown in recent work, better trade-offs between accuracy and robustness can be\nobtained by carefully coupling adversarial training with over-approximations.\nWe hypothesize that the expressivity of a loss function, which we formalize as\nthe ability to span a range of trade-offs between lower and upper bounds to the\nworst-case loss through a single parameter (the over-approximation\ncoefficient), is key to attaining state-of-the-art performance. To support our\nhypothesis, we show that trivial expressive losses, obtained via convex\ncombinations between adversarial attacks and IBP bounds, yield state-of-the-art\nresults across a variety of settings in spite of their conceptual simplicity.\nWe provide a detailed analysis of the relationship between the\nover-approximation coefficient and performance profiles across different\nexpressive losses, showing that, while expressivity is essential, better\napproximations of the worst-case loss are not necessarily linked to superior\nrobustness-accuracy trade-offs.\n", "date": "2023-05-23", "categories": []} {"id": "2309.16883", "title": "The Lipschitz-Variance-Margin Tradeoff for Enhanced Randomized Smoothing", "abstract": " Real-life applications of deep neural networks are hindered by their unsteady\npredictions when faced with noisy inputs and adversarial attacks. The certified\nradius in this context is a crucial indicator of the robustness of models.\nHowever how to design an efficient classifier with an associated certified\nradius? Randomized smoothing provides a promising framework by relying on noise\ninjection into the inputs to obtain a smoothed and robust classifier. In this\npaper, we first show that the variance introduced by the Monte-Carlo sampling\nin the randomized smoothing procedure estimate closely interacts with two other\nimportant properties of the classifier, \\textit{i.e.} its Lipschitz constant\nand margin. More precisely, our work emphasizes the dual impact of the\nLipschitz constant of the base classifier, on both the smoothed classifier and\nthe empirical variance. To increase the certified robust radius, we introduce a\ndifferent way to convert logits to probability vectors for the base classifier\nto leverage the variance-margin trade-off. We leverage the use of Bernstein's\nconcentration inequality along with enhanced Lipschitz bounds for randomized\nsmoothing. Experimental results show a significant improvement in certified\naccuracy compared to current state-of-the-art methods. Our novel certification\nprocedure allows us to use pre-trained models with randomized smoothing,\neffectively improving the current certification radius in a zero-shot manner.\n", "date": "2023-09-28", "categories": []} {"id": "2310.17645", "title": "PubDef: Defending Against Transfer Attacks From Public Models", "abstract": " Adversarial attacks have been a looming and unaddressed threat in the\nindustry. However, through a decade-long history of the robustness evaluation\nliterature, we have learned that mounting a strong or optimal attack is\nchallenging. It requires both machine learning and domain expertise. In other\nwords, the white-box threat model, religiously assumed by a large majority of\nthe past literature, is unrealistic. In this paper, we propose a new practical\nthreat model where the adversary relies on transfer attacks through publicly\navailable surrogate models. We argue that this setting will become the most\nprevalent for security-sensitive applications in the future. We evaluate the\ntransfer attacks in this setting and propose a specialized defense method based\non a game-theoretic perspective. The defenses are evaluated under 24 public\nmodels and 11 attack algorithms across three datasets (CIFAR-10, CIFAR-100, and\nImageNet). Under this threat model, our defense, PubDef, outperforms the\nstate-of-the-art white-box adversarial training by a large margin with almost\nno loss in the normal accuracy. For instance, on ImageNet, our defense achieves\n62% accuracy under the strongest transfer attack vs only 36% of the best\nadversarially trained model. Its accuracy when not under attack is only 2%\nlower than that of an undefended model (78% vs 80%). We release our code at\nhttps://github.com/wagner-group/pubdef.\n", "date": "2023-10-26", "categories": []} {"id": "2401.06637", "title": "Adversarial Examples are Misaligned in Diffusion Model Manifolds", "abstract": " In recent years, diffusion models (DMs) have drawn significant attention for\ntheir success in approximating data distributions, yielding state-of-the-art\ngenerative results. Nevertheless, the versatility of these models extends\nbeyond their generative capabilities to encompass various vision applications,\nsuch as image inpainting, segmentation, adversarial robustness, among others.\nThis study is dedicated to the investigation of adversarial attacks through the\nlens of diffusion models. However, our objective does not involve enhancing the\nadversarial robustness of image classifiers. Instead, our focus lies in\nutilizing the diffusion model to detect and analyze the anomalies introduced by\nthese attacks on images. To that end, we systematically examine the alignment\nof the distributions of adversarial examples when subjected to the process of\ntransformation using diffusion models. The efficacy of this approach is\nassessed across CIFAR-10 and ImageNet datasets, including varying image sizes\nin the latter. The results demonstrate a notable capacity to discriminate\neffectively between benign and attacked images, providing compelling evidence\nthat adversarial instances do not align with the learned manifold of the DMs.\n", "date": "2024-01-12", "categories": []} {"id": "2403.10562", "title": "Counter-Samples: A Stateless Strategy to Neutralize Black Box\n Adversarial Attacks", "abstract": " Our paper presents a novel defence against black box attacks, where attackers\nuse the victim model as an oracle to craft their adversarial examples. Unlike\ntraditional preprocessing defences that rely on sanitizing input samples, our\nstateless strategy counters the attack process itself. For every query we\nevaluate a counter-sample instead, where the counter-sample is the original\nsample optimized against the attacker's objective. By countering every black\nbox query with a targeted white box optimization, our strategy effectively\nintroduces an asymmetry to the game to the defender's advantage. This defence\nnot only effectively misleads the attacker's search for an adversarial example,\nit also preserves the model's accuracy on legitimate inputs and is generic to\nmultiple types of attacks.\n We demonstrate that our approach is remarkably effective against\nstate-of-the-art black box attacks and outperforms existing defences for both\nthe CIFAR-10 and ImageNet datasets. Additionally, we also show that the\nproposed defence is robust against strong adversaries as well.\n", "date": "2024-03-14", "categories": []} {"id": "2403.10935", "title": "Understanding Robustness of Visual State Space Models for Image\n Classification", "abstract": " Visual State Space Model (VMamba) has recently emerged as a promising\narchitecture, exhibiting remarkable performance in various computer vision\ntasks. However, its robustness has not yet been thoroughly studied. In this\npaper, we delve into the robustness of this architecture through comprehensive\ninvestigations from multiple perspectives. Firstly, we investigate its\nrobustness to adversarial attacks, employing both whole-image and\npatch-specific adversarial attacks. Results demonstrate superior adversarial\nrobustness compared to Transformer architectures while revealing scalability\nweaknesses. Secondly, the general robustness of VMamba is assessed against\ndiverse scenarios, including natural adversarial examples, out-of-distribution\ndata, and common corruptions. VMamba exhibits exceptional generalizability with\nout-of-distribution data but shows scalability weaknesses against natural\nadversarial examples and common corruptions. Additionally, we explore VMamba's\ngradients and back-propagation during white-box attacks, uncovering unique\nvulnerabilities and defensive capabilities of its novel components. Lastly, the\nsensitivity of VMamba to image structure variations is examined, highlighting\nvulnerabilities associated with the distribution of disturbance areas and\nspatial information, with increased susceptibility closer to the image center.\nThrough these comprehensive studies, we contribute to a deeper understanding of\nVMamba's robustness, providing valuable insights for refining and advancing the\ncapabilities of deep neural networks in computer vision applications.\n", "date": "2024-03-16", "categories": []} {"id": "2403.11082", "title": "RobustSentEmbed: Robust Sentence Embeddings Using Adversarial\n Self-Supervised Contrastive Learning", "abstract": " Pre-trained language models (PLMs) have consistently demonstrated outstanding\nperformance across a diverse spectrum of natural language processing tasks.\nNevertheless, despite their success with unseen data, current PLM-based\nrepresentations often exhibit poor robustness in adversarial settings. In this\npaper, we introduce RobustSentEmbed, a self-supervised sentence embedding\nframework designed to improve both generalization and robustness in diverse\ntext representation tasks and against a diverse set of adversarial attacks.\nThrough the generation of high-risk adversarial perturbations and their\nutilization in a novel objective function, RobustSentEmbed adeptly learns\nhigh-quality and robust sentence embeddings. Our experiments confirm the\nsuperiority of RobustSentEmbed over state-of-the-art representations.\nSpecifically, Our framework achieves a significant reduction in the success\nrate of various adversarial attacks, notably reducing the BERTAttack success\nrate by almost half (from 75.51\\% to 38.81\\%). The framework also yields\nimprovements of 1.59\\% and 0.23\\% in semantic textual similarity tasks and\nvarious transfer tasks, respectively.\n", "date": "2024-03-17", "categories": []} {"id": "2403.11448", "title": "Robust Overfitting Does Matter: Test-Time Adversarial Purification With\n FGSM", "abstract": " Numerous studies have demonstrated the susceptibility of deep neural networks\n(DNNs) to subtle adversarial perturbations, prompting the development of many\nadvanced adversarial defense methods aimed at mitigating adversarial attacks.\nCurrent defense strategies usually train DNNs for a specific adversarial attack\nmethod and can achieve good robustness in defense against this type of\nadversarial attack. Nevertheless, when subjected to evaluations involving\nunfamiliar attack modalities, empirical evidence reveals a pronounced\ndeterioration in the robustness of DNNs. Meanwhile, there is a trade-off\nbetween the classification accuracy of clean examples and adversarial examples.\nMost defense methods often sacrifice the accuracy of clean examples in order to\nimprove the adversarial robustness of DNNs. To alleviate these problems and\nenhance the overall robust generalization of DNNs, we propose the Test-Time\nPixel-Level Adversarial Purification (TPAP) method. This approach is based on\nthe robust overfitting characteristic of DNNs to the fast gradient sign method\n(FGSM) on training and test datasets. It utilizes FGSM for adversarial\npurification, to process images for purifying unknown adversarial perturbations\nfrom pixels at testing time in a \"counter changes with changelessness\" manner,\nthereby enhancing the defense capability of DNNs against various unknown\nadversarial attacks. Extensive experimental results show that our method can\neffectively improve both overall robust generalization of DNNs, notably over\nprevious methods.\n", "date": "2024-03-18", "categories": []} {"id": "2403.11833", "title": "SSCAE -- Semantic, Syntactic, and Context-aware natural language\n Adversarial Examples generator", "abstract": " Machine learning models are vulnerable to maliciously crafted Adversarial\nExamples (AEs). Training a machine learning model with AEs improves its\nrobustness and stability against adversarial attacks. It is essential to\ndevelop models that produce high-quality AEs. Developing such models has been\nmuch slower in natural language processing (NLP) than in areas such as computer\nvision. This paper introduces a practical and efficient adversarial attack\nmodel called SSCAE for \\textbf{S}emantic, \\textbf{S}yntactic, and\n\\textbf{C}ontext-aware natural language \\textbf{AE}s generator. SSCAE\nidentifies important words and uses a masked language model to generate an\nearly set of substitutions. Next, two well-known language models are employed\nto evaluate the initial set in terms of semantic and syntactic characteristics.\nWe introduce (1) a dynamic threshold to capture more efficient perturbations\nand (2) a local greedy search to generate high-quality AEs. As a black-box\nmethod, SSCAE generates humanly imperceptible and context-aware AEs that\npreserve semantic consistency and the source language's syntactical and\ngrammatical requirements. The effectiveness and superiority of the proposed\nSSCAE model are illustrated with fifteen comparative experiments and extensive\nsensitivity analysis for parameter optimization. SSCAE outperforms the existing\nmodels in all experiments while maintaining a higher semantic consistency with\na lower query number and a comparable perturbation rate.\n", "date": "2024-03-18", "categories": []} {"id": "2403.09766", "title": "An Image Is Worth 1000 Lies: Adversarial Transferability across Prompts\n on Vision-Language Models", "abstract": " Different from traditional task-specific vision models, recent large VLMs can\nreadily adapt to different vision tasks by simply using different textual\ninstructions, i.e., prompts. However, a well-known concern about traditional\ntask-specific vision models is that they can be misled by imperceptible\nadversarial perturbations. Furthermore, the concern is exacerbated by the\nphenomenon that the same adversarial perturbations can fool different\ntask-specific models. Given that VLMs rely on prompts to adapt to different\ntasks, an intriguing question emerges: Can a single adversarial image mislead\nall predictions of VLMs when a thousand different prompts are given? This\nquestion essentially introduces a novel perspective on adversarial\ntransferability: cross-prompt adversarial transferability. In this work, we\npropose the Cross-Prompt Attack (CroPA). This proposed method updates the\nvisual adversarial perturbation with learnable prompts, which are designed to\ncounteract the misleading effects of the adversarial image. By doing this,\nCroPA significantly improves the transferability of adversarial examples across\nprompts. Extensive experiments are conducted to verify the strong cross-prompt\nadversarial transferability of CroPA with prevalent VLMs including Flamingo,\nBLIP-2, and InstructBLIP in various different tasks. Our source code is\navailable at \\url{https://github.com/Haochen-Luo/CroPA}.\n", "date": "2024-03-14", "categories": []} {"id": "2403.10073", "title": "Revisiting Adversarial Training under Long-Tailed Distributions", "abstract": " Deep neural networks are vulnerable to adversarial attacks, often leading to\nerroneous outputs. Adversarial training has been recognized as one of the most\neffective methods to counter such attacks. However, existing adversarial\ntraining techniques have predominantly been tested on balanced datasets,\nwhereas real-world data often exhibit a long-tailed distribution, casting doubt\non the efficacy of these methods in practical scenarios.\n In this paper, we delve into adversarial training under long-tailed\ndistributions. Through an analysis of the previous work \"RoBal\", we discover\nthat utilizing Balanced Softmax Loss alone can achieve performance comparable\nto the complete RoBal approach while significantly reducing training overheads.\nAdditionally, we reveal that, similar to uniform distributions, adversarial\ntraining under long-tailed distributions also suffers from robust overfitting.\nTo address this, we explore data augmentation as a solution and unexpectedly\ndiscover that, unlike results obtained with balanced data, data augmentation\nnot only effectively alleviates robust overfitting but also significantly\nimproves robustness. We further investigate the reasons behind the improvement\nof robustness through data augmentation and identify that it is attributable to\nthe increased diversity of examples. Extensive experiments further corroborate\nthat data augmentation alone can significantly improve robustness. Finally,\nbuilding on these findings, we demonstrate that compared to RoBal, the\ncombination of BSL and data augmentation leads to a +6.66% improvement in model\nrobustness under AutoAttack on CIFAR-10-LT. Our code is available at\nhttps://github.com/NISPLab/AT-BSL .\n", "date": "2024-03-15", "categories": []} {"id": "2403.10076", "title": "Benchmarking Adversarial Robustness of Image Shadow Removal with\n Shadow-adaptive Attacks", "abstract": " Shadow removal is a task aimed at erasing regional shadows present in images\nand reinstating visually pleasing natural scenes with consistent illumination.\nWhile recent deep learning techniques have demonstrated impressive performance\nin image shadow removal, their robustness against adversarial attacks remains\nlargely unexplored. Furthermore, many existing attack frameworks typically\nallocate a uniform budget for perturbations across the entire input image,\nwhich may not be suitable for attacking shadow images. This is primarily due to\nthe unique characteristic of spatially varying illumination within shadow\nimages. In this paper, we propose a novel approach, called shadow-adaptive\nadversarial attack. Different from standard adversarial attacks, our attack\nbudget is adjusted based on the pixel intensity in different regions of shadow\nimages. Consequently, the optimized adversarial noise in the shadowed regions\nbecomes visually less perceptible while permitting a greater tolerance for\nperturbations in non-shadow regions. The proposed shadow-adaptive attacks\nnaturally align with the varying illumination distribution in shadow images,\nresulting in perturbations that are less conspicuous. Building on this, we\nconduct a comprehensive empirical evaluation of existing shadow removal\nmethods, subjecting them to various levels of attack on publicly available\ndatasets.\n", "date": "2024-03-15", "categories": []} {"id": "2403.09101", "title": "Soften to Defend: Towards Adversarial Robustness via Self-Guided Label\n Refinement", "abstract": " Adversarial training (AT) is currently one of the most effective ways to\nobtain the robustness of deep neural networks against adversarial attacks.\nHowever, most AT methods suffer from robust overfitting, i.e., a significant\ngeneralization gap in adversarial robustness between the training and testing\ncurves. In this paper, we first identify a connection between robust\noverfitting and the excessive memorization of noisy labels in AT from a view of\ngradient norm. As such label noise is mainly caused by a distribution mismatch\nand improper label assignments, we are motivated to propose a label refinement\napproach for AT. Specifically, our Self-Guided Label Refinement first\nself-refines a more accurate and informative label distribution from\nover-confident hard labels, and then it calibrates the training by dynamically\nincorporating knowledge from self-distilled models into the current model and\nthus requiring no external teachers. Empirical results demonstrate that our\nmethod can simultaneously boost the standard accuracy and robust performance\nacross multiple benchmark datasets, attack types, and architectures. In\naddition, we also provide a set of analyses from the perspectives of\ninformation theory to dive into our method and suggest the importance of soft\nlabels for robust generalization.\n", "date": "2024-03-14", "categories": []} {"id": "2308.08906", "title": "Towards a Practical Defense against Adversarial Attacks on Deep\n Learning-based Malware Detectors via Randomized Smoothing", "abstract": " Malware detectors based on deep learning (DL) have been shown to be\nsusceptible to malware examples that have been deliberately manipulated in\norder to evade detection, a.k.a. adversarial malware examples. More\nspecifically, it has been show that deep learning detectors are vulnerable to\nsmall changes on the input file. Given this vulnerability of deep learning\ndetectors, we propose a practical defense against adversarial malware examples\ninspired by randomized smoothing. In our work, instead of employing Gaussian or\nLaplace noise when randomizing inputs, we propose a randomized ablation-based\nsmoothing scheme that ablates a percentage of the bytes within an executable.\nDuring training, our randomized ablation-based smoothing scheme trains a base\nclassifier based on ablated versions of the executable files. At test time, the\nfinal classification for a given input executable is taken as the class most\ncommonly predicted by the classifier on a set of ablated versions of the\noriginal executable. To demonstrate the suitability of our approach we have\nempirically evaluated the proposed ablation-based model against various\nstate-of-the-art evasion attacks on the BODMAS dataset. Results show greater\nrobustness and generalization capabilities to adversarial malware examples in\ncomparison to a non-smoothed classifier.\n", "date": "2023-08-17", "categories": []} {"id": "2403.07942", "title": "Attacking Transformers with Feature Diversity Adversarial Perturbation", "abstract": " Understanding the mechanisms behind Vision Transformer (ViT), particularly\nits vulnerability to adversarial perturba tions, is crucial for addressing\nchallenges in its real-world applications. Existing ViT adversarial attackers\nrely on la bels to calculate the gradient for perturbation, and exhibit low\ntransferability to other structures and tasks. In this paper, we present a\nlabel-free white-box attack approach for ViT-based models that exhibits strong\ntransferability to various black box models, including most ViT variants, CNNs,\nand MLPs, even for models developed for other modalities. Our inspira tion\ncomes from the feature collapse phenomenon in ViTs, where the critical\nattention mechanism overly depends on the low-frequency component of features,\ncausing the features in middle-to-end layers to become increasingly similar and\neventually collapse. We propose the feature diversity attacker to naturally\naccelerate this process and achieve remarkable performance and transferability.\n", "date": "2024-03-10", "categories": []} {"id": "2403.08170", "title": "Versatile Defense Against Adversarial Attacks on Image Recognition", "abstract": " Adversarial attacks present a significant security risk to image recognition\ntasks. Defending against these attacks in a real-life setting can be compared\nto the way antivirus software works, with a key consideration being how well\nthe defense can adapt to new and evolving attacks. Another important factor is\nthe resources involved in terms of time and cost for training defense models\nand updating the model database. Training many models that are specific to each\ntype of attack can be time-consuming and expensive. Ideally, we should be able\nto train one single model that can handle a wide range of attacks. It appears\nthat a defense method based on image-to-image translation may be capable of\nthis. The proposed versatile defense approach in this paper only requires\ntraining one model to effectively resist various unknown adversarial attacks.\nThe trained model has successfully improved the classification accuracy from\nnearly zero to an average of 86%, performing better than other defense methods\nproposed in prior studies. When facing the PGD attack and the MI-FGSM attack,\nversatile defense model even outperforms the attack-specific models trained\nbased on these two attacks. The robustness check also shows that our versatile\ndefense model performs stably regardless with the attack strength.\n", "date": "2024-03-13", "categories": []} {"id": "2301.13096", "title": "Language-Driven Anchors for Zero-Shot Adversarial Robustness", "abstract": " Deep Neural Networks (DNNs) are known to be susceptible to adversarial\nattacks. Previous researches mainly focus on improving adversarial robustness\nin the fully supervised setting, leaving the challenging domain of zero-shot\nadversarial robustness an open question. In this work, we investigate this\ndomain by leveraging the recent advances in large vision-language models, such\nas CLIP, to introduce zero-shot adversarial robustness to DNNs. We propose\nLAAT, a Language-driven, Anchor-based Adversarial Training strategy. LAAT\nutilizes the features of a text encoder for each category as fixed anchors\n(normalized feature embeddings) for each category, which are then employed for\nadversarial training. By leveraging the semantic consistency of the text\nencoders, LAAT aims to enhance the adversarial robustness of the image model on\nnovel categories. However, naively using text encoders leads to poor results.\nThrough analysis, we identified the issue to be the high cosine similarity\nbetween text encoders. We then design an expansion algorithm and an alignment\ncross-entropy loss to alleviate the problem. Our experimental results\ndemonstrated that LAAT significantly improves zero-shot adversarial robustness\nover state-of-the-art methods. LAAT has the potential to enhance adversarial\nrobustness by large-scale multimodal models, especially when labeled data is\nunavailable during training.\n", "date": "2023-01-30", "categories": []} {"id": "2305.19101", "title": "Which Models have Perceptually-Aligned Gradients? An Explanation via\n Off-Manifold Robustness", "abstract": " One of the remarkable properties of robust computer vision models is that\ntheir input-gradients are often aligned with human perception, referred to in\nthe literature as perceptually-aligned gradients (PAGs). Despite only being\ntrained for classification, PAGs cause robust models to have rudimentary\ngenerative capabilities, including image generation, denoising, and\nin-painting. However, the underlying mechanisms behind these phenomena remain\nunknown. In this work, we provide a first explanation of PAGs via\n\\emph{off-manifold robustness}, which states that models must be more robust\noff- the data manifold than they are on-manifold. We first demonstrate\ntheoretically that off-manifold robustness leads input gradients to lie\napproximately on the data manifold, explaining their perceptual alignment. We\nthen show that Bayes optimal models satisfy off-manifold robustness, and\nconfirm the same empirically for robust models trained via gradient norm\nregularization, randomized smoothing, and adversarial training with projected\ngradient descent. Quantifying the perceptual alignment of model gradients via\ntheir similarity with the gradients of generative models, we show that\noff-manifold robustness correlates well with perceptual alignment. Finally,\nbased on the levels of on- and off-manifold robustness, we identify three\ndifferent regimes of robustness that affect both perceptual alignment and model\naccuracy: weak robustness, bayes-aligned robustness, and excessive robustness.\nCode is available at \\url{https://github.com/tml-tuebingen/pags}.\n", "date": "2023-05-30", "categories": []} {"id": "2306.16614", "title": "Group-based Robustness: A General Framework for Customized Robustness in\n the Real World", "abstract": " Machine-learning models are known to be vulnerable to evasion attacks that\nperturb model inputs to induce misclassifications. In this work, we identify\nreal-world scenarios where the true threat cannot be assessed accurately by\nexisting attacks. Specifically, we find that conventional metrics measuring\ntargeted and untargeted robustness do not appropriately reflect a model's\nability to withstand attacks from one set of source classes to another set of\ntarget classes. To address the shortcomings of existing methods, we formally\ndefine a new metric, termed group-based robustness, that complements existing\nmetrics and is better-suited for evaluating model performance in certain attack\nscenarios. We show empirically that group-based robustness allows us to\ndistinguish between models' vulnerability against specific threat models in\nsituations where traditional robustness metrics do not apply. Moreover, to\nmeasure group-based robustness efficiently and accurately, we 1) propose two\nloss functions and 2) identify three new attack strategies. We show empirically\nthat with comparable success rates, finding evasive samples using our new loss\nfunctions saves computation by a factor as large as the number of targeted\nclasses, and finding evasive samples using our new attack strategies saves time\nby up to 99\\% compared to brute-force search methods. Finally, we propose a\ndefense method that increases group-based robustness by up to 3.52$\\times$.\n", "date": "2023-06-29", "categories": []} {"id": "2310.12713", "title": "Learn from the Past: A Proxy Guided Adversarial Defense Framework with\n Self Distillation Regularization", "abstract": " Adversarial Training (AT), pivotal in fortifying the robustness of deep\nlearning models, is extensively adopted in practical applications. However,\nprevailing AT methods, relying on direct iterative updates for target model's\ndefense, frequently encounter obstacles such as unstable training and\ncatastrophic overfitting. In this context, our work illuminates the potential\nof leveraging the target model's historical states as a proxy to provide\neffective initialization and defense prior, which results in a general proxy\nguided defense framework, `LAST' ({\\bf L}earn from the P{\\bf ast}).\nSpecifically, LAST derives response of the proxy model as dynamically learned\nfast weights, which continuously corrects the update direction of the target\nmodel. Besides, we introduce a self-distillation regularized defense objective,\ningeniously designed to steer the proxy model's update trajectory without\nresorting to external teacher models, thereby ameliorating the impact of\ncatastrophic overfitting on performance. Extensive experiments and ablation\nstudies showcase the framework's efficacy in markedly improving model\nrobustness (e.g., up to 9.2\\% and 20.3\\% enhancement in robust accuracy on\nCIFAR10 and CIFAR100 datasets, respectively) and training stability. These\nimprovements are consistently observed across various model architectures,\nlarger datasets, perturbation sizes, and attack modalities, affirming LAST's\nability to consistently refine both single-step and multi-step AT strategies.\nThe code will be available at~\\url{https://github.com/callous-youth/LAST}.\n", "date": "2023-10-19", "categories": []} {"id": "2401.09574", "title": "Towards Scalable and Robust Model Versioning", "abstract": " As the deployment of deep learning models continues to expand across\nindustries, the threat of malicious incursions aimed at gaining access to these\ndeployed models is on the rise. Should an attacker gain access to a deployed\nmodel, whether through server breaches, insider attacks, or model inversion\ntechniques, they can then construct white-box adversarial attacks to manipulate\nthe model's classification outcomes, thereby posing significant risks to\norganizations that rely on these models for critical tasks. Model owners need\nmechanisms to protect themselves against such losses without the necessity of\nacquiring fresh training data - a process that typically demands substantial\ninvestments in time and capital.\n In this paper, we explore the feasibility of generating multiple versions of\na model that possess different attack properties, without acquiring new\ntraining data or changing model architecture. The model owner can deploy one\nversion at a time and replace a leaked version immediately with a new version.\nThe newly deployed model version can resist adversarial attacks generated\nleveraging white-box access to one or all previously leaked versions. We show\ntheoretically that this can be accomplished by incorporating parameterized\nhidden distributions into the model training data, forcing the model to learn\ntask-irrelevant features uniquely defined by the chosen data. Additionally,\noptimal choices of hidden distributions can produce a sequence of model\nversions capable of resisting compound transferability attacks over time.\nLeveraging our analytical insights, we design and implement a practical model\nversioning method for DNN classifiers, which leads to significant robustness\nimprovements over existing methods. We believe our work presents a promising\ndirection for safeguarding DNN services beyond their initial deployment.\n", "date": "2024-01-17", "categories": []} {"id": "2403.04954", "title": "Fooling Neural Networks for Motion Forecasting via Adversarial Attacks", "abstract": " Human motion prediction is still an open problem, which is extremely\nimportant for autonomous driving and safety applications. Although there are\ngreat advances in this area, the widely studied topic of adversarial attacks\nhas not been applied to multi-regression models such as GCNs and MLP-based\narchitectures in human motion prediction. This work intends to reduce this gap\nusing extensive quantitative and qualitative experiments in state-of-the-art\narchitectures similar to the initial stages of adversarial attacks in image\nclassification. The results suggest that models are susceptible to attacks even\non low levels of perturbation. We also show experiments with 3D transformations\nthat affect the model performance, in particular, we show that most models are\nsensitive to simple rotations and translations which do not alter joint\ndistances. We conclude that similar to earlier CNN models, motion forecasting\ntasks are susceptible to small perturbations and simple 3D transformations.\n", "date": "2024-03-07", "categories": []} {"id": "2403.06014", "title": "Hard-label based Small Query Black-box Adversarial Attack", "abstract": " We consider the hard label based black box adversarial attack setting which\nsolely observes predicted classes from the target model. Most of the attack\nmethods in this setting suffer from impractical number of queries required to\nachieve a successful attack. One approach to tackle this drawback is utilising\nthe adversarial transferability between white box surrogate models and black\nbox target model. However, the majority of the methods adopting this approach\nare soft label based to take the full advantage of zeroth order optimisation.\nUnlike mainstream methods, we propose a new practical setting of hard label\nbased attack with an optimisation process guided by a pretrained surrogate\nmodel. Experiments show the proposed method significantly improves the query\nefficiency of the hard label based black-box attack across various target model\narchitectures. We find the proposed method achieves approximately 5 times\nhigher attack success rate compared to the benchmarks, especially at the small\nquery budgets as 100 and 250.\n", "date": "2024-03-09", "categories": []} {"id": "2403.06661", "title": "epsilon-Mesh Attack: A Surface-based Adversarial Point Cloud Attack for\n Facial Expression Recognition", "abstract": " Point clouds and meshes are widely used 3D data structures for many computer\nvision applications. While the meshes represent the surfaces of an object,\npoint cloud represents sampled points from the surface which is also the output\nof modern sensors such as LiDAR and RGB-D cameras. Due to the wide application\narea of point clouds and the recent advancements in deep neural networks,\nstudies focusing on robust classification of the 3D point cloud data emerged.\nTo evaluate the robustness of deep classifier networks, a common method is to\nuse adversarial attacks where the gradient direction is followed to change the\ninput slightly. The previous studies on adversarial attacks are generally\nevaluated on point clouds of daily objects. However, considering 3D faces,\nthese adversarial attacks tend to affect the person's facial structure more\nthan the desired amount and cause malformation. Specifically for facial\nexpressions, even a small adversarial attack can have a significant effect on\nthe face structure. In this paper, we suggest an adversarial attack called\n$\\epsilon$-Mesh Attack, which operates on point cloud data via limiting\nperturbations to be on the mesh surface. We also parameterize our attack by\n$\\epsilon$ to scale the perturbation mesh. Our surface-based attack has tighter\nperturbation bounds compared to $L_2$ and $L_\\infty$ norm bounded attacks that\noperate on unit-ball. Even though our method has additional constraints, our\nexperiments on CoMA, Bosphorus and FaceWarehouse datasets show that\n$\\epsilon$-Mesh Attack (Perpendicular) successfully confuses trained DGCNN and\nPointNet models $99.72\\%$ and $97.06\\%$ of the time, with indistinguishable\nfacial deformations. The code is available at\nhttps://github.com/batuceng/e-mesh-attack.\n", "date": "2024-03-11", "categories": []} {"id": "2403.06798", "title": "Dynamic Perturbation-Adaptive Adversarial Training on Medical Image\n Classification", "abstract": " Remarkable successes were made in Medical Image Classification (MIC)\nrecently, mainly due to wide applications of convolutional neural networks\n(CNNs). However, adversarial examples (AEs) exhibited imperceptible similarity\nwith raw data, raising serious concerns on network robustness. Although\nadversarial training (AT), in responding to malevolent AEs, was recognized as\nan effective approach to improve robustness, it was challenging to overcome\ngeneralization decline of networks caused by the AT. In this paper, in order to\nreserve high generalization while improving robustness, we proposed a dynamic\nperturbation-adaptive adversarial training (DPAAT) method, which placed AT in a\ndynamic learning environment to generate adaptive data-level perturbations and\nprovided a dynamically updated criterion by loss information collections to\nhandle the disadvantage of fixed perturbation sizes in conventional AT methods\nand the dependence on external transference. Comprehensive testing on\ndermatology HAM10000 dataset showed that the DPAAT not only achieved better\nrobustness improvement and generalization preservation but also significantly\nenhanced mean average precision and interpretability on various CNNs,\nindicating its great potential as a generic adversarial training method on the\nMIC.\n", "date": "2024-03-11", "categories": []} {"id": "2403.05247", "title": "Hide in Thicket: Generating Imperceptible and Rational Adversarial\n Perturbations on 3D Point Clouds", "abstract": " Adversarial attack methods based on point manipulation for 3D point cloud\nclassification have revealed the fragility of 3D models, yet the adversarial\nexamples they produce are easily perceived or defended against. The trade-off\nbetween the imperceptibility and adversarial strength leads most point attack\nmethods to inevitably introduce easily detectable outlier points upon a\nsuccessful attack. Another promising strategy, shape-based attack, can\neffectively eliminate outliers, but existing methods often suffer significant\nreductions in imperceptibility due to irrational deformations. We find that\nconcealing deformation perturbations in areas insensitive to human eyes can\nachieve a better trade-off between imperceptibility and adversarial strength,\nspecifically in parts of the object surface that are complex and exhibit\ndrastic curvature changes. Therefore, we propose a novel shape-based\nadversarial attack method, HiT-ADV, which initially conducts a two-stage search\nfor attack regions based on saliency and imperceptibility scores, and then adds\ndeformation perturbations in each attack region using Gaussian kernel\nfunctions. Additionally, HiT-ADV is extendable to physical attack. We propose\nthat by employing benign resampling and benign rigid transformations, we can\nfurther enhance physical adversarial strength with little sacrifice to\nimperceptibility. Extensive experiments have validated the superiority of our\nmethod in terms of adversarial and imperceptible properties in both digital and\nphysical spaces. Our code is avaliable at: https://github.com/TRLou/HiT-ADV.\n", "date": "2024-03-08", "categories": []} {"id": "2403.05365", "title": "The Impact of Quantization on the Robustness of Transformer-based Text\n Classifiers", "abstract": " Transformer-based models have made remarkable advancements in various NLP\nareas. Nevertheless, these models often exhibit vulnerabilities when confronted\nwith adversarial attacks. In this paper, we explore the effect of quantization\non the robustness of Transformer-based models. Quantization usually involves\nmapping a high-precision real number to a lower-precision value, aiming at\nreducing the size of the model at hand. To the best of our knowledge, this work\nis the first application of quantization on the robustness of NLP models. In\nour experiments, we evaluate the impact of quantization on BERT and DistilBERT\nmodels in text classification using SST-2, Emotion, and MR datasets. We also\nevaluate the performance of these models against TextFooler, PWWS, and PSO\nadversarial attacks. Our findings show that quantization significantly improves\n(by an average of 18.68%) the adversarial accuracy of the models. Furthermore,\nwe compare the effect of quantization versus that of the adversarial training\napproach on robustness. Our experiments indicate that quantization increases\nthe robustness of the model by 18.80% on average compared to adversarial\ntraining without imposing any extra computational overhead during training.\nTherefore, our results highlight the effectiveness of quantization in improving\nthe robustness of NLP models.\n", "date": "2024-03-08", "categories": []} {"id": "2403.04070", "title": "Improving Adversarial Training using Vulnerability-Aware Perturbation\n Budget", "abstract": " Adversarial Training (AT) effectively improves the robustness of Deep Neural\nNetworks (DNNs) to adversarial attacks. Generally, AT involves training DNN\nmodels with adversarial examples obtained within a pre-defined, fixed\nperturbation bound. Notably, individual natural examples from which these\nadversarial examples are crafted exhibit varying degrees of intrinsic\nvulnerabilities, and as such, crafting adversarial examples with fixed\nperturbation radius for all instances may not sufficiently unleash the potency\nof AT. Motivated by this observation, we propose two simple, computationally\ncheap vulnerability-aware reweighting functions for assigning perturbation\nbounds to adversarial examples used for AT, named Margin-Weighted Perturbation\nBudget (MWPB) and Standard-Deviation-Weighted Perturbation Budget (SDWPB). The\nproposed methods assign perturbation radii to individual adversarial samples\nbased on the vulnerability of their corresponding natural examples.\nExperimental results show that the proposed methods yield genuine improvements\nin the robustness of AT algorithms against various adversarial attacks.\n", "date": "2024-03-06", "categories": []} {"id": "2307.00907", "title": "Enhancing the Robustness of QMIX against State-adversarial Attacks", "abstract": " Deep reinforcement learning (DRL) performance is generally impacted by\nstate-adversarial attacks, a perturbation applied to an agent's observation.\nMost recent research has concentrated on robust single-agent reinforcement\nlearning (SARL) algorithms against state-adversarial attacks. Still, there has\nyet to be much work on robust multi-agent reinforcement learning. Using QMIX,\none of the popular cooperative multi-agent reinforcement algorithms, as an\nexample, we discuss four techniques to improve the robustness of SARL\nalgorithms and extend them to multi-agent scenarios. To increase the robustness\nof multi-agent reinforcement learning (MARL) algorithms, we train models using\na variety of attacks in this research. We then test the models taught using the\nother attacks by subjecting them to the corresponding attacks throughout the\ntraining phase. In this way, we organize and summarize techniques for enhancing\nrobustness when used with MARL.\n", "date": "2023-07-03", "categories": []} {"id": "2403.03674", "title": "Adversarial Infrared Geometry: Using Geometry to Perform Adversarial\n Attack against Infrared Pedestrian Detectors", "abstract": " Currently, infrared imaging technology enjoys widespread usage, with infrared\nobject detection technology experiencing a surge in prominence. While previous\nstudies have delved into physical attacks on infrared object detectors, the\nimplementation of these techniques remains complex. For instance, some\napproaches entail the use of bulb boards or infrared QR suits as perturbations\nto execute attacks, which entail costly optimization and cumbersome deployment\nprocesses. Other methodologies involve the utilization of irregular aerogel as\nphysical perturbations for infrared attacks, albeit at the expense of\noptimization expenses and perceptibility issues. In this study, we propose a\nnovel infrared physical attack termed Adversarial Infrared Geometry\n(\\textbf{AdvIG}), which facilitates efficient black-box query attacks by\nmodeling diverse geometric shapes (lines, triangles, ellipses) and optimizing\ntheir physical parameters using Particle Swarm Optimization (PSO). Extensive\nexperiments are conducted to evaluate the effectiveness, stealthiness, and\nrobustness of AdvIG. In digital attack experiments, line, triangle, and ellipse\npatterns achieve attack success rates of 93.1\\%, 86.8\\%, and 100.0\\%,\nrespectively, with average query times of 71.7, 113.1, and 2.57, respectively,\nthereby confirming the efficiency of AdvIG. Physical attack experiments are\nconducted to assess the attack success rate of AdvIG at different distances. On\naverage, the line, triangle, and ellipse achieve attack success rates of\n61.1\\%, 61.2\\%, and 96.2\\%, respectively. Further experiments are conducted to\ncomprehensively analyze AdvIG, including ablation experiments, transfer attack\nexperiments, and adversarial defense mechanisms. Given the superior performance\nof our method as a simple and efficient black-box adversarial attack in both\ndigital and physical environments, we advocate for widespread attention to\nAdvIG.\n", "date": "2024-03-06", "categories": []} {"id": "2403.02723", "title": "Minimum Topology Attacks for Graph Neural Networks", "abstract": " With the great popularity of Graph Neural Networks (GNNs), their robustness\nto adversarial topology attacks has received significant attention. Although\nmany attack methods have been proposed, they mainly focus on fixed-budget\nattacks, aiming at finding the most adversarial perturbations within a fixed\nbudget for target node. However, considering the varied robustness of each\nnode, there is an inevitable dilemma caused by the fixed budget, i.e., no\nsuccessful perturbation is found when the budget is relatively small, while if\nit is too large, the yielding redundant perturbations will hurt the\ninvisibility. To break this dilemma, we propose a new type of topology attack,\nnamed minimum-budget topology attack, aiming to adaptively find the minimum\nperturbation sufficient for a successful attack on each node. To this end, we\npropose an attack model, named MiBTack, based on a dynamic projected gradient\ndescent algorithm, which can effectively solve the involving non-convex\nconstraint optimization on discrete topology. Extensive results on three GNNs\nand four real-world datasets show that MiBTack can successfully lead all target\nnodes misclassified with the minimum perturbation edges. Moreover, the obtained\nminimum budget can be used to measure node robustness, so we can explore the\nrelationships of robustness, topology, and uncertainty for nodes, which is\nbeyond what the current fixed-budget topology attacks can offer.\n", "date": "2024-03-05", "categories": []} {"id": "2303.09105", "title": "Rethinking Model Ensemble in Transfer-based Adversarial Attacks", "abstract": " It is widely recognized that deep learning models lack robustness to\nadversarial examples. An intriguing property of adversarial examples is that\nthey can transfer across different models, which enables black-box attacks\nwithout any knowledge of the victim model. An effective strategy to improve the\ntransferability is attacking an ensemble of models. However, previous works\nsimply average the outputs of different models, lacking an in-depth analysis on\nhow and why model ensemble methods can strongly improve the transferability. In\nthis paper, we rethink the ensemble in adversarial attacks and define the\ncommon weakness of model ensemble with two properties: 1) the flatness of loss\nlandscape; and 2) the closeness to the local optimum of each model. We\nempirically and theoretically show that both properties are strongly correlated\nwith the transferability and propose a Common Weakness Attack (CWA) to generate\nmore transferable adversarial examples by promoting these two properties.\nExperimental results on both image classification and object detection tasks\nvalidate the effectiveness of our approach to improving the adversarial\ntransferability, especially when attacking adversarially trained models. We\nalso successfully apply our method to attack a black-box large vision-language\nmodel -- Google's Bard, showing the practical effectiveness. Code is available\nat \\url{https://github.com/huanranchen/AdversarialAttacks}.\n", "date": "2023-03-16", "categories": []} {"id": "2304.14614", "title": "Fusion is Not Enough: Single Modal Attacks on Fusion Models for 3D\n Object Detection", "abstract": " Multi-sensor fusion (MSF) is widely used in autonomous vehicles (AVs) for\nperception, particularly for 3D object detection with camera and LiDAR sensors.\nThe purpose of fusion is to capitalize on the advantages of each modality while\nminimizing its weaknesses. Advanced deep neural network (DNN)-based fusion\ntechniques have demonstrated the exceptional and industry-leading performance.\nDue to the redundant information in multiple modalities, MSF is also recognized\nas a general defence strategy against adversarial attacks. In this paper, we\nattack fusion models from the camera modality that is considered to be of\nlesser importance in fusion but is more affordable for attackers. We argue that\nthe weakest link of fusion models depends on their most vulnerable modality,\nand propose an attack framework that targets advanced camera-LiDAR fusion-based\n3D object detection models through camera-only adversarial attacks. Our\napproach employs a two-stage optimization-based strategy that first thoroughly\nevaluates vulnerable image areas under adversarial attacks, and then applies\ndedicated attack strategies for different fusion models to generate deployable\npatches. The evaluations with six advanced camera-LiDAR fusion models and one\ncamera-only model indicate that our attacks successfully compromise all of\nthem. Our approach can either decrease the mean average precision (mAP) of\ndetection performance from 0.824 to 0.353, or degrade the detection score of a\ntarget object from 0.728 to 0.156, demonstrating the efficacy of our proposed\nattack framework. Code is available.\n", "date": "2023-04-28", "categories": []} {"id": "2310.13822", "title": "Adversarial Attacks on Fairness of Graph Neural Networks", "abstract": " Fairness-aware graph neural networks (GNNs) have gained a surge of attention\nas they can reduce the bias of predictions on any demographic group (e.g.,\nfemale) in graph-based applications. Although these methods greatly improve the\nalgorithmic fairness of GNNs, the fairness can be easily corrupted by carefully\ndesigned adversarial attacks. In this paper, we investigate the problem of\nadversarial attacks on fairness of GNNs and propose G-FairAttack, a general\nframework for attacking various types of fairness-aware GNNs in terms of\nfairness with an unnoticeable effect on prediction utility. In addition, we\npropose a fast computation technique to reduce the time complexity of\nG-FairAttack. The experimental study demonstrates that G-FairAttack\nsuccessfully corrupts the fairness of different types of GNNs while keeping the\nattack unnoticeable. Our study on fairness attacks sheds light on potential\nvulnerabilities in fairness-aware GNNs and guides further research on the\nrobustness of GNNs in terms of fairness.\n", "date": "2023-10-20", "categories": []} {"id": "2402.11837", "title": "Self-Guided Robust Graph Structure Refinement", "abstract": " Recent studies have revealed that GNNs are vulnerable to adversarial attacks.\nTo defend against such attacks, robust graph structure refinement (GSR) methods\naim at minimizing the effect of adversarial edges based on node features, graph\nstructure, or external information. However, we have discovered that existing\nGSR methods are limited by narrowassumptions, such as assuming clean node\nfeatures, moderate structural attacks, and the availability of external clean\ngraphs, resulting in the restricted applicability in real-world scenarios. In\nthis paper, we propose a self-guided GSR framework (SG-GSR), which utilizes a\nclean sub-graph found within the given attacked graph itself. Furthermore, we\npropose a novel graph augmentation and a group-training strategy to handle the\ntwo technical challenges in the clean sub-graph extraction: 1) loss of\nstructural information, and 2) imbalanced node degree distribution. Extensive\nexperiments demonstrate the effectiveness of SG-GSR under various scenarios\nincluding non-targeted attacks, targeted attacks, feature attacks, e-commerce\nfraud, and noisy node labels. Our code is available at\nhttps://github.com/yeonjun-in/torch-SG-GSR.\n", "date": "2024-02-19", "categories": []} {"id": "2403.01210", "title": "SAR-AE-SFP: SAR Imagery Adversarial Example in Real Physics domain with\n Target Scattering Feature Parameters", "abstract": " Deep neural network-based Synthetic Aperture Radar (SAR) target recognition\nmodels are susceptible to adversarial examples. Current adversarial example\ngeneration methods for SAR imagery primarily operate in the 2D digital domain,\nknown as image adversarial examples. Recent work, while considering SAR imaging\nscatter mechanisms, fails to account for the actual imaging process, rendering\nattacks in the three-dimensional physical domain infeasible, termed pseudo\nphysics adversarial examples. To address these challenges, this paper proposes\nSAR-AE-SFP-Attack, a method to generate real physics adversarial examples by\naltering the scattering feature parameters of target objects. Specifically, we\niteratively optimize the coherent energy accumulation of the target echo by\nperturbing the reflection coefficient and scattering coefficient in the\nscattering feature parameters of the three-dimensional target object, and\nobtain the adversarial example after echo signal processing and imaging\nprocessing in the RaySAR simulator. Experimental results show that compared to\ndigital adversarial attack methods, SAR-AE-SFP Attack significantly improves\nattack efficiency on CNN-based models (over 30\\%) and Transformer-based models\n(over 13\\%), demonstrating significant transferability of attack effects across\ndifferent models and perspectives.\n", "date": "2024-03-02", "categories": []} {"id": "2403.01423", "title": "Collective Certified Robustness against Graph Injection Attacks", "abstract": " We investigate certified robustness for GNNs under graph injection attacks.\nExisting research only provides sample-wise certificates by verifying each node\nindependently, leading to very limited certifying performance. In this paper,\nwe present the first collective certificate, which certifies a set of target\nnodes simultaneously. To achieve it, we formulate the problem as a binary\ninteger quadratic constrained linear programming (BQCLP). We further develop a\ncustomized linearization technique that allows us to relax the BQCLP into\nlinear programming (LP) that can be efficiently solved. Through comprehensive\nexperiments, we demonstrate that our collective certification scheme\nsignificantly improves certification performance with minimal computational\noverhead. For instance, by solving the LP within 1 minute on the Citeseer\ndataset, we achieve a significant increase in the certified ratio from 0.0% to\n81.2% when the injected node number is 5% of the graph size. Our step marks a\ncrucial step towards making provable defense more practical.\n", "date": "2024-03-03", "categories": []} {"id": "2403.01849", "title": "One Prompt Word is Enough to Boost Adversarial Robustness for\n Pre-trained Vision-Language Models", "abstract": " Large pre-trained Vision-Language Models (VLMs) like CLIP, despite having\nremarkable generalization ability, are highly vulnerable to adversarial\nexamples. This work studies the adversarial robustness of VLMs from the novel\nperspective of the text prompt instead of the extensively studied model weights\n(frozen in this work). We first show that the effectiveness of both adversarial\nattack and defense are sensitive to the used text prompt. Inspired by this, we\npropose a method to improve resilience to adversarial attacks by learning a\nrobust text prompt for VLMs. The proposed method, named Adversarial Prompt\nTuning (APT), is effective while being both computationally and data efficient.\nExtensive experiments are conducted across 15 datasets and 4 data sparsity\nschemes (from 1-shot to full training data settings) to show APT's superiority\nover hand-engineered prompts and other state-of-the-art adaption methods. APT\ndemonstrated excellent abilities in terms of the in-distribution performance\nand the generalization under input distribution shift and across datasets.\nSurprisingly, by simply adding one learned word to the prompts, APT can\nsignificantly boost the accuracy and robustness (epsilon=4/255) over the\nhand-engineered prompts by +13% and +8.5% on average respectively. The\nimprovement further increases, in our most effective setting, to +26.4% for\naccuracy and +16.7% for robustness. Code is available at\nhttps://github.com/TreeLLi/APT.\n", "date": "2024-03-04", "categories": []} {"id": "2403.02329", "title": "COMMIT: Certifying Robustness of Multi-Sensor Fusion Systems against\n Semantic Attacks", "abstract": " Multi-sensor fusion systems (MSFs) play a vital role as the perception module\nin modern autonomous vehicles (AVs). Therefore, ensuring their robustness\nagainst common and realistic adversarial semantic transformations, such as\nrotation and shifting in the physical world, is crucial for the safety of AVs.\nWhile empirical evidence suggests that MSFs exhibit improved robustness\ncompared to single-modal models, they are still vulnerable to adversarial\nsemantic transformations. Despite the proposal of empirical defenses, several\nworks show that these defenses can be attacked again by new adaptive attacks.\nSo far, there is no certified defense proposed for MSFs. In this work, we\npropose the first robustness certification framework COMMIT certify robustness\nof multi-sensor fusion systems against semantic attacks. In particular, we\npropose a practical anisotropic noise mechanism that leverages randomized\nsmoothing with multi-modal data and performs a grid-based splitting method to\ncharacterize complex semantic transformations. We also propose efficient\nalgorithms to compute the certification in terms of object detection accuracy\nand IoU for large-scale MSF models. Empirically, we evaluate the efficacy of\nCOMMIT in different settings and provide a comprehensive benchmark of certified\nrobustness for different MSF models using the CARLA simulation platform. We\nshow that the certification for MSF models is at most 48.39% higher than that\nof single-modal models, which validates the advantages of MSF models. We\nbelieve our certification framework and benchmark will contribute an important\nstep towards certifiably robust AVs in practice.\n", "date": "2024-03-04", "categories": []} {"id": "2212.06776", "title": "Unfolding Local Growth Rate Estimates for (Almost) Perfect Adversarial\n Detection", "abstract": " Convolutional neural networks (CNN) define the state-of-the-art solution on\nmany perceptual tasks. However, current CNN approaches largely remain\nvulnerable against adversarial perturbations of the input that have been\ncrafted specifically to fool the system while being quasi-imperceptible to the\nhuman eye. In recent years, various approaches have been proposed to defend\nCNNs against such attacks, for example by model hardening or by adding explicit\ndefence mechanisms. Thereby, a small \"detector\" is included in the network and\ntrained on the binary classification task of distinguishing genuine data from\ndata containing adversarial perturbations. In this work, we propose a simple\nand light-weight detector, which leverages recent findings on the relation\nbetween networks' local intrinsic dimensionality (LID) and adversarial attacks.\nBased on a re-interpretation of the LID measure and several simple adaptations,\nwe surpass the state-of-the-art on adversarial detection by a significant\nmargin and reach almost perfect results in terms of F1-score for several\nnetworks and datasets. Sources available at:\nhttps://github.com/adverML/multiLID\n", "date": "2022-12-13", "categories": []} {"id": "2402.05493", "title": "Investigating White-Box Attacks for On-Device Models", "abstract": " Numerous mobile apps have leveraged deep learning capabilities. However,\non-device models are vulnerable to attacks as they can be easily extracted from\ntheir corresponding mobile apps. Existing on-device attacking approaches only\ngenerate black-box attacks, which are far less effective and efficient than\nwhite-box strategies. This is because mobile deep learning frameworks like\nTFLite do not support gradient computing, which is necessary for white-box\nattacking algorithms. Thus, we argue that existing findings may underestimate\nthe harmfulness of on-device attacks. To this end, we conduct a study to answer\nthis research question: Can on-device models be directly attacked via white-box\nstrategies? We first systematically analyze the difficulties of transforming\nthe on-device model to its debuggable version, and propose a Reverse\nEngineering framework for On-device Models (REOM), which automatically reverses\nthe compiled on-device TFLite model to the debuggable model. Specifically, REOM\nfirst transforms compiled on-device models into Open Neural Network Exchange\nformat, then removes the non-debuggable parts, and converts them to the\ndebuggable DL models format that allows attackers to exploit in a white-box\nsetting. Our experimental results show that our approach is effective in\nachieving automated transformation among 244 TFLite models. Compared with\nprevious attacks using surrogate models, REOM enables attackers to achieve\nhigher attack success rates with a hundred times smaller attack perturbations.\nIn addition, because the ONNX platform has plenty of tools for model format\nexchanging, the proposed method based on the ONNX platform can be adapted to\nother model formats. Our findings emphasize the need for developers to\ncarefully consider their model deployment strategies, and use white-box methods\nto evaluate the vulnerability of on-device models.\n", "date": "2024-02-08", "categories": []} {"id": "2402.18787", "title": "Enhancing the \"Immunity\" of Mixture-of-Experts Networks for Adversarial\n Defense", "abstract": " Recent studies have revealed the vulnerability of Deep Neural Networks (DNNs)\nto adversarial examples, which can easily fool DNNs into making incorrect\npredictions. To mitigate this deficiency, we propose a novel adversarial\ndefense method called \"Immunity\" (Innovative MoE with MUtual information \\&\npositioN stabilITY) based on a modified Mixture-of-Experts (MoE) architecture\nin this work. The key enhancements to the standard MoE are two-fold: 1)\nintegrating of Random Switch Gates (RSGs) to obtain diverse network structures\nvia random permutation of RSG parameters at evaluation time, despite of RSGs\nbeing determined after one-time training; 2) devising innovative Mutual\nInformation (MI)-based and Position Stability-based loss functions by\ncapitalizing on Grad-CAM's explanatory power to increase the diversity and the\ncausality of expert networks. Notably, our MI-based loss operates directly on\nthe heatmaps, thereby inducing subtler negative impacts on the classification\nperformance when compared to other losses of the same type, theoretically.\nExtensive evaluation validates the efficacy of the proposed approach in\nimproving adversarial robustness against a wide range of attacks.\n", "date": "2024-02-29", "categories": []} {"id": "2402.18792", "title": "MPAT: Building Robust Deep Neural Networks against Textual Adversarial\n Attacks", "abstract": " Deep neural networks have been proven to be vulnerable to adversarial\nexamples and various methods have been proposed to defend against adversarial\nattacks for natural language processing tasks. However, previous defense\nmethods have limitations in maintaining effective defense while ensuring the\nperformance of the original task. In this paper, we propose a malicious\nperturbation based adversarial training method (MPAT) for building robust deep\nneural networks against textual adversarial attacks. Specifically, we construct\na multi-level malicious example generation strategy to generate adversarial\nexamples with malicious perturbations, which are used instead of original\ninputs for model training. Additionally, we employ a novel training objective\nfunction to ensure achieving the defense goal without compromising the\nperformance on the original task. We conduct comprehensive experiments to\nevaluate our defense method by attacking five victim models on three benchmark\ndatasets. The result demonstrates that our method is more effective against\nmalicious adversarial attacks compared with previous defense methods while\nmaintaining or further improving the performance on the original task.\n", "date": "2024-02-29", "categories": []} {"id": "2402.19355", "title": "Unraveling Adversarial Examples against Speaker Identification --\n Techniques for Attack Detection and Victim Model Classification", "abstract": " Adversarial examples have proven to threaten speaker identification systems,\nand several countermeasures against them have been proposed. In this paper, we\npropose a method to detect the presence of adversarial examples, i.e., a binary\nclassifier distinguishing between benign and adversarial examples. We build\nupon and extend previous work on attack type classification by exploring new\narchitectures. Additionally, we introduce a method for identifying the victim\nmodel on which the adversarial attack is carried out. To achieve this, we\ngenerate a new dataset containing multiple attacks performed against various\nvictim models. We achieve an AUC of 0.982 for attack detection, with no more\nthan a 0.03 drop in performance for unknown attacks. Our attack classification\naccuracy (excluding benign) reaches 86.48% across eight attack types using our\nLightResNet34 architecture, while our victim model classification accuracy\nreaches 72.28% across four victim models.\n", "date": "2024-02-29", "categories": []} {"id": "2207.06154", "title": "On the Robustness of Bayesian Neural Networks to Adversarial Attacks", "abstract": " Vulnerability to adversarial attacks is one of the principal hurdles to the\nadoption of deep learning in safety-critical applications. Despite significant\nefforts, both practical and theoretical, training deep learning models robust\nto adversarial attacks is still an open problem. In this paper, we analyse the\ngeometry of adversarial attacks in the large-data, overparameterized limit for\nBayesian Neural Networks (BNNs). We show that, in the limit, vulnerability to\ngradient-based attacks arises as a result of degeneracy in the data\ndistribution, i.e., when the data lies on a lower-dimensional submanifold of\nthe ambient space. As a direct consequence, we demonstrate that in this limit\nBNN posteriors are robust to gradient-based adversarial attacks. Crucially, we\nprove that the expected gradient of the loss with respect to the BNN posterior\ndistribution is vanishing, even when each neural network sampled from the\nposterior is vulnerable to gradient-based attacks. Experimental results on the\nMNIST, Fashion MNIST, and half moons datasets, representing the finite data\nregime, with BNNs trained with Hamiltonian Monte Carlo and Variational\nInference, support this line of arguments, showing that BNNs can display both\nhigh accuracy on clean data and robustness to both gradient-based and\ngradient-free based adversarial attacks.\n", "date": "2022-07-13", "categories": []} {"id": "2306.10426", "title": "Understanding Certified Training with Interval Bound Propagation", "abstract": " As robustness verification methods are becoming more precise, training\ncertifiably robust neural networks is becoming ever more relevant. To this end,\ncertified training methods compute and then optimize an upper bound on the\nworst-case loss over a robustness specification. Curiously, training methods\nbased on the imprecise interval bound propagation (IBP) consistently outperform\nthose leveraging more precise bounding methods. Still, we lack an understanding\nof the mechanisms making IBP so successful.\n In this work, we thoroughly investigate these mechanisms by leveraging a\nnovel metric measuring the tightness of IBP bounds. We first show theoretically\nthat, for deep linear models, tightness decreases with width and depth at\ninitialization, but improves with IBP training, given sufficient network width.\nWe, then, derive sufficient and necessary conditions on weight matrices for IBP\nbounds to become exact and demonstrate that these impose strong regularization,\nexplaining the empirically observed trade-off between robustness and accuracy\nin certified training.\n Our extensive experimental evaluation validates our theoretical predictions\nfor ReLU networks, including that wider networks improve performance, yielding\nstate-of-the-art results. Interestingly, we observe that while all IBP-based\ntraining methods lead to high tightness, this is neither sufficient nor\nnecessary to achieve high certifiable robustness. This hints at the existence\nof new training methods that do not induce the strong regularization required\nfor tight IBP bounds, leading to improved robustness and standard accuracy.\n", "date": "2023-06-17", "categories": []} {"id": "2310.10010", "title": "Black-box Targeted Adversarial Attack on Segment Anything (SAM)", "abstract": " Deep recognition models are widely vulnerable to adversarial examples, which\nchange the model output by adding quasi-imperceptible perturbation to the image\ninput. Recently, Segment Anything Model (SAM) has emerged to become a popular\nfoundation model in computer vision due to its impressive generalization to\nunseen data and tasks. Realizing flexible attacks on SAM is beneficial for\nunderstanding the robustness of SAM in the adversarial context. To this end,\nthis work aims to achieve a targeted adversarial attack (TAA) on SAM.\nSpecifically, under a certain prompt, the goal is to make the predicted mask of\nan adversarial example resemble that of a given target image. The task of TAA\non SAM has been realized in a recent arXiv work in the white-box setup by\nassuming access to prompt and model, which is thus less practical. To address\nthe issue of prompt dependence, we propose a simple yet effective approach by\nonly attacking the image encoder. Moreover, we propose a novel regularization\nloss to enhance the cross-model transferability by increasing the feature\ndominance of adversarial images over random natural images. Extensive\nexperiments verify the effectiveness of our proposed simple techniques to\nconduct a successful black-box TAA on SAM.\n", "date": "2023-10-16", "categories": []} {"id": "2401.11618", "title": "Efficient local linearity regularization to overcome catastrophic\n overfitting", "abstract": " Catastrophic overfitting (CO) in single-step adversarial training (AT)\nresults in abrupt drops in the adversarial test accuracy (even down to 0%). For\nmodels trained with multi-step AT, it has been observed that the loss function\nbehaves locally linearly with respect to the input, this is however lost in\nsingle-step AT. To address CO in single-step AT, several methods have been\nproposed to enforce local linearity of the loss via regularization. However,\nthese regularization terms considerably slow down training due to Double\nBackpropagation. Instead, in this work, we introduce a regularization term,\ncalled ELLE, to mitigate CO effectively and efficiently in classical AT\nevaluations, as well as some more difficult regimes, e.g., large adversarial\nperturbations and long training schedules. Our regularization term can be\ntheoretically linked to curvature of the loss function and is computationally\ncheaper than previous methods by avoiding Double Backpropagation. Our thorough\nexperimental validation demonstrates that our work does not suffer from CO,\neven in challenging settings where previous works suffer from it. We also\nnotice that adapting our regularization parameter during training (ELLE-A)\ngreatly improves the performance, specially in large $\\epsilon$ setups. Our\nimplementation is available in https://github.com/LIONS-EPFL/ELLE .\n", "date": "2024-01-21", "categories": []} {"id": "2402.17533", "title": "Black-box Adversarial Attacks Against Image Quality Assessment Models", "abstract": " The goal of No-Reference Image Quality Assessment (NR-IQA) is to predict the\nperceptual quality of an image in line with its subjective evaluation. To put\nthe NR-IQA models into practice, it is essential to study their potential\nloopholes for model refinement. This paper makes the first attempt to explore\nthe black-box adversarial attacks on NR-IQA models. Specifically, we first\nformulate the attack problem as maximizing the deviation between the estimated\nquality scores of original and perturbed images, while restricting the\nperturbed image distortions for visual quality preservation. Under such\nformulation, we then design a Bi-directional loss function to mislead the\nestimated quality scores of adversarial examples towards an opposite direction\nwith maximum deviation. On this basis, we finally develop an efficient and\neffective black-box attack method against NR-IQA models. Extensive experiments\nreveal that all the evaluated NR-IQA models are vulnerable to the proposed\nattack method. And the generated perturbations are not transferable, enabling\nthem to serve the investigation of specialities of disparate IQA models.\n", "date": "2024-02-27", "categories": []} {"id": "2402.18211", "title": "Catastrophic Overfitting: A Potential Blessing in Disguise", "abstract": " Fast Adversarial Training (FAT) has gained increasing attention within the\nresearch community owing to its efficacy in improving adversarial robustness.\nParticularly noteworthy is the challenge posed by catastrophic overfitting (CO)\nin this field. Although existing FAT approaches have made strides in mitigating\nCO, the ascent of adversarial robustness occurs with a non-negligible decline\nin classification accuracy on clean samples. To tackle this issue, we initially\nemploy the feature activation differences between clean and adversarial\nexamples to analyze the underlying causes of CO. Intriguingly, our findings\nreveal that CO can be attributed to the feature coverage induced by a few\nspecific pathways. By intentionally manipulating feature activation differences\nin these pathways with well-designed regularization terms, we can effectively\nmitigate and induce CO, providing further evidence for this observation.\nNotably, models trained stably with these terms exhibit superior performance\ncompared to prior FAT work. On this basis, we harness CO to achieve `attack\nobfuscation', aiming to bolster model performance. Consequently, the models\nsuffering from CO can attain optimal classification accuracy on both clean and\nadversarial data when adding random noise to inputs during evaluation. We also\nvalidate their robustness against transferred adversarial examples and the\nnecessity of inducing CO to improve robustness. Hence, CO may not be a problem\nthat has to be solved.\n", "date": "2024-02-28", "categories": []} {"id": "2310.06958", "title": "Comparing the Robustness of Modern No-Reference Image- and Video-Quality\n Metrics to Adversarial Attacks", "abstract": " Nowadays, neural-network-based image- and video-quality metrics perform\nbetter than traditional methods. However, they also became more vulnerable to\nadversarial attacks that increase metrics' scores without improving visual\nquality. The existing benchmarks of quality metrics compare their performance\nin terms of correlation with subjective quality and calculation time.\nNonetheless, the adversarial robustness of image-quality metrics is also an\narea worth researching. This paper analyses modern metrics' robustness to\ndifferent adversarial attacks. We adapted adversarial attacks from computer\nvision tasks and compared attacks' efficiency against 15 no-reference image-\nand video-quality metrics. Some metrics showed high resistance to adversarial\nattacks, which makes their usage in benchmarks safer than vulnerable metrics.\nThe benchmark accepts submissions of new metrics for researchers who want to\nmake their metrics more robust to attacks or to find such metrics for their\nneeds. The latest results can be found online:\nhttps://videoprocessing.ai/benchmarks/metrics-robustness.html.\n", "date": "2023-10-10", "categories": []} {"id": "2401.12461", "title": "Fast Adversarial Training against Textual Adversarial Attacks", "abstract": " Many adversarial defense methods have been proposed to enhance the\nadversarial robustness of natural language processing models. However, most of\nthem introduce additional pre-set linguistic knowledge and assume that the\nsynonym candidates used by attackers are accessible, which is an ideal\nassumption. We delve into adversarial training in the embedding space and\npropose a Fast Adversarial Training (FAT) method to improve the model\nrobustness in the synonym-unaware scenario from the perspective of single-step\nperturbation generation and perturbation initialization. Based on the\nobservation that the adversarial perturbations crafted by single-step and\nmulti-step gradient ascent are similar, FAT uses single-step gradient ascent to\ncraft adversarial examples in the embedding space to expedite the training\nprocess. Based on the observation that the perturbations generated on the\nidentical training sample in successive epochs are similar, FAT fully utilizes\nhistorical information when initializing the perturbation. Extensive\nexperiments demonstrate that FAT significantly boosts the robustness of BERT\nmodels in the synonym-unaware scenario, and outperforms the defense baselines\nunder various attacks with character-level and word-level modifications.\n", "date": "2024-01-23", "categories": []} {"id": "2402.17104", "title": "Adversarial Perturbations of Physical Signals", "abstract": " We investigate the vulnerability of computer-vision-based signal classifiers\nto adversarial perturbations of their inputs, where the signals and\nperturbations are subject to physical constraints. We consider a scenario in\nwhich a source and interferer emit signals that propagate as waves to a\ndetector, which attempts to classify the source by analyzing the spectrogram of\nthe signal it receives using a pre-trained neural network. By solving\nPDE-constrained optimization problems, we construct interfering signals that\ncause the detector to misclassify the source even though the perturbations to\nthe spectrogram of the received signal are nearly imperceptible. Though such\nproblems can have millions of decision variables, we introduce methods to solve\nthem efficiently. Our experiments demonstrate that one can compute effective\nand physically realizable adversarial perturbations for a variety of machine\nlearning models under various physical conditions.\n", "date": "2024-02-27", "categories": []} {"id": "2210.16140", "title": "Localized Randomized Smoothing for Collective Robustness Certification", "abstract": " Models for image segmentation, node classification and many other tasks map a\nsingle input to multiple labels. By perturbing this single shared input (e.g.\nthe image) an adversary can manipulate several predictions (e.g. misclassify\nseveral pixels). Collective robustness certification is the task of provably\nbounding the number of robust predictions under this threat model. The only\ndedicated method that goes beyond certifying each output independently is\nlimited to strictly local models, where each prediction is associated with a\nsmall receptive field. We propose a more general collective robustness\ncertificate for all types of models. We further show that this approach is\nbeneficial for the larger class of softly local models, where each output is\ndependent on the entire input but assigns different levels of importance to\ndifferent input regions (e.g. based on their proximity in the image). The\ncertificate is based on our novel localized randomized smoothing approach,\nwhere the random perturbation strength for different input regions is\nproportional to their importance for the outputs. Localized smoothing\nPareto-dominates existing certificates on both image segmentation and node\nclassification tasks, simultaneously offering higher accuracy and stronger\ncertificates.\n", "date": "2022-10-28", "categories": []} {"id": "2402.15570", "title": "Fast Adversarial Attacks on Language Models In One GPU Minute", "abstract": " In this paper, we introduce a novel class of fast, beam search-based\nadversarial attack (BEAST) for Language Models (LMs). BEAST employs\ninterpretable parameters, enabling attackers to balance between attack speed,\nsuccess rate, and the readability of adversarial prompts. The computational\nefficiency of BEAST facilitates us to investigate its applications on LMs for\njailbreaking, eliciting hallucinations, and privacy attacks. Our gradient-free\ntargeted attack can jailbreak aligned LMs with high attack success rates within\none minute. For instance, BEAST can jailbreak Vicuna-7B-v1.5 under one minute\nwith a success rate of 89% when compared to a gradient-based baseline that\ntakes over an hour to achieve 70% success rate using a single Nvidia RTX A6000\n48GB GPU. Additionally, we discover a unique outcome wherein our untargeted\nattack induces hallucinations in LM chatbots. Through human evaluations, we\nfind that our untargeted attack causes Vicuna-7B-v1.5 to produce ~15% more\nincorrect outputs when compared to LM outputs in the absence of our attack. We\nalso learn that 22% of the time, BEAST causes Vicuna to generate outputs that\nare not relevant to the original prompt. Further, we use BEAST to generate\nadversarial prompts in a few seconds that can boost the performance of existing\nmembership inference attacks for LMs. We believe that our fast attack, BEAST,\nhas the potential to accelerate research in LM security and privacy. Our\ncodebase is publicly available at https://github.com/vinusankars/BEAST.\n", "date": "2024-02-23", "categories": []} {"id": "2402.15586", "title": "Distilling Adversarial Robustness Using Heterogeneous Teachers", "abstract": " Achieving resiliency against adversarial attacks is necessary prior to\ndeploying neural network classifiers in domains where misclassification incurs\nsubstantial costs, e.g., self-driving cars or medical imaging. Recent work has\ndemonstrated that robustness can be transferred from an adversarially trained\nteacher to a student model using knowledge distillation. However, current\nmethods perform distillation using a single adversarial and vanilla teacher and\nconsider homogeneous architectures (i.e., residual networks) that are\nsusceptible to misclassify examples from similar adversarial subspaces. In this\nwork, we develop a defense framework against adversarial attacks by distilling\nadversarial robustness using heterogeneous teachers (DARHT). In DARHT, the\nstudent model explicitly represents teacher logits in a student-teacher feature\nmap and leverages multiple teachers that exhibit low adversarial example\ntransferability (i.e., exhibit high performance on dissimilar adversarial\nexamples). Experiments on classification tasks in both white-box and black-box\nscenarios demonstrate that DARHT achieves state-of-the-art clean and robust\naccuracies when compared to competing adversarial training and distillation\nmethods in the CIFAR-10, CIFAR-100, and Tiny ImageNet datasets. Comparisons\nwith homogeneous and heterogeneous teacher sets suggest that leveraging\nteachers with low adversarial example transferability increases student model\nrobustness.\n", "date": "2024-02-23", "categories": []} {"id": "2402.15911", "title": "PRP: Propagating Universal Perturbations to Attack Large Language Model\n Guard-Rails", "abstract": " Large language models (LLMs) are typically aligned to be harmless to humans.\nUnfortunately, recent work has shown that such models are susceptible to\nautomated jailbreak attacks that induce them to generate harmful content. More\nrecent LLMs often incorporate an additional layer of defense, a Guard Model,\nwhich is a second LLM that is designed to check and moderate the output\nresponse of the primary LLM. Our key contribution is to show a novel attack\nstrategy, PRP, that is successful against several open-source (e.g., Llama 2)\nand closed-source (e.g., GPT 3.5) implementations of Guard Models. PRP\nleverages a two step prefix-based attack that operates by (a) constructing a\nuniversal adversarial prefix for the Guard Model, and (b) propagating this\nprefix to the response. We find that this procedure is effective across\nmultiple threat models, including ones in which the adversary has no access to\nthe Guard Model at all. Our work suggests that further advances are required on\ndefenses and Guard Models before they can be considered effective.\n", "date": "2024-02-24", "categories": []} {"id": "2402.15959", "title": "Towards Robust Image Stitching: An Adaptive Resistance Learning against\n Compatible Attacks", "abstract": " Image stitching seamlessly integrates images captured from varying\nperspectives into a single wide field-of-view image. Such integration not only\nbroadens the captured scene but also augments holistic perception in computer\nvision applications. Given a pair of captured images, subtle perturbations and\ndistortions which go unnoticed by the human visual system tend to attack the\ncorrespondence matching, impairing the performance of image stitching\nalgorithms. In light of this challenge, this paper presents the first attempt\nto improve the robustness of image stitching against adversarial attacks.\nSpecifically, we introduce a stitching-oriented attack~(SoA), tailored to\namplify the alignment loss within overlapping regions, thereby targeting the\nfeature matching procedure. To establish an attack resistant model, we delve\ninto the robustness of stitching architecture and develop an adaptive\nadversarial training~(AAT) to balance attack resistance with stitching\nprecision. In this way, we relieve the gap between the routine adversarial\ntraining and benign models, ensuring resilience without quality compromise.\nComprehensive evaluation across real-world and synthetic datasets validate the\ndeterioration of SoA on stitching performance. Furthermore, AAT emerges as a\nmore robust solution against adversarial perturbations, delivering superior\nstitching results. Code is available at:https://github.com/Jzy2017/TRIS.\n", "date": "2024-02-25", "categories": []} {"id": "2402.16005", "title": "Adversarial-Robust Transfer Learning for Medical Imaging via Domain\n Assimilation", "abstract": " In the field of Medical Imaging, extensive research has been dedicated to\nleveraging its potential in uncovering critical diagnostic features in\npatients. Artificial Intelligence (AI)-driven medical diagnosis relies on\nsophisticated machine learning and deep learning models to analyze, detect, and\nidentify diseases from medical images. Despite the remarkable performance of\nthese models, characterized by high accuracy, they grapple with trustworthiness\nissues. The introduction of a subtle perturbation to the original image\nempowers adversaries to manipulate the prediction output, redirecting it to\nother targeted or untargeted classes. Furthermore, the scarcity of publicly\navailable medical images, constituting a bottleneck for reliable training, has\nled contemporary algorithms to depend on pretrained models grounded on a large\nset of natural images -- a practice referred to as transfer learning. However,\na significant {\\em domain discrepancy} exists between natural and medical\nimages, which causes AI models resulting from transfer learning to exhibit\nheightened {\\em vulnerability} to adversarial attacks. This paper proposes a\n{\\em domain assimilation} approach that introduces texture and color adaptation\ninto transfer learning, followed by a texture preservation component to\nsuppress undesired distortion. We systematically analyze the performance of\ntransfer learning in the face of various adversarial attacks under different\ndata modalities, with the overarching goal of fortifying the model's robustness\nand security in medical imaging tasks. The results demonstrate high\neffectiveness in reducing attack efficacy, contributing toward more trustworthy\ntransfer learning in biomedical applications.\n", "date": "2024-02-25", "categories": []} {"id": "2402.16470", "title": "Unveiling Vulnerability of Self-Attention", "abstract": " Pre-trained language models (PLMs) are shown to be vulnerable to minor word\nchanges, which poses a big threat to real-world systems. While previous studies\ndirectly focus on manipulating word inputs, they are limited by their means of\ngenerating adversarial samples, lacking generalization to versatile real-world\nattack. This paper studies the basic structure of transformer-based PLMs, the\nself-attention (SA) mechanism. (1) We propose a powerful perturbation technique\n\\textit{HackAttend}, which perturbs the attention scores within the SA matrices\nvia meticulously crafted attention masks. We show that state-of-the-art PLMs\nfall into heavy vulnerability that minor attention perturbations $(1\\%)$ can\nproduce a very high attack success rate $(98\\%)$. Our paper expands the\nconventional text attack of word perturbations to more general structural\nperturbations. (2) We introduce \\textit{S-Attend}, a novel smoothing technique\nthat effectively makes SA robust via structural perturbations. We empirically\ndemonstrate that this simple yet effective technique achieves robust\nperformance on par with adversarial training when facing various text\nattackers. Code is publicly available at \\url{github.com/liongkj/HackAttend}.\n", "date": "2024-02-26", "categories": []} {"id": "2402.16586", "title": "Improving the JPEG-resistance of Adversarial Attacks on Face Recognition\n by Interpolation Smoothing", "abstract": " JPEG compression can significantly impair the performance of adversarial face\nexamples, which previous adversarial attacks on face recognition (FR) have not\nadequately addressed. Considering this challenge, we propose a novel\nadversarial attack on FR that aims to improve the resistance of adversarial\nexamples against JPEG compression. Specifically, during the iterative process\nof generating adversarial face examples, we interpolate the adversarial face\nexamples into a smaller size. Then we utilize these interpolated adversarial\nface examples to create the adversarial examples in the next iteration.\nSubsequently, we restore the adversarial face examples to their original size\nby interpolating. Throughout the entire process, our proposed method can smooth\nthe adversarial perturbations, effectively mitigating the presence of\nhigh-frequency signals in the crafted adversarial face examples that are\ntypically eliminated by JPEG compression. Our experimental results demonstrate\nthe effectiveness of our proposed method in improving the JPEG-resistance of\nadversarial face examples.\n", "date": "2024-02-26", "categories": []} {"id": "2308.10779", "title": "Spear and Shield: Adversarial Attacks and Defense Methods for\n Model-Based Link Prediction on Continuous-Time Dynamic Graphs", "abstract": " Real-world graphs are dynamic, constantly evolving with new interactions,\nsuch as financial transactions in financial networks. Temporal Graph Neural\nNetworks (TGNNs) have been developed to effectively capture the evolving\npatterns in dynamic graphs. While these models have demonstrated their\nsuperiority, being widely adopted in various important fields, their\nvulnerabilities against adversarial attacks remain largely unexplored. In this\npaper, we propose T-SPEAR, a simple and effective adversarial attack method for\nlink prediction on continuous-time dynamic graphs, focusing on investigating\nthe vulnerabilities of TGNNs. Specifically, before the training procedure of a\nvictim model, which is a TGNN for link prediction, we inject edge perturbations\nto the data that are unnoticeable in terms of the four constraints we propose,\nand yet effective enough to cause malfunction of the victim model. Moreover, we\npropose a robust training approach T-SHIELD to mitigate the impact of\nadversarial attacks. By using edge filtering and enforcing temporal smoothness\nto node embeddings, we enhance the robustness of the victim model. Our\nexperimental study shows that T-SPEAR significantly degrades the victim model's\nperformance on link prediction tasks, and even more, our attacks are\ntransferable to other TGNNs, which differ from the victim model assumed by the\nattacker. Moreover, we demonstrate that T-SHIELD effectively filters out\nadversarial edges and exhibits robustness against adversarial attacks,\nsurpassing the link prediction performance of the naive TGNN by up to 11.2%\nunder T-SPEAR.\n", "date": "2023-08-21", "categories": []} {"id": "2402.14937", "title": "SoK: Analyzing Adversarial Examples: A Framework to Study Adversary\n Knowledge", "abstract": " Adversarial examples are malicious inputs to machine learning models that\ntrigger a misclassification. This type of attack has been studied for close to\na decade, and we find that there is a lack of study and formalization of\nadversary knowledge when mounting attacks. This has yielded a complex space of\nattack research with hard-to-compare threat models and attacks. We focus on the\nimage classification domain and provide a theoretical framework to study\nadversary knowledge inspired by work in order theory. We present an adversarial\nexample game, inspired by cryptographic games, to standardize attacks. We\nsurvey recent attacks in the image classification domain and classify their\nadversary's knowledge in our framework. From this systematization, we compile\nresults that both confirm existing beliefs about adversary knowledge, such as\nthe potency of information about the attacked model as well as allow us to\nderive new conclusions on the difficulty associated with the white-box and\ntransferable threat models, for example, that transferable attacks might not be\nas difficult as previously thought.\n", "date": "2024-02-22", "categories": []} {"id": "2401.17499", "title": "AdvGPS: Adversarial GPS for Multi-Agent Perception Attack", "abstract": " The multi-agent perception system collects visual data from sensors located\non various agents and leverages their relative poses determined by GPS signals\nto effectively fuse information, mitigating the limitations of single-agent\nsensing, such as occlusion. However, the precision of GPS signals can be\ninfluenced by a range of factors, including wireless transmission and\nobstructions like buildings. Given the pivotal role of GPS signals in\nperception fusion and the potential for various interference, it becomes\nimperative to investigate whether specific GPS signals can easily mislead the\nmulti-agent perception system. To address this concern, we frame the task as an\nadversarial attack challenge and introduce \\textsc{AdvGPS}, a method capable of\ngenerating adversarial GPS signals which are also stealthy for individual\nagents within the system, significantly reducing object detection accuracy. To\nenhance the success rates of these attacks in a black-box scenario, we\nintroduce three types of statistically sensitive natural discrepancies:\nappearance-based discrepancy, distribution-based discrepancy, and task-aware\ndiscrepancy. Our extensive experiments on the OPV2V dataset demonstrate that\nthese attacks substantially undermine the performance of state-of-the-art\nmethods, showcasing remarkable transferability across different point cloud\nbased 3D detection systems. This alarming revelation underscores the pressing\nneed to address security implications within multi-agent perception systems,\nthereby underscoring a critical area of research.\n", "date": "2024-01-30", "categories": []} {"id": "2402.02695", "title": "Exploiting Class Probabilities for Black-box Sentence-level Attacks", "abstract": " Sentence-level attacks craft adversarial sentences that are synonymous with\ncorrectly-classified sentences but are misclassified by the text classifiers.\nUnder the black-box setting, classifiers are only accessible through their\nfeedback to queried inputs, which is predominately available in the form of\nclass probabilities. Even though utilizing class probabilities results in\nstronger attacks, due to the challenges of using them for sentence-level\nattacks, existing attacks use either no feedback or only the class labels.\nOvercoming the challenges, we develop a novel algorithm that uses class\nprobabilities for black-box sentence-level attacks, investigate the\neffectiveness of using class probabilities on the attack's success, and examine\nthe question if it is worthy or practical to use class probabilities by\nblack-box sentence-level attacks. We conduct extensive evaluations of our\nattack comparing with the baselines across various classifiers and benchmark\ndatasets.\n", "date": "2024-02-05", "categories": []} {"id": "2304.02688", "title": "Going Further: Flatness at the Rescue of Early Stopping for Adversarial\n Example Transferability", "abstract": " Transferability is the property of adversarial examples to be misclassified\nby other models than the surrogate model for which they were crafted. Previous\nresearch has shown that early stopping the training of the surrogate model\nsubstantially increases transferability. A common hypothesis to explain this is\nthat deep neural networks (DNNs) first learn robust features, which are more\ngeneric, thus a better surrogate. Then, at later epochs, DNNs learn non-robust\nfeatures, which are more brittle, hence worst surrogate. First, we tend to\nrefute this hypothesis, using transferability as a proxy for representation\nsimilarity. We then establish links between transferability and the exploration\nof the loss landscape in parameter space, focusing on sharpness, which is\naffected by early stopping. This leads us to evaluate surrogate models trained\nwith seven minimizers that minimize both loss value and loss sharpness. Among\nthem, SAM consistently outperforms early stopping by up to 28.8 percentage\npoints. We discover that the strong SAM regularization from large flat\nneighborhoods tightly links to transferability. Finally, the best\nsharpness-aware minimizers prove competitive with other training methods and\ncomplement existing transferability techniques.\n", "date": "2023-04-05", "categories": []} {"id": "2305.17342", "title": "Rethinking Adversarial Policies: A Generalized Attack Formulation and\n Provable Defense in RL", "abstract": " Most existing works focus on direct perturbations to the victim's\nstate/action or the underlying transition dynamics to demonstrate the\nvulnerability of reinforcement learning agents to adversarial attacks. However,\nsuch direct manipulations may not be always realizable. In this paper, we\nconsider a multi-agent setting where a well-trained victim agent $\\nu$ is\nexploited by an attacker controlling another agent $\\alpha$ with an\n\\textit{adversarial policy}. Previous models do not account for the possibility\nthat the attacker may only have partial control over $\\alpha$ or that the\nattack may produce easily detectable \"abnormal\" behaviors. Furthermore, there\nis a lack of provably efficient defenses against these adversarial policies. To\naddress these limitations, we introduce a generalized attack framework that has\nthe flexibility to model to what extent the adversary is able to control the\nagent, and allows the attacker to regulate the state distribution shift and\nproduce stealthier adversarial policies. Moreover, we offer a provably\nefficient defense with polynomial convergence to the most robust victim policy\nthrough adversarial training with timescale separation. This stands in sharp\ncontrast to supervised learning, where adversarial training typically provides\nonly \\textit{empirical} defenses. Using the Robosumo competition experiments,\nwe show that our generalized attack formulation results in much stealthier\nadversarial policies when maintaining the same winning rate as baselines.\nAdditionally, our adversarial training approach yields stable learning dynamics\nand less exploitable victim policies.\n", "date": "2023-05-27", "categories": []} {"id": "2402.12673", "title": "Beyond Worst-case Attacks: Robust RL with Adaptive Defense via\n Non-dominated Policies", "abstract": " In light of the burgeoning success of reinforcement learning (RL) in diverse\nreal-world applications, considerable focus has been directed towards ensuring\nRL policies are robust to adversarial attacks during test time. Current\napproaches largely revolve around solving a minimax problem to prepare for\npotential worst-case scenarios. While effective against strong attacks, these\nmethods often compromise performance in the absence of attacks or the presence\nof only weak attacks. To address this, we study policy robustness under the\nwell-accepted state-adversarial attack model, extending our focus beyond only\nworst-case attacks. We first formalize this task at test time as a regret\nminimization problem and establish its intrinsic hardness in achieving\nsublinear regret when the baseline policy is from a general continuous policy\nclass, $\\Pi$. This finding prompts us to \\textit{refine} the baseline policy\nclass $\\Pi$ prior to test time, aiming for efficient adaptation within a finite\npolicy class $\\Tilde{\\Pi}$, which can resort to an adversarial bandit\nsubroutine. In light of the importance of a small, finite $\\Tilde{\\Pi}$, we\npropose a novel training-time algorithm to iteratively discover\n\\textit{non-dominated policies}, forming a near-optimal and minimal\n$\\Tilde{\\Pi}$, thereby ensuring both robustness and test-time efficiency.\nEmpirical validation on the Mujoco corroborates the superiority of our approach\nin terms of natural and robust performance, as well as adaptability to various\nattack scenarios.\n", "date": "2024-02-20", "categories": []} {"id": "2307.11729", "title": "OUTFOX: LLM-Generated Essay Detection Through In-Context Learning with\n Adversarially Generated Examples", "abstract": " Large Language Models (LLMs) have achieved human-level fluency in text\ngeneration, making it difficult to distinguish between human-written and\nLLM-generated texts. This poses a growing risk of misuse of LLMs and demands\nthe development of detectors to identify LLM-generated texts. However, existing\ndetectors lack robustness against attacks: they degrade detection accuracy by\nsimply paraphrasing LLM-generated texts. Furthermore, a malicious user might\nattempt to deliberately evade the detectors based on detection results, but\nthis has not been assumed in previous studies. In this paper, we propose\nOUTFOX, a framework that improves the robustness of LLM-generated-text\ndetectors by allowing both the detector and the attacker to consider each\nother's output. In this framework, the attacker uses the detector's prediction\nlabels as examples for in-context learning and adversarially generates essays\nthat are harder to detect, while the detector uses the adversarially generated\nessays as examples for in-context learning to learn to detect essays from a\nstrong attacker. Experiments in the domain of student essays show that the\nproposed detector improves the detection performance on the attacker-generated\ntexts by up to +41.3 points F1-score. Furthermore, the proposed detector shows\na state-of-the-art detection performance: up to 96.9 points F1-score, beating\nexisting detectors on non-attacked texts. Finally, the proposed attacker\ndrastically degrades the performance of detectors by up to -57.0 points\nF1-score, massively outperforming the baseline paraphrasing method for evading\ndetection.\n", "date": "2023-07-21", "categories": []} {"id": "2308.08925", "title": "A White-Box False Positive Adversarial Attack Method on Contrastive Loss\n Based Offline Handwritten Signature Verification Models", "abstract": " In this paper, we tackle the challenge of white-box false positive\nadversarial attacks on contrastive loss based offline handwritten signature\nverification models. We propose a novel attack method that treats the attack as\na style transfer between closely related but distinct writing styles. To guide\nthe generation of deceptive images, we introduce two new loss functions that\nenhance the attack success rate by perturbing the Euclidean distance between\nthe embedding vectors of the original and synthesized samples, while ensuring\nminimal perturbations by reducing the difference between the generated image\nand the original image. Our method demonstrates state-of-the-art performance in\nwhite-box attacks on contrastive loss based offline handwritten signature\nverification models, as evidenced by our experiments. The key contributions of\nthis paper include a novel false positive attack method, two new loss\nfunctions, effective style transfer in handwriting styles, and superior\nperformance in white-box false positive attacks compared to other white-box\nattack methods.\n", "date": "2023-08-17", "categories": []} {"id": "2311.11509", "title": "Token-Level Adversarial Prompt Detection Based on Perplexity Measures\n and Contextual Information", "abstract": " In recent years, Large Language Models (LLM) have emerged as pivotal tools in\nvarious applications. However, these models are susceptible to adversarial\nprompt attacks, where attackers can carefully curate input strings that mislead\nLLMs into generating incorrect or undesired outputs. Previous work has revealed\nthat with relatively simple yet effective attacks based on discrete\noptimization, it is possible to generate adversarial prompts that bypass\nmoderation and alignment of the models. This vulnerability to adversarial\nprompts underscores a significant concern regarding the robustness and\nreliability of LLMs. Our work aims to address this concern by introducing a\nnovel approach to detecting adversarial prompts at a token level, leveraging\nthe LLM's capability to predict the next token's probability. We measure the\ndegree of the model's perplexity, where tokens predicted with high probability\nare considered normal, and those exhibiting high perplexity are flagged as\nadversarial. Additionaly, our method also integrates context understanding by\nincorporating neighboring token information to encourage the detection of\ncontiguous adversarial prompt sequences. To this end, we design two algorithms\nfor adversarial prompt detection: one based on optimization techniques and\nanother on Probabilistic Graphical Models (PGM). Both methods are equipped with\nefficient solving methods, ensuring efficient adversarial prompt detection. Our\ntoken-level detection result can be visualized as heatmap overlays on the text\nsequence, allowing for a clearer and more intuitive representation of which\npart of the text may contain adversarial prompts.\n", "date": "2023-11-20", "categories": []} {"id": "2402.10983", "title": "Quantum-Inspired Analysis of Neural Network Vulnerabilities: The Role of\n Conjugate Variables in System Attacks", "abstract": " Neural networks demonstrate inherent vulnerability to small, non-random\nperturbations, emerging as adversarial attacks. Such attacks, born from the\ngradient of the loss function relative to the input, are discerned as input\nconjugates, revealing a systemic fragility within the network structure.\nIntriguingly, a mathematical congruence manifests between this mechanism and\nthe quantum physics' uncertainty principle, casting light on a hitherto\nunanticipated interdisciplinarity. This inherent susceptibility within neural\nnetwork systems is generally intrinsic, highlighting not only the innate\nvulnerability of these networks but also suggesting potential advancements in\nthe interdisciplinary area for understanding these black-box networks.\n", "date": "2024-02-16", "categories": []} {"id": "2402.11083", "title": "VQAttack: Transferable Adversarial Attacks on Visual Question Answering\n via Pre-trained Models", "abstract": " Visual Question Answering (VQA) is a fundamental task in computer vision and\nnatural language process fields. Although the ``pre-training & finetuning''\nlearning paradigm significantly improves the VQA performance, the adversarial\nrobustness of such a learning paradigm has not been explored. In this paper, we\ndelve into a new problem: using a pre-trained multimodal source model to create\nadversarial image-text pairs and then transferring them to attack the target\nVQA models. Correspondingly, we propose a novel VQAttack model, which can\niteratively generate both image and text perturbations with the designed\nmodules: the large language model (LLM)-enhanced image attack and the\ncross-modal joint attack module. At each iteration, the LLM-enhanced image\nattack module first optimizes the latent representation-based loss to generate\nfeature-level image perturbations. Then it incorporates an LLM to further\nenhance the image perturbations by optimizing the designed masked answer\nanti-recovery loss. The cross-modal joint attack module will be triggered at a\nspecific iteration, which updates the image and text perturbations\nsequentially. Notably, the text perturbation updates are based on both the\nlearned gradients in the word embedding space and word synonym-based\nsubstitution. Experimental results on two VQA datasets with five validated\nmodels demonstrate the effectiveness of the proposed VQAttack in the\ntransferable attack setting, compared with state-of-the-art baselines. This\nwork reveals a significant blind spot in the ``pre-training & fine-tuning''\nparadigm on VQA tasks. Source codes will be released.\n", "date": "2024-02-16", "categories": []} {"id": "2402.11120", "title": "DART: A Principled Approach to Adversarially Robust Unsupervised Domain\n Adaptation", "abstract": " Distribution shifts and adversarial examples are two major challenges for\ndeploying machine learning models. While these challenges have been studied\nindividually, their combination is an important topic that remains relatively\nunder-explored. In this work, we study the problem of adversarial robustness\nunder a common setting of distribution shift - unsupervised domain adaptation\n(UDA). Specifically, given a labeled source domain $D_S$ and an unlabeled\ntarget domain $D_T$ with related but different distributions, the goal is to\nobtain an adversarially robust model for $D_T$. The absence of target domain\nlabels poses a unique challenge, as conventional adversarial robustness\ndefenses cannot be directly applied to $D_T$. To address this challenge, we\nfirst establish a generalization bound for the adversarial target loss, which\nconsists of (i) terms related to the loss on the data, and (ii) a measure of\nworst-case domain divergence. Motivated by this bound, we develop a novel\nunified defense framework called Divergence Aware adveRsarial Training (DART),\nwhich can be used in conjunction with a variety of standard UDA methods; e.g.,\nDANN [Ganin and Lempitsky, 2015]. DART is applicable to general threat models,\nincluding the popular $\\ell_p$-norm model, and does not require heuristic\nregularizers or architectural changes. We also release DomainRobust: a testbed\nfor evaluating robustness of UDA models to adversarial attacks. DomainRobust\nconsists of 4 multi-domain benchmark datasets (with 46 source-target pairs) and\n7 meta-algorithms with a total of 11 variants. Our large-scale experiments\ndemonstrate that on average, DART significantly enhances model robustness on\nall benchmarks compared to the state of the art, while maintaining competitive\nstandard accuracy. The relative improvement in robustness from DART reaches up\nto 29.2% on the source-target domain pairs considered.\n", "date": "2024-02-16", "categories": []} {"id": "2402.11733", "title": "The Effectiveness of Random Forgetting for Robust Generalization", "abstract": " Deep neural networks are susceptible to adversarial attacks, which can\ncompromise their performance and accuracy. Adversarial Training (AT) has\nemerged as a popular approach for protecting neural networks against such\nattacks. However, a key challenge of AT is robust overfitting, where the\nnetwork's robust performance on test data deteriorates with further training,\nthus hindering generalization. Motivated by the concept of active forgetting in\nthe brain, we introduce a novel learning paradigm called \"Forget to Mitigate\nOverfitting (FOMO)\". FOMO alternates between the forgetting phase, which\nrandomly forgets a subset of weights and regulates the model's information\nthrough weight reinitialization, and the relearning phase, which emphasizes\nlearning generalizable features. Our experiments on benchmark datasets and\nadversarial attacks show that FOMO alleviates robust overfitting by\nsignificantly reducing the gap between the best and last robust test accuracy\nwhile improving the state-of-the-art robustness. Furthermore, FOMO provides a\nbetter trade-off between standard and robust accuracy, outperforming baseline\nadversarial methods. Finally, our framework is robust to AutoAttacks and\nincreases generalization in many real-world scenarios.\n", "date": "2024-02-18", "categories": []} {"id": "2402.12100", "title": "Groot: Adversarial Testing for Generative Text-to-Image Models with\n Tree-based Semantic Transformation", "abstract": " With the prevalence of text-to-image generative models, their safety becomes\na critical concern. adversarial testing techniques have been developed to probe\nwhether such models can be prompted to produce Not-Safe-For-Work (NSFW)\ncontent. However, existing solutions face several challenges, including low\nsuccess rate and inefficiency. We introduce Groot, the first automated\nframework leveraging tree-based semantic transformation for adversarial testing\nof text-to-image models. Groot employs semantic decomposition and sensitive\nelement drowning strategies in conjunction with LLMs to systematically refine\nadversarial prompts. Our comprehensive evaluation confirms the efficacy of\nGroot, which not only exceeds the performance of current state-of-the-art\napproaches but also achieves a remarkable success rate (93.66%) on leading\ntext-to-image models such as DALL-E 3 and Midjourney.\n", "date": "2024-02-19", "categories": []} {"id": "2402.12187", "title": "Adversarial Feature Alignment: Balancing Robustness and Accuracy in Deep\n Learning via Adversarial Training", "abstract": " Deep learning models continue to advance in accuracy, yet they remain\nvulnerable to adversarial attacks, which often lead to the misclassification of\nadversarial examples. Adversarial training is used to mitigate this problem by\nincreasing robustness against these attacks. However, this approach typically\nreduces a model's standard accuracy on clean, non-adversarial samples. The\nnecessity for deep learning models to balance both robustness and accuracy for\nsecurity is obvious, but achieving this balance remains challenging, and the\nunderlying reasons are yet to be clarified. This paper proposes a novel\nadversarial training method called Adversarial Feature Alignment (AFA), to\naddress these problems. Our research unveils an intriguing insight:\nmisalignment within the feature space often leads to misclassification,\nregardless of whether the samples are benign or adversarial. AFA mitigates this\nrisk by employing a novel optimization algorithm based on contrastive learning\nto alleviate potential feature misalignment. Through our evaluations, we\ndemonstrate the superior performance of AFA. The baseline AFA delivers higher\nrobust accuracy than previous adversarial contrastive learning methods while\nminimizing the drop in clean accuracy to 1.86% and 8.91% on CIFAR10 and\nCIFAR100, respectively, in comparison to cross-entropy. We also show that joint\noptimization of AFA and TRADES, accompanied by data augmentation using a recent\ndiffusion model, achieves state-of-the-art accuracy and robustness.\n", "date": "2024-02-19", "categories": []} {"id": "2402.00418", "title": "Benchmarking Transferable Adversarial Attacks", "abstract": " The robustness of deep learning models against adversarial attacks remains a\npivotal concern. This study presents, for the first time, an exhaustive review\nof the transferability aspect of adversarial attacks. It systematically\ncategorizes and critically evaluates various methodologies developed to augment\nthe transferability of adversarial attacks. This study encompasses a spectrum\nof techniques, including Generative Structure, Semantic Similarity, Gradient\nEditing, Target Modification, and Ensemble Approach. Concurrently, this paper\nintroduces a benchmark framework \\textit{TAA-Bench}, integrating ten leading\nmethodologies for adversarial attack transferability, thereby providing a\nstandardized and systematic platform for comparative analysis across diverse\nmodel architectures. Through comprehensive scrutiny, we delineate the efficacy\nand constraints of each method, shedding light on their underlying operational\nprinciples and practical utility. This review endeavors to be a quintessential\nresource for both scholars and practitioners in the field, charting the complex\nterrain of adversarial transferability and setting a foundation for future\nexplorations in this vital sector. The associated codebase is accessible at:\nhttps://github.com/KxPlaug/TAA-Bench\n", "date": "2024-02-01", "categories": []} {"id": "2402.10470", "title": "Theoretical Understanding of Learning from Adversarial Perturbations", "abstract": " It is not fully understood why adversarial examples can deceive neural\nnetworks and transfer between different networks. To elucidate this, several\nstudies have hypothesized that adversarial perturbations, while appearing as\nnoises, contain class features. This is supported by empirical evidence showing\nthat networks trained on mislabeled adversarial examples can still generalize\nwell to correctly labeled test samples. However, a theoretical understanding of\nhow perturbations include class features and contribute to generalization is\nlimited. In this study, we provide a theoretical framework for understanding\nlearning from perturbations using a one-hidden-layer network trained on\nmutually orthogonal samples. Our results highlight that various adversarial\nperturbations, even perturbations of a few pixels, contain sufficient class\nfeatures for generalization. Moreover, we reveal that the decision boundary\nwhen learning from perturbations matches that from standard samples except for\nspecific regions under mild conditions. The code is available at\nhttps://github.com/s-kumano/learning-from-adversarial-perturbations.\n", "date": "2024-02-16", "categories": []} {"id": "2303.17255", "title": "Fooling the Image Dehazing Models by First Order Gradient", "abstract": " The research on the single image dehazing task has been widely explored.\nHowever, as far as we know, no comprehensive study has been conducted on the\nrobustness of the well-trained dehazing models. Therefore, there is no evidence\nthat the dehazing networks can resist malicious attacks. In this paper, we\nfocus on designing a group of attack methods based on first order gradient to\nverify the robustness of the existing dehazing algorithms. By analyzing the\ngeneral purpose of image dehazing task, four attack methods are proposed, which\nare predicted dehazed image attack, hazy layer mask attack, haze-free image\nattack and haze-preserved attack. The corresponding experiments are conducted\non six datasets with different scales. Further, the defense strategy based on\nadversarial training is adopted for reducing the negative effects caused by\nmalicious attacks. In summary, this paper defines a new challenging problem for\nthe image dehazing area, which can be called as adversarial attack on dehazing\nnetworks (AADN). Code and Supplementary Material are available at\nhttps://github.com/Xiaofeng-life/AADN Dehazing.\n", "date": "2023-03-30", "categories": []} {"id": "2310.16955", "title": "Break it, Imitate it, Fix it: Robustness by Generating Human-Like\n Attacks", "abstract": " Real-world natural language processing systems need to be robust to human\nadversaries. Collecting examples of human adversaries for training is an\neffective but expensive solution. On the other hand, training on synthetic\nattacks with small perturbations - such as word-substitution - does not\nactually improve robustness to human adversaries. In this paper, we propose an\nadversarial training framework that uses limited human adversarial examples to\ngenerate more useful adversarial examples at scale. We demonstrate the\nadvantages of this system on the ANLI and hate speech detection benchmark\ndatasets - both collected via an iterative, adversarial\nhuman-and-model-in-the-loop procedure. Compared to training only on observed\nhuman attacks, also training on our synthetic adversarial examples improves\nmodel robustness to future rounds. In ANLI, we see accuracy gains on the\ncurrent set of attacks (44.1%$\\,\\to\\,$50.1%) and on two future unseen rounds of\nhuman generated attacks (32.5%$\\,\\to\\,$43.4%, and 29.4%$\\,\\to\\,$40.2%). In hate\nspeech detection, we see AUC gains on current attacks (0.76 $\\to$ 0.84) and a\nfuture round (0.77 $\\to$ 0.79). Attacks from methods that do not learn the\ndistribution of existing human adversaries, meanwhile, degrade robustness.\n", "date": "2023-10-25", "categories": []} {"id": "2402.09671", "title": "Exploiting Alpha Transparency In Language And Vision-Based AI Systems", "abstract": " This investigation reveals a novel exploit derived from PNG image file\nformats, specifically their alpha transparency layer, and its potential to fool\nmultiple AI vision systems. Our method uses this alpha layer as a clandestine\nchannel invisible to human observers but fully actionable by AI image\nprocessors. The scope tested for the vulnerability spans representative vision\nsystems from Apple, Microsoft, Google, Salesforce, Nvidia, and Facebook,\nhighlighting the attack's potential breadth. This vulnerability challenges the\nsecurity protocols of existing and fielded vision systems, from medical imaging\nto autonomous driving technologies. Our experiments demonstrate that the\naffected systems, which rely on convolutional neural networks or the latest\nmultimodal language models, cannot quickly mitigate these vulnerabilities\nthrough simple patches or updates. Instead, they require retraining and\narchitectural changes, indicating a persistent hole in multimodal technologies\nwithout some future adversarial hardening against such vision-language\nexploits.\n", "date": "2024-02-15", "categories": []} {"id": "2402.09674", "title": "PAL: Proxy-Guided Black-Box Attack on Large Language Models", "abstract": " Large Language Models (LLMs) have surged in popularity in recent months, but\nthey have demonstrated concerning capabilities to generate harmful content when\nmanipulated. While techniques like safety fine-tuning aim to minimize harmful\nuse, recent works have shown that LLMs remain vulnerable to attacks that elicit\ntoxic responses. In this work, we introduce the Proxy-Guided Attack on LLMs\n(PAL), the first optimization-based attack on LLMs in a black-box query-only\nsetting. In particular, it relies on a surrogate model to guide the\noptimization and a sophisticated loss designed for real-world LLM APIs. Our\nattack achieves 84% attack success rate (ASR) on GPT-3.5-Turbo and 48% on\nLlama-2-7B, compared to 4% for the current state of the art. We also propose\nGCG++, an improvement to the GCG attack that reaches 94% ASR on white-box\nLlama-2-7B, and the Random-Search Attack on LLMs (RAL), a strong but simple\nbaseline for query-based attacks. We believe the techniques proposed in this\nwork will enable more comprehensive safety testing of LLMs and, in the long\nterm, the development of better security guardrails. The code can be found at\nhttps://github.com/chawins/pal.\n", "date": "2024-02-15", "categories": []} {"id": "2402.09874", "title": "Camouflage is all you need: Evaluating and Enhancing Language Model\n Robustness Against Camouflage Adversarial Attacks", "abstract": " Adversarial attacks represent a substantial challenge in Natural Language\nProcessing (NLP). This study undertakes a systematic exploration of this\nchallenge in two distinct phases: vulnerability evaluation and resilience\nenhancement of Transformer-based models under adversarial attacks.\n In the evaluation phase, we assess the susceptibility of three Transformer\nconfigurations, encoder-decoder, encoder-only, and decoder-only setups, to\nadversarial attacks of escalating complexity across datasets containing\noffensive language and misinformation. Encoder-only models manifest a 14% and\n21% performance drop in offensive language detection and misinformation\ndetection tasks, respectively. Decoder-only models register a 16% decrease in\nboth tasks, while encoder-decoder models exhibit a maximum performance drop of\n14% and 26% in the respective tasks.\n The resilience-enhancement phase employs adversarial training, integrating\npre-camouflaged and dynamically altered data. This approach effectively reduces\nthe performance drop in encoder-only models to an average of 5% in offensive\nlanguage detection and 2% in misinformation detection tasks. Decoder-only\nmodels, occasionally exceeding original performance, limit the performance drop\nto 7% and 2% in the respective tasks. Although not surpassing the original\nperformance, Encoder-decoder models can reduce the drop to an average of 6% and\n2% respectively.\n Results suggest a trade-off between performance and robustness, with some\nmodels maintaining similar performance while gaining robustness. Our study and\nadversarial training techniques have been incorporated into an open-source tool\nfor generating camouflaged datasets. However, methodology effectiveness depends\non the specific camouflage technique and data encountered, emphasizing the need\nfor continued exploration.\n", "date": "2024-02-15", "categories": []} {"id": "2402.10196", "title": "A Trembling House of Cards? Mapping Adversarial Attacks against Language\n Agents", "abstract": " Language agents powered by large language models (LLMs) have seen exploding\ndevelopment. Their capability of using language as a vehicle for thought and\ncommunication lends an incredible level of flexibility and versatility. People\nhave quickly capitalized on this capability to connect LLMs to a wide range of\nexternal components and environments: databases, tools, the Internet, robotic\nembodiment, etc. Many believe an unprecedentedly powerful automation technology\nis emerging. However, new automation technologies come with new safety risks,\nespecially for intricate systems like language agents. There is a surprisingly\nlarge gap between the speed and scale of their development and deployment and\nour understanding of their safety risks. Are we building a house of cards? In\nthis position paper, we present the first systematic effort in mapping\nadversarial attacks against language agents. We first present a unified\nconceptual framework for agents with three major components: Perception, Brain,\nand Action. Under this framework, we present a comprehensive discussion and\npropose 12 potential attack scenarios against different components of an agent,\ncovering different attack strategies (e.g., input manipulation, adversarial\ndemonstrations, jailbreaking, backdoors). We also draw connections to\nsuccessful attack strategies previously applied to LLMs. We emphasize the\nurgency to gain a thorough understanding of language agent risks before their\nwidespread deployment.\n", "date": "2024-02-15", "categories": []} {"id": "2306.02895", "title": "Evading Black-box Classifiers Without Breaking Eggs", "abstract": " Decision-based evasion attacks repeatedly query a black-box classifier to\ngenerate adversarial examples. Prior work measures the cost of such attacks by\nthe total number of queries made to the classifier. We argue this metric is\nflawed. Most security-critical machine learning systems aim to weed out \"bad\"\ndata (e.g., malware, harmful content, etc). Queries to such systems carry a\nfundamentally asymmetric cost: queries detected as \"bad\" come at a higher cost\nbecause they trigger additional security filters, e.g., usage throttling or\naccount suspension. Yet, we find that existing decision-based attacks issue a\nlarge number of \"bad\" queries, which likely renders them ineffective against\nsecurity-critical systems. We then design new attacks that reduce the number of\nbad queries by $1.5$-$7.3\\times$, but often at a significant increase in total\n(non-bad) queries. We thus pose it as an open problem to build black-box\nattacks that are more effective under realistic cost metrics.\n", "date": "2023-06-05", "categories": []} {"id": "2310.00076", "title": "Robustness of AI-Image Detectors: Fundamental Limits and Practical\n Attacks", "abstract": " In light of recent advancements in generative AI models, it has become\nessential to distinguish genuine content from AI-generated one to prevent the\nmalicious usage of fake materials as authentic ones and vice versa. Various\ntechniques have been introduced for identifying AI-generated images, with\nwatermarking emerging as a promising approach. In this paper, we analyze the\nrobustness of various AI-image detectors including watermarking and\nclassifier-based deepfake detectors. For watermarking methods that introduce\nsubtle image perturbations (i.e., low perturbation budget methods), we reveal a\nfundamental trade-off between the evasion error rate (i.e., the fraction of\nwatermarked images detected as non-watermarked ones) and the spoofing error\nrate (i.e., the fraction of non-watermarked images detected as watermarked\nones) upon an application of diffusion purification attack. To validate our\ntheoretical findings, we also provide empirical evidence demonstrating that\ndiffusion purification effectively removes low perturbation budget watermarks\nby applying minimal changes to images. The diffusion purification attack is\nineffective for high perturbation watermarking methods where notable changes\nare applied to images. In this case, we develop a model substitution\nadversarial attack that can successfully remove watermarks. Moreover, we show\nthat watermarking methods are vulnerable to spoofing attacks where the attacker\naims to have real images identified as watermarked ones, damaging the\nreputation of the developers. In particular, with black-box access to the\nwatermarking method, a watermarked noise image can be generated and added to\nreal images, causing them to be incorrectly classified as watermarked. Finally,\nwe extend our theory to characterize a fundamental trade-off between the\nrobustness and reliability of classifier-based deep fake detectors and\ndemonstrate it through experiments.\n", "date": "2023-09-29", "categories": []} {"id": "2310.17534", "title": "SoK: Pitfalls in Evaluating Black-Box Attacks", "abstract": " Numerous works study black-box attacks on image classifiers. However, these\nworks make different assumptions on the adversary's knowledge and current\nliterature lacks a cohesive organization centered around the threat model. To\nsystematize knowledge in this area, we propose a taxonomy over the threat space\nspanning the axes of feedback granularity, the access of interactive queries,\nand the quality and quantity of the auxiliary data available to the attacker.\nOur new taxonomy provides three key insights. 1) Despite extensive literature,\nnumerous under-explored threat spaces exist, which cannot be trivially solved\nby adapting techniques from well-explored settings. We demonstrate this by\nestablishing a new state-of-the-art in the less-studied setting of access to\ntop-k confidence scores by adapting techniques from well-explored settings of\naccessing the complete confidence vector, but show how it still falls short of\nthe more restrictive setting that only obtains the prediction label,\nhighlighting the need for more research. 2) Identification the threat model of\ndifferent attacks uncovers stronger baselines that challenge prior\nstate-of-the-art claims. We demonstrate this by enhancing an initially weaker\nbaseline (under interactive query access) via surrogate models, effectively\noverturning claims in the respective paper. 3) Our taxonomy reveals\ninteractions between attacker knowledge that connect well to related areas,\nsuch as model inversion and extraction attacks. We discuss how advances in\nother areas can enable potentially stronger black-box attacks. Finally, we\nemphasize the need for a more realistic assessment of attack success by\nfactoring in local attack runtime. This approach reveals the potential for\ncertain attacks to achieve notably higher success rates and the need to\nevaluate attacks in diverse and harder settings, highlighting the need for\nbetter selection criteria.\n", "date": "2023-10-26", "categories": []} {"id": "2402.08763", "title": "Enhancing Robustness of Indoor Robotic Navigation with Free-Space\n Segmentation Models Against Adversarial Attacks", "abstract": " Endeavors in indoor robotic navigation rely on the accuracy of segmentation\nmodels to identify free space in RGB images. However, deep learning models are\nvulnerable to adversarial attacks, posing a significant challenge to their\nreal-world deployment. In this study, we identify vulnerabilities within the\nhidden layers of neural networks and introduce a practical approach to\nreinforce traditional adversarial training. Our method incorporates a novel\ndistance loss function, minimizing the gap between hidden layers in clean and\nadversarial images. Experiments demonstrate satisfactory performance in\nimproving the model's robustness against adversarial perturbations.\n", "date": "2024-02-13", "categories": []} {"id": "2303.08944", "title": "Agnostic Multi-Robust Learning Using ERM", "abstract": " A fundamental problem in robust learning is asymmetry: a learner needs to\ncorrectly classify every one of exponentially-many perturbations that an\nadversary might make to a test-time natural example. In contrast, the attacker\nonly needs to find one successful perturbation. Xiang et al.[2022] proposed an\nalgorithm that in the context of patch attacks for image classification,\nreduces the effective number of perturbations from an exponential to a\npolynomial number of perturbations and learns using an ERM oracle. However, to\nachieve its guarantee, their algorithm requires the natural examples to be\nrobustly realizable. This prompts the natural question; can we extend their\napproach to the non-robustly-realizable case where there is no classifier with\nzero robust error?\n Our first contribution is to answer this question affirmatively by reducing\nthis problem to a setting in which an algorithm proposed by Feige et al.[2015]\ncan be applied, and in the process extend their guarantees. Next, we extend our\nresults to a multi-group setting and introduce a novel agnostic multi-robust\nlearning problem where the goal is to learn a predictor that achieves low\nrobust loss on a (potentially) rich collection of subgroups.\n", "date": "2023-03-15", "categories": []} {"id": "2303.11793", "title": "Bridging Optimal Transport and Jacobian Regularization by Optimal\n Trajectory for Enhanced Adversarial Defense", "abstract": " Deep neural networks, particularly in vision tasks, are notably susceptible\nto adversarial perturbations. To overcome this challenge, developing a robust\nclassifier is crucial. In light of the recent advancements in the robustness of\nclassifiers, we delve deep into the intricacies of adversarial training and\nJacobian regularization, two pivotal defenses. Our work is the first carefully\nanalyzes and characterizes these two schools of approaches, both theoretically\nand empirically, to demonstrate how each approach impacts the robust learning\nof a classifier. Next, we propose our novel Optimal Transport with Jacobian\nregularization method, dubbed OTJR, bridging the input Jacobian regularization\nwith the a output representation alignment by leveraging the optimal transport\ntheory. In particular, we employ the Sliced Wasserstein distance that can\nefficiently push the adversarial samples' representations closer to those of\nclean samples, regardless of the number of classes within the dataset. The SW\ndistance provides the adversarial samples' movement directions, which are much\nmore informative and powerful for the Jacobian regularization. Our empirical\nevaluations set a new standard in the domain, with our method achieving\ncommendable accuracies of 52.57% on CIFAR-10 and 28.3% on CIFAR-100 datasets\nunder the AutoAttack. Further validating our model's practicality, we conducted\nreal-world tests by subjecting internet-sourced images to online adversarial\nattacks. These demonstrations highlight our model's capability to counteract\nsophisticated adversarial perturbations, affirming its significance and\napplicability in real-world scenarios.\n", "date": "2023-03-21", "categories": []} {"id": "2312.09533", "title": "Adversarial Robustness on Image Classification with $k$-means", "abstract": " In this paper we explore the challenges and strategies for enhancing the\nrobustness of $k$-means clustering algorithms against adversarial\nmanipulations. We evaluate the vulnerability of clustering algorithms to\nadversarial attacks, emphasising the associated security risks. Our study\ninvestigates the impact of incremental attack strength on training, introduces\nthe concept of transferability between supervised and unsupervised models, and\nhighlights the sensitivity of unsupervised models to sample distributions. We\nadditionally introduce and evaluate an adversarial training method that\nimproves testing performance in adversarial scenarios, and we highlight the\nimportance of various parameters in the proposed training method, such as\ncontinuous learning, centroid initialisation, and adversarial step-count.\n", "date": "2023-12-15", "categories": []} {"id": "2402.07480", "title": "Topological safeguard for evasion attack interpreting the neural\n networks' behavior", "abstract": " In the last years, Deep Learning technology has been proposed in different\nfields, bringing many advances in each of them, but identifying new threats in\nthese solutions regarding cybersecurity. Those implemented models have brought\nseveral vulnerabilities associated with Deep Learning technology. Moreover,\nthose allow taking advantage of the implemented model, obtaining private\ninformation, and even modifying the model's decision-making. Therefore,\ninterest in studying those vulnerabilities/attacks and designing defenses to\navoid or fight them is gaining prominence among researchers. In particular, the\nwidely known evasion attack is being analyzed by researchers; thus, several\ndefenses to avoid such a threat can be found in the literature. Since the\npresentation of the L-BFG algorithm, this threat concerns the research\ncommunity. However, it continues developing new and ingenious countermeasures\nsince there is no perfect defense for all the known evasion algorithms. In this\nwork, a novel detector of evasion attacks is developed. It focuses on the\ninformation of the activations of the neurons given by the model when an input\nsample is injected. Moreover, it puts attention to the topology of the targeted\ndeep learning model to analyze the activations according to which neurons are\nconnecting. This approach has been decided because the literature shows that\nthe targeted model's topology contains essential information about if the\nevasion attack occurs. For this purpose, a huge data preprocessing is required\nto introduce all this information in the detector, which uses the Graph\nConvolutional Neural Network (GCN) technology. Thus, it understands the\ntopology of the target model, obtaining promising results and improving the\noutcomes presented in the literature related to similar defenses.\n", "date": "2024-02-12", "categories": []} {"id": "2402.08200", "title": "Fine-Tuning Text-To-Image Diffusion Models for Class-Wise Spurious\n Feature Generation", "abstract": " We propose a method for generating spurious features by leveraging\nlarge-scale text-to-image diffusion models. Although the previous work detects\nspurious features in a large-scale dataset like ImageNet and introduces\nSpurious ImageNet, we found that not all spurious images are spurious across\ndifferent classifiers. Although spurious images help measure the reliance of a\nclassifier, filtering many images from the Internet to find more spurious\nfeatures is time-consuming. To this end, we utilize an existing approach of\npersonalizing large-scale text-to-image diffusion models with available\ndiscovered spurious images and propose a new spurious feature similarity loss\nbased on neural features of an adversarially robust model. Precisely, we\nfine-tune Stable Diffusion with several reference images from Spurious ImageNet\nwith a modified objective incorporating the proposed spurious-feature\nsimilarity loss. Experiment results show that our method can generate spurious\nimages that are consistently spurious across different classifiers. Moreover,\nthe generated spurious images are visually similar to reference images from\nSpurious ImageNet.\n", "date": "2024-02-13", "categories": []} {"id": "2402.08586", "title": "Faster Repeated Evasion Attacks in Tree Ensembles", "abstract": " Tree ensembles are one of the most widely used model classes. However, these\nmodels are susceptible to adversarial examples, i.e., slightly perturbed\nexamples that elicit a misprediction. There has been significant research on\ndesigning approaches to construct such examples for tree ensembles. But this is\na computationally challenging problem that often must be solved a large number\nof times (e.g., for all examples in a training set). This is compounded by the\nfact that current approaches attempt to find such examples from scratch. In\ncontrast, we exploit the fact that multiple similar problems are being solved.\nSpecifically, our approach exploits the insight that adversarial examples for\ntree ensembles tend to perturb a consistent but relatively small set of\nfeatures. We show that we can quickly identify this set of features and use\nthis knowledge to speedup constructing adversarial examples.\n", "date": "2024-02-13", "categories": []} {"id": "2306.14043", "title": "Machine Learning needs Better Randomness Standards: Randomised Smoothing\n and PRNG-based attacks", "abstract": " Randomness supports many critical functions in the field of machine learning\n(ML) including optimisation, data selection, privacy, and security. ML systems\noutsource the task of generating or harvesting randomness to the compiler, the\ncloud service provider or elsewhere in the toolchain. Yet there is a long\nhistory of attackers exploiting poor randomness, or even creating it -- as when\nthe NSA put backdoors in random number generators to break cryptography. In\nthis paper we consider whether attackers can compromise an ML system using only\nthe randomness on which they commonly rely. We focus our effort on Randomised\nSmoothing, a popular approach to train certifiably robust models, and to\ncertify specific input datapoints of an arbitrary model. We choose Randomised\nSmoothing since it is used for both security and safety -- to counteract\nadversarial examples and quantify uncertainty respectively. Under the hood, it\nrelies on sampling Gaussian noise to explore the volume around a data point to\ncertify that a model is not vulnerable to adversarial examples. We demonstrate\nan entirely novel attack, where an attacker backdoors the supplied randomness\nto falsely certify either an overestimate or an underestimate of robustness for\nup to 81 times. We demonstrate that such attacks are possible, that they\nrequire very small changes to randomness to succeed, and that they are hard to\ndetect. As an example, we hide an attack in the random number generator and\nshow that the randomness tests suggested by NIST fail to detect it. We advocate\nupdating the NIST guidelines on random number testing to make them more\nappropriate for safety-critical and security-critical machine-learning\napplications.\n", "date": "2023-06-24", "categories": []} {"id": "2308.10743", "title": "Enhancing Adversarial Attacks: The Similar Target Method", "abstract": " Deep neural networks are vulnerable to adversarial examples, posing a threat\nto the models' applications and raising security concerns. An intriguing\nproperty of adversarial examples is their strong transferability. Several\nmethods have been proposed to enhance transferability, including ensemble\nattacks which have demonstrated their efficacy. However, prior approaches\nsimply average logits, probabilities, or losses for model ensembling, lacking a\ncomprehensive analysis of how and why model ensembling significantly improves\ntransferability. In this paper, we propose a similar targeted attack method\nnamed Similar Target~(ST). By promoting cosine similarity between the gradients\nof each model, our method regularizes the optimization direction to\nsimultaneously attack all surrogate models. This strategy has been proven to\nenhance generalization ability. Experimental results on ImageNet validate the\neffectiveness of our approach in improving adversarial transferability. Our\nmethod outperforms state-of-the-art attackers on 18 discriminative classifiers\nand adversarially trained models.\n", "date": "2023-08-21", "categories": []} {"id": "2311.16526", "title": "On robust overfitting: adversarial training induced distribution matters", "abstract": " Adversarial training may be regarded as standard training with a modified\nloss function. But its generalization error appears much larger than standard\ntraining under standard loss. This phenomenon, known as robust overfitting, has\nattracted significant research attention and remains largely as a mystery. In\nthis paper, we first show empirically that robust overfitting correlates with\nthe increasing generalization difficulty of the perturbation-induced\ndistributions along the trajectory of adversarial training (specifically\nPGD-based adversarial training). We then provide a novel upper bound for\ngeneralization error with respect to the perturbation-induced distributions, in\nwhich a notion of the perturbation operator, referred to \"local dispersion\",\nplays an important role. Experimental results are presented to validate the\nusefulness of the bound and various additional insights are provided.\n", "date": "2023-11-28", "categories": []} {"id": "2402.06655", "title": "Adversarial Text Purification: A Large Language Model Approach for\n Defense", "abstract": " Adversarial purification is a defense mechanism for safeguarding classifiers\nagainst adversarial attacks without knowing the type of attacks or training of\nthe classifier. These techniques characterize and eliminate adversarial\nperturbations from the attacked inputs, aiming to restore purified samples that\nretain similarity to the initially attacked ones and are correctly classified\nby the classifier. Due to the inherent challenges associated with\ncharacterizing noise perturbations for discrete inputs, adversarial text\npurification has been relatively unexplored. In this paper, we investigate the\neffectiveness of adversarial purification methods in defending text\nclassifiers. We propose a novel adversarial text purification that harnesses\nthe generative capabilities of Large Language Models (LLMs) to purify\nadversarial text without the need to explicitly characterize the discrete noise\nperturbations. We utilize prompt engineering to exploit LLMs for recovering the\npurified examples for given adversarial examples such that they are\nsemantically similar and correctly classified. Our proposed method demonstrates\nremarkable performance over various classifiers, improving their accuracy under\nthe attack by over 65% on average.\n", "date": "2024-02-05", "categories": []} {"id": "2402.07183", "title": "A Random Ensemble of Encrypted Vision Transformers for Adversarially\n Robust Defense", "abstract": " Deep neural networks (DNNs) are well known to be vulnerable to adversarial\nexamples (AEs). In previous studies, the use of models encrypted with a secret\nkey was demonstrated to be robust against white-box attacks, but not against\nblack-box ones. In this paper, we propose a novel method using the vision\ntransformer (ViT) that is a random ensemble of encrypted models for enhancing\nrobustness against both white-box and black-box attacks. In addition, a\nbenchmark attack method, called AutoAttack, is applied to models to test\nadversarial robustness objectively. In experiments, the method was demonstrated\nto be robust against not only white-box attacks but also black-box ones in an\nimage classification task on the CIFAR-10 and ImageNet datasets. The method was\nalso compared with the state-of-the-art in a standardized benchmark for\nadversarial robustness, RobustBench, and it was verified to outperform\nconventional defenses in terms of clean accuracy and robust accuracy.\n", "date": "2024-02-11", "categories": []} {"id": "2402.07347", "title": "Accuracy of TextFooler black box adversarial attacks on 01 loss sign\n activation neural network ensemble", "abstract": " Recent work has shown the defense of 01 loss sign activation neural networks\nagainst image classification adversarial attacks. A public challenge to attack\nthe models on CIFAR10 dataset remains undefeated. We ask the following question\nin this study: are 01 loss sign activation neural networks hard to deceive with\na popular black box text adversarial attack program called TextFooler? We study\nthis question on four popular text classification datasets: IMDB reviews, Yelp\nreviews, MR sentiment classification, and AG news classification. We find that\nour 01 loss sign activation network is much harder to attack with TextFooler\ncompared to sigmoid activation cross entropy and binary neural networks. We\nalso study a 01 loss sign activation convolutional neural network with a novel\nglobal pooling step specific to sign activation networks. With this new\nvariation we see a significant gain in adversarial accuracy rendering\nTextFooler practically useless against it. We make our code freely available at\n\\url{https://github.com/zero-one-loss/wordcnn01} and\n\\url{https://github.com/xyzacademic/mlp01example}. Our work here suggests that\n01 loss sign activation networks could be further developed to create fool\nproof models against text adversarial attacks.\n", "date": "2024-02-12", "categories": []} {"id": "2402.07496", "title": "Understanding Deep Learning defenses Against Adversarial Examples\n Through Visualizations for Dynamic Risk Assessment", "abstract": " In recent years, Deep Neural Network models have been developed in different\nfields, where they have brought many advances. However, they have also started\nto be used in tasks where risk is critical. A misdiagnosis of these models can\nlead to serious accidents or even death. This concern has led to an interest\namong researchers to study possible attacks on these models, discovering a long\nlist of vulnerabilities, from which every model should be defended. The\nadversarial example attack is a widely known attack among researchers, who have\ndeveloped several defenses to avoid such a threat. However, these defenses are\nas opaque as a deep neural network model, how they work is still unknown. This\nis why visualizing how they change the behavior of the target model is\ninteresting in order to understand more precisely how the performance of the\ndefended model is being modified. For this work, some defenses, against\nadversarial example attack, have been selected in order to visualize the\nbehavior modification of each of them in the defended model. Adversarial\ntraining, dimensionality reduction and prediction similarity were the selected\ndefenses, which have been developed using a model composed by convolution\nneural network layers and dense neural network layers. In each defense, the\nbehavior of the original model has been compared with the behavior of the\ndefended model, representing the target model by a graph in a visualization.\n", "date": "2024-02-12", "categories": []} {"id": "2303.01734", "title": "AdvART: Adversarial Art for Camouflaged Object Detection Attacks", "abstract": " Physical adversarial attacks pose a significant practical threat as it\ndeceives deep learning systems operating in the real world by producing\nprominent and maliciously designed physical perturbations. Emphasizing the\nevaluation of naturalness is crucial in such attacks, as humans can readily\ndetect and eliminate unnatural manipulations. To overcome this limitation,\nrecent work has proposed leveraging generative adversarial networks (GANs) to\ngenerate naturalistic patches, which may not catch human's attention. However,\nthese approaches suffer from a limited latent space which leads to an\ninevitable trade-off between naturalness and attack efficiency. In this paper,\nwe propose a novel approach to generate naturalistic and inconspicuous\nadversarial patches. Specifically, we redefine the optimization problem by\nintroducing an additional loss term to the cost function. This term works as a\nsemantic constraint to ensure that the generated camouflage pattern holds\nsemantic meaning rather than arbitrary patterns. The additional term leverages\nsimilarity metrics to construct a similarity loss that we optimize within the\nglobal objective function. Our technique is based on directly manipulating the\npixel values in the patch, which gives higher flexibility and larger space\ncompared to the GAN-based techniques that are based on indirectly optimizing\nthe patch by modifying the latent vector. Our attack achieves superior success\nrate of up to 91.19\\% and 72\\%, respectively, in the digital world and when\ndeployed in smart cameras at the edge compared to the GAN-based technique.\n", "date": "2023-03-03", "categories": []} {"id": "2402.06249", "title": "Anomaly Unveiled: Securing Image Classification against Adversarial\n Patch Attacks", "abstract": " Adversarial patch attacks pose a significant threat to the practical\ndeployment of deep learning systems. However, existing research primarily\nfocuses on image pre-processing defenses, which often result in reduced\nclassification accuracy for clean images and fail to effectively counter\nphysically feasible attacks. In this paper, we investigate the behavior of\nadversarial patches as anomalies within the distribution of image information\nand leverage this insight to develop a robust defense strategy. Our proposed\ndefense mechanism utilizes a clustering-based technique called DBSCAN to\nisolate anomalous image segments, which is carried out by a three-stage\npipeline consisting of Segmenting, Isolating, and Blocking phases to identify\nand mitigate adversarial noise. Upon identifying adversarial components, we\nneutralize them by replacing them with the mean pixel value, surpassing\nalternative replacement options. Our model-agnostic defense mechanism is\nevaluated across multiple models and datasets, demonstrating its effectiveness\nin countering various adversarial patch attacks in image classification tasks.\nOur proposed approach significantly improves accuracy, increasing from 38.8\\%\nwithout the defense to 67.1\\% with the defense against LaVAN and GoogleAp\nattacks, surpassing prominent state-of-the-art methods such as LGS (53.86\\%)\nand Jujutsu (60\\%)\n", "date": "2024-02-09", "categories": []} {"id": "2402.04325", "title": "Enhance DNN Adversarial Robustness and Efficiency via Injecting Noise to\n Non-Essential Neurons", "abstract": " Deep Neural Networks (DNNs) have revolutionized a wide range of industries,\nfrom healthcare and finance to automotive, by offering unparalleled\ncapabilities in data analysis and decision-making. Despite their transforming\nimpact, DNNs face two critical challenges: the vulnerability to adversarial\nattacks and the increasing computational costs associated with more complex and\nlarger models. In this paper, we introduce an effective method designed to\nsimultaneously enhance adversarial robustness and execution efficiency. Unlike\nprior studies that enhance robustness via uniformly injecting noise, we\nintroduce a non-uniform noise injection algorithm, strategically applied at\neach DNN layer to disrupt adversarial perturbations introduced in attacks. By\nemploying approximation techniques, our approach identifies and protects\nessential neurons while strategically introducing noise into non-essential\nneurons. Our experimental results demonstrate that our method successfully\nenhances both robustness and efficiency across several attack scenarios, model\narchitectures, and datasets.\n", "date": "2024-02-06", "categories": []} {"id": "2208.10373", "title": "Reversing Skin Cancer Adversarial Examples by Multiscale Diffusive and\n Denoising Aggregation Mechanism", "abstract": " Reliable skin cancer diagnosis models play an essential role in early\nscreening and medical intervention. Prevailing computer-aided skin cancer\nclassification systems employ deep learning approaches. However, recent studies\nreveal their extreme vulnerability to adversarial attacks -- often\nimperceptible perturbations to significantly reduce the performances of skin\ncancer diagnosis models. To mitigate these threats, this work presents a\nsimple, effective, and resource-efficient defense framework by reverse\nengineering adversarial perturbations in skin cancer images. Specifically, a\nmultiscale image pyramid is first established to better preserve discriminative\nstructures in the medical imaging domain. To neutralize adversarial effects,\nskin images at different scales are then progressively diffused by injecting\nisotropic Gaussian noises to move the adversarial examples to the clean image\nmanifold. Crucially, to further reverse adversarial noises and suppress\nredundant injected noises, a novel multiscale denoising mechanism is carefully\ndesigned that aggregates image information from neighboring scales. We\nevaluated the defensive effectiveness of our method on ISIC 2019, a largest\nskin cancer multiclass classification dataset. Experimental results demonstrate\nthat the proposed method can successfully reverse adversarial perturbations\nfrom different attacks and significantly outperform some state-of-the-art\nmethods in defending skin cancer diagnosis models.\n", "date": "2022-08-22", "categories": []} {"id": "2310.04655", "title": "VLATTACK: Multimodal Adversarial Attacks on Vision-Language Tasks via\n Pre-trained Models", "abstract": " Vision-Language (VL) pre-trained models have shown their superiority on many\nmultimodal tasks. However, the adversarial robustness of such models has not\nbeen fully explored. Existing approaches mainly focus on exploring the\nadversarial robustness under the white-box setting, which is unrealistic. In\nthis paper, we aim to investigate a new yet practical task to craft image and\ntext perturbations using pre-trained VL models to attack black-box fine-tuned\nmodels on different downstream tasks. Towards this end, we propose VLATTACK to\ngenerate adversarial samples by fusing perturbations of images and texts from\nboth single-modal and multimodal levels. At the single-modal level, we propose\na new block-wise similarity attack (BSA) strategy to learn image perturbations\nfor disrupting universal representations. Besides, we adopt an existing text\nattack strategy to generate text perturbations independent of the image-modal\nattack. At the multimodal level, we design a novel iterative cross-search\nattack (ICSA) method to update adversarial image-text pairs periodically,\nstarting with the outputs from the single-modal level. We conduct extensive\nexperiments to attack five widely-used VL pre-trained models for six tasks.\nExperimental results show that VLATTACK achieves the highest attack success\nrates on all tasks compared with state-of-the-art baselines, which reveals a\nblind spot in the deployment of pre-trained VL models. Source codes can be\nfound at https://github.com/ericyinyzy/VLAttack.\n", "date": "2023-10-07", "categories": []} {"id": "2402.02732", "title": "A Generative Approach to Surrogate-based Black-box Attacks", "abstract": " Surrogate-based black-box attacks have exposed the heightened vulnerability\nof DNNs. These attacks are designed to craft adversarial examples for any\nsamples with black-box target feedback for only a given set of samples.\nState-of-the-art surrogate-based attacks involve training a discriminative\nsurrogate that mimics the target's outputs. The goal is to learn the decision\nboundaries of the target. The surrogate is then attacked by white-box attacks\nto craft adversarial examples similar to the original samples but belong to\nother classes. With limited samples, the discriminative surrogate fails to\naccurately learn the target's decision boundaries, and these surrogate-based\nattacks suffer from low success rates. Different from the discriminative\napproach, we propose a generative surrogate that learns the distribution of\nsamples residing on or close to the target's decision boundaries. The\ndistribution learned by the generative surrogate can be used to craft\nadversarial examples that have imperceptible differences from the original\nsamples but belong to other classes. The proposed generative approach results\nin attacks with remarkably high attack success rates on various targets and\ndatasets.\n", "date": "2024-02-05", "categories": []} {"id": "2402.03477", "title": "Arabic Synonym BERT-based Adversarial Examples for Text Classification", "abstract": " Text classification systems have been proven vulnerable to adversarial text\nexamples, modified versions of the original text examples that are often\nunnoticed by human eyes, yet can force text classification models to alter\ntheir classification. Often, research works quantifying the impact of\nadversarial text attacks have been applied only to models trained in English.\nIn this paper, we introduce the first word-level study of adversarial attacks\nin Arabic. Specifically, we use a synonym (word-level) attack using a Masked\nLanguage Modeling (MLM) task with a BERT model in a black-box setting to assess\nthe robustness of the state-of-the-art text classification models to\nadversarial attacks in Arabic. To evaluate the grammatical and semantic\nsimilarities of the newly produced adversarial examples using our synonym\nBERT-based attack, we invite four human evaluators to assess and compare the\nproduced adversarial examples with their original examples. We also study the\ntransferability of these newly produced Arabic adversarial examples to various\nmodels and investigate the effectiveness of defense mechanisms against these\nadversarial examples on the BERT models. We find that fine-tuned BERT models\nwere more susceptible to our synonym attacks than the other Deep Neural\nNetworks (DNN) models like WordCNN and WordLSTM we trained. We also find that\nfine-tuned BERT models were more susceptible to transferred attacks. We,\nlastly, find that fine-tuned BERT models successfully regain at least 2% in\naccuracy after applying adversarial training as an initial defense mechanism.\n", "date": "2024-02-05", "categories": []} {"id": "2402.03576", "title": "Generalization Properties of Adversarial Training for $\\ell_0$-Bounded\n Adversarial Attacks", "abstract": " We have widely observed that neural networks are vulnerable to small additive\nperturbations to the input causing misclassification. In this paper, we focus\non the $\\ell_0$-bounded adversarial attacks, and aim to theoretically\ncharacterize the performance of adversarial training for an important class of\ntruncated classifiers. Such classifiers are shown to have strong performance\nempirically, as well as theoretically in the Gaussian mixture model, in the\n$\\ell_0$-adversarial setting. The main contribution of this paper is to prove a\nnovel generalization bound for the binary classification setting with\n$\\ell_0$-bounded adversarial perturbation that is distribution-independent.\nDeriving a generalization bound in this setting has two main challenges: (i)\nthe truncated inner product which is highly non-linear; and (ii) maximization\nover the $\\ell_0$ ball due to adversarial training is non-convex and highly\nnon-smooth. To tackle these challenges, we develop new coding techniques for\nbounding the combinatorial dimension of the truncated hypothesis class.\n", "date": "2024-02-05", "categories": []} {"id": "2402.03705", "title": "FoolSDEdit: Deceptively Steering Your Edits Towards Targeted\n Attribute-aware Distribution", "abstract": " Guided image synthesis methods, like SDEdit based on the diffusion model,\nexcel at creating realistic images from user inputs such as stroke paintings.\nHowever, existing efforts mainly focus on image quality, often overlooking a\nkey point: the diffusion model represents a data distribution, not individual\nimages. This introduces a low but critical chance of generating images that\ncontradict user intentions, raising ethical concerns. For example, a user\ninputting a stroke painting with female characteristics might, with some\nprobability, get male faces from SDEdit. To expose this potential\nvulnerability, we aim to build an adversarial attack forcing SDEdit to generate\na specific data distribution aligned with a specified attribute (e.g., female),\nwithout changing the input's attribute characteristics. We propose the Targeted\nAttribute Generative Attack (TAGA), using an attribute-aware objective function\nand optimizing the adversarial noise added to the input stroke painting.\nEmpirical studies reveal that traditional adversarial noise struggles with\nTAGA, while natural perturbations like exposure and motion blur easily alter\ngenerated images' attributes. To execute effective attacks, we introduce\nFoolSDEdit: We design a joint adversarial exposure and blur attack, adding\nexposure and motion blur to the stroke painting and optimizing them together.\nWe optimize the execution strategy of various perturbations, framing it as a\nnetwork architecture search problem. We create the SuperPert, a graph\nrepresenting diverse execution strategies for different perturbations. After\ntraining, we obtain the optimized execution strategy for effective TAGA against\nSDEdit. Comprehensive experiments on two datasets show our method compelling\nSDEdit to generate a targeted attribute-aware data distribution, significantly\noutperforming baselines.\n", "date": "2024-02-06", "categories": []} {"id": "2402.03951", "title": "Boosting Adversarial Transferability across Model Genus by\n Deformation-Constrained Warping", "abstract": " Adversarial examples generated by a surrogate model typically exhibit limited\ntransferability to unknown target systems. To address this problem, many\ntransferability enhancement approaches (e.g., input transformation and model\naugmentation) have been proposed. However, they show poor performances in\nattacking systems having different model genera from the surrogate model. In\nthis paper, we propose a novel and generic attacking strategy, called\nDeformation-Constrained Warping Attack (DeCoWA), that can be effectively\napplied to cross model genus attack. Specifically, DeCoWA firstly augments\ninput examples via an elastic deformation, namely Deformation-Constrained\nWarping (DeCoW), to obtain rich local details of the augmented input. To avoid\nsevere distortion of global semantics led by random deformation, DeCoW further\nconstrains the strength and direction of the warping transformation by a novel\nadaptive control strategy. Extensive experiments demonstrate that the\ntransferable examples crafted by our DeCoWA on CNN surrogates can significantly\nhinder the performance of Transformers (and vice versa) on various tasks,\nincluding image classification, video action recognition, and audio\nrecognition. Code is made available at https://github.com/LinQinLiang/DeCoWA.\n", "date": "2024-02-06", "categories": []} {"id": "2306.14275", "title": "Enhancing Adversarial Training via Reweighting Optimization Trajectory", "abstract": " Despite the fact that adversarial training has become the de facto method for\nimproving the robustness of deep neural networks, it is well-known that vanilla\nadversarial training suffers from daunting robust overfitting, resulting in\nunsatisfactory robust generalization. A number of approaches have been proposed\nto address these drawbacks such as extra regularization, adversarial weights\nperturbation, and training with more data over the last few years. However, the\nrobust generalization improvement is yet far from satisfactory. In this paper,\nwe approach this challenge with a brand new perspective -- refining historical\noptimization trajectories. We propose a new method named \\textbf{Weighted\nOptimization Trajectories (WOT)} that leverages the optimization trajectories\nof adversarial training in time. We have conducted extensive experiments to\ndemonstrate the effectiveness of WOT under various state-of-the-art adversarial\nattacks. Our results show that WOT integrates seamlessly with the existing\nadversarial training methods and consistently overcomes the robust overfitting\nissue, resulting in better adversarial robustness. For example, WOT boosts the\nrobust accuracy of AT-PGD under AA-$L_{\\infty}$ attack by 1.53\\% $\\sim$ 6.11\\%\nand meanwhile increases the clean accuracy by 0.55\\%$\\sim$5.47\\% across SVHN,\nCIFAR-10, CIFAR-100, and Tiny-ImageNet datasets.\n", "date": "2023-06-25", "categories": []} {"id": "2310.06112", "title": "Theoretical Analysis of Robust Overfitting for Wide DNNs: An NTK\n Approach", "abstract": " Adversarial training (AT) is a canonical method for enhancing the robustness\nof deep neural networks (DNNs). However, recent studies empirically\ndemonstrated that it suffers from robust overfitting, i.e., a long time AT can\nbe detrimental to the robustness of DNNs. This paper presents a theoretical\nexplanation of robust overfitting for DNNs. Specifically, we non-trivially\nextend the neural tangent kernel (NTK) theory to AT and prove that an\nadversarially trained wide DNN can be well approximated by a linearized DNN.\nMoreover, for squared loss, closed-form AT dynamics for the linearized DNN can\nbe derived, which reveals a new AT degeneration phenomenon: a long-term AT will\nresult in a wide DNN degenerates to that obtained without AT and thus cause\nrobust overfitting. Based on our theoretical results, we further design a\nmethod namely Adv-NTK, the first AT algorithm for infinite-width DNNs.\nExperiments on real-world datasets show that Adv-NTK can help infinite-width\nDNNs enhance comparable robustness to that of their finite-width counterparts,\nwhich in turn justifies our theoretical findings. The code is available at\nhttps://github.com/fshp971/adv-ntk.\n", "date": "2023-10-09", "categories": []} {"id": "2401.11373", "title": "Finding a Needle in the Adversarial Haystack: A Targeted Paraphrasing\n Approach For Uncovering Edge Cases with Minimal Distribution Distortion", "abstract": " Adversarial attacks against language models(LMs) are a significant concern.\nIn particular, adversarial samples exploit the model's sensitivity to small\ninput changes. While these changes appear insignificant on the semantics of the\ninput sample, they result in significant decay in model performance. In this\npaper, we propose Targeted Paraphrasing via RL (TPRL), an approach to\nautomatically learn a policy to generate challenging samples that most likely\nimprove the model's performance. TPRL leverages FLAN T5, a language model, as a\ngenerator and employs a self learned policy using a proximal policy gradient to\ngenerate the adversarial examples automatically. TPRL's reward is based on the\nconfusion induced in the classifier, preserving the original text meaning\nthrough a Mutual Implication score. We demonstrate and evaluate TPRL's\neffectiveness in discovering natural adversarial attacks and improving model\nperformance through extensive experiments on four diverse NLP classification\ntasks via Automatic and Human evaluation. TPRL outperforms strong baselines,\nexhibits generalizability across classifiers and datasets, and combines the\nstrengths of language modeling and reinforcement learning to generate diverse\nand influential adversarial examples.\n", "date": "2024-01-21", "categories": []} {"id": "2402.01806", "title": "HQA-Attack: Toward High Quality Black-Box Hard-Label Adversarial Attack\n on Text", "abstract": " Black-box hard-label adversarial attack on text is a practical and\nchallenging task, as the text data space is inherently discrete and\nnon-differentiable, and only the predicted label is accessible. Research on\nthis problem is still in the embryonic stage and only a few methods are\navailable. Nevertheless, existing methods rely on the complex heuristic\nalgorithm or unreliable gradient estimation strategy, which probably fall into\nthe local optimum and inevitably consume numerous queries, thus are difficult\nto craft satisfactory adversarial examples with high semantic similarity and\nlow perturbation rate in a limited query budget. To alleviate above issues, we\npropose a simple yet effective framework to generate high quality textual\nadversarial examples under the black-box hard-label attack scenarios, named\nHQA-Attack. Specifically, after initializing an adversarial example randomly,\nHQA-attack first constantly substitutes original words back as many as\npossible, thus shrinking the perturbation rate. Then it leverages the synonym\nset of the remaining changed words to further optimize the adversarial example\nwith the direction which can improve the semantic similarity and satisfy the\nadversarial condition simultaneously. In addition, during the optimizing\nprocedure, it searches a transition synonym word for each changed word, thus\navoiding traversing the whole synonym set and reducing the query number to some\nextent. Extensive experimental results on five text classification datasets,\nthree natural language inference datasets and two real-world APIs have shown\nthat the proposed HQA-Attack method outperforms other strong baselines\nsignificantly.\n", "date": "2024-02-02", "categories": []} {"id": "2402.02154", "title": "Evaluating the Robustness of Off-Road Autonomous Driving Segmentation\n against Adversarial Attacks: A Dataset-Centric analysis", "abstract": " This study investigates the vulnerability of semantic segmentation models to\nadversarial input perturbations, in the domain of off-road autonomous driving.\nDespite good performance in generic conditions, the state-of-the-art\nclassifiers are often susceptible to (even) small perturbations, ultimately\nresulting in inaccurate predictions with high confidence. Prior research has\ndirected their focus on making models more robust by modifying the architecture\nand training with noisy input images, but has not explored the influence of\ndatasets in adversarial attacks. Our study aims to address this gap by\nexamining the impact of non-robust features in off-road datasets and comparing\nthe effects of adversarial attacks on different segmentation network\narchitectures. To enable this, a robust dataset is created consisting of only\nrobust features and training the networks on this robustified dataset. We\npresent both qualitative and quantitative analysis of our findings, which have\nimportant implications on improving the robustness of machine learning models\nin off-road autonomous driving applications. Additionally, this work\ncontributes to the safe navigation of autonomous robot Unimog U5023 in rough\noff-road unstructured environments by evaluating the robustness of segmentation\noutputs. The code is publicly available at\nhttps://github.com/rohtkumar/adversarial_attacks_ on_segmentation\n", "date": "2024-02-03", "categories": []} {"id": "2402.03095", "title": "Transcending Adversarial Perturbations: Manifold-Aided Adversarial\n Examples with Legitimate Semantics", "abstract": " Deep neural networks were significantly vulnerable to adversarial examples\nmanipulated by malicious tiny perturbations. Although most conventional\nadversarial attacks ensured the visual imperceptibility between adversarial\nexamples and corresponding raw images by minimizing their geometric distance,\nthese constraints on geometric distance led to limited attack transferability,\ninferior visual quality, and human-imperceptible interpretability. In this\npaper, we proposed a supervised semantic-transformation generative model to\ngenerate adversarial examples with real and legitimate semantics, wherein an\nunrestricted adversarial manifold containing continuous semantic variations was\nconstructed for the first time to realize a legitimate transition from\nnon-adversarial examples to adversarial ones. Comprehensive experiments on\nMNIST and industrial defect datasets showed that our adversarial examples not\nonly exhibited better visual quality but also achieved superior attack\ntransferability and more effective explanations for model vulnerabilities,\nindicating their great potential as generic adversarial examples. The code and\npre-trained models were available at https://github.com/shuaili1027/MAELS.git.\n", "date": "2024-02-05", "categories": []} {"id": "2402.01220", "title": "Delving into Decision-based Black-box Attacks on Semantic Segmentation", "abstract": " Semantic segmentation is a fundamental visual task that finds extensive\ndeployment in applications with security-sensitive considerations. Nonetheless,\nrecent work illustrates the adversarial vulnerability of semantic segmentation\nmodels to white-box attacks. However, its adversarial robustness against\nblack-box attacks has not been fully explored. In this paper, we present the\nfirst exploration of black-box decision-based attacks on semantic segmentation.\nFirst, we analyze the challenges that semantic segmentation brings to\ndecision-based attacks through the case study. Then, to address these\nchallenges, we first propose a decision-based attack on semantic segmentation,\ncalled Discrete Linear Attack (DLA). Based on random search and proxy index, we\nutilize the discrete linear noises for perturbation exploration and calibration\nto achieve efficient attack efficiency. We conduct adversarial robustness\nevaluation on 5 models from Cityscapes and ADE20K under 8 attacks. DLA shows\nits formidable power on Cityscapes by dramatically reducing PSPNet's mIoU from\nan impressive 77.83% to a mere 2.14% with just 50 queries.\n", "date": "2024-02-02", "categories": []} {"id": "2402.01227", "title": "STAA-Net: A Sparse and Transferable Adversarial Attack for Speech\n Emotion Recognition", "abstract": " Speech contains rich information on the emotions of humans, and Speech\nEmotion Recognition (SER) has been an important topic in the area of\nhuman-computer interaction. The robustness of SER models is crucial,\nparticularly in privacy-sensitive and reliability-demanding domains like\nprivate healthcare. Recently, the vulnerability of deep neural networks in the\naudio domain to adversarial attacks has become a popular area of research.\nHowever, prior works on adversarial attacks in the audio domain primarily rely\non iterative gradient-based techniques, which are time-consuming and prone to\noverfitting the specific threat model. Furthermore, the exploration of sparse\nperturbations, which have the potential for better stealthiness, remains\nlimited in the audio domain. To address these challenges, we propose a\ngenerator-based attack method to generate sparse and transferable adversarial\nexamples to deceive SER models in an end-to-end and efficient manner. We\nevaluate our method on two widely-used SER datasets, Database of Elicited Mood\nin Speech (DEMoS) and Interactive Emotional dyadic MOtion CAPture (IEMOCAP),\nand demonstrate its ability to generate successful sparse adversarial examples\nin an efficient manner. Moreover, our generated adversarial examples exhibit\nmodel-agnostic transferability, enabling effective adversarial attacks on\nadvanced victim models.\n", "date": "2024-02-02", "categories": []} {"id": "2402.00304", "title": "Invariance-powered Trustworthy Defense via Remove Then Restore", "abstract": " Adversarial attacks pose a challenge to the deployment of deep neural\nnetworks (DNNs), while previous defense models overlook the generalization to\nvarious attacks. Inspired by targeted therapies for cancer, we view adversarial\nsamples as local lesions of natural benign samples, because a key finding is\nthat salient attack in an adversarial sample dominates the attacking process,\nwhile trivial attack unexpectedly provides trustworthy evidence for obtaining\ngeneralizable robustness. Based on this finding, a Pixel Surgery and Semantic\nRegeneration (PSSR) model following the targeted therapy mechanism is\ndeveloped, which has three merits: 1) To remove the salient attack, a\nscore-based Pixel Surgery module is proposed, which retains the trivial attack\nas a kind of invariance information. 2) To restore the discriminative content,\na Semantic Regeneration module based on a conditional alignment extrapolator is\nproposed, which achieves pixel and semantic consistency. 3) To further\nharmonize robustness and accuracy, an intractable problem, a self-augmentation\nregularizer with adversarial R-drop is designed. Experiments on numerous\nbenchmarks show the superiority of PSSR.\n", "date": "2024-02-01", "categories": []} {"id": "2402.00576", "title": "Tropical Decision Boundaries for Neural Networks Are Robust Against\n Adversarial Attacks", "abstract": " We introduce a simple, easy to implement, and computationally efficient\ntropical convolutional neural network architecture that is robust against\nadversarial attacks. We exploit the tropical nature of piece-wise linear neural\nnetworks by embedding the data in the tropical projective torus in a single\nhidden layer which can be added to any model. We study the geometry of its\ndecision boundary theoretically and show its robustness against adversarial\nattacks on image datasets using computational experiments.\n", "date": "2024-02-01", "categories": []} {"id": "2303.18136", "title": "Machine-learned Adversarial Attacks against Fault Prediction Systems in\n Smart Electrical Grids", "abstract": " In smart electrical grids, fault detection tasks may have a high impact on\nsociety due to their economic and critical implications. In the recent years,\nnumerous smart grid applications, such as defect detection and load\nforecasting, have embraced data-driven methodologies. The purpose of this study\nis to investigate the challenges associated with the security of machine\nlearning (ML) applications in the smart grid scenario. Indeed, the robustness\nand security of these data-driven algorithms have not been extensively studied\nin relation to all power grid applications. We demonstrate first that the deep\nneural network method used in the smart grid is susceptible to adversarial\nperturbation. Then, we highlight how studies on fault localization and type\nclassification illustrate the weaknesses of present ML algorithms in smart\ngrids to various adversarial attacks\n", "date": "2023-03-28", "categories": []} {"id": "2401.06031", "title": "GE-AdvGAN: Improving the transferability of adversarial samples by\n gradient editing-based adversarial generative model", "abstract": " Adversarial generative models, such as Generative Adversarial Networks\n(GANs), are widely applied for generating various types of data, i.e., images,\ntext, and audio. Accordingly, its promising performance has led to the\nGAN-based adversarial attack methods in the white-box and black-box attack\nscenarios. The importance of transferable black-box attacks lies in their\nability to be effective across different models and settings, more closely\naligning with real-world applications. However, it remains challenging to\nretain the performance in terms of transferable adversarial examples for such\nmethods. Meanwhile, we observe that some enhanced gradient-based transferable\nadversarial attack algorithms require prolonged time for adversarial sample\ngeneration. Thus, in this work, we propose a novel algorithm named GE-AdvGAN to\nenhance the transferability of adversarial samples whilst improving the\nalgorithm's efficiency. The main approach is via optimising the training\nprocess of the generator parameters. With the functional and characteristic\nsimilarity analysis, we introduce a novel gradient editing (GE) mechanism and\nverify its feasibility in generating transferable samples on various models.\nMoreover, by exploring the frequency domain information to determine the\ngradient editing direction, GE-AdvGAN can generate highly transferable\nadversarial samples while minimizing the execution time in comparison to the\nstate-of-the-art transferable adversarial attack algorithms. The performance of\nGE-AdvGAN is comprehensively evaluated by large-scale experiments on different\ndatasets, which results demonstrate the superiority of our algorithm. The code\nfor our algorithm is available at: https://github.com/LMBTough/GE-advGAN\n", "date": "2024-01-11", "categories": []} {"id": "2304.08767", "title": "Masked Language Model Based Textual Adversarial Example Detection", "abstract": " Adversarial attacks are a serious threat to the reliable deployment of\nmachine learning models in safety-critical applications. They can misguide\ncurrent models to predict incorrectly by slightly modifying the inputs.\nRecently, substantial work has shown that adversarial examples tend to deviate\nfrom the underlying data manifold of normal examples, whereas pre-trained\nmasked language models can fit the manifold of normal NLP data. To explore how\nto use the masked language model in adversarial detection, we propose a novel\ntextual adversarial example detection method, namely Masked Language\nModel-based Detection (MLMD), which can produce clearly distinguishable signals\nbetween normal examples and adversarial examples by exploring the changes in\nmanifolds induced by the masked language model. MLMD features a plug and play\nusage (i.e., no need to retrain the victim model) for adversarial defense and\nit is agnostic to classification tasks, victim model's architectures, and\nto-be-defended attack methods. We evaluate MLMD on various benchmark textual\ndatasets, widely studied machine learning models, and state-of-the-art (SOTA)\nadversarial attacks (in total $3*4*4 = 48$ settings). Experimental results show\nthat MLMD can achieve strong performance, with detection accuracy up to 0.984,\n0.967, and 0.901 on AG-NEWS, IMDB, and SST-2 datasets, respectively.\nAdditionally, MLMD is superior, or at least comparable to, the SOTA detection\ndefenses in detection accuracy and F1 score. Among many defenses based on the\noff-manifold assumption of adversarial examples, this work offers a new angle\nfor capturing the manifold change. The code for this work is openly accessible\nat \\url{https://github.com/mlmddetection/MLMDdetection}.\n", "date": "2023-04-18", "categories": []} {"id": "2401.15248", "title": "Better Representations via Adversarial Training in Pre-Training: A\n Theoretical Perspective", "abstract": " Pre-training is known to generate universal representations for downstream\ntasks in large-scale deep learning such as large language models. Existing\nliterature, e.g., \\cite{kim2020adversarial}, empirically observe that the\ndownstream tasks can inherit the adversarial robustness of the pre-trained\nmodel. We provide theoretical justifications for this robustness inheritance\nphenomenon. Our theoretical results reveal that feature purification plays an\nimportant role in connecting the adversarial robustness of the pre-trained\nmodel and the downstream tasks in two-layer neural networks. Specifically, we\nshow that (i) with adversarial training, each hidden node tends to pick only\none (or a few) feature; (ii) without adversarial training, the hidden nodes can\nbe vulnerable to attacks. This observation is valid for both supervised\npre-training and contrastive learning. With purified nodes, it turns out that\nclean training is enough to achieve adversarial robustness in downstream tasks.\n", "date": "2024-01-26", "categories": []} {"id": "2401.15817", "title": "Transparency Attacks: How Imperceptible Image Layers Can Fool AI\n Perception", "abstract": " This paper investigates a novel algorithmic vulnerability when imperceptible\nimage layers confound multiple vision models into arbitrary label assignments\nand captions. We explore image preprocessing methods to introduce stealth\ntransparency, which triggers AI misinterpretation of what the human eye\nperceives. The research compiles a broad attack surface to investigate the\nconsequences ranging from traditional watermarking, steganography, and\nbackground-foreground miscues. We demonstrate dataset poisoning using the\nattack to mislabel a collection of grayscale landscapes and logos using either\na single attack layer or randomly selected poisoning classes. For example, a\nmilitary tank to the human eye is a mislabeled bridge to object classifiers\nbased on convolutional networks (YOLO, etc.) and vision transformers (ViT,\nGPT-Vision, etc.). A notable attack limitation stems from its dependency on the\nbackground (hidden) layer in grayscale as a rough match to the transparent\nforeground image that the human eye perceives. This dependency limits the\npractical success rate without manual tuning and exposes the hidden layers when\nplaced on the opposite display theme (e.g., light background, light transparent\nforeground visible, works best against a light theme image viewer or browser).\nThe stealth transparency confounds established vision systems, including\nevading facial recognition and surveillance, digital watermarking, content\nfiltering, dataset curating, automotive and drone autonomy, forensic evidence\ntampering, and retail product misclassifying. This method stands in contrast to\ntraditional adversarial attacks that typically focus on modifying pixel values\nin ways that are either slightly perceptible or entirely imperceptible for both\nhumans and machines.\n", "date": "2024-01-29", "categories": []} {"id": "2312.13628", "title": "Where and How to Attack? A Causality-Inspired Recipe for Generating\n Counterfactual Adversarial Examples", "abstract": " Deep neural networks (DNNs) have been demonstrated to be vulnerable to\nwell-crafted \\emph{adversarial examples}, which are generated through either\nwell-conceived $\\mathcal{L}_p$-norm restricted or unrestricted attacks.\nNevertheless, the majority of those approaches assume that adversaries can\nmodify any features as they wish, and neglect the causal generating process of\nthe data, which is unreasonable and unpractical. For instance, a modification\nin income would inevitably impact features like the debt-to-income ratio within\na banking system. By considering the underappreciated causal generating\nprocess, first, we pinpoint the source of the vulnerability of DNNs via the\nlens of causality, then give theoretical results to answer \\emph{where to\nattack}. Second, considering the consequences of the attack interventions on\nthe current state of the examples to generate more realistic adversarial\nexamples, we propose CADE, a framework that can generate\n\\textbf{C}ounterfactual \\textbf{AD}versarial \\textbf{E}xamples to answer\n\\emph{how to attack}. The empirical results demonstrate CADE's effectiveness,\nas evidenced by its competitive performance across diverse attack scenarios,\nincluding white-box, transfer-based, and random intervention attacks.\n", "date": "2023-12-21", "categories": []} {"id": "2401.14948", "title": "Conserve-Update-Revise to Cure Generalization and Robustness Trade-off\n in Adversarial Training", "abstract": " Adversarial training improves the robustness of neural networks against\nadversarial attacks, albeit at the expense of the trade-off between standard\nand robust generalization. To unveil the underlying factors driving this\nphenomenon, we examine the layer-wise learning capabilities of neural networks\nduring the transition from a standard to an adversarial setting. Our empirical\nfindings demonstrate that selectively updating specific layers while preserving\nothers can substantially enhance the network's learning capacity. We therefore\npropose CURE, a novel training framework that leverages a gradient prominence\ncriterion to perform selective conservation, updating, and revision of weights.\nImportantly, CURE is designed to be dataset- and architecture-agnostic,\nensuring its applicability across various scenarios. It effectively tackles\nboth memorization and overfitting issues, thus enhancing the trade-off between\nrobustness and generalization and additionally, this training approach also\naids in mitigating \"robust overfitting\". Furthermore, our study provides\nvaluable insights into the mechanisms of selective adversarial training and\noffers a promising avenue for future research.\n", "date": "2024-01-26", "categories": []} {"id": "2302.01757", "title": "RS-Del: Edit Distance Robustness Certificates for Sequence Classifiers\n via Randomized Deletion", "abstract": " Randomized smoothing is a leading approach for constructing classifiers that\nare certifiably robust against adversarial examples. Existing work on\nrandomized smoothing has focused on classifiers with continuous inputs, such as\nimages, where $\\ell_p$-norm bounded adversaries are commonly studied. However,\nthere has been limited work for classifiers with discrete or variable-size\ninputs, such as for source code, which require different threat models and\nsmoothing mechanisms. In this work, we adapt randomized smoothing for discrete\nsequence classifiers to provide certified robustness against edit\ndistance-bounded adversaries. Our proposed smoothing mechanism randomized\ndeletion (RS-Del) applies random deletion edits, which are (perhaps\nsurprisingly) sufficient to confer robustness against adversarial deletion,\ninsertion and substitution edits. Our proof of certification deviates from the\nestablished Neyman-Pearson approach, which is intractable in our setting, and\nis instead organized around longest common subsequences. We present a case\nstudy on malware detection--a binary classification problem on byte sequences\nwhere classifier evasion is a well-established threat model. When applied to\nthe popular MalConv malware detection model, our smoothing mechanism RS-Del\nachieves a certified accuracy of 91% at an edit distance radius of 128 bytes.\n", "date": "2023-01-31", "categories": []} {"id": "2306.13119", "title": "Adversarial Resilience in Sequential Prediction via Abstention", "abstract": " We study the problem of sequential prediction in the stochastic setting with\nan adversary that is allowed to inject clean-label adversarial (or\nout-of-distribution) examples. Algorithms designed to handle purely stochastic\ndata tend to fail in the presence of such adversarial examples, often leading\nto erroneous predictions. This is undesirable in many high-stakes applications\nsuch as medical recommendations, where abstaining from predictions on\nadversarial examples is preferable to misclassification. On the other hand,\nassuming fully adversarial data leads to very pessimistic bounds that are often\nvacuous in practice.\n To capture this motivation, we propose a new model of sequential prediction\nthat sits between the purely stochastic and fully adversarial settings by\nallowing the learner to abstain from making a prediction at no cost on\nadversarial examples. Assuming access to the marginal distribution on the\nnon-adversarial examples, we design a learner whose error scales with the VC\ndimension (mirroring the stochastic setting) of the hypothesis class, as\nopposed to the Littlestone dimension which characterizes the fully adversarial\nsetting. Furthermore, we design a learner for VC dimension~1 classes, which\nworks even in the absence of access to the marginal distribution. Our key\ntechnical contribution is a novel measure for quantifying uncertainty for\nlearning VC classes, which may be of independent interest.\n", "date": "2023-06-22", "categories": []} {"id": "2401.12236", "title": "The Surprising Harmfulness of Benign Overfitting for Adversarial\n Robustness", "abstract": " Recent empirical and theoretical studies have established the generalization\ncapabilities of large machine learning models that are trained to\n(approximately or exactly) fit noisy data. In this work, we prove a surprising\nresult that even if the ground truth itself is robust to adversarial examples,\nand the benignly overfitted model is benign in terms of the ``standard''\nout-of-sample risk objective, this benign overfitting process can be harmful\nwhen out-of-sample data are subject to adversarial manipulation. More\nspecifically, our main results contain two parts: (i) the min-norm estimator in\noverparameterized linear model always leads to adversarial vulnerability in the\n``benign overfitting'' setting; (ii) we verify an asymptotic trade-off result\nbetween the standard risk and the ``adversarial'' risk of every ridge\nregression estimator, implying that under suitable conditions these two items\ncannot both be small at the same time by any single choice of the ridge\nregularization parameter. Furthermore, under the lazy training regime, we\ndemonstrate parallel results on two-layer neural tangent kernel (NTK) model,\nwhich align with empirical observations in deep neural networks. Our finding\nprovides theoretical insights into the puzzling phenomenon observed in\npractice, where the true target function (e.g., human) is robust against\nadverasrial attack, while beginly overfitted neural networks lead to models\nthat are not robust.\n", "date": "2024-01-19", "categories": []} {"id": "2401.14031", "title": "Sparse and Transferable Universal Singular Vectors Attack", "abstract": " The research in the field of adversarial attacks and models' vulnerability is\none of the fundamental directions in modern machine learning. Recent studies\nreveal the vulnerability phenomenon, and understanding the mechanisms behind\nthis is essential for improving neural network characteristics and\ninterpretability. In this paper, we propose a novel sparse universal white-box\nadversarial attack. Our approach is based on truncated power iteration\nproviding sparsity to $(p,q)$-singular vectors of the hidden layers of Jacobian\nmatrices. Using the ImageNet benchmark validation subset, we analyze the\nproposed method in various settings, achieving results comparable to dense\nbaselines with more than a 50% fooling rate while damaging only 5% of pixels\nand utilizing 256 samples for perturbation fitting. We also show that our\nalgorithm admits higher attack magnitude without affecting the human ability to\nsolve the task. Furthermore, we investigate that the constructed perturbations\nare highly transferable among different models without significantly decreasing\nthe fooling rate. Our findings demonstrate the vulnerability of\nstate-of-the-art models to sparse attacks and highlight the importance of\ndeveloping robust machine learning systems.\n", "date": "2024-01-25", "categories": []} {"id": "2401.06373", "title": "How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to\n Challenge AI Safety by Humanizing LLMs", "abstract": " Most traditional AI safety research has approached AI models as machines and\ncentered on algorithm-focused attacks developed by security experts. As large\nlanguage models (LLMs) become increasingly common and competent, non-expert\nusers can also impose risks during daily interactions. This paper introduces a\nnew perspective to jailbreak LLMs as human-like communicators, to explore this\noverlooked intersection between everyday language interaction and AI safety.\nSpecifically, we study how to persuade LLMs to jailbreak them. First, we\npropose a persuasion taxonomy derived from decades of social science research.\nThen, we apply the taxonomy to automatically generate interpretable persuasive\nadversarial prompts (PAP) to jailbreak LLMs. Results show that persuasion\nsignificantly increases the jailbreak performance across all risk categories:\nPAP consistently achieves an attack success rate of over $92\\%$ on Llama 2-7b\nChat, GPT-3.5, and GPT-4 in $10$ trials, surpassing recent algorithm-focused\nattacks. On the defense side, we explore various mechanisms against PAP and,\nfound a significant gap in existing defenses, and advocate for more fundamental\nmitigation for highly interactive LLMs\n", "date": "2024-01-12", "categories": []} {"id": "2401.13205", "title": "Boosting the Transferability of Adversarial Examples via Local Mixup and\n Adaptive Step Size", "abstract": " Adversarial examples are one critical security threat to various visual\napplications, where injected human-imperceptible perturbations can confuse the\noutput.Generating transferable adversarial examples in the black-box setting is\ncrucial but challenging in practice. Existing input-diversity-based methods\nadopt different image transformations, but may be inefficient due to\ninsufficient input diversity and an identical perturbation step size. Motivated\nby the fact that different image regions have distinctive weights in\nclassification, this paper proposes a black-box adversarial generative\nframework by jointly designing enhanced input diversity and adaptive step\nsizes. We design local mixup to randomly mix a group of transformed adversarial\nimages, strengthening the input diversity. For precise adversarial generation,\nwe project the perturbation into the $tanh$ space to relax the boundary\nconstraint. Moreover, the step sizes of different regions can be dynamically\nadjusted by integrating a second-order momentum.Extensive experiments on\nImageNet validate that our framework can achieve superior transferability\ncompared to state-of-the-art baselines.\n", "date": "2024-01-24", "categories": []} {"id": "2401.13212", "title": "AdCorDA: Classifier Refinement via Adversarial Correction and Domain\n Adaptation", "abstract": " This paper describes a simple yet effective technique for refining a\npretrained classifier network. The proposed AdCorDA method is based on\nmodification of the training set and making use of the duality between network\nweights and layer inputs. We call this input space training. The method\nconsists of two stages - adversarial correction followed by domain adaptation.\nAdversarial correction uses adversarial attacks to correct incorrect\ntraining-set classifications. The incorrectly classified samples of the\ntraining set are removed and replaced with the adversarially corrected samples\nto form a new training set, and then, in the second stage, domain adaptation is\nperformed back to the original training set. Extensive experimental validations\nshow significant accuracy boosts of over 5% on the CIFAR-100 dataset. The\ntechnique can be straightforwardly applied to refinement of weight-quantized\nneural networks, where experiments show substantial enhancement in performance\nover the baseline. The adversarial correction technique also results in\nenhanced robustness to adversarial attacks.\n", "date": "2024-01-24", "categories": []} {"id": "2401.13624", "title": "Can overfitted deep neural networks in adversarial training generalize?\n -- An approximation viewpoint", "abstract": " Adversarial training is a widely used method to improve the robustness of\ndeep neural networks (DNNs) over adversarial perturbations. However, it is\nempirically observed that adversarial training on over-parameterized networks\noften suffers from the \\textit{robust overfitting}: it can achieve almost zero\nadversarial training error while the robust generalization performance is not\npromising. In this paper, we provide a theoretical understanding of the\nquestion of whether overfitted DNNs in adversarial training can generalize from\nan approximation viewpoint. Specifically, our main results are summarized into\nthree folds: i) For classification, we prove by construction the existence of\ninfinitely many adversarial training classifiers on over-parameterized DNNs\nthat obtain arbitrarily small adversarial training error (overfitting), whereas\nachieving good robust generalization error under certain conditions concerning\nthe data quality, well separated, and perturbation level. ii) Linear\nover-parameterization (meaning that the number of parameters is only slightly\nlarger than the sample size) is enough to ensure such existence if the target\nfunction is smooth enough. iii) For regression, our results demonstrate that\nthere also exist infinitely many overfitted DNNs with linear\nover-parameterization in adversarial training that can achieve almost optimal\nrates of convergence for the standard generalization error. Overall, our\nanalysis points out that robust overfitting can be avoided but the required\nmodel capacity will depend on the smoothness of the target function, while a\nrobust generalization gap is inevitable. We hope our analysis will give a\nbetter understanding of the mathematical foundations of robustness in DNNs from\nan approximation view.\n", "date": "2024-01-24", "categories": []} {"id": "2305.13208", "title": "Iterative Adversarial Attack on Image-guided Story Ending Generation", "abstract": " Multimodal learning involves developing models that can integrate information\nfrom various sources like images and texts. In this field, multimodal text\ngeneration is a crucial aspect that involves processing data from multiple\nmodalities and outputting text. The image-guided story ending generation\n(IgSEG) is a particularly significant task, targeting on an understanding of\ncomplex relationships between text and image data with a complete story text\nending. Unfortunately, deep neural networks, which are the backbone of recent\nIgSEG models, are vulnerable to adversarial samples. Current adversarial attack\nmethods mainly focus on single-modality data and do not analyze adversarial\nattacks for multimodal text generation tasks that use cross-modal information.\nTo this end, we propose an iterative adversarial attack method\n(Iterative-attack) that fuses image and text modality attacks, allowing for an\nattack search for adversarial text and image in an more effective iterative\nway. Experimental results demonstrate that the proposed method outperforms\nexisting single-modal and non-iterative multimodal attack methods, indicating\nthe potential for improving the adversarial robustness of multimodal text\ngeneration models, such as multimodal machine translation, multimodal question\nanswering, etc.\n", "date": "2023-05-16", "categories": []} {"id": "2401.12532", "title": "DAFA: Distance-Aware Fair Adversarial Training", "abstract": " The disparity in accuracy between classes in standard training is amplified\nduring adversarial training, a phenomenon termed the robust fairness problem.\nExisting methodologies aimed to enhance robust fairness by sacrificing the\nmodel's performance on easier classes in order to improve its performance on\nharder ones. However, we observe that under adversarial attacks, the majority\nof the model's predictions for samples from the worst class are biased towards\nclasses similar to the worst class, rather than towards the easy classes.\nThrough theoretical and empirical analysis, we demonstrate that robust fairness\ndeteriorates as the distance between classes decreases. Motivated by these\ninsights, we introduce the Distance-Aware Fair Adversarial training (DAFA)\nmethodology, which addresses robust fairness by taking into account the\nsimilarities between classes. Specifically, our method assigns distinct loss\nweights and adversarial margins to each class and adjusts them to encourage a\ntrade-off in robustness among similar classes. Experimental results across\nvarious datasets demonstrate that our method not only maintains average robust\naccuracy but also significantly improves the worst robust accuracy, indicating\na marked improvement in robust fairness compared to existing methods.\n", "date": "2024-01-23", "categories": []} {"id": "2306.06071", "title": "Adversarial Attack On Yolov5 For Traffic And Road Sign Detection", "abstract": " This paper implements and investigates popular adversarial attacks on the\nYOLOv5 Object Detection algorithm. The paper explores the vulnerability of the\nYOLOv5 to adversarial attacks in the context of traffic and road sign\ndetection. The paper investigates the impact of different types of attacks,\nincluding the Limited memory Broyden Fletcher Goldfarb Shanno (L-BFGS), the\nFast Gradient Sign Method (FGSM) attack, the Carlini and Wagner (C&W) attack,\nthe Basic Iterative Method (BIM) attack, the Projected Gradient Descent (PGD)\nattack, One Pixel Attack, and the Universal Adversarial Perturbations attack on\nthe accuracy of YOLOv5 in detecting traffic and road signs. The results show\nthat YOLOv5 is susceptible to these attacks, with misclassification rates\nincreasing as the magnitude of the perturbations increases. We also explain the\nresults using saliency maps. The findings of this paper have important\nimplications for the safety and reliability of object detection algorithms used\nin traffic and transportation systems, highlighting the need for more robust\nand secure models to ensure their effectiveness in real-world applications.\n", "date": "2023-05-27", "categories": []} {"id": "2312.13118", "title": "LRS: Enhancing Adversarial Transferability through Lipschitz Regularized\n Surrogate", "abstract": " The transferability of adversarial examples is of central importance to\ntransfer-based black-box adversarial attacks. Previous works for generating\ntransferable adversarial examples focus on attacking \\emph{given} pretrained\nsurrogate models while the connections between surrogate models and adversarial\ntrasferability have been overlooked. In this paper, we propose {\\em Lipschitz\nRegularized Surrogate} (LRS) for transfer-based black-box attacks, a novel\napproach that transforms surrogate models towards favorable adversarial\ntransferability. Using such transformed surrogate models, any existing\ntransfer-based black-box attack can run without any change, yet achieving much\nbetter performance. Specifically, we impose Lipschitz regularization on the\nloss landscape of surrogate models to enable a smoother and more controlled\noptimization process for generating more transferable adversarial examples. In\naddition, this paper also sheds light on the connection between the inner\nproperties of surrogate models and adversarial transferability, where three\nfactors are identified: smaller local Lipschitz constant, smoother loss\nlandscape, and stronger adversarial robustness. We evaluate our proposed LRS\napproach by attacking state-of-the-art standard deep neural networks and\ndefense models. The results demonstrate significant improvement on the attack\nsuccess rates and transferability. Our code is available at\nhttps://github.com/TrustAIoT/LRS.\n", "date": "2023-12-20", "categories": []} {"id": "2401.07991", "title": "Robustness Against Adversarial Attacks via Learning Confined Adversarial\n Polytopes", "abstract": " Deep neural networks (DNNs) could be deceived by generating\nhuman-imperceptible perturbations of clean samples. Therefore, enhancing the\nrobustness of DNNs against adversarial attacks is a crucial task. In this\npaper, we aim to train robust DNNs by limiting the set of outputs reachable via\na norm-bounded perturbation added to a clean sample. We refer to this set as\nadversarial polytope, and each clean sample has a respective adversarial\npolytope. Indeed, if the respective polytopes for all the samples are compact\nsuch that they do not intersect the decision boundaries of the DNN, then the\nDNN is robust against adversarial samples. Hence, the inner-working of our\nalgorithm is based on learning \\textbf{c}onfined \\textbf{a}dversarial\n\\textbf{p}olytopes (CAP). By conducting a thorough set of experiments, we\ndemonstrate the effectiveness of CAP over existing adversarial robustness\nmethods in improving the robustness of models against state-of-the-art attacks\nincluding AutoAttack.\n", "date": "2024-01-15", "categories": []} {"id": "2401.11126", "title": "CARE: Ensemble Adversarial Robustness Evaluation Against Adaptive\n Attackers for Security Applications", "abstract": " Ensemble defenses, are widely employed in various security-related\napplications to enhance model performance and robustness. The widespread\nadoption of these techniques also raises many questions: Are general ensembles\ndefenses guaranteed to be more robust than individuals? Will stronger adaptive\nattacks defeat existing ensemble defense strategies as the cybersecurity arms\nrace progresses? Can ensemble defenses achieve adversarial robustness to\ndifferent types of attacks simultaneously and resist the continually adjusted\nadaptive attacks? Unfortunately, these critical questions remain unresolved as\nthere are no platforms for comprehensive evaluation of ensemble adversarial\nattacks and defenses in the cybersecurity domain. In this paper, we propose a\ngeneral Cybersecurity Adversarial Robustness Evaluation (CARE) platform aiming\nto bridge this gap.\n", "date": "2024-01-20", "categories": []} {"id": "2401.11543", "title": "How Robust Are Energy-Based Models Trained With Equilibrium Propagation?", "abstract": " Deep neural networks (DNNs) are easily fooled by adversarial perturbations\nthat are imperceptible to humans. Adversarial training, a process where\nadversarial examples are added to the training set, is the current\nstate-of-the-art defense against adversarial attacks, but it lowers the model's\naccuracy on clean inputs, is computationally expensive, and offers less\nrobustness to natural noise. In contrast, energy-based models (EBMs), which\nwere designed for efficient implementation in neuromorphic hardware and\nphysical systems, incorporate feedback connections from each layer to the\nprevious layer, yielding a recurrent, deep-attractor architecture which we\nhypothesize should make them naturally robust. Our work is the first to explore\nthe robustness of EBMs to both natural corruptions and adversarial attacks,\nwhich we do using the CIFAR-10 and CIFAR-100 datasets. We demonstrate that EBMs\nare more robust than transformers and display comparable robustness to\nadversarially-trained DNNs on gradient-based (white-box) attacks, query-based\n(black-box) attacks, and natural perturbations without sacrificing clean\naccuracy, and without the need for adversarial training or additional training\ntechniques.\n", "date": "2024-01-21", "categories": []} {"id": "2401.11902", "title": "A Training-Free Defense Framework for Robust Learned Image Compression", "abstract": " We study the robustness of learned image compression models against\nadversarial attacks and present a training-free defense technique based on\nsimple image transform functions. Recent learned image compression models are\nvulnerable to adversarial attacks that result in poor compression rate, low\nreconstruction quality, or weird artifacts. To address the limitations, we\npropose a simple but effective two-way compression algorithm with random input\ntransforms, which is conveniently applicable to existing image compression\nmodels. Unlike the na\\\"ive approaches, our approach preserves the original\nrate-distortion performance of the models on clean images. Moreover, the\nproposed algorithm requires no additional training or modification of existing\nmodels, making it more practical. We demonstrate the effectiveness of the\nproposed techniques through extensive experiments under multiple compression\nmodels, evaluation metrics, and attack scenarios.\n", "date": "2024-01-22", "categories": []} {"id": "2210.14018", "title": "A White-Box Adversarial Attack Against a Digital Twin", "abstract": " Recent research has shown that Machine Learning/Deep Learning (ML/DL) models\nare particularly vulnerable to adversarial perturbations, which are small\nchanges made to the input data in order to fool a machine learning classifier.\nThe Digital Twin, which is typically described as consisting of a physical\nentity, a virtual counterpart, and the data connections in between, is\nincreasingly being investigated as a means of improving the performance of\nphysical entities by leveraging computational techniques, which are enabled by\nthe virtual counterpart. This paper explores the susceptibility of Digital Twin\n(DT), a virtual model designed to accurately reflect a physical object using\nML/DL classifiers that operate as Cyber Physical Systems (CPS), to adversarial\nattacks. As a proof of concept, we first formulate a DT of a vehicular system\nusing a deep neural network architecture and then utilize it to launch an\nadversarial attack. We attack the DT model by perturbing the input to the\ntrained model and show how easily the model can be broken with white-box\nattacks.\n", "date": "2022-10-25", "categories": []} {"id": "2301.10766", "title": "On the Adversarial Robustness of Camera-based 3D Object Detection", "abstract": " In recent years, camera-based 3D object detection has gained widespread\nattention for its ability to achieve high performance with low computational\ncost. However, the robustness of these methods to adversarial attacks has not\nbeen thoroughly examined, especially when considering their deployment in\nsafety-critical domains like autonomous driving. In this study, we conduct the\nfirst comprehensive investigation of the robustness of leading camera-based 3D\nobject detection approaches under various adversarial conditions. We\nsystematically analyze the resilience of these models under two attack\nsettings: white-box and black-box; focusing on two primary objectives:\nclassification and localization. Additionally, we delve into two types of\nadversarial attack techniques: pixel-based and patch-based. Our experiments\nyield four interesting findings: (a) bird's-eye-view-based representations\nexhibit stronger robustness against localization attacks; (b)\ndepth-estimation-free approaches have the potential to show stronger\nrobustness; (c) accurate depth estimation effectively improves robustness for\ndepth-estimation-based methods; (d) incorporating multi-frame benign inputs can\neffectively mitigate adversarial attacks. We hope our findings can steer the\ndevelopment of future camera-based object detection models with enhanced\nadversarial robustness.\n", "date": "2023-01-25", "categories": []} {"id": "2401.10405", "title": "Differentially Private and Adversarially Robust Machine Learning: An\n Empirical Evaluation", "abstract": " Malicious adversaries can attack machine learning models to infer sensitive\ninformation or damage the system by launching a series of evasion attacks.\nAlthough various work addresses privacy and security concerns, they focus on\nindividual defenses, but in practice, models may undergo simultaneous attacks.\nThis study explores the combination of adversarial training and differentially\nprivate training to defend against simultaneous attacks. While\ndifferentially-private adversarial training, as presented in DP-Adv,\noutperforms the other state-of-the-art methods in performance, it lacks formal\nprivacy guarantees and empirical validation. Thus, in this work, we benchmark\nthe performance of this technique using a membership inference attack and\nempirically show that the resulting approach is as private as non-robust\nprivate models. This work also highlights the need to explore privacy\nguarantees in dynamic training paradigms.\n", "date": "2024-01-18", "categories": []} {"id": "2401.10657", "title": "FIMBA: Evaluating the Robustness of AI in Genomics via Feature\n Importance Adversarial Attacks", "abstract": " With the steady rise of the use of AI in bio-technical applications and the\nwidespread adoption of genomics sequencing, an increasing amount of AI-based\nalgorithms and tools is entering the research and production stage affecting\ncritical decision-making streams like drug discovery and clinical outcomes.\nThis paper demonstrates the vulnerability of AI models often utilized\ndownstream tasks on recognized public genomics datasets. We undermine model\nrobustness by deploying an attack that focuses on input transformation while\nmimicking the real data and confusing the model decision-making, ultimately\nyielding a pronounced deterioration in model performance. Further, we enhance\nour approach by generating poisoned data using a variational autoencoder-based\nmodel. Our empirical findings unequivocally demonstrate a decline in model\nperformance, underscored by diminished accuracy and an upswing in false\npositives and false negatives. Furthermore, we analyze the resulting\nadversarial samples via spectral analysis yielding conclusions for\ncountermeasures against such attacks.\n", "date": "2024-01-19", "categories": []} {"id": "2401.09945", "title": "HGAttack: Transferable Heterogeneous Graph Adversarial Attack", "abstract": " Heterogeneous Graph Neural Networks (HGNNs) are increasingly recognized for\ntheir performance in areas like the web and e-commerce, where resilience\nagainst adversarial attacks is crucial. However, existing adversarial attack\nmethods, which are primarily designed for homogeneous graphs, fall short when\napplied to HGNNs due to their limited ability to address the structural and\nsemantic complexity of HGNNs. This paper introduces HGAttack, the first\ndedicated gray box evasion attack method for heterogeneous graphs. We design a\nnovel surrogate model to closely resemble the behaviors of the target HGNN and\nutilize gradient-based methods for perturbation generation. Specifically, the\nproposed surrogate model effectively leverages heterogeneous information by\nextracting meta-path induced subgraphs and applying GNNs to learn node\nembeddings with distinct semantics from each subgraph. This approach improves\nthe transferability of generated attacks on the target HGNN and significantly\nreduces memory costs. For perturbation generation, we introduce a\nsemantics-aware mechanism that leverages subgraph gradient information to\nautonomously identify vulnerable edges across a wide range of relations within\na constrained perturbation budget. We validate HGAttack's efficacy with\ncomprehensive experiments on three datasets, providing empirical analyses of\nits generated perturbations. Outperforming baseline methods, HGAttack\ndemonstrated significant efficacy in diminishing the performance of target HGNN\nmodels, affirming the effectiveness of our approach in evaluating the\nrobustness of HGNNs against adversarial attacks.\n", "date": "2024-01-18", "categories": []} {"id": "2401.10091", "title": "Power in Numbers: Robust reading comprehension by finetuning with four\n adversarial sentences per example", "abstract": " Recent models have achieved human level performance on the Stanford Question\nAnswering Dataset when using F1 scores to evaluate the reading comprehension\ntask. Yet, teaching machines to comprehend text has not been solved in the\ngeneral case. By appending one adversarial sentence to the context paragraph,\npast research has shown that the F1 scores from reading comprehension models\ndrop almost in half. In this paper, I replicate past adversarial research with\na new model, ELECTRA-Small, and demonstrate that the new model's F1 score drops\nfrom 83.9% to 29.2%. To improve ELECTRA-Small's resistance to this attack, I\nfinetune the model on SQuAD v1.1 training examples with one to five adversarial\nsentences appended to the context paragraph. Like past research, I find that\nthe finetuned model on one adversarial sentence does not generalize well across\nevaluation datasets. However, when finetuned on four or five adversarial\nsentences the model attains an F1 score of more than 70% on most evaluation\ndatasets with multiple appended and prepended adversarial sentences. The\nresults suggest that with enough examples we can make models robust to\nadversarial attacks.\n", "date": "2024-01-18", "categories": []} {"id": "2305.16494", "title": "Diffusion-Based Adversarial Sample Generation for Improved Stealthiness\n and Controllability", "abstract": " Neural networks are known to be susceptible to adversarial samples: small\nvariations of natural examples crafted to deliberately mislead the models.\nWhile they can be easily generated using gradient-based techniques in digital\nand physical scenarios, they often differ greatly from the actual data\ndistribution of natural images, resulting in a trade-off between strength and\nstealthiness. In this paper, we propose a novel framework dubbed\nDiffusion-Based Projected Gradient Descent (Diff-PGD) for generating realistic\nadversarial samples. By exploiting a gradient guided by a diffusion model,\nDiff-PGD ensures that adversarial samples remain close to the original data\ndistribution while maintaining their effectiveness. Moreover, our framework can\nbe easily customized for specific tasks such as digital attacks, physical-world\nattacks, and style-based attacks. Compared with existing methods for generating\nnatural-style adversarial samples, our framework enables the separation of\noptimizing adversarial loss from other surrogate losses (e.g.,\ncontent/smoothness/style loss), making it more stable and controllable.\nFinally, we demonstrate that the samples generated using Diff-PGD have better\ntransferability and anti-purification power than traditional gradient-based\nmethods. Code will be released in https://github.com/xavihart/Diff-PGD\n", "date": "2023-05-25", "categories": []} {"id": "2401.08725", "title": "Revealing Vulnerabilities in Stable Diffusion via Targeted Attacks", "abstract": " Recent developments in text-to-image models, particularly Stable Diffusion,\nhave marked significant achievements in various applications. With these\nadvancements, there are growing safety concerns about the vulnerability of the\nmodel that malicious entities exploit to generate targeted harmful images.\nHowever, the existing methods in the vulnerability of the model mainly evaluate\nthe alignment between the prompt and generated images, but fall short in\nrevealing the vulnerability associated with targeted image generation. In this\nstudy, we formulate the problem of targeted adversarial attack on Stable\nDiffusion and propose a framework to generate adversarial prompts.\nSpecifically, we design a gradient-based embedding optimization method to craft\nreliable adversarial prompts that guide stable diffusion to generate specific\nimages. Furthermore, after obtaining successful adversarial prompts, we reveal\nthe mechanisms that cause the vulnerability of the model. Extensive experiments\non two targeted attack tasks demonstrate the effectiveness of our method in\ntargeted attacks. The code can be obtained in\nhttps://github.com/datar001/Revealing-Vulnerabilities-in-Stable-Diffusion-via-Targeted-Attacks.\n", "date": "2024-01-16", "categories": []} {"id": "2401.09191", "title": "An Optimal Transport Approach for Computing Adversarial Training Lower\n Bounds in Multiclass Classification", "abstract": " Despite the success of deep learning-based algorithms, it is widely known\nthat neural networks may fail to be robust. A popular paradigm to enforce\nrobustness is adversarial training (AT), however, this introduces many\ncomputational and theoretical difficulties. Recent works have developed a\nconnection between AT in the multiclass classification setting and\nmultimarginal optimal transport (MOT), unlocking a new set of tools to study\nthis problem. In this paper, we leverage the MOT connection to propose\ncomputationally tractable numerical algorithms for computing universal lower\nbounds on the optimal adversarial risk and identifying optimal classifiers. We\npropose two main algorithms based on linear programming (LP) and entropic\nregularization (Sinkhorn). Our key insight is that one can harmlessly truncate\nthe higher order interactions between classes, preventing the combinatorial run\ntimes typically encountered in MOT problems. We validate these results with\nexperiments on MNIST and CIFAR-$10$, which demonstrate the tractability of our\napproach.\n", "date": "2024-01-17", "categories": []} {"id": "2312.02708", "title": "Provable Adversarial Robustness for Group Equivariant Tasks: Graphs,\n Point Clouds, Molecules, and More", "abstract": " A machine learning model is traditionally considered robust if its prediction\nremains (almost) constant under input perturbations with small norm. However,\nreal-world tasks like molecular property prediction or point cloud segmentation\nhave inherent equivariances, such as rotation or permutation equivariance. In\nsuch tasks, even perturbations with large norm do not necessarily change an\ninput's semantic content. Furthermore, there are perturbations for which a\nmodel's prediction explicitly needs to change. For the first time, we propose a\nsound notion of adversarial robustness that accounts for task equivariance. We\nthen demonstrate that provable robustness can be achieved by (1) choosing a\nmodel that matches the task's equivariances (2) certifying traditional\nadversarial robustness. Certification methods are, however, unavailable for\nmany models, such as those with continuous equivariances. We close this gap by\ndeveloping the framework of equivariance-preserving randomized smoothing, which\nenables architecture-agnostic certification. We additionally derive the first\narchitecture-specific graph edit distance certificates, i.e. sound robustness\nguarantees for isomorphism equivariant tasks like node classification. Overall,\na sound notion of robustness is an important prerequisite for future work at\nthe intersection of robust and geometric machine learning.\n", "date": "2023-12-05", "categories": []} {"id": "2401.02727", "title": "Enhancing targeted transferability via feature space fine-tuning", "abstract": " Adversarial examples (AEs) have been extensively studied due to their\npotential for privacy protection and inspiring robust neural networks. Yet,\nmaking a targeted AE transferable across unknown models remains challenging. In\nthis paper, to alleviate the overfitting dilemma common in an AE crafted by\nexisting simple iterative attacks, we propose fine-tuning it in the feature\nspace. Specifically, starting with an AE generated by a baseline attack, we\nencourage the features conducive to the target class and discourage the\nfeatures to the original class in a middle layer of the source model. Extensive\nexperiments demonstrate that only a few iterations of fine-tuning can boost\nexisting attacks' targeted transferability nontrivially and universally. Our\nresults also verify that the simple iterative attacks can yield comparable or\neven better transferability than the resource-intensive methods, which rest on\ntraining target-specific classifiers or generators with additional data. The\ncode is available at: github.com/zengh5/TA_feature_FT.\n", "date": "2024-01-05", "categories": []} {"id": "2401.07087", "title": "Exploring Adversarial Attacks against Latent Diffusion Model from the\n Perspective of Adversarial Transferability", "abstract": " Recently, many studies utilized adversarial examples (AEs) to raise the cost\nof malicious image editing and copyright violation powered by latent diffusion\nmodels (LDMs). Despite their successes, a few have studied the surrogate model\nthey used to generate AEs. In this paper, from the perspective of adversarial\ntransferability, we investigate how the surrogate model's property influences\nthe performance of AEs for LDMs. Specifically, we view the time-step sampling\nin the Monte-Carlo-based (MC-based) adversarial attack as selecting surrogate\nmodels. We find that the smoothness of surrogate models at different time steps\ndiffers, and we substantially improve the performance of the MC-based AEs by\nselecting smoother surrogate models. In the light of the theoretical framework\non adversarial transferability in image classification, we also conduct a\ntheoretical analysis to explain why smooth surrogate models can also boost AEs\nfor LDMs.\n", "date": "2024-01-13", "categories": []} {"id": "2401.07188", "title": "Left-right Discrepancy for Adversarial Attack on Stereo Networks", "abstract": " Stereo matching neural networks often involve a Siamese structure to extract\nintermediate features from left and right images. The similarity between these\nintermediate left-right features significantly impacts the accuracy of\ndisparity estimation. In this paper, we introduce a novel adversarial attack\napproach that generates perturbation noise specifically designed to maximize\nthe discrepancy between left and right image features. Extensive experiments\ndemonstrate the superior capability of our method to induce larger prediction\nerrors in stereo neural networks, e.g. outperforming existing state-of-the-art\nattack methods by 219% MAE on the KITTI dataset and 85% MAE on the Scene Flow\ndataset. Additionally, we extend our approach to include a proxy network\nblack-box attack method, eliminating the need for access to stereo neural\nnetwork. This method leverages an arbitrary network from a different vision\ntask as a proxy to generate adversarial noise, effectively causing the stereo\nnetwork to produce erroneous predictions. Our findings highlight a notable\nsensitivity of stereo networks to discrepancies in shallow layer features,\noffering valuable insights that could guide future research in enhancing the\nrobustness of stereo vision systems.\n", "date": "2024-01-14", "categories": []} {"id": "2401.08255", "title": "A Generative Adversarial Attack for Multilingual Text Classifiers", "abstract": " Current adversarial attack algorithms, where an adversary changes a text to\nfool a victim model, have been repeatedly shown to be effective against text\nclassifiers. These attacks, however, generally assume that the victim model is\nmonolingual and cannot be used to target multilingual victim models, a\nsignificant limitation given the increased use of these models. For this\nreason, in this work we propose an approach to fine-tune a multilingual\nparaphrase model with an adversarial objective so that it becomes able to\ngenerate effective adversarial examples against multilingual classifiers. The\ntraining objective incorporates a set of pre-trained models to ensure text\nquality and language consistency of the generated text. In addition, all the\nmodels are suitably connected to the generator by vocabulary-mapping matrices,\nallowing for full end-to-end differentiability of the overall training\npipeline. The experimental validation over two multilingual datasets and five\nlanguages has shown the effectiveness of the proposed approach compared to\nexisting baselines, particularly in terms of query efficiency. We also provide\na detailed analysis of the generated attacks and discuss limitations and\nopportunities for future research.\n", "date": "2024-01-16", "categories": []} {"id": "2303.02669", "title": "Consistent Valid Physically-Realizable Adversarial Attack against\n Crowd-flow Prediction Models", "abstract": " Recent works have shown that deep learning (DL) models can effectively learn\ncity-wide crowd-flow patterns, which can be used for more effective urban\nplanning and smart city management. However, DL models have been known to\nperform poorly on inconspicuous adversarial perturbations. Although many works\nhave studied these adversarial perturbations in general, the adversarial\nvulnerabilities of deep crowd-flow prediction models in particular have\nremained largely unexplored. In this paper, we perform a rigorous analysis of\nthe adversarial vulnerabilities of DL-based crowd-flow prediction models under\nmultiple threat settings, making three-fold contributions. (1) We propose\nCaV-detect by formally identifying two novel properties - Consistency and\nValidity - of the crowd-flow prediction inputs that enable the detection of\nstandard adversarial inputs with 0% false acceptance rate (FAR). (2) We\nleverage universal adversarial perturbations and an adaptive adversarial loss\nto present adaptive adversarial attacks to evade CaV-detect defense. (3) We\npropose CVPR, a Consistent, Valid and Physically-Realizable adversarial attack,\nthat explicitly inducts the consistency and validity priors in the perturbation\ngeneration mechanism. We find out that although the crowd-flow models are\nvulnerable to adversarial perturbations, it is extremely challenging to\nsimulate these perturbations in physical settings, notably when CaV-detect is\nin place. We also show that CVPR attack considerably outperforms the adaptively\nmodified standard attacks in FAR and adversarial loss metrics. We conclude with\nuseful insights emerging from our work and highlight promising future research\ndirections.\n", "date": "2023-03-05", "categories": []} {"id": "2207.03689", "title": "Guiding the retraining of convolutional neural networks against\n adversarial inputs", "abstract": " Background: When using deep learning models, there are many possible\nvulnerabilities and some of the most worrying are the adversarial inputs, which\ncan cause wrong decisions with minor perturbations. Therefore, it becomes\nnecessary to retrain these models against adversarial inputs, as part of the\nsoftware testing process addressing the vulnerability to these inputs.\nFurthermore, for an energy efficient testing and retraining, data scientists\nneed support on which are the best guidance metrics and optimal dataset\nconfigurations.\n Aims: We examined four guidance metrics for retraining convolutional neural\nnetworks and three retraining configurations. Our goal is to improve the models\nagainst adversarial inputs regarding accuracy, resource utilization and time\nfrom the point of view of a data scientist in the context of image\nclassification.\n Method: We conducted an empirical study in two datasets for image\nclassification. We explore: (a) the accuracy, resource utilization and time of\nretraining convolutional neural networks by ordering new training set by four\ndifferent guidance metrics (neuron coverage, likelihood-based surprise\nadequacy, distance-based surprise adequacy and random), (b) the accuracy and\nresource utilization of retraining convolutional neural networks with three\ndifferent configurations (from scratch and augmented dataset, using weights and\naugmented dataset, and using weights and only adversarial inputs).\n Results: We reveal that retraining with adversarial inputs from original\nweights and by ordering with surprise adequacy metrics gives the best model\nw.r.t. the used metrics.\n Conclusions: Although more studies are necessary, we recommend data\nscientists to use the above configuration and metrics to deal with the\nvulnerability to adversarial inputs of deep learning models, as they can\nimprove their models against adversarial inputs without using many inputs.\n", "date": "2022-07-08", "categories": []} {"id": "2210.08159", "title": "Dynamics-aware Adversarial Attack of Adaptive Neural Networks", "abstract": " In this paper, we investigate the dynamics-aware adversarial attack problem\nof adaptive neural networks. Most existing adversarial attack algorithms are\ndesigned under a basic assumption -- the network architecture is fixed\nthroughout the attack process. However, this assumption does not hold for many\nrecently proposed adaptive neural networks, which adaptively deactivate\nunnecessary execution units based on inputs to improve computational\nefficiency. It results in a serious issue of lagged gradient, making the\nlearned attack at the current step ineffective due to the architecture change\nafterward. To address this issue, we propose a Leaded Gradient Method (LGM) and\nshow the significant effects of the lagged gradient. More specifically, we\nreformulate the gradients to be aware of the potential dynamic changes of\nnetwork architectures, so that the learned attack better \"leads\" the next step\nthan the dynamics-unaware methods when network architecture changes\ndynamically. Extensive experiments on representative types of adaptive neural\nnetworks for both 2D images and 3D point clouds show that our LGM achieves\nimpressive adversarial attack performance compared with the dynamic-unaware\nattack methods. Code is available at https://github.com/antao97/LGM.\n", "date": "2022-10-15", "categories": []} {"id": "2401.05998", "title": "Combating Adversarial Attacks with Multi-Agent Debate", "abstract": " While state-of-the-art language models have achieved impressive results, they\nremain susceptible to inference-time adversarial attacks, such as adversarial\nprompts generated by red teams arXiv:2209.07858. One approach proposed to\nimprove the general quality of language model generations is multi-agent\ndebate, where language models self-evaluate through discussion and feedback\narXiv:2305.14325. We implement multi-agent debate between current\nstate-of-the-art language models and evaluate models' susceptibility to red\nteam attacks in both single- and multi-agent settings. We find that multi-agent\ndebate can reduce model toxicity when jailbroken or less capable models are\nforced to debate with non-jailbroken or more capable models. We also find\nmarginal improvements through the general usage of multi-agent interactions. We\nfurther perform adversarial prompt content classification via embedding\nclustering, and analyze the susceptibility of different models to different\ntypes of attack topics.\n", "date": "2024-01-11", "categories": []} {"id": "2304.12707", "title": "Lyapunov-Stable Deep Equilibrium Models", "abstract": " Deep equilibrium (DEQ) models have emerged as a promising class of implicit\nlayer models, which abandon traditional depth by solving for the fixed points\nof a single nonlinear layer. Despite their success, the stability of the fixed\npoints for these models remains poorly understood. By considering DEQ models as\nnonlinear dynamic systems, we propose a robust DEQ model named LyaDEQ with\nguaranteed provable stability via Lyapunov theory. The crux of our method is\nensuring the Lyapunov stability of the DEQ model's fixed points, which enables\nthe proposed model to resist minor initial perturbations. To avoid poor\nadversarial defense due to Lyapunov-stable fixed points being located near each\nother, we orthogonalize the layers after the Lyapunov stability module to\nseparate different fixed points. We evaluate LyaDEQ models under well-known\nadversarial attacks, and experimental results demonstrate significant\nimprovement in robustness. Furthermore, we show that the LyaDEQ model can be\ncombined with other defense methods, such as adversarial training, to achieve\neven better adversarial robustness.\n", "date": "2023-04-25", "categories": []} {"id": "2308.00319", "title": "LimeAttack: Local Explainable Method for Textual Hard-Label Adversarial\n Attack", "abstract": " Natural language processing models are vulnerable to adversarial examples.\nPrevious textual adversarial attacks adopt gradients or confidence scores to\ncalculate word importance ranking and generate adversarial examples. However,\nthis information is unavailable in the real world. Therefore, we focus on a\nmore realistic and challenging setting, named hard-label attack, in which the\nattacker can only query the model and obtain a discrete prediction label.\nExisting hard-label attack algorithms tend to initialize adversarial examples\nby random substitution and then utilize complex heuristic algorithms to\noptimize the adversarial perturbation. These methods require a lot of model\nqueries and the attack success rate is restricted by adversary initialization.\nIn this paper, we propose a novel hard-label attack algorithm named LimeAttack,\nwhich leverages a local explainable method to approximate word importance\nranking, and then adopts beam search to find the optimal solution. Extensive\nexperiments show that LimeAttack achieves the better attacking performance\ncompared with existing hard-label attack under the same query budget. In\naddition, we evaluate the effectiveness of LimeAttack on large language models,\nand results indicate that adversarial examples remain a significant threat to\nlarge language models. The adversarial examples crafted by LimeAttack are\nhighly transferable and effectively improve model robustness in adversarial\ntraining.\n", "date": "2023-08-01", "categories": []} {"id": "2312.01468", "title": "Exploring Adversarial Robustness of LiDAR-Camera Fusion Model in\n Autonomous Driving", "abstract": " Our study assesses the adversarial robustness of LiDAR-camera fusion models\nin 3D object detection. We introduce an attack technique that, by simply adding\na limited number of physically constrained adversarial points above a car, can\nmake the car undetectable by the fusion model. Experimental results reveal that\neven without changes to the image data channel, the fusion model can be\ndeceived solely by manipulating the LiDAR data channel. This finding raises\nsafety concerns in the field of autonomous driving. Further, we explore how the\nquantity of adversarial points, the distance between the front-near car and the\nLiDAR-equipped car, and various angular factors affect the attack success rate.\nWe believe our research can contribute to the understanding of multi-sensor\nrobustness, offering insights and guidance to enhance the safety of autonomous\ndriving.\n", "date": "2023-12-03", "categories": []} {"id": "2401.03514", "title": "ROIC-DM: Robust Text Inference and Classification via Diffusion Model", "abstract": " While language models have made many milestones in text inference and\nclassification tasks, they remain susceptible to adversarial attacks that can\nlead to unforeseen outcomes. Existing works alleviate this problem by equipping\nlanguage models with defense patches. However, these defense strategies often\nrely on impractical assumptions or entail substantial sacrifices in model\nperformance. Consequently, enhancing the resilience of the target model using\nsuch defense mechanisms is a formidable challenge. This paper introduces an\ninnovative model for robust text inference and classification, built upon\ndiffusion models (ROIC-DM). Benefiting from its training involving denoising\nstages, ROIC-DM inherently exhibits greater robustness compared to conventional\nlanguage models. Moreover, ROIC-DM can attain comparable, and in some cases,\nsuperior performance to language models, by effectively incorporating them as\nadvisory components. Extensive experiments conducted with several strong\ntextual adversarial attacks on three datasets demonstrate that (1) ROIC-DM\noutperforms traditional language models in robustness, even when the latter are\nfortified with advanced defense mechanisms; (2) ROIC-DM can achieve comparable\nand even better performance than traditional language models by using them as\nadvisors.\n", "date": "2024-01-07", "categories": []} {"id": "2211.09782", "title": "Assessing Neural Network Robustness via Adversarial Pivotal Tuning", "abstract": " The robustness of image classifiers is essential to their deployment in the\nreal world. The ability to assess this resilience to manipulations or\ndeviations from the training data is thus crucial. These modifications have\ntraditionally consisted of minimal changes that still manage to fool\nclassifiers, and modern approaches are increasingly robust to them. Semantic\nmanipulations that modify elements of an image in meaningful ways have thus\ngained traction for this purpose. However, they have primarily been limited to\nstyle, color, or attribute changes. While expressive, these manipulations do\nnot make use of the full capabilities of a pretrained generative model. In this\nwork, we aim to bridge this gap. We show how a pretrained image generator can\nbe used to semantically manipulate images in a detailed, diverse, and\nphotorealistic way while still preserving the class of the original image.\nInspired by recent GAN-based image inversion methods, we propose a method\ncalled Adversarial Pivotal Tuning (APT). Given an image, APT first finds a\npivot latent space input that reconstructs the image using a pretrained\ngenerator. It then adjusts the generator's weights to create small yet semantic\nmanipulations in order to fool a pretrained classifier. APT preserves the full\nexpressive editing capabilities of the generative model. We demonstrate that\nAPT is capable of a wide range of class-preserving semantic image manipulations\nthat fool a variety of pretrained classifiers. Finally, we show that\nclassifiers that are robust to other benchmarks are not robust to APT\nmanipulations and suggest a method to improve them. Code available at:\nhttps://captaine.github.io/apt/\n", "date": "2022-11-17", "categories": []} {"id": "2312.14260", "title": "Elevating Defenses: Bridging Adversarial Training and Watermarking for\n Model Resilience", "abstract": " Machine learning models are being used in an increasing number of critical\napplications; thus, securing their integrity and ownership is critical. Recent\nstudies observed that adversarial training and watermarking have a conflicting\ninteraction. This work introduces a novel framework to integrate adversarial\ntraining with watermarking techniques to fortify against evasion attacks and\nprovide confident model verification in case of intellectual property theft. We\nuse adversarial training together with adversarial watermarks to train a robust\nwatermarked model. The key intuition is to use a higher perturbation budget to\ngenerate adversarial watermarks compared to the budget used for adversarial\ntraining, thus avoiding conflict. We use the MNIST and Fashion-MNIST datasets\nto evaluate our proposed technique on various model stealing attacks. The\nresults obtained consistently outperform the existing baseline in terms of\nrobustness performance and further prove the resilience of this defense against\npruning and fine-tuning removal attacks.\n", "date": "2023-12-21", "categories": []} {"id": "2401.03156", "title": "Data-Dependent Stability Analysis of Adversarial Training", "abstract": " Stability analysis is an essential aspect of studying the generalization\nability of deep learning, as it involves deriving generalization bounds for\nstochastic gradient descent-based training algorithms. Adversarial training is\nthe most widely used defense against adversarial example attacks. However,\nprevious generalization bounds for adversarial training have not included\ninformation regarding the data distribution. In this paper, we fill this gap by\nproviding generalization bounds for stochastic gradient descent-based\nadversarial training that incorporate data distribution information. We utilize\nthe concepts of on-average stability and high-order approximate Lipschitz\nconditions to examine how changes in data distribution and adversarial budget\ncan affect robust generalization gaps. Our derived generalization bounds for\nboth convex and non-convex losses are at least as good as the uniform\nstability-based counterparts which do not include data distribution\ninformation. Furthermore, our findings demonstrate how distribution shifts from\ndata poisoning attacks can impact robust generalization.\n", "date": "2024-01-06", "categories": []} {"id": "2401.03582", "title": "Invisible Reflections: Leveraging Infrared Laser Reflections to Target\n Traffic Sign Perception", "abstract": " All vehicles must follow the rules that govern traffic behavior, regardless\nof whether the vehicles are human-driven or Connected Autonomous Vehicles\n(CAVs). Road signs indicate locally active rules, such as speed limits and\nrequirements to yield or stop. Recent research has demonstrated attacks, such\nas adding stickers or projected colored patches to signs, that cause CAV\nmisinterpretation, resulting in potential safety issues. Humans can see and\npotentially defend against these attacks. But humans can not detect what they\ncan not observe. We have developed an effective physical-world attack that\nleverages the sensitivity of filterless image sensors and the properties of\nInfrared Laser Reflections (ILRs), which are invisible to humans. The attack is\ndesigned to affect CAV cameras and perception, undermining traffic sign\nrecognition by inducing misclassification. In this work, we formulate the\nthreat model and requirements for an ILR-based traffic sign perception attack\nto succeed. We evaluate the effectiveness of the ILR attack with real-world\nexperiments against two major traffic sign recognition architectures on four\nIR-sensitive cameras. Our black-box optimization methodology allows the attack\nto achieve up to a 100% attack success rate in indoor, static scenarios and a\n>80.5% attack success rate in our outdoor, moving vehicle scenarios. We find\nthe latest state-of-the-art certifiable defense is ineffective against ILR\nattacks as it mis-certifies >33.5% of cases. To address this, we propose a\ndetection strategy based on the physical properties of IR laser reflections\nwhich can detect 96% of ILR attacks.\n", "date": "2024-01-07", "categories": []} {"id": "2208.12511", "title": "Lower Difficulty and Better Robustness: A Bregman Divergence Perspective\n for Adversarial Training", "abstract": " In this paper, we investigate on improving the adversarial robustness\nobtained in adversarial training (AT) via reducing the difficulty of\noptimization. To better study this problem, we build a novel Bregman divergence\nperspective for AT, in which AT can be viewed as the sliding process of the\ntraining data points on the negative entropy curve. Based on this perspective,\nwe analyze the learning objectives of two typical AT methods, i.e., PGD-AT and\nTRADES, and we find that the optimization process of TRADES is easier than\nPGD-AT for that TRADES separates PGD-AT. In addition, we discuss the function\nof entropy in TRADES, and we find that models with high entropy can be better\nrobustness learners. Inspired by the above findings, we propose two methods,\ni.e., FAIT and MER, which can both not only reduce the difficulty of\noptimization under the 10-step PGD adversaries, but also provide better\nrobustness. Our work suggests that reducing the difficulty of optimization\nunder the 10-step PGD adversaries is a promising approach for enhancing the\nadversarial robustness in AT.\n", "date": "2022-08-26", "categories": []} {"id": "2401.02633", "title": "A Random Ensemble of Encrypted models for Enhancing Robustness against\n Adversarial Examples", "abstract": " Deep neural networks (DNNs) are well known to be vulnerable to adversarial\nexamples (AEs). In addition, AEs have adversarial transferability, which means\nAEs generated for a source model can fool another black-box model (target\nmodel) with a non-trivial probability. In previous studies, it was confirmed\nthat the vision transformer (ViT) is more robust against the property of\nadversarial transferability than convolutional neural network (CNN) models such\nas ConvMixer, and moreover encrypted ViT is more robust than ViT without any\nencryption. In this article, we propose a random ensemble of encrypted ViT\nmodels to achieve much more robust models. In experiments, the proposed scheme\nis verified to be more robust against not only black-box attacks but also\nwhite-box ones than convention methods.\n", "date": "2024-01-05", "categories": []} {"id": "2302.09457", "title": "Attacks in Adversarial Machine Learning: A Systematic Survey from the\n Life-cycle Perspective", "abstract": " Adversarial machine learning (AML) studies the adversarial phenomenon of\nmachine learning, which may make inconsistent or unexpected predictions with\nhumans. Some paradigms have been recently developed to explore this adversarial\nphenomenon occurring at different stages of a machine learning system, such as\nbackdoor attack occurring at the pre-training, in-training and inference stage;\nweight attack occurring at the post-training, deployment and inference stage;\nadversarial attack occurring at the inference stage. However, although these\nadversarial paradigms share a common goal, their developments are almost\nindependent, and there is still no big picture of AML. In this work, we aim to\nprovide a unified perspective to the AML community to systematically review the\noverall progress of this field. We firstly provide a general definition about\nAML, and then propose a unified mathematical framework to covering existing\nattack paradigms. According to the proposed unified framework, we build a full\ntaxonomy to systematically categorize and review existing representative\nmethods for each paradigm. Besides, using this unified framework, it is easy to\nfigure out the connections and differences among different attack paradigms,\nwhich may inspire future researchers to develop more advanced attack paradigms.\nFinally, to facilitate the viewing of the built taxonomy and the related\nliterature in adversarial machine learning, we further provide a website, \\ie,\n\\url{http://adversarial-ml.com}, where the taxonomies and literature will be\ncontinuously updated.\n", "date": "2023-02-19", "categories": []} {"id": "2311.09024", "title": "Fast Certification of Vision-Language Models Using Incremental\n Randomized Smoothing", "abstract": " A key benefit of deep vision-language models such as CLIP is that they enable\nzero-shot open vocabulary classification; the user has the ability to define\nnovel class labels via natural language prompts at inference time. However,\nwhile CLIP-based zero-shot classifiers have demonstrated competitive\nperformance across a range of domain shifts, they remain highly vulnerable to\nadversarial attacks. Therefore, ensuring the robustness of such models is\ncrucial for their reliable deployment in the wild.\n In this work, we introduce Open Vocabulary Certification (OVC), a fast\ncertification method designed for open-vocabulary models like CLIP via\nrandomized smoothing techniques. Given a base \"training\" set of prompts and\ntheir corresponding certified CLIP classifiers, OVC relies on the observation\nthat a classifier with a novel prompt can be viewed as a perturbed version of\nnearby classifiers in the base training set. Therefore, OVC can rapidly certify\nthe novel classifier using a variation of incremental randomized smoothing. By\nusing a caching trick, we achieve approximately two orders of magnitude\nacceleration in the certification process for novel prompts. To achieve further\n(heuristic) speedups, OVC approximates the embedding space at a given input\nusing a multivariate normal distribution bypassing the need for sampling via\nforward passes through the vision backbone. We demonstrate the effectiveness of\nOVC on through experimental evaluation using multiple vision-language backbones\non the CIFAR-10 and ImageNet test datasets.\n", "date": "2023-11-15", "categories": []} {"id": "2311.16124", "title": "DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial\n Purification", "abstract": " Diffusion-based purification defenses leverage diffusion models to remove\ncrafted perturbations of adversarial examples and achieve state-of-the-art\nrobustness. Recent studies show that even advanced attacks cannot break such\ndefenses effectively, since the purification process induces an extremely deep\ncomputational graph which poses the potential problem of gradient obfuscation,\nhigh memory cost, and unbounded randomness. In this paper, we propose a unified\nframework DiffAttack to perform effective and efficient attacks against\ndiffusion-based purification defenses, including both DDPM and score-based\napproaches. In particular, we propose a deviated-reconstruction loss at\nintermediate diffusion steps to induce inaccurate density gradient estimation\nto tackle the problem of vanishing/exploding gradients. We also provide a\nsegment-wise forwarding-backwarding algorithm, which leads to memory-efficient\ngradient backpropagation. We validate the attack effectiveness of DiffAttack\ncompared with existing adaptive attacks on CIFAR-10 and ImageNet. We show that\nDiffAttack decreases the robust accuracy of models compared with SOTA attacks\nby over 20% on CIFAR-10 under $\\ell_\\infty$ attack $(\\epsilon=8/255)$, and over\n10% on ImageNet under $\\ell_\\infty$ attack $(\\epsilon=4/255)$. We conduct a\nseries of ablations studies, and we find 1) DiffAttack with the\ndeviated-reconstruction loss added over uniformly sampled time steps is more\neffective than that added over only initial/final steps, and 2) diffusion-based\npurification with a moderate diffusion length is more robust under DiffAttack.\n", "date": "2023-10-27", "categories": []} {"id": "2312.15228", "title": "Adversarial Data Poisoning for Fake News Detection: How to Make a Model\n Misclassify a Target News without Modifying It", "abstract": " Fake news detection models are critical to countering disinformation but can\nbe manipulated through adversarial attacks. In this position paper, we analyze\nhow an attacker can compromise the performance of an online learning detector\non specific news content without being able to manipulate the original target\nnews. In some contexts, such as social networks, where the attacker cannot\nexert complete control over all the information, this scenario can indeed be\nquite plausible. Therefore, we show how an attacker could potentially introduce\npoisoning data into the training data to manipulate the behavior of an online\nlearning method. Our initial findings reveal varying susceptibility of logistic\nregression models based on complexity and attack type.\n", "date": "2023-12-23", "categories": []} {"id": "2211.16808", "title": "Efficient Adversarial Input Generation via Neural Net Patching", "abstract": " The generation of adversarial inputs has become a crucial issue in\nestablishing the robustness and trustworthiness of deep neural nets, especially\nwhen they are used in safety-critical application domains such as autonomous\nvehicles and precision medicine. However, the problem poses multiple practical\nchallenges, including scalability issues owing to large-sized networks, and the\ngeneration of adversarial inputs that lack important qualities such as\nnaturalness and output-impartiality. This problem shares its end goal with the\ntask of patching neural nets where small changes in some of the network's\nweights need to be discovered so that upon applying these changes, the modified\nnet produces the desirable output for a given set of inputs. We exploit this\nconnection by proposing to obtain an adversarial input from a patch, with the\nunderlying observation that the effect of changing the weights can also be\nbrought about by changing the inputs instead. Thus, this paper presents a novel\nway to generate input perturbations that are adversarial for a given network by\nusing an efficient network patching technique. We note that the proposed method\nis significantly more effective than the prior state-of-the-art techniques.\n", "date": "2022-11-30", "categories": []} {"id": "2301.02288", "title": "gRoMA: a Tool for Measuring the Global Robustness of Deep Neural\n Networks", "abstract": " Deep neural networks (DNNs) are at the forefront of cutting-edge technology,\nand have been achieving remarkable performance in a variety of complex tasks.\nNevertheless, their integration into safety-critical systems, such as in the\naerospace or automotive domains, poses a significant challenge due to the\nthreat of adversarial inputs: perturbations in inputs that might cause the DNN\nto make grievous mistakes. Multiple studies have demonstrated that even modern\nDNNs are susceptible to adversarial inputs, and this risk must thus be measured\nand mitigated to allow the deployment of DNNs in critical settings. Here, we\npresent gRoMA (global Robustness Measurement and Assessment), an innovative and\nscalable tool that implements a probabilistic approach to measure the global\ncategorial robustness of a DNN. Specifically, gRoMA measures the probability of\nencountering adversarial inputs for a specific output category. Our tool\noperates on pre-trained, black-box classification DNNs, and generates input\nsamples belonging to an output category of interest. It measures the DNN's\nsusceptibility to adversarial inputs around these inputs, and aggregates the\nresults to infer the overall global categorial robustness of the DNN up to some\nsmall bounded statistical error.\n We evaluate our tool on the popular Densenet DNN model over the CIFAR10\ndataset. Our results reveal significant gaps in the robustness of the different\noutput categories. This experiment demonstrates the usefulness and scalability\nof our approach and its potential for allowing DNNs to be deployed within\ncritical systems of interest.\n", "date": "2023-01-05", "categories": []} {"id": "2302.00209", "title": "Towards Large Certified Radius in Randomized Smoothing using\n Quasiconcave Optimization", "abstract": " Randomized smoothing is currently the state-of-the-art method that provides\ncertified robustness for deep neural networks. However, due to its excessively\nconservative nature, this method of incomplete verification often cannot\nachieve an adequate certified radius on real-world datasets. One way to obtain\na larger certified radius is to use an input-specific algorithm instead of\nusing a fixed Gaussian filter for all data points. Several methods based on\nthis idea have been proposed, but they either suffer from high computational\ncosts or gain marginal improvement in certified radius. In this work, we show\nthat by exploiting the quasiconvex problem structure, we can find the optimal\ncertified radii for most data points with slight computational overhead. This\nobservation leads to an efficient and effective input-specific randomized\nsmoothing algorithm. We conduct extensive experiments and empirical analysis on\nCIFAR-10 and ImageNet. The results show that the proposed method significantly\nenhances the certified radii with low computational overhead.\n", "date": "2023-02-01", "categories": []} {"id": "2303.01234", "title": "Frauds Bargain Attack: Generating Adversarial Text Samples via Word\n Manipulation Process", "abstract": " Recent research has revealed that natural language processing (NLP) models\nare vulnerable to adversarial examples. However, the current techniques for\ngenerating such examples rely on deterministic heuristic rules, which fail to\nproduce optimal adversarial examples. In response, this study proposes a new\nmethod called the Fraud's Bargain Attack (FBA), which uses a randomization\nmechanism to expand the search space and produce high-quality adversarial\nexamples with a higher probability of success. FBA uses the Metropolis-Hasting\nsampler, a type of Markov Chain Monte Carlo sampler, to improve the selection\nof adversarial examples from all candidates generated by a customized\nstochastic process called the Word Manipulation Process (WMP). The WMP method\nmodifies individual words in a contextually-aware manner through insertion,\nremoval, or substitution. Through extensive experiments, this study\ndemonstrates that FBA outperforms other methods in terms of attack success\nrate, imperceptibility and sentence quality.\n", "date": "2023-03-01", "categories": []} {"id": "2311.12914", "title": "Attention Deficit is Ordered! Fooling Deformable Vision Transformers\n with Collaborative Adversarial Patches", "abstract": " The latest generation of transformer-based vision models has proven to be\nsuperior to Convolutional Neural Network (CNN)-based models across several\nvision tasks, largely attributed to their remarkable prowess in relation\nmodeling. Deformable vision transformers significantly reduce the quadratic\ncomplexity of attention modeling by using sparse attention structures, enabling\nthem to incorporate features across different scales and be used in large-scale\napplications, such as multi-view vision systems. Recent work has demonstrated\nadversarial attacks against conventional vision transformers; we show that\nthese attacks do not transfer to deformable transformers due to their sparse\nattention structure. Specifically, attention in deformable transformers is\nmodeled using pointers to the most relevant other tokens. In this work, we\ncontribute for the first time adversarial attacks that manipulate the attention\nof deformable transformers, redirecting it to focus on irrelevant parts of the\nimage. We also develop new collaborative attacks where a source patch\nmanipulates attention to point to a target patch, which contains the\nadversarial noise to fool the model. In our experiments, we observe that\naltering less than 1% of the patched area in the input field results in a\ncomplete drop to 0% AP in single-view object detection using MS COCO and a 0%\nMODA in multi-view object detection using Wildtrack.\n", "date": "2023-11-21", "categories": []} {"id": "2312.11285", "title": "Adv-Diffusion: Imperceptible Adversarial Face Identity Attack via Latent\n Diffusion Model", "abstract": " Adversarial attacks involve adding perturbations to the source image to cause\nmisclassification by the target model, which demonstrates the potential of\nattacking face recognition models. Existing adversarial face image generation\nmethods still can't achieve satisfactory performance because of low\ntransferability and high detectability. In this paper, we propose a unified\nframework Adv-Diffusion that can generate imperceptible adversarial identity\nperturbations in the latent space but not the raw pixel space, which utilizes\nstrong inpainting capabilities of the latent diffusion model to generate\nrealistic adversarial images. Specifically, we propose the identity-sensitive\nconditioned diffusion generative model to generate semantic perturbations in\nthe surroundings. The designed adaptive strength-based adversarial perturbation\nalgorithm can ensure both attack transferability and stealthiness. Extensive\nqualitative and quantitative experiments on the public FFHQ and CelebA-HQ\ndatasets prove the proposed method achieves superior performance compared with\nthe state-of-the-art methods without an extra generative model training\nprocess. The source code is available at\nhttps://github.com/kopper-xdu/Adv-Diffusion.\n", "date": "2023-12-18", "categories": []} {"id": "2312.16339", "title": "Universal Pyramid Adversarial Training for Improved ViT Performance", "abstract": " Recently, Pyramid Adversarial training (Herrmann et al., 2022) has been shown\nto be very effective for improving clean accuracy and distribution-shift\nrobustness of vision transformers. However, due to the iterative nature of\nadversarial training, the technique is up to 7 times more expensive than\nstandard training. To make the method more efficient, we propose Universal\nPyramid Adversarial training, where we learn a single pyramid adversarial\npattern shared across the whole dataset instead of the sample-wise patterns.\nWith our proposed technique, we decrease the computational cost of Pyramid\nAdversarial training by up to 70% while retaining the majority of its benefit\non clean performance and distribution-shift robustness. In addition, to the\nbest of our knowledge, we are also the first to find that universal adversarial\ntraining can be leveraged to improve clean model performance.\n", "date": "2023-12-26", "categories": []} {"id": "2312.16401", "title": "Natural Adversarial Patch Generation Method Based on Latent Diffusion\n Model", "abstract": " Recently, some research show that deep neural networks are vulnerable to the\nadversarial attacks, the well-trainned samples or patches could be used to\ntrick the neural network detector or human visual perception. However, these\nadversarial patches, with their conspicuous and unusual patterns, lack\ncamouflage and can easily raise suspicion in the real world. To solve this\nproblem, this paper proposed a novel adversarial patch method called the Latent\nDiffusion Patch (LDP), in which, a pretrained encoder is first designed to\ncompress the natural images into a feature space with key characteristics. Then\ntrains the diffusion model using the above feature space. Finally, explore the\nlatent space of the pretrained diffusion model using the image denoising\ntechnology. It polishes the patches and images through the powerful natural\nabilities of diffusion models, making them more acceptable to the human visual\nsystem. Experimental results, both digital and physical worlds, show that LDPs\nachieve a visual subjectivity score of 87.3%, while still maintaining effective\nattack capabilities.\n", "date": "2023-12-27", "categories": []} {"id": "2312.16880", "title": "Adversarial Attacks on Image Classification Models: Analysis and Defense", "abstract": " The notion of adversarial attacks on image classification models based on\nconvolutional neural networks (CNN) is introduced in this work. To classify\nimages, deep learning models called CNNs are frequently used. However, when the\nnetworks are subject to adversarial attacks, extremely potent and previously\ntrained CNN models that perform quite effectively on image datasets for image\nclassification tasks may perform poorly. In this work, one well-known\nadversarial attack known as the fast gradient sign method (FGSM) is explored\nand its adverse effects on the performances of image classification models are\nexamined. The FGSM attack is simulated on three pre-trained image classifier\nCNN architectures, ResNet-101, AlexNet, and RegNetY 400MF using randomly chosen\nimages from the ImageNet dataset. The classification accuracies of the models\nare computed in the absence and presence of the attack to demonstrate the\ndetrimental effect of the attack on the performances of the classifiers.\nFinally, a mechanism is proposed to defend against the FGSM attack based on a\nmodified defensive distillation-based approach. Extensive results are presented\nfor the validation of the proposed scheme.\n", "date": "2023-12-28", "categories": []} {"id": "2312.06199", "title": "Towards Transferable Adversarial Attacks with Centralized Perturbation", "abstract": " Adversarial transferability enables black-box attacks on unknown victim deep\nneural networks (DNNs), rendering attacks viable in real-world scenarios.\nCurrent transferable attacks create adversarial perturbation over the entire\nimage, resulting in excessive noise that overfit the source model.\nConcentrating perturbation to dominant image regions that are model-agnostic is\ncrucial to improving adversarial efficacy. However, limiting perturbation to\nlocal regions in the spatial domain proves inadequate in augmenting\ntransferability. To this end, we propose a transferable adversarial attack with\nfine-grained perturbation optimization in the frequency domain, creating\ncentralized perturbation. We devise a systematic pipeline to dynamically\nconstrain perturbation optimization to dominant frequency coefficients. The\nconstraint is optimized in parallel at each iteration, ensuring the directional\nalignment of perturbation optimization with model prediction. Our approach\nallows us to centralize perturbation towards sample-specific important\nfrequency features, which are shared by DNNs, effectively mitigating source\nmodel overfitting. Experiments demonstrate that by dynamically centralizing\nperturbation on dominating frequency coefficients, crafted adversarial examples\nexhibit stronger transferability, and allowing them to bypass various defenses.\n", "date": "2023-12-11", "categories": []} {"id": "2312.09821", "title": "Fragility, Robustness and Antifragility in Deep Learning", "abstract": " We propose a systematic analysis of deep neural networks (DNNs) based on a\nsignal processing technique for network parameter removal, in the form of\nsynaptic filters that identifies the fragility, robustness and antifragility\ncharacteristics of DNN parameters. Our proposed analysis investigates if the\nDNN performance is impacted negatively, invariantly, or positively on both\nclean and adversarially perturbed test datasets when the DNN undergoes synaptic\nfiltering. We define three \\textit{filtering scores} for quantifying the\nfragility, robustness and antifragility characteristics of DNN parameters based\non the performances for (i) clean dataset, (ii) adversarial dataset, and (iii)\nthe difference in performances of clean and adversarial datasets. We validate\nthe proposed systematic analysis on ResNet-18, ResNet-50, SqueezeNet-v1.1 and\nShuffleNet V2 x1.0 network architectures for MNIST, CIFAR10 and Tiny ImageNet\ndatasets. The filtering scores, for a given network architecture, identify\nnetwork parameters that are invariant in characteristics across different\ndatasets over learning epochs. Vice-versa, for a given dataset, the filtering\nscores identify the parameters that are invariant in characteristics across\ndifferent network architectures. We show that our synaptic filtering method\nimproves the test accuracy of ResNet and ShuffleNet models on adversarial\ndatasets when only the robust and antifragile parameters are selectively\nretrained at any given epoch, thus demonstrating applications of the proposed\nstrategy in improving model robustness.\n", "date": "2023-12-15", "categories": []} {"id": "2312.14217", "title": "Adversarial Infrared Curves: An Attack on Infrared Pedestrian Detectors\n in the Physical World", "abstract": " Deep neural network security is a persistent concern, with considerable\nresearch on visible light physical attacks but limited exploration in the\ninfrared domain. Existing approaches, like white-box infrared attacks using\nbulb boards and QR suits, lack realism and stealthiness. Meanwhile, black-box\nmethods with cold and hot patches often struggle to ensure robustness. To\nbridge these gaps, we propose Adversarial Infrared Curves (AdvIC). Using\nParticle Swarm Optimization, we optimize two Bezier curves and employ cold\npatches in the physical realm to introduce perturbations, creating infrared\ncurve patterns for physical sample generation. Our extensive experiments\nconfirm AdvIC's effectiveness, achieving 94.8\\% and 67.2\\% attack success rates\nfor digital and physical attacks, respectively. Stealthiness is demonstrated\nthrough a comparative analysis, and robustness assessments reveal AdvIC's\nsuperiority over baseline methods. When deployed against diverse advanced\ndetectors, AdvIC achieves an average attack success rate of 76.8\\%, emphasizing\nits robust nature. we explore adversarial defense strategies against AdvIC and\nexamine its impact under various defense mechanisms. Given AdvIC's substantial\nsecurity implications for real-world vision-based applications, urgent\nattention and mitigation efforts are warranted.\n", "date": "2023-12-21", "categories": []} {"id": "2312.14218", "title": "AutoAugment Input Transformation for Highly Transferable Targeted\n Attacks", "abstract": " Deep Neural Networks (DNNs) are widely acknowledged to be susceptible to\nadversarial examples, wherein imperceptible perturbations are added to clean\nexamples through diverse input transformation attacks. However, these methods\noriginally designed for non-targeted attacks exhibit low success rates in\ntargeted attacks. Recent targeted adversarial attacks mainly pay attention to\ngradient optimization, attempting to find the suitable perturbation direction.\nHowever, few of them are dedicated to input transformation.In this work, we\nobserve a positive correlation between the logit/probability of the target\nclass and diverse input transformation methods in targeted attacks. To this\nend, we propose a novel targeted adversarial attack called AutoAugment Input\nTransformation (AAIT). Instead of relying on hand-made strategies, AAIT\nsearches for the optimal transformation policy from a transformation space\ncomprising various operations. Then, AAIT crafts adversarial examples using the\nfound optimal transformation policy to boost the adversarial transferability in\ntargeted attacks. Extensive experiments conducted on CIFAR-10 and\nImageNet-Compatible datasets demonstrate that the proposed AAIT surpasses other\ntransfer-based targeted attacks significantly.\n", "date": "2023-12-21", "categories": []} {"id": "2210.14404", "title": "Adversarial Purification with the Manifold Hypothesis", "abstract": " In this work, we formulate a novel framework for adversarial robustness using\nthe manifold hypothesis. This framework provides sufficient conditions for\ndefending against adversarial examples. We develop an adversarial purification\nmethod with this framework. Our method combines manifold learning with\nvariational inference to provide adversarial robustness without the need for\nexpensive adversarial training. Experimentally, our approach can provide\nadversarial robustness even if attackers are aware of the existence of the\ndefense. In addition, our method can also serve as a test-time defense\nmechanism for variational autoencoders.\n", "date": "2022-10-26", "categories": []} {"id": "2307.15043", "title": "Universal and Transferable Adversarial Attacks on Aligned Language\n Models", "abstract": " Because \"out-of-the-box\" large language models are capable of generating a\ngreat deal of objectionable content, recent work has focused on aligning these\nmodels in an attempt to prevent undesirable generation. While there has been\nsome success at circumventing these measures -- so-called \"jailbreaks\" against\nLLMs -- these attacks have required significant human ingenuity and are brittle\nin practice. In this paper, we propose a simple and effective attack method\nthat causes aligned language models to generate objectionable behaviors.\nSpecifically, our approach finds a suffix that, when attached to a wide range\nof queries for an LLM to produce objectionable content, aims to maximize the\nprobability that the model produces an affirmative response (rather than\nrefusing to answer). However, instead of relying on manual engineering, our\napproach automatically produces these adversarial suffixes by a combination of\ngreedy and gradient-based search techniques, and also improves over past\nautomatic prompt generation methods.\n Surprisingly, we find that the adversarial prompts generated by our approach\nare quite transferable, including to black-box, publicly released LLMs.\nSpecifically, we train an adversarial attack suffix on multiple prompts (i.e.,\nqueries asking for many different types of objectionable content), as well as\nmultiple models (in our case, Vicuna-7B and 13B). When doing so, the resulting\nattack suffix is able to induce objectionable content in the public interfaces\nto ChatGPT, Bard, and Claude, as well as open source LLMs such as LLaMA-2-Chat,\nPythia, Falcon, and others. In total, this work significantly advances the\nstate-of-the-art in adversarial attacks against aligned language models,\nraising important questions about how such systems can be prevented from\nproducing objectionable information. Code is available at\ngithub.com/llm-attacks/llm-attacks.\n", "date": "2023-07-27", "categories": []} {"id": "2311.17458", "title": "Quantum Neural Networks under Depolarization Noise: Exploring White-Box\n Attacks and Defenses", "abstract": " Leveraging the unique properties of quantum mechanics, Quantum Machine\nLearning (QML) promises computational breakthroughs and enriched perspectives\nwhere traditional systems reach their boundaries. However, similarly to\nclassical machine learning, QML is not immune to adversarial attacks. Quantum\nadversarial machine learning has become instrumental in highlighting the weak\npoints of QML models when faced with adversarial crafted feature vectors.\nDiving deep into this domain, our exploration shines light on the interplay\nbetween depolarization noise and adversarial robustness. While previous results\nenhanced robustness from adversarial threats through depolarization noise, our\nfindings paint a different picture. Interestingly, adding depolarization noise\ndiscontinued the effect of providing further robustness for a multi-class\nclassification scenario. Consolidating our findings, we conducted experiments\nwith a multi-class classifier adversarially trained on gate-based quantum\nsimulators, further elucidating this unexpected behavior.\n", "date": "2023-11-29", "categories": []} {"id": "2312.13575", "title": "ARBiBench: Benchmarking Adversarial Robustness of Binarized Neural\n Networks", "abstract": " Network binarization exhibits great potential for deployment on\nresource-constrained devices due to its low computational cost. Despite the\ncritical importance, the security of binarized neural networks (BNNs) is rarely\ninvestigated. In this paper, we present ARBiBench, a comprehensive benchmark to\nevaluate the robustness of BNNs against adversarial perturbations on CIFAR-10\nand ImageNet. We first evaluate the robustness of seven influential BNNs on\nvarious white-box and black-box attacks. The results reveal that 1) The\nadversarial robustness of BNNs exhibits a completely opposite performance on\nthe two datasets under white-box attacks. 2) BNNs consistently exhibit better\nadversarial robustness under black-box attacks. 3) Different BNNs exhibit\ncertain similarities in their robustness performance. Then, we conduct\nexperiments to analyze the adversarial robustness of BNNs based on these\ninsights. Our research contributes to inspiring future research on enhancing\nthe robustness of BNNs and advancing their application in real-world scenarios.\n", "date": "2023-12-21", "categories": []} {"id": "2308.03108", "title": "SAAM: Stealthy Adversarial Attack on Monocular Depth Estimation", "abstract": " In this paper, we investigate the vulnerability of MDE to adversarial\npatches. We propose a novel \\underline{S}tealthy \\underline{A}dversarial\n\\underline{A}ttacks on \\underline{M}DE (SAAM) that compromises MDE by either\ncorrupting the estimated distance or causing an object to seamlessly blend into\nits surroundings. Our experiments, demonstrate that the designed stealthy patch\nsuccessfully causes a DNN-based MDE to misestimate the depth of objects. In\nfact, our proposed adversarial patch achieves a significant 60\\% depth error\nwith 99\\% ratio of the affected region. Importantly, despite its adversarial\nnature, the patch maintains a naturalistic appearance, making it inconspicuous\nto human observers. We believe that this work sheds light on the threat of\nadversarial attacks in the context of MDE on edge devices. We hope it raises\nawareness within the community about the potential real-life harm of such\nattacks and encourages further research into developing more robust and\nadaptive defense mechanisms.\n", "date": "2023-08-06", "categories": []} {"id": "2312.07392", "title": "ReRoGCRL: Representation-based Robustness in Goal-Conditioned\n Reinforcement Learning", "abstract": " While Goal-Conditioned Reinforcement Learning (GCRL) has gained attention,\nits algorithmic robustness against adversarial perturbations remains\nunexplored. The attacks and robust representation training methods that are\ndesigned for traditional RL become less effective when applied to GCRL. To\naddress this challenge, we first propose the Semi-Contrastive Representation\nattack, a novel approach inspired by the adversarial contrastive attack. Unlike\nexisting attacks in RL, it only necessitates information from the policy\nfunction and can be seamlessly implemented during deployment. Then, to mitigate\nthe vulnerability of existing GCRL algorithms, we introduce Adversarial\nRepresentation Tactics, which combines Semi-Contrastive Adversarial\nAugmentation with Sensitivity-Aware Regularizer to improve the adversarial\nrobustness of the underlying RL agent against various types of perturbations.\nExtensive experiments validate the superior performance of our attack and\ndefence methods across multiple state-of-the-art GCRL algorithms. Our tool\nReRoGCRL is available at https://github.com/TrustAI/ReRoGCRL.\n", "date": "2023-12-12", "categories": []} {"id": "2312.12768", "title": "Mutual-modality Adversarial Attack with Semantic Perturbation", "abstract": " Adversarial attacks constitute a notable threat to machine learning systems,\ngiven their potential to induce erroneous predictions and classifications.\nHowever, within real-world contexts, the essential specifics of the deployed\nmodel are frequently treated as a black box, consequently mitigating the\nvulnerability to such attacks. Thus, enhancing the transferability of the\nadversarial samples has become a crucial area of research, which heavily relies\non selecting appropriate surrogate models. To address this challenge, we\npropose a novel approach that generates adversarial attacks in a\nmutual-modality optimization scheme. Our approach is accomplished by leveraging\nthe pre-trained CLIP model. Firstly, we conduct a visual attack on the clean\nimage that causes semantic perturbations on the aligned embedding space with\nthe other textual modality. Then, we apply the corresponding defense on the\ntextual modality by updating the prompts, which forces the re-matching on the\nperturbed embedding space. Finally, to enhance the attack transferability, we\nutilize the iterative training strategy on the visual attack and the textual\ndefense, where the two processes optimize from each other. We evaluate our\napproach on several benchmark datasets and demonstrate that our mutual-modal\nattack strategy can effectively produce high-transferable attacks, which are\nstable regardless of the target networks. Our approach outperforms\nstate-of-the-art attack methods and can be readily deployed as a plug-and-play\nsolution.\n", "date": "2023-12-20", "categories": []} {"id": "2312.12904", "title": "PGN: A perturbation generation network against deep reinforcement\n learning", "abstract": " Deep reinforcement learning has advanced greatly and applied in many areas.\nIn this paper, we explore the vulnerability of deep reinforcement learning by\nproposing a novel generative model for creating effective adversarial examples\nto attack the agent. Our proposed model can achieve both targeted attacks and\nuntargeted attacks. Considering the specificity of deep reinforcement learning,\nwe propose the action consistency ratio as a measure of stealthiness, and a new\nmeasurement index of effectiveness and stealthiness. Experiment results show\nthat our method can ensure the effectiveness and stealthiness of attack\ncompared with other algorithms. Moreover, our methods are considerably faster\nand thus can achieve rapid and efficient verification of the vulnerability of\ndeep reinforcement learning.\n", "date": "2023-12-20", "categories": []} {"id": "2312.13131", "title": "Scaling Compute Is Not All You Need for Adversarial Robustness", "abstract": " The last six years have witnessed significant progress in adversarially\nrobust deep learning. As evidenced by the CIFAR-10 dataset category in\nRobustBench benchmark, the accuracy under $\\ell_\\infty$ adversarial\nperturbations improved from 44\\% in \\citet{Madry2018Towards} to 71\\% in\n\\citet{peng2023robust}. Although impressive, existing state-of-the-art is still\nfar from satisfactory. It is further observed that best-performing models are\noften very large models adversarially trained by industrial labs with\nsignificant computational budgets. In this paper, we aim to understand: ``how\nmuch longer can computing power drive adversarial robustness advances?\" To\nanswer this question, we derive \\emph{scaling laws for adversarial robustness}\nwhich can be extrapolated in the future to provide an estimate of how much cost\nwe would need to pay to reach a desired level of robustness. We show that\nincreasing the FLOPs needed for adversarial training does not bring as much\nadvantage as it does for standard training in terms of performance\nimprovements. Moreover, we find that some of the top-performing techniques are\ndifficult to exactly reproduce, suggesting that they are not robust enough for\nminor changes in the training setup. Our analysis also uncovers potentially\nworthwhile directions to pursue in future research. Finally, we make our\nbenchmarking framework (built on top of \\texttt{timm}~\\citep{rw2019timm})\npublicly available to facilitate future analysis in efficient robust deep\nlearning.\n", "date": "2023-12-20", "categories": []} {"id": "2312.11510", "title": "QuadAttack: A Quadratic Programming Approach to Ordered Top-K Attacks", "abstract": " The adversarial vulnerability of Deep Neural Networks (DNNs) has been\nwell-known and widely concerned, often under the context of learning top-$1$\nattacks (e.g., fooling a DNN to classify a cat image as dog). This paper shows\nthat the concern is much more serious by learning significantly more aggressive\nordered top-$K$ clear-box~\\footnote{ This is often referred to as\nwhite/black-box attacks in the literature. We choose to adopt neutral\nterminology, clear/opaque-box attacks in this paper, and omit the prefix\nclear-box for simplicity.} targeted attacks proposed in Adversarial\nDistillation. We propose a novel and rigorous quadratic programming (QP) method\nof learning ordered top-$K$ attacks with low computing cost, dubbed as\n\\textbf{QuadAttac$K$}. Our QuadAttac$K$ directly solves the QP to satisfy the\nattack constraint in the feature embedding space (i.e., the input space to the\nfinal linear classifier), which thus exploits the semantics of the feature\nembedding space (i.e., the principle of class coherence). With the optimized\nfeature embedding vector perturbation, it then computes the adversarial\nperturbation in the data space via the vanilla one-step back-propagation. In\nexperiments, the proposed QuadAttac$K$ is tested in the ImageNet-1k\nclassification using ResNet-50, DenseNet-121, and Vision Transformers (ViT-B\nand DEiT-S). It successfully pushes the boundary of successful ordered top-$K$\nattacks from $K=10$ up to $K=20$ at a cheap budget ($1\\times 60$) and further\nimproves attack success rates for $K=5$ for all tested models, while retaining\nthe performance for $K=1$.\n", "date": "2023-12-12", "categories": []} {"id": "2303.11611", "title": "Out of Thin Air: Exploring Data-Free Adversarial Robustness Distillation", "abstract": " Adversarial Robustness Distillation (ARD) is a promising task to solve the\nissue of limited adversarial robustness of small capacity models while\noptimizing the expensive computational costs of Adversarial Training (AT).\nDespite the good robust performance, the existing ARD methods are still\nimpractical to deploy in natural high-security scenes due to these methods rely\nentirely on original or publicly available data with a similar distribution. In\nfact, these data are almost always private, specific, and distinctive for\nscenes that require high robustness. To tackle these issues, we propose a\nchallenging but significant task called Data-Free Adversarial Robustness\nDistillation (DFARD), which aims to train small, easily deployable, robust\nmodels without relying on data. We demonstrate that the challenge lies in the\nlower upper bound of knowledge transfer information, making it crucial to\nmining and transferring knowledge more efficiently. Inspired by human\neducation, we design a plug-and-play Interactive Temperature Adjustment (ITA)\nstrategy to improve the efficiency of knowledge transfer and propose an\nAdaptive Generator Balance (AGB) module to retain more data information. Our\nmethod uses adaptive hyperparameters to avoid a large number of parameter\ntuning, which significantly outperforms the combination of existing techniques.\nMeanwhile, our method achieves stable and reliable performance on multiple\nbenchmarks.\n", "date": "2023-03-21", "categories": []} {"id": "2312.09494", "title": "No-Skim: Towards Efficiency Robustness Evaluation on Skimming-based\n Language Models", "abstract": " To reduce the computation cost and the energy consumption in large language\nmodels (LLM), skimming-based acceleration dynamically drops unimportant tokens\nof the input sequence progressively along layers of the LLM while preserving\nthe tokens of semantic importance. However, our work for the first time reveals\nthe acceleration may be vulnerable to Denial-of-Service (DoS) attacks. In this\npaper, we propose No-Skim, a general framework to help the owners of\nskimming-based LLM to understand and measure the robustness of their\nacceleration scheme. Specifically, our framework searches minimal and\nunnoticeable perturbations at character-level and token-level to generate\nadversarial inputs that sufficiently increase the remaining token ratio, thus\nincreasing the computation cost and energy consumption. We systematically\nevaluate the vulnerability of the skimming acceleration in various LLM\narchitectures including BERT and RoBERTa on the GLUE benchmark. In the worst\ncase, the perturbation found by No-Skim substantially increases the running\ncost of LLM by over 145% on average. Moreover, No-Skim extends the evaluation\nframework to various scenarios, making the evaluation conductible with\ndifferent level of knowledge.\n", "date": "2023-12-15", "categories": []} {"id": "2312.10329", "title": "Perturbation-Invariant Adversarial Training for Neural Ranking Models:\n Improving the Effectiveness-Robustness Trade-Off", "abstract": " Neural ranking models (NRMs) have shown great success in information\nretrieval (IR). But their predictions can easily be manipulated using\nadversarial examples, which are crafted by adding imperceptible perturbations\nto legitimate documents. This vulnerability raises significant concerns about\ntheir reliability and hinders the widespread deployment of NRMs. By\nincorporating adversarial examples into training data, adversarial training has\nbecome the de facto defense approach to adversarial attacks against NRMs.\nHowever, this defense mechanism is subject to a trade-off between effectiveness\nand adversarial robustness. In this study, we establish theoretical guarantees\nregarding the effectiveness-robustness trade-off in NRMs. We decompose the\nrobust ranking error into two components, i.e., a natural ranking error for\neffectiveness evaluation and a boundary ranking error for assessing adversarial\nrobustness. Then, we define the perturbation invariance of a ranking model and\nprove it to be a differentiable upper bound on the boundary ranking error for\nattainable computation. Informed by our theoretical analysis, we design a novel\n\\emph{perturbation-invariant adversarial training} (PIAT) method for ranking\nmodels to achieve a better effectiveness-robustness trade-off. We design a\nregularized surrogate loss, in which one term encourages the effectiveness to\nbe maximized while the regularization term encourages the output to be smooth,\nso as to improve adversarial robustness. Experimental results on several\nranking models demonstrate the superiority of PITA compared to existing\nadversarial defenses.\n", "date": "2023-12-16", "categories": []} {"id": "2312.10911", "title": "The Pros and Cons of Adversarial Robustness", "abstract": " Robustness is widely regarded as a fundamental problem in the analysis of\nmachine learning (ML) models. Most often robustness equates with deciding the\nnon-existence of adversarial examples, where adversarial examples denote\nsituations where small changes on some inputs cause a change in the prediction.\nThe perceived importance of ML model robustness explains the continued progress\nobserved for most of the last decade. Whereas robustness is often assessed\nlocally, i.e. given some target point in feature space, robustness can also be\ndefined globally, i.e. where any point in feature space can be considered. The\nimportance of ML model robustness is illustrated for example by the existence\nof competitions evaluating the progress of robustness tools, namely in the case\nof neural networks (NNs) but also by efforts towards robustness certification.\nMore recently, robustness tools have also been used for computing rigorous\nexplanations of ML models. In contrast with the observed successes of\nrobustness, this paper uncovers some limitations with existing definitions of\nrobustness, both global and local, but also with efforts towards robustness\ncertification. The paper also investigates uses of adversarial examples besides\nthose related with robustness.\n", "date": "2023-12-18", "categories": []} {"id": "2208.09602", "title": "Exploring Adversarial Robustness of Vision Transformers in the Spectral\n Perspective", "abstract": " The Vision Transformer has emerged as a powerful tool for image\nclassification tasks, surpassing the performance of convolutional neural\nnetworks (CNNs). Recently, many researchers have attempted to understand the\nrobustness of Transformers against adversarial attacks. However, previous\nresearches have focused solely on perturbations in the spatial domain. This\npaper proposes an additional perspective that explores the adversarial\nrobustness of Transformers against frequency-selective perturbations in the\nspectral domain. To facilitate comparison between these two domains, an attack\nframework is formulated as a flexible tool for implementing attacks on images\nin the spatial and spectral domains. The experiments reveal that Transformers\nrely more on phase and low frequency information, which can render them more\nvulnerable to frequency-selective attacks than CNNs. This work offers new\ninsights into the properties and adversarial robustness of Transformers.\n", "date": "2022-08-20", "categories": []} {"id": "2312.09636", "title": "A Malware Classification Survey on Adversarial Attacks and Defences", "abstract": " As the number and complexity of malware attacks continue to increase, there\nis an urgent need for effective malware detection systems. While deep learning\nmodels are effective at detecting malware, they are vulnerable to adversarial\nattacks. Attacks like this can create malicious files that are resistant to\ndetection, creating a significant cybersecurity risk. Recent research has seen\nthe development of several adversarial attack and response approaches aiming at\nstrengthening deep learning models' resilience to such attacks. This survey\nstudy offers an in-depth look at current research in adversarial attack and\ndefensive strategies for malware classification in cybersecurity. The methods\nare classified into four categories: generative models, feature-based\napproaches, ensemble methods, and hybrid tactics. The article outlines\ncutting-edge procedures within each area, assessing their benefits and\ndrawbacks. Each topic presents cutting-edge approaches and explores their\nadvantages and disadvantages. In addition, the study discusses the datasets and\nassessment criteria that are often utilized on this subject. Finally, it\nidentifies open research difficulties and suggests future study options. This\ndocument is a significant resource for malware categorization and cyber\nsecurity researchers and practitioners.\n", "date": "2023-12-15", "categories": []} {"id": "2310.15140", "title": "AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large\n Language Models", "abstract": " Safety alignment of Large Language Models (LLMs) can be compromised with\nmanual jailbreak attacks and (automatic) adversarial attacks. Recent studies\nsuggest that defending against these attacks is possible: adversarial attacks\ngenerate unlimited but unreadable gibberish prompts, detectable by\nperplexity-based filters; manual jailbreak attacks craft readable prompts, but\ntheir limited number due to the necessity of human creativity allows for easy\nblocking. In this paper, we show that these solutions may be too optimistic. We\nintroduce AutoDAN, an interpretable, gradient-based adversarial attack that\nmerges the strengths of both attack types. Guided by the dual goals of\njailbreak and readability, AutoDAN optimizes and generates tokens one by one\nfrom left to right, resulting in readable prompts that bypass perplexity\nfilters while maintaining high attack success rates. Notably, these prompts,\ngenerated from scratch using gradients, are interpretable and diverse, with\nemerging strategies commonly seen in manual jailbreak attacks. They also\ngeneralize to unforeseen harmful behaviors and transfer to black-box LLMs\nbetter than their unreadable counterparts when using limited training data or a\nsingle proxy model. Furthermore, we show the versatility of AutoDAN by\nautomatically leaking system prompts using a customized objective. Our work\noffers a new way to red-team LLMs and understand jailbreak mechanisms via\ninterpretability.\n", "date": "2023-10-23", "categories": []} {"id": "2312.08622", "title": "Scalable Ensemble-based Detection Method against Adversarial Attacks for\n speaker verification", "abstract": " Automatic speaker verification (ASV) is highly susceptible to adversarial\nattacks. Purification modules are usually adopted as a pre-processing to\nmitigate adversarial noise. However, they are commonly implemented across\ndiverse experimental settings, rendering direct comparisons challenging. This\npaper comprehensively compares mainstream purification techniques in a unified\nframework. We find these methods often face a trade-off between user experience\nand security, as they struggle to simultaneously maintain genuine sample\nperformance and reduce adversarial perturbations. To address this challenge,\nsome efforts have extended purification modules to encompass detection\ncapabilities, aiming to alleviate the trade-off. However, advanced purification\nmodules will always come into the stage to surpass previous detection method.\nAs a result, we further propose an easy-to-follow ensemble approach that\nintegrates advanced purification modules for detection, achieving\nstate-of-the-art (SOTA) performance in countering adversarial noise. Our\nensemble method has great potential due to its compatibility with future\nadvanced purification techniques.\n", "date": "2023-12-14", "categories": []} {"id": "2312.08651", "title": "Towards Inductive Robustness: Distilling and Fostering Wave-induced\n Resonance in Transductive GCNs Against Graph Adversarial Attacks", "abstract": " Graph neural networks (GNNs) have recently been shown to be vulnerable to\nadversarial attacks, where slight perturbations in the graph structure can lead\nto erroneous predictions. However, current robust models for defending against\nsuch attacks inherit the transductive limitations of graph convolutional\nnetworks (GCNs). As a result, they are constrained by fixed structures and do\nnot naturally generalize to unseen nodes. Here, we discover that transductive\nGCNs inherently possess a distillable robustness, achieved through a\nwave-induced resonance process. Based on this, we foster this resonance to\nfacilitate inductive and robust learning. Specifically, we first prove that the\nsignal formed by GCN-driven message passing (MP) is equivalent to the\nedge-based Laplacian wave, where, within a wave system, resonance can naturally\nemerge between the signal and its transmitting medium. This resonance provides\ninherent resistance to malicious perturbations inflicted on the signal system.\nWe then prove that merely three MP iterations within GCNs can induce signal\nresonance between nodes and edges, manifesting as a coupling between nodes and\ntheir distillable surrounding local subgraph. Consequently, we present Graph\nResonance-fostering Network (GRN) to foster this resonance via learning node\nrepresentations from their distilled resonating subgraphs. By capturing the\nedge-transmitted signals within this subgraph and integrating them with the\nnode signal, GRN embeds these combined signals into the central node's\nrepresentation. This node-wise embedding approach allows for generalization to\nunseen nodes. We validate our theoretical findings with experiments, and\ndemonstrate that GRN generalizes robustness to unseen nodes, whilst maintaining\nstate-of-the-art classification accuracy on perturbed graphs.\n", "date": "2023-12-14", "categories": []} {"id": "2312.08877", "title": "May the Noise be with you: Adversarial Training without Adversarial\n Examples", "abstract": " In this paper, we investigate the following question: Can we obtain\nadversarially-trained models without training on adversarial examples? Our\nintuition is that training a model with inherent stochasticity, i.e.,\noptimizing the parameters by minimizing a stochastic loss function, yields a\nrobust expectation function that is non-stochastic. In contrast to related\nmethods that introduce noise at the input level, our proposed approach\nincorporates inherent stochasticity by embedding Gaussian noise within the\nlayers of the NN model at training time. We model the propagation of noise\nthrough the layers, introducing a closed-form stochastic loss function that\nencapsulates a noise variance parameter. Additionally, we contribute a\nformalized noise-aware gradient, enabling the optimization of model parameters\nwhile accounting for stochasticity. Our experimental results confirm that the\nexpectation model of a stochastic architecture trained on benign distribution\nis adversarially robust. Interestingly, we find that the impact of the applied\nGaussian noise's standard deviation on both robustness and baseline accuracy\nclosely mirrors the impact of the noise magnitude employed in adversarial\ntraining. Our work contributes adversarially trained networks using a\ncompletely different approach, with empirically similar robustness to\nadversarial training.\n", "date": "2023-12-12", "categories": []} {"id": "2312.08890", "title": "Defenses in Adversarial Machine Learning: A Survey", "abstract": " Adversarial phenomenon has been widely observed in machine learning (ML)\nsystems, especially in those using deep neural networks, describing that ML\nsystems may produce inconsistent and incomprehensible predictions with humans\nat some particular cases. This phenomenon poses a serious security threat to\nthe practical application of ML systems, and several advanced attack paradigms\nhave been developed to explore it, mainly including backdoor attacks, weight\nattacks, and adversarial examples. For each individual attack paradigm, various\ndefense paradigms have been developed to improve the model robustness against\nthe corresponding attack paradigm. However, due to the independence and\ndiversity of these defense paradigms, it is difficult to examine the overall\nrobustness of an ML system against different kinds of attacks.This survey aims\nto build a systematic review of all existing defense paradigms from a unified\nperspective. Specifically, from the life-cycle perspective, we factorize a\ncomplete machine learning system into five stages, including pre-training,\ntraining, post-training, deployment, and inference stages, respectively. Then,\nwe present a clear taxonomy to categorize and review representative defense\nmethods at each individual stage. The unified perspective and presented\ntaxonomies not only facilitate the analysis of the mechanism of each defense\nparadigm but also help us to understand connections and differences among\ndifferent defense paradigms, which may inspire future research to develop more\nadvanced, comprehensive defenses.\n", "date": "2023-12-13", "categories": []} {"id": "2312.09020", "title": "Exploring Transferability for Randomized Smoothing", "abstract": " Training foundation models on extensive datasets and then finetuning them on\nspecific tasks has emerged as the mainstream approach in artificial\nintelligence. However, the model robustness, which is a critical aspect for\nsafety, is often optimized for each specific task rather than at the\npretraining stage. In this paper, we propose a method for pretraining\ncertifiably robust models that can be readily finetuned for adaptation to a\nparticular task. A key challenge is dealing with the compromise between\nsemantic learning and robustness. We address this with a simple yet highly\neffective strategy based on significantly broadening the pretraining data\ndistribution, which is shown to greatly benefit finetuning for downstream\ntasks. Through pretraining on a mixture of clean and various noisy images, we\nfind that surprisingly strong certified accuracy can be achieved even when\nfinetuning on only clean images. Furthermore, this strategy requires just a\nsingle model to deal with various noise levels, thus substantially reducing\ncomputational costs in relation to previous works that employ multiple models.\nDespite using just one model, our method can still yield results that are on\npar with, or even superior to, existing multi-model methods.\n", "date": "2023-12-14", "categories": []} {"id": "2312.09078", "title": "Coevolutionary Algorithm for Building Robust Decision Trees under\n Minimax Regret", "abstract": " In recent years, there has been growing interest in developing robust machine\nlearning (ML) models that can withstand adversarial attacks, including one of\nthe most widely adopted, efficient, and interpretable ML algorithms-decision\ntrees (DTs). This paper proposes a novel coevolutionary algorithm (CoEvoRDT)\ndesigned to create robust DTs capable of handling noisy high-dimensional data\nin adversarial contexts. Motivated by the limitations of traditional DT\nalgorithms, we leverage adaptive coevolution to allow DTs to evolve and learn\nfrom interactions with perturbed input data. CoEvoRDT alternately evolves\ncompeting populations of DTs and perturbed features, enabling construction of\nDTs with desired properties. CoEvoRDT is easily adaptable to various target\nmetrics, allowing the use of tailored robustness criteria such as minimax\nregret. Furthermore, CoEvoRDT has potential to improve the results of other\nstate-of-the-art methods by incorporating their outcomes (DTs they produce)\ninto the initial population and optimize them in the process of coevolution.\nInspired by the game theory, CoEvoRDT utilizes mixed Nash equilibrium to\nenhance convergence. The method is tested on 20 popular datasets and shows\nsuperior performance compared to 4 state-of-the-art algorithms. It outperformed\nall competing methods on 13 datasets with adversarial accuracy metrics, and on\nall 20 considered datasets with minimax regret. Strong experimental results and\nflexibility in choosing the error measure make CoEvoRDT a promising approach\nfor constructing robust DTs in real-world applications.\n", "date": "2023-12-14", "categories": []} {"id": "2306.04064", "title": "Transferable Adversarial Robustness for Categorical Data via Universal\n Robust Embeddings", "abstract": " Research on adversarial robustness is primarily focused on image and text\ndata. Yet, many scenarios in which lack of robustness can result in serious\nrisks, such as fraud detection, medical diagnosis, or recommender systems often\ndo not rely on images or text but instead on tabular data. Adversarial\nrobustness in tabular data poses two serious challenges. First, tabular\ndatasets often contain categorical features, and therefore cannot be tackled\ndirectly with existing optimization procedures. Second, in the tabular domain,\nalgorithms that are not based on deep networks are widely used and offer great\nperformance, but algorithms to enhance robustness are tailored to neural\nnetworks (e.g. adversarial training).\n In this paper, we tackle both challenges. We present a method that allows us\nto train adversarially robust deep networks for tabular data and to transfer\nthis robustness to other classifiers via universal robust embeddings tailored\nto categorical data. These embeddings, created using a bilevel alternating\nminimization framework, can be transferred to boosted trees or random forests\nmaking them robust without the need for adversarial training while preserving\ntheir high accuracy on tabular data. We show that our methods outperform\nexisting techniques within a practical threat model suitable for tabular data.\n", "date": "2023-06-06", "categories": []} {"id": "2309.13857", "title": "Adversarial Attacks on Video Object Segmentation with Hard Region\n Discovery", "abstract": " Video object segmentation has been applied to various computer vision tasks,\nsuch as video editing, autonomous driving, and human-robot interaction.\nHowever, the methods based on deep neural networks are vulnerable to\nadversarial examples, which are the inputs attacked by almost\nhuman-imperceptible perturbations, and the adversary (i.e., attacker) will fool\nthe segmentation model to make incorrect pixel-level predictions. This will\nrise the security issues in highly-demanding tasks because small perturbations\nto the input video will result in potential attack risks. Though adversarial\nexamples have been extensively used for classification, it is rarely studied in\nvideo object segmentation. Existing related methods in computer vision either\nrequire prior knowledge of categories or cannot be directly applied due to the\nspecial design for certain tasks, failing to consider the pixel-wise region\nattack. Hence, this work develops an object-agnostic adversary that has\nadversarial impacts on VOS by first-frame attacking via hard region discovery.\nParticularly, the gradients from the segmentation model are exploited to\ndiscover the easily confused region, in which it is difficult to identify the\npixel-wise objects from the background in a frame. This provides a hardness map\nthat helps to generate perturbations with a stronger adversarial power for\nattacking the first frame. Empirical studies on three benchmarks indicate that\nour attacker significantly degrades the performance of several state-of-the-art\nvideo object segmentation models.\n", "date": "2023-09-25", "categories": []} {"id": "2309.14585", "title": "DifAttack: Query-Efficient Black-Box Attack via Disentangled Feature\n Space", "abstract": " This work investigates efficient score-based black-box adversarial attacks\nwith a high Attack Success Rate (ASR) and good generalizability. We design a\nnovel attack method based on a Disentangled Feature space, called DifAttack,\nwhich differs significantly from the existing ones operating over the entire\nfeature space. Specifically, DifAttack firstly disentangles an image's latent\nfeature into an adversarial feature and a visual feature, where the former\ndominates the adversarial capability of an image, while the latter largely\ndetermines its visual appearance. We train an autoencoder for the\ndisentanglement by using pairs of clean images and their Adversarial Examples\n(AEs) generated from available surrogate models via white-box attack methods.\nEventually, DifAttack iteratively optimizes the adversarial feature according\nto the query feedback from the victim model until a successful AE is generated,\nwhile keeping the visual feature unaltered. In addition, due to the avoidance\nof using surrogate models' gradient information when optimizing AEs for\nblack-box models, our proposed DifAttack inherently possesses better attack\ncapability in the open-set scenario, where the training dataset of the victim\nmodel is unknown. Extensive experimental results demonstrate that our method\nachieves significant improvements in ASR and query efficiency simultaneously,\nespecially in the targeted attack and open-set scenarios. The code is available\nat https://github.com/csjunjun/DifAttack.git.\n", "date": "2023-09-26", "categories": []} {"id": "2312.04730", "title": "DeceptPrompt: Exploiting LLM-driven Code Generation via Adversarial\n Natural Language Instructions", "abstract": " With the advancement of Large Language Models (LLMs), significant progress\nhas been made in code generation, enabling LLMs to transform natural language\ninto programming code. These Code LLMs have been widely accepted by massive\nusers and organizations. However, a dangerous nature is hidden in the code,\nwhich is the existence of fatal vulnerabilities. While some LLM providers have\nattempted to address these issues by aligning with human guidance, these\nefforts fall short of making Code LLMs practical and robust. Without a deep\nunderstanding of the performance of the LLMs under the practical worst cases,\nit would be concerning to apply them to various real-world applications. In\nthis paper, we answer the critical issue: Are existing Code LLMs immune to\ngenerating vulnerable code? If not, what is the possible maximum severity of\nthis issue in practical deployment scenarios? In this paper, we introduce\nDeceptPrompt, a novel algorithm that can generate adversarial natural language\ninstructions that drive the Code LLMs to generate functionality correct code\nwith vulnerabilities. DeceptPrompt is achieved through a systematic\nevolution-based algorithm with a fine grain loss design. The unique advantage\nof DeceptPrompt enables us to find natural prefix/suffix with totally benign\nand non-directional semantic meaning, meanwhile, having great power in inducing\nthe Code LLMs to generate vulnerable code. This feature can enable us to\nconduct the almost-worstcase red-teaming on these LLMs in a real scenario,\nwhere users are using natural language. Our extensive experiments and analyses\non DeceptPrompt not only validate the effectiveness of our approach but also\nshed light on the huge weakness of LLMs in the code generation task. When\napplying the optimized prefix/suffix, the attack success rate (ASR) will\nimprove by average 50% compared with no prefix/suffix applying.\n", "date": "2023-12-07", "categories": []} {"id": "2312.07821", "title": "Radio Signal Classification by Adversarially Robust Quantum Machine\n Learning", "abstract": " Radio signal classification plays a pivotal role in identifying the\nmodulation scheme used in received radio signals, which is essential for\ndemodulation and proper interpretation of the transmitted information.\nResearchers have underscored the high susceptibility of ML algorithms for radio\nsignal classification to adversarial attacks. Such vulnerability could result\nin severe consequences, including misinterpretation of critical messages,\ninterception of classified information, or disruption of communication\nchannels. Recent advancements in quantum computing have revolutionized theories\nand implementations of computation, bringing the unprecedented development of\nQuantum Machine Learning (QML). It is shown that quantum variational\nclassifiers (QVCs) provide notably enhanced robustness against classical\nadversarial attacks in image classification. However, no research has yet\nexplored whether QML can similarly mitigate adversarial threats in the context\nof radio signal classification. This work applies QVCs to radio signal\nclassification and studies their robustness to various adversarial attacks. We\nalso propose the novel application of the approximate amplitude encoding (AAE)\ntechnique to encode radio signal data efficiently. Our extensive simulation\nresults present that attacks generated on QVCs transfer well to CNN models,\nindicating that these adversarial examples can fool neural networks that they\nare not explicitly designed to attack. However, the converse is not true. QVCs\nprimarily resist the attacks generated on CNNs. Overall, with comprehensive\nsimulations, our results shed new light on the growing field of QML by bridging\nknowledge gaps in QAML in radio signal classification and uncovering the\nadvantages of applying QML methods in practical applications.\n", "date": "2023-12-13", "categories": []} {"id": "2312.08193", "title": "Universal Adversarial Framework to Improve Adversarial Robustness for\n Diabetic Retinopathy Detection", "abstract": " Diabetic Retinopathy (DR) is a prevalent illness associated with Diabetes\nwhich, if left untreated, can result in irreversible blindness. Deep Learning\nbased systems are gradually being introduced as automated support for clinical\ndiagnosis. Since healthcare has always been an extremely important domain\ndemanding error-free performance, any adversaries could pose a big threat to\nthe applicability of such systems. In this work, we use Universal Adversarial\nPerturbations (UAPs) to quantify the vulnerability of Medical Deep Neural\nNetworks (DNNs) for detecting DR. To the best of our knowledge, this is the\nvery first attempt that works on attacking complete fine-grained classification\nof DR images using various UAPs. Also, as a part of this work, we use UAPs to\nfine-tune the trained models to defend against adversarial samples. We\nexperiment on several models and observe that the performance of such models\ntowards unseen adversarial attacks gets boosted on average by $3.41$\nCohen-kappa value and maximum by $31.92$ Cohen-kappa value. The performance\ndegradation on normal data upon ensembling the fine-tuned models was found to\nbe statistically insignificant using t-test, highlighting the benefits of\nUAP-based adversarial fine-tuning.\n", "date": "2023-12-13", "categories": []} {"id": "2209.01962", "title": "Adversarial Detection: Attacking Object Detection in Real Time", "abstract": " Intelligent robots rely on object detection models to perceive the\nenvironment. Following advances in deep learning security it has been revealed\nthat object detection models are vulnerable to adversarial attacks. However,\nprior research primarily focuses on attacking static images or offline videos.\nTherefore, it is still unclear if such attacks could jeopardize real-world\nrobotic applications in dynamic environments. This paper bridges this gap by\npresenting the first real-time online attack against object detection models.\nWe devise three attacks that fabricate bounding boxes for nonexistent objects\nat desired locations. The attacks achieve a success rate of about 90% within\nabout 20 iterations. The demo video is available at\nhttps://youtu.be/zJZ1aNlXsMU.\n", "date": "2022-09-05", "categories": []} {"id": "2312.06991", "title": "Attacking the Loop: Adversarial Attacks on Graph-based Loop Closure\n Detection", "abstract": " With the advancement in robotics, it is becoming increasingly common for\nlarge factories and warehouses to incorporate visual SLAM (vSLAM) enabled\nautomated robots that operate closely next to humans. This makes any\nadversarial attacks on vSLAM components potentially detrimental to humans\nworking alongside them. Loop Closure Detection (LCD) is a crucial component in\nvSLAM that minimizes the accumulation of drift in mapping, since even a small\ndrift can accumulate into a significant drift over time. A prior work by Kim et\nal., SymbioLCD2, unified visual features and semantic objects into a single\ngraph structure for finding loop closure candidates. While this provided a\nperformance improvement over visual feature-based LCD, it also created a single\npoint of vulnerability for potential graph-based adversarial attacks. Unlike\npreviously reported visual-patch based attacks, small graph perturbations are\nfar more challenging to detect, making them a more significant threat. In this\npaper, we present Adversarial-LCD, a novel black-box evasion attack framework\nthat employs an eigencentrality-based perturbation method and an SVM-RBF\nsurrogate model with a Weisfeiler-Lehman feature extractor for attacking\ngraph-based LCD. Our evaluation shows that the attack performance of\nAdversarial-LCD with the SVM-RBF surrogate model was superior to that of other\nmachine learning surrogate algorithms, including SVM-linear, SVM-polynomial,\nand Bayesian classifier, demonstrating the effectiveness of our attack\nframework. Furthermore, we show that our eigencentrality-based perturbation\nmethod outperforms other algorithms, such as Random-walk and Shortest-path,\nhighlighting the efficiency of Adversarial-LCD's perturbation selection method.\n", "date": "2023-12-12", "categories": []} {"id": "2312.07067", "title": "Focus on Hiders: Exploring Hidden Threats for Enhancing Adversarial\n Training", "abstract": " Adversarial training is often formulated as a min-max problem, however,\nconcentrating only on the worst adversarial examples causes alternating\nrepetitive confusion of the model, i.e., previously defended or correctly\nclassified samples are not defensible or accurately classifiable in subsequent\nadversarial training. We characterize such non-ignorable samples as \"hiders\",\nwhich reveal the hidden high-risk regions within the secure area obtained\nthrough adversarial training and prevent the model from finding the real worst\ncases. We demand the model to prevent hiders when defending against adversarial\nexamples for improving accuracy and robustness simultaneously. By rethinking\nand redefining the min-max optimization problem for adversarial training, we\npropose a generalized adversarial training algorithm called Hider-Focused\nAdversarial Training (HFAT). HFAT introduces the iterative evolution\noptimization strategy to simplify the optimization problem and employs an\nauxiliary model to reveal hiders, effectively combining the optimization\ndirections of standard adversarial training and prevention hiders. Furthermore,\nwe introduce an adaptive weighting mechanism that facilitates the model in\nadaptively adjusting its focus between adversarial examples and hiders during\ndifferent training periods. We demonstrate the effectiveness of our method\nbased on extensive experiments, and ensure that HFAT can provide higher\nrobustness and accuracy.\n", "date": "2023-12-12", "categories": []} {"id": "2312.07158", "title": "Cost Aware Untargeted Poisoning Attack against Graph Neural Networks,", "abstract": " Graph Neural Networks (GNNs) have become widely used in the field of graph\nmining. However, these networks are vulnerable to structural perturbations.\nWhile many research efforts have focused on analyzing vulnerability through\npoisoning attacks, we have identified an inefficiency in current attack losses.\nThese losses steer the attack strategy towards modifying edges targeting\nmisclassified nodes or resilient nodes, resulting in a waste of structural\nadversarial perturbation. To address this issue, we propose a novel attack loss\nframework called the Cost Aware Poisoning Attack (CA-attack) to improve the\nallocation of the attack budget by dynamically considering the classification\nmargins of nodes. Specifically, it prioritizes nodes with smaller positive\nmargins while postponing nodes with negative margins. Our experiments\ndemonstrate that the proposed CA-attack significantly enhances existing attack\nstrategies\n", "date": "2023-12-12", "categories": []} {"id": "2312.07245", "title": "DTA: Distribution Transform-based Attack for Query-Limited Scenario", "abstract": " In generating adversarial examples, the conventional black-box attack methods\nrely on sufficient feedback from the to-be-attacked models by repeatedly\nquerying until the attack is successful, which usually results in thousands of\ntrials during an attack. This may be unacceptable in real applications since\nMachine Learning as a Service Platform (MLaaS) usually only returns the final\nresult (i.e., hard-label) to the client and a system equipped with certain\ndefense mechanisms could easily detect malicious queries. By contrast, a\nfeasible way is a hard-label attack that simulates an attacked action being\npermitted to conduct a limited number of queries. To implement this idea, in\nthis paper, we bypass the dependency on the to-be-attacked model and benefit\nfrom the characteristics of the distributions of adversarial examples to\nreformulate the attack problem in a distribution transform manner and propose a\ndistribution transform-based attack (DTA). DTA builds a statistical mapping\nfrom the benign example to its adversarial counterparts by tackling the\nconditional likelihood under the hard-label black-box settings. In this way, it\nis no longer necessary to query the target model frequently. A well-trained DTA\nmodel can directly and efficiently generate a batch of adversarial examples for\na certain input, which can be used to attack un-seen models based on the\nassumed transferability. Furthermore, we surprisingly find that the\nwell-trained DTA model is not sensitive to the semantic spaces of the training\ndataset, meaning that the model yields acceptable attack performance on other\ndatasets. Extensive experiments validate the effectiveness of the proposed idea\nand the superiority of DTA over the state-of-the-art.\n", "date": "2023-12-12", "categories": []} {"id": "2312.07258", "title": "SSTA: Salient Spatially Transformed Attack", "abstract": " Extensive studies have demonstrated that deep neural networks (DNNs) are\nvulnerable to adversarial attacks, which brings a huge security risk to the\nfurther application of DNNs, especially for the AI models developed in the real\nworld. Despite the significant progress that has been made recently, existing\nattack methods still suffer from the unsatisfactory performance of escaping\nfrom being detected by naked human eyes due to the formulation of adversarial\nexample (AE) heavily relying on a noise-adding manner. Such mentioned\nchallenges will significantly increase the risk of exposure and result in an\nattack to be failed. Therefore, in this paper, we propose the Salient Spatially\nTransformed Attack (SSTA), a novel framework to craft imperceptible AEs, which\nenhance the stealthiness of AEs by estimating a smooth spatial transform metric\non a most critical area to generate AEs instead of adding external noise to the\nwhole image. Compared to state-of-the-art baselines, extensive experiments\nindicated that SSTA could effectively improve the imperceptibility of the AEs\nwhile maintaining a 100\\% attack success rate.\n", "date": "2023-12-12", "categories": []} {"id": "2312.07389", "title": "Eroding Trust In Aerial Imagery: Comprehensive Analysis and Evaluation\n Of Adversarial Attacks In Geospatial Systems", "abstract": " In critical operations where aerial imagery plays an essential role, the\nintegrity and trustworthiness of data are paramount. The emergence of\nadversarial attacks, particularly those that exploit control over labels or\nemploy physically feasible trojans, threatens to erode that trust, making the\nanalysis and mitigation of these attacks a matter of urgency. We demonstrate\nhow adversarial attacks can degrade confidence in geospatial systems,\nspecifically focusing on scenarios where the attacker's control over labels is\nrestricted and the use of realistic threat vectors. Proposing and evaluating\nseveral innovative attack methodologies, including those tailored to overhead\nimages, we empirically show their threat to remote sensing systems using\nhigh-quality SpaceNet datasets. Our experimentation reflects the unique\nchallenges posed by aerial imagery, and these preliminary results not only\nreveal the potential risks but also highlight the non-trivial nature of the\nproblem compared to recent works.\n", "date": "2023-12-12", "categories": []} {"id": "2211.05523", "title": "Impact of Adversarial Training on Robustness and Generalizability of\n Language Models", "abstract": " Adversarial training is widely acknowledged as the most effective defense\nagainst adversarial attacks. However, it is also well established that\nachieving both robustness and generalization in adversarially trained models\ninvolves a trade-off. The goal of this work is to provide an in depth\ncomparison of different approaches for adversarial training in language models.\nSpecifically, we study the effect of pre-training data augmentation as well as\ntraining time input perturbations vs. embedding space perturbations on the\nrobustness and generalization of transformer-based language models. Our\nfindings suggest that better robustness can be achieved by pre-training data\naugmentation or by training with input space perturbation. However, training\nwith embedding space perturbation significantly improves generalization. A\nlinguistic correlation analysis of neurons of the learned models reveals that\nthe improved generalization is due to 'more specialized' neurons. To the best\nof our knowledge, this is the first work to carry out a deep qualitative\nanalysis of different methods of generating adversarial examples in adversarial\ntraining of language models.\n", "date": "2022-11-10", "categories": []} {"id": "2312.05502", "title": "Poisoning $\\times$ Evasion: Symbiotic Adversarial Robustness for Graph\n Neural Networks", "abstract": " It is well-known that deep learning models are vulnerable to small input\nperturbations. Such perturbed instances are called adversarial examples.\nAdversarial examples are commonly crafted to fool a model either at training\ntime (poisoning) or test time (evasion). In this work, we study the symbiosis\nof poisoning and evasion. We show that combining both threat models can\nsubstantially improve the devastating efficacy of adversarial attacks.\nSpecifically, we study the robustness of Graph Neural Networks (GNNs) under\nstructure perturbations and devise a memory-efficient adaptive end-to-end\nattack for the novel threat model using first-order optimization.\n", "date": "2023-12-09", "categories": []} {"id": "2312.06163", "title": "Adversarial Camera Patch: An Effective and Robust Physical-World Attack\n on Object Detectors", "abstract": " Nowadays, the susceptibility of deep neural networks (DNNs) has garnered\nsignificant attention. Researchers are exploring patch-based physical attacks,\nyet traditional approaches, while effective, often result in conspicuous\npatches covering target objects. This leads to easy detection by human\nobservers. Recently, novel camera-based physical attacks have emerged,\nleveraging camera patches to execute stealthy attacks. These methods circumvent\ntarget object modifications by introducing perturbations directly to the camera\nlens, achieving a notable breakthrough in stealthiness. However, prevailing\ncamera-based strategies necessitate the deployment of multiple patches on the\ncamera lens, which introduces complexity. To address this issue, we propose an\nAdversarial Camera Patch (ADCP).\n", "date": "2023-12-11", "categories": []} {"id": "2312.06568", "title": "Sparse but Strong: Crafting Adversarially Robust Graph Lottery Tickets", "abstract": " Graph Lottery Tickets (GLTs), comprising a sparse adjacency matrix and a\nsparse graph neural network (GNN), can significantly reduce the inference\nlatency and compute footprint compared to their dense counterparts. Despite\nthese benefits, their performance against adversarial structure perturbations\nremains to be fully explored. In this work, we first investigate the resilience\nof GLTs against different structure perturbation attacks and observe that they\nare highly vulnerable and show a large drop in classification accuracy. Based\non this observation, we then present an adversarially robust graph\nsparsification (ARGS) framework that prunes the adjacency matrix and the GNN\nweights by optimizing a novel loss function capturing the graph homophily\nproperty and information associated with both the true labels of the train\nnodes and the pseudo labels of the test nodes. By iteratively applying ARGS to\nprune both the perturbed graph adjacency matrix and the GNN model weights, we\ncan find adversarially robust graph lottery tickets that are highly sparse yet\nachieve competitive performance under different untargeted training-time\nstructure attacks. Evaluations conducted on various benchmarks, considering\ndifferent poisoning structure attacks, namely, PGD, MetaAttack, Meta-PGD, and\nPR-BCD demonstrate that the GLTs generated by ARGS can significantly improve\nthe robustness, even when subjected to high levels of sparsity.\n", "date": "2023-12-11", "categories": []} {"id": "2312.03777", "title": "On the Robustness of Large Multimodal Models Against Image Adversarial\n Attacks", "abstract": " Recent advances in instruction tuning have led to the development of\nState-of-the-Art Large Multimodal Models (LMMs). Given the novelty of these\nmodels, the impact of visual adversarial attacks on LMMs has not been\nthoroughly examined. We conduct a comprehensive study of the robustness of\nvarious LMMs against different adversarial attacks, evaluated across tasks\nincluding image classification, image captioning, and Visual Question Answer\n(VQA). We find that in general LMMs are not robust to visual adversarial\ninputs. However, our findings suggest that context provided to the model via\nprompts, such as questions in a QA pair helps to mitigate the effects of visual\nadversarial inputs. Notably, the LMMs evaluated demonstrated remarkable\nresilience to such attacks on the ScienceQA task with only an 8.10% drop in\nperformance compared to their visual counterparts which dropped 99.73%. We also\npropose a new approach to real-world image classification which we term query\ndecomposition. By incorporating existence queries into our input prompt we\nobserve diminished attack effectiveness and improvements in image\nclassification accuracy. This research highlights a previously under-explored\nfacet of LMM robustness and sets the stage for future work aimed at\nstrengthening the resilience of multimodal systems in adversarial environments.\n", "date": "2023-12-06", "categories": []} {"id": "2312.04802", "title": "MimicDiffusion: Purifying Adversarial Perturbation via Mimicking Clean\n Diffusion Model", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial perturbation, where\nan imperceptible perturbation is added to the image that can fool the DNNs.\nDiffusion-based adversarial purification focuses on using the diffusion model\nto generate a clean image against such adversarial attacks. Unfortunately, the\ngenerative process of the diffusion model is also inevitably affected by\nadversarial perturbation since the diffusion model is also a deep network where\nits input has adversarial perturbation. In this work, we propose\nMimicDiffusion, a new diffusion-based adversarial purification technique, that\ndirectly approximates the generative process of the diffusion model with the\nclean image as input. Concretely, we analyze the differences between the guided\nterms using the clean image and the adversarial sample. After that, we first\nimplement MimicDiffusion based on Manhattan distance. Then, we propose two\nguidance to purify the adversarial perturbation and approximate the clean\ndiffusion model. Extensive experiments on three image datasets including\nCIFAR-10, CIFAR-100, and ImageNet with three classifier backbones including\nWideResNet-70-16, WideResNet-28-10, and ResNet50 demonstrate that\nMimicDiffusion significantly performs better than the state-of-the-art\nbaselines. On CIFAR-10, CIFAR-100, and ImageNet, it achieves 92.67\\%, 61.35\\%,\nand 61.53\\% average robust accuracy, which are 18.49\\%, 13.23\\%, and 17.64\\%\nhigher, respectively. The code is available in the supplementary material.\n", "date": "2023-12-08", "categories": []} {"id": "2312.04879", "title": "HC-Ref: Hierarchical Constrained Refinement for Robust Adversarial\n Training of GNNs", "abstract": " Recent studies have shown that attackers can catastrophically reduce the\nperformance of GNNs by maliciously modifying the graph structure or node\nfeatures on the graph. Adversarial training, which has been shown to be one of\nthe most effective defense mechanisms against adversarial attacks in computer\nvision, holds great promise for enhancing the robustness of GNNs. There is\nlimited research on defending against attacks by performing adversarial\ntraining on graphs, and it is crucial to delve deeper into this approach to\noptimize its effectiveness. Therefore, based on robust adversarial training on\ngraphs, we propose a hierarchical constraint refinement framework (HC-Ref) that\nenhances the anti-perturbation capabilities of GNNs and downstream classifiers\nseparately, ultimately leading to improved robustness. We propose corresponding\nadversarial regularization terms that are conducive to adaptively narrowing the\ndomain gap between the normal part and the perturbation part according to the\ncharacteristics of different layers, promoting the smoothness of the predicted\ndistribution of both parts. Moreover, existing research on graph robust\nadversarial training primarily concentrates on training from the standpoint of\nnode feature perturbations and seldom takes into account alterations in the\ngraph structure. This limitation makes it challenging to prevent attacks based\non topological changes in the graph. This paper generates adversarial examples\nby utilizing graph structure perturbations, offering an effective approach to\ndefend against attack methods that are based on topological changes. Extensive\nexperiments on two real-world graph benchmarks show that HC-Ref successfully\nresists various attacks and has better node classification performance compared\nto several baseline methods.\n", "date": "2023-12-08", "categories": []} {"id": "2312.04913", "title": "SA-Attack: Improving Adversarial Transferability of Vision-Language\n Pre-training Models via Self-Augmentation", "abstract": " Current Visual-Language Pre-training (VLP) models are vulnerable to\nadversarial examples. These adversarial examples present substantial security\nrisks to VLP models, as they can leverage inherent weaknesses in the models,\nresulting in incorrect predictions. In contrast to white-box adversarial\nattacks, transfer attacks (where the adversary crafts adversarial examples on a\nwhite-box model to fool another black-box model) are more reflective of\nreal-world scenarios, thus making them more meaningful for research. By\nsummarizing and analyzing existing research, we identified two factors that can\ninfluence the efficacy of transfer attacks on VLP models: inter-modal\ninteraction and data diversity. Based on these insights, we propose a\nself-augment-based transfer attack method, termed SA-Attack. Specifically,\nduring the generation of adversarial images and adversarial texts, we apply\ndifferent data augmentation methods to the image modality and text modality,\nrespectively, with the aim of improving the adversarial transferability of the\ngenerated adversarial images and texts. Experiments conducted on the FLickr30K\nand COCO datasets have validated the effectiveness of our method. Our code will\nbe available after this paper is accepted.\n", "date": "2023-12-08", "categories": []} {"id": "2207.13326", "title": "Point Cloud Attacks in Graph Spectral Domain: When 3D Geometry Meets\n Graph Signal Processing", "abstract": " With the increasing attention in various 3D safety-critical applications,\npoint cloud learning models have been shown to be vulnerable to adversarial\nattacks. Although existing 3D attack methods achieve high success rates, they\ndelve into the data space with point-wise perturbation, which may neglect the\ngeometric characteristics. Instead, we propose point cloud attacks from a new\nperspective -- the graph spectral domain attack, aiming to perturb graph\ntransform coefficients in the spectral domain that corresponds to varying\ncertain geometric structure. Specifically, leveraging on graph signal\nprocessing, we first adaptively transform the coordinates of points onto the\nspectral domain via graph Fourier transform (GFT) for compact representation.\nThen, we analyze the influence of different spectral bands on the geometric\nstructure, based on which we propose to perturb the GFT coefficients via a\nlearnable graph spectral filter. Considering the low-frequency components\nmainly contribute to the rough shape of the 3D object, we further introduce a\nlow-frequency constraint to limit perturbations within imperceptible\nhigh-frequency components. Finally, the adversarial point cloud is generated by\ntransforming the perturbed spectral representation back to the data domain via\nthe inverse GFT. Experimental results demonstrate the effectiveness of the\nproposed attack in terms of both the imperceptibility and attack success rates.\n", "date": "2022-07-27", "categories": []} {"id": "2302.10722", "title": "Characterizing the Optimal 0-1 Loss for Multi-class Classification with\n a Test-time Attacker", "abstract": " Finding classifiers robust to adversarial examples is critical for their safe\ndeployment. Determining the robustness of the best possible classifier under a\ngiven threat model for a given data distribution and comparing it to that\nachieved by state-of-the-art training methods is thus an important diagnostic\ntool. In this paper, we find achievable information-theoretic lower bounds on\nloss in the presence of a test-time attacker for multi-class classifiers on any\ndiscrete dataset. We provide a general framework for finding the optimal 0-1\nloss that revolves around the construction of a conflict hypergraph from the\ndata and adversarial constraints. We further define other variants of the\nattacker-classifier game that determine the range of the optimal loss more\nefficiently than the full-fledged hypergraph construction. Our evaluation\nshows, for the first time, an analysis of the gap to optimal robustness for\nclassifiers in the multi-class setting on benchmark datasets.\n", "date": "2023-02-21", "categories": []} {"id": "2312.03979", "title": "Node-aware Bi-smoothing: Certified Robustness against Graph Injection\n Attacks", "abstract": " Deep Graph Learning (DGL) has emerged as a crucial technique across various\ndomains. However, recent studies have exposed vulnerabilities in DGL models,\nsuch as susceptibility to evasion and poisoning attacks. While empirical and\nprovable robustness techniques have been developed to defend against graph\nmodification attacks (GMAs), the problem of certified robustness against graph\ninjection attacks (GIAs) remains largely unexplored. To bridge this gap, we\nintroduce the node-aware bi-smoothing framework, which is the first certifiably\nrobust approach for general node classification tasks against GIAs. Notably,\nthe proposed node-aware bi-smoothing scheme is model-agnostic and is applicable\nfor both evasion and poisoning attacks. Through rigorous theoretical analysis,\nwe establish the certifiable conditions of our smoothing scheme. We also\nexplore the practical implications of our node-aware bi-smoothing schemes in\ntwo contexts: as an empirical defense approach against real-world GIAs and in\nthe context of recommendation systems. Furthermore, we extend two\nstate-of-the-art certified robustness frameworks to address node injection\nattacks and compare our approach against them. Extensive evaluations\ndemonstrate the effectiveness of our proposed certificates.\n", "date": "2023-12-07", "categories": []} {"id": "2312.04032", "title": "RoAST: Robustifying Language Models via Adversarial Perturbation with\n Selective Training", "abstract": " Fine-tuning pre-trained language models (LMs) has become the de facto\nstandard in many NLP tasks. Nevertheless, fine-tuned LMs are still prone to\nrobustness issues, such as adversarial robustness and model calibration.\nSeveral perspectives of robustness for LMs have been studied independently, but\nlacking a unified consideration in multiple perspectives. In this paper, we\npropose Robustifying LMs via Adversarial perturbation with Selective Training\n(RoAST), a simple yet effective fine-tuning technique to enhance the\nmulti-perspective robustness of LMs in a unified way. RoAST effectively\nincorporates two important sources for the model robustness, robustness on the\nperturbed inputs and generalizable knowledge in pre-trained LMs. To be\nspecific, RoAST introduces adversarial perturbation during fine-tuning while\nthe model parameters are selectively updated upon their relative importance to\nminimize unnecessary deviation. Under a unified evaluation of fine-tuned LMs by\nincorporating four representative perspectives of model robustness, we\ndemonstrate the effectiveness of RoAST compared to state-of-the-art fine-tuning\nmethods on six different types of LMs, which indicates its usefulness in\npractice.\n", "date": "2023-12-07", "categories": []} {"id": "2312.04403", "title": "OT-Attack: Enhancing Adversarial Transferability of Vision-Language\n Models via Optimal Transport Optimization", "abstract": " Vision-language pre-training (VLP) models demonstrate impressive abilities in\nprocessing both images and text. However, they are vulnerable to multi-modal\nadversarial examples (AEs). Investigating the generation of\nhigh-transferability adversarial examples is crucial for uncovering VLP models'\nvulnerabilities in practical scenarios. Recent works have indicated that\nleveraging data augmentation and image-text modal interactions can enhance the\ntransferability of adversarial examples for VLP models significantly. However,\nthey do not consider the optimal alignment problem between dataaugmented\nimage-text pairs. This oversight leads to adversarial examples that are overly\ntailored to the source model, thus limiting improvements in transferability. In\nour research, we first explore the interplay between image sets produced\nthrough data augmentation and their corresponding text sets. We find that\naugmented image samples can align optimally with certain texts while exhibiting\nless relevance to others. Motivated by this, we propose an Optimal\nTransport-based Adversarial Attack, dubbed OT-Attack. The proposed method\nformulates the features of image and text sets as two distinct distributions\nand employs optimal transport theory to determine the most efficient mapping\nbetween them. This optimal mapping informs our generation of adversarial\nexamples to effectively counteract the overfitting issues. Extensive\nexperiments across various network architectures and datasets in image-text\nmatching tasks reveal that our OT-Attack outperforms existing state-of-the-art\nmethods in terms of adversarial transferability.\n", "date": "2023-12-07", "categories": []} {"id": "2303.07320", "title": "Model-tuning Via Prompts Makes NLP Models Adversarially Robust", "abstract": " In recent years, NLP practitioners have converged on the following practice:\n(i) import an off-the-shelf pretrained (masked) language model; (ii) append a\nmultilayer perceptron atop the CLS token's hidden representation (with randomly\ninitialized weights); and (iii) fine-tune the entire model on a downstream task\n(MLP-FT). This procedure has produced massive gains on standard NLP benchmarks,\nbut these models remain brittle, even to mild adversarial perturbations. In\nthis work, we demonstrate surprising gains in adversarial robustness enjoyed by\nModel-tuning Via Prompts (MVP), an alternative method of adapting to downstream\ntasks. Rather than appending an MLP head to make output prediction, MVP appends\na prompt template to the input, and makes prediction via text\ninfilling/completion. Across 5 NLP datasets, 4 adversarial attacks, and 3\ndifferent models, MVP improves performance against adversarial substitutions by\nan average of 8% over standard methods and even outperforms adversarial\ntraining-based state-of-art defenses by 3.5%. By combining MVP with adversarial\ntraining, we achieve further improvements in adversarial robustness while\nmaintaining performance on unperturbed examples. Finally, we conduct ablations\nto investigate the mechanism underlying these gains. Notably, we find that the\nmain causes of vulnerability of MLP-FT can be attributed to the misalignment\nbetween pre-training and fine-tuning tasks, and the randomly initialized MLP\nparameters.\n", "date": "2023-03-13", "categories": []} {"id": "2312.01679", "title": "Adversarial Medical Image with Hierarchical Feature Hiding", "abstract": " Deep learning based methods for medical images can be easily compromised by\nadversarial examples (AEs), posing a great security flaw in clinical\ndecision-making. It has been discovered that conventional adversarial attacks\nlike PGD which optimize the classification logits, are easy to distinguish in\nthe feature space, resulting in accurate reactive defenses. To better\nunderstand this phenomenon and reassess the reliability of the reactive\ndefenses for medical AEs, we thoroughly investigate the characteristic of\nconventional medical AEs. Specifically, we first theoretically prove that\nconventional adversarial attacks change the outputs by continuously optimizing\nvulnerable features in a fixed direction, thereby leading to outlier\nrepresentations in the feature space. Then, a stress test is conducted to\nreveal the vulnerability of medical images, by comparing with natural images.\nInterestingly, this vulnerability is a double-edged sword, which can be\nexploited to hide AEs. We then propose a simple-yet-effective hierarchical\nfeature constraint (HFC), a novel add-on to conventional white-box attacks,\nwhich assists to hide the adversarial feature in the target feature\ndistribution. The proposed method is evaluated on three medical datasets, both\n2D and 3D, with different modalities. The experimental results demonstrate the\nsuperiority of HFC, \\emph{i.e.,} it bypasses an array of state-of-the-art\nadversarial medical AE detectors more efficiently than competing adaptive\nattacks, which reveals the deficiencies of medical reactive defense and allows\nto develop more robust defenses in future.\n", "date": "2023-12-04", "categories": []} {"id": "2312.03030", "title": "Generating Visually Realistic Adversarial Patch", "abstract": " Deep neural networks (DNNs) are vulnerable to various types of adversarial\nexamples, bringing huge threats to security-critical applications. Among these,\nadversarial patches have drawn increasing attention due to their good\napplicability to fool DNNs in the physical world. However, existing works often\ngenerate patches with meaningless noise or patterns, making it conspicuous to\nhumans. To address this issue, we explore how to generate visually realistic\nadversarial patches to fool DNNs. Firstly, we analyze that a high-quality\nadversarial patch should be realistic, position irrelevant, and printable to be\ndeployed in the physical world. Based on this analysis, we propose an effective\nattack called VRAP, to generate visually realistic adversarial patches.\nSpecifically, VRAP constrains the patch in the neighborhood of a real image to\nensure the visual reality, optimizes the patch at the poorest position for\nposition irrelevance, and adopts Total Variance loss as well as gamma\ntransformation to make the generated patch printable without losing\ninformation. Empirical evaluations on the ImageNet dataset demonstrate that the\nproposed VRAP exhibits outstanding attack performance in the digital world.\nMoreover, the generated adversarial patches can be disguised as the scrawl or\nlogo in the physical world to fool the deep models without being detected,\nbringing significant threats to DNNs-enabled applications.\n", "date": "2023-12-05", "categories": []} {"id": "2312.03520", "title": "Defense Against Adversarial Attacks using Convolutional Auto-Encoders", "abstract": " Deep learning models, while achieving state-of-the-art performance on many\ntasks, are susceptible to adversarial attacks that exploit inherent\nvulnerabilities in their architectures. Adversarial attacks manipulate the\ninput data with imperceptible perturbations, causing the model to misclassify\nthe data or produce erroneous outputs. This work is based on enhancing the\nrobustness of targeted classifier models against adversarial attacks. To\nachieve this, an convolutional autoencoder-based approach is employed that\neffectively counters adversarial perturbations introduced to the input images.\nBy generating images closely resembling the input images, the proposed\nmethodology aims to restore the model's accuracy.\n", "date": "2023-12-06", "categories": []} {"id": "2312.02207", "title": "TranSegPGD: Improving Transferability of Adversarial Examples on\n Semantic Segmentation", "abstract": " Transferability of adversarial examples on image classification has been\nsystematically explored, which generates adversarial examples in black-box\nmode. However, the transferability of adversarial examples on semantic\nsegmentation has been largely overlooked. In this paper, we propose an\neffective two-stage adversarial attack strategy to improve the transferability\nof adversarial examples on semantic segmentation, dubbed TranSegPGD.\nSpecifically, at the first stage, every pixel in an input image is divided into\ndifferent branches based on its adversarial property. Different branches are\nassigned different weights for optimization to improve the adversarial\nperformance of all pixels.We assign high weights to the loss of the\nhard-to-attack pixels to misclassify all pixels. At the second stage, the\npixels are divided into different branches based on their transferable property\nwhich is dependent on Kullback-Leibler divergence. Different branches are\nassigned different weights for optimization to improve the transferability of\nthe adversarial examples. We assign high weights to the loss of the\nhigh-transferability pixels to improve the transferability of adversarial\nexamples. Extensive experiments with various segmentation models are conducted\non PASCAL VOC 2012 and Cityscapes datasets to demonstrate the effectiveness of\nthe proposed method. The proposed adversarial attack method can achieve\nstate-of-the-art performance.\n", "date": "2023-12-03", "categories": []} {"id": "2312.02236", "title": "Rethinking Adversarial Training with Neural Tangent Kernel", "abstract": " Adversarial training (AT) is an important and attractive topic in deep\nlearning security, exhibiting mysteries and odd properties. Recent studies of\nneural network training dynamics based on Neural Tangent Kernel (NTK) make it\npossible to reacquaint AT and deeply analyze its properties. In this paper, we\nperform an in-depth investigation of AT process and properties with NTK, such\nas NTK evolution. We uncover three new findings that are missed in previous\nworks. First, we disclose the impact of data normalization on AT and the\nimportance of unbiased estimators in batch normalization layers. Second, we\nexperimentally explore the kernel dynamics and propose more time-saving AT\nmethods. Third, we study the spectrum feature inside the kernel to address the\ncatastrophic overfitting problem. To the best of our knowledge, it is the first\nwork leveraging the observations of kernel dynamics to improve existing AT\nmethods.\n", "date": "2023-12-04", "categories": []} {"id": "2312.02237", "title": "Singular Regularization with Information Bottleneck Improves Model's\n Adversarial Robustness", "abstract": " Adversarial examples are one of the most severe threats to deep learning\nmodels. Numerous works have been proposed to study and defend adversarial\nexamples. However, these works lack analysis of adversarial information or\nperturbation, which cannot reveal the mystery of adversarial examples and lose\nproper interpretation. In this paper, we aim to fill this gap by studying\nadversarial information as unstructured noise, which does not have a clear\npattern. Specifically, we provide some empirical studies with singular value\ndecomposition, by decomposing images into several matrices, to analyze\nadversarial information for different attacks. Based on the analysis, we\npropose a new module to regularize adversarial information and combine\ninformation bottleneck theory, which is proposed to theoretically restrict\nintermediate representations. Therefore, our method is interpretable. Moreover,\nthe fashion of our design is a novel principle that is general and unified.\nEquipped with our new module, we evaluate two popular model structures on two\nmainstream datasets with various adversarial attacks. The results indicate that\nthe improvement in robust accuracy is significant. On the other hand, we prove\nthat our method is efficient with only a few additional parameters and able to\nbe explained under regional faithfulness analysis.\n", "date": "2023-12-04", "categories": []} {"id": "2312.02780", "title": "Scaling Laws for Adversarial Attacks on Language Model Activations", "abstract": " We explore a class of adversarial attacks targeting the activations of\nlanguage models. By manipulating a relatively small subset of model\nactivations, $a$, we demonstrate the ability to control the exact prediction of\na significant number (in some cases up to 1000) of subsequent tokens $t$. We\nempirically verify a scaling law where the maximum number of target tokens\n$t_\\mathrm{max}$ predicted depends linearly on the number of tokens $a$ whose\nactivations the attacker controls as $t_\\mathrm{max} = \\kappa a$. We find that\nthe number of bits of control in the input space needed to control a single bit\nin the output space (what we call attack resistance $\\chi$) is remarkably\nconstant between $\\approx 16$ and $\\approx 25$ over 2 orders of magnitude of\nmodel sizes for different language models. Compared to attacks on tokens,\nattacks on activations are predictably much stronger, however, we identify a\nsurprising regularity where one bit of input steered either via activations or\nvia tokens is able to exert control over a similar amount of output bits. This\ngives support for the hypothesis that adversarial attacks are a consequence of\ndimensionality mismatch between the input and output spaces. A practical\nimplication of the ease of attacking language model activations instead of\ntokens is for multi-modal and selected retrieval models, where additional data\nsources are added as activations directly, sidestepping the tokenized input.\nThis opens up a new, broad attack surface. By using language models as a\ncontrollable test-bed to study adversarial attacks, we were able to experiment\nwith input-output dimensions that are inaccessible in computer vision,\nespecially where the output dimension dominates.\n", "date": "2023-12-05", "categories": []} {"id": "2312.02912", "title": "Realistic Scatterer Based Adversarial Attacks on SAR Image Classifiers", "abstract": " Adversarial attacks have highlighted the vulnerability of classifiers based\non machine learning for Synthetic Aperture Radar (SAR) Automatic Target\nRecognition (ATR) tasks. An adversarial attack perturbs SAR images of on-ground\ntargets such that the classifiers are misled into making incorrect predictions.\nHowever, many existing attacking techniques rely on arbitrary manipulation of\nSAR images while overlooking the feasibility of executing the attacks on\nreal-world SAR imagery. Instead, adversarial attacks should be able to be\nimplemented by physical actions, for example, placing additional false objects\nas scatterers around the on-ground target to perturb the SAR image and fool the\nSAR ATR.\n In this paper, we propose the On-Target Scatterer Attack (OTSA), a\nscatterer-based physical adversarial attack. To ensure the feasibility of its\nphysical execution, we enforce a constraint on the positioning of the\nscatterers. Specifically, we restrict the scatterers to be placed only on the\ntarget instead of in the shadow regions or the background. To achieve this, we\nintroduce a positioning score based on Gaussian kernels and formulate an\noptimization problem for our OTSA attack. Using a gradient ascent method to\nsolve the optimization problem, the OTSA can generate a vector of parameters\ndescribing the positions, shapes, sizes and amplitudes of the scatterers to\nguide the physical execution of the attack that will mislead SAR image\nclassifiers. The experimental results show that our attack obtains\nsignificantly higher success rates under the positioning constraint compared\nwith the existing method.\n", "date": "2023-12-05", "categories": []} {"id": "2207.13381", "title": "Look Closer to Your Enemy: Learning to Attack via Teacher-Student\n Mimicking", "abstract": " Deep neural networks have significantly advanced person re-identification\n(ReID) applications in the realm of the industrial internet, yet they remain\nvulnerable. Thus, it is crucial to study the robustness of ReID systems, as\nthere are risks of adversaries using these vulnerabilities to compromise\nindustrial surveillance systems. Current adversarial methods focus on\ngenerating attack samples using misclassification feedback from victim models\n(VMs), neglecting VM's cognitive processes. We seek to address this by\nproducing authentic ReID attack instances through VM cognition decryption. This\napproach boasts advantages like better transferability to open-set ReID tests,\neasier VM misdirection, and enhanced creation of realistic and undetectable\nassault images. However, the task of deciphering the cognitive mechanism in VM\nis widely considered to be a formidable challenge. In this paper, we propose a\nnovel inconspicuous and controllable ReID attack baseline, LCYE (Look Closer to\nYour Enemy), to generate adversarial query images. Specifically, LCYE first\ndistills VM's knowledge via teacher-student memory mimicking the proxy task.\nThis knowledge prior serves as an unambiguous cryptographic token,\nencapsulating elements deemed indispensable and plausible by the VM, with the\nintent of facilitating precise adversarial misdirection. Further, benefiting\nfrom the multiple opposing task framework of LCYE, we investigate the\ninterpretability and generalization of ReID models from the view of the\nadversarial attack, including cross-domain adaption, cross-model consensus, and\nonline learning process. Extensive experiments on four ReID benchmarks show\nthat our method outperforms other state-of-the-art attackers with a large\nmargin in white-box, black-box, and target attacks. The source code can be\nfound at https://github.com/MingjieWang0606/LCYE-attack_reid.\n", "date": "2022-07-27", "categories": []} {"id": "2210.00094", "title": "Improving Robustness with Adaptive Weight Decay", "abstract": " We propose adaptive weight decay, which automatically tunes the\nhyper-parameter for weight decay during each training iteration. For\nclassification problems, we propose changing the value of the weight decay\nhyper-parameter on the fly based on the strength of updates from the\nclassification loss (i.e., gradient of cross-entropy), and the regularization\nloss (i.e., $\\ell_2$-norm of the weights). We show that this simple\nmodification can result in large improvements in adversarial robustness -- an\narea which suffers from robust overfitting -- without requiring extra data\nacross various datasets and architecture choices. For example, our\nreformulation results in $20\\%$ relative robustness improvement for CIFAR-100,\nand $10\\%$ relative robustness improvement on CIFAR-10 comparing to the best\ntuned hyper-parameters of traditional weight decay resulting in models that\nhave comparable performance to SOTA robustness methods. In addition, this\nmethod has other desirable properties, such as less sensitivity to learning\nrate, and smaller weight norms, which the latter contributes to robustness to\noverfitting to label noise, and pruning.\n", "date": "2022-09-30", "categories": []} {"id": "2303.09051", "title": "Robust Evaluation of Diffusion-Based Adversarial Purification", "abstract": " We question the current evaluation practice on diffusion-based purification\nmethods. Diffusion-based purification methods aim to remove adversarial effects\nfrom an input data point at test time. The approach gains increasing attention\nas an alternative to adversarial training due to the disentangling between\ntraining and testing. Well-known white-box attacks are often employed to\nmeasure the robustness of the purification. However, it is unknown whether\nthese attacks are the most effective for the diffusion-based purification since\nthe attacks are often tailored for adversarial training. We analyze the current\npractices and provide a new guideline for measuring the robustness of\npurification methods against adversarial attacks. Based on our analysis, we\nfurther propose a new purification strategy improving robustness compared to\nthe current diffusion-based purification methods.\n", "date": "2023-03-16", "categories": []} {"id": "2306.15427", "title": "Adversarial Training for Graph Neural Networks: Pitfalls, Solutions, and\n New Directions", "abstract": " Despite its success in the image domain, adversarial training did not (yet)\nstand out as an effective defense for Graph Neural Networks (GNNs) against\ngraph structure perturbations. In the pursuit of fixing adversarial training\n(1) we show and overcome fundamental theoretical as well as practical\nlimitations of the adopted graph learning setting in prior work; (2) we reveal\nthat more flexible GNNs based on learnable graph diffusion are able to adjust\nto adversarial perturbations, while the learned message passing scheme is\nnaturally interpretable; (3) we introduce the first attack for structure\nperturbations that, while targeting multiple nodes at once, is capable of\nhandling global (graph-level) as well as local (node-level) constraints.\nIncluding these contributions, we demonstrate that adversarial training is a\nstate-of-the-art defense against adversarial structure perturbations.\n", "date": "2023-06-27", "categories": []} {"id": "2307.08596", "title": "Omnipotent Adversarial Training in the Wild", "abstract": " Adversarial training is an important topic in robust deep learning, but the\ncommunity lacks attention to its practical usage. In this paper, we aim to\nresolve a real-world challenge, i.e., training a model on an imbalanced and\nnoisy dataset to achieve high clean accuracy and adversarial robustness, with\nour proposed Omnipotent Adversarial Training (OAT) strategy. OAT consists of\ntwo innovative methodologies to address the imperfection in the training set.\nWe first introduce an oracle into the adversarial training process to help the\nmodel learn a correct data-label conditional distribution. This\ncarefully-designed oracle can provide correct label annotations for adversarial\ntraining. We further propose logits adjustment adversarial training to overcome\nthe data imbalance issue, which can help the model learn a Bayes-optimal\ndistribution. Our comprehensive evaluation results show that OAT outperforms\nother baselines by more than 20% clean accuracy improvement and 10% robust\naccuracy improvement under complex combinations of data imbalance and label\nnoise scenarios. The code can be found in https://github.com/GuanlinLee/OAT.\n", "date": "2023-07-14", "categories": []} {"id": "2307.10205", "title": "Alleviating the Effect of Data Imbalance on Adversarial Training", "abstract": " In this paper, we study adversarial training on datasets that obey the\nlong-tailed distribution, which is practical but rarely explored in previous\nworks. Compared with conventional adversarial training on balanced datasets,\nthis process falls into the dilemma of generating uneven adversarial examples\n(AEs) and an unbalanced feature embedding space, causing the resulting model to\nexhibit low robustness and accuracy on tail data. To combat that, we\ntheoretically analyze the lower bound of the robust risk to train a model on a\nlong-tailed dataset to obtain the key challenges in addressing the\naforementioned dilemmas. Based on it, we propose a new adversarial training\nframework -- Re-balancing Adversarial Training (REAT). This framework consists\nof two components: (1) a new training strategy inspired by the effective number\nto guide the model to generate more balanced and informative AEs; (2) a\ncarefully constructed penalty function to force a satisfactory feature space.\nEvaluation results on different datasets and model structures prove that REAT\ncan effectively enhance the model's robustness and preserve the model's clean\naccuracy. The code can be found in https://github.com/GuanlinLee/REAT.\n", "date": "2023-07-14", "categories": []} {"id": "2312.01789", "title": "Two-stage optimized unified adversarial patch for attacking\n visible-infrared cross-modal detectors in the physical world", "abstract": " Currently, many studies have addressed security concerns related to visible\nand infrared detectors independently. In practical scenarios, utilizing\ncross-modal detectors for tasks proves more reliable than relying on\nsingle-modal detectors. Despite this, there is a lack of comprehensive security\nevaluations for cross-modal detectors. While existing research has explored the\nfeasibility of attacks against cross-modal detectors, the implementation of a\nrobust attack remains unaddressed. This work introduces the Two-stage Optimized\nUnified Adversarial Patch (TOUAP) designed for performing attacks against\nvisible-infrared cross-modal detectors in real-world, black-box settings. The\nTOUAP employs a two-stage optimization process: firstly, PSO optimizes an\nirregular polygonal infrared patch to attack the infrared detector; secondly,\nthe color QR code is optimized, and the shape information of the infrared patch\nfrom the first stage is used as a mask. The resulting irregular polygon visible\nmodal patch executes an attack on the visible detector. Through extensive\nexperiments conducted in both digital and physical environments, we validate\nthe effectiveness and robustness of the proposed method. As the TOUAP surpasses\nbaseline performance, we advocate for its widespread attention.\n", "date": "2023-12-04", "categories": []} {"id": "2212.02003", "title": "Bayesian Learning with Information Gain Provably Bounds Risk for a\n Robust Adversarial Defense", "abstract": " We present a new algorithm to learn a deep neural network model robust\nagainst adversarial attacks. Previous algorithms demonstrate an adversarially\ntrained Bayesian Neural Network (BNN) provides improved robustness. We\nrecognize the adversarial learning approach for approximating the multi-modal\nposterior distribution of a Bayesian model can lead to mode collapse;\nconsequently, the model's achievements in robustness and performance are\nsub-optimal. Instead, we first propose preventing mode collapse to better\napproximate the multi-modal posterior distribution. Second, based on the\nintuition that a robust model should ignore perturbations and only consider the\ninformative content of the input, we conceptualize and formulate an information\ngain objective to measure and force the information learned from both benign\nand adversarial training instances to be similar. Importantly. we prove and\ndemonstrate that minimizing the information gain objective allows the\nadversarial risk to approach the conventional empirical risk. We believe our\nefforts provide a step toward a basis for a principled method of adversarially\ntraining BNNs. Our model demonstrate significantly improved robustness--up to\n20%--compared with adversarial training and Adv-BNN under PGD attacks with\n0.035 distortion on both CIFAR-10 and STL-10 datasets.\n", "date": "2022-12-05", "categories": []} {"id": "2307.00309", "title": "Adversarial Attacks and Defenses on 3D Point Cloud Classification: A\n Survey", "abstract": " Deep learning has successfully solved a wide range of tasks in 2D vision as a\ndominant AI technique. Recently, deep learning on 3D point clouds is becoming\nincreasingly popular for addressing various tasks in this field. Despite\nremarkable achievements, deep learning algorithms are vulnerable to adversarial\nattacks. These attacks are imperceptible to the human eye but can easily fool\ndeep neural networks in the testing and deployment stage. To encourage future\nresearch, this survey summarizes the current progress on adversarial attack and\ndefense techniques on point cloud classification.This paper first introduces\nthe principles and characteristics of adversarial attacks and summarizes and\nanalyzes adversarial example generation methods in recent years. Additionally,\nit provides an overview of defense strategies, organized into data-focused and\nmodel-focused methods. Finally, it presents several current challenges and\npotential future research directions in this domain.\n", "date": "2023-07-01", "categories": []} {"id": "2312.00105", "title": "Improving the Robustness of Quantized Deep Neural Networks to White-Box\n Attacks using Stochastic Quantization and Information-Theoretic Ensemble\n Training", "abstract": " Most real-world applications that employ deep neural networks (DNNs) quantize\nthem to low precision to reduce the compute needs. We present a method to\nimprove the robustness of quantized DNNs to white-box adversarial attacks. We\nfirst tackle the limitation of deterministic quantization to fixed ``bins'' by\nintroducing a differentiable Stochastic Quantizer (SQ). We explore the\nhypothesis that different quantizations may collectively be more robust than\neach quantized DNN. We formulate a training objective to encourage different\nquantized DNNs to learn different representations of the input image. The\ntraining objective captures diversity and accuracy via mutual information\nbetween ensemble members. Through experimentation, we demonstrate substantial\nimprovement in robustness against $L_\\infty$ attacks even if the attacker is\nallowed to backpropagate through SQ (e.g., > 50\\% accuracy to PGD(5/255) on\nCIFAR10 without adversarial training), compared to vanilla DNNs as well as\nexisting ensembles of quantized DNNs. We extend the method to detect attacks\nand generate robustness profiles in the adversarial information plane (AIP),\ntowards a unified analysis of different threat models by correlating the MI and\naccuracy.\n", "date": "2023-11-30", "categories": []} {"id": "2312.00173", "title": "Fool the Hydra: Adversarial Attacks against Multi-view Object Detection\n Systems", "abstract": " Adversarial patches exemplify the tangible manifestation of the threat posed\nby adversarial attacks on Machine Learning (ML) models in real-world scenarios.\nRobustness against these attacks is of the utmost importance when designing\ncomputer vision applications, especially for safety-critical domains such as\nCCTV systems. In most practical situations, monitoring open spaces requires\nmulti-view systems to overcome acquisition challenges such as occlusion\nhandling. Multiview object systems are able to combine data from multiple\nviews, and reach reliable detection results even in difficult environments.\nDespite its importance in real-world vision applications, the vulnerability of\nmultiview systems to adversarial patches is not sufficiently investigated. In\nthis paper, we raise the following question: Does the increased performance and\ninformation sharing across views offer as a by-product robustness to\nadversarial patches? We first conduct a preliminary analysis showing promising\nrobustness against off-the-shelf adversarial patches, even in an extreme\nsetting where we consider patches applied to all views by all persons in\nWildtrack benchmark. However, we challenged this observation by proposing two\nnew attacks: (i) In the first attack, targeting a multiview CNN, we maximize\nthe global loss by proposing gradient projection to the different views and\naggregating the obtained local gradients. (ii) In the second attack, we focus\non a Transformer-based multiview framework. In addition to the focal loss, we\nalso maximize the transformer-specific loss by dissipating its attention\nblocks. Our results show a large degradation in the detection performance of\nvictim multiview systems with our first patch attack reaching an attack success\nrate of 73% , while our second proposed attack reduced the performance of its\ntarget detector by 62%\n", "date": "2023-11-30", "categories": []} {"id": "2301.12993", "title": "Benchmarking Robustness to Adversarial Image Obfuscations", "abstract": " Automated content filtering and moderation is an important tool that allows\nonline platforms to build striving user communities that facilitate cooperation\nand prevent abuse. Unfortunately, resourceful actors try to bypass automated\nfilters in a bid to post content that violate platform policies and codes of\nconduct. To reach this goal, these malicious actors may obfuscate policy\nviolating images (e.g. overlay harmful images by carefully selected benign\nimages or visual patterns) to prevent machine learning models from reaching the\ncorrect decision. In this paper, we invite researchers to tackle this specific\nissue and present a new image benchmark. This benchmark, based on ImageNet,\nsimulates the type of obfuscations created by malicious actors. It goes beyond\nImageNet-$\\textrm{C}$ and ImageNet-$\\bar{\\textrm{C}}$ by proposing general,\ndrastic, adversarial modifications that preserve the original content intent.\nIt aims to tackle a more common adversarial threat than the one considered by\n$\\ell_p$-norm bounded adversaries. We evaluate 33 pretrained models on the\nbenchmark and train models with different augmentations, architectures and\ntraining methods on subsets of the obfuscations to measure generalization. We\nhope this benchmark will encourage researchers to test their models and methods\nand try to find new approaches that are more robust to these obfuscations.\n", "date": "2023-01-30", "categories": []} {"id": "2305.08192", "title": "Diffusion Models for Imperceptible and Transferable Adversarial Attack", "abstract": " Many existing adversarial attacks generate $L_p$-norm perturbations on image\nRGB space. Despite some achievements in transferability and attack success\nrate, the crafted adversarial examples are easily perceived by human eyes.\nTowards visual imperceptibility, some recent works explore unrestricted attacks\nwithout $L_p$-norm constraints, yet lacking transferability of attacking\nblack-box models. In this work, we propose a novel imperceptible and\ntransferable attack by leveraging both the generative and discriminative power\nof diffusion models. Specifically, instead of direct manipulation in pixel\nspace, we craft perturbations in the latent space of diffusion models. Combined\nwith well-designed content-preserving structures, we can generate\nhuman-insensitive perturbations embedded with semantic clues. For better\ntransferability, we further \"deceive\" the diffusion model which can be viewed\nas an implicit recognition surrogate, by distracting its attention away from\nthe target regions. To our knowledge, our proposed method, DiffAttack, is the\nfirst that introduces diffusion models into the adversarial attack field.\nExtensive experiments on various model structures, datasets, and defense\nmethods have demonstrated the superiority of our attack over the existing\nattack methods.\n", "date": "2023-05-14", "categories": []} {"id": "2306.00974", "title": "Discovering Failure Modes of Text-guided Diffusion Models via\n Adversarial Search", "abstract": " Text-guided diffusion models (TDMs) are widely applied but can fail\nunexpectedly. Common failures include: (i) natural-looking text prompts\ngenerating images with the wrong content, or (ii) different random samples of\nthe latent variables that generate vastly different, and even unrelated,\noutputs despite being conditioned on the same text prompt. In this work, we aim\nto study and understand the failure modes of TDMs in more detail. To achieve\nthis, we propose SAGE, the first adversarial search method on TDMs that\nsystematically explores the discrete prompt space and the high-dimensional\nlatent space, to automatically discover undesirable behaviors and failure cases\nin image generation. We use image classifiers as surrogate loss functions\nduring searching, and employ human inspections to validate the identified\nfailures. For the first time, our method enables efficient exploration of both\nthe discrete and intricate human language space and the challenging latent\nspace, overcoming the gradient vanishing problem. Then, we demonstrate the\neffectiveness of SAGE on five widely used generative models and reveal four\ntypical failure modes: (1) We find a variety of natural text prompts that\ngenerate images failing to capture the semantics of input texts. We further\ndiscuss the underlying causes and potential solutions based on the results. (2)\nWe find regions in the latent space that lead to distorted images independent\nof the text prompt, suggesting that parts of the latent space are not\nwell-structured. (3) We also find latent samples that result in natural-looking\nimages unrelated to the text prompt, implying a possible misalignment between\nthe latent and prompt spaces. (4) By appending a single adversarial token\nembedding to any input prompts, we can generate a variety of specified target\nobjects. Project page: https://sage-diffusion.github.io/\n", "date": "2023-06-01", "categories": []} {"id": "2311.17400", "title": "Improving the Robustness of Transformer-based Large Language Models with\n Dynamic Attention", "abstract": " Transformer-based models, such as BERT and GPT, have been widely adopted in\nnatural language processing (NLP) due to their exceptional performance.\nHowever, recent studies show their vulnerability to textual adversarial attacks\nwhere the model's output can be misled by intentionally manipulating the text\ninputs. Despite various methods that have been proposed to enhance the model's\nrobustness and mitigate this vulnerability, many require heavy consumption\nresources (e.g., adversarial training) or only provide limited protection\n(e.g., defensive dropout). In this paper, we propose a novel method called\ndynamic attention, tailored for the transformer architecture, to enhance the\ninherent robustness of the model itself against various adversarial attacks.\nOur method requires no downstream task knowledge and does not incur additional\ncosts. The proposed dynamic attention consists of two modules: (I) attention\nrectification, which masks or weakens the attention value of the chosen tokens,\nand (ii) dynamic modeling, which dynamically builds the set of candidate\ntokens. Extensive experiments demonstrate that dynamic attention significantly\nmitigates the impact of adversarial attacks, improving up to 33\\% better\nperformance than previous methods against widely-used adversarial attacks. The\nmodel-level design of dynamic attention enables it to be easily combined with\nother defense methods (e.g., adversarial training) to further enhance the\nmodel's robustness. Furthermore, we demonstrate that dynamic attention\npreserves the state-of-the-art robustness space of the original model compared\nto other dynamic modeling methods.\n", "date": "2023-11-29", "categories": []} {"id": "2305.10665", "title": "Content-based Unrestricted Adversarial Attack", "abstract": " Unrestricted adversarial attacks typically manipulate the semantic content of\nan image (e.g., color or texture) to create adversarial examples that are both\neffective and photorealistic, demonstrating their ability to deceive human\nperception and deep neural networks with stealth and success. However, current\nworks usually sacrifice unrestricted degrees and subjectively select some image\ncontent to guarantee the photorealism of unrestricted adversarial examples,\nwhich limits its attack performance. To ensure the photorealism of adversarial\nexamples and boost attack performance, we propose a novel unrestricted attack\nframework called Content-based Unrestricted Adversarial Attack. By leveraging a\nlow-dimensional manifold that represents natural images, we map the images onto\nthe manifold and optimize them along its adversarial direction. Therefore,\nwithin this framework, we implement Adversarial Content Attack based on Stable\nDiffusion and can generate high transferable unrestricted adversarial examples\nwith various adversarial contents. Extensive experimentation and visualization\ndemonstrate the efficacy of ACA, particularly in surpassing state-of-the-art\nattacks by an average of 13.3-50.4% and 16.8-48.0% in normally trained models\nand defense methods, respectively.\n", "date": "2023-05-18", "categories": []} {"id": "2308.06703", "title": "Understanding the robustness difference between stochastic gradient\n descent and adaptive gradient methods", "abstract": " Stochastic gradient descent (SGD) and adaptive gradient methods, such as Adam\nand RMSProp, have been widely used in training deep neural networks. We\nempirically show that while the difference between the standard generalization\nperformance of models trained using these methods is small, those trained using\nSGD exhibit far greater robustness under input perturbations. Notably, our\ninvestigation demonstrates the presence of irrelevant frequencies in natural\ndatasets, where alterations do not affect models' generalization performance.\nHowever, models trained with adaptive methods show sensitivity to these\nchanges, suggesting that their use of irrelevant frequencies can lead to\nsolutions sensitive to perturbations. To better understand this difference, we\nstudy the learning dynamics of gradient descent (GD) and sign gradient descent\n(signGD) on a synthetic dataset that mirrors natural signals. With a\nthree-dimensional input space, the models optimized with GD and signGD have\nstandard risks close to zero but vary in their adversarial risks. Our result\nshows that linear models' robustness to $\\ell_2$-norm bounded changes is\ninversely proportional to the model parameters' weight norm: a smaller weight\nnorm implies better robustness. In the context of deep learning, our\nexperiments show that SGD-trained neural networks have smaller Lipschitz\nconstants, explaining the better robustness to input perturbations than those\ntrained with adaptive gradient methods.\n", "date": "2023-08-13", "categories": []} {"id": "2311.17087", "title": "Rethinking Mixup for Improving the Adversarial Transferability", "abstract": " Mixup augmentation has been widely integrated to generate adversarial\nexamples with superior adversarial transferability when immigrating from a\nsurrogate model to other models. However, the underlying mechanism influencing\nthe mixup's effect on transferability remains unexplored. In this work, we\nposit that the adversarial examples located at the convergence of decision\nboundaries across various categories exhibit better transferability and\nidentify that Admix tends to steer the adversarial examples towards such\nregions. However, we find the constraint on the added image in Admix decays its\ncapability, resulting in limited transferability. To address such an issue, we\npropose a new input transformation-based attack called Mixing the Image but\nSeparating the gradienT (MIST). Specifically, MIST randomly mixes the input\nimage with a randomly shifted image and separates the gradient of each loss\nitem for each mixed image. To counteract the imprecise gradient, MIST\ncalculates the gradient on several mixed images for each input sample.\nExtensive experimental results on the ImageNet dataset demonstrate that MIST\noutperforms existing SOTA input transformation-based attacks with a clear\nmargin on both Convolutional Neural Networks (CNNs) and Vision Transformers\n(ViTs) w/wo defense mechanisms, supporting MIST's high effectiveness and\ngenerality.\n", "date": "2023-11-28", "categories": []} {"id": "2311.17128", "title": "Vulnerability Analysis of Transformer-based Optical Character\n Recognition to Adversarial Attacks", "abstract": " Recent advancements in Optical Character Recognition (OCR) have been driven\nby transformer-based models. OCR systems are critical in numerous high-stakes\ndomains, yet their vulnerability to adversarial attack remains largely\nuncharted territory, raising concerns about security and compliance with\nemerging AI regulations. In this work we present a novel framework to assess\nthe resilience of Transformer-based OCR (TrOCR) models. We develop and assess\nalgorithms for both targeted and untargeted attacks. For the untargeted case,\nwe measure the Character Error Rate (CER), while for the targeted case we use\nthe success ratio. We find that TrOCR is highly vulnerable to untargeted\nattacks and somewhat less vulnerable to targeted attacks. On a benchmark\nhandwriting data set, untargeted attacks can cause a CER of more than 1 without\nbeing noticeable to the eye. With a similar perturbation size, targeted attacks\ncan lead to success rates of around $25\\%$ -- here we attacked single tokens,\nrequiring TrOCR to output the tenth most likely token from a large vocabulary.\n", "date": "2023-11-28", "categories": []} {"id": "2311.17332", "title": "NeRFTAP: Enhancing Transferability of Adversarial Patches on Face\n Recognition using Neural Radiance Fields", "abstract": " Face recognition (FR) technology plays a crucial role in various\napplications, but its vulnerability to adversarial attacks poses significant\nsecurity concerns. Existing research primarily focuses on transferability to\ndifferent FR models, overlooking the direct transferability to victim's face\nimages, which is a practical threat in real-world scenarios. In this study, we\npropose a novel adversarial attack method that considers both the\ntransferability to the FR model and the victim's face image, called NeRFTAP.\nLeveraging NeRF-based 3D-GAN, we generate new view face images for the source\nand target subjects to enhance transferability of adversarial patches. We\nintroduce a style consistency loss to ensure the visual similarity between the\nadversarial UV map and the target UV map under a 0-1 mask, enhancing the\neffectiveness and naturalness of the generated adversarial face images.\nExtensive experiments and evaluations on various FR models demonstrate the\nsuperiority of our approach over existing attack techniques. Our work provides\nvaluable insights for enhancing the robustness of FR systems in practical\nadversarial settings.\n", "date": "2023-11-29", "categories": []} {"id": "2311.17608", "title": "Adversarial Robust Memory-Based Continual Learner", "abstract": " Despite the remarkable advances that have been made in continual learning,\nthe adversarial vulnerability of such methods has not been fully discussed. We\ndelve into the adversarial robustness of memory-based continual learning\nalgorithms and observe limited robustness improvement by directly applying\nadversarial training techniques. Preliminary studies reveal the twin challenges\nfor building adversarial robust continual learners: accelerated forgetting in\ncontinual learning and gradient obfuscation in adversarial robustness. In this\nstudy, we put forward a novel adversarial robust memory-based continual learner\nthat adjusts data logits to mitigate the forgetting of pasts caused by\nadversarial samples. Furthermore, we devise a gradient-based data selection\nmechanism to overcome the gradient obfuscation caused by limited stored data.\nThe proposed approach can widely integrate with existing memory-based continual\nlearning as well as adversarial training algorithms in a plug-and-play way.\nExtensive experiments on Split-CIFAR10/100 and Split-Tiny-ImageNet demonstrate\nthe effectiveness of our approach, achieving up to 8.13% higher accuracy for\nadversarial data.\n", "date": "2023-11-29", "categories": []} {"id": "2302.07221", "title": "On the Role of Randomization in Adversarially Robust Classification", "abstract": " Deep neural networks are known to be vulnerable to small adversarial\nperturbations in test data. To defend against adversarial attacks,\nprobabilistic classifiers have been proposed as an alternative to deterministic\nones. However, literature has conflicting findings on the effectiveness of\nprobabilistic classifiers in comparison to deterministic ones. In this paper,\nwe clarify the role of randomization in building adversarially robust\nclassifiers. Given a base hypothesis set of deterministic classifiers, we show\nthe conditions under which a randomized ensemble outperforms the hypothesis set\nin adversarial risk, extending previous results. Additionally, we show that for\nany probabilistic binary classifier (including randomized ensembles), there\nexists a deterministic classifier that outperforms it. Finally, we give an\nexplicit description of the deterministic hypothesis set that contains such a\ndeterministic classifier for many types of commonly used probabilistic\nclassifiers, i.e. randomized ensembles and parametric/input noise injection.\n", "date": "2023-02-14", "categories": []} {"id": "2311.16118", "title": "Imperceptible CMOS camera dazzle for adversarial attacks on deep neural\n networks", "abstract": " Despite the outstanding performance of deep neural networks, they are\nvulnerable to adversarial attacks. While there are many invisible attacks in\nthe digital domain, most physical world adversarial attacks are visible. Here\nwe present an invisible optical adversarial attack that uses a light source to\ndazzle a CMOS camera with a rolling shutter. We present the photopic conditions\nrequired to keep the attacking light source completely invisible while\nsufficiently jamming the captured image so that a deep neural network applied\nto it is deceived.\n", "date": "2023-10-22", "categories": []} {"id": "2311.16478", "title": "RetouchUAA: Unconstrained Adversarial Attack via Image Retouching", "abstract": " Deep Neural Networks (DNNs) are susceptible to adversarial examples.\nConventional attacks generate controlled noise-like perturbations that fail to\nreflect real-world scenarios and hard to interpretable. In contrast, recent\nunconstrained attacks mimic natural image transformations occurring in the real\nworld for perceptible but inconspicuous attacks, yet compromise realism due to\nneglect of image post-processing and uncontrolled attack direction. In this\npaper, we propose RetouchUAA, an unconstrained attack that exploits a real-life\nperturbation: image retouching styles, highlighting its potential threat to\nDNNs. Compared to existing attacks, RetouchUAA offers several notable\nadvantages. Firstly, RetouchUAA excels in generating interpretable and\nrealistic perturbations through two key designs: the image retouching attack\nframework and the retouching style guidance module. The former custom-designed\nhuman-interpretability retouching framework for adversarial attack by\nlinearizing images while modelling the local processing and retouching\ndecision-making in human retouching behaviour, provides an explicit and\nreasonable pipeline for understanding the robustness of DNNs against\nretouching. The latter guides the adversarial image towards standard retouching\nstyles, thereby ensuring its realism. Secondly, attributed to the design of the\nretouching decision regularization and the persistent attack strategy,\nRetouchUAA also exhibits outstanding attack capability and defense robustness,\nposing a heavy threat to DNNs. Experiments on ImageNet and Place365 reveal that\nRetouchUAA achieves nearly 100\\% white-box attack success against three DNNs,\nwhile achieving a better trade-off between image naturalness, transferability\nand defense robustness than baseline attacks.\n", "date": "2023-11-27", "categories": []} {"id": "2311.16577", "title": "Efficient Key-Based Adversarial Defense for ImageNet by Using\n Pre-trained Model", "abstract": " In this paper, we propose key-based defense model proliferation by leveraging\npre-trained models and utilizing recent efficient fine-tuning techniques on\nImageNet-1k classification. First, we stress that deploying key-based models on\nedge devices is feasible with the latest model deployment advancements, such as\nApple CoreML, although the mainstream enterprise edge artificial intelligence\n(Edge AI) has been focused on the Cloud. Then, we point out that the previous\nkey-based defense on on-device image classification is impractical for two\nreasons: (1) training many classifiers from scratch is not feasible, and (2)\nkey-based defenses still need to be thoroughly tested on large datasets like\nImageNet. To this end, we propose to leverage pre-trained models and utilize\nefficient fine-tuning techniques to proliferate key-based models even on\nlimited computing resources. Experiments were carried out on the ImageNet-1k\ndataset using adaptive and non-adaptive attacks. The results show that our\nproposed fine-tuned key-based models achieve a superior classification accuracy\n(more than 10% increase) compared to the previous key-based models on\nclassifying clean and adversarial examples.\n", "date": "2023-11-28", "categories": []} {"id": "2311.16833", "title": "1-Lipschitz Layers Compared: Memory, Speed, and Certifiable Robustness", "abstract": " The robustness of neural networks against input perturbations with bounded\nmagnitude represents a serious concern in the deployment of deep learning\nmodels in safety-critical systems. Recently, the scientific community has\nfocused on enhancing certifiable robustness guarantees by crafting 1-Lipschitz\nneural networks that leverage Lipschitz bounded dense and convolutional layers.\nAlthough different methods have been proposed in the literature to achieve this\ngoal, understanding the performance of such methods is not straightforward,\nsince different metrics can be relevant (e.g., training time, memory usage,\naccuracy, certifiable robustness) for different applications. For this reason,\nthis work provides a thorough theoretical and empirical comparison between\nmethods by evaluating them in terms of memory usage, speed, and certifiable\nrobust accuracy. The paper also provides some guidelines and recommendations to\nsupport the user in selecting the methods that work best depending on the\navailable resources. We provide code at\nhttps://github.com/berndprach/1LipschitzLayersCompared.\n", "date": "2023-11-28", "categories": []} {"id": "2303.10594", "title": "AdaptGuard: Defending Against Universal Attacks for Model Adaptation", "abstract": " Model adaptation aims at solving the domain transfer problem under the\nconstraint of only accessing the pretrained source models. With the increasing\nconsiderations of data privacy and transmission efficiency, this paradigm has\nbeen gaining recent popularity. This paper studies the vulnerability to\nuniversal attacks transferred from the source domain during model adaptation\nalgorithms due to the existence of malicious providers. We explore both\nuniversal adversarial perturbations and backdoor attacks as loopholes on the\nsource side and discover that they still survive in the target models after\nadaptation. To address this issue, we propose a model preprocessing framework,\nnamed AdaptGuard, to improve the security of model adaptation algorithms.\nAdaptGuard avoids direct use of the risky source parameters through knowledge\ndistillation and utilizes the pseudo adversarial samples under adjusted radius\nto enhance the robustness. AdaptGuard is a plug-and-play module that requires\nneither robust pretrained models nor any changes for the following model\nadaptation algorithms. Extensive results on three commonly used datasets and\ntwo popular adaptation methods validate that AdaptGuard can effectively defend\nagainst universal attacks and maintain clean accuracy in the target domain\nsimultaneously. We hope this research will shed light on the safety and\nrobustness of transfer learning. Code is available at\nhttps://github.com/TomSheng21/AdaptGuard.\n", "date": "2023-03-19", "categories": []} {"id": "2311.15339", "title": "Adversarial Purification of Information Masking", "abstract": " Adversarial attacks meticulously generate minuscule, imperceptible\nperturbations to images to deceive neural networks. Counteracting these,\nadversarial purification methods seek to transform adversarial input samples\ninto clean output images to defend against adversarial attacks. Nonetheless,\nextent generative models fail to effectively eliminate adversarial\nperturbations, yielding less-than-ideal purification results. We emphasize the\npotential threat of residual adversarial perturbations to target models,\nquantitatively establishing a relationship between perturbation scale and\nattack capability. Notably, the residual perturbations on the purified image\nprimarily stem from the same-position patch and similar patches of the\nadversarial sample. We propose a novel adversarial purification approach named\nInformation Mask Purification (IMPure), aims to extensively eliminate\nadversarial perturbations. To obtain an adversarial sample, we first mask part\nof the patches information, then reconstruct the patches to resist adversarial\nperturbations from the patches. We reconstruct all patches in parallel to\nobtain a cohesive image. Then, in order to protect the purified samples against\npotential similar regional perturbations, we simulate this risk by randomly\nmixing the purified samples with the input samples before inputting them into\nthe feature extraction network. Finally, we establish a combined constraint of\npixel loss and perceptual loss to augment the model's reconstruction\nadaptability. Extensive experiments on the ImageNet dataset with three\nclassifier models demonstrate that our approach achieves state-of-the-art\nresults against nine adversarial attack methods. Implementation code and\npre-trained weights can be accessed at\n\\textcolor{blue}{https://github.com/NoWindButRain/IMPure}.\n", "date": "2023-11-26", "categories": []} {"id": "2311.15551", "title": "Instruct2Attack: Language-Guided Semantic Adversarial Attacks", "abstract": " We propose Instruct2Attack (I2A), a language-guided semantic attack that\ngenerates semantically meaningful perturbations according to free-form language\ninstructions. We make use of state-of-the-art latent diffusion models, where we\nadversarially guide the reverse diffusion process to search for an adversarial\nlatent code conditioned on the input image and text instruction. Compared to\nexisting noise-based and semantic attacks, I2A generates more natural and\ndiverse adversarial examples while providing better controllability and\ninterpretability. We further automate the attack process with GPT-4 to generate\ndiverse image-specific text instructions. We show that I2A can successfully\nbreak state-of-the-art deep neural networks even under strong adversarial\ndefenses, and demonstrate great transferability among a variety of network\narchitectures.\n", "date": "2023-11-27", "categories": []} {"id": "2311.15782", "title": "Relationship between Model Compression and Adversarial Robustness: A\n Review of Current Evidence", "abstract": " Increasing the model capacity is a known approach to enhance the adversarial\nrobustness of deep learning networks. On the other hand, various model\ncompression techniques, including pruning and quantization, can reduce the size\nof the network while preserving its accuracy. Several recent studies have\naddressed the relationship between model compression and adversarial\nrobustness, while some experiments have reported contradictory results. This\nwork summarizes available evidence and discusses possible explanations for the\nobserved effects.\n", "date": "2023-11-27", "categories": []} {"id": "2311.07553", "title": "An Extensive Study on Adversarial Attack against Pre-trained Models of\n Code", "abstract": " Transformer-based pre-trained models of code (PTMC) have been widely utilized\nand have achieved state-of-the-art performance in many mission-critical\napplications. However, they can be vulnerable to adversarial attacks through\nidentifier substitution or coding style transformation, which can significantly\ndegrade accuracy and may further incur security concerns. Although several\napproaches have been proposed to generate adversarial examples for PTMC, the\neffectiveness and efficiency of such approaches, especially on different code\nintelligence tasks, has not been well understood. To bridge this gap, this\nstudy systematically analyzes five state-of-the-art adversarial attack\napproaches from three perspectives: effectiveness, efficiency, and the quality\nof generated examples. The results show that none of the five approaches\nbalances all these perspectives. Particularly, approaches with a high attack\nsuccess rate tend to be time-consuming; the adversarial code they generate\noften lack naturalness, and vice versa. To address this limitation, we explore\nthe impact of perturbing identifiers under different contexts and find that\nidentifier substitution within for and if statements is the most effective.\nBased on these findings, we propose a new approach that prioritizes different\ntypes of statements for various tasks and further utilizes beam search to\ngenerate adversarial examples. Evaluation results show that it outperforms the\nstate-of-the-art ALERT in terms of both effectiveness and efficiency while\npreserving the naturalness of the generated adversarial examples.\n", "date": "2023-11-13", "categories": []} {"id": "2311.14450", "title": "Segment (Almost) Nothing: Prompt-Agnostic Adversarial Attacks on\n Segmentation Models", "abstract": " General purpose segmentation models are able to generate (semantic)\nsegmentation masks from a variety of prompts, including visual (points, boxed,\netc.) and textual (object names) ones. In particular, input images are\npre-processed by an image encoder to obtain embedding vectors which are later\nused for mask predictions. Existing adversarial attacks target the end-to-end\ntasks, i.e. aim at altering the segmentation mask predicted for a specific\nimage-prompt pair. However, this requires running an individual attack for each\nnew prompt for the same image. We propose instead to generate prompt-agnostic\nadversarial attacks by maximizing the $\\ell_2$-distance, in the latent space,\nbetween the embedding of the original and perturbed images. Since the encoding\nprocess only depends on the image, distorted image representations will cause\nperturbations in the segmentation masks for a variety of prompts. We show that\neven imperceptible $\\ell_\\infty$-bounded perturbations of radius\n$\\epsilon=1/255$ are often sufficient to drastically modify the masks predicted\nwith point, box and text prompts by recently proposed foundation models for\nsegmentation. Moreover, we explore the possibility of creating universal, i.e.\nnon image-specific, attacks which can be readily applied to any input without\nfurther computational cost.\n", "date": "2023-11-24", "categories": []} {"id": "2311.12857", "title": "Adversarial sample generation and training using geometric masks for\n accurate and resilient license plate character recognition", "abstract": " Reading dirty license plates accurately in moving vehicles is challenging for\nautomatic license plate recognition systems. Moreover, license plates are often\nintentionally tampered with a malicious intent to avoid police apprehension.\nUsually, such groups and individuals know how to fool the existing recognition\nsystems by making minor unnoticeable plate changes. Designing and developing\ndeep learning methods resilient to such real-world 'attack' practices remains\nan active research problem. As a solution, this work develops a resilient\nmethod to recognize license plate characters. Extracting 1057 character images\nfrom 160 Nepalese vehicles, as the first step, we trained several standard deep\nconvolutional neural networks to obtain 99.5% character classification\naccuracy. On adversarial images generated to simulate malicious tampering,\nhowever, our model's accuracy dropped to 25%. Next, we enriched our dataset by\ngenerating and adding geometrically masked images, retrained our models, and\ninvestigated the models' predictions. The proposed approach of training with\ngenerated adversarial images helped our adversarial attack-aware license plate\ncharacter recognition (AA-LPCR) model achieves an accuracy of 99.7%. This\nnear-perfect accuracy demonstrates that the proposed idea of random geometric\nmasking is highly effective for improving the accuracy of license plate\nrecognition models. Furthermore, by performing interpretability studies to\nunderstand why our models work, we identify and highlight attack-prone regions\nin the input character images. In sum, although Nepal's embossed license plate\ndetection systems are vulnerable to malicious attacks, our findings suggest\nthat these systems can be upgraded to close to 100% resilience.\n", "date": "2023-10-25", "categories": []} {"id": "2311.13233", "title": "A Survey of Adversarial CAPTCHAs on its History, Classification and\n Generation", "abstract": " Completely Automated Public Turing test to tell Computers and Humans Apart,\nshort for CAPTCHA, is an essential and relatively easy way to defend against\nmalicious attacks implemented by bots. The security and usability trade-off\nlimits the use of massive geometric transformations to interfere deep model\nrecognition and deep models even outperformed humans in complex CAPTCHAs. The\ndiscovery of adversarial examples provides an ideal solution to the security\nand usability trade-off by integrating adversarial examples and CAPTCHAs to\ngenerate adversarial CAPTCHAs that can fool the deep models. In this paper, we\nextend the definition of adversarial CAPTCHAs and propose a classification\nmethod for adversarial CAPTCHAs. Then we systematically review some commonly\nused methods to generate adversarial examples and methods that are successfully\nused to generate adversarial CAPTCHAs. Also, we analyze some defense methods\nthat can be used to defend adversarial CAPTCHAs, indicating potential threats\nto adversarial CAPTCHAs. Finally, we discuss some possible future research\ndirections for adversarial CAPTCHAs at the end of this paper.\n", "date": "2023-11-22", "categories": []} {"id": "2311.13244", "title": "Hard Label Black Box Node Injection Attack on Graph Neural Networks", "abstract": " While graph neural networks have achieved state-of-the-art performances in\nmany real-world tasks including graph classification and node classification,\nrecent works have demonstrated they are also extremely vulnerable to\nadversarial attacks. Most previous works have focused on attacking node\nclassification networks under impractical white-box scenarios. In this work, we\nwill propose a non-targeted Hard Label Black Box Node Injection Attack on Graph\nNeural Networks, which to the best of our knowledge, is the first of its kind.\nUnder this setting, more real world tasks can be studied because our attack\nassumes no prior knowledge about (1): the model architecture of the GNN we are\nattacking; (2): the model's gradients; (3): the output logits of the target GNN\nmodel. Our attack is based on an existing edge perturbation attack, from which\nwe restrict the optimization process to formulate a node injection attack. In\nthe work, we will evaluate the performance of the attack using three datasets,\nCOIL-DEL, IMDB-BINARY, and NCI1.\n", "date": "2023-11-22", "categories": []} {"id": "2311.13445", "title": "Transfer Attacks and Defenses for Large Language Models on Coding Tasks", "abstract": " Modern large language models (LLMs), such as ChatGPT, have demonstrated\nimpressive capabilities for coding tasks including writing and reasoning about\ncode. They improve upon previous neural network models of code, such as\ncode2seq or seq2seq, that already demonstrated competitive results when\nperforming tasks such as code summarization and identifying code\nvulnerabilities. However, these previous code models were shown vulnerable to\nadversarial examples, i.e. small syntactic perturbations that do not change the\nprogram's semantics, such as the inclusion of \"dead code\" through false\nconditions or the addition of inconsequential print statements, designed to\n\"fool\" the models. LLMs can also be vulnerable to the same adversarial\nperturbations but a detailed study on this concern has been lacking so far. In\nthis paper we aim to investigate the effect of adversarial perturbations on\ncoding tasks with LLMs. In particular, we study the transferability of\nadversarial examples, generated through white-box attacks on smaller code\nmodels, to LLMs. Furthermore, to make the LLMs more robust against such\nadversaries without incurring the cost of retraining, we propose prompt-based\ndefenses that involve modifying the prompt to include additional information\nsuch as examples of adversarially perturbed code and explicit instructions for\nreversing adversarial perturbations. Our experiments show that adversarial\nexamples obtained with a smaller code model are indeed transferable, weakening\nthe LLMs' performance. The proposed defenses show promise in improving the\nmodel's resilience, paving the way to more robust defensive solutions for LLMs\nin code-related applications.\n", "date": "2023-11-22", "categories": []} {"id": "2305.11618", "title": "DAP: A Dynamic Adversarial Patch for Evading Person Detectors", "abstract": " Patch-based adversarial attacks were proven to compromise the robustness and\nreliability of computer vision systems. However, their conspicuous and easily\ndetectable nature challenge their practicality in real-world setting. To\naddress this, recent work has proposed using Generative Adversarial Networks\n(GANs) to generate naturalistic patches that may not attract human attention.\nHowever, such approaches suffer from a limited latent space making it\nchallenging to produce a patch that is efficient, stealthy, and robust to\nmultiple real-world transformations. This paper introduces a novel approach\nthat produces a Dynamic Adversarial Patch (DAP) designed to overcome these\nlimitations. DAP maintains a naturalistic appearance while optimizing attack\nefficiency and robustness to real-world transformations. The approach involves\nredefining the optimization problem and introducing a novel objective function\nthat incorporates a similarity metric to guide the patch's creation. Unlike\nGAN-based techniques, the DAP directly modifies pixel values within the patch,\nproviding increased flexibility and adaptability to multiple transformations.\nFurthermore, most clothing-based physical attacks assume static objects and\nignore the possible transformations caused by non-rigid deformation due to\nchanges in a person's pose. To address this limitation, a 'Creases\nTransformation' (CT) block is introduced, enhancing the patch's resilience to a\nvariety of real-world distortions. Experimental results demonstrate that the\nproposed approach outperforms state-of-the-art attacks, achieving a success\nrate of up to 82.28% in the digital world when targeting the YOLOv7 detector\nand 65% in the physical world when targeting YOLOv3tiny detector deployed in\nedge-based smart cameras.\n", "date": "2023-05-19", "categories": []} {"id": "2306.12685", "title": "Rethinking the Backward Propagation for Adversarial Transferability", "abstract": " Transfer-based attacks generate adversarial examples on the surrogate model,\nwhich can mislead other black-box models without access, making it promising to\nattack real-world applications. Recently, several works have been proposed to\nboost adversarial transferability, in which the surrogate model is usually\noverlooked. In this work, we identify that non-linear layers (e.g., ReLU,\nmax-pooling, etc.) truncate the gradient during backward propagation, making\nthe gradient w.r.t. input image imprecise to the loss function. We hypothesize\nand empirically validate that such truncation undermines the transferability of\nadversarial examples. Based on these findings, we propose a novel method called\nBackward Propagation Attack (BPA) to increase the relevance between the\ngradient w.r.t. input image and loss function so as to generate adversarial\nexamples with higher transferability. Specifically, BPA adopts a non-monotonic\nfunction as the derivative of ReLU and incorporates softmax with temperature to\nsmooth the derivative of max-pooling, thereby mitigating the information loss\nduring the backward propagation of gradients. Empirical results on the ImageNet\ndataset demonstrate that not only does our method substantially boost the\nadversarial transferability, but it is also general to existing transfer-based\nattacks. Code is available at https://github.com/Trustworthy-AI-Group/RPA.\n", "date": "2023-06-22", "categories": []} {"id": "2311.12051", "title": "Boost Adversarial Transferability by Uniform Scale and Mix Mask Method", "abstract": " Adversarial examples generated from surrogate models often possess the\nability to deceive other black-box models, a property known as transferability.\nRecent research has focused on enhancing adversarial transferability, with\ninput transformation being one of the most effective approaches. However,\nexisting input transformation methods suffer from two issues. Firstly, certain\nmethods, such as the Scale-Invariant Method, employ exponentially decreasing\nscale invariant parameters that decrease the adaptability in generating\neffective adversarial examples across multiple scales. Secondly, most mixup\nmethods only linearly combine candidate images with the source image, leading\nto reduced features blending effectiveness. To address these challenges, we\npropose a framework called Uniform Scale and Mix Mask Method (US-MM) for\nadversarial example generation. The Uniform Scale approach explores the upper\nand lower boundaries of perturbation with a linear factor, minimizing the\nnegative impact of scale copies. The Mix Mask method introduces masks into the\nmixing process in a nonlinear manner, significantly improving the effectiveness\nof mixing strategies. Ablation experiments are conducted to validate the\neffectiveness of each component in US-MM and explore the effect of\nhyper-parameters. Empirical evaluations on standard ImageNet datasets\ndemonstrate that US-MM achieves an average of 7% better transfer attack success\nrate compared to state-of-the-art methods.\n", "date": "2023-11-18", "categories": []} {"id": "2306.07613", "title": "Revisiting and Advancing Adversarial Training Through A Simple Baseline", "abstract": " In this paper, we delve into the essential components of adversarial training\nwhich is a pioneering defense technique against adversarial attacks. We\nindicate that some factors such as the loss function, learning rate scheduler,\nand data augmentation, which are independent of the model architecture, will\ninfluence adversarial robustness and generalization. When these factors are\ncontrolled for, we introduce a simple baseline approach, termed SimpleAT, that\nperforms competitively with recent methods and mitigates robust overfitting. We\nconduct extensive experiments on CIFAR-10/100 and Tiny-ImageNet, which validate\nthe robustness of SimpleAT against state-of-the-art adversarial attackers such\nas AutoAttack. Our results also demonstrate that SimpleAT exhibits good\nperformance in the presence of various image corruptions, such as those found\nin the CIFAR-10-C. In addition, we empirically show that SimpleAT is capable of\nreducing the variance in model predictions, which is considered the primary\ncontributor to robust overfitting. Our results also reveal the connections\nbetween SimpleAT and many advanced state-of-the-art adversarial defense\nmethods.\n", "date": "2023-06-13", "categories": []} {"id": "2307.02500", "title": "Interpretable Computer Vision Models through Adversarial Training:\n Unveiling the Robustness-Interpretability Connection", "abstract": " With the perpetual increase of complexity of the state-of-the-art deep neural\nnetworks, it becomes a more and more challenging task to maintain their\ninterpretability. Our work aims to evaluate the effects of adversarial training\nutilized to produce robust models - less vulnerable to adversarial attacks. It\nhas been shown to make computer vision models more interpretable.\nInterpretability is as essential as robustness when we deploy the models to the\nreal world. To prove the correlation between these two problems, we extensively\nexamine the models using local feature-importance methods (SHAP, Integrated\nGradients) and feature visualization techniques (Representation Inversion,\nClass Specific Image Generation). Standard models, compared to robust are more\nsusceptible to adversarial attacks, and their learned representations are less\nmeaningful to humans. Conversely, these models focus on distinctive regions of\nthe images which support their predictions. Moreover, the features learned by\nthe robust model are closer to the real ones.\n", "date": "2023-07-04", "categories": []} {"id": "2310.03358", "title": "Enhancing Robust Representation in Adversarial Training: Alignment and\n Exclusion Criteria", "abstract": " Deep neural networks are vulnerable to adversarial noise. Adversarial\nTraining (AT) has been demonstrated to be the most effective defense strategy\nto protect neural networks from being fooled. However, we find AT omits to\nlearning robust features, resulting in poor performance of adversarial\nrobustness. To address this issue, we highlight two criteria of robust\nrepresentation: (1) Exclusion: \\emph{the feature of examples keeps away from\nthat of other classes}; (2) Alignment: \\emph{the feature of natural and\ncorresponding adversarial examples is close to each other}. These motivate us\nto propose a generic framework of AT to gain robust representation, by the\nasymmetric negative contrast and reverse attention. Specifically, we design an\nasymmetric negative contrast based on predicted probabilities, to push away\nexamples of different classes in the feature space. Moreover, we propose to\nweight feature by parameters of the linear classifier as the reverse attention,\nto obtain class-aware feature and pull close the feature of the same class.\nEmpirical evaluations on three benchmark datasets show our methods greatly\nadvance the robustness of AT and achieve state-of-the-art performance.\n", "date": "2023-10-05", "categories": []} {"id": "2311.07780", "title": "Parrot-Trained Adversarial Examples: Pushing the Practicality of\n Black-Box Audio Attacks against Speaker Recognition Models", "abstract": " Audio adversarial examples (AEs) have posed significant security challenges\nto real-world speaker recognition systems. Most black-box attacks still require\ncertain information from the speaker recognition model to be effective (e.g.,\nkeeping probing and requiring the knowledge of similarity scores). This work\naims to push the practicality of the black-box attacks by minimizing the\nattacker's knowledge about a target speaker recognition model. Although it is\nnot feasible for an attacker to succeed with completely zero knowledge, we\nassume that the attacker only knows a short (or a few seconds) speech sample of\na target speaker. Without any probing to gain further knowledge about the\ntarget model, we propose a new mechanism, called parrot training, to generate\nAEs against the target model. Motivated by recent advancements in voice\nconversion (VC), we propose to use the one short sentence knowledge to generate\nmore synthetic speech samples that sound like the target speaker, called parrot\nspeech. Then, we use these parrot speech samples to train a parrot-trained(PT)\nsurrogate model for the attacker. Under a joint transferability and perception\nframework, we investigate different ways to generate AEs on the PT model\n(called PT-AEs) to ensure the PT-AEs can be generated with high transferability\nto a black-box target model with good human perceptual quality. Real-world\nexperiments show that the resultant PT-AEs achieve the attack success rates of\n45.8% - 80.8% against the open-source models in the digital-line scenario and\n47.9% - 58.3% against smart devices, including Apple HomePod (Siri), Amazon\nEcho, and Google Home, in the over-the-air scenario.\n", "date": "2023-11-13", "categories": []} {"id": "2311.10992", "title": "Towards Robust and Accurate Visual Prompting", "abstract": " Visual prompting, an efficient method for transfer learning, has shown its\npotential in vision tasks. However, previous works focus exclusively on VP from\nstandard source models, it is still unknown how it performs under the scenario\nof a robust source model: Whether a visual prompt derived from a robust model\ncan inherit the robustness while suffering from the generalization performance\ndecline, albeit for a downstream dataset that is different from the source\ndataset? In this work, we get an affirmative answer of the above question and\ngive an explanation on the visual representation level. Moreover, we introduce\na novel technique named Prompt Boundary Loose (PBL) to effectively mitigates\nthe suboptimal results of visual prompt on standard accuracy without losing (or\neven significantly improving) its adversarial robustness when using a robust\nmodel as source model. Extensive experiments across various datasets show that\nour findings are universal and demonstrate the significant benefits of our\nproposed method.\n", "date": "2023-11-18", "categories": []} {"id": "2311.11017", "title": "Improving Adversarial Transferability by Stable Diffusion", "abstract": " Deep neural networks (DNNs) are susceptible to adversarial examples, which\nintroduce imperceptible perturbations to benign samples, deceiving DNN\npredictions. While some attack methods excel in the white-box setting, they\noften struggle in the black-box scenario, particularly against models fortified\nwith defense mechanisms. Various techniques have emerged to enhance the\ntransferability of adversarial attacks for the black-box scenario. Among these,\ninput transformation-based attacks have demonstrated their effectiveness. In\nthis paper, we explore the potential of leveraging data generated by Stable\nDiffusion to boost adversarial transferability. This approach draws inspiration\nfrom recent research that harnessed synthetic data generated by Stable\nDiffusion to enhance model generalization. In particular, previous work has\nhighlighted the correlation between the presence of both real and synthetic\ndata and improved model generalization. Building upon this insight, we\nintroduce a novel attack method called Stable Diffusion Attack Method (SDAM),\nwhich incorporates samples generated by Stable Diffusion to augment input\nimages. Furthermore, we propose a fast variant of SDAM to reduce computational\noverhead while preserving high adversarial transferability. Our extensive\nexperimental results demonstrate that our method outperforms state-of-the-art\nbaselines by a substantial margin. Moreover, our approach is compatible with\nexisting transfer-based attacks to further enhance adversarial transferability.\n", "date": "2023-11-18", "categories": []} {"id": "2311.11753", "title": "AdvGen: Physical Adversarial Attack on Face Presentation Attack\n Detection Systems", "abstract": " Evaluating the risk level of adversarial images is essential for safely\ndeploying face authentication models in the real world. Popular approaches for\nphysical-world attacks, such as print or replay attacks, suffer from some\nlimitations, like including physical and geometrical artifacts. Recently,\nadversarial attacks have gained attraction, which try to digitally deceive the\nlearning strategy of a recognition system using slight modifications to the\ncaptured image. While most previous research assumes that the adversarial image\ncould be digitally fed into the authentication systems, this is not always the\ncase for systems deployed in the real world. This paper demonstrates the\nvulnerability of face authentication systems to adversarial images in physical\nworld scenarios. We propose AdvGen, an automated Generative Adversarial\nNetwork, to simulate print and replay attacks and generate adversarial images\nthat can fool state-of-the-art PADs in a physical domain attack setting. Using\nthis attack strategy, the attack success rate goes up to 82.01%. We test AdvGen\nextensively on four datasets and ten state-of-the-art PADs. We also demonstrate\nthe effectiveness of our attack by conducting experiments in a realistic,\nphysical environment.\n", "date": "2023-11-20", "categories": []} {"id": "2311.11861", "title": "Generating Valid and Natural Adversarial Examples with Large Language\n Models", "abstract": " Deep learning-based natural language processing (NLP) models, particularly\npre-trained language models (PLMs), have been revealed to be vulnerable to\nadversarial attacks. However, the adversarial examples generated by many\nmainstream word-level adversarial attack models are neither valid nor natural,\nleading to the loss of semantic maintenance, grammaticality, and human\nimperceptibility. Based on the exceptional capacity of language understanding\nand generation of large language models (LLMs), we propose LLM-Attack, which\naims at generating both valid and natural adversarial examples with LLMs. The\nmethod consists of two stages: word importance ranking (which searches for the\nmost vulnerable words) and word synonym replacement (which substitutes them\nwith their synonyms obtained from LLMs). Experimental results on the Movie\nReview (MR), IMDB, and Yelp Review Polarity datasets against the baseline\nadversarial attack models illustrate the effectiveness of LLM-Attack, and it\noutperforms the baselines in human and GPT-4 evaluation by a significant\nmargin. The model can generate adversarial examples that are typically valid\nand natural, with the preservation of semantic meaning, grammaticality, and\nhuman imperceptibility.\n", "date": "2023-11-20", "categories": []} {"id": "2311.10366", "title": "Breaking Temporal Consistency: Generating Video Universal Adversarial\n Perturbations Using Image Models", "abstract": " As video analysis using deep learning models becomes more widespread, the\nvulnerability of such models to adversarial attacks is becoming a pressing\nconcern. In particular, Universal Adversarial Perturbation (UAP) poses a\nsignificant threat, as a single perturbation can mislead deep learning models\non entire datasets. We propose a novel video UAP using image data and image\nmodel. This enables us to take advantage of the rich image data and image\nmodel-based studies available for video applications. However, there is a\nchallenge that image models are limited in their ability to analyze the\ntemporal aspects of videos, which is crucial for a successful video attack. To\naddress this challenge, we introduce the Breaking Temporal Consistency (BTC)\nmethod, which is the first attempt to incorporate temporal information into\nvideo attacks using image models. We aim to generate adversarial videos that\nhave opposite patterns to the original. Specifically, BTC-UAP minimizes the\nfeature similarity between neighboring frames in videos. Our approach is simple\nbut effective at attacking unseen video models. Additionally, it is applicable\nto videos of varying lengths and invariant to temporal shifts. Our approach\nsurpasses existing methods in terms of effectiveness on various datasets,\nincluding ImageNet, UCF-101, and Kinetics-400.\n", "date": "2023-11-17", "categories": []} {"id": "2303.00783", "title": "Adversarial Examples Exist in Two-Layer ReLU Networks for Low\n Dimensional Linear Subspaces", "abstract": " Despite a great deal of research, it is still not well-understood why trained\nneural networks are highly vulnerable to adversarial examples. In this work we\nfocus on two-layer neural networks trained using data which lie on a low\ndimensional linear subspace. We show that standard gradient methods lead to\nnon-robust neural networks, namely, networks which have large gradients in\ndirections orthogonal to the data subspace, and are susceptible to small\nadversarial $L_2$-perturbations in these directions. Moreover, we show that\ndecreasing the initialization scale of the training algorithm, or adding $L_2$\nregularization, can make the trained network more robust to adversarial\nperturbations orthogonal to the data.\n", "date": "2023-03-01", "categories": []} {"id": "2311.07587", "title": "Frontier Language Models are not Robust to Adversarial Arithmetic, or\n \"What do I need to say so you agree 2+2=5?", "abstract": " We introduce and study the problem of adversarial arithmetic, which provides\na simple yet challenging testbed for language model alignment. This problem is\ncomprised of arithmetic questions posed in natural language, with an arbitrary\nadversarial string inserted before the question is complete. Even in the simple\nsetting of 1-digit addition problems, it is easy to find adversarial prompts\nthat make all tested models (including PaLM2, GPT4, Claude2) misbehave, and\neven to steer models to a particular wrong answer. We additionally provide a\nsimple algorithm for finding successful attacks by querying those same models,\nwhich we name \"prompt inversion rejection sampling\" (PIRS). We finally show\nthat models can be partially hardened against these attacks via reinforcement\nlearning and via agentic constitutional loops. However, we were not able to\nmake a language model fully robust against adversarial arithmetic attacks.\n", "date": "2023-11-08", "categories": []} {"id": "2311.09473", "title": "JAB: Joint Adversarial Prompting and Belief Augmentation", "abstract": " With the recent surge of language models in different applications, attention\nto safety and robustness of these models has gained significant importance.\nHere we introduce a joint framework in which we simultaneously probe and\nimprove the robustness of a black-box target model via adversarial prompting\nand belief augmentation using iterative feedback loops. This framework utilizes\nan automated red teaming approach to probe the target model, along with a\nbelief augmenter to generate instructions for the target model to improve its\nrobustness to those adversarial probes. Importantly, the adversarial model and\nthe belief generator leverage the feedback from past interactions to improve\nthe effectiveness of the adversarial prompts and beliefs, respectively. In our\nexperiments, we demonstrate that such a framework can reduce toxic content\ngeneration both in dynamic cases where an adversary directly interacts with a\ntarget model and static cases where we use a static benchmark dataset to\nevaluate our model.\n", "date": "2023-11-16", "categories": []} {"id": "2310.14421", "title": "On existence, uniqueness and scalability of adversarial robustness\n measures for AI classifiers", "abstract": " Simply-verifiable mathematical conditions for existence, uniqueness and\nexplicit analytical computation of minimal adversarial paths (MAP) and minimal\nadversarial distances (MAD) for (locally) uniquely-invertible classifiers, for\ngeneralized linear models (GLM), and for entropic AI (EAI) are formulated and\nproven. Practical computation of MAP and MAD, their comparison and\ninterpretations for various classes of AI tools (for neuronal networks, boosted\nrandom forests, GLM and EAI) are demonstrated on the common synthetic\nbenchmarks: on a double Swiss roll spiral and its extensions, as well as on the\ntwo biomedical data problems (for the health insurance claim predictions, and\nfor the heart attack lethality classification). On biomedical applications it\nis demonstrated how MAP provides unique minimal patient-specific\nrisk-mitigating interventions in the predefined subsets of accessible control\nvariables.\n", "date": "2023-10-19", "categories": []} {"id": "2311.08539", "title": "Physical Adversarial Examples for Multi-Camera Systems", "abstract": " Neural networks build the foundation of several intelligent systems, which,\nhowever, are known to be easily fooled by adversarial examples. Recent advances\nmade these attacks possible even in air-gapped scenarios, where the autonomous\nsystem observes its surroundings by, e.g., a camera. We extend these ideas in\nour research and evaluate the robustness of multi-camera setups against such\nphysical adversarial examples. This scenario becomes ever more important with\nthe rise in popularity of autonomous vehicles, which fuse the information of\nseveral cameras for their driving decision. While we find that multi-camera\nsetups provide some robustness towards past attack methods, we see that this\nadvantage reduces when optimizing on multiple perspectives at once. We propose\na novel attack method that we call Transcender-MC, where we incorporate online\n3D renderings and perspective projections in the training process. Moreover, we\nmotivate that certain data augmentation techniques can facilitate the\ngeneration of successful adversarial examples even further. Transcender-MC is\n11% more effective in successfully attacking multi-camera setups than\nstate-of-the-art methods. Our findings offer valuable insights regarding the\nresilience of object detection in a setup with multiple cameras and motivate\nthe need of developing adequate defense mechanisms against them.\n", "date": "2023-11-14", "categories": []} {"id": "2311.09014", "title": "Adversarial Attacks to Reward Machine-based Reinforcement Learning", "abstract": " In recent years, Reward Machines (RMs) have stood out as a simple yet\neffective automata-based formalism for exposing and exploiting task structure\nin reinforcement learning settings. Despite their relevance, little to no\nattention has been directed to the study of their security implications and\nrobustness to adversarial scenarios, likely due to their recent appearance in\nthe literature. With my thesis, I aim to provide the first analysis of the\nsecurity of RM-based reinforcement learning techniques, with the hope of\nmotivating further research in the field, and I propose and evaluate a novel\nclass of attacks on RM-based techniques: blinding attacks.\n", "date": "2023-11-15", "categories": []} {"id": "2311.07928", "title": "Towards Improving Robustness Against Common Corruptions in Object\n Detectors Using Adversarial Contrastive Learning", "abstract": " Neural networks have revolutionized various domains, exhibiting remarkable\naccuracy in tasks like natural language processing and computer vision.\nHowever, their vulnerability to slight alterations in input samples poses\nchallenges, particularly in safety-critical applications like autonomous\ndriving. Current approaches, such as introducing distortions during training,\nfall short in addressing unforeseen corruptions. This paper proposes an\ninnovative adversarial contrastive learning framework to enhance neural network\nrobustness simultaneously against adversarial attacks and common corruptions.\nBy generating instance-wise adversarial examples and optimizing contrastive\nloss, our method fosters representations that resist adversarial perturbations\nand remain robust in real-world scenarios. Subsequent contrastive learning then\nstrengthens the similarity between clean samples and their adversarial\ncounterparts, fostering representations resistant to both adversarial attacks\nand common distortions. By focusing on improving performance under adversarial\nand real-world conditions, our approach aims to bolster the robustness of\nneural networks in safety-critical applications, such as autonomous vehicles\nnavigating unpredictable weather conditions. We anticipate that this framework\nwill contribute to advancing the reliability of neural networks in challenging\nenvironments, facilitating their widespread adoption in mission-critical\nscenarios.\n", "date": "2023-11-14", "categories": []} {"id": "2311.08265", "title": "On The Relationship Between Universal Adversarial Attacks And Sparse\n Representations", "abstract": " The prominent success of neural networks, mainly in computer vision tasks, is\nincreasingly shadowed by their sensitivity to small, barely perceivable\nadversarial perturbations in image input.\n In this work, we aim at explaining this vulnerability through the framework\nof sparsity.\n We show the connection between adversarial attacks and sparse\nrepresentations, with a focus on explaining the universality and\ntransferability of adversarial examples in neural networks.\n To this end, we show that sparse coding algorithms, and the neural\nnetwork-based learned iterative shrinkage thresholding algorithm (LISTA) among\nthem, suffer from this sensitivity, and that common attacks on neural networks\ncan be expressed as attacks on the sparse representation of the input image.\nThe phenomenon that we observe holds true also when the network is agnostic to\nthe sparse representation and dictionary, and thus can provide a possible\nexplanation for the universality and transferability of adversarial attacks.\n The code is available at\nhttps://github.com/danawr/adversarial_attacks_and_sparse_representations.\n", "date": "2023-11-14", "categories": []} {"id": "2305.03626", "title": "Verifiable Learning for Robust Tree Ensembles", "abstract": " Verifying the robustness of machine learning models against evasion attacks\nat test time is an important research problem. Unfortunately, prior work\nestablished that this problem is NP-hard for decision tree ensembles, hence\nbound to be intractable for specific inputs. In this paper, we identify a\nrestricted class of decision tree ensembles, called large-spread ensembles,\nwhich admit a security verification algorithm running in polynomial time. We\nthen propose a new approach called verifiable learning, which advocates the\ntraining of such restricted model classes which are amenable for efficient\nverification. We show the benefits of this idea by designing a new training\nalgorithm that automatically learns a large-spread decision tree ensemble from\nlabelled data, thus enabling its security verification in polynomial time.\nExperimental results on public datasets confirm that large-spread ensembles\ntrained using our algorithm can be verified in a matter of seconds, using\nstandard commercial hardware. Moreover, large-spread ensembles are more robust\nthan traditional ensembles against evasion attacks, at the cost of an\nacceptable loss of accuracy in the non-adversarial setting.\n", "date": "2023-05-05", "categories": []} {"id": "2311.05992", "title": "Robust Adversarial Attacks Detection for Deep Learning based Relative\n Pose Estimation for Space Rendezvous", "abstract": " Research on developing deep learning techniques for autonomous spacecraft\nrelative navigation challenges is continuously growing in recent years.\nAdopting those techniques offers enhanced performance. However, such approaches\nalso introduce heightened apprehensions regarding the trustability and security\nof such deep learning methods through their susceptibility to adversarial\nattacks. In this work, we propose a novel approach for adversarial attack\ndetection for deep neural network-based relative pose estimation schemes based\non the explainability concept. We develop for an orbital rendezvous scenario an\ninnovative relative pose estimation technique adopting our proposed\nConvolutional Neural Network (CNN), which takes an image from the chaser's\nonboard camera and outputs accurately the target's relative position and\nrotation. We perturb seamlessly the input images using adversarial attacks that\nare generated by the Fast Gradient Sign Method (FGSM). The adversarial attack\ndetector is then built based on a Long Short Term Memory (LSTM) network which\ntakes the explainability measure namely SHapley Value from the CNN-based pose\nestimator and flags the detection of adversarial attacks when acting.\nSimulation results show that the proposed adversarial attack detector achieves\na detection accuracy of 99.21%. Both the deep relative pose estimator and\nadversarial attack detector are then tested on real data captured from our\nlaboratory-designed setup. The experimental results from our\nlaboratory-designed setup demonstrate that the proposed adversarial attack\ndetector achieves an average detection accuracy of 96.29%.\n", "date": "2023-11-10", "categories": []} {"id": "2302.01056", "title": "Beyond Pretrained Features: Noisy Image Modeling Provides Adversarial\n Defense", "abstract": " Recent advancements in masked image modeling (MIM) have made it a prevailing\nframework for self-supervised visual representation learning. The MIM\npretrained models, like most deep neural network methods, remain vulnerable to\nadversarial attacks, limiting their practical application, and this issue has\nreceived little research attention. In this paper, we investigate how this\npowerful self-supervised learning paradigm can provide adversarial robustness\nto downstream classifiers. During the exploration, we find that noisy image\nmodeling (NIM), a simple variant of MIM that adopts denoising as the pre-text\ntask, reconstructs noisy images surprisingly well despite severe corruption.\nMotivated by this observation, we propose an adversarial defense method,\nreferred to as De^3, by exploiting the pretrained decoder for denoising.\nThrough De^3, NIM is able to enhance adversarial robustness beyond providing\npretrained features. Furthermore, we incorporate a simple modification,\nsampling the noise scale hyperparameter from random distributions, and enable\nthe defense to achieve a better and tunable trade-off between accuracy and\nrobustness. Experimental results demonstrate that, in terms of adversarial\nrobustness, NIM is superior to MIM thanks to its effective denoising\ncapability. Moreover, the defense provided by NIM achieves performance on par\nwith adversarial training while offering the extra tunability advantage. Source\ncode and models are available at https://github.com/youzunzhi/NIM-AdvDef.\n", "date": "2023-02-02", "categories": []} {"id": "2310.18626", "title": "Benchmark Generation Framework with Customizable Distortions for Image\n Classifier Robustness", "abstract": " We present a novel framework for generating adversarial benchmarks to\nevaluate the robustness of image classification models. Our framework allows\nusers to customize the types of distortions to be optimally applied to images,\nwhich helps address the specific distortions relevant to their deployment. The\nbenchmark can generate datasets at various distortion levels to assess the\nrobustness of different image classifiers. Our results show that the\nadversarial samples generated by our framework with any of the image\nclassification models, like ResNet-50, Inception-V3, and VGG-16, are effective\nand transferable to other models causing them to fail. These failures happen\neven when these models are adversarially retrained using state-of-the-art\ntechniques, demonstrating the generalizability of our adversarial samples. We\nachieve competitive performance in terms of net $L_2$ distortion compared to\nstate-of-the-art benchmark techniques on CIFAR-10 and ImageNet; however, we\ndemonstrate our framework achieves such results with simple distortions like\nGaussian noise without introducing unnatural artifacts or color bleeds. This is\nmade possible by a model-based reinforcement learning (RL) agent and a\ntechnique that reduces a deep tree search of the image for model sensitivity to\nperturbations, to a one-level analysis and action. The flexibility of choosing\ndistortions and setting classification probability thresholds for multiple\nclasses makes our framework suitable for algorithmic audits.\n", "date": "2023-10-28", "categories": []} {"id": "2311.04503", "title": "Constrained Adaptive Attacks: Realistic Evaluation of Adversarial\n Examples and Robust Training of Deep Neural Networks for Tabular Data", "abstract": " State-of-the-art deep learning models for tabular data have recently achieved\nacceptable performance to be deployed in industrial settings. However, the\nrobustness of these models remains scarcely explored. Contrary to computer\nvision, there is to date no realistic protocol to properly evaluate the\nadversarial robustness of deep tabular models due to intrinsic properties of\ntabular data such as categorical features, immutability, and feature\nrelationship constraints. To fill this gap, we propose CAA, the first efficient\nevasion attack for constrained tabular deep learning models. CAA is an\niterative parameter-free attack that combines gradient and search attacks to\ngenerate adversarial examples under constraints. We leverage CAA to build a\nbenchmark of deep tabular models across three popular use cases: credit\nscoring, phishing and botnet attacks detection. Our benchmark supports ten\nthreat models with increasing capabilities of the attacker, and reflects\nreal-world attack scenarios for each use case. Overall, our results demonstrate\nhow domain knowledge, adversarial training, and attack budgets impact the\nrobustness assessment of deep tabular models and provide security practitioners\nwith a set of recommendations to improve the robustness of deep tabular models\nagainst various evasion attack scenarios.\n", "date": "2023-11-08", "categories": []} {"id": "2209.15042", "title": "Generalizability of Adversarial Robustness Under Distribution Shifts", "abstract": " Recent progress in empirical and certified robustness promises to deliver\nreliable and deployable Deep Neural Networks (DNNs). Despite that success, most\nexisting evaluations of DNN robustness have been done on images sampled from\nthe same distribution on which the model was trained. However, in the real\nworld, DNNs may be deployed in dynamic environments that exhibit significant\ndistribution shifts. In this work, we take a first step towards thoroughly\ninvestigating the interplay between empirical and certified adversarial\nrobustness on one hand and domain generalization on another. To do so, we train\nrobust models on multiple domains and evaluate their accuracy and robustness on\nan unseen domain. We observe that: (1) both empirical and certified robustness\ngeneralize to unseen domains, and (2) the level of generalizability does not\ncorrelate well with input visual similarity, measured by the FID between source\nand target domains. We also extend our study to cover a real-world medical\napplication, in which adversarial augmentation significantly boosts the\ngeneralization of robustness with minimal effect on clean data accuracy.\n", "date": "2022-09-29", "categories": []} {"id": "2210.09364", "title": "Probabilistic Categorical Adversarial Attack & Adversarial Training", "abstract": " The existence of adversarial examples brings huge concern for people to apply\nDeep Neural Networks (DNNs) in safety-critical tasks. However, how to generate\nadversarial examples with categorical data is an important problem but lack of\nextensive exploration. Previously established methods leverage greedy search\nmethod, which can be very time-consuming to conduct successful attack. This\nalso limits the development of adversarial training and potential defenses for\ncategorical data. To tackle this problem, we propose Probabilistic Categorical\nAdversarial Attack (PCAA), which transfers the discrete optimization problem to\na continuous problem that can be solved efficiently by Projected Gradient\nDescent. In our paper, we theoretically analyze its optimality and time\ncomplexity to demonstrate its significant advantage over current greedy based\nattacks. Moreover, based on our attack, we propose an efficient adversarial\ntraining framework. Through a comprehensive empirical study, we justify the\neffectiveness of our proposed attack and defense algorithms.\n", "date": "2022-10-17", "categories": []} {"id": "2309.00543", "title": "Curating Naturally Adversarial Datasets for Learning-Enabled Medical\n Cyber-Physical Systems", "abstract": " Deep learning models have shown promising predictive accuracy for time-series\nhealthcare applications. However, ensuring the robustness of these models is\nvital for building trustworthy AI systems. Existing research predominantly\nfocuses on robustness to synthetic adversarial examples, crafted by adding\nimperceptible perturbations to clean input data. However, these synthetic\nadversarial examples do not accurately reflect the most challenging real-world\nscenarios, especially in the context of healthcare data. Consequently,\nrobustness to synthetic adversarial examples may not necessarily translate to\nrobustness against naturally occurring adversarial examples, which is highly\ndesirable for trustworthy AI. We propose a method to curate datasets comprised\nof natural adversarial examples to evaluate model robustness. The method relies\non probabilistic labels obtained from automated weakly-supervised labeling that\ncombines noisy and cheap-to-obtain labeling heuristics. Based on these labels,\nour method adversarially orders the input data and uses this ordering to\nconstruct a sequence of increasingly adversarial datasets. Our evaluation on\nsix medical case studies and three non-medical case studies demonstrates the\nefficacy and statistical validity of our approach to generating naturally\nadversarial datasets\n", "date": "2023-09-01", "categories": []} {"id": "2311.03373", "title": "Unscrambling the Rectification of Adversarial Attacks Transferability\n across Computer Networks", "abstract": " Convolutional neural networks (CNNs) models play a vital role in achieving\nstate-of-the-art performances in various technological fields. CNNs are not\nlimited to Natural Language Processing (NLP) or Computer Vision (CV) but also\nhave substantial applications in other technological domains, particularly in\ncybersecurity. The reliability of CNN's models can be compromised because of\ntheir susceptibility to adversarial attacks, which can be generated\neffortlessly, easily applied, and transferred in real-world scenarios.\n In this paper, we present a novel and comprehensive method to improve the\nstrength of attacks and assess the transferability of adversarial examples in\nCNNs when such strength changes, as well as whether the transferability\nproperty issue exists in computer network applications. In the context of our\nstudy, we initially examined six distinct modes of attack: the Carlini and\nWagner (C&W), Fast Gradient Sign Method (FGSM), Iterative Fast Gradient Sign\nMethod (I-FGSM), Jacobian-based Saliency Map (JSMA), Limited-memory Broyden\nfletcher Goldfarb Shanno (L-BFGS), and Projected Gradient Descent (PGD) attack.\nWe applied these attack techniques on two popular datasets: the CIC and UNSW\ndatasets. The outcomes of our experiment demonstrate that an improvement in\ntransferability occurs in the targeted scenarios for FGSM, JSMA, LBFGS, and\nother attacks. Our findings further indicate that the threats to security posed\nby adversarial examples, even in computer network applications, necessitate the\ndevelopment of novel defense mechanisms to enhance the security of DL-based\ntechniques.\n", "date": "2023-10-26", "categories": []} {"id": "2311.03566", "title": "Measuring Adversarial Datasets", "abstract": " In the era of widespread public use of AI systems across various domains,\nensuring adversarial robustness has become increasingly vital to maintain\nsafety and prevent undesirable errors. Researchers have curated various\nadversarial datasets (through perturbations) for capturing model deficiencies\nthat cannot be revealed in standard benchmark datasets. However, little is\nknown about how these adversarial examples differ from the original data\npoints, and there is still no methodology to measure the intended and\nunintended consequences of those adversarial transformations. In this research,\nwe conducted a systematic survey of existing quantifiable metrics that describe\ntext instances in NLP tasks, among dimensions of difficulty, diversity, and\ndisagreement. We selected several current adversarial effect datasets and\ncompared the distributions between the original and their adversarial\ncounterparts. The results provide valuable insights into what makes these\ndatasets more challenging from a metrics perspective and whether they align\nwith underlying assumptions.\n", "date": "2023-11-06", "categories": []} {"id": "2309.13190", "title": "Spatial-frequency channels, shape bias, and adversarial robustness", "abstract": " What spatial frequency information do humans and neural networks use to\nrecognize objects? In neuroscience, critical band masking is an established\ntool that can reveal the frequency-selective filters used for object\nrecognition. Critical band masking measures the sensitivity of recognition\nperformance to noise added at each spatial frequency. Existing critical band\nmasking studies show that humans recognize periodic patterns (gratings) and\nletters by means of a spatial-frequency filter (or \"channel\") that has a\nfrequency bandwidth of one octave (doubling of frequency). Here, we introduce\ncritical band masking as a task for network-human comparison and test 14 humans\nand 76 neural networks on 16-way ImageNet categorization in the presence of\nnarrowband noise. We find that humans recognize objects in natural images using\nthe same one-octave-wide channel that they use for letters and gratings, making\nit a canonical feature of human object recognition. Unlike humans, the neural\nnetwork channel is very broad, 2-4 times wider than the human channel. Thus,\nnoise at certain high and low frequencies will impair network performance and\nspare human performance. Adversarial and augmented-image training are commonly\nused to increase network robustness and shape bias. Does this training align\nnetwork and human object recognition channels? Three network channel properties\n(bandwidth, center frequency, peak noise sensitivity) correlate strongly with\nshape bias (51% variance explained) and robustness of adversarially-trained\nnetworks (66% variance explained). Adversarial training increases robustness\nbut expands the channel bandwidth even further beyond the human bandwidth.\nThus, critical band masking reveals that the network channel is more than twice\nas wide as the human channel, and that adversarial training only makes it\nworse. Networks with narrower channels might be more robust.\n", "date": "2023-09-22", "categories": []} {"id": "2310.14265", "title": "CT-GAT: Cross-Task Generative Adversarial Attack based on\n Transferability", "abstract": " Neural network models are vulnerable to adversarial examples, and adversarial\ntransferability further increases the risk of adversarial attacks. Current\nmethods based on transferability often rely on substitute models, which can be\nimpractical and costly in real-world scenarios due to the unavailability of\ntraining data and the victim model's structural details. In this paper, we\npropose a novel approach that directly constructs adversarial examples by\nextracting transferable features across various tasks. Our key insight is that\nadversarial transferability can extend across different tasks. Specifically, we\ntrain a sequence-to-sequence generative model named CT-GAT using adversarial\nsample data collected from multiple tasks to acquire universal adversarial\nfeatures and generate adversarial examples for different tasks. We conduct\nexperiments on ten distinct datasets, and the results demonstrate that our\nmethod achieves superior attack performance with small cost.\n", "date": "2023-10-22", "categories": []} {"id": "2311.01478", "title": "Adversary ML Resilience in Autonomous Driving Through Human Centered\n Perception Mechanisms", "abstract": " Physical adversarial attacks on road signs are continuously exploiting\nvulnerabilities in modern day autonomous vehicles (AVs) and impeding their\nability to correctly classify what type of road sign they encounter. Current\nmodels cannot generalize input data well, resulting in overfitting or\nunderfitting. In overfitting, the model memorizes the input data but cannot\ngeneralize to new scenarios. In underfitting, the model does not learn enough\nof the input data to accurately classify these road signs. This paper explores\nthe resilience of autonomous driving systems against three main physical\nadversarial attacks (tape, graffiti, illumination), specifically targeting\nobject classifiers. Several machine learning models were developed and\nevaluated on two distinct datasets: road signs (stop signs, speed limit signs,\ntraffic lights, and pedestrian crosswalk signs) and geometric shapes (octagons,\ncircles, squares, and triangles). The study compared algorithm performance\nunder different conditions, including clean and adversarial training and\ntesting on these datasets. To build robustness against attacks, defense\ntechniques like adversarial training and transfer learning were implemented.\nResults demonstrated transfer learning models played a crucial role in\nperformance by allowing knowledge gained from shape training to improve\ngeneralizability of road sign classification, despite the datasets being\ncompletely different. The paper suggests future research directions, including\nhuman-in-the-loop validation, security analysis, real-world testing, and\nexplainable AI for transparency. This study aims to contribute to improving\nsecurity and robustness of object classifiers in autonomous vehicles and\nmitigating adversarial example impacts on driving systems.\n", "date": "2023-11-02", "categories": []} {"id": "2311.01563", "title": "Assist Is Just as Important as the Goal: Image Resurfacing to Aid\n Model's Robust Prediction", "abstract": " Adversarial patches threaten visual AI models in the real world. The number\nof patches in a patch attack is variable and determines the attack's potency in\na specific environment. Most existing defenses assume a single patch in the\nscene, and the multiple patch scenarios are shown to overcome them. This paper\npresents a model-agnostic defense against patch attacks based on total\nvariation for image resurfacing (TVR). The TVR is an image-cleansing method\nthat processes images to remove probable adversarial regions. TVR can be\nutilized solely or augmented with a defended model, providing multi-level\nsecurity for robust prediction. TVR nullifies the influence of patches in a\nsingle image scan with no prior assumption on the number of patches in the\nscene. We validate TVR on the ImageNet-Patch benchmark dataset and with\nreal-world physical objects, demonstrating its ability to mitigate patch\nattack.\n", "date": "2023-11-02", "categories": []} {"id": "2311.01642", "title": "Robust Adversarial Reinforcement Learning via Bounded Rationality\n Curricula", "abstract": " Robustness against adversarial attacks and distribution shifts is a\nlong-standing goal of Reinforcement Learning (RL). To this end, Robust\nAdversarial Reinforcement Learning (RARL) trains a protagonist against\ndestabilizing forces exercised by an adversary in a competitive zero-sum Markov\ngame, whose optimal solution, i.e., rational strategy, corresponds to a Nash\nequilibrium. However, finding Nash equilibria requires facing complex saddle\npoint optimization problems, which can be prohibitive to solve, especially for\nhigh-dimensional control. In this paper, we propose a novel approach for\nadversarial RL based on entropy regularization to ease the complexity of the\nsaddle point optimization problem. We show that the solution of this\nentropy-regularized problem corresponds to a Quantal Response Equilibrium\n(QRE), a generalization of Nash equilibria that accounts for bounded\nrationality, i.e., agents sometimes play random actions instead of optimal\nones. Crucially, the connection between the entropy-regularized objective and\nQRE enables free modulation of the rationality of the agents by simply tuning\nthe temperature coefficient. We leverage this insight to propose our novel\nalgorithm, Quantal Adversarial RL (QARL), which gradually increases the\nrationality of the adversary in a curriculum fashion until it is fully\nrational, easing the complexity of the optimization problem while retaining\nrobustness. We provide extensive evidence of QARL outperforming RARL and recent\nbaselines across several MuJoCo locomotion and navigation problems in overall\nperformance and robustness.\n", "date": "2023-11-03", "categories": []} {"id": "2311.01698", "title": "Adversarial Attacks on Cooperative Multi-agent Bandits", "abstract": " Cooperative multi-agent multi-armed bandits (CMA2B) consider the\ncollaborative efforts of multiple agents in a shared multi-armed bandit game.\nWe study latent vulnerabilities exposed by this collaboration and consider\nadversarial attacks on a few agents with the goal of influencing the decisions\nof the rest. More specifically, we study adversarial attacks on CMA2B in both\nhomogeneous settings, where agents operate with the same arm set, and\nheterogeneous settings, where agents have distinct arm sets. In the homogeneous\nsetting, we propose attack strategies that, by targeting just one agent,\nconvince all agents to select a particular target arm $T-o(T)$ times while\nincurring $o(T)$ attack costs in $T$ rounds. In the heterogeneous setting, we\nprove that a target arm attack requires linear attack costs and propose attack\nstrategies that can force a maximum number of agents to suffer linear regrets\nwhile incurring sublinear costs and only manipulating the observations of a few\ntarget agents. Numerical experiments validate the effectiveness of our proposed\nattack strategies.\n", "date": "2023-11-03", "categories": []} {"id": "2311.01873", "title": "Efficient Black-Box Adversarial Attacks on Neural Text Detectors", "abstract": " Neural text detectors are models trained to detect whether a given text was\ngenerated by a language model or written by a human. In this paper, we\ninvestigate three simple and resource-efficient strategies (parameter tweaking,\nprompt engineering, and character-level mutations) to alter texts generated by\nGPT-3.5 that are unsuspicious or unnoticeable for humans but cause\nmisclassification by neural text detectors. The results show that especially\nparameter tweaking and character-level mutations are effective strategies.\n", "date": "2023-11-03", "categories": []} {"id": "2304.13410", "title": "Improving Adversarial Transferability via Intermediate-level\n Perturbation Decay", "abstract": " Intermediate-level attacks that attempt to perturb feature representations\nfollowing an adversarial direction drastically have shown favorable performance\nin crafting transferable adversarial examples. Existing methods in this\ncategory are normally formulated with two separate stages, where a directional\nguide is required to be determined at first and the scalar projection of the\nintermediate-level perturbation onto the directional guide is enlarged\nthereafter. The obtained perturbation deviates from the guide inevitably in the\nfeature space, and it is revealed in this paper that such a deviation may lead\nto sub-optimal attack. To address this issue, we develop a novel\nintermediate-level method that crafts adversarial examples within a single\nstage of optimization. In particular, the proposed method, named\nintermediate-level perturbation decay (ILPD), encourages the intermediate-level\nperturbation to be in an effective adversarial direction and to possess a great\nmagnitude simultaneously. In-depth discussion verifies the effectiveness of our\nmethod. Experimental results show that it outperforms state-of-the-arts by\nlarge margins in attacking various victim models on ImageNet (+10.07% on\naverage) and CIFAR-10 (+3.88% on average). Our code is at\nhttps://github.com/qizhangli/ILPD-attack.\n", "date": "2023-04-26", "categories": []} {"id": "2306.05225", "title": "Boosting Adversarial Transferability by Achieving Flat Local Maxima", "abstract": " Transfer-based attack adopts the adversarial examples generated on the\nsurrogate model to attack various models, making it applicable in the physical\nworld and attracting increasing interest. Recently, various adversarial attacks\nhave emerged to boost adversarial transferability from different perspectives.\nIn this work, inspired by the observation that flat local minima are correlated\nwith good generalization, we assume and empirically validate that adversarial\nexamples at a flat local region tend to have good transferability by\nintroducing a penalized gradient norm to the original loss function. Since\ndirectly optimizing the gradient regularization norm is computationally\nexpensive and intractable for generating adversarial examples, we propose an\napproximation optimization method to simplify the gradient update of the\nobjective function. Specifically, we randomly sample an example and adopt a\nfirst-order procedure to approximate the curvature of Hessian/vector product,\nwhich makes computing more efficient by interpolating two neighboring\ngradients. Meanwhile, in order to obtain a more stable gradient direction, we\nrandomly sample multiple examples and average the gradients of these examples\nto reduce the variance due to random sampling during the iterative process.\nExtensive experimental results on the ImageNet-compatible dataset show that the\nproposed method can generate adversarial examples at flat local regions, and\nsignificantly improve the adversarial transferability on either normally\ntrained models or adversarially trained models than the state-of-the-art\nattacks. Our codes are available at:\nhttps://github.com/Trustworthy-AI-Group/PGN.\n", "date": "2023-06-08", "categories": []} {"id": "2310.17403", "title": "Detection Defenses: An Empty Promise against Adversarial Patch Attacks\n on Optical Flow", "abstract": " Adversarial patches undermine the reliability of optical flow predictions\nwhen placed in arbitrary scene locations. Therefore, they pose a realistic\nthreat to real-world motion detection and its downstream applications.\nPotential remedies are defense strategies that detect and remove adversarial\npatches, but their influence on the underlying motion prediction has not been\ninvestigated. In this paper, we thoroughly examine the currently available\ndetect-and-remove defenses ILP and LGS for a wide selection of state-of-the-art\noptical flow methods, and illuminate their side effects on the quality and\nrobustness of the final flow predictions. In particular, we implement\ndefense-aware attacks to investigate whether current defenses are able to\nwithstand attacks that take the defense mechanism into account. Our experiments\nyield two surprising results: Detect-and-remove defenses do not only lower the\noptical flow quality on benign scenes, in doing so, they also harm the\nrobustness under patch attacks for all tested optical flow methods except\nFlowNetC. As currently employed detect-and-remove defenses fail to deliver the\npromised adversarial robustness for optical flow, they evoke a false sense of\nsecurity. The code is available at\nhttps://github.com/cv-stuttgart/DetectionDefenses.\n", "date": "2023-10-26", "categories": []} {"id": "2310.18477", "title": "Understanding and Improving Ensemble Adversarial Defense", "abstract": " The strategy of ensemble has become popular in adversarial defense, which\ntrains multiple base classifiers to defend against adversarial attacks in a\ncooperative manner. Despite the empirical success, theoretical explanations on\nwhy an ensemble of adversarially trained classifiers is more robust than single\nones remain unclear. To fill in this gap, we develop a new error theory\ndedicated to understanding ensemble adversarial defense, demonstrating a\nprovable 0-1 loss reduction on challenging sample sets in an adversarial\ndefense scenario. Guided by this theory, we propose an effective approach to\nimprove ensemble adversarial defense, named interactive global adversarial\ntraining (iGAT). The proposal includes (1) a probabilistic distributing rule\nthat selectively allocates to different base classifiers adversarial examples\nthat are globally challenging to the ensemble, and (2) a regularization term to\nrescue the severest weaknesses of the base classifiers. Being tested over\nvarious existing ensemble adversarial defense techniques, iGAT is capable of\nboosting their performance by increases up to 17% evaluated using CIFAR10 and\nCIFAR100 datasets under both white-box and black-box attacks.\n", "date": "2023-10-27", "categories": []} {"id": "2311.01323", "title": "Towards Evaluating Transfer-based Attacks Systematically, Practically,\n and Fairly", "abstract": " The adversarial vulnerability of deep neural networks (DNNs) has drawn great\nattention due to the security risk of applying these models in real-world\napplications. Based on transferability of adversarial examples, an increasing\nnumber of transfer-based methods have been developed to fool black-box DNN\nmodels whose architecture and parameters are inaccessible. Although tremendous\neffort has been exerted, there still lacks a standardized benchmark that could\nbe taken advantage of to compare these methods systematically, fairly, and\npractically. Our investigation shows that the evaluation of some methods needs\nto be more reasonable and more thorough to verify their effectiveness, to\navoid, for example, unfair comparison and insufficient consideration of\npossible substitute/victim models. Therefore, we establish a transfer-based\nattack benchmark (TA-Bench) which implements 30+ methods. In this paper, we\nevaluate and compare them comprehensively on 25 popular substitute/victim\nmodels on ImageNet. New insights about the effectiveness of these methods are\ngained and guidelines for future evaluations are provided. Code at:\nhttps://github.com/qizhangli/TA-Bench.\n", "date": "2023-11-02", "categories": []} {"id": "2310.20175", "title": "LFAA: Crafting Transferable Targeted Adversarial Examples with\n Low-Frequency Perturbations", "abstract": " Deep neural networks are susceptible to adversarial attacks, which pose a\nsignificant threat to their security and reliability in real-world\napplications. The most notable adversarial attacks are transfer-based attacks,\nwhere an adversary crafts an adversarial example to fool one model, which can\nalso fool other models. While previous research has made progress in improving\nthe transferability of untargeted adversarial examples, the generation of\ntargeted adversarial examples that can transfer between models remains a\nchallenging task. In this work, we present a novel approach to generate\ntransferable targeted adversarial examples by exploiting the vulnerability of\ndeep neural networks to perturbations on high-frequency components of images.\nWe observe that replacing the high-frequency component of an image with that of\nanother image can mislead deep models, motivating us to craft perturbations\ncontaining high-frequency information to achieve targeted attacks. To this end,\nwe propose a method called Low-Frequency Adversarial Attack (\\name), which\ntrains a conditional generator to generate targeted adversarial perturbations\nthat are then added to the low-frequency component of the image. Extensive\nexperiments on ImageNet demonstrate that our proposed approach significantly\noutperforms state-of-the-art methods, improving targeted attack success rates\nby a margin from 3.2\\% to 15.5\\%.\n", "date": "2023-10-31", "categories": []} {"id": "2311.00428", "title": "NEO-KD: Knowledge-Distillation-Based Adversarial Training for Robust\n Multi-Exit Neural Networks", "abstract": " While multi-exit neural networks are regarded as a promising solution for\nmaking efficient inference via early exits, combating adversarial attacks\nremains a challenging problem. In multi-exit networks, due to the high\ndependency among different submodels, an adversarial example targeting a\nspecific exit not only degrades the performance of the target exit but also\nreduces the performance of all other exits concurrently. This makes multi-exit\nnetworks highly vulnerable to simple adversarial attacks. In this paper, we\npropose NEO-KD, a knowledge-distillation-based adversarial training strategy\nthat tackles this fundamental challenge based on two key contributions. NEO-KD\nfirst resorts to neighbor knowledge distillation to guide the output of the\nadversarial examples to tend to the ensemble outputs of neighbor exits of clean\ndata. NEO-KD also employs exit-wise orthogonal knowledge distillation for\nreducing adversarial transferability across different submodels. The result is\na significantly improved robustness against adversarial attacks. Experimental\nresults on various datasets/models show that our method achieves the best\nadversarial accuracy with reduced computation budgets, compared to the\nbaselines relying on existing adversarial training or knowledge distillation\ntechniques for multi-exit networks.\n", "date": "2023-11-01", "categories": []} {"id": "2311.00441", "title": "Improving Robustness for Vision Transformer with a Simple Dynamic\n Scanning Augmentation", "abstract": " Vision Transformer (ViT) has demonstrated promising performance in computer\nvision tasks, comparable to state-of-the-art neural networks. Yet, this new\ntype of deep neural network architecture is vulnerable to adversarial attacks\nlimiting its capabilities in terms of robustness. This article presents a novel\ncontribution aimed at further improving the accuracy and robustness of ViT,\nparticularly in the face of adversarial attacks. We propose an augmentation\ntechnique called `Dynamic Scanning Augmentation' that leverages dynamic input\nsequences to adaptively focus on different patches, thereby maintaining\nperformance and robustness. Our detailed investigations reveal that this\nadaptability to the input sequence induces significant changes in the attention\nmechanism of ViT, even for the same image. We introduce four variations of\nDynamic Scanning Augmentation, outperforming ViT in terms of both robustness to\nadversarial attacks and accuracy against natural images, with one variant\nshowing comparable results. By integrating our augmentation technique, we\nobserve a substantial increase in ViT's robustness, improving it from $17\\%$ to\n$92\\%$ measured across different types of adversarial attacks. These findings,\ntogether with other comprehensive tests, indicate that Dynamic Scanning\nAugmentation enhances accuracy and robustness by promoting a more adaptive type\nof attention. In conclusion, this work contributes to the ongoing research on\nVision Transformers by introducing Dynamic Scanning Augmentation as a technique\nfor improving the accuracy and robustness of ViT. The observed results\nhighlight the potential of this approach in advancing computer vision tasks and\nmerit further exploration in future studies.\n", "date": "2023-11-01", "categories": []} {"id": "2310.19152", "title": "BERT Lost Patience Won't Be Robust to Adversarial Slowdown", "abstract": " In this paper, we systematically evaluate the robustness of multi-exit\nlanguage models against adversarial slowdown. To audit their robustness, we\ndesign a slowdown attack that generates natural adversarial text bypassing\nearly-exit points. We use the resulting WAFFLE attack as a vehicle to conduct a\ncomprehensive evaluation of three multi-exit mechanisms with the GLUE benchmark\nagainst adversarial slowdown. We then show our attack significantly reduces the\ncomputational savings provided by the three methods in both white-box and\nblack-box settings. The more complex a mechanism is, the more vulnerable it is\nto adversarial slowdown. We also perform a linguistic analysis of the perturbed\ntext inputs, identifying common perturbation patterns that our attack\ngenerates, and comparing them with standard adversarial text attacks. Moreover,\nwe show that adversarial training is ineffective in defeating our slowdown\nattack, but input sanitization with a conversational model, e.g., ChatGPT, can\nremove perturbations effectively. This result suggests that future work is\nneeded for developing efficient yet robust multi-exit models. Our code is\navailable at: https://github.com/ztcoalson/WAFFLE\n", "date": "2023-10-29", "categories": []} {"id": "2310.19889", "title": "Exploring Geometry of Blind Spots in Vision Models", "abstract": " Despite the remarkable success of deep neural networks in a myriad of\nsettings, several works have demonstrated their overwhelming sensitivity to\nnear-imperceptible perturbations, known as adversarial attacks. On the other\nhand, prior works have also observed that deep networks can be under-sensitive,\nwherein large-magnitude perturbations in input space do not induce appreciable\nchanges to network activations. In this work, we study in detail the phenomenon\nof under-sensitivity in vision models such as CNNs and Transformers, and\npresent techniques to study the geometry and extent of \"equi-confidence\" level\nsets of such networks. We propose a Level Set Traversal algorithm that\niteratively explores regions of high confidence with respect to the input space\nusing orthogonal components of the local gradients. Given a source image, we\nuse this algorithm to identify inputs that lie in the same equi-confidence\nlevel set as the source image despite being perceptually similar to arbitrary\nimages from other classes. We further observe that the source image is linearly\nconnected by a high-confidence path to these inputs, uncovering a star-like\nstructure for level sets of deep networks. Furthermore, we attempt to identify\nand estimate the extent of these connected higher-dimensional regions over\nwhich the model maintains a high degree of confidence. The code for this\nproject is publicly available at\nhttps://github.com/SriramB-98/blindspots-neurips-sub\n", "date": "2023-10-30", "categories": []} {"id": "2211.09565", "title": "Towards Good Practices in Evaluating Transfer Adversarial Attacks", "abstract": " Transfer adversarial attacks raise critical security concerns in real-world,\nblack-box scenarios. However, the actual progress of this field is difficult to\nassess due to two common limitations in existing evaluations. First, different\nmethods are often not systematically and fairly evaluated in a one-to-one\ncomparison. Second, only transferability is evaluated but another key attack\nproperty, stealthiness, is largely overlooked. In this work, we design good\npractices to address these limitations, and we present the first comprehensive\nevaluation of transfer attacks, covering 23 representative attacks against 9\ndefenses on ImageNet. In particular, we propose to categorize existing attacks\ninto five categories, which enables our systematic category-wise analyses.\nThese analyses lead to new findings that even challenge existing knowledge and\nalso help determine the optimal attack hyperparameters for our attack-wise\ncomprehensive evaluation. We also pay particular attention to stealthiness, by\nadopting diverse imperceptibility metrics and looking into new, finer-grained\ncharacteristics. Overall, our new insights into transferability and\nstealthiness lead to actionable good practices for future evaluations.\n", "date": "2022-11-17", "categories": []} {"id": "2301.12549", "title": "Unlocking Deterministic Robustness Certification on ImageNet", "abstract": " Despite the promise of Lipschitz-based methods for provably-robust deep\nlearning with deterministic guarantees, current state-of-the-art results are\nlimited to feed-forward Convolutional Networks (ConvNets) on low-dimensional\ndata, such as CIFAR-10. This paper investigates strategies for expanding\ncertifiably robust training to larger, deeper models. A key challenge in\ncertifying deep networks is efficient calculation of the Lipschitz bound for\nresidual blocks found in ResNet and ViT architectures. We show that fast ways\nof bounding the Lipschitz constant for conventional ResNets are loose, and show\nhow to address this by designing a new residual block, leading to the\n\\emph{Linear ResNet} (LiResNet) architecture. We then introduce \\emph{Efficient\nMargin MAximization} (EMMA), a loss function that stabilizes robust training by\nsimultaneously penalizing worst-case adversarial examples from \\emph{all}\nclasses. Together, these contributions yield new \\emph{state-of-the-art} robust\naccuracy on CIFAR-10/100 and Tiny-ImageNet under $\\ell_2$ perturbations.\nMoreover, for the first time, we are able to scale up fast deterministic\nrobustness guarantees to ImageNet, demonstrating that this approach to robust\nlearning can be applied to real-world applications.\n We release our code on Github: \\url{https://github.com/klasleino/gloro}.\n", "date": "2023-01-29", "categories": []} {"id": "2303.01870", "title": "Revisiting Adversarial Training for ImageNet: Architectures, Training\n and Generalization across Threat Models", "abstract": " While adversarial training has been extensively studied for ResNet\narchitectures and low resolution datasets like CIFAR, much less is known for\nImageNet. Given the recent debate about whether transformers are more robust\nthan convnets, we revisit adversarial training on ImageNet comparing ViTs and\nConvNeXts. Extensive experiments show that minor changes in architecture, most\nnotably replacing PatchStem with ConvStem, and training scheme have a\nsignificant impact on the achieved robustness. These changes not only increase\nrobustness in the seen $\\ell_\\infty$-threat model, but even more so improve\ngeneralization to unseen $\\ell_1/\\ell_2$-attacks. Our modified ConvNeXt,\nConvNeXt + ConvStem, yields the most robust $\\ell_\\infty$-models across\ndifferent ranges of model parameters and FLOPs, while our ViT + ConvStem yields\nthe best generalization to unseen threat models.\n", "date": "2023-03-03", "categories": []} {"id": "2305.16934", "title": "On Evaluating Adversarial Robustness of Large Vision-Language Models", "abstract": " Large vision-language models (VLMs) such as GPT-4 have achieved unprecedented\nperformance in response generation, especially with visual inputs, enabling\nmore creative and adaptable interaction than large language models such as\nChatGPT. Nonetheless, multimodal generation exacerbates safety concerns, since\nadversaries may successfully evade the entire system by subtly manipulating the\nmost vulnerable modality (e.g., vision). To this end, we propose evaluating the\nrobustness of open-source large VLMs in the most realistic and high-risk\nsetting, where adversaries have only black-box system access and seek to\ndeceive the model into returning the targeted responses. In particular, we\nfirst craft targeted adversarial examples against pretrained models such as\nCLIP and BLIP, and then transfer these adversarial examples to other VLMs such\nas MiniGPT-4, LLaVA, UniDiffuser, BLIP-2, and Img2Prompt. In addition, we\nobserve that black-box queries on these VLMs can further improve the\neffectiveness of targeted evasion, resulting in a surprisingly high success\nrate for generating targeted responses. Our findings provide a quantitative\nunderstanding regarding the adversarial vulnerability of large VLMs and call\nfor a more thorough examination of their potential security flaws before\ndeployment in practice. Code is at https://github.com/yunqing-me/AttackVLM.\n", "date": "2023-05-26", "categories": []} {"id": "2307.04333", "title": "Enhancing Adversarial Robustness via Score-Based Optimization", "abstract": " Adversarial attacks have the potential to mislead deep neural network\nclassifiers by introducing slight perturbations. Developing algorithms that can\nmitigate the effects of these attacks is crucial for ensuring the safe use of\nartificial intelligence. Recent studies have suggested that score-based\ndiffusion models are effective in adversarial defenses. However, existing\ndiffusion-based defenses rely on the sequential simulation of the reversed\nstochastic differential equations of diffusion models, which are\ncomputationally inefficient and yield suboptimal results. In this paper, we\nintroduce a novel adversarial defense scheme named ScoreOpt, which optimizes\nadversarial samples at test-time, towards original clean data in the direction\nguided by score-based priors. We conduct comprehensive experiments on multiple\ndatasets, including CIFAR10, CIFAR100 and ImageNet. Our experimental results\ndemonstrate that our approach outperforms existing adversarial defenses in\nterms of both robustness performance and inference speed.\n", "date": "2023-07-10", "categories": []} {"id": "2310.06182", "title": "PAC-Bayesian Spectrally-Normalized Bounds for Adversarially Robust\n Generalization", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial attacks. It is\nfound empirically that adversarially robust generalization is crucial in\nestablishing defense algorithms against adversarial attacks. Therefore, it is\ninteresting to study the theoretical guarantee of robust generalization. This\npaper focuses on norm-based complexity, based on a PAC-Bayes approach\n(Neyshabur et al., 2017). The main challenge lies in extending the key\ningredient, which is a weight perturbation bound in standard settings, to the\nrobust settings. Existing attempts heavily rely on additional strong\nassumptions, leading to loose bounds. In this paper, we address this issue and\nprovide a spectrally-normalized robust generalization bound for DNNs. Compared\nto existing bounds, our bound offers two significant advantages: Firstly, it\ndoes not depend on additional assumptions. Secondly, it is considerably\ntighter, aligning with the bounds of standard generalization. Therefore, our\nresult provides a different perspective on understanding robust generalization:\nThe mismatch terms between standard and robust generalization bounds shown in\nprevious studies do not contribute to the poor robust generalization. Instead,\nthese disparities solely due to mathematical issues. Finally, we extend the\nmain result to adversarial robustness against general non-$\\ell_p$ attacks and\nother neural network architectures.\n", "date": "2023-10-09", "categories": []} {"id": "2310.18762", "title": "Purify++: Improving Diffusion-Purification with Advanced Diffusion\n Models and Control of Randomness", "abstract": " Adversarial attacks can mislead neural network classifiers. The defense\nagainst adversarial attacks is important for AI safety. Adversarial\npurification is a family of approaches that defend adversarial attacks with\nsuitable pre-processing. Diffusion models have been shown to be effective for\nadversarial purification. Despite their success, many aspects of diffusion\npurification still remain unexplored. In this paper, we investigate and improve\nupon three limiting designs of diffusion purification: the use of an improved\ndiffusion model, advanced numerical simulation techniques, and optimal control\nof randomness. Based on our findings, we propose Purify++, a new diffusion\npurification algorithm that is now the state-of-the-art purification method\nagainst several adversarial attacks. Our work presents a systematic exploration\nof the limits of diffusion purification methods.\n", "date": "2023-10-28", "categories": []} {"id": "2310.18975", "title": "Blacksmith: Fast Adversarial Training of Vision Transformers via a\n Mixture of Single-step and Multi-step Methods", "abstract": " Despite the remarkable success achieved by deep learning algorithms in\nvarious domains, such as computer vision, they remain vulnerable to adversarial\nperturbations. Adversarial Training (AT) stands out as one of the most\neffective solutions to address this issue; however, single-step AT can lead to\nCatastrophic Overfitting (CO). This scenario occurs when the adversarially\ntrained network suddenly loses robustness against multi-step attacks like\nProjected Gradient Descent (PGD). Although several approaches have been\nproposed to address this problem in Convolutional Neural Networks (CNNs), we\nfound out that they do not perform well when applied to Vision Transformers\n(ViTs). In this paper, we propose Blacksmith, a novel training strategy to\novercome the CO problem, specifically in ViTs. Our approach utilizes either of\nPGD-2 or Fast Gradient Sign Method (FGSM) randomly in a mini-batch during the\nadversarial training of the neural network. This will increase the diversity of\nour training attacks, which could potentially mitigate the CO issue. To manage\nthe increased training time resulting from this combination, we craft the PGD-2\nattack based on only the first half of the layers, while FGSM is applied\nend-to-end. Through our experiments, we demonstrate that our novel method\neffectively prevents CO, achieves PGD-2 level performance, and outperforms\nother existing techniques including N-FGSM, which is the state-of-the-art\nmethod in fast training for CNNs.\n", "date": "2023-10-29", "categories": []} {"id": "2310.19038", "title": "Boosting Decision-Based Black-Box Adversarial Attack with Gradient\n Priors", "abstract": " Decision-based methods have shown to be effective in black-box adversarial\nattacks, as they can obtain satisfactory performance and only require to access\nthe final model prediction. Gradient estimation is a critical step in black-box\nadversarial attacks, as it will directly affect the query efficiency. Recent\nworks have attempted to utilize gradient priors to facilitate score-based\nmethods to obtain better results. However, these gradient priors still suffer\nfrom the edge gradient discrepancy issue and the successive iteration gradient\ndirection issue, thus are difficult to simply extend to decision-based methods.\nIn this paper, we propose a novel Decision-based Black-box Attack framework\nwith Gradient Priors (DBA-GP), which seamlessly integrates the data-dependent\ngradient prior and time-dependent prior into the gradient estimation procedure.\nFirst, by leveraging the joint bilateral filter to deal with each random\nperturbation, DBA-GP can guarantee that the generated perturbations in edge\nlocations are hardly smoothed, i.e., alleviating the edge gradient discrepancy,\nthus remaining the characteristics of the original image as much as possible.\nSecond, by utilizing a new gradient updating strategy to automatically adjust\nthe successive iteration gradient direction, DBA-GP can accelerate the\nconvergence speed, thus improving the query efficiency. Extensive experiments\nhave demonstrated that the proposed method outperforms other strong baselines\nsignificantly.\n", "date": "2023-10-29", "categories": []} {"id": "2310.19177", "title": "Robustifying Language Models with Test-Time Adaptation", "abstract": " Large-scale language models achieved state-of-the-art performance over a\nnumber of language tasks. However, they fail on adversarial language examples,\nwhich are sentences optimized to fool the language models but with similar\nsemantic meanings for humans. While prior work focuses on making the language\nmodel robust at training time, retraining for robustness is often unrealistic\nfor large-scale foundation models. Instead, we propose to make the language\nmodels robust at test time. By dynamically adapting the input sentence with\npredictions from masked words, we show that we can reverse many language\nadversarial attacks. Since our approach does not require any training, it works\nfor novel tasks at test time and can adapt to novel adversarial corruptions.\nVisualizations and empirical results on two popular sentence classification\ndatasets demonstrate that our method can repair adversarial language attacks\nover 65% o\n", "date": "2023-10-29", "categories": []} {"id": "2310.19360", "title": "Balance, Imbalance, and Rebalance: Understanding Robust Overfitting from\n a Minimax Game Perspective", "abstract": " Adversarial Training (AT) has become arguably the state-of-the-art algorithm\nfor extracting robust features. However, researchers recently notice that AT\nsuffers from severe robust overfitting problems, particularly after learning\nrate (LR) decay. In this paper, we explain this phenomenon by viewing\nadversarial training as a dynamic minimax game between the model trainer and\nthe attacker. Specifically, we analyze how LR decay breaks the balance between\nthe minimax game by empowering the trainer with a stronger memorization\nability, and show such imbalance induces robust overfitting as a result of\nmemorizing non-robust features. We validate this understanding with extensive\nexperiments, and provide a holistic view of robust overfitting from the\ndynamics of both the two game players. This understanding further inspires us\nto alleviate robust overfitting by rebalancing the two players by either\nregularizing the trainer's capacity or improving the attack strength.\nExperiments show that the proposed ReBalanced Adversarial Training (ReBAT) can\nattain good robustness and does not suffer from robust overfitting even after\nvery long training. Code is available at https://github.com/PKU-ML/ReBAT.\n", "date": "2023-10-30", "categories": []} {"id": "2310.19737", "title": "Adversarial Attacks and Defenses in Large Language Models: Old and New\n Threats", "abstract": " Over the past decade, there has been extensive research aimed at enhancing\nthe robustness of neural networks, yet this problem remains vastly unsolved.\nHere, one major impediment has been the overestimation of the robustness of new\ndefense approaches due to faulty defense evaluations. Flawed robustness\nevaluations necessitate rectifications in subsequent works, dangerously slowing\ndown the research and providing a false sense of security. In this context, we\nwill face substantial challenges associated with an impending adversarial arms\nrace in natural language processing, specifically with closed-source Large\nLanguage Models (LLMs), such as ChatGPT, Google Bard, or Anthropic's Claude. We\nprovide a first set of prerequisites to improve the robustness assessment of\nnew approaches and reduce the amount of faulty evaluations. Additionally, we\nidentify embedding space attacks on LLMs as another viable threat model for the\npurposes of generating malicious content in open-sourced models. Finally, we\ndemonstrate on a recently proposed defense that, without LLM-specific best\npractices in place, it is easy to overestimate the robustness of a new\napproach.\n", "date": "2023-10-30", "categories": []} {"id": "2303.03169", "title": "A Unified Algebraic Perspective on Lipschitz Neural Networks", "abstract": " Important research efforts have focused on the design and training of neural\nnetworks with a controlled Lipschitz constant. The goal is to increase and\nsometimes guarantee the robustness against adversarial attacks. Recent\npromising techniques draw inspirations from different backgrounds to design\n1-Lipschitz neural networks, just to name a few: convex potential layers derive\nfrom the discretization of continuous dynamical systems,\nAlmost-Orthogonal-Layer proposes a tailored method for matrix rescaling.\nHowever, it is today important to consider the recent and promising\ncontributions in the field under a common theoretical lens to better design new\nand improved layers. This paper introduces a novel algebraic perspective\nunifying various types of 1-Lipschitz neural networks, including the ones\npreviously mentioned, along with methods based on orthogonality and spectral\nmethods. Interestingly, we show that many existing techniques can be derived\nand generalized via finding analytical solutions of a common semidefinite\nprogramming (SDP) condition. We also prove that AOL biases the scaled weight to\nthe ones which are close to the set of orthogonal matrices in a certain\nmathematical manner. Moreover, our algebraic condition, combined with the\nGershgorin circle theorem, readily leads to new and diverse parameterizations\nfor 1-Lipschitz network layers. Our approach, called SDP-based Lipschitz Layers\n(SLL), allows us to design non-trivial yet efficient generalization of convex\npotential layers. Finally, the comprehensive set of experiments on image\nclassification shows that SLLs outperform previous approaches on certified\nrobust accuracy. Code is available at\nhttps://github.com/araujoalexandre/Lipschitz-SLL-Networks.\n", "date": "2023-03-06", "categories": []} {"id": "2310.16779", "title": "Multi-scale Diffusion Denoised Smoothing", "abstract": " Along with recent diffusion models, randomized smoothing has become one of a\nfew tangible approaches that offers adversarial robustness to models at scale,\ne.g., those of large pre-trained models. Specifically, one can perform\nrandomized smoothing on any classifier via a simple \"denoise-and-classify\"\npipeline, so-called denoised smoothing, given that an accurate denoiser is\navailable - such as diffusion model. In this paper, we present scalable methods\nto address the current trade-off between certified robustness and accuracy in\ndenoised smoothing. Our key idea is to \"selectively\" apply smoothing among\nmultiple noise scales, coined multi-scale smoothing, which can be efficiently\nimplemented with a single diffusion model. This approach also suggests a new\nobjective to compare the collective robustness of multi-scale smoothed\nclassifiers, and questions which representation of diffusion model would\nmaximize the objective. To address this, we propose to further fine-tune\ndiffusion model (a) to perform consistent denoising whenever the original image\nis recoverable, but (b) to generate rather diverse outputs otherwise. Our\nexperiments show that the proposed multi-scale smoothing scheme combined with\ndiffusion fine-tuning enables strong certified robustness available with high\nnoise level while maintaining its accuracy close to non-smoothed classifiers.\n", "date": "2023-10-25", "categories": []} {"id": "2210.10482", "title": "Effective Targeted Attacks for Adversarial Self-Supervised Learning", "abstract": " Recently, unsupervised adversarial training (AT) has been highlighted as a\nmeans of achieving robustness in models without any label information. Previous\nstudies in unsupervised AT have mostly focused on implementing self-supervised\nlearning (SSL) frameworks, which maximize the instance-wise classification loss\nto generate adversarial examples. However, we observe that simply maximizing\nthe self-supervised training loss with an untargeted adversarial attack often\nresults in generating ineffective adversaries that may not help improve the\nrobustness of the trained model, especially for non-contrastive SSL frameworks\nwithout negative examples. To tackle this problem, we propose a novel positive\nmining for targeted adversarial attack to generate effective adversaries for\nadversarial SSL frameworks. Specifically, we introduce an algorithm that\nselects the most confusing yet similar target example for a given instance\nbased on entropy and similarity, and subsequently perturbs the given instance\ntowards the selected target. Our method demonstrates significant enhancements\nin robustness when applied to non-contrastive SSL frameworks, and less but\nconsistent robustness improvements with contrastive SSL frameworks, on the\nbenchmark datasets.\n", "date": "2022-10-19", "categories": []} {"id": "2210.10485", "title": "Learning Transferable Adversarial Robust Representations via Multi-view\n Consistency", "abstract": " Despite the success on few-shot learning problems, most meta-learned models\nonly focus on achieving good performance on clean examples and thus easily\nbreak down when given adversarially perturbed samples. While some recent works\nhave shown that a combination of adversarial learning and meta-learning could\nenhance the robustness of a meta-learner against adversarial attacks, they fail\nto achieve generalizable adversarial robustness to unseen domains and tasks,\nwhich is the ultimate goal of meta-learning. To address this challenge, we\npropose a novel meta-adversarial multi-view representation learning framework\nwith dual encoders. Specifically, we introduce the discrepancy across the two\ndifferently augmented samples of the same data instance by first updating the\nencoder parameters with them and further imposing a novel label-free\nadversarial attack to maximize their discrepancy. Then, we maximize the\nconsistency across the views to learn transferable robust representations\nacross domains and tasks. Through experimental validation on multiple\nbenchmarks, we demonstrate the effectiveness of our framework on few-shot\nlearning tasks from unseen domains, achieving over 10\\% robust accuracy\nimprovements against previous adversarial meta-learning baselines.\n", "date": "2022-10-19", "categories": []} {"id": "2302.03857", "title": "Efficient Adversarial Contrastive Learning via Robustness-Aware Coreset\n Selection", "abstract": " Adversarial contrastive learning (ACL) does not require expensive data\nannotations but outputs a robust representation that withstands adversarial\nattacks and also generalizes to a wide range of downstream tasks. However, ACL\nneeds tremendous running time to generate the adversarial variants of all\ntraining data, which limits its scalability to large datasets. To speed up ACL,\nthis paper proposes a robustness-aware coreset selection (RCS) method. RCS does\nnot require label information and searches for an informative subset that\nminimizes a representational divergence, which is the distance of the\nrepresentation between natural data and their virtual adversarial variants. The\nvanilla solution of RCS via traversing all possible subsets is computationally\nprohibitive. Therefore, we theoretically transform RCS into a surrogate problem\nof submodular maximization, of which the greedy search is an efficient solution\nwith an optimality guarantee for the original problem. Empirically, our\ncomprehensive results corroborate that RCS can speed up ACL by a large margin\nwithout significantly hurting the robustness transferability. Notably, to the\nbest of our knowledge, we are the first to conduct ACL efficiently on the\nlarge-scale ImageNet-1K dataset to obtain an effective robust representation\nvia RCS. Our source code is at\nhttps://github.com/GodXuxilie/Efficient_ACL_via_RCS.\n", "date": "2023-02-08", "categories": []} {"id": "2310.17559", "title": "Instability of computer vision models is a necessary result of the task\n itself", "abstract": " Adversarial examples resulting from instability of current computer vision\nmodels are an extremely important topic due to their potential to compromise\nany application. In this paper we demonstrate that instability is inevitable\ndue to a) symmetries (translational invariance) of the data, b) the categorical\nnature of the classification task, and c) the fundamental discrepancy of\nclassifying images as objects themselves. The issue is further exacerbated by\nnon-exhaustive labelling of the training data. Therefore we conclude that\ninstability is a necessary result of how the problem of computer vision is\ncurrently formulated. While the problem cannot be eliminated, through the\nanalysis of the causes, we have arrived at ways how it can be partially\nalleviated. These include i) increasing the resolution of images, ii) providing\ncontextual information for the image, iii) exhaustive labelling of training\ndata, and iv) preventing attackers from frequent access to the computer vision\nsystem.\n", "date": "2023-10-26", "categories": []} {"id": "2305.04574", "title": "TAPS: Connecting Certified and Adversarial Training", "abstract": " Training certifiably robust neural networks remains a notoriously hard\nproblem. On one side, adversarial training optimizes under-approximations of\nthe worst-case loss, which leads to insufficient regularization for\ncertification, while on the other, sound certified training methods optimize\nloose over-approximations, leading to over-regularization and poor (standard)\naccuracy. In this work we propose TAPS, an (unsound) certified training method\nthat combines IBP and PGD training to yield precise, although not necessarily\nsound, worst-case loss approximations, reducing over-regularization and\nincreasing certified and standard accuracies. Empirically, TAPS achieves a new\nstate-of-the-art in many settings, e.g., reaching a certified accuracy of\n$22\\%$ on TinyImageNet for $\\ell_\\infty$-perturbations with radius\n$\\epsilon=1/255$. We make our implementation and networks public at\nhttps://github.com/eth-sri/taps.\n", "date": "2023-05-08", "categories": []} {"id": "2306.11974", "title": "Universal adversarial perturbations for multiple classification tasks\n with quantum classifiers", "abstract": " Quantum adversarial machine learning is an emerging field that studies the\nvulnerability of quantum learning systems against adversarial perturbations and\ndevelops possible defense strategies. Quantum universal adversarial\nperturbations are small perturbations, which can make different input samples\ninto adversarial examples that may deceive a given quantum classifier. This is\na field that was rarely looked into but worthwhile investigating because\nuniversal perturbations might simplify malicious attacks to a large extent,\ncausing unexpected devastation to quantum machine learning models. In this\npaper, we take a step forward and explore the quantum universal perturbations\nin the context of heterogeneous classification tasks. In particular, we find\nthat quantum classifiers that achieve almost state-of-the-art accuracy on two\ndifferent classification tasks can be both conclusively deceived by one\ncarefully-crafted universal perturbation. This result is explicitly\ndemonstrated with well-designed quantum continual learning models with elastic\nweight consolidation method to avoid catastrophic forgetting, as well as\nreal-life heterogeneous datasets from hand-written digits and medical MRI\nimages. Our results provide a simple and efficient way to generate universal\nperturbations on heterogeneous classification tasks and thus would provide\nvaluable guidance for future quantum learning technologies.\n", "date": "2023-06-21", "categories": []} {"id": "2310.15444", "title": "Fast Propagation is Better: Accelerating Single-Step Adversarial\n Training via Sampling Subnetworks", "abstract": " Adversarial training has shown promise in building robust models against\nadversarial examples. A major drawback of adversarial training is the\ncomputational overhead introduced by the generation of adversarial examples. To\novercome this limitation, adversarial training based on single-step attacks has\nbeen explored. Previous work improves the single-step adversarial training from\ndifferent perspectives, e.g., sample initialization, loss regularization, and\ntraining strategy. Almost all of them treat the underlying model as a black\nbox. In this work, we propose to exploit the interior building blocks of the\nmodel to improve efficiency. Specifically, we propose to dynamically sample\nlightweight subnetworks as a surrogate model during training. By doing this,\nboth the forward and backward passes can be accelerated for efficient\nadversarial training. Besides, we provide theoretical analysis to show the\nmodel robustness can be improved by the single-step adversarial training with\nsampled subnetworks. Furthermore, we propose a novel sampling strategy where\nthe sampling varies from layer to layer and from iteration to iteration.\nCompared with previous methods, our method not only reduces the training cost\nbut also achieves better model robustness. Evaluations on a series of popular\ndatasets demonstrate the effectiveness of the proposed FB-Better. Our code has\nbeen released at https://github.com/jiaxiaojunQAQ/FP-Better.\n", "date": "2023-10-24", "categories": []} {"id": "2310.15656", "title": "Momentum Gradient-based Untargeted Attack on Hypergraph Neural Networks", "abstract": " Hypergraph Neural Networks (HGNNs) have been successfully applied in various\nhypergraph-related tasks due to their excellent higher-order representation\ncapabilities. Recent works have shown that deep learning models are vulnerable\nto adversarial attacks. Most studies on graph adversarial attacks have focused\non Graph Neural Networks (GNNs), and the study of adversarial attacks on HGNNs\nremains largely unexplored. In this paper, we try to reduce this gap. We design\na new HGNNs attack model for the untargeted attack, namely MGHGA, which focuses\non modifying node features. We consider the process of HGNNs training and use a\nsurrogate model to implement the attack before hypergraph modeling.\nSpecifically, MGHGA consists of two parts: feature selection and feature\nmodification. We use a momentum gradient mechanism to choose the attack node\nfeatures in the feature selection module. In the feature modification module,\nwe use two feature generation approaches (direct modification and sign\ngradient) to enable MGHGA to be employed on discrete and continuous datasets.\nWe conduct extensive experiments on five benchmark datasets to validate the\nattack performance of MGHGA in the node and the visual object classification\ntasks. The results show that MGHGA improves performance by an average of 2%\ncompared to the than the baselines.\n", "date": "2023-10-24", "categories": []} {"id": "2209.08412", "title": "Characterizing Internal Evasion Attacks in Federated Learning", "abstract": " Federated learning allows for clients in a distributed system to jointly\ntrain a machine learning model. However, clients' models are vulnerable to\nattacks during the training and testing phases. In this paper, we address the\nissue of adversarial clients performing \"internal evasion attacks\": crafting\nevasion attacks at test time to deceive other clients. For example, adversaries\nmay aim to deceive spam filters and recommendation systems trained with\nfederated learning for monetary gain. The adversarial clients have extensive\ninformation about the victim model in a federated learning setting, as weight\ninformation is shared amongst clients. We are the first to characterize the\ntransferability of such internal evasion attacks for different learning methods\nand analyze the trade-off between model accuracy and robustness depending on\nthe degree of similarities in client data. We show that adversarial training\ndefenses in the federated learning setting only display limited improvements\nagainst internal attacks. However, combining adversarial training with\npersonalized federated learning frameworks increases relative internal attack\nrobustness by 60% compared to federated adversarial training and performs well\nunder limited system resources.\n", "date": "2022-09-17", "categories": []} {"id": "2305.00374", "title": "Enhancing Adversarial Contrastive Learning via Adversarial Invariant\n Regularization", "abstract": " Adversarial contrastive learning (ACL) is a technique that enhances standard\ncontrastive learning (SCL) by incorporating adversarial data to learn a robust\nrepresentation that can withstand adversarial attacks and common corruptions\nwithout requiring costly annotations. To improve transferability, the existing\nwork introduced the standard invariant regularization (SIR) to impose\nstyle-independence property to SCL, which can exempt the impact of nuisance\nstyle factors in the standard representation. However, it is unclear how the\nstyle-independence property benefits ACL-learned robust representations. In\nthis paper, we leverage the technique of causal reasoning to interpret the ACL\nand propose adversarial invariant regularization (AIR) to enforce independence\nfrom style factors. We regulate the ACL using both SIR and AIR to output the\nrobust representation. Theoretically, we show that AIR implicitly encourages\nthe representational distance between different views of natural data and their\nadversarial variants to be independent of style factors. Empirically, our\nexperimental results show that invariant regularization significantly improves\nthe performance of state-of-the-art ACL methods in terms of both standard\ngeneralization and robustness on downstream tasks. To the best of our\nknowledge, we are the first to apply causal reasoning to interpret ACL and\ndevelop AIR for enhancing ACL-learned robust representations. Our source code\nis at https://github.com/GodXuxilie/Enhancing_ACL_via_AIR.\n", "date": "2023-04-30", "categories": []} {"id": "2308.00344", "title": "Kidnapping Deep Learning-based Multirotors using Optimized Flying\n Adversarial Patches", "abstract": " Autonomous flying robots, such as multirotors, often rely on deep learning\nmodels that make predictions based on a camera image, e.g. for pose estimation.\nThese models can predict surprising results if applied to input images outside\nthe training domain. This fault can be exploited by adversarial attacks, for\nexample, by computing small images, so-called adversarial patches, that can be\nplaced in the environment to manipulate the neural network's prediction. We\nintroduce flying adversarial patches, where multiple images are mounted on at\nleast one other flying robot and therefore can be placed anywhere in the field\nof view of a victim multirotor. By introducing the attacker robots, the system\nis extended to an adversarial multi-robot system. For an effective attack, we\ncompare three methods that simultaneously optimize multiple adversarial patches\nand their position in the input image. We show that our methods scale well with\nthe number of adversarial patches. Moreover, we demonstrate physical flights\nwith two robots, where we employ a novel attack policy that uses the computed\nadversarial patches to kidnap a robot that was supposed to follow a human.\n", "date": "2023-08-01", "categories": []} {"id": "2310.04445", "title": "LoFT: Local Proxy Fine-tuning For Improving Transferability Of\n Adversarial Attacks Against Large Language Model", "abstract": " It has been shown that Large Language Model (LLM) alignments can be\ncircumvented by appending specially crafted attack suffixes with harmful\nqueries to elicit harmful responses. To conduct attacks against private target\nmodels whose characterization is unknown, public models can be used as proxies\nto fashion the attack, with successful attacks being transferred from public\nproxies to private target models. The success rate of attack depends on how\nclosely the proxy model approximates the private model. We hypothesize that for\nattacks to be transferrable, it is sufficient if the proxy can approximate the\ntarget model in the neighborhood of the harmful query. Therefore, in this\npaper, we propose \\emph{Local Fine-Tuning (LoFT)}, \\textit{i.e.}, fine-tuning\nproxy models on similar queries that lie in the lexico-semantic neighborhood of\nharmful queries to decrease the divergence between the proxy and target models.\nFirst, we demonstrate three approaches to prompt private target models to\nobtain similar queries given harmful queries. Next, we obtain data for local\nfine-tuning by eliciting responses from target models for the generated similar\nqueries. Then, we optimize attack suffixes to generate attack prompts and\nevaluate the impact of our local fine-tuning on the attack's success rate.\nExperiments show that local fine-tuning of proxy models improves attack\ntransferability and increases attack success rate by $39\\%$, $7\\%$, and $0.5\\%$\n(absolute) on target models ChatGPT, GPT-4, and Claude respectively.\n", "date": "2023-10-02", "categories": []} {"id": "2310.10427", "title": "DANAA: Towards transferable attacks with double adversarial neuron\n attribution", "abstract": " While deep neural networks have excellent results in many fields, they are\nsusceptible to interference from attacking samples resulting in erroneous\njudgments. Feature-level attacks are one of the effective attack types, which\ntargets the learnt features in the hidden layers to improve its transferability\nacross different models. Yet it is observed that the transferability has been\nlargely impacted by the neuron importance estimation results. In this paper, a\ndouble adversarial neuron attribution attack method, termed `DANAA', is\nproposed to obtain more accurate feature importance estimation. In our method,\nthe model outputs are attributed to the middle layer based on an adversarial\nnon-linear path. The goal is to measure the weight of individual neurons and\nretain the features that are more important towards transferability. We have\nconducted extensive experiments on the benchmark datasets to demonstrate the\nstate-of-the-art performance of our method. Our code is available at:\nhttps://github.com/Davidjinzb/DANAA\n", "date": "2023-10-16", "categories": []} {"id": "2310.13950", "title": "Adversarial Image Generation by Spatial Transformation in Perceptual\n Colorspaces", "abstract": " Deep neural networks are known to be vulnerable to adversarial perturbations.\nThe amount of these perturbations are generally quantified using $L_p$ metrics,\nsuch as $L_0$, $L_2$ and $L_\\infty$. However, even when the measured\nperturbations are small, they tend to be noticeable by human observers since\n$L_p$ distance metrics are not representative of human perception. On the other\nhand, humans are less sensitive to changes in colorspace. In addition, pixel\nshifts in a constrained neighborhood are hard to notice. Motivated by these\nobservations, we propose a method that creates adversarial examples by applying\nspatial transformations, which creates adversarial examples by changing the\npixel locations independently to chrominance channels of perceptual colorspaces\nsuch as $YC_{b}C_{r}$ and $CIELAB$, instead of making an additive perturbation\nor manipulating pixel values directly. In a targeted white-box attack setting,\nthe proposed method is able to obtain competitive fooling rates with very high\nconfidence. The experimental evaluations show that the proposed method has\nfavorable results in terms of approximate perceptual distance between benign\nand adversarially generated images. The source code is publicly available at\nhttps://github.com/ayberkydn/stadv-torch\n", "date": "2023-10-21", "categories": []} {"id": "2310.14001", "title": "Toward Stronger Textual Attack Detectors", "abstract": " The landscape of available textual adversarial attacks keeps growing, posing\nsevere threats and raising concerns regarding the deep NLP system's integrity.\nHowever, the crucial problem of defending against malicious attacks has only\ndrawn the attention of the NLP community. The latter is nonetheless\ninstrumental in developing robust and trustworthy systems. This paper makes two\nimportant contributions in this line of search: (i) we introduce LAROUSSE, a\nnew framework to detect textual adversarial attacks and (ii) we introduce\nSTAKEOUT, a new benchmark composed of nine popular attack methods, three\ndatasets, and two pre-trained models. LAROUSSE is ready-to-use in production as\nit is unsupervised, hyperparameter-free, and non-differentiable, protecting it\nagainst gradient-based methods. Our new benchmark STAKEOUT allows for a robust\nevaluation framework: we conduct extensive numerical experiments which\ndemonstrate that LAROUSSE outperforms previous methods, and which allows to\nidentify interesting factors of detection rate variations.\n", "date": "2023-10-21", "categories": []} {"id": "2310.14561", "title": "F$^2$AT: Feature-Focusing Adversarial Training via Disentanglement of\n Natural and Perturbed Patterns", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial examples crafted by\nwell-designed perturbations. This could lead to disastrous results on critical\napplications such as self-driving cars, surveillance security, and medical\ndiagnosis. At present, adversarial training is one of the most effective\ndefenses against adversarial examples. However, traditional adversarial\ntraining makes it difficult to achieve a good trade-off between clean accuracy\nand robustness since spurious features are still learned by DNNs. The intrinsic\nreason is that traditional adversarial training makes it difficult to fully\nlearn core features from adversarial examples when adversarial noise and clean\nexamples cannot be disentangled. In this paper, we disentangle the adversarial\nexamples into natural and perturbed patterns by bit-plane slicing. We assume\nthe higher bit-planes represent natural patterns and the lower bit-planes\nrepresent perturbed patterns, respectively. We propose a Feature-Focusing\nAdversarial Training (F$^2$AT), which differs from previous work in that it\nenforces the model to focus on the core features from natural patterns and\nreduce the impact of spurious features from perturbed patterns. The\nexperimental results demonstrated that F$^2$AT outperforms state-of-the-art\nmethods in clean accuracy and adversarial robustness.\n", "date": "2023-10-23", "categories": []} {"id": "2310.13099", "title": "No offence, Bert -- I insult only humans! Multiple addressees\n sentence-level attack on toxicity detection neural network", "abstract": " We introduce a simple yet efficient sentence-level attack on black-box\ntoxicity detector models. By adding several positive words or sentences to the\nend of a hateful message, we are able to change the prediction of a neural\nnetwork and pass the toxicity detection system check. This approach is shown to\nbe working on seven languages from three different language families. We also\ndescribe the defence mechanism against the aforementioned attack and discuss\nits limitations.\n", "date": "2023-10-19", "categories": []} {"id": "2305.05896", "title": "A Black-Box Attack on Code Models via Representation Nearest Neighbor\n Search", "abstract": " Existing methods for generating adversarial code examples face several\nchallenges: limted availability of substitute variables, high verification\ncosts for these substitutes, and the creation of adversarial samples with\nnoticeable perturbations. To address these concerns, our proposed approach,\nRNNS, uses a search seed based on historical attacks to find potential\nadversarial substitutes. Rather than directly using the discrete substitutes,\nthey are mapped to a continuous vector space using a pre-trained variable name\nencoder. Based on the vector representation, RNNS predicts and selects better\nsubstitutes for attacks. We evaluated the performance of RNNS across six coding\ntasks encompassing three programming languages: Java, Python, and C. We\nemployed three pre-trained code models (CodeBERT, GraphCodeBERT, and CodeT5)\nthat resulted in a cumulative of 18 victim models. The results demonstrate that\nRNNS outperforms baselines in terms of ASR and QT. Furthermore, the\nperturbation of adversarial examples introduced by RNNS is smaller compared to\nthe baselines in terms of the number of replaced variables and the change in\nvariable length. Lastly, our experiments indicate that RNNS is efficient in\nattacking defended models and can be employed for adversarial training.\n", "date": "2023-05-10", "categories": []} {"id": "2310.12243", "title": "REVAMP: Automated Simulations of Adversarial Attacks on Arbitrary\n Objects in Realistic Scenes", "abstract": " Deep Learning models, such as those used in an autonomous vehicle are\nvulnerable to adversarial attacks where an attacker could place an adversarial\nobject in the environment, leading to mis-classification. Generating these\nadversarial objects in the digital space has been extensively studied, however\nsuccessfully transferring these attacks from the digital realm to the physical\nrealm has proven challenging when controlling for real-world environmental\nfactors. In response to these limitations, we introduce REVAMP, an easy-to-use\nPython library that is the first-of-its-kind tool for creating attack scenarios\nwith arbitrary objects and simulating realistic environmental factors,\nlighting, reflection, and refraction. REVAMP enables researchers and\npractitioners to swiftly explore various scenarios within the digital realm by\noffering a wide range of configurable options for designing experiments and\nusing differentiable rendering to reproduce physically plausible adversarial\nobjects. We will demonstrate and invite the audience to try REVAMP to produce\nan adversarial texture on a chosen object while having control over various\nscene parameters. The audience will choose a scene, an object to attack, the\ndesired attack class, and the number of camera positions to use. Then, in real\ntime, we show how this altered texture causes the chosen object to be\nmis-classified, showcasing the potential of REVAMP in real-world scenarios.\nREVAMP is open-source and available at https://github.com/poloclub/revamp.\n", "date": "2023-10-18", "categories": []} {"id": "2310.12708", "title": "Generating Robust Adversarial Examples against Online Social Networks\n (OSNs)", "abstract": " Online Social Networks (OSNs) have blossomed into prevailing transmission\nchannels for images in the modern era. Adversarial examples (AEs) deliberately\ndesigned to mislead deep neural networks (DNNs) are found to be fragile against\nthe inevitable lossy operations conducted by OSNs. As a result, the AEs would\nlose their attack capabilities after being transmitted over OSNs. In this work,\nwe aim to design a new framework for generating robust AEs that can survive the\nOSN transmission; namely, the AEs before and after the OSN transmission both\npossess strong attack capabilities. To this end, we first propose a\ndifferentiable network termed SImulated OSN (SIO) to simulate the various\noperations conducted by an OSN. Specifically, the SIO network consists of two\nmodules: 1) a differentiable JPEG layer for approximating the ubiquitous JPEG\ncompression and 2) an encoder-decoder subnetwork for mimicking the remaining\noperations. Based upon the SIO network, we then formulate an optimization\nframework to generate robust AEs by enforcing model outputs with and without\npassing through the SIO to be both misled. Extensive experiments conducted over\nFacebook, WeChat and QQ demonstrate that our attack methods produce more robust\nAEs than existing approaches, especially under small distortion constraints;\nthe performance gain in terms of Attack Success Rate (ASR) could be more than\n60%. Furthermore, we build a public dataset containing more than 10,000 pairs\nof AEs processed by Facebook, WeChat or QQ, facilitating future research in the\nrobust AEs generation. The dataset and code are available at\nhttps://github.com/csjunjun/RobustOSNAttack.git.\n", "date": "2023-10-19", "categories": []} {"id": "2310.11597", "title": "The Efficacy of Transformer-based Adversarial Attacks in Security\n Domains", "abstract": " Today, the security of many domains rely on the use of Machine Learning to\ndetect threats, identify vulnerabilities, and safeguard systems from attacks.\nRecently, transformer architectures have improved the state-of-the-art\nperformance on a wide range of tasks such as malware detection and network\nintrusion detection. But, before abandoning current approaches to transformers,\nit is crucial to understand their properties and implications on cybersecurity\napplications. In this paper, we evaluate the robustness of transformers to\nadversarial samples for system defenders (i.e., resiliency to adversarial\nperturbations generated on different types of architectures) and their\nadversarial strength for system attackers (i.e., transferability of adversarial\nsamples generated by transformers to other target models). To that effect, we\nfirst fine-tune a set of pre-trained transformer, Convolutional Neural Network\n(CNN), and hybrid (an ensemble of transformer and CNN) models to solve\ndifferent downstream image-based tasks. Then, we use an attack algorithm to\ncraft 19,367 adversarial examples on each model for each task. The\ntransferability of these adversarial examples is measured by evaluating each\nset on other models to determine which models offer more adversarial strength,\nand consequently, more robustness against these attacks. We find that the\nadversarial examples crafted on transformers offer the highest transferability\nrate (i.e., 25.7% higher than the average) onto other models. Similarly,\nadversarial examples crafted on other models have the lowest rate of\ntransferability (i.e., 56.7% lower than the average) onto transformers. Our\nwork emphasizes the importance of studying transformer architectures for\nattacking and defending models in security domains, and suggests using them as\nthe primary architecture in transfer attack settings.\n", "date": "2023-10-17", "categories": []} {"id": "2303.09767", "title": "It Is All About Data: A Survey on the Effects of Data on Adversarial\n Robustness", "abstract": " Adversarial examples are inputs to machine learning models that an attacker\nhas intentionally designed to confuse the model into making a mistake. Such\nexamples pose a serious threat to the applicability of machine-learning-based\nsystems, especially in life- and safety-critical domains. To address this\nproblem, the area of adversarial robustness investigates mechanisms behind\nadversarial attacks and defenses against these attacks. This survey reviews a\nparticular subset of this literature that focuses on investigating properties\nof training data in the context of model robustness under evasion attacks. It\nfirst summarizes the main properties of data leading to adversarial\nvulnerability. It then discusses guidelines and techniques for improving\nadversarial robustness by enhancing the data representation and learning\nprocedures, as well as techniques for estimating robustness guarantees given\nparticular data. Finally, it discusses gaps of knowledge and promising future\nresearch directions in this area.\n", "date": "2023-03-17", "categories": []} {"id": "2310.10744", "title": "Fast Adversarial Label-Flipping Attack on Tabular Data", "abstract": " Machine learning models are increasingly used in fields that require high\nreliability such as cybersecurity. However, these models remain vulnerable to\nvarious attacks, among which the adversarial label-flipping attack poses\nsignificant threats. In label-flipping attacks, the adversary maliciously flips\na portion of training labels to compromise the machine learning model. This\npaper raises significant concerns as these attacks can camouflage a highly\nskewed dataset as an easily solvable classification problem, often misleading\nmachine learning practitioners into lower defenses and miscalculations of\npotential risks. This concern amplifies in tabular data settings, where\nidentifying true labels requires expertise, allowing malicious label-flipping\nattacks to easily slip under the radar. To demonstrate this risk is inherited\nin the adversary's objective, we propose FALFA (Fast Adversarial Label-Flipping\nAttack), a novel efficient attack for crafting adversarial labels. FALFA is\nbased on transforming the adversary's objective and employs linear programming\nto reduce computational complexity. Using ten real-world tabular datasets, we\ndemonstrate FALFA's superior attack potential, highlighting the need for robust\ndefenses against such threats.\n", "date": "2023-10-16", "categories": []} {"id": "2310.10807", "title": "Regularization properties of adversarially-trained linear regression", "abstract": " State-of-the-art machine learning models can be vulnerable to very small\ninput perturbations that are adversarially constructed. Adversarial training is\nan effective approach to defend against it. Formulated as a min-max problem, it\nsearches for the best solution when the training data were corrupted by the\nworst-case attacks. Linear models are among the simple models where\nvulnerabilities can be observed and are the focus of our study. In this case,\nadversarial training leads to a convex optimization problem which can be\nformulated as the minimization of a finite sum. We provide a comparative\nanalysis between the solution of adversarial training in linear regression and\nother regularization methods. Our main findings are that: (A) Adversarial\ntraining yields the minimum-norm interpolating solution in the\noverparameterized regime (more parameters than data), as long as the maximum\ndisturbance radius is smaller than a threshold. And, conversely, the\nminimum-norm interpolator is the solution to adversarial training with a given\nradius. (B) Adversarial training can be equivalent to parameter shrinking\nmethods (ridge regression and Lasso). This happens in the underparametrized\nregion, for an appropriate choice of adversarial radius and zero-mean\nsymmetrically distributed covariates. (C) For $\\ell_\\infty$-adversarial\ntraining -- as in square-root Lasso -- the choice of adversarial radius for\noptimal bounds does not depend on the additive noise variance. We confirm our\ntheoretical findings with numerical examples.\n", "date": "2023-10-16", "categories": []} {"id": "2310.10844", "title": "Survey of Vulnerabilities in Large Language Models Revealed by\n Adversarial Attacks", "abstract": " Large Language Models (LLMs) are swiftly advancing in architecture and\ncapability, and as they integrate more deeply into complex systems, the urgency\nto scrutinize their security properties grows. This paper surveys research in\nthe emerging interdisciplinary field of adversarial attacks on LLMs, a subfield\nof trustworthy ML, combining the perspectives of Natural Language Processing\nand Security. Prior work has shown that even safety-aligned LLMs (via\ninstruction tuning and reinforcement learning through human feedback) can be\nsusceptible to adversarial attacks, which exploit weaknesses and mislead AI\nsystems, as evidenced by the prevalence of `jailbreak' attacks on models like\nChatGPT and Bard. In this survey, we first provide an overview of large\nlanguage models, describe their safety alignment, and categorize existing\nresearch based on various learning structures: textual-only attacks,\nmulti-modal attacks, and additional attack methods specifically targeting\ncomplex systems, such as federated learning or multi-agent systems. We also\noffer comprehensive remarks on works that focus on the fundamental sources of\nvulnerabilities and potential defenses. To make this field more accessible to\nnewcomers, we present a systematic review of existing works, a structured\ntypology of adversarial attack concepts, and additional resources, including\nslides for presentations on related topics at the 62nd Annual Meeting of the\nAssociation for Computational Linguistics (ACL'24).\n", "date": "2023-10-16", "categories": []} {"id": "2305.01074", "title": "Physical Adversarial Attacks for Surveillance: A Survey", "abstract": " Modern automated surveillance techniques are heavily reliant on deep learning\nmethods. Despite the superior performance, these learning systems are\ninherently vulnerable to adversarial attacks - maliciously crafted inputs that\nare designed to mislead, or trick, models into making incorrect predictions. An\nadversary can physically change their appearance by wearing adversarial\nt-shirts, glasses, or hats or by specific behavior, to potentially avoid\nvarious forms of detection, tracking and recognition of surveillance systems;\nand obtain unauthorized access to secure properties and assets. This poses a\nsevere threat to the security and safety of modern surveillance systems. This\npaper reviews recent attempts and findings in learning and designing physical\nadversarial attacks for surveillance applications. In particular, we propose a\nframework to analyze physical adversarial attacks and provide a comprehensive\nsurvey of physical adversarial attacks on four key surveillance tasks:\ndetection, identification, tracking, and action recognition under this\nframework. Furthermore, we review and analyze strategies to defend against the\nphysical adversarial attacks and the methods for evaluating the strengths of\nthe defense. The insights in this paper present an important step in building\nresilience within surveillance systems to physical adversarial attacks.\n", "date": "2023-05-01", "categories": []} {"id": "2305.14950", "title": "Adversarial Demonstration Attacks on Large Language Models", "abstract": " With the emergence of more powerful large language models (LLMs), such as\nChatGPT and GPT-4, in-context learning (ICL) has gained significant prominence\nin leveraging these models for specific tasks by utilizing data-label pairs as\nprecondition prompts. While incorporating demonstrations can greatly enhance\nthe performance of LLMs across various tasks, it may introduce a new security\nconcern: attackers can manipulate only the demonstrations without changing the\ninput to perform an attack. In this paper, we investigate the security concern\nof ICL from an adversarial perspective, focusing on the impact of\ndemonstrations. We propose a novel attack method named advICL, which aims to\nmanipulate only the demonstration without changing the input to mislead the\nmodels. Our results demonstrate that as the number of demonstrations increases,\nthe robustness of in-context learning would decrease. Additionally, we also\nidentify the intrinsic property of the demonstrations is that they can be used\n(prepended) with different inputs. As a result, it introduces a more practical\nthreat model in which an attacker can attack the test input example even\nwithout knowing and manipulating it. To achieve it, we propose the transferable\nversion of advICL, named Transferable-advICL. Our experiment shows that the\nadversarial demonstration generated by Transferable-advICL can successfully\nattack the unseen test input examples. We hope that our study reveals the\ncritical security risks associated with ICL and underscores the need for\nextensive research on the robustness of ICL, particularly given its increasing\nsignificance in the advancement of LLMs.\n", "date": "2023-05-24", "categories": []} {"id": "2309.11751", "title": "How Robust is Google's Bard to Adversarial Image Attacks?", "abstract": " Multimodal Large Language Models (MLLMs) that integrate text and other\nmodalities (especially vision) have achieved unprecedented performance in\nvarious multimodal tasks. However, due to the unsolved adversarial robustness\nproblem of vision models, MLLMs can have more severe safety and security risks\nby introducing the vision inputs. In this work, we study the adversarial\nrobustness of Google's Bard, a competitive chatbot to ChatGPT that released its\nmultimodal capability recently, to better understand the vulnerabilities of\ncommercial MLLMs. By attacking white-box surrogate vision encoders or MLLMs,\nthe generated adversarial examples can mislead Bard to output wrong image\ndescriptions with a 22% success rate based solely on the transferability. We\nshow that the adversarial examples can also attack other MLLMs, e.g., a 26%\nattack success rate against Bing Chat and a 86% attack success rate against\nERNIE bot. Moreover, we identify two defense mechanisms of Bard, including face\ndetection and toxicity detection of images. We design corresponding attacks to\nevade these defenses, demonstrating that the current defenses of Bard are also\nvulnerable. We hope this work can deepen our understanding on the robustness of\nMLLMs and facilitate future research on defenses. Our code is available at\nhttps://github.com/thu-ml/Attack-Bard.\n Update: GPT-4V is available at October 2023. We further evaluate its\nrobustness under the same set of adversarial examples, achieving a 45% attack\nsuccess rate.\n", "date": "2023-09-21", "categories": []} {"id": "2310.03166", "title": "Raze to the Ground: Query-Efficient Adversarial HTML Attacks on\n Machine-Learning Phishing Webpage Detectors", "abstract": " Machine-learning phishing webpage detectors (ML-PWD) have been shown to\nsuffer from adversarial manipulations of the HTML code of the input webpage.\nNevertheless, the attacks recently proposed have demonstrated limited\neffectiveness due to their lack of optimizing the usage of the adopted\nmanipulations, and they focus solely on specific elements of the HTML code. In\nthis work, we overcome these limitations by first designing a novel set of\nfine-grained manipulations which allow to modify the HTML code of the input\nphishing webpage without compromising its maliciousness and visual appearance,\ni.e., the manipulations are functionality- and rendering-preserving by design.\nWe then select which manipulations should be applied to bypass the target\ndetector by a query-efficient black-box optimization algorithm. Our experiments\nshow that our attacks are able to raze to the ground the performance of current\nstate-of-the-art ML-PWD using just 30 queries, thus overcoming the weaker\nattacks developed in previous work, and enabling a much fairer robustness\nevaluation of ML-PWD.\n", "date": "2023-10-04", "categories": []} {"id": "2310.09361", "title": "Is Certifying $\\ell_p$ Robustness Still Worthwhile?", "abstract": " Over the years, researchers have developed myriad attacks that exploit the\nubiquity of adversarial examples, as well as defenses that aim to guard against\nthe security vulnerabilities posed by such attacks. Of particular interest to\nthis paper are defenses that provide provable guarantees against the class of\n$\\ell_p$-bounded attacks. Certified defenses have made significant progress,\ntaking robustness certification from toy models and datasets to large-scale\nproblems like ImageNet classification. While this is undoubtedly an interesting\nacademic problem, as the field has matured, its impact in practice remains\nunclear, thus we find it useful to revisit the motivation for continuing this\nline of research. There are three layers to this inquiry, which we address in\nthis paper: (1) why do we care about robustness research? (2) why do we care\nabout the $\\ell_p$-bounded threat model? And (3) why do we care about\ncertification as opposed to empirical defenses? In brief, we take the position\nthat local robustness certification indeed confers practical value to the field\nof machine learning. We focus especially on the latter two questions from\nabove. With respect to the first of the two, we argue that the $\\ell_p$-bounded\nthreat model acts as a minimal requirement for safe application of models in\nsecurity-critical domains, while at the same time, evidence has mounted\nsuggesting that local robustness may lead to downstream external benefits not\nimmediately related to robustness. As for the second, we argue that (i)\ncertification provides a resolution to the cat-and-mouse game of adversarial\nattacks; and furthermore, that (ii) perhaps contrary to popular belief, there\nmay not exist a fundamental trade-off between accuracy, robustness, and\ncertifiability, while moreover, certified training techniques constitute a\nparticularly promising way for learning robust models.\n", "date": "2023-10-13", "categories": []} {"id": "2310.09795", "title": "AFLOW: Developing Adversarial Examples under Extremely Noise-limited\n Settings", "abstract": " Extensive studies have demonstrated that deep neural networks (DNNs) are\nvulnerable to adversarial attacks. Despite the significant progress in the\nattack success rate that has been made recently, the adversarial noise\ngenerated by most of the existing attack methods is still too conspicuous to\nthe human eyes and proved to be easily detected by defense mechanisms.\nResulting that these malicious examples cannot contribute to exploring the\nvulnerabilities of existing DNNs sufficiently. Thus, to better reveal the\ndefects of DNNs and further help enhance their robustness under noise-limited\nsituations, a new inconspicuous adversarial examples generation method is\nexactly needed to be proposed. To bridge this gap, we propose a novel Normalize\nFlow-based end-to-end attack framework, called AFLOW, to synthesize\nimperceptible adversarial examples under strict constraints. Specifically,\nrather than the noise-adding manner, AFLOW directly perturbs the hidden\nrepresentation of the corresponding image to craft the desired adversarial\nexamples. Compared with existing methods, extensive experiments on three\nbenchmark datasets show that the adversarial examples built by AFLOW exhibit\nsuperiority in imperceptibility, image quality and attack capability. Even on\nrobust models, AFLOW can still achieve higher attack results than previous\nmethods.\n", "date": "2023-10-15", "categories": []} {"id": "2310.09891", "title": "Towards Deep Learning Models Resistant to Transfer-based Adversarial\n Attacks via Data-centric Robust Learning", "abstract": " Transfer-based adversarial attacks raise a severe threat to real-world deep\nlearning systems since they do not require access to target models. Adversarial\ntraining (AT), which is recognized as the strongest defense against white-box\nattacks, has also guaranteed high robustness to (black-box) transfer-based\nattacks. However, AT suffers from heavy computational overhead since it\noptimizes the adversarial examples during the whole training process. In this\npaper, we demonstrate that such heavy optimization is not necessary for AT\nagainst transfer-based attacks. Instead, a one-shot adversarial augmentation\nprior to training is sufficient, and we name this new defense paradigm\nData-centric Robust Learning (DRL). Our experimental results show that DRL\noutperforms widely-used AT techniques (e.g., PGD-AT, TRADES, EAT, and FAT) in\nterms of black-box robustness and even surpasses the top-1 defense on\nRobustBench when combined with diverse data augmentations and loss\nregularizations. We also identify other benefits of DRL, for instance, the\nmodel generalization capability and robust fairness.\n", "date": "2023-10-15", "categories": []} {"id": "2310.08889", "title": "PerturbScore: Connecting Discrete and Continuous Perturbations in NLP", "abstract": " With the rapid development of neural network applications in NLP, model\nrobustness problem is gaining more attention. Different from computer vision,\nthe discrete nature of texts makes it more challenging to explore robustness in\nNLP. Therefore, in this paper, we aim to connect discrete perturbations with\ncontinuous perturbations, therefore we can use such connections as a bridge to\nhelp understand discrete perturbations in NLP models. Specifically, we first\nexplore how to connect and measure the correlation between discrete\nperturbations and continuous perturbations. Then we design a regression task as\na PerturbScore to learn the correlation automatically. Through experimental\nresults, we find that we can build a connection between discrete and continuous\nperturbations and use the proposed PerturbScore to learn such correlation,\nsurpassing previous methods used in discrete perturbation measuring. Further,\nthe proposed PerturbScore can be well generalized to different datasets,\nperturbation methods, indicating that we can use it as a powerful tool to study\nmodel robustness in NLP.\n", "date": "2023-10-13", "categories": []} {"id": "2210.13660", "title": "Multi-SpacePhish: Extending the Evasion-space of Adversarial Attacks\n against Phishing Website Detectors using Machine Learning", "abstract": " Existing literature on adversarial Machine Learning (ML) focuses either on\nshowing attacks that break every ML model, or defenses that withstand most\nattacks. Unfortunately, little consideration is given to the actual feasibility\nof the attack or the defense. Moreover, adversarial samples are often crafted\nin the \"feature-space\", making the corresponding evaluations of questionable\nvalue. Simply put, the current situation does not allow to estimate the actual\nthreat posed by adversarial attacks, leading to a lack of secure ML systems.\n We aim to clarify such confusion in this paper. By considering the\napplication of ML for Phishing Website Detection (PWD), we formalize the\n\"evasion-space\" in which an adversarial perturbation can be introduced to fool\na ML-PWD -- demonstrating that even perturbations in the \"feature-space\" are\nuseful. Then, we propose a realistic threat model describing evasion attacks\nagainst ML-PWD that are cheap to stage, and hence intrinsically more attractive\nfor real phishers. After that, we perform the first statistically validated\nassessment of state-of-the-art ML-PWD against 12 evasion attacks. Our\nevaluation shows (i) the true efficacy of evasion attempts that are more likely\nto occur; and (ii) the impact of perturbations crafted in different\nevasion-spaces. Our realistic evasion attempts induce a statistically\nsignificant degradation (3-10% at p<0.05), and their cheap cost makes them a\nsubtle threat. Notably, however, some ML-PWD are immune to our most realistic\nattacks (p=0.22).\n Finally, as an additional contribution of this journal publication, we are\nthe first to consider the intriguing case wherein an attacker introduces\nperturbations in multiple evasion-spaces at the same time. These new results\nshow that simultaneously applying perturbations in the problem- and\nfeature-space can cause a drop in the detection rate from 0.95 to 0.\n", "date": "2022-10-24", "categories": []} {"id": "2310.07725", "title": "Extreme Image Transformations Facilitate Robust Latent Object\n Representations", "abstract": " Adversarial attacks can affect the object recognition capabilities of\nmachines in wild. These can often result from spurious correlations between\ninput and class labels, and are prone to memorization in large networks. While\nnetworks are expected to do automated feature selection, it is not effective at\nthe scale of the object. Humans, however, are able to select the minimum set of\nfeatures required to form a robust representation of an object. In this work,\nwe show that finetuning any pretrained off-the-shelf network with Extreme Image\nTransformations (EIT) not only helps in learning a robust latent\nrepresentation, it also improves the performance of these networks against\ncommon adversarial attacks of various intensities. Our EIT trained networks\nshow strong activations in the object regions even when tested with more\nintense noise, showing promising generalizations across different kinds of\nadversarial attacks.\n", "date": "2023-09-19", "categories": []} {"id": "2310.07780", "title": "Promoting Robustness of Randomized Smoothing: Two Cost-Effective\n Approaches", "abstract": " Randomized smoothing has recently attracted attentions in the field of\nadversarial robustness to provide provable robustness guarantees on smoothed\nneural network classifiers. However, existing works show that vanilla\nrandomized smoothing usually does not provide good robustness performance and\noften requires (re)training techniques on the base classifier in order to boost\nthe robustness of the resulting smoothed classifier. In this work, we propose\ntwo cost-effective approaches to boost the robustness of randomized smoothing\nwhile preserving its clean performance. The first approach introduces a new\nrobust training method AdvMacerwhich combines adversarial training and\nrobustness certification maximization for randomized smoothing. We show that\nAdvMacer can improve the robustness performance of randomized smoothing\nclassifiers compared to SOTA baselines, while being 3x faster to train than\nMACER baseline. The second approach introduces a post-processing method EsbRS\nwhich greatly improves the robustness certificate based on building model\nensembles. We explore different aspects of model ensembles that has not been\nstudied by prior works and propose a novel design methodology to further\nimprove robustness of the ensemble based on our theoretical analysis.\n", "date": "2023-10-11", "categories": []} {"id": "2310.08073", "title": "Samples on Thin Ice: Re-Evaluating Adversarial Pruning of Neural\n Networks", "abstract": " Neural network pruning has shown to be an effective technique for reducing\nthe network size, trading desirable properties like generalization and\nrobustness to adversarial attacks for higher sparsity. Recent work has claimed\nthat adversarial pruning methods can produce sparse networks while also\npreserving robustness to adversarial examples. In this work, we first\nre-evaluate three state-of-the-art adversarial pruning methods, showing that\ntheir robustness was indeed overestimated. We then compare pruned and dense\nversions of the same models, discovering that samples on thin ice, i.e., closer\nto the unpruned model's decision boundary, are typically misclassified after\npruning. We conclude by discussing how this intuition may lead to designing\nmore effective adversarial pruning methods in future work.\n", "date": "2023-10-12", "categories": []} {"id": "2310.08177", "title": "Improving Fast Minimum-Norm Attacks with Hyperparameter Optimization", "abstract": " Evaluating the adversarial robustness of machine learning models using\ngradient-based attacks is challenging. In this work, we show that\nhyperparameter optimization can improve fast minimum-norm attacks by automating\nthe selection of the loss function, the optimizer and the step-size scheduler,\nalong with the corresponding hyperparameters. Our extensive evaluation\ninvolving several robust models demonstrates the improved efficacy of fast\nminimum-norm attacks when hyper-up with hyperparameter optimization. We release\nour open-source code at https://github.com/pralab/HO-FMN.\n", "date": "2023-10-12", "categories": []} {"id": "2310.08292", "title": "Concealed Electronic Countermeasures of Radar Signal with Adversarial\n Examples", "abstract": " Electronic countermeasures involving radar signals are an important aspect of\nmodern warfare. Traditional electronic countermeasures techniques typically add\nlarge-scale interference signals to ensure interference effects, which can lead\nto attacks being too obvious. In recent years, AI-based attack methods have\nemerged that can effectively solve this problem, but the attack scenarios are\ncurrently limited to time domain radar signal classification. In this paper, we\nfocus on the time-frequency images classification scenario of radar signals. We\nfirst propose an attack pipeline under the time-frequency images scenario and\nDITIMI-FGSM attack algorithm with high transferability. Then, we propose\nSTFT-based time domain signal attack(STDS) algorithm to solve the problem of\nnon-invertibility in time-frequency analysis, thus obtaining the time-domain\nrepresentation of the interference signal. A large number of experiments show\nthat our attack pipeline is feasible and the proposed attack method has a high\nsuccess rate.\n", "date": "2023-10-12", "categories": []} {"id": "2307.14539", "title": "Jailbreak in pieces: Compositional Adversarial Attacks on Multi-Modal\n Language Models", "abstract": " We introduce new jailbreak attacks on vision language models (VLMs), which\nuse aligned LLMs and are resilient to text-only jailbreak attacks.\nSpecifically, we develop cross-modality attacks on alignment where we pair\nadversarial images going through the vision encoder with textual prompts to\nbreak the alignment of the language model. Our attacks employ a novel\ncompositional strategy that combines an image, adversarially targeted towards\ntoxic embeddings, with generic prompts to accomplish the jailbreak. Thus, the\nLLM draws the context to answer the generic prompt from the adversarial image.\nThe generation of benign-appearing adversarial images leverages a novel\nembedding-space-based methodology, operating with no access to the LLM model.\nInstead, the attacks require access only to the vision encoder and utilize one\nof our four embedding space targeting strategies. By not requiring access to\nthe LLM, the attacks lower the entry barrier for attackers, particularly when\nvision encoders such as CLIP are embedded in closed-source LLMs. The attacks\nachieve a high success rate across different VLMs, highlighting the risk of\ncross-modality alignment vulnerabilities, and the need for new alignment\napproaches for multi-modal models.\n", "date": "2023-07-26", "categories": []} {"id": "2310.06845", "title": "RobustEdge: Low Power Adversarial Detection for Cloud-Edge Systems", "abstract": " In practical cloud-edge scenarios, where a resource constrained edge performs\ndata acquisition and a cloud system (having sufficient resources) performs\ninference tasks with a deep neural network (DNN), adversarial robustness is\ncritical for reliability and ubiquitous deployment. Adversarial detection is a\nprime adversarial defence technique used in prior literature. However, in prior\ndetection works, the detector is attached to the classifier model and both\ndetector and classifier work in tandem to perform adversarial detection that\nrequires a high computational overhead which is not available at the low-power\nedge. Therefore, prior works can only perform adversarial detection at the\ncloud and not at the edge. This means that in case of adversarial attacks, the\nunfavourable adversarial samples must be communicated to the cloud which leads\nto energy wastage at the edge device. Therefore, a low-power edge-friendly\nadversarial detection method is required to improve the energy efficiency of\nthe edge and robustness of the cloud-based classifier. To this end, RobustEdge\nproposes Quantization-enabled Energy Separation (QES) training with \"early\ndetection and exit\" to perform edge-based low cost adversarial detection. The\nQES-trained detector implemented at the edge blocks adversarial data\ntransmission to the classifier model, thereby improving adversarial robustness\nand energy-efficiency of the Cloud-Edge system.\n", "date": "2023-09-05", "categories": []} {"id": "2310.07084", "title": "Investigating the Adversarial Robustness of Density Estimation Using the\n Probability Flow ODE", "abstract": " Beyond their impressive sampling capabilities, score-based diffusion models\noffer a powerful analysis tool in the form of unbiased density estimation of a\nquery sample under the training data distribution. In this work, we investigate\nthe robustness of density estimation using the probability flow (PF) neural\nordinary differential equation (ODE) model against gradient-based likelihood\nmaximization attacks and the relation to sample complexity, where the\ncompressed size of a sample is used as a measure of its complexity. We\nintroduce and evaluate six gradient-based log-likelihood maximization attacks,\nincluding a novel reverse integration attack. Our experimental evaluations on\nCIFAR-10 show that density estimation using the PF ODE is robust against\nhigh-complexity, high-likelihood attacks, and that in some cases adversarial\nsamples are semantically meaningful, as expected from a robust estimator.\n", "date": "2023-10-10", "categories": []} {"id": "2310.07492", "title": "Boosting Black-box Attack to Deep Neural Networks with Conditional\n Diffusion Models", "abstract": " Existing black-box attacks have demonstrated promising potential in creating\nadversarial examples (AE) to deceive deep learning models. Most of these\nattacks need to handle a vast optimization space and require a large number of\nqueries, hence exhibiting limited practical impacts in real-world scenarios. In\nthis paper, we propose a novel black-box attack strategy, Conditional Diffusion\nModel Attack (CDMA), to improve the query efficiency of generating AEs under\nquery-limited situations. The key insight of CDMA is to formulate the task of\nAE synthesis as a distribution transformation problem, i.e., benign examples\nand their corresponding AEs can be regarded as coming from two distinctive\ndistributions and can transform from each other with a particular converter.\nUnlike the conventional \\textit{query-and-optimization} approach, we generate\neligible AEs with direct conditional transform using the aforementioned data\nconverter, which can significantly reduce the number of queries needed. CDMA\nadopts the conditional Denoising Diffusion Probabilistic Model as the\nconverter, which can learn the transformation from clean samples to AEs, and\nensure the smooth development of perturbed noise resistant to various defense\nstrategies. We demonstrate the effectiveness and efficiency of CDMA by\ncomparing it with nine state-of-the-art black-box attacks across three\nbenchmark datasets. On average, CDMA can reduce the query count to a handful of\ntimes; in most cases, the query count is only ONE. We also show that CDMA can\nobtain $>99\\%$ attack success rate for untarget attacks over all datasets and\ntargeted attack over CIFAR-10 with the noise budget of $\\epsilon=16$.\n", "date": "2023-10-11", "categories": []} {"id": "2302.01961", "title": "Asymmetric Certified Robustness via Feature-Convex Neural Networks", "abstract": " Recent works have introduced input-convex neural networks (ICNNs) as learning\nmodels with advantageous training, inference, and generalization properties\nlinked to their convex structure. In this paper, we propose a novel\nfeature-convex neural network architecture as the composition of an ICNN with a\nLipschitz feature map in order to achieve adversarial robustness. We consider\nthe asymmetric binary classification setting with one \"sensitive\" class, and\nfor this class we prove deterministic, closed-form, and easily-computable\ncertified robust radii for arbitrary $\\ell_p$-norms. We theoretically justify\nthe use of these models by characterizing their decision region geometry,\nextending the universal approximation theorem for ICNN regression to the\nclassification setting, and proving a lower bound on the probability that such\nmodels perfectly fit even unstructured uniformly distributed data in\nsufficiently high dimensions. Experiments on Malimg malware classification and\nsubsets of MNIST, Fashion-MNIST, and CIFAR-10 datasets show that feature-convex\nclassifiers attain state-of-the-art certified $\\ell_1$-radii as well as\nsubstantial $\\ell_2$- and $\\ell_{\\infty}$-radii while being far more\ncomputationally efficient than any competitive baseline.\n", "date": "2023-02-03", "categories": []} {"id": "2306.00042", "title": "Graph-based methods coupled with specific distributional distances for\n adversarial attack detection", "abstract": " Artificial neural networks are prone to being fooled by carefully perturbed\ninputs which cause an egregious misclassification. These \\textit{adversarial}\nattacks have been the focus of extensive research. Likewise, there has been an\nabundance of research in ways to detect and defend against them. We introduce a\nnovel approach of detection and interpretation of adversarial attacks from a\ngraph perspective. For an input image, we compute an associated sparse graph\nusing the layer-wise relevance propagation algorithm \\cite{bach15}.\nSpecifically, we only keep edges of the neural network with the highest\nrelevance values. Three quantities are then computed from the graph which are\nthen compared against those computed from the training set. The result of the\ncomparison is a classification of the image as benign or adversarial. To make\nthe comparison, two classification methods are introduced: 1) an explicit\nformula based on Wasserstein distance applied to the degree of node and 2) a\nlogistic regression. Both classification methods produce strong results which\nlead us to believe that a graph-based interpretation of adversarial attacks is\nvaluable.\n", "date": "2023-05-31", "categories": []} {"id": "2309.09464", "title": "Reducing Adversarial Training Cost with Gradient Approximation", "abstract": " Deep learning models have achieved state-of-the-art performances in various\ndomains, while they are vulnerable to the inputs with well-crafted but small\nperturbations, which are named after adversarial examples (AEs). Among many\nstrategies to improve the model robustness against AEs, Projected Gradient\nDescent (PGD) based adversarial training is one of the most effective methods.\nUnfortunately, the prohibitive computational overhead of generating strong\nenough AEs, due to the maximization of the loss function, sometimes makes the\nregular PGD adversarial training impractical when using larger and more\ncomplicated models. In this paper, we propose that the adversarial loss can be\napproximated by the partial sum of Taylor series. Furthermore, we approximate\nthe gradient of adversarial loss and propose a new and efficient adversarial\ntraining method, adversarial training with gradient approximation (GAAT), to\nreduce the cost of building up robust models. Additionally, extensive\nexperiments demonstrate that this efficiency improvement can be achieved\nwithout any or with very little loss in accuracy on natural and adversarial\nexamples, which show that our proposed method saves up to 60\\% of the training\ntime with comparable model test accuracy on MNIST, CIFAR-10 and CIFAR-100\ndatasets.\n", "date": "2023-09-18", "categories": []} {"id": "2309.10916", "title": "What Learned Representations and Influence Functions Can Tell Us About\n Adversarial Examples", "abstract": " Adversarial examples, deliberately crafted using small perturbations to fool\ndeep neural networks, were first studied in image processing and more recently\nin NLP. While approaches to detecting adversarial examples in NLP have largely\nrelied on search over input perturbations, image processing has seen a range of\ntechniques that aim to characterise adversarial subspaces over the learned\nrepresentations.\n In this paper, we adapt two such approaches to NLP, one based on nearest\nneighbors and influence functions and one on Mahalanobis distances. The former\nin particular produces a state-of-the-art detector when compared against\nseveral strong baselines; moreover, the novel use of influence functions\nprovides insight into how the nature of adversarial example subspaces in NLP\nrelate to those in image processing, and also how they differ depending on the\nkind of NLP task.\n", "date": "2023-09-19", "categories": []} {"id": "2310.05947", "title": "Robust and Efficient Interference Neural Networks for Defending Against\n Adversarial Attacks in ImageNet", "abstract": " The existence of adversarial images has seriously affected the task of image\nrecognition and practical application of deep learning, it is also a key\nscientific problem that deep learning urgently needs to solve. By far the most\neffective approach is to train the neural network with a large number of\nadversarial examples. However, this adversarial training method requires a huge\namount of computing resources when applied to ImageNet, and has not yet\nachieved satisfactory results for high-intensity adversarial attacks. In this\npaper, we construct an interference neural network by applying additional\nbackground images and corresponding labels, and use pre-trained ResNet-152 to\nefficiently complete the training. Compared with the state-of-the-art results\nunder the PGD attack, it has a better defense effect with much smaller\ncomputing resources. This work provides new ideas for academic research and\npractical applications of effective defense against adversarial attacks.\n", "date": "2023-09-03", "categories": []} {"id": "2310.06468", "title": "A Geometrical Approach to Evaluate the Adversarial Robustness of Deep\n Neural Networks", "abstract": " Deep Neural Networks (DNNs) are widely used for computer vision tasks.\nHowever, it has been shown that deep models are vulnerable to adversarial\nattacks, i.e., their performances drop when imperceptible perturbations are\nmade to the original inputs, which may further degrade the following visual\ntasks or introduce new problems such as data and privacy security. Hence,\nmetrics for evaluating the robustness of deep models against adversarial\nattacks are desired. However, previous metrics are mainly proposed for\nevaluating the adversarial robustness of shallow networks on the small-scale\ndatasets. Although the Cross Lipschitz Extreme Value for nEtwork Robustness\n(CLEVER) metric has been proposed for large-scale datasets (e.g., the ImageNet\ndataset), it is computationally expensive and its performance relies on a\ntractable number of samples. In this paper, we propose the Adversarial\nConverging Time Score (ACTS), an attack-dependent metric that quantifies the\nadversarial robustness of a DNN on a specific input. Our key observation is\nthat local neighborhoods on a DNN's output surface would have different shapes\ngiven different inputs. Hence, given different inputs, it requires different\ntime for converging to an adversarial sample. Based on this geometry meaning,\nACTS measures the converging time as an adversarial robustness metric. We\nvalidate the effectiveness and generalization of the proposed ACTS metric\nagainst different adversarial attacks on the large-scale ImageNet dataset using\nstate-of-the-art deep networks. Extensive experiments show that our ACTS metric\nis an efficient and effective adversarial metric over the previous CLEVER\nmetric.\n", "date": "2023-10-10", "categories": []} {"id": "2208.03835", "title": "On Transfer of Adversarial Robustness from Pretraining to Downstream\n Tasks", "abstract": " As large-scale training regimes have gained popularity, the use of pretrained\nmodels for downstream tasks has become common practice in machine learning.\nWhile pretraining has been shown to enhance the performance of models in\npractice, the transfer of robustness properties from pretraining to downstream\ntasks remains poorly understood. In this study, we demonstrate that the\nrobustness of a linear predictor on downstream tasks can be constrained by the\nrobustness of its underlying representation, regardless of the protocol used\nfor pretraining. We prove (i) a bound on the loss that holds independent of any\ndownstream task, as well as (ii) a criterion for robust classification in\nparticular. We validate our theoretical results in practical applications, show\nhow our results can be used for calibrating expectations of downstream\nrobustness, and when our results are useful for optimal transfer learning.\nTaken together, our results offer an initial step towards characterizing the\nrequirements of the representation function for reliable post-adaptation\nperformance.\n", "date": "2022-08-07", "categories": []} {"id": "2305.10906", "title": "RobustFair: Adversarial Evaluation through Fairness Confusion Directed\n Gradient Search", "abstract": " Deep neural networks (DNNs) often face challenges due to their vulnerability\nto various adversarial perturbations, including false perturbations that\nundermine prediction accuracy and biased perturbations that cause biased\npredictions for similar inputs. This paper introduces a novel approach,\nRobustFair, to evaluate the accurate fairness of DNNs when subjected to these\nfalse or biased perturbations. RobustFair employs the notion of the fairness\nconfusion matrix induced in accurate fairness to identify the crucial input\nfeatures for perturbations. This matrix categorizes predictions as true fair,\ntrue biased, false fair, and false biased, and the perturbations guided by it\ncan produce a dual impact on instances and their similar counterparts to either\nundermine prediction accuracy (robustness) or cause biased predictions\n(individual fairness). RobustFair then infers the ground truth of these\ngenerated adversarial instances based on their loss function values\napproximated by the total derivative. To leverage the generated instances for\ntrustworthiness improvement, RobustFair further proposes a data augmentation\nstrategy to prioritize adversarial instances resembling the original training\nset, for data augmentation and model retraining. Notably, RobustFair excels at\ndetecting intertwined issues of robustness and individual fairness, which are\nfrequently overlooked in standard robustness and individual fairness\nevaluations. This capability empowers RobustFair to enhance both robustness and\nindividual fairness evaluations by concurrently identifying defects in either\ndomain. Empirical case studies and quantile regression analyses on benchmark\ndatasets demonstrate the effectiveness of the fairness confusion matrix guided\nperturbation for false or biased adversarial instance generation.\n", "date": "2023-05-18", "categories": []} {"id": "2310.04916", "title": "Tight Certified Robustness via Min-Max Representations of ReLU Neural\n Networks", "abstract": " The reliable deployment of neural networks in control systems requires\nrigorous robustness guarantees. In this paper, we obtain tight robustness\ncertificates over convex attack sets for min-max representations of ReLU neural\nnetworks by developing a convex reformulation of the nonconvex certification\nproblem. This is done by \"lifting\" the problem to an infinite-dimensional\noptimization over probability measures, leveraging recent results in\ndistributionally robust optimization to solve for an optimal discrete\ndistribution, and proving that solutions of the original nonconvex problem are\ngenerated by the discrete distribution under mild boundedness, nonredundancy,\nand Slater conditions. As a consequence, optimal (worst-case) attacks against\nthe model may be solved for exactly. This contrasts prior state-of-the-art that\neither requires expensive branch-and-bound schemes or loose relaxation\ntechniques. Experiments on robust control and MNIST image classification\nexamples highlight the benefits of our approach.\n", "date": "2023-10-07", "categories": []} {"id": "2211.04205", "title": "Preserving Semantics in Textual Adversarial Attacks", "abstract": " The growth of hateful online content, or hate speech, has been associated\nwith a global increase in violent crimes against minorities [23]. Harmful\nonline content can be produced easily, automatically and anonymously. Even\nthough, some form of auto-detection is already achieved through text\nclassifiers in NLP, they can be fooled by adversarial attacks. To strengthen\nexisting systems and stay ahead of attackers, we need better adversarial\nattacks. In this paper, we show that up to 70% of adversarial examples\ngenerated by adversarial attacks should be discarded because they do not\npreserve semantics. We address this core weakness and propose a new, fully\nsupervised sentence embedding technique called Semantics-Preserving-Encoder\n(SPE). Our method outperforms existing sentence encoders used in adversarial\nattacks by achieving 1.2x - 5.1x better real attack success rate. We release\nour code as a plugin that can be used in any existing adversarial attack to\nimprove its quality and speed up its execution.\n", "date": "2022-11-08", "categories": []} {"id": "2303.01338", "title": "AdvRain: Adversarial Raindrops to Attack Camera-based Smart Vision\n Systems", "abstract": " Vision-based perception modules are increasingly deployed in many\napplications, especially autonomous vehicles and intelligent robots. These\nmodules are being used to acquire information about the surroundings and\nidentify obstacles. Hence, accurate detection and classification are essential\nto reach appropriate decisions and take appropriate and safe actions at all\ntimes. Current studies have demonstrated that \"printed adversarial attacks\",\nknown as physical adversarial attacks, can successfully mislead perception\nmodels such as object detectors and image classifiers. However, most of these\nphysical attacks are based on noticeable and eye-catching patterns for\ngenerated perturbations making them identifiable/detectable by human eye or in\ntest drives. In this paper, we propose a camera-based inconspicuous adversarial\nattack (\\textbf{AdvRain}) capable of fooling camera-based perception systems\nover all objects of the same class. Unlike mask based fake-weather attacks that\nrequire access to the underlying computing hardware or image memory, our attack\nis based on emulating the effects of a natural weather condition (i.e.,\nRaindrops) that can be printed on a translucent sticker, which is externally\nplaced over the lens of a camera. To accomplish this, we provide an iterative\nprocess based on performing a random search aiming to identify critical\npositions to make sure that the performed transformation is adversarial for a\ntarget classifier. Our transformation is based on blurring predefined parts of\nthe captured image corresponding to the areas covered by the raindrop. We\nachieve a drop in average model accuracy of more than $45\\%$ and $40\\%$ on\nVGG19 for ImageNet and Resnet34 for Caltech-101, respectively, using only $20$\nraindrops.\n", "date": "2023-03-02", "categories": []} {"id": "2310.03185", "title": "Misusing Tools in Large Language Models With Visual Adversarial Examples", "abstract": " Large Language Models (LLMs) are being enhanced with the ability to use tools\nand to process multiple modalities. These new capabilities bring new benefits\nand also new security risks. In this work, we show that an attacker can use\nvisual adversarial examples to cause attacker-desired tool usage. For example,\nthe attacker could cause a victim LLM to delete calendar events, leak private\nconversations and book hotels. Different from prior work, our attacks can\naffect the confidentiality and integrity of user resources connected to the LLM\nwhile being stealthy and generalizable to multiple input prompts. We construct\nthese attacks using gradient-based adversarial training and characterize\nperformance along multiple dimensions. We find that our adversarial images can\nmanipulate the LLM to invoke tools following real-world syntax almost always\n(~98%) while maintaining high similarity to clean images (~0.9 SSIM).\nFurthermore, using human scoring and automated metrics, we find that the\nattacks do not noticeably affect the conversation (and its semantics) between\nthe user and the LLM.\n", "date": "2023-10-04", "categories": []} {"id": "2310.03349", "title": "An Integrated Algorithm for Robust and Imperceptible Audio Adversarial\n Examples", "abstract": " Audio adversarial examples are audio files that have been manipulated to fool\nan automatic speech recognition (ASR) system, while still sounding benign to a\nhuman listener. Most methods to generate such samples are based on a two-step\nalgorithm: first, a viable adversarial audio file is produced, then, this is\nfine-tuned with respect to perceptibility and robustness. In this work, we\npresent an integrated algorithm that uses psychoacoustic models and room\nimpulse responses (RIR) in the generation step. The RIRs are dynamically\ncreated by a neural network during the generation process to simulate a\nphysical environment to harden our examples against transformations experienced\nin over-the-air attacks. We compare the different approaches in three\nexperiments: in a simulated environment and in a realistic over-the-air\nscenario to evaluate the robustness, and in a human study to evaluate the\nperceptibility. Our algorithms considering psychoacoustics only or in addition\nto the robustness show an improvement in the signal-to-noise ratio (SNR) as\nwell as in the human perception study, at the cost of an increased word error\nrate (WER).\n", "date": "2023-10-05", "categories": []} {"id": "2310.03664", "title": "Certification of Deep Learning Models for Medical Image Segmentation", "abstract": " In medical imaging, segmentation models have known a significant improvement\nin the past decade and are now used daily in clinical practice. However,\nsimilar to classification models, segmentation models are affected by\nadversarial attacks. In a safety-critical field like healthcare, certifying\nmodel predictions is of the utmost importance. Randomized smoothing has been\nintroduced lately and provides a framework to certify models and obtain\ntheoretical guarantees. In this paper, we present for the first time a\ncertified segmentation baseline for medical imaging based on randomized\nsmoothing and diffusion models. Our results show that leveraging the power of\ndenoising diffusion probabilistic models helps us overcome the limits of\nrandomized smoothing. We conduct extensive experiments on five public datasets\nof chest X-rays, skin lesions, and colonoscopies, and empirically show that we\nare able to maintain high certified Dice scores even for highly perturbed\nimages. Our work represents the first attempt to certify medical image\nsegmentation models, and we aspire for it to set a foundation for future\nbenchmarks in this crucial and largely uncharted area.\n", "date": "2023-10-05", "categories": []} {"id": "2310.03707", "title": "OMG-ATTACK: Self-Supervised On-Manifold Generation of Transferable\n Evasion Attacks", "abstract": " Evasion Attacks (EA) are used to test the robustness of trained neural\nnetworks by distorting input data to misguide the model into incorrect\nclassifications. Creating these attacks is a challenging task, especially with\nthe ever-increasing complexity of models and datasets. In this work, we\nintroduce a self-supervised, computationally economical method for generating\nadversarial examples, designed for the unseen black-box setting. Adapting\ntechniques from representation learning, our method generates on-manifold EAs\nthat are encouraged to resemble the data distribution. These attacks are\ncomparable in effectiveness compared to the state-of-the-art when attacking the\nmodel trained on, but are significantly more effective when attacking unseen\nmodels, as the attacks are more related to the data rather than the model\nitself. Our experiments consistently demonstrate the method is effective across\nvarious models, unseen data categories, and even defended models, suggesting a\nsignificant role for on-manifold EAs when targeting unseen models.\n", "date": "2023-10-05", "categories": []} {"id": "2308.06887", "title": "Robustified ANNs Reveal Wormholes Between Human Category Percepts", "abstract": " The visual object category reports of artificial neural networks (ANNs) are\nnotoriously sensitive to tiny, adversarial image perturbations. Because human\ncategory reports (aka human percepts) are thought to be insensitive to those\nsame small-norm perturbations -- and locally stable in general -- this argues\nthat ANNs are incomplete scientific models of human visual perception.\nConsistent with this, we show that when small-norm image perturbations are\ngenerated by standard ANN models, human object category percepts are indeed\nhighly stable. However, in this very same \"human-presumed-stable\" regime, we\nfind that robustified ANNs reliably discover low-norm image perturbations that\nstrongly disrupt human percepts. These previously undetectable human perceptual\ndisruptions are massive in amplitude, approaching the same level of sensitivity\nseen in robustified ANNs. Further, we show that robustified ANNs support\nprecise perceptual state interventions: they guide the construction of low-norm\nimage perturbations that strongly alter human category percepts toward specific\nprescribed percepts. These observations suggest that for arbitrary starting\npoints in image space, there exists a set of nearby \"wormholes\", each leading\nthe subject from their current category perceptual state into a semantically\nvery different state. Moreover, contemporary ANN models of biological visual\nprocessing are now accurate enough to consistently guide us to those portals.\n", "date": "2023-08-14", "categories": []} {"id": "2310.02480", "title": "Splitting the Difference on Adversarial Training", "abstract": " The existence of adversarial examples points to a basic weakness of deep\nneural networks. One of the most effective defenses against such examples,\nadversarial training, entails training models with some degree of robustness,\nusually at the expense of a degraded natural accuracy. Most adversarial\ntraining methods aim to learn a model that finds, for each class, a common\ndecision boundary encompassing both the clean and perturbed examples. In this\nwork, we take a fundamentally different approach by treating the perturbed\nexamples of each class as a separate class to be learned, effectively splitting\neach class into two classes: \"clean\" and \"adversarial.\" This split doubles the\nnumber of classes to be learned, but at the same time considerably simplifies\nthe decision boundaries. We provide a theoretical plausibility argument that\nsheds some light on the conditions under which our approach can be expected to\nbe beneficial. Likewise, we empirically demonstrate that our method learns\nrobust models while attaining optimal or near-optimal natural accuracy, e.g.,\non CIFAR-10 we obtain near-optimal natural accuracy of $95.01\\%$ alongside\nsignificant robustness across multiple tasks. The ability to achieve such\nnear-optimal natural accuracy, while maintaining a significant level of\nrobustness, makes our method applicable to real-world applications where\nnatural accuracy is at a premium. As a whole, our main contribution is a\ngeneral method that confers a significant level of robustness upon classifiers\nwith only minor or negligible degradation of their natural accuracy.\n", "date": "2023-10-03", "categories": []} {"id": "2310.02544", "title": "SlowFormer: Universal Adversarial Patch for Attack on Compute and Energy\n Efficiency of Inference Efficient Vision Transformers", "abstract": " Recently, there has been a lot of progress in reducing the computation of\ndeep models at inference time. These methods can reduce both the computational\nneeds and power usage of deep models. Some of these approaches adaptively scale\nthe compute based on the input instance. We show that such models can be\nvulnerable to a universal adversarial patch attack, where the attacker\noptimizes for a patch that when pasted on any image, can increase the compute\nand power consumption of the model. We run experiments with three different\nefficient vision transformer methods showing that in some cases, the attacker\ncan increase the computation to the maximum possible level by simply pasting a\npatch that occupies only 8\\% of the image area. We also show that a standard\nadversarial training defense method can reduce some of the attack's success. We\nbelieve adaptive efficient methods will be necessary for the future to lower\nthe power usage of deep models, so we hope our paper encourages the community\nto study the robustness of these methods and develop better defense methods for\nthe proposed attack.\n", "date": "2023-10-04", "categories": []} {"id": "2307.10490", "title": "Abusing Images and Sounds for Indirect Instruction Injection in\n Multi-Modal LLMs", "abstract": " We demonstrate how images and sounds can be used for indirect prompt and\ninstruction injection in multi-modal LLMs. An attacker generates an adversarial\nperturbation corresponding to the prompt and blends it into an image or audio\nrecording. When the user asks the (unmodified, benign) model about the\nperturbed image or audio, the perturbation steers the model to output the\nattacker-chosen text and/or make the subsequent dialog follow the attacker's\ninstruction. We illustrate this attack with several proof-of-concept examples\ntargeting LLaVa and PandaGPT.\n", "date": "2023-07-19", "categories": []} {"id": "2310.01818", "title": "AutoLoRa: A Parameter-Free Automated Robust Fine-Tuning Framework", "abstract": " Robust Fine-Tuning (RFT) is a low-cost strategy to obtain adversarial\nrobustness in downstream applications, without requiring a lot of computational\nresources and collecting significant amounts of data. This paper uncovers an\nissue with the existing RFT, where optimizing both adversarial and natural\nobjectives through the feature extractor (FE) yields significantly divergent\ngradient directions. This divergence introduces instability in the optimization\nprocess, thereby hindering the attainment of adversarial robustness and\nrendering RFT highly sensitive to hyperparameters. To mitigate this issue, we\npropose a low-rank (LoRa) branch that disentangles RFT into two distinct\ncomponents: optimizing natural objectives via the LoRa branch and adversarial\nobjectives via the FE. Besides, we introduce heuristic strategies for\nautomating the scheduling of the learning rate and the scalars of loss terms.\nExtensive empirical evaluations demonstrate that our proposed automated RFT\ndisentangled via the LoRa branch (AutoLoRa) achieves new state-of-the-art\nresults across a range of downstream tasks. AutoLoRa holds significant\npractical utility, as it automatically converts a pre-trained FE into an\nadversarially robust model for downstream tasks without the need for searching\nhyperparameters.\n", "date": "2023-10-03", "categories": []} {"id": "2308.05320", "title": "Generating Transferable and Stealthy Adversarial Patch via\n Attention-guided Adversarial Inpainting", "abstract": " Adversarial patch attacks can fool the face recognition (FR) models via small\npatches. However, previous adversarial patch attacks often result in unnatural\npatterns that are easily noticeable. Generating transferable and stealthy\nadversarial patches that can efficiently deceive the black-box FR models while\nhaving good camouflage is challenging because of the huge stylistic difference\nbetween the source and target images. To generate transferable,\nnatural-looking, and stealthy adversarial patches, we propose an innovative\ntwo-stage attack called Adv-Inpainting, which extracts style features and\nidentity features from the attacker and target faces, respectively and then\nfills the patches with misleading and inconspicuous content guided by attention\nmaps. In the first stage, we extract multi-scale style embeddings by a\npyramid-like network and identity embeddings by a pretrained FR model and\npropose a novel Attention-guided Adaptive Instance Normalization layer (AAIN)\nto merge them via background-patch cross-attention maps. The proposed layer can\nadaptively fuse identity and style embeddings by fully exploiting priority\ncontextual information. In the second stage, we design an Adversarial Patch\nRefinement Network (APR-Net) with a novel boundary variance loss, a spatial\ndiscounted reconstruction loss, and a perceptual loss to boost the stealthiness\nfurther. Experiments demonstrate that our attack can generate adversarial\npatches with improved visual quality, better stealthiness, and stronger\ntransferability than state-of-the-art adversarial patch attacks and semantic\nattacks.\n", "date": "2023-08-10", "categories": []} {"id": "2310.00438", "title": "Human-Producible Adversarial Examples", "abstract": " Visual adversarial examples have so far been restricted to pixel-level image\nmanipulations in the digital world, or have required sophisticated equipment\nsuch as 2D or 3D printers to be produced in the physical real world. We present\nthe first ever method of generating human-producible adversarial examples for\nthe real world that requires nothing more complicated than a marker pen. We\ncall them $\\textbf{adversarial tags}$. First, building on top of differential\nrendering, we demonstrate that it is possible to build potent adversarial\nexamples with just lines. We find that by drawing just $4$ lines we can disrupt\na YOLO-based model in $54.8\\%$ of cases; increasing this to $9$ lines disrupts\n$81.8\\%$ of the cases tested. Next, we devise an improved method for line\nplacement to be invariant to human drawing error. We evaluate our system\nthoroughly in both digital and analogue worlds and demonstrate that our tags\ncan be applied by untrained humans. We demonstrate the effectiveness of our\nmethod for producing real-world adversarial examples by conducting a user study\nwhere participants were asked to draw over printed images using digital\nequivalents as guides. We further evaluate the effectiveness of both targeted\nand untargeted attacks, and discuss various trade-offs and method limitations,\nas well as the practical and ethical implications of our work. The source code\nwill be released publicly.\n", "date": "2023-09-30", "categories": []} {"id": "2310.00567", "title": "Understanding the Robustness of Randomized Feature Defense Against\n Query-Based Adversarial Attacks", "abstract": " Recent works have shown that deep neural networks are vulnerable to\nadversarial examples that find samples close to the original image but can make\nthe model misclassify. Even with access only to the model's output, an attacker\ncan employ black-box attacks to generate such adversarial examples. In this\nwork, we propose a simple and lightweight defense against black-box attacks by\nadding random noise to hidden features at intermediate layers of the model at\ninference time. Our theoretical analysis confirms that this method effectively\nenhances the model's resilience against both score-based and decision-based\nblack-box attacks. Importantly, our defense does not necessitate adversarial\ntraining and has minimal impact on accuracy, rendering it applicable to any\npre-trained model. Our analysis also reveals the significance of selectively\nadding noise to different parts of the model based on the gradient of the\nadversarial objective function, which can be varied during the attack. We\ndemonstrate the robustness of our defense against multiple black-box attacks\nthrough extensive empirical experiments involving diverse models with various\narchitectures.\n", "date": "2023-10-01", "categories": []} {"id": "2310.00633", "title": "A Survey of Robustness and Safety of 2D and 3D Deep Learning Models\n Against Adversarial Attacks", "abstract": " Benefiting from the rapid development of deep learning, 2D and 3D computer\nvision applications are deployed in many safe-critical systems, such as\nautopilot and identity authentication. However, deep learning models are not\ntrustworthy enough because of their limited robustness against adversarial\nattacks. The physically realizable adversarial attacks further pose fatal\nthreats to the application and human safety. Lots of papers have emerged to\ninvestigate the robustness and safety of deep learning models against\nadversarial attacks. To lead to trustworthy AI, we first construct a general\nthreat model from different perspectives and then comprehensively review the\nlatest progress of both 2D and 3D adversarial attacks. We extend the concept of\nadversarial examples beyond imperceptive perturbations and collate over 170\npapers to give an overview of deep learning model robustness against various\nadversarial attacks. To the best of our knowledge, we are the first to\nsystematically investigate adversarial attacks for 3D models, a flourishing\nfield applied to many real-world applications. In addition, we examine physical\nadversarial attacks that lead to safety violations. Last but not least, we\nsummarize present popular topics, give insights on challenges, and shed light\non future research on trustworthy AI.\n", "date": "2023-10-01", "categories": []} {"id": "2310.00761", "title": "Counterfactual Image Generation for adversarially robust and\n interpretable Classifiers", "abstract": " Neural Image Classifiers are effective but inherently hard to interpret and\nsusceptible to adversarial attacks. Solutions to both problems exist, among\nothers, in the form of counterfactual examples generation to enhance\nexplainability or adversarially augment training datasets for improved\nrobustness. However, existing methods exclusively address only one of the\nissues. We propose a unified framework leveraging image-to-image translation\nGenerative Adversarial Networks (GANs) to produce counterfactual samples that\nhighlight salient regions for interpretability and act as adversarial samples\nto augment the dataset for more robustness. This is achieved by combining the\nclassifier and discriminator into a single model that attributes real images to\ntheir respective classes and flags generated images as \"fake\". We assess the\nmethod's effectiveness by evaluating (i) the produced explainability masks on a\nsemantic segmentation task for concrete cracks and (ii) the model's resilience\nagainst the Projected Gradient Descent (PGD) attack on a fruit defects\ndetection problem. Our produced saliency maps are highly descriptive, achieving\ncompetitive IoU values compared to classical segmentation models despite being\ntrained exclusively on classification labels. Furthermore, the model exhibits\nimproved robustness to adversarial attacks, and we show how the discriminator's\n\"fakeness\" value serves as an uncertainty measure of the predictions.\n", "date": "2023-10-01", "categories": []} {"id": "2309.16706", "title": "AIR: Threats of Adversarial Attacks on Deep Learning-Based Information\n Recovery", "abstract": " A wireless communications system usually consists of a transmitter which\ntransmits the information and a receiver which recovers the original\ninformation from the received distorted signal. Deep learning (DL) has been\nused to improve the performance of the receiver in complicated channel\nenvironments and state-of-the-art (SOTA) performance has been achieved.\nHowever, its robustness has not been investigated. In order to evaluate the\nrobustness of DL-based information recovery models under adversarial\ncircumstances, we investigate adversarial attacks on the SOTA DL-based\ninformation recovery model, i.e., DeepReceiver. We formulate the problem as an\noptimization problem with power and peak-to-average power ratio (PAPR)\nconstraints. We design different adversarial attack methods according to the\nadversary's knowledge of DeepReceiver's model and/or testing samples. Extensive\nexperiments show that the DeepReceiver is vulnerable to the designed attack\nmethods in all of the considered scenarios. Even in the scenario of both model\nand test sample restricted, the adversary can attack the DeepReceiver and\nincrease its bit error rate (BER) above 10%. It can also be found that the\nDeepReceiver is vulnerable to adversarial perturbations even with very low\npower and limited PAPR. These results suggest that defense measures should be\ntaken to enhance the robustness of DeepReceiver.\n", "date": "2023-08-17", "categories": []} {"id": "2309.16878", "title": "Investigating Human-Identifiable Features Hidden in Adversarial\n Perturbations", "abstract": " Neural networks perform exceedingly well across various machine learning\ntasks but are not immune to adversarial perturbations. This vulnerability has\nimplications for real-world applications. While much research has been\nconducted, the underlying reasons why neural networks fall prey to adversarial\nattacks are not yet fully understood. Central to our study, which explores up\nto five attack algorithms across three datasets, is the identification of\nhuman-identifiable features in adversarial perturbations. Additionally, we\nuncover two distinct effects manifesting within human-identifiable features.\nSpecifically, the masking effect is prominent in untargeted attacks, while the\ngeneration effect is more common in targeted attacks. Using pixel-level\nannotations, we extract such features and demonstrate their ability to\ncompromise target models. In addition, our findings indicate a notable extent\nof similarity in perturbations across different attack algorithms when averaged\nover multiple models. This work also provides insights into phenomena\nassociated with adversarial perturbations, such as transferability and model\ninterpretability. Our study contributes to a deeper understanding of the\nunderlying mechanisms behind adversarial attacks and offers insights for the\ndevelopment of more resilient defense strategies for neural networks.\n", "date": "2023-09-28", "categories": []} {"id": "2309.16207", "title": "Parameter-Saving Adversarial Training: Reinforcing Multi-Perturbation\n Robustness via Hypernetworks", "abstract": " Adversarial training serves as one of the most popular and effective methods\nto defend against adversarial perturbations. However, most defense mechanisms\nonly consider a single type of perturbation while various attack methods might\nbe adopted to perform stronger adversarial attacks against the deployed model\nin real-world scenarios, e.g., $\\ell_2$ or $\\ell_\\infty$. Defending against\nvarious attacks can be a challenging problem since multi-perturbation\nadversarial training and its variants only achieve suboptimal robustness\ntrade-offs, due to the theoretical limit to multi-perturbation robustness for a\nsingle model. Besides, it is impractical to deploy large models in some\nstorage-efficient scenarios. To settle down these drawbacks, in this paper we\npropose a novel multi-perturbation adversarial training framework,\nparameter-saving adversarial training (PSAT), to reinforce multi-perturbation\nrobustness with an advantageous side effect of saving parameters, which\nleverages hypernetworks to train specialized models against a single\nperturbation and aggregate these specialized models to defend against multiple\nperturbations. Eventually, we extensively evaluate and compare our proposed\nmethod with state-of-the-art single/multi-perturbation robust methods against\nvarious latest attack methods on different datasets, showing the robustness\nsuperiority and parameter efficiency of our proposed method, e.g., for the\nCIFAR-10 dataset with ResNet-50 as the backbone, PSAT saves approximately 80\\%\nof parameters with achieving the state-of-the-art robustness trade-off\naccuracy.\n", "date": "2023-09-28", "categories": []} {"id": "2303.06280", "title": "Stateful Defenses for Machine Learning Models Are Not Yet Secure Against\n Black-box Attacks", "abstract": " Recent work has proposed stateful defense models (SDMs) as a compelling\nstrategy to defend against a black-box attacker who only has query access to\nthe model, as is common for online machine learning platforms. Such stateful\ndefenses aim to defend against black-box attacks by tracking the query history\nand detecting and rejecting queries that are \"similar\" and thus preventing\nblack-box attacks from finding useful gradients and making progress towards\nfinding adversarial attacks within a reasonable query budget. Recent SDMs\n(e.g., Blacklight and PIHA) have shown remarkable success in defending against\nstate-of-the-art black-box attacks. In this paper, we show that SDMs are highly\nvulnerable to a new class of adaptive black-box attacks. We propose a novel\nadaptive black-box attack strategy called Oracle-guided Adaptive Rejection\nSampling (OARS) that involves two stages: (1) use initial query patterns to\ninfer key properties about an SDM's defense; and, (2) leverage those extracted\nproperties to design subsequent query patterns to evade the SDM's defense while\nmaking progress towards finding adversarial inputs. OARS is broadly applicable\nas an enhancement to existing black-box attacks - we show how to apply the\nstrategy to enhance six common black-box attacks to be more effective against\ncurrent class of SDMs. For example, OARS-enhanced versions of black-box attacks\nimproved attack success rate against recent stateful defenses from almost 0% to\nto almost 100% for multiple datasets within reasonable query budgets.\n", "date": "2023-03-11", "categories": []} {"id": "2309.14615", "title": "Gray-box Adversarial Attack of Deep Reinforcement Learning-based Trading\n Agents", "abstract": " In recent years, deep reinforcement learning (Deep RL) has been successfully\nimplemented as a smart agent in many systems such as complex games,\nself-driving cars, and chat-bots. One of the interesting use cases of Deep RL\nis its application as an automated stock trading agent. In general, any\nautomated trading agent is prone to manipulations by adversaries in the trading\nenvironment. Thus studying their robustness is vital for their success in\npractice. However, typical mechanism to study RL robustness, which is based on\nwhite-box gradient-based adversarial sample generation techniques (like FGSM),\nis obsolete for this use case, since the models are protected behind secure\ninternational exchange APIs, such as NASDAQ. In this research, we demonstrate\nthat a \"gray-box\" approach for attacking a Deep RL-based trading agent is\npossible by trading in the same stock market, with no extra access to the\ntrading agent. In our proposed approach, an adversary agent uses a hybrid Deep\nNeural Network as its policy consisting of Convolutional layers and\nfully-connected layers. On average, over three simulated trading market\nconfigurations, the adversary policy proposed in this research is able to\nreduce the reward values by 214.17%, which results in reducing the potential\nprofits of the baseline by 139.4%, ensemble method by 93.7%, and an automated\ntrading software developed by our industrial partner by 85.5%, while consuming\nsignificantly less budget than the victims (427.77%, 187.16%, and 66.97%,\nrespectively).\n", "date": "2023-09-26", "categories": []} {"id": "2309.14700", "title": "Structure Invariant Transformation for better Adversarial\n Transferability", "abstract": " Given the severe vulnerability of Deep Neural Networks (DNNs) against\nadversarial examples, there is an urgent need for an effective adversarial\nattack to identify the deficiencies of DNNs in security-sensitive applications.\nAs one of the prevalent black-box adversarial attacks, the existing\ntransfer-based attacks still cannot achieve comparable performance with the\nwhite-box attacks. Among these, input transformation based attacks have shown\nremarkable effectiveness in boosting transferability. In this work, we find\nthat the existing input transformation based attacks transform the input image\nglobally, resulting in limited diversity of the transformed images. We\npostulate that the more diverse transformed images result in better\ntransferability. Thus, we investigate how to locally apply various\ntransformations onto the input image to improve such diversity while preserving\nthe structure of image. To this end, we propose a novel input transformation\nbased attack, called Structure Invariant Attack (SIA), which applies a random\nimage transformation onto each image block to craft a set of diverse images for\ngradient calculation. Extensive experiments on the standard ImageNet dataset\ndemonstrate that SIA exhibits much better transferability than the existing\nSOTA input transformation based attacks on CNN-based and transformer-based\nmodels, showing its generality and superiority in boosting transferability.\nCode is available at https://github.com/xiaosen-wang/SIT.\n", "date": "2023-09-26", "categories": []} {"id": "2208.01819", "title": "Adversarial Camouflage for Node Injection Attack on Graphs", "abstract": " Node injection attacks on Graph Neural Networks (GNNs) have received\nincreasing attention recently, due to their ability to degrade GNN performance\nwith high attack success rates. However, our study indicates that these attacks\noften fail in practical scenarios, since defense/detection methods can easily\nidentify and remove the injected nodes. To address this, we devote to\ncamouflage node injection attack, making injected nodes appear normal and\nimperceptible to defense/detection methods. Unfortunately, the non-Euclidean\nstructure of graph data and the lack of intuitive prior present great\nchallenges to the formalization, implementation, and evaluation of camouflage.\nIn this paper, we first propose and define camouflage as distribution\nsimilarity between ego networks of injected nodes and normal nodes. Then for\nimplementation, we propose an adversarial CAmouflage framework for Node\ninjection Attack, namely CANA, to improve attack performance under\ndefense/detection methods in practical scenarios. A novel camouflage metric is\nfurther designed under the guide of distribution similarity. Extensive\nexperiments demonstrate that CANA can significantly improve the attack\nperformance under defense/detection methods with higher camouflage or\nimperceptibility. This work urges us to raise awareness of the security\nvulnerabilities of GNNs in practical applications.\n", "date": "2022-08-03", "categories": []} {"id": "2211.13775", "title": "SAGA: Spectral Adversarial Geometric Attack on 3D Meshes", "abstract": " A triangular mesh is one of the most popular 3D data representations. As\nsuch, the deployment of deep neural networks for mesh processing is widely\nspread and is increasingly attracting more attention. However, neural networks\nare prone to adversarial attacks, where carefully crafted inputs impair the\nmodel's functionality. The need to explore these vulnerabilities is a\nfundamental factor in the future development of 3D-based applications.\nRecently, mesh attacks were studied on the semantic level, where classifiers\nare misled to produce wrong predictions. Nevertheless, mesh surfaces possess\ncomplex geometric attributes beyond their semantic meaning, and their analysis\noften includes the need to encode and reconstruct the geometry of the shape.\n We propose a novel framework for a geometric adversarial attack on a 3D mesh\nautoencoder. In this setting, an adversarial input mesh deceives the\nautoencoder by forcing it to reconstruct a different geometric shape at its\noutput. The malicious input is produced by perturbing a clean shape in the\nspectral domain. Our method leverages the spectral decomposition of the mesh\nalong with additional mesh-related properties to obtain visually credible\nresults that consider the delicacy of surface distortions. Our code is publicly\navailable at https://github.com/StolikTomer/SAGA.\n", "date": "2022-11-24", "categories": []} {"id": "2302.08051", "title": "Graph Adversarial Immunization for Certifiable Robustness", "abstract": " Despite achieving great success, graph neural networks (GNNs) are vulnerable\nto adversarial attacks. Existing defenses focus on developing adversarial\ntraining or model modification. In this paper, we propose and formulate graph\nadversarial immunization, i.e., vaccinating part of graph structure to improve\ncertifiable robustness of graph against any admissible adversarial attack. We\nfirst propose edge-level immunization to vaccinate node pairs. Unfortunately,\nsuch edge-level immunization cannot defend against emerging node injection\nattacks, since it only immunizes existing node pairs. To this end, we further\npropose node-level immunization. To avoid computationally intensive\ncombinatorial optimization associated with adversarial immunization, we develop\nAdvImmune-Edge and AdvImmune-Node algorithms to effectively obtain the immune\nnode pairs or nodes. Extensive experiments demonstrate the superiority of\nAdvImmune methods. In particular, AdvImmune-Node remarkably improves the ratio\nof robust nodes by 79%, 294%, and 100%, after immunizing only 5% of nodes.\nFurthermore, AdvImmune methods show excellent defensive performance against\nvarious attacks, outperforming state-of-the-art defenses. To the best of our\nknowledge, this is the first attempt to improve certifiable robustness from\ngraph data perspective without losing performance on clean graphs, providing\nnew insights into graph adversarial learning.\n", "date": "2023-02-16", "categories": []} {"id": "2309.13245", "title": "RBFormer: Improve Adversarial Robustness of Transformer by Robust Bias", "abstract": " Recently, there has been a surge of interest and attention in\nTransformer-based structures, such as Vision Transformer (ViT) and Vision\nMultilayer Perceptron (VMLP). Compared with the previous convolution-based\nstructures, the Transformer-based structure under investigation showcases a\ncomparable or superior performance under its distinctive attention-based input\ntoken mixer strategy. Introducing adversarial examples as a robustness\nconsideration has had a profound and detrimental impact on the performance of\nwell-established convolution-based structures. This inherent vulnerability to\nadversarial attacks has also been demonstrated in Transformer-based structures.\nIn this paper, our emphasis lies on investigating the intrinsic robustness of\nthe structure rather than introducing novel defense measures against\nadversarial attacks. To address the susceptibility to robustness issues, we\nemploy a rational structure design approach to mitigate such vulnerabilities.\nSpecifically, we enhance the adversarial robustness of the structure by\nincreasing the proportion of high-frequency structural robust biases. As a\nresult, we introduce a novel structure called Robust Bias Transformer-based\nStructure (RBFormer) that shows robust superiority compared to several existing\nbaseline structures. Through a series of extensive experiments, RBFormer\noutperforms the original structures by a significant margin, achieving an\nimpressive improvement of +16.12% and +5.04% across different evaluation\ncriteria on CIFAR-10 and ImageNet-1k, respectively.\n", "date": "2023-09-23", "categories": []} {"id": "2309.13763", "title": "Combining Two Adversarial Attacks Against Person Re-Identification\n Systems", "abstract": " The field of Person Re-Identification (Re-ID) has received much attention\nrecently, driven by the progress of deep neural networks, especially for image\nclassification. The problem of Re-ID consists in identifying individuals\nthrough images captured by surveillance cameras in different scenarios.\nGovernments and companies are investing a lot of time and money in Re-ID\nsystems for use in public safety and identifying missing persons. However,\nseveral challenges remain for successfully implementing Re-ID, such as\nocclusions and light reflections in people's images. In this work, we focus on\nadversarial attacks on Re-ID systems, which can be a critical threat to the\nperformance of these systems. In particular, we explore the combination of\nadversarial attacks against Re-ID models, trying to strengthen the decrease in\nthe classification results. We conduct our experiments on three datasets:\nDukeMTMC-ReID, Market-1501, and CUHK03. We combine the use of two types of\nadversarial attacks, P-FGSM and Deep Mis-Ranking, applied to two popular Re-ID\nmodels: IDE (ResNet-50) and AlignedReID. The best result demonstrates a\ndecrease of 3.36% in the Rank-10 metric for AlignedReID applied to CUHK03. We\nalso try to use Dropout during the inference as a defense method.\n", "date": "2023-09-24", "categories": []} {"id": "2309.13794", "title": "Projected Randomized Smoothing for Certified Adversarial Robustness", "abstract": " Randomized smoothing is the current state-of-the-art method for producing\nprovably robust classifiers. While randomized smoothing typically yields robust\n$\\ell_2$-ball certificates, recent research has generalized provable robustness\nto different norm balls as well as anisotropic regions. This work considers a\nclassifier architecture that first projects onto a low-dimensional\napproximation of the data manifold and then applies a standard classifier. By\nperforming randomized smoothing in the low-dimensional projected space, we\ncharacterize the certified region of our smoothed composite classifier back in\nthe high-dimensional input space and prove a tractable lower bound on its\nvolume. We show experimentally on CIFAR-10 and SVHN that classifiers without\nthe initial projection are vulnerable to perturbations that are normal to the\ndata manifold and yet are captured by the certified regions of our method. We\ncompare the volume of our certified regions against various baselines and show\nthat our method improves on the state-of-the-art by many orders of magnitude.\n", "date": "2023-09-25", "categories": []} {"id": "2211.16247", "title": "Ada3Diff: Defending against 3D Adversarial Point Clouds via Adaptive\n Diffusion", "abstract": " Deep 3D point cloud models are sensitive to adversarial attacks, which poses\nthreats to safety-critical applications such as autonomous driving. Robust\ntraining and defend-by-denoising are typical strategies for defending\nadversarial perturbations. However, they either induce massive computational\noverhead or rely heavily upon specified priors, limiting generalized robustness\nagainst attacks of all kinds. To remedy it, this paper introduces a novel\ndistortion-aware defense framework that can rebuild the pristine data\ndistribution with a tailored intensity estimator and a diffusion model. To\nperform distortion-aware forward diffusion, we design a distortion estimation\nalgorithm that is obtained by summing the distance of each point to the\nbest-fitting plane of its local neighboring points, which is based on the\nobservation of the local spatial properties of the adversarial point cloud. By\niterative diffusion and reverse denoising, the perturbed point cloud under\nvarious distortions can be restored back to a clean distribution. This approach\nenables effective defense against adaptive attacks with varying noise budgets,\nenhancing the robustness of existing 3D deep recognition models.\n", "date": "2022-11-29", "categories": []} {"id": "2309.12593", "title": "Improving Machine Learning Robustness via Adversarial Training", "abstract": " As Machine Learning (ML) is increasingly used in solving various tasks in\nreal-world applications, it is crucial to ensure that ML algorithms are robust\nto any potential worst-case noises, adversarial attacks, and highly unusual\nsituations when they are designed. Studying ML robustness will significantly\nhelp in the design of ML algorithms. In this paper, we investigate ML\nrobustness using adversarial training in centralized and decentralized\nenvironments, where ML training and testing are conducted in one or multiple\ncomputers. In the centralized environment, we achieve a test accuracy of 65.41%\nand 83.0% when classifying adversarial examples generated by Fast Gradient Sign\nMethod and DeepFool, respectively. Comparing to existing studies, these results\ndemonstrate an improvement of 18.41% for FGSM and 47% for DeepFool. In the\ndecentralized environment, we study Federated learning (FL) robustness by using\nadversarial training with independent and identically distributed (IID) and\nnon-IID data, respectively, where CIFAR-10 is used in this research. In the IID\ndata case, our experimental results demonstrate that we can achieve such a\nrobust accuracy that it is comparable to the one obtained in the centralized\nenvironment. Moreover, in the non-IID data case, the natural accuracy drops\nfrom 66.23% to 57.82%, and the robust accuracy decreases by 25% and 23.4% in\nC&W and Projected Gradient Descent (PGD) attacks, compared to the IID data\ncase, respectively. We further propose an IID data-sharing approach, which\nallows for increasing the natural accuracy to 85.04% and the robust accuracy\nfrom 57% to 72% in C&W attacks and from 59% to 67% in PGD attacks.\n", "date": "2023-09-22", "categories": []} {"id": "2309.11005", "title": "It's Simplex! Disaggregating Measures to Improve Certified Robustness", "abstract": " Certified robustness circumvents the fragility of defences against\nadversarial attacks, by endowing model predictions with guarantees of class\ninvariance for attacks up to a calculated size. While there is value in these\ncertifications, the techniques through which we assess their performance do not\npresent a proper accounting of their strengths and weaknesses, as their\nanalysis has eschewed consideration of performance over individual samples in\nfavour of aggregated measures. By considering the potential output space of\ncertified models, this work presents two distinct approaches to improve the\nanalysis of certification mechanisms, that allow for both dataset-independent\nand dataset-dependent measures of certification performance. Embracing such a\nperspective uncovers new certification approaches, which have the potential to\nmore than double the achievable radius of certification, relative to current\nstate-of-the-art. Empirical evaluation verifies that our new approach can\ncertify $9\\%$ more samples at noise scale $\\sigma = 1$, with greater relative\nimprovements observed as the difficulty of the predictive task increases.\n", "date": "2023-09-20", "categories": []} {"id": "2309.11462", "title": "AudioFool: Fast, Universal and synchronization-free Cross-Domain Attack\n on Speech Recognition", "abstract": " Automatic Speech Recognition systems have been shown to be vulnerable to\nadversarial attacks that manipulate the command executed on the device. Recent\nresearch has focused on exploring methods to create such attacks, however, some\nissues relating to Over-The-Air (OTA) attacks have not been properly addressed.\nIn our work, we examine the needed properties of robust attacks compatible with\nthe OTA model, and we design a method of generating attacks with arbitrary such\ndesired properties, namely the invariance to synchronization, and the\nrobustness to filtering: this allows a Denial-of-Service (DoS) attack against\nASR systems. We achieve these characteristics by constructing attacks in a\nmodified frequency domain through an inverse Fourier transform. We evaluate our\nmethod on standard keyword classification tasks and analyze it in OTA, and we\nanalyze the properties of the cross-domain attacks to explain the efficiency of\nthe approach.\n", "date": "2023-09-20", "categories": []} {"id": "2309.10136", "title": "Efficient Low-Rank GNN Defense Against Structural Attacks", "abstract": " Graph Neural Networks (GNNs) have been shown to possess strong representation\nabilities over graph data. However, GNNs are vulnerable to adversarial attacks,\nand even minor perturbations to the graph structure can significantly degrade\ntheir performance. Existing methods either are ineffective against\nsophisticated attacks or require the optimization of dense adjacency matrices,\nwhich is time-consuming and prone to local minima. To remedy this problem, we\npropose an Efficient Low-Rank Graph Neural Network (ELR-GNN) defense method,\nwhich aims to learn low-rank and sparse graph structures for defending against\nadversarial attacks, ensuring effective defense with greater efficiency.\nSpecifically, ELR-GNN consists of two modules: a Coarse Low-Rank Estimation\nModule and a Fine-Grained Estimation Module. The first module adopts the\ntruncated Singular Value Decomposition (SVD) to initialize the low-rank\nadjacency matrix estimation, which serves as a starting point for optimizing\nthe low-rank matrix. In the second module, the initial estimate is refined by\njointly learning a low-rank sparse graph structure with the GNN model. Sparsity\nis incorporated into the learned low-rank adjacency matrix by pruning weak\nconnections, which can reduce redundant data while maintaining valuable\ninformation. As a result, instead of using the dense adjacency matrix directly,\nELR-GNN can learn a low-rank and sparse estimate of it in a simple, efficient\nand easy to optimize manner. The experimental results demonstrate that ELR-GNN\noutperforms the state-of-the-art GNN defense methods in the literature, in\naddition to being very efficient and easy to train.\n", "date": "2023-09-18", "categories": []} {"id": "2309.10586", "title": "Adversarial Attacks Against Uncertainty Quantification", "abstract": " Machine-learning models can be fooled by adversarial examples, i.e.,\ncarefully-crafted input perturbations that force models to output wrong\npredictions. While uncertainty quantification has been recently proposed to\ndetect adversarial inputs, under the assumption that such attacks exhibit a\nhigher prediction uncertainty than pristine data, it has been shown that\nadaptive attacks specifically aimed at reducing also the uncertainty estimate\ncan easily bypass this defense mechanism. In this work, we focus on a different\nadversarial scenario in which the attacker is still interested in manipulating\nthe uncertainty estimate, but regardless of the correctness of the prediction;\nin particular, the goal is to undermine the use of machine-learning models when\ntheir outputs are consumed by a downstream module or by a human operator.\nFollowing such direction, we: \\textit{(i)} design a threat model for attacks\ntargeting uncertainty quantification; \\textit{(ii)} devise different attack\nstrategies on conceptually different UQ techniques spanning for both\nclassification and semantic segmentation problems; \\textit{(iii)} conduct a\nfirst complete and extensive analysis to compare the differences between some\nof the most employed UQ approaches under attack. Our extensive experimental\nanalysis shows that our attacks are more effective in manipulating uncertainty\nquantification measures than attacks aimed to also induce misclassifications.\n", "date": "2023-09-19", "categories": []} {"id": "2209.14262", "title": "A Survey on Physical Adversarial Attack in Computer Vision", "abstract": " Over the past decade, deep learning has revolutionized conventional tasks\nthat rely on hand-craft feature extraction with its strong feature learning\ncapability, leading to substantial enhancements in traditional tasks. However,\ndeep neural networks (DNNs) have been demonstrated to be vulnerable to\nadversarial examples crafted by malicious tiny noise, which is imperceptible to\nhuman observers but can make DNNs output the wrong result. Existing adversarial\nattacks can be categorized into digital and physical adversarial attacks. The\nformer is designed to pursue strong attack performance in lab environments\nwhile hardly remaining effective when applied to the physical world. In\ncontrast, the latter focus on developing physical deployable attacks, thus\nexhibiting more robustness in complex physical environmental conditions.\nRecently, with the increasing deployment of the DNN-based system in the real\nworld, strengthening the robustness of these systems is an emergency, while\nexploring physical adversarial attacks exhaustively is the precondition. To\nthis end, this paper reviews the evolution of physical adversarial attacks\nagainst DNN-based computer vision tasks, expecting to provide beneficial\ninformation for developing stronger physical adversarial attacks. Specifically,\nwe first proposed a taxonomy to categorize the current physical adversarial\nattacks and grouped them. Then, we discuss the existing physical attacks and\nfocus on the technique for improving the robustness of physical attacks under\ncomplex physical environmental conditions. Finally, we discuss the issues of\nthe current physical adversarial attacks to be solved and give promising\ndirections.\n", "date": "2022-09-28", "categories": []} {"id": "2302.08257", "title": "On the Effect of Adversarial Training Against Invariance-based\n Adversarial Examples", "abstract": " Adversarial examples are carefully crafted attack points that are supposed to\nfool machine learning classifiers. In the last years, the field of adversarial\nmachine learning, especially the study of perturbation-based adversarial\nexamples, in which a perturbation that is not perceptible for humans is added\nto the images, has been studied extensively. Adversarial training can be used\nto achieve robustness against such inputs. Another type of adversarial examples\nare invariance-based adversarial examples, where the images are semantically\nmodified such that the predicted class of the model does not change, but the\nclass that is determined by humans does. How to ensure robustness against this\ntype of adversarial examples has not been explored yet. This work addresses the\nimpact of adversarial training with invariance-based adversarial examples on a\nconvolutional neural network (CNN).\n We show that when adversarial training with invariance-based and\nperturbation-based adversarial examples is applied, it should be conducted\nsimultaneously and not consecutively. This procedure can achieve relatively\nhigh robustness against both types of adversarial examples. Additionally, we\nfind that the algorithm used for generating invariance-based adversarial\nexamples in prior work does not correctly determine the labels and therefore we\nuse human-determined labels.\n", "date": "2023-02-16", "categories": []} {"id": "2309.09928", "title": "Evaluating Adversarial Robustness with Expected Viable Performance", "abstract": " We introduce a metric for evaluating the robustness of a classifier, with\nparticular attention to adversarial perturbations, in terms of expected\nfunctionality with respect to possible adversarial perturbations. A classifier\nis assumed to be non-functional (that is, has a functionality of zero) with\nrespect to a perturbation bound if a conventional measure of performance, such\nas classification accuracy, is less than a minimally viable threshold when the\nclassifier is tested on examples from that perturbation bound. Defining\nrobustness in terms of an expected value is motivated by a domain general\napproach to robustness quantification.\n", "date": "2023-09-18", "categories": []} {"id": "2304.10136", "title": "Diversifying the High-level Features for better Adversarial\n Transferability", "abstract": " Given the great threat of adversarial attacks against Deep Neural Networks\n(DNNs), numerous works have been proposed to boost transferability to attack\nreal-world applications. However, existing attacks often utilize advanced\ngradient calculation or input transformation but ignore the white-box model.\nInspired by the fact that DNNs are over-parameterized for superior performance,\nwe propose diversifying the high-level features (DHF) for more transferable\nadversarial examples. In particular, DHF perturbs the high-level features by\nrandomly transforming the high-level features and mixing them with the feature\nof benign samples when calculating the gradient at each iteration. Due to the\nredundancy of parameters, such transformation does not affect the\nclassification performance but helps identify the invariant features across\ndifferent models, leading to much better transferability. Empirical evaluations\non ImageNet dataset show that DHF could effectively improve the transferability\nof existing momentum-based attacks. Incorporated into the input\ntransformation-based attacks, DHF generates more transferable adversarial\nexamples and outperforms the baselines with a clear margin when attacking\nseveral defense models, showing its generalization to various attacks and high\neffectiveness for boosting transferability. Code is available at\nhttps://github.com/Trustworthy-AI-Group/DHF.\n", "date": "2023-04-20", "categories": []} {"id": "2306.05659", "title": "COVER: A Heuristic Greedy Adversarial Attack on Prompt-based Learning in\n Language Models", "abstract": " Prompt-based learning has been proved to be an effective way in pre-trained\nlanguage models (PLMs), especially in low-resource scenarios like few-shot\nsettings. However, the trustworthiness of PLMs is of paramount significance and\npotential vulnerabilities have been shown in prompt-based templates that could\nmislead the predictions of language models, causing serious security concerns.\nIn this paper, we will shed light on some vulnerabilities of PLMs, by proposing\na prompt-based adversarial attack on manual templates in black box scenarios.\nFirst of all, we design character-level and word-level heuristic approaches to\nbreak manual templates separately. Then we present a greedy algorithm for the\nattack based on the above heuristic destructive approaches. Finally, we\nevaluate our approach with the classification tasks on three variants of BERT\nseries models and eight datasets. And comprehensive experimental results\njustify the effectiveness of our approach in terms of attack success rate and\nattack speed.\n", "date": "2023-06-09", "categories": []} {"id": "2309.07398", "title": "Semantic Adversarial Attacks via Diffusion Models", "abstract": " Traditional adversarial attacks concentrate on manipulating clean examples in\nthe pixel space by adding adversarial perturbations. By contrast, semantic\nadversarial attacks focus on changing semantic attributes of clean examples,\nsuch as color, context, and features, which are more feasible in the real\nworld. In this paper, we propose a framework to quickly generate a semantic\nadversarial attack by leveraging recent diffusion models since semantic\ninformation is included in the latent space of well-trained diffusion models.\nThen there are two variants of this framework: 1) the Semantic Transformation\n(ST) approach fine-tunes the latent space of the generated image and/or the\ndiffusion model itself; 2) the Latent Masking (LM) approach masks the latent\nspace with another target image and local backpropagation-based interpretation\nmethods. Additionally, the ST approach can be applied in either white-box or\nblack-box settings. Extensive experiments are conducted on CelebA-HQ and AFHQ\ndatasets, and our framework demonstrates great fidelity, generalizability, and\ntransferability compared to other baselines. Our approaches achieve\napproximately 100% attack success rate in multiple settings with the best FID\nas 36.61. Code is available at\nhttps://github.com/steven202/semantic_adv_via_dm.\n", "date": "2023-09-14", "categories": []} {"id": "2309.07499", "title": "Efficiently Robustify Pre-trained Models", "abstract": " A recent trend in deep learning algorithms has been towards training large\nscale models, having high parameter count and trained on big dataset. However,\nrobustness of such large scale models towards real-world settings is still a\nless-explored topic. In this work, we first benchmark the performance of these\nmodels under different perturbations and datasets thereby representing\nreal-world shifts, and highlight their degrading performance under these\nshifts. We then discuss on how complete model fine-tuning based existing\nrobustification schemes might not be a scalable option given very large scale\nnetworks and can also lead them to forget some of the desired characterstics.\nFinally, we propose a simple and cost-effective method to solve this problem,\ninspired by knowledge transfer literature. It involves robustifying smaller\nmodels, at a lower computation cost, and then use them as teachers to tune a\nfraction of these large scale networks, reducing the overall computational\noverhead. We evaluate our proposed method under various vision perturbations\nincluding ImageNet-C,R,S,A datasets and also for transfer learning, zero-shot\nevaluation setups on different datasets. Benchmark results show that our method\nis able to induce robustness to these large scale models efficiently, requiring\nsignificantly lower time and also preserves the transfer learning, zero-shot\nproperties of the original model which none of the existing methods are able to\nachieve.\n", "date": "2023-09-14", "categories": []} {"id": "2309.06527", "title": "Machine Translation Models Stand Strong in the Face of Adversarial\n Attacks", "abstract": " Adversarial attacks expose vulnerabilities of deep learning models by\nintroducing minor perturbations to the input, which lead to substantial\nalterations in the output. Our research focuses on the impact of such\nadversarial attacks on sequence-to-sequence (seq2seq) models, specifically\nmachine translation models. We introduce algorithms that incorporate basic text\nperturbation heuristics and more advanced strategies, such as the\ngradient-based attack, which utilizes a differentiable approximation of the\ninherently non-differentiable translation metric. Through our investigation, we\nprovide evidence that machine translation models display robustness displayed\nrobustness against best performed known adversarial attacks, as the degree of\nperturbation in the output is directly proportional to the perturbation in the\ninput. However, among underdogs, our attacks outperform alternatives, providing\nthe best relative performance. Another strong candidate is an attack based on\nmixing of individual characters.\n", "date": "2023-09-10", "categories": []} {"id": "2309.06960", "title": "PhantomSound: Black-Box, Query-Efficient Audio Adversarial Attack via\n Split-Second Phoneme Injection", "abstract": " In this paper, we propose PhantomSound, a query-efficient black-box attack\ntoward voice assistants. Existing black-box adversarial attacks on voice\nassistants either apply substitution models or leverage the intermediate model\noutput to estimate the gradients for crafting adversarial audio samples.\nHowever, these attack approaches require a significant amount of queries with a\nlengthy training stage. PhantomSound leverages the decision-based attack to\nproduce effective adversarial audios, and reduces the number of queries by\noptimizing the gradient estimation. In the experiments, we perform our attack\nagainst 4 different speech-to-text APIs under 3 real-world scenarios to\ndemonstrate the real-time attack impact. The results show that PhantomSound is\npractical and robust in attacking 5 popular commercial voice controllable\ndevices over the air, and is able to bypass 3 liveness detection mechanisms\nwith >95% success rate. The benchmark result shows that PhantomSound can\ngenerate adversarial examples and launch the attack in a few minutes. We\nsignificantly enhance the query efficiency and reduce the cost of a successful\nuntargeted and targeted adversarial attack by 93.1% and 65.5% compared with the\nstate-of-the-art black-box attacks, using merely ~300 queries (~5 minutes) and\n~1,500 queries (~25 minutes), respectively.\n", "date": "2023-09-13", "categories": []} {"id": "2309.07106", "title": "Hardening RGB-D Object Recognition Systems against Adversarial Patch\n Attacks", "abstract": " RGB-D object recognition systems improve their predictive performances by\nfusing color and depth information, outperforming neural network architectures\nthat rely solely on colors. While RGB-D systems are expected to be more robust\nto adversarial examples than RGB-only systems, they have also been proven to be\nhighly vulnerable. Their robustness is similar even when the adversarial\nexamples are generated by altering only the original images' colors. Different\nworks highlighted the vulnerability of RGB-D systems; however, there is a\nlacking of technical explanations for this weakness. Hence, in our work, we\nbridge this gap by investigating the learned deep representation of RGB-D\nsystems, discovering that color features make the function learned by the\nnetwork more complex and, thus, more sensitive to small perturbations. To\nmitigate this problem, we propose a defense based on a detection mechanism that\nmakes RGB-D systems more robust against adversarial examples. We empirically\nshow that this defense improves the performances of RGB-D systems against\nadversarial examples even when they are computed ad-hoc to circumvent this\ndetection mechanism, and that is also more effective than adversarial training.\n", "date": "2023-09-13", "categories": []} {"id": "2309.05879", "title": "Generalized Attacks on Face Verification Systems", "abstract": " Face verification (FV) using deep neural network models has made tremendous\nprogress in recent years, surpassing human accuracy and seeing deployment in\nvarious applications such as border control and smartphone unlocking. However,\nFV systems are vulnerable to Adversarial Attacks, which manipulate input images\nto deceive these systems in ways usually unnoticeable to humans. This paper\nprovides an in-depth study of attacks on FV systems. We introduce the\nDodgePersonation Attack that formulates the creation of face images that\nimpersonate a set of given identities while avoiding being identified as any of\nthe identities in a separate, disjoint set. A taxonomy is proposed to provide a\nunified view of different types of Adversarial Attacks against FV systems,\nincluding Dodging Attacks, Impersonation Attacks, and Master Face Attacks.\nFinally, we propose the ''One Face to Rule Them All'' Attack which implements\nthe DodgePersonation Attack with state-of-the-art performance on a well-known\nscenario (Master Face Attack) and which can also be used for the new scenarios\nintroduced in this paper. While the state-of-the-art Master Face Attack can\nproduce a set of 9 images to cover 43.82% of the identities in their test\ndatabase, with 9 images our attack can cover 57.27% to 58.5% of these\nidentifies while giving the attacker the choice of the identity to use to\ncreate the impersonation. Moreover, the 9 generated attack images appear\nidentical to a casual observer.\n", "date": "2023-09-12", "categories": []} {"id": "2309.05900", "title": "Adversarial Attacks Assessment of Salient Object Detection via Symbolic\n Learning", "abstract": " Machine learning is at the center of mainstream technology and outperforms\nclassical approaches to handcrafted feature design. Aside from its learning\nprocess for artificial feature extraction, it has an end-to-end paradigm from\ninput to output, reaching outstandingly accurate results. However, security\nconcerns about its robustness to malicious and imperceptible perturbations have\ndrawn attention since its prediction can be changed entirely. Salient object\ndetection is a research area where deep convolutional neural networks have\nproven effective but whose trustworthiness represents a significant issue\nrequiring analysis and solutions to hackers' attacks. Brain programming is a\nkind of symbolic learning in the vein of good old-fashioned artificial\nintelligence. This work provides evidence that symbolic learning robustness is\ncrucial in designing reliable visual attention systems since it can withstand\neven the most intense perturbations. We test this evolutionary computation\nmethodology against several adversarial attacks and noise perturbations using\nstandard databases and a real-world problem of a shorebird called the Snowy\nPlover portraying a visual attention task. We compare our methodology with five\ndifferent deep learning approaches, proving that they do not match the symbolic\nparadigm regarding robustness. All neural networks suffer significant\nperformance losses, while brain programming stands its ground and remains\nunaffected. Also, by studying the Snowy Plover, we remark on the importance of\nsecurity in surveillance activities regarding wildlife protection and\nconservation.\n", "date": "2023-09-12", "categories": []} {"id": "2309.06166", "title": "Certified Robust Models with Slack Control and Large Lipschitz Constants", "abstract": " Despite recent success, state-of-the-art learning-based models remain highly\nvulnerable to input changes such as adversarial examples. In order to obtain\ncertifiable robustness against such perturbations, recent work considers\nLipschitz-based regularizers or constraints while at the same time increasing\nprediction margin. Unfortunately, this comes at the cost of significantly\ndecreased accuracy. In this paper, we propose a Calibrated Lipschitz-Margin\nLoss (CLL) that addresses this issue and improves certified robustness by\ntackling two problems: Firstly, commonly used margin losses do not adjust the\npenalties to the shrinking output distribution; caused by minimizing the\nLipschitz constant $K$. Secondly, and most importantly, we observe that\nminimization of $K$ can lead to overly smooth decision functions. This limits\nthe model's complexity and thus reduces accuracy. Our CLL addresses these\nissues by explicitly calibrating the loss w.r.t. margin and Lipschitz constant,\nthereby establishing full control over slack and improving robustness\ncertificates even with larger Lipschitz constants. On CIFAR-10, CIFAR-100 and\nTiny-ImageNet, our models consistently outperform losses that leave the\nconstant unattended. On CIFAR-100 and Tiny-ImageNet, CLL improves upon\nstate-of-the-art deterministic $L_2$ robust accuracies. In contrast to current\ntrends, we unlock potential of much smaller models without $K=1$ constraints.\n", "date": "2023-09-12", "categories": []} {"id": "2309.06359", "title": "Using Reed-Muller Codes for Classification with Rejection and Recovery", "abstract": " When deploying classifiers in the real world, users expect them to respond to\ninputs appropriately. However, traditional classifiers are not equipped to\nhandle inputs which lie far from the distribution they were trained on.\nMalicious actors can exploit this defect by making adversarial perturbations\ndesigned to cause the classifier to give an incorrect output.\nClassification-with-rejection methods attempt to solve this problem by allowing\nnetworks to refuse to classify an input in which they have low confidence. This\nworks well for strongly adversarial examples, but also leads to the rejection\nof weakly perturbed images, which intuitively could be correctly classified. To\naddress these issues, we propose Reed-Muller Aggregation Networks (RMAggNet), a\nclassifier inspired by Reed-Muller error-correction codes which can correct and\nreject inputs. This paper shows that RMAggNet can minimise incorrectness while\nmaintaining good correctness over multiple adversarial attacks at different\nperturbation budgets by leveraging the ability to correct errors in the\nclassification process. This provides an alternative\nclassification-with-rejection method which can reduce the amount of additional\nprocessing in situations where a small number of incorrect classifications are\npermissible.\n", "date": "2023-09-12", "categories": []} {"id": "2309.06438", "title": "Exploring Non-additive Randomness on ViT against Query-Based Black-Box\n Attacks", "abstract": " Deep Neural Networks can be easily fooled by small and imperceptible\nperturbations. The query-based black-box attack (QBBA) is able to create the\nperturbations using model output probabilities of image queries requiring no\naccess to the underlying models. QBBA poses realistic threats to real-world\napplications. Recently, various types of robustness have been explored to\ndefend against QBBA. In this work, we first taxonomize the stochastic defense\nstrategies against QBBA. Following our taxonomy, we propose to explore\nnon-additive randomness in models to defend against QBBA. Specifically, we\nfocus on underexplored Vision Transformers based on their flexible\narchitectures. Extensive experiments show that the proposed defense approach\nachieves effective defense, without much sacrifice in performance.\n", "date": "2023-09-12", "categories": []} {"id": "2302.11704", "title": "Mitigating Adversarial Attacks in Deepfake Detection: An Exploration of\n Perturbation and AI Techniques", "abstract": " Deep learning constitutes a pivotal component within the realm of machine\nlearning, offering remarkable capabilities in tasks ranging from image\nrecognition to natural language processing. However, this very strength also\nrenders deep learning models susceptible to adversarial examples, a phenomenon\npervasive across a diverse array of applications. These adversarial examples\nare characterized by subtle perturbations artfully injected into clean images\nor videos, thereby causing deep learning algorithms to misclassify or produce\nerroneous outputs. This susceptibility extends beyond the confines of digital\ndomains, as adversarial examples can also be strategically designed to target\nhuman cognition, leading to the creation of deceptive media, such as deepfakes.\nDeepfakes, in particular, have emerged as a potent tool to manipulate public\nopinion and tarnish the reputations of public figures, underscoring the urgent\nneed to address the security and ethical implications associated with\nadversarial examples. This article delves into the multifaceted world of\nadversarial examples, elucidating the underlying principles behind their\ncapacity to deceive deep learning algorithms. We explore the various\nmanifestations of this phenomenon, from their insidious role in compromising\nmodel reliability to their impact in shaping the contemporary landscape of\ndisinformation and misinformation. To illustrate progress in combating\nadversarial examples, we showcase the development of a tailored Convolutional\nNeural Network (CNN) designed explicitly to detect deepfakes, a pivotal step\ntowards enhancing model robustness in the face of adversarial threats.\nImpressively, this custom CNN has achieved a precision rate of 76.2% on the\nDFDC dataset.\n", "date": "2023-02-22", "categories": []} {"id": "2306.15931", "title": "Boosting Adversarial Transferability with Learnable Patch-wise Masks", "abstract": " Adversarial examples have attracted widespread attention in security-critical\napplications because of their transferability across different models. Although\nmany methods have been proposed to boost adversarial transferability, a gap\nstill exists between capabilities and practical demand. In this paper, we argue\nthat the model-specific discriminative regions are a key factor causing\noverfitting to the source model, and thus reducing the transferability to the\ntarget model. For that, a patch-wise mask is utilized to prune the\nmodel-specific regions when calculating adversarial perturbations. To\naccurately localize these regions, we present a learnable approach to\nautomatically optimize the mask. Specifically, we simulate the target models in\nour framework, and adjust the patch-wise mask according to the feedback of the\nsimulated models. To improve the efficiency, the differential evolutionary (DE)\nalgorithm is utilized to search for patch-wise masks for a specific image.\nDuring iterative attacks, the learned masks are applied to the image to drop\nout the patches related to model-specific regions, thus making the gradients\nmore generic and improving the adversarial transferability. The proposed\napproach is a preprocessing method and can be integrated with existing methods\nto further boost the transferability. Extensive experiments on the ImageNet\ndataset demonstrate the effectiveness of our method. We incorporate the\nproposed approach with existing methods to perform ensemble attacks and achieve\nan average success rate of 93.01% against seven advanced defense methods, which\ncan effectively enhance the state-of-the-art transfer-based attack performance.\n", "date": "2023-06-28", "categories": []} {"id": "2309.04650", "title": "Exploring Robust Features for Improving Adversarial Robustness", "abstract": " While deep neural networks (DNNs) have revolutionized many fields, their\nfragility to carefully designed adversarial attacks impedes the usage of DNNs\nin safety-critical applications. In this paper, we strive to explore the robust\nfeatures which are not affected by the adversarial perturbations, i.e.,\ninvariant to the clean image and its adversarial examples, to improve the\nmodel's adversarial robustness. Specifically, we propose a feature\ndisentanglement model to segregate the robust features from non-robust features\nand domain specific features. The extensive experiments on four widely used\ndatasets with different attacks demonstrate that robust features obtained from\nour model improve the model's adversarial robustness compared to the\nstate-of-the-art approaches. Moreover, the trained domain discriminator is able\nto identify the domain specific features from the clean images and adversarial\nexamples almost perfectly. This enables adversarial example detection without\nincurring additional computational costs. With that, we can also specify\ndifferent classifiers for clean images and adversarial examples, thereby\navoiding any drop in clean image accuracy.\n", "date": "2023-09-09", "categories": []} {"id": "2309.05132", "title": "DAD++: Improved Data-free Test Time Adversarial Defense", "abstract": " With the increasing deployment of deep neural networks in safety-critical\napplications such as self-driving cars, medical imaging, anomaly detection,\netc., adversarial robustness has become a crucial concern in the reliability of\nthese networks in real-world scenarios. A plethora of works based on\nadversarial training and regularization-based techniques have been proposed to\nmake these deep networks robust against adversarial attacks. However, these\nmethods require either retraining models or training them from scratch, making\nthem infeasible to defend pre-trained models when access to training data is\nrestricted. To address this problem, we propose a test time Data-free\nAdversarial Defense (DAD) containing detection and correction frameworks.\nMoreover, to further improve the efficacy of the correction framework in cases\nwhen the detector is under-confident, we propose a soft-detection scheme\n(dubbed as \"DAD++\"). We conduct a wide range of experiments and ablations on\nseveral datasets and network architectures to show the efficacy of our proposed\napproach. Furthermore, we demonstrate the applicability of our approach in\nimparting adversarial defense at test time under data-free (or data-efficient)\napplications/setups, such as Data-free Knowledge Distillation and Source-free\nUnsupervised Domain Adaptation, as well as Semi-supervised classification\nframeworks. We observe that in all the experiments and applications, our DAD++\ngives an impressive performance against various adversarial attacks with a\nminimal drop in clean accuracy. The source code is available at:\nhttps://github.com/vcl-iisc/Improved-Data-free-Test-Time-Adversarial-Defense\n", "date": "2023-09-10", "categories": []} {"id": "2309.05145", "title": "Outlier Robust Adversarial Training", "abstract": " Supervised learning models are challenged by the intrinsic complexities of\ntraining data such as outliers and minority subpopulations and intentional\nattacks at inference time with adversarial samples. While traditional robust\nlearning methods and the recent adversarial training approaches are designed to\nhandle each of the two challenges, to date, no work has been done to develop\nmodels that are robust with regard to the low-quality training data and the\npotential adversarial attack at inference time simultaneously. It is for this\nreason that we introduce Outlier Robust Adversarial Training (ORAT) in this\nwork. ORAT is based on a bi-level optimization formulation of adversarial\ntraining with a robust rank-based loss function. Theoretically, we show that\nthe learning objective of ORAT satisfies the $\\mathcal{H}$-consistency in\nbinary classification, which establishes it as a proper surrogate to\nadversarial 0/1 loss. Furthermore, we analyze its generalization ability and\nprovide uniform convergence rates in high probability. ORAT can be optimized\nwith a simple algorithm. Experimental evaluations on three benchmark datasets\ndemonstrate the effectiveness and robustness of ORAT in handling outliers and\nadversarial attacks. Our code is available at\nhttps://github.com/discovershu/ORAT.\n", "date": "2023-09-10", "categories": []} {"id": "2209.04521", "title": "The Space of Adversarial Strategies", "abstract": " Adversarial examples, inputs designed to induce worst-case behavior in\nmachine learning models, have been extensively studied over the past decade.\nYet, our understanding of this phenomenon stems from a rather fragmented pool\nof knowledge; at present, there are a handful of attacks, each with disparate\nassumptions in threat models and incomparable definitions of optimality. In\nthis paper, we propose a systematic approach to characterize worst-case (i.e.,\noptimal) adversaries. We first introduce an extensible decomposition of attacks\nin adversarial machine learning by atomizing attack components into surfaces\nand travelers. With our decomposition, we enumerate over components to create\n576 attacks (568 of which were previously unexplored). Next, we propose the\nPareto Ensemble Attack (PEA): a theoretical attack that upper-bounds attack\nperformance. With our new attacks, we measure performance relative to the PEA\non: both robust and non-robust models, seven datasets, and three extended\nlp-based threat models incorporating compute costs, formalizing the Space of\nAdversarial Strategies. From our evaluation we find that attack performance to\nbe highly contextual: the domain, model robustness, and threat model can have a\nprofound influence on attack efficacy. Our investigation suggests that future\nstudies measuring the security of machine learning should: (1) be\ncontextualized to the domain & threat models, and (2) go beyond the handful of\nknown attacks used today.\n", "date": "2022-09-09", "categories": []} {"id": "2308.00452", "title": "A Majority Invariant Approach to Patch Robustness Certification for Deep\n Learning Models", "abstract": " Patch robustness certification ensures no patch within a given bound on a\nsample can manipulate a deep learning model to predict a different label.\nHowever, existing techniques cannot certify samples that cannot meet their\nstrict bars at the classifier or patch region levels. This paper proposes\nMajorCert. MajorCert firstly finds all possible label sets manipulatable by the\nsame patch region on the same sample across the underlying classifiers, then\nenumerates their combinations element-wise, and finally checks whether the\nmajority invariant of all these combinations is intact to certify samples.\n", "date": "2023-08-01", "categories": []} {"id": "2309.03215", "title": "Explainable and Trustworthy Traffic Sign Detection for Safe Autonomous\n Driving: An Inductive Logic Programming Approach", "abstract": " Traffic sign detection is a critical task in the operation of Autonomous\nVehicles (AV), as it ensures the safety of all road users. Current DNN-based\nsign classification systems rely on pixel-level features to detect traffic\nsigns and can be susceptible to adversarial attacks. These attacks involve\nsmall, imperceptible changes to a sign that can cause traditional classifiers\nto misidentify the sign. We propose an Inductive Logic Programming (ILP) based\napproach for stop sign detection in AVs to address this issue. This method\nutilises high-level features of a sign, such as its shape, colour, and text, to\ndetect categories of traffic signs. This approach is more robust against\nadversarial attacks, as it mimics human-like perception and is less susceptible\nto the limitations of current DNN classifiers. We consider two adversarial\nattacking methods to evaluate our approach: Robust Physical Perturbation (PR2)\nand Adversarial Camouflage (AdvCam). These attacks are able to deceive DNN\nclassifiers, causing them to misidentify stop signs as other signs with high\nconfidence. The results show that the proposed ILP-based technique is able to\ncorrectly identify all targeted stop signs, even in the presence of PR2 and\nADvCam attacks. The proposed learning method is also efficient as it requires\nminimal training data. Moreover, it is fully explainable, making it possible to\ndebug AVs.\n", "date": "2023-08-30", "categories": []} {"id": "2309.03702", "title": "DiffDefense: Defending against Adversarial Attacks via Diffusion Models", "abstract": " This paper presents a novel reconstruction method that leverages Diffusion\nModels to protect machine learning classifiers against adversarial attacks, all\nwithout requiring any modifications to the classifiers themselves. The\nsusceptibility of machine learning models to minor input perturbations renders\nthem vulnerable to adversarial attacks. While diffusion-based methods are\ntypically disregarded for adversarial defense due to their slow reverse\nprocess, this paper demonstrates that our proposed method offers robustness\nagainst adversarial threats while preserving clean accuracy, speed, and\nplug-and-play compatibility. Code at:\nhttps://github.com/HondamunigePrasannaSilva/DiffDefence.\n", "date": "2023-09-07", "categories": []} {"id": "2208.06651", "title": "Revisiting Adversarial Attacks on Graph Neural Networks for Graph\n Classification", "abstract": " Graph neural networks (GNNs) have achieved tremendous success in the task of\ngraph classification and its diverse downstream real-world applications.\nDespite the huge success in learning graph representations, current GNN models\nhave demonstrated their vulnerability to potentially existent adversarial\nexamples on graph-structured data. Existing approaches are either limited to\nstructure attacks or restricted to local information, urging for the design of\na more general attack framework on graph classification, which faces\nsignificant challenges due to the complexity of generating local-node-level\nadversarial examples using the global-graph-level information. To address this\n\"global-to-local\" attack challenge, we present a novel and general framework to\ngenerate adversarial examples via manipulating graph structure and node\nfeatures. Specifically, we make use of Graph Class Activation Mapping and its\nvariant to produce node-level importance corresponding to the graph\nclassification task. Then through a heuristic design of algorithms, we can\nperform both feature and structure attacks under unnoticeable perturbation\nbudgets with the help of both node-level and subgraph-level importance.\nExperiments towards attacking four state-of-the-art graph classification models\non six real-world benchmarks verify the flexibility and effectiveness of our\nframework.\n", "date": "2022-08-13", "categories": []} {"id": "2304.04512", "title": "Defense-Prefix for Preventing Typographic Attacks on CLIP", "abstract": " Vision-language pre-training models (VLPs) have exhibited revolutionary\nimprovements in various vision-language tasks. In VLP, some adversarial attacks\nfool a model into false or absurd classifications. Previous studies addressed\nthese attacks by fine-tuning the model or changing its architecture. However,\nthese methods risk losing the original model's performance and are difficult to\napply to downstream tasks. In particular, their applicability to other tasks\nhas not been considered. In this study, we addressed the reduction of the\nimpact of typographic attacks on CLIP without changing the model parameters. To\nachieve this, we expand the idea of \"prefix learning\" and introduce our simple\nyet effective method: Defense-Prefix (DP), which inserts the DP token before a\nclass name to make words \"robust\" against typographic attacks. Our method can\nbe easily applied to downstream tasks, such as object detection, because the\nproposed method is independent of the model parameters. Our method\nsignificantly improves the accuracy of classification tasks for typographic\nattack datasets, while maintaining the zero-shot capabilities of the model. In\naddition, we leverage our proposed method for object detection, demonstrating\nits high applicability and effectiveness. The codes and datasets are available\nat https://github.com/azuma164/Defense-Prefix.\n", "date": "2023-04-10", "categories": []} {"id": "2309.01866", "title": "Efficient Query-Based Attack against ML-Based Android Malware Detection\n under Zero Knowledge Setting", "abstract": " The widespread adoption of the Android operating system has made malicious\nAndroid applications an appealing target for attackers. Machine learning-based\n(ML-based) Android malware detection (AMD) methods are crucial in addressing\nthis problem; however, their vulnerability to adversarial examples raises\nconcerns. Current attacks against ML-based AMD methods demonstrate remarkable\nperformance but rely on strong assumptions that may not be realistic in\nreal-world scenarios, e.g., the knowledge requirements about feature space,\nmodel parameters, and training dataset. To address this limitation, we\nintroduce AdvDroidZero, an efficient query-based attack framework against\nML-based AMD methods that operates under the zero knowledge setting. Our\nextensive evaluation shows that AdvDroidZero is effective against various\nmainstream ML-based AMD methods, in particular, state-of-the-art such methods\nand real-world antivirus solutions.\n", "date": "2023-09-05", "categories": []} {"id": "2309.02752", "title": "SWAP: Exploiting Second-Ranked Logits for Adversarial Attacks on Time\n Series", "abstract": " Time series classification (TSC) has emerged as a critical task in various\ndomains, and deep neural models have shown superior performance in TSC tasks.\nHowever, these models are vulnerable to adversarial attacks, where subtle\nperturbations can significantly impact the prediction results. Existing\nadversarial methods often suffer from over-parameterization or random logit\nperturbation, hindering their effectiveness. Additionally, increasing the\nattack success rate (ASR) typically involves generating more noise, making the\nattack more easily detectable. To address these limitations, we propose SWAP, a\nnovel attacking method for TSC models. SWAP focuses on enhancing the confidence\nof the second-ranked logits while minimizing the manipulation of other logits.\nThis is achieved by minimizing the Kullback-Leibler divergence between the\ntarget logit distribution and the predictive logit distribution. Experimental\nresults demonstrate that SWAP achieves state-of-the-art performance, with an\nASR exceeding 50% and an 18% increase compared to existing methods.\n", "date": "2023-09-06", "categories": []} {"id": "2309.03198", "title": "My Art My Choice: Adversarial Protection Against Unruly AI", "abstract": " Generative AI is on the rise, enabling everyone to produce realistic content\nvia publicly available interfaces. Especially for guided image generation,\ndiffusion models are changing the creator economy by producing high quality low\ncost content. In parallel, artists are rising against unruly AI, since their\nartwork are leveraged, distributed, and dissimulated by large generative\nmodels. Our approach, My Art My Choice (MAMC), aims to empower content owners\nby protecting their copyrighted materials from being utilized by diffusion\nmodels in an adversarial fashion. MAMC learns to generate adversarially\nperturbed \"protected\" versions of images which can in turn \"break\" diffusion\nmodels. The perturbation amount is decided by the artist to balance distortion\nvs. protection of the content. MAMC is designed with a simple UNet-based\ngenerator, attacking black box diffusion models, combining several losses to\ncreate adversarial twins of the original artwork. We experiment on three\ndatasets for various image-to-image tasks, with different user control values.\nBoth protected image and diffusion output results are evaluated in visual,\nnoise, structure, pixel, and generative spaces to validate our claims. We\nbelieve that MAMC is a crucial step for preserving ownership information for AI\ngenerated content in a flawless, based-on-need, and human-centric way.\n", "date": "2023-09-06", "categories": []} {"id": "2206.08316", "title": "Boosting the Adversarial Transferability of Surrogate Models with Dark\n Knowledge", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial examples. And, the\nadversarial examples have transferability, which means that an adversarial\nexample for a DNN model can fool another model with a non-trivial probability.\nThis gave birth to the transfer-based attack where the adversarial examples\ngenerated by a surrogate model are used to conduct black-box attacks. There are\nsome work on generating the adversarial examples from a given surrogate model\nwith better transferability. However, training a special surrogate model to\ngenerate adversarial examples with better transferability is relatively\nunder-explored. This paper proposes a method for training a surrogate model\nwith dark knowledge to boost the transferability of the adversarial examples\ngenerated by the surrogate model. This trained surrogate model is named dark\nsurrogate model (DSM). The proposed method for training a DSM consists of two\nkey components: a teacher model extracting dark knowledge, and the mixing\naugmentation skill enhancing dark knowledge of training data. We conducted\nextensive experiments to show that the proposed method can substantially\nimprove the adversarial transferability of surrogate models across different\narchitectures of surrogate models and optimizers for generating adversarial\nexamples, and it can be applied to other scenarios of transfer-based attack\nthat contain dark knowledge, like face verification. Our code is publicly\navailable at \\url{https://github.com/ydc123/Dark_Surrogate_Model}.\n", "date": "2022-06-16", "categories": []} {"id": "2309.00007", "title": "When Measures are Unreliable: Imperceptible Adversarial Perturbations\n toward Top-$k$ Multi-Label Learning", "abstract": " With the great success of deep neural networks, adversarial learning has\nreceived widespread attention in various studies, ranging from multi-class\nlearning to multi-label learning. However, existing adversarial attacks toward\nmulti-label learning only pursue the traditional visual imperceptibility but\nignore the new perceptible problem coming from measures such as Precision@$k$\nand mAP@$k$. Specifically, when a well-trained multi-label classifier performs\nfar below the expectation on some samples, the victim can easily realize that\nthis performance degeneration stems from attack, rather than the model itself.\nTherefore, an ideal multi-labeling adversarial attack should manage to not only\ndeceive visual perception but also evade monitoring of measures. To this end,\nthis paper first proposes the concept of measure imperceptibility. Then, a\nnovel loss function is devised to generate such adversarial perturbations that\ncould achieve both visual and measure imperceptibility. Furthermore, an\nefficient algorithm, which enjoys a convex objective, is established to\noptimize this objective. Finally, extensive experiments on large-scale\nbenchmark datasets, such as PASCAL VOC 2012, MS COCO, and NUS WIDE, demonstrate\nthe superiority of our proposed method in attacking the top-$k$ multi-label\nsystems.\n", "date": "2023-07-27", "categories": []} {"id": "2309.00614", "title": "Baseline Defenses for Adversarial Attacks Against Aligned Language\n Models", "abstract": " As Large Language Models quickly become ubiquitous, it becomes critical to\nunderstand their security vulnerabilities. Recent work shows that text\noptimizers can produce jailbreaking prompts that bypass moderation and\nalignment. Drawing from the rich body of work on adversarial machine learning,\nwe approach these attacks with three questions: What threat models are\npractically useful in this domain? How do baseline defense techniques perform\nin this new domain? How does LLM security differ from computer vision?\n We evaluate several baseline defense strategies against leading adversarial\nattacks on LLMs, discussing the various settings in which each is feasible and\neffective. Particularly, we look at three types of defenses: detection\n(perplexity based), input preprocessing (paraphrase and retokenization), and\nadversarial training. We discuss white-box and gray-box settings and discuss\nthe robustness-performance trade-off for each of the defenses considered. We\nfind that the weakness of existing discrete optimizers for text, combined with\nthe relatively high costs of optimization, makes standard adaptive attacks more\nchallenging for LLMs. Future research will be needed to uncover whether more\npowerful optimizers can be developed, or whether the strength of filtering and\npreprocessing defenses is greater in the LLMs domain than it has been in\ncomputer vision.\n", "date": "2023-09-01", "categories": []} {"id": "2309.00771", "title": "Non-Asymptotic Bounds for Adversarial Excess Risk under Misspecified\n Models", "abstract": " We propose a general approach to evaluating the performance of robust\nestimators based on adversarial losses under misspecified models. We first show\nthat adversarial risk is equivalent to the risk induced by a distributional\nadversarial attack under certain smoothness conditions. This ensures that the\nadversarial training procedure is well-defined. To evaluate the generalization\nperformance of the adversarial estimator, we study the adversarial excess risk.\nOur proposed analysis method includes investigations on both generalization\nerror and approximation error. We then establish non-asymptotic upper bounds\nfor the adversarial excess risk associated with Lipschitz loss functions. In\naddition, we apply our general results to adversarial training for\nclassification and regression problems. For the quadratic loss in nonparametric\nregression, we show that the adversarial excess risk bound can be improved over\nthose for a general loss.\n", "date": "2023-09-02", "categories": []} {"id": "2309.00879", "title": "Towards Certified Probabilistic Robustness with High Accuracy", "abstract": " Adversarial examples pose a security threat to many critical systems built on\nneural networks (such as face recognition systems, and self-driving cars).\nWhile many methods have been proposed to build robust models, how to build\ncertifiably robust yet accurate neural network models remains an open problem.\nFor example, adversarial training improves empirical robustness, but they do\nnot provide certification of the model's robustness. On the other hand,\ncertified training provides certified robustness but at the cost of a\nsignificant accuracy drop. In this work, we propose a novel approach that aims\nto achieve both high accuracy and certified probabilistic robustness. Our\nmethod has two parts, i.e., a probabilistic robust training method with an\nadditional goal of minimizing variance in terms of divergence and a runtime\ninference method for certified probabilistic robustness of the prediction. The\nlatter enables efficient certification of the model's probabilistic robustness\nat runtime with statistical guarantees. This is supported by our training\nobjective, which minimizes the variance of the model's predictions in a given\nvicinity, derived from a general definition of model robustness. Our approach\nworks for a variety of perturbations and is reasonably efficient. Our\nexperiments on multiple models trained on different datasets demonstrate that\nour approach significantly outperforms existing approaches in terms of both\ncertification rate and accuracy.\n", "date": "2023-09-02", "categories": []} {"id": "2309.01077", "title": "Robust Adversarial Defense by Tensor Factorization", "abstract": " As machine learning techniques become increasingly prevalent in data\nanalysis, the threat of adversarial attacks has surged, necessitating robust\ndefense mechanisms. Among these defenses, methods exploiting low-rank\napproximations for input data preprocessing and neural network (NN) parameter\nfactorization have shown potential. Our work advances this field further by\nintegrating the tensorization of input data with low-rank decomposition and\ntensorization of NN parameters to enhance adversarial defense. The proposed\napproach demonstrates significant defense capabilities, maintaining robust\naccuracy even when subjected to the strongest known auto-attacks. Evaluations\nagainst leading-edge robust performance benchmarks reveal that our results not\nonly hold their ground against the best defensive methods available but also\nexceed all current defense strategies that rely on tensor factorizations. This\nstudy underscores the potential of integrating tensorization and low-rank\ndecomposition as a robust defense against adversarial attacks in machine\nlearning.\n", "date": "2023-09-03", "categories": []} {"id": "2309.01106", "title": "AdvMono3D: Advanced Monocular 3D Object Detection with Depth-Aware\n Robust Adversarial Training", "abstract": " Monocular 3D object detection plays a pivotal role in the field of autonomous\ndriving and numerous deep learning-based methods have made significant\nbreakthroughs in this area. Despite the advancements in detection accuracy and\nefficiency, these models tend to fail when faced with such attacks, rendering\nthem ineffective. Therefore, bolstering the adversarial robustness of 3D\ndetection models has become a crucial issue that demands immediate attention\nand innovative solutions. To mitigate this issue, we propose a depth-aware\nrobust adversarial training method for monocular 3D object detection, dubbed\nDART3D. Specifically, we first design an adversarial attack that iteratively\ndegrades the 2D and 3D perception capabilities of 3D object detection\nmodels(IDP), serves as the foundation for our subsequent defense mechanism. In\nresponse to this attack, we propose an uncertainty-based residual learning\nmethod for adversarial training. Our adversarial training approach capitalizes\non the inherent uncertainty, enabling the model to significantly improve its\nrobustness against adversarial attacks. We conducted extensive experiments on\nthe KITTI 3D datasets, demonstrating that DART3D surpasses direct adversarial\ntraining (the most popular approach) under attacks in 3D object detection\n$AP_{R40}$ of car category for the Easy, Moderate, and Hard settings, with\nimprovements of 4.415%, 4.112%, and 3.195%, respectively.\n", "date": "2023-09-03", "categories": []} {"id": "2309.01452", "title": "Toward Defensive Letter Design", "abstract": " A major approach for defending against adversarial attacks aims at\ncontrolling only image classifiers to be more resilient, and it does not care\nabout visual objects, such as pandas and cars, in images. This means that\nvisual objects themselves cannot take any defensive actions, and they are still\nvulnerable to adversarial attacks. In contrast, letters are artificial symbols,\nand we can freely control their appearance unless losing their readability. In\nother words, we can make the letters more defensive to the attacks. This paper\nposes three research questions related to the adversarial vulnerability of\nletter images: (1) How defensive are the letters against adversarial attacks?\n(2) Can we estimate how defensive a given letter image is before attacks? (3)\nCan we control the letter images to be more defensive against adversarial\nattacks? For answering the first and second questions, we measure the\ndefensibility of letters by employing Iterative Fast Gradient Sign Method\n(I-FGSM) and then build a deep regression model for estimating the\ndefensibility of each letter image. We also propose a two-step method based on\na generative adversarial network (GAN) for generating character images with\nhigher defensibility, which solves the third research question.\n", "date": "2023-09-04", "categories": []} {"id": "2309.01620", "title": "Hindering Adversarial Attacks with Multiple Encrypted Patch Embeddings", "abstract": " In this paper, we propose a new key-based defense focusing on both efficiency\nand robustness. Although the previous key-based defense seems effective in\ndefending against adversarial examples, carefully designed adaptive attacks can\nbypass the previous defense, and it is difficult to train the previous defense\non large datasets like ImageNet. We build upon the previous defense with two\nmajor improvements: (1) efficient training and (2) optional randomization. The\nproposed defense utilizes one or more secret patch embeddings and classifier\nheads with a pre-trained isotropic network. When more than one secret\nembeddings are used, the proposed defense enables randomization on inference.\nExperiments were carried out on the ImageNet dataset, and the proposed defense\nwas evaluated against an arsenal of state-of-the-art attacks, including\nadaptive ones. The results show that the proposed defense achieves a high\nrobust accuracy and a comparable clean accuracy compared to the previous\nkey-based defense.\n", "date": "2023-09-04", "categories": []} {"id": "2309.01686", "title": "MathAttack: Attacking Large Language Models Towards Math Solving Ability", "abstract": " With the boom of Large Language Models (LLMs), the research of solving Math\nWord Problem (MWP) has recently made great progress. However, there are few\nstudies to examine the security of LLMs in math solving ability. Instead of\nattacking prompts in the use of LLMs, we propose a MathAttack model to attack\nMWP samples which are closer to the essence of security in solving math\nproblems. Compared to traditional text adversarial attack, it is essential to\npreserve the mathematical logic of original MWPs during the attacking. To this\nend, we propose logical entity recognition to identify logical entries which\nare then frozen. Subsequently, the remaining text are attacked by adopting a\nword-level attacker. Furthermore, we propose a new dataset RobustMath to\nevaluate the robustness of LLMs in math solving ability. Extensive experiments\non our RobustMath and two another math benchmark datasets GSM8K and MultiAirth\nshow that MathAttack could effectively attack the math solving ability of LLMs.\nIn the experiments, we observe that (1) Our adversarial samples from\nhigher-accuracy LLMs are also effective for attacking LLMs with lower accuracy\n(e.g., transfer from larger to smaller-size LLMs, or from few-shot to zero-shot\nprompts); (2) Complex MWPs (such as more solving steps, longer text, more\nnumbers) are more vulnerable to attack; (3) We can improve the robustness of\nLLMs by using our adversarial samples in few-shot prompts. Finally, we hope our\npractice and observation can serve as an important attempt towards enhancing\nthe robustness of LLMs in math solving ability. We will release our code and\ndataset.\n", "date": "2023-09-04", "categories": []} {"id": "2208.03160", "title": "Almost-Orthogonal Layers for Efficient General-Purpose Lipschitz\n Networks", "abstract": " It is a highly desirable property for deep networks to be robust against\nsmall input changes. One popular way to achieve this property is by designing\nnetworks with a small Lipschitz constant. In this work, we propose a new\ntechnique for constructing such Lipschitz networks that has a number of\ndesirable properties: it can be applied to any linear network layer\n(fully-connected or convolutional), it provides formal guarantees on the\nLipschitz constant, it is easy to implement and efficient to run, and it can be\ncombined with any training objective and optimization method. In fact, our\ntechnique is the first one in the literature that achieves all of these\nproperties simultaneously. Our main contribution is a rescaling-based weight\nmatrix parametrization that guarantees each network layer to have a Lipschitz\nconstant of at most 1 and results in the learned weight matrices to be close to\northogonal. Hence we call such layers almost-orthogonal Lipschitz (AOL).\nExperiments and ablation studies in the context of image classification with\ncertified robust accuracy confirm that AOL layers achieve results that are on\npar with most existing methods. Yet, they are simpler to implement and more\nbroadly applicable, because they do not require computationally expensive\nmatrix orthogonalization or inversion steps as part of the network\narchitecture. We provide code at https://github.com/berndprach/AOL.\n", "date": "2022-08-05", "categories": []} {"id": "2308.16258", "title": "Robust Principles: Architectural Design Principles for Adversarially\n Robust CNNs", "abstract": " Our research aims to unify existing works' diverging opinions on how\narchitectural components affect the adversarial robustness of CNNs. To\naccomplish our goal, we synthesize a suite of three generalizable robust\narchitectural design principles: (a) optimal range for depth and width\nconfigurations, (b) preferring convolutional over patchify stem stage, and (c)\nrobust residual block design through adopting squeeze and excitation blocks and\nnon-parametric smooth activation functions. Through extensive experiments\nacross a wide spectrum of dataset scales, adversarial training methods, model\nparameters, and network design spaces, our principles consistently and markedly\nimprove AutoAttack accuracy: 1-3 percentage points (pp) on CIFAR-10 and\nCIFAR-100, and 4-9 pp on ImageNet. The code is publicly available at\nhttps://github.com/poloclub/robust-principles.\n", "date": "2023-08-30", "categories": []} {"id": "2309.00254", "title": "Why do universal adversarial attacks work on large language models?:\n Geometry might be the answer", "abstract": " Transformer based large language models with emergent capabilities are\nbecoming increasingly ubiquitous in society. However, the task of understanding\nand interpreting their internal workings, in the context of adversarial\nattacks, remains largely unsolved. Gradient-based universal adversarial attacks\nhave been shown to be highly effective on large language models and potentially\ndangerous due to their input-agnostic nature. This work presents a novel\ngeometric perspective explaining universal adversarial attacks on large\nlanguage models. By attacking the 117M parameter GPT-2 model, we find evidence\nindicating that universal adversarial triggers could be embedding vectors which\nmerely approximate the semantic information in their adversarial training\nregion. This hypothesis is supported by white-box model analysis comprising\ndimensionality reduction and similarity measurement of hidden representations.\nWe believe this new geometric perspective on the underlying mechanism driving\nuniversal attacks could help us gain deeper insight into the internal workings\nand failure modes of LLMs, thus enabling their mitigation.\n", "date": "2023-09-01", "categories": []} {"id": "2301.04785", "title": "Phase-shifted Adversarial Training", "abstract": " Adversarial training has been considered an imperative component for safely\ndeploying neural network-based applications to the real world. To achieve\nstronger robustness, existing methods primarily focus on how to generate strong\nattacks by increasing the number of update steps, regularizing the models with\nthe smoothed loss function, and injecting the randomness into the attack.\nInstead, we analyze the behavior of adversarial training through the lens of\nresponse frequency. We empirically discover that adversarial training causes\nneural networks to have low convergence to high-frequency information,\nresulting in highly oscillated predictions near each data. To learn\nhigh-frequency contents efficiently and effectively, we first prove that a\nuniversal phenomenon of frequency principle, i.e., \\textit{lower frequencies\nare learned first}, still holds in adversarial training. Based on that, we\npropose phase-shifted adversarial training (PhaseAT) in which the model learns\nhigh-frequency components by shifting these frequencies to the low-frequency\nrange where the fast convergence occurs. For evaluations, we conduct the\nexperiments on CIFAR-10 and ImageNet with the adaptive attack carefully\ndesigned for reliable evaluation. Comprehensive results show that PhaseAT\nsignificantly improves the convergence for high-frequency information. This\nresults in improved adversarial robustness by enabling the model to have\nsmoothed predictions near each data.\n", "date": "2023-01-12", "categories": []} {"id": "2308.16454", "title": "Adversarial Finetuning with Latent Representation Constraint to Mitigate\n Accuracy-Robustness Tradeoff", "abstract": " This paper addresses the tradeoff between standard accuracy on clean examples\nand robustness against adversarial examples in deep neural networks (DNNs).\nAlthough adversarial training (AT) improves robustness, it degrades the\nstandard accuracy, thus yielding the tradeoff. To mitigate this tradeoff, we\npropose a novel AT method called ARREST, which comprises three components: (i)\nadversarial finetuning (AFT), (ii) representation-guided knowledge distillation\n(RGKD), and (iii) noisy replay (NR). AFT trains a DNN on adversarial examples\nby initializing its parameters with a DNN that is standardly pretrained on\nclean examples. RGKD and NR respectively entail a regularization term and an\nalgorithm to preserve latent representations of clean examples during AFT. RGKD\npenalizes the distance between the representations of the standardly pretrained\nand AFT DNNs. NR switches input adversarial examples to nonadversarial ones\nwhen the representation changes significantly during AFT. By combining these\ncomponents, ARREST achieves both high standard accuracy and robustness.\nExperimental results demonstrate that ARREST mitigates the tradeoff more\neffectively than previous AT-based methods do.\n", "date": "2023-08-31", "categories": []} {"id": "2308.15614", "title": "Everything Perturbed All at Once: Enabling Differentiable Graph Attacks", "abstract": " As powerful tools for representation learning on graphs, graph neural\nnetworks (GNNs) have played an important role in applications including social\nnetworks, recommendation systems, and online web services. However, GNNs have\nbeen shown to be vulnerable to adversarial attacks, which can significantly\ndegrade their effectiveness. Recent state-of-the-art approaches in adversarial\nattacks rely on gradient-based meta-learning to selectively perturb a single\nedge with the highest attack score until they reach the budget constraint.\nWhile effective in identifying vulnerable links, these methods are plagued by\nhigh computational costs. By leveraging continuous relaxation and\nparameterization of the graph structure, we propose a novel attack method\ncalled Differentiable Graph Attack (DGA) to efficiently generate effective\nattacks and meanwhile eliminate the need for costly retraining. Compared to the\nstate-of-the-art, DGA achieves nearly equivalent attack performance with 6\ntimes less training time and 11 times smaller GPU memory footprint on different\nbenchmark datasets. Additionally, we provide extensive experimental analyses of\nthe transferability of the DGA among different graph models, as well as its\nrobustness against widely-used defense mechanisms.\n", "date": "2023-08-29", "categories": []} {"id": "2302.12095", "title": "On the Robustness of ChatGPT: An Adversarial and Out-of-distribution\n Perspective", "abstract": " ChatGPT is a recent chatbot service released by OpenAI and is receiving\nincreasing attention over the past few months. While evaluations of various\naspects of ChatGPT have been done, its robustness, i.e., the performance to\nunexpected inputs, is still unclear to the public. Robustness is of particular\nconcern in responsible AI, especially for safety-critical applications. In this\npaper, we conduct a thorough evaluation of the robustness of ChatGPT from the\nadversarial and out-of-distribution (OOD) perspective. To do so, we employ the\nAdvGLUE and ANLI benchmarks to assess adversarial robustness and the Flipkart\nreview and DDXPlus medical diagnosis datasets for OOD evaluation. We select\nseveral popular foundation models as baselines. Results show that ChatGPT shows\nconsistent advantages on most adversarial and OOD classification and\ntranslation tasks. However, the absolute performance is far from perfection,\nwhich suggests that adversarial and OOD robustness remains a significant threat\nto foundation models. Moreover, ChatGPT shows astounding performance in\nunderstanding dialogue-related texts and we find that it tends to provide\ninformal suggestions for medical tasks instead of definitive answers. Finally,\nwe present in-depth discussions of possible research directions.\n", "date": "2023-02-22", "categories": []} {"id": "2308.14995", "title": "WSAM: Visual Explanations from Style Augmentation as Adversarial\n Attacker and Their Influence in Image Classification", "abstract": " Currently, style augmentation is capturing attention due to convolutional\nneural networks (CNN) being strongly biased toward recognizing textures rather\nthan shapes. Most existing styling methods either perform a low-fidelity style\ntransfer or a weak style representation in the embedding vector. This paper\noutlines a style augmentation algorithm using stochastic-based sampling with\nnoise addition to improving randomization on a general linear transformation\nfor style transfer. With our augmentation strategy, all models not only present\nincredible robustness against image stylizing but also outperform all previous\nmethods and surpass the state-of-the-art performance for the STL-10 dataset. In\naddition, we present an analysis of the model interpretations under different\nstyle variations. At the same time, we compare comprehensive experiments\ndemonstrating the performance when applied to deep neural architectures in\ntraining settings.\n", "date": "2023-08-29", "categories": []} {"id": "2308.15072", "title": "Advancing Adversarial Robustness Through Adversarial Logit Update", "abstract": " Deep Neural Networks are susceptible to adversarial perturbations.\nAdversarial training and adversarial purification are among the most widely\nrecognized defense strategies. Although these methods have different underlying\nlogic, both rely on absolute logit values to generate label predictions. In\nthis study, we theoretically analyze the logit difference around successful\nadversarial attacks from a theoretical point of view and propose a new\nprinciple, namely Adversarial Logit Update (ALU), to infer adversarial sample's\nlabels. Based on ALU, we introduce a new classification paradigm that utilizes\npre- and post-purification logit differences for model's adversarial robustness\nboost. Without requiring adversarial or additional data for model training, our\nclean data synthesis model can be easily applied to various pre-trained models\nfor both adversarial sample detection and ALU-based data classification.\nExtensive experiments on both CIFAR-10, CIFAR-100, and tiny-ImageNet datasets\nshow that even with simple components, the proposed solution achieves superior\nrobustness performance compared to state-of-the-art methods against a wide\nrange of adversarial attacks. Our python implementation is submitted in our\nSupplementary document and will be published upon the paper's acceptance.\n", "date": "2023-08-29", "categories": []} {"id": "2308.15092", "title": "Can We Rely on AI?", "abstract": " Over the last decade, adversarial attack algorithms have revealed\ninstabilities in deep learning tools. These algorithms raise issues regarding\nsafety, reliability and interpretability in artificial intelligence; especially\nin high risk settings. From a practical perspective, there has been a war of\nescalation between those developing attack and defence strategies. At a more\ntheoretical level, researchers have also studied bigger picture questions\nconcerning the existence and computability of attacks. Here we give a brief\noverview of the topic, focusing on aspects that are likely to be of interest to\nresearchers in applied and computational mathematics.\n", "date": "2023-08-29", "categories": []} {"id": "2308.15344", "title": "Imperceptible Adversarial Attack on Deep Neural Networks from Image\n Boundary", "abstract": " Although Deep Neural Networks (DNNs), such as the convolutional neural\nnetworks (CNN) and Vision Transformers (ViTs), have been successfully applied\nin the field of computer vision, they are demonstrated to be vulnerable to\nwell-sought Adversarial Examples (AEs) that can easily fool the DNNs. The\nresearch in AEs has been active, and many adversarial attacks and explanations\nhave been proposed since they were discovered in 2014. The mystery of the AE's\nexistence is still an open question, and many studies suggest that DNN training\nalgorithms have blind spots. The salient objects usually do not overlap with\nboundaries; hence, the boundaries are not the DNN model's attention.\nNevertheless, recent studies show that the boundaries can dominate the behavior\nof the DNN models. Hence, this study aims to look at the AEs from a different\nperspective and proposes an imperceptible adversarial attack that systemically\nattacks the input image boundary for finding the AEs. The experimental results\nhave shown that the proposed boundary attacking method effectively attacks six\nCNN models and the ViT using only 32% of the input image content (from the\nboundaries) with an average success rate (SR) of 95.2% and an average peak\nsignal-to-noise ratio of 41.37 dB. Correlation analyses are conducted,\nincluding the relation between the adversarial boundary's width and the SR and\nhow the adversarial boundary changes the DNN model's attention. This paper's\ndiscoveries can potentially advance the understanding of AEs and provide a\ndifferent perspective on how AEs can be constructed.\n", "date": "2023-08-29", "categories": []} {"id": "2209.15304", "title": "Hiding Visual Information via Obfuscating Adversarial Perturbations", "abstract": " Growing leakage and misuse of visual information raise security and privacy\nconcerns, which promotes the development of information protection. Existing\nadversarial perturbations-based methods mainly focus on the de-identification\nagainst deep learning models. However, the inherent visual information of the\ndata has not been well protected. In this work, inspired by the Type-I\nadversarial attack, we propose an adversarial visual information hiding method\nto protect the visual privacy of data. Specifically, the method generates\nobfuscating adversarial perturbations to obscure the visual information of the\ndata. Meanwhile, it maintains the hidden objectives to be correctly predicted\nby models. In addition, our method does not modify the parameters of the\napplied model, which makes it flexible for different scenarios. Experimental\nresults on the recognition and classification tasks demonstrate that the\nproposed method can effectively hide visual information and hardly affect the\nperformances of models. The code is available in the supplementary material.\n", "date": "2022-09-30", "categories": []} {"id": "2302.02092", "title": "Interpolation for Robust Learning: Data Augmentation on Wasserstein\n Geodesics", "abstract": " We propose to study and promote the robustness of a model as per its\nperformance through the interpolation of training data distributions.\nSpecifically, (1) we augment the data by finding the worst-case Wasserstein\nbarycenter on the geodesic connecting subpopulation distributions of different\ncategories. (2) We regularize the model for smoother performance on the\ncontinuous geodesic path connecting subpopulation distributions. (3)\nAdditionally, we provide a theoretical guarantee of robustness improvement and\ninvestigate how the geodesic location and the sample size contribute,\nrespectively. Experimental validations of the proposed strategy on\n\\textit{four} datasets, including CIFAR-100 and ImageNet, establish the\nefficacy of our method, e.g., our method improves the baselines' certifiable\nrobustness on CIFAR10 up to $7.7\\%$, with $16.8\\%$ on empirical robustness on\nCIFAR-100. Our work provides a new perspective of model robustness through the\nlens of Wasserstein geodesic-based interpolation with a practical off-the-shelf\nstrategy that can be combined with existing robust training methods.\n", "date": "2023-02-04", "categories": []} {"id": "2303.11917", "title": "Efficient Decision-based Black-box Patch Attacks on Video Recognition", "abstract": " Although Deep Neural Networks (DNNs) have demonstrated excellent performance,\nthey are vulnerable to adversarial patches that introduce perceptible and\nlocalized perturbations to the input. Generating adversarial patches on images\nhas received much attention, while adversarial patches on videos have not been\nwell investigated. Further, decision-based attacks, where attackers only access\nthe predicted hard labels by querying threat models, have not been well\nexplored on video models either, even if they are practical in real-world video\nrecognition scenes. The absence of such studies leads to a huge gap in the\nrobustness assessment for video models. To bridge this gap, this work first\nexplores decision-based patch attacks on video models. We analyze that the huge\nparameter space brought by videos and the minimal information returned by\ndecision-based models both greatly increase the attack difficulty and query\nburden. To achieve a query-efficient attack, we propose a spatial-temporal\ndifferential evolution (STDE) framework. First, STDE introduces target videos\nas patch textures and only adds patches on keyframes that are adaptively\nselected by temporal difference. Second, STDE takes minimizing the patch area\nas the optimization objective and adopts spatialtemporal mutation and crossover\nto search for the global optimum without falling into the local optimum.\nExperiments show STDE has demonstrated state-of-the-art performance in terms of\nthreat, efficiency and imperceptibility. Hence, STDE has the potential to be a\npowerful tool for evaluating the robustness of video recognition models.\n", "date": "2023-03-21", "categories": []} {"id": "2308.14333", "title": "DiffSmooth: Certifiably Robust Learning via Diffusion Models and Local\n Smoothing", "abstract": " Diffusion models have been leveraged to perform adversarial purification and\nthus provide both empirical and certified robustness for a standard model. On\nthe other hand, different robustly trained smoothed models have been studied to\nimprove the certified robustness. Thus, it raises a natural question: Can\ndiffusion model be used to achieve improved certified robustness on those\nrobustly trained smoothed models? In this work, we first theoretically show\nthat recovered instances by diffusion models are in the bounded neighborhood of\nthe original instance with high probability; and the \"one-shot\" denoising\ndiffusion probabilistic models (DDPM) can approximate the mean of the generated\ndistribution of a continuous-time diffusion model, which approximates the\noriginal instance under mild conditions. Inspired by our analysis, we propose a\ncertifiably robust pipeline DiffSmooth, which first performs adversarial\npurification via diffusion models and then maps the purified instances to a\ncommon region via a simple yet effective local smoothing strategy. We conduct\nextensive experiments on different datasets and show that DiffSmooth achieves\nSOTA-certified robustness compared with eight baselines. For instance,\nDiffSmooth improves the SOTA-certified accuracy from $36.0\\%$ to $53.0\\%$ under\n$\\ell_2$ radius $1.5$ on ImageNet. The code is available at\n[https://github.com/javyduck/DiffSmooth].\n", "date": "2023-08-28", "categories": []} {"id": "2308.14597", "title": "Adversarial Attacks on Foundational Vision Models", "abstract": " Rapid progress is being made in developing large, pretrained, task-agnostic\nfoundational vision models such as CLIP, ALIGN, DINOv2, etc. In fact, we are\napproaching the point where these models do not have to be finetuned\ndownstream, and can simply be used in zero-shot or with a lightweight probing\nhead. Critically, given the complexity of working at this scale, there is a\nbottleneck where relatively few organizations in the world are executing the\ntraining then sharing the models on centralized platforms such as HuggingFace\nand torch.hub. The goal of this work is to identify several key adversarial\nvulnerabilities of these models in an effort to make future designs more\nrobust. Intuitively, our attacks manipulate deep feature representations to\nfool an out-of-distribution (OOD) detector which will be required when using\nthese open-world-aware models to solve closed-set downstream tasks. Our methods\nreliably make in-distribution (ID) images (w.r.t. a downstream task) be\npredicted as OOD and vice versa while existing in extremely\nlow-knowledge-assumption threat models. We show our attacks to be potent in\nwhitebox and blackbox settings, as well as when transferred across foundational\nmodel types (e.g., attack DINOv2 with CLIP)! This work is only just the\nbeginning of a long journey towards adversarially robust foundational vision\nmodels.\n", "date": "2023-08-28", "categories": []} {"id": "2306.05952", "title": "Overcoming Adversarial Attacks for Human-in-the-Loop Applications", "abstract": " Including human analysis has the potential to positively affect the\nrobustness of Deep Neural Networks and is relatively unexplored in the\nAdversarial Machine Learning literature. Neural network visual explanation maps\nhave been shown to be prone to adversarial attacks. Further research is needed\nin order to select robust visualizations of explanations for the image analyst\nto evaluate a given model. These factors greatly impact Human-In-The-Loop\n(HITL) evaluation tools due to their reliance on adversarial images, including\nexplanation maps and measurements of robustness. We believe models of human\nvisual attention may improve interpretability and robustness of human-machine\nimagery analysis systems. Our challenge remains, how can HITL evaluation be\nrobust in this adversarial landscape?\n", "date": "2023-06-09", "categories": []} {"id": "2208.06228", "title": "Unifying Gradients to Improve Real-world Robustness for Deep Networks", "abstract": " The wide application of deep neural networks (DNNs) demands an increasing\namount of attention to their real-world robustness, i.e., whether a DNN resists\nblack-box adversarial attacks, among which score-based query attacks (SQAs) are\nmost threatening since they can effectively hurt a victim network with the only\naccess to model outputs. Defending against SQAs requires a slight but artful\nvariation of outputs due to the service purpose for users, who share the same\noutput information with SQAs. In this paper, we propose a real-world defense by\nUnifying Gradients (UniG) of different data so that SQAs could only probe a\nmuch weaker attack direction that is similar for different samples. Since such\nuniversal attack perturbations have been validated as less aggressive than the\ninput-specific perturbations, UniG protects real-world DNNs by indicating\nattackers a twisted and less informative attack direction. We implement UniG\nefficiently by a Hadamard product module which is plug-and-play. According to\nextensive experiments on 5 SQAs, 2 adaptive attacks and 7 defense baselines,\nUniG significantly improves real-world robustness without hurting clean\naccuracy on CIFAR10 and ImageNet. For instance, UniG maintains a model of\n77.80% accuracy under 2500-query Square attack while the state-of-the-art\nadversarially-trained model only has 67.34% on CIFAR10. Simultaneously, UniG\noutperforms all compared baselines in terms of clean accuracy and achieves the\nsmallest modification of the model output. The code is released at\nhttps://github.com/snowien/UniG-pytorch.\n", "date": "2022-08-12", "categories": []} {"id": "2308.11881", "title": "Adversarial Training Using Feedback Loops", "abstract": " Deep neural networks (DNN) have found wide applicability in numerous fields\ndue to their ability to accurately learn very complex input-output relations.\nDespite their accuracy and extensive use, DNNs are highly susceptible to\nadversarial attacks due to limited generalizability. For future progress in the\nfield, it is essential to build DNNs that are robust to any kind of\nperturbations to the data points. In the past, many techniques have been\nproposed to robustify DNNs using first-order derivative information of the\nnetwork.\n This paper proposes a new robustification approach based on control theory. A\nneural network architecture that incorporates feedback control, named Feedback\nNeural Networks, is proposed. The controller is itself a neural network, which\nis trained using regular and adversarial data such as to stabilize the system\noutputs. The novel adversarial training approach based on the feedback control\narchitecture is called Feedback Looped Adversarial Training (FLAT). Numerical\nresults on standard test problems empirically show that our FLAT method is more\neffective than the state-of-the-art to guard against adversarial attacks.\n", "date": "2023-08-23", "categories": []} {"id": "2308.12661", "title": "Don't Look into the Sun: Adversarial Solarization Attacks on Image\n Classifiers", "abstract": " Assessing the robustness of deep neural networks against out-of-distribution\ninputs is crucial, especially in safety-critical domains like autonomous\ndriving, but also in safety systems where malicious actors can digitally alter\ninputs to circumvent safety guards. However, designing effective\nout-of-distribution tests that encompass all possible scenarios while\npreserving accurate label information is a challenging task. Existing\nmethodologies often entail a compromise between variety and constraint levels\nfor attacks and sometimes even both. In a first step towards a more holistic\nrobustness evaluation of image classification models, we introduce an attack\nmethod based on image solarization that is conceptually straightforward yet\navoids jeopardizing the global structure of natural images independent of the\nintensity. Through comprehensive evaluations of multiple ImageNet models, we\ndemonstrate the attack's capacity to degrade accuracy significantly, provided\nit is not integrated into the training augmentations. Interestingly, even then,\nno full immunity to accuracy deterioration is achieved. In other settings, the\nattack can often be simplified into a black-box attack with model-independent\nparameters. Defenses against other corruptions do not consistently extend to be\neffective against our specific attack.\n Project website: https://github.com/paulgavrikov/adversarial_solarization\n", "date": "2023-08-24", "categories": []} {"id": "2308.12857", "title": "Fast Adversarial Training with Smooth Convergence", "abstract": " Fast adversarial training (FAT) is beneficial for improving the adversarial\nrobustness of neural networks. However, previous FAT work has encountered a\nsignificant issue known as catastrophic overfitting when dealing with large\nperturbation budgets, \\ie the adversarial robustness of models declines to near\nzero during training.\n To address this, we analyze the training process of prior FAT work and\nobserve that catastrophic overfitting is accompanied by the appearance of loss\nconvergence outliers.\n Therefore, we argue a moderately smooth loss convergence process will be a\nstable FAT process that solves catastrophic overfitting.\n To obtain a smooth loss convergence process, we propose a novel oscillatory\nconstraint (dubbed ConvergeSmooth) to limit the loss difference between\nadjacent epochs. The convergence stride of ConvergeSmooth is introduced to\nbalance convergence and smoothing. Likewise, we design weight centralization\nwithout introducing additional hyperparameters other than the loss balance\ncoefficient.\n Our proposed methods are attack-agnostic and thus can improve the training\nstability of various FAT techniques.\n Extensive experiments on popular datasets show that the proposed methods\nefficiently avoid catastrophic overfitting and outperform all previous FAT\nmethods. Code is available at \\url{https://github.com/FAT-CS/ConvergeSmooth}.\n", "date": "2023-08-24", "categories": []} {"id": "2308.12918", "title": "Evaluating the Vulnerabilities in ML systems in terms of adversarial\n attacks", "abstract": " There have been recent adversarial attacks that are difficult to find. These\nnew adversarial attacks methods may pose challenges to current deep learning\ncyber defense systems and could influence the future defense of cyberattacks.\nThe authors focus on this domain in this research paper. They explore the\nconsequences of vulnerabilities in AI systems. This includes discussing how\nthey might arise, differences between randomized and adversarial examples and\nalso potential ethical implications of vulnerabilities. Moreover, it is\nimportant to train the AI systems appropriately when they are in testing phase\nand getting them ready for broader use.\n", "date": "2023-08-24", "categories": []} {"id": "2308.11754", "title": "Multi-Instance Adversarial Attack on GNN-Based Malicious Domain\n Detection", "abstract": " Malicious domain detection (MDD) is an open security challenge that aims to\ndetect if an Internet domain is associated with cyber-attacks. Among many\napproaches to this problem, graph neural networks (GNNs) are deemed highly\neffective. GNN-based MDD uses DNS logs to represent Internet domains as nodes\nin a maliciousness graph (DMG) and trains a GNN to infer their maliciousness by\nleveraging identified malicious domains. Since this method relies on accessible\nDNS logs to construct DMGs, it exposes a vulnerability for adversaries to\nmanipulate their domain nodes' features and connections within DMGs. Existing\nresearch mainly concentrates on threat models that manipulate individual\nattacker nodes. However, adversaries commonly generate multiple domains to\nachieve their goals economically and avoid detection. Their objective is to\nevade discovery across as many domains as feasible. In this work, we call the\nattack that manipulates several nodes in the DMG concurrently a multi-instance\nevasion attack. We present theoretical and empirical evidence that the existing\nsingle-instance evasion techniques for are inadequate to launch multi-instance\nevasion attacks against GNN-based MDDs. Therefore, we introduce MintA, an\ninference-time multi-instance adversarial attack on GNN-based MDDs. MintA\nenhances node and neighborhood evasiveness through optimized perturbations and\noperates successfully with only black-box access to the target model,\neliminating the need for knowledge about the model's specifics or non-adversary\nnodes. We formulate an optimization challenge for MintA, achieving an\napproximate solution. Evaluating MintA on a leading GNN-based MDD technique\nwith real-world data showcases an attack success rate exceeding 80%. These\nfindings act as a warning for security experts, underscoring GNN-based MDDs'\nsusceptibility to practical attacks that can undermine their effectiveness and\nbenefits.\n", "date": "2023-08-22", "categories": []} {"id": "2308.11894", "title": "Does Physical Adversarial Example Really Matter to Autonomous Driving?\n Towards System-Level Effect of Adversarial Object Evasion Attack", "abstract": " In autonomous driving (AD), accurate perception is indispensable to achieving\nsafe and secure driving. Due to its safety-criticality, the security of AD\nperception has been widely studied. Among different attacks on AD perception,\nthe physical adversarial object evasion attacks are especially severe. However,\nwe find that all existing literature only evaluates their attack effect at the\ntargeted AI component level but not at the system level, i.e., with the entire\nsystem semantics and context such as the full AD pipeline. Thereby, this raises\na critical research question: can these existing researches effectively achieve\nsystem-level attack effects (e.g., traffic rule violations) in the real-world\nAD context? In this work, we conduct the first measurement study on whether and\nhow effectively the existing designs can lead to system-level effects,\nespecially for the STOP sign-evasion attacks due to their popularity and\nseverity. Our evaluation results show that all the representative prior works\ncannot achieve any system-level effects. We observe two design limitations in\nthe prior works: 1) physical model-inconsistent object size distribution in\npixel sampling and 2) lack of vehicle plant model and AD system model\nconsideration. Then, we propose SysAdv, a novel system-driven attack design in\nthe AD context and our evaluation results show that the system-level effects\ncan be significantly improved, i.e., the violation rate increases by around\n70%.\n", "date": "2023-08-23", "categories": []} {"id": "2308.12054", "title": "Sample Complexity of Robust Learning against Evasion Attacks", "abstract": " It is becoming increasingly important to understand the vulnerability of\nmachine learning models to adversarial attacks. One of the fundamental problems\nin adversarial machine learning is to quantify how much training data is needed\nin the presence of evasion attacks, where data is corrupted at test time. In\nthis thesis, we work with the exact-in-the-ball notion of robustness and study\nthe feasibility of adversarially robust learning from the perspective of\nlearning theory, considering sample complexity.\n We first explore the setting where the learner has access to random examples\nonly, and show that distributional assumptions are essential. We then focus on\nlearning problems with distributions on the input data that satisfy a Lipschitz\ncondition and show that robustly learning monotone conjunctions has sample\ncomplexity at least exponential in the adversary's budget (the maximum number\nof bits it can perturb on each input). However, if the adversary is restricted\nto perturbing $O(\\log n)$ bits, then one can robustly learn conjunctions and\ndecision lists w.r.t. log-Lipschitz distributions.\n We then study learning models where the learner is given more power. We first\nconsider local membership queries, where the learner can query the label of\npoints near the training sample. We show that, under the uniform distribution,\nthe exponential dependence on the adversary's budget to robustly learn\nconjunctions remains inevitable. We then introduce a local equivalence query\noracle, which returns whether the hypothesis and target concept agree in a\ngiven region around a point in the training sample, and a counterexample if it\nexists. We show that if the query radius is equal to the adversary's budget, we\ncan develop robust empirical risk minimization algorithms in the\ndistribution-free setting. We give general query complexity upper and lower\nbounds, as well as for concrete concept classes.\n", "date": "2023-08-23", "categories": []} {"id": "2308.12279", "title": "On-Manifold Projected Gradient Descent", "abstract": " This work provides a computable, direct, and mathematically rigorous\napproximation to the differential geometry of class manifolds for\nhigh-dimensional data, along with nonlinear projections from input space onto\nthese class manifolds. The tools are applied to the setting of neural network\nimage classifiers, where we generate novel, on-manifold data samples, and\nimplement a projected gradient descent algorithm for on-manifold adversarial\ntraining. The susceptibility of neural networks (NNs) to adversarial attack\nhighlights the brittle nature of NN decision boundaries in input space.\nIntroducing adversarial examples during training has been shown to reduce the\nsusceptibility of NNs to adversarial attack; however, it has also been shown to\nreduce the accuracy of the classifier if the examples are not valid examples\nfor that class. Realistic \"on-manifold\" examples have been previously generated\nfrom class manifolds in the latent of an autoencoder. Our work explores these\nphenomena in a geometric and computational setting that is much closer to the\nraw, high-dimensional input space than can be provided by VAE or other black\nbox dimensionality reductions. We employ conformally invariant diffusion maps\n(CIDM) to approximate class manifolds in diffusion coordinates, and develop the\nNystr\\\"{o}m projection to project novel points onto class manifolds in this\nsetting. On top of the manifold approximation, we leverage the spectral\nexterior calculus (SEC) to determine geometric quantities such as tangent\nvectors of the manifold. We use these tools to obtain adversarial examples that\nreside on a class manifold, yet fool a classifier. These misclassifications\nthen become explainable in terms of human-understandable manipulations within\nthe data, by expressing the on-manifold adversary in the semantic basis on the\nmanifold.\n", "date": "2023-08-23", "categories": []} {"id": "2308.10315", "title": "Improving Adversarial Robustness of Masked Autoencoders via Test-time\n Frequency-domain Prompting", "abstract": " In this paper, we investigate the adversarial robustness of vision\ntransformers that are equipped with BERT pretraining (e.g., BEiT, MAE). A\nsurprising observation is that MAE has significantly worse adversarial\nrobustness than other BERT pretraining methods. This observation drives us to\nrethink the basic differences between these BERT pretraining methods and how\nthese differences affect the robustness against adversarial perturbations. Our\nempirical analysis reveals that the adversarial robustness of BERT pretraining\nis highly related to the reconstruction target, i.e., predicting the raw pixels\nof masked image patches will degrade more adversarial robustness of the model\nthan predicting the semantic context, since it guides the model to concentrate\nmore on medium-/high-frequency components of images. Based on our analysis, we\nprovide a simple yet effective way to boost the adversarial robustness of MAE.\nThe basic idea is using the dataset-extracted domain knowledge to occupy the\nmedium-/high-frequency of images, thus narrowing the optimization space of\nadversarial perturbations. Specifically, we group the distribution of\npretraining data and optimize a set of cluster-specific visual prompts on\nfrequency domain. These prompts are incorporated with input images through\nprototype-based prompt selection during test period. Extensive evaluation shows\nthat our method clearly boost MAE's adversarial robustness while maintaining\nits clean performance on ImageNet-1k classification. Our code is available at:\nhttps://github.com/shikiw/RobustMAE.\n", "date": "2023-08-20", "categories": []} {"id": "2308.11443", "title": "Revisiting and Exploring Efficient Fast Adversarial Training via LAW:\n Lipschitz Regularization and Auto Weight Averaging", "abstract": " Fast Adversarial Training (FAT) not only improves the model robustness but\nalso reduces the training cost of standard adversarial training. However, fast\nadversarial training often suffers from Catastrophic Overfitting (CO), which\nresults in poor robustness performance. Catastrophic Overfitting describes the\nphenomenon of a sudden and significant decrease in robust accuracy during the\ntraining of fast adversarial training. Many effective techniques have been\ndeveloped to prevent Catastrophic Overfitting and improve the model robustness\nfrom different perspectives. However, these techniques adopt inconsistent\ntraining settings and require different training costs, i.e, training time and\nmemory costs, leading to unfair comparisons. In this paper, we conduct a\ncomprehensive study of over 10 fast adversarial training methods in terms of\nadversarial robustness and training costs. We revisit the effectiveness and\nefficiency of fast adversarial training techniques in preventing Catastrophic\nOverfitting from the perspective of model local nonlinearity and propose an\neffective Lipschitz regularization method for fast adversarial training.\nFurthermore, we explore the effect of data augmentation and weight averaging in\nfast adversarial training and propose a simple yet effective auto weight\naveraging method to improve robustness further. By assembling these techniques,\nwe propose a FGSM-based fast adversarial training method equipped with\nLipschitz regularization and Auto Weight averaging, abbreviated as FGSM-LAW.\nExperimental evaluations on four benchmark databases demonstrate the\nsuperiority of the proposed method over state-of-the-art fast adversarial\ntraining methods and the advanced standard adversarial training methods.\n", "date": "2023-08-22", "categories": []} {"id": "2208.05073", "title": "Adversarial Machine Learning-Based Anticipation of Threats Against\n Vehicle-to-Microgrid Services", "abstract": " In this paper, we study the expanding attack surface of Adversarial Machine\nLearning (AML) and the potential attacks against Vehicle-to-Microgrid (V2M)\nservices. We present an anticipatory study of a multi-stage gray-box attack\nthat can achieve a comparable result to a white-box attack. Adversaries aim to\ndeceive the targeted Machine Learning (ML) classifier at the network edge to\nmisclassify the incoming energy requests from microgrids. With an inference\nattack, an adversary can collect real-time data from the communication between\nsmart microgrids and a 5G gNodeB to train a surrogate (i.e., shadow) model of\nthe targeted classifier at the edge. To anticipate the associated impact of an\nadversary's capability to collect real-time data instances, we study five\ndifferent cases, each representing different amounts of real-time data\ninstances collected by an adversary. Out of six ML models trained on the\ncomplete dataset, K-Nearest Neighbour (K-NN) is selected as the surrogate\nmodel, and through simulations, we demonstrate that the multi-stage gray-box\nattack is able to mislead the ML classifier and cause an Evasion Increase Rate\n(EIR) up to 73.2% using 40% less data than what a white-box attack needs to\nachieve a similar EIR.\n", "date": "2022-08-09", "categories": []} {"id": "2307.16572", "title": "Transferable Attack for Semantic Segmentation", "abstract": " We analysis performance of semantic segmentation models wrt. adversarial\nattacks, and observe that the adversarial examples generated from a source\nmodel fail to attack the target models. i.e The conventional attack methods,\nsuch as PGD and FGSM, do not transfer well to target models, making it\nnecessary to study the transferable attacks, especially transferable attacks\nfor semantic segmentation. We find two main factors to achieve transferable\nattack. Firstly, the attack should come with effective data augmentation and\ntranslation-invariant features to deal with unseen models. Secondly, stabilized\noptimization strategies are needed to find the optimal attack direction. Based\non the above observations, we propose an ensemble attack for semantic\nsegmentation to achieve more effective attacks with higher transferability. The\nsource code and experimental results are publicly available via our project\npage: https://github.com/anucvers/TASS.\n", "date": "2023-07-31", "categories": []} {"id": "2308.09861", "title": "Black-box Adversarial Attacks against Dense Retrieval Models: A\n Multi-view Contrastive Learning Method", "abstract": " Neural ranking models (NRMs) and dense retrieval (DR) models have given rise\nto substantial improvements in overall retrieval performance. In addition to\ntheir effectiveness, and motivated by the proven lack of robustness of deep\nlearning-based approaches in other areas, there is growing interest in the\nrobustness of deep learning-based approaches to the core retrieval problem.\nAdversarial attack methods that have so far been developed mainly focus on\nattacking NRMs, with very little attention being paid to the robustness of DR\nmodels. In this paper, we introduce the adversarial retrieval attack (AREA)\ntask. The AREA task is meant to trick DR models into retrieving a target\ndocument that is outside the initial set of candidate documents retrieved by\nthe DR model in response to a query. We consider the decision-based black-box\nadversarial setting, which is realistic in real-world search engines. To\naddress the AREA task, we first employ existing adversarial attack methods\ndesigned for NRMs. We find that the promising results that have previously been\nreported on attacking NRMs, do not generalize to DR models: these methods\nunderperform a simple term spamming method. We attribute the observed lack of\ngeneralizability to the interaction-focused architecture of NRMs, which\nemphasizes fine-grained relevance matching. DR models follow a different\nrepresentation-focused architecture that prioritizes coarse-grained\nrepresentations. We propose to formalize attacks on DR models as a contrastive\nlearning problem in a multi-view representation space. The core idea is to\nencourage the consistency between each view representation of the target\ndocument and its corresponding viewer via view-wise supervision signals.\nExperimental results demonstrate that the proposed method can significantly\noutperform existing attack strategies in misleading the DR model with small\nindiscernible text perturbations.\n", "date": "2023-08-19", "categories": []} {"id": "2308.10110", "title": "Robust Mixture-of-Expert Training for Convolutional Neural Networks", "abstract": " Sparsely-gated Mixture of Expert (MoE), an emerging deep model architecture,\nhas demonstrated a great promise to enable high-accuracy and ultra-efficient\nmodel inference. Despite the growing popularity of MoE, little work\ninvestigated its potential to advance convolutional neural networks (CNNs),\nespecially in the plane of adversarial robustness. Since the lack of robustness\nhas become one of the main hurdles for CNNs, in this paper we ask: How to\nadversarially robustify a CNN-based MoE model? Can we robustly train it like an\nordinary CNN model? Our pilot study shows that the conventional adversarial\ntraining (AT) mechanism (developed for vanilla CNNs) no longer remains\neffective to robustify an MoE-CNN. To better understand this phenomenon, we\ndissect the robustness of an MoE-CNN into two dimensions: Robustness of routers\n(i.e., gating functions to select data-specific experts) and robustness of\nexperts (i.e., the router-guided pathways defined by the subnetworks of the\nbackbone CNN). Our analyses show that routers and experts are hard to adapt to\neach other in the vanilla AT. Thus, we propose a new router-expert alternating\nAdversarial training framework for MoE, termed AdvMoE. The effectiveness of our\nproposal is justified across 4 commonly-used CNN model architectures over 4\nbenchmark datasets. We find that AdvMoE achieves 1% ~ 4% adversarial robustness\nimprovement over the original dense CNN, and enjoys the efficiency merit of\nsparsity-gated MoE, leading to more than 50% inference cost reduction. Codes\nare available at https://github.com/OPTML-Group/Robust-MoE-CNN.\n", "date": "2023-08-19", "categories": []} {"id": "2308.10601", "title": "Improving the Transferability of Adversarial Examples with Arbitrary\n Style Transfer", "abstract": " Deep neural networks are vulnerable to adversarial examples crafted by\napplying human-imperceptible perturbations on clean inputs. Although many\nattack methods can achieve high success rates in the white-box setting, they\nalso exhibit weak transferability in the black-box setting. Recently, various\nmethods have been proposed to improve adversarial transferability, in which the\ninput transformation is one of the most effective methods. In this work, we\nnotice that existing input transformation-based works mainly adopt the\ntransformed data in the same domain for augmentation. Inspired by domain\ngeneralization, we aim to further improve the transferability using the data\naugmented from different domains. Specifically, a style transfer network can\nalter the distribution of low-level visual features in an image while\npreserving semantic content for humans. Hence, we propose a novel attack method\nnamed Style Transfer Method (STM) that utilizes a proposed arbitrary style\ntransfer network to transform the images into different domains. To avoid\ninconsistent semantic information of stylized images for the classification\nnetwork, we fine-tune the style transfer network and mix up the generated\nimages added by random noise with the original images to maintain semantic\nconsistency and boost input diversity. Extensive experimental results on the\nImageNet-compatible dataset show that our proposed method can significantly\nimprove the adversarial transferability on either normally trained models or\nadversarially trained models than state-of-the-art input transformation-based\nattacks. Code is available at: https://github.com/Zhijin-Ge/STM.\n", "date": "2023-08-21", "categories": []} {"id": "2308.10708", "title": "Measuring the Effect of Causal Disentanglement on the Adversarial\n Robustness of Neural Network Models", "abstract": " Causal Neural Network models have shown high levels of robustness to\nadversarial attacks as well as an increased capacity for generalisation tasks\nsuch as few-shot learning and rare-context classification compared to\ntraditional Neural Networks. This robustness is argued to stem from the\ndisentanglement of causal and confounder input signals. However, no\nquantitative study has yet measured the level of disentanglement achieved by\nthese types of causal models or assessed how this relates to their adversarial\nrobustness.\n Existing causal disentanglement metrics are not applicable to deterministic\nmodels trained on real-world datasets. We, therefore, utilise metrics of\ncontent/style disentanglement from the field of Computer Vision to measure\ndifferent aspects of the causal disentanglement for four state-of-the-art\ncausal Neural Network models. By re-implementing these models with a common\nResNet18 architecture we are able to fairly measure their adversarial\nrobustness on three standard image classification benchmarking datasets under\nseven common white-box attacks. We find a strong association (r=0.820, p=0.001)\nbetween the degree to which models decorrelate causal and confounder signals\nand their adversarial robustness. Additionally, we find a moderate negative\nassociation between the pixel-level information content of the confounder\nsignal and adversarial robustness (r=-0.597, p=0.040).\n", "date": "2023-08-21", "categories": []} {"id": "2308.10741", "title": "On the Adversarial Robustness of Multi-Modal Foundation Models", "abstract": " Multi-modal foundation models combining vision and language models such as\nFlamingo or GPT-4 have recently gained enormous interest. Alignment of\nfoundation models is used to prevent models from providing toxic or harmful\noutput. While malicious users have successfully tried to jailbreak foundation\nmodels, an equally important question is if honest users could be harmed by\nmalicious third-party content. In this paper we show that imperceivable attacks\non images in order to change the caption output of a multi-modal foundation\nmodel can be used by malicious content providers to harm honest users e.g. by\nguiding them to malicious websites or broadcast fake information. This\nindicates that countermeasures to adversarial attacks should be used by any\ndeployed multi-modal foundation model.\n", "date": "2023-08-21", "categories": []} {"id": "2212.05680", "title": "REAP: A Large-Scale Realistic Adversarial Patch Benchmark", "abstract": " Machine learning models are known to be susceptible to adversarial\nperturbation. One famous attack is the adversarial patch, a sticker with a\nparticularly crafted pattern that makes the model incorrectly predict the\nobject it is placed on. This attack presents a critical threat to\ncyber-physical systems that rely on cameras such as autonomous cars. Despite\nthe significance of the problem, conducting research in this setting has been\ndifficult; evaluating attacks and defenses in the real world is exceptionally\ncostly while synthetic data are unrealistic. In this work, we propose the REAP\n(REalistic Adversarial Patch) benchmark, a digital benchmark that allows the\nuser to evaluate patch attacks on real images, and under real-world conditions.\nBuilt on top of the Mapillary Vistas dataset, our benchmark contains over\n14,000 traffic signs. Each sign is augmented with a pair of geometric and\nlighting transformations, which can be used to apply a digitally generated\npatch realistically onto the sign. Using our benchmark, we perform the first\nlarge-scale assessments of adversarial patch attacks under realistic\nconditions. Our experiments suggest that adversarial patch attacks may present\na smaller threat than previously believed and that the success rate of an\nattack on simpler digital simulations is not predictive of its actual\neffectiveness in practice. We release our benchmark publicly at\nhttps://github.com/wagner-group/reap-benchmark.\n", "date": "2022-12-12", "categories": []} {"id": "2303.09495", "title": "Among Us: Adversarially Robust Collaborative Perception by Consensus", "abstract": " Multiple robots could perceive a scene (e.g., detect objects) collaboratively\nbetter than individuals, although easily suffer from adversarial attacks when\nusing deep learning. This could be addressed by the adversarial defense, but\nits training requires the often-unknown attacking mechanism. Differently, we\npropose ROBOSAC, a novel sampling-based defense strategy generalizable to\nunseen attackers. Our key idea is that collaborative perception should lead to\nconsensus rather than dissensus in results compared to individual perception.\nThis leads to our hypothesize-and-verify framework: perception results with and\nwithout collaboration from a random subset of teammates are compared until\nreaching a consensus. In such a framework, more teammates in the sampled subset\noften entail better perception performance but require longer sampling time to\nreject potential attackers. Thus, we derive how many sampling trials are needed\nto ensure the desired size of an attacker-free subset, or equivalently, the\nmaximum size of such a subset that we can successfully sample within a given\nnumber of trials. We validate our method on the task of collaborative 3D object\ndetection in autonomous driving scenarios.\n", "date": "2023-03-16", "categories": []} {"id": "2303.16633", "title": "Targeted Adversarial Attacks on Wind Power Forecasts", "abstract": " In recent years, researchers proposed a variety of deep learning models for\nwind power forecasting. These models predict the wind power generation of wind\nfarms or entire regions more accurately than traditional machine learning\nalgorithms or physical models. However, latest research has shown that deep\nlearning models can often be manipulated by adversarial attacks. Since wind\npower forecasts are essential for the stability of modern power systems, it is\nimportant to protect them from this threat. In this work, we investigate the\nvulnerability of two different forecasting models to targeted, semi-targeted,\nand untargeted adversarial attacks. We consider a Long Short-Term Memory (LSTM)\nnetwork for predicting the power generation of individual wind farms and a\nConvolutional Neural Network (CNN) for forecasting the wind power generation\nthroughout Germany. Moreover, we propose the Total Adversarial Robustness Score\n(TARS), an evaluation metric for quantifying the robustness of regression\nmodels to targeted and semi-targeted adversarial attacks. It assesses the\nimpact of attacks on the model's performance, as well as the extent to which\nthe attacker's goal was achieved, by assigning a score between 0 (very\nvulnerable) and 1 (very robust). In our experiments, the LSTM forecasting model\nwas fairly robust and achieved a TARS value of over 0.78 for all adversarial\nattacks investigated. The CNN forecasting model only achieved TARS values below\n0.10 when trained ordinarily, and was thus very vulnerable. Yet, its robustness\ncould be significantly improved by adversarial training, which always resulted\nin a TARS above 0.46.\n", "date": "2023-03-29", "categories": []} {"id": "2306.02618", "title": "Enhance Diffusion to Improve Robust Generalization", "abstract": " Deep neural networks are susceptible to human imperceptible adversarial\nperturbations. One of the strongest defense mechanisms is \\emph{Adversarial\nTraining} (AT). In this paper, we aim to address two predominant problems in\nAT. First, there is still little consensus on how to set hyperparameters with a\nperformance guarantee for AT research, and customized settings impede a fair\ncomparison between different model designs in AT research. Second, the robustly\ntrained neural networks struggle to generalize well and suffer from tremendous\noverfitting. This paper focuses on the primary AT framework - Projected\nGradient Descent Adversarial Training (PGD-AT). We approximate the dynamic of\nPGD-AT by a continuous-time Stochastic Differential Equation (SDE), and show\nthat the diffusion term of this SDE determines the robust generalization. An\nimmediate implication of this theoretical finding is that robust generalization\nis positively correlated with the ratio between learning rate and batch size.\nWe further propose a novel approach, \\emph{Diffusion Enhanced Adversarial\nTraining} (DEAT), to manipulate the diffusion term to improve robust\ngeneralization with virtually no extra computational burden. We theoretically\nshow that DEAT obtains a tighter generalization bound than PGD-AT. Our\nempirical investigation is extensive and firmly attests that DEAT universally\noutperforms PGD-AT by a significant margin.\n", "date": "2023-06-05", "categories": []} {"id": "2306.13213", "title": "Visual Adversarial Examples Jailbreak Aligned Large Language Models", "abstract": " Recently, there has been a surge of interest in integrating vision into Large\nLanguage Models (LLMs), exemplified by Visual Language Models (VLMs) such as\nFlamingo and GPT-4. This paper sheds light on the security and safety\nimplications of this trend. First, we underscore that the continuous and\nhigh-dimensional nature of the visual input makes it a weak link against\nadversarial attacks, representing an expanded attack surface of\nvision-integrated LLMs. Second, we highlight that the versatility of LLMs also\npresents visual attackers with a wider array of achievable adversarial\nobjectives, extending the implications of security failures beyond mere\nmisclassification. As an illustration, we present a case study in which we\nexploit visual adversarial examples to circumvent the safety guardrail of\naligned LLMs with integrated vision. Intriguingly, we discover that a single\nvisual adversarial example can universally jailbreak an aligned LLM, compelling\nit to heed a wide range of harmful instructions that it otherwise would not)\nand generate harmful content that transcends the narrow scope of a `few-shot'\nderogatory corpus initially employed to optimize the adversarial example. Our\nstudy underscores the escalating adversarial risks associated with the pursuit\nof multimodality. Our findings also connect the long-studied adversarial\nvulnerabilities of neural networks to the nascent field of AI alignment. The\npresented attack suggests a fundamental adversarial challenge for AI alignment,\nespecially in light of the emerging trend toward multimodality in frontier\nfoundation models.\n", "date": "2023-06-22", "categories": []} {"id": "2307.12507", "title": "Gradient-Based Word Substitution for Obstinate Adversarial Examples\n Generation in Language Models", "abstract": " In this paper, we study the problem of generating obstinate (over-stability)\nadversarial examples by word substitution in NLP, where input text is\nmeaningfully changed but the model's prediction does not, even though it\nshould. Previous word substitution approaches have predominantly focused on\nmanually designed antonym-based strategies for generating obstinate adversarial\nexamples, which hinders its application as these strategies can only find a\nsubset of obstinate adversarial examples and require human efforts. To address\nthis issue, in this paper, we introduce a novel word substitution method named\nGradObstinate, a gradient-based approach that automatically generates obstinate\nadversarial examples without any constraints on the search space or the need\nfor manual design principles. To empirically evaluate the efficacy of\nGradObstinate, we conduct comprehensive experiments on five representative\nmodels (Electra, ALBERT, Roberta, DistillBERT, and CLIP) finetuned on four NLP\nbenchmarks (SST-2, MRPC, SNLI, and SQuAD) and a language-grounding benchmark\n(MSCOCO). Extensive experiments show that our proposed GradObstinate generates\nmore powerful obstinate adversarial examples, exhibiting a higher attack\nsuccess rate compared to antonym-based methods. Furthermore, to show the\ntransferability of obstinate word substitutions found by GradObstinate, we\nreplace the words in four representative NLP benchmarks with their obstinate\nsubstitutions. Notably, obstinate substitutions exhibit a high success rate\nwhen transferred to other models in black-box settings, including even GPT-3\nand ChatGPT. Examples of obstinate adversarial examples found by GradObstinate\nare available at https://huggingface.co/spaces/anonauthors/SecretLanguage.\n", "date": "2023-07-24", "categories": []} {"id": "2308.05681", "title": "Hard No-Box Adversarial Attack on Skeleton-Based Human Action\n Recognition with Skeleton-Motion-Informed Gradient", "abstract": " Recently, methods for skeleton-based human activity recognition have been\nshown to be vulnerable to adversarial attacks. However, these attack methods\nrequire either the full knowledge of the victim (i.e. white-box attacks),\naccess to training data (i.e. transfer-based attacks) or frequent model queries\n(i.e. black-box attacks). All their requirements are highly restrictive,\nraising the question of how detrimental the vulnerability is. In this paper, we\nshow that the vulnerability indeed exists. To this end, we consider a new\nattack task: the attacker has no access to the victim model or the training\ndata or labels, where we coin the term hard no-box attack. Specifically, we\nfirst learn a motion manifold where we define an adversarial loss to compute a\nnew gradient for the attack, named skeleton-motion-informed (SMI) gradient. Our\ngradient contains information of the motion dynamics, which is different from\nexisting gradient-based attack methods that compute the loss gradient assuming\neach dimension in the data is independent. The SMI gradient can augment many\ngradient-based attack methods, leading to a new family of no-box attack\nmethods. Extensive evaluation and comparison show that our method imposes a\nreal threat to existing classifiers. They also show that the SMI gradient\nimproves the transferability and imperceptibility of adversarial samples in\nboth no-box and transfer-based black-box settings.\n", "date": "2023-08-10", "categories": []} {"id": "2308.08709", "title": "Dynamic Neural Network is All You Need: Understanding the Robustness of\n Dynamic Mechanisms in Neural Networks", "abstract": " Deep Neural Networks (DNNs) have been used to solve different day-to-day\nproblems. Recently, DNNs have been deployed in real-time systems, and lowering\nthe energy consumption and response time has become the need of the hour. To\naddress this scenario, researchers have proposed incorporating dynamic\nmechanism to static DNNs (SDNN) to create Dynamic Neural Networks (DyNNs)\nperforming dynamic amounts of computation based on the input complexity.\nAlthough incorporating dynamic mechanism into SDNNs would be preferable in\nreal-time systems, it also becomes important to evaluate how the introduction\nof dynamic mechanism impacts the robustness of the models. However, there has\nnot been a significant number of works focusing on the robustness trade-off\nbetween SDNNs and DyNNs. To address this issue, we propose to investigate the\nrobustness of dynamic mechanism in DyNNs and how dynamic mechanism design\nimpacts the robustness of DyNNs. For that purpose, we evaluate three research\nquestions. These evaluations are performed on three models and two datasets.\nThrough the studies, we find that attack transferability from DyNNs to SDNNs is\nhigher than attack transferability from SDNNs to DyNNs. Also, we find that\nDyNNs can be used to generate adversarial samples more efficiently than SDNNs.\nThen, through research studies, we provide insight into the design choices that\ncan increase robustness of DyNNs against the attack generated using static\nmodel. Finally, we propose a novel attack to understand the additional attack\nsurface introduced by the dynamic mechanism and provide design choices to\nimprove robustness against the attack.\n", "date": "2023-08-17", "categories": []} {"id": "2308.07009", "title": "ACTIVE: Towards Highly Transferable 3D Physical Camouflage for Universal\n and Robust Vehicle Evasion", "abstract": " Adversarial camouflage has garnered attention for its ability to attack\nobject detectors from any viewpoint by covering the entire object's surface.\nHowever, universality and robustness in existing methods often fall short as\nthe transferability aspect is often overlooked, thus restricting their\napplication only to a specific target with limited performance. To address\nthese challenges, we present Adversarial Camouflage for Transferable and\nIntensive Vehicle Evasion (ACTIVE), a state-of-the-art physical camouflage\nattack framework designed to generate universal and robust adversarial\ncamouflage capable of concealing any 3D vehicle from detectors. Our framework\nincorporates innovative techniques to enhance universality and robustness,\nincluding a refined texture rendering that enables common texture application\nto different vehicles without being constrained to a specific texture map, a\nnovel stealth loss that renders the vehicle undetectable, and a smooth and\ncamouflage loss to enhance the naturalness of the adversarial camouflage. Our\nextensive experiments on 15 different models show that ACTIVE consistently\noutperforms existing works on various public detectors, including the latest\nYOLOv7. Notably, our universality evaluations reveal promising transferability\nto other vehicle classes, tasks (segmentation models), and the real world, not\njust other vehicles.\n", "date": "2023-08-14", "categories": []} {"id": "2308.08160", "title": "Benchmarking Adversarial Robustness of Compressed Deep Learning Models", "abstract": " The increasing size of Deep Neural Networks (DNNs) poses a pressing need for\nmodel compression, particularly when employed on resource constrained devices.\nConcurrently, the susceptibility of DNNs to adversarial attacks presents\nanother significant hurdle. Despite substantial research on both model\ncompression and adversarial robustness, their joint examination remains\nunderexplored. Our study bridges this gap, seeking to understand the effect of\nadversarial inputs crafted for base models on their pruned versions. To examine\nthis relationship, we have developed a comprehensive benchmark across diverse\nadversarial attacks and popular DNN models. We uniquely focus on models not\npreviously exposed to adversarial training and apply pruning schemes optimized\nfor accuracy and performance. Our findings reveal that while the benefits of\npruning enhanced generalizability, compression, and faster inference times are\npreserved, adversarial robustness remains comparable to the base model. This\nsuggests that model compression while offering its unique advantages, does not\nundermine adversarial robustness.\n", "date": "2023-08-16", "categories": []} {"id": "2206.08242", "title": "Catastrophic overfitting can be induced with discriminative non-robust\n features", "abstract": " Adversarial training (AT) is the de facto method for building robust neural\nnetworks, but it can be computationally expensive. To mitigate this, fast\nsingle-step attacks can be used, but this may lead to catastrophic overfitting\n(CO). This phenomenon appears when networks gain non-trivial robustness during\nthe first stages of AT, but then reach a breaking point where they become\nvulnerable in just a few iterations. The mechanisms that lead to this failure\nmode are still poorly understood. In this work, we study the onset of CO in\nsingle-step AT methods through controlled modifications of typical datasets of\nnatural images. In particular, we show that CO can be induced at much smaller\n$\\epsilon$ values than it was observed before just by injecting images with\nseemingly innocuous features. These features aid non-robust classification but\nare not enough to achieve robustness on their own. Through extensive\nexperiments we analyze this novel phenomenon and discover that the presence of\nthese easy features induces a learning shortcut that leads to CO. Our findings\nprovide new insights into the mechanisms of CO and improve our understanding of\nthe dynamics of AT. The code to reproduce our experiments can be found at\nhttps://github.com/gortizji/co_features.\n", "date": "2022-06-16", "categories": []} {"id": "2207.12391", "title": "SegPGD: An Effective and Efficient Adversarial Attack for Evaluating and\n Boosting Segmentation Robustness", "abstract": " Deep neural network-based image classifications are vulnerable to adversarial\nperturbations. The image classifications can be easily fooled by adding\nartificial small and imperceptible perturbations to input images. As one of the\nmost effective defense strategies, adversarial training was proposed to address\nthe vulnerability of classification models, where the adversarial examples are\ncreated and injected into training data during training. The attack and defense\nof classification models have been intensively studied in past years. Semantic\nsegmentation, as an extension of classifications, has also received great\nattention recently. Recent work shows a large number of attack iterations are\nrequired to create effective adversarial examples to fool segmentation models.\nThe observation makes both robustness evaluation and adversarial training on\nsegmentation models challenging. In this work, we propose an effective and\nefficient segmentation attack method, dubbed SegPGD. Besides, we provide a\nconvergence analysis to show the proposed SegPGD can create more effective\nadversarial examples than PGD under the same number of attack iterations.\nFurthermore, we propose to apply our SegPGD as the underlying attack method for\nsegmentation adversarial training. Since SegPGD can create more effective\nadversarial examples, the adversarial training with our SegPGD can boost the\nrobustness of segmentation models. Our proposals are also verified with\nexperiments on popular Segmentation model architectures and standard\nsegmentation datasets.\n", "date": "2022-07-25", "categories": []} {"id": "2308.07546", "title": "3DHacker: Spectrum-based Decision Boundary Generation for Hard-label 3D\n Point Cloud Attack", "abstract": " With the maturity of depth sensors, the vulnerability of 3D point cloud\nmodels has received increasing attention in various applications such as\nautonomous driving and robot navigation. Previous 3D adversarial attackers\neither follow the white-box setting to iteratively update the coordinate\nperturbations based on gradients, or utilize the output model logits to\nestimate noisy gradients in the black-box setting. However, these attack\nmethods are hard to be deployed in real-world scenarios since realistic 3D\napplications will not share any model details to users. Therefore, we explore a\nmore challenging yet practical 3D attack setting, \\textit{i.e.}, attacking\npoint clouds with black-box hard labels, in which the attacker can only have\naccess to the prediction label of the input. To tackle this setting, we propose\na novel 3D attack method, termed \\textbf{3D} \\textbf{H}ard-label\natt\\textbf{acker} (\\textbf{3DHacker}), based on the developed decision boundary\nalgorithm to generate adversarial samples solely with the knowledge of class\nlabels. Specifically, to construct the class-aware model decision boundary,\n3DHacker first randomly fuses two point clouds of different classes in the\nspectral domain to craft their intermediate sample with high imperceptibility,\nthen projects it onto the decision boundary via binary search. To restrict the\nfinal perturbation size, 3DHacker further introduces an iterative optimization\nstrategy to move the intermediate sample along the decision boundary for\ngenerating adversarial point clouds with smallest trivial perturbations.\nExtensive evaluations show that, even in the challenging hard-label setting,\n3DHacker still competitively outperforms existing 3D attacks regarding the\nattack performance as well as adversary quality.\n", "date": "2023-08-15", "categories": []} {"id": "2308.07625", "title": "Backpropagation Path Search On Adversarial Transferability", "abstract": " Deep neural networks are vulnerable to adversarial examples, dictating the\nimperativeness to test the model's robustness before deployment. Transfer-based\nattackers craft adversarial examples against surrogate models and transfer them\nto victim models deployed in the black-box situation. To enhance the\nadversarial transferability, structure-based attackers adjust the\nbackpropagation path to avoid the attack from overfitting the surrogate model.\nHowever, existing structure-based attackers fail to explore the convolution\nmodule in CNNs and modify the backpropagation graph heuristically, leading to\nlimited effectiveness. In this paper, we propose backPropagation pAth Search\n(PAS), solving the aforementioned two problems. We first propose SkipConv to\nadjust the backpropagation path of convolution by structural\nreparameterization. To overcome the drawback of heuristically designed\nbackpropagation paths, we further construct a DAG-based search space, utilize\none-step approximation for path evaluation and employ Bayesian Optimization to\nsearch for the optimal path. We conduct comprehensive experiments in a wide\nrange of transfer settings, showing that PAS improves the attack success rate\nby a huge margin for both normally trained and defense models.\n", "date": "2023-08-15", "categories": []} {"id": "2308.07673", "title": "A Review of Adversarial Attacks in Computer Vision", "abstract": " Deep neural networks have been widely used in various downstream tasks,\nespecially those safety-critical scenario such as autonomous driving, but deep\nnetworks are often threatened by adversarial samples. Such adversarial attacks\ncan be invisible to human eyes, but can lead to DNN misclassification, and\noften exhibits transferability between deep learning and machine learning\nmodels and real-world achievability. Adversarial attacks can be divided into\nwhite-box attacks, for which the attacker knows the parameters and gradient of\nthe model, and black-box attacks, for the latter, the attacker can only obtain\nthe input and output of the model. In terms of the attacker's purpose, it can\nbe divided into targeted attacks and non-targeted attacks, which means that the\nattacker wants the model to misclassify the original sample into the specified\nclass, which is more practical, while the non-targeted attack just needs to\nmake the model misclassify the sample. The black box setting is a scenario we\nwill encounter in practice.\n", "date": "2023-08-15", "categories": []} {"id": "2308.07874", "title": "SEDA: Self-Ensembling ViT with Defensive Distillation and Adversarial\n Training for robust Chest X-rays Classification", "abstract": " Deep Learning methods have recently seen increased adoption in medical\nimaging applications. However, elevated vulnerabilities have been explored in\nrecent Deep Learning solutions, which can hinder future adoption. Particularly,\nthe vulnerability of Vision Transformer (ViT) to adversarial, privacy, and\nconfidentiality attacks raise serious concerns about their reliability in\nmedical settings. This work aims to enhance the robustness of self-ensembling\nViTs for the tuberculosis chest x-ray classification task. We propose\nSelf-Ensembling ViT with defensive Distillation and Adversarial training\n(SEDA). SEDA utilizes efficient CNN blocks to learn spatial features with\nvarious levels of abstraction from feature representations extracted from\nintermediate ViT blocks, that are largely unaffected by adversarial\nperturbations. Furthermore, SEDA leverages adversarial training in combination\nwith defensive distillation for improved robustness against adversaries.\nTraining using adversarial examples leads to better model generalizability and\nimproves its ability to handle perturbations. Distillation using soft\nprobabilities introduces uncertainty and variation into the output\nprobabilities, making it more difficult for adversarial and privacy attacks.\nExtensive experiments performed with the proposed architecture and training\nparadigm on publicly available Tuberculosis x-ray dataset shows SOTA efficacy\nof SEDA compared to SEViT in terms of computational efficiency with 70x times\nlighter framework and enhanced robustness of +9%.\n", "date": "2023-08-15", "categories": []} {"id": "2303.04980", "title": "Decision-BADGE: Decision-based Adversarial Batch Attack with Directional\n Gradient Estimation", "abstract": " The susceptibility of deep neural networks (DNNs) to adversarial examples has\nprompted an increase in the deployment of adversarial attacks. Image-agnostic\nuniversal adversarial perturbations (UAPs) are much more threatening, but many\nlimitations exist to implementing UAPs in real-world scenarios where only\nbinary decisions are returned. In this research, we propose Decision-BADGE, a\nnovel method to craft universal adversarial perturbations for executing\ndecision-based black-box attacks. To optimize perturbation with decisions, we\naddressed two challenges, namely the magnitude and the direction of the\ngradient. First, we use batch loss, differences from distributions of ground\ntruth, and accumulating decisions in batches to determine the magnitude of the\ngradient. This magnitude is applied in the direction of the revised\nsimultaneous perturbation stochastic approximation (SPSA) to update the\nperturbation. This simple yet efficient method can be easily extended to\nscore-based attacks as well as targeted attacks. Experimental validation across\nmultiple victim models demonstrates that the Decision-BADGE outperforms\nexisting attack methods, even image-specific and score-based attacks. In\nparticular, our proposed method shows a superior success rate with less\ntraining time. The research also shows that Decision-BADGE can successfully\ndeceive unseen victim models and accurately target specific classes.\n", "date": "2023-03-09", "categories": []} {"id": "2307.12280", "title": "Downstream-agnostic Adversarial Examples", "abstract": " Self-supervised learning usually uses a large amount of unlabeled data to\npre-train an encoder which can be used as a general-purpose feature extractor,\nsuch that downstream users only need to perform fine-tuning operations to enjoy\nthe benefit of \"large model\". Despite this promising prospect, the security of\npre-trained encoder has not been thoroughly investigated yet, especially when\nthe pre-trained encoder is publicly available for commercial use.\n In this paper, we propose AdvEncoder, the first framework for generating\ndownstream-agnostic universal adversarial examples based on the pre-trained\nencoder. AdvEncoder aims to construct a universal adversarial perturbation or\npatch for a set of natural images that can fool all the downstream tasks\ninheriting the victim pre-trained encoder. Unlike traditional adversarial\nexample works, the pre-trained encoder only outputs feature vectors rather than\nclassification labels. Therefore, we first exploit the high frequency component\ninformation of the image to guide the generation of adversarial examples. Then\nwe design a generative attack framework to construct adversarial\nperturbations/patches by learning the distribution of the attack surrogate\ndataset to improve their attack success rates and transferability. Our results\nshow that an attacker can successfully attack downstream tasks without knowing\neither the pre-training dataset or the downstream dataset. We also tailor four\ndefenses for pre-trained encoders, the results of which further prove the\nattack ability of AdvEncoder.\n", "date": "2023-07-23", "categories": []} {"id": "2308.06467", "title": "Not So Robust After All: Evaluating the Robustness of Deep Neural\n Networks to Unseen Adversarial Attacks", "abstract": " Deep neural networks (DNNs) have gained prominence in various applications,\nsuch as classification, recognition, and prediction, prompting increased\nscrutiny of their properties. A fundamental attribute of traditional DNNs is\ntheir vulnerability to modifications in input data, which has resulted in the\ninvestigation of adversarial attacks. These attacks manipulate the data in\norder to mislead a DNN. This study aims to challenge the efficacy and\ngeneralization of contemporary defense mechanisms against adversarial attacks.\nSpecifically, we explore the hypothesis proposed by Ilyas et. al, which posits\nthat DNN image features can be either robust or non-robust, with adversarial\nattacks targeting the latter. This hypothesis suggests that training a DNN on a\ndataset consisting solely of robust features should produce a model resistant\nto adversarial attacks. However, our experiments demonstrate that this is not\nuniversally true. To gain further insights into our findings, we analyze the\nimpact of adversarial attack norms on DNN representations, focusing on samples\nsubjected to $L_2$ and $L_{\\infty}$ norm attacks. Further, we employ canonical\ncorrelation analysis, visualize the representations, and calculate the mean\ndistance between these representations and various DNN decision boundaries. Our\nresults reveal a significant difference between $L_2$ and $L_{\\infty}$ norms,\nwhich could provide insights into the potential dangers posed by $L_{\\infty}$\nnorm attacks, previously underestimated by the research community.\n", "date": "2023-08-12", "categories": []} {"id": "2308.06612", "title": "On the Interplay of Convolutional Padding and Adversarial Robustness", "abstract": " It is common practice to apply padding prior to convolution operations to\npreserve the resolution of feature-maps in Convolutional Neural Networks (CNN).\nWhile many alternatives exist, this is often achieved by adding a border of\nzeros around the inputs. In this work, we show that adversarial attacks often\nresult in perturbation anomalies at the image boundaries, which are the areas\nwhere padding is used. Consequently, we aim to provide an analysis of the\ninterplay between padding and adversarial attacks and seek an answer to the\nquestion of how different padding modes (or their absence) affect adversarial\nrobustness in various scenarios.\n", "date": "2023-08-12", "categories": []} {"id": "2308.07026", "title": "AdvCLIP: Downstream-agnostic Adversarial Examples in Multimodal\n Contrastive Learning", "abstract": " Multimodal contrastive learning aims to train a general-purpose feature\nextractor, such as CLIP, on vast amounts of raw, unlabeled paired image-text\ndata. This can greatly benefit various complex downstream tasks, including\ncross-modal image-text retrieval and image classification. Despite its\npromising prospect, the security issue of cross-modal pre-trained encoder has\nnot been fully explored yet, especially when the pre-trained encoder is\npublicly available for commercial use.\n In this work, we propose AdvCLIP, the first attack framework for generating\ndownstream-agnostic adversarial examples based on cross-modal pre-trained\nencoders. AdvCLIP aims to construct a universal adversarial patch for a set of\nnatural images that can fool all the downstream tasks inheriting the victim\ncross-modal pre-trained encoder. To address the challenges of heterogeneity\nbetween different modalities and unknown downstream tasks, we first build a\ntopological graph structure to capture the relevant positions between target\nsamples and their neighbors. Then, we design a topology-deviation based\ngenerative adversarial network to generate a universal adversarial patch. By\nadding the patch to images, we minimize their embeddings similarity to\ndifferent modality and perturb the sample distribution in the feature space,\nachieving unviersal non-targeted attacks. Our results demonstrate the excellent\nattack performance of AdvCLIP on two types of downstream tasks across eight\ndatasets. We also tailor three popular defenses to mitigate AdvCLIP,\nhighlighting the need for new defense mechanisms to defend cross-modal\npre-trained encoders.\n", "date": "2023-08-14", "categories": []} {"id": "2207.04129", "title": "How many perturbations break this model? Evaluating robustness beyond\n adversarial accuracy", "abstract": " Robustness to adversarial attacks is typically evaluated with adversarial\naccuracy. While essential, this metric does not capture all aspects of\nrobustness and in particular leaves out the question of how many perturbations\ncan be found for each point. In this work, we introduce an alternative\napproach, adversarial sparsity, which quantifies how difficult it is to find a\nsuccessful perturbation given both an input point and a constraint on the\ndirection of the perturbation. We show that sparsity provides valuable insight\ninto neural networks in multiple ways: for instance, it illustrates important\ndifferences between current state-of-the-art robust models them that accuracy\nanalysis does not, and suggests approaches for improving their robustness. When\napplying broken defenses effective against weak attacks but not strong ones,\nsparsity can discriminate between the totally ineffective and the partially\neffective defenses. Finally, with sparsity we can measure increases in\nrobustness that do not affect accuracy: we show for example that data\naugmentation can by itself increase adversarial robustness, without using\nadversarial training.\n", "date": "2022-07-08", "categories": []} {"id": "2210.17316", "title": "There is more than one kind of robustness: Fooling Whisper with\n adversarial examples", "abstract": " Whisper is a recent Automatic Speech Recognition (ASR) model displaying\nimpressive robustness to both out-of-distribution inputs and random noise. In\nthis work, we show that this robustness does not carry over to adversarial\nnoise. We show that we can degrade Whisper performance dramatically, or even\ntranscribe a target sentence of our choice, by generating very small input\nperturbations with Signal Noise Ratio of 35-45dB. We also show that by fooling\nthe Whisper language detector we can very easily degrade the performance of\nmultilingual models. These vulnerabilities of a widely popular open-source\nmodel have practical security implications and emphasize the need for\nadversarially robust ASR.\n", "date": "2022-10-26", "categories": []} {"id": "2303.15109", "title": "Improving the Transferability of Adversarial Examples via Direction\n Tuning", "abstract": " In the transfer-based adversarial attacks, adversarial examples are only\ngenerated by the surrogate models and achieve effective perturbation in the\nvictim models. Although considerable efforts have been developed on improving\nthe transferability of adversarial examples generated by transfer-based\nadversarial attacks, our investigation found that, the big deviation between\nthe actual and steepest update directions of the current transfer-based\nadversarial attacks is caused by the large update step length, resulting in the\ngenerated adversarial examples can not converge well. However, directly\nreducing the update step length will lead to serious update oscillation so that\nthe generated adversarial examples also can not achieve great transferability\nto the victim models. To address these issues, a novel transfer-based attack,\nnamely direction tuning attack, is proposed to not only decrease the update\ndeviation in the large step length, but also mitigate the update oscillation in\nthe small sampling step length, thereby making the generated adversarial\nexamples converge well to achieve great transferability on victim models. In\naddition, a network pruning method is proposed to smooth the decision boundary,\nthereby further decreasing the update oscillation and enhancing the\ntransferability of the generated adversarial examples. The experiment results\non ImageNet demonstrate that the average attack success rate (ASR) of the\nadversarial examples generated by our method can be improved from 87.9\\% to\n94.5\\% on five victim models without defenses, and from 69.1\\% to 76.2\\% on\neight advanced defense methods, in comparison with that of latest\ngradient-based attacks.\n", "date": "2023-03-27", "categories": []} {"id": "2308.06015", "title": "Enhancing Generalization of Universal Adversarial Perturbation through\n Gradient Aggregation", "abstract": " Deep neural networks are vulnerable to universal adversarial perturbation\n(UAP), an instance-agnostic perturbation capable of fooling the target model\nfor most samples. Compared to instance-specific adversarial examples, UAP is\nmore challenging as it needs to generalize across various samples and models.\nIn this paper, we examine the serious dilemma of UAP generation methods from a\ngeneralization perspective -- the gradient vanishing problem using small-batch\nstochastic gradient optimization and the local optima problem using large-batch\noptimization. To address these problems, we propose a simple and effective\nmethod called Stochastic Gradient Aggregation (SGA), which alleviates the\ngradient vanishing and escapes from poor local optima at the same time.\nSpecifically, SGA employs the small-batch training to perform multiple\niterations of inner pre-search. Then, all the inner gradients are aggregated as\na one-step gradient estimation to enhance the gradient stability and reduce\nquantization errors. Extensive experiments on the standard ImageNet dataset\ndemonstrate that our method significantly enhances the generalization ability\nof UAP and outperforms other state-of-the-art methods. The code is available at\nhttps://github.com/liuxuannan/Stochastic-Gradient-Aggregation.\n", "date": "2023-08-11", "categories": []} {"id": "2308.06173", "title": "Physical Adversarial Attacks For Camera-based Smart Systems: Current\n Trends, Categorization, Applications, Research Challenges, and Future Outlook", "abstract": " In this paper, we present a comprehensive survey of the current trends\nfocusing specifically on physical adversarial attacks. We aim to provide a\nthorough understanding of the concept of physical adversarial attacks,\nanalyzing their key characteristics and distinguishing features. Furthermore,\nwe explore the specific requirements and challenges associated with executing\nattacks in the physical world. Our article delves into various physical\nadversarial attack methods, categorized according to their target tasks in\ndifferent applications, including classification, detection, face recognition,\nsemantic segmentation and depth estimation. We assess the performance of these\nattack methods in terms of their effectiveness, stealthiness, and robustness.\nWe examine how each technique strives to ensure the successful manipulation of\nDNNs while mitigating the risk of detection and withstanding real-world\ndistortions. Lastly, we discuss the current challenges and outline potential\nfuture research directions in the field of physical adversarial attacks. We\nhighlight the need for enhanced defense mechanisms, the exploration of novel\nattack strategies, the evaluation of attacks in different application domains,\nand the establishment of standardized benchmarks and evaluation criteria for\nphysical adversarial attacks. Through this comprehensive survey, we aim to\nprovide a valuable resource for researchers, practitioners, and policymakers to\ngain a holistic understanding of physical adversarial attacks in computer\nvision and facilitate the development of robust and secure DNN-based systems.\n", "date": "2023-08-11", "categories": []} {"id": "2210.04087", "title": "Symmetry Defense Against CNN Adversarial Perturbation Attacks", "abstract": " This paper uses symmetry to make Convolutional Neural Network classifiers\n(CNNs) robust against adversarial perturbation attacks. Such attacks add\nperturbation to original images to generate adversarial images that fool\nclassifiers such as road sign classifiers of autonomous vehicles. Although\nsymmetry is a pervasive aspect of the natural world, CNNs are unable to handle\nsymmetry well. For example, a CNN can classify an image differently from its\nmirror image. For an adversarial image that misclassifies with a wrong label\n$l_w$, CNN inability to handle symmetry means that a symmetric adversarial\nimage can classify differently from the wrong label $l_w$. Further than that,\nwe find that the classification of a symmetric adversarial image reverts to the\ncorrect label. To classify an image when adversaries are unaware of the\ndefense, we apply symmetry to the image and use the classification label of the\nsymmetric image. To classify an image when adversaries are aware of the\ndefense, we use mirror symmetry and pixel inversion symmetry to form a symmetry\ngroup. We apply all the group symmetries to the image and decide on the output\nlabel based on the agreement of any two of the classification labels of the\nsymmetry images. Adaptive attacks fail because they need to rely on loss\nfunctions that use conflicting CNN output values for symmetric images. Without\nattack knowledge, the proposed symmetry defense succeeds against both\ngradient-based and random-search attacks, with up to near-default accuracies\nfor ImageNet. The defense even improves the classification accuracy of original\nimages.\n", "date": "2022-10-08", "categories": []} {"id": "2301.10822", "title": "RobustPdM: Designing Robust Predictive Maintenance against Adversarial\n Attacks", "abstract": " The state-of-the-art predictive maintenance (PdM) techniques have shown great\nsuccess in reducing maintenance costs and downtime of complicated machines\nwhile increasing overall productivity through extensive utilization of\nInternet-of-Things (IoT) and Deep Learning (DL). Unfortunately, IoT sensors and\nDL algorithms are both prone to cyber-attacks. For instance, DL algorithms are\nknown for their susceptibility to adversarial examples. Such adversarial\nattacks are vastly under-explored in the PdM domain. This is because the\nadversarial attacks in the computer vision domain for classification tasks\ncannot be directly applied to the PdM domain for multivariate time series (MTS)\nregression tasks. In this work, we propose an end-to-end methodology to design\nadversarially robust PdM systems by extensively analyzing the effect of\ndifferent types of adversarial attacks and proposing a novel adversarial\ndefense technique for DL-enabled PdM models. First, we propose novel MTS\nProjected Gradient Descent (PGD) and MTS PGD with random restarts (PGD_r)\nattacks. Then, we evaluate the impact of MTS PGD and PGD_r along with MTS Fast\nGradient Sign Method (FGSM) and MTS Basic Iterative Method (BIM) on Long\nShort-Term Memory (LSTM), Gated Recurrent Unit (GRU), Convolutional Neural\nNetwork (CNN), and Bi-directional LSTM based PdM system. Our results using\nNASA's turbofan engine dataset show that adversarial attacks can cause a severe\ndefect (up to 11X) in the RUL prediction, outperforming the effectiveness of\nthe state-of-the-art PdM attacks by 3X. Furthermore, we present a novel\napproximate adversarial training method to defend against adversarial attacks.\nWe observe that approximate adversarial training can significantly improve the\nrobustness of PdM models (up to 54X) and outperforms the state-of-the-art PdM\ndefense methods by offering 3X more robustness.\n", "date": "2023-01-25", "categories": []} {"id": "2307.16361", "title": "Benchmarking and Analyzing Robust Point Cloud Recognition: Bag of Tricks\n for Defending Adversarial Examples", "abstract": " Deep Neural Networks (DNNs) for 3D point cloud recognition are vulnerable to\nadversarial examples, threatening their practical deployment. Despite the many\nresearch endeavors have been made to tackle this issue in recent years, the\ndiversity of adversarial examples on 3D point clouds makes them more\nchallenging to defend against than those on 2D images. For examples, attackers\ncan generate adversarial examples by adding, shifting, or removing points.\nConsequently, existing defense strategies are hard to counter unseen point\ncloud adversarial examples. In this paper, we first establish a comprehensive,\nand rigorous point cloud adversarial robustness benchmark to evaluate\nadversarial robustness, which can provide a detailed understanding of the\neffects of the defense and attack methods. We then collect existing defense\ntricks in point cloud adversarial defenses and then perform extensive and\nsystematic experiments to identify an effective combination of these tricks.\nFurthermore, we propose a hybrid training augmentation methods that consider\nvarious types of point cloud adversarial examples to adversarial training,\nsignificantly improving the adversarial robustness. By combining these tricks,\nwe construct a more robust defense framework achieving an average accuracy of\n83.45\\% against various attacks, demonstrating its capability to enabling\nrobust learners. Our codebase are open-sourced on:\n\\url{https://github.com/qiufan319/benchmark_pc_attack.git}.\n", "date": "2023-07-31", "categories": []} {"id": "2308.05575", "title": "Symmetry Defense Against XGBoost Adversarial Perturbation Attacks", "abstract": " We examine whether symmetry can be used to defend tree-based ensemble\nclassifiers such as gradient-boosting decision trees (GBDTs) against\nadversarial perturbation attacks. The idea is based on a recent symmetry\ndefense for convolutional neural network classifiers (CNNs) that utilizes CNNs'\nlack of invariance with respect to symmetries. CNNs lack invariance because\nthey can classify a symmetric sample, such as a horizontally flipped image,\ndifferently from the original sample. CNNs' lack of invariance also means that\nCNNs can classify symmetric adversarial samples differently from the incorrect\nclassification of adversarial samples. Using CNNs' lack of invariance, the\nrecent CNN symmetry defense has shown that the classification of symmetric\nadversarial samples reverts to the correct sample classification. In order to\napply the same symmetry defense to GBDTs, we examine GBDT invariance and are\nthe first to show that GBDTs also lack invariance with respect to symmetries.\nWe apply and evaluate the GBDT symmetry defense for nine datasets against six\nperturbation attacks with a threat model that ranges from zero-knowledge to\nperfect-knowledge adversaries. Using the feature inversion symmetry against\nzero-knowledge adversaries, we achieve up to 100% accuracy on adversarial\nsamples even when default and robust classifiers have 0% accuracy. Using the\nfeature inversion and horizontal flip symmetries against perfect-knowledge\nadversaries, we achieve up to over 95% accuracy on adversarial samples for the\nGBDT classifier of the F-MNIST dataset even when default and robust classifiers\nhave 0% accuracy.\n", "date": "2023-08-10", "categories": []} {"id": "2207.11378", "title": "Do Perceptually Aligned Gradients Imply Adversarial Robustness?", "abstract": " Adversarially robust classifiers possess a trait that non-robust models do\nnot -- Perceptually Aligned Gradients (PAG). Their gradients with respect to\nthe input align well with human perception. Several works have identified PAG\nas a byproduct of robust training, but none have considered it as a standalone\nphenomenon nor studied its own implications. In this work, we focus on this\ntrait and test whether \\emph{Perceptually Aligned Gradients imply Robustness}.\nTo this end, we develop a novel objective to directly promote PAG in training\nclassifiers and examine whether models with such gradients are more robust to\nadversarial attacks. Extensive experiments on multiple datasets and\narchitectures validate that models with aligned gradients exhibit significant\nrobustness, exposing the surprising bidirectional connection between PAG and\nrobustness. Lastly, we show that better gradient alignment leads to increased\nrobustness and harness this observation to boost the robustness of existing\nadversarial training techniques.\n", "date": "2022-07-22", "categories": []} {"id": "2209.05785", "title": "Adversarial Coreset Selection for Efficient Robust Training", "abstract": " Neural networks are vulnerable to adversarial attacks: adding well-crafted,\nimperceptible perturbations to their input can modify their output. Adversarial\ntraining is one of the most effective approaches to training robust models\nagainst such attacks. Unfortunately, this method is much slower than vanilla\ntraining of neural networks since it needs to construct adversarial examples\nfor the entire training data at every iteration. By leveraging the theory of\ncoreset selection, we show how selecting a small subset of training data\nprovides a principled approach to reducing the time complexity of robust\ntraining. To this end, we first provide convergence guarantees for adversarial\ncoreset selection. In particular, we show that the convergence bound is\ndirectly related to how well our coresets can approximate the gradient computed\nover the entire training data. Motivated by our theoretical analysis, we\npropose using this gradient approximation error as our adversarial coreset\nselection objective to reduce the training set size effectively. Once built, we\nrun adversarial training over this subset of the training data. Unlike existing\nmethods, our approach can be adapted to a wide variety of training objectives,\nincluding TRADES, $\\ell_p$-PGD, and Perceptual Adversarial Training. We conduct\nextensive experiments to demonstrate that our approach speeds up adversarial\ntraining by 2-3 times while experiencing a slight degradation in the clean and\nrobust accuracy.\n", "date": "2022-09-13", "categories": []} {"id": "2308.03792", "title": "Multi-attacks: Many images $+$ the same adversarial attack $\\to$ many\n target labels", "abstract": " We show that we can easily design a single adversarial perturbation $P$ that\nchanges the class of $n$ images $X_1,X_2,\\dots,X_n$ from their original,\nunperturbed classes $c_1, c_2,\\dots,c_n$ to desired (not necessarily all the\nsame) classes $c^*_1,c^*_2,\\dots,c^*_n$ for up to hundreds of images and target\nclasses at once. We call these \\textit{multi-attacks}. Characterizing the\nmaximum $n$ we can achieve under different conditions such as image resolution,\nwe estimate the number of regions of high class confidence around a particular\nimage in the space of pixels to be around $10^{\\mathcal{O}(100)}$, posing a\nsignificant problem for exhaustive defense strategies. We show several\nimmediate consequences of this: adversarial attacks that change the resulting\nclass based on their intensity, and scale-independent adversarial examples. To\ndemonstrate the redundancy and richness of class decision boundaries in the\npixel space, we look for its two-dimensional sections that trace images and\nspell words using particular classes. We also show that ensembling reduces\nsusceptibility to multi-attacks, and that classifiers trained on random labels\nare more susceptible. Our code is available on GitHub.\n", "date": "2023-08-04", "categories": []} {"id": "2308.03956", "title": "Fixed Inter-Neuron Covariability Induces Adversarial Robustness", "abstract": " The vulnerability to adversarial perturbations is a major flaw of Deep Neural\nNetworks (DNNs) that raises question about their reliability when in real-world\nscenarios. On the other hand, human perception, which DNNs are supposed to\nemulate, is highly robust to such perturbations, indicating that there may be\ncertain features of the human perception that make it robust but are not\nrepresented in the current class of DNNs. One such feature is that the activity\nof biological neurons is correlated and the structure of this correlation tends\nto be rather rigid over long spans of times, even if it hampers performance and\nlearning. We hypothesize that integrating such constraints on the activations\nof a DNN would improve its adversarial robustness, and, to test this\nhypothesis, we have developed the Self-Consistent Activation (SCA) layer, which\ncomprises of neurons whose activations are consistent with each other, as they\nconform to a fixed, but learned, covariability pattern. When evaluated on image\nand sound recognition tasks, the models with a SCA layer achieved high\naccuracy, and exhibited significantly greater robustness than multi-layer\nperceptron models to state-of-the-art Auto-PGD adversarial attacks\n\\textit{without being trained on adversarially perturbed data\n", "date": "2023-08-07", "categories": []} {"id": "2308.04061", "title": "Enhancing Adversarial Robustness in Low-Label Regime via Adaptively\n Weighted Regularization and Knowledge Distillation", "abstract": " Adversarial robustness is a research area that has recently received a lot of\nattention in the quest for trustworthy artificial intelligence. However, recent\nworks on adversarial robustness have focused on supervised learning where it is\nassumed that labeled data is plentiful. In this paper, we investigate\nsemi-supervised adversarial training where labeled data is scarce. We derive\ntwo upper bounds for the robust risk and propose a regularization term for\nunlabeled data motivated by these two upper bounds. Then, we develop a\nsemi-supervised adversarial training algorithm that combines the proposed\nregularization term with knowledge distillation using a semi-supervised teacher\n(i.e., a teacher model trained using a semi-supervised learning algorithm). Our\nexperiments show that our proposed algorithm achieves state-of-the-art\nperformance with significant margins compared to existing algorithms. In\nparticular, compared to supervised learning algorithms, performance of our\nproposed algorithm is not much worse even when the amount of labeled data is\nvery small. For example, our algorithm with only 8\\% labeled data is comparable\nto supervised adversarial training algorithms that use all labeled data, both\nin terms of standard and robust accuracies on CIFAR-10.\n", "date": "2023-08-08", "categories": []} {"id": "2307.13294", "title": "Imperceptible Physical Attack against Face Recognition Systems via LED\n Illumination Modulation", "abstract": " Although face recognition starts to play an important role in our daily life,\nwe need to pay attention that data-driven face recognition vision systems are\nvulnerable to adversarial attacks. However, the current two categories of\nadversarial attacks, namely digital attacks and physical attacks both have\ndrawbacks, with the former ones impractical and the latter one conspicuous,\nhigh-computational and inexecutable. To address the issues, we propose a\npractical, executable, inconspicuous and low computational adversarial attack\nbased on LED illumination modulation. To fool the systems, the proposed attack\ngenerates imperceptible luminance changes to human eyes through fast intensity\nmodulation of scene LED illumination and uses the rolling shutter effect of\nCMOS image sensors in face recognition systems to implant luminance information\nperturbation to the captured face images. In summary,we present a\ndenial-of-service (DoS) attack for face detection and a dodging attack for face\nverification. We also evaluate their effectiveness against well-known face\ndetection models, Dlib, MTCNN and RetinaFace , and face verification models,\nDlib, FaceNet,and ArcFace.The extensive experiments show that the success rates\nof DoS attacks against face detection models reach 97.67%, 100%, and 100%,\nrespectively, and the success rates of dodging attacks against all face\nverification models reach 100%.\n", "date": "2023-07-25", "categories": []} {"id": "2308.02533", "title": "Improving Generalization of Adversarial Training via Robust Critical\n Fine-Tuning", "abstract": " Deep neural networks are susceptible to adversarial examples, posing a\nsignificant security risk in critical applications. Adversarial Training (AT)\nis a well-established technique to enhance adversarial robustness, but it often\ncomes at the cost of decreased generalization ability. This paper proposes\nRobustness Critical Fine-Tuning (RiFT), a novel approach to enhance\ngeneralization without compromising adversarial robustness. The core idea of\nRiFT is to exploit the redundant capacity for robustness by fine-tuning the\nadversarially trained model on its non-robust-critical module. To do so, we\nintroduce module robust criticality (MRC), a measure that evaluates the\nsignificance of a given module to model robustness under worst-case weight\nperturbations. Using this measure, we identify the module with the lowest MRC\nvalue as the non-robust-critical module and fine-tune its weights to obtain\nfine-tuned weights. Subsequently, we linearly interpolate between the\nadversarially trained weights and fine-tuned weights to derive the optimal\nfine-tuned model weights. We demonstrate the efficacy of RiFT on ResNet18,\nResNet34, and WideResNet34-10 models trained on CIFAR10, CIFAR100, and\nTiny-ImageNet datasets. Our experiments show that \\method can significantly\nimprove both generalization and out-of-distribution robustness by around 1.5%\nwhile maintaining or even slightly enhancing adversarial robustness. Code is\navailable at https://github.com/microsoft/robustlearn.\n", "date": "2023-08-01", "categories": []} {"id": "2308.02897", "title": "An Adaptive Model Ensemble Adversarial Attack for Boosting Adversarial\n Transferability", "abstract": " While the transferability property of adversarial examples allows the\nadversary to perform black-box attacks (i.e., the attacker has no knowledge\nabout the target model), the transfer-based adversarial attacks have gained\ngreat attention. Previous works mostly study gradient variation or image\ntransformations to amplify the distortion on critical parts of inputs. These\nmethods can work on transferring across models with limited differences, i.e.,\nfrom CNNs to CNNs, but always fail in transferring across models with wide\ndifferences, such as from CNNs to ViTs. Alternatively, model ensemble\nadversarial attacks are proposed to fuse outputs from surrogate models with\ndiverse architectures to get an ensemble loss, making the generated adversarial\nexample more likely to transfer to other models as it can fool multiple models\nconcurrently. However, existing ensemble attacks simply fuse the outputs of the\nsurrogate models evenly, thus are not efficacious to capture and amplify the\nintrinsic transfer information of adversarial examples. In this paper, we\npropose an adaptive ensemble attack, dubbed AdaEA, to adaptively control the\nfusion of the outputs from each model, via monitoring the discrepancy ratio of\ntheir contributions towards the adversarial objective. Furthermore, an extra\ndisparity-reduced filter is introduced to further synchronize the update\ndirection. As a result, we achieve considerable improvement over the existing\nensemble attacks on various datasets, and the proposed AdaEA can also boost\nexisting transfer-based attacks, which further demonstrates its efficacy and\nversatility.\n", "date": "2023-08-05", "categories": []} {"id": "2308.03163", "title": "CGBA: Curvature-aware Geometric Black-box Attack", "abstract": " Decision-based black-box attacks often necessitate a large number of queries\nto craft an adversarial example. Moreover, decision-based attacks based on\nquerying boundary points in the estimated normal vector direction often suffer\nfrom inefficiency and convergence issues. In this paper, we propose a novel\nquery-efficient curvature-aware geometric decision-based black-box attack\n(CGBA) that conducts boundary search along a semicircular path on a restricted\n2D plane to ensure finding a boundary point successfully irrespective of the\nboundary curvature. While the proposed CGBA attack can work effectively for an\narbitrary decision boundary, it is particularly efficient in exploiting the low\ncurvature to craft high-quality adversarial examples, which is widely seen and\nexperimentally verified in commonly used classifiers under non-targeted\nattacks. In contrast, the decision boundaries often exhibit higher curvature\nunder targeted attacks. Thus, we develop a new query-efficient variant, CGBA-H,\nthat is adapted for the targeted attack. In addition, we further design an\nalgorithm to obtain a better initial boundary point at the expense of some\nextra queries, which considerably enhances the performance of the targeted\nattack. Extensive experiments are conducted to evaluate the performance of our\nproposed methods against some well-known classifiers on the ImageNet and\nCIFAR10 datasets, demonstrating the superiority of CGBA and CGBA-H over\nstate-of-the-art non-targeted and targeted attacks, respectively. The source\ncode is available at https://github.com/Farhamdur/CGBA.\n", "date": "2023-08-06", "categories": []} {"id": "2308.03243", "title": "Unsupervised Adversarial Detection without Extra Model: Training Loss\n Should Change", "abstract": " Adversarial robustness poses a critical challenge in the deployment of deep\nlearning models for real-world applications. Traditional approaches to\nadversarial training and supervised detection rely on prior knowledge of attack\ntypes and access to labeled training data, which is often impractical. Existing\nunsupervised adversarial detection methods identify whether the target model\nworks properly, but they suffer from bad accuracies owing to the use of common\ncross-entropy training loss, which relies on unnecessary features and\nstrengthens adversarial attacks. We propose new training losses to reduce\nuseless features and the corresponding detection method without prior knowledge\nof adversarial attacks. The detection rate (true positive rate) against all\ngiven white-box attacks is above 93.9% except for attacks without limits\n(DF($\\infty$)), while the false positive rate is barely 2.5%. The proposed\nmethod works well in all tested attack types and the false positive rates are\neven better than the methods good at certain types.\n", "date": "2023-08-07", "categories": []} {"id": "2308.03363", "title": "A reading survey on adversarial machine learning: Adversarial attacks\n and their understanding", "abstract": " Deep Learning has empowered us to train neural networks for complex data with\nhigh performance. However, with the growing research, several vulnerabilities\nin neural networks have been exposed. A particular branch of research,\nAdversarial Machine Learning, exploits and understands some of the\nvulnerabilities that cause the neural networks to misclassify for near original\ninput. A class of algorithms called adversarial attacks is proposed to make the\nneural networks misclassify for various tasks in different domains. With the\nextensive and growing research in adversarial attacks, it is crucial to\nunderstand the classification of adversarial attacks. This will help us\nunderstand the vulnerabilities in a systematic order and help us to mitigate\nthe effects of adversarial attacks. This article provides a survey of existing\nadversarial attacks and their understanding based on different perspectives. We\nalso provide a brief overview of existing adversarial defences and their\nlimitations in mitigating the effect of adversarial attacks. Further, we\nconclude with a discussion on the future research directions in the field of\nadversarial machine learning.\n", "date": "2023-08-07", "categories": []} {"id": "2308.03476", "title": "Exploring the Physical World Adversarial Robustness of Vehicle Detection", "abstract": " Adversarial attacks can compromise the robustness of real-world detection\nmodels. However, evaluating these models under real-world conditions poses\nchallenges due to resource-intensive experiments. Virtual simulations offer an\nalternative, but the absence of standardized benchmarks hampers progress.\nAddressing this, we propose an innovative instant-level data generation\npipeline using the CARLA simulator. Through this pipeline, we establish the\nDiscrete and Continuous Instant-level (DCI) dataset, enabling comprehensive\nexperiments involving three detection models and three physical adversarial\nattacks. Our findings highlight diverse model performances under adversarial\nconditions. Yolo v6 demonstrates remarkable resilience, experiencing just a\nmarginal 6.59% average drop in average precision (AP). In contrast, the ASA\nattack yields a substantial 14.51% average AP reduction, twice the effect of\nother algorithms. We also note that static scenes yield higher recognition AP\nvalues, and outcomes remain relatively consistent across varying weather\nconditions. Intriguingly, our study suggests that advancements in adversarial\nattack algorithms may be approaching its ``limitation''.In summary, our work\nunderscores the significance of adversarial attacks in real-world contexts and\nintroduces the DCI dataset as a versatile benchmark. Our findings provide\nvaluable insights for enhancing the robustness of detection models and offer\nguidance for future research endeavors in the realm of adversarial attacks.\n", "date": "2023-08-07", "categories": []} {"id": "2308.01823", "title": "Hard Adversarial Example Mining for Improving Robust Fairness", "abstract": " Adversarial training (AT) is widely considered the state-of-the-art technique\nfor improving the robustness of deep neural networks (DNNs) against adversarial\nexamples (AE). Nevertheless, recent studies have revealed that adversarially\ntrained models are prone to unfairness problems, restricting their\napplicability. In this paper, we empirically observe that this limitation may\nbe attributed to serious adversarial confidence overfitting, i.e., certain\nadversarial examples with overconfidence. To alleviate this problem, we propose\nHAM, a straightforward yet effective framework via adaptive Hard Adversarial\nexample Mining.HAM concentrates on mining hard adversarial examples while\ndiscarding the easy ones in an adaptive fashion. Specifically, HAM identifies\nhard AEs in terms of their step sizes needed to cross the decision boundary\nwhen calculating loss value. Besides, an early-dropping mechanism is\nincorporated to discard the easy examples at the initial stages of AE\ngeneration, resulting in efficient AT. Extensive experimental results on\nCIFAR-10, SVHN, and Imagenette demonstrate that HAM achieves significant\nimprovement in robust fairness while reducing computational cost compared to\nseveral state-of-the-art adversarial training methods. The code will be made\npublicly available.\n", "date": "2023-08-03", "categories": []} {"id": "2308.01840", "title": "URET: Universal Robustness Evaluation Toolkit (for Evasion)", "abstract": " Machine learning models are known to be vulnerable to adversarial evasion\nattacks as illustrated by image classification models. Thoroughly understanding\nsuch attacks is critical in order to ensure the safety and robustness of\ncritical AI tasks. However, most evasion attacks are difficult to deploy\nagainst a majority of AI systems because they have focused on image domain with\nonly few constraints. An image is composed of homogeneous, numerical,\ncontinuous, and independent features, unlike many other input types to AI\nsystems used in practice. Furthermore, some input types include additional\nsemantic and functional constraints that must be observed to generate realistic\nadversarial inputs. In this work, we propose a new framework to enable the\ngeneration of adversarial inputs irrespective of the input type and task\ndomain. Given an input and a set of pre-defined input transformations, our\nframework discovers a sequence of transformations that result in a semantically\ncorrect and functional adversarial input. We demonstrate the generality of our\napproach on several diverse machine learning tasks with various input\nrepresentations. We also show the importance of generating adversarial examples\nas they enable the deployment of mitigation techniques.\n", "date": "2023-08-03", "categories": []} {"id": "2308.01888", "title": "FROD: Robust Object Detection for Free", "abstract": " Object detection is a vital task in computer vision and has become an\nintegral component of numerous critical systems. However, state-of-the-art\nobject detectors, similar to their classification counterparts, are susceptible\nto small adversarial perturbations that can significantly alter their normal\nbehavior. Unlike classification, the robustness of object detectors has not\nbeen thoroughly explored. In this work, we take the initial step towards\nbridging the gap between the robustness of classification and object detection\nby leveraging adversarially trained classification models. Merely utilizing\nadversarially trained models as backbones for object detection does not result\nin robustness. We propose effective modifications to the classification-based\nbackbone to instill robustness in object detection without incurring any\ncomputational overhead. To further enhance the robustness achieved by the\nproposed modified backbone, we introduce two lightweight components: imitation\nloss and delayed adversarial training. Extensive experiments on the MS-COCO and\nPascal VOC datasets are conducted to demonstrate the effectiveness of our\nproposed approach.\n", "date": "2023-08-03", "categories": []} {"id": "2308.00854", "title": "Training on Foveated Images Improves Robustness to Adversarial Attacks", "abstract": " Deep neural networks (DNNs) have been shown to be vulnerable to adversarial\nattacks -- subtle, perceptually indistinguishable perturbations of inputs that\nchange the response of the model. In the context of vision, we hypothesize that\nan important contributor to the robustness of human visual perception is\nconstant exposure to low-fidelity visual stimuli in our peripheral vision. To\ninvestigate this hypothesis, we develop \\RBlur, an image transform that\nsimulates the loss in fidelity of peripheral vision by blurring the image and\nreducing its color saturation based on the distance from a given fixation\npoint. We show that compared to DNNs trained on the original images, DNNs\ntrained on images transformed by \\RBlur are substantially more robust to\nadversarial attacks, as well as other, non-adversarial, corruptions, achieving\nup to 25\\% higher accuracy on perturbed data.\n", "date": "2023-08-01", "categories": []} {"id": "2308.00311", "title": "Doubly Robust Instance-Reweighted Adversarial Training", "abstract": " Assigning importance weights to adversarial data has achieved great success\nin training adversarially robust networks under limited model capacity.\nHowever, existing instance-reweighted adversarial training (AT) methods heavily\ndepend on heuristics and/or geometric interpretations to determine those\nimportance weights, making these algorithms lack rigorous theoretical\njustification/guarantee. Moreover, recent research has shown that adversarial\ntraining suffers from a severe non-uniform robust performance across the\ntraining distribution, e.g., data points belonging to some classes can be much\nmore vulnerable to adversarial attacks than others. To address both issues, in\nthis paper, we propose a novel doubly-robust instance reweighted AT framework,\nwhich allows to obtain the importance weights via exploring distributionally\nrobust optimization (DRO) techniques, and at the same time boosts the\nrobustness on the most vulnerable examples. In particular, our importance\nweights are obtained by optimizing the KL-divergence regularized loss function,\nwhich allows us to devise new algorithms with a theoretical convergence\nguarantee. Experiments on standard classification datasets demonstrate that our\nproposed approach outperforms related state-of-the-art baseline methods in\nterms of average robust performance, and at the same time improves the\nrobustness against attacks on the weakest data points. Codes will be available\nsoon.\n", "date": "2023-08-01", "categories": []} {"id": "2308.00346", "title": "Dynamic ensemble selection based on Deep Neural Network Uncertainty\n Estimation for Adversarial Robustness", "abstract": " The deep neural network has attained significant efficiency in image\nrecognition. However, it has vulnerable recognition robustness under extensive\ndata uncertainty in practical applications. The uncertainty is attributed to\nthe inevitable ambient noise and, more importantly, the possible adversarial\nattack. Dynamic methods can effectively improve the defense initiative in the\narms race of attack and defense of adversarial examples. Different from the\nprevious dynamic method depend on input or decision, this work explore the\ndynamic attributes in model level through dynamic ensemble selection technology\nto further protect the model from white-box attacks and improve the robustness.\nSpecifically, in training phase the Dirichlet distribution is apply as prior of\nsub-models' predictive distribution, and the diversity constraint in parameter\nspace is introduced under the lightweight sub-models to construct alternative\nensembel model spaces. In test phase, the certain sub-models are dynamically\nselected based on their rank of uncertainty value for the final prediction to\nensure the majority accurate principle in ensemble robustness and accuracy.\nCompared with the previous dynamic method and staic adversarial traning model,\nthe presented approach can achieve significant robustness results without\ndamaging accuracy by combining dynamics and diversity property.\n", "date": "2023-08-01", "categories": []} {"id": "2308.00556", "title": "Robust Linear Regression: Phase-Transitions and Precise Tradeoffs for\n General Norms", "abstract": " In this paper, we investigate the impact of test-time adversarial attacks on\nlinear regression models and determine the optimal level of robustness that any\nmodel can reach while maintaining a given level of standard predictive\nperformance (accuracy). Through quantitative estimates, we uncover fundamental\ntradeoffs between adversarial robustness and accuracy in different regimes. We\nobtain a precise characterization which distinguishes between regimes where\nrobustness is achievable without hurting standard accuracy and regimes where a\ntradeoff might be unavoidable. Our findings are empirically confirmed with\nsimple experiments that represent a variety of settings. This work applies to\nfeature covariance matrices and attack norms of any nature, and extends beyond\nprevious works in this area.\n", "date": "2023-08-01", "categories": []} {"id": "2305.12859", "title": "Flying Adversarial Patches: Manipulating the Behavior of Deep\n Learning-based Autonomous Multirotors", "abstract": " Autonomous flying robots, e.g. multirotors, often rely on a neural network\nthat makes predictions based on a camera image. These deep learning (DL) models\ncan compute surprising results if applied to input images outside the training\ndomain. Adversarial attacks exploit this fault, for example, by computing small\nimages, so-called adversarial patches, that can be placed in the environment to\nmanipulate the neural network's prediction. We introduce flying adversarial\npatches, where an image is mounted on another flying robot and therefore can be\nplaced anywhere in the field of view of a victim multirotor. For an effective\nattack, we compare three methods that simultaneously optimize the adversarial\npatch and its position in the input image. We perform an empirical validation\non a publicly available DL model and dataset for autonomous multirotors.\nUltimately, our attacking multirotor would be able to gain full control over\nthe motions of the victim multirotor.\n", "date": "2023-05-22", "categories": []} {"id": "2307.15157", "title": "R-LPIPS: An Adversarially Robust Perceptual Similarity Metric", "abstract": " Similarity metrics have played a significant role in computer vision to\ncapture the underlying semantics of images. In recent years, advanced\nsimilarity metrics, such as the Learned Perceptual Image Patch Similarity\n(LPIPS), have emerged. These metrics leverage deep features extracted from\ntrained neural networks and have demonstrated a remarkable ability to closely\nalign with human perception when evaluating relative image similarity. However,\nit is now well-known that neural networks are susceptible to adversarial\nexamples, i.e., small perturbations invisible to humans crafted to deliberately\nmislead the model. Consequently, the LPIPS metric is also sensitive to such\nadversarial examples. This susceptibility introduces significant security\nconcerns, especially considering the widespread adoption of LPIPS in\nlarge-scale applications. In this paper, we propose the Robust Learned\nPerceptual Image Patch Similarity (R-LPIPS) metric, a new metric that leverages\nadversarially trained deep features. Through a comprehensive set of\nexperiments, we demonstrate the superiority of R-LPIPS compared to the\nclassical LPIPS metric. The code is available at\nhttps://github.com/SaraGhazanfari/R-LPIPS.\n", "date": "2023-07-27", "categories": []} {"id": "2307.16099", "title": "On Neural Network approximation of ideal adversarial attack and\n convergence of adversarial training", "abstract": " Adversarial attacks are usually expressed in terms of a gradient-based\noperation on the input data and model, this results in heavy computations every\ntime an attack is generated. In this work, we solidify the idea of representing\nadversarial attacks as a trainable function, without further gradient\ncomputation. We first motivate that the theoretical best attacks, under proper\nconditions, can be represented as smooth piece-wise functions (piece-wise\nH\\\"older functions). Then we obtain an approximation result of such functions\nby a neural network. Subsequently, we emulate the ideal attack process by a\nneural network and reduce the adversarial training to a mathematical game\nbetween an attack network and a training model (a defense network). We also\nobtain convergence rates of adversarial loss in terms of the sample size $n$\nfor adversarial training in such a setting.\n", "date": "2023-07-30", "categories": []} {"id": "2307.16331", "title": "Theoretically Principled Trade-off for Stateful Defenses against\n Query-Based Black-Box Attacks", "abstract": " Adversarial examples threaten the integrity of machine learning systems with\nalarming success rates even under constrained black-box conditions. Stateful\ndefenses have emerged as an effective countermeasure, detecting potential\nattacks by maintaining a buffer of recent queries and detecting new queries\nthat are too similar. However, these defenses fundamentally pose a trade-off\nbetween attack detection and false positive rates, and this trade-off is\ntypically optimized by hand-picking feature extractors and similarity\nthresholds that empirically work well. There is little current understanding as\nto the formal limits of this trade-off and the exact properties of the feature\nextractors/underlying problem domain that influence it. This work aims to\naddress this gap by offering a theoretical characterization of the trade-off\nbetween detection and false positive rates for stateful defenses. We provide\nupper bounds for detection rates of a general class of feature extractors and\nanalyze the impact of this trade-off on the convergence of black-box attacks.\nWe then support our theoretical findings with empirical evaluations across\nmultiple datasets and stateful defenses.\n", "date": "2023-07-30", "categories": []} {"id": "2307.16816", "title": "Defense of Adversarial Ranking Attack in Text Retrieval: Benchmark and\n Baseline via Detection", "abstract": " Neural ranking models (NRMs) have undergone significant development and have\nbecome integral components of information retrieval (IR) systems.\nUnfortunately, recent research has unveiled the vulnerability of NRMs to\nadversarial document manipulations, potentially exploited by malicious search\nengine optimization practitioners. While progress in adversarial attack\nstrategies aids in identifying the potential weaknesses of NRMs before their\ndeployment, the defensive measures against such attacks, like the detection of\nadversarial documents, remain inadequately explored. To mitigate this gap, this\npaper establishes a benchmark dataset to facilitate the investigation of\nadversarial ranking defense and introduces two types of detection tasks for\nadversarial documents. A comprehensive investigation of the performance of\nseveral detection baselines is conducted, which involve examining the\nspamicity, perplexity, and linguistic acceptability, and utilizing supervised\nclassifiers. Experimental results demonstrate that a supervised classifier can\neffectively mitigate known attacks, but it performs poorly against unseen\nattacks. Furthermore, such classifier should avoid using query text to prevent\nlearning the classification on relevance, as it might lead to the inadvertent\ndiscarding of relevant documents.\n", "date": "2023-07-31", "categories": []} {"id": "2304.10712", "title": "Adversarial Infrared Blocks: A Multi-view Black-box Attack to Thermal\n Infrared Detectors in Physical World", "abstract": " Infrared imaging systems have a vast array of potential applications in\npedestrian detection and autonomous driving, and their safety performance is of\ngreat concern. However, few studies have explored the safety of infrared\nimaging systems in real-world settings. Previous research has used physical\nperturbations such as small bulbs and thermal \"QR codes\" to attack infrared\nimaging detectors, but such methods are highly visible and lack stealthiness.\nOther researchers have used hot and cold blocks to deceive infrared imaging\ndetectors, but this method is limited in its ability to execute attacks from\nvarious angles. To address these shortcomings, we propose a novel physical\nattack called adversarial infrared blocks (AdvIB). By optimizing the physical\nparameters of the adversarial infrared blocks, this method can execute a\nstealthy black-box attack on thermal imaging system from various angles. We\nevaluate the proposed method based on its effectiveness, stealthiness, and\nrobustness. Our physical tests show that the proposed method achieves a success\nrate of over 80% under most distance and angle conditions, validating its\neffectiveness. For stealthiness, our method involves attaching the adversarial\ninfrared block to the inside of clothing, enhancing its stealthiness.\nAdditionally, we test the proposed method on advanced detectors, and\nexperimental results demonstrate an average attack success rate of 51.2%,\nproving its robustness. Overall, our proposed AdvIB method offers a promising\navenue for conducting stealthy, effective and robust black-box attacks on\nthermal imaging system, with potential implications for real-world safety and\nsecurity applications.\n", "date": "2023-04-21", "categories": []} {"id": "2307.09763", "title": "Towards Building More Robust Models with Frequency Bias", "abstract": " The vulnerability of deep neural networks to adversarial samples has been a\nmajor impediment to their broad applications, despite their success in various\nfields. Recently, some works suggested that adversarially-trained models\nemphasize the importance of low-frequency information to achieve higher\nrobustness. While several attempts have been made to leverage this frequency\ncharacteristic, they have all faced the issue that applying low-pass filters\ndirectly to input images leads to irreversible loss of discriminative\ninformation and poor generalizability to datasets with distinct frequency\nfeatures. This paper presents a plug-and-play module called the Frequency\nPreference Control Module that adaptively reconfigures the low- and\nhigh-frequency components of intermediate feature representations, providing\nbetter utilization of frequency in robust learning. Empirical studies show that\nour proposed module can be easily incorporated into any adversarial training\nframework, further improving model robustness across different architectures\nand datasets. Additionally, experiments were conducted to examine how the\nfrequency bias of robust models impacts the adversarial training process and\nits final robustness, revealing interesting insights.\n", "date": "2023-07-19", "categories": []} {"id": "2307.13131", "title": "Why Don't You Clean Your Glasses? Perception Attacks with Dynamic\n Optical Perturbations", "abstract": " Camera-based autonomous systems that emulate human perception are\nincreasingly being integrated into safety-critical platforms. Consequently, an\nestablished body of literature has emerged that explores adversarial attacks\ntargeting the underlying machine learning models. Adapting adversarial attacks\nto the physical world is desirable for the attacker, as this removes the need\nto compromise digital systems. However, the real world poses challenges related\nto the \"survivability\" of adversarial manipulations given environmental noise\nin perception pipelines and the dynamicity of autonomous systems. In this\npaper, we take a sensor-first approach. We present EvilEye, a man-in-the-middle\nperception attack that leverages transparent displays to generate dynamic\nphysical adversarial examples. EvilEye exploits the camera's optics to induce\nmisclassifications under a variety of illumination conditions. To generate\ndynamic perturbations, we formalize the projection of a digital attack into the\nphysical domain by modeling the transformation function of the captured image\nthrough the optical pipeline. Our extensive experiments show that EvilEye's\ngenerated adversarial perturbations are much more robust across varying\nenvironmental light conditions relative to existing physical perturbation\nframeworks, achieving a high attack success rate (ASR) while bypassing\nstate-of-the-art physical adversarial detection frameworks. We demonstrate that\nthe dynamic nature of EvilEye enables attackers to adapt adversarial examples\nacross a variety of objects with a significantly higher ASR compared to\nstate-of-the-art physical world attack frameworks. Finally, we discuss\nmitigation strategies against the EvilEye attack.\n", "date": "2023-07-24", "categories": []} {"id": "2307.15677", "title": "Adversarial training for tabular data with attack propagation", "abstract": " Adversarial attacks are a major concern in security-centered applications,\nwhere malicious actors continuously try to mislead Machine Learning (ML) models\ninto wrongly classifying fraudulent activity as legitimate, whereas system\nmaintainers try to stop them. Adversarially training ML models that are robust\nagainst such attacks can prevent business losses and reduce the work load of\nsystem maintainers. In such applications data is often tabular and the space\navailable for attackers to manipulate undergoes complex feature engineering\ntransformations, to provide useful signals for model training, to a space\nattackers cannot access. Thus, we propose a new form of adversarial training\nwhere attacks are propagated between the two spaces in the training loop. We\nthen test this method empirically on a real world dataset in the domain of\ncredit card fraud detection. We show that our method can prevent about 30%\nperformance drops under moderate attacks and is essential under very aggressive\nattacks, with a trade-off loss in performance under no attacks smaller than 7%.\n", "date": "2023-07-28", "categories": []} {"id": "2305.06716", "title": "Distracting Downpour: Adversarial Weather Attacks for Motion Estimation", "abstract": " Current adversarial attacks on motion estimation, or optical flow, optimize\nsmall per-pixel perturbations, which are unlikely to appear in the real world.\nIn contrast, adverse weather conditions constitute a much more realistic threat\nscenario. Hence, in this work, we present a novel attack on motion estimation\nthat exploits adversarially optimized particles to mimic weather effects like\nsnowflakes, rain streaks or fog clouds. At the core of our attack framework is\na differentiable particle rendering system that integrates particles (i)\nconsistently over multiple time steps (ii) into the 3D space (iii) with a\nphoto-realistic appearance. Through optimization, we obtain adversarial weather\nthat significantly impacts the motion estimation. Surprisingly, methods that\npreviously showed good robustness towards small per-pixel perturbations are\nparticularly vulnerable to adversarial weather. At the same time, augmenting\nthe training with non-optimized weather increases a method's robustness towards\nweather effects and improves generalizability at almost no additional cost. Our\ncode will be available at https://github.com/cv-stuttgart/DistractingDownpour.\n", "date": "2023-05-11", "categories": []} {"id": "2307.14682", "title": "Unified Adversarial Patch for Visible-Infrared Cross-modal Attacks in\n the Physical World", "abstract": " Physical adversarial attacks have put a severe threat to DNN-based object\ndetectors. To enhance security, a combination of visible and infrared sensors\nis deployed in various scenarios, which has proven effective in disabling\nexisting single-modal physical attacks. To further demonstrate the potential\nrisks in such cases, we design a unified adversarial patch that can perform\ncross-modal physical attacks, achieving evasion in both modalities\nsimultaneously with a single patch. Given the different imaging mechanisms of\nvisible and infrared sensors, our work manipulates patches' shape features,\nwhich can be captured in different modalities when they undergo changes. To\ndeal with challenges, we propose a novel boundary-limited shape optimization\napproach that aims to achieve compact and smooth shapes for the adversarial\npatch, making it easy to implement in the physical world. And a score-aware\niterative evaluation method is also introduced to balance the fooling degree\nbetween visible and infrared detectors during optimization, which guides the\nadversarial patch to iteratively reduce the predicted scores of the multi-modal\nsensors. Furthermore, we propose an Affine-Transformation-based enhancement\nstrategy that makes the learnable shape robust to various angles, thus\nmitigating the issue of shape deformation caused by different shooting angles\nin the real world. Our method is evaluated against several state-of-the-art\nobject detectors, achieving an Attack Success Rate (ASR) of over 80%. We also\ndemonstrate the effectiveness of our approach in physical-world scenarios under\nvarious settings, including different angles, distances, postures, and scenes\nfor both visible and infrared sensors.\n", "date": "2023-07-27", "categories": []} {"id": "2307.15008", "title": "A LLM Assisted Exploitation of AI-Guardian", "abstract": " Large language models (LLMs) are now highly capable at a diverse range of\ntasks. This paper studies whether or not GPT-4, one such LLM, is capable of\nassisting researchers in the field of adversarial machine learning. As a case\nstudy, we evaluate the robustness of AI-Guardian, a recent defense to\nadversarial examples published at IEEE S&P 2023, a top computer security\nconference. We completely break this defense: the proposed scheme does not\nincrease robustness compared to an undefended baseline.\n We write none of the code to attack this model, and instead prompt GPT-4 to\nimplement all attack algorithms following our instructions and guidance. This\nprocess was surprisingly effective and efficient, with the language model at\ntimes producing code from ambiguous instructions faster than the author of this\npaper could have done. We conclude by discussing (1) the warning signs present\nin the evaluation that suggested to us AI-Guardian would be broken, and (2) our\nexperience with designing attacks and performing novel research using the most\nrecent advances in language modeling.\n", "date": "2023-07-20", "categories": []} {"id": "2307.13856", "title": "On the unreasonable vulnerability of transformers for image restoration\n -- and an easy fix", "abstract": " Following their success in visual recognition tasks, Vision\nTransformers(ViTs) are being increasingly employed for image restoration. As a\nfew recent works claim that ViTs for image classification also have better\nrobustness properties, we investigate whether the improved adversarial\nrobustness of ViTs extends to image restoration. We consider the recently\nproposed Restormer model, as well as NAFNet and the \"Baseline network\" which\nare both simplified versions of a Restormer. We use Projected Gradient Descent\n(PGD) and CosPGD, a recently proposed adversarial attack tailored to pixel-wise\nprediction tasks for our robustness evaluation. Our experiments are performed\non real-world images from the GoPro dataset for image deblurring. Our analysis\nindicates that contrary to as advocated by ViTs in image classification works,\nthese models are highly susceptible to adversarial attacks. We attempt to\nimprove their robustness through adversarial training. While this yields a\nsignificant increase in robustness for Restormer, results on other networks are\nless promising. Interestingly, the design choices in NAFNet and Baselines,\nwhich were based on iid performance, and not on robust generalization, seem to\nbe at odds with the model robustness. Thus, we investigate this further and\nfind a fix.\n", "date": "2023-07-25", "categories": []} {"id": "2307.13985", "title": "Enhanced Security against Adversarial Examples Using a Random Ensemble\n of Encrypted Vision Transformer Models", "abstract": " Deep neural networks (DNNs) are well known to be vulnerable to adversarial\nexamples (AEs). In addition, AEs have adversarial transferability, which means\nAEs generated for a source model can fool another black-box model (target\nmodel) with a non-trivial probability. In previous studies, it was confirmed\nthat the vision transformer (ViT) is more robust against the property of\nadversarial transferability than convolutional neural network (CNN) models such\nas ConvMixer, and moreover encrypted ViT is more robust than ViT without any\nencryption. In this article, we propose a random ensemble of encrypted ViT\nmodels to achieve much more robust models. In experiments, the proposed scheme\nis verified to be more robust against not only black-box attacks but also\nwhite-box ones than convention methods.\n", "date": "2023-07-26", "categories": []} {"id": "2307.14061", "title": "Set-level Guidance Attack: Boosting Adversarial Transferability of\n Vision-Language Pre-training Models", "abstract": " Vision-language pre-training (VLP) models have shown vulnerability to\nadversarial examples in multimodal tasks. Furthermore, malicious adversaries\ncan be deliberately transferred to attack other black-box models. However,\nexisting work has mainly focused on investigating white-box attacks. In this\npaper, we present the first study to investigate the adversarial\ntransferability of recent VLP models. We observe that existing methods exhibit\nmuch lower transferability, compared to the strong attack performance in\nwhite-box settings. The transferability degradation is partly caused by the\nunder-utilization of cross-modal interactions. Particularly, unlike unimodal\nlearning, VLP models rely heavily on cross-modal interactions and the\nmultimodal alignments are many-to-many, e.g., an image can be described in\nvarious natural languages. To this end, we propose a highly transferable\nSet-level Guidance Attack (SGA) that thoroughly leverages modality interactions\nand incorporates alignment-preserving augmentation with cross-modal guidance.\nExperimental results demonstrate that SGA could generate adversarial examples\nthat can strongly transfer across different VLP models on multiple downstream\nvision-language tasks. On image-text retrieval, SGA significantly enhances the\nattack success rate for transfer attacks from ALBEF to TCL by a large margin\n(at least 9.78% and up to 30.21%), compared to the state-of-the-art.\n", "date": "2023-07-26", "categories": []} {"id": "2307.14242", "title": "Defending Adversarial Patches via Joint Region Localizing and Inpainting", "abstract": " Deep neural networks are successfully used in various applications, but show\ntheir vulnerability to adversarial examples. With the development of\nadversarial patches, the feasibility of attacks in physical scenes increases,\nand the defenses against patch attacks are urgently needed. However, defending\nsuch adversarial patch attacks is still an unsolved problem. In this paper, we\nanalyse the properties of adversarial patches, and find that: on the one hand,\nadversarial patches will lead to the appearance or contextual inconsistency in\nthe target objects; on the other hand, the patch region will show abnormal\nchanges on the high-level feature maps of the objects extracted by a backbone\nnetwork. Considering the above two points, we propose a novel defense method\nbased on a ``localizing and inpainting\" mechanism to pre-process the input\nexamples. Specifically, we design an unified framework, where the ``localizing\"\nsub-network utilizes a two-branch structure to represent the above two aspects\nto accurately detect the adversarial patch region in the image. For the\n``inpainting\" sub-network, it utilizes the surrounding contextual cues to\nrecover the original content covered by the adversarial patch. The quality of\ninpainted images is also evaluated by measuring the appearance consistency and\nthe effects of adversarial attacks. These two sub-networks are then jointly\ntrained via an iterative optimization manner. In this way, the ``localizing\"\nand ``inpainting\" modules can interact closely with each other, and thus learn\na better solution. A series of experiments versus traffic sign classification\nand detection tasks are conducted to defend against various adversarial patch\nattacks.\n", "date": "2023-07-26", "categories": []} {"id": "2307.13078", "title": "Adaptive Certified Training: Towards Better Accuracy-Robustness\n Tradeoffs", "abstract": " As deep learning models continue to advance and are increasingly utilized in\nreal-world systems, the issue of robustness remains a major challenge. Existing\ncertified training methods produce models that achieve high provable robustness\nguarantees at certain perturbation levels. However, the main problem of such\nmodels is a dramatically low standard accuracy, i.e. accuracy on clean\nunperturbed data, that makes them impractical. In this work, we consider a more\nrealistic perspective of maximizing the robustness of a model at certain levels\nof (high) standard accuracy. To this end, we propose a novel certified training\nmethod based on a key insight that training with adaptive certified radii helps\nto improve both the accuracy and robustness of the model, advancing\nstate-of-the-art accuracy-robustness tradeoffs. We demonstrate the\neffectiveness of the proposed method on MNIST, CIFAR-10, and TinyImageNet\ndatasets. Particularly, on CIFAR-10 and TinyImageNet, our method yields models\nwith up to two times higher robustness, measured as an average certified radius\nof a test set, at the same levels of standard accuracy compared to baseline\napproaches.\n", "date": "2023-07-24", "categories": []} {"id": "2307.11906", "title": "Unveiling Vulnerabilities in Interpretable Deep Learning Systems with\n Query-Efficient Black-box Attacks", "abstract": " Deep learning has been rapidly employed in many applications revolutionizing\nmany industries, but it is known to be vulnerable to adversarial attacks. Such\nattacks pose a serious threat to deep learning-based systems compromising their\nintegrity, reliability, and trust. Interpretable Deep Learning Systems (IDLSes)\nare designed to make the system more transparent and explainable, but they are\nalso shown to be susceptible to attacks. In this work, we propose a novel\nmicrobial genetic algorithm-based black-box attack against IDLSes that requires\nno prior knowledge of the target model and its interpretation model. The\nproposed attack is a query-efficient approach that combines transfer-based and\nscore-based methods, making it a powerful tool to unveil IDLS vulnerabilities.\nOur experiments of the attack show high attack success rates using adversarial\nexamples with attribution maps that are highly similar to those of benign\nsamples which makes it difficult to detect even by human analysts. Our results\nhighlight the need for improved IDLS security to ensure their practical\nreliability.\n", "date": "2023-07-21", "categories": []} {"id": "2307.12342", "title": "Towards Generic and Controllable Attacks Against Object Detection", "abstract": " Existing adversarial attacks against Object Detectors (ODs) suffer from two\ninherent limitations. Firstly, ODs have complicated meta-structure designs,\nhence most advanced attacks for ODs concentrate on attacking specific\ndetector-intrinsic structures, which makes it hard for them to work on other\ndetectors and motivates us to design a generic attack against ODs. Secondly,\nmost works against ODs make Adversarial Examples (AEs) by generalizing\nimage-level attacks from classification to detection, which brings redundant\ncomputations and perturbations in semantically meaningless areas (e.g.,\nbackgrounds) and leads to an emergency for seeking controllable attacks for\nODs. To this end, we propose a generic white-box attack, LGP (local\nperturbations with adaptively global attacks), to blind mainstream object\ndetectors with controllable perturbations. For a detector-agnostic attack, LGP\ntracks high-quality proposals and optimizes three heterogeneous losses\nsimultaneously. In this way, we can fool the crucial components of ODs with a\npart of their outputs without the limitations of specific structures. Regarding\ncontrollability, we establish an object-wise constraint that exploits\nforeground-background separation adaptively to induce the attachment of\nperturbations to foregrounds. Experimentally, the proposed LGP successfully\nattacked sixteen state-of-the-art object detectors on MS-COCO and DOTA\ndatasets, with promising imperceptibility and transferability obtained. Codes\nare publicly released in https://github.com/liguopeng0923/LGP.git\n", "date": "2023-07-23", "categories": []} {"id": "2307.12498", "title": "Robust Automatic Speech Recognition via WavAugment Guided Phoneme\n Adversarial Training", "abstract": " Developing a practically-robust automatic speech recognition (ASR) is\nchallenging since the model should not only maintain the original performance\non clean samples, but also achieve consistent efficacy under small volume\nperturbations and large domain shifts. To address this problem, we propose a\nnovel WavAugment Guided Phoneme Adversarial Training (wapat). wapat use\nadversarial examples in phoneme space as augmentation to make the model\ninvariant to minor fluctuations in phoneme representation and preserve the\nperformance on clean samples. In addition, wapat utilizes the phoneme\nrepresentation of augmented samples to guide the generation of adversaries,\nwhich helps to find more stable and diverse gradient-directions, resulting in\nimproved generalization. Extensive experiments demonstrate the effectiveness of\nwapat on End-to-end Speech Challenge Benchmark (ESB). Notably, SpeechLM-wapat\noutperforms the original model by 6.28% WER reduction on ESB, achieving the new\nstate-of-the-art.\n", "date": "2023-07-24", "categories": []} {"id": "2307.12520", "title": "Lost In Translation: Generating Adversarial Examples Robust to\n Round-Trip Translation", "abstract": " Language Models today provide a high accuracy across a large number of\ndownstream tasks. However, they remain susceptible to adversarial attacks,\nparticularly against those where the adversarial examples maintain considerable\nsimilarity to the original text. Given the multilingual nature of text, the\neffectiveness of adversarial examples across translations and how machine\ntranslations can improve the robustness of adversarial examples remain largely\nunexplored. In this paper, we present a comprehensive study on the robustness\nof current text adversarial attacks to round-trip translation. We demonstrate\nthat 6 state-of-the-art text-based adversarial attacks do not maintain their\nefficacy after round-trip translation. Furthermore, we introduce an\nintervention-based solution to this problem, by integrating Machine Translation\ninto the process of adversarial example generation and demonstrating increased\nrobustness to round-trip translation. Our results indicate that finding\nadversarial examples robust to translation can help identify the insufficiency\nof language models that is common across languages, and motivate further\nresearch into multilingual adversarial attacks.\n", "date": "2023-07-24", "categories": []} {"id": "2210.03297", "title": "Preprocessors Matter! Realistic Decision-Based Attacks on Machine\n Learning Systems", "abstract": " Decision-based attacks construct adversarial examples against a machine\nlearning (ML) model by making only hard-label queries. These attacks have\nmainly been applied directly to standalone neural networks. However, in\npractice, ML models are just one component of a larger learning system. We find\nthat by adding a single preprocessor in front of a classifier, state-of-the-art\nquery-based attacks are up to 7$\\times$ less effective at attacking a\nprediction pipeline than at attacking the model alone. We explain this\ndiscrepancy by the fact that most preprocessors introduce some notion of\ninvariance to the input space. Hence, attacks that are unaware of this\ninvariance inevitably waste a large number of queries to re-discover or\novercome it. We, therefore, develop techniques to (i) reverse-engineer the\npreprocessor and then (ii) use this extracted information to attack the\nend-to-end system. Our preprocessors extraction method requires only a few\nhundred queries, and our preprocessor-aware attacks recover the same efficacy\nas when attacking the model alone. The code can be found at\nhttps://github.com/google-research/preprocessor-aware-black-box-attack.\n", "date": "2022-10-07", "categories": []} {"id": "2307.11528", "title": "Improving Viewpoint Robustness for Visual Recognition via Adversarial\n Training", "abstract": " Viewpoint invariance remains challenging for visual recognition in the 3D\nworld, as altering the viewing directions can significantly impact predictions\nfor the same object. While substantial efforts have been dedicated to making\nneural networks invariant to 2D image translations and rotations, viewpoint\ninvariance is rarely investigated. Motivated by the success of adversarial\ntraining in enhancing model robustness, we propose Viewpoint-Invariant\nAdversarial Training (VIAT) to improve the viewpoint robustness of image\nclassifiers. Regarding viewpoint transformation as an attack, we formulate VIAT\nas a minimax optimization problem, where the inner maximization characterizes\ndiverse adversarial viewpoints by learning a Gaussian mixture distribution\nbased on the proposed attack method GMVFool. The outer minimization obtains a\nviewpoint-invariant classifier by minimizing the expected loss over the\nworst-case viewpoint distributions that can share the same one for different\nobjects within the same category. Based on GMVFool, we contribute a large-scale\ndataset called ImageNet-V+ to benchmark viewpoint robustness. Experimental\nresults show that VIAT significantly improves the viewpoint robustness of\nvarious image classifiers based on the diversity of adversarial viewpoints\ngenerated by GMVFool. Furthermore, we propose ViewRS, a certified viewpoint\nrobustness method that provides a certified radius and accuracy to demonstrate\nthe effectiveness of VIAT from the theoretical perspective.\n", "date": "2023-07-21", "categories": []} {"id": "2208.10224", "title": "Friendly Noise against Adversarial Noise: A Powerful Defense against\n Data Poisoning Attacks", "abstract": " A powerful category of (invisible) data poisoning attacks modify a subset of\ntraining examples by small adversarial perturbations to change the prediction\nof certain test-time data. Existing defense mechanisms are not desirable to\ndeploy in practice, as they often either drastically harm the generalization\nperformance, or are attack-specific, and prohibitively slow to apply. Here, we\npropose a simple but highly effective approach that unlike existing methods\nbreaks various types of invisible poisoning attacks with the slightest drop in\nthe generalization performance. We make the key observation that attacks\nintroduce local sharp regions of high training loss, which when minimized,\nresults in learning the adversarial perturbations and makes the attack\nsuccessful. To break poisoning attacks, our key idea is to alleviate the sharp\nloss regions introduced by poisons. To do so, our approach comprises two\ncomponents: an optimized friendly noise that is generated to maximally perturb\nexamples without degrading the performance, and a randomly varying noise\ncomponent. The combination of both components builds a very light-weight but\nextremely effective defense against the most powerful triggerless targeted and\nhidden-trigger backdoor poisoning attacks, including Gradient Matching,\nBulls-eye Polytope, and Sleeper Agent. We show that our friendly noise is\ntransferable to other architectures, and adaptive attacks cannot break our\ndefense due to its random noise component. Our code is available at:\nhttps://github.com/tianyu139/friendly-noise\n", "date": "2022-08-14", "categories": []} {"id": "2210.06089", "title": "When are Local Queries Useful for Robust Learning?", "abstract": " Distributional assumptions have been shown to be necessary for the robust\nlearnability of concept classes when considering the exact-in-the-ball robust\nrisk and access to random examples by Gourdeau et al. (2019). In this paper, we\nstudy learning models where the learner is given more power through the use of\nlocal queries, and give the first distribution-free algorithms that perform\nrobust empirical risk minimization (ERM) for this notion of robustness. The\nfirst learning model we consider uses local membership queries (LMQ), where the\nlearner can query the label of points near the training sample. We show that,\nunder the uniform distribution, LMQs do not increase the robustness threshold\nof conjunctions and any superclass, e.g., decision lists and halfspaces. Faced\nwith this negative result, we introduce the local equivalence query\n($\\mathsf{LEQ}$) oracle, which returns whether the hypothesis and target\nconcept agree in the perturbation region around a point in the training sample,\nas well as a counterexample if it exists. We show a separation result: on the\none hand, if the query radius $\\lambda$ is strictly smaller than the\nadversary's perturbation budget $\\rho$, then distribution-free robust learning\nis impossible for a wide variety of concept classes; on the other hand, the\nsetting $\\lambda=\\rho$ allows us to develop robust ERM algorithms. We then\nbound the query complexity of these algorithms based on online learning\nguarantees and further improve these bounds for the special case of\nconjunctions. We finish by giving robust learning algorithms for halfspaces on\n$\\{0,1\\}^n$ and then obtaining robustness guarantees for halfspaces in\n$\\mathbb{R}^n$ against precision-bounded adversaries.\n", "date": "2022-10-12", "categories": []} {"id": "2302.10980", "title": "MultiRobustBench: Benchmarking Robustness Against Multiple Attacks", "abstract": " The bulk of existing research in defending against adversarial examples\nfocuses on defending against a single (typically bounded Lp-norm) attack, but\nfor a practical setting, machine learning (ML) models should be robust to a\nwide variety of attacks. In this paper, we present the first unified framework\nfor considering multiple attacks against ML models. Our framework is able to\nmodel different levels of learner's knowledge about the test-time adversary,\nallowing us to model robustness against unforeseen attacks and robustness\nagainst unions of attacks. Using our framework, we present the first\nleaderboard, MultiRobustBench, for benchmarking multiattack evaluation which\ncaptures performance across attack types and attack strengths. We evaluate the\nperformance of 16 defended models for robustness against a set of 9 different\nattack types, including Lp-based threat models, spatial transformations, and\ncolor changes, at 20 different attack strengths (180 attacks total).\nAdditionally, we analyze the state of current defenses against multiple\nattacks. Our analysis shows that while existing defenses have made progress in\nterms of average robustness across the set of attacks used, robustness against\nthe worst-case attack is still a big open problem as all existing models\nperform worse than random guessing.\n", "date": "2023-02-21", "categories": []} {"id": "2307.10235", "title": "Towards Viewpoint-Invariant Visual Recognition via Adversarial Training", "abstract": " Visual recognition models are not invariant to viewpoint changes in the 3D\nworld, as different viewing directions can dramatically affect the predictions\ngiven the same object. Although many efforts have been devoted to making neural\nnetworks invariant to 2D image translations and rotations, viewpoint invariance\nis rarely investigated. As most models process images in the perspective view,\nit is challenging to impose invariance to 3D viewpoint changes based only on 2D\ninputs. Motivated by the success of adversarial training in promoting model\nrobustness, we propose Viewpoint-Invariant Adversarial Training (VIAT) to\nimprove viewpoint robustness of common image classifiers. By regarding\nviewpoint transformation as an attack, VIAT is formulated as a minimax\noptimization problem, where the inner maximization characterizes diverse\nadversarial viewpoints by learning a Gaussian mixture distribution based on a\nnew attack GMVFool, while the outer minimization trains a viewpoint-invariant\nclassifier by minimizing the expected loss over the worst-case adversarial\nviewpoint distributions. To further improve the generalization performance, a\ndistribution sharing strategy is introduced leveraging the transferability of\nadversarial viewpoints across objects. Experiments validate the effectiveness\nof VIAT in improving the viewpoint robustness of various image classifiers\nbased on the diversity of adversarial viewpoints generated by GMVFool.\n", "date": "2023-07-16", "categories": []} {"id": "2307.10563", "title": "FACADE: A Framework for Adversarial Circuit Anomaly Detection and\n Evaluation", "abstract": " We present FACADE, a novel probabilistic and geometric framework designed for\nunsupervised mechanistic anomaly detection in deep neural networks. Its primary\ngoal is advancing the understanding and mitigation of adversarial attacks.\nFACADE aims to generate probabilistic distributions over circuits, which\nprovide critical insights to their contribution to changes in the manifold\nproperties of pseudo-classes, or high-dimensional modes in activation space,\nyielding a powerful tool for uncovering and combating adversarial attacks. Our\napproach seeks to improve model robustness, enhance scalable model oversight,\nand demonstrates promising applications in real-world deployment settings.\n", "date": "2023-07-20", "categories": []} {"id": "2307.10788", "title": "Adversarial attacks for mixtures of classifiers", "abstract": " Mixtures of classifiers (a.k.a. randomized ensembles) have been proposed as a\nway to improve robustness against adversarial attacks. However, it has been\nshown that existing attacks are not well suited for this kind of classifiers.\nIn this paper, we discuss the problem of attacking a mixture in a principled\nway and introduce two desirable properties of attacks based on a geometrical\nanalysis of the problem (effectiveness and maximality). We then show that\nexisting attacks do not meet both of these properties. Finally, we introduce a\nnew attack called lattice climber attack with theoretical guarantees on the\nbinary linear setting, and we demonstrate its performance by conducting\nexperiments on synthetic and real datasets.\n", "date": "2023-07-20", "categories": []} {"id": "2210.16117", "title": "Improving the Transferability of Adversarial Attacks on Face Recognition\n with Beneficial Perturbation Feature Augmentation", "abstract": " Face recognition (FR) models can be easily fooled by adversarial examples,\nwhich are crafted by adding imperceptible perturbations on benign face images.\nThe existence of adversarial face examples poses a great threat to the security\nof society. In order to build a more sustainable digital nation, in this paper,\nwe improve the transferability of adversarial face examples to expose more\nblind spots of existing FR models. Though generating hard samples has shown its\neffectiveness in improving the generalization of models in training tasks, the\neffectiveness of utilizing this idea to improve the transferability of\nadversarial face examples remains unexplored. To this end, based on the\nproperty of hard samples and the symmetry between training tasks and\nadversarial attack tasks, we propose the concept of hard models, which have\nsimilar effects as hard samples for adversarial attack tasks. Utilizing the\nconcept of hard models, we propose a novel attack method called Beneficial\nPerturbation Feature Augmentation Attack (BPFA), which reduces the overfitting\nof adversarial examples to surrogate FR models by constantly generating new\nhard models to craft the adversarial examples. Specifically, in the\nbackpropagation, BPFA records the gradients on pre-selected feature maps and\nuses the gradient on the input image to craft the adversarial example. In the\nnext forward propagation, BPFA leverages the recorded gradients to add\nbeneficial perturbations on their corresponding feature maps to increase the\nloss. Extensive experiments demonstrate that BPFA can significantly boost the\ntransferability of adversarial attacks on FR.\n", "date": "2022-10-28", "categories": []} {"id": "2302.05086", "title": "Making Substitute Models More Bayesian Can Enhance Transferability of\n Adversarial Examples", "abstract": " The transferability of adversarial examples across deep neural networks\n(DNNs) is the crux of many black-box attacks. Many prior efforts have been\ndevoted to improving the transferability via increasing the diversity in inputs\nof some substitute models. In this paper, by contrast, we opt for the diversity\nin substitute models and advocate to attack a Bayesian model for achieving\ndesirable transferability. Deriving from the Bayesian formulation, we develop a\nprincipled strategy for possible finetuning, which can be combined with many\noff-the-shelf Gaussian posterior approximations over DNN parameters. Extensive\nexperiments have been conducted to verify the effectiveness of our method, on\ncommon benchmark datasets, and the results demonstrate that our method\noutperforms recent state-of-the-arts by large margins (roughly 19% absolute\nincrease in average attack success rate on ImageNet), and, by combining with\nthese recent methods, further performance gain can be obtained. Our code:\nhttps://github.com/qizhangli/MoreBayesian-attack.\n", "date": "2023-02-10", "categories": []} {"id": "2306.07591", "title": "I See Dead People: Gray-Box Adversarial Attack on Image-To-Text Models", "abstract": " Modern image-to-text systems typically adopt the encoder-decoder framework,\nwhich comprises two main components: an image encoder, responsible for\nextracting image features, and a transformer-based decoder, used for generating\ncaptions. Taking inspiration from the analysis of neural networks' robustness\nagainst adversarial perturbations, we propose a novel gray-box algorithm for\ncreating adversarial examples in image-to-text models. Unlike image\nclassification tasks that have a finite set of class labels, finding visually\nsimilar adversarial examples in an image-to-text task poses greater challenges\nbecause the captioning system allows for a virtually infinite space of possible\ncaptions. In this paper, we present a gray-box adversarial attack on\nimage-to-text, both untargeted and targeted. We formulate the process of\ndiscovering adversarial perturbations as an optimization problem that uses only\nthe image-encoder component, meaning the proposed attack is language-model\nagnostic. Through experiments conducted on the ViT-GPT2 model, which is the\nmost-used image-to-text model in Hugging Face, and the Flickr30k dataset, we\ndemonstrate that our proposed attack successfully generates visually similar\nadversarial examples, both with untargeted and targeted captions. Notably, our\nattack operates in a gray-box manner, requiring no knowledge about the decoder\nmodule. We also show that our attacks fool the popular open-source platform\nHugging Face.\n", "date": "2023-06-13", "categories": []} {"id": "2307.07859", "title": "Unified Adversarial Patch for Cross-modal Attacks in the Physical World", "abstract": " Recently, physical adversarial attacks have been presented to evade\nDNNs-based object detectors. To ensure the security, many scenarios are\nsimultaneously deployed with visible sensors and infrared sensors, leading to\nthe failures of these single-modal physical attacks. To show the potential\nrisks under such scenes, we propose a unified adversarial patch to perform\ncross-modal physical attacks, i.e., fooling visible and infrared object\ndetectors at the same time via a single patch. Considering different imaging\nmechanisms of visible and infrared sensors, our work focuses on modeling the\nshapes of adversarial patches, which can be captured in different modalities\nwhen they change. To this end, we design a novel boundary-limited shape\noptimization to achieve the compact and smooth shapes, and thus they can be\neasily implemented in the physical world. In addition, to balance the fooling\ndegree between visible detector and infrared detector during the optimization\nprocess, we propose a score-aware iterative evaluation, which can guide the\nadversarial patch to iteratively reduce the predicted scores of the multi-modal\nsensors. We finally test our method against the one-stage detector: YOLOv3 and\nthe two-stage detector: Faster RCNN. Results show that our unified patch\nachieves an Attack Success Rate (ASR) of 73.33% and 69.17%, respectively. More\nimportantly, we verify the effective attacks in the physical world when visible\nand infrared sensors shoot the objects under various settings like different\nangles, distances, postures, and scenes.\n", "date": "2023-07-15", "categories": []} {"id": "2302.06060", "title": "Threatening Patch Attacks on Object Detection in Optical Remote Sensing\n Images", "abstract": " Advanced Patch Attacks (PAs) on object detection in natural images have\npointed out the great safety vulnerability in methods based on deep neural\nnetworks. However, little attention has been paid to this topic in Optical\nRemote Sensing Images (O-RSIs). To this end, we focus on this research, i.e.,\nPAs on object detection in O-RSIs, and propose a more Threatening PA without\nthe scarification of the visual quality, dubbed TPA. Specifically, to address\nthe problem of inconsistency between local and global landscapes in existing\npatch selection schemes, we propose leveraging the First-Order Difference (FOD)\nof the objective function before and after masking to select the sub-patches to\nbe attacked. Further, considering the problem of gradient inundation when\napplying existing coordinate-based loss to PAs directly, we design an IoU-based\nobjective function specific for PAs, dubbed Bounding box Drifting Loss (BDL),\nwhich pushes the detected bounding boxes far from the initial ones until there\nare no intersections between them. Finally, on two widely used benchmarks,\ni.e., DIOR and DOTA, comprehensive evaluations of our TPA with four typical\ndetectors (Faster R-CNN, FCOS, RetinaNet, and YOLO-v4) witness its remarkable\neffectiveness. To the best of our knowledge, this is the first attempt to study\nthe PAs on object detection in O-RSIs, and we hope this work can get our\nreaders interested in studying this topic.\n", "date": "2023-02-13", "categories": []} {"id": "2307.07250", "title": "Mitigating Adversarial Vulnerability through Causal Parameter Estimation\n by Adversarial Double Machine Learning", "abstract": " Adversarial examples derived from deliberately crafted perturbations on\nvisual inputs can easily harm decision process of deep neural networks. To\nprevent potential threats, various adversarial training-based defense methods\nhave grown rapidly and become a de facto standard approach for robustness.\nDespite recent competitive achievements, we observe that adversarial\nvulnerability varies across targets and certain vulnerabilities remain\nprevalent. Intriguingly, such peculiar phenomenon cannot be relieved even with\ndeeper architectures and advanced defense methods. To address this issue, in\nthis paper, we introduce a causal approach called Adversarial Double Machine\nLearning (ADML), which allows us to quantify the degree of adversarial\nvulnerability for network predictions and capture the effect of treatments on\noutcome of interests. ADML can directly estimate causal parameter of\nadversarial perturbations per se and mitigate negative effects that can\npotentially damage robustness, bridging a causal perspective into the\nadversarial vulnerability. Through extensive experiments on various CNN and\nTransformer architectures, we corroborate that ADML improves adversarial\nrobustness with large margins and relieve the empirical observation.\n", "date": "2023-07-14", "categories": []} {"id": "2307.07916", "title": "On the Robustness of Split Learning against Adversarial Attacks", "abstract": " Split learning enables collaborative deep learning model training while\npreserving data privacy and model security by avoiding direct sharing of raw\ndata and model details (i.e., sever and clients only hold partial sub-networks\nand exchange intermediate computations). However, existing research has mainly\nfocused on examining its reliability for privacy protection, with little\ninvestigation into model security. Specifically, by exploring full models,\nattackers can launch adversarial attacks, and split learning can mitigate this\nsevere threat by only disclosing part of models to untrusted servers.This paper\naims to evaluate the robustness of split learning against adversarial attacks,\nparticularly in the most challenging setting where untrusted servers only have\naccess to the intermediate layers of the model.Existing adversarial attacks\nmostly focus on the centralized setting instead of the collaborative setting,\nthus, to better evaluate the robustness of split learning, we develop a\ntailored attack called SPADV, which comprises two stages: 1) shadow model\ntraining that addresses the issue of lacking part of the model and 2) local\nadversarial attack that produces adversarial examples to evaluate.The first\nstage only requires a few unlabeled non-IID data, and, in the second stage,\nSPADV perturbs the intermediate output of natural samples to craft the\nadversarial ones. The overall cost of the proposed attack process is relatively\nlow, yet the empirical attack effectiveness is significantly high,\ndemonstrating the surprising vulnerability of split learning to adversarial\nattacks.\n", "date": "2023-07-16", "categories": []} {"id": "2302.14267", "title": "Adversarial Attack with Raindrops", "abstract": " Deep neural networks (DNNs) are known to be vulnerable to adversarial\nexamples, which are usually designed artificially to fool DNNs, but rarely\nexist in real-world scenarios. In this paper, we study the adversarial examples\ncaused by raindrops, to demonstrate that there exist plenty of natural\nphenomena being able to work as adversarial attackers to DNNs. Moreover, we\npresent a new approach to generate adversarial raindrops, denoted as AdvRD,\nusing the generative adversarial network (GAN) technique to simulate natural\nraindrops. The images crafted by our AdvRD look very similar to the real-world\nraindrop images, statistically close to the distribution of true raindrop\nimages, and more importantly, can perform strong adversarial attack to the\nstate-of-the-art DNN models. On the other side, we show that the adversarial\ntraining using our AdvRD images can significantly improve the robustness of\nDNNs to the real-world raindrop attacks. Extensive experiments are carried out\nto demonstrate that the images crafted by AdvRD are visually and statistically\nclose to the natural raindrop images, can work as strong attackers to DNN\nmodels, and also help improve the robustness of DNNs to raindrop attacks.\n", "date": "2023-02-28", "categories": []} {"id": "2304.02312", "title": "How to choose your best allies for a transferable attack?", "abstract": " The transferability of adversarial examples is a key issue in the security of\ndeep neural networks. The possibility of an adversarial example crafted for a\nsource model fooling another targeted model makes the threat of adversarial\nattacks more realistic. Measuring transferability is a crucial problem, but the\nAttack Success Rate alone does not provide a sound evaluation. This paper\nproposes a new methodology for evaluating transferability by putting distortion\nin a central position. This new tool shows that transferable attacks may\nperform far worse than a black box attack if the attacker randomly picks the\nsource model. To address this issue, we propose a new selection mechanism,\ncalled FiT, which aims at choosing the best source model with only a few\npreliminary queries to the target. Our experimental results show that FiT is\nhighly effective at selecting the best source model for multiple scenarios such\nas single-model attacks, ensemble-model attacks and multiple attacks (Code\navailable at: https://github.com/t-maho/transferability_measure_fit).\n", "date": "2023-04-05", "categories": []} {"id": "2307.06548", "title": "Multi-objective Evolutionary Search of Variable-length Composite\n Semantic Perturbations", "abstract": " Deep neural networks have proven to be vulnerable to adversarial attacks in\nthe form of adding specific perturbations on images to make wrong outputs.\nDesigning stronger adversarial attack methods can help more reliably evaluate\nthe robustness of DNN models. To release the harbor burden and improve the\nattack performance, auto machine learning (AutoML) has recently emerged as one\nsuccessful technique to help automatically find the near-optimal adversarial\nattack strategy. However, existing works about AutoML for adversarial attacks\nonly focus on $L_{\\infty}$-norm-based perturbations. In fact, semantic\nperturbations attract increasing attention due to their naturalnesses and\nphysical realizability. To bridge the gap between AutoML and semantic\nadversarial attacks, we propose a novel method called multi-objective\nevolutionary search of variable-length composite semantic perturbations\n(MES-VCSP). Specifically, we construct the mathematical model of\nvariable-length composite semantic perturbations, which provides five\ngradient-based semantic attack methods. The same type of perturbation in an\nattack sequence is allowed to be performed multiple times. Besides, we\nintroduce the multi-objective evolutionary search consisting of NSGA-II and\nneighborhood search to find near-optimal variable-length attack sequences.\nExperimental results on CIFAR10 and ImageNet datasets show that compared with\nexisting methods, MES-VCSP can obtain adversarial examples with a higher attack\nsuccess rate, more naturalness, and less time cost.\n", "date": "2023-07-13", "categories": []} {"id": "2307.07653", "title": "RFLA: A Stealthy Reflected Light Adversarial Attack in the Physical\n World", "abstract": " Physical adversarial attacks against deep neural networks (DNNs) have\nrecently gained increasing attention. The current mainstream physical attacks\nuse printed adversarial patches or camouflage to alter the appearance of the\ntarget object. However, these approaches generate conspicuous adversarial\npatterns that show poor stealthiness. Another physical deployable attack is the\noptical attack, featuring stealthiness while exhibiting weakly in the daytime\nwith sunlight. In this paper, we propose a novel Reflected Light Attack (RFLA),\nfeaturing effective and stealthy in both the digital and physical world, which\nis implemented by placing the color transparent plastic sheet and a paper cut\nof a specific shape in front of the mirror to create different colored\ngeometries on the target object. To achieve these goals, we devise a general\nframework based on the circle to model the reflected light on the target\nobject. Specifically, we optimize a circle (composed of a coordinate and\nradius) to carry various geometrical shapes determined by the optimized angle.\nThe fill color of the geometry shape and its corresponding transparency are\nalso optimized. We extensively evaluate the effectiveness of RFLA on different\ndatasets and models. Experiment results suggest that the proposed method\nachieves over 99% success rate on different datasets and models in the digital\nworld. Additionally, we verify the effectiveness of the proposed method in\ndifferent physical environments by using sunlight or a flashlight.\n", "date": "2023-07-14", "categories": []} {"id": "2307.07670", "title": "Efficient Adversarial Attacks on Online Multi-agent Reinforcement\n Learning", "abstract": " Due to the broad range of applications of multi-agent reinforcement learning\n(MARL), understanding the effects of adversarial attacks against MARL model is\nessential for the safe applications of this model. Motivated by this, we\ninvestigate the impact of adversarial attacks on MARL. In the considered setup,\nthere is an exogenous attacker who is able to modify the rewards before the\nagents receive them or manipulate the actions before the environment receives\nthem. The attacker aims to guide each agent into a target policy or maximize\nthe cumulative rewards under some specific reward function chosen by the\nattacker, while minimizing the amount of manipulation on feedback and action.\nWe first show the limitations of the action poisoning only attacks and the\nreward poisoning only attacks. We then introduce a mixed attack strategy with\nboth the action poisoning and the reward poisoning. We show that the mixed\nattack strategy can efficiently attack MARL agents even if the attacker has no\nprior information about the underlying environment and the agents' algorithms.\n", "date": "2023-07-15", "categories": []} {"id": "2307.08076", "title": "Diffusion to Confusion: Naturalistic Adversarial Patch Generation Based\n on Diffusion Model for Object Detector", "abstract": " Many physical adversarial patch generation methods are widely proposed to\nprotect personal privacy from malicious monitoring using object detectors.\nHowever, they usually fail to generate satisfactory patch images in terms of\nboth stealthiness and attack performance without making huge efforts on careful\nhyperparameter tuning. To address this issue, we propose a novel naturalistic\nadversarial patch generation method based on the diffusion models (DM). Through\nsampling the optimal image from the DM model pretrained upon natural images, it\nallows us to stably craft high-quality and naturalistic physical adversarial\npatches to humans without suffering from serious mode collapse problems as\nother deep generative models. To the best of our knowledge, we are the first to\npropose DM-based naturalistic adversarial patch generation for object\ndetectors. With extensive quantitative, qualitative, and subjective\nexperiments, the results demonstrate the effectiveness of the proposed approach\nto generate better-quality and more naturalistic adversarial patches while\nachieving acceptable attack performance than other state-of-the-art patch\ngeneration methods. We also show various generation trade-offs under different\nconditions.\n", "date": "2023-07-16", "categories": []} {"id": "2307.08278", "title": "Adversarial Attacks on Traffic Sign Recognition: A Survey", "abstract": " Traffic sign recognition is an essential component of perception in\nautonomous vehicles, which is currently performed almost exclusively with deep\nneural networks (DNNs). However, DNNs are known to be vulnerable to adversarial\nattacks. Several previous works have demonstrated the feasibility of\nadversarial attacks on traffic sign recognition models. Traffic signs are\nparticularly promising for adversarial attack research due to the ease of\nperforming real-world attacks using printed signs or stickers. In this work, we\nsurvey existing works performing either digital or real-world attacks on\ntraffic sign detection and classification models. We provide an overview of the\nlatest advancements and highlight the existing research areas that require\nfurther investigation.\n", "date": "2023-07-17", "categories": []} {"id": "2307.07167", "title": "Vulnerability-Aware Instance Reweighting For Adversarial Training", "abstract": " Adversarial Training (AT) has been found to substantially improve the\nrobustness of deep learning classifiers against adversarial attacks. AT\ninvolves obtaining robustness by including adversarial examples in training a\nclassifier. Most variants of AT algorithms treat every training example\nequally. However, recent works have shown that better performance is achievable\nby treating them unequally. In addition, it has been observed that AT exerts an\nuneven influence on different classes in a training set and unfairly hurts\nexamples corresponding to classes that are inherently harder to classify.\nConsequently, various reweighting schemes have been proposed that assign\nunequal weights to robust losses of individual examples in a training set. In\nthis work, we propose a novel instance-wise reweighting scheme. It considers\nthe vulnerability of each natural example and the resulting information loss on\nits adversarial counterpart occasioned by adversarial attacks. Through\nextensive experiments, we show that our proposed method significantly improves\nover existing reweighting schemes, especially against strong white and\nblack-box attacks.\n", "date": "2023-07-14", "categories": []} {"id": "2211.00241", "title": "Adversarial Policies Beat Superhuman Go AIs", "abstract": " We attack the state-of-the-art Go-playing AI system KataGo by training\nadversarial policies against it, achieving a >97% win rate against KataGo\nrunning at superhuman settings. Our adversaries do not win by playing Go well.\nInstead, they trick KataGo into making serious blunders. Our attack transfers\nzero-shot to other superhuman Go-playing AIs, and is comprehensible to the\nextent that human experts can implement it without algorithmic assistance to\nconsistently beat superhuman AIs. The core vulnerability uncovered by our\nattack persists even in KataGo agents adversarially trained to defend against\nour attack. Our results demonstrate that even superhuman AI systems may harbor\nsurprising failure modes. Example games are available https://goattack.far.ai/.\n", "date": "2022-11-01", "categories": []} {"id": "2307.06484", "title": "Single-Class Target-Specific Attack against Interpretable Deep Learning\n Systems", "abstract": " In this paper, we present a novel Single-class target-specific Adversarial\nattack called SingleADV. The goal of SingleADV is to generate a universal\nperturbation that deceives the target model into confusing a specific category\nof objects with a target category while ensuring highly relevant and accurate\ninterpretations. The universal perturbation is stochastically and iteratively\noptimized by minimizing the adversarial loss that is designed to consider both\nthe classifier and interpreter costs in targeted and non-targeted categories.\nIn this optimization framework, ruled by the first- and second-moment\nestimations, the desired loss surface promotes high confidence and\ninterpretation score of adversarial samples. By avoiding unintended\nmisclassification of samples from other categories, SingleADV enables more\neffective targeted attacks on interpretable deep learning systems in both\nwhite-box and black-box scenarios. To evaluate the effectiveness of SingleADV,\nwe conduct experiments using four different model architectures (ResNet-50,\nVGG-16, DenseNet-169, and Inception-V3) coupled with three interpretation\nmodels (CAM, Grad, and MASK). Through extensive empirical evaluation, we\ndemonstrate that SingleADV effectively deceives the target deep learning models\nand their associated interpreters under various conditions and settings. Our\nexperimental results show that the performance of SingleADV is effective, with\nan average fooling ratio of 0.74 and an adversarial confidence level of 0.78 in\ngenerating deceptive adversarial samples. Furthermore, we discuss several\ncountermeasures against SingleADV, including a transfer-based learning approach\nand existing preprocessing defenses.\n", "date": "2023-07-12", "categories": []} {"id": "2307.06496", "title": "Microbial Genetic Algorithm-based Black-box Attack against Interpretable\n Deep Learning Systems", "abstract": " Deep learning models are susceptible to adversarial samples in white and\nblack-box environments. Although previous studies have shown high attack\nsuccess rates, coupling DNN models with interpretation models could offer a\nsense of security when a human expert is involved, who can identify whether a\ngiven sample is benign or malicious. However, in white-box environments,\ninterpretable deep learning systems (IDLSes) have been shown to be vulnerable\nto malicious manipulations. In black-box settings, as access to the components\nof IDLSes is limited, it becomes more challenging for the adversary to fool the\nsystem. In this work, we propose a Query-efficient Score-based black-box attack\nagainst IDLSes, QuScore, which requires no knowledge of the target model and\nits coupled interpretation model. QuScore is based on transfer-based and\nscore-based methods by employing an effective microbial genetic algorithm. Our\nmethod is designed to reduce the number of queries necessary to carry out\nsuccessful attacks, resulting in a more efficient process. By continuously\nrefining the adversarial samples created based on feedback scores from the\nIDLS, our approach effectively navigates the search space to identify\nperturbations that can fool the system. We evaluate the attack's effectiveness\non four CNN models (Inception, ResNet, VGG, DenseNet) and two interpretation\nmodels (CAM, Grad), using both ImageNet and CIFAR datasets. Our results show\nthat the proposed approach is query-efficient with a high attack success rate\nthat can reach between 95% and 100% and transferability with an average success\nrate of 69% in the ImageNet and CIFAR datasets. Our attack method generates\nadversarial examples with attribution maps that resemble benign samples. We\nhave also demonstrated that our attack is resilient against various\npreprocessing defense techniques and can easily be transferred to different DNN\nmodels.\n", "date": "2023-07-13", "categories": []} {"id": "2212.10258", "title": "In and Out-of-Domain Text Adversarial Robustness via Label Smoothing", "abstract": " Recently it has been shown that state-of-the-art NLP models are vulnerable to\nadversarial attacks, where the predictions of a model can be drastically\naltered by slight modifications to the input (such as synonym substitutions).\nWhile several defense techniques have been proposed, and adapted, to the\ndiscrete nature of text adversarial attacks, the benefits of general-purpose\nregularization methods such as label smoothing for language models, have not\nbeen studied. In this paper, we study the adversarial robustness provided by\nvarious label smoothing strategies in foundational models for diverse NLP tasks\nin both in-domain and out-of-domain settings. Our experiments show that label\nsmoothing significantly improves adversarial robustness in pre-trained models\nlike BERT, against various popular attacks. We also analyze the relationship\nbetween prediction confidence and robustness, showing that label smoothing\nreduces over-confident errors on adversarial examples.\n", "date": "2022-12-20", "categories": []} {"id": "2211.11030", "title": "Adversarial Cheap Talk", "abstract": " Adversarial attacks in reinforcement learning (RL) often assume\nhighly-privileged access to the victim's parameters, environment, or data.\nInstead, this paper proposes a novel adversarial setting called a Cheap Talk\nMDP in which an Adversary can merely append deterministic messages to the\nVictim's observation, resulting in a minimal range of influence. The Adversary\ncannot occlude ground truth, influence underlying environment dynamics or\nreward signals, introduce non-stationarity, add stochasticity, see the Victim's\nactions, or access their parameters. Additionally, we present a simple\nmeta-learning algorithm called Adversarial Cheap Talk (ACT) to train\nAdversaries in this setting. We demonstrate that an Adversary trained with ACT\nstill significantly influences the Victim's training and testing performance,\ndespite the highly constrained setting. Affecting train-time performance\nreveals a new attack vector and provides insight into the success and failure\nmodes of existing RL algorithms. More specifically, we show that an ACT\nAdversary is capable of harming performance by interfering with the learner's\nfunction approximation, or instead helping the Victim's performance by\noutputting useful features. Finally, we show that an ACT Adversary can\nmanipulate messages during train-time to directly and arbitrarily control the\nVictim at test-time. Project video and code are available at\nhttps://sites.google.com/view/adversarial-cheap-talk\n", "date": "2022-11-20", "categories": []} {"id": "2307.05095", "title": "ATWM: Defense against adversarial malware based on adversarial training", "abstract": " Deep learning technology has made great achievements in the field of image.\nIn order to defend against malware attacks, researchers have proposed many\nWindows malware detection models based on deep learning. However, deep learning\nmodels are vulnerable to adversarial example attacks. Malware can generate\nadversarial malware with the same malicious function to attack the malware\ndetection model and evade detection of the model. Currently, many adversarial\ndefense studies have been proposed, but existing adversarial defense studies\nare based on image sample and cannot be directly applied to malware sample.\nTherefore, this paper proposes an adversarial malware defense method based on\nadversarial training. This method uses preprocessing to defend simple\nadversarial examples to reduce the difficulty of adversarial training.\nMoreover, this method improves the adversarial defense capability of the model\nthrough adversarial training. We experimented with three attack methods in two\nsets of datasets, and the results show that the method in this paper can\nimprove the adversarial defense capability of the model without reducing the\naccuracy of the model.\n", "date": "2023-07-11", "categories": []} {"id": "2307.03803", "title": "A Theoretical Perspective on Subnetwork Contributions to Adversarial\n Robustness", "abstract": " The robustness of deep neural networks (DNNs) against adversarial attacks has\nbeen studied extensively in hopes of both better understanding how deep\nlearning models converge and in order to ensure the security of these models in\nsafety-critical applications. Adversarial training is one approach to\nstrengthening DNNs against adversarial attacks, and has been shown to offer a\nmeans for doing so at the cost of applying computationally expensive training\nmethods to the entire model. To better understand these attacks and facilitate\nmore efficient adversarial training, in this paper we develop a novel\ntheoretical framework that investigates how the adversarial robustness of a\nsubnetwork contributes to the robustness of the entire network. To do so we\nfirst introduce the concept of semirobustness, which is a measure of the\nadversarial robustness of a subnetwork. Building on this concept, we then\nprovide a theoretical analysis to show that if a subnetwork is semirobust and\nthere is a sufficient dependency between it and each subsequent layer in the\nnetwork, then the remaining layers are also guaranteed to be robust. We\nvalidate these findings empirically across multiple DNN architectures,\ndatasets, and adversarial attacks. Experiments show the ability of a robust\nsubnetwork to promote full-network robustness, and investigate the layer-wise\ndependencies required for this full-network robustness to be achieved.\n", "date": "2023-07-07", "categories": []} {"id": "2307.04066", "title": "Random Position Adversarial Patch for Vision Transformers", "abstract": " Previous studies have shown the vulnerability of vision transformers to\nadversarial patches, but these studies all rely on a critical assumption: the\nattack patches must be perfectly aligned with the patches used for linear\nprojection in vision transformers. Due to this stringent requirement, deploying\nadversarial patches for vision transformers in the physical world becomes\nimpractical, unlike their effectiveness on CNNs. This paper proposes a novel\nmethod for generating an adversarial patch (G-Patch) that overcomes the\nalignment constraint, allowing the patch to launch a targeted attack at any\nposition within the field of view. Specifically, instead of directly optimizing\nthe patch using gradients, we employ a GAN-like structure to generate the\nadversarial patch. Our experiments show the effectiveness of the adversarial\npatch in achieving universal attacks on vision transformers, both in digital\nand physical-world scenarios. Additionally, further analysis reveals that the\ngenerated adversarial patch exhibits robustness to brightness restriction,\ncolor transfer, and random noise. Real-world attack experiments validate the\neffectiveness of the G-Patch to launch robust attacks even under some very\nchallenging conditions.\n", "date": "2023-07-09", "categories": []} {"id": "2307.04099", "title": "GNP Attack: Transferable Adversarial Examples via Gradient Norm Penalty", "abstract": " Adversarial examples (AE) with good transferability enable practical\nblack-box attacks on diverse target models, where insider knowledge about the\ntarget models is not required. Previous methods often generate AE with no or\nvery limited transferability; that is, they easily overfit to the particular\narchitecture and feature representation of the source, white-box model and the\ngenerated AE barely work for target, black-box models. In this paper, we\npropose a novel approach to enhance AE transferability using Gradient Norm\nPenalty (GNP). It drives the loss function optimization procedure to converge\nto a flat region of local optima in the loss landscape. By attacking 11\nstate-of-the-art (SOTA) deep learning models and 6 advanced defense methods, we\nempirically show that GNP is very effective in generating AE with high\ntransferability. We also demonstrate that it is very flexible in that it can be\neasily integrated with other gradient based methods for stronger transfer-based\nattacks.\n", "date": "2023-07-09", "categories": []} {"id": "2210.13235", "title": "Chaos Theory and Adversarial Robustness", "abstract": " Neural networks, being susceptible to adversarial attacks, should face a\nstrict level of scrutiny before being deployed in critical or adversarial\napplications. This paper uses ideas from Chaos Theory to explain, analyze, and\nquantify the degree to which neural networks are susceptible to or robust\nagainst adversarial attacks. To this end, we present a new metric, the\n\"susceptibility ratio,\" given by $\\hat \\Psi(h, \\theta)$, which captures how\ngreatly a model's output will be changed by perturbations to a given input.\n Our results show that susceptibility to attack grows significantly with the\ndepth of the model, which has safety implications for the design of neural\nnetworks for production environments. We provide experimental evidence of the\nrelationship between $\\hat \\Psi$ and the post-attack accuracy of classification\nmodels, as well as a discussion of its application to tasks lacking hard\ndecision boundaries. We also demonstrate how to quickly and easily approximate\nthe certified robustness radii for extremely large models, which until now has\nbeen computationally infeasible to calculate directly.\n", "date": "2022-10-20", "categories": []} {"id": "2307.02828", "title": "Sampling-based Fast Gradient Rescaling Method for Highly Transferable\n Adversarial Attacks", "abstract": " Deep neural networks are known to be vulnerable to adversarial examples\ncrafted by adding human-imperceptible perturbations to the benign input. After\nachieving nearly 100% attack success rates in white-box setting, more focus is\nshifted to black-box attacks, of which the transferability of adversarial\nexamples has gained significant attention. In either case, the common\ngradient-based methods generally use the sign function to generate\nperturbations on the gradient update, that offers a roughly correct direction\nand has gained great success. But little work pays attention to its possible\nlimitation. In this work, we observe that the deviation between the original\ngradient and the generated noise may lead to inaccurate gradient update\nestimation and suboptimal solutions for adversarial transferability. To this\nend, we propose a Sampling-based Fast Gradient Rescaling Method (S-FGRM).\nSpecifically, we use data rescaling to substitute the sign function without\nextra computational cost. We further propose a Depth First Sampling method to\neliminate the fluctuation of rescaling and stabilize the gradient update. Our\nmethod could be used in any gradient-based attacks and is extensible to be\nintegrated with various input transformation or ensemble methods to further\nimprove the adversarial transferability. Extensive experiments on the standard\nImageNet dataset show that our method could significantly boost the\ntransferability of gradient-based attacks and outperform the state-of-the-art\nbaselines.\n", "date": "2023-07-06", "categories": []} {"id": "2210.09643", "title": "Improving Adversarial Robustness by Contrastive Guided Diffusion Process", "abstract": " Synthetic data generation has become an emerging tool to help improve the\nadversarial robustness in classification tasks since robust learning requires a\nsignificantly larger amount of training samples compared with standard\nclassification tasks. Among various deep generative models, the diffusion model\nhas been shown to produce high-quality synthetic images and has achieved good\nperformance in improving the adversarial robustness. However, diffusion-type\nmethods are typically slow in data generation as compared with other generative\nmodels. Although different acceleration techniques have been proposed recently,\nit is also of great importance to study how to improve the sample efficiency of\ngenerated data for the downstream task. In this paper, we first analyze the\noptimality condition of synthetic distribution for achieving non-trivial robust\naccuracy. We show that enhancing the distinguishability among the generated\ndata is critical for improving adversarial robustness. Thus, we propose the\nContrastive-Guided Diffusion Process (Contrastive-DP), which adopts the\ncontrastive loss to guide the diffusion model in data generation. We verify our\ntheoretical results using simulations and demonstrate the good performance of\nContrastive-DP on image datasets.\n", "date": "2022-10-18", "categories": []} {"id": "2305.01361", "title": "Boosting Adversarial Transferability via Fusing Logits of Top-1\n Decomposed Feature", "abstract": " Recent research has shown that Deep Neural Networks (DNNs) are highly\nvulnerable to adversarial samples, which are highly transferable and can be\nused to attack other unknown black-box models. To improve the transferability\nof adversarial samples, several feature-based adversarial attack methods have\nbeen proposed to disrupt neuron activation in the middle layers. However,\ncurrent state-of-the-art feature-based attack methods typically require\nadditional computation costs for estimating the importance of neurons. To\naddress this challenge, we propose a Singular Value Decomposition (SVD)-based\nfeature-level attack method. Our approach is inspired by the discovery that\neigenvectors associated with the larger singular values decomposed from the\nmiddle layer features exhibit superior generalization and attention properties.\nSpecifically, we conduct the attack by retaining the decomposed Top-1 singular\nvalue-associated feature for computing the output logits, which are then\ncombined with the original logits to optimize adversarial examples. Our\nextensive experimental results verify the effectiveness of our proposed method,\nwhich can be easily integrated into various baselines to significantly enhance\nthe transferability of adversarial samples for disturbing normally trained CNNs\nand advanced defense strategies. The source code of this study is available at\nhttps://github.com/WJJLL/SVD-SSA\n", "date": "2023-05-02", "categories": []} {"id": "2306.17431", "title": "Defense against Adversarial Cloud Attack on Remote Sensing Salient\n Object Detection", "abstract": " Detecting the salient objects in a remote sensing image has wide applications\nfor the interdisciplinary research. Many existing deep learning methods have\nbeen proposed for Salient Object Detection (SOD) in remote sensing images and\nget remarkable results. However, the recent adversarial attack examples,\ngenerated by changing a few pixel values on the original remote sensing image,\ncould result in a collapse for the well-trained deep learning based SOD model.\nDifferent with existing methods adding perturbation to original images, we\npropose to jointly tune adversarial exposure and additive perturbation for\nattack and constrain image close to cloudy image as Adversarial Cloud. Cloud is\nnatural and common in remote sensing images, however, camouflaging cloud based\nadversarial attack and defense for remote sensing images are not well studied\nbefore. Furthermore, we design DefenseNet as a learn-able pre-processing to the\nadversarial cloudy images so as to preserve the performance of the deep\nlearning based remote sensing SOD model, without tuning the already deployed\ndeep SOD model. By considering both regular and generalized adversarial\nexamples, the proposed DefenseNet can defend the proposed Adversarial Cloud in\nwhite-box setting and other attack methods in black-box setting. Experimental\nresults on a synthesized benchmark from the public remote sensing SOD dataset\n(EORSSD) show the promising defense against adversarial cloud attacks.\n", "date": "2023-06-30", "categories": []} {"id": "2307.01390", "title": "Adversarial Learning in Real-World Fraud Detection: Challenges and\n Perspectives", "abstract": " Data economy relies on data-driven systems and complex machine learning\napplications are fueled by them. Unfortunately, however, machine learning\nmodels are exposed to fraudulent activities and adversarial attacks, which\nthreaten their security and trustworthiness. In the last decade or so, the\nresearch interest on adversarial machine learning has grown significantly,\nrevealing how learning applications could be severely impacted by effective\nattacks. Although early results of adversarial machine learning indicate the\nhuge potential of the approach to specific domains such as image processing,\nstill there is a gap in both the research literature and practice regarding how\nto generalize adversarial techniques in other domains and applications. Fraud\ndetection is a critical defense mechanism for data economy, as it is for other\napplications as well, which poses several challenges for machine learning. In\nthis work, we describe how attacks against fraud detection systems differ from\nother applications of adversarial machine learning, and propose a number of\ninteresting directions to bridge this gap.\n", "date": "2023-07-03", "categories": []} {"id": "2307.01488", "title": "SCAT: Robust Self-supervised Contrastive Learning via Adversarial\n Training for Text Classification", "abstract": " Despite their promising performance across various natural language\nprocessing (NLP) tasks, current NLP systems are vulnerable to textual\nadversarial attacks. To defend against these attacks, most existing methods\napply adversarial training by incorporating adversarial examples. However,\nthese methods have to rely on ground-truth labels to generate adversarial\nexamples, rendering it impractical for large-scale model pre-training which is\ncommonly used nowadays for NLP and many other tasks. In this paper, we propose\na novel learning framework called SCAT (Self-supervised Contrastive Learning\nvia Adversarial Training), which can learn robust representations without\nrequiring labeled data. Specifically, SCAT modifies random augmentations of the\ndata in a fully labelfree manner to generate adversarial examples. Adversarial\ntraining is achieved by minimizing the contrastive loss between the\naugmentations and their adversarial counterparts. We evaluate SCAT on two text\nclassification datasets using two state-of-the-art attack schemes proposed\nrecently. Our results show that SCAT can not only train robust language models\nfrom scratch, but it can also significantly improve the robustness of existing\npre-trained language models. Moreover, to demonstrate its flexibility, we show\nthat SCAT can also be combined with supervised adversarial training to further\nenhance model robustness.\n", "date": "2023-07-04", "categories": []} {"id": "2307.02055", "title": "Adversarial Attacks on Image Classification Models: FGSM and Patch\n Attacks and their Impact", "abstract": " This chapter introduces the concept of adversarial attacks on image\nclassification models built on convolutional neural networks (CNN). CNNs are\nvery popular deep-learning models which are used in image classification tasks.\nHowever, very powerful and pre-trained CNN models working very accurately on\nimage datasets for image classification tasks may perform disastrously when the\nnetworks are under adversarial attacks. In this work, two very well-known\nadversarial attacks are discussed and their impact on the performance of image\nclassifiers is analyzed. These two adversarial attacks are the fast gradient\nsign method (FGSM) and adversarial patch attack. These attacks are launched on\nthree powerful pre-trained image classifier architectures, ResNet-34,\nGoogleNet, and DenseNet-161. The classification accuracy of the models in the\nabsence and presence of the two attacks are computed on images from the\npublicly accessible ImageNet dataset. The results are analyzed to evaluate the\nimpact of the attacks on the image classification task.\n", "date": "2023-07-05", "categories": []} {"id": "2307.02202", "title": "On the Adversarial Robustness of Generative Autoencoders in the Latent\n Space", "abstract": " The generative autoencoders, such as the variational autoencoders or the\nadversarial autoencoders, have achieved great success in lots of real-world\napplications, including image generation, and signal communication.\n However, little concern has been devoted to their robustness during practical\ndeployment.\n Due to the probabilistic latent structure, variational autoencoders (VAEs)\nmay confront problems such as a mismatch between the posterior distribution of\nthe latent and real data manifold, or discontinuity in the posterior\ndistribution of the latent.\n This leaves a back door for malicious attackers to collapse VAEs from the\nlatent space, especially in scenarios where the encoder and decoder are used\nseparately, such as communication and compressed sensing.\n In this work, we provide the first study on the adversarial robustness of\ngenerative autoencoders in the latent space.\n Specifically, we empirically demonstrate the latent vulnerability of popular\ngenerative autoencoders through attacks in the latent space.\n We also evaluate the difference between variational autoencoders and their\ndeterministic variants and observe that the latter performs better in latent\nrobustness.\n Meanwhile, we identify a potential trade-off between the adversarial\nrobustness and the degree of the disentanglement of the latent codes.\n Additionally, we also verify the feasibility of improvement for the latent\nrobustness of VAEs through adversarial training.\n In summary, we suggest concerning the adversarial latent robustness of the\ngenerative autoencoders, analyze several robustness-relative issues, and give\nsome insights into a series of key challenges.\n", "date": "2023-07-05", "categories": []} {"id": "2305.05392", "title": "Sharpness-Aware Minimization Alone can Improve Adversarial Robustness", "abstract": " Sharpness-Aware Minimization (SAM) is an effective method for improving\ngeneralization ability by regularizing loss sharpness. In this paper, we\nexplore SAM in the context of adversarial robustness. We find that using only\nSAM can achieve superior adversarial robustness without sacrificing clean\naccuracy compared to standard training, which is an unexpected benefit. We also\ndiscuss the relation between SAM and adversarial training (AT), a popular\nmethod for improving the adversarial robustness of DNNs. In particular, we show\nthat SAM and AT differ in terms of perturbation strength, leading to different\naccuracy and robustness trade-offs. We provide theoretical evidence for these\nclaims in a simplified model. Finally, while AT suffers from decreased clean\naccuracy and computational overhead, we suggest that SAM can be regarded as a\nlightweight substitute for AT under certain requirements. Code is available at\nhttps://github.com/weizeming/SAM_AT.\n", "date": "2023-05-09", "categories": []} {"id": "2306.08422", "title": "X-Detect: Explainable Adversarial Patch Detection for Object Detectors\n in Retail", "abstract": " Object detection models, which are widely used in various domains (such as\nretail), have been shown to be vulnerable to adversarial attacks. Existing\nmethods for detecting adversarial attacks on object detectors have had\ndifficulty detecting new real-life attacks. We present X-Detect, a novel\nadversarial patch detector that can: i) detect adversarial samples in real\ntime, allowing the defender to take preventive action; ii) provide explanations\nfor the alerts raised to support the defender's decision-making process, and\niii) handle unfamiliar threats in the form of new attacks. Given a new scene,\nX-Detect uses an ensemble of explainable-by-design detectors that utilize\nobject extraction, scene manipulation, and feature transformation techniques to\ndetermine whether an alert needs to be raised. X-Detect was evaluated in both\nthe physical and digital space using five different attack scenarios (including\nadaptive attacks) and the COCO dataset and our new Superstore dataset. The\nphysical evaluation was performed using a smart shopping cart setup in\nreal-world settings and included 17 adversarial patch attacks recorded in 1,700\nadversarial videos. The results showed that X-Detect outperforms the\nstate-of-the-art methods in distinguishing between benign and adversarial\nscenes for all attack scenarios while maintaining a 0% FPR (no false alarms)\nand providing actionable explanations for the alerts raised. A demo is\navailable.\n", "date": "2023-06-14", "categories": []} {"id": "2307.00274", "title": "Common Knowledge Learning for Generating Transferable Adversarial\n Examples", "abstract": " This paper focuses on an important type of black-box attacks, i.e.,\ntransfer-based adversarial attacks, where the adversary generates adversarial\nexamples by a substitute (source) model and utilize them to attack an unseen\ntarget model, without knowing its information. Existing methods tend to give\nunsatisfactory adversarial transferability when the source and target models\nare from different types of DNN architectures (e.g. ResNet-18 and Swin\nTransformer). In this paper, we observe that the above phenomenon is induced by\nthe output inconsistency problem. To alleviate this problem while effectively\nutilizing the existing DNN models, we propose a common knowledge learning (CKL)\nframework to learn better network weights to generate adversarial examples with\nbetter transferability, under fixed network architectures. Specifically, to\nreduce the model-specific features and obtain better output distributions, we\nconstruct a multi-teacher framework, where the knowledge is distilled from\ndifferent teacher architectures into one student network. By considering that\nthe gradient of input is usually utilized to generated adversarial examples, we\nimpose constraints on the gradients between the student and teacher models, to\nfurther alleviate the output inconsistency problem and enhance the adversarial\ntransferability. Extensive experiments demonstrate that our proposed work can\nsignificantly improve the adversarial transferability.\n", "date": "2023-07-01", "categories": []} {"id": "2307.00421", "title": "Brightness-Restricted Adversarial Attack Patch", "abstract": " Adversarial attack patches have gained increasing attention due to their\npractical applicability in physical-world scenarios. However, the bright colors\nused in attack patches represent a significant drawback, as they can be easily\nidentified by human observers. Moreover, even though these attacks have been\nhighly successful in deceiving target networks, which specific features of the\nattack patch contribute to its success are still unknown. Our paper introduces\na brightness-restricted patch (BrPatch) that uses optical characteristics to\neffectively reduce conspicuousness while preserving image independence. We also\nconducted an analysis of the impact of various image features (such as color,\ntexture, noise, and size) on the effectiveness of an attack patch in\nphysical-world deployment. Our experiments show that attack patches exhibit\nstrong redundancy to brightness and are resistant to color transfer and noise.\nBased on our findings, we propose some additional methods to further reduce the\nconspicuousness of BrPatch. Our findings also explain the robustness of attack\npatches observed in physical-world scenarios.\n", "date": "2023-07-01", "categories": []} {"id": "2307.00477", "title": "Query-Efficient Decision-based Black-Box Patch Attack", "abstract": " Deep neural networks (DNNs) have been showed to be highly vulnerable to\nimperceptible adversarial perturbations. As a complementary type of adversary,\npatch attacks that introduce perceptible perturbations to the images have\nattracted the interest of researchers. Existing patch attacks rely on the\narchitecture of the model or the probabilities of predictions and perform\npoorly in the decision-based setting, which can still construct a perturbation\nwith the minimal information exposed -- the top-1 predicted label. In this\nwork, we first explore the decision-based patch attack. To enhance the attack\nefficiency, we model the patches using paired key-points and use targeted\nimages as the initialization of patches, and parameter optimizations are all\nperformed on the integer domain. Then, we propose a differential evolutionary\nalgorithm named DevoPatch for query-efficient decision-based patch attacks.\nExperiments demonstrate that DevoPatch outperforms the state-of-the-art\nblack-box patch attacks in terms of patch area and attack success rate within a\ngiven query budget on image classification and face verification. Additionally,\nwe conduct the vulnerability evaluation of ViT and MLP on image classification\nin the decision-based patch attack setting for the first time. Using DevoPatch,\nwe can evaluate the robustness of models to black-box patch attacks. We believe\nthis method could inspire the design and deployment of robust vision models\nbased on various DNN architectures in the future.\n", "date": "2023-07-02", "categories": []} {"id": "2302.10739", "title": "MalProtect: Stateful Defense Against Adversarial Query Attacks in\n ML-based Malware Detection", "abstract": " ML models are known to be vulnerable to adversarial query attacks. In these\nattacks, queries are iteratively perturbed towards a particular class without\nany knowledge of the target model besides its output. The prevalence of\nremotely-hosted ML classification models and Machine-Learning-as-a-Service\nplatforms means that query attacks pose a real threat to the security of these\nsystems. To deal with this, stateful defenses have been proposed to detect\nquery attacks and prevent the generation of adversarial examples by monitoring\nand analyzing the sequence of queries received by the system. Several stateful\ndefenses have been proposed in recent years. However, these defenses rely\nsolely on similarity or out-of-distribution detection methods that may be\neffective in other domains. In the malware detection domain, the methods to\ngenerate adversarial examples are inherently different, and therefore we find\nthat such detection mechanisms are significantly less effective. Hence, in this\npaper, we present MalProtect, which is a stateful defense against query attacks\nin the malware detection domain. MalProtect uses several threat indicators to\ndetect attacks. Our results show that it reduces the evasion rate of\nadversarial query attacks by 80+\\% in Android and Windows malware, across a\nrange of attacker scenarios. In the first evaluation of its kind, we show that\nMalProtect outperforms prior stateful defenses, especially under the peak\nadversarial threat.\n", "date": "2023-02-21", "categories": []} {"id": "2305.09671", "title": "Pick your Poison: Undetectability versus Robustness in Data Poisoning\n Attacks", "abstract": " Deep image classification models trained on vast amounts of web-scraped data\nare susceptible to data poisoning - a mechanism for backdooring models. A small\nnumber of poisoned samples seen during training can severely undermine a\nmodel's integrity during inference. Existing work considers an effective\ndefense as one that either (i) restores a model's integrity through repair or\n(ii) detects an attack. We argue that this approach overlooks a crucial\ntrade-off: Attackers can increase robustness at the expense of detectability\n(over-poisoning) or decrease detectability at the cost of robustness\n(under-poisoning). In practice, attacks should remain both undetectable and\nrobust. Detectable but robust attacks draw human attention and rigorous model\nevaluation or cause the model to be re-trained or discarded. In contrast,\nattacks that are undetectable but lack robustness can be repaired with minimal\nimpact on model accuracy. Our research points to intrinsic flaws in current\nattack evaluation methods and raises the bar for all data poisoning attackers\nwho must delicately balance this trade-off to remain robust and undetectable.\nTo demonstrate the existence of more potent defenders, we propose defenses\ndesigned to (i) detect or (ii) repair poisoned models using a limited amount of\ntrusted image-label pairs. Our results show that an attacker who needs to be\nrobust and undetectable is substantially less threatening. Our defenses\nmitigate all tested attacks with a maximum accuracy decline of 2% using only 1%\nof clean data on CIFAR-10 and 2.5% on ImageNet. We demonstrate the scalability\nof our defenses by evaluating large vision-language models, such as CLIP.\nAttackers who can manipulate the model's parameters pose an elevated risk as\nthey can achieve higher robustness at low detectability compared to data\npoisoning attackers.\n", "date": "2023-05-07", "categories": []} {"id": "2306.16581", "title": "Does Saliency-Based Training bring Robustness for Deep Neural Networks\n in Image Classification?", "abstract": " Deep Neural Networks are powerful tools to understand complex patterns and\nmaking decisions. However, their black-box nature impedes a complete\nunderstanding of their inner workings. While online saliency-guided training\nmethods try to highlight the prominent features in the model's output to\nalleviate this problem, it is still ambiguous if the visually explainable\nfeatures align with robustness of the model against adversarial examples. In\nthis paper, we investigate the saliency trained model's vulnerability to\nadversarial examples methods. Models are trained using an online\nsaliency-guided training method and evaluated against popular algorithms of\nadversarial examples. We quantify the robustness and conclude that despite the\nwell-explained visualizations in the model's output, the salient models suffer\nfrom the lower performance against adversarial examples attacks.\n", "date": "2023-06-28", "categories": []} {"id": "2306.16738", "title": "Towards Optimal Randomized Strategies in Adversarial Example Game", "abstract": " The vulnerability of deep neural network models to adversarial example\nattacks is a practical challenge in many artificial intelligence applications.\nA recent line of work shows that the use of randomization in adversarial\ntraining is the key to find optimal strategies against adversarial example\nattacks. However, in a fully randomized setting where both the defender and the\nattacker can use randomized strategies, there are no efficient algorithm for\nfinding such an optimal strategy. To fill the gap, we propose the first\nalgorithm of its kind, called FRAT, which models the problem with a new\ninfinite-dimensional continuous-time flow on probability distribution spaces.\nFRAT maintains a lightweight mixture of models for the defender, with\nflexibility to efficiently update mixing weights and model parameters at each\niteration. Furthermore, FRAT utilizes lightweight sampling subroutines to\nconstruct a random strategy for the attacker. We prove that the continuous-time\nlimit of FRAT converges to a mixed Nash equilibria in a zero-sum game formed by\na defender and an attacker. Experimental results also demonstrate the\nefficiency of FRAT on CIFAR-10 and CIFAR-100 datasets.\n", "date": "2023-06-29", "categories": []} {"id": "2306.15705", "title": "On the Universal Adversarial Perturbations for Efficient Data-free\n Adversarial Detection", "abstract": " Detecting adversarial samples that are carefully crafted to fool the model is\na critical step to socially-secure applications. However, existing adversarial\ndetection methods require access to sufficient training data, which brings\nnoteworthy concerns regarding privacy leakage and generalizability. In this\nwork, we validate that the adversarial sample generated by attack algorithms is\nstrongly related to a specific vector in the high-dimensional inputs. Such\nvectors, namely UAPs (Universal Adversarial Perturbations), can be calculated\nwithout original training data. Based on this discovery, we propose a\ndata-agnostic adversarial detection framework, which induces different\nresponses between normal and adversarial samples to UAPs. Experimental results\nshow that our method achieves competitive detection performance on various text\nclassification tasks, and maintains an equivalent time consumption to normal\ninference.\n", "date": "2023-06-27", "categories": []} {"id": "2306.15826", "title": "MAT: Mixed-Strategy Game of Adversarial Training in Fine-tuning", "abstract": " Fine-tuning large-scale pre-trained language models has been demonstrated\neffective for various natural language processing (NLP) tasks. Previous studies\nhave established that incorporating adversarial training during the fine-tuning\nstage can significantly enhance model generalization and robustness. However,\nfrom the perspective of game theory, such utilizations of adversarial training\ncorrespond to pure-strategy games, which are inherently limited in terms of the\nscope of their strategies, thereby still having room for improvement. In order\nto push the performance boundaries, we propose a novel Mixed-strategy\nAdversarial Training algorithm (MAT). Methodologically, we derive the Nash\nequilibrium of a mixed-strategy game for adversarial training using Entropy\nMirror Descent to establish MAT by sampling method. To verify the effectiveness\nof MAT, we conducted extensive benchmark experiments on large-scale pre-trained\nmodels, such as BERT and RoBERTa. MAT significantly outperforms the\nstate-of-the-art methods on both the GLUE and ANLI benchmarks in terms of\ngeneralization and robustness.\n", "date": "2023-06-27", "categories": []} {"id": "2306.16131", "title": "Distributional Modeling for Location-Aware Adversarial Patches", "abstract": " Adversarial patch is one of the important forms of performing adversarial\nattacks in the physical world. To improve the naturalness and aggressiveness of\nexisting adversarial patches, location-aware patches are proposed, where the\npatch's location on the target object is integrated into the optimization\nprocess to perform attacks. Although it is effective, efficiently finding the\noptimal location for placing the patches is challenging, especially under the\nblack-box attack settings. In this paper, we propose the Distribution-Optimized\nAdversarial Patch (DOPatch), a novel method that optimizes a multimodal\ndistribution of adversarial locations instead of individual ones. DOPatch has\nseveral benefits: Firstly, we find that the locations' distributions across\ndifferent models are pretty similar, and thus we can achieve efficient\nquery-based attacks to unseen models using a distributional prior optimized on\na surrogate model. Secondly, DOPatch can generate diverse adversarial samples\nby characterizing the distribution of adversarial locations. Thus we can\nimprove the model's robustness to location-aware patches via carefully designed\nDistributional-Modeling Adversarial Training (DOP-DMAT). We evaluate DOPatch on\nvarious face recognition and image recognition tasks and demonstrate its\nsuperiority and efficiency over existing methods. We also conduct extensive\nablation studies and analyses to validate the effectiveness of our method and\nprovide insights into the distribution of adversarial locations.\n", "date": "2023-06-28", "categories": []} {"id": "2306.15164", "title": "DSRM: Boost Textual Adversarial Training with Distribution Shift Risk\n Minimization", "abstract": " Adversarial training is one of the best-performing methods in improving the\nrobustness of deep language models. However, robust models come at the cost of\nhigh time consumption, as they require multi-step gradient ascents or word\nsubstitutions to obtain adversarial samples. In addition, these generated\nsamples are deficient in grammatical quality and semantic consistency, which\nimpairs the effectiveness of adversarial training. To address these problems,\nwe introduce a novel, effective procedure for instead adversarial training with\nonly clean data. Our procedure, distribution shift risk minimization (DSRM),\nestimates the adversarial loss by perturbing the input data's probability\ndistribution rather than their embeddings. This formulation results in a robust\nmodel that minimizes the expected global loss under adversarial attacks. Our\napproach requires zero adversarial samples for training and reduces time\nconsumption by up to 70\\% compared to current best-performing adversarial\ntraining methods. Experiments demonstrate that DSRM considerably improves\nBERT's resistance to textual adversarial attacks and achieves state-of-the-art\nrobust accuracy on various benchmarks.\n", "date": "2023-06-27", "categories": []} {"id": "2306.15221", "title": "[Re] Double Sampling Randomized Smoothing", "abstract": " This paper is a contribution to the reproducibility challenge in the field of\nmachine learning, specifically addressing the issue of certifying the\nrobustness of neural networks (NNs) against adversarial perturbations. The\nproposed Double Sampling Randomized Smoothing (DSRS) framework overcomes the\nlimitations of existing methods by using an additional smoothing distribution\nto improve the robustness certification. The paper provides a clear\nmanifestation of DSRS for a generalized family of Gaussian smoothing and a\ncomputationally efficient method for implementation. The experiments on MNIST\nand CIFAR-10 demonstrate the effectiveness of DSRS, consistently certifying\nlarger robust radii compared to other methods. Also various ablations studies\nare conducted to further analyze the hyperparameters and effect of adversarial\ntraining methods on the certified radius by the proposed framework.\n", "date": "2023-06-27", "categories": []} {"id": "2306.15363", "title": "Your Attack Is Too DUMB: Formalizing Attacker Scenarios for Adversarial\n Transferability", "abstract": " Evasion attacks are a threat to machine learning models, where adversaries\nattempt to affect classifiers by injecting malicious samples. An alarming\nside-effect of evasion attacks is their ability to transfer among different\nmodels: this property is called transferability. Therefore, an attacker can\nproduce adversarial samples on a custom model (surrogate) to conduct the attack\non a victim's organization later. Although literature widely discusses how\nadversaries can transfer their attacks, their experimental settings are limited\nand far from reality. For instance, many experiments consider both attacker and\ndefender sharing the same dataset, balance level (i.e., how the ground truth is\ndistributed), and model architecture.\n In this work, we propose the DUMB attacker model. This framework allows\nanalyzing if evasion attacks fail to transfer when the training conditions of\nsurrogate and victim models differ. DUMB considers the following conditions:\nDataset soUrces, Model architecture, and the Balance of the ground truth. We\nthen propose a novel testbed to evaluate many state-of-the-art evasion attacks\nwith DUMB; the testbed consists of three computer vision tasks with two\ndistinct datasets each, four types of balance levels, and three model\narchitectures. Our analysis, which generated 13K tests over 14 distinct\nattacks, led to numerous novel findings in the scope of transferable attacks\nwith surrogate models. In particular, mismatches between attackers and victims\nin terms of dataset source, balance levels, and model architecture lead to\nnon-negligible loss of attack performance.\n", "date": "2023-06-27", "categories": []} {"id": "2306.15451", "title": "Advancing Adversarial Training by Injecting Booster Signal", "abstract": " Recent works have demonstrated that deep neural networks (DNNs) are highly\nvulnerable to adversarial attacks. To defend against adversarial attacks, many\ndefense strategies have been proposed, among which adversarial training has\nbeen demonstrated to be the most effective strategy. However, it has been known\nthat adversarial training sometimes hurts natural accuracy. Then, many works\nfocus on optimizing model parameters to handle the problem. Different from the\nprevious approaches, in this paper, we propose a new approach to improve the\nadversarial robustness by using an external signal rather than model\nparameters. In the proposed method, a well-optimized universal external signal\ncalled a booster signal is injected into the outside of the image which does\nnot overlap with the original content. Then, it boosts both adversarial\nrobustness and natural accuracy. The booster signal is optimized in parallel to\nmodel parameters step by step collaboratively. Experimental results show that\nthe booster signal can improve both the natural and robust accuracies over the\nrecent state-of-the-art adversarial training methods. Also, optimizing the\nbooster signal is general and flexible enough to be adopted on any existing\nadversarial training methods.\n", "date": "2023-06-27", "categories": []} {"id": "2306.15457", "title": "Robust Proxy: Improving Adversarial Robustness by Robust Proxy Learning", "abstract": " Recently, it has been widely known that deep neural networks are highly\nvulnerable and easily broken by adversarial attacks. To mitigate the\nadversarial vulnerability, many defense algorithms have been proposed.\nRecently, to improve adversarial robustness, many works try to enhance feature\nrepresentation by imposing more direct supervision on the discriminative\nfeature. However, existing approaches lack an understanding of learning\nadversarially robust feature representation. In this paper, we propose a novel\ntraining framework called Robust Proxy Learning. In the proposed method, the\nmodel explicitly learns robust feature representations with robust proxies. To\nthis end, firstly, we demonstrate that we can generate class-representative\nrobust features by adding class-wise robust perturbations. Then, we use the\nclass representative features as robust proxies. With the class-wise robust\nfeatures, the model explicitly learns adversarially robust features through the\nproposed robust proxy learning framework. Through extensive experiments, we\nverify that we can manually generate robust features, and our proposed learning\nframework could increase the robustness of the DNNs.\n", "date": "2023-06-27", "categories": []} {"id": "2306.15482", "title": "Cooperation or Competition: Avoiding Player Domination for Multi-Target\n Robustness via Adaptive Budgets", "abstract": " Despite incredible advances, deep learning has been shown to be susceptible\nto adversarial attacks. Numerous approaches have been proposed to train robust\nnetworks both empirically and certifiably. However, most of them defend against\nonly a single type of attack, while recent work takes steps forward in\ndefending against multiple attacks. In this paper, to understand multi-target\nrobustness, we view this problem as a bargaining game in which different\nplayers (adversaries) negotiate to reach an agreement on a joint direction of\nparameter updating. We identify a phenomenon named player domination in the\nbargaining game, namely that the existing max-based approaches, such as MAX and\nMSD, do not converge. Based on our theoretical analysis, we design a novel\nframework that adjusts the budgets of different adversaries to avoid any player\ndominance. Experiments on standard benchmarks show that employing the proposed\nframework to the existing approaches significantly advances multi-target\nrobustness.\n", "date": "2023-06-27", "categories": []} {"id": "2210.03150", "title": "Towards Out-of-Distribution Adversarial Robustness", "abstract": " Adversarial robustness continues to be a major challenge for deep learning. A\ncore issue is that robustness to one type of attack often fails to transfer to\nother attacks. While prior work establishes a theoretical trade-off in\nrobustness against different $L_p$ norms, we show that there is potential for\nimprovement against many commonly used attacks by adopting a domain\ngeneralisation approach. Concretely, we treat each type of attack as a domain,\nand apply the Risk Extrapolation method (REx), which promotes similar levels of\nrobustness against all training attacks. Compared to existing methods, we\nobtain similar or superior worst-case adversarial robustness on attacks seen\nduring training. Moreover, we achieve superior performance on families or\ntunings of attacks only encountered at test time. On ensembles of attacks, our\napproach improves the accuracy from 3.4% with the best existing baseline to\n25.9% on MNIST, and from 16.9% to 23.5% on CIFAR10.\n", "date": "2022-10-06", "categories": []} {"id": "2301.12896", "title": "Identifying Adversarially Attackable and Robust Samples", "abstract": " Adversarial attacks insert small, imperceptible perturbations to input\nsamples that cause large, undesired changes to the output of deep learning\nmodels. Despite extensive research on generating adversarial attacks and\nbuilding defense systems, there has been limited research on understanding\nadversarial attacks from an input-data perspective. This work introduces the\nnotion of sample attackability, where we aim to identify samples that are most\nsusceptible to adversarial attacks (attackable samples) and conversely also\nidentify the least susceptible samples (robust samples). We propose a\ndeep-learning-based detector to identify the adversarially attackable and\nrobust samples in an unseen dataset for an unseen target model. Experiments on\nstandard image classification datasets enables us to assess the portability of\nthe deep attackability detector across a range of architectures. We find that\nthe deep attackability detector performs better than simple model\nuncertainty-based measures for identifying the attackable/robust samples. This\nsuggests that uncertainty is an inadequate proxy for measuring sample distance\nto a decision boundary. In addition to better understanding adversarial attack\ntheory, it is found that the ability to identify the adversarially attackable\nand robust samples has implications for improving the efficiency of\nsample-selection tasks.\n", "date": "2023-01-30", "categories": []} {"id": "2306.13854", "title": "Similarity Preserving Adversarial Graph Contrastive Learning", "abstract": " Recent works demonstrate that GNN models are vulnerable to adversarial\nattacks, which refer to imperceptible perturbation on the graph structure and\nnode features. Among various GNN models, graph contrastive learning (GCL) based\nmethods specifically suffer from adversarial attacks due to their inherent\ndesign that highly depends on the self-supervision signals derived from the\noriginal graph, which however already contains noise when the graph is\nattacked. To achieve adversarial robustness against such attacks, existing\nmethods adopt adversarial training (AT) to the GCL framework, which considers\nthe attacked graph as an augmentation under the GCL framework. However, we find\nthat existing adversarially trained GCL methods achieve robustness at the\nexpense of not being able to preserve the node feature similarity. In this\npaper, we propose a similarity-preserving adversarial graph contrastive\nlearning (SP-AGCL) framework that contrasts the clean graph with two auxiliary\nviews of different properties (i.e., the node similarity-preserving view and\nthe adversarial view). Extensive experiments demonstrate that SP-AGCL achieves\na competitive performance on several downstream tasks, and shows its\neffectiveness in various scenarios, e.g., a network with adversarial attacks,\nnoisy labels, and heterophilous neighbors. Our code is available at\nhttps://github.com/yeonjun-in/torch-SP-AGCL.\n", "date": "2023-06-24", "categories": []} {"id": "2306.14126", "title": "Robust Spatiotemporal Traffic Forecasting with Reinforced Dynamic\n Adversarial Training", "abstract": " Machine learning-based forecasting models are commonly used in Intelligent\nTransportation Systems (ITS) to predict traffic patterns and provide city-wide\nservices. However, most of the existing models are susceptible to adversarial\nattacks, which can lead to inaccurate predictions and negative consequences\nsuch as congestion and delays. Therefore, improving the adversarial robustness\nof these models is crucial for ITS. In this paper, we propose a novel framework\nfor incorporating adversarial training into spatiotemporal traffic forecasting\ntasks. We demonstrate that traditional adversarial training methods designated\nfor static domains cannot be directly applied to traffic forecasting tasks, as\nthey fail to effectively defend against dynamic adversarial attacks. Then, we\npropose a reinforcement learning-based method to learn the optimal node\nselection strategy for adversarial examples, which simultaneously strengthens\nthe dynamic attack defense capability and reduces the model overfitting.\nAdditionally, we introduce a self-knowledge distillation regularization module\nto overcome the \"forgetting issue\" caused by continuously changing adversarial\nnodes during training. We evaluate our approach on two real-world traffic\ndatasets and demonstrate its superiority over other baselines. Our method\neffectively enhances the adversarial robustness of spatiotemporal traffic\nforecasting models. The source code for our framework is available at\nhttps://github.com/usail-hkust/RDAT.\n", "date": "2023-06-25", "categories": []} {"id": "2306.14217", "title": "On Evaluating the Adversarial Robustness of Semantic Segmentation Models", "abstract": " Achieving robustness against adversarial input perturbation is an important\nand intriguing problem in machine learning. In the area of semantic image\nsegmentation, a number of adversarial training approaches have been proposed as\na defense against adversarial perturbation, but the methodology of evaluating\nthe robustness of the models is still lacking, compared to image\nclassification. Here, we demonstrate that, just like in image classification,\nit is important to evaluate the models over several different and hard attacks.\nWe propose a set of gradient based iterative attacks and show that it is\nessential to perform a large number of iterations. We include attacks against\nthe internal representations of the models as well. We apply two types of\nattacks: maximizing the error with a bounded perturbation, and minimizing the\nperturbation for a given level of error. Using this set of attacks, we show for\nthe first time that a number of models in previous work that are claimed to be\nrobust are in fact not robust at all. We then evaluate simple adversarial\ntraining algorithms that produce reasonably robust models even under our set of\nstrong attacks. Our results indicate that a key design decision to achieve any\nrobustness is to use only adversarial examples during training. However, this\nintroduces a trade-off between robustness and accuracy.\n", "date": "2023-06-25", "categories": []} {"id": "2306.14262", "title": "A Spectral Perspective towards Understanding and Improving Adversarial\n Robustness", "abstract": " Deep neural networks (DNNs) are incredibly vulnerable to crafted,\nimperceptible adversarial perturbations. While adversarial training (AT) has\nproven to be an effective defense approach, the AT mechanism for robustness\nimprovement is not fully understood. This work investigates AT from a spectral\nperspective, adding new insights to the design of effective defenses. In\nparticular, we show that AT induces the deep model to focus more on the\nlow-frequency region, which retains the shape-biased representations, to gain\nrobustness. Further, we find that the spectrum of a white-box attack is\nprimarily distributed in regions the model focuses on, and the perturbation\nattacks the spectral bands where the model is vulnerable. Based on this\nobservation, to train a model tolerant to frequency-varying perturbation, we\npropose a spectral alignment regularization (SAR) such that the spectral output\ninferred by an attacked adversarial input stays as close as possible to its\nnatural input counterpart. Experiments demonstrate that SAR and its weight\naveraging (WA) extension could significantly improve the robust accuracy by\n1.14% ~ 3.87% relative to the standard AT, across multiple datasets (CIFAR-10,\nCIFAR-100 and Tiny ImageNet), and various attacks (PGD, C&W and Autoattack),\nwithout any extra data.\n", "date": "2023-06-25", "categories": []} {"id": "2306.14326", "title": "Computational Asymmetries in Robust Classification", "abstract": " In the context of adversarial robustness, we make three strongly related\ncontributions. First, we prove that while attacking ReLU classifiers is\n$\\mathit{NP}$-hard, ensuring their robustness at training time is\n$\\Sigma^2_P$-hard (even on a single example). This asymmetry provides a\nrationale for the fact that robust classifications approaches are frequently\nfooled in the literature. Second, we show that inference-time robustness\ncertificates are not affected by this asymmetry, by introducing a\nproof-of-concept approach named Counter-Attack (CA). Indeed, CA displays a\nreversed asymmetry: running the defense is $\\mathit{NP}$-hard, while attacking\nit is $\\Sigma_2^P$-hard. Finally, motivated by our previous result, we argue\nthat adversarial attacks can be used in the context of robustness\ncertification, and provide an empirical evaluation of their effectiveness. As a\nbyproduct of this process, we also release UG100, a benchmark dataset for\nadversarial attacks.\n", "date": "2023-06-25", "categories": []} {"id": "2306.14609", "title": "The race to robustness: exploiting fragile models for urban camouflage\n and the imperative for machine learning security", "abstract": " Adversarial Machine Learning (AML) represents the ability to disrupt Machine\nLearning (ML) algorithms through a range of methods that broadly exploit the\narchitecture of deep learning optimisation. This paper presents Distributed\nAdversarial Regions (DAR), a novel method that implements distributed\ninstantiations of computer vision-based AML attack methods that may be used to\ndisguise objects from image recognition in both white and black box settings.\nWe consider the context of object detection models used in urban environments,\nand benchmark the MobileNetV2, NasNetMobile and DenseNet169 models against a\nsubset of relevant images from the ImageNet dataset. We evaluate optimal\nparameters (size, number and perturbation method), and compare to\nstate-of-the-art AML techniques that perturb the entire image. We find that\nDARs can cause a reduction in confidence of 40.4% on average, but with the\nbenefit of not requiring the entire image, or the focal object, to be\nperturbed. The DAR method is a deliberately simple approach where the intention\nis to highlight how an adversary with very little skill could attack models\nthat may already be productionised, and to emphasise the fragility of\nfoundational object detection models. We present this as a contribution to the\nfield of ML security as well as AML. This paper contributes a novel adversarial\nmethod, an original comparison between DARs and other AML methods, and frames\nit in a new context - that of urban camouflage and the necessity for ML\nsecurity and model robustness.\n", "date": "2023-06-26", "categories": []} {"id": "2306.14640", "title": "3D-Aware Adversarial Makeup Generation for Facial Privacy Protection", "abstract": " The privacy and security of face data on social media are facing\nunprecedented challenges as it is vulnerable to unauthorized access and\nidentification. A common practice for solving this problem is to modify the\noriginal data so that it could be protected from being recognized by malicious\nface recognition (FR) systems. However, such ``adversarial examples'' obtained\nby existing methods usually suffer from low transferability and poor image\nquality, which severely limits the application of these methods in real-world\nscenarios. In this paper, we propose a 3D-Aware Adversarial Makeup Generation\nGAN (3DAM-GAN). which aims to improve the quality and transferability of\nsynthetic makeup for identity information concealing. Specifically, a UV-based\ngenerator consisting of a novel Makeup Adjustment Module (MAM) and Makeup\nTransfer Module (MTM) is designed to render realistic and robust makeup with\nthe aid of symmetric characteristics of human faces. Moreover, a makeup attack\nmechanism with an ensemble training strategy is proposed to boost the\ntransferability of black-box models. Extensive experiment results on several\nbenchmark datasets demonstrate that 3DAM-GAN could effectively protect faces\nagainst various FR models, including both publicly available state-of-the-art\nmodels and commercial face verification APIs, such as Face++, Baidu and Aliyun.\n", "date": "2023-06-26", "categories": []} {"id": "2306.12043", "title": "Sample Attackability in Natural Language Adversarial Attacks", "abstract": " Adversarial attack research in natural language processing (NLP) has made\nsignificant progress in designing powerful attack methods and defence\napproaches. However, few efforts have sought to identify which source samples\nare the most attackable or robust, i.e. can we determine for an unseen target\nmodel, which samples are the most vulnerable to an adversarial attack. This\nwork formally extends the definition of sample attackability/robustness for NLP\nattacks. Experiments on two popular NLP datasets, four state of the art models\nand four different NLP adversarial attack methods, demonstrate that sample\nuncertainty is insufficient for describing characteristics of attackable/robust\nsamples and hence a deep learning based detector can perform much better at\nidentifying the most attackable and robust samples for an unseen target model.\nNevertheless, further analysis finds that there is little agreement in which\nsamples are considered the most attackable/robust across different NLP attack\nmethods, explaining a lack of portability of attackability detection methods\nacross attack methods.\n", "date": "2023-06-21", "categories": []} {"id": "2306.13614", "title": "Adversarial Robustness Certification for Bayesian Neural Networks", "abstract": " We study the problem of certifying the robustness of Bayesian neural networks\n(BNNs) to adversarial input perturbations. Given a compact set of input points\n$T \\subseteq \\mathbb{R}^m$ and a set of output points $S \\subseteq\n\\mathbb{R}^n$, we define two notions of robustness for BNNs in an adversarial\nsetting: probabilistic robustness and decision robustness. Probabilistic\nrobustness is the probability that for all points in $T$ the output of a BNN\nsampled from the posterior is in $S$. On the other hand, decision robustness\nconsiders the optimal decision of a BNN and checks if for all points in $T$ the\noptimal decision of the BNN for a given loss function lies within the output\nset $S$. Although exact computation of these robustness properties is\nchallenging due to the probabilistic and non-convex nature of BNNs, we present\na unified computational framework for efficiently and formally bounding them.\nOur approach is based on weight interval sampling, integration, and bound\npropagation techniques, and can be applied to BNNs with a large number of\nparameters, and independently of the (approximate) inference method employed to\ntrain the BNN. We evaluate the effectiveness of our methods on various\nregression and classification tasks, including an industrial regression\nbenchmark, MNIST, traffic sign recognition, and airborne collision avoidance,\nand demonstrate that our approach enables certification of robustness and\nuncertainty of BNN predictions.\n", "date": "2023-06-23", "categories": []} {"id": "2306.12582", "title": "Adversarial Training with Generated Data in High-Dimensional Regression:\n An Asymptotic Study", "abstract": " In recent years, studies such as\n\\cite{carmon2019unlabeled,gowal2021improving,xing2022artificial} have\ndemonstrated that incorporating additional real or generated data with\npseudo-labels can enhance adversarial training through a two-stage training\napproach. In this paper, we perform a theoretical analysis of the asymptotic\nbehavior of this method in high-dimensional linear regression. While a\ndouble-descent phenomenon can be observed in ridgeless training, with an\nappropriate $\\mathcal{L}_2$ regularization, the two-stage adversarial training\nachieves a better performance. Finally, we derive a shortcut cross-validation\nformula specifically tailored for the two-stage training method.\n", "date": "2023-06-21", "categories": []} {"id": "2306.12610", "title": "Revisiting Image Classifier Training for Improved Certified Robust\n Defense against Adversarial Patches", "abstract": " Certifiably robust defenses against adversarial patches for image classifiers\nensure correct prediction against any changes to a constrained neighborhood of\npixels. PatchCleanser arXiv:2108.09135 [cs.CV], the state-of-the-art certified\ndefense, uses a double-masking strategy for robust classification. The success\nof this strategy relies heavily on the model's invariance to image pixel\nmasking. In this paper, we take a closer look at model training schemes to\nimprove this invariance. Instead of using Random Cutout arXiv:1708.04552v2\n[cs.CV] augmentations like PatchCleanser, we introduce the notion of worst-case\nmasking, i.e., selecting masked images which maximize classification loss.\nHowever, finding worst-case masks requires an exhaustive search, which might be\nprohibitively expensive to do on-the-fly during training. To solve this\nproblem, we propose a two-round greedy masking strategy (Greedy Cutout) which\nfinds an approximate worst-case mask location with much less compute. We show\nthat the models trained with our Greedy Cutout improves certified robust\naccuracy over Random Cutout in PatchCleanser across a range of datasets and\narchitectures. Certified robust accuracy on ImageNet with a ViT-B16-224 model\nincreases from 58.1\\% to 62.3\\% against a 3\\% square patch applied anywhere on\nthe image.\n", "date": "2023-06-22", "categories": []} {"id": "2306.12688", "title": "Towards quantum enhanced adversarial robustness in machine learning", "abstract": " Machine learning algorithms are powerful tools for data driven tasks such as\nimage classification and feature detection, however their vulnerability to\nadversarial examples - input samples manipulated to fool the algorithm -\nremains a serious challenge. The integration of machine learning with quantum\ncomputing has the potential to yield tools offering not only better accuracy\nand computational efficiency, but also superior robustness against adversarial\nattacks. Indeed, recent work has employed quantum mechanical phenomena to\ndefend against adversarial attacks, spurring the rapid development of the field\nof quantum adversarial machine learning (QAML) and potentially yielding a new\nsource of quantum advantage. Despite promising early results, there remain\nchallenges towards building robust real-world QAML tools. In this review we\ndiscuss recent progress in QAML and identify key challenges. We also suggest\nfuture research directions which could determine the route to practicality for\nQAML approaches as quantum computing hardware scales up and noise levels are\nreduced.\n", "date": "2023-06-22", "categories": []} {"id": "2306.13091", "title": "Evading Forensic Classifiers with Attribute-Conditioned Adversarial\n Faces", "abstract": " The ability of generative models to produce highly realistic synthetic face\nimages has raised security and ethical concerns. As a first line of defense\nagainst such fake faces, deep learning based forensic classifiers have been\ndeveloped. While these forensic models can detect whether a face image is\nsynthetic or real with high accuracy, they are also vulnerable to adversarial\nattacks. Although such attacks can be highly successful in evading detection by\nforensic classifiers, they introduce visible noise patterns that are detectable\nthrough careful human scrutiny. Additionally, these attacks assume access to\nthe target model(s) which may not always be true. Attempts have been made to\ndirectly perturb the latent space of GANs to produce adversarial fake faces\nthat can circumvent forensic classifiers. In this work, we go one step further\nand show that it is possible to successfully generate adversarial fake faces\nwith a specified set of attributes (e.g., hair color, eye size, race, gender,\netc.). To achieve this goal, we leverage the state-of-the-art generative model\nStyleGAN with disentangled representations, which enables a range of\nmodifications without leaving the manifold of natural images. We propose a\nframework to search for adversarial latent codes within the feature space of\nStyleGAN, where the search can be guided either by a text prompt or a reference\nimage. We also propose a meta-learning based optimization strategy to achieve\ntransferable performance on unknown target models. Extensive experiments\ndemonstrate that the proposed approach can produce semantically manipulated\nadversarial fake faces, which are true to the specified attribute set and can\nsuccessfully fool forensic face classifiers, while remaining undetectable by\nhumans. Code: https://github.com/koushiksrivats/face_attribute_attack.\n", "date": "2023-06-22", "categories": []} {"id": "2306.11066", "title": "Adversarial Robustness of Prompt-based Few-Shot Learning for Natural\n Language Understanding", "abstract": " State-of-the-art few-shot learning (FSL) methods leverage prompt-based\nfine-tuning to obtain remarkable results for natural language understanding\n(NLU) tasks. While much of the prior FSL methods focus on improving downstream\ntask performance, there is a limited understanding of the adversarial\nrobustness of such methods. In this work, we conduct an extensive study of\nseveral state-of-the-art FSL methods to assess their robustness to adversarial\nperturbations. To better understand the impact of various factors towards\nrobustness (or the lack of it), we evaluate prompt-based FSL methods against\nfully fine-tuned models for aspects such as the use of unlabeled data, multiple\nprompts, number of few-shot examples, model size and type. Our results on six\nGLUE tasks indicate that compared to fully fine-tuned models, vanilla FSL\nmethods lead to a notable relative drop in task performance (i.e., are less\nrobust) in the face of adversarial perturbations. However, using (i) unlabeled\ndata for prompt-based FSL and (ii) multiple prompts flip the trend. We further\ndemonstrate that increasing the number of few-shot examples and model size lead\nto increased adversarial robustness of vanilla FSL methods. Broadly, our work\nsheds light on the adversarial robustness evaluation of prompt-based FSL\nmethods for NLU tasks.\n", "date": "2023-06-19", "categories": []} {"id": "2306.12161", "title": "Adversarial Attacks Neutralization via Data Set Randomization", "abstract": " Adversarial attacks on deep-learning models pose a serious threat to their\nreliability and security. Existing defense mechanisms are narrow addressing a\nspecific type of attack or being vulnerable to sophisticated attacks. We\npropose a new defense mechanism that, while being focused on image-based\nclassifiers, is general with respect to the cited category. It is rooted on\nhyperspace projection. In particular, our solution provides a pseudo-random\nprojection of the original dataset into a new dataset. The proposed defense\nmechanism creates a set of diverse projected datasets, where each projected\ndataset is used to train a specific classifier, resulting in different trained\nclassifiers with different decision boundaries. During testing, it randomly\nselects a classifier to test the input. Our approach does not sacrifice\naccuracy over legitimate input. Other than detailing and providing a thorough\ncharacterization of our defense mechanism, we also provide a proof of concept\nof using four optimization-based adversarial attacks (PGD, FGSM, IGSM, and\nC\\&W) and a generative adversarial attack testing them on the MNIST dataset.\nOur experimental results show that our solution increases the robustness of\ndeep learning models against adversarial attacks and significantly reduces the\nattack success rate by at least 89% for optimization attacks and 78% for\ngenerative attacks. We also analyze the relationship between the number of used\nhyperspaces and the efficacy of the defense mechanism. As expected, the two are\npositively correlated, offering an easy-to-tune parameter to enforce the\ndesired level of security. The generality and scalability of our solution and\nadaptability to different attack scenarios, combined with the excellent\nachieved results, other than providing a robust defense against adversarial\nattacks on deep learning networks, also lay the groundwork for future research\nin the field.\n", "date": "2023-06-21", "categories": []} {"id": "2206.02670", "title": "Robust Adversarial Attacks Detection based on Explainable Deep\n Reinforcement Learning For UAV Guidance and Planning", "abstract": " The dangers of adversarial attacks on Uncrewed Aerial Vehicle (UAV) agents\noperating in public are increasing. Adopting AI-based techniques and, more\nspecifically, Deep Learning (DL) approaches to control and guide these UAVs can\nbe beneficial in terms of performance but can add concerns regarding the safety\nof those techniques and their vulnerability against adversarial attacks.\nConfusion in the agent's decision-making process caused by these attacks can\nseriously affect the safety of the UAV. This paper proposes an innovative\napproach based on the explainability of DL methods to build an efficient\ndetector that will protect these DL schemes and the UAVs adopting them from\nattacks. The agent adopts a Deep Reinforcement Learning (DRL) scheme for\nguidance and planning. The agent is trained with a Deep Deterministic Policy\nGradient (DDPG) with Prioritised Experience Replay (PER) DRL scheme that\nutilises Artificial Potential Field (APF) to improve training times and\nobstacle avoidance performance. A simulated environment for UAV explainable\nDRL-based planning and guidance, including obstacles and adversarial attacks,\nis built. The adversarial attacks are generated by the Basic Iterative Method\n(BIM) algorithm and reduced obstacle course completion rates from 97\\% to 35\\%.\nTwo adversarial attack detectors are proposed to counter this reduction. The\nfirst one is a Convolutional Neural Network Adversarial Detector (CNN-AD),\nwhich achieves accuracy in the detection of 80\\%. The second detector utilises\na Long Short Term Memory (LSTM) network. It achieves an accuracy of 91\\% with\nfaster computing times compared to the CNN-AD, allowing for real-time\nadversarial detection.\n", "date": "2022-06-06", "categories": []} {"id": "2304.07288", "title": "Cross-Entropy Loss Functions: Theoretical Analysis and Applications", "abstract": " Cross-entropy is a widely used loss function in applications. It coincides\nwith the logistic loss applied to the outputs of a neural network, when the\nsoftmax is used. But, what guarantees can we rely on when using cross-entropy\nas a surrogate loss? We present a theoretical analysis of a broad family of\nloss functions, comp-sum losses, that includes cross-entropy (or logistic\nloss), generalized cross-entropy, the mean absolute error and other\ncross-entropy-like loss functions. We give the first $H$-consistency bounds for\nthese loss functions. These are non-asymptotic guarantees that upper bound the\nzero-one loss estimation error in terms of the estimation error of a surrogate\nloss, for the specific hypothesis set $H$ used. We further show that our bounds\nare tight. These bounds depend on quantities called minimizability gaps. To\nmake them more explicit, we give a specific analysis of these gaps for comp-sum\nlosses. We also introduce a new family of loss functions, smooth adversarial\ncomp-sum losses, that are derived from their comp-sum counterparts by adding in\na related smooth term. We show that these loss functions are beneficial in the\nadversarial setting by proving that they admit $H$-consistency bounds. This\nleads to new adversarial robustness algorithms that consist of minimizing a\nregularized smooth adversarial comp-sum loss. While our main purpose is a\ntheoretical analysis, we also present an extensive empirical analysis comparing\ncomp-sum losses. We further report the results of a series of experiments\ndemonstrating that our adversarial robustness algorithms outperform the current\nstate-of-the-art, while also achieving a superior non-adversarial accuracy.\n", "date": "2023-04-14", "categories": []} {"id": "2306.10742", "title": "BNN-DP: Robustness Certification of Bayesian Neural Networks via Dynamic\n Programming", "abstract": " In this paper, we introduce BNN-DP, an efficient algorithmic framework for\nanalysis of adversarial robustness of Bayesian Neural Networks (BNNs). Given a\ncompact set of input points $T\\subset \\mathbb{R}^n$, BNN-DP computes lower and\nupper bounds on the BNN's predictions for all the points in $T$. The framework\nis based on an interpretation of BNNs as stochastic dynamical systems, which\nenables the use of Dynamic Programming (DP) algorithms to bound the prediction\nrange along the layers of the network. Specifically, the method uses bound\npropagation techniques and convex relaxations to derive a backward recursion\nprocedure to over-approximate the prediction range of the BNN with piecewise\naffine functions. The algorithm is general and can handle both regression and\nclassification tasks. On a set of experiments on various regression and\nclassification tasks and BNN architectures, we show that BNN-DP outperforms\nstate-of-the-art methods by up to four orders of magnitude in both tightness of\nthe bounds and computational efficiency.\n", "date": "2023-06-19", "categories": []} {"id": "2306.11261", "title": "Comparative Evaluation of Recent Universal Adversarial Perturbations in\n Image Classification", "abstract": " The vulnerability of Convolutional Neural Networks (CNNs) to adversarial\nsamples has recently garnered significant attention in the machine learning\ncommunity. Furthermore, recent studies have unveiled the existence of universal\nadversarial perturbations (UAPs) that are image-agnostic and highly\ntransferable across different CNN models. In this survey, our primary focus\nrevolves around the recent advancements in UAPs specifically within the image\nclassification task. We categorize UAPs into two distinct categories, i.e.,\nnoise-based attacks and generator-based attacks, thereby providing a\ncomprehensive overview of representative methods within each category. By\npresenting the computational details of these methods, we summarize various\nloss functions employed for learning UAPs. Furthermore, we conduct a\ncomprehensive evaluation of different loss functions within consistent training\nframeworks, including noise-based and generator-based. The evaluation covers a\nwide range of attack settings, including black-box and white-box attacks,\ntargeted and untargeted attacks, as well as the examination of defense\nmechanisms.\n Our quantitative evaluation results yield several important findings\npertaining to the effectiveness of different loss functions, the selection of\nsurrogate CNN models, the impact of training data and data size, and the\ntraining frameworks involved in crafting universal attackers. Finally, to\nfurther promote future research on universal adversarial attacks, we provide\nsome visualizations of the perturbations and discuss the potential research\ndirections.\n", "date": "2023-06-20", "categories": []} {"id": "2306.09844", "title": "Wasserstein distributional robustness of neural networks", "abstract": " Deep neural networks are known to be vulnerable to adversarial attacks (AA).\nFor an image recognition task, this means that a small perturbation of the\noriginal can result in the image being misclassified. Design of such attacks as\nwell as methods of adversarial training against them are subject of intense\nresearch. We re-cast the problem using techniques of Wasserstein\ndistributionally robust optimization (DRO) and obtain novel contributions\nleveraging recent insights from DRO sensitivity analysis. We consider a set of\ndistributional threat models. Unlike the traditional pointwise attacks, which\nassume a uniform bound on perturbation of each input data point, distributional\nthreat models allow attackers to perturb inputs in a non-uniform way. We link\nthese more general attacks with questions of out-of-sample performance and\nKnightian uncertainty. To evaluate the distributional robustness of neural\nnetworks, we propose a first-order AA algorithm and its multi-step version. Our\nattack algorithms include Fast Gradient Sign Method (FGSM) and Projected\nGradient Descent (PGD) as special cases. Furthermore, we provide a new\nasymptotic estimate of the adversarial accuracy against distributional threat\nmodels. The bound is fast to compute and first-order accurate, offering new\ninsights even for the pointwise AA. It also naturally yields out-of-sample\nperformance guarantees. We conduct numerical experiments on the CIFAR-10\ndataset using DNNs on RobustBench to illustrate our theoretical results. Our\ncode is available at https://github.com/JanObloj/W-DRO-Adversarial-Methods.\n", "date": "2023-06-16", "categories": []} {"id": "2306.09949", "title": "Towards Better Certified Segmentation via Diffusion Models", "abstract": " The robustness of image segmentation has been an important research topic in\nthe past few years as segmentation models have reached production-level\naccuracy. However, like classification models, segmentation models can be\nvulnerable to adversarial perturbations, which hinders their use in\ncritical-decision systems like healthcare or autonomous driving. Recently,\nrandomized smoothing has been proposed to certify segmentation predictions by\nadding Gaussian noise to the input to obtain theoretical guarantees. However,\nthis method exhibits a trade-off between the amount of added noise and the\nlevel of certification achieved. In this paper, we address the problem of\ncertifying segmentation prediction using a combination of randomized smoothing\nand diffusion models. Our experiments show that combining randomized smoothing\nand diffusion models significantly improves certified robustness, with results\nindicating a mean improvement of 21 points in accuracy compared to previous\nstate-of-the-art methods on Pascal-Context and Cityscapes public datasets. Our\nmethod is independent of the selected segmentation model and does not need any\nadditional specialized training procedure.\n", "date": "2023-06-16", "categories": []} {"id": "2306.09951", "title": "You Don't Need Robust Machine Learning to Manage Adversarial Attack\n Risks", "abstract": " The robustness of modern machine learning (ML) models has become an\nincreasing concern within the community. The ability to subvert a model into\nmaking errant predictions using seemingly inconsequential changes to input is\nstartling, as is our lack of success in building models robust to this concern.\nExisting research shows progress, but current mitigations come with a high cost\nand simultaneously reduce the model's accuracy. However, such trade-offs may\nnot be necessary when other design choices could subvert the risk. In this\nsurvey we review the current literature on attacks and their real-world\noccurrences, or limited evidence thereof, to critically evaluate the real-world\nrisks of adversarial machine learning (AML) for the average entity. This is\ndone with an eye toward how one would then mitigate these attacks in practice,\nthe risks for production deployment, and how those risks could be managed. In\ndoing so we elucidate that many AML threats do not warrant the cost and\ntrade-offs of robustness due to a low likelihood of attack or availability of\nsuperior non-ML mitigations. Our analysis also recommends cases where an actor\nshould be concerned about AML to the degree where robust ML models are\nnecessary for a complete deployment.\n", "date": "2023-06-16", "categories": []} {"id": "2211.17244", "title": "Tight Certification of Adversarially Trained Neural Networks via\n Nonconvex Low-Rank Semidefinite Relaxations", "abstract": " Adversarial training is well-known to produce high-quality neural network\nmodels that are empirically robust against adversarial perturbations.\nNevertheless, once a model has been adversarially trained, one often desires a\ncertification that the model is truly robust against all future attacks.\nUnfortunately, when faced with adversarially trained models, all existing\napproaches have significant trouble making certifications that are strong\nenough to be practically useful. Linear programming (LP) techniques in\nparticular face a \"convex relaxation barrier\" that prevent them from making\nhigh-quality certifications, even after refinement with mixed-integer linear\nprogramming (MILP) and branch-and-bound (BnB) techniques. In this paper, we\npropose a nonconvex certification technique, based on a low-rank restriction of\na semidefinite programming (SDP) relaxation. The nonconvex relaxation makes\nstrong certifications comparable to much more expensive SDP methods, while\noptimizing over dramatically fewer variables comparable to much weaker LP\nmethods. Despite nonconvexity, we show how off-the-shelf local optimization\nalgorithms can be used to achieve and to certify global optimality in\npolynomial time. Our experiments find that the nonconvex relaxation almost\ncompletely closes the gap towards exact certification of adversarially trained\nmodels.\n", "date": "2022-11-30", "categories": []} {"id": "2306.08257", "title": "On the Robustness of Latent Diffusion Models", "abstract": " Latent diffusion models achieve state-of-the-art performance on a variety of\ngenerative tasks, such as image synthesis and image editing. However, the\nrobustness of latent diffusion models is not well studied. Previous works only\nfocus on the adversarial attacks against the encoder or the output image under\nwhite-box settings, regardless of the denoising process. Therefore, in this\npaper, we aim to analyze the robustness of latent diffusion models more\nthoroughly. We first study the influence of the components inside latent\ndiffusion models on their white-box robustness. In addition to white-box\nscenarios, we evaluate the black-box robustness of latent diffusion models via\ntransfer attacks, where we consider both prompt-transfer and model-transfer\nsettings and possible defense mechanisms. However, all these explorations need\na comprehensive benchmark dataset, which is missing in the literature.\nTherefore, to facilitate the research of the robustness of latent diffusion\nmodels, we propose two automatic dataset construction pipelines for two kinds\nof image editing models and release the whole dataset. Our code and dataset are\navailable at \\url{https://github.com/jpzhang1810/LDM-Robustness}.\n", "date": "2023-06-14", "categories": []} {"id": "2306.08492", "title": "A Relaxed Optimization Approach for Adversarial Attacks against Neural\n Machine Translation Models", "abstract": " In this paper, we propose an optimization-based adversarial attack against\nNeural Machine Translation (NMT) models. First, we propose an optimization\nproblem to generate adversarial examples that are semantically similar to the\noriginal sentences but destroy the translation generated by the target NMT\nmodel. This optimization problem is discrete, and we propose a continuous\nrelaxation to solve it. With this relaxation, we find a probability\ndistribution for each token in the adversarial example, and then we can\ngenerate multiple adversarial examples by sampling from these distributions.\nExperimental results show that our attack significantly degrades the\ntranslation quality of multiple NMT models while maintaining the semantic\nsimilarity between the original and adversarial sentences. Furthermore, our\nattack outperforms the baselines in terms of success rate, similarity\npreservation, effect on translation quality, and token error rate. Finally, we\npropose a black-box extension of our attack by sampling from an optimized\nprobability distribution for a reference model whose gradients are accessible.\n", "date": "2023-06-14", "categories": []} {"id": "2306.08565", "title": "Reliable Evaluation of Adversarial Transferability", "abstract": " Adversarial examples (AEs) with small adversarial perturbations can mislead\ndeep neural networks (DNNs) into wrong predictions. The AEs created on one DNN\ncan also fool another DNN. Over the last few years, the transferability of AEs\nhas garnered significant attention as it is a crucial property for facilitating\nblack-box attacks. Many approaches have been proposed to improve adversarial\ntransferability. However, they are mainly verified across different\nconvolutional neural network (CNN) architectures, which is not a reliable\nevaluation since all CNNs share some similar architectural biases. In this\nwork, we re-evaluate 12 representative transferability-enhancing attack methods\nwhere we test on 18 popular models from 4 types of neural networks. Our\nreevaluation revealed that the adversarial transferability is often\noverestimated, and there is no single AE that can be transferred to all popular\nmodels. The transferability rank of previous attacking methods changes when\nunder our comprehensive evaluation. Based on our analysis, we propose a\nreliable benchmark including three evaluation protocols. Adversarial\ntransferability on our new benchmark is extremely low, which further confirms\nthe overestimation of adversarial transferability. We release our benchmark at\nhttps://adv-trans-eval.github.io to facilitate future research, which includes\ncode, model checkpoints, and evaluation protocols.\n", "date": "2023-06-14", "categories": []} {"id": "2306.07408", "title": "Robust Reinforcement Learning through Efficient Adversarial Herding", "abstract": " Although reinforcement learning (RL) is considered the gold standard for\npolicy design, it may not always provide a robust solution in various\nscenarios. This can result in severe performance degradation when the\nenvironment is exposed to potential disturbances. Adversarial training using a\ntwo-player max-min game has been proven effective in enhancing the robustness\nof RL agents. In this work, we extend the two-player game by introducing an\nadversarial herd, which involves a group of adversaries, in order to address\n($\\textit{i}$) the difficulty of the inner optimization problem, and\n($\\textit{ii}$) the potential over pessimism caused by the selection of a\ncandidate adversary set that may include unlikely scenarios. We first prove\nthat adversarial herds can efficiently approximate the inner optimization\nproblem. Then we address the second issue by replacing the worst-case\nperformance in the inner optimization with the average performance over the\nworst-$k$ adversaries. We evaluate the proposed method on multiple MuJoCo\nenvironments. Experimental results demonstrate that our approach consistently\ngenerates more robust policies.\n", "date": "2023-06-12", "categories": []} {"id": "2306.07655", "title": "Malafide: a novel adversarial convolutive noise attack against deepfake\n and spoofing detection systems", "abstract": " We present Malafide, a universal adversarial attack against automatic speaker\nverification (ASV) spoofing countermeasures (CMs). By introducing convolutional\nnoise using an optimised linear time-invariant filter, Malafide attacks can be\nused to compromise CM reliability while preserving other speech attributes such\nas quality and the speaker's voice. In contrast to other adversarial attacks\nproposed recently, Malafide filters are optimised independently of the input\nutterance and duration, are tuned instead to the underlying spoofing attack,\nand require the optimisation of only a small number of filter coefficients.\nEven so, they degrade CM performance estimates by an order of magnitude, even\nin black-box settings, and can also be configured to overcome integrated CM and\nASV subsystems. Integrated solutions that use self-supervised learning CMs,\nhowever, are more robust, under both black-box and white-box settings.\n", "date": "2023-06-13", "categories": []} {"id": "2306.07723", "title": "Theoretical Foundations of Adversarially Robust Learning", "abstract": " Despite extraordinary progress, current machine learning systems have been\nshown to be brittle against adversarial examples: seemingly innocuous but\ncarefully crafted perturbations of test examples that cause machine learning\npredictors to misclassify. Can we learn predictors robust to adversarial\nexamples? and how? There has been much empirical interest in this contemporary\nchallenge in machine learning, and in this thesis, we address it from a\ntheoretical perspective.\n In this thesis, we explore what robustness properties can we hope to\nguarantee against adversarial examples and develop an understanding of how to\nalgorithmically guarantee them. We illustrate the need to go beyond traditional\napproaches and principles such as empirical risk minimization and uniform\nconvergence, and make contributions that can be categorized as follows: (1)\nintroducing problem formulations capturing aspects of emerging practical\nchallenges in robust learning, (2) designing new learning algorithms with\nprovable robustness guarantees, and (3) characterizing the complexity of robust\nlearning and fundamental limitations on the performance of any algorithm.\n", "date": "2023-06-13", "categories": []} {"id": "2306.07768", "title": "Area is all you need: repeatable elements make stronger adversarial\n attacks", "abstract": " Over the last decade, deep neural networks have achieved state of the art in\ncomputer vision tasks. These models, however, are susceptible to unusual\ninputs, known as adversarial examples, that cause them to misclassify or\notherwise fail to detect objects. Here, we provide evidence that the increasing\nsuccess of adversarial attacks is primarily due to increasing their size. We\nthen demonstrate a method for generating the largest possible adversarial patch\nby building a adversarial pattern out of repeatable elements. This approach\nachieves a new state of the art in evading detection by YOLOv2 and YOLOv3.\nFinally, we present an experiment that fails to replicate the prior success of\nseveral attacks published in this field, and end with some comments on testing\nand reproducibility.\n", "date": "2023-06-13", "categories": []} {"id": "2306.07796", "title": "Finite Gaussian Neurons: Defending against adversarial attacks by making\n neural networks say \"I don't know\"", "abstract": " Since 2014, artificial neural networks have been known to be vulnerable to\nadversarial attacks, which can fool the network into producing wrong or\nnonsensical outputs by making humanly imperceptible alterations to inputs.\nWhile defenses against adversarial attacks have been proposed, they usually\ninvolve retraining a new neural network from scratch, a costly task. In this\nwork, I introduce the Finite Gaussian Neuron (FGN), a novel neuron architecture\nfor artificial neural networks. My works aims to: - easily convert existing\nmodels to Finite Gaussian Neuron architecture, - while preserving the existing\nmodel's behavior on real data, - and offering resistance against adversarial\nattacks. I show that converted and retrained Finite Gaussian Neural Networks\n(FGNN) always have lower confidence (i.e., are not overconfident) in their\npredictions over randomized and Fast Gradient Sign Method adversarial images\nwhen compared to classical neural networks, while maintaining high accuracy and\nconfidence over real MNIST images. To further validate the capacity of Finite\nGaussian Neurons to protect from adversarial attacks, I compare the behavior of\nFGNs to that of Bayesian Neural Networks against both randomized and\nadversarial images, and show how the behavior of the two architectures differs.\nFinally I show some limitations of the FGN models by testing them on the more\ncomplex SPEECHCOMMANDS task, against the stronger Carlini-Wagner and Projected\nGradient Descent adversarial attacks.\n", "date": "2023-06-13", "categories": []} {"id": "2306.06107", "title": "Adversarial Attacks on Leakage Detectors in Water Distribution Networks", "abstract": " Many Machine Learning models are vulnerable to adversarial attacks: There\nexist methodologies that add a small (imperceptible) perturbation to an input\nsuch that the model comes up with a wrong prediction. Better understanding of\nsuch attacks is crucial in particular for models used in security-critical\ndomains, such as monitoring of water distribution networks, in order to devise\ncounter-measures enhancing model robustness and trustworthiness.\n We propose a taxonomy for adversarial attacks against machine learning based\nleakage detectors in water distribution networks. Following up on this, we\nfocus on a particular type of attack: an adversary searching the least\nsensitive point, that is, the location in the water network where the largest\npossible undetected leak could occur. Based on a mathematical formalization of\nthe least sensitive point problem, we use three different algorithmic\napproaches to find a solution. Results are evaluated on two benchmark water\ndistribution networks.\n", "date": "2023-05-25", "categories": []} {"id": "2306.06462", "title": "Boosting Adversarial Robustness using Feature Level Stochastic Smoothing", "abstract": " Advances in adversarial defenses have led to a significant improvement in the\nrobustness of Deep Neural Networks. However, the robust accuracy of present\nstate-ofthe-art defenses is far from the requirements in critical applications\nsuch as robotics and autonomous navigation systems. Further, in practical use\ncases, network prediction alone might not suffice, and assignment of a\nconfidence value for the prediction can prove crucial. In this work, we propose\na generic method for introducing stochasticity in the network predictions, and\nutilize this for smoothing decision boundaries and rejecting low confidence\npredictions, thereby boosting the robustness on accepted samples. The proposed\nFeature Level Stochastic Smoothing based classification also results in a boost\nin robustness without rejection over existing adversarial training methods.\nFinally, we combine the proposed method with adversarial detection methods, to\nachieve the benefits of both approaches.\n", "date": "2023-06-10", "categories": []} {"id": "2306.06712", "title": "Neural Architecture Design and Robustness: A Dataset", "abstract": " Deep learning models have proven to be successful in a wide range of machine\nlearning tasks. Yet, they are often highly sensitive to perturbations on the\ninput data which can lead to incorrect decisions with high confidence,\nhampering their deployment for practical use-cases. Thus, finding architectures\nthat are (more) robust against perturbations has received much attention in\nrecent years. Just like the search for well-performing architectures in terms\nof clean accuracy, this usually involves a tedious trial-and-error process with\none additional challenge: the evaluation of a network's robustness is\nsignificantly more expensive than its evaluation for clean accuracy. Thus, the\naim of this paper is to facilitate better streamlined research on architectural\ndesign choices with respect to their impact on robustness as well as, for\nexample, the evaluation of surrogate measures for robustness. We therefore\nborrow one of the most commonly considered search spaces for neural\narchitecture search for image classification, NAS-Bench-201, which contains a\nmanageable size of 6466 non-isomorphic network designs. We evaluate all these\nnetworks on a range of common adversarial attacks and corruption types and\nintroduce a database on neural architecture design and robustness evaluations.\nWe further present three exemplary use cases of this dataset, in which we (i)\nbenchmark robustness measurements based on Jacobian and Hessian matrices for\ntheir robustness predictability, (ii) perform neural architecture search on\nrobust accuracies, and (iii) provide an initial analysis of how architectural\ndesign choices affect robustness. We find that carefully crafting the topology\nof a network can have substantial impact on its robustness, where networks with\nthe same parameter count range in mean adversarial robust accuracy from\n20%-41%. Code and data is available at http://robustness.vision/.\n", "date": "2023-06-11", "categories": []} {"id": "2306.06995", "title": "How robust accuracy suffers from certified training with convex\n relaxations", "abstract": " Adversarial attacks pose significant threats to deploying state-of-the-art\nclassifiers in safety-critical applications. Two classes of methods have\nemerged to address this issue: empirical defences and certified defences.\nAlthough certified defences come with robustness guarantees, empirical defences\nsuch as adversarial training enjoy much higher popularity among practitioners.\nIn this paper, we systematically compare the standard and robust error of these\ntwo robust training paradigms across multiple computer vision tasks. We show\nthat in most tasks and for both $\\mathscr{l}_\\infty$-ball and\n$\\mathscr{l}_2$-ball threat models, certified training with convex relaxations\nsuffers from worse standard and robust error than adversarial training. We\nfurther explore how the error gap between certified and adversarial training\ndepends on the threat model and the data distribution. In particular, besides\nthe perturbation budget, we identify as important factors the shape of the\nperturbation set and the implicit margin of the data distribution. We support\nour arguments with extensive ablations on both synthetic and image datasets.\n", "date": "2023-06-12", "categories": []} {"id": "2306.07178", "title": "Frequency-Based Vulnerability Analysis of Deep Learning Models against\n Image Corruptions", "abstract": " Deep learning models often face challenges when handling real-world image\ncorruptions. In response, researchers have developed image corruption datasets\nto evaluate the performance of deep neural networks in handling such\ncorruptions. However, these datasets have a significant limitation: they do not\naccount for all corruptions encountered in real-life scenarios. To address this\ngap, we present MUFIA (Multiplicative Filter Attack), an algorithm designed to\nidentify the specific types of corruptions that can cause models to fail. Our\nalgorithm identifies the combination of image frequency components that render\na model susceptible to misclassification while preserving the semantic\nsimilarity to the original image. We find that even state-of-the-art models\ntrained to be robust against known common corruptions struggle against the low\nvisibility-based corruptions crafted by MUFIA. This highlights the need for\nmore comprehensive approaches to enhance model robustness against a wider range\nof real-world image corruptions.\n", "date": "2023-06-12", "categories": []} {"id": "2306.05495", "title": "Is Attentional Channel Processing Design Required? Comprehensive\n Analysis Of Robustness Between Vision Transformers And Fully Attentional\n Networks", "abstract": " The robustness testing has been performed for standard CNN models and Vision\nTransformers, however there is a lack of comprehensive study between the\nrobustness of traditional Vision Transformers without an extra attentional\nchannel design and the latest fully attentional network(FAN) models. So in this\npaper, we use the ImageNet dataset to compare the robustness of fully\nattentional network(FAN) models with traditional Vision Transformers to\nunderstand the role of an attentional channel processing design using white box\nattacks and also study the transferability between the same using black box\nattacks.\n", "date": "2023-06-08", "categories": []} {"id": "2306.05873", "title": "Detecting Adversarial Directions in Deep Reinforcement Learning to Make\n Robust Decisions", "abstract": " Learning in MDPs with highly complex state representations is currently\npossible due to multiple advancements in reinforcement learning algorithm\ndesign. However, this incline in complexity, and furthermore the increase in\nthe dimensions of the observation came at the cost of volatility that can be\ntaken advantage of via adversarial attacks (i.e. moving along worst-case\ndirections in the observation space). To solve this policy instability problem\nwe propose a novel method to detect the presence of these non-robust directions\nvia local quadratic approximation of the deep neural policy loss. Our method\nprovides a theoretical basis for the fundamental cut-off between safe\nobservations and adversarial observations. Furthermore, our technique is\ncomputationally efficient, and does not depend on the methods used to produce\nthe worst-case directions. We conduct extensive experiments in the Arcade\nLearning Environment with several different adversarial attack techniques. Most\nsignificantly, we demonstrate the effectiveness of our approach even in the\nsetting where non-robust directions are explicitly optimized to circumvent our\nproposed method.\n", "date": "2023-06-09", "categories": []} {"id": "2306.04252", "title": "Adversarial Sample Detection Through Neural Network Transport Dynamics", "abstract": " We propose a detector of adversarial samples that is based on the view of\nneural networks as discrete dynamic systems. The detector tells clean inputs\nfrom abnormal ones by comparing the discrete vector fields they follow through\nthe layers. We also show that regularizing this vector field during training\nmakes the network more regular on the data distribution's support, thus making\nthe activations of clean inputs more distinguishable from those of abnormal\nones. Experimentally, we compare our detector favorably to other detectors on\nseen and unseen attacks, and show that the regularization of the network's\ndynamics improves the performance of adversarial detectors that use the\ninternal embeddings as inputs, while also improving test accuracy.\n", "date": "2023-06-07", "categories": []} {"id": "2306.04756", "title": "A Linearly Convergent GAN Inversion-based Algorithm for Reverse\n Engineering of Deceptions", "abstract": " An important aspect of developing reliable deep learning systems is devising\nstrategies that make these systems robust to adversarial attacks. There is a\nlong line of work that focuses on developing defenses against these attacks,\nbut recently, researchers have began to study ways to reverse engineer the\nattack process. This allows us to not only defend against several attack\nmodels, but also classify the threat model. However, there is still a lack of\ntheoretical guarantees for the reverse engineering process. Current approaches\nthat give any guarantees are based on the assumption that the data lies in a\nunion of linear subspaces, which is not a valid assumption for more complex\ndatasets. In this paper, we build on prior work and propose a novel framework\nfor reverse engineering of deceptions which supposes that the clean data lies\nin the range of a GAN. To classify the signal and attack, we jointly solve a\nGAN inversion problem and a block-sparse recovery problem. For the first time\nin the literature, we provide deterministic linear convergence guarantees for\nthis problem. We also empirically demonstrate the merits of the proposed\napproach on several nonlinear datasets as compared to state-of-the-art methods.\n", "date": "2023-06-07", "categories": []} {"id": "2306.04874", "title": "Expanding Scope: Adapting English Adversarial Attacks to Chinese", "abstract": " Recent studies have revealed that NLP predictive models are vulnerable to\nadversarial attacks. Most existing studies focused on designing attacks to\nevaluate the robustness of NLP models in the English language alone. Literature\nhas seen an increasing need for NLP solutions for other languages. We,\ntherefore, ask one natural question: whether state-of-the-art (SOTA) attack\nmethods generalize to other languages. This paper investigates how to adapt\nSOTA adversarial attack algorithms in English to the Chinese language. Our\nexperiments show that attack methods previously applied to English NLP can\ngenerate high-quality adversarial examples in Chinese when combined with proper\ntext segmentation and linguistic constraints. In addition, we demonstrate that\nthe generated adversarial examples can achieve high fluency and semantic\nconsistency by focusing on the Chinese language's morphology and phonology,\nwhich in turn can be used to improve the adversarial robustness of Chinese NLP\nmodels.\n", "date": "2023-06-08", "categories": []} {"id": "2302.02502", "title": "Rethinking Robust Contrastive Learning from the Adversarial Perspective", "abstract": " To advance the understanding of robust deep learning, we delve into the\neffects of adversarial training on self-supervised and supervised contrastive\nlearning alongside supervised learning. Our analysis uncovers significant\ndisparities between adversarial and clean representations in standard-trained\nnetworks across various learning algorithms. Remarkably, adversarial training\nmitigates these disparities and fosters the convergence of representations\ntoward a universal set, regardless of the learning scheme used. Additionally,\nincreasing the similarity between adversarial and clean representations,\nparticularly near the end of the network, enhances network robustness. These\nfindings offer valuable insights for designing and training effective and\nrobust deep learning networks. Our code is released at\n\\textcolor{magenta}{\\url{https://github.com/softsys4ai/CL-Robustness}}.\n", "date": "2023-02-05", "categories": []} {"id": "2306.04535", "title": "PromptAttack: Probing Dialogue State Trackers with Adversarial Prompts", "abstract": " A key component of modern conversational systems is the Dialogue State\nTracker (or DST), which models a user's goals and needs. Toward building more\nrobust and reliable DSTs, we introduce a prompt-based learning approach to\nautomatically generate effective adversarial examples to probe DST models. Two\nkey characteristics of this approach are: (i) it only needs the output of the\nDST with no need for model parameters, and (ii) it can learn to generate\nnatural language utterances that can target any DST. Through experiments over\nstate-of-the-art DSTs, the proposed framework leads to the greatest reduction\nin accuracy and the best attack success rate while maintaining good fluency and\na low perturbation ratio. We also show how much the generated adversarial\nexamples can bolster a DST through adversarial training. These results indicate\nthe strength of prompt-based attacks on DSTs and leave open avenues for\ncontinued refinement.\n", "date": "2023-06-07", "categories": []} {"id": "2206.10858", "title": "Robust Universal Adversarial Perturbations", "abstract": " Universal Adversarial Perturbations (UAPs) are imperceptible, image-agnostic\nvectors that cause deep neural networks (DNNs) to misclassify inputs with high\nprobability. In practical attack scenarios, adversarial perturbations may\nundergo transformations such as changes in pixel intensity, scaling, etc.\nbefore being added to DNN inputs. Existing methods do not create UAPs robust to\nthese real-world transformations, thereby limiting their applicability in\npractical attack scenarios. In this work, we introduce and formulate UAPs\nrobust against real-world transformations. We build an iterative algorithm\nusing probabilistic robustness bounds and construct such UAPs robust to\ntransformations generated by composing arbitrary sub-differentiable\ntransformation functions. We perform an extensive evaluation on the popular\nCIFAR-10 and ILSVRC 2012 datasets measuring our UAPs' robustness under a wide\nrange common, real-world transformations such as rotation, contrast changes,\netc. We further show that by using a set of primitive transformations our\nmethod can generalize well to unseen transformations such as fog, JPEG\ncompression, etc. Our results show that our method can generate UAPs up to 23%\nmore robust than state-of-the-art baselines.\n", "date": "2022-06-22", "categories": []} {"id": "2301.11526", "title": "Direct Parameterization of Lipschitz-Bounded Deep Networks", "abstract": " This paper introduces a new parameterization of deep neural networks (both\nfully-connected and convolutional) with guaranteed $\\ell^2$ Lipschitz bounds,\ni.e. limited sensitivity to input perturbations. The Lipschitz guarantees are\nequivalent to the tightest-known bounds based on certification via a\nsemidefinite program (SDP). We provide a ``direct'' parameterization, i.e., a\nsmooth mapping from $\\mathbb R^N$ onto the set of weights satisfying the\nSDP-based bound. Moreover, our parameterization is complete, i.e. a neural\nnetwork satisfies the SDP bound if and only if it can be represented via our\nparameterization. This enables training using standard gradient methods,\nwithout any inner approximation or computationally intensive tasks (e.g.\nprojections or barrier terms) for the SDP constraint. The new parameterization\ncan equivalently be thought of as either a new layer type (the \\textit{sandwich\nlayer}), or a novel parameterization of standard feedforward networks with\nparameter sharing between neighbouring layers. A comprehensive set of\nexperiments on image classification shows that sandwich layers outperform\nprevious approaches on both empirical and certified robust accuracy. Code is\navailable at \\url{https://github.com/acfr/LBDN}.\n", "date": "2023-01-27", "categories": []} {"id": "2306.02583", "title": "Stable Diffusion is Unstable", "abstract": " Recently, text-to-image models have been thriving. Despite their powerful\ngenerative capacity, our research has uncovered a lack of robustness in this\ngeneration process. Specifically, the introduction of small perturbations to\nthe text prompts can result in the blending of primary subjects with other\ncategories or their complete disappearance in the generated images. In this\npaper, we propose Auto-attack on Text-to-image Models (ATM), a gradient-based\napproach, to effectively and efficiently generate such perturbations. By\nlearning a Gumbel Softmax distribution, we can make the discrete process of\nword replacement or extension continuous, thus ensuring the differentiability\nof the perturbation generation. Once the distribution is learned, ATM can\nsample multiple attack samples simultaneously. These attack samples can prevent\nthe generative model from generating the desired subjects without compromising\nimage quality. ATM has achieved a 91.1% success rate in short-text attacks and\nan 81.2% success rate in long-text attacks. Further empirical analysis revealed\nfour attack patterns based on: 1) the variability in generation speed, 2) the\nsimilarity of coarse-grained characteristics, 3) the polysemy of words, and 4)\nthe positioning of words.\n", "date": "2023-06-05", "categories": []} {"id": "2306.03229", "title": "Adversarial alignment: Breaking the trade-off between the strength of an\n attack and its relevance to human perception", "abstract": " Deep neural networks (DNNs) are known to have a fundamental sensitivity to\nadversarial attacks, perturbations of the input that are imperceptible to\nhumans yet powerful enough to change the visual decision of a model.\nAdversarial attacks have long been considered the \"Achilles' heel\" of deep\nlearning, which may eventually force a shift in modeling paradigms.\nNevertheless, the formidable capabilities of modern large-scale DNNs have\nsomewhat eclipsed these early concerns. Do adversarial attacks continue to pose\na threat to DNNs?\n Here, we investigate how the robustness of DNNs to adversarial attacks has\nevolved as their accuracy on ImageNet has continued to improve. We measure\nadversarial robustness in two different ways: First, we measure the smallest\nadversarial attack needed to cause a model to change its object categorization\ndecision. Second, we measure how aligned successful attacks are with the\nfeatures that humans find diagnostic for object recognition. We find that\nadversarial attacks are inducing bigger and more easily detectable changes to\nimage pixels as DNNs grow better on ImageNet, but these attacks are also\nbecoming less aligned with features that humans find diagnostic for\nrecognition. To better understand the source of this trade-off, we turn to the\nneural harmonizer, a DNN training routine that encourages models to leverage\nthe same features as humans to solve tasks. Harmonized DNNs achieve the best of\nboth worlds and experience attacks that are detectable and affect features that\nhumans find diagnostic for recognition, meaning that attacks on these models\nare more likely to be rendered ineffective by inducing similar effects on human\nperception. Our findings suggest that the sensitivity of DNNs to adversarial\nattacks can be mitigated by DNN scale, data scale, and training routines that\nalign models with biological intelligence.\n", "date": "2023-06-05", "categories": []} {"id": "2306.03331", "title": "A Robust Likelihood Model for Novelty Detection", "abstract": " Current approaches to novelty or anomaly detection are based on deep neural\nnetworks. Despite their effectiveness, neural networks are also vulnerable to\nimperceptible deformations of the input data. This is a serious issue in\ncritical applications, or when data alterations are generated by an adversarial\nattack. While this is a known problem that has been studied in recent years for\nthe case of supervised learning, the case of novelty detection has received\nvery limited attention. Indeed, in this latter setting the learning is\ntypically unsupervised because outlier data is not available during training,\nand new approaches for this case need to be investigated. We propose a new\nprior that aims at learning a robust likelihood for the novelty test, as a\ndefense against attacks. We also integrate the same prior with a\nstate-of-the-art novelty detection approach. Because of the geometric\nproperties of that approach, the resulting robust training is computationally\nvery efficient. An initial evaluation of the method indicates that it is\neffective at improving performance with respect to the standard models in the\nabsence and presence of attacks.\n", "date": "2023-06-06", "categories": []} {"id": "2212.06079", "title": "Robust Perception through Equivariance", "abstract": " Deep networks for computer vision are not reliable when they encounter\nadversarial examples. In this paper, we introduce a framework that uses the\ndense intrinsic constraints in natural images to robustify inference. By\nintroducing constraints at inference time, we can shift the burden of\nrobustness from training to the inference algorithm, thereby allowing the model\nto adjust dynamically to each individual image's unique and potentially novel\ncharacteristics at inference time. Among different constraints, we find that\nequivariance-based constraints are most effective, because they allow dense\nconstraints in the feature space without overly constraining the representation\nat a fine-grained level. Our theoretical results validate the importance of\nhaving such dense constraints at inference time. Our empirical experiments show\nthat restoring feature equivariance at inference time defends against\nworst-case adversarial perturbations. The method obtains improved adversarial\nrobustness on four datasets (ImageNet, Cityscapes, PASCAL VOC, and MS-COCO) on\nimage recognition, semantic segmentation, and instance segmentation tasks.\nProject page is available at equi4robust.cs.columbia.edu.\n", "date": "2022-12-12", "categories": []} {"id": "2303.15754", "title": "Transferable Adversarial Attacks on Vision Transformers with Token\n Gradient Regularization", "abstract": " Vision transformers (ViTs) have been successfully deployed in a variety of\ncomputer vision tasks, but they are still vulnerable to adversarial samples.\nTransfer-based attacks use a local model to generate adversarial samples and\ndirectly transfer them to attack a target black-box model. The high efficiency\nof transfer-based attacks makes it a severe security threat to ViT-based\napplications. Therefore, it is vital to design effective transfer-based attacks\nto identify the deficiencies of ViTs beforehand in security-sensitive\nscenarios. Existing efforts generally focus on regularizing the input gradients\nto stabilize the updated direction of adversarial samples. However, the\nvariance of the back-propagated gradients in intermediate blocks of ViTs may\nstill be large, which may make the generated adversarial samples focus on some\nmodel-specific features and get stuck in poor local optima. To overcome the\nshortcomings of existing approaches, we propose the Token Gradient\nRegularization (TGR) method. According to the structural characteristics of\nViTs, TGR reduces the variance of the back-propagated gradient in each internal\nblock of ViTs in a token-wise manner and utilizes the regularized gradient to\ngenerate adversarial samples. Extensive experiments on attacking both ViTs and\nCNNs confirm the superiority of our approach. Notably, compared to the\nstate-of-the-art transfer-based attacks, our TGR offers a performance\nimprovement of 8.8% on average.\n", "date": "2023-03-28", "categories": []} {"id": "2304.04033", "title": "Exploring the Connection between Robust and Generative Models", "abstract": " We offer a study that connects robust discriminative classifiers trained with\nadversarial training (AT) with generative modeling in the form of Energy-based\nModels (EBM). We do so by decomposing the loss of a discriminative classifier\nand showing that the discriminative model is also aware of the input data\ndensity. Though a common assumption is that adversarial points leave the\nmanifold of the input data, our study finds out that, surprisingly, untargeted\nadversarial points in the input space are very likely under the generative\nmodel hidden inside the discriminative classifier -- have low energy in the\nEBM. We present two evidence: untargeted attacks are even more likely than the\nnatural data and their likelihood increases as the attack strength increases.\nThis allows us to easily detect them and craft a novel attack called\nHigh-Energy PGD that fools the classifier yet has energy similar to the data\nset. The code is available at github.com/senad96/Robust-Generative\n", "date": "2023-04-08", "categories": []} {"id": "2306.01809", "title": "Adversarial Attack Based on Prediction-Correction", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial examples obtained\nby adding small perturbations to original examples. The added perturbations in\nexisting attacks are mainly determined by the gradient of the loss function\nwith respect to the inputs. In this paper, the close relationship between\ngradient-based attacks and the numerical methods for solving ordinary\ndifferential equation (ODE) is studied for the first time. Inspired by the\nnumerical solution of ODE, a new prediction-correction (PC) based adversarial\nattack is proposed. In our proposed PC-based attack, some existing attack can\nbe selected to produce a predicted example first, and then the predicted\nexample and the current example are combined together to determine the added\nperturbations. The proposed method possesses good extensibility and can be\napplied to all available gradient-based attacks easily. Extensive experiments\ndemonstrate that compared with the state-of-the-art gradient-based adversarial\nattacks, our proposed PC-based attacks have higher attack success rates, and\nexhibit better transferability.\n", "date": "2023-06-02", "categories": []} {"id": "2306.02002", "title": "Can Directed Graph Neural Networks be Adversarially Robust?", "abstract": " The existing research on robust Graph Neural Networks (GNNs) fails to\nacknowledge the significance of directed graphs in providing rich information\nabout networks' inherent structure. This work presents the first investigation\ninto the robustness of GNNs in the context of directed graphs, aiming to\nharness the profound trust implications offered by directed graphs to bolster\nthe robustness and resilience of GNNs. Our study reveals that existing directed\nGNNs are not adversarially robust. In pursuit of our goal, we introduce a new\nand realistic directed graph attack setting and propose an innovative,\nuniversal, and efficient message-passing framework as a plug-in layer to\nsignificantly enhance the robustness of GNNs. Combined with existing defense\nstrategies, this framework achieves outstanding clean accuracy and\nstate-of-the-art robust performance, offering superior defense against both\ntransfer and adaptive attacks. The findings in this study reveal a novel and\npromising direction for this crucial research area. The code will be made\npublicly available upon the acceptance of this work.\n", "date": "2023-06-03", "categories": []} {"id": "2306.02021", "title": "Towards Black-box Adversarial Example Detection: A Data\n Reconstruction-based Method", "abstract": " Adversarial example detection is known to be an effective adversarial defense\nmethod. Black-box attack, which is a more realistic threat and has led to\nvarious black-box adversarial training-based defense methods, however, does not\nattract considerable attention in adversarial example detection. In this paper,\nwe fill this gap by positioning the problem of black-box adversarial example\ndetection (BAD). Data analysis under the introduced BAD settings demonstrates\n(1) the incapability of existing detectors in addressing the black-box scenario\nand (2) the potential of exploring BAD solutions from a data perspective. To\ntackle the BAD problem, we propose a data reconstruction-based adversarial\nexample detection method. Specifically, we use variational auto-encoder (VAE)\nto capture both pixel and frequency representations of normal examples. Then we\nuse reconstruction error to detect adversarial examples. Compared with existing\ndetection methods, the proposed method achieves substantially better detection\nperformance in BAD, which helps promote the deployment of adversarial example\ndetection-based defense solutions in real-world models.\n", "date": "2023-06-03", "categories": []} {"id": "2306.02639", "title": "Evaluating robustness of support vector machines with the Lagrangian\n dual approach", "abstract": " Adversarial examples bring a considerable security threat to support vector\nmachines (SVMs), especially those used in safety-critical applications. Thus,\nrobustness verification is an essential issue for SVMs, which can provide\nprovable robustness against various kinds of adversary attacks. The evaluation\nresults obtained through the robustness verification can provide a safe\nguarantee for the use of SVMs. The existing verification method does not often\nperform well in verifying SVMs with nonlinear kernels. To this end, we propose\na method to improve the verification performance for SVMs with nonlinear\nkernels. We first formalize the adversarial robustness evaluation of SVMs as an\noptimization problem. Then a lower bound of the original problem is obtained by\nsolving the Lagrangian dual problem of the original problem. Finally, the\nadversarial robustness of SVMs is evaluated concerning the lower bound. We\nevaluate the adversarial robustness of SVMs with linear and nonlinear kernels\non the MNIST and Fashion-MNIST datasets. The experimental results show that the\npercentage of provable robustness obtained by our method on the test set is\nbetter than that of the state-of-the-art.\n", "date": "2023-06-05", "categories": []} {"id": "2306.02918", "title": "Adversarial Ink: Componentwise Backward Error Attacks on Deep Learning", "abstract": " Deep neural networks are capable of state-of-the-art performance in many\nclassification tasks. However, they are known to be vulnerable to adversarial\nattacks -- small perturbations to the input that lead to a change in\nclassification. We address this issue from the perspective of backward error\nand condition number, concepts that have proved useful in numerical analysis.\nTo do this, we build on the work of Beuzeville et al. (2021). In particular, we\ndevelop a new class of attack algorithms that use componentwise relative\nperturbations. Such attacks are highly relevant in the case of handwritten\ndocuments or printed texts where, for example, the classification of\nsignatures, postcodes, dates or numerical quantities may be altered by changing\nonly the ink consistency and not the background. This makes the perturbed\nimages look natural to the naked eye. Such ``adversarial ink'' attacks\ntherefore reveal a weakness that can have a serious impact on safety and\nsecurity. We illustrate the new attacks on real data and contrast them with\nexisting algorithms. We also study the use of a componentwise condition number\nto quantify vulnerability.\n", "date": "2023-06-05", "categories": []} {"id": "2304.13229", "title": "Generating Adversarial Examples with Task Oriented Multi-Objective\n Optimization", "abstract": " Deep learning models, even the-state-of-the-art ones, are highly vulnerable\nto adversarial examples. Adversarial training is one of the most efficient\nmethods to improve the model's robustness. The key factor for the success of\nadversarial training is the capability to generate qualified and divergent\nadversarial examples which satisfy some objectives/goals (e.g., finding\nadversarial examples that maximize the model losses for simultaneously\nattacking multiple models). Therefore, multi-objective optimization (MOO) is a\nnatural tool for adversarial example generation to achieve multiple\nobjectives/goals simultaneously. However, we observe that a naive application\nof MOO tends to maximize all objectives/goals equally, without caring if an\nobjective/goal has been achieved yet. This leads to useless effort to further\nimprove the goal-achieved tasks, while putting less focus on the\ngoal-unachieved tasks. In this paper, we propose \\emph{Task Oriented MOO} to\naddress this issue, in the context where we can explicitly define the goal\nachievement for a task. Our principle is to only maintain the goal-achieved\ntasks, while letting the optimizer spend more effort on improving the\ngoal-unachieved tasks. We conduct comprehensive experiments for our Task\nOriented MOO on various adversarial example generation schemes. The\nexperimental results firmly demonstrate the merit of our proposed approach. Our\ncode is available at \\url{https://github.com/tuananhbui89/TAMOO}.\n", "date": "2023-04-26", "categories": []} {"id": "2306.01125", "title": "Reconstruction Distortion of Learned Image Compression with\n Imperceptible Perturbations", "abstract": " Learned Image Compression (LIC) has recently become the trending technique\nfor image transmission due to its notable performance. Despite its popularity,\nthe robustness of LIC with respect to the quality of image reconstruction\nremains under-explored. In this paper, we introduce an imperceptible attack\napproach designed to effectively degrade the reconstruction quality of LIC,\nresulting in the reconstructed image being severely disrupted by noise where\nany object in the reconstructed images is virtually impossible. More\nspecifically, we generate adversarial examples by introducing a Frobenius\nnorm-based loss function to maximize the discrepancy between original images\nand reconstructed adversarial examples. Further, leveraging the insensitivity\nof high-frequency components to human vision, we introduce Imperceptibility\nConstraint (IC) to ensure that the perturbations remain inconspicuous.\nExperiments conducted on the Kodak dataset using various LIC models demonstrate\neffectiveness. In addition, we provide several findings and suggestions for\ndesigning future defenses.\n", "date": "2023-06-01", "categories": []} {"id": "2306.01148", "title": "Addressing Discrepancies in Semantic and Visual Alignment in Neural\n Networks", "abstract": " For the task of image classification, neural networks primarily rely on\nvisual patterns. In robust networks, we would expect for visually similar\nclasses to be represented similarly. We consider the problem of when\nsemantically similar classes are visually dissimilar, and when visual\nsimilarity is present among non-similar classes. We propose a data augmentation\ntechnique with the goal of better aligning semantically similar classes with\narbitrary (non-visual) semantic relationships. We leverage recent work in\ndiffusion-based semantic mixing to generate semantic hybrids of two classes,\nand these hybrids are added to the training set as augmented data. We evaluate\nwhether the method increases semantic alignment by evaluating model performance\non adversarially perturbed data, with the idea that it should be easier for an\nadversary to switch one class to a similarly represented class. Results\ndemonstrate that there is an increase in alignment of semantically similar\nclasses when using our proposed data augmentation method.\n", "date": "2023-06-01", "categories": []} {"id": "2306.01273", "title": "VoteTRANS: Detecting Adversarial Text without Training by Voting on Hard\n Labels of Transformations", "abstract": " Adversarial attacks reveal serious flaws in deep learning models. More\ndangerously, these attacks preserve the original meaning and escape human\nrecognition. Existing methods for detecting these attacks need to be trained\nusing original/adversarial data. In this paper, we propose detection without\ntraining by voting on hard labels from predictions of transformations, namely,\nVoteTRANS. Specifically, VoteTRANS detects adversarial text by comparing the\nhard labels of input text and its transformation. The evaluation demonstrates\nthat VoteTRANS effectively detects adversarial text across various\nstate-of-the-art attacks, models, and datasets.\n", "date": "2023-06-02", "categories": []} {"id": "2306.01400", "title": "Adaptive Attractors: A Defense Strategy against ML Adversarial Collusion\n Attacks", "abstract": " In the seller-buyer setting on machine learning models, the seller generates\ndifferent copies based on the original model and distributes them to different\nbuyers, such that adversarial samples generated on one buyer's copy would\nlikely not work on other copies. A known approach achieves this using\nattractor-based rewriter which injects different attractors to different\ncopies. This induces different adversarial regions in different copies, making\nadversarial samples generated on one copy not replicable on others. In this\npaper, we focus on a scenario where multiple malicious buyers collude to\nattack. We first give two formulations and conduct empirical studies to analyze\neffectiveness of collusion attack under different assumptions on the attacker's\ncapabilities and properties of the attractors. We observe that existing\nattractor-based methods do not effectively mislead the colluders in the sense\nthat adversarial samples found are influenced more by the original model\ninstead of the attractors as number of colluders increases. Based on this\nobservation, we propose using adaptive attractors whose weight is guided by a\nU-shape curve to cover the shortfalls. Experimentation results show that when\nusing our approach, the attack success rate of a collusion attack converges to\naround 15% even when lots of copies are applied for collusion. In contrast,\nwhen using the existing attractor-based rewriter with fixed weight, the attack\nsuccess rate increases linearly with the number of copies used for collusion.\n", "date": "2023-06-02", "categories": []} {"id": "2306.01429", "title": "A Closer Look at the Adversarial Robustness of Deep Equilibrium Models", "abstract": " Deep equilibrium models (DEQs) refrain from the traditional layer-stacking\nparadigm and turn to find the fixed point of a single layer. DEQs have achieved\npromising performance on different applications with featured memory\nefficiency. At the same time, the adversarial vulnerability of DEQs raises\nconcerns. Several works propose to certify robustness for monotone DEQs.\nHowever, limited efforts are devoted to studying empirical robustness for\ngeneral DEQs. To this end, we observe that an adversarially trained DEQ\nrequires more forward steps to arrive at the equilibrium state, or even\nviolates its fixed-point structure. Besides, the forward and backward tracks of\nDEQs are misaligned due to the black-box solvers. These facts cause gradient\nobfuscation when applying the ready-made attacks to evaluate or adversarially\ntrain DEQs. Given this, we develop approaches to estimate the intermediate\ngradients of DEQs and integrate them into the attacking pipelines. Our\napproaches facilitate fully white-box evaluations and lead to effective\nadversarial defense for DEQs. Extensive experiments on CIFAR-10 validate the\nadversarial robustness of DEQs competitive with deep networks of similar sizes.\n", "date": "2023-06-02", "categories": []} {"id": "2306.01435", "title": "Improving Adversarial Robustness of DEQs with Explicit Regulations Along\n the Neural Dynamics", "abstract": " Deep equilibrium (DEQ) models replace the multiple-layer stacking of\nconventional deep networks with a fixed-point iteration of a single-layer\ntransformation. Having been demonstrated to be competitive in a variety of\nreal-world scenarios, the adversarial robustness of general DEQs becomes\nincreasingly crucial for their reliable deployment. Existing works improve the\nrobustness of general DEQ models with the widely-used adversarial training (AT)\nframework, but they fail to exploit the structural uniquenesses of DEQ models.\nTo this end, we interpret DEQs through the lens of neural dynamics and find\nthat AT under-regulates intermediate states. Besides, the intermediate states\ntypically provide predictions with a high prediction entropy. Informed by the\ncorrelation between the entropy of dynamical systems and their stability\nproperties, we propose reducing prediction entropy by progressively updating\ninputs along the neural dynamics. During AT, we also utilize random\nintermediate states to compute the loss function. Our methods regulate the\nneural dynamics of DEQ models in this manner. Extensive experiments demonstrate\nthat our methods substantially increase the robustness of DEQ models and even\noutperform the strong deep network baselines.\n", "date": "2023-06-02", "categories": []} {"id": "2206.03353", "title": "Improving Adversarial Robustness by Putting More Regularizations on Less\n Robust Samples", "abstract": " Adversarial training, which is to enhance robustness against adversarial\nattacks, has received much attention because it is easy to generate\nhuman-imperceptible perturbations of data to deceive a given deep neural\nnetwork. In this paper, we propose a new adversarial training algorithm that is\ntheoretically well motivated and empirically superior to other existing\nalgorithms. A novel feature of the proposed algorithm is to apply more\nregularization to data vulnerable to adversarial attacks than other existing\nregularization algorithms do. Theoretically, we show that our algorithm can be\nunderstood as an algorithm of minimizing the regularized empirical risk\nmotivated from a newly derived upper bound of the robust risk. Numerical\nexperiments illustrate that our proposed algorithm improves the generalization\n(accuracy on examples) and robustness (accuracy on adversarial attacks)\nsimultaneously to achieve the state-of-the-art performance.\n", "date": "2022-06-07", "categories": []} {"id": "2302.04638", "title": "Better Diffusion Models Further Improve Adversarial Training", "abstract": " It has been recognized that the data generated by the denoising diffusion\nprobabilistic model (DDPM) improves adversarial training. After two years of\nrapid development in diffusion models, a question naturally arises: can better\ndiffusion models further improve adversarial training? This paper gives an\naffirmative answer by employing the most recent diffusion model which has\nhigher efficiency ($\\sim 20$ sampling steps) and image quality (lower FID\nscore) compared with DDPM. Our adversarially trained models achieve\nstate-of-the-art performance on RobustBench using only generated data (no\nexternal datasets). Under the $\\ell_\\infty$-norm threat model with\n$\\epsilon=8/255$, our models achieve $70.69\\%$ and $42.67\\%$ robust accuracy on\nCIFAR-10 and CIFAR-100, respectively, i.e. improving upon previous\nstate-of-the-art models by $+4.58\\%$ and $+8.03\\%$. Under the $\\ell_2$-norm\nthreat model with $\\epsilon=128/255$, our models achieve $84.86\\%$ on CIFAR-10\n($+4.44\\%$). These results also beat previous works that use external data. We\nalso provide compelling results on the SVHN and TinyImageNet datasets. Our code\nis available at https://github.com/wzekai99/DM-Improves-AT.\n", "date": "2023-02-09", "categories": []} {"id": "2306.00314", "title": "Adversarial-Aware Deep Learning System based on a Secondary Classical\n Machine Learning Verification Approach", "abstract": " Deep learning models have been used in creating various effective image\nclassification applications. However, they are vulnerable to adversarial\nattacks that seek to misguide the models into predicting incorrect classes. Our\nstudy of major adversarial attack models shows that they all specifically\ntarget and exploit the neural networking structures in their designs. This\nunderstanding makes us develop a hypothesis that most classical machine\nlearning models, such as Random Forest (RF), are immune to adversarial attack\nmodels because they do not rely on neural network design at all. Our\nexperimental study of classical machine learning models against popular\nadversarial attacks supports this hypothesis. Based on this hypothesis, we\npropose a new adversarial-aware deep learning system by using a classical\nmachine learning model as the secondary verification system to complement the\nprimary deep learning model in image classification. Although the secondary\nclassical machine learning model has less accurate output, it is only used for\nverification purposes, which does not impact the output accuracy of the primary\ndeep learning model, and at the same time, can effectively detect an\nadversarial attack when a clear mismatch occurs. Our experiments based on\nCIFAR-100 dataset show that our proposed approach outperforms current\nstate-of-the-art adversarial defense systems.\n", "date": "2023-06-01", "categories": []} {"id": "2306.00687", "title": "Adversarial Robustness in Unsupervised Machine Learning: A Systematic\n Review", "abstract": " As the adoption of machine learning models increases, ensuring robust models\nagainst adversarial attacks is increasingly important. With unsupervised\nmachine learning gaining more attention, ensuring it is robust against attacks\nis vital. This paper conducts a systematic literature review on the robustness\nof unsupervised learning, collecting 86 papers. Our results show that most\nresearch focuses on privacy attacks, which have effective defenses; however,\nmany attacks lack effective and general defensive measures. Based on the\nresults, we formulate a model on the properties of an attack on unsupervised\nlearning, contributing to future research by providing a model to use.\n", "date": "2023-06-01", "categories": []} {"id": "2206.14772", "title": "IBP Regularization for Verified Adversarial Robustness via\n Branch-and-Bound", "abstract": " Recent works have tried to increase the verifiability of adversarially\ntrained networks by running the attacks over domains larger than the original\nperturbations and adding various regularization terms to the objective.\nHowever, these algorithms either underperform or require complex and expensive\nstage-wise training procedures, hindering their practical applicability. We\npresent IBP-R, a novel verified training algorithm that is both simple and\neffective. IBP-R induces network verifiability by coupling adversarial attacks\non enlarged domains with a regularization term, based on inexpensive interval\nbound propagation, that minimizes the gap between the non-convex verification\nproblem and its approximations. By leveraging recent branch-and-bound\nframeworks, we show that IBP-R obtains state-of-the-art verified\nrobustness-accuracy trade-offs for small perturbations on CIFAR-10 while\ntraining significantly faster than relevant previous work. Additionally, we\npresent UPB, a novel branching strategy that, relying on a simple heuristic\nbased on $\\beta$-CROWN, reduces the cost of state-of-the-art branching\nalgorithms while yielding splits of comparable quality.\n", "date": "2022-06-29", "categories": []} {"id": "2302.10896", "title": "IB-RAR: Information Bottleneck as Regularizer for Adversarial Robustness", "abstract": " In this paper, we propose a novel method, IB-RAR, which uses Information\nBottleneck (IB) to strengthen adversarial robustness for both adversarial\ntraining and non-adversarial-trained methods. We first use the IB theory to\nbuild regularizers as learning objectives in the loss function. Then, we filter\nout unnecessary features of intermediate representation according to their\nmutual information (MI) with labels, as the network trained with IB provides\neasily distinguishable MI for its features. Experimental results show that our\nmethod can be naturally combined with adversarial training and provides\nconsistently better accuracy on new adversarial examples. Our method improves\nthe accuracy by an average of 3.07% against five adversarial attacks for the\nVGG16 network, trained with three adversarial training benchmarks and the\nCIFAR-10 dataset. In addition, our method also provides good robustness for\nundefended methods, such as training with cross-entropy loss only. Finally, in\nthe absence of adversarial training, the VGG16 network trained using our method\nand the CIFAR-10 dataset reaches an accuracy of 35.86% against PGD examples,\nwhile using all layers reaches 25.61% accuracy.\n", "date": "2023-02-09", "categories": []} {"id": "2210.00062", "title": "Learning Robust Kernel Ensembles with Kernel Average Pooling", "abstract": " Model ensembles have long been used in machine learning to reduce the\nvariance in individual model predictions, making them more robust to input\nperturbations. Pseudo-ensemble methods like dropout have also been commonly\nused in deep learning models to improve generalization. However, the\napplication of these techniques to improve neural networks' robustness against\ninput perturbations remains underexplored. We introduce Kernel Average Pooling\n(KAP), a neural network building block that applies the mean filter along the\nkernel dimension of the layer activation tensor. We show that ensembles of\nkernels with similar functionality naturally emerge in convolutional neural\nnetworks equipped with KAP and trained with backpropagation. Moreover, we show\nthat when trained on inputs perturbed with additive Gaussian noise, KAP models\nare remarkably robust against various forms of adversarial attacks. Empirical\nevaluations on CIFAR10, CIFAR100, TinyImagenet, and Imagenet datasets show\nsubstantial improvements in robustness against strong adversarial attacks such\nas AutoAttack without training on any adversarial examples.\n", "date": "2022-09-30", "categories": []} {"id": "2305.18503", "title": "From Adversarial Arms Race to Model-centric Evaluation: Motivating a\n Unified Automatic Robustness Evaluation Framework", "abstract": " Textual adversarial attacks can discover models' weaknesses by adding\nsemantic-preserved but misleading perturbations to the inputs. The long-lasting\nadversarial attack-and-defense arms race in Natural Language Processing (NLP)\nis algorithm-centric, providing valuable techniques for automatic robustness\nevaluation. However, the existing practice of robustness evaluation may exhibit\nissues of incomprehensive evaluation, impractical evaluation protocol, and\ninvalid adversarial samples. In this paper, we aim to set up a unified\nautomatic robustness evaluation framework, shifting towards model-centric\nevaluation to further exploit the advantages of adversarial attacks. To address\nthe above challenges, we first determine robustness evaluation dimensions based\non model capabilities and specify the reasonable algorithm to generate\nadversarial samples for each dimension. Then we establish the evaluation\nprotocol, including evaluation settings and metrics, under realistic demands.\nFinally, we use the perturbation degree of adversarial samples to control the\nsample validity. We implement a toolkit RobTest that realizes our automatic\nrobustness evaluation framework. In our experiments, we conduct a robustness\nevaluation of RoBERTa models to demonstrate the effectiveness of our evaluation\nframework, and further show the rationality of each component in the framework.\nThe code will be made public at \\url{https://github.com/thunlp/RobTest}.\n", "date": "2023-05-29", "categories": []} {"id": "2305.18585", "title": "Exploiting Explainability to Design Adversarial Attacks and Evaluate\n Attack Resilience in Hate-Speech Detection Models", "abstract": " The advent of social media has given rise to numerous ethical challenges,\nwith hate speech among the most significant concerns. Researchers are\nattempting to tackle this problem by leveraging hate-speech detection and\nemploying language models to automatically moderate content and promote civil\ndiscourse. Unfortunately, recent studies have revealed that hate-speech\ndetection systems can be misled by adversarial attacks, raising concerns about\ntheir resilience. While previous research has separately addressed the\nrobustness of these models under adversarial attacks and their\ninterpretability, there has been no comprehensive study exploring their\nintersection. The novelty of our work lies in combining these two critical\naspects, leveraging interpretability to identify potential vulnerabilities and\nenabling the design of targeted adversarial attacks. We present a comprehensive\nand comparative analysis of adversarial robustness exhibited by various\nhate-speech detection models. Our study evaluates the resilience of these\nmodels against adversarial attacks using explainability techniques. To gain\ninsights into the models' decision-making processes, we employ the Local\nInterpretable Model-agnostic Explanations (LIME) framework. Based on the\nexplainability results obtained by LIME, we devise and execute targeted attacks\non the text by leveraging the TextAttack tool. Our findings enhance the\nunderstanding of the vulnerabilities and strengths exhibited by\nstate-of-the-art hate-speech detection models. This work underscores the\nimportance of incorporating explainability in the development and evaluation of\nsuch models to enhance their resilience against adversarial attacks.\nUltimately, this work paves the way for creating more robust and reliable\nhate-speech detection systems, fostering safer online environments and\npromoting ethical discourse on social media platforms.\n", "date": "2023-05-29", "categories": []} {"id": "2305.19218", "title": "Adversarial Attacks on Online Learning to Rank with Stochastic Click\n Models", "abstract": " We propose the first study of adversarial attacks on online learning to rank.\nThe goal of the adversary is to misguide the online learning to rank algorithm\nto place the target item on top of the ranking list linear times to time\nhorizon $T$ with a sublinear attack cost. We propose generalized list poisoning\nattacks that perturb the ranking list presented to the user. This strategy can\nefficiently attack any no-regret ranker in general stochastic click models.\nFurthermore, we propose a click poisoning-based strategy named attack-then-quit\nthat can efficiently attack two representative OLTR algorithms for stochastic\nclick models. We theoretically analyze the success and cost upper bound of the\ntwo proposed methods. Experimental results based on synthetic and real-world\ndata further validate the effectiveness and cost-efficiency of the proposed\nattack strategies.\n", "date": "2023-05-30", "categories": []} {"id": "2211.15762", "title": "Understanding the Impact of Adversarial Robustness on Accuracy Disparity", "abstract": " While it has long been empirically observed that adversarial robustness may\nbe at odds with standard accuracy and may have further disparate impacts on\ndifferent classes, it remains an open question to what extent such observations\nhold and how the class imbalance plays a role within. In this paper, we attempt\nto understand this question of accuracy disparity by taking a closer look at\nlinear classifiers under a Gaussian mixture model. We decompose the impact of\nadversarial robustness into two parts: an inherent effect that will degrade the\nstandard accuracy on all classes due to the robustness constraint, and the\nother caused by the class imbalance ratio, which will increase the accuracy\ndisparity compared to standard training. Furthermore, we also show that such\neffects extend beyond the Gaussian mixture model, by generalizing our data\nmodel to the general family of stable distributions. More specifically, we\ndemonstrate that while the constraint of adversarial robustness consistently\ndegrades the standard accuracy in the balanced class setting, the class\nimbalance ratio plays a fundamentally different role in accuracy disparity\ncompared to the Gaussian case, due to the heavy tail of the stable\ndistribution. We additionally perform experiments on both synthetic and\nreal-world datasets to corroborate our theoretical findings. Our empirical\nresults also suggest that the implications may extend to nonlinear models over\nreal-world datasets. Our code is publicly available on GitHub at\nhttps://github.com/Accuracy-Disparity/AT-on-AD.\n", "date": "2022-11-28", "categories": []} {"id": "2301.11374", "title": "Certifiably Robust Reinforcement Learning through Model-Based Abstract\n Interpretation", "abstract": " We present a reinforcement learning (RL) framework in which the learned\npolicy comes with a machine-checkable certificate of provable adversarial\nrobustness. Our approach, called CAROL, learns a model of the environment. In\neach learning iteration, it uses the current version of this model and an\nexternal abstract interpreter to construct a differentiable signal for provable\nrobustness. This signal is used to guide learning, and the abstract\ninterpretation used to construct it directly leads to the robustness\ncertificate returned at convergence. We give a theoretical analysis that bounds\nthe worst-case accumulative reward of CAROL. We also experimentally evaluate\nCAROL on four MuJoCo environments with continuous state and action spaces. On\nthese tasks, CAROL learns policies that, when contrasted with policies from the\nstate-of-the-art robust RL algorithms, exhibit: (i) markedly enhanced certified\nperformance lower bounds; and (ii) comparable performance under empirical\nadversarial attacks.\n", "date": "2023-01-26", "categories": []} {"id": "2302.01375", "title": "On the Robustness of Randomized Ensembles to Adversarial Perturbations", "abstract": " Randomized ensemble classifiers (RECs), where one classifier is randomly\nselected during inference, have emerged as an attractive alternative to\ntraditional ensembling methods for realizing adversarially robust classifiers\nwith limited compute requirements. However, recent works have shown that\nexisting methods for constructing RECs are more vulnerable than initially\nclaimed, casting major doubts on their efficacy and prompting fundamental\nquestions such as: \"When are RECs useful?\", \"What are their limits?\", and \"How\ndo we train them?\". In this work, we first demystify RECs as we derive\nfundamental results regarding their theoretical limits, necessary and\nsufficient conditions for them to be useful, and more. Leveraging this new\nunderstanding, we propose a new boosting algorithm (BARRE) for training robust\nRECs, and empirically demonstrate its effectiveness at defending against strong\n$\\ell_\\infty$ norm-bounded adversaries across various network architectures and\ndatasets. Our code can be found at https://github.com/hsndbk4/BARRE.\n", "date": "2023-02-02", "categories": []} {"id": "2302.01629", "title": "Beyond the Universal Law of Robustness: Sharper Laws for Random Features\n and Neural Tangent Kernels", "abstract": " Machine learning models are vulnerable to adversarial perturbations, and a\nthought-provoking paper by Bubeck and Sellke has analyzed this phenomenon\nthrough the lens of over-parameterization: interpolating smoothly the data\nrequires significantly more parameters than simply memorizing it. However, this\n\"universal\" law provides only a necessary condition for robustness, and it is\nunable to discriminate between models. In this paper, we address these gaps by\nfocusing on empirical risk minimization in two prototypical settings, namely,\nrandom features and the neural tangent kernel (NTK). We prove that, for random\nfeatures, the model is not robust for any degree of over-parameterization, even\nwhen the necessary condition coming from the universal law of robustness is\nsatisfied. In contrast, for even activations, the NTK model meets the universal\nlower bound, and it is robust as soon as the necessary condition on\nover-parameterization is fulfilled. This also addresses a conjecture in prior\nwork by Bubeck, Li and Nagaraj. Our analysis decouples the effect of the kernel\nof the model from an \"interaction matrix\", which describes the interaction with\nthe test data and captures the effect of the activation. Our theoretical\nresults are corroborated by numerical evidence on both synthetic and standard\ndatasets (MNIST, CIFAR-10).\n", "date": "2023-02-03", "categories": []} {"id": "2302.04237", "title": "Black Box Adversarial Prompting for Foundation Models", "abstract": " Prompting interfaces allow users to quickly adjust the output of generative\nmodels in both vision and language. However, small changes and design choices\nin the prompt can lead to significant differences in the output. In this work,\nwe develop a black-box framework for generating adversarial prompts for\nunstructured image and text generation. These prompts, which can be standalone\nor prepended to benign prompts, induce specific behaviors into the generative\nprocess, such as generating images of a particular object or generating high\nperplexity text.\n", "date": "2023-02-08", "categories": []} {"id": "2305.00075", "title": "On the existence of solutions to adversarial training in multiclass\n classification", "abstract": " We study three models of the problem of adversarial training in multiclass\nclassification designed to construct robust classifiers against adversarial\nperturbations of data in the agnostic-classifier setting. We prove the\nexistence of Borel measurable robust classifiers in each model and provide a\nunified perspective of the adversarial training problem, expanding the\nconnections with optimal transport initiated by the authors in previous work\nand developing new connections between adversarial training in the multiclass\nsetting and total variation regularization. As a corollary of our results, we\nprove the existence of Borel measurable solutions to the agnostic adversarial\ntraining problem in the binary classification setting, a result that improves\nresults in the literature of adversarial training, where robust classifiers\nwere only known to exist within the enlarged universal $\\sigma$-algebra of the\nfeature space.\n", "date": "2023-04-28", "categories": []} {"id": "2305.17440", "title": "Modeling Adversarial Attack on Pre-trained Language Models as Sequential\n Decision Making", "abstract": " Pre-trained language models (PLMs) have been widely used to underpin various\ndownstream tasks. However, the adversarial attack task has found that PLMs are\nvulnerable to small perturbations. Mainstream methods adopt a detached\ntwo-stage framework to attack without considering the subsequent influence of\nsubstitution at each step. In this paper, we formally model the adversarial\nattack task on PLMs as a sequential decision-making problem, where the whole\nattack process is sequential with two decision-making problems, i.e., word\nfinder and word substitution. Considering the attack process can only receive\nthe final state without any direct intermediate signals, we propose to use\nreinforcement learning to find an appropriate sequential attack path to\ngenerate adversaries, named SDM-Attack. Extensive experimental results show\nthat SDM-Attack achieves the highest attack success rate with a comparable\nmodification rate and semantic similarity to attack fine-tuned BERT.\nFurthermore, our analyses demonstrate the generalization and transferability of\nSDM-Attack. The code is available at https://github.com/fduxuan/SDM-Attack.\n", "date": "2023-05-27", "categories": []} {"id": "2305.17688", "title": "Amplification trojan network: Attack deep neural networks by amplifying\n their inherent weakness", "abstract": " Recent works found that deep neural networks (DNNs) can be fooled by\nadversarial examples, which are crafted by adding adversarial noise on clean\ninputs. The accuracy of DNNs on adversarial examples will decrease as the\nmagnitude of the adversarial noise increase. In this study, we show that DNNs\ncan be also fooled when the noise is very small under certain circumstances.\nThis new type of attack is called Amplification Trojan Attack (ATAttack).\nSpecifically, we use a trojan network to transform the inputs before sending\nthem to the target DNN. This trojan network serves as an amplifier to amplify\nthe inherent weakness of the target DNN. The target DNN, which is infected by\nthe trojan network, performs normally on clean data while being more vulnerable\nto adversarial examples. Since it only transforms the inputs, the trojan\nnetwork can hide in DNN-based pipelines, e.g. by infecting the pre-processing\nprocedure of the inputs before sending them to the DNNs. This new type of\nthreat should be considered in developing safe DNNs.\n", "date": "2023-05-28", "categories": []} {"id": "2305.16444", "title": "Don't Retrain, Just Rewrite: Countering Adversarial Perturbations by\n Rewriting Text", "abstract": " Can language models transform inputs to protect text classifiers against\nadversarial attacks? In this work, we present ATINTER, a model that intercepts\nand learns to rewrite adversarial inputs to make them non-adversarial for a\ndownstream text classifier. Our experiments on four datasets and five attack\nmechanisms reveal that ATINTER is effective at providing better adversarial\nrobustness than existing defense approaches, without compromising task\naccuracy. For example, on sentiment classification using the SST-2 dataset, our\nmethod improves the adversarial accuracy over the best existing defense\napproach by more than 4% with a smaller decrease in task accuracy (0.5% vs\n2.5%). Moreover, we show that ATINTER generalizes across multiple downstream\ntasks and classifiers without having to explicitly retrain it for those\nsettings. Specifically, we find that when ATINTER is trained to remove\nadversarial perturbations for the sentiment classification task on the SST-2\ndataset, it even transfers to a semantically different task of news\nclassification (on AGNews) and improves the adversarial robustness by more than\n10%.\n", "date": "2023-05-25", "categories": []} {"id": "2305.17071", "title": "Adversarial Attacks on Online Learning to Rank with Click Feedback", "abstract": " Online learning to rank (OLTR) is a sequential decision-making problem where\na learning agent selects an ordered list of items and receives feedback through\nuser clicks. Although potential attacks against OLTR algorithms may cause\nserious losses in real-world applications, little is known about adversarial\nattacks on OLTR. This paper studies attack strategies against multiple variants\nof OLTR. Our first result provides an attack strategy against the UCB algorithm\non classical stochastic bandits with binary feedback, which solves the key\nissues caused by bounded and discrete feedback that previous works can not\nhandle. Building on this result, we design attack algorithms against UCB-based\nOLTR algorithms in position-based and cascade models. Finally, we propose a\ngeneral attack strategy against any algorithm under the general click model.\nEach attack algorithm manipulates the learning agent into choosing the target\nattack item $T-o(T)$ times, incurring a cumulative cost of $o(T)$. Experiments\non synthetic and real data further validate the effectiveness of our proposed\nattack algorithms.\n", "date": "2023-05-26", "categories": []} {"id": "2211.05656", "title": "On Proper Learnability between Average- and Worst-case Robustness", "abstract": " Recently, Montasser et al. [2019] showed that finite VC dimension is not\nsufficient for proper adversarially robust PAC learning. In light of this\nhardness, there is a growing effort to study what type of relaxations to the\nadversarially robust PAC learning setup can enable proper learnability. In this\nwork, we initiate the study of proper learning under relaxations of the\nworst-case robust loss. We give a family of robust loss relaxations under which\nVC classes are properly PAC learnable with sample complexity close to what one\nwould require in the standard PAC learning setup. On the other hand, we show\nthat for an existing and natural relaxation of the worst-case robust loss,\nfinite VC dimension is not sufficient for proper learning. Lastly, we give new\ngeneralization guarantees for the adversarially robust empirical risk\nminimizer.\n", "date": "2022-11-10", "categories": []} {"id": "2302.02907", "title": "GAT: Guided Adversarial Training with Pareto-optimal Auxiliary Tasks", "abstract": " While leveraging additional training data is well established to improve\nadversarial robustness, it incurs the unavoidable cost of data collection and\nthe heavy computation to train models. To mitigate the costs, we propose Guided\nAdversarial Training (GAT), a novel adversarial training technique that\nexploits auxiliary tasks under a limited set of training data. Our approach\nextends single-task models into multi-task models during the min-max\noptimization of adversarial training, and drives the loss optimization with a\nregularization of the gradient curvature across multiple tasks. GAT leverages\ntwo types of auxiliary tasks: self-supervised tasks, where the labels are\ngenerated automatically, and domain-knowledge tasks, where human experts\nprovide additional labels. Experimentally, GAT increases the robust AUC of\nCheXpert medical imaging dataset from 50% to 83% and On CIFAR-10, GAT\noutperforms eight state-of-the-art adversarial training and achieves 56.21%\nrobust accuracy with Resnet-50. Overall, we demonstrate that guided multi-task\nlearning is an actionable and promising avenue to push further the boundaries\nof model robustness.\n", "date": "2023-02-06", "categories": []} {"id": "2305.14700", "title": "AdvFunMatch: When Consistent Teaching Meets Adversarial Robustness", "abstract": " \\emph{Consistent teaching} is an effective paradigm for implementing\nknowledge distillation (KD), where both student and teacher models receive\nidentical inputs, and KD is treated as a function matching task (FunMatch).\nHowever, one limitation of FunMatch is that it does not account for the\ntransfer of adversarial robustness, a model's resistance to adversarial\nattacks. To tackle this problem, we propose a simple but effective strategy\ncalled Adversarial Function Matching (AdvFunMatch), which aims to match\ndistributions for all data points within the $\\ell_p$-norm ball of the training\ndata, in accordance with consistent teaching. Formulated as a min-max\noptimization problem, AdvFunMatch identifies the worst-case instances that\nmaximizes the KL-divergence between teacher and student model outputs, which we\nrefer to as \"mismatched examples,\" and then matches the outputs on these\nmismatched examples. Our experimental results show that AdvFunMatch effectively\nproduces student models with both high clean accuracy and robustness.\nFurthermore, we reveal that strong data augmentations (\\emph{e.g.},\nAutoAugment) are beneficial in AdvFunMatch, whereas prior works have found them\nless effective in adversarial training. Code is available at\n\\url{https://gitee.com/zihui998/adv-fun-match}.\n", "date": "2023-05-24", "categories": []} {"id": "2305.15544", "title": "Fast Adversarial CNN-based Perturbation Attack on No-Reference Image-\n and Video-Quality Metrics", "abstract": " Modern neural-network-based no-reference image- and video-quality metrics\nexhibit performance as high as full-reference metrics. These metrics are widely\nused to improve visual quality in computer vision methods and compare video\nprocessing methods. However, these metrics are not stable to traditional\nadversarial attacks, which can cause incorrect results. Our goal is to\ninvestigate the boundaries of no-reference metrics applicability, and in this\npaper, we propose a fast adversarial perturbation attack on no-reference\nquality metrics. The proposed attack (FACPA) can be exploited as a\npreprocessing step in real-time video processing and compression algorithms.\nThis research can yield insights to further aid in designing of stable\nneural-network-based no-reference quality metrics.\n", "date": "2023-05-24", "categories": []} {"id": "2305.15587", "title": "How do humans perceive adversarial text? A reality check on the validity\n and naturalness of word-based adversarial attacks", "abstract": " Natural Language Processing (NLP) models based on Machine Learning (ML) are\nsusceptible to adversarial attacks -- malicious algorithms that imperceptibly\nmodify input text to force models into making incorrect predictions. However,\nevaluations of these attacks ignore the property of imperceptibility or study\nit under limited settings. This entails that adversarial perturbations would\nnot pass any human quality gate and do not represent real threats to\nhuman-checked NLP systems. To bypass this limitation and enable proper\nassessment (and later, improvement) of NLP model robustness, we have surveyed\n378 human participants about the perceptibility of text adversarial examples\nproduced by state-of-the-art methods. Our results underline that existing text\nattacks are impractical in real-world scenarios where humans are involved. This\ncontrasts with previous smaller-scale human studies, which reported overly\noptimistic conclusions regarding attack success. Through our work, we hope to\nposition human perceptibility as a first-class success criterion for text\nattacks, and provide guidance for research to build effective attack algorithms\nand, in turn, design appropriate defence mechanisms.\n", "date": "2023-05-24", "categories": []} {"id": "2305.15709", "title": "PEARL: Preprocessing Enhanced Adversarial Robust Learning of Image\n Deraining for Semantic Segmentation", "abstract": " In light of the significant progress made in the development and application\nof semantic segmentation tasks, there has been increasing attention towards\nimproving the robustness of segmentation models against natural degradation\nfactors (e.g., rain streaks) or artificially attack factors (e.g., adversarial\nattack). Whereas, most existing methods are designed to address a single\ndegradation factor and are tailored to specific application scenarios. In this\nwork, we present the first attempt to improve the robustness of semantic\nsegmentation tasks by simultaneously handling different types of degradation\nfactors. Specifically, we introduce the Preprocessing Enhanced Adversarial\nRobust Learning (PEARL) framework based on the analysis of our proposed Naive\nAdversarial Training (NAT) framework. Our approach effectively handles both\nrain streaks and adversarial perturbation by transferring the robustness of the\nsegmentation model to the image derain model. Furthermore, as opposed to the\ncommonly used Negative Adversarial Attack (NAA), we design the Auxiliary Mirror\nAttack (AMA) to introduce positive information prior to the training of the\nPEARL framework, which improves defense capability and segmentation\nperformance. Our extensive experiments and ablation studies based on different\nderain methods and segmentation models have demonstrated the significant\nperformance improvement of PEARL with AMA in defense against various\nadversarial attacks and rain streaks while maintaining high generalization\nperformance across different datasets.\n", "date": "2023-05-25", "categories": []} {"id": "2305.16035", "title": "Detecting Adversarial Data by Probing Multiple Perturbations Using\n Expected Perturbation Score", "abstract": " Adversarial detection aims to determine whether a given sample is an\nadversarial one based on the discrepancy between natural and adversarial\ndistributions. Unfortunately, estimating or comparing two data distributions is\nextremely difficult, especially in high-dimension spaces. Recently, the\ngradient of log probability density (a.k.a., score) w.r.t. the sample is used\nas an alternative statistic to compute. However, we find that the score is\nsensitive in identifying adversarial samples due to insufficient information\nwith one sample only. In this paper, we propose a new statistic called expected\nperturbation score (EPS), which is essentially the expected score of a sample\nafter various perturbations. Specifically, to obtain adequate information\nregarding one sample, we perturb it by adding various noises to capture its\nmulti-view observations. We theoretically prove that EPS is a proper statistic\nto compute the discrepancy between two samples under mild conditions. In\npractice, we can use a pre-trained diffusion model to estimate EPS for each\nsample. Last, we propose an EPS-based adversarial detection (EPS-AD) method, in\nwhich we develop EPS-based maximum mean discrepancy (MMD) as a metric to\nmeasure the discrepancy between the test sample and natural samples. We also\nprove that the EPS-based MMD between natural and adversarial samples is larger\nthan that among natural samples. Extensive experiments show the superior\nadversarial detection performance of our EPS-AD.\n", "date": "2023-05-25", "categories": []} {"id": "2305.16220", "title": "On the Robustness of Segment Anything", "abstract": " Segment anything model (SAM) has presented impressive objectness\nidentification capability with the idea of prompt learning and a new collected\nlarge-scale dataset. Given a prompt (e.g., points, bounding boxes, or masks)\nand an input image, SAM is able to generate valid segment masks for all objects\nindicated by the prompts, presenting high generalization across diverse\nscenarios and being a general method for zero-shot transfer to downstream\nvision tasks. Nevertheless, it remains unclear whether SAM may introduce errors\nin certain threatening scenarios. Clarifying this is of significant importance\nfor applications that require robustness, such as autonomous vehicles. In this\npaper, we aim to study the testing-time robustness of SAM under adversarial\nscenarios and common corruptions. To this end, we first build a testing-time\nrobustness evaluation benchmark for SAM by integrating existing public\ndatasets. Second, we extend representative adversarial attacks against SAM and\nstudy the influence of different prompts on robustness. Third, we study the\nrobustness of SAM under diverse corruption types by evaluating SAM on corrupted\ndatasets with different prompts. With experiments conducted on SA-1B and KITTI\ndatasets, we find that SAM exhibits remarkable robustness against various\ncorruptions, except for blur-related corruption. Furthermore, SAM remains\nsusceptible to adversarial attacks, particularly when subjected to PGD and BIM\nattacks. We think such a comprehensive study could highlight the importance of\nthe robustness issues of SAM and trigger a series of new tasks for SAM as well\nas downstream vision tasks.\n", "date": "2023-05-25", "categories": []} {"id": "2305.14846", "title": "Introducing Competition to Boost the Transferability of Targeted\n Adversarial Examples through Clean Feature Mixup", "abstract": " Deep neural networks are widely known to be susceptible to adversarial\nexamples, which can cause incorrect predictions through subtle input\nmodifications. These adversarial examples tend to be transferable between\nmodels, but targeted attacks still have lower attack success rates due to\nsignificant variations in decision boundaries. To enhance the transferability\nof targeted adversarial examples, we propose introducing competition into the\noptimization process. Our idea is to craft adversarial perturbations in the\npresence of two new types of competitor noises: adversarial perturbations\ntowards different target classes and friendly perturbations towards the correct\nclass. With these competitors, even if an adversarial example deceives a\nnetwork to extract specific features leading to the target class, this\ndisturbance can be suppressed by other competitors. Therefore, within this\ncompetition, adversarial examples should take different attack strategies by\nleveraging more diverse features to overwhelm their interference, leading to\nimproving their transferability to different models. Considering the\ncomputational complexity, we efficiently simulate various interference from\nthese two types of competitors in feature space by randomly mixing up stored\nclean features in the model inference and named this method Clean Feature Mixup\n(CFM). Our extensive experimental results on the ImageNet-Compatible and\nCIFAR-10 datasets show that the proposed method outperforms the existing\nbaselines with a clear margin. Our code is available at\nhttps://github.com/dreamflake/CFM.\n", "date": "2023-05-24", "categories": []} {"id": "2305.14984", "title": "Adversarial robustness of amortized Bayesian inference", "abstract": " Bayesian inference usually requires running potentially costly inference\nprocedures separately for every new observation. In contrast, the idea of\namortized Bayesian inference is to initially invest computational cost in\ntraining an inference network on simulated data, which can subsequently be used\nto rapidly perform inference (i.e., to return estimates of posterior\ndistributions) for new observations. This approach has been applied to many\nreal-world models in the sciences and engineering, but it is unclear how robust\nthe approach is to adversarial perturbations in the observed data. Here, we\nstudy the adversarial robustness of amortized Bayesian inference, focusing on\nsimulation-based estimation of multi-dimensional posterior distributions. We\nshow that almost unrecognizable, targeted perturbations of the observations can\nlead to drastic changes in the predicted posterior and highly unrealistic\nposterior predictive samples, across several benchmark tasks and a real-world\nexample from neuroscience. We propose a computationally efficient\nregularization scheme based on penalizing the Fisher information of the\nconditional density estimator, and show how it improves the adversarial\nrobustness of amortized Bayesian inference.\n", "date": "2023-05-24", "categories": []} {"id": "2206.01034", "title": "Adversarial Laser Spot: Robust and Covert Physical-World Attack to DNNs", "abstract": " Most existing deep neural networks (DNNs) are easily disturbed by slight\nnoise. However, there are few researches on physical attacks by deploying\nlighting equipment. The light-based physical attacks has excellent covertness,\nwhich brings great security risks to many vision-based applications (such as\nself-driving). Therefore, we propose a light-based physical attack, called\nadversarial laser spot (AdvLS), which optimizes the physical parameters of\nlaser spots through genetic algorithm to perform physical attacks. It realizes\nrobust and covert physical attack by using low-cost laser equipment. As far as\nwe know, AdvLS is the first light-based physical attack that perform physical\nattacks in the daytime. A large number of experiments in the digital and\nphysical environments show that AdvLS has excellent robustness and covertness.\nIn addition, through in-depth analysis of the experimental data, we find that\nthe adversarial perturbations generated by AdvLS have superior adversarial\nattack migration. The experimental results show that AdvLS impose serious\ninterference to advanced DNNs, we call for the attention of the proposed AdvLS.\nThe code of AdvLS is available at: https://github.com/ChengYinHu/AdvLS\n", "date": "2022-06-02", "categories": []} {"id": "2206.12251", "title": "Adversarial Zoom Lens: A Novel Physical-World Attack to DNNs", "abstract": " Although deep neural networks (DNNs) are known to be fragile, no one has\nstudied the effects of zooming-in and zooming-out of images in the physical\nworld on DNNs performance. In this paper, we demonstrate a novel physical\nadversarial attack technique called Adversarial Zoom Lens (AdvZL), which uses a\nzoom lens to zoom in and out of pictures of the physical world, fooling DNNs\nwithout changing the characteristics of the target object. The proposed method\nis so far the only adversarial attack technique that does not add physical\nadversarial perturbation attack DNNs. In a digital environment, we construct a\ndata set based on AdvZL to verify the antagonism of equal-scale enlarged images\nto DNNs. In the physical environment, we manipulate the zoom lens to zoom in\nand out of the target object, and generate adversarial samples. The\nexperimental results demonstrate the effectiveness of AdvZL in both digital and\nphysical environments. We further analyze the antagonism of the proposed data\nset to the improved DNNs. On the other hand, we provide a guideline for defense\nagainst AdvZL by means of adversarial training. Finally, we look into the\nthreat possibilities of the proposed approach to future autonomous driving and\nvariant attack ideas similar to the proposed attack.\n", "date": "2022-06-23", "categories": []} {"id": "2206.14477", "title": "Adversarial Ensemble Training by Jointly Learning Label Dependencies and\n Member Models", "abstract": " Training an ensemble of diverse sub-models has been empirically demonstrated\nas an effective strategy for improving the adversarial robustness of deep\nneural networks. However, current ensemble training methods for image\nrecognition typically encode image labels using one-hot vectors, which overlook\ndependency relationships between the labels. In this paper, we propose a novel\nadversarial en-semble training approach that jointly learns the label\ndependencies and member models. Our approach adaptively exploits the learned\nlabel dependencies to pro-mote diversity among the member models. We evaluate\nour approach on widely used datasets including MNIST, FashionMNIST, and\nCIFAR-10, and show that it achieves superior robustness against black-box\nattacks compared to state-of-the-art methods. Our code is available at\nhttps://github.com/ZJLAB-AMMI/LSD.\n", "date": "2022-06-29", "categories": []} {"id": "2209.02132", "title": "Impact of Scaled Image on Robustness of Deep Neural Networks", "abstract": " Deep neural networks (DNNs) have been widely used in computer vision tasks\nlike image classification, object detection and segmentation. Whereas recent\nstudies have shown their vulnerability to manual digital perturbations or\ndistortion in the input images. The accuracy of the networks is remarkably\ninfluenced by the data distribution of their training dataset. Scaling the raw\nimages creates out-of-distribution data, which makes it a possible adversarial\nattack to fool the networks. In this work, we propose a Scaling-distortion\ndataset ImageNet-CS by Scaling a subset of the ImageNet Challenge dataset by\ndifferent multiples. The aim of our work is to study the impact of scaled\nimages on the performance of advanced DNNs. We perform experiments on several\nstate-of-the-art deep neural network architectures on the proposed ImageNet-CS,\nand the results show a significant positive correlation between scaling size\nand accuracy decline. Moreover, based on ResNet50 architecture, we demonstrate\nsome tests on the performance of recent proposed robust training techniques and\nstrategies like Augmix, Revisiting and Normalizer Free on our proposed\nImageNet-CS. Experiment results have shown that these robust training\ntechniques can improve networks' robustness to scaling transformation.\n", "date": "2022-09-02", "categories": []} {"id": "2209.02430", "title": "Adversarial Color Film: Effective Physical-World Attack to DNNs", "abstract": " It is well known that the performance of deep neural networks (DNNs) is\nsusceptible to subtle interference. So far, camera-based physical adversarial\nattacks haven't gotten much attention, but it is the vacancy of physical\nattack. In this paper, we propose a simple and efficient camera-based physical\nattack called Adversarial Color Film (AdvCF), which manipulates the physical\nparameters of color film to perform attacks. Carefully designed experiments\nshow the effectiveness of the proposed method in both digital and physical\nenvironments. In addition, experimental results show that the adversarial\nsamples generated by AdvCF have excellent performance in attack\ntransferability, which enables AdvCF effective black-box attacks. At the same\ntime, we give the guidance of defense against AdvCF by means of adversarial\ntraining. Finally, we look into AdvCF's threat to future vision-based systems\nand propose some promising mentality for camera-based physical attacks.\n", "date": "2022-09-02", "categories": []} {"id": "2209.02832", "title": "Impact of Colour Variation on Robustness of Deep Neural Networks", "abstract": " Deep neural networks (DNNs) have have shown state-of-the-art performance for\ncomputer vision applications like image classification, segmentation and object\ndetection. Whereas recent advances have shown their vulnerability to manual\ndigital perturbations in the input data, namely adversarial attacks. The\naccuracy of the networks is significantly affected by the data distribution of\ntheir training dataset. Distortions or perturbations on color space of input\nimages generates out-of-distribution data, which make networks more likely to\nmisclassify them. In this work, we propose a color-variation dataset by\ndistorting their RGB color on a subset of the ImageNet with 27 different\ncombinations. The aim of our work is to study the impact of color variation on\nthe performance of DNNs. We perform experiments on several state-of-the-art DNN\narchitectures on the proposed dataset, and the result shows a significant\ncorrelation between color variation and loss of accuracy. Furthermore, based on\nthe ResNet50 architecture, we demonstrate some experiments of the performance\nof recently proposed robust training techniques and strategies, such as Augmix,\nrevisit, and free normalizer, on our proposed dataset. Experimental results\nindicate that these robust training techniques can improve the robustness of\ndeep networks to color variation.\n", "date": "2022-09-02", "categories": []} {"id": "2209.09652", "title": "Adversarial Color Projection: A Projector-based Physical Attack to DNNs", "abstract": " Recent research has demonstrated that deep neural networks (DNNs) are\nvulnerable to adversarial perturbations. Therefore, it is imperative to\nevaluate the resilience of advanced DNNs to adversarial attacks. However,\ntraditional methods that use stickers as physical perturbations to deceive\nclassifiers face challenges in achieving stealthiness and are susceptible to\nprinting loss. Recently, advancements in physical attacks have utilized light\nbeams, such as lasers, to perform attacks, where the optical patterns generated\nare artificial rather than natural. In this work, we propose a black-box\nprojector-based physical attack, referred to as adversarial color projection\n(AdvCP), which manipulates the physical parameters of color projection to\nperform an adversarial attack. We evaluate our approach on three crucial\ncriteria: effectiveness, stealthiness, and robustness. In the digital\nenvironment, we achieve an attack success rate of 97.60% on a subset of\nImageNet, while in the physical environment, we attain an attack success rate\nof 100% in the indoor test and 82.14% in the outdoor test. The adversarial\nsamples generated by AdvCP are compared with baseline samples to demonstrate\nthe stealthiness of our approach. When attacking advanced DNNs, experimental\nresults show that our method can achieve more than 85% attack success rate in\nall cases, which verifies the robustness of AdvCP. Finally, we consider the\npotential threats posed by AdvCP to future vision-based systems and\napplications and suggest some ideas for light-based physical attacks.\n", "date": "2022-09-19", "categories": []} {"id": "2209.11739", "title": "Adversarial Catoptric Light: An Effective, Stealthy and Robust\n Physical-World Attack to DNNs", "abstract": " Deep neural networks (DNNs) have demonstrated exceptional success across\nvarious tasks, underscoring the need to evaluate the robustness of advanced\nDNNs. However, traditional methods using stickers as physical perturbations to\ndeceive classifiers present challenges in achieving stealthiness and suffer\nfrom printing loss. Recent advancements in physical attacks have utilized light\nbeams such as lasers and projectors to perform attacks, where the optical\npatterns generated are artificial rather than natural. In this study, we\nintroduce a novel physical attack, adversarial catoptric light (AdvCL), where\nadversarial perturbations are generated using a common natural phenomenon,\ncatoptric light, to achieve stealthy and naturalistic adversarial attacks\nagainst advanced DNNs in a black-box setting. We evaluate the proposed method\nin three aspects: effectiveness, stealthiness, and robustness. Quantitative\nresults obtained in simulated environments demonstrate the effectiveness of the\nproposed method, and in physical scenarios, we achieve an attack success rate\nof 83.5%, surpassing the baseline. We use common catoptric light as a\nperturbation to enhance the stealthiness of the method and make physical\nsamples appear more natural. Robustness is validated by successfully attacking\nadvanced and robust DNNs with a success rate over 80% in all cases.\nAdditionally, we discuss defense strategy against AdvCL and put forward some\nlight-based physical attacks.\n", "date": "2022-09-19", "categories": []} {"id": "2305.13678", "title": "Enhancing Accuracy and Robustness through Adversarial Training in Class\n Incremental Continual Learning", "abstract": " In real life, adversarial attack to deep learning models is a fatal security\nissue. However, the issue has been rarely discussed in a widely used\nclass-incremental continual learning (CICL). In this paper, we address problems\nof applying adversarial training to CICL, which is well-known defense method\nagainst adversarial attack. A well-known problem of CICL is class-imbalance\nthat biases a model to the current task by a few samples of previous tasks.\nMeeting with the adversarial training, the imbalance causes another imbalance\nof attack trials over tasks. Lacking clean data of a minority class by the\nclass-imbalance and increasing of attack trials from a majority class by the\nsecondary imbalance, adversarial training distorts optimal decision boundaries.\nThe distortion eventually decreases both accuracy and robustness than\nadversarial training. To exclude the effects, we propose a straightforward but\nsignificantly effective method, External Adversarial Training (EAT) which can\nbe applied to methods using experience replay. This method conduct adversarial\ntraining to an auxiliary external model for the current task data at each time\nstep, and applies generated adversarial examples to train the target model. We\nverify the effects on a toy problem and show significance on CICL benchmarks of\nimage classification. We expect that the results will be used as the first\nbaseline for robustness research of CICL.\n", "date": "2023-05-23", "categories": []} {"id": "2305.14188", "title": "The Best Defense is a Good Offense: Adversarial Augmentation against\n Adversarial Attacks", "abstract": " Many defenses against adversarial attacks (\\eg robust classifiers,\nrandomization, or image purification) use countermeasures put to work only\nafter the attack has been crafted. We adopt a different perspective to\nintroduce $A^5$ (Adversarial Augmentation Against Adversarial Attacks), a novel\nframework including the first certified preemptive defense against adversarial\nattacks. The main idea is to craft a defensive perturbation to guarantee that\nany attack (up to a given magnitude) towards the input in hand will fail. To\nthis aim, we leverage existing automatic perturbation analysis tools for neural\nnetworks. We study the conditions to apply $A^5$ effectively, analyze the\nimportance of the robustness of the to-be-defended classifier, and inspect the\nappearance of the robustified images. We show effective on-the-fly defensive\naugmentation with a robustifier network that ignores the ground truth label,\nand demonstrate the benefits of robustifier and classifier co-training. In our\ntests, $A^5$ consistently beats state of the art certified defenses on MNIST,\nCIFAR10, FashionMNIST and Tinyimagenet. We also show how to apply $A^5$ to\ncreate certifiably robust physical objects. Our code at\nhttps://github.com/NVlabs/A5 allows experimenting on a wide range of scenarios\nbeyond the man-in-the-middle attack tested here, including the case of physical\nattacks.\n", "date": "2023-05-23", "categories": []} {"id": "2211.11534", "title": "Towards Adversarially Robust Recommendation from Adaptive Fraudster\n Detection", "abstract": " The robustness of recommender systems under node injection attacks has\ngarnered significant attention. Recently, GraphRfi, a GNN-based recommender\nsystem, was proposed and shown to effectively mitigate the impact of injected\nfake users. However, we demonstrate that GraphRfi remains vulnerable to attacks\ndue to the supervised nature of its fraudster detection component, where\nobtaining clean labels is challenging in practice. In particular, we propose a\npowerful poisoning attack, MetaC, against both GNN-based and MF-based\nrecommender systems. Furthermore, we analyze why GraphRfi fails under such an\nattack. Then, based on our insights obtained from vulnerability analysis, we\ndesign an adaptive fraudster detection module that explicitly considers label\nuncertainty. This module can serve as a plug-in for different recommender\nsystems, resulting in a robust framework named PDR. Comprehensive experiments\nshow that our defense approach outperforms other benchmark methods under\nattacks. Overall, our research presents an effective framework for integrating\nfraudster detection into recommendation systems to achieve adversarial\nrobustness.\n", "date": "2022-11-08", "categories": []} {"id": "2305.12683", "title": "Mist: Towards Improved Adversarial Examples for Diffusion Models", "abstract": " Diffusion Models (DMs) have empowered great success in\nartificial-intelligence-generated content, especially in artwork creation, yet\nraising new concerns in intellectual properties and copyright. For example,\ninfringers can make profits by imitating non-authorized human-created paintings\nwith DMs. Recent researches suggest that various adversarial examples for\ndiffusion models can be effective tools against these copyright infringements.\nHowever, current adversarial examples show weakness in transferability over\ndifferent painting-imitating methods and robustness under straightforward\nadversarial defense, for example, noise purification. We surprisingly find that\nthe transferability of adversarial examples can be significantly enhanced by\nexploiting a fused and modified adversarial loss term under consistent\nparameters. In this work, we comprehensively evaluate the cross-method\ntransferability of adversarial examples. The experimental observation shows\nthat our method generates more transferable adversarial examples with even\nstronger robustness against the simple adversarial defense.\n", "date": "2023-05-22", "categories": []} {"id": "2305.12770", "title": "FGAM:Fast Adversarial Malware Generation Method Based on Gradient Sign", "abstract": " Malware detection models based on deep learning have been widely used, but\nrecent research shows that deep learning models are vulnerable to adversarial\nattacks. Adversarial attacks are to deceive the deep learning model by\ngenerating adversarial samples. When adversarial attacks are performed on the\nmalware detection model, the attacker will generate adversarial malware with\nthe same malicious functions as the malware, and make the detection model\nclassify it as benign software. Studying adversarial malware generation can\nhelp model designers improve the robustness of malware detection models. At\npresent, in the work on adversarial malware generation for byte-to-image\nmalware detection models, there are mainly problems such as large amount of\ninjection perturbation and low generation efficiency. Therefore, this paper\nproposes FGAM (Fast Generate Adversarial Malware), a method for fast generating\nadversarial malware, which iterates perturbed bytes according to the gradient\nsign to enhance adversarial capability of the perturbed bytes until the\nadversarial malware is successfully generated. It is experimentally verified\nthat the success rate of the adversarial malware deception model generated by\nFGAM is increased by about 84\\% compared with existing methods.\n", "date": "2023-05-22", "categories": []} {"id": "2305.12863", "title": "Towards Benchmarking and Assessing Visual Naturalness of Physical World\n Adversarial Attacks", "abstract": " Physical world adversarial attack is a highly practical and threatening\nattack, which fools real world deep learning systems by generating conspicuous\nand maliciously crafted real world artifacts. In physical world attacks,\nevaluating naturalness is highly emphasized since human can easily detect and\nremove unnatural attacks. However, current studies evaluate naturalness in a\ncase-by-case fashion, which suffers from errors, bias and inconsistencies. In\nthis paper, we take the first step to benchmark and assess visual naturalness\nof physical world attacks, taking autonomous driving scenario as the first\nattempt. First, to benchmark attack naturalness, we contribute the first\nPhysical Attack Naturalness (PAN) dataset with human rating and gaze. PAN\nverifies several insights for the first time: naturalness is (disparately)\naffected by contextual features (i.e., environmental and semantic variations)\nand correlates with behavioral feature (i.e., gaze signal). Second, to\nautomatically assess attack naturalness that aligns with human ratings, we\nfurther introduce Dual Prior Alignment (DPA) network, which aims to embed human\nknowledge into model reasoning process. Specifically, DPA imitates human\nreasoning in naturalness assessment by rating prior alignment and mimics human\ngaze behavior by attentive prior alignment. We hope our work fosters researches\nto improve and automatically assess naturalness of physical world attacks. Our\ncode and dataset can be found at https://github.com/zhangsn-19/PAN.\n", "date": "2023-05-22", "categories": []} {"id": "2305.12906", "title": "Latent Magic: An Investigation into Adversarial Examples Crafted in the\n Semantic Latent Space", "abstract": " Adversarial attacks against Deep Neural Networks(DNN) have been a crutial\ntopic ever since \\cite{goodfellow} purposed the vulnerability of DNNs. However,\nmost prior works craft adversarial examples in the pixel space, following the\n$l_p$ norm constraint. In this paper, we give intuitional explain about why\ncrafting adversarial examples in the latent space is equally efficient and\nimportant. We purpose a framework for crafting adversarial examples in semantic\nlatent space based on an pre-trained Variational Auto Encoder from state-of-art\nStable Diffusion Model\\cite{SDM}. We also show that adversarial examples\ncrafted in the latent space can also achieve a high level of fool rate.\nHowever, examples crafted from latent space are often hard to evaluated, as\nthey doesn't follow a certain $l_p$ norm constraint, which is a big challenge\nfor existing researches. To efficiently and accurately evaluate the adversarial\nexamples crafted in the latent space, we purpose \\textbf{a novel evaluation\nmatric} based on SSIM\\cite{SSIM} loss and fool rate.Additionally, we explain\nwhy FID\\cite{FID} is not suitable for measuring such adversarial examples. To\nthe best of our knowledge, it's the first evaluation metrics that is\nspecifically designed to evaluate the quality of a adversarial attack. We also\ninvestigate the transferability of adversarial examples crafted in the latent\nspace and show that they have superiority over adversarial examples crafted in\nthe pixel space.\n", "date": "2023-05-22", "categories": []} {"id": "2303.02251", "title": "Certified Robust Neural Networks: Generalization and Corruption\n Resistance", "abstract": " Recent work have demonstrated that robustness (to \"corruption\") can be at\nodds with generalization. Adversarial training, for instance, aims to reduce\nthe problematic susceptibility of modern neural networks to small data\nperturbations. Surprisingly, overfitting is a major concern in adversarial\ntraining despite being mostly absent in standard training. We provide here\ntheoretical evidence for this peculiar \"robust overfitting\" phenomenon.\nSubsequently, we advance a novel distributionally robust loss function bridging\nrobustness and generalization. We demonstrate both theoretically as well as\nempirically the loss to enjoy a certified level of robustness against two\ncommon types of corruption--data evasion and poisoning attacks--while ensuring\nguaranteed generalization. We show through careful numerical experiments that\nour resulting holistic robust (HR) training procedure yields SOTA performance.\nFinally, we indicate that HR training can be interpreted as a direct extension\nof adversarial training and comes with a negligible additional computational\nburden. A ready-to-use python library implementing our algorithm is available\nat https://github.com/RyanLucas3/HR_Neural_Networks.\n", "date": "2023-03-03", "categories": []} {"id": "2304.12550", "title": "Combining Adversaries with Anti-adversaries in Training", "abstract": " Adversarial training is an effective learning technique to improve the\nrobustness of deep neural networks. In this study, the influence of adversarial\ntraining on deep learning models in terms of fairness, robustness, and\ngeneralization is theoretically investigated under more general perturbation\nscope that different samples can have different perturbation directions (the\nadversarial and anti-adversarial directions) and varied perturbation bounds.\nOur theoretical explorations suggest that the combination of adversaries and\nanti-adversaries (samples with anti-adversarial perturbations) in training can\nbe more effective in achieving better fairness between classes and a better\ntradeoff between robustness and generalization in some typical learning\nscenarios (e.g., noisy label learning and imbalance learning) compared with\nstandard adversarial training. On the basis of our theoretical findings, a more\ngeneral learning objective that combines adversaries and anti-adversaries with\nvaried bounds on each training sample is presented. Meta learning is utilized\nto optimize the combination weights. Experiments on benchmark datasets under\ndifferent learning scenarios verify our theoretical findings and the\neffectiveness of the proposed methodology.\n", "date": "2023-04-25", "categories": []} {"id": "2305.10766", "title": "Adversarial Amendment is the Only Force Capable of Transforming an Enemy\n into a Friend", "abstract": " Adversarial attack is commonly regarded as a huge threat to neural networks\nbecause of misleading behavior. This paper presents an opposite perspective:\nadversarial attacks can be harnessed to improve neural models if amended\ncorrectly. Unlike traditional adversarial defense or adversarial training\nschemes that aim to improve the adversarial robustness, the proposed\nadversarial amendment (AdvAmd) method aims to improve the original accuracy\nlevel of neural models on benign samples. We thoroughly analyze the\ndistribution mismatch between the benign and adversarial samples. This\ndistribution mismatch and the mutual learning mechanism with the same learning\nratio applied in prior art defense strategies is the main cause leading the\naccuracy degradation for benign samples. The proposed AdvAmd is demonstrated to\nsteadily heal the accuracy degradation and even leads to a certain accuracy\nboost of common neural models on benign classification, object detection, and\nsegmentation tasks. The efficacy of the AdvAmd is contributed by three key\ncomponents: mediate samples (to reduce the influence of distribution mismatch\nwith a fine-grained amendment), auxiliary batch norm (to solve the mutual\nlearning mechanism and the smoother judgment surface), and AdvAmd loss (to\nadjust the learning ratios according to different attack vulnerabilities)\nthrough quantitative and ablation experiments.\n", "date": "2023-05-18", "categories": []} {"id": "2305.10929", "title": "Architecture-agnostic Iterative Black-box Certified Defense against\n Adversarial Patches", "abstract": " The adversarial patch attack aims to fool image classifiers within a bounded,\ncontiguous region of arbitrary changes, posing a real threat to computer vision\nsystems (e.g., autonomous driving, content moderation, biometric\nauthentication, medical imaging) in the physical world. To address this problem\nin a trustworthy way, proposals have been made for certified patch defenses\nthat ensure the robustness of classification models and prevent future patch\nattacks from breaching the defense. State-of-the-art certified defenses can be\ncompatible with any model architecture, as well as achieve high clean and\ncertified accuracy. Although the methods are adaptive to arbitrary patch\npositions, they inevitably need to access the size of the adversarial patch,\nwhich is unreasonable and impractical in real-world attack scenarios. To\nimprove the feasibility of the architecture-agnostic certified defense in a\nblack-box setting (i.e., position and size of the patch are both unknown), we\npropose a novel two-stage Iterative Black-box Certified Defense method, termed\nIBCD.In the first stage, it estimates the patch size in a search-based manner\nby evaluating the size relationship between the patch and mask with pixel\nmasking. In the second stage, the accuracy results are calculated by the\nexisting white-box certified defense methods with the estimated patch size. The\nexperiments conducted on two popular model architectures and two datasets\nverify the effectiveness and efficiency of IBCD.\n", "date": "2023-05-18", "categories": []} {"id": "2206.09099", "title": "The Consistency of Adversarial Training for Binary Classification", "abstract": " Robustness to adversarial perturbations is of paramount concern in modern\nmachine learning. One of the state-of-the-art methods for training robust\nclassifiers is adversarial training, which involves minimizing a supremum-based\nsurrogate risk. The statistical consistency of surrogate risks is well\nunderstood in the context of standard machine learning, but not in the\nadversarial setting. In this paper, we characterize which supremum-based\nsurrogates are consistent for distributions absolutely continuous with respect\nto Lebesgue measure in binary classification. Furthermore, we obtain\nquantitative bounds relating adversarial surrogate risks to the adversarial\nclassification risk. Lastly, we discuss implications for the $\\cH$-consistency\nof adversarial training.\n", "date": "2022-06-18", "categories": []} {"id": "2305.10388", "title": "Raising the Bar for Certified Adversarial Robustness with Diffusion\n Models", "abstract": " Certified defenses against adversarial attacks offer formal guarantees on the\nrobustness of a model, making them more reliable than empirical methods such as\nadversarial training, whose effectiveness is often later reduced by unseen\nattacks. Still, the limited certified robustness that is currently achievable\nhas been a bottleneck for their practical adoption. Gowal et al. and Wang et\nal. have shown that generating additional training data using state-of-the-art\ndiffusion models can considerably improve the robustness of adversarial\ntraining. In this work, we demonstrate that a similar approach can\nsubstantially improve deterministic certified defenses. In addition, we provide\na list of recommendations to scale the robustness of certified training\napproaches. One of our main insights is that the generalization gap, i.e., the\ndifference between the training and test accuracy of the original model, is a\ngood predictor of the magnitude of the robustness improvement when using\nadditional generated data. Our approach achieves state-of-the-art deterministic\nrobustness certificates on CIFAR-10 for the $\\ell_2$ ($\\epsilon = 36/255$) and\n$\\ell_\\infty$ ($\\epsilon = 8/255$) threat models, outperforming the previous\nbest results by $+3.95\\%$ and $+1.39\\%$, respectively. Furthermore, we report\nsimilar improvements for CIFAR-100.\n", "date": "2023-05-17", "categories": []} {"id": "2305.08031", "title": "On enhancing the robustness of Vision Transformers: Defensive Diffusion", "abstract": " Privacy and confidentiality of medical data are of utmost importance in\nhealthcare settings. ViTs, the SOTA vision model, rely on large amounts of\npatient data for training, which raises concerns about data security and the\npotential for unauthorized access. Adversaries may exploit vulnerabilities in\nViTs to extract sensitive patient information and compromising patient privacy.\nThis work address these vulnerabilities to ensure the trustworthiness and\nreliability of ViTs in medical applications. In this work, we introduced a\ndefensive diffusion technique as an adversarial purifier to eliminate\nadversarial noise introduced by attackers in the original image. By utilizing\nthe denoising capabilities of the diffusion model, we employ a reverse\ndiffusion process to effectively eliminate the adversarial noise from the\nattack sample, resulting in a cleaner image that is then fed into the ViT\nblocks. Our findings demonstrate the effectiveness of the diffusion model in\neliminating attack-agnostic adversarial noise from images. Additionally, we\npropose combining knowledge distillation with our framework to obtain a\nlightweight student model that is both computationally efficient and robust\nagainst gray box attacks. Comparison of our method with a SOTA baseline method,\nSEViT, shows that our work is able to outperform the baseline. Extensive\nexperiments conducted on a publicly available Tuberculosis X-ray dataset\nvalidate the computational efficiency and improved robustness achieved by our\nproposed architecture.\n", "date": "2023-05-14", "categories": []} {"id": "2305.08076", "title": "Improving Defensive Distillation using Teacher Assistant", "abstract": " Adversarial attacks pose a significant threat to the security and safety of\ndeep neural networks being applied to modern applications. More specifically,\nin computer vision-based tasks, experts can use the knowledge of model\narchitecture to create adversarial samples imperceptible to the human eye.\nThese attacks can lead to security problems in popular applications such as\nself-driving cars, face recognition, etc. Hence, building networks which are\nrobust to such attacks is highly desirable and essential. Among the various\nmethods present in literature, defensive distillation has shown promise in\nrecent years. Using knowledge distillation, researchers have been able to\ncreate models robust against some of those attacks. However, more attacks have\nbeen developed exposing weakness in defensive distillation. In this project, we\nderive inspiration from teacher assistant knowledge distillation and propose\nthat introducing an assistant network can improve the robustness of the\ndistilled model. Through a series of experiments, we evaluate the distilled\nmodels for different distillation temperatures in terms of accuracy,\nsensitivity, and robustness. Our experiments demonstrate that the proposed\nhypothesis can improve robustness in most cases. Additionally, we show that\nmulti-step distillation can further improve robustness with very little impact\non model accuracy.\n", "date": "2023-05-14", "categories": []} {"id": "2305.08439", "title": "Exploiting Frequency Spectrum of Adversarial Images for General\n Robustness", "abstract": " In recent years, there has been growing concern over the vulnerability of\nconvolutional neural networks (CNNs) to image perturbations. However, achieving\ngeneral robustness against different types of perturbations remains\nchallenging, in which enhancing robustness to some perturbations (e.g.,\nadversarial perturbations) may degrade others (e.g., common corruptions). In\nthis paper, we demonstrate that adversarial training with an emphasis on phase\ncomponents significantly improves model performance on clean, adversarial, and\ncommon corruption accuracies. We propose a frequency-based data augmentation\nmethod, Adversarial Amplitude Swap, that swaps the amplitude spectrum between\nclean and adversarial images to generate two novel training images: adversarial\namplitude and adversarial phase images. These images act as substitutes for\nadversarial images and can be implemented in various adversarial training\nsetups. Through extensive experiments, we demonstrate that our method enables\nthe CNNs to gain general robustness against different types of perturbations\nand results in a uniform performance against all types of common corruptions.\n", "date": "2023-05-15", "categories": []} {"id": "2305.08840", "title": "Attacking Perceptual Similarity Metrics", "abstract": " Perceptual similarity metrics have progressively become more correlated with\nhuman judgments on perceptual similarity; however, despite recent advances, the\naddition of an imperceptible distortion can still compromise these metrics. In\nour study, we systematically examine the robustness of these metrics to\nimperceptible adversarial perturbations. Following the two-alternative\nforced-choice experimental design with two distorted images and one reference\nimage, we perturb the distorted image closer to the reference via an\nadversarial attack until the metric flips its judgment. We first show that all\nmetrics in our study are susceptible to perturbations generated via common\nadversarial attacks such as FGSM, PGD, and the One-pixel attack. Next, we\nattack the widely adopted LPIPS metric using spatial-transformation-based\nadversarial perturbations (stAdv) in a white-box setting to craft adversarial\nexamples that can effectively transfer to other similarity metrics in a\nblack-box setting. We also combine the spatial attack stAdv with PGD\n($\\ell_\\infty$-bounded) attack to increase transferability and use these\nadversarial examples to benchmark the robustness of both traditional and\nrecently developed metrics. Our benchmark provides a good starting point for\ndiscussion and further research on the robustness of metrics to imperceptible\nadversarial perturbations.\n", "date": "2023-05-15", "categories": []} {"id": "2305.01139", "title": "Stratified Adversarial Robustness with Rejection", "abstract": " Recently, there is an emerging interest in adversarially training a\nclassifier with a rejection option (also known as a selective classifier) for\nboosting adversarial robustness. While rejection can incur a cost in many\napplications, existing studies typically associate zero cost with rejecting\nperturbed inputs, which can result in the rejection of numerous\nslightly-perturbed inputs that could be correctly classified. In this work, we\nstudy adversarially-robust classification with rejection in the stratified\nrejection setting, where the rejection cost is modeled by rejection loss\nfunctions monotonically non-increasing in the perturbation magnitude. We\ntheoretically analyze the stratified rejection setting and propose a novel\ndefense method -- Adversarial Training with Consistent Prediction-based\nRejection (CPR) -- for building a robust selective classifier. Experiments on\nimage datasets demonstrate that the proposed method significantly outperforms\nexisting methods under strong adaptive attacks. For instance, on CIFAR-10, CPR\nreduces the total robust loss (for different rejection losses) by at least 7.3%\nunder both seen and unseen attacks.\n", "date": "2023-05-02", "categories": []} {"id": "2210.08178", "title": "Is Face Recognition Safe from Realizable Attacks?", "abstract": " Face recognition is a popular form of biometric authentication and due to its\nwidespread use, attacks have become more common as well. Recent studies show\nthat Face Recognition Systems are vulnerable to attacks and can lead to\nerroneous identification of faces. Interestingly, most of these attacks are\nwhite-box, or they are manipulating facial images in ways that are not\nphysically realizable. In this paper, we propose an attack scheme where the\nattacker can generate realistic synthesized face images with subtle\nperturbations and physically realize that onto his face to attack black-box\nface recognition systems. Comprehensive experiments and analyses show that\nsubtle perturbations realized on attackers face can create successful attacks\non state-of-the-art face recognition systems in black-box settings. Our study\nexposes the underlying vulnerability posed by the Face Recognition Systems\nagainst realizable black-box attacks.\n", "date": "2022-10-15", "categories": []} {"id": "2210.14410", "title": "Improving Adversarial Robustness via Joint Classification and Multiple\n Explicit Detection Classes", "abstract": " This work concerns the development of deep networks that are certifiably\nrobust to adversarial attacks. Joint robust classification-detection was\nrecently introduced as a certified defense mechanism, where adversarial\nexamples are either correctly classified or assigned to the \"abstain\" class. In\nthis work, we show that such a provable framework can benefit by extension to\nnetworks with multiple explicit abstain classes, where the adversarial examples\nare adaptively assigned to those. We show that naively adding multiple abstain\nclasses can lead to \"model degeneracy\", then we propose a regularization\napproach and a training method to counter this degeneracy by promoting full use\nof the multiple abstain classes. Our experiments demonstrate that the proposed\napproach consistently achieves favorable standard vs. robust verified accuracy\ntradeoffs, outperforming state-of-the-art algorithms for various choices of\nnumber of abstain classes.\n", "date": "2022-10-26", "categories": []} {"id": "2210.16346", "title": "Improving Hyperspectral Adversarial Robustness Under Multiple Attacks", "abstract": " Semantic segmentation models classifying hyperspectral images (HSI) are\nvulnerable to adversarial examples. Traditional approaches to adversarial\nrobustness focus on training or retraining a single network on attacked data,\nhowever, in the presence of multiple attacks these approaches decrease in\nperformance compared to networks trained individually on each attack. To combat\nthis issue we propose an Adversarial Discriminator Ensemble Network (ADE-Net)\nwhich focuses on attack type detection and adversarial robustness under a\nunified model to preserve per data-type weight optimally while robustifiying\nthe overall network. In the proposed method, a discriminator network is used to\nseparate data by attack type into their specific attack-expert ensemble\nnetwork.\n", "date": "2022-10-28", "categories": []} {"id": "2305.06522", "title": "Randomized Smoothing with Masked Inference for Adversarially Robust Text\n Classifications", "abstract": " Large-scale pre-trained language models have shown outstanding performance in\na variety of NLP tasks. However, they are also known to be significantly\nbrittle against specifically crafted adversarial examples, leading to\nincreasing interest in probing the adversarial robustness of NLP systems. We\nintroduce RSMI, a novel two-stage framework that combines randomized smoothing\n(RS) with masked inference (MI) to improve the adversarial robustness of NLP\nsystems. RS transforms a classifier into a smoothed classifier to obtain robust\nrepresentations, whereas MI forces a model to exploit the surrounding context\nof a masked token in an input sequence. RSMI improves adversarial robustness by\n2 to 3 times over existing state-of-the-art methods on benchmark datasets. We\nalso perform in-depth qualitative analysis to validate the effectiveness of the\ndifferent stages of RSMI and probe the impact of its components through\nextensive ablations. By empirically proving the stability of RSMI, we put it\nforward as a practical method to robustly train large-scale NLP models. Our\ncode and datasets are available at https://github.com/Han8931/rsmi_nlp\n", "date": "2023-05-11", "categories": []} {"id": "2305.06540", "title": "Inter-frame Accelerate Attack against Video Interpolation Models", "abstract": " Deep learning based video frame interpolation (VIF) method, aiming to\nsynthesis the intermediate frames to enhance video quality, have been highly\ndeveloped in the past few years. This paper investigates the adversarial\nrobustness of VIF models. We apply adversarial attacks to VIF models and find\nthat the VIF models are very vulnerable to adversarial examples. To improve\nattack efficiency, we suggest to make full use of the property of video frame\ninterpolation task. The intuition is that the gap between adjacent frames would\nbe small, leading to the corresponding adversarial perturbations being similar\nas well. Then we propose a novel attack method named Inter-frame Accelerate\nAttack (IAA) that initializes the perturbation as the perturbation for the\nprevious adjacent frame and reduces the number of attack iterations. It is\nshown that our method can improve attack efficiency greatly while achieving\ncomparable attack performance with traditional methods. Besides, we also extend\nour method to video recognition models which are higher level vision tasks and\nachieves great attack efficiency.\n", "date": "2023-05-11", "categories": []} {"id": "2207.04308", "title": "Dynamic Time Warping based Adversarial Framework for Time-Series Domain", "abstract": " Despite the rapid progress on research in adversarial robustness of deep\nneural networks (DNNs), there is little principled work for the time-series\ndomain. Since time-series data arises in diverse applications including mobile\nhealth, finance, and smart grid, it is important to verify and improve the\nrobustness of DNNs for the time-series domain. In this paper, we propose a\nnovel framework for the time-series domain referred as {\\em Dynamic Time\nWarping for Adversarial Robustness (DTW-AR)} using the dynamic time warping\nmeasure. Theoretical and empirical evidence is provided to demonstrate the\neffectiveness of DTW over the standard Euclidean distance metric employed in\nprior methods for the image domain. We develop a principled algorithm justified\nby theoretical analysis to efficiently create diverse adversarial examples\nusing random alignment paths. Experiments on diverse real-world benchmarks show\nthe effectiveness of DTW-AR to fool DNNs for time-series data and to improve\ntheir robustness using adversarial training. The source code of DTW-AR\nalgorithms is available at https://github.com/tahabelkhouja/DTW-AR\n", "date": "2022-07-09", "categories": []} {"id": "2305.05253", "title": "Attack Named Entity Recognition by Entity Boundary Interference", "abstract": " Named Entity Recognition (NER) is a cornerstone NLP task while its robustness\nhas been given little attention. This paper rethinks the principles of NER\nattacks derived from sentence classification, as they can easily violate the\nlabel consistency between the original and adversarial NER examples. This is\ndue to the fine-grained nature of NER, as even minor word changes in the\nsentence can result in the emergence or mutation of any entities, resulting in\ninvalid adversarial examples. To this end, we propose a novel one-word\nmodification NER attack based on a key insight, NER models are always\nvulnerable to the boundary position of an entity to make their decision. We\nthus strategically insert a new boundary into the sentence and trigger the\nEntity Boundary Interference that the victim model makes the wrong prediction\neither on this boundary word or on other words in the sentence. We call this\nattack Virtual Boundary Attack (ViBA), which is shown to be remarkably\neffective when attacking both English and Chinese models with a 70%-90% attack\nsuccess rate on state-of-the-art language models (e.g. RoBERTa, DeBERTa) and\nalso significantly faster than previous methods.\n", "date": "2023-05-09", "categories": []} {"id": "2207.11177", "title": "Provable Defense Against Geometric Transformations", "abstract": " Geometric image transformations that arise in the real world, such as scaling\nand rotation, have been shown to easily deceive deep neural networks (DNNs).\nHence, training DNNs to be certifiably robust to these perturbations is\ncritical. However, no prior work has been able to incorporate the objective of\ndeterministic certified robustness against geometric transformations into the\ntraining procedure, as existing verifiers are exceedingly slow. To address\nthese challenges, we propose the first provable defense for deterministic\ncertified geometric robustness. Our framework leverages a novel GPU-optimized\nverifier that can certify images between 60$\\times$ to 42,600$\\times$ faster\nthan existing geometric robustness verifiers, and thus unlike existing works,\nis fast enough for use in training. Across multiple datasets, our results show\nthat networks trained via our framework consistently achieve state-of-the-art\ndeterministic certified geometric robustness and clean accuracy. Furthermore,\nfor the first time, we verify the geometric robustness of a neural network for\nthe challenging, real-world setting of autonomous driving.\n", "date": "2022-07-22", "categories": []} {"id": "2210.02844", "title": "Are Synonym Substitution Attacks Really Synonym Substitution Attacks?", "abstract": " In this paper, we explore the following question: Are synonym substitution\nattacks really synonym substitution attacks (SSAs)? We approach this question\nby examining how SSAs replace words in the original sentence and show that\nthere are still unresolved obstacles that make current SSAs generate invalid\nadversarial samples. We reveal that four widely used word substitution methods\ngenerate a large fraction of invalid substitution words that are ungrammatical\nor do not preserve the original sentence's semantics. Next, we show that the\nsemantic and grammatical constraints used in SSAs for detecting invalid word\nreplacements are highly insufficient in detecting invalid adversarial samples.\n", "date": "2022-10-06", "categories": []} {"id": "2305.00866", "title": "Attack-SAM: Towards Attacking Segment Anything Model With Adversarial\n Examples", "abstract": " Segment Anything Model (SAM) has attracted significant attention recently,\ndue to its impressive performance on various downstream tasks in a zero-short\nmanner. Computer vision (CV) area might follow the natural language processing\n(NLP) area to embark on a path from task-specific vision models toward\nfoundation models. However, deep vision models are widely recognized as\nvulnerable to adversarial examples, which fool the model to make wrong\npredictions with imperceptible perturbation. Such vulnerability to adversarial\nattacks causes serious concerns when applying deep models to security-sensitive\napplications. Therefore, it is critical to know whether the vision foundation\nmodel SAM can also be fooled by adversarial attacks. To the best of our\nknowledge, our work is the first of its kind to conduct a comprehensive\ninvestigation on how to attack SAM with adversarial examples. With the basic\nattack goal set to mask removal, we investigate the adversarial robustness of\nSAM in the full white-box setting and transfer-based black-box settings. Beyond\nthe basic goal of mask removal, we further investigate and find that it is\npossible to generate any desired mask by the adversarial attack.\n", "date": "2023-05-01", "categories": []} {"id": "2305.03655", "title": "White-Box Multi-Objective Adversarial Attack on Dialogue Generation", "abstract": " Pre-trained transformers are popular in state-of-the-art dialogue generation\n(DG) systems. Such language models are, however, vulnerable to various\nadversarial samples as studied in traditional tasks such as text\nclassification, which inspires our curiosity about their robustness in DG\nsystems. One main challenge of attacking DG models is that perturbations on the\ncurrent sentence can hardly degrade the response accuracy because the unchanged\nchat histories are also considered for decision-making. Instead of merely\npursuing pitfalls of performance metrics such as BLEU, ROUGE, we observe that\ncrafting adversarial samples to force longer generation outputs benefits attack\neffectiveness -- the generated responses are typically irrelevant, lengthy, and\nrepetitive. To this end, we propose a white-box multi-objective attack method\ncalled DGSlow. Specifically, DGSlow balances two objectives -- generation\naccuracy and length, via a gradient-based multi-objective optimizer and applies\nan adaptive searching mechanism to iteratively craft adversarial samples with\nonly a few modifications. Comprehensive experiments on four benchmark datasets\ndemonstrate that DGSlow could significantly degrade state-of-the-art DG models\nwith a higher success rate than traditional accuracy-based methods. Besides,\nour crafted sentences also exhibit strong transferability in attacking other\nmodels.\n", "date": "2023-05-05", "categories": []} {"id": "2305.04436", "title": "Adversarial Examples Detection with Enhanced Image Difference Features\n based on Local Histogram Equalization", "abstract": " Deep Neural Networks (DNNs) have recently made significant progress in many\nfields. However, studies have shown that DNNs are vulnerable to adversarial\nexamples, where imperceptible perturbations can greatly mislead DNNs even if\nthe full underlying model parameters are not accessible. Various defense\nmethods have been proposed, such as feature compression and gradient masking.\nHowever, numerous studies have proven that previous methods create detection or\ndefense against certain attacks, which renders the method ineffective in the\nface of the latest unknown attack methods. The invisibility of adversarial\nperturbations is one of the evaluation indicators for adversarial example\nattacks, which also means that the difference in the local correlation of\nhigh-frequency information in adversarial examples and normal examples can be\nused as an effective feature to distinguish the two. Therefore, we propose an\nadversarial example detection framework based on a high-frequency information\nenhancement strategy, which can effectively extract and amplify the feature\ndifferences between adversarial examples and normal examples. Experimental\nresults show that the feature augmentation module can be combined with existing\ndetection models in a modular way under this framework. Improve the detector's\nperformance and reduce the deployment cost without modifying the existing\ndetection model.\n", "date": "2023-05-08", "categories": []} {"id": "2305.04557", "title": "Toward Adversarial Training on Contextualized Language Representation", "abstract": " Beyond the success story of adversarial training (AT) in the recent text\ndomain on top of pre-trained language models (PLMs), our empirical study\nshowcases the inconsistent gains from AT on some tasks, e.g. commonsense\nreasoning, named entity recognition. This paper investigates AT from the\nperspective of the contextualized language representation outputted by PLM\nencoders. We find the current AT attacks lean to generate sub-optimal\nadversarial examples that can fool the decoder part but have a minor effect on\nthe encoder. However, we find it necessary to effectively deviate the latter\none to allow AT to gain. Based on the observation, we propose simple yet\neffective \\textit{Contextualized representation-Adversarial Training} (CreAT),\nin which the attack is explicitly optimized to deviate the contextualized\nrepresentation of the encoder. It allows a global optimization of adversarial\nexamples that can fool the entire model. We also find CreAT gives rise to a\nbetter direction to optimize the adversarial examples, to let them less\nsensitive to hyperparameters. Compared to AT, CreAT produces consistent\nperformance gains on a wider range of tasks and is proven to be more effective\nfor language pre-training where only the encoder part is kept for downstream\ntasks. We achieve the new state-of-the-art performances on a series of\nchallenging benchmarks, e.g. AdvGLUE (59.1 $ \\rightarrow $ 61.1), HellaSWAG\n(93.0 $ \\rightarrow $ 94.9), ANLI (68.1 $ \\rightarrow $ 69.3).\n", "date": "2023-05-08", "categories": []} {"id": "2305.04746", "title": "Understanding Noise-Augmented Training for Randomized Smoothing", "abstract": " Randomized smoothing is a technique for providing provable robustness\nguarantees against adversarial attacks while making minimal assumptions about a\nclassifier. This method relies on taking a majority vote of any base classifier\nover multiple noise-perturbed inputs to obtain a smoothed classifier, and it\nremains the tool of choice to certify deep and complex neural network models.\nNonetheless, non-trivial performance of such smoothed classifier crucially\ndepends on the base model being trained on noise-augmented data, i.e., on a\nsmoothed input distribution. While widely adopted in practice, it is still\nunclear how this noisy training of the base classifier precisely affects the\nrisk of the robust smoothed classifier, leading to heuristics and tricks that\nare poorly understood. In this work we analyze these trade-offs theoretically\nin a binary classification setting, proving that these common observations are\nnot universal. We show that, without making stronger distributional\nassumptions, no benefit can be expected from predictors trained with\nnoise-augmentation, and we further characterize distributions where such\nbenefit is obtained. Our analysis has direct implications to the practical\ndeployment of randomized smoothing, and we illustrate some of these via\nexperiments on CIFAR-10 and MNIST, as well as on synthetic datasets.\n", "date": "2023-05-08", "categories": []} {"id": "2211.10024", "title": "Diagnostics for Deep Neural Networks with Automated Copy/Paste Attacks", "abstract": " This paper considers the problem of helping humans exercise scalable\noversight over deep neural networks (DNNs). Adversarial examples can be useful\nby helping to reveal weaknesses in DNNs, but they can be difficult to interpret\nor draw actionable conclusions from. Some previous works have proposed using\nhuman-interpretable adversarial attacks including copy/paste attacks in which\none natural image pasted into another causes an unexpected misclassification.\nWe build on these with two contributions. First, we introduce Search for\nNatural Adversarial Features Using Embeddings (SNAFUE) which offers a fully\nautomated method for finding copy/paste attacks. Second, we use SNAFUE to red\nteam an ImageNet classifier. We reproduce copy/paste attacks from previous\nworks and find hundreds of other easily-describable vulnerabilities, all\nwithout a human in the loop. Code is available at\nhttps://github.com/thestephencasper/snafue\n", "date": "2022-11-18", "categories": []} {"id": "2305.03173", "title": "New Adversarial Image Detection Based on Sentiment Analysis", "abstract": " Deep Neural Networks (DNNs) are vulnerable to adversarial examples, while\nadversarial attack models, e.g., DeepFool, are on the rise and outrunning\nadversarial example detection techniques. This paper presents a new adversarial\nexample detector that outperforms state-of-the-art detectors in identifying the\nlatest adversarial attacks on image datasets. Specifically, we propose to use\nsentiment analysis for adversarial example detection, qualified by the\nprogressively manifesting impact of an adversarial perturbation on the\nhidden-layer feature maps of a DNN under attack. Accordingly, we design a\nmodularized embedding layer with the minimum learnable parameters to embed the\nhidden-layer feature maps into word vectors and assemble sentences ready for\nsentiment analysis. Extensive experiments demonstrate that the new detector\nconsistently surpasses the state-of-the-art detection algorithms in detecting\nthe latest attacks launched against ResNet and Inception neutral networks on\nthe CIFAR-10, CIFAR-100 and SVHN datasets. The detector only has about 2\nmillion parameters, and takes shorter than 4.6 milliseconds to detect an\nadversarial example generated by the latest attack models using a Tesla K80 GPU\ncard.\n", "date": "2023-05-03", "categories": []} {"id": "2304.11359", "title": "Detecting Adversarial Faces Using Only Real Face Self-Perturbations", "abstract": " Adversarial attacks aim to disturb the functionality of a target system by\nadding specific noise to the input samples, bringing potential threats to\nsecurity and robustness when applied to facial recognition systems. Although\nexisting defense techniques achieve high accuracy in detecting some specific\nadversarial faces (adv-faces), new attack methods especially GAN-based attacks\nwith completely different noise patterns circumvent them and reach a higher\nattack success rate. Even worse, existing techniques require attack data before\nimplementing the defense, making it impractical to defend newly emerging\nattacks that are unseen to defenders. In this paper, we investigate the\nintrinsic generality of adv-faces and propose to generate pseudo adv-faces by\nperturbing real faces with three heuristically designed noise patterns. We are\nthe first to train an adv-face detector using only real faces and their\nself-perturbations, agnostic to victim facial recognition systems, and agnostic\nto unseen attacks. By regarding adv-faces as out-of-distribution data, we then\nnaturally introduce a novel cascaded system for adv-face detection, which\nconsists of training data self-perturbations, decision boundary regularization,\nand a max-pooling-based binary classifier focusing on abnormal local color\naberrations. Experiments conducted on LFW and CelebA-HQ datasets with eight\ngradient-based and two GAN-based attacks validate that our method generalizes\nto a variety of unseen adversarial attacks.\n", "date": "2023-04-22", "categories": []} {"id": "2305.01860", "title": "Towards Imperceptible Document Manipulations against Neural Ranking\n Models", "abstract": " Adversarial attacks have gained traction in order to identify potential\nvulnerabilities in neural ranking models (NRMs), but current attack methods\noften introduce grammatical errors, nonsensical expressions, or incoherent text\nfragments, which can be easily detected. Additionally, current methods rely\nheavily on the use of a well-imitated surrogate NRM to guarantee the attack\neffect, which makes them difficult to use in practice. To address these issues,\nwe propose a framework called Imperceptible DocumEnt Manipulation (IDEM) to\nproduce adversarial documents that are less noticeable to both algorithms and\nhumans. IDEM instructs a well-established generative language model, such as\nBART, to generate connection sentences without introducing easy-to-detect\nerrors, and employs a separate position-wise merging strategy to balance\nrelevance and coherence of the perturbed text. Experimental results on the\npopular MS MARCO benchmark demonstrate that IDEM can outperform strong\nbaselines while preserving fluency and correctness of the target documents as\nevidenced by automatic and human evaluations. Furthermore, the separation of\nadversarial text generation from the surrogate NRM makes IDEM more robust and\nless affected by the quality of the surrogate NRM.\n", "date": "2023-05-03", "categories": []} {"id": "2305.02901", "title": "Single Node Injection Label Specificity Attack on Graph Neural Networks\n via Reinforcement Learning", "abstract": " Graph neural networks (GNNs) have achieved remarkable success in various\nreal-world applications. However, recent studies highlight the vulnerability of\nGNNs to malicious perturbations. Previous adversaries primarily focus on graph\nmodifications or node injections to existing graphs, yielding promising results\nbut with notable limitations. Graph modification attack~(GMA) requires\nmanipulation of the original graph, which is often impractical, while graph\ninjection attack~(GIA) necessitates training a surrogate model in the black-box\nsetting, leading to significant performance degradation due to divergence\nbetween the surrogate architecture and the actual victim model. Furthermore,\nmost methods concentrate on a single attack goal and lack a generalizable\nadversary to develop distinct attack strategies for diverse goals, thus\nlimiting precise control over victim model behavior in real-world scenarios. To\naddress these issues, we present a gradient-free generalizable adversary that\ninjects a single malicious node to manipulate the classification result of a\ntarget node in the black-box evasion setting. We propose Gradient-free\nGeneralizable Single Node Injection Attack, namely G$^2$-SNIA, a reinforcement\nlearning framework employing Proximal Policy Optimization. By directly querying\nthe victim model, G$^2$-SNIA learns patterns from exploration to achieve\ndiverse attack goals with extremely limited attack budgets. Through\ncomprehensive experiments over three acknowledged benchmark datasets and four\nprominent GNNs in the most challenging and realistic scenario, we demonstrate\nthe superior performance of our proposed G$^2$-SNIA over the existing\nstate-of-the-art baselines. Moreover, by comparing G$^2$-SNIA with multiple\nwhite-box evasion baselines, we confirm its capacity to generate solutions\ncomparable to those of the best adversaries.\n", "date": "2023-05-04", "categories": []} {"id": "2302.13519", "title": "CBA: Contextual Background Attack against Optical Aerial Detection in\n the Physical World", "abstract": " Patch-based physical attacks have increasingly aroused concerns.\n However, most existing methods focus on obscuring targets captured on the\nground, and some of these methods are simply extended to deceive aerial\ndetectors.\n They smear the targeted objects in the physical world with the elaborated\nadversarial patches, which can only slightly sway the aerial detectors'\nprediction and with weak attack transferability.\n To address the above issues, we propose to perform Contextual Background\nAttack (CBA), a novel physical attack framework against aerial detection, which\ncan achieve strong attack efficacy and transferability in the physical world\neven without smudging the interested objects at all.\n Specifically, the targets of interest, i.e. the aircraft in aerial images,\nare adopted to mask adversarial patches.\n The pixels outside the mask area are optimized to make the generated\nadversarial patches closely cover the critical contextual background area for\ndetection, which contributes to gifting adversarial patches with more robust\nand transferable attack potency in the real world.\n To further strengthen the attack performance, the adversarial patches are\nforced to be outside targets during training, by which the detected objects of\ninterest, both on and outside patches, benefit the accumulation of attack\nefficacy.\n Consequently, the sophisticatedly designed patches are gifted with solid\nfooling efficacy against objects both on and outside the adversarial patches\nsimultaneously.\n Extensive proportionally scaled experiments are performed in physical\nscenarios, demonstrating the superiority and potential of the proposed\nframework for physical attacks.\n We expect that the proposed physical attack method will serve as a benchmark\nfor assessing the adversarial robustness of diverse aerial detectors and\ndefense methods.\n", "date": "2023-02-27", "categories": []} {"id": "2304.12486", "title": "Evaluating Adversarial Robustness on Document Image Classification", "abstract": " Adversarial attacks and defenses have gained increasing interest on computer\nvision systems in recent years, but as of today, most investigations are\nlimited to images. However, many artificial intelligence models actually handle\ndocumentary data, which is very different from real world images. Hence, in\nthis work, we try to apply the adversarial attack philosophy on documentary and\nnatural data and to protect models against such attacks. We focus our work on\nuntargeted gradient-based, transfer-based and score-based attacks and evaluate\nthe impact of adversarial training, JPEG input compression and grey-scale input\ntransformation on the robustness of ResNet50 and EfficientNetB0 model\narchitectures. To the best of our knowledge, no such work has been conducted by\nthe community in order to study the impact of these attacks on the document\nimage classification task.\n", "date": "2023-04-24", "categories": []} {"id": "2305.00851", "title": "Revisiting Robustness in Graph Machine Learning", "abstract": " Many works show that node-level predictions of Graph Neural Networks (GNNs)\nare unrobust to small, often termed adversarial, changes to the graph\nstructure. However, because manual inspection of a graph is difficult, it is\nunclear if the studied perturbations always preserve a core assumption of\nadversarial examples: that of unchanged semantic content. To address this\nproblem, we introduce a more principled notion of an adversarial graph, which\nis aware of semantic content change. Using Contextual Stochastic Block Models\n(CSBMs) and real-world graphs, our results uncover: $i)$ for a majority of\nnodes the prevalent perturbation models include a large fraction of perturbed\ngraphs violating the unchanged semantics assumption; $ii)$ surprisingly, all\nassessed GNNs show over-robustness - that is robustness beyond the point of\nsemantic change. We find this to be a complementary phenomenon to adversarial\nexamples and show that including the label-structure of the training graph into\nthe inference process of GNNs significantly reduces over-robustness, while\nhaving a positive effect on test accuracy and adversarial robustness.\nTheoretically, leveraging our new semantics-aware notion of robustness, we\nprove that there is no robustness-accuracy tradeoff for inductively classifying\na newly added node.\n", "date": "2023-05-01", "categories": []} {"id": "2210.06284", "title": "Visual Prompting for Adversarial Robustness", "abstract": " In this work, we leverage visual prompting (VP) to improve adversarial\nrobustness of a fixed, pre-trained model at testing time. Compared to\nconventional adversarial defenses, VP allows us to design universal (i.e.,\ndata-agnostic) input prompting templates, which have plug-and-play capabilities\nat testing time to achieve desired model performance without introducing much\ncomputation overhead. Although VP has been successfully applied to improving\nmodel generalization, it remains elusive whether and how it can be used to\ndefend against adversarial attacks. We investigate this problem and show that\nthe vanilla VP approach is not effective in adversarial defense since a\nuniversal input prompt lacks the capacity for robust learning against\nsample-specific adversarial perturbations. To circumvent it, we propose a new\nVP method, termed Class-wise Adversarial Visual Prompting (C-AVP), to generate\nclass-wise visual prompts so as to not only leverage the strengths of ensemble\nprompts but also optimize their interrelations to improve model robustness. Our\nexperiments show that C-AVP outperforms the conventional VP method, with 2.1X\nstandard accuracy gain and 2X robust accuracy gain. Compared to classical\ntest-time defenses, C-AVP also yields a 42X inference time speedup.\n", "date": "2022-10-12", "categories": []} {"id": "2211.14669", "title": "Game Theoretic Mixed Experts for Combinational Adversarial Machine\n Learning", "abstract": " Recent advances in adversarial machine learning have shown that defenses\nconsidered to be robust are actually susceptible to adversarial attacks which\nare specifically customized to target their weaknesses. These defenses include\nBarrage of Random Transforms (BaRT), Friendly Adversarial Training (FAT), Trash\nis Treasure (TiT) and ensemble models made up of Vision Transformers (ViTs),\nBig Transfer models and Spiking Neural Networks (SNNs). We first conduct a\ntransferability analysis, to demonstrate the adversarial examples generated by\ncustomized attacks on one defense, are not often misclassified by another\ndefense.\n This finding leads to two important questions. First, how can the low\ntransferability between defenses be utilized in a game theoretic framework to\nimprove the robustness? Second, how can an adversary within this framework\ndevelop effective multi-model attacks? In this paper, we provide a\ngame-theoretic framework for ensemble adversarial attacks and defenses. Our\nframework is called Game theoretic Mixed Experts (GaME). It is designed to find\nthe Mixed-Nash strategy for both a detector based and standard defender, when\nfacing an attacker employing compositional adversarial attacks. We further\npropose three new attack algorithms, specifically designed to target defenses\nwith randomized transformations, multi-model voting schemes, and adversarial\ndetector architectures. These attacks serve to both strengthen defenses\ngenerated by the GaME framework and verify their robustness against unforeseen\nattacks. Overall, our framework and analyses advance the field of adversarial\nmachine learning by yielding new insights into compositional attack and defense\nformulations.\n", "date": "2022-11-26", "categories": []} {"id": "2304.13919", "title": "Detection of Adversarial Physical Attacks in Time-Series Image Data", "abstract": " Deep neural networks (DNN) have become a common sensing modality in\nautonomous systems as they allow for semantically perceiving the ambient\nenvironment given input images. Nevertheless, DNN models have proven to be\nvulnerable to adversarial digital and physical attacks. To mitigate this issue,\nseveral detection frameworks have been proposed to detect whether a single\ninput image has been manipulated by adversarial digital noise or not. In our\nprior work, we proposed a real-time detector, called VisionGuard (VG), for\nadversarial physical attacks against single input images to DNN models.\nBuilding upon that work, we propose VisionGuard* (VG), which couples VG with\nmajority-vote methods, to detect adversarial physical attacks in time-series\nimage data, e.g., videos. This is motivated by autonomous systems applications\nwhere images are collected over time using onboard sensors for decision-making\npurposes. We emphasize that majority-vote mechanisms are quite common in\nautonomous system applications (among many other applications), as e.g., in\nautonomous driving stacks for object detection. In this paper, we investigate,\nboth theoretically and experimentally, how this widely used mechanism can be\nleveraged to enhance the performance of adversarial detectors. We have\nevaluated VG* on videos of both clean and physically attacked traffic signs\ngenerated by a state-of-the-art robust physical attack. We provide extensive\ncomparative experiments against detectors that have been designed originally\nfor out-of-distribution data and digitally attacked images.\n", "date": "2023-04-27", "categories": []} {"id": "2207.10283", "title": "One-vs-the-Rest Loss to Focus on Important Samples in Adversarial\n Training", "abstract": " This paper proposes a new loss function for adversarial training. Since\nadversarial training has difficulties, e.g., necessity of high model capacity,\nfocusing on important data points by weighting cross-entropy loss has attracted\nmuch attention. However, they are vulnerable to sophisticated attacks, e.g.,\nAuto-Attack. This paper experimentally reveals that the cause of their\nvulnerability is their small margins between logits for the true label and the\nother labels. Since neural networks classify the data points based on the\nlogits, logit margins should be large enough to avoid flipping the largest\nlogit by the attacks. Importance-aware methods do not increase logit margins of\nimportant samples but decrease those of less-important samples compared with\ncross-entropy loss. To increase logit margins of important samples, we propose\nswitching one-vs-the-rest loss (SOVR), which switches from cross-entropy to\none-vs-the-rest loss for important samples that have small logit margins. We\nprove that one-vs-the-rest loss increases logit margins two times larger than\nthe weighted cross-entropy loss for a simple problem. We experimentally confirm\nthat SOVR increases logit margins of important samples unlike existing methods\nand achieves better robustness against Auto-Attack than importance-aware\nmethods.\n", "date": "2022-07-21", "categories": []} {"id": "2209.03839", "title": "FADE: Enabling Federated Adversarial Training on Heterogeneous\n Resource-Constrained Edge Devices", "abstract": " Federated adversarial training can effectively complement adversarial\nrobustness into the privacy-preserving federated learning systems. However, the\nhigh demand for memory capacity and computing power makes large-scale federated\nadversarial training infeasible on resource-constrained edge devices. Few\nprevious studies in federated adversarial training have tried to tackle both\nmemory and computational constraints simultaneously. In this paper, we propose\na new framework named Federated Adversarial Decoupled Learning (FADE) to enable\nAT on heterogeneous resource-constrained edge devices. FADE differentially\ndecouples the entire model into small modules to fit into the resource budget\nof each device, and each device only needs to perform AT on a single module in\neach communication round. We also propose an auxiliary weight decay to\nalleviate objective inconsistency and achieve better accuracy-robustness\nbalance in FADE. FADE offers theoretical guarantees for convergence and\nadversarial robustness, and our experimental results show that FADE can\nsignificantly reduce the consumption of memory and computing power while\nmaintaining accuracy and robustness.\n", "date": "2022-09-08", "categories": []} {"id": "2207.07209", "title": "Sound Randomized Smoothing in Floating-Point Arithmetics", "abstract": " Randomized smoothing is sound when using infinite precision. However, we show\nthat randomized smoothing is no longer sound for limited floating-point\nprecision. We present a simple example where randomized smoothing certifies a\nradius of $1.26$ around a point, even though there is an adversarial example in\nthe distance $0.8$ and extend this example further to provide false\ncertificates for CIFAR10. We discuss the implicit assumptions of randomized\nsmoothing and show that they do not apply to generic image classification\nmodels whose smoothed versions are commonly certified. In order to overcome\nthis problem, we propose a sound approach to randomized smoothing when using\nfloating-point precision with essentially equal speed and matching the\ncertificates of the standard, unsound practice for standard classifiers tested\nso far. Our only assumption is that we have access to a fair coin.\n", "date": "2022-07-14", "categories": []} {"id": "2304.03973", "title": "RobCaps: Evaluating the Robustness of Capsule Networks against Affine\n Transformations and Adversarial Attacks", "abstract": " Capsule Networks (CapsNets) are able to hierarchically preserve the pose\nrelationships between multiple objects for image classification tasks. Other\nthan achieving high accuracy, another relevant factor in deploying CapsNets in\nsafety-critical applications is the robustness against input transformations\nand malicious adversarial attacks.\n In this paper, we systematically analyze and evaluate different factors\naffecting the robustness of CapsNets, compared to traditional Convolutional\nNeural Networks (CNNs). Towards a comprehensive comparison, we test two CapsNet\nmodels and two CNN models on the MNIST, GTSRB, and CIFAR10 datasets, as well as\non the affine-transformed versions of such datasets. With a thorough analysis,\nwe show which properties of these architectures better contribute to increasing\nthe robustness and their limitations. Overall, CapsNets achieve better\nrobustness against adversarial examples and affine transformations, compared to\na traditional CNN with a similar number of parameters. Similar conclusions have\nbeen derived for deeper versions of CapsNets and CNNs. Moreover, our results\nunleash a key finding that the dynamic routing does not contribute much to\nimproving the CapsNets' robustness. Indeed, the main generalization\ncontribution is due to the hierarchical feature learning through capsules.\n", "date": "2023-04-08", "categories": []} {"id": "2304.12829", "title": "Improving Robustness Against Adversarial Attacks with Deeply Quantized\n Neural Networks", "abstract": " Reducing the memory footprint of Machine Learning (ML) models, particularly\nDeep Neural Networks (DNNs), is essential to enable their deployment into\nresource-constrained tiny devices. However, a disadvantage of DNN models is\ntheir vulnerability to adversarial attacks, as they can be fooled by adding\nslight perturbations to the inputs. Therefore, the challenge is how to create\naccurate, robust, and tiny DNN models deployable on resource-constrained\nembedded devices. This paper reports the results of devising a tiny DNN model,\nrobust to adversarial black and white box attacks, trained with an automatic\nquantizationaware training framework, i.e. QKeras, with deep quantization loss\naccounted in the learning loop, thereby making the designed DNNs more accurate\nfor deployment on tiny devices. We investigated how QKeras and an adversarial\nrobustness technique, Jacobian Regularization (JR), can provide a\nco-optimization strategy by exploiting the DNN topology and the per layer JR\napproach to produce robust yet tiny deeply quantized DNN models. As a result, a\nnew DNN model implementing this cooptimization strategy was conceived,\ndeveloped and tested on three datasets containing both images and audio inputs,\nas well as compared its performance with existing benchmarks against various\nwhite-box and black-box attacks. Experimental results demonstrated that on\naverage our proposed DNN model resulted in 8.3% and 79.5% higher accuracy than\nMLCommons/Tiny benchmarks in the presence of white-box and black-box attacks on\nthe CIFAR-10 image dataset and a subset of the Google Speech Commands audio\ndataset respectively. It was also 6.5% more accurate for black-box attacks on\nthe SVHN image dataset.\n", "date": "2023-04-25", "categories": []} {"id": "2304.13019", "title": "Certifying Ensembles: A General Certification Theory with\n S-Lipschitzness", "abstract": " Improving and guaranteeing the robustness of deep learning models has been a\ntopic of intense research. Ensembling, which combines several classifiers to\nprovide a better model, has shown to be beneficial for generalisation,\nuncertainty estimation, calibration, and mitigating the effects of concept\ndrift. However, the impact of ensembling on certified robustness is less well\nunderstood. In this work, we generalise Lipschitz continuity by introducing\nS-Lipschitz classifiers, which we use to analyse the theoretical robustness of\nensembles. Our results are precise conditions when ensembles of robust\nclassifiers are more robust than any constituent classifier, as well as\nconditions when they are less robust.\n", "date": "2023-04-25", "categories": []} {"id": "2304.11579", "title": "StyLess: Boosting the Transferability of Adversarial Examples", "abstract": " Adversarial attacks can mislead deep neural networks (DNNs) by adding\nimperceptible perturbations to benign examples. The attack transferability\nenables adversarial examples to attack black-box DNNs with unknown\narchitectures or parameters, which poses threats to many real-world\napplications. We find that existing transferable attacks do not distinguish\nbetween style and content features during optimization, limiting their attack\ntransferability. To improve attack transferability, we propose a novel attack\nmethod called style-less perturbation (StyLess). Specifically, instead of using\na vanilla network as the surrogate model, we advocate using stylized networks,\nwhich encode different style features by perturbing an adaptive instance\nnormalization. Our method can prevent adversarial examples from using\nnon-robust style features and help generate transferable perturbations.\nComprehensive experiments show that our method can significantly improve the\ntransferability of adversarial examples. Furthermore, our approach is generic\nand can outperform state-of-the-art transferable attacks when combined with\nother attack techniques.\n", "date": "2023-04-23", "categories": []} {"id": "2212.07016", "title": "Understanding Zero-Shot Adversarial Robustness for Large-Scale Models", "abstract": " Pretrained large-scale vision-language models like CLIP have exhibited strong\ngeneralization over unseen tasks. Yet imperceptible adversarial perturbations\ncan significantly reduce CLIP's performance on new tasks. In this work, we\nidentify and explore the problem of \\emph{adapting large-scale models for\nzero-shot adversarial robustness}. We first identify two key factors during\nmodel adaption -- training losses and adaptation methods -- that affect the\nmodel's zero-shot adversarial robustness. We then propose a text-guided\ncontrastive adversarial training loss, which aligns the text embeddings and the\nadversarial visual features with contrastive learning on a small set of\ntraining data. We apply this training loss to two adaption methods, model\nfinetuning and visual prompt tuning. We find that visual prompt tuning is more\neffective in the absence of texts, while finetuning wins in the existence of\ntext guidance. Overall, our approach significantly improves the zero-shot\nadversarial robustness over CLIP, seeing an average improvement of over 31\npoints over ImageNet and 15 zero-shot datasets. We hope this work can shed\nlight on understanding the zero-shot adversarial robustness of large-scale\nmodels.\n", "date": "2022-12-14", "categories": []} {"id": "2304.10029", "title": "Jedi: Entropy-based Localization and Removal of Adversarial Patches", "abstract": " Real-world adversarial physical patches were shown to be successful in\ncompromising state-of-the-art models in a variety of computer vision\napplications. Existing defenses that are based on either input gradient or\nfeatures analysis have been compromised by recent GAN-based attacks that\ngenerate naturalistic patches. In this paper, we propose Jedi, a new defense\nagainst adversarial patches that is resilient to realistic patch attacks. Jedi\ntackles the patch localization problem from an information theory perspective;\nleverages two new ideas: (1) it improves the identification of potential patch\nregions using entropy analysis: we show that the entropy of adversarial patches\nis high, even in naturalistic patches; and (2) it improves the localization of\nadversarial patches, using an autoencoder that is able to complete patch\nregions from high entropy kernels. Jedi achieves high-precision adversarial\npatch localization, which we show is critical to successfully repair the\nimages. Since Jedi relies on an input entropy analysis, it is model-agnostic,\nand can be applied on pre-trained off-the-shelf models without changes to the\ntraining or inference of the protected models. Jedi detects on average 90% of\nadversarial patches across different benchmarks and recovers up to 94% of\nsuccessful patch attacks (Compared to 75% and 65% for LGS and Jujutsu,\nrespectively).\n", "date": "2023-04-20", "categories": []} {"id": "2304.10446", "title": "Certified Adversarial Robustness Within Multiple Perturbation Bounds", "abstract": " Randomized smoothing (RS) is a well known certified defense against\nadversarial attacks, which creates a smoothed classifier by predicting the most\nlikely class under random noise perturbations of inputs during inference. While\ninitial work focused on robustness to $\\ell_2$ norm perturbations using noise\nsampled from a Gaussian distribution, subsequent works have shown that\ndifferent noise distributions can result in robustness to other $\\ell_p$ norm\nbounds as well. In general, a specific noise distribution is optimal for\ndefending against a given $\\ell_p$ norm based attack. In this work, we aim to\nimprove the certified adversarial robustness against multiple perturbation\nbounds simultaneously. Towards this, we firstly present a novel\n\\textit{certification scheme}, that effectively combines the certificates\nobtained using different noise distributions to obtain optimal results against\nmultiple perturbation bounds. We further propose a novel \\textit{training noise\ndistribution} along with a \\textit{regularized training scheme} to improve the\ncertification within both $\\ell_1$ and $\\ell_2$ perturbation norms\nsimultaneously. Contrary to prior works, we compare the certified robustness of\ndifferent training algorithms across the same natural (clean) accuracy, rather\nthan across fixed noise levels used for training and certification. We also\nempirically invalidate the argument that training and certifying the classifier\nwith the same amount of noise gives the best results. The proposed approach\nachieves improvements on the ACR (Average Certified Radius) metric across both\n$\\ell_1$ and $\\ell_2$ perturbation bounds.\n", "date": "2023-04-20", "categories": []} {"id": "2304.06326", "title": "Understanding Overfitting in Adversarial Training via Kernel Regression", "abstract": " Adversarial training and data augmentation with noise are widely adopted\ntechniques to enhance the performance of neural networks. This paper\ninvestigates adversarial training and data augmentation with noise in the\ncontext of regularized regression in a reproducing kernel Hilbert space (RKHS).\nWe establish the limiting formula for these techniques as the attack and noise\nsize, as well as the regularization parameter, tend to zero. Based on this\nlimiting formula, we analyze specific scenarios and demonstrate that, without\nappropriate regularization, these two methods may have larger generalization\nerror and Lipschitz constant than standard kernel regression. However, by\nselecting the appropriate regularization parameter, these two methods can\noutperform standard kernel regression and achieve smaller generalization error\nand Lipschitz constant. These findings support the empirical observations that\nadversarial training can lead to overfitting, and appropriate regularization\nmethods, such as early stopping, can alleviate this issue.\n", "date": "2023-04-13", "categories": []} {"id": "2304.09403", "title": "Wavelets Beat Monkeys at Adversarial Robustness", "abstract": " Research on improving the robustness of neural networks to adversarial noise\n- imperceptible malicious perturbations of the data - has received significant\nattention. The currently uncontested state-of-the-art defense to obtain robust\ndeep neural networks is Adversarial Training (AT), but it consumes\nsignificantly more resources compared to standard training and trades off\naccuracy for robustness. An inspiring recent work [Dapello et al.] aims to\nbring neurobiological tools to the question: How can we develop Neural Nets\nthat robustly generalize like human vision? [Dapello et al.] design a network\nstructure with a neural hidden first layer that mimics the primate primary\nvisual cortex (V1), followed by a back-end structure adapted from current CNN\nvision models. It seems to achieve non-trivial adversarial robustness on\nstandard vision benchmarks when tested on small perturbations. Here we revisit\nthis biologically inspired work, and ask whether a principled parameter-free\nrepresentation with inspiration from physics is able to achieve the same goal.\nWe discover that the wavelet scattering transform can replace the complex\nV1-cortex and simple uniform Gaussian noise can take the role of neural\nstochasticity, to achieve adversarial robustness. In extensive experiments on\nthe CIFAR-10 benchmark with adaptive adversarial attacks we show that: 1)\nRobustness of VOneBlock architectures is relatively weak (though non-zero) when\nthe strength of the adversarial attack radius is set to commonly used\nbenchmarks. 2) Replacing the front-end VOneBlock by an off-the-shelf\nparameter-free Scatternet followed by simple uniform Gaussian noise can achieve\nmuch more substantial adversarial robustness without adversarial training. Our\nwork shows how physically inspired structures yield new insights into\nrobustness that were previously only thought possible by meticulously mimicking\nthe human cortex.\n", "date": "2023-04-19", "categories": []} {"id": "2304.08811", "title": "Towards the Transferable Audio Adversarial Attack via Ensemble Methods", "abstract": " In recent years, deep learning (DL) models have achieved significant progress\nin many domains, such as autonomous driving, facial recognition, and speech\nrecognition. However, the vulnerability of deep learning models to adversarial\nattacks has raised serious concerns in the community because of their\ninsufficient robustness and generalization. Also, transferable attacks have\nbecome a prominent method for black-box attacks. In this work, we explore the\npotential factors that impact adversarial examples (AEs) transferability in\nDL-based speech recognition. We also discuss the vulnerability of different DL\nsystems and the irregular nature of decision boundaries. Our results show a\nremarkable difference in the transferability of AEs between speech and images,\nwith the data relevance being low in images but opposite in speech recognition.\nMotivated by dropout-based ensemble approaches, we propose random gradient\nensembles and dynamic gradient-weighted ensembles, and we evaluate the impact\nof ensembles on the transferability of AEs. The results show that the AEs\ncreated by both approaches are valid for transfer to the black box API.\n", "date": "2023-04-18", "categories": []} {"id": "2209.12195", "title": "Employing Deep Ensemble Learning for Improving the Security of Computer\n Networks against Adversarial Attacks", "abstract": " In the past few years, Convolutional Neural Networks (CNN) have demonstrated\npromising performance in various real-world cybersecurity applications, such as\nnetwork and multimedia security. However, the underlying fragility of CNN\nstructures poses major security problems, making them inappropriate for use in\nsecurity-oriented applications including such computer networks. Protecting\nthese architectures from adversarial attacks necessitates using security-wise\narchitectures that are challenging to attack.\n In this study, we present a novel architecture based on an ensemble\nclassifier that combines the enhanced security of 1-Class classification (known\nas 1C) with the high performance of conventional 2-Class classification (known\nas 2C) in the absence of attacks.Our architecture is referred to as the\n1.5-Class (SPRITZ-1.5C) classifier and constructed using a final dense\nclassifier, one 2C classifier (i.e., CNNs), and two parallel 1C classifiers\n(i.e., auto-encoders). In our experiments, we evaluated the robustness of our\nproposed architecture by considering eight possible adversarial attacks in\nvarious scenarios. We performed these attacks on the 2C and SPRITZ-1.5C\narchitectures separately. The experimental results of our study showed that the\nAttack Success Rate (ASR) of the I-FGSM attack against a 2C classifier trained\nwith the N-BaIoT dataset is 0.9900. In contrast, the ASR is 0.0000 for the\nSPRITZ-1.5C classifier.\n", "date": "2022-09-25", "categories": []} {"id": "2210.15997", "title": "Universal Adversarial Directions", "abstract": " Despite their great success in image recognition tasks, deep neural networks\n(DNNs) have been observed to be susceptible to universal adversarial\nperturbations (UAPs) which perturb all input samples with a single perturbation\nvector. However, UAPs often struggle in transferring across DNN architectures\nand lead to challenging optimization problems. In this work, we study the\ntransferability of UAPs by analyzing equilibrium in the universal adversarial\nexample game between the classifier and UAP adversary players. We show that\nunder mild assumptions the universal adversarial example game lacks a pure Nash\nequilibrium, indicating UAPs' suboptimal transferability across DNN\nclassifiers. To address this issue, we propose Universal Adversarial Directions\n(UADs) which only fix a universal direction for adversarial perturbations and\nallow the perturbations' magnitude to be chosen freely across samples. We prove\nthat the UAD adversarial example game can possess a Nash equilibrium with a\npure UAD strategy, implying the potential transferability of UADs. We also\nconnect the UAD optimization problem to the well-known principal component\nanalysis (PCA) and develop an efficient PCA-based algorithm for optimizing\nUADs. We evaluate UADs over multiple benchmark image datasets. Our numerical\nresults show the superior transferability of UADs over standard gradient-based\nUAPs.\n", "date": "2022-10-28", "categories": []} {"id": "2211.17071", "title": "Interpreting Vulnerabilities of Multi-Instance Learning to Adversarial\n Perturbations", "abstract": " Multi-Instance Learning (MIL) is a recent machine learning paradigm which is\nimmensely useful in various real-life applications, like image analysis, video\nanomaly detection, text classification, etc. It is well known that most of the\nexisting machine learning classifiers are highly vulnerable to adversarial\nperturbations. Since MIL is a weakly supervised learning, where information is\navailable for a set of instances, called bag and not for every instances,\nadversarial perturbations can be fatal. In this paper, we have proposed two\nadversarial perturbation methods to analyze the effect of adversarial\nperturbations to interpret the vulnerability of MIL methods. Out of the two\nalgorithms, one can be customized for every bag, and the other is a universal\none, which can affect all bags in a given data set and thus has some\ngeneralizability. Through simulations, we have also shown the effectiveness of\nthe proposed algorithms to fool the state-of-the-art (SOTA) MIL methods.\nFinally, we have discussed through experiments, about taking care of these kind\nof adversarial perturbations through a simple strategy. Source codes are\navailable at https://github.com/InkiInki/MI-UAP.\n", "date": "2022-11-30", "categories": []} {"id": "2302.03015", "title": "Exploring and Exploiting Decision Boundary Dynamics for Adversarial\n Robustness", "abstract": " The robustness of a deep classifier can be characterized by its margins: the\ndecision boundary's distances to natural data points. However, it is unclear\nwhether existing robust training methods effectively increase the margin for\neach vulnerable point during training. To understand this, we propose a\ncontinuous-time framework for quantifying the relative speed of the decision\nboundary with respect to each individual point. Through visualizing the moving\nspeed of the decision boundary under Adversarial Training, one of the most\neffective robust training algorithms, a surprising moving-behavior is revealed:\nthe decision boundary moves away from some vulnerable points but simultaneously\nmoves closer to others, decreasing their margins. To alleviate these\nconflicting dynamics of the decision boundary, we propose Dynamics-aware Robust\nTraining (DyART), which encourages the decision boundary to engage in movement\nthat prioritizes increasing smaller margins. In contrast to prior works, DyART\ndirectly operates on the margins rather than their indirect approximations,\nallowing for more targeted and effective robustness improvement. Experiments on\nthe CIFAR-10 and Tiny-ImageNet datasets verify that DyART alleviates the\nconflicting dynamics of the decision boundary and obtains improved robustness\nunder various perturbation sizes compared to the state-of-the-art defenses. Our\ncode is available at\nhttps://github.com/Yuancheng-Xu/Dynamics-Aware-Robust-Training.\n", "date": "2023-02-06", "categories": []} {"id": "2304.07980", "title": "RNN-Guard: Certified Robustness Against Multi-frame Attacks for\n Recurrent Neural Networks", "abstract": " It is well-known that recurrent neural networks (RNNs), although widely used,\nare vulnerable to adversarial attacks including one-frame attacks and\nmulti-frame attacks. Though a few certified defenses exist to provide\nguaranteed robustness against one-frame attacks, we prove that defending\nagainst multi-frame attacks remains a challenging problem due to their enormous\nperturbation space. In this paper, we propose the first certified defense\nagainst multi-frame attacks for RNNs called RNN-Guard. To address the above\nchallenge, we adopt the perturb-all-frame strategy to construct perturbation\nspaces consistent with those in multi-frame attacks. However, the\nperturb-all-frame strategy causes a precision issue in linear relaxations. To\naddress this issue, we introduce a novel abstract domain called InterZono and\ndesign tighter relaxations. We prove that InterZono is more precise than\nZonotope yet carries the same time complexity. Experimental evaluations across\nvarious datasets and model structures show that the certified robust accuracy\ncalculated by RNN-Guard with InterZono is up to 2.18 times higher than that\nwith Zonotope. In addition, we extend RNN-Guard as the first certified training\nmethod against multi-frame attacks to directly enhance RNNs' robustness. The\nresults show that the certified robust accuracy of models trained with\nRNN-Guard against multi-frame attacks is 15.47 to 67.65 percentage points\nhigher than those with other training methods.\n", "date": "2023-04-17", "categories": []} {"id": "2207.09572", "title": "Robust Multivariate Time-Series Forecasting: Adversarial Attacks and\n Defense Mechanisms", "abstract": " This work studies the threats of adversarial attack on multivariate\nprobabilistic forecasting models and viable defense mechanisms. Our studies\ndiscover a new attack pattern that negatively impact the forecasting of a\ntarget time series via making strategic, sparse (imperceptible) modifications\nto the past observations of a small number of other time series. To mitigate\nthe impact of such attack, we have developed two defense strategies. First, we\nextend a previously developed randomized smoothing technique in classification\nto multivariate forecasting scenarios. Second, we develop an adversarial\ntraining algorithm that learns to create adversarial examples and at the same\ntime optimizes the forecasting model to improve its robustness against such\nadversarial simulation. Extensive experiments on real-world datasets confirm\nthat our attack schemes are powerful and our defense algorithms are more\neffective compared with baseline defense mechanisms.\n", "date": "2022-07-19", "categories": []} {"id": "2304.06724", "title": "GradMDM: Adversarial Attack on Dynamic Networks", "abstract": " Dynamic neural networks can greatly reduce computation redundancy without\ncompromising accuracy by adapting their structures based on the input. In this\npaper, we explore the robustness of dynamic neural networks against\nenergy-oriented attacks targeted at reducing their efficiency. Specifically, we\nattack dynamic models with our novel algorithm GradMDM. GradMDM is a technique\nthat adjusts the direction and the magnitude of the gradients to effectively\nfind a small perturbation for each input, that will activate more computational\nunits of dynamic models during inference. We evaluate GradMDM on multiple\ndatasets and dynamic models, where it outperforms previous energy-oriented\nattack techniques, significantly increasing computation complexity while\nreducing the perceptibility of the perturbations.\n", "date": "2023-04-01", "categories": []} {"id": "2304.06908", "title": "Generating Adversarial Examples with Better Transferability via Masking\n Unimportant Parameters of Surrogate Model", "abstract": " Deep neural networks (DNNs) have been shown to be vulnerable to adversarial\nexamples. Moreover, the transferability of the adversarial examples has\nreceived broad attention in recent years, which means that adversarial examples\ncrafted by a surrogate model can also attack unknown models. This phenomenon\ngave birth to the transfer-based adversarial attacks, which aim to improve the\ntransferability of the generated adversarial examples. In this paper, we\npropose to improve the transferability of adversarial examples in the\ntransfer-based attack via masking unimportant parameters (MUP). The key idea in\nMUP is to refine the pretrained surrogate models to boost the transfer-based\nattack. Based on this idea, a Taylor expansion-based metric is used to evaluate\nthe parameter importance score and the unimportant parameters are masked during\nthe generation of adversarial examples. This process is simple, yet can be\nnaturally combined with various existing gradient-based optimizers for\ngenerating adversarial examples, thus further improving the transferability of\nthe generated adversarial examples. Extensive experiments are conducted to\nvalidate the effectiveness of the proposed MUP-based methods.\n", "date": "2023-04-14", "categories": []} {"id": "2304.06919", "title": "Interpretability is a Kind of Safety: An Interpreter-based Ensemble for\n Adversary Defense", "abstract": " While having achieved great success in rich real-life applications, deep\nneural network (DNN) models have long been criticized for their vulnerability\nto adversarial attacks. Tremendous research efforts have been dedicated to\nmitigating the threats of adversarial attacks, but the essential trait of\nadversarial examples is not yet clear, and most existing methods are yet\nvulnerable to hybrid attacks and suffer from counterattacks. In light of this,\nin this paper, we first reveal a gradient-based correlation between sensitivity\nanalysis-based DNN interpreters and the generation process of adversarial\nexamples, which indicates the Achilles's heel of adversarial attacks and sheds\nlight on linking together the two long-standing challenges of DNN: fragility\nand unexplainability. We then propose an interpreter-based ensemble framework\ncalled X-Ensemble for robust adversary defense. X-Ensemble adopts a novel\ndetection-rectification process and features in building multiple sub-detectors\nand a rectifier upon various types of interpretation information toward target\nclassifiers. Moreover, X-Ensemble employs the Random Forests (RF) model to\ncombine sub-detectors into an ensemble detector for adversarial hybrid attacks\ndefense. The non-differentiable property of RF further makes it a precious\nchoice against the counterattack of adversaries. Extensive experiments under\nvarious types of state-of-the-art attacks and diverse attack scenarios\ndemonstrate the advantages of X-Ensemble to competitive baseline methods.\n", "date": "2023-04-14", "categories": []} {"id": "2209.03716", "title": "Enhancing the Self-Universality for Transferable Targeted Attacks", "abstract": " In this paper, we propose a novel transfer-based targeted attack method that\noptimizes the adversarial perturbations without any extra training efforts for\nauxiliary networks on training data. Our new attack method is proposed based on\nthe observation that highly universal adversarial perturbations tend to be more\ntransferable for targeted attacks. Therefore, we propose to make the\nperturbation to be agnostic to different local regions within one image, which\nwe called as self-universality. Instead of optimizing the perturbations on\ndifferent images, optimizing on different regions to achieve self-universality\ncan get rid of using extra data. Specifically, we introduce a feature\nsimilarity loss that encourages the learned perturbations to be universal by\nmaximizing the feature similarity between adversarial perturbed global images\nand randomly cropped local regions. With the feature similarity loss, our\nmethod makes the features from adversarial perturbations to be more dominant\nthan that of benign images, hence improving targeted transferability. We name\nthe proposed attack method as Self-Universality (SU) attack. Extensive\nexperiments demonstrate that SU can achieve high success rates for\ntransfer-based targeted attacks. On ImageNet-compatible dataset, SU yields an\nimprovement of 12\\% compared with existing state-of-the-art methods. Code is\navailable at https://github.com/zhipeng-wei/Self-Universality.\n", "date": "2022-09-08", "categories": []} {"id": "2304.06575", "title": "Adversarial Examples from Dimensional Invariance", "abstract": " Adversarial examples have been found for various deep as well as shallow\nlearning models, and have at various times been suggested to be either fixable\nmodel-specific bugs, or else inherent dataset feature, or both. We present\ntheoretical and empirical results to show that adversarial examples are\napproximate discontinuities resulting from models that specify approximately\nbijective maps $f: \\Bbb R^n \\to \\Bbb R^m; n \\neq m$ over their inputs, and this\ndiscontinuity follows from the topological invariance of dimension.\n", "date": "2023-04-13", "categories": []} {"id": "2304.05402", "title": "Boosting Cross-task Transferability of Adversarial Patches with Visual\n Relations", "abstract": " The transferability of adversarial examples is a crucial aspect of evaluating\nthe robustness of deep learning systems, particularly in black-box scenarios.\nAlthough several methods have been proposed to enhance cross-model\ntransferability, little attention has been paid to the transferability of\nadversarial examples across different tasks. This issue has become increasingly\nrelevant with the emergence of foundational multi-task AI systems such as\nVisual ChatGPT, rendering the utility of adversarial samples generated by a\nsingle task relatively limited. Furthermore, these systems often entail\ninferential functions beyond mere recognition-like tasks. To address this gap,\nwe propose a novel Visual Relation-based cross-task Adversarial Patch\ngeneration method called VRAP, which aims to evaluate the robustness of various\nvisual tasks, especially those involving visual reasoning, such as Visual\nQuestion Answering and Image Captioning. VRAP employs scene graphs to combine\nobject recognition-based deception with predicate-based relations elimination,\nthereby disrupting the visual reasoning information shared among inferential\ntasks. Our extensive experiments demonstrate that VRAP significantly surpasses\nprevious methods in terms of black-box transferability across diverse visual\nreasoning tasks.\n", "date": "2023-04-11", "categories": []} {"id": "2303.14173", "title": "How many dimensions are required to find an adversarial example?", "abstract": " Past work exploring adversarial vulnerability have focused on situations\nwhere an adversary can perturb all dimensions of model input. On the other\nhand, a range of recent works consider the case where either (i) an adversary\ncan perturb a limited number of input parameters or (ii) a subset of modalities\nin a multimodal problem. In both of these cases, adversarial examples are\neffectively constrained to a subspace $V$ in the ambient input space\n$\\mathcal{X}$. Motivated by this, in this work we investigate how adversarial\nvulnerability depends on $\\dim(V)$. In particular, we show that the adversarial\nsuccess of standard PGD attacks with $\\ell^p$ norm constraints behaves like a\nmonotonically increasing function of $\\epsilon (\\frac{\\dim(V)}{\\dim\n\\mathcal{X}})^{\\frac{1}{q}}$ where $\\epsilon$ is the perturbation budget and\n$\\frac{1}{p} + \\frac{1}{q} =1$, provided $p > 1$ (the case $p=1$ presents\nadditional subtleties which we analyze in some detail). This functional form\ncan be easily derived from a simple toy linear model, and as such our results\nland further credence to arguments that adversarial examples are endemic to\nlocally linear models on high dimensional spaces.\n", "date": "2023-03-24", "categories": []} {"id": "2304.05048", "title": "Simultaneous Adversarial Attacks On Multiple Face Recognition System\n Components", "abstract": " In this work, we investigate the potential threat of adversarial examples to\nthe security of face recognition systems. Although previous research has\nexplored the adversarial risk to individual components of FRSs, our study\npresents an initial exploration of an adversary simultaneously fooling multiple\ncomponents: the face detector and feature extractor in an FRS pipeline. We\npropose three multi-objective attacks on FRSs and demonstrate their\neffectiveness through a preliminary experimental analysis on a target system.\nOur attacks achieved up to 100% Attack Success Rates against both the face\ndetector and feature extractor and were able to manipulate the face detection\nprobability by up to 50% depending on the adversarial objective. This research\nidentifies and examines novel attack vectors against FRSs and suggests possible\nways to augment the robustness by leveraging the attack vector's knowledge\nduring training of an FRS's components.\n", "date": "2023-04-11", "categories": []} {"id": "2304.05098", "title": "Benchmarking the Physical-world Adversarial Robustness of Vehicle\n Detection", "abstract": " Adversarial attacks in the physical world can harm the robustness of\ndetection models. Evaluating the robustness of detection models in the physical\nworld can be challenging due to the time-consuming and labor-intensive nature\nof many experiments. Thus, virtual simulation experiments can provide a\nsolution to this challenge. However, there is no unified detection benchmark\nbased on virtual simulation environment. To address this challenge, we proposed\nan instant-level data generation pipeline based on the CARLA simulator. Using\nthis pipeline, we generated the DCI dataset and conducted extensive experiments\non three detection models and three physical adversarial attacks. The dataset\ncovers 7 continuous and 1 discrete scenes, with over 40 angles, 20 distances,\nand 20,000 positions. The results indicate that Yolo v6 had strongest\nresistance, with only a 6.59% average AP drop, and ASA was the most effective\nattack algorithm with a 14.51% average AP reduction, twice that of other\nalgorithms. Static scenes had higher recognition AP, and results under\ndifferent weather conditions were similar. Adversarial attack algorithm\nimprovement may be approaching its 'limitation'.\n", "date": "2023-04-11", "categories": []} {"id": "2301.06083", "title": "Discrete Point-wise Attack Is Not Enough: Generalized Manifold\n Adversarial Attack for Face Recognition", "abstract": " Classical adversarial attacks for Face Recognition (FR) models typically\ngenerate discrete examples for target identity with a single state image.\nHowever, such paradigm of point-wise attack exhibits poor generalization\nagainst numerous unknown states of identity and can be easily defended. In this\npaper, by rethinking the inherent relationship between the face of target\nidentity and its variants, we introduce a new pipeline of Generalized Manifold\nAdversarial Attack (GMAA) to achieve a better attack performance by expanding\nthe attack range. Specifically, this expansion lies on two aspects - GMAA not\nonly expands the target to be attacked from one to many to encourage a good\ngeneralization ability for the generated adversarial examples, but it also\nexpands the latter from discrete points to manifold by leveraging the domain\nknowledge that face expression change can be continuous, which enhances the\nattack effect as a data augmentation mechanism did. Moreover, we further design\na dual supervision with local and global constraints as a minor contribution to\nimprove the visual quality of the generated adversarial examples. We\ndemonstrate the effectiveness of our method based on extensive experiments, and\nreveal that GMAA promises a semantic continuous adversarial space with a higher\ngeneralization ability and visual quality\n", "date": "2022-12-19", "categories": []} {"id": "2304.02234", "title": "JPEG Compressed Images Can Bypass Protections Against AI Editing", "abstract": " Recently developed text-to-image diffusion models make it easy to edit or\ncreate high-quality images. Their ease of use has raised concerns about the\npotential for malicious editing or deepfake creation. Imperceptible\nperturbations have been proposed as a means of protecting images from malicious\nediting by preventing diffusion models from generating realistic images.\nHowever, we find that the aforementioned perturbations are not robust to JPEG\ncompression, which poses a major weakness because of the common usage and\navailability of JPEG. We discuss the importance of robustness for additive\nimperceptible perturbations and encourage alternative approaches to protect\nimages against editing.\n", "date": "2023-04-05", "categories": []} {"id": "2304.03955", "title": "Robust Deep Learning Models Against Semantic-Preserving Adversarial\n Attack", "abstract": " Deep learning models can be fooled by small $l_p$-norm adversarial\nperturbations and natural perturbations in terms of attributes. Although the\nrobustness against each perturbation has been explored, it remains a challenge\nto address the robustness against joint perturbations effectively. In this\npaper, we study the robustness of deep learning models against joint\nperturbations by proposing a novel attack mechanism named Semantic-Preserving\nAdversarial (SPA) attack, which can then be used to enhance adversarial\ntraining. Specifically, we introduce an attribute manipulator to generate\nnatural and human-comprehensible perturbations and a noise generator to\ngenerate diverse adversarial noises. Based on such combined noises, we optimize\nboth the attribute value and the diversity variable to generate\njointly-perturbed samples. For robust training, we adversarially train the deep\nlearning model against the generated joint perturbations. Empirical results on\nfour benchmarks show that the SPA attack causes a larger performance decline\nwith small $l_{\\infty}$ norm-ball constraints compared to existing approaches.\nFurthermore, our SPA-enhanced training outperforms existing defense methods\nagainst such joint perturbations.\n", "date": "2023-04-08", "categories": []} {"id": "2304.04228", "title": "Unsupervised Multi-Criteria Adversarial Detection in Deep Image\n Retrieval", "abstract": " The vulnerability in the algorithm supply chain of deep learning has imposed\nnew challenges to image retrieval systems in the downstream. Among a variety of\ntechniques, deep hashing is gaining popularity. As it inherits the algorithmic\nbackend from deep learning, a handful of attacks are recently proposed to\ndisrupt normal image retrieval. Unfortunately, the defense strategies in\nsoftmax classification are not readily available to be applied in the image\nretrieval domain. In this paper, we propose an efficient and unsupervised\nscheme to identify unique adversarial behaviors in the hamming space. In\nparticular, we design three criteria from the perspectives of hamming distance,\nquantization loss and denoising to defend against both untargeted and targeted\nattacks, which collectively limit the adversarial space. The extensive\nexperiments on four datasets demonstrate 2-23% improvements of detection rates\nwith minimum computational overhead for real-time image queries.\n", "date": "2023-04-09", "categories": []} {"id": "2304.04386", "title": "Generating Adversarial Attacks in the Latent Space", "abstract": " Adversarial attacks in the input (pixel) space typically incorporate noise\nmargins such as $L_1$ or $L_{\\infty}$-norm to produce imperceptibly perturbed\ndata that confound deep learning networks. Such noise margins confine the\nmagnitude of permissible noise. In this work, we propose injecting adversarial\nperturbations in the latent (feature) space using a generative adversarial\nnetwork, removing the need for margin-based priors. Experiments on MNIST,\nCIFAR10, Fashion-MNIST, CIFAR100 and Stanford Dogs datasets support the\neffectiveness of the proposed method in generating adversarial attacks in the\nlatent space while ensuring a high degree of visual realism with respect to\npixel-based adversarial attack methods.\n", "date": "2023-04-10", "categories": []} {"id": "2210.15446", "title": "LP-BFGS attack: An adversarial attack based on the Hessian with limited\n pixels", "abstract": " Deep neural networks are vulnerable to adversarial attacks. Most $L_{0}$-norm\nbased white-box attacks craft perturbations by the gradient of models to the\ninput. Since the computation cost and memory limitation of calculating the\nHessian matrix, the application of Hessian or approximate Hessian in white-box\nattacks is gradually shelved. In this work, we note that the sparsity\nrequirement on perturbations naturally lends itself to the usage of Hessian\ninformation. We study the attack performance and computation cost of the attack\nmethod based on the Hessian with a limited number of perturbation pixels.\nSpecifically, we propose the Limited Pixel BFGS (LP-BFGS) attack method by\nincorporating the perturbation pixel selection strategy and the BFGS algorithm.\nPixels with top-k attribution scores calculated by the Integrated Gradient\nmethod are regarded as optimization variables of the LP-BFGS attack.\nExperimental results across different networks and datasets demonstrate that\nour approach has comparable attack ability with reasonable computation in\ndifferent numbers of perturbation pixels compared with existing solutions.\n", "date": "2022-10-26", "categories": []} {"id": "2302.11328", "title": "PAD: Towards Principled Adversarial Malware Detection Against Evasion\n Attacks", "abstract": " Machine Learning (ML) techniques can facilitate the automation of malicious\nsoftware (malware for short) detection, but suffer from evasion attacks. Many\nstudies counter such attacks in heuristic manners, lacking theoretical\nguarantees and defense effectiveness. In this paper, we propose a new\nadversarial training framework, termed Principled Adversarial Malware Detection\n(PAD), which offers convergence guarantees for robust optimization methods. PAD\nlays on a learnable convex measurement that quantifies distribution-wise\ndiscrete perturbations to protect malware detectors from adversaries, whereby\nfor smooth detectors, adversarial training can be performed with theoretical\ntreatments. To promote defense effectiveness, we propose a new mixture of\nattacks to instantiate PAD to enhance deep neural network-based measurements\nand malware detectors. Experimental results on two Android malware datasets\ndemonstrate: (i) the proposed method significantly outperforms the\nstate-of-the-art defenses; (ii) it can harden ML-based malware detection\nagainst 27 evasion attacks with detection accuracies greater than 83.45%, at\nthe price of suffering an accuracy decrease smaller than 2.16% in the absence\nof attacks; (iii) it matches or outperforms many anti-malware scanners in\nVirusTotal against realistic adversarial malware.\n", "date": "2023-02-22", "categories": []} {"id": "2304.00202", "title": "Improving Fast Adversarial Training with Prior-Guided Knowledge", "abstract": " Fast adversarial training (FAT) is an efficient method to improve robustness.\nHowever, the original FAT suffers from catastrophic overfitting, which\ndramatically and suddenly reduces robustness after a few training epochs.\nAlthough various FAT variants have been proposed to prevent overfitting, they\nrequire high training costs. In this paper, we investigate the relationship\nbetween adversarial example quality and catastrophic overfitting by comparing\nthe training processes of standard adversarial training and FAT. We find that\ncatastrophic overfitting occurs when the attack success rate of adversarial\nexamples becomes worse. Based on this observation, we propose a positive\nprior-guided adversarial initialization to prevent overfitting by improving\nadversarial example quality without extra training costs. This initialization\nis generated by using high-quality adversarial perturbations from the\nhistorical training process. We provide theoretical analysis for the proposed\ninitialization and propose a prior-guided regularization method that boosts the\nsmoothness of the loss function. Additionally, we design a prior-guided\nensemble FAT method that averages the different model weights of historical\nmodels using different decay rates. Our proposed method, called FGSM-PGK,\nassembles the prior-guided knowledge, i.e., the prior-guided initialization and\nmodel weights, acquired during the historical training process. Evaluations of\nfour datasets demonstrate the superiority of the proposed method.\n", "date": "2023-04-01", "categories": []} {"id": "2304.02693", "title": "A Certified Radius-Guided Attack Framework to Image Segmentation Models", "abstract": " Image segmentation is an important problem in many safety-critical\napplications. Recent studies show that modern image segmentation models are\nvulnerable to adversarial perturbations, while existing attack methods mainly\nfollow the idea of attacking image classification models. We argue that image\nsegmentation and classification have inherent differences, and design an attack\nframework specially for image segmentation models. Our attack framework is\ninspired by certified radius, which was originally used by defenders to defend\nagainst adversarial perturbations to classification models. We are the first,\nfrom the attacker perspective, to leverage the properties of certified radius\nand propose a certified radius guided attack framework against image\nsegmentation models. Specifically, we first adapt randomized smoothing, the\nstate-of-the-art certification method for classification models, to derive the\npixel's certified radius. We then focus more on disrupting pixels with\nrelatively smaller certified radii and design a pixel-wise certified radius\nguided loss, when plugged into any existing white-box attack, yields our\ncertified radius-guided white-box attack. Next, we propose the first black-box\nattack to image segmentation models via bandit. We design a novel gradient\nestimator, based on bandit feedback, which is query-efficient and provably\nunbiased and stable. We use this gradient estimator to design a projected\nbandit gradient descent (PBGD) attack, as well as a certified radius-guided\nPBGD (CR-PBGD) attack. We prove our PBGD and CR-PBGD attacks can achieve\nasymptotically optimal attack performance with an optimal rate. We evaluate our\ncertified-radius guided white-box and black-box attacks on multiple modern\nimage segmentation models and datasets. Our results validate the effectiveness\nof our certified radius-guided attack framework.\n", "date": "2023-04-05", "categories": []} {"id": "2302.12252", "title": "Boosting Adversarial Transferability using Dynamic Cues", "abstract": " The transferability of adversarial perturbations between image models has\nbeen extensively studied. In this case, an attack is generated from a known\nsurrogate \\eg, the ImageNet trained model, and transferred to change the\ndecision of an unknown (black-box) model trained on an image dataset. However,\nattacks generated from image models do not capture the dynamic nature of a\nmoving object or a changing scene due to a lack of temporal cues within image\nmodels. This leads to reduced transferability of adversarial attacks from\nrepresentation-enriched \\emph{image} models such as Supervised Vision\nTransformers (ViTs), Self-supervised ViTs (\\eg, DINO), and Vision-language\nmodels (\\eg, CLIP) to black-box \\emph{video} models. In this work, we induce\ndynamic cues within the image models without sacrificing their original\nperformance on images. To this end, we optimize \\emph{temporal prompts} through\nfrozen image models to capture motion dynamics. Our temporal prompts are the\nresult of a learnable transformation that allows optimizing for temporal\ngradients during an adversarial attack to fool the motion dynamics.\nSpecifically, we introduce spatial (image) and temporal (video) cues within the\nsame source model through task-specific prompts. Attacking such prompts\nmaximizes the adversarial transferability from image-to-video and\nimage-to-image models using the attacks designed for image models. Our attack\nresults indicate that the attacker does not need specialized architectures,\n\\eg, divided space-time attention, 3D convolutions, or multi-view convolution\nnetworks for different data modalities. Image models are effective surrogates\nto optimize an adversarial attack to fool black-box models in a changing\nenvironment over time. Code is available at https://bit.ly/3Xd9gRQ\n", "date": "2023-02-23", "categories": []} {"id": "2303.06241", "title": "Do we need entire training data for adversarial training?", "abstract": " Deep Neural Networks (DNNs) are being used to solve a wide range of problems\nin many domains including safety-critical domains like self-driving cars and\nmedical imagery. DNNs suffer from vulnerability against adversarial attacks. In\nthe past few years, numerous approaches have been proposed to tackle this\nproblem by training networks using adversarial training. Almost all the\napproaches generate adversarial examples for the entire training dataset, thus\nincreasing the training time drastically. We show that we can decrease the\ntraining time for any adversarial training algorithm by using only a subset of\ntraining data for adversarial training. To select the subset, we filter the\nadversarially-prone samples from the training data. We perform a simple\nadversarial attack on all training examples to filter this subset. In this\nattack, we add a small perturbation to each pixel and a few grid lines to the\ninput image.\n We perform adversarial training on the adversarially-prone subset and mix it\nwith vanilla training performed on the entire dataset. Our results show that\nwhen our method-agnostic approach is plugged into FGSM, we achieve a speedup of\n3.52x on MNIST and 1.98x on the CIFAR-10 dataset with comparable robust\naccuracy. We also test our approach on state-of-the-art Free adversarial\ntraining and achieve a speedup of 1.2x in training time with a marginal drop in\nrobust accuracy on the ImageNet dataset.\n", "date": "2023-03-10", "categories": []} {"id": "2304.01441", "title": "NetFlick: Adversarial Flickering Attacks on Deep Learning Based Video\n Compression", "abstract": " Video compression plays a significant role in IoT devices for the efficient\ntransport of visual data while satisfying all underlying bandwidth constraints.\nDeep learning-based video compression methods are rapidly replacing traditional\nalgorithms and providing state-of-the-art results on edge devices. However,\nrecently developed adversarial attacks demonstrate that digitally crafted\nperturbations can break the Rate-Distortion relationship of video compression.\nIn this work, we present a real-world LED attack to target video compression\nframeworks. Our physically realizable attack, dubbed NetFlick, can degrade the\nspatio-temporal correlation between successive frames by injecting flickering\ntemporal perturbations. In addition, we propose universal perturbations that\ncan downgrade performance of incoming video without prior knowledge of the\ncontents. Experimental results demonstrate that NetFlick can successfully\ndeteriorate the performance of video compression frameworks in both digital-\nand physical-settings and can be further extended to attack downstream video\nclassification networks.\n", "date": "2023-04-04", "categories": []} {"id": "2206.00924", "title": "FACM: Intermediate Layer Still Retain Effective Features against\n Adversarial Examples", "abstract": " In strong adversarial attacks against deep neural networks (DNN), the\ngenerated adversarial example will mislead the DNN-implemented classifier by\ndestroying the output features of the last layer. To enhance the robustness of\nthe classifier, in our paper, a \\textbf{F}eature \\textbf{A}nalysis and\n\\textbf{C}onditional \\textbf{M}atching prediction distribution (FACM) model is\nproposed to utilize the features of intermediate layers to correct the\nclassification. Specifically, we first prove that the intermediate layers of\nthe classifier can still retain effective features for the original category,\nwhich is defined as the correction property in our paper. According to this, we\npropose the FACM model consisting of \\textbf{F}eature \\textbf{A}nalysis (FA)\ncorrection module, \\textbf{C}onditional \\textbf{M}atching \\textbf{P}rediction\n\\textbf{D}istribution (CMPD) correction module and decision module. The FA\ncorrection module is the fully connected layers constructed with the output of\nthe intermediate layers as the input to correct the classification of the\nclassifier. The CMPD correction module is a conditional auto-encoder, which can\nnot only use the output of intermediate layers as the condition to accelerate\nconvergence but also mitigate the negative effect of adversarial example\ntraining with the Kullback-Leibler loss to match prediction distribution.\nThrough the empirically verified diversity property, the correction modules can\nbe implemented synergistically to reduce the adversarial subspace. Hence, the\ndecision module is proposed to integrate the correction modules to enhance the\nDNN classifier's robustness. Specially, our model can be achieved by\nfine-tuning and can be combined with other model-specific defenses.\n", "date": "2022-06-02", "categories": []} {"id": "2206.07179", "title": "Proximal Splitting Adversarial Attacks for Semantic Segmentation", "abstract": " Classification has been the focal point of research on adversarial attacks,\nbut only a few works investigate methods suited to denser prediction tasks,\nsuch as semantic segmentation. The methods proposed in these works do not\naccurately solve the adversarial segmentation problem and, therefore,\noverestimate the size of the perturbations required to fool models. Here, we\npropose a white-box attack for these models based on a proximal splitting to\nproduce adversarial perturbations with much smaller $\\ell_\\infty$ norms. Our\nattack can handle large numbers of constraints within a nonconvex minimization\nframework via an Augmented Lagrangian approach, coupled with adaptive\nconstraint scaling and masking strategies. We demonstrate that our attack\nsignificantly outperforms previously proposed ones, as well as classification\nattacks that we adapted for segmentation, providing a first comprehensive\nbenchmark for this dense task.\n", "date": "2022-06-14", "categories": []} {"id": "2301.13487", "title": "Adversarial Training of Self-supervised Monocular Depth Estimation\n against Physical-World Attacks", "abstract": " Monocular Depth Estimation (MDE) is a critical component in applications such\nas autonomous driving. There are various attacks against MDE networks. These\nattacks, especially the physical ones, pose a great threat to the security of\nsuch systems. Traditional adversarial training method requires ground-truth\nlabels hence cannot be directly applied to self-supervised MDE that does not\nhave ground-truth depth. Some self-supervised model hardening techniques (e.g.,\ncontrastive learning) ignore the domain knowledge of MDE and can hardly achieve\noptimal performance. In this work, we propose a novel adversarial training\nmethod for self-supervised MDE models based on view synthesis without using\nground-truth depth. We improve adversarial robustness against physical-world\nattacks using L0-norm-bounded perturbation in training. We compare our method\nwith supervised learning based and contrastive learning based methods that are\ntailored for MDE. Results on two representative MDE networks show that we\nachieve better robustness against various adversarial attacks with nearly no\nbenign performance degradation.\n", "date": "2023-01-31", "categories": []} {"id": "2303.12848", "title": "Test-time Detection and Repair of Adversarial Samples via Masked\n Autoencoder", "abstract": " Training-time defenses, known as adversarial training, incur high training\ncosts and do not generalize to unseen attacks. Test-time defenses solve these\nissues but most existing test-time defenses require adapting the model weights,\ntherefore they do not work on frozen models and complicate model memory\nmanagement. The only test-time defense that does not adapt model weights aims\nto adapt the input with self-supervision tasks. However, we empirically found\nthese self-supervision tasks are not sensitive enough to detect adversarial\nattacks accurately. In this paper, we propose DRAM, a novel defense method to\ndetect and repair adversarial samples at test time via Masked autoencoder\n(MAE). We demonstrate how to use MAE losses to build a Kolmogorov-Smirnov test\nto detect adversarial samples. Moreover, we use the MAE losses to calculate\ninput reversal vectors that repair adversarial samples resulting from\npreviously unseen attacks. Results on large-scale ImageNet dataset show that,\ncompared to all detection baselines evaluated, DRAM achieves the best detection\nrate (82% on average) on all eight adversarial attacks evaluated. For attack\nrepair, DRAM improves the robust accuracy by 6% ~ 41% for standard ResNet50 and\n3% ~ 8% for robust ResNet50 compared with the baselines that use contrastive\nlearning and rotation prediction.\n", "date": "2023-03-22", "categories": []} {"id": "2303.16378", "title": "A Pilot Study of Query-Free Adversarial Attack against Stable Diffusion", "abstract": " Despite the record-breaking performance in Text-to-Image (T2I) generation by\nStable Diffusion, less research attention is paid to its adversarial\nrobustness. In this work, we study the problem of adversarial attack generation\nfor Stable Diffusion and ask if an adversarial text prompt can be obtained even\nin the absence of end-to-end model queries. We call the resulting problem\n'query-free attack generation'. To resolve this problem, we show that the\nvulnerability of T2I models is rooted in the lack of robustness of text\nencoders, e.g., the CLIP text encoder used for attacking Stable Diffusion.\nBased on such insight, we propose both untargeted and targeted query-free\nattacks, where the former is built on the most influential dimensions in the\ntext embedding space, which we call steerable key dimensions. By leveraging the\nproposed attacks, we empirically show that only a five-character perturbation\nto the text prompt is able to cause the significant content shift of\nsynthesized images using Stable Diffusion. Moreover, we show that the proposed\ntarget attack can precisely steer the diffusion model to scrub the targeted\nimage content without causing much change in untargeted image content. Our code\nis available at https://github.com/OPTML-Group/QF-Attack.\n", "date": "2023-03-29", "categories": []} {"id": "2304.00010", "title": "Towards Reasonable Budget Allocation in Untargeted Graph Structure\n Attacks via Gradient Debias", "abstract": " It has become cognitive inertia to employ cross-entropy loss function in\nclassification related tasks. In the untargeted attacks on graph structure, the\ngradients derived from the attack objective are the attacker's basis for\nevaluating a perturbation scheme. Previous methods use negative cross-entropy\nloss as the attack objective in attacking node-level classification models.\nHowever, the suitability of the cross-entropy function for constructing the\nuntargeted attack objective has yet been discussed in previous works. This\npaper argues about the previous unreasonable attack objective from the\nperspective of budget allocation. We demonstrate theoretically and empirically\nthat negative cross-entropy tends to produce more significant gradients from\nnodes with lower confidence in the labeled classes, even if the predicted\nclasses of these nodes have been misled. To free up these inefficient attack\nbudgets, we propose a simple attack model for untargeted attacks on graph\nstructure based on a novel attack objective which generates unweighted\ngradients on graph structures that are not affected by the node confidence. By\nconducting experiments in gray-box poisoning attack scenarios, we demonstrate\nthat a reasonable budget allocation can significantly improve the effectiveness\nof gradient-based edge perturbations without any extra hyper-parameter.\n", "date": "2023-03-29", "categories": []} {"id": "2304.00061", "title": "To be Robust and to be Fair: Aligning Fairness with Robustness", "abstract": " Adversarial training has been shown to be reliable in improving robustness\nagainst adversarial samples. However, the problem of adversarial training in\nterms of fairness has not yet been properly studied, and the relationship\nbetween fairness and accuracy attack still remains unclear. Can we\nsimultaneously improve robustness w.r.t. both fairness and accuracy? To tackle\nthis topic, in this paper, we study the problem of adversarial training and\nadversarial attack w.r.t. both metrics. We propose a unified structure for\nfairness attack which brings together common notions in group fairness, and we\ntheoretically prove the equivalence of fairness attack against different\nnotions. Moreover, we show the alignment of fairness and accuracy attack, and\ntheoretically demonstrate that robustness w.r.t. one metric benefits from\nrobustness w.r.t. the other metric. Our study suggests a novel way to unify\nadversarial training and attack w.r.t. fairness and accuracy, and experimental\nresults show that our proposed method achieves better performance in terms of\nrobustness w.r.t. both metrics.\n", "date": "2023-03-31", "categories": []} {"id": "2301.12456", "title": "Towards Verifying the Geometric Robustness of Large-scale Neural\n Networks", "abstract": " Deep neural networks (DNNs) are known to be vulnerable to adversarial\ngeometric transformation. This paper aims to verify the robustness of\nlarge-scale DNNs against the combination of multiple geometric transformations\nwith a provable guarantee. Given a set of transformations (e.g., rotation,\nscaling, etc.), we develop GeoRobust, a black-box robustness analyser built\nupon a novel global optimisation strategy, for locating the worst-case\ncombination of transformations that affect and even alter a network's output.\nGeoRobust can provide provable guarantees on finding the worst-case combination\nbased on recent advances in Lipschitzian theory. Due to its black-box nature,\nGeoRobust can be deployed on large-scale DNNs regardless of their\narchitectures, activation functions, and the number of neurons. In practice,\nGeoRobust can locate the worst-case geometric transformation with high\nprecision for the ResNet50 model on ImageNet in a few seconds on average. We\nexamined 18 ImageNet classifiers, including the ResNet family and vision\ntransformers, and found a positive correlation between the geometric robustness\nof the networks and the parameter numbers. We also observe that increasing the\ndepth of DNN is more beneficial than increasing its width in terms of improving\nits geometric robustness. Our tool GeoRobust is available at\nhttps://github.com/TrustAI/GeoRobust.\n", "date": "2023-01-29", "categories": []} {"id": "2303.17720", "title": "Generating Adversarial Samples in Mini-Batches May Be Detrimental To\n Adversarial Robustness", "abstract": " Neural networks have been proven to be both highly effective within computer\nvision, and highly vulnerable to adversarial attacks. Consequently, as the use\nof neural networks increases due to their unrivaled performance, so too does\nthe threat posed by adversarial attacks. In this work, we build towards\naddressing the challenge of adversarial robustness by exploring the\nrelationship between the mini-batch size used during adversarial sample\ngeneration and the strength of the adversarial samples produced. We demonstrate\nthat an increase in mini-batch size results in a decrease in the efficacy of\nthe samples produced, and we draw connections between these observations and\nthe phenomenon of vanishing gradients. Next, we formulate loss functions such\nthat adversarial sample strength is not degraded by mini-batch size. Our\nfindings highlight a potential risk for underestimating the true (practical)\nstrength of adversarial attacks, and a risk of overestimating a model's\nrobustness. We share our codes to let others replicate our experiments and to\nfacilitate further exploration of the connections between batch size and\nadversarial sample strength.\n", "date": "2023-03-30", "categories": []} {"id": "2303.17764", "title": "Towards Adversarially Robust Continual Learning", "abstract": " Recent studies show that models trained by continual learning can achieve the\ncomparable performances as the standard supervised learning and the learning\nflexibility of continual learning models enables their wide applications in the\nreal world. Deep learning models, however, are shown to be vulnerable to\nadversarial attacks. Though there are many studies on the model robustness in\nthe context of standard supervised learning, protecting continual learning from\nadversarial attacks has not yet been investigated. To fill in this research\ngap, we are the first to study adversarial robustness in continual learning and\npropose a novel method called \\textbf{T}ask-\\textbf{A}ware \\textbf{B}oundary\n\\textbf{A}ugmentation (TABA) to boost the robustness of continual learning\nmodels. With extensive experiments on CIFAR-10 and CIFAR-100, we show the\nefficacy of adversarial training and TABA in defending adversarial attacks.\n", "date": "2023-03-31", "categories": []} {"id": "2303.18131", "title": "AdvCheck: Characterizing Adversarial Examples via Local Gradient\n Checking", "abstract": " Deep neural networks (DNNs) are vulnerable to adversarial examples, which may\nlead to catastrophe in security-critical domains. Numerous detection methods\nare proposed to characterize the feature uniqueness of adversarial examples, or\nto distinguish DNN's behavior activated by the adversarial examples. Detections\nbased on features cannot handle adversarial examples with large perturbations.\nBesides, they require a large amount of specific adversarial examples. Another\nmainstream, model-based detections, which characterize input properties by\nmodel behaviors, suffer from heavy computation cost. To address the issues, we\nintroduce the concept of local gradient, and reveal that adversarial examples\nhave a quite larger bound of local gradient than the benign ones. Inspired by\nthe observation, we leverage local gradient for detecting adversarial examples,\nand propose a general framework AdvCheck. Specifically, by calculating the\nlocal gradient from a few benign examples and noise-added misclassified\nexamples to train a detector, adversarial examples and even misclassified\nnatural inputs can be precisely distinguished from benign ones. Through\nextensive experiments, we have validated the AdvCheck's superior performance to\nthe state-of-the-art (SOTA) baselines, with detection rate ($\\sim \\times 1.2$)\non general adversarial attacks and ($\\sim \\times 1.4$) on misclassified natural\ninputs on average, with average 1/500 time cost. We also provide interpretable\nresults for successful detection.\n", "date": "2023-03-25", "categories": []} {"id": "2208.12815", "title": "What Does the Gradient Tell When Attacking the Graph Structure", "abstract": " Recent research has revealed that Graph Neural Networks (GNNs) are\nsusceptible to adversarial attacks targeting the graph structure. A malicious\nattacker can manipulate a limited number of edges, given the training labels,\nto impair the victim model's performance. Previous empirical studies indicate\nthat gradient-based attackers tend to add edges rather than remove them. In\nthis paper, we present a theoretical demonstration revealing that attackers\ntend to increase inter-class edges due to the message passing mechanism of\nGNNs, which explains some previous empirical observations. By connecting\ndissimilar nodes, attackers can more effectively corrupt node features, making\nsuch attacks more advantageous. However, we demonstrate that the inherent\nsmoothness of GNN's message passing tends to blur node dissimilarity in the\nfeature space, leading to the loss of crucial information during the forward\nprocess. To address this issue, we propose a novel surrogate model with\nmulti-level propagation that preserves the node dissimilarity information. This\nmodel parallelizes the propagation of unaggregated raw features and multi-hop\naggregated features, while introducing batch normalization to enhance the\ndissimilarity in node representations and counteract the smoothness resulting\nfrom topological aggregation. Our experiments show significant improvement with\nour approach.Furthermore, both theoretical and experimental evidence suggest\nthat adding inter-class edges constitutes an easily observable attack pattern.\nWe propose an innovative attack loss that balances attack effectiveness and\nimperceptibility, sacrificing some attack effectiveness to attain greater\nimperceptibility. We also provide experiments to validate the compromise\nperformance achieved through this attack loss.\n", "date": "2022-08-26", "categories": []} {"id": "2303.16308", "title": "Provable Robustness for Streaming Models with a Sliding Window", "abstract": " The literature on provable robustness in machine learning has primarily\nfocused on static prediction problems, such as image classification, in which\ninput samples are assumed to be independent and model performance is measured\nas an expectation over the input distribution. Robustness certificates are\nderived for individual input instances with the assumption that the model is\nevaluated on each instance separately. However, in many deep learning\napplications such as online content recommendation and stock market analysis,\nmodels use historical data to make predictions. Robustness certificates based\non the assumption of independent input samples are not directly applicable in\nsuch scenarios. In this work, we focus on the provable robustness of machine\nlearning models in the context of data streams, where inputs are presented as a\nsequence of potentially correlated items. We derive robustness certificates for\nmodels that use a fixed-size sliding window over the input stream. Our\nguarantees hold for the average model performance across the entire stream and\nare independent of stream size, making them suitable for large data streams. We\nperform experiments on speech detection and human activity recognition tasks\nand show that our certificates can produce meaningful performance guarantees\nagainst adversarial perturbations.\n", "date": "2023-03-28", "categories": []} {"id": "2303.16697", "title": "Latent Feature Relation Consistency for Adversarial Robustness", "abstract": " Deep neural networks have been applied in many computer vision tasks and\nachieved state-of-the-art performance. However, misclassification will occur\nwhen DNN predicts adversarial examples which add human-imperceptible\nadversarial noise to natural examples. This limits the application of DNN in\nsecurity-critical fields. To alleviate this problem, we first conducted an\nempirical analysis of the latent features of both adversarial and natural\nexamples and found the similarity matrix of natural examples is more compact\nthan those of adversarial examples. Motivated by this observation, we propose\n\\textbf{L}atent \\textbf{F}eature \\textbf{R}elation \\textbf{C}onsistency\n(\\textbf{LFRC}), which constrains the relation of adversarial examples in\nlatent space to be consistent with the natural examples. Importantly, our LFRC\nis orthogonal to the previous method and can be easily combined with them to\nachieve further improvement. To demonstrate the effectiveness of LFRC, we\nconduct extensive experiments using different neural networks on benchmark\ndatasets. For instance, LFRC can bring 0.78\\% further improvement compared to\nAT, and 1.09\\% improvement compared to TRADES, against AutoAttack on CIFAR10.\nCode is available at https://github.com/liuxingbin/LFRC.\n", "date": "2023-03-29", "categories": []} {"id": "2303.16861", "title": "Beyond Empirical Risk Minimization: Local Structure Preserving\n Regularization for Improving Adversarial Robustness", "abstract": " It is broadly known that deep neural networks are susceptible to being fooled\nby adversarial examples with perturbations imperceptible by humans. Various\ndefenses have been proposed to improve adversarial robustness, among which\nadversarial training methods are most effective. However, most of these methods\ntreat the training samples independently and demand a tremendous amount of\nsamples to train a robust network, while ignoring the latent structural\ninformation among these samples. In this work, we propose a novel Local\nStructure Preserving (LSP) regularization, which aims to preserve the local\nstructure of the input space in the learned embedding space. In this manner,\nthe attacking effect of adversarial samples lying in the vicinity of clean\nsamples can be alleviated. We show strong empirical evidence that with or\nwithout adversarial training, our method consistently improves the performance\nof adversarial robustness on several image classification datasets compared to\nthe baselines and some state-of-the-art approaches, thus providing promising\ndirection for future research.\n", "date": "2023-03-29", "categories": []} {"id": "2303.15735", "title": "Improving the Transferability of Adversarial Samples by Path-Augmented\n Method", "abstract": " Deep neural networks have achieved unprecedented success on diverse vision\ntasks. However, they are vulnerable to adversarial noise that is imperceptible\nto humans. This phenomenon negatively affects their deployment in real-world\nscenarios, especially security-related ones. To evaluate the robustness of a\ntarget model in practice, transfer-based attacks craft adversarial samples with\na local model and have attracted increasing attention from researchers due to\ntheir high efficiency. The state-of-the-art transfer-based attacks are\ngenerally based on data augmentation, which typically augments multiple\ntraining images from a linear path when learning adversarial samples. However,\nsuch methods selected the image augmentation path heuristically and may augment\nimages that are semantics-inconsistent with the target images, which harms the\ntransferability of the generated adversarial samples. To overcome the pitfall,\nwe propose the Path-Augmented Method (PAM). Specifically, PAM first constructs\na candidate augmentation path pool. It then settles the employed augmentation\npaths during adversarial sample generation with greedy search. Furthermore, to\navoid augmenting semantics-inconsistent images, we train a Semantics Predictor\n(SP) to constrain the length of the augmentation path. Extensive experiments\nconfirm that PAM can achieve an improvement of over 4.8% on average compared\nwith the state-of-the-art baselines in terms of the attack success rates.\n", "date": "2023-03-28", "categories": []} {"id": "2303.15818", "title": "Towards Effective Adversarial Textured 3D Meshes on Physical Face\n Recognition", "abstract": " Face recognition is a prevailing authentication solution in numerous\nbiometric applications. Physical adversarial attacks, as an important\nsurrogate, can identify the weaknesses of face recognition systems and evaluate\ntheir robustness before deployed. However, most existing physical attacks are\neither detectable readily or ineffective against commercial recognition\nsystems. The goal of this work is to develop a more reliable technique that can\ncarry out an end-to-end evaluation of adversarial robustness for commercial\nsystems. It requires that this technique can simultaneously deceive black-box\nrecognition models and evade defensive mechanisms. To fulfill this, we design\nadversarial textured 3D meshes (AT3D) with an elaborate topology on a human\nface, which can be 3D-printed and pasted on the attacker's face to evade the\ndefenses. However, the mesh-based optimization regime calculates gradients in\nhigh-dimensional mesh space, and can be trapped into local optima with\nunsatisfactory transferability. To deviate from the mesh-based space, we\npropose to perturb the low-dimensional coefficient space based on 3D Morphable\nModel, which significantly improves black-box transferability meanwhile\nenjoying faster search efficiency and better visual quality. Extensive\nexperiments in digital and physical scenarios show that our method effectively\nexplores the security vulnerabilities of multiple popular commercial services,\nincluding three recognition APIs, four anti-spoofing APIs, two prevailing\nmobile phones and two automated access control systems.\n", "date": "2023-03-28", "categories": []} {"id": "2303.15901", "title": "Denoising Autoencoder-based Defensive Distillation as an Adversarial\n Robustness Algorithm", "abstract": " Adversarial attacks significantly threaten the robustness of deep neural\nnetworks (DNNs). Despite the multiple defensive methods employed, they are\nnevertheless vulnerable to poison attacks, where attackers meddle with the\ninitial training data. In order to defend DNNs against such adversarial\nattacks, this work proposes a novel method that combines the defensive\ndistillation mechanism with a denoising autoencoder (DAE). This technique tries\nto lower the sensitivity of the distilled model to poison attacks by spotting\nand reconstructing poisonous adversarial inputs in the training data. We added\ncarefully created adversarial samples to the initial training data to assess\nthe proposed method's performance. Our experimental findings demonstrate that\nour method successfully identified and reconstructed the poisonous inputs while\nalso considering enhancing the DNN's resilience. The proposed approach provides\na potent and robust defense mechanism for DNNs in various applications where\ndata poisoning attacks are a concern. Thus, the defensive distillation\ntechnique's limitation posed by poisonous adversarial attacks is overcome.\n", "date": "2023-03-28", "categories": []} {"id": "2210.11620", "title": "LOT: Layer-wise Orthogonal Training on Improving $\\ell_2$ Certified\n Robustness", "abstract": " Recent studies show that training deep neural networks (DNNs) with Lipschitz\nconstraints are able to enhance adversarial robustness and other model\nproperties such as stability. In this paper, we propose a layer-wise orthogonal\ntraining method (LOT) to effectively train 1-Lipschitz convolution layers via\nparametrizing an orthogonal matrix with an unconstrained matrix. We then\nefficiently compute the inverse square root of a convolution kernel by\ntransforming the input domain to the Fourier frequency domain. On the other\nhand, as existing works show that semi-supervised training helps improve\nempirical robustness, we aim to bridge the gap and prove that semi-supervised\nlearning also improves the certified robustness of Lipschitz-bounded models. We\nconduct comprehensive evaluations for LOT under different settings. We show\nthat LOT significantly outperforms baselines regarding deterministic l2\ncertified robustness, and scales to deeper neural networks. Under the\nsupervised scenario, we improve the state-of-the-art certified robustness for\nall architectures (e.g. from 59.04% to 63.50% on CIFAR-10 and from 32.57% to\n34.59% on CIFAR-100 at radius rho = 36/255 for 40-layer networks). With\nsemi-supervised learning over unlabelled data, we are able to improve\nstate-of-the-art certified robustness on CIFAR-10 at rho = 108/255 from 36.04%\nto 42.39%. In addition, LOT consistently outperforms baselines on different\nmodel architectures with only 1/3 evaluation time.\n", "date": "2022-10-20", "categories": []} {"id": "2301.00896", "title": "Efficient Robustness Assessment via Adversarial Spatial-Temporal Focus\n on Videos", "abstract": " Adversarial robustness assessment for video recognition models has raised\nconcerns owing to their wide applications on safety-critical tasks. Compared\nwith images, videos have much high dimension, which brings huge computational\ncosts when generating adversarial videos. This is especially serious for the\nquery-based black-box attacks where gradient estimation for the threat models\nis usually utilized, and high dimensions will lead to a large number of\nqueries. To mitigate this issue, we propose to simultaneously eliminate the\ntemporal and spatial redundancy within the video to achieve an effective and\nefficient gradient estimation on the reduced searching space, and thus query\nnumber could decrease. To implement this idea, we design the novel Adversarial\nspatial-temporal Focus (AstFocus) attack on videos, which performs attacks on\nthe simultaneously focused key frames and key regions from the inter-frames and\nintra-frames in the video. AstFocus attack is based on the cooperative\nMulti-Agent Reinforcement Learning (MARL) framework. One agent is responsible\nfor selecting key frames, and another agent is responsible for selecting key\nregions. These two agents are jointly trained by the common rewards received\nfrom the black-box threat models to perform a cooperative prediction. By\ncontinuously querying, the reduced searching space composed of key frames and\nkey regions is becoming precise, and the whole query number becomes less than\nthat on the original video. Extensive experiments on four mainstream video\nrecognition models and three widely used action recognition datasets\ndemonstrate that the proposed AstFocus attack outperforms the SOTA methods,\nwhich is prevenient in fooling rate, query number, time, and perturbation\nmagnitude at the same.\n", "date": "2023-01-03", "categories": []} {"id": "2303.14077", "title": "Improved Adversarial Training Through Adaptive Instance-wise Loss\n Smoothing", "abstract": " Deep neural networks can be easily fooled into making incorrect predictions\nthrough corruption of the input by adversarial perturbations:\nhuman-imperceptible artificial noise. So far adversarial training has been the\nmost successful defense against such adversarial attacks. This work focuses on\nimproving adversarial training to boost adversarial robustness. We first\nanalyze, from an instance-wise perspective, how adversarial vulnerability\nevolves during adversarial training. We find that during training an overall\nreduction of adversarial loss is achieved by sacrificing a considerable\nproportion of training samples to be more vulnerable to adversarial attack,\nwhich results in an uneven distribution of adversarial vulnerability among\ndata. Such \"uneven vulnerability\", is prevalent across several popular robust\ntraining methods and, more importantly, relates to overfitting in adversarial\ntraining. Motivated by this observation, we propose a new adversarial training\nmethod: Instance-adaptive Smoothness Enhanced Adversarial Training (ISEAT). It\njointly smooths both input and weight loss landscapes in an adaptive,\ninstance-specific, way to enhance robustness more for those samples with higher\nadversarial vulnerability. Extensive experiments demonstrate the superiority of\nour method over existing defense methods. Noticeably, our method, when combined\nwith the latest data augmentation and semi-supervised learning techniques,\nachieves state-of-the-art robustness against $\\ell_{\\infty}$-norm constrained\nattacks on CIFAR10 of 59.32% for Wide ResNet34-10 without extra data, and\n61.55% for Wide ResNet28-10 with extra data. Code is available at\nhttps://github.com/TreeLLi/Instance-adaptive-Smoothness-Enhanced-AT.\n", "date": "2023-03-24", "categories": []} {"id": "2303.14304", "title": "Ensemble-based Blackbox Attacks on Dense Prediction", "abstract": " We propose an approach for adversarial attacks on dense prediction models\n(such as object detectors and segmentation). It is well known that the attacks\ngenerated by a single surrogate model do not transfer to arbitrary (blackbox)\nvictim models. Furthermore, targeted attacks are often more challenging than\nthe untargeted attacks. In this paper, we show that a carefully designed\nensemble can create effective attacks for a number of victim models. In\nparticular, we show that normalization of the weights for individual models\nplays a critical role in the success of the attacks. We then demonstrate that\nby adjusting the weights of the ensemble according to the victim model can\nfurther improve the performance of the attacks. We performed a number of\nexperiments for object detectors and segmentation to highlight the significance\nof the our proposed methods. Our proposed ensemble-based method outperforms\nexisting blackbox attack methods for object detection and segmentation. Finally\nwe show that our proposed method can also generate a single perturbation that\ncan fool multiple blackbox detection and segmentation models simultaneously.\nCode is available at https://github.com/CSIPlab/EBAD.\n", "date": "2023-03-25", "categories": []} {"id": "2303.14460", "title": "CFA: Class-wise Calibrated Fair Adversarial Training", "abstract": " Adversarial training has been widely acknowledged as the most effective\nmethod to improve the adversarial robustness against adversarial examples for\nDeep Neural Networks (DNNs). So far, most existing works focus on enhancing the\noverall model robustness, treating each class equally in both the training and\ntesting phases. Although revealing the disparity in robustness among classes,\nfew works try to make adversarial training fair at the class level without\nsacrificing overall robustness. In this paper, we are the first to\ntheoretically and empirically investigate the preference of different classes\nfor adversarial configurations, including perturbation margin, regularization,\nand weight averaging. Motivated by this, we further propose a\n\\textbf{C}lass-wise calibrated \\textbf{F}air \\textbf{A}dversarial training\nframework, named CFA, which customizes specific training configurations for\neach class automatically. Experiments on benchmark datasets demonstrate that\nour proposed CFA can improve both overall robustness and fairness notably over\nother state-of-the-art methods. Code is available at\n\\url{https://github.com/PKU-ML/CFA}.\n", "date": "2023-03-25", "categories": []} {"id": "2303.14922", "title": "CAT:Collaborative Adversarial Training", "abstract": " Adversarial training can improve the robustness of neural networks. Previous\nmethods focus on a single adversarial training strategy and do not consider the\nmodel property trained by different strategies. By revisiting the previous\nmethods, we find different adversarial training methods have distinct\nrobustness for sample instances. For example, a sample instance can be\ncorrectly classified by a model trained using standard adversarial training\n(AT) but not by a model trained using TRADES, and vice versa. Based on this\nobservation, we propose a collaborative adversarial training framework to\nimprove the robustness of neural networks. Specifically, we use different\nadversarial training methods to train robust models and let models interact\nwith their knowledge during the training process. Collaborative Adversarial\nTraining (CAT) can improve both robustness and accuracy. Extensive experiments\non various networks and datasets validate the effectiveness of our method. CAT\nachieves state-of-the-art adversarial robustness without using any additional\ndata on CIFAR-10 under the Auto-Attack benchmark. Code is available at\nhttps://github.com/liuxingbin/CAT.\n", "date": "2023-03-27", "categories": []} {"id": "2302.11963", "title": "Investigating Catastrophic Overfitting in Fast Adversarial Training: A\n Self-fitting Perspective", "abstract": " Although fast adversarial training provides an efficient approach for\nbuilding robust networks, it may suffer from a serious problem known as\ncatastrophic overfitting (CO), where multi-step robust accuracy suddenly\ncollapses to zero. In this paper, we for the first time decouple single-step\nadversarial examples into data-information and self-information, which reveals\nan interesting phenomenon called \"self-fitting\". Self-fitting, i.e., the\nnetwork learns the self-information embedded in single-step perturbations,\nnaturally leads to the occurrence of CO. When self-fitting occurs, the network\nexperiences an obvious \"channel differentiation\" phenomenon that some\nconvolution channels accounting for recognizing self-information become\ndominant, while others for data-information are suppressed. In this way, the\nnetwork can only recognize images with sufficient self-information and loses\ngeneralization ability to other types of data. Based on self-fitting, we\nprovide new insights into the existing methods to mitigate CO and extend CO to\nmulti-step adversarial training. Our findings reveal a self-learning mechanism\nin adversarial training and open up new perspectives for suppressing different\nkinds of information to mitigate CO.\n", "date": "2023-02-23", "categories": []} {"id": "2303.13813", "title": "Generalist: Decoupling Natural and Robust Generalization", "abstract": " Deep neural networks obtained by standard training have been constantly\nplagued by adversarial examples. Although adversarial training demonstrates its\ncapability to defend against adversarial examples, unfortunately, it leads to\nan inevitable drop in the natural generalization. To address the issue, we\ndecouple the natural generalization and the robust generalization from joint\ntraining and formulate different training strategies for each one.\nSpecifically, instead of minimizing a global loss on the expectation over these\ntwo generalization errors, we propose a bi-expert framework called\n\\emph{Generalist} where we simultaneously train base learners with task-aware\nstrategies so that they can specialize in their own fields. The parameters of\nbase learners are collected and combined to form a global learner at intervals\nduring the training process. The global learner is then distributed to the base\nlearners as initialized parameters for continued training. Theoretically, we\nprove that the risks of Generalist will get lower once the base learners are\nwell trained. Extensive experiments verify the applicability of Generalist to\nachieve high accuracy on natural examples while maintaining considerable\nrobustness to adversarial ones. Code is available at\nhttps://github.com/PKU-ML/Generalist.\n", "date": "2023-03-24", "categories": []} {"id": "2303.13846", "title": "Feature Separation and Recalibration for Adversarial Robustness", "abstract": " Deep neural networks are susceptible to adversarial attacks due to the\naccumulation of perturbations in the feature level, and numerous works have\nboosted model robustness by deactivating the non-robust feature activations\nthat cause model mispredictions. However, we claim that these malicious\nactivations still contain discriminative cues and that with recalibration, they\ncan capture additional useful information for correct model predictions. To\nthis end, we propose a novel, easy-to-plugin approach named Feature Separation\nand Recalibration (FSR) that recalibrates the malicious, non-robust activations\nfor more robust feature maps through Separation and Recalibration. The\nSeparation part disentangles the input feature map into the robust feature with\nactivations that help the model make correct predictions and the non-robust\nfeature with activations that are responsible for model mispredictions upon\nadversarial attack. The Recalibration part then adjusts the non-robust\nactivations to restore the potentially useful cues for model predictions.\nExtensive experiments verify the superiority of FSR compared to traditional\ndeactivation techniques and demonstrate that it improves the robustness of\nexisting adversarial training methods by up to 8.57% with small computational\noverhead. Codes are available at https://github.com/wkim97/FSR.\n", "date": "2023-03-24", "categories": []} {"id": "2303.13868", "title": "Physically Adversarial Infrared Patches with Learnable Shapes and\n Locations", "abstract": " Owing to the extensive application of infrared object detectors in the\nsafety-critical tasks, it is necessary to evaluate their robustness against\nadversarial examples in the real world. However, current few physical infrared\nattacks are complicated to implement in practical application because of their\ncomplex transformation from digital world to physical world. To address this\nissue, in this paper, we propose a physically feasible infrared attack method\ncalled \"adversarial infrared patches\". Considering the imaging mechanism of\ninfrared cameras by capturing objects' thermal radiation, adversarial infrared\npatches conduct attacks by attaching a patch of thermal insulation materials on\nthe target object to manipulate its thermal distribution. To enhance\nadversarial attacks, we present a novel aggregation regularization to guide the\nsimultaneous learning for the patch' shape and location on the target object.\nThus, a simple gradient-based optimization can be adapted to solve for them. We\nverify adversarial infrared patches in different object detection tasks with\nvarious object detectors. Experimental results show that our method achieves\nmore than 90\\% Attack Success Rate (ASR) versus the pedestrian detector and\nvehicle detector in the physical environment, where the objects are captured in\ndifferent angles, distances, postures, and scenes. More importantly,\nadversarial infrared patch is easy to implement, and it only needs 0.5 hours to\nbe constructed in the physical world, which verifies its effectiveness and\nefficiency.\n", "date": "2023-03-24", "categories": []} {"id": "2303.13887", "title": "Effective black box adversarial attack with handcrafted kernels", "abstract": " We propose a new, simple framework for crafting adversarial examples for\nblack box attacks. The idea is to simulate the substitution model with a\nnon-trainable model compounded of just one layer of handcrafted convolutional\nkernels and then train the generator neural network to maximize the distance of\nthe outputs for the original and generated adversarial image. We show that\nfooling the prediction of the first layer causes the whole network to be fooled\nand decreases its accuracy on adversarial inputs. Moreover, we do not train the\nneural network to obtain the first convolutional layer kernels, but we create\nthem using the technique of F-transform. Therefore, our method is very time and\nresource effective.\n", "date": "2023-03-24", "categories": []} {"id": "2303.13955", "title": "PIAT: Parameter Interpolation based Adversarial Training for Image\n Classification", "abstract": " Adversarial training has been demonstrated to be the most effective approach\nto defend against adversarial attacks. However, existing adversarial training\nmethods show apparent oscillations and overfitting issue in the training\nprocess, degrading the defense efficacy. In this work, we propose a novel\nframework, termed Parameter Interpolation based Adversarial Training (PIAT),\nthat makes full use of the historical information during training.\nSpecifically, at the end of each epoch, PIAT tunes the model parameters as the\ninterpolation of the parameters of the previous and current epochs. Besides, we\nsuggest to use the Normalized Mean Square Error (NMSE) to further improve the\nrobustness by aligning the clean and adversarial examples. Compared with other\nregularization methods, NMSE focuses more on the relative magnitude of the\nlogits rather than the absolute magnitude. Extensive experiments on several\nbenchmark datasets and various networks show that our method could prominently\nimprove the model robustness and reduce the generalization error. Moreover, our\nframework is general and could further boost the robust accuracy when combined\nwith other adversarial training methods.\n", "date": "2023-03-24", "categories": []} {"id": "2303.13010", "title": "Semantic Image Attack for Visual Model Diagnosis", "abstract": " In practice, metric analysis on a specific train and test dataset does not\nguarantee reliable or fair ML models. This is partially due to the fact that\nobtaining a balanced, diverse, and perfectly labeled dataset is typically\nexpensive, time-consuming, and error-prone. Rather than relying on a carefully\ndesigned test set to assess ML models' failures, fairness, or robustness, this\npaper proposes Semantic Image Attack (SIA), a method based on the adversarial\nattack that provides semantic adversarial images to allow model diagnosis,\ninterpretability, and robustness. Traditional adversarial training is a popular\nmethodology for robustifying ML models against attacks. However, existing\nadversarial methods do not combine the two aspects that enable the\ninterpretation and analysis of the model's flaws: semantic traceability and\nperceptual quality. SIA combines the two features via iterative gradient ascent\non a predefined semantic attribute space and the image space. We illustrate the\nvalidity of our approach in three scenarios for keypoint detection and\nclassification. (1) Model diagnosis: SIA generates a histogram of attributes\nthat highlights the semantic vulnerability of the ML model (i.e., attributes\nthat make the model fail). (2) Stronger attacks: SIA generates adversarial\nexamples with visually interpretable attributes that lead to higher attack\nsuccess rates than baseline methods. The adversarial training on SIA improves\nthe transferable robustness across different gradient-based attacks. (3)\nRobustness to imbalanced datasets: we use SIA to augment the underrepresented\nclasses, which outperforms strong augmentation and re-balancing baselines.\n", "date": "2023-03-23", "categories": []} {"id": "2303.13401", "title": "Optimization and Optimizers for Adversarial Robustness", "abstract": " Empirical robustness evaluation (RE) of deep learning models against\nadversarial perturbations entails solving nontrivial constrained optimization\nproblems. Existing numerical algorithms that are commonly used to solve them in\npractice predominantly rely on projected gradient, and mostly handle\nperturbations modeled by the $\\ell_1$, $\\ell_2$ and $\\ell_\\infty$ distances. In\nthis paper, we introduce a novel algorithmic framework that blends a\ngeneral-purpose constrained-optimization solver PyGRANSO with Constraint\nFolding (PWCF), which can add more reliability and generality to the\nstate-of-the-art RE packages, e.g., AutoAttack. Regarding reliability, PWCF\nprovides solutions with stationarity measures and feasibility tests to assess\nthe solution quality. For generality, PWCF can handle perturbation models that\nare typically inaccessible to the existing projected gradient methods; the main\nrequirement is the distance metric to be almost everywhere differentiable.\nTaking advantage of PWCF and other existing numerical algorithms, we further\nexplore the distinct patterns in the solutions found for solving these\noptimization problems using various combinations of losses, perturbation\nmodels, and optimization algorithms. We then discuss the implications of these\npatterns on the current robustness evaluation and adversarial training.\n", "date": "2023-03-23", "categories": []} {"id": "2303.12357", "title": "Wasserstein Adversarial Examples on Univariant Time Series Data", "abstract": " Adversarial examples are crafted by adding indistinguishable perturbations to\nnormal examples in order to fool a well-trained deep learning model to\nmisclassify. In the context of computer vision, this notion of\nindistinguishability is typically bounded by $L_{\\infty}$ or other norms.\nHowever, these norms are not appropriate for measuring indistinguishiability\nfor time series data. In this work, we propose adversarial examples in the\nWasserstein space for time series data for the first time and utilize\nWasserstein distance to bound the perturbation between normal examples and\nadversarial examples. We introduce Wasserstein projected gradient descent\n(WPGD), an adversarial attack method for perturbing univariant time series\ndata. We leverage the closed-form solution of Wasserstein distance in the 1D\nspace to calculate the projection step of WPGD efficiently with the gradient\ndescent method. We further propose a two-step projection so that the search of\nadversarial examples in the Wasserstein space is guided and constrained by\nEuclidean norms to yield more effective and imperceptible perturbations. We\nempirically evaluate the proposed attack on several time series datasets in the\nhealthcare domain. Extensive results demonstrate that the Wasserstein attack is\npowerful and can successfully attack most of the target classifiers with a high\nattack success rate. To better study the nature of Wasserstein adversarial\nexample, we evaluate a strong defense mechanism named Wasserstein smoothing for\npotential certified robustness defense. Although the defense can achieve some\naccuracy gain, it still has limitations in many cases and leaves space for\ndeveloping a stronger certified robustness method to Wasserstein adversarial\nexamples on univariant time series data.\n", "date": "2023-03-22", "categories": []} {"id": "2303.12363", "title": "Distribution-restrained Softmax Loss for the Model Robustness", "abstract": " Recently, the robustness of deep learning models has received widespread\nattention, and various methods for improving model robustness have been\nproposed, including adversarial training, model architecture modification,\ndesign of loss functions, certified defenses, and so on. However, the principle\nof the robustness to attacks is still not fully understood, also the related\nresearch is still not sufficient. Here, we have identified a significant factor\nthat affects the robustness of models: the distribution characteristics of\nsoftmax values for non-real label samples. We found that the results after an\nattack are highly correlated with the distribution characteristics, and thus we\nproposed a loss function to suppress the distribution diversity of softmax. A\nlarge number of experiments have shown that our method can improve robustness\nwithout significant time consumption.\n", "date": "2023-03-22", "categories": []} {"id": "2303.12512", "title": "Sibling-Attack: Rethinking Transferable Adversarial Attacks against Face\n Recognition", "abstract": " A hard challenge in developing practical face recognition (FR) attacks is due\nto the black-box nature of the target FR model, i.e., inaccessible gradient and\nparameter information to attackers. While recent research took an important\nstep towards attacking black-box FR models through leveraging transferability,\ntheir performance is still limited, especially against online commercial FR\nsystems that can be pessimistic (e.g., a less than 50% ASR--attack success rate\non average). Motivated by this, we present Sibling-Attack, a new FR attack\ntechnique for the first time explores a novel multi-task perspective (i.e.,\nleveraging extra information from multi-correlated tasks to boost attacking\ntransferability). Intuitively, Sibling-Attack selects a set of tasks correlated\nwith FR and picks the Attribute Recognition (AR) task as the task used in\nSibling-Attack based on theoretical and quantitative analysis. Sibling-Attack\nthen develops an optimization framework that fuses adversarial gradient\ninformation through (1) constraining the cross-task features to be under the\nsame space, (2) a joint-task meta optimization framework that enhances the\ngradient compatibility among tasks, and (3) a cross-task gradient stabilization\nmethod which mitigates the oscillation effect during attacking. Extensive\nexperiments demonstrate that Sibling-Attack outperforms state-of-the-art FR\nattack techniques by a non-trivial margin, boosting ASR by 12.61% and 55.77% on\naverage on state-of-the-art pre-trained FR models and two well-known, widely\nused commercial FR systems.\n", "date": "2023-03-22", "categories": []} {"id": "2303.12658", "title": "Reliable and Efficient Evaluation of Adversarial Robustness for Deep\n Hashing-Based Retrieval", "abstract": " Deep hashing has been extensively applied to massive image retrieval due to\nits efficiency and effectiveness. Recently, several adversarial attacks have\nbeen presented to reveal the vulnerability of deep hashing models against\nadversarial examples. However, existing attack methods suffer from degraded\nperformance or inefficiency because they underutilize the semantic relations\nbetween original samples or spend a lot of time learning these relations with a\ndeep neural network. In this paper, we propose a novel Pharos-guided Attack,\ndubbed PgA, to evaluate the adversarial robustness of deep hashing networks\nreliably and efficiently. Specifically, we design pharos code to represent the\nsemantics of the benign image, which preserves the similarity to semantically\nrelevant samples and dissimilarity to irrelevant ones. It is proven that we can\nquickly calculate the pharos code via a simple math formula. Accordingly, PgA\ncan directly conduct a reliable and efficient attack on deep hashing-based\nretrieval by maximizing the similarity between the hash code of the adversarial\nexample and the pharos code. Extensive experiments on the benchmark datasets\nverify that the proposed algorithm outperforms the prior state-of-the-arts in\nboth attack strength and speed.\n", "date": "2023-03-22", "categories": []} {"id": "2303.12669", "title": "An Extended Study of Human-like Behavior under Adversarial Training", "abstract": " Neural networks have a number of shortcomings. Amongst the severest ones is\nthe sensitivity to distribution shifts which allows models to be easily fooled\ninto wrong predictions by small perturbations to inputs that are often\nimperceivable to humans and do not have to carry semantic meaning. Adversarial\ntraining poses a partial solution to address this issue by training models on\nworst-case perturbations. Yet, recent work has also pointed out that the\nreasoning in neural networks is different from humans. Humans identify objects\nby shape, while neural nets mainly employ texture cues. Exemplarily, a model\ntrained on photographs will likely fail to generalize to datasets containing\nsketches. Interestingly, it was also shown that adversarial training seems to\nfavorably increase the shift toward shape bias. In this work, we revisit this\nobservation and provide an extensive analysis of this effect on various\narchitectures, the common $\\ell_2$- and $\\ell_\\infty$-training, and\nTransformer-based models. Further, we provide a possible explanation for this\nphenomenon from a frequency perspective.\n", "date": "2023-03-22", "categories": []} {"id": "2303.11625", "title": "Information-containing Adversarial Perturbation for Combating Facial\n Manipulation Systems", "abstract": " With the development of deep learning technology, the facial manipulation\nsystem has become powerful and easy to use. Such systems can modify the\nattributes of the given facial images, such as hair color, gender, and age.\nMalicious applications of such systems pose a serious threat to individuals'\nprivacy and reputation. Existing studies have proposed various approaches to\nprotect images against facial manipulations. Passive defense methods aim to\ndetect whether the face is real or fake, which works for posterior forensics\nbut can not prevent malicious manipulation. Initiative defense methods protect\nimages upfront by injecting adversarial perturbations into images to disrupt\nfacial manipulation systems but can not identify whether the image is fake. To\naddress the limitation of existing methods, we propose a novel two-tier\nprotection method named Information-containing Adversarial Perturbation (IAP),\nwhich provides more comprehensive protection for {facial images}. We use an\nencoder to map a facial image and its identity message to a cross-model\nadversarial example which can disrupt multiple facial manipulation systems to\nachieve initiative protection. Recovering the message in adversarial examples\nwith a decoder serves passive protection, contributing to provenance tracking\nand fake image detection. We introduce a feature-level correlation measurement\nthat is more suitable to measure the difference between the facial images than\nthe commonly used mean squared error. Moreover, we propose a spectral diffusion\nmethod to spread messages to different frequency channels, thereby improving\nthe robustness of the message against facial manipulation. Extensive\nexperimental results demonstrate that our proposed IAP can recover the messages\nfrom the adversarial examples with high average accuracy and effectively\ndisrupt the facial manipulation systems.\n", "date": "2023-03-21", "categories": []} {"id": "2303.10291", "title": "Detection of Uncertainty in Exceedance of Threshold (DUET): An\n Adversarial Patch Localizer", "abstract": " Development of defenses against physical world attacks such as adversarial\npatches is gaining traction within the research community. We contribute to the\nfield of adversarial patch detection by introducing an uncertainty-based\nadversarial patch localizer which localizes adversarial patch on an image,\npermitting post-processing patch-avoidance or patch-reconstruction. We quantify\nour prediction uncertainties with the development of \\textit{\\textbf{D}etection\nof \\textbf{U}ncertainties in the \\textbf{E}xceedance of \\textbf{T}hreshold}\n(DUET) algorithm. This algorithm provides a framework to ascertain confidence\nin the adversarial patch localization, which is essential for safety-sensitive\napplications such as self-driving cars and medical imaging. We conducted\nexperiments on localizing adversarial patches and found our proposed DUET model\noutperforms baseline models. We then conduct further analyses on our choice of\nmodel priors and the adoption of Bayesian Neural Networks in different layers\nwithin our model architecture. We found that isometric gaussian priors in\nBayesian Neural Networks are suitable for patch localization tasks and the\npresence of Bayesian layers in the earlier neural network blocks facilitates\ntop-end localization performance, while Bayesian layers added in the later\nneural network blocks contribute to better model generalization. We then\npropose two different well-performing models to tackle different use cases.\n", "date": "2023-03-18", "categories": []} {"id": "2303.10653", "title": "Randomized Adversarial Training via Taylor Expansion", "abstract": " In recent years, there has been an explosion of research into developing more\nrobust deep neural networks against adversarial examples. Adversarial training\nappears as one of the most successful methods. To deal with both the robustness\nagainst adversarial examples and the accuracy over clean examples, many works\ndevelop enhanced adversarial training methods to achieve various trade-offs\nbetween them. Leveraging over the studies that smoothed update on weights\nduring training may help find flat minima and improve generalization, we\nsuggest reconciling the robustness-accuracy trade-off from another perspective,\ni.e., by adding random noise into deterministic weights. The randomized weights\nenable our design of a novel adversarial training method via Taylor expansion\nof a small Gaussian noise, and we show that the new adversarial training method\ncan flatten loss landscape and find flat minima. With PGD, CW, and Auto\nAttacks, an extensive set of experiments demonstrate that our method enhances\nthe state-of-the-art adversarial training methods, boosting both robustness and\nclean accuracy. The code is available at\nhttps://github.com/Alexkael/Randomized-Adversarial-Training.\n", "date": "2023-03-19", "categories": []} {"id": "2303.11135", "title": "TWINS: A Fine-Tuning Framework for Improved Transferability of\n Adversarial Robustness and Generalization", "abstract": " Recent years have seen the ever-increasing importance of pre-trained models\nand their downstream training in deep learning research and applications. At\nthe same time, the defense for adversarial examples has been mainly\ninvestigated in the context of training from random initialization on simple\nclassification tasks. To better exploit the potential of pre-trained models in\nadversarial robustness, this paper focuses on the fine-tuning of an\nadversarially pre-trained model in various classification tasks. Existing\nresearch has shown that since the robust pre-trained model has already learned\na robust feature extractor, the crucial question is how to maintain the\nrobustness in the pre-trained model when learning the downstream task. We study\nthe model-based and data-based approaches for this goal and find that the two\ncommon approaches cannot achieve the objective of improving both generalization\nand adversarial robustness. Thus, we propose a novel statistics-based approach,\nTwo-WIng NormliSation (TWINS) fine-tuning framework, which consists of two\nneural networks where one of them keeps the population means and variances of\npre-training data in the batch normalization layers. Besides the robust\ninformation transfer, TWINS increases the effective learning rate without\nhurting the training stability since the relationship between a weight norm and\nits gradient norm in standard batch normalization layer is broken, resulting in\na faster escape from the sub-optimal initialization and alleviating the robust\noverfitting. Finally, TWINS is shown to be effective on a wide range of image\nclassification datasets in terms of both generalization and robustness. Our\ncode is available at https://github.com/ziquanliu/CVPR2023-TWINS.\n", "date": "2023-03-20", "categories": []} {"id": "2303.10078", "title": "Fuzziness-tuned: Improving the Transferability of Adversarial Examples", "abstract": " With the development of adversarial attacks, adversairal examples have been\nwidely used to enhance the robustness of the training models on deep neural\nnetworks. Although considerable efforts of adversarial attacks on improving the\ntransferability of adversarial examples have been developed, the attack success\nrate of the transfer-based attacks on the surrogate model is much higher than\nthat on victim model under the low attack strength (e.g., the attack strength\n$\\epsilon=8/255$). In this paper, we first systematically investigated this\nissue and found that the enormous difference of attack success rates between\nthe surrogate model and victim model is caused by the existence of a special\narea (known as fuzzy domain in our paper), in which the adversarial examples in\nthe area are classified wrongly by the surrogate model while correctly by the\nvictim model. Then, to eliminate such enormous difference of attack success\nrates for improving the transferability of generated adversarial examples, a\nfuzziness-tuned method consisting of confidence scaling mechanism and\ntemperature scaling mechanism is proposed to ensure the generated adversarial\nexamples can effectively skip out of the fuzzy domain. The confidence scaling\nmechanism and the temperature scaling mechanism can collaboratively tune the\nfuzziness of the generated adversarial examples through adjusting the gradient\ndescent weight of fuzziness and stabilizing the update direction, respectively.\nSpecifically, the proposed fuzziness-tuned method can be effectively integrated\nwith existing adversarial attacks to further improve the transferability of\nadverarial examples without changing the time complexity. Extensive experiments\ndemonstrated that fuzziness-tuned method can effectively enhance the\ntransferability of adversarial examples in the latest transfer-based attacks.\n", "date": "2023-03-17", "categories": []} {"id": "2212.13667", "title": "Learning When to Use Adaptive Adversarial Image Perturbations against\n Autonomous Vehicles", "abstract": " The deep neural network (DNN) models for object detection using camera images\nare widely adopted in autonomous vehicles. However, DNN models are shown to be\nsusceptible to adversarial image perturbations. In the existing methods of\ngenerating the adversarial image perturbations, optimizations take each\nincoming image frame as the decision variable to generate an image\nperturbation. Therefore, given a new image, the typically\ncomputationally-expensive optimization needs to start over as there is no\nlearning between the independent optimizations. Very few approaches have been\ndeveloped for attacking online image streams while considering the underlying\nphysical dynamics of autonomous vehicles, their mission, and the environment.\nWe propose a multi-level stochastic optimization framework that monitors an\nattacker's capability of generating the adversarial perturbations. Based on\nthis capability level, a binary decision attack/not attack is introduced to\nenhance the effectiveness of the attacker. We evaluate our proposed multi-level\nimage attack framework using simulations for vision-guided autonomous vehicles\nand actual tests with a small indoor drone in an office environment. The\nresults show our method's capability to generate the image attack in real-time\nwhile monitoring when the attacker is proficient given state estimates.\n", "date": "2022-12-28", "categories": []} {"id": "2303.08289", "title": "Improving Adversarial Robustness with Hypersphere Embedding and\n Angular-based Regularizations", "abstract": " Adversarial training (AT) methods have been found to be effective against\nadversarial attacks on deep neural networks. Many variants of AT have been\nproposed to improve its performance. Pang et al. [1] have recently shown that\nincorporating hypersphere embedding (HE) into the existing AT procedures\nenhances robustness. We observe that the existing AT procedures are not\ndesigned for the HE framework, and thus fail to adequately learn the angular\ndiscriminative information available in the HE framework. In this paper, we\npropose integrating HE into AT with regularization terms that exploit the rich\nangular information available in the HE framework. Specifically, our method,\ntermed angular-AT, adds regularization terms to AT that explicitly enforce\nweight-feature compactness and inter-class separation; all expressed in terms\nof angular features. Experimental results show that angular-AT further improves\nadversarial robustness.\n", "date": "2023-03-15", "categories": []} {"id": "2207.03933", "title": "A law of adversarial risk, interpolation, and label noise", "abstract": " In supervised learning, it has been shown that label noise in the data can be\ninterpolated without penalties on test accuracy. We show that interpolating\nlabel noise induces adversarial vulnerability, and prove the first theorem\nshowing the relationship between label noise and adversarial risk for any data\ndistribution. Our results are almost tight if we do not make any assumptions on\nthe inductive bias of the learning algorithm. We then investigate how different\ncomponents of this problem affect this result, including properties of the\ndistribution. We also discuss non-uniform label noise distributions; and prove\na new theorem showing uniform label noise induces nearly as large an\nadversarial risk as the worst poisoning with the same noise rate. Then, we\nprovide theoretical and empirical evidence that uniform label noise is more\nharmful than typical real-world label noise. Finally, we show how inductive\nbiases amplify the effect of label noise and argue the need for future work in\nthis direction.\n", "date": "2022-07-08", "categories": []} {"id": "2303.06151", "title": "NoiseCAM: Explainable AI for the Boundary Between Noise and Adversarial\n Attacks", "abstract": " Deep Learning (DL) and Deep Neural Networks (DNNs) are widely used in various\ndomains. However, adversarial attacks can easily mislead a neural network and\nlead to wrong decisions. Defense mechanisms are highly preferred in\nsafety-critical applications. In this paper, firstly, we use the gradient class\nactivation map (GradCAM) to analyze the behavior deviation of the VGG-16\nnetwork when its inputs are mixed with adversarial perturbation or Gaussian\nnoise. In particular, our method can locate vulnerable layers that are\nsensitive to adversarial perturbation and Gaussian noise. We also show that the\nbehavior deviation of vulnerable layers can be used to detect adversarial\nexamples. Secondly, we propose a novel NoiseCAM algorithm that integrates\ninformation from globally and pixel-level weighted class activation maps. Our\nalgorithm is susceptible to adversarial perturbations and will not respond to\nGaussian random noise mixed in the inputs. Third, we compare detecting\nadversarial examples using both behavior deviation and NoiseCAM, and we show\nthat NoiseCAM outperforms behavior deviation modeling in its overall\nperformance. Our work could provide a useful tool to defend against certain\nadversarial attacks on deep neural networks.\n", "date": "2023-03-09", "categories": []} {"id": "2303.06302", "title": "Adversarial Attacks and Defenses in Machine Learning-Powered Networks: A\n Contemporary Survey", "abstract": " Adversarial attacks and defenses in machine learning and deep neural network\nhave been gaining significant attention due to the rapidly growing applications\nof deep learning in the Internet and relevant scenarios. This survey provides a\ncomprehensive overview of the recent advancements in the field of adversarial\nattack and defense techniques, with a focus on deep neural network-based\nclassification models. Specifically, we conduct a comprehensive classification\nof recent adversarial attack methods and state-of-the-art adversarial defense\ntechniques based on attack principles, and present them in visually appealing\ntables and tree diagrams. This is based on a rigorous evaluation of the\nexisting works, including an analysis of their strengths and limitations. We\nalso categorize the methods into counter-attack detection and robustness\nenhancement, with a specific focus on regularization-based methods for\nenhancing robustness. New avenues of attack are also explored, including\nsearch-based, decision-based, drop-based, and physical-world attacks, and a\nhierarchical classification of the latest defense methods is provided,\nhighlighting the challenges of balancing training costs with performance,\nmaintaining clean accuracy, overcoming the effect of gradient masking, and\nensuring method transferability. At last, the lessons learned and open\nchallenges are summarized with future research opportunities recommended.\n", "date": "2023-03-11", "categories": []} {"id": "2303.06425", "title": "Improving the Robustness of Deep Convolutional Neural Networks Through\n Feature Learning", "abstract": " Deep convolutional neural network (DCNN for short) models are vulnerable to\nexamples with small perturbations. Adversarial training (AT for short) is a\nwidely used approach to enhance the robustness of DCNN models by data\naugmentation. In AT, the DCNN models are trained with clean examples and\nadversarial examples (AE for short) which are generated using a specific attack\nmethod, aiming to gain ability to defend themselves when facing the unseen AEs.\nHowever, in practice, the trained DCNN models are often fooled by the AEs\ngenerated by the novel attack methods. This naturally raises a question: can a\nDCNN model learn certain features which are insensitive to small perturbations,\nand further defend itself no matter what attack methods are presented. To\nanswer this question, this paper makes a beginning effort by proposing a\nshallow binary feature module (SBFM for short), which can be integrated into\nany popular backbone. The SBFM includes two types of layers, i.e., Sobel layer\nand threshold layer. In Sobel layer, there are four parallel feature maps which\nrepresent horizontal, vertical, and diagonal edge features, respectively. And\nin threshold layer, it turns the edge features learnt by Sobel layer to the\nbinary features, which then are feeded into the fully connected layers for\nclassification with the features learnt by the backbone. We integrate SBFM into\nVGG16 and ResNet34, respectively, and conduct experiments on multiple datasets.\nExperimental results demonstrate, under FGSM attack with $\\epsilon=8/255$, the\nSBFM integrated models can achieve averagely 35\\% higher accuracy than the\noriginal ones, and in CIFAR-10 and TinyImageNet datasets, the SBFM integrated\nmodels can achieve averagely 75\\% classification accuracy. The work in this\npaper shows it is promising to enhance the robustness of DCNN models through\nfeature learning.\n", "date": "2023-03-11", "categories": []} {"id": "2303.07003", "title": "Review on the Feasibility of Adversarial Evasion Attacks and Defenses\n for Network Intrusion Detection Systems", "abstract": " Nowadays, numerous applications incorporate machine learning (ML) algorithms\ndue to their prominent achievements. However, many studies in the field of\ncomputer vision have shown that ML can be fooled by intentionally crafted\ninstances, called adversarial examples. These adversarial examples take\nadvantage of the intrinsic vulnerability of ML models. Recent research raises\nmany concerns in the cybersecurity field. An increasing number of researchers\nare studying the feasibility of such attacks on security systems based on ML\nalgorithms, such as Intrusion Detection Systems (IDS). The feasibility of such\nadversarial attacks would be influenced by various domain-specific constraints.\nThis can potentially increase the difficulty of crafting adversarial examples.\nDespite the considerable amount of research that has been done in this area,\nmuch of it focuses on showing that it is possible to fool a model using\nfeatures extracted from the raw data but does not address the practical side,\ni.e., the reverse transformation from theory to practice. For this reason, we\npropose a review browsing through various important papers to provide a\ncomprehensive analysis. Our analysis highlights some challenges that have not\nbeen addressed in the reviewed papers.\n", "date": "2023-03-13", "categories": []} {"id": "2303.07199", "title": "BeamAttack: Generating High-quality Textual Adversarial Examples through\n Beam Search and Mixed Semantic Spaces", "abstract": " Natural language processing models based on neural networks are vulnerable to\nadversarial examples. These adversarial examples are imperceptible to human\nreaders but can mislead models to make the wrong predictions. In a black-box\nsetting, attacker can fool the model without knowing model's parameters and\narchitecture. Previous works on word-level attacks widely use single semantic\nspace and greedy search as a search strategy. However, these methods fail to\nbalance the attack success rate, quality of adversarial examples and time\nconsumption. In this paper, we propose BeamAttack, a textual attack algorithm\nthat makes use of mixed semantic spaces and improved beam search to craft\nhigh-quality adversarial examples. Extensive experiments demonstrate that\nBeamAttack can improve attack success rate while saving numerous queries and\ntime, e.g., improving at most 7\\% attack success rate than greedy search when\nattacking the examples from MR dataset. Compared with heuristic search,\nBeamAttack can save at most 85\\% model queries and achieve a competitive attack\nsuccess rate. The adversarial examples crafted by BeamAttack are highly\ntransferable and can effectively improve model's robustness during adversarial\ntraining. Code is available at\nhttps://github.com/zhuhai-ustc/beamattack/tree/master\n", "date": "2023-03-09", "categories": []} {"id": "2209.14105", "title": "Exploring the Relationship between Architecture and Adversarially Robust\n Generalization", "abstract": " Adversarial training has been demonstrated to be one of the most effective\nremedies for defending adversarial examples, yet it often suffers from the huge\nrobustness generalization gap on unseen testing adversaries, deemed as the\nadversarially robust generalization problem. Despite the preliminary\nunderstandings devoted to adversarially robust generalization, little is known\nfrom the architectural perspective. To bridge the gap, this paper for the first\ntime systematically investigated the relationship between adversarially robust\ngeneralization and architectural design. Inparticular, we comprehensively\nevaluated 20 most representative adversarially trained architectures on\nImageNette and CIFAR-10 datasets towards multiple `p-norm adversarial attacks.\nBased on the extensive experiments, we found that, under aligned settings,\nVision Transformers (e.g., PVT, CoAtNet) often yield better adversarially\nrobust generalization while CNNs tend to overfit on specific attacks and fail\nto generalize on multiple adversaries. To better understand the nature behind\nit, we conduct theoretical analysis via the lens of Rademacher complexity. We\nrevealed the fact that the higher weight sparsity contributes significantly\ntowards the better adversarially robust generalization of Transformers, which\ncan be often achieved by the specially-designed attention blocks. We hope our\npaper could help to better understand the mechanism for designing robust DNNs.\nOur model weights can be found at http://robust.art.\n", "date": "2022-09-28", "categories": []} {"id": "2303.05719", "title": "Boosting Adversarial Attacks by Leveraging Decision Boundary Information", "abstract": " Due to the gap between a substitute model and a victim model, the\ngradient-based noise generated from a substitute model may have low\ntransferability for a victim model since their gradients are different.\nInspired by the fact that the decision boundaries of different models do not\ndiffer much, we conduct experiments and discover that the gradients of\ndifferent models are more similar on the decision boundary than in the original\nposition. Moreover, since the decision boundary in the vicinity of an input\nimage is flat along most directions, we conjecture that the boundary gradients\ncan help find an effective direction to cross the decision boundary of the\nvictim models. Based on it, we propose a Boundary Fitting Attack to improve\ntransferability. Specifically, we introduce a method to obtain a set of\nboundary points and leverage the gradient information of these points to update\nthe adversarial examples. Notably, our method can be combined with existing\ngradient-based methods. Extensive experiments prove the effectiveness of our\nmethod, i.e., improving the success rate by 5.6% against normally trained CNNs\nand 14.9% against defense CNNs on average compared to state-of-the-art\ntransfer-based attacks. Further we compare transformers with CNNs, the results\nindicate that transformers are more robust than CNNs. However, our method still\noutperforms existing methods when attacking transformers. Specifically, when\nusing CNNs as substitute models, our method obtains an average attack success\nrate of 58.2%, which is 10.8% higher than other state-of-the-art transfer-based\nattacks.\n", "date": "2023-03-10", "categories": []} {"id": "2303.05758", "title": "MIXPGD: Hybrid Adversarial Training for Speech Recognition Systems", "abstract": " Automatic speech recognition (ASR) systems based on deep neural networks are\nweak against adversarial perturbations. We propose mixPGD adversarial training\nmethod to improve the robustness of the model for ASR systems. In standard\nadversarial training, adversarial samples are generated by leveraging\nsupervised or unsupervised methods. We merge the capabilities of both\nsupervised and unsupervised approaches in our method to generate new\nadversarial samples which aid in improving model robustness. Extensive\nexperiments and comparison across various state-of-the-art defense methods and\nadversarial attacks have been performed to show that mixPGD gains 4.1% WER of\nbetter performance than previous best performing models under white-box\nadversarial attack setting. We tested our proposed defense method against both\nwhite-box and transfer based black-box attack settings to ensure that our\ndefense strategy is robust against various types of attacks. Empirical results\non several adversarial attacks validate the effectiveness of our proposed\napproach.\n", "date": "2023-03-10", "categories": []} {"id": "2303.06032", "title": "Exploring Adversarial Attacks on Neural Networks: An Explainable\n Approach", "abstract": " Deep Learning (DL) is being applied in various domains, especially in\nsafety-critical applications such as autonomous driving. Consequently, it is of\ngreat significance to ensure the robustness of these methods and thus\ncounteract uncertain behaviors caused by adversarial attacks. In this paper, we\nuse gradient heatmaps to analyze the response characteristics of the VGG-16\nmodel when the input images are mixed with adversarial noise and statistically\nsimilar Gaussian random noise. In particular, we compare the network response\nlayer by layer to determine where errors occurred. Several interesting findings\nare derived. First, compared to Gaussian random noise, intentionally generated\nadversarial noise causes severe behavior deviation by distracting the area of\nconcentration in the networks. Second, in many cases, adversarial examples only\nneed to compromise a few intermediate blocks to mislead the final decision.\nThird, our experiments revealed that specific blocks are more vulnerable and\neasier to exploit by adversarial examples. Finally, we demonstrate that the\nlayers $Block4\\_conv1$ and $Block5\\_cov1$ of the VGG-16 model are more\nsusceptible to adversarial attacks. Our work could provide valuable insights\ninto developing more reliable Deep Neural Network (DNN) models.\n", "date": "2023-03-08", "categories": []} {"id": "2209.09117", "title": "Part-Based Models Improve Adversarial Robustness", "abstract": " We show that combining human prior knowledge with end-to-end learning can\nimprove the robustness of deep neural networks by introducing a part-based\nmodel for object classification. We believe that the richer form of annotation\nhelps guide neural networks to learn more robust features without requiring\nmore samples or larger models. Our model combines a part segmentation model\nwith a tiny classifier and is trained end-to-end to simultaneously segment\nobjects into parts and then classify the segmented object. Empirically, our\npart-based models achieve both higher accuracy and higher adversarial\nrobustness than a ResNet-50 baseline on all three datasets. For instance, the\nclean accuracy of our part models is up to 15 percentage points higher than the\nbaseline's, given the same level of robustness. Our experiments indicate that\nthese models also reduce texture bias and yield better robustness against\ncommon corruptions and spurious correlations. The code is publicly available at\nhttps://github.com/chawins/adv-part-model.\n", "date": "2022-09-15", "categories": []} {"id": "2210.04871", "title": "Certified Training: Small Boxes are All You Need", "abstract": " To obtain, deterministic guarantees of adversarial robustness, specialized\ntraining methods are used. We propose, SABR, a novel such certified training\nmethod, based on the key insight that propagating interval bounds for a small\nbut carefully selected subset of the adversarial input region is sufficient to\napproximate the worst-case loss over the whole region while significantly\nreducing approximation errors. We show in an extensive empirical evaluation\nthat SABR outperforms existing certified defenses in terms of both standard and\ncertifiable accuracies across perturbation magnitudes and datasets, pointing to\na new class of certified training methods promising to alleviate the\nrobustness-accuracy trade-off.\n", "date": "2022-10-10", "categories": []} {"id": "2302.13570", "title": "Physical Adversarial Attacks on Deep Neural Networks for Traffic Sign\n Recognition: A Feasibility Study", "abstract": " Deep Neural Networks (DNNs) are increasingly applied in the real world in\nsafety critical applications like advanced driver assistance systems. An\nexample for such use case is represented by traffic sign recognition systems.\nAt the same time, it is known that current DNNs can be fooled by adversarial\nattacks, which raises safety concerns if those attacks can be applied under\nrealistic conditions. In this work we apply different black-box attack methods\nto generate perturbations that are applied in the physical environment and can\nbe used to fool systems under different environmental conditions. To the best\nof our knowledge we are the first to combine a general framework for physical\nattacks with different black-box attack methods and study the impact of the\ndifferent methods on the success rate of the attack under the same setting. We\nshow that reliable physical adversarial attacks can be performed with different\nmethods and that it is also possible to reduce the perceptibility of the\nresulting perturbations. The findings highlight the need for viable defenses of\na DNN even in the black-box case, but at the same time form the basis for\nsecuring a DNN with methods like adversarial training which utilizes\nadversarial attacks to augment the original training data.\n", "date": "2023-02-27", "categories": []} {"id": "2303.05246", "title": "Efficient Certified Training and Robustness Verification of Neural ODEs", "abstract": " Neural Ordinary Differential Equations (NODEs) are a novel neural\narchitecture, built around initial value problems with learned dynamics which\nare solved during inference. Thought to be inherently more robust against\nadversarial perturbations, they were recently shown to be vulnerable to strong\nadversarial attacks, highlighting the need for formal guarantees. However,\ndespite significant progress in robustness verification for standard\nfeed-forward architectures, the verification of high dimensional NODEs remains\nan open problem. In this work, we address this challenge and propose GAINS, an\nanalysis framework for NODEs combining three key ideas: (i) a novel class of\nODE solvers, based on variable but discrete time steps, (ii) an efficient graph\nrepresentation of solver trajectories, and (iii) a novel abstraction algorithm\noperating on this graph representation. Together, these advances enable the\nefficient analysis and certified training of high-dimensional NODEs, by\nreducing the runtime from an intractable $O(\\exp(d)+\\exp(T))$ to ${O}(d+T^2\n\\log^2T)$ in the dimensionality $d$ and integration time $T$. In an extensive\nevaluation on computer vision (MNIST and FMNIST) and time-series forecasting\n(PHYSIO-NET) problems, we demonstrate the effectiveness of both our certified\ntraining and verification methods.\n", "date": "2023-03-09", "categories": []} {"id": "2302.14166", "title": "GLOW: Global Layout Aware Attacks on Object Detection", "abstract": " Adversarial attacks aim to perturb images such that a predictor outputs\nincorrect results. Due to the limited research in structured attacks, imposing\nconsistency checks on natural multi-object scenes is a promising yet practical\ndefense against conventional adversarial attacks. More desired attacks, to this\nend, should be able to fool defenses with such consistency checks. Therefore,\nwe present the first approach GLOW that copes with various attack requests by\ngenerating global layout-aware adversarial attacks, in which both categorical\nand geometric layout constraints are explicitly established. Specifically, we\nfocus on object detection task and given a victim image, GLOW first localizes\nvictim objects according to target labels. And then it generates multiple\nattack plans, together with their context-consistency scores. Our proposed\nGLOW, on the one hand, is capable of handling various types of requests,\nincluding single or multiple victim objects, with or without specified victim\nobjects. On the other hand, it produces a consistency score for each attack\nplan, reflecting the overall contextual consistency that both semantic category\nand global scene layout are considered. In experiment, we design multiple types\nof attack requests and validate our ideas on MS COCO and Pascal. Extensive\nexperimental results demonstrate that we can achieve about 30$\\%$ average\nrelative improvement compared to state-of-the-art methods in conventional\nsingle object attack request; Moreover, our method outperforms SOTAs\nsignificantly on more generic attack requests by about 20$\\%$ in average;\nFinally, our method produces superior performance under challenging zero-query\nblack-box setting, or 20$\\%$ better than SOTAs. Our code, model and attack\nrequests would be made available.\n", "date": "2023-02-27", "categories": []} {"id": "2303.04502", "title": "Immune Defense: A Novel Adversarial Defense Mechanism for Preventing the\n Generation of Adversarial Examples", "abstract": " The vulnerability of Deep Neural Networks (DNNs) to adversarial examples has\nbeen confirmed. Existing adversarial defenses primarily aim at preventing\nadversarial examples from attacking DNNs successfully, rather than preventing\ntheir generation. If the generation of adversarial examples is unregulated,\nimages within reach are no longer secure and pose a threat to non-robust DNNs.\nAlthough gradient obfuscation attempts to address this issue, it has been shown\nto be circumventable. Therefore, we propose a novel adversarial defense\nmechanism, which is referred to as immune defense and is the example-based\npre-defense. This mechanism applies carefully designed quasi-imperceptible\nperturbations to the raw images to prevent the generation of adversarial\nexamples for the raw images, and thereby protecting both images and DNNs. These\nperturbed images are referred to as Immune Examples (IEs). In the white-box\nimmune defense, we provide a gradient-based and an optimization-based approach,\nrespectively. Additionally, the more complex black-box immune defense is taken\ninto consideration. We propose Masked Gradient Sign Descent (MGSD) to reduce\napproximation error and stabilize the update to improve the transferability of\nIEs and thereby ensure their effectiveness against black-box adversarial\nattacks. The experimental results demonstrate that the optimization-based\napproach has superior performance and better visual quality in white-box immune\ndefense. In contrast, the gradient-based approach has stronger transferability\nand the proposed MGSD significantly improve the transferability of baselines.\n", "date": "2023-03-08", "categories": []} {"id": "2210.06983", "title": "Denoising Masked AutoEncoders Help Robust Classification", "abstract": " In this paper, we propose a new self-supervised method, which is called\nDenoising Masked AutoEncoders (DMAE), for learning certified robust classifiers\nof images. In DMAE, we corrupt each image by adding Gaussian noises to each\npixel value and randomly masking several patches. A Transformer-based\nencoder-decoder model is then trained to reconstruct the original image from\nthe corrupted one. In this learning paradigm, the encoder will learn to capture\nrelevant semantics for the downstream tasks, which is also robust to Gaussian\nadditive noises. We show that the pre-trained encoder can naturally be used as\nthe base classifier in Gaussian smoothed models, where we can analytically\ncompute the certified radius for any data point. Although the proposed method\nis simple, it yields significant performance improvement in downstream\nclassification tasks. We show that the DMAE ViT-Base model, which just uses\n1/10 parameters of the model developed in recent work arXiv:2206.10550,\nachieves competitive or better certified accuracy in various settings. The DMAE\nViT-Large model significantly surpasses all previous results, establishing a\nnew state-of-the-art on ImageNet dataset. We further demonstrate that the\npre-trained model has good transferability to the CIFAR-10 dataset, suggesting\nits wide adaptability. Models and code are available at\nhttps://github.com/quanlin-wu/dmae.\n", "date": "2022-10-10", "categories": []} {"id": "2303.03680", "title": "Logit Margin Matters: Improving Transferable Targeted Adversarial Attack\n by Logit Calibration", "abstract": " Previous works have extensively studied the transferability of adversarial\nsamples in untargeted black-box scenarios. However, it still remains\nchallenging to craft targeted adversarial examples with higher transferability\nthan non-targeted ones. Recent studies reveal that the traditional\nCross-Entropy (CE) loss function is insufficient to learn transferable targeted\nadversarial examples due to the issue of vanishing gradient. In this work, we\nprovide a comprehensive investigation of the CE loss function and find that the\nlogit margin between the targeted and untargeted classes will quickly obtain\nsaturation in CE, which largely limits the transferability. Therefore, in this\npaper, we devote to the goal of continually increasing the logit margin along\nthe optimization to deal with the saturation issue and propose two simple and\neffective logit calibration methods, which are achieved by downscaling the\nlogits with a temperature factor and an adaptive margin, respectively. Both of\nthem can effectively encourage optimization to produce a larger logit margin\nand lead to higher transferability. Besides, we show that minimizing the cosine\ndistance between the adversarial examples and the classifier weights of the\ntarget class can further improve the transferability, which is benefited from\ndownscaling logits via L2-normalization. Experiments conducted on the ImageNet\ndataset validate the effectiveness of the proposed methods, which outperform\nthe state-of-the-art methods in black-box targeted attacks. The source code is\navailable at \\href{https://github.com/WJJLL/Target-Attack/}{Link}\n", "date": "2023-03-07", "categories": []} {"id": "2206.10550", "title": "(Certified!!) Adversarial Robustness for Free!", "abstract": " In this paper we show how to achieve state-of-the-art certified adversarial\nrobustness to 2-norm bounded perturbations by relying exclusively on\noff-the-shelf pretrained models. To do so, we instantiate the denoised\nsmoothing approach of Salman et al. 2020 by combining a pretrained denoising\ndiffusion probabilistic model and a standard high-accuracy classifier. This\nallows us to certify 71% accuracy on ImageNet under adversarial perturbations\nconstrained to be within an 2-norm of 0.5, an improvement of 14 percentage\npoints over the prior certified SoTA using any approach, or an improvement of\n30 percentage points over denoised smoothing. We obtain these results using\nonly pretrained diffusion models and image classifiers, without requiring any\nfine tuning or retraining of model parameters.\n", "date": "2022-06-21", "categories": []} {"id": "2303.01052", "title": "Demystifying Causal Features on Adversarial Examples and Causal\n Inoculation for Robust Network by Adversarial Instrumental Variable\n Regression", "abstract": " The origin of adversarial examples is still inexplicable in research fields,\nand it arouses arguments from various viewpoints, albeit comprehensive\ninvestigations. In this paper, we propose a way of delving into the unexpected\nvulnerability in adversarially trained networks from a causal perspective,\nnamely adversarial instrumental variable (IV) regression. By deploying it, we\nestimate the causal relation of adversarial prediction under an unbiased\nenvironment dissociated from unknown confounders. Our approach aims to\ndemystify inherent causal features on adversarial examples by leveraging a\nzero-sum optimization game between a casual feature estimator (i.e., hypothesis\nmodel) and worst-case counterfactuals (i.e., test function) disturbing to find\ncausal features. Through extensive analyses, we demonstrate that the estimated\ncausal features are highly related to the correct prediction for adversarial\nrobustness, and the counterfactuals exhibit extreme features significantly\ndeviating from the correct prediction. In addition, we present how to\neffectively inoculate CAusal FEatures (CAFE) into defense networks for\nimproving adversarial robustness.\n", "date": "2023-03-02", "categories": []} {"id": "2303.02214", "title": "Adversarial Attacks on Machine Learning in Embedded and IoT Platforms", "abstract": " Machine learning (ML) algorithms are increasingly being integrated into\nembedded and IoT systems that surround us, and they are vulnerable to\nadversarial attacks. The deployment of these ML algorithms on resource-limited\nembedded platforms also requires the use of model compression techniques. The\nimpact of such model compression techniques on adversarial robustness in ML is\nan important and emerging area of research. This article provides an overview\nof the landscape of adversarial attacks and ML model compression techniques\nrelevant to embedded systems. We then describe efforts that seek to understand\nthe relationship between adversarial attacks and ML model compression before\ndiscussing open problems in this area.\n", "date": "2023-03-03", "categories": []} {"id": "2303.02322", "title": "Improved Robustness Against Adaptive Attacks With Ensembles and\n Error-Correcting Output Codes", "abstract": " Neural network ensembles have been studied extensively in the context of\nadversarial robustness and most ensemble-based approaches remain vulnerable to\nadaptive attacks. In this paper, we investigate the robustness of\nError-Correcting Output Codes (ECOC) ensembles through architectural\nimprovements and ensemble diversity promotion. We perform a comprehensive\nrobustness assessment against adaptive attacks and investigate the relationship\nbetween ensemble diversity and robustness. Our results demonstrate the benefits\nof ECOC ensembles for adversarial robustness compared to regular ensembles of\nconvolutional neural networks (CNNs) and show why the robustness of previous\nimplementations is limited. We also propose an adversarial training method\nspecific to ECOC ensembles that allows to further improve robustness to\nadaptive attacks.\n", "date": "2023-03-04", "categories": []} {"id": "2301.13122", "title": "Towards Adversarial Realism and Robust Learning for IoT Intrusion\n Detection and Classification", "abstract": " The Internet of Things (IoT) faces tremendous security challenges. Machine\nlearning models can be used to tackle the growing number of cyber-attack\nvariations targeting IoT systems, but the increasing threat posed by\nadversarial attacks restates the need for reliable defense strategies. This\nwork describes the types of constraints required for a realistic adversarial\ncyber-attack example and proposes a methodology for a trustworthy adversarial\nrobustness analysis with a realistic adversarial evasion attack vector. The\nproposed methodology was used to evaluate three supervised algorithms, Random\nForest (RF), Extreme Gradient Boosting (XGB), and Light Gradient Boosting\nMachine (LGBM), and one unsupervised algorithm, Isolation Forest (IFOR).\nConstrained adversarial examples were generated with the Adaptative\nPerturbation Pattern Method (A2PM), and evasion attacks were performed against\nmodels created with regular and adversarial training. Even though RF was the\nleast affected in binary classification, XGB consistently achieved the highest\naccuracy in multi-class classification. The obtained results evidence the\ninherent susceptibility of tree-based algorithms and ensembles to adversarial\nevasion attacks and demonstrates the benefits of adversarial training and a\nsecurity by design approach for a more robust IoT network intrusion detection\nand cyber-attack classification.\n", "date": "2023-01-30", "categories": []} {"id": "2303.01289", "title": "Rethinking the Effect of Data Augmentation in Adversarial Contrastive\n Learning", "abstract": " Recent works have shown that self-supervised learning can achieve remarkable\nrobustness when integrated with adversarial training (AT). However, the\nrobustness gap between supervised AT (sup-AT) and self-supervised AT (self-AT)\nremains significant. Motivated by this observation, we revisit existing self-AT\nmethods and discover an inherent dilemma that affects self-AT robustness:\neither strong or weak data augmentations are harmful to self-AT, and a medium\nstrength is insufficient to bridge the gap. To resolve this dilemma, we propose\na simple remedy named DYNACL (Dynamic Adversarial Contrastive Learning). In\nparticular, we propose an augmentation schedule that gradually anneals from a\nstrong augmentation to a weak one to benefit from both extreme cases. Besides,\nwe adopt a fast post-processing stage for adapting it to downstream tasks.\nThrough extensive experiments, we show that DYNACL can improve state-of-the-art\nself-AT robustness by 8.84% under Auto-Attack on the CIFAR-10 dataset, and can\neven outperform vanilla supervised adversarial training for the first time. Our\ncode is available at \\url{https://github.com/PKU-ML/DYNACL}.\n", "date": "2023-03-02", "categories": []} {"id": "2303.01507", "title": "Defending against Adversarial Audio via Diffusion Model", "abstract": " Deep learning models have been widely used in commercial acoustic systems in\nrecent years. However, adversarial audio examples can cause abnormal behaviors\nfor those acoustic systems, while being hard for humans to perceive. Various\nmethods, such as transformation-based defenses and adversarial training, have\nbeen proposed to protect acoustic systems from adversarial attacks, but they\nare less effective against adaptive attacks. Furthermore, directly applying the\nmethods from the image domain can lead to suboptimal results because of the\nunique properties of audio data. In this paper, we propose an adversarial\npurification-based defense pipeline, AudioPure, for acoustic systems via\noff-the-shelf diffusion models. Taking advantage of the strong generation\nability of diffusion models, AudioPure first adds a small amount of noise to\nthe adversarial audio and then runs the reverse sampling step to purify the\nnoisy audio and recover clean audio. AudioPure is a plug-and-play method that\ncan be directly applied to any pretrained classifier without any fine-tuning or\nre-training. We conduct extensive experiments on speech command recognition\ntask to evaluate the robustness of AudioPure. Our method is effective against\ndiverse adversarial attacks (e.g. $\\mathcal{L}_2$ or\n$\\mathcal{L}_\\infty$-norm). It outperforms the existing methods under both\nstrong adaptive white-box and black-box attacks bounded by $\\mathcal{L}_2$ or\n$\\mathcal{L}_\\infty$-norm (up to +20\\% in robust accuracy). Besides, we also\nevaluate the certified robustness for perturbations bounded by\n$\\mathcal{L}_2$-norm via randomized smoothing. Our pipeline achieves a higher\ncertified accuracy than baselines.\n", "date": "2023-03-02", "categories": []} {"id": "2303.01959", "title": "PointCert: Point Cloud Classification with Deterministic Certified\n Robustness Guarantees", "abstract": " Point cloud classification is an essential component in many\nsecurity-critical applications such as autonomous driving and augmented\nreality. However, point cloud classifiers are vulnerable to adversarially\nperturbed point clouds. Existing certified defenses against adversarial point\nclouds suffer from a key limitation: their certified robustness guarantees are\nprobabilistic, i.e., they produce an incorrect certified robustness guarantee\nwith some probability. In this work, we propose a general framework, namely\nPointCert, that can transform an arbitrary point cloud classifier to be\ncertifiably robust against adversarial point clouds with deterministic\nguarantees. PointCert certifiably predicts the same label for a point cloud\nwhen the number of arbitrarily added, deleted, and/or modified points is less\nthan a threshold. Moreover, we propose multiple methods to optimize the\ncertified robustness guarantees of PointCert in three application scenarios. We\nsystematically evaluate PointCert on ModelNet and ScanObjectNN benchmark\ndatasets. Our results show that PointCert substantially outperforms\nstate-of-the-art certified defenses even though their robustness guarantees are\nprobabilistic.\n", "date": "2023-03-03", "categories": []} {"id": "2303.01068", "title": "Targeted Adversarial Attacks against Neural Machine Translation", "abstract": " Neural Machine Translation (NMT) systems are used in various applications.\nHowever, it has been shown that they are vulnerable to very small perturbations\nof their inputs, known as adversarial attacks. In this paper, we propose a new\ntargeted adversarial attack against NMT models. In particular, our goal is to\ninsert a predefined target keyword into the translation of the adversarial\nsentence while maintaining similarity between the original sentence and the\nperturbed one in the source domain. To this aim, we propose an optimization\nproblem, including an adversarial loss term and a similarity term. We use\ngradient projection in the embedding space to craft an adversarial sentence.\nExperimental results show that our attack outperforms Seq2Sick, the other\ntargeted adversarial attack against NMT models, in terms of success rate and\ndecrease in translation quality. Our attack succeeds in inserting a keyword\ninto the translation for more than 75% of sentences while similarity with the\noriginal sentence stays preserved.\n", "date": "2023-03-02", "categories": []} {"id": "2303.01245", "title": "An Incremental Gray-box Physical Adversarial Attack on Neural Network\n Training", "abstract": " Neural networks have demonstrated remarkable success in learning and solving\ncomplex tasks in a variety of fields. Nevertheless, the rise of those networks\nin modern computing has been accompanied by concerns regarding their\nvulnerability to adversarial attacks. In this work, we propose a novel\ngradient-free, gray box, incremental attack that targets the training process\nof neural networks. The proposed attack, which implicitly poisons the\nintermediate data structures that retain the training instances between\ntraining epochs acquires its high-risk property from attacking data structures\nthat are typically unobserved by professionals. Hence, the attack goes\nunnoticed despite the damage it can cause. Moreover, the attack can be executed\nwithout the attackers' knowledge of the neural network structure or training\ndata making it more dangerous. The attack was tested under a sensitive\napplication of secure cognitive cities, namely, biometric authentication. The\nconducted experiments showed that the proposed attack is effective and\nstealthy. Finally, the attack effectiveness property was concluded from the\nfact that it was able to flip the sign of the loss gradient in the conducted\nexperiments to become positive, which indicated noisy and unstable training.\nMoreover, the attack was able to decrease the inference probability in the\npoisoned networks compared to their unpoisoned counterparts by 15.37%, 14.68%,\nand 24.88% for the Densenet, VGG, and Xception, respectively. Finally, the\nattack retained its stealthiness despite its high effectiveness. This was\ndemonstrated by the fact that the attack did not cause a notable increase in\nthe training time, in addition, the Fscore values only dropped by an average of\n1.2%, 1.9%, and 1.5% for the poisoned Densenet, VGG, and Xception,\nrespectively.\n", "date": "2023-02-20", "categories": []} {"id": "2303.00200", "title": "Feature Extraction Matters More: Universal Deepfake Disruption through\n Attacking Ensemble Feature Extractors", "abstract": " Adversarial example is a rising way of protecting facial privacy security\nfrom deepfake modification. To prevent massive facial images from being\nillegally modified by various deepfake models, it is essential to design a\nuniversal deepfake disruptor. However, existing works treat deepfake disruption\nas an End-to-End process, ignoring the functional difference between feature\nextraction and image reconstruction, which makes it difficult to generate a\ncross-model universal disruptor. In this work, we propose a novel\nFeature-Output ensemble UNiversal Disruptor (FOUND) against deepfake networks,\nwhich explores a new opinion that considers attacking feature extractors as the\nmore critical and general task in deepfake disruption. We conduct an effective\ntwo-stage disruption process. We first disrupt multi-model feature extractors\nthrough multi-feature aggregation and individual-feature maintenance, and then\ndevelop a gradient-ensemble algorithm to enhance the disruption effect by\nsimplifying the complex optimization problem of disrupting multiple End-to-End\nmodels. Extensive experiments demonstrate that FOUND can significantly boost\nthe disruption effect against ensemble deepfake benchmark models. Besides, our\nmethod can fast obtain a cross-attribute, cross-image, and cross-model\nuniversal deepfake disruptor with only a few training images, surpassing\nstate-of-the-art universal disruptors in both success rate and efficiency.\n", "date": "2023-03-01", "categories": []} {"id": "2303.00250", "title": "Combating Exacerbated Heterogeneity for Robust Models in Federated\n Learning", "abstract": " Privacy and security concerns in real-world applications have led to the\ndevelopment of adversarially robust federated models. However, the\nstraightforward combination between adversarial training and federated learning\nin one framework can lead to the undesired robustness deterioration. We\ndiscover that the attribution behind this phenomenon is that the generated\nadversarial data could exacerbate the data heterogeneity among local clients,\nmaking the wrapped federated learning perform poorly. To deal with this\nproblem, we propose a novel framework called Slack Federated Adversarial\nTraining (SFAT), assigning the client-wise slack during aggregation to combat\nthe intensified heterogeneity. Theoretically, we analyze the convergence of the\nproposed method to properly relax the objective when combining federated\nlearning and adversarial training. Experimentally, we verify the rationality\nand effectiveness of SFAT on various benchmarked and real-world datasets with\ndifferent adversarial training and federated optimization methods. The code is\npublicly available at https://github.com/ZFancy/SFAT.\n", "date": "2023-03-01", "categories": []} {"id": "2303.00284", "title": "To Make Yourself Invisible with Adversarial Semantic Contours", "abstract": " Modern object detectors are vulnerable to adversarial examples, which may\nbring risks to real-world applications. The sparse attack is an important task\nwhich, compared with the popular adversarial perturbation on the whole image,\nneeds to select the potential pixels that is generally regularized by an\n$\\ell_0$-norm constraint, and simultaneously optimize the corresponding\ntexture. The non-differentiability of $\\ell_0$ norm brings challenges and many\nworks on attacking object detection adopted manually-designed patterns to\naddress them, which are meaningless and independent of objects, and therefore\nlead to relatively poor attack performance.\n In this paper, we propose Adversarial Semantic Contour (ASC), an MAP estimate\nof a Bayesian formulation of sparse attack with a deceived prior of object\ncontour. The object contour prior effectively reduces the search space of pixel\nselection and improves the attack by introducing more semantic bias. Extensive\nexperiments demonstrate that ASC can corrupt the prediction of 9 modern\ndetectors with different architectures (\\e.g., one-stage, two-stage and\nTransformer) by modifying fewer than 5\\% of the pixels of the object area in\nCOCO in white-box scenario and around 10\\% of those in black-box scenario. We\nfurther extend the attack to datasets for autonomous driving systems to verify\nthe effectiveness. We conclude with cautions about contour being the common\nweakness of object detectors with various architecture and the care needed in\napplying them in safety-sensitive scenarios.\n", "date": "2023-03-01", "categories": []} {"id": "2210.12606", "title": "Nash Equilibria and Pitfalls of Adversarial Training in Adversarial\n Robustness Games", "abstract": " Adversarial training is a standard technique for training adversarially\nrobust models. In this paper, we study adversarial training as an alternating\nbest-response strategy in a 2-player zero-sum game. We prove that even in a\nsimple scenario of a linear classifier and a statistical model that abstracts\nrobust vs. non-robust features, the alternating best response strategy of such\ngame may not converge. On the other hand, a unique pure Nash equilibrium of the\ngame exists and is provably robust. We support our theoretical results with\nexperiments, showing the non-convergence of adversarial training and the\nrobustness of Nash equilibrium.\n", "date": "2022-10-23", "categories": []} {"id": "2302.12366", "title": "Less is More: Data Pruning for Faster Adversarial Training", "abstract": " Deep neural networks (DNNs) are sensitive to adversarial examples, resulting\nin fragile and unreliable performance in the real world. Although adversarial\ntraining (AT) is currently one of the most effective methodologies to robustify\nDNNs, it is computationally very expensive (e.g., 5-10X costlier than standard\ntraining). To address this challenge, existing approaches focus on single-step\nAT, referred to as Fast AT, reducing the overhead of adversarial example\ngeneration. Unfortunately, these approaches are known to fail against stronger\nadversaries. To make AT computationally efficient without compromising\nrobustness, this paper takes a different view of the efficient AT problem.\nSpecifically, we propose to minimize redundancies at the data level by\nleveraging data pruning. Extensive experiments demonstrate that the data\npruning based AT can achieve similar or superior robust (and clean) accuracy as\nits unpruned counterparts while being significantly faster. For instance,\nproposed strategies accelerate CIFAR-10 training up to 3.44X and CIFAR-100\ntraining to 2.02X. Additionally, the data pruning methods can readily be\nreconciled with existing adversarial acceleration tricks to obtain the striking\nspeed-ups of 5.66X and 5.12X on CIFAR-10, 3.67X and 3.07X on CIFAR-100 with\nTRADES and MART, respectively.\n", "date": "2023-02-23", "categories": []} {"id": "2302.14301", "title": "A Comprehensive Study on Robustness of Image Classification Models:\n Benchmarking and Rethinking", "abstract": " The robustness of deep neural networks is usually lacking under adversarial\nexamples, common corruptions, and distribution shifts, which becomes an\nimportant research problem in the development of deep learning. Although new\ndeep learning methods and robustness improvement techniques have been\nconstantly proposed, the robustness evaluations of existing methods are often\ninadequate due to their rapid development, diverse noise patterns, and simple\nevaluation metrics. Without thorough robustness evaluations, it is hard to\nunderstand the advances in the field and identify the effective methods. In\nthis paper, we establish a comprehensive robustness benchmark called\n\\textbf{ARES-Bench} on the image classification task. In our benchmark, we\nevaluate the robustness of 55 typical deep learning models on ImageNet with\ndiverse architectures (e.g., CNNs, Transformers) and learning algorithms (e.g.,\nnormal supervised training, pre-training, adversarial training) under numerous\nadversarial attacks and out-of-distribution (OOD) datasets. Using robustness\ncurves as the major evaluation criteria, we conduct large-scale experiments and\ndraw several important findings, including: 1) there is an inherent trade-off\nbetween adversarial and natural robustness for the same model architecture; 2)\nadversarial training effectively improves adversarial robustness, especially\nwhen performed on Transformer architectures; 3) pre-training significantly\nimproves natural robustness based on more training data or self-supervised\nlearning. Based on ARES-Bench, we further analyze the training tricks in\nlarge-scale adversarial training on ImageNet. By designing the training\nsettings accordingly, we achieve the new state-of-the-art adversarial\nrobustness. We have made the benchmarking results and code platform publicly\navailable.\n", "date": "2023-02-28", "categories": []} {"id": "2210.16777", "title": "Symmetric Saliency-based Adversarial Attack To Speaker Identification", "abstract": " Adversarial attack approaches to speaker identification either need high\ncomputational cost or are not very effective, to our knowledge. To address this\nissue, in this paper, we propose a novel generation-network-based approach,\ncalled symmetric saliency-based encoder-decoder (SSED), to generate adversarial\nvoice examples to speaker identification. It contains two novel components.\nFirst, it uses a novel saliency map decoder to learn the importance of speech\nsamples to the decision of a targeted speaker identification system, so as to\nmake the attacker focus on generating artificial noise to the important\nsamples. It also proposes an angular loss function to push the speaker\nembedding far away from the source speaker. Our experimental results\ndemonstrate that the proposed SSED yields the state-of-the-art performance,\ni.e. over 97% targeted attack success rate and a signal-to-noise level of over\n39 dB on both the open-set and close-set speaker identification tasks, with a\nlow computational cost.\n", "date": "2022-10-30", "categories": []} {"id": "2302.12959", "title": "Chaotic Variational Auto encoder-based Adversarial Machine Learning", "abstract": " Machine Learning (ML) has become the new contrivance in almost every field.\nThis makes them a target of fraudsters by various adversary attacks, thereby\nhindering the performance of ML models. Evasion and Data-Poison-based attacks\nare well acclaimed, especially in finance, healthcare, etc. This motivated us\nto propose a novel computationally less expensive attack mechanism based on the\nadversarial sample generation by Variational Auto Encoder (VAE). It is well\nknown that Wavelet Neural Network (WNN) is considered computationally efficient\nin solving image and audio processing, speech recognition, and time-series\nforecasting. This paper proposed VAE-Deep-Wavelet Neural Network\n(VAE-Deep-WNN), where Encoder and Decoder employ WNN networks. Further, we\nproposed chaotic variants of both VAE with Multi-layer perceptron (MLP) and\nDeep-WNN and named them C-VAE-MLP and C-VAE-Deep-WNN, respectively. Here, we\nemployed a Logistic map to generate random noise in the latent space. In this\npaper, we performed VAE-based adversary sample generation and applied it to\nvarious problems related to finance and cybersecurity domain-related problems\nsuch as loan default, credit card fraud, and churn modelling, etc., We\nperformed both Evasion and Data-Poison attacks on Logistic Regression (LR) and\nDecision Tree (DT) models. The results indicated that VAE-Deep-WNN outperformed\nthe rest in the majority of the datasets and models. However, its chaotic\nvariant C-VAE-Deep-WNN performed almost similarly to VAE-Deep-WNN in the\nmajority of the datasets.\n", "date": "2023-02-25", "categories": []} {"id": "2302.13464", "title": "Randomness in ML Defenses Helps Persistent Attackers and Hinders\n Evaluators", "abstract": " It is becoming increasingly imperative to design robust ML defenses. However,\nrecent work has found that many defenses that initially resist state-of-the-art\nattacks can be broken by an adaptive adversary. In this work we take steps to\nsimplify the design of defenses and argue that white-box defenses should eschew\nrandomness when possible. We begin by illustrating a new issue with the\ndeployment of randomized defenses that reduces their security compared to their\ndeterministic counterparts. We then provide evidence that making defenses\ndeterministic simplifies robustness evaluation, without reducing the\neffectiveness of a truly robust defense. Finally, we introduce a new defense\nevaluation framework that leverages a defense's deterministic nature to better\nevaluate its adversarial robustness.\n", "date": "2023-02-27", "categories": []} {"id": "2302.13487", "title": "Contextual adversarial attack against aerial detection in the physical\n world", "abstract": " Deep Neural Networks (DNNs) have been extensively utilized in aerial\ndetection. However, DNNs' sensitivity and vulnerability to maliciously\nelaborated adversarial examples have progressively garnered attention.\nRecently, physical attacks have gradually become a hot issue due to they are\nmore practical in the real world, which poses great threats to some\nsecurity-critical applications. In this paper, we take the first attempt to\nperform physical attacks in contextual form against aerial detection in the\nphysical world. We propose an innovative contextual attack method against\naerial detection in real scenarios, which achieves powerful attack performance\nand transfers well between various aerial object detectors without smearing or\nblocking the interested objects to hide. Based on the findings that the\ntargets' contextual information plays an important role in aerial detection by\nobserving the detectors' attention maps, we propose to make full use of the\ncontextual area of the interested targets to elaborate contextual perturbations\nfor the uncovered attacks in real scenarios. Extensive proportionally scaled\nexperiments are conducted to evaluate the effectiveness of the proposed\ncontextual attack method, which demonstrates the proposed method's superiority\nin both attack efficacy and physical practicality.\n", "date": "2023-02-27", "categories": []} {"id": "2208.13058", "title": "Adversarial Robustness for Tabular Data through Cost and Utility\n Awareness", "abstract": " Many safety-critical applications of machine learning, such as fraud or abuse\ndetection, use data in tabular domains. Adversarial examples can be\nparticularly damaging for these applications. Yet, existing works on\nadversarial robustness primarily focus on machine-learning models in image and\ntext domains. We argue that, due to the differences between tabular data and\nimages or text, existing threat models are not suitable for tabular domains.\nThese models do not capture that the costs of an attack could be more\nsignificant than imperceptibility, or that the adversary could assign different\nvalues to the utility obtained from deploying different adversarial examples.\nWe demonstrate that, due to these differences, the attack and defense methods\nused for images and text cannot be directly applied to tabular settings. We\naddress these issues by proposing new cost and utility-aware threat models that\nare tailored to the adversarial capabilities and constraints of attackers\ntargeting tabular domains. We introduce a framework that enables us to design\nattack and defense mechanisms that result in models protected against cost and\nutility-aware adversaries, for example, adversaries constrained by a certain\nfinancial budget. We show that our approach is effective on three datasets\ncorresponding to applications for which adversarial examples can have economic\nand social implications.\n", "date": "2022-08-27", "categories": []} {"id": "2302.12351", "title": "On the Hardness of Robustness Transfer: A Perspective from Rademacher\n Complexity over Symmetric Difference Hypothesis Space", "abstract": " Recent studies demonstrated that the adversarially robust learning under\n$\\ell_\\infty$ attack is harder to generalize to different domains than standard\ndomain adaptation. How to transfer robustness across different domains has been\na key question in domain adaptation field. To investigate the fundamental\ndifficulty behind adversarially robust domain adaptation (or robustness\ntransfer), we propose to analyze a key complexity measure that controls the\ncross-domain generalization: the adversarial Rademacher complexity over {\\em\nsymmetric difference hypothesis space} $\\mathcal{H} \\Delta \\mathcal{H}$. For\nlinear models, we show that adversarial version of this complexity is always\ngreater than the non-adversarial one, which reveals the intrinsic hardness of\nadversarially robust domain adaptation. We also establish upper bounds on this\ncomplexity measure. Then we extend them to the ReLU neural network class by\nupper bounding the adversarial Rademacher complexity in the binary\nclassification setting. Finally, even though the robust domain adaptation is\nprovably harder, we do find positive relation between robust learning and\nstandard domain adaptation. We explain \\emph{how adversarial training helps\ndomain adaptation in terms of standard risk}. We believe our results initiate\nthe study of the generalization theory of adversarially robust domain\nadaptation, and could shed lights on distributed adversarially robust learning\nfrom heterogeneous sources, e.g., federated learning scenario.\n", "date": "2023-02-23", "categories": []} {"id": "2302.08764", "title": "Adversarial Contrastive Distillation with Adaptive Denoising", "abstract": " Adversarial Robustness Distillation (ARD) is a novel method to boost the\nrobustness of small models. Unlike general adversarial training, its robust\nknowledge transfer can be less easily restricted by the model capacity.\nHowever, the teacher model that provides the robustness of knowledge does not\nalways make correct predictions, interfering with the student's robust\nperformances. Besides, in the previous ARD methods, the robustness comes\nentirely from one-to-one imitation, ignoring the relationship between examples.\nTo this end, we propose a novel structured ARD method called Contrastive\nRelationship DeNoise Distillation (CRDND). We design an adaptive compensation\nmodule to model the instability of the teacher. Moreover, we utilize the\ncontrastive relationship to explore implicit robustness knowledge among\nmultiple examples. Experimental results on multiple attack benchmarks show\nCRDND can transfer robust knowledge efficiently and achieves state-of-the-art\nperformances.\n", "date": "2023-02-17", "categories": []} {"id": "2209.05980", "title": "Certified Defences Against Adversarial Patch Attacks on Semantic\n Segmentation", "abstract": " Adversarial patch attacks are an emerging security threat for real world deep\nlearning applications. We present Demasked Smoothing, the first approach (up to\nour knowledge) to certify the robustness of semantic segmentation models\nagainst this threat model. Previous work on certifiably defending against patch\nattacks has mostly focused on image classification task and often required\nchanges in the model architecture and additional training which is undesirable\nand computationally expensive. In Demasked Smoothing, any segmentation model\ncan be applied without particular training, fine-tuning, or restriction of the\narchitecture. Using different masking strategies, Demasked Smoothing can be\napplied both for certified detection and certified recovery. In extensive\nexperiments we show that Demasked Smoothing can on average certify 64% of the\npixel predictions for a 1% patch in the detection task and 48% against a 0.5%\npatch for the recovery task on the ADE20K dataset.\n", "date": "2022-09-13", "categories": []} {"id": "2302.00537", "title": "Effectiveness of Moving Target Defenses for Adversarial Attacks in\n ML-based Malware Detection", "abstract": " Several moving target defenses (MTDs) to counter adversarial ML attacks have\nbeen proposed in recent years. MTDs claim to increase the difficulty for the\nattacker in conducting attacks by regularly changing certain elements of the\ndefense, such as cycling through configurations. To examine these claims, we\nstudy for the first time the effectiveness of several recent MTDs for\nadversarial ML attacks applied to the malware detection domain. Under different\nthreat models, we show that transferability and query attack strategies can\nachieve high levels of evasion against these defenses through existing and\nnovel attack strategies across Android and Windows. We also show that\nfingerprinting and reconnaissance are possible and demonstrate how attackers\nmay obtain critical defense hyperparameters as well as information about how\npredictions are produced. Based on our findings, we present key recommendations\nfor future work on the development of effective MTDs for adversarial attacks in\nML-based malware detection.\n", "date": "2023-02-01", "categories": []} {"id": "2302.10287", "title": "CertViT: Certified Robustness of Pre-Trained Vision Transformers", "abstract": " Lipschitz bounded neural networks are certifiably robust and have a good\ntrade-off between clean and certified accuracy. Existing Lipschitz bounding\nmethods train from scratch and are limited to moderately sized networks (< 6M\nparameters). They require a fair amount of hyper-parameter tuning and are\ncomputationally prohibitive for large networks like Vision Transformers (5M to\n660M parameters). Obtaining certified robustness of transformers is not\nfeasible due to the non-scalability and inflexibility of the current methods.\nThis work presents CertViT, a two-step proximal-projection method to achieve\ncertified robustness from pre-trained weights. The proximal step tries to lower\nthe Lipschitz bound and the projection step tries to maintain the clean\naccuracy of pre-trained weights. We show that CertViT networks have better\ncertified accuracy than state-of-the-art Lipschitz trained networks. We apply\nCertViT on several variants of pre-trained vision transformers and show\nadversarial robustness using standard attacks. Code :\nhttps://github.com/sagarverma/transformer-lipschitz\n", "date": "2023-02-01", "categories": []} {"id": "2302.10633", "title": "Generalization Bounds for Adversarial Contrastive Learning", "abstract": " Deep networks are well-known to be fragile to adversarial attacks, and\nadversarial training is one of the most popular methods used to train a robust\nmodel. To take advantage of unlabeled data, recent works have applied\nadversarial training to contrastive learning (Adversarial Contrastive Learning;\nACL for short) and obtain promising robust performance. However, the theory of\nACL is not well understood. To fill this gap, we leverage the Rademacher\ncomplexity to analyze the generalization performance of ACL, with a particular\nfocus on linear models and multi-layer neural networks under $\\ell_p$ attack\n($p \\ge 1$). Our theory shows that the average adversarial risk of the\ndownstream tasks can be upper bounded by the adversarial unsupervised risk of\nthe upstream task. The experimental results validate our theory.\n", "date": "2023-02-21", "categories": []} {"id": "2302.10686", "title": "Interpretable Spectrum Transformation Attacks to Speaker Recognition", "abstract": " The success of adversarial attacks to speaker recognition is mainly in\nwhite-box scenarios. When applying the adversarial voices that are generated by\nattacking white-box surrogate models to black-box victim models, i.e.\n\\textit{transfer-based} black-box attacks, the transferability of the\nadversarial voices is not only far from satisfactory, but also lacks\ninterpretable basis. To address these issues, in this paper, we propose a\ngeneral framework, named spectral transformation attack based on modified\ndiscrete cosine transform (STA-MDCT), to improve the transferability of the\nadversarial voices to a black-box victim model. Specifically, we first apply\nMDCT to the input voice. Then, we slightly modify the energy of different\nfrequency bands for capturing the salient regions of the adversarial noise in\nthe time-frequency domain that are critical to a successful attack. Unlike\nexisting approaches that operate voices in the time domain, the proposed\nframework operates voices in the time-frequency domain, which improves the\ninterpretability, transferability, and imperceptibility of the attack.\nMoreover, it can be implemented with any gradient-based attackers. To utilize\nthe advantage of model ensembling, we not only implement STA-MDCT with a single\nwhite-box surrogate model, but also with an ensemble of surrogate models.\nFinally, we visualize the saliency maps of adversarial voices by the class\nactivation maps (CAM), which offers an interpretable basis to transfer-based\nattacks in speaker recognition for the first time. Extensive comparison results\nwith five representative attackers show that the CAM visualization clearly\nexplains the effectiveness of STA-MDCT, and the weaknesses of the comparison\nmethods; the proposed method outperforms the comparison methods by a large\nmargin.\n", "date": "2023-02-21", "categories": []} {"id": "2212.01957", "title": "CSTAR: Towards Compact and STructured Deep Neural Networks with\n Adversarial Robustness", "abstract": " Model compression and model defense for deep neural networks (DNNs) have been\nextensively and individually studied. Considering the co-importance of model\ncompactness and robustness in practical applications, several prior works have\nexplored to improve the adversarial robustness of the sparse neural networks.\nHowever, the structured sparse models obtained by the exiting works suffer\nsevere performance degradation for both benign and robust accuracy, thereby\ncausing a challenging dilemma between robustness and structuredness of the\ncompact DNNs. To address this problem, in this paper, we propose CSTAR, an\nefficient solution that can simultaneously impose the low-rankness-based\nCompactness, high STructuredness and high Adversarial Robustness on the target\nDNN models. By formulating the low-rankness and robustness requirement within\nthe same framework and globally determining the ranks, the compressed DNNs can\nsimultaneously achieve high compression performance and strong adversarial\nrobustness. Evaluations for various DNN models on different datasets\ndemonstrate the effectiveness of CSTAR. Compared with the state-of-the-art\nrobust structured pruning methods, CSTAR shows consistently better performance.\nFor instance, when compressing ResNet-18 on CIFAR-10, CSTAR can achieve up to\n20.07% and 11.91% improvement for benign accuracy and robust accuracy,\nrespectively. For compressing ResNet-18 with 16x compression ratio on Imagenet,\nCSTAR can obtain 8.58% benign accuracy gain and 4.27% robust accuracy gain\ncompared to the existing robust structured pruning method.\n", "date": "2022-12-04", "categories": []} {"id": "2302.09479", "title": "Delving into the Adversarial Robustness of Federated Learning", "abstract": " In Federated Learning (FL), models are as fragile as centrally trained models\nagainst adversarial examples. However, the adversarial robustness of federated\nlearning remains largely unexplored. This paper casts light on the challenge of\nadversarial robustness of federated learning. To facilitate a better\nunderstanding of the adversarial vulnerability of the existing FL methods, we\nconduct comprehensive robustness evaluations on various attacks and adversarial\ntraining methods. Moreover, we reveal the negative impacts induced by directly\nadopting adversarial training in FL, which seriously hurts the test accuracy,\nespecially in non-IID settings. In this work, we propose a novel algorithm\ncalled Decision Boundary based Federated Adversarial Training (DBFAT), which\nconsists of two components (local re-weighting and global regularization) to\nimprove both accuracy and robustness of FL systems. Extensive experiments on\nmultiple datasets demonstrate that DBFAT consistently outperforms other\nbaselines under both IID and non-IID settings.\n", "date": "2023-02-19", "categories": []} {"id": "2302.09491", "title": "X-Adv: Physical Adversarial Object Attacks against X-ray Prohibited Item\n Detection", "abstract": " Adversarial attacks are valuable for evaluating the robustness of deep\nlearning models. Existing attacks are primarily conducted on the visible light\nspectrum (e.g., pixel-wise texture perturbation). However, attacks targeting\ntexture-free X-ray images remain underexplored, despite the widespread\napplication of X-ray imaging in safety-critical scenarios such as the X-ray\ndetection of prohibited items. In this paper, we take the first step toward the\nstudy of adversarial attacks targeted at X-ray prohibited item detection, and\nreveal the serious threats posed by such attacks in this safety-critical\nscenario. Specifically, we posit that successful physical adversarial attacks\nin this scenario should be specially designed to circumvent the challenges\nposed by color/texture fading and complex overlapping. To this end, we propose\nX-adv to generate physically printable metals that act as an adversarial agent\ncapable of deceiving X-ray detectors when placed in luggage. To resolve the\nissues associated with color/texture fading, we develop a differentiable\nconverter that facilitates the generation of 3D-printable objects with\nadversarial shapes, using the gradients of a surrogate model rather than\ndirectly generating adversarial textures. To place the printed 3D adversarial\nobjects in luggage with complex overlapped instances, we design a policy-based\nreinforcement learning strategy to find locations eliciting strong attack\nperformance in worst-case scenarios whereby the prohibited items are heavily\noccluded by other items. To verify the effectiveness of the proposed X-Adv, we\nconduct extensive experiments in both the digital and the physical world\n(employing a commercial X-ray security inspection system for the latter case).\nFurthermore, we present the physical-world X-ray adversarial attack dataset\nXAD.\n", "date": "2023-02-19", "categories": []} {"id": "2302.09575", "title": "Stationary Point Losses for Robust Model", "abstract": " The inability to guarantee robustness is one of the major obstacles to the\napplication of deep learning models in security-demanding domains. We identify\nthat the most commonly used cross-entropy (CE) loss does not guarantee robust\nboundary for neural networks. CE loss sharpens the neural network at the\ndecision boundary to achieve a lower loss, rather than pushing the boundary to\na more robust position. A robust boundary should be kept in the middle of\nsamples from different classes, thus maximizing the margins from the boundary\nto the samples. We think this is due to the fact that CE loss has no stationary\npoint. In this paper, we propose a family of new losses, called stationary\npoint (SP) loss, which has at least one stationary point on the correct\nclassification side. We proved that robust boundary can be guaranteed by SP\nloss without losing much accuracy. With SP loss, larger perturbations are\nrequired to generate adversarial examples. We demonstrate that robustness is\nimproved under a variety of adversarial attacks by applying SP loss. Moreover,\nrobust boundary learned by SP loss also performs well on imbalanced datasets.\n", "date": "2023-02-19", "categories": []} {"id": "2302.10164", "title": "Seasoning Model Soups for Robustness to Adversarial and Natural\n Distribution Shifts", "abstract": " Adversarial training is widely used to make classifiers robust to a specific\nthreat or adversary, such as $\\ell_p$-norm bounded perturbations of a given\n$p$-norm. However, existing methods for training classifiers robust to multiple\nthreats require knowledge of all attacks during training and remain vulnerable\nto unseen distribution shifts. In this work, we describe how to obtain\nadversarially-robust model soups (i.e., linear combinations of parameters) that\nsmoothly trade-off robustness to different $\\ell_p$-norm bounded adversaries.\nWe demonstrate that such soups allow us to control the type and level of\nrobustness, and can achieve robustness to all threats without jointly training\non all of them. In some cases, the resulting model soups are more robust to a\ngiven $\\ell_p$-norm adversary than the constituent model specialized against\nthat same adversary. Finally, we show that adversarially-robust model soups can\nbe a viable tool to adapt to distribution shifts from a few examples.\n", "date": "2023-02-20", "categories": []} {"id": "2302.08872", "title": "Revisiting adversarial training for the worst-performing class", "abstract": " Despite progress in adversarial training (AT), there is a substantial gap\nbetween the top-performing and worst-performing classes in many datasets. For\nexample, on CIFAR10, the accuracies for the best and worst classes are 74% and\n23%, respectively. We argue that this gap can be reduced by explicitly\noptimizing for the worst-performing class, resulting in a min-max-max\noptimization formulation. Our method, called class focused online learning\n(CFOL), includes high probability convergence guarantees for the worst class\nloss and can be easily integrated into existing training setups with minimal\ncomputational overhead. We demonstrate an improvement to 32% in the worst class\naccuracy on CIFAR10, and we observe consistent behavior across CIFAR100 and\nSTL10. Our study highlights the importance of moving beyond average accuracy,\nwhich is particularly important in safety-critical applications.\n", "date": "2023-02-17", "categories": []} {"id": "2302.08048", "title": "Robust Mid-Pass Filtering Graph Convolutional Networks", "abstract": " Graph convolutional networks (GCNs) are currently the most promising paradigm\nfor dealing with graph-structure data, while recent studies have also shown\nthat GCNs are vulnerable to adversarial attacks. Thus developing GCN models\nthat are robust to such attacks become a hot research topic. However, the\nstructural purification learning-based or robustness constraints-based defense\nGCN methods are usually designed for specific data or attacks, and introduce\nadditional objective that is not for classification. Extra training overhead is\nalso required in their design. To address these challenges, we conduct in-depth\nexplorations on mid-frequency signals on graphs and propose a simple yet\neffective Mid-pass filter GCN (Mid-GCN). Theoretical analyses guarantee the\nrobustness of signals through the mid-pass filter, and we also shed light on\nthe properties of different frequency signals under adversarial attacks.\nExtensive experiments on six benchmark graph data further verify the\neffectiveness of our designed Mid-GCN in node classification accuracy compared\nto state-of-the-art GCNs under various adversarial attack strategies.\n", "date": "2023-02-16", "categories": []} {"id": "2302.08066", "title": "Masking and Mixing Adversarial Training", "abstract": " While convolutional neural networks (CNNs) have achieved excellent\nperformances in various computer vision tasks, they often misclassify with\nmalicious samples, a.k.a. adversarial examples. Adversarial training is a\npopular and straightforward technique to defend against the threat of\nadversarial examples. Unfortunately, CNNs must sacrifice the accuracy of\nstandard samples to improve robustness against adversarial examples when\nadversarial training is used. In this work, we propose Masking and Mixing\nAdversarial Training (M2AT) to mitigate the trade-off between accuracy and\nrobustness. We focus on creating diverse adversarial examples during training.\nSpecifically, our approach consists of two processes: 1) masking a perturbation\nwith a binary mask and 2) mixing two partially perturbed images. Experimental\nresults on CIFAR-10 dataset demonstrate that our method achieves better\nrobustness against several adversarial attacks than previous methods.\n", "date": "2023-02-16", "categories": []} {"id": "2302.05703", "title": "HateProof: Are Hateful Meme Detection Systems really Robust?", "abstract": " Exploiting social media to spread hate has tremendously increased over the\nyears. Lately, multi-modal hateful content such as memes has drawn relatively\nmore traction than uni-modal content. Moreover, the availability of implicit\ncontent payloads makes them fairly challenging to be detected by existing\nhateful meme detection systems. In this paper, we present a use case study to\nanalyze such systems' vulnerabilities against external adversarial attacks. We\nfind that even very simple perturbations in uni-modal and multi-modal settings\nperformed by humans with little knowledge about the model can make the existing\ndetection models highly vulnerable. Empirically, we find a noticeable\nperformance drop of as high as 10% in the macro-F1 score for certain attacks.\nAs a remedy, we attempt to boost the model's robustness using contrastive\nlearning as well as an adversarial training-based method - VILLA. Using an\nensemble of the above two approaches, in two of our high resolution datasets,\nwe are able to (re)gain back the performance to a large extent for certain\nattacks. We believe that ours is a first step toward addressing this crucial\nproblem in an adversarial setting and would inspire more such investigations in\nthe future.\n", "date": "2023-02-11", "categories": []} {"id": "2302.05794", "title": "Mutation-Based Adversarial Attacks on Neural Text Detectors", "abstract": " Neural text detectors aim to decide the characteristics that distinguish\nneural (machine-generated) from human texts. To challenge such detectors,\nadversarial attacks can alter the statistical characteristics of the generated\ntext, making the detection task more and more difficult. Inspired by the\nadvances of mutation analysis in software development and testing, in this\npaper, we propose character- and word-based mutation operators for generating\nadversarial samples to attack state-of-the-art natural text detectors. This\nfalls under white-box adversarial attacks. In such attacks, attackers have\naccess to the original text and create mutation instances based on this\noriginal text. The ultimate goal is to confuse machine learning models and\nclassifiers and decrease their prediction accuracy.\n", "date": "2023-02-11", "categories": []} {"id": "2302.05892", "title": "TextDefense: Adversarial Text Detection based on Word Importance Entropy", "abstract": " Currently, natural language processing (NLP) models are wildly used in\nvarious scenarios. However, NLP models, like all deep models, are vulnerable to\nadversarially generated text. Numerous works have been working on mitigating\nthe vulnerability from adversarial attacks. Nevertheless, there is no\ncomprehensive defense in existing works where each work targets a specific\nattack category or suffers from the limitation of computation overhead,\nirresistible to adaptive attack, etc.\n In this paper, we exhaustively investigate the adversarial attack algorithms\nin NLP, and our empirical studies have discovered that the attack algorithms\nmainly disrupt the importance distribution of words in a text. A well-trained\nmodel can distinguish subtle importance distribution differences between clean\nand adversarial texts. Based on this intuition, we propose TextDefense, a new\nadversarial example detection framework that utilizes the target model's\ncapability to defend against adversarial attacks while requiring no prior\nknowledge. TextDefense differs from previous approaches, where it utilizes the\ntarget model for detection and thus is attack type agnostic. Our extensive\nexperiments show that TextDefense can be applied to different architectures,\ndatasets, and attack methods and outperforms existing methods. We also discover\nthat the leading factor influencing the performance of TextDefense is the\ntarget model's generalizability. By analyzing the property of the target model\nand the property of the adversarial example, we provide our insights into the\nadversarial attacks in NLP and the principles of our defense method.\n", "date": "2023-02-12", "categories": []} {"id": "2302.06588", "title": "Raising the Cost of Malicious AI-Powered Image Editing", "abstract": " We present an approach to mitigating the risks of malicious image editing\nposed by large diffusion models. The key idea is to immunize images so as to\nmake them resistant to manipulation by these models. This immunization relies\non injection of imperceptible adversarial perturbations designed to disrupt the\noperation of the targeted diffusion models, forcing them to generate\nunrealistic images. We provide two methods for crafting such perturbations, and\nthen demonstrate their efficacy. Finally, we discuss a policy component\nnecessary to make our approach fully effective and practical -- one that\ninvolves the organizations developing diffusion models, rather than individual\nusers, to implement (and support) the immunization process.\n", "date": "2023-02-13", "categories": []} {"id": "2302.05120", "title": "Step by Step Loss Goes Very Far: Multi-Step Quantization for Adversarial\n Text Attacks", "abstract": " We propose a novel gradient-based attack against transformer-based language\nmodels that searches for an adversarial example in a continuous space of token\nprobabilities. Our algorithm mitigates the gap between adversarial loss for\ncontinuous and discrete text representations by performing multi-step\nquantization in a quantization-compensation loop. Experiments show that our\nmethod significantly outperforms other approaches on various natural language\nprocessing (NLP) tasks.\n", "date": "2023-02-10", "categories": []} {"id": "2302.04025", "title": "WAT: Improve the Worst-class Robustness in Adversarial Training", "abstract": " Deep Neural Networks (DNN) have been shown to be vulnerable to adversarial\nexamples. Adversarial training (AT) is a popular and effective strategy to\ndefend against adversarial attacks. Recent works (Benz et al., 2020; Xu et al.,\n2021; Tian et al., 2021) have shown that a robust model well-trained by AT\nexhibits a remarkable robustness disparity among classes, and propose various\nmethods to obtain consistent robust accuracy across classes. Unfortunately,\nthese methods sacrifice a good deal of the average robust accuracy.\nAccordingly, this paper proposes a novel framework of worst-class adversarial\ntraining and leverages no-regret dynamics to solve this problem. Our goal is to\nobtain a classifier with great performance on worst-class and sacrifice just a\nlittle average robust accuracy at the same time. We then rigorously analyze the\ntheoretical properties of our proposed algorithm, and the generalization error\nbound in terms of the worst-class robust risk. Furthermore, we propose a\nmeasurement to evaluate the proposed method in terms of both the average and\nworst-class accuracies. Experiments on various datasets and networks show that\nour proposed method outperforms the state-of-the-art approaches.\n", "date": "2023-02-08", "categories": []} {"id": "2210.16765", "title": "Benchmarking Adversarial Patch Against Aerial Detection", "abstract": " DNNs are vulnerable to adversarial examples, which poses great security\nconcerns for security-critical systems. In this paper, a novel\nadaptive-patch-based physical attack (AP-PA) framework is proposed, which aims\nto generate adversarial patches that are adaptive in both physical dynamics and\nvarying scales, and by which the particular targets can be hidden from being\ndetected. Furthermore, the adversarial patch is also gifted with attack\neffectiveness against all targets of the same class with a patch outside the\ntarget (No need to smear targeted objects) and robust enough in the physical\nworld. In addition, a new loss is devised to consider more available\ninformation of detected objects to optimize the adversarial patch, which can\nsignificantly improve the patch's attack efficacy (Average precision drop up to\n87.86% and 85.48% in white-box and black-box settings, respectively) and\noptimizing efficiency. We also establish one of the first comprehensive,\ncoherent, and rigorous benchmarks to evaluate the attack efficacy of\nadversarial patches on aerial detection tasks. Finally, several proportionally\nscaled experiments are performed physically to demonstrate that the elaborated\nadversarial patches can successfully deceive aerial detection algorithms in\ndynamic physical circumstances. The code is available at\nhttps://github.com/JiaweiLian/AP-PA.\n", "date": "2022-10-30", "categories": []} {"id": "2302.03523", "title": "Sparse Mixture Once-for-all Adversarial Training for Efficient In-Situ\n Trade-Off Between Accuracy and Robustness of DNNs", "abstract": " Existing deep neural networks (DNNs) that achieve state-of-the-art (SOTA)\nperformance on both clean and adversarially-perturbed images rely on either\nactivation or weight conditioned convolution operations. However, such\nconditional learning costs additional multiply-accumulate (MAC) or addition\noperations, increasing inference memory and compute costs. To that end, we\npresent a sparse mixture once for all adversarial training (SMART), that allows\na model to train once and then in-situ trade-off between accuracy and\nrobustness, that too at a reduced compute and parameter overhead. In\nparticular, SMART develops two expert paths, for clean and adversarial images,\nrespectively, that are then conditionally trained via respective dedicated sets\nof binary sparsity masks. Extensive evaluations on multiple image\nclassification datasets across different models show SMART to have up to 2.72x\nfewer non-zero parameters costing proportional reduction in compute overhead,\nwhile yielding SOTA accuracy-robustness trade-off. Additionally, we present\ninsightful observations in designing sparse masks to successfully condition on\nboth clean and perturbed images.\n", "date": "2022-12-27", "categories": []} {"id": "2302.03657", "title": "Toward Face Biometric De-identification using Adversarial Examples", "abstract": " The remarkable success of face recognition (FR) has endangered the privacy of\ninternet users particularly in social media. Recently, researchers turned to\nuse adversarial examples as a countermeasure. In this paper, we assess the\neffectiveness of using two widely known adversarial methods (BIM and ILLC) for\nde-identifying personal images. We discovered, unlike previous claims in the\nliterature, that it is not easy to get a high protection success rate\n(suppressing identification rate) with imperceptible adversarial perturbation\nto the human visual system. Finally, we found out that the transferability of\nadversarial examples is highly affected by the training parameters of the\nnetwork with which they are generated.\n", "date": "2023-02-07", "categories": []} {"id": "2210.00635", "title": "Robust Empirical Risk Minimization with Tolerance", "abstract": " Developing simple, sample-efficient learning algorithms for robust\nclassification is a pressing issue in today's tech-dominated world, and current\ntheoretical techniques requiring exponential sample complexity and complicated\nimproper learning rules fall far from answering the need. In this work we study\nthe fundamental paradigm of (robust) $\\textit{empirical risk minimization}$\n(RERM), a simple process in which the learner outputs any hypothesis minimizing\nits training error. RERM famously fails to robustly learn VC classes (Montasser\net al., 2019a), a bound we show extends even to `nice' settings such as\n(bounded) halfspaces. As such, we study a recent relaxation of the robust model\ncalled $\\textit{tolerant}$ robust learning (Ashtiani et al., 2022) where the\noutput classifier is compared to the best achievable error over slightly larger\nperturbation sets. We show that under geometric niceness conditions, a natural\ntolerant variant of RERM is indeed sufficient for $\\gamma$-tolerant robust\nlearning VC classes over $\\mathbb{R}^d$, and requires only $\\tilde{O}\\left(\n\\frac{VC(H)d\\log \\frac{D}{\\gamma\\delta}}{\\epsilon^2}\\right)$ samples for\nrobustness regions of (maximum) diameter $D$.\n", "date": "2022-10-02", "categories": []} {"id": "2301.12576", "title": "Uncovering Adversarial Risks of Test-Time Adaptation", "abstract": " Recently, test-time adaptation (TTA) has been proposed as a promising\nsolution for addressing distribution shifts. It allows a base model to adapt to\nan unforeseen distribution during inference by leveraging the information from\nthe batch of (unlabeled) test data. However, we uncover a novel security\nvulnerability of TTA based on the insight that predictions on benign samples\ncan be impacted by malicious samples in the same batch. To exploit this\nvulnerability, we propose Distribution Invading Attack (DIA), which injects a\nsmall fraction of malicious data into the test batch. DIA causes models using\nTTA to misclassify benign and unperturbed test data, providing an entirely new\ncapability for adversaries that is infeasible in canonical machine learning\npipelines. Through comprehensive evaluations, we demonstrate the high\neffectiveness of our attack on multiple benchmarks across six TTA methods. In\nresponse, we investigate two countermeasures to robustify the existing insecure\nTTA implementations, following the principle of \"security by design\". Together,\nwe hope our findings can make the community aware of the utility-security\ntradeoffs in deploying TTA and provide valuable insights for developing robust\nTTA approaches.\n", "date": "2023-01-29", "categories": []} {"id": "2302.02023", "title": "TextShield: Beyond Successfully Detecting Adversarial Sentences in Text\n Classification", "abstract": " Adversarial attack serves as a major challenge for neural network models in\nNLP, which precludes the model's deployment in safety-critical applications. A\nrecent line of work, detection-based defense, aims to distinguish adversarial\nsentences from benign ones. However, {the core limitation of previous detection\nmethods is being incapable of giving correct predictions on adversarial\nsentences unlike defense methods from other paradigms.} To solve this issue,\nthis paper proposes TextShield: (1) we discover a link between text attack and\nsaliency information, and then we propose a saliency-based detector, which can\neffectively detect whether an input sentence is adversarial or not. (2) We\ndesign a saliency-based corrector, which converts the detected adversary\nsentences to benign ones. By combining the saliency-based detector and\ncorrector, TextShield extends the detection-only paradigm to a\ndetection-correction paradigm, thus filling the gap in the existing\ndetection-based defense. Comprehensive experiments show that (a) TextShield\nconsistently achieves higher or comparable performance than state-of-the-art\ndefense methods across various attacks on different benchmarks. (b) our\nsaliency-based detector outperforms existing detectors for detecting\nadversarial sentences.\n", "date": "2023-02-03", "categories": []} {"id": "2302.02216", "title": "A Minimax Approach Against Multi-Armed Adversarial Attacks Detection", "abstract": " Multi-armed adversarial attacks, in which multiple algorithms and objective\nloss functions are simultaneously used at evaluation time, have been shown to\nbe highly successful in fooling state-of-the-art adversarial examples detectors\nwhile requiring no specific side information about the detection mechanism. By\nformalizing the problem at hand, we can propose a solution that aggregates the\nsoft-probability outputs of multiple pre-trained detectors according to a\nminimax approach. The proposed framework is mathematically sound, easy to\nimplement, and modular, allowing for integrating existing or future detectors.\nThrough extensive evaluation on popular datasets (e.g., CIFAR10 and SVHN), we\nshow that our aggregation consistently outperforms individual state-of-the-art\ndetectors against multi-armed adversarial attacks, making it an effective\nsolution to improve the resilience of available methods.\n", "date": "2023-02-04", "categories": []} {"id": "2302.02829", "title": "Collective Robustness Certificates: Exploiting Interdependence in Graph\n Neural Networks", "abstract": " In tasks like node classification, image segmentation, and named-entity\nrecognition we have a classifier that simultaneously outputs multiple\npredictions (a vector of labels) based on a single input, i.e. a single graph,\nimage, or document respectively. Existing adversarial robustness certificates\nconsider each prediction independently and are thus overly pessimistic for such\ntasks. They implicitly assume that an adversary can use different perturbed\ninputs to attack different predictions, ignoring the fact that we have a single\nshared input. We propose the first collective robustness certificate which\ncomputes the number of predictions that are simultaneously guaranteed to remain\nstable under perturbation, i.e. cannot be attacked. We focus on Graph Neural\nNetworks and leverage their locality property - perturbations only affect the\npredictions in a close neighborhood - to fuse multiple single-node certificates\ninto a drastically stronger collective certificate. For example, on the\nCiteseer dataset our collective certificate for node classification increases\nthe average number of certifiable feature perturbations from $7$ to $351$.\n", "date": "2023-02-06", "categories": []} {"id": "2207.07032", "title": "Adversarial Attacks on Monocular Pose Estimation", "abstract": " Advances in deep learning have resulted in steady progress in computer vision\nwith improved accuracy on tasks such as object detection and semantic\nsegmentation. Nevertheless, deep neural networks are vulnerable to adversarial\nattacks, thus presenting a challenge in reliable deployment. Two of the\nprominent tasks in 3D scene-understanding for robotics and advanced drive\nassistance systems are monocular depth and pose estimation, often learned\ntogether in an unsupervised manner. While studies evaluating the impact of\nadversarial attacks on monocular depth estimation exist, a systematic\ndemonstration and analysis of adversarial perturbations against pose estimation\nare lacking. We show how additive imperceptible perturbations can not only\nchange predictions to increase the trajectory drift but also catastrophically\nalter its geometry. We also study the relation between adversarial\nperturbations targeting monocular depth and pose estimation networks, as well\nas the transferability of perturbations to other networks with different\narchitectures and losses. Our experiments show how the generated perturbations\nlead to notable errors in relative rotation and translation predictions and\nelucidate vulnerabilities of the networks.\n", "date": "2022-07-14", "categories": []} {"id": "2209.07399", "title": "A Light Recipe to Train Robust Vision Transformers", "abstract": " In this paper, we ask whether Vision Transformers (ViTs) can serve as an\nunderlying architecture for improving the adversarial robustness of machine\nlearning models against evasion attacks. While earlier works have focused on\nimproving Convolutional Neural Networks, we show that also ViTs are highly\nsuitable for adversarial training to achieve competitive performance. We\nachieve this objective using a custom adversarial training recipe, discovered\nusing rigorous ablation studies on a subset of the ImageNet dataset. The\ncanonical training recipe for ViTs recommends strong data augmentation, in part\nto compensate for the lack of vision inductive bias of attention modules, when\ncompared to convolutions. We show that this recipe achieves suboptimal\nperformance when used for adversarial training. In contrast, we find that\nomitting all heavy data augmentation, and adding some additional bag-of-tricks\n($\\varepsilon$-warmup and larger weight decay), significantly boosts the\nperformance of robust ViTs. We show that our recipe generalizes to different\nclasses of ViT architectures and large-scale models on full ImageNet-1k.\nAdditionally, investigating the reasons for the robustness of our models, we\nshow that it is easier to generate strong attacks during training when using\nour recipe and that this leads to better robustness at test time. Finally, we\nfurther study one consequence of adversarial training by proposing a way to\nquantify the semantic nature of adversarial perturbations and highlight its\ncorrelation with the robustness of the model. Overall, we recommend that the\ncommunity should avoid translating the canonical training recipes in ViTs to\nrobust training and rethink common training choices in the context of\nadversarial training.\n", "date": "2022-09-15", "categories": []} {"id": "2301.11546", "title": "Adapting Step-size: A Unified Perspective to Analyze and Improve\n Gradient-based Methods for Adversarial Attacks", "abstract": " Learning adversarial examples can be formulated as an optimization problem of\nmaximizing the loss function with some box-constraints. However, for solving\nthis induced optimization problem, the state-of-the-art gradient-based methods\nsuch as FGSM, I-FGSM and MI-FGSM look different from their original methods\nespecially in updating the direction, which makes it difficult to understand\nthem and then leaves some theoretical issues to be addressed in viewpoint of\noptimization. In this paper, from the perspective of adapting step-size, we\nprovide a unified theoretical interpretation of these gradient-based\nadversarial learning methods. We show that each of these algorithms is in fact\na specific reformulation of their original gradient methods but using the\nstep-size rules with only current gradient information. Motivated by such\nanalysis, we present a broad class of adaptive gradient-based algorithms based\non the regular gradient methods, in which the step-size strategy utilizing\ninformation of the accumulated gradients is integrated. Such adaptive step-size\nstrategies directly normalize the scale of the gradients rather than use some\nempirical operations. The important benefit is that convergence for the\niterative algorithms is guaranteed and then the whole optimization process can\nbe stabilized. The experiments demonstrate that our AdaI-FGM consistently\noutperforms I-FGSM and AdaMI-FGM remains competitive with MI-FGSM for black-box\nattacks.\n", "date": "2023-01-27", "categories": []} {"id": "2301.13869", "title": "Reverse engineering adversarial attacks with fingerprints from\n adversarial examples", "abstract": " In spite of intense research efforts, deep neural networks remain vulnerable\nto adversarial examples: an input that forces the network to confidently\nproduce incorrect outputs. Adversarial examples are typically generated by an\nattack algorithm that optimizes a perturbation added to a benign input. Many\nsuch algorithms have been developed. If it were possible to reverse engineer\nattack algorithms from adversarial examples, this could deter bad actors\nbecause of the possibility of attribution. Here we formulate reverse\nengineering as a supervised learning problem where the goal is to assign an\nadversarial example to a class that represents the algorithm and parameters\nused. To our knowledge it has not been previously shown whether this is even\npossible. We first test whether we can classify the perturbations added to\nimages by attacks on undefended single-label image classification models.\nTaking a \"fight fire with fire\" approach, we leverage the sensitivity of deep\nneural networks to adversarial examples, training them to classify these\nperturbations. On a 17-class dataset (5 attacks, 4 bounded with 4 epsilon\nvalues each), we achieve an accuracy of 99.4% with a ResNet50 model trained on\nthe perturbations. We then ask whether we can perform this task without access\nto the perturbations, obtaining an estimate of them with signal processing\nalgorithms, an approach we call \"fingerprinting\". We find the JPEG algorithm\nserves as a simple yet effective fingerprinter (85.05% accuracy), providing a\nstrong baseline for future work. We discuss how our approach can be extended to\nattack agnostic, learnable fingerprints, and to open-world scenarios with\nunknown attacks.\n", "date": "2023-01-31", "categories": []} {"id": "2206.07912", "title": "Double Sampling Randomized Smoothing", "abstract": " Neural networks (NNs) are known to be vulnerable against adversarial\nperturbations, and thus there is a line of work aiming to provide robustness\ncertification for NNs, such as randomized smoothing, which samples smoothing\nnoises from a certain distribution to certify the robustness for a smoothed\nclassifier. However, as shown by previous work, the certified robust radius in\nrandomized smoothing suffers from scaling to large datasets (\"curse of\ndimensionality\"). To overcome this hurdle, we propose a Double Sampling\nRandomized Smoothing (DSRS) framework, which exploits the sampled probability\nfrom an additional smoothing distribution to tighten the robustness\ncertification of the previous smoothed classifier. Theoretically, under mild\nassumptions, we prove that DSRS can certify $\\Theta(\\sqrt d)$ robust radius\nunder $\\ell_2$ norm where $d$ is the input dimension, implying that DSRS may be\nable to break the curse of dimensionality of randomized smoothing. We\ninstantiate DSRS for a generalized family of Gaussian smoothing and propose an\nefficient and sound computing method based on customized dual optimization\nconsidering sampling error. Extensive experiments on MNIST, CIFAR-10, and\nImageNet verify our theory and show that DSRS certifies larger robust radii\nthan existing baselines consistently under different settings. Code is\navailable at https://github.com/llylly/DSRS.\n", "date": "2022-06-16", "categories": []} {"id": "2207.11727", "title": "Can we achieve robustness from data alone?", "abstract": " We introduce a meta-learning algorithm for adversarially robust\nclassification. The proposed method tries to be as model agnostic as possible\nand optimizes a dataset prior to its deployment in a machine learning system,\naiming to effectively erase its non-robust features. Once the dataset has been\ncreated, in principle no specialized algorithm (besides standard gradient\ndescent) is needed to train a robust model. We formulate the data optimization\nprocedure as a bi-level optimization problem on kernel regression, with a class\nof kernels that describe infinitely wide neural nets (Neural Tangent Kernels).\nWe present extensive experiments on standard computer vision benchmarks using a\nvariety of different models, demonstrating the effectiveness of our method,\nwhile also pointing out its current shortcomings. In parallel, we revisit prior\nwork that also focused on the problem of data optimization for robust\nclassification \\citep{Ily+19}, and show that being robust to adversarial\nattacks after standard (gradient descent) training on a suitable dataset is\nmore challenging than previously thought.\n", "date": "2022-07-24", "categories": []} {"id": "2210.05577", "title": "What Can the Neural Tangent Kernel Tell Us About Adversarial Robustness?", "abstract": " The adversarial vulnerability of neural nets, and subsequent techniques to\ncreate robust models have attracted significant attention; yet we still lack a\nfull understanding of this phenomenon. Here, we study adversarial examples of\ntrained neural networks through analytical tools afforded by recent theory\nadvances connecting neural networks and kernel methods, namely the Neural\nTangent Kernel (NTK), following a growing body of work that leverages the NTK\napproximation to successfully analyze important deep learning phenomena and\ndesign algorithms for new applications. We show how NTKs allow to generate\nadversarial examples in a ``training-free'' fashion, and demonstrate that they\ntransfer to fool their finite-width neural net counterparts in the ``lazy''\nregime. We leverage this connection to provide an alternative view on robust\nand non-robust features, which have been suggested to underlie the adversarial\nbrittleness of neural nets. Specifically, we define and study features induced\nby the eigendecomposition of the kernel to better understand the role of robust\nand non-robust features, the reliance on both for standard classification and\nthe robustness-accuracy trade-off. We find that such features are surprisingly\nconsistent across architectures, and that robust features tend to correspond to\nthe largest eigenvalues of the model, and thus are learned early during\ntraining. Our framework allows us to identify and visualize non-robust yet\nuseful features. Finally, we shed light on the robustness mechanism underlying\nadversarial training of neural nets used in practice: quantifying the evolution\nof the associated empirical NTK, we demonstrate that its dynamics falls much\nearlier into the ``lazy'' regime and manifests a much stronger form of the well\nknown bias to prioritize learning features within the top eigenspaces of the\nkernel, compared to standard training.\n", "date": "2022-10-11", "categories": []} {"id": "2301.13356", "title": "Inference Time Evidences of Adversarial Attacks for Forensic on\n Transformers", "abstract": " Vision Transformers (ViTs) are becoming a very popular paradigm for vision\ntasks as they achieve state-of-the-art performance on image classification.\nHowever, although early works implied that this network structure had increased\nrobustness against adversarial attacks, some works argue ViTs are still\nvulnerable. This paper presents our first attempt toward detecting adversarial\nattacks during inference time using the network's input and outputs as well as\nlatent features. We design four quantifications (or derivatives) of input,\noutput, and latent vectors of ViT-based models that provide a signature of the\ninference, which could be beneficial for the attack detection, and empirically\nstudy their behavior over clean samples and adversarial samples. The results\ndemonstrate that the quantifications from input (images) and output (posterior\nprobabilities) are promising for distinguishing clean and adversarial samples,\nwhile latent vectors offer less discriminative power, though they give some\ninsights on how adversarial perturbations work.\n", "date": "2023-01-31", "categories": []} {"id": "2301.13486", "title": "Robust Linear Regression: Gradient-descent, Early-stopping, and Beyond", "abstract": " In this work we study the robustness to adversarial attacks, of\nearly-stopping strategies on gradient-descent (GD) methods for linear\nregression. More precisely, we show that early-stopped GD is optimally robust\n(up to an absolute constant) against Euclidean-norm adversarial attacks.\nHowever, we show that this strategy can be arbitrarily sub-optimal in the case\nof general Mahalanobis attacks. This observation is compatible with recent\nfindings in the case of classification~\\cite{Vardi2022GradientMP} that show\nthat GD provably converges to non-robust models. To alleviate this issue, we\npropose to apply instead a GD scheme on a transformation of the data adapted to\nthe attack. This data transformation amounts to apply feature-depending\nlearning rates and we show that this modified GD is able to handle any\nMahalanobis attack, as well as more general attacks under some conditions.\nUnfortunately, choosing such adapted transformations can be hard for general\nattacks. To the rescue, we design a simple and tractable estimator whose\nadversarial risk is optimal up to within a multiplicative constant of 1.1124 in\nthe population regime, and works for any norm.\n", "date": "2023-01-31", "categories": []} {"id": "2301.13694", "title": "Are Defenses for Graph Neural Networks Robust?", "abstract": " A cursory reading of the literature suggests that we have made a lot of\nprogress in designing effective adversarial defenses for Graph Neural Networks\n(GNNs). Yet, the standard methodology has a serious flaw - virtually all of the\ndefenses are evaluated against non-adaptive attacks leading to overly\noptimistic robustness estimates. We perform a thorough robustness analysis of 7\nof the most popular defenses spanning the entire spectrum of strategies, i.e.,\naimed at improving the graph, the architecture, or the training. The results\nare sobering - most defenses show no or only marginal improvement compared to\nan undefended baseline. We advocate using custom adaptive attacks as a gold\nstandard and we outline the lessons we learned from successfully designing such\nattacks. Moreover, our diverse collection of perturbed graphs forms a\n(black-box) unit test offering a first glance at a model's robustness.\n", "date": "2023-01-31", "categories": []} {"id": "2301.12151", "title": "Selecting Models based on the Risk of Damage Caused by Adversarial\n Attacks", "abstract": " Regulation, legal liabilities, and societal concerns challenge the adoption\nof AI in safety and security-critical applications. One of the key concerns is\nthat adversaries can cause harm by manipulating model predictions without being\ndetected. Regulation hence demands an assessment of the risk of damage caused\nby adversaries. Yet, there is no method to translate this high-level demand\ninto actionable metrics that quantify the risk of damage.\n In this article, we propose a method to model and statistically estimate the\nprobability of damage arising from adversarial attacks. We show that our\nproposed estimator is statistically consistent and unbiased. In experiments, we\ndemonstrate that the estimation results of our method have a clear and\nactionable interpretation and outperform conventional metrics. We then show how\noperators can use the estimation results to reliably select the model with the\nlowest risk.\n", "date": "2023-01-28", "categories": []} {"id": "2301.12637", "title": "Lateralized Learning for Multi-Class Visual Classification Tasks", "abstract": " The majority of computer vision algorithms fail to find higher-order\n(abstract) patterns in an image so are not robust against adversarial attacks,\nunlike human lateralized vision. Deep learning considers each input pixel in a\nhomogeneous manner such that different parts of a ``locality-sensitive hashing\ntable'' are often not connected, meaning higher-order patterns are not\ndiscovered. Hence these systems are not robust against noisy, irrelevant, and\nredundant data, resulting in the wrong prediction being made with high\nconfidence. Conversely, vertebrate brains afford heterogeneous knowledge\nrepresentation through lateralization, enabling modular learning at different\nlevels of abstraction. This work aims to verify the effectiveness, scalability,\nand robustness of a lateralized approach to real-world problems that contain\nnoisy, irrelevant, and redundant data. The experimental results of multi-class\n(200 classes) image classification show that the novel system effectively\nlearns knowledge representation at multiple levels of abstraction making it\nmore robust than other state-of-the-art techniques. Crucially, the novel\nlateralized system outperformed all the state-of-the-art deep learning-based\nsystems for the classification of normal and adversarial images by 19.05% -\n41.02% and 1.36% - 49.22%, respectively. Findings demonstrate the value of\nheterogeneous and lateralized learning for computer vision applications.\n", "date": "2023-01-30", "categories": []} {"id": "2301.12968", "title": "Improving Adversarial Transferability with Scheduled Step Size and Dual\n Example", "abstract": " Deep neural networks are widely known to be vulnerable to adversarial\nexamples, especially showing significantly poor performance on adversarial\nexamples generated under the white-box setting. However, most white-box attack\nmethods rely heavily on the target model and quickly get stuck in local optima,\nresulting in poor adversarial transferability. The momentum-based methods and\ntheir variants are proposed to escape the local optima for better\ntransferability. In this work, we notice that the transferability of\nadversarial examples generated by the iterative fast gradient sign method\n(I-FGSM) exhibits a decreasing trend when increasing the number of iterations.\nMotivated by this finding, we argue that the information of adversarial\nperturbations near the benign sample, especially the direction, benefits more\non the transferability. Thus, we propose a novel strategy, which uses the\nScheduled step size and the Dual example (SD), to fully utilize the adversarial\ninformation near the benign sample. Our proposed strategy can be easily\nintegrated with existing adversarial attack methods for better adversarial\ntransferability. Empirical evaluations on the standard ImageNet dataset\ndemonstrate that our proposed method can significantly enhance the\ntransferability of existing adversarial attacks.\n", "date": "2023-01-30", "categories": []} {"id": "2301.13028", "title": "On the Efficacy of Metrics to Describe Adversarial Attacks", "abstract": " Adversarial defenses are naturally evaluated on their ability to tolerate\nadversarial attacks. To test defenses, diverse adversarial attacks are crafted,\nthat are usually described in terms of their evading capability and the L0, L1,\nL2, and Linf norms. We question if the evading capability and L-norms are the\nmost effective information to claim that defenses have been tested against a\nrepresentative attack set. To this extent, we select image quality metrics from\nthe state of the art and search correlations between image perturbation and\ndetectability. We observe that computing L-norms alone is rarely the preferable\nsolution. We observe a strong correlation between the identified metrics\ncomputed on an adversarial image and the output of a detector on such an image,\nto the extent that they can predict the response of a detector with\napproximately 0.94 accuracy. Further, we observe that metrics can classify\nattacks based on similar perturbations and similar detectability. This suggests\na possible review of the approach to evaluate detectors, where additional\nmetrics are included to assure that a representative attack dataset is\nselected.\n", "date": "2023-01-30", "categories": []} {"id": "2301.11457", "title": "Attacking Important Pixels for Anchor-free Detectors", "abstract": " Deep neural networks have been demonstrated to be vulnerable to adversarial\nattacks: subtle perturbation can completely change the prediction result.\nExisting adversarial attacks on object detection focus on attacking\nanchor-based detectors, which may not work well for anchor-free detectors. In\nthis paper, we propose the first adversarial attack dedicated to anchor-free\ndetectors. It is a category-wise attack that attacks important pixels of all\ninstances of a category simultaneously. Our attack manifests in two forms,\nsparse category-wise attack (SCA) and dense category-wise attack (DCA), that\nminimize the $L_0$ and $L_\\infty$ norm-based perturbations, respectively. For\nDCA, we present three variants, DCA-G, DCA-L, and DCA-S, that select a global\nregion, a local region, and a semantic region, respectively, to attack. Our\nexperiments on large-scale benchmark datasets including PascalVOC, MS-COCO, and\nMS-COCO Keypoints indicate that our proposed methods achieve state-of-the-art\nattack performance and transferability on both object detection and human pose\nestimation tasks.\n", "date": "2023-01-26", "categories": []} {"id": "2301.11544", "title": "Targeted Attacks on Timeseries Forecasting", "abstract": " Real-world deep learning models developed for Time Series Forecasting are\nused in several critical applications ranging from medical devices to the\nsecurity domain. Many previous works have shown how deep learning models are\nprone to adversarial attacks and studied their vulnerabilities. However, the\nvulnerabilities of time series models for forecasting due to adversarial inputs\nare not extensively explored. While the attack on a forecasting model might aim\nto deteriorate the performance of the model, it is more effective, if the\nattack is focused on a specific impact on the model's output. In this paper, we\npropose a novel formulation of Directional, Amplitudinal, and Temporal targeted\nadversarial attacks on time series forecasting models. These targeted attacks\ncreate a specific impact on the amplitude and direction of the output\nprediction. We use the existing adversarial attack techniques from the computer\nvision domain and adapt them for time series. Additionally, we propose a\nmodified version of the Auto Projected Gradient Descent attack for targeted\nattacks. We examine the impact of the proposed targeted attacks versus\nuntargeted attacks. We use KS-Tests to statistically demonstrate the impact of\nthe attack. Our experimental results show how targeted attacks on time series\nmodels are viable and are more powerful in terms of statistical similarity. It\nis, hence difficult to detect through statistical methods. We believe that this\nwork opens a new paradigm in the time series forecasting domain and represents\nan important consideration for developing better defenses.\n", "date": "2023-01-27", "categories": []} {"id": "2301.11553", "title": "Robust Transformer with Locality Inductive Bias and Feature\n Normalization", "abstract": " Vision transformers have been demonstrated to yield state-of-the-art results\non a variety of computer vision tasks using attention-based networks. However,\nresearch works in transformers mostly do not investigate robustness/accuracy\ntrade-off, and they still struggle to handle adversarial perturbations. In this\npaper, we explore the robustness of vision transformers against adversarial\nperturbations and try to enhance their robustness/accuracy trade-off in white\nbox attack settings. To this end, we propose Locality iN Locality (LNL)\ntransformer model. We prove that the locality introduction to LNL contributes\nto the robustness performance since it aggregates local information such as\nlines, edges, shapes, and even objects. In addition, to further improve the\nrobustness performance, we encourage LNL to extract training signal from the\nmoments (a.k.a., mean and standard deviation) and the normalized features. We\nvalidate the effectiveness and generality of LNL by achieving state-of-the-art\nresults in terms of accuracy and robustness metrics on German Traffic Sign\nRecognition Benchmark (GTSRB) and Canadian Institute for Advanced Research\n(CIFAR-10). More specifically, for traffic sign classification, the proposed\nLNL yields gains of 1.1% and ~35% in terms of clean and robustness accuracy\ncompared to the state-of-the-art studies.\n", "date": "2023-01-27", "categories": []} {"id": "2301.10454", "title": "A Data-Centric Approach for Improving Adversarial Training Through the\n Lens of Out-of-Distribution Detection", "abstract": " Current machine learning models achieve super-human performance in many\nreal-world applications. Still, they are susceptible against imperceptible\nadversarial perturbations. The most effective solution for this problem is\nadversarial training that trains the model with adversarially perturbed samples\ninstead of original ones. Various methods have been developed over recent years\nto improve adversarial training such as data augmentation or modifying training\nattacks. In this work, we examine the same problem from a new data-centric\nperspective. For this purpose, we first demonstrate that the existing\nmodel-based methods can be equivalent to applying smaller perturbation or\noptimization weights to the hard training examples. By using this finding, we\npropose detecting and removing these hard samples directly from the training\nprocedure rather than applying complicated algorithms to mitigate their\neffects. For detection, we use maximum softmax probability as an effective\nmethod in out-of-distribution detection since we can consider the hard samples\nas the out-of-distribution samples for the whole data distribution. Our results\non SVHN and CIFAR-10 datasets show the effectiveness of this method in\nimproving the adversarial training without adding too much computational cost.\n", "date": "2023-01-25", "categories": []} {"id": "2301.10576", "title": "A Study on FGSM Adversarial Training for Neural Retrieval", "abstract": " Neural retrieval models have acquired significant effectiveness gains over\nthe last few years compared to term-based methods. Nevertheless, those models\nmay be brittle when faced to typos, distribution shifts or vulnerable to\nmalicious attacks. For instance, several recent papers demonstrated that such\nvariations severely impacted models performances, and then tried to train more\nresilient models. Usual approaches include synonyms replacements or typos\ninjections -- as data-augmentation -- and the use of more robust tokenizers\n(characterBERT, BPE-dropout). To further complement the literature, we\ninvestigate in this paper adversarial training as another possible solution to\nthis robustness issue. Our comparison includes the two main families of\nBERT-based neural retrievers, i.e. dense and sparse, with and without\ndistillation techniques. We then demonstrate that one of the most simple\nadversarial training techniques -- the Fast Gradient Sign Method (FGSM) -- can\nimprove first stage rankers robustness and effectiveness. In particular, FGSM\nincreases models performances on both in-domain and out-of-domain\ndistributions, and also on queries with typos, for multiple neural retrievers.\n", "date": "2023-01-25", "categories": []} {"id": "2301.09740", "title": "DODEM: DOuble DEfense Mechanism Against Adversarial Attacks Towards\n Secure Industrial Internet of Things Analytics", "abstract": " Industrial Internet of Things (I-IoT) is a collaboration of devices, sensors,\nand networking equipment to monitor and collect data from industrial\noperations. Machine learning (ML) methods use this data to make high-level\ndecisions with minimal human intervention. Data-driven predictive maintenance\n(PDM) is a crucial ML-based I-IoT application to find an optimal maintenance\nschedule for industrial assets. The performance of these ML methods can\nseriously be threatened by adversarial attacks where an adversary crafts\nperturbed data and sends it to the ML model to deteriorate its prediction\nperformance. The models should be able to stay robust against these attacks\nwhere robustness is measured by how much perturbation in input data affects\nmodel performance. Hence, there is a need for effective defense mechanisms that\ncan protect these models against adversarial attacks. In this work, we propose\na double defense mechanism to detect and mitigate adversarial attacks in I-IoT\nenvironments. We first detect if there is an adversarial attack on a given\nsample using novelty detection algorithms. Then, based on the outcome of our\nalgorithm, marking an instance as attack or normal, we select adversarial\nretraining or standard training to provide a secondary defense layer. If there\nis an attack, adversarial retraining provides a more robust model, while we\napply standard training for regular samples. Since we may not know if an attack\nwill take place, our adaptive mechanism allows us to consider irregular changes\nin data. The results show that our double defense strategy is highly efficient\nwhere we can improve model robustness by up to 64.6% and 52% compared to\nstandard and adversarial retraining, respectively.\n", "date": "2023-01-23", "categories": []} {"id": "2301.09879", "title": "Data Augmentation Alone Can Improve Adversarial Training", "abstract": " Adversarial training suffers from the issue of robust overfitting, which\nseriously impairs its generalization performance. Data augmentation, which is\neffective at preventing overfitting in standard training, has been observed by\nmany previous works to be ineffective in mitigating overfitting in adversarial\ntraining. This work proves that, contrary to previous findings, data\naugmentation alone can significantly boost accuracy and robustness in\nadversarial training. We find that the hardness and the diversity of data\naugmentation are important factors in combating robust overfitting. In general,\ndiversity can improve both accuracy and robustness, while hardness can boost\nrobustness at the cost of accuracy within a certain limit and degrade them both\nover that limit. To mitigate robust overfitting, we first propose a new crop\ntransformation, Cropshift, which has improved diversity compared to the\nconventional one (Padcrop). We then propose a new data augmentation scheme,\nbased on Cropshift, with much improved diversity and well-balanced hardness.\nEmpirically, our augmentation method achieves the state-of-the-art accuracy and\nrobustness for data augmentations in adversarial training. Furthermore, when\ncombined with weight averaging it matches, or even exceeds, the performance of\nthe best contemporary regularization methods for alleviating robust\noverfitting. Code is available at:\nhttps://github.com/TreeLLi/DA-Alone-Improves-AT.\n", "date": "2023-01-24", "categories": []} {"id": "2301.08842", "title": "Limitations of Piecewise Linearity for Efficient Robustness\n Certification", "abstract": " Certified defenses against small-norm adversarial examples have received\ngrowing attention in recent years; though certified accuracies of\nstate-of-the-art methods remain far below their non-robust counterparts,\ndespite the fact that benchmark datasets have been shown to be well-separated\nat far larger radii than the literature generally attempts to certify. In this\nwork, we offer insights that identify potential factors in this performance\ngap. Specifically, our analysis reveals that piecewise linearity imposes\nfundamental limitations on the tightness of leading certification techniques.\nThese limitations are felt in practical terms as a greater need for capacity in\nmodels hoped to be certified efficiently. Moreover, this is in addition to the\ncapacity necessary to learn a robust boundary, studied in prior work. However,\nwe argue that addressing the limitations of piecewise linearity through scaling\nup model capacity may give rise to potential difficulties -- particularly\nregarding robust generalization -- therefore, we conclude by suggesting that\ndeveloping smooth activation functions may be the way forward for advancing the\nperformance of certified neural networks.\n", "date": "2023-01-21", "categories": []} {"id": "2301.09305", "title": "Practical Adversarial Attacks Against AI-Driven Power Allocation in a\n Distributed MIMO Network", "abstract": " In distributed multiple-input multiple-output (D-MIMO) networks, power\ncontrol is crucial to optimize the spectral efficiencies of users and max-min\nfairness (MMF) power control is a commonly used strategy as it satisfies\nuniform quality-of-service to all users. The optimal solution of MMF power\ncontrol requires high complexity operations and hence deep neural network based\nartificial intelligence (AI) solutions are proposed to decrease the complexity.\nAlthough quite accurate models can be achieved by using AI, these models have\nsome intrinsic vulnerabilities against adversarial attacks where carefully\ncrafted perturbations are applied to the input of the AI model. In this work,\nwe show that threats against the target AI model which might be originated from\nmalicious users or radio units can substantially decrease the network\nperformance by applying a successful adversarial sample, even in the most\nconstrained circumstances. We also demonstrate that the risk associated with\nthese kinds of adversarial attacks is higher than the conventional attack\nthreats. Detailed simulations reveal the effectiveness of adversarial attacks\nand the necessity of smart defense techniques.\n", "date": "2023-01-23", "categories": []} {"id": "2301.07487", "title": "Adversarial Robust Deep Reinforcement Learning Requires Redefining\n Robustness", "abstract": " Learning from raw high dimensional data via interaction with a given\nenvironment has been effectively achieved through the utilization of deep\nneural networks. Yet the observed degradation in policy performance caused by\nimperceptible worst-case policy dependent translations along high sensitivity\ndirections (i.e. adversarial perturbations) raises concerns on the robustness\nof deep reinforcement learning policies. In our paper, we show that these high\nsensitivity directions do not lie only along particular worst-case directions,\nbut rather are more abundant in the deep neural policy landscape and can be\nfound via more natural means in a black-box setting. Furthermore, we show that\nvanilla training techniques intriguingly result in learning more robust\npolicies compared to the policies learnt via the state-of-the-art adversarial\ntraining techniques. We believe our work lays out intriguing properties of the\ndeep reinforcement learning policy manifold and our results can help to build\nrobust and generalizable deep reinforcement learning policies.\n", "date": "2023-01-17", "categories": []} {"id": "2211.15030", "title": "Imperceptible Adversarial Attack via Invertible Neural Networks", "abstract": " Adding perturbations via utilizing auxiliary gradient information or\ndiscarding existing details of the benign images are two common approaches for\ngenerating adversarial examples. Though visual imperceptibility is the desired\nproperty of adversarial examples, conventional adversarial attacks still\ngenerate traceable adversarial perturbations. In this paper, we introduce a\nnovel Adversarial Attack via Invertible Neural Networks (AdvINN) method to\nproduce robust and imperceptible adversarial examples. Specifically, AdvINN\nfully takes advantage of the information preservation property of Invertible\nNeural Networks and thereby generates adversarial examples by simultaneously\nadding class-specific semantic information of the target class and dropping\ndiscriminant information of the original class. Extensive experiments on\nCIFAR-10, CIFAR-100, and ImageNet-1K demonstrate that the proposed AdvINN\nmethod can produce less imperceptible adversarial images than the\nstate-of-the-art methods and AdvINN yields more robust adversarial examples\nwith high confidence compared to other adversarial attacks.\n", "date": "2022-11-28", "categories": []} {"id": "2301.06286", "title": "Meta Generative Attack on Person Reidentification", "abstract": " Adversarial attacks have been recently investigated in person\nre-identification. These attacks perform well under cross dataset or cross\nmodel setting. However, the challenges present in cross-dataset cross-model\nscenario does not allow these models to achieve similar accuracy. To this end,\nwe propose our method with the goal of achieving better transferability against\ndifferent models and across datasets. We generate a mask to obtain better\nperformance across models and use meta learning to boost the generalizability\nin the challenging cross-dataset cross-model setting. Experiments on\nMarket-1501, DukeMTMC-reID and MSMT-17 demonstrate favorable results compared\nto other attacks.\n", "date": "2023-01-16", "categories": []} {"id": "2301.06871", "title": "Denoising Diffusion Probabilistic Models as a Defense against\n Adversarial Attacks", "abstract": " Neural Networks are infamously sensitive to small perturbations in their\ninputs, making them vulnerable to adversarial attacks. This project evaluates\nthe performance of Denoising Diffusion Probabilistic Models (DDPM) as a\npurification technique to defend against adversarial attacks. This works by\nadding noise to an adversarial example before removing it through the reverse\nprocess of the diffusion model. We evaluate the approach on the PatchCamelyon\ndata set for histopathologic scans of lymph node sections and find an\nimprovement of the robust accuracy by up to 88\\% of the original model's\naccuracy, constituting a considerable improvement over the vanilla model and\nour baselines. The project code is located at\nhttps://github.com/ankile/Adversarial-Diffusion.\n", "date": "2023-01-17", "categories": []} {"id": "2301.05506", "title": "On the feasibility of attacking Thai LPR systems with adversarial\n examples", "abstract": " Recent advances in deep neural networks (DNNs) have significantly enhanced\nthe capabilities of optical character recognition (OCR) technology, enabling\nits adoption to a wide range of real-world applications. Despite this success,\nDNN-based OCR is shown to be vulnerable to adversarial attacks, in which the\nadversary can influence the DNN model's prediction by carefully manipulating\ninput to the model. Prior work has demonstrated the security impacts of\nadversarial attacks on various OCR languages. However, to date, no studies have\nbeen conducted and evaluated on an OCR system tailored specifically for the\nThai language. To bridge this gap, this work presents a feasibility study of\nperforming adversarial attacks on a specific Thai OCR application -- Thai\nLicense Plate Recognition (LPR). Moreover, we propose a new type of adversarial\nattack based on the \\emph{semi-targeted} scenario and show that this scenario\nis highly realistic in LPR applications. Our experimental results show the\nfeasibility of our attacks as they can be performed on a commodity computer\ndesktop with over 90% attack success rate.\n", "date": "2023-01-13", "categories": []} {"id": "2301.04093", "title": "On the Robustness of AlphaFold: A COVID-19 Case Study", "abstract": " Protein folding neural networks (PFNNs) such as AlphaFold predict remarkably\naccurate structures of proteins compared to other approaches. However, the\nrobustness of such networks has heretofore not been explored. This is\nparticularly relevant given the broad social implications of such technologies\nand the fact that biologically small perturbations in the protein sequence do\nnot generally lead to drastic changes in the protein structure. In this paper,\nwe demonstrate that AlphaFold does not exhibit such robustness despite its high\naccuracy. This raises the challenge of detecting and quantifying the extent to\nwhich these predicted protein structures can be trusted. To measure the\nrobustness of the predicted structures, we utilize (i) the root-mean-square\ndeviation (RMSD) and (ii) the Global Distance Test (GDT) similarity measure\nbetween the predicted structure of the original sequence and the structure of\nits adversarially perturbed version. We prove that the problem of minimally\nperturbing protein sequences to fool protein folding neural networks is\nNP-complete. Based on the well-established BLOSUM62 sequence alignment scoring\nmatrix, we generate adversarial protein sequences and show that the RMSD\nbetween the predicted protein structure and the structure of the original\nsequence are very large when the adversarial changes are bounded by (i) 20\nunits in the BLOSUM62 distance, and (ii) five residues (out of hundreds or\nthousands of residues) in the given protein sequence. In our experimental\nevaluation, we consider 111 COVID-19 proteins in the Universal Protein resource\n(UniProt), a central resource for protein data managed by the European\nBioinformatics Institute, Swiss Institute of Bioinformatics, and the US Protein\nInformation Resource. These result in an overall GDT similarity test score\naverage of around 34%, demonstrating a substantial drop in the performance of\nAlphaFold.\n", "date": "2023-01-10", "categories": []} {"id": "2301.04299", "title": "SoK: Adversarial Machine Learning Attacks and Defences in Multi-Agent\n Reinforcement Learning", "abstract": " Multi-Agent Reinforcement Learning (MARL) is vulnerable to Adversarial\nMachine Learning (AML) attacks and needs adequate defences before it can be\nused in real world applications. We have conducted a survey into the use of\nexecution-time AML attacks against MARL and the defences against those attacks.\nWe surveyed related work in the application of AML in Deep Reinforcement\nLearning (DRL) and Multi-Agent Learning (MAL) to inform our analysis of AML for\nMARL. We propose a novel perspective to understand the manner of perpetrating\nan AML attack, by defining Attack Vectors. We develop two new frameworks to\naddress a gap in current modelling frameworks, focusing on the means and tempo\nof an AML attack against MARL, and identify knowledge gaps and future avenues\nof research.\n", "date": "2023-01-11", "categories": []} {"id": "2301.04472", "title": "Adversarial training with informed data selection", "abstract": " With the increasing amount of available data and advances in computing\ncapabilities, deep neural networks (DNNs) have been successfully employed to\nsolve challenging tasks in various areas, including healthcare, climate, and\nfinance. Nevertheless, state-of-the-art DNNs are susceptible to\nquasi-imperceptible perturbed versions of the original images -- adversarial\nexamples. These perturbations of the network input can lead to disastrous\nimplications in critical areas where wrong decisions can directly affect human\nlives. Adversarial training is the most efficient solution to defend the\nnetwork against these malicious attacks. However, adversarial trained networks\ngenerally come with lower clean accuracy and higher computational complexity.\nThis work proposes a data selection (DS) strategy to be applied in the\nmini-batch training. Based on the cross-entropy loss, the most relevant samples\nin the batch are selected to update the model parameters in the\nbackpropagation. The simulation results show that a good compromise can be\nobtained regarding robustness and standard accuracy, whereas the computational\ncomplexity of the backpropagation pass is reduced.\n", "date": "2023-01-07", "categories": []} {"id": "2206.07144", "title": "Efficiently Training Low-Curvature Neural Networks", "abstract": " The highly non-linear nature of deep neural networks causes them to be\nsusceptible to adversarial examples and have unstable gradients which hinders\ninterpretability. However, existing methods to solve these issues, such as\nadversarial training, are expensive and often sacrifice predictive accuracy.\n In this work, we consider curvature, which is a mathematical quantity which\nencodes the degree of non-linearity. Using this, we demonstrate low-curvature\nneural networks (LCNNs) that obtain drastically lower curvature than standard\nmodels while exhibiting similar predictive performance, which leads to improved\nrobustness and stable gradients, with only a marginally increased training\ntime. To achieve this, we minimize a data-independent upper bound on the\ncurvature of a neural network, which decomposes overall curvature in terms of\ncurvatures and slopes of its constituent layers. To efficiently minimize this\nbound, we introduce two novel architectural components: first, a non-linearity\ncalled centered-softplus that is a stable variant of the softplus\nnon-linearity, and second, a Lipschitz-constrained batch normalization layer.\n Our experiments show that LCNNs have lower curvature, more stable gradients\nand increased off-the-shelf adversarial robustness when compared to their\nstandard high-curvature counterparts, all without affecting predictive\nperformance. Our approach is easy to use and can be readily incorporated into\nexisting neural network models.\n", "date": "2022-06-14", "categories": []} {"id": "2206.10057", "title": "Robust Deep Reinforcement Learning through Bootstrapped Opportunistic\n Curriculum", "abstract": " Despite considerable advances in deep reinforcement learning, it has been\nshown to be highly vulnerable to adversarial perturbations to state\nobservations. Recent efforts that have attempted to improve adversarial\nrobustness of reinforcement learning can nevertheless tolerate only very small\nperturbations, and remain fragile as perturbation size increases. We propose\nBootstrapped Opportunistic Adversarial Curriculum Learning (BCL), a novel\nflexible adversarial curriculum learning framework for robust reinforcement\nlearning. Our framework combines two ideas: conservatively bootstrapping each\ncurriculum phase with highest quality solutions obtained from multiple runs of\nthe previous phase, and opportunistically skipping forward in the curriculum.\nIn our experiments we show that the proposed BCL framework enables dramatic\nimprovements in robustness of learned policies to adversarial perturbations.\nThe greatest improvement is for Pong, where our framework yields robustness to\nperturbations of up to 25/255; in contrast, the best existing approach can only\ntolerate adversarial noise up to 5/255. Our code is available at:\nhttps://github.com/jlwu002/BCL.\n", "date": "2022-06-21", "categories": []} {"id": "2301.03662", "title": "On adversarial robustness and the use of Wasserstein ascent-descent\n dynamics to enforce it", "abstract": " We propose iterative algorithms to solve adversarial problems in a variety of\nsupervised learning settings of interest. Our algorithms, which can be\ninterpreted as suitable ascent-descent dynamics in Wasserstein spaces, take the\nform of a system of interacting particles. These interacting particle dynamics\nare shown to converge toward appropriate mean-field limit equations in certain\nlarge number of particles regimes. In turn, we prove that, under certain\nregularity assumptions, these mean-field equations converge, in the large time\nlimit, toward approximate Nash equilibria of the original adversarial learning\nproblems. We present results for nonconvex-nonconcave settings, as well as for\nnonconvex-concave ones. Numerical experiments illustrate our results.\n", "date": "2023-01-09", "categories": []} {"id": "2301.03703", "title": "On the Susceptibility and Robustness of Time Series Models through\n Adversarial Attack and Defense", "abstract": " Under adversarial attacks, time series regression and classification are\nvulnerable. Adversarial defense, on the other hand, can make the models more\nresilient. It is important to evaluate how vulnerable different time series\nmodels are to attacks and how well they recover using defense. The sensitivity\nto various attacks and the robustness using the defense of several time series\nmodels are investigated in this study. Experiments are run on seven-time series\nmodels with three adversarial attacks and one adversarial defense. According to\nthe findings, all models, particularly GRU and RNN, appear to be vulnerable.\nLSTM and GRU also have better defense recovery. FGSM exceeds the competitors in\nterms of attacks. PGD attacks are more difficult to recover from than other\nsorts of attacks.\n", "date": "2023-01-09", "categories": []} {"id": "2301.03966", "title": "AdvBiom: Adversarial Attacks on Biometric Matchers", "abstract": " With the advent of deep learning models, face recognition systems have\nachieved impressive recognition rates. The workhorses behind this success are\nConvolutional Neural Networks (CNNs) and the availability of large training\ndatasets. However, we show that small human-imperceptible changes to face\nsamples can evade most prevailing face recognition systems. Even more alarming\nis the fact that the same generator can be extended to other traits in the\nfuture. In this work, we present how such a generator can be trained and also\nextended to other biometric modalities, such as fingerprint recognition\nsystems.\n", "date": "2023-01-10", "categories": []} {"id": "2301.02905", "title": "REaaS: Enabling Adversarially Robust Downstream Classifiers via Robust\n Encoder as a Service", "abstract": " Encoder as a service is an emerging cloud service. Specifically, a service\nprovider first pre-trains an encoder (i.e., a general-purpose feature\nextractor) via either supervised learning or self-supervised learning and then\ndeploys it as a cloud service API. A client queries the cloud service API to\nobtain feature vectors for its training/testing inputs when training/testing\nits classifier (called downstream classifier). A downstream classifier is\nvulnerable to adversarial examples, which are testing inputs with carefully\ncrafted perturbation that the downstream classifier misclassifies. Therefore,\nin safety and security critical applications, a client aims to build a robust\ndownstream classifier and certify its robustness guarantees against adversarial\nexamples.\n What APIs should the cloud service provide, such that a client can use any\ncertification method to certify the robustness of its downstream classifier\nagainst adversarial examples while minimizing the number of queries to the\nAPIs? How can a service provider pre-train an encoder such that clients can\nbuild more certifiably robust downstream classifiers? We aim to answer the two\nquestions in this work. For the first question, we show that the cloud service\nonly needs to provide two APIs, which we carefully design, to enable a client\nto certify the robustness of its downstream classifier with a minimal number of\nqueries to the APIs. For the second question, we show that an encoder\npre-trained using a spectral-norm regularization term enables clients to build\nmore robust downstream classifiers.\n", "date": "2023-01-07", "categories": []} {"id": "2301.03110", "title": "RobArch: Designing Robust Architectures against Adversarial Attacks", "abstract": " Adversarial Training is the most effective approach for improving the\nrobustness of Deep Neural Networks (DNNs). However, compared to the large body\nof research in optimizing the adversarial training process, there are few\ninvestigations into how architecture components affect robustness, and they\nrarely constrain model capacity. Thus, it is unclear where robustness precisely\ncomes from. In this work, we present the first large-scale systematic study on\nthe robustness of DNN architecture components under fixed parameter budgets.\nThrough our investigation, we distill 18 actionable robust network design\nguidelines that empower model developers to gain deep insights. We demonstrate\nthese guidelines' effectiveness by introducing the novel Robust Architecture\n(RobArch) model that instantiates the guidelines to build a family of\ntop-performing models across parameter capacities against strong adversarial\nattacks. RobArch achieves the new state-of-the-art AutoAttack accuracy on the\nRobustBench ImageNet leaderboard. The code is available at\n$\\href{https://github.com/ShengYun-Peng/RobArch}{\\text{this url}}$.\n", "date": "2023-01-08", "categories": []} {"id": "2301.01495", "title": "Beckman Defense", "abstract": " Optimal transport (OT) based distributional robust optimisation (DRO) has\nreceived some traction in the recent past. However, it is at a nascent stage\nbut has a sound potential in robustifying the deep learning models.\nInterestingly, OT barycenters demonstrate a good robustness against adversarial\nattacks. Owing to the computationally expensive nature of OT barycenters, they\nhave not been investigated under DRO framework. In this work, we propose a new\nbarycenter, namely Beckman barycenter, which can be computed efficiently and\nused for training the network to defend against adversarial attacks in\nconjunction with adversarial training. We propose a novel formulation of\nBeckman barycenter and analytically obtain the barycenter using the marginals\nof the input image. We show that the Beckman barycenter can be used to train\nadversarially trained networks to improve the robustness. Our training is\nextremely efficient as it requires only a single epoch of training. Elaborate\nexperiments on CIFAR-10, CIFAR-100 and Tiny ImageNet demonstrate that training\nan adversarially robust network with Beckman barycenter can significantly\nincrease the performance. Under auto attack, we get a a maximum boost of 10\\%\nin CIFAR-10, 8.34\\% in CIFAR-100 and 11.51\\% in Tiny ImageNet. Our code is\navailable at\nhttps://github.com/Visual-Conception-Group/test-barycentric-defense.\n", "date": "2023-01-04", "categories": []} {"id": "2301.01832", "title": "Availability Adversarial Attack and Countermeasures for Deep\n Learning-based Load Forecasting", "abstract": " The forecast of electrical loads is essential for the planning and operation\nof the power system. Recently, advances in deep learning have enabled more\naccurate forecasts. However, deep neural networks are prone to adversarial\nattacks. Although most of the literature focuses on integrity-based attacks,\nthis paper proposes availability-based adversarial attacks, which can be more\neasily implemented by attackers. For each forecast instance, the availability\nattack position is optimally solved by mixed-integer reformulation of the\nartificial neural network. To tackle this attack, an adversarial training\nalgorithm is proposed. In simulation, a realistic load forecasting dataset is\nconsidered and the attack performance is compared to the integrity-based\nattack. Meanwhile, the adversarial training algorithm is shown to significantly\nimprove robustness against availability attacks. All codes are available at\nhttps://github.com/xuwkk/AAA_Load_Forecast.\n", "date": "2023-01-04", "categories": []} {"id": "2301.01731", "title": "GUAP: Graph Universal Attack Through Adversarial Patching", "abstract": " Graph neural networks (GNNs) are a class of effective deep learning models\nfor node classification tasks; yet their predictive capability may be severely\ncompromised under adversarially designed unnoticeable perturbations to the\ngraph structure and/or node data. Most of the current work on graph adversarial\nattacks aims at lowering the overall prediction accuracy, but we argue that the\nresulting abnormal model performance may catch attention easily and invite\nquick counterattack. Moreover, attacks through modification of existing graph\ndata may be hard to conduct if good security protocols are implemented. In this\nwork, we consider an easier attack harder to be noticed, through adversarially\npatching the graph with new nodes and edges. The attack is universal: it\ntargets a single node each time and flips its connection to the same set of\npatch nodes. The attack is unnoticeable: it does not modify the predictions of\nnodes other than the target. We develop an algorithm, named GUAP, that achieves\nhigh attack success rate but meanwhile preserves the prediction accuracy. GUAP\nis fast to train by employing a sampling strategy. We demonstrate that a 5%\nsampling in each epoch yields 20x speedup in training, with only a slight\ndegradation in attack performance. Additionally, we show that the adversarial\npatch trained with the graph convolutional network transfers well to other\nGNNs, such as the graph attention network.\n", "date": "2023-01-04", "categories": []} {"id": "2211.14207", "title": "Invariance-Aware Randomized Smoothing Certificates", "abstract": " Building models that comply with the invariances inherent to different\ndomains, such as invariance under translation or rotation, is a key aspect of\napplying machine learning to real world problems like molecular property\nprediction, medical imaging, protein folding or LiDAR classification. For the\nfirst time, we study how the invariances of a model can be leveraged to\nprovably guarantee the robustness of its predictions. We propose a gray-box\napproach, enhancing the powerful black-box randomized smoothing technique with\nwhite-box knowledge about invariances. First, we develop gray-box certificates\nbased on group orbits, which can be applied to arbitrary models with invariance\nunder permutation and Euclidean isometries. Then, we derive provably tight\ngray-box certificates. We experimentally demonstrate that the provably tight\ncertificates can offer much stronger guarantees, but that in practical\nscenarios the orbit-based method is a good approximation.\n", "date": "2022-11-25", "categories": []} {"id": "2301.01223", "title": "ExploreADV: Towards exploratory attack for Neural Networks", "abstract": " Although deep learning has made remarkable progress in processing various\ntypes of data such as images, text and speech, they are known to be susceptible\nto adversarial perturbations: perturbations specifically designed and added to\nthe input to make the target model produce erroneous output. Most of the\nexisting studies on generating adversarial perturbations attempt to perturb the\nentire input indiscriminately. In this paper, we propose ExploreADV, a general\nand flexible adversarial attack system that is capable of modeling regional and\nimperceptible attacks, allowing users to explore various kinds of adversarial\nexamples as needed. We adapt and combine two existing boundary attack methods,\nDeepFool and Brendel\\&Bethge Attack, and propose a mask-constrained adversarial\nattack system, which generates minimal adversarial perturbations under the\npixel-level constraints, namely ``mask-constraints''. We study different ways\nof generating such mask-constraints considering the variance and importance of\nthe input features, and show that our adversarial attack system offers users\ngood flexibility to focus on sub-regions of inputs, explore imperceptible\nperturbations and understand the vulnerability of pixels/regions to adversarial\nattacks. We demonstrate our system to be effective based on extensive\nexperiments and user study.\n", "date": "2023-01-01", "categories": []} {"id": "2210.08870", "title": "Differential Evolution based Dual Adversarial Camouflage: Fooling Human\n Eyes and Object Detectors", "abstract": " Recent studies reveal that deep neural network (DNN) based object detectors\nare vulnerable to adversarial attacks in the form of adding the perturbation to\nthe images, leading to the wrong output of object detectors. Most current\nexisting works focus on generating perturbed images, also called adversarial\nexamples, to fool object detectors. Though the generated adversarial examples\nthemselves can remain a certain naturalness, most of them can still be easily\nobserved by human eyes, which limits their further application in the real\nworld. To alleviate this problem, we propose a differential evolution based\ndual adversarial camouflage (DE_DAC) method, composed of two stages to fool\nhuman eyes and object detectors simultaneously. Specifically, we try to obtain\nthe camouflage texture, which can be rendered over the surface of the object.\nIn the first stage, we optimize the global texture to minimize the discrepancy\nbetween the rendered object and the scene images, making human eyes difficult\nto distinguish. In the second stage, we design three loss functions to optimize\nthe local texture, making object detectors ineffective. In addition, we\nintroduce the differential evolution algorithm to search for the near-optimal\nareas of the object to attack, improving the adversarial performance under\ncertain attack area limitations. Besides, we also study the performance of\nadaptive DE_DAC, which can be adapted to the environment. Experiments show that\nour proposed method could obtain a good trade-off between the fooling human\neyes and object detectors under multiple specific scenes and objects.\n", "date": "2022-10-17", "categories": []} {"id": "2212.14049", "title": "Differentiable Search of Accurate and Robust Architectures", "abstract": " Deep neural networks (DNNs) are found to be vulnerable to adversarial\nattacks, and various methods have been proposed for the defense. Among these\nmethods, adversarial training has been drawing increasing attention because of\nits simplicity and effectiveness. However, the performance of the adversarial\ntraining is greatly limited by the architectures of target DNNs, which often\nmakes the resulting DNNs with poor accuracy and unsatisfactory robustness. To\naddress this problem, we propose DSARA to automatically search for the neural\narchitectures that are accurate and robust after adversarial training. In\nparticular, we design a novel cell-based search space specially for adversarial\ntraining, which improves the accuracy and the robustness upper bound of the\nsearched architectures by carefully designing the placement of the cells and\nthe proportional relationship of the filter numbers. Then we propose a\ntwo-stage search strategy to search for both accurate and robust neural\narchitectures. At the first stage, the architecture parameters are optimized to\nminimize the adversarial loss, which makes full use of the effectiveness of the\nadversarial training in enhancing the robustness. At the second stage, the\narchitecture parameters are optimized to minimize both the natural loss and the\nadversarial loss utilizing the proposed multi-objective adversarial training\nmethod, so that the searched neural architectures are both accurate and robust.\nWe evaluate the proposed algorithm under natural data and various adversarial\nattacks, which reveals the superiority of the proposed method in terms of both\naccurate and robust architectures. We also conclude that accurate and robust\nneural architectures tend to deploy very different structures near the input\nand the output, which has great practical significance on both hand-crafting\nand automatically designing of accurate and robust neural architectures.\n", "date": "2022-12-28", "categories": []} {"id": "2301.00364", "title": "Generalizable Black-Box Adversarial Attack with Meta Learning", "abstract": " In the scenario of black-box adversarial attack, the target model's\nparameters are unknown, and the attacker aims to find a successful adversarial\nperturbation based on query feedback under a query budget. Due to the limited\nfeedback information, existing query-based black-box attack methods often\nrequire many queries for attacking each benign example. To reduce query cost,\nwe propose to utilize the feedback information across historical attacks,\ndubbed example-level adversarial transferability. Specifically, by treating the\nattack on each benign example as one task, we develop a meta-learning framework\nby training a meta-generator to produce perturbations conditioned on benign\nexamples. When attacking a new benign example, the meta generator can be\nquickly fine-tuned based on the feedback information of the new task as well as\na few historical attacks to produce effective perturbations. Moreover, since\nthe meta-train procedure consumes many queries to learn a generalizable\ngenerator, we utilize model-level adversarial transferability to train the\nmeta-generator on a white-box surrogate model, then transfer it to help the\nattack against the target model. The proposed framework with the two types of\nadversarial transferability can be naturally combined with any off-the-shelf\nquery-based attack methods to boost their performance, which is verified by\nextensive experiments.\n", "date": "2023-01-01", "categories": []} {"id": "2208.13904", "title": "Reducing Certified Regression to Certified Classification for General\n Poisoning Attacks", "abstract": " Adversarial training instances can severely distort a model's behavior. This\nwork investigates certified regression defenses, which provide guaranteed\nlimits on how much a regressor's prediction may change under a poisoning\nattack. Our key insight is that certified regression reduces to voting-based\ncertified classification when using median as a model's primary decision\nfunction. Coupling our reduction with existing certified classifiers, we\npropose six new regressors provably-robust to poisoning attacks. To the extent\nof our knowledge, this is the first work that certifies the robustness of\nindividual regression predictions without any assumptions about the data\ndistribution and model architecture. We also show that the assumptions made by\nexisting state-of-the-art certified classifiers are often overly pessimistic.\nWe introduce a tighter analysis of model robustness, which in many cases\nresults in significantly improved certified guarantees. Lastly, we empirically\ndemonstrate our approaches' effectiveness on both regression and classification\ndata, where the accuracy of up to 50% of test predictions can be guaranteed\nunder 1% training set corruption and up to 30% of predictions under 4%\ncorruption. Our source code is available at\nhttps://github.com/ZaydH/certified-regression.\n", "date": "2022-08-29", "categories": []} {"id": "2209.05055", "title": "CARE: Certifiably Robust Learning with Reasoning via Variational\n Inference", "abstract": " Despite great recent advances achieved by deep neural networks (DNNs), they\nare often vulnerable to adversarial attacks. Intensive research efforts have\nbeen made to improve the robustness of DNNs; however, most empirical defenses\ncan be adaptively attacked again, and the theoretically certified robustness is\nlimited, especially on large-scale datasets. One potential root cause of such\nvulnerabilities for DNNs is that although they have demonstrated powerful\nexpressiveness, they lack the reasoning ability to make robust and reliable\npredictions. In this paper, we aim to integrate domain knowledge to enable\nrobust learning with the reasoning paradigm. In particular, we propose a\ncertifiably robust learning with reasoning pipeline (CARE), which consists of a\nlearning component and a reasoning component. Concretely, we use a set of\nstandard DNNs to serve as the learning component to make semantic predictions,\nand we leverage the probabilistic graphical models, such as Markov logic\nnetworks (MLN), to serve as the reasoning component to enable knowledge/logic\nreasoning. However, it is known that the exact inference of MLN (reasoning) is\n#P-complete, which limits the scalability of the pipeline. To this end, we\npropose to approximate the MLN inference via variational inference based on an\nefficient expectation maximization algorithm. In particular, we leverage graph\nconvolutional networks (GCNs) to encode the posterior distribution during\nvariational inference and update the parameters of GCNs (E-step) and the\nweights of knowledge rules in MLN (M-step) iteratively. We conduct extensive\nexperiments on different datasets and show that CARE achieves significantly\nhigher certified robustness compared with the state-of-the-art baselines. We\nadditionally conducted different ablation studies to demonstrate the empirical\nrobustness of CARE and the effectiveness of different knowledge integration.\n", "date": "2022-09-12", "categories": []} {"id": "2212.14115", "title": "Certifying Safety in Reinforcement Learning under Adversarial\n Perturbation Attacks", "abstract": " Function approximation has enabled remarkable advances in applying\nreinforcement learning (RL) techniques in environments with high-dimensional\ninputs, such as images, in an end-to-end fashion, mapping such inputs directly\nto low-level control. Nevertheless, these have proved vulnerable to small\nadversarial input perturbations. A number of approaches for improving or\ncertifying robustness of end-to-end RL to adversarial perturbations have\nemerged as a result, focusing on cumulative reward. However, what is often at\nstake in adversarial scenarios is the violation of fundamental properties, such\nas safety, rather than the overall reward that combines safety with efficiency.\nMoreover, properties such as safety can only be defined with respect to true\nstate, rather than the high-dimensional raw inputs to end-to-end policies. To\ndisentangle nominal efficiency and adversarial safety, we situate RL in\ndeterministic partially-observable Markov decision processes (POMDPs) with the\ngoal of maximizing cumulative reward subject to safety constraints. We then\npropose a partially-supervised reinforcement learning (PSRL) framework that\ntakes advantage of an additional assumption that the true state of the POMDP is\nknown at training time. We present the first approach for certifying safety of\nPSRL policies under adversarial input perturbations, and two adversarial\ntraining approaches that make direct use of PSRL. Our experiments demonstrate\nboth the efficacy of the proposed approach for certifying safety in adversarial\nenvironments, and the value of the PSRL framework coupled with adversarial\ntraining in improving certified safety while preserving high nominal reward and\nhigh-quality predictions of true state.\n", "date": "2022-12-28", "categories": []} {"id": "2212.14315", "title": "\"Real Attackers Don't Compute Gradients\": Bridging the Gap Between\n Adversarial ML Research and Practice", "abstract": " Recent years have seen a proliferation of research on adversarial machine\nlearning. Numerous papers demonstrate powerful algorithmic attacks against a\nwide variety of machine learning (ML) models, and numerous other papers propose\ndefenses that can withstand most attacks. However, abundant real-world evidence\nsuggests that actual attackers use simple tactics to subvert ML-driven systems,\nand as a result security practitioners have not prioritized adversarial ML\ndefenses.\n Motivated by the apparent gap between researchers and practitioners, this\nposition paper aims to bridge the two domains. We first present three\nreal-world case studies from which we can glean practical insights unknown or\nneglected in research. Next we analyze all adversarial ML papers recently\npublished in top security conferences, highlighting positive trends and blind\nspots. Finally, we state positions on precise and cost-driven threat modeling,\ncollaboration between industry and academia, and reproducible research. We\nbelieve that our positions, if adopted, will increase the real-world impact of\nfuture endeavours in adversarial ML, bringing both researchers and\npractitioners closer to their shared goal of improving the security of ML\nsystems.\n", "date": "2022-12-29", "categories": []} {"id": "2212.14677", "title": "Adversarial attacks and defenses on ML- and hardware-based IoT device\n fingerprinting and identification", "abstract": " In the last years, the number of IoT devices deployed has suffered an\nundoubted explosion, reaching the scale of billions. However, some new\ncybersecurity issues have appeared together with this development. Some of\nthese issues are the deployment of unauthorized devices, malicious code\nmodification, malware deployment, or vulnerability exploitation. This fact has\nmotivated the requirement for new device identification mechanisms based on\nbehavior monitoring. Besides, these solutions have recently leveraged Machine\nand Deep Learning techniques due to the advances in this field and the increase\nin processing capabilities. In contrast, attackers do not stay stalled and have\ndeveloped adversarial attacks focused on context modification and ML/DL\nevaluation evasion applied to IoT device identification solutions. This work\nexplores the performance of hardware behavior-based individual device\nidentification, how it is affected by possible context- and ML/DL-focused\nattacks, and how its resilience can be improved using defense techniques. In\nthis sense, it proposes an LSTM-CNN architecture based on hardware performance\nbehavior for individual device identification. Then, previous techniques have\nbeen compared with the proposed architecture using a hardware performance\ndataset collected from 45 Raspberry Pi devices running identical software. The\nLSTM-CNN improves previous solutions achieving a +0.96 average F1-Score and 0.8\nminimum TPR for all devices. Afterward, context- and ML/DL-focused adversarial\nattacks were applied against the previous model to test its robustness. A\ntemperature-based context attack was not able to disrupt the identification.\nHowever, some ML/DL state-of-the-art evasion attacks were successful. Finally,\nadversarial training and model distillation defense techniques are selected to\nimprove the model resilience to evasion attacks, without degrading its\nperformance.\n", "date": "2022-12-30", "categories": []} {"id": "2212.14875", "title": "Guidance Through Surrogate: Towards a Generic Diagnostic Attack", "abstract": " Adversarial training is an effective approach to make deep neural networks\nrobust against adversarial attacks. Recently, different adversarial training\ndefenses are proposed that not only maintain a high clean accuracy but also\nshow significant robustness against popular and well studied adversarial\nattacks such as PGD. High adversarial robustness can also arise if an attack\nfails to find adversarial gradient directions, a phenomenon known as `gradient\nmasking'. In this work, we analyse the effect of label smoothing on adversarial\ntraining as one of the potential causes of gradient masking. We then develop a\nguided mechanism to avoid local minima during attack optimization, leading to a\nnovel attack dubbed Guided Projected Gradient Attack (G-PGA). Our attack\napproach is based on a `match and deceive' loss that finds optimal adversarial\ndirections through guidance from a surrogate model. Our modified attack does\nnot require random restarts, large number of attack iterations or search for an\noptimal step-size. Furthermore, our proposed G-PGA is generic, thus it can be\ncombined with an ensemble attack strategy as we demonstrate for the case of\nAuto-Attack, leading to efficiency and convergence speed improvements. More\nthan an effective attack, G-PGA can be used as a diagnostic tool to reveal\nelusive robustness due to gradient masking in adversarial defenses.\n", "date": "2022-12-30", "categories": []} {"id": "2212.13607", "title": "EDoG: Adversarial Edge Detection For Graph Neural Networks", "abstract": " Graph Neural Networks (GNNs) have been widely applied to different tasks such\nas bioinformatics, drug design, and social networks. However, recent studies\nhave shown that GNNs are vulnerable to adversarial attacks which aim to mislead\nthe node or subgraph classification prediction by adding subtle perturbations.\nDetecting these attacks is challenging due to the small magnitude of\nperturbation and the discrete nature of graph data. In this paper, we propose a\ngeneral adversarial edge detection pipeline EDoG without requiring knowledge of\nthe attack strategies based on graph generation. Specifically, we propose a\nnovel graph generation approach combined with link prediction to detect\nsuspicious adversarial edges. To effectively train the graph generative model,\nwe sample several sub-graphs from the given graph data. We show that since the\nnumber of adversarial edges is usually low in practice, with low probability\nthe sampled sub-graphs will contain adversarial edges based on the union bound.\nIn addition, considering the strong attacks which perturb a large number of\nedges, we propose a set of novel features to perform outlier detection as the\npreprocessing for our detection. Extensive experimental results on three\nreal-world graph datasets including a private transaction rule dataset from a\nmajor company and two types of synthetic graphs with controlled properties show\nthat EDoG can achieve above 0.8 AUC against four state-of-the-art unseen attack\nstrategies without requiring any knowledge about the attack type; and around\n0.85 with knowledge of the attack type. EDoG significantly outperforms\ntraditional malicious edge detection baselines. We also show that an adaptive\nattack with full knowledge of our detection pipeline is difficult to bypass it.\n", "date": "2022-12-27", "categories": []} {"id": "2212.13700", "title": "Publishing Efficient On-device Models Increases Adversarial\n Vulnerability", "abstract": " Recent increases in the computational demands of deep neural networks (DNNs)\nhave sparked interest in efficient deep learning mechanisms, e.g., quantization\nor pruning. These mechanisms enable the construction of a small, efficient\nversion of commercial-scale models with comparable accuracy, accelerating their\ndeployment to resource-constrained devices.\n In this paper, we study the security considerations of publishing on-device\nvariants of large-scale models. We first show that an adversary can exploit\non-device models to make attacking the large models easier. In evaluations\nacross 19 DNNs, by exploiting the published on-device models as a transfer\nprior, the adversarial vulnerability of the original commercial-scale models\nincreases by up to 100x. We then show that the vulnerability increases as the\nsimilarity between a full-scale and its efficient model increase. Based on the\ninsights, we propose a defense, $similarity$-$unpairing$, that fine-tunes\non-device models with the objective of reducing the similarity. We evaluated\nour defense on all the 19 DNNs and found that it reduces the transferability up\nto 90% and the number of queries required by a factor of 10-100x. Our results\nsuggest that further research is needed on the security (or even privacy)\nthreats caused by publishing those efficient siblings.\n", "date": "2022-12-28", "categories": []} {"id": "2212.13989", "title": "AdvCat: Domain-Agnostic Robustness Assessment for Cybersecurity-Critical\n Applications with Categorical Inputs", "abstract": " Machine Learning-as-a-Service systems (MLaaS) have been largely developed for\ncybersecurity-critical applications, such as detecting network intrusions and\nfake news campaigns. Despite effectiveness, their robustness against\nadversarial attacks is one of the key trust concerns for MLaaS deployment. We\nare thus motivated to assess the adversarial robustness of the Machine Learning\nmodels residing at the core of these security-critical applications with\ncategorical inputs. Previous research efforts on accessing model robustness\nagainst manipulation of categorical inputs are specific to use cases and\nheavily depend on domain knowledge, or require white-box access to the target\nML model. Such limitations prevent the robustness assessment from being as a\ndomain-agnostic service provided to various real-world applications. We propose\na provably optimal yet computationally highly efficient adversarial robustness\nassessment protocol for a wide band of ML-driven cybersecurity-critical\napplications. We demonstrate the use of the domain-agnostic robustness\nassessment method with substantial experimental study on fake news detection\nand intrusion detection problems.\n", "date": "2022-12-13", "categories": []} {"id": "2212.12732", "title": "Frequency Regularization for Improving Adversarial Robustness", "abstract": " Deep neural networks are incredibly vulnerable to crafted,\nhuman-imperceptible adversarial perturbations. Although adversarial training\n(AT) has proven to be an effective defense approach, we find that the\nAT-trained models heavily rely on the input low-frequency content for judgment,\naccounting for the low standard accuracy. To close the large gap between the\nstandard and robust accuracies during AT, we investigate the frequency\ndifference between clean and adversarial inputs, and propose a frequency\nregularization (FR) to align the output difference in the spectral domain.\nBesides, we find Stochastic Weight Averaging (SWA), by smoothing the kernels\nover epochs, further improves the robustness. Among various defense schemes,\nour method achieves the strongest robustness against attacks by PGD-20, C\\&W\nand Autoattack, on a WideResNet trained on CIFAR-10 without any extra data.\n", "date": "2022-12-24", "categories": []} {"id": "2212.12995", "title": "Simultaneously Optimizing Perturbations and Positions for Black-box\n Adversarial Patch Attacks", "abstract": " Adversarial patch is an important form of real-world adversarial attack that\nbrings serious risks to the robustness of deep neural networks. Previous\nmethods generate adversarial patches by either optimizing their perturbation\nvalues while fixing the pasting position or manipulating the position while\nfixing the patch's content. This reveals that the positions and perturbations\nare both important to the adversarial attack. For that, in this paper, we\npropose a novel method to simultaneously optimize the position and perturbation\nfor an adversarial patch, and thus obtain a high attack success rate in the\nblack-box setting. Technically, we regard the patch's position, the\npre-designed hyper-parameters to determine the patch's perturbations as the\nvariables, and utilize the reinforcement learning framework to simultaneously\nsolve for the optimal solution based on the rewards obtained from the target\nmodel with a small number of queries. Extensive experiments are conducted on\nthe Face Recognition (FR) task, and results on four representative FR models\nshow that our method can significantly improve the attack success rate and\nquery efficiency. Besides, experiments on the commercial FR service and\nphysical environments confirm its practical application value. We also extend\nour method to the traffic sign recognition task to verify its generalization\nability.\n", "date": "2022-12-26", "categories": []} {"id": "2209.13353", "title": "Suppress with a Patch: Revisiting Universal Adversarial Patch Attacks\n against Object Detection", "abstract": " Adversarial patch-based attacks aim to fool a neural network with an\nintentionally generated noise, which is concentrated in a particular region of\nan input image. In this work, we perform an in-depth analysis of different\npatch generation parameters, including initialization, patch size, and\nespecially positioning a patch in an image during training. We focus on the\nobject vanishing attack and run experiments with YOLOv3 as a model under attack\nin a white-box setting and use images from the COCO dataset. Our experiments\nhave shown, that inserting a patch inside a window of increasing size during\ntraining leads to a significant increase in attack strength compared to a fixed\nposition. The best results were obtained when a patch was positioned randomly\nduring training, while patch position additionally varied within a batch.\n", "date": "2022-09-27", "categories": []} {"id": "2212.11209", "title": "A Theoretical Study of The Effects of Adversarial Attacks on Sparse\n Regression", "abstract": " This paper analyzes $\\ell_1$ regularized linear regression under the\nchallenging scenario of having only adversarially corrupted data for training.\nWe use the primal-dual witness paradigm to provide provable performance\nguarantees for the support of the estimated regression parameter vector to\nmatch the actual parameter. Our theoretical analysis shows the\ncounter-intuitive result that an adversary can influence sample complexity by\ncorrupting the irrelevant features, i.e., those corresponding to zero\ncoefficients of the regression parameter vector, which, consequently, do not\naffect the dependent variable. As any adversarially robust algorithm has its\nlimitations, our theoretical analysis identifies the regimes under which the\nlearning algorithm and adversary can dominate over each other. It helps us to\nanalyze these fundamental limits and address critical scientific questions of\nwhich parameters (like mutual incoherence, the maximum and minimum eigenvalue\nof the covariance matrix, and the budget of adversarial perturbation) play a\nrole in the high or low probability of success of the LASSO algorithm. Also,\nthe derived sample complexity is logarithmic with respect to the size of the\nregression parameter vector, and our theoretical claims are validated by\nempirical analysis on synthetic and real-world datasets.\n", "date": "2022-12-21", "categories": []} {"id": "2212.11760", "title": "Aliasing is a Driver of Adversarial Attacks", "abstract": " Aliasing is a highly important concept in signal processing, as careful\nconsideration of resolution changes is essential in ensuring transmission and\nprocessing quality of audio, image, and video. Despite this, up until recently\naliasing has received very little consideration in Deep Learning, with all\ncommon architectures carelessly sub-sampling without considering aliasing\neffects. In this work, we investigate the hypothesis that the existence of\nadversarial perturbations is due in part to aliasing in neural networks. Our\nultimate goal is to increase robustness against adversarial attacks using\nexplainable, non-trained, structural changes only, derived from aliasing first\nprinciples. Our contributions are the following. First, we establish a\nsufficient condition for no aliasing for general image transformations. Next,\nwe study sources of aliasing in common neural network layers, and derive simple\nmodifications from first principles to eliminate or reduce it. Lastly, our\nexperimental results show a solid link between anti-aliasing and adversarial\nattacks. Simply reducing aliasing already results in more robust classifiers,\nand combining anti-aliasing with robust training out-performs solo robust\ntraining on $L_2$ attacks with none or minimal losses in performance on\n$L_{\\infty}$ attacks.\n", "date": "2022-12-22", "categories": []} {"id": "2212.06822", "title": "Adversarial Attacks and Defences for Skin Cancer Classification", "abstract": " There has been a concurrent significant improvement in the medical images\nused to facilitate diagnosis and the performance of machine learning techniques\nto perform tasks such as classification, detection, and segmentation in recent\nyears. As a result, a rapid increase in the usage of such systems can be\nobserved in the healthcare industry, for instance in the form of medical image\nclassification systems, where these models have achieved diagnostic parity with\nhuman physicians. One such application where this can be observed is in\ncomputer vision tasks such as the classification of skin lesions in\ndermatoscopic images. However, as stakeholders in the healthcare industry, such\nas insurance companies, continue to invest extensively in machine learning\ninfrastructure, it becomes increasingly important to understand the\nvulnerabilities in such systems. Due to the highly critical nature of the tasks\nbeing carried out by these machine learning models, it is necessary to analyze\ntechniques that could be used to take advantage of these vulnerabilities and\nmethods to defend against them. This paper explores common adversarial attack\ntechniques. The Fast Sign Gradient Method and Projected Descent Gradient are\nused against a Convolutional Neural Network trained to classify dermatoscopic\nimages of skin lesions. Following that, it also discusses one of the most\npopular adversarial defense techniques, adversarial training. The performance\nof the model that has been trained on adversarial examples is then tested\nagainst the previously mentioned attacks, and recommendations to improve neural\nnetworks robustness are thus provided based on the results of the experiment.\n", "date": "2022-12-13", "categories": []} {"id": "2212.11005", "title": "Revisiting Residual Networks for Adversarial Robustness: An\n Architectural Perspective", "abstract": " Efforts to improve the adversarial robustness of convolutional neural\nnetworks have primarily focused on developing more effective adversarial\ntraining methods. In contrast, little attention was devoted to analyzing the\nrole of architectural elements (such as topology, depth, and width) on\nadversarial robustness. This paper seeks to bridge this gap and present a\nholistic study on the impact of architectural design on adversarial robustness.\nWe focus on residual networks and consider architecture design at the block\nlevel, i.e., topology, kernel size, activation, and normalization, as well as\nat the network scaling level, i.e., depth and width of each block in the\nnetwork. In both cases, we first derive insights through systematic ablative\nexperiments. Then we design a robust residual block, dubbed RobustResBlock, and\na compound scaling rule, dubbed RobustScaling, to distribute depth and width at\nthe desired FLOP count. Finally, we combine RobustResBlock and RobustScaling\nand present a portfolio of adversarially robust residual networks,\nRobustResNets, spanning a broad spectrum of model capacities. Experimental\nvalidation across multiple datasets and adversarial attacks demonstrate that\nRobustResNets consistently outperform both the standard WRNs and other existing\nrobust architectures, achieving state-of-the-art AutoAttack robust accuracy of\n61.1% without additional data and 63.7% with 500K external data while being\n$2\\times$ more compact in terms of parameters. Code is available at \\url{\nhttps://github.com/zhichao-lu/robust-residual-network}\n", "date": "2022-12-21", "categories": []} {"id": "2212.09000", "title": "Confidence-aware Training of Smoothed Classifiers for Certified\n Robustness", "abstract": " Any classifier can be \"smoothed out\" under Gaussian noise to build a new\nclassifier that is provably robust to $\\ell_2$-adversarial perturbations, viz.,\nby averaging its predictions over the noise via randomized smoothing. Under the\nsmoothed classifiers, the fundamental trade-off between accuracy and\n(adversarial) robustness has been well evidenced in the literature: i.e.,\nincreasing the robustness of a classifier for an input can be at the expense of\ndecreased accuracy for some other inputs. In this paper, we propose a simple\ntraining method leveraging this trade-off to obtain robust smoothed\nclassifiers, in particular, through a sample-wise control of robustness over\nthe training samples. We make this control feasible by using \"accuracy under\nGaussian noise\" as an easy-to-compute proxy of adversarial robustness for an\ninput. Specifically, we differentiate the training objective depending on this\nproxy to filter out samples that are unlikely to benefit from the worst-case\n(adversarial) objective. Our experiments show that the proposed method, despite\nits simplicity, consistently exhibits improved certified robustness upon\nstate-of-the-art training methods. Somewhat surprisingly, we find these\nimprovements persist even for other notions of robustness, e.g., to various\ntypes of common corruptions.\n", "date": "2022-12-18", "categories": []} {"id": "2212.10006", "title": "Multi-head Uncertainty Inference for Adversarial Attack Detection", "abstract": " Deep neural networks (DNNs) are sensitive and susceptible to tiny\nperturbation by adversarial attacks which causes erroneous predictions. Various\nmethods, including adversarial defense and uncertainty inference (UI), have\nbeen developed in recent years to overcome the adversarial attacks. In this\npaper, we propose a multi-head uncertainty inference (MH-UI) framework for\ndetecting adversarial attack examples. We adopt a multi-head architecture with\nmultiple prediction heads (i.e., classifiers) to obtain predictions from\ndifferent depths in the DNNs and introduce shallow information for the UI.\nUsing independent heads at different depths, the normalized predictions are\nassumed to follow the same Dirichlet distribution, and we estimate distribution\nparameter of it by moment matching. Cognitive uncertainty brought by the\nadversarial attacks will be reflected and amplified on the distribution.\nExperimental results show that the proposed MH-UI framework can outperform all\nthe referred UI methods in the adversarial attack detection task with different\nsettings.\n", "date": "2022-12-20", "categories": []} {"id": "2212.09035", "title": "Minimizing Maximum Model Discrepancy for Transferable Black-box Targeted\n Attacks", "abstract": " In this work, we study the black-box targeted attack problem from the model\ndiscrepancy perspective. On the theoretical side, we present a generalization\nerror bound for black-box targeted attacks, which gives a rigorous theoretical\nanalysis for guaranteeing the success of the attack. We reveal that the attack\nerror on a target model mainly depends on empirical attack error on the\nsubstitute model and the maximum model discrepancy among substitute models. On\nthe algorithmic side, we derive a new algorithm for black-box targeted attacks\nbased on our theoretical analysis, in which we additionally minimize the\nmaximum model discrepancy(M3D) of the substitute models when training the\ngenerator to generate adversarial examples. In this way, our model is capable\nof crafting highly transferable adversarial examples that are robust to the\nmodel variation, thus improving the success rate for attacking the black-box\nmodel. We conduct extensive experiments on the ImageNet dataset with different\nclassification models, and our proposed approach outperforms existing\nstate-of-the-art methods by a significant margin. Our codes will be released.\n", "date": "2022-12-18", "categories": []} {"id": "2212.09254", "title": "TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven\n Optimization", "abstract": " Robustness evaluation against adversarial examples has become increasingly\nimportant to unveil the trustworthiness of the prevailing deep models in\nnatural language processing (NLP). However, in contrast to the computer vision\ndomain where the first-order projected gradient descent (PGD) is used as the\nbenchmark approach to generate adversarial examples for robustness evaluation,\nthere lacks a principled first-order gradient-based robustness evaluation\nframework in NLP. The emerging optimization challenges lie in 1) the discrete\nnature of textual inputs together with the strong coupling between the\nperturbation location and the actual content, and 2) the additional constraint\nthat the perturbed text should be fluent and achieve a low perplexity under a\nlanguage model. These challenges make the development of PGD-like NLP attacks\ndifficult. To bridge the gap, we propose TextGrad, a new attack generator using\ngradient-driven optimization, supporting high-accuracy and high-quality\nassessment of adversarial robustness in NLP. Specifically, we address the\naforementioned challenges in a unified optimization framework. And we develop\nan effective convex relaxation method to co-optimize the continuously-relaxed\nsite selection and perturbation variables and leverage an effective sampling\nmethod to establish an accurate mapping from the continuous optimization\nvariables to the discrete textual perturbations. Moreover, as a first-order\nattack generation method, TextGrad can be baked into adversarial training to\nfurther improve the robustness of NLP models. Extensive experiments are\nprovided to demonstrate the effectiveness of TextGrad not only in attack\ngeneration for robustness evaluation but also in adversarial defense.\n", "date": "2022-12-19", "categories": []} {"id": "2212.08130", "title": "On Evaluating Adversarial Robustness of Chest X-ray Classification:\n Pitfalls and Best Practices", "abstract": " Vulnerability to adversarial attacks is a well-known weakness of Deep Neural\nNetworks. While most of the studies focus on natural images with standardized\nbenchmarks like ImageNet and CIFAR, little research has considered real world\napplications, in particular in the medical domain. Our research shows that,\ncontrary to previous claims, robustness of chest x-ray classification is much\nharder to evaluate and leads to very different assessments based on the\ndataset, the architecture and robustness metric. We argue that previous studies\ndid not take into account the peculiarity of medical diagnosis, like the\nco-occurrence of diseases, the disagreement of labellers (domain experts), the\nthreat model of the attacks and the risk implications for each successful\nattack.\n In this paper, we discuss the methodological foundations, review the pitfalls\nand best practices, and suggest new methodological considerations for\nevaluating the robustness of chest xray classification models. Our evaluation\non 3 datasets, 7 models, and 18 diseases is the largest evaluation of\nrobustness of chest x-ray classification models.\n", "date": "2022-12-15", "categories": []} {"id": "2212.07815", "title": "Adversarially Robust Video Perception by Seeing Motion", "abstract": " Despite their excellent performance, state-of-the-art computer vision models\noften fail when they encounter adversarial examples. Video perception models\ntend to be more fragile under attacks, because the adversary has more places to\nmanipulate in high-dimensional data. In this paper, we find one reason for\nvideo models' vulnerability is that they fail to perceive the correct motion\nunder adversarial perturbations. Inspired by the extensive evidence that motion\nis a key factor for the human visual system, we propose to correct what the\nmodel sees by restoring the perceived motion information. Since motion\ninformation is an intrinsic structure of the video data, recovering motion\nsignals can be done at inference time without any human annotation, which\nallows the model to adapt to unforeseen, worst-case inputs. Visualizations and\nempirical experiments on UCF-101 and HMDB-51 datasets show that restoring\nmotion information in deep vision models improves adversarial robustness. Even\nunder adaptive attacks where the adversary knows our defense, our algorithm is\nstill effective. Our work provides new insight into robust video perception\nalgorithms by using intrinsic structures from the data. Our webpage is\navailable at https://motion4robust.cs.columbia.edu.\n", "date": "2022-12-13", "categories": []} {"id": "2212.07992", "title": "Alternating Objectives Generates Stronger PGD-Based Adversarial Attacks", "abstract": " Designing powerful adversarial attacks is of paramount importance for the\nevaluation of $\\ell_p$-bounded adversarial defenses. Projected Gradient Descent\n(PGD) is one of the most effective and conceptually simple algorithms to\ngenerate such adversaries. The search space of PGD is dictated by the steepest\nascent directions of an objective. Despite the plethora of objective function\nchoices, there is no universally superior option and robustness overestimation\nmay arise from ill-suited objective selection. Driven by this observation, we\npostulate that the combination of different objectives through a simple loss\nalternating scheme renders PGD more robust towards design choices. We\nexperimentally verify this assertion on a synthetic-data example and by\nevaluating our proposed method across 25 different $\\ell_{\\infty}$-robust\nmodels and 3 datasets. The performance improvement is consistent, when compared\nto the single loss counterparts. In the CIFAR-10 dataset, our strongest\nadversarial attack outperforms all of the white-box components of AutoAttack\n(AA) ensemble, as well as the most powerful attacks existing on the literature,\nachieving state-of-the-art results in the computational budget of our study\n($T=100$, no restarts).\n", "date": "2022-12-15", "categories": []} {"id": "2212.06836", "title": "Towards Efficient and Domain-Agnostic Evasion Attack with\n High-dimensional Categorical Inputs", "abstract": " Our work targets at searching feasible adversarial perturbation to attack a\nclassifier with high-dimensional categorical inputs in a domain-agnostic\nsetting. This is intrinsically an NP-hard knapsack problem where the\nexploration space becomes explosively larger as the feature dimension\nincreases. Without the help of domain knowledge, solving this problem via\nheuristic method, such as Branch-and-Bound, suffers from exponential\ncomplexity, yet can bring arbitrarily bad attack results. We address the\nchallenge via the lens of multi-armed bandit based combinatorial search. Our\nproposed method, namely FEAT, treats modifying each categorical feature as\npulling an arm in multi-armed bandit programming. Our objective is to achieve\nhighly efficient and effective attack using an Orthogonal Matching Pursuit\n(OMP)-enhanced Upper Confidence Bound (UCB) exploration strategy. Our\ntheoretical analysis bounding the regret gap of FEAT guarantees its practical\nattack performance. In empirical analysis, we compare FEAT with other\nstate-of-the-art domain-agnostic attack methods over various real-world\ncategorical data sets of different applications. Substantial experimental\nobservations confirm the expected efficiency and attack effectiveness of FEAT\napplied in different application scenarios. Our work further hints the\napplicability of FEAT for assessing the adversarial vulnerability of\nclassification systems with high-dimensional categorical inputs.\n", "date": "2022-12-13", "categories": []} {"id": "2212.07283", "title": "Generative Robust Classification", "abstract": " Training adversarially robust discriminative (i.e., softmax) classifier has\nbeen the dominant approach to robust classification. Building on recent work on\nadversarial training (AT)-based generative models, we investigate using AT to\nlearn unnormalized class-conditional density models and then performing\ngenerative robust classification. Our result shows that, under the condition of\nsimilar model capacities, the generative robust classifier achieves comparable\nperformance to a baseline softmax robust classifier when the test data is clean\nor when the test perturbation is of limited size, and much better performance\nwhen the test perturbation size exceeds the training perturbation size. The\ngenerative classifier is also able to generate samples or counterfactuals that\nmore closely resemble the training data, suggesting that the generative\nclassifier can better capture the class-conditional distributions. In contrast\nto standard discriminative adversarial training where advanced data\naugmentation techniques are only effective when combined with weight averaging,\nwe find it straightforward to apply advanced data augmentation to achieve\nbetter robustness in our approach. Our result suggests that the generative\nclassifier is a competitive alternative to robust classification, especially\nfor problems with limited number of classes.\n", "date": "2022-12-14", "categories": []} {"id": "2206.01467", "title": "The Importance of Image Interpretation: Patterns of Semantic\n Misclassification in Real-World Adversarial Images", "abstract": " Adversarial images are created with the intention of causing an image\nclassifier to produce a misclassification. In this paper, we propose that\nadversarial images should be evaluated based on semantic mismatch, rather than\nlabel mismatch, as used in current work. In other words, we propose that an\nimage of a \"mug\" would be considered adversarial if classified as \"turnip\", but\nnot as \"cup\", as current systems would assume. Our novel idea of taking\nsemantic misclassification into account in the evaluation of adversarial images\noffers two benefits. First, it is a more realistic conceptualization of what\nmakes an image adversarial, which is important in order to fully understand the\nimplications of adversarial images for security and privacy. Second, it makes\nit possible to evaluate the transferability of adversarial images to a\nreal-world classifier, without requiring the classifier's label set to have\nbeen available during the creation of the images. The paper carries out an\nevaluation of a transfer attack on a real-world image classifier that is made\npossible by our semantic misclassification approach. The attack reveals\npatterns in the semantics of adversarial misclassifications that could not be\ninvestigated using conventional label mismatch.\n", "date": "2022-06-03", "categories": []} {"id": "2212.05337", "title": "Targeted Adversarial Attacks on Deep Reinforcement Learning Policies via\n Model Checking", "abstract": " Deep Reinforcement Learning (RL) agents are susceptible to adversarial noise\nin their observations that can mislead their policies and decrease their\nperformance. However, an adversary may be interested not only in decreasing the\nreward, but also in modifying specific temporal logic properties of the policy.\nThis paper presents a metric that measures the exact impact of adversarial\nattacks against such properties. We use this metric to craft optimal\nadversarial attacks. Furthermore, we introduce a model checking method that\nallows us to verify the robustness of RL policies against adversarial attacks.\nOur empirical analysis confirms (1) the quality of our metric to craft\nadversarial attacks against temporal logic properties, and (2) that we are able\nto concisely assess a system's robustness against attacks.\n", "date": "2022-12-10", "categories": []} {"id": "2212.05380", "title": "Mitigating Adversarial Gray-Box Attacks Against Phishing Detectors", "abstract": " Although machine learning based algorithms have been extensively used for\ndetecting phishing websites, there has been relatively little work on how\nadversaries may attack such \"phishing detectors\" (PDs for short). In this\npaper, we propose a set of Gray-Box attacks on PDs that an adversary may use\nwhich vary depending on the knowledge that he has about the PD. We show that\nthese attacks severely degrade the effectiveness of several existing PDs. We\nthen propose the concept of operation chains that iteratively map an original\nset of features to a new set of features and develop the \"Protective Operation\nChain\" (POC for short) algorithm. POC leverages the combination of random\nfeature selection and feature mappings in order to increase the attacker's\nuncertainty about the target PD. Using 3 existing publicly available datasets\nplus a fourth that we have created and will release upon the publication of\nthis paper, we show that POC is more robust to these attacks than past\ncompeting work, while preserving predictive performance when no adversarial\nattacks are present. Moreover, POC is robust to attacks on 13 different\nclassifiers, not just one. These results are shown to be statistically\nsignificant at the p < 0.001 level.\n", "date": "2022-12-11", "categories": []} {"id": "2212.05387", "title": "General Adversarial Defense Against Black-box Attacks via Pixel Level\n and Feature Level Distribution Alignments", "abstract": " Deep Neural Networks (DNNs) are vulnerable to the black-box adversarial\nattack that is highly transferable. This threat comes from the distribution gap\nbetween adversarial and clean samples in feature space of the target DNNs. In\nthis paper, we use Deep Generative Networks (DGNs) with a novel training\nmechanism to eliminate the distribution gap. The trained DGNs align the\ndistribution of adversarial samples with clean ones for the target DNNs by\ntranslating pixel values. Different from previous work, we propose a more\neffective pixel level training constraint to make this achievable, thus\nenhancing robustness on adversarial samples. Further, a class-aware\nfeature-level constraint is formulated for integrated distribution alignment.\nOur approach is general and applicable to multiple tasks, including image\nclassification, semantic segmentation, and object detection. We conduct\nextensive experiments on different datasets. Our strategy demonstrates its\nunique effectiveness and generality against black-box attacks.\n", "date": "2022-12-11", "categories": []} {"id": "2212.05630", "title": "DISCO: Adversarial Defense with Local Implicit Functions", "abstract": " The problem of adversarial defenses for image classification, where the goal\nis to robustify a classifier against adversarial examples, is considered.\nInspired by the hypothesis that these examples lie beyond the natural image\nmanifold, a novel aDversarIal defenSe with local impliCit functiOns (DISCO) is\nproposed to remove adversarial perturbations by localized manifold projections.\nDISCO consumes an adversarial image and a query pixel location and outputs a\nclean RGB value at the location. It is implemented with an encoder and a local\nimplicit module, where the former produces per-pixel deep features and the\nlatter uses the features in the neighborhood of query pixel for predicting the\nclean RGB value. Extensive experiments demonstrate that both DISCO and its\ncascade version outperform prior defenses, regardless of whether the defense is\nknown to the attacker. DISCO is also shown to be data and parameter efficient\nand to mount defenses that transfers across datasets, classifiers and attacks.\n", "date": "2022-12-11", "categories": []} {"id": "2212.05709", "title": "HOTCOLD Block: Fooling Thermal Infrared Detectors with a Novel Wearable\n Design", "abstract": " Adversarial attacks on thermal infrared imaging expose the risk of related\napplications. Estimating the security of these systems is essential for safely\ndeploying them in the real world. In many cases, realizing the attacks in the\nphysical space requires elaborate special perturbations. These solutions are\noften \\emph{impractical} and \\emph{attention-grabbing}. To address the need for\na physically practical and stealthy adversarial attack, we introduce\n\\textsc{HotCold} Block, a novel physical attack for infrared detectors that\nhide persons utilizing the wearable Warming Paste and Cooling Paste. By\nattaching these readily available temperature-controlled materials to the body,\n\\textsc{HotCold} Block evades human eyes efficiently. Moreover, unlike existing\nmethods that build adversarial patches with complex texture and structure\nfeatures, \\textsc{HotCold} Block utilizes an SSP-oriented adversarial\noptimization algorithm that enables attacks with pure color blocks and explores\nthe influence of size, shape, and position on attack performance. Extensive\nexperimental results in both digital and physical environments demonstrate the\nperformance of our proposed \\textsc{HotCold} Block. \\emph{Code is available:\n\\textcolor{magenta}{https://github.com/weihui1308/HOTCOLDBlock}}.\n", "date": "2022-12-12", "categories": []} {"id": "2212.05827", "title": "Carpet-bombing patch: attacking a deep network without usual\n requirements", "abstract": " Although deep networks have shown vulnerability to evasion attacks, such\nattacks have usually unrealistic requirements. Recent literature discussed the\npossibility to remove or not some of these requirements. This paper contributes\nto this literature by introducing a carpet-bombing patch attack which has\nalmost no requirement. Targeting the feature representations, this patch attack\ndoes not require knowing the network task. This attack decreases accuracy on\nImagenet, mAP on Pascal Voc, and IoU on Cityscapes without being aware that the\nunderlying tasks involved classification, detection or semantic segmentation,\nrespectively. Beyond the potential safety issues raised by this attack, the\nimpact of the carpet-bombing attack highlights some interesting property of\ndeep network layer dynamic.\n", "date": "2022-12-12", "categories": []} {"id": "2212.04985", "title": "Understanding and Combating Robust Overfitting via Input Loss Landscape\n Analysis and Regularization", "abstract": " Adversarial training is widely used to improve the robustness of deep neural\nnetworks to adversarial attack. However, adversarial training is prone to\noverfitting, and the cause is far from clear. This work sheds light on the\nmechanisms underlying overfitting through analyzing the loss landscape w.r.t.\nthe input. We find that robust overfitting results from standard training,\nspecifically the minimization of the clean loss, and can be mitigated by\nregularization of the loss gradients. Moreover, we find that robust overfitting\nturns severer during adversarial training partially because the gradient\nregularization effect of adversarial training becomes weaker due to the\nincrease in the loss landscapes curvature. To improve robust generalization, we\npropose a new regularizer to smooth the loss landscape by penalizing the\nweighted logits variation along the adversarial direction. Our method\nsignificantly mitigates robust overfitting and achieves the highest robustness\nand efficiency compared to similar previous methods. Code is available at\nhttps://github.com/TreeLLi/Combating-RO-AdvLC.\n", "date": "2022-12-09", "categories": []} {"id": "2212.04138", "title": "Targeted Adversarial Attacks against Neural Network Trajectory\n Predictors", "abstract": " Trajectory prediction is an integral component of modern autonomous systems\nas it allows for envisioning future intentions of nearby moving agents. Due to\nthe lack of other agents' dynamics and control policies, deep neural network\n(DNN) models are often employed for trajectory forecasting tasks. Although\nthere exists an extensive literature on improving the accuracy of these models,\nthere is a very limited number of works studying their robustness against\nadversarially crafted input trajectories. To bridge this gap, in this paper, we\npropose a targeted adversarial attack against DNN models for trajectory\nforecasting tasks. We call the proposed attack TA4TP for Targeted adversarial\nAttack for Trajectory Prediction. Our approach generates adversarial input\ntrajectories that are capable of fooling DNN models into predicting\nuser-specified target/desired trajectories. Our attack relies on solving a\nnonlinear constrained optimization problem where the objective function\ncaptures the deviation of the predicted trajectory from a target one while the\nconstraints model physical requirements that the adversarial input should\nsatisfy. The latter ensures that the inputs look natural and they are safe to\nexecute (e.g., they are close to nominal inputs and away from obstacles). We\ndemonstrate the effectiveness of TA4TP on two state-of-the-art DNN models and\ntwo datasets. To the best of our knowledge, we propose the first targeted\nadversarial attack against DNN models used for trajectory forecasting.\n", "date": "2022-12-08", "categories": []} {"id": "2210.15392", "title": "LeNo: Adversarial Robust Salient Object Detection Networks with\n Learnable Noise", "abstract": " Pixel-wise prediction with deep neural network has become an effective\nparadigm for salient object detection (SOD) and achieved remarkable\nperformance. However, very few SOD models are robust against adversarial\nattacks which are visually imperceptible for human visual attention. The\nprevious work robust saliency (ROSA) shuffles the pre-segmented superpixels and\nthen refines the coarse saliency map by the densely connected conditional\nrandom field (CRF). Different from ROSA that relies on various pre- and\npost-processings, this paper proposes a light-weight Learnable Noise (LeNo) to\ndefend adversarial attacks for SOD models. LeNo preserves accuracy of SOD\nmodels on both adversarial and clean images, as well as inference speed. In\ngeneral, LeNo consists of a simple shallow noise and noise estimation that\nembedded in the encoder and decoder of arbitrary SOD networks respectively.\nInspired by the center prior of human visual attention mechanism, we initialize\nthe shallow noise with a cross-shaped gaussian distribution for better defense\nagainst adversarial attacks. Instead of adding additional network components\nfor post-processing, the proposed noise estimation modifies only one channel of\nthe decoder. With the deeply-supervised noise-decoupled training on\nstate-of-the-art RGB and RGB-D SOD networks, LeNo outperforms previous works\nnot only on adversarial images but also on clean images, which contributes\nstronger robustness for SOD. Our code is available at\nhttps://github.com/ssecv/LeNo.\n", "date": "2022-10-27", "categories": []} {"id": "2212.03069", "title": "Multiple Perturbation Attack: Attack Pixelwise Under Different\n $\\ell_p$-norms For Better Adversarial Performance", "abstract": " Adversarial machine learning has been both a major concern and a hot topic\nrecently, especially with the ubiquitous use of deep neural networks in the\ncurrent landscape. Adversarial attacks and defenses are usually likened to a\ncat-and-mouse game in which defenders and attackers evolve over the time. On\none hand, the goal is to develop strong and robust deep networks that are\nresistant to malicious actors. On the other hand, in order to achieve that, we\nneed to devise even stronger adversarial attacks to challenge these defense\nmodels. Most of existing attacks employs a single $\\ell_p$ distance (commonly,\n$p\\in\\{1,2,\\infty\\}$) to define the concept of closeness and performs steepest\ngradient ascent w.r.t. this $p$-norm to update all pixels in an adversarial\nexample in the same way. These $\\ell_p$ attacks each has its own pros and cons;\nand there is no single attack that can successfully break through defense\nmodels that are robust against multiple $\\ell_p$ norms simultaneously.\nMotivated by these observations, we come up with a natural approach: combining\nvarious $\\ell_p$ gradient projections on a pixel level to achieve a joint\nadversarial perturbation. Specifically, we learn how to perturb each pixel to\nmaximize the attack performance, while maintaining the overall visual\nimperceptibility of adversarial examples. Finally, through various experiments\nwith standardized benchmarks, we show that our method outperforms most current\nstrong attacks across state-of-the-art defense mechanisms, while retaining its\nability to remain clean visually.\n", "date": "2022-12-05", "categories": []} {"id": "2209.04779", "title": "Scattering Model Guided Adversarial Examples for SAR Target Recognition:\n Attack and Defense", "abstract": " Deep Neural Networks (DNNs) based Synthetic Aperture Radar (SAR) Automatic\nTarget Recognition (ATR) systems have shown to be highly vulnerable to\nadversarial perturbations that are deliberately designed yet almost\nimperceptible but can bias DNN inference when added to targeted objects. This\nleads to serious safety concerns when applying DNNs to high-stake SAR ATR\napplications. Therefore, enhancing the adversarial robustness of DNNs is\nessential for implementing DNNs to modern real-world SAR ATR systems. Toward\nbuilding more robust DNN-based SAR ATR models, this article explores the domain\nknowledge of SAR imaging process and proposes a novel Scattering Model Guided\nAdversarial Attack (SMGAA) algorithm which can generate adversarial\nperturbations in the form of electromagnetic scattering response (called\nadversarial scatterers). The proposed SMGAA consists of two parts: 1) a\nparametric scattering model and corresponding imaging method and 2) a\ncustomized gradient-based optimization algorithm. First, we introduce the\neffective Attributed Scattering Center Model (ASCM) and a general imaging\nmethod to describe the scattering behavior of typical geometric structures in\nthe SAR imaging process. By further devising several strategies to take the\ndomain knowledge of SAR target images into account and relax the greedy search\nprocedure, the proposed method does not need to be prudentially finetuned, but\ncan efficiently to find the effective ASCM parameters to fool the SAR\nclassifiers and facilitate the robust model training. Comprehensive evaluations\non the MSTAR dataset show that the adversarial scatterers generated by SMGAA\nare more robust to perturbations and transformations in the SAR processing\nchain than the currently studied attacks, and are effective to construct a\ndefensive model against the malicious scatterers.\n", "date": "2022-09-11", "categories": []} {"id": "2210.00178", "title": "On the tightness of linear relaxation based robustness certification\n methods", "abstract": " There has been a rapid development and interest in adversarial training and\ndefenses in the machine learning community in the recent years. One line of\nresearch focuses on improving the performance and efficiency of adversarial\nrobustness certificates for neural networks \\cite{gowal:19, wong_zico:18,\nraghunathan:18, WengTowardsFC:18, wong:scalable:18, singh:convex_barrier:19,\nHuang_etal:19, single-neuron-relax:20, Zhang2020TowardsSA}. While each\nproviding a certification to lower (or upper) bound the true distortion under\nadversarial attacks via relaxation, less studied was the tightness of\nrelaxation. In this paper, we analyze a family of linear outer approximation\nbased certificate methods via a meta algorithm, IBP-Lin. The aforementioned\nworks often lack quantitative analysis to answer questions such as how does the\nperformance of the certificate method depend on the network configuration and\nthe choice of approximation parameters. Under our framework, we make a first\nattempt at answering these questions, which reveals that the tightness of\nlinear approximation based certification can depend heavily on the\nconfiguration of the trained networks.\n", "date": "2022-10-01", "categories": []} {"id": "2210.05938", "title": "Robust Models are less Over-Confident", "abstract": " Despite the success of convolutional neural networks (CNNs) in many academic\nbenchmarks for computer vision tasks, their application in the real-world is\nstill facing fundamental challenges. One of these open problems is the inherent\nlack of robustness, unveiled by the striking effectiveness of adversarial\nattacks. Current attack methods are able to manipulate the network's prediction\nby adding specific but small amounts of noise to the input. In turn,\nadversarial training (AT) aims to achieve robustness against such attacks and\nideally a better model generalization ability by including adversarial samples\nin the trainingset. However, an in-depth analysis of the resulting robust\nmodels beyond adversarial robustness is still pending. In this paper, we\nempirically analyze a variety of adversarially trained models that achieve high\nrobust accuracies when facing state-of-the-art attacks and we show that AT has\nan interesting side-effect: it leads to models that are significantly less\noverconfident with their decisions, even on clean data than non-robust models.\nFurther, our analysis of robust models shows that not only AT but also the\nmodel's building blocks (like activation functions and pooling) have a strong\ninfluence on the models' prediction confidences. Data & Project website:\nhttps://github.com/GeJulia/robustness_confidences_evaluation\n", "date": "2022-10-12", "categories": []} {"id": "2212.02531", "title": "Enhancing Quantum Adversarial Robustness by Randomized Encodings", "abstract": " The interplay between quantum physics and machine learning gives rise to the\nemergent frontier of quantum machine learning, where advanced quantum learning\nmodels may outperform their classical counterparts in solving certain\nchallenging problems. However, quantum learning systems are vulnerable to\nadversarial attacks: adding tiny carefully-crafted perturbations on legitimate\ninput samples can cause misclassifications. To address this issue, we propose a\ngeneral scheme to protect quantum learning systems from adversarial attacks by\nrandomly encoding the legitimate data samples through unitary or quantum error\ncorrection encoders. In particular, we rigorously prove that both global and\nlocal random unitary encoders lead to exponentially vanishing gradients (i.e.\nbarren plateaus) for any variational quantum circuits that aim to add\nadversarial perturbations, independent of the input data and the inner\nstructures of adversarial circuits and quantum classifiers. In addition, we\nprove a rigorous bound on the vulnerability of quantum classifiers under local\nunitary adversarial attacks. We show that random black-box quantum error\ncorrection encoders can protect quantum classifiers against local adversarial\nnoises and their robustness increases as we concatenate error correction codes.\nTo quantify the robustness enhancement, we adapt quantum differential privacy\nas a measure of the prediction stability for quantum classifiers. Our results\nestablish versatile defense strategies for quantum classifiers against\nadversarial perturbations, which provide valuable guidance to enhance the\nreliability and security for both near-term and future quantum learning\ntechnologies.\n", "date": "2022-12-05", "categories": []} {"id": "2211.13305", "title": "Dual Graphs of Polyhedral Decompositions for the Detection of\n Adversarial Attacks", "abstract": " Previous work has shown that a neural network with the rectified linear unit\n(ReLU) activation function leads to a convex polyhedral decomposition of the\ninput space. These decompositions can be represented by a dual graph with\nvertices corresponding to polyhedra and edges corresponding to polyhedra\nsharing a facet, which is a subgraph of a Hamming graph. This paper illustrates\nhow one can utilize the dual graph to detect and analyze adversarial attacks in\nthe context of digital images. When an image passes through a network\ncontaining ReLU nodes, the firing or non-firing at a node can be encoded as a\nbit ($1$ for ReLU activation, $0$ for ReLU non-activation). The sequence of all\nbit activations identifies the image with a bit vector, which identifies it\nwith a polyhedron in the decomposition and, in turn, identifies it with a\nvertex in the dual graph. We identify ReLU bits that are discriminators between\nnon-adversarial and adversarial images and examine how well collections of\nthese discriminators can ensemble vote to build an adversarial image detector.\nSpecifically, we examine the similarities and differences of ReLU bit vectors\nfor adversarial images, and their non-adversarial counterparts, using a\npre-trained ResNet-50 architecture. While this paper focuses on adversarial\ndigital images, ResNet-50 architecture, and the ReLU activation function, our\nmethods extend to other network architectures, activation functions, and types\nof datasets.\n", "date": "2022-11-23", "categories": []} {"id": "2212.01806", "title": "Recognizing Object by Components with Human Prior Knowledge Enhances\n Adversarial Robustness of Deep Neural Networks", "abstract": " Adversarial attacks can easily fool object recognition systems based on deep\nneural networks (DNNs). Although many defense methods have been proposed in\nrecent years, most of them can still be adaptively evaded. One reason for the\nweak adversarial robustness may be that DNNs are only supervised by category\nlabels and do not have part-based inductive bias like the recognition process\nof humans. Inspired by a well-known theory in cognitive psychology --\nrecognition-by-components, we propose a novel object recognition model ROCK\n(Recognizing Object by Components with human prior Knowledge). It first\nsegments parts of objects from images, then scores part segmentation results\nwith predefined human prior knowledge, and finally outputs prediction based on\nthe scores. The first stage of ROCK corresponds to the process of decomposing\nobjects into parts in human vision. The second stage corresponds to the\ndecision process of the human brain. ROCK shows better robustness than\nclassical recognition models across various attack settings. These results\nencourage researchers to rethink the rationality of currently widely-used\nDNN-based object recognition models and explore the potential of part-based\nmodels, once important but recently ignored, for improving robustness.\n", "date": "2022-12-04", "categories": []} {"id": "2208.05650", "title": "Diverse Generative Perturbations on Attention Space for Transferable\n Adversarial Attacks", "abstract": " Adversarial attacks with improved transferability - the ability of an\nadversarial example crafted on a known model to also fool unknown models - have\nrecently received much attention due to their practicality. Nevertheless,\nexisting transferable attacks craft perturbations in a deterministic manner and\noften fail to fully explore the loss surface, thus falling into a poor local\noptimum and suffering from low transferability. To solve this problem, we\npropose Attentive-Diversity Attack (ADA), which disrupts diverse salient\nfeatures in a stochastic manner to improve transferability. Primarily, we\nperturb the image attention to disrupt universal features shared by different\nmodels. Then, to effectively avoid poor local optima, we disrupt these features\nin a stochastic manner and explore the search space of transferable\nperturbations more exhaustively. More specifically, we use a generator to\nproduce adversarial perturbations that each disturbs features in different ways\ndepending on an input latent code. Extensive experimental evaluations\ndemonstrate the effectiveness of our method, outperforming the transferability\nof state-of-the-art methods. Codes are available at\nhttps://github.com/wkim97/ADA.\n", "date": "2022-08-11", "categories": []} {"id": "2211.12294", "title": "PointCA: Evaluating the Robustness of 3D Point Cloud Completion Models\n Against Adversarial Examples", "abstract": " Point cloud completion, as the upstream procedure of 3D recognition and\nsegmentation, has become an essential part of many tasks such as navigation and\nscene understanding. While various point cloud completion models have\ndemonstrated their powerful capabilities, their robustness against adversarial\nattacks, which have been proven to be fatally malicious towards deep neural\nnetworks, remains unknown. In addition, existing attack approaches towards\npoint cloud classifiers cannot be applied to the completion models due to\ndifferent output forms and attack purposes. In order to evaluate the robustness\nof the completion models, we propose PointCA, the first adversarial attack\nagainst 3D point cloud completion models. PointCA can generate adversarial\npoint clouds that maintain high similarity with the original ones, while being\ncompleted as another object with totally different semantic information.\nSpecifically, we minimize the representation discrepancy between the\nadversarial example and the target point set to jointly explore the adversarial\npoint clouds in the geometry space and the feature space. Furthermore, to\nlaunch a stealthier attack, we innovatively employ the neighbourhood density\ninformation to tailor the perturbation constraint, leading to geometry-aware\nand distribution-adaptive modifications for each point. Extensive experiments\nagainst different premier point cloud completion networks show that PointCA can\ncause a performance degradation from 77.9% to 16.7%, with the structure chamfer\ndistance kept below 0.01. We conclude that existing completion models are\nseverely vulnerable to adversarial examples, and state-of-the-art defenses for\npoint cloud classification will be partially invalid when applied to incomplete\nand uneven point cloud data.\n", "date": "2022-11-22", "categories": []} {"id": "2212.00311", "title": "Generalizing and Improving Jacobian and Hessian Regularization", "abstract": " Jacobian and Hessian regularization aim to reduce the magnitude of the first\nand second-order partial derivatives with respect to neural network inputs, and\nthey are predominantly used to ensure the adversarial robustness of image\nclassifiers. In this work, we generalize previous efforts by extending the\ntarget matrix from zero to any matrix that admits efficient matrix-vector\nproducts. The proposed paradigm allows us to construct novel regularization\nterms that enforce symmetry or diagonality on square Jacobian and Hessian\nmatrices. On the other hand, the major challenge for Jacobian and Hessian\nregularization has been high computational complexity. We introduce\nLanczos-based spectral norm minimization to tackle this difficulty. This\ntechnique uses a parallelized implementation of the Lanczos algorithm and is\ncapable of effective and stable regularization of large Jacobian and Hessian\nmatrices. Theoretical justifications and empirical evidence are provided for\nthe proposed paradigm and technique. We carry out exploratory experiments to\nvalidate the effectiveness of our novel regularization terms. We also conduct\ncomparative experiments to evaluate Lanczos-based spectral norm minimization\nagainst prior methods. Results show that the proposed methodologies are\nadvantageous for a wide range of tasks.\n", "date": "2022-12-01", "categories": []} {"id": "2210.15068", "title": "Improving Adversarial Robustness with Self-Paced Hard-Class Pair\n Reweighting", "abstract": " Deep Neural Networks are vulnerable to adversarial attacks. Among many\ndefense strategies, adversarial training with untargeted attacks is one of the\nmost effective methods. Theoretically, adversarial perturbation in untargeted\nattacks can be added along arbitrary directions and the predicted labels of\nuntargeted attacks should be unpredictable. However, we find that the naturally\nimbalanced inter-class semantic similarity makes those hard-class pairs become\nvirtual targets of each other. This study investigates the impact of such\nclosely-coupled classes on adversarial attacks and develops a self-paced\nreweighting strategy in adversarial training accordingly. Specifically, we\npropose to upweight hard-class pair losses in model optimization, which prompts\nlearning discriminative features from hard classes. We further incorporate a\nterm to quantify hard-class pair consistency in adversarial training, which\ngreatly boosts model robustness. Extensive experiments show that the proposed\nadversarial training method achieves superior robustness performance over\nstate-of-the-art defenses against a wide range of adversarial attacks.\n", "date": "2022-10-26", "categories": []} {"id": "2211.07263", "title": "Efficient Adversarial Training with Robust Early-Bird Tickets", "abstract": " Adversarial training is one of the most powerful methods to improve the\nrobustness of pre-trained language models (PLMs). However, this approach is\ntypically more expensive than traditional fine-tuning because of the necessity\nto generate adversarial examples via gradient descent. Delving into the\noptimization process of adversarial training, we find that robust connectivity\npatterns emerge in the early training phase (typically $0.15\\sim0.3$ epochs),\nfar before parameters converge. Inspired by this finding, we dig out robust\nearly-bird tickets (i.e., subnetworks) to develop an efficient adversarial\ntraining method: (1) searching for robust tickets with structured sparsity in\nthe early stage; (2) fine-tuning robust tickets in the remaining time. To\nextract the robust tickets as early as possible, we design a ticket convergence\nmetric to automatically terminate the searching process. Experiments show that\nthe proposed efficient adversarial training method can achieve up to $7\\times\n\\sim 13 \\times$ training speedups while maintaining comparable or even better\nrobustness compared to the most competitive state-of-the-art adversarial\ntraining methods.\n", "date": "2022-11-14", "categories": []} {"id": "2211.16806", "title": "Toward Robust Diagnosis: A Contour Attention Preserving Adversarial\n Defense for COVID-19 Detection", "abstract": " As the COVID-19 pandemic puts pressure on healthcare systems worldwide, the\ncomputed tomography image based AI diagnostic system has become a sustainable\nsolution for early diagnosis. However, the model-wise vulnerability under\nadversarial perturbation hinders its deployment in practical situation. The\nexisting adversarial training strategies are difficult to generalized into\nmedical imaging field challenged by complex medical texture features. To\novercome this challenge, we propose a Contour Attention Preserving (CAP) method\nbased on lung cavity edge extraction. The contour prior features are injected\nto attention layer via a parameter regularization and we optimize the robust\nempirical risk with hybrid distance metric. We then introduce a new\ncross-nation CT scan dataset to evaluate the generalization capability of the\nadversarial robustness under distribution shift. Experimental results indicate\nthat the proposed method achieves state-of-the-art performance in multiple\nadversarial defense and generalization tasks. The code and dataset are\navailable at https://github.com/Quinn777/CAP.\n", "date": "2022-11-30", "categories": []} {"id": "2211.15926", "title": "Interpretations Cannot Be Trusted: Stealthy and Effective Adversarial\n Perturbations against Interpretable Deep Learning", "abstract": " Deep learning methods have gained increased attention in various applications\ndue to their outstanding performance. For exploring how this high performance\nrelates to the proper use of data artifacts and the accurate problem\nformulation of a given task, interpretation models have become a crucial\ncomponent in developing deep learning-based systems. Interpretation models\nenable the understanding of the inner workings of deep learning models and\noffer a sense of security in detecting the misuse of artifacts in the input\ndata. Similar to prediction models, interpretation models are also susceptible\nto adversarial inputs. This work introduces two attacks, AdvEdge and\nAdvEdge$^{+}$, that deceive both the target deep learning model and the coupled\ninterpretation model. We assess the effectiveness of proposed attacks against\ntwo deep learning model architectures coupled with four interpretation models\nthat represent different categories of interpretation models. Our experiments\ninclude the attack implementation using various attack frameworks. We also\nexplore the potential countermeasures against such attacks. Our analysis shows\nthe effectiveness of our attacks in terms of deceiving the deep learning models\nand their interpreters, and highlights insights to improve and circumvent the\nattacks.\n", "date": "2022-11-29", "categories": []} {"id": "2211.16080", "title": "Understanding and Enhancing Robustness of Concept-based Models", "abstract": " Rising usage of deep neural networks to perform decision making in critical\napplications like medical diagnosis and financial analysis have raised concerns\nregarding their reliability and trustworthiness. As automated systems become\nmore mainstream, it is important their decisions be transparent, reliable and\nunderstandable by humans for better trust and confidence. To this effect,\nconcept-based models such as Concept Bottleneck Models (CBMs) and\nSelf-Explaining Neural Networks (SENN) have been proposed which constrain the\nlatent space of a model to represent high level concepts easily understood by\ndomain experts in the field. Although concept-based models promise a good\napproach to both increasing explainability and reliability, it is yet to be\nshown if they demonstrate robustness and output consistent concepts under\nsystematic perturbations to their inputs. To better understand performance of\nconcept-based models on curated malicious samples, in this paper, we aim to\nstudy their robustness to adversarial perturbations, which are also known as\nthe imperceptible changes to the input data that are crafted by an attacker to\nfool a well-learned concept-based model. Specifically, we first propose and\nanalyze different malicious attacks to evaluate the security vulnerability of\nconcept based models. Subsequently, we propose a potential general adversarial\ntraining-based defense mechanism to increase robustness of these systems to the\nproposed malicious attacks. Extensive experiments on one synthetic and two\nreal-world datasets demonstrate the effectiveness of the proposed attacks and\nthe defense approach.\n", "date": "2022-11-29", "categories": []} {"id": "2211.16187", "title": "Quantization-aware Interval Bound Propagation for Training Certifiably\n Robust Quantized Neural Networks", "abstract": " We study the problem of training and certifying adversarially robust\nquantized neural networks (QNNs). Quantization is a technique for making neural\nnetworks more efficient by running them using low-bit integer arithmetic and is\ntherefore commonly adopted in industry. Recent work has shown that\nfloating-point neural networks that have been verified to be robust can become\nvulnerable to adversarial attacks after quantization, and certification of the\nquantized representation is necessary to guarantee robustness. In this work, we\npresent quantization-aware interval bound propagation (QA-IBP), a novel method\nfor training robust QNNs. Inspired by advances in robust learning of\nnon-quantized networks, our training algorithm computes the gradient of an\nabstract representation of the actual network. Unlike existing approaches, our\nmethod can handle the discrete semantics of QNNs. Based on QA-IBP, we also\ndevelop a complete verification procedure for verifying the adversarial\nrobustness of QNNs, which is guaranteed to terminate and produce a correct\nanswer. Compared to existing approaches, the key advantage of our verification\nprocedure is that it runs entirely on GPU or other accelerator devices. We\ndemonstrate experimentally that our approach significantly outperforms existing\nmethods and establish the new state-of-the-art for training and certifying the\nrobustness of QNNs.\n", "date": "2022-11-29", "categories": []} {"id": "2211.16316", "title": "A3T: Accuracy Aware Adversarial Training", "abstract": " Adversarial training has been empirically shown to be more prone to\noverfitting than standard training. The exact underlying reasons still need to\nbe fully understood. In this paper, we identify one cause of overfitting\nrelated to current practices of generating adversarial samples from\nmisclassified samples. To address this, we propose an alternative approach that\nleverages the misclassified samples to mitigate the overfitting problem. We\nshow that our approach achieves better generalization while having comparable\nrobustness to state-of-the-art adversarial training methods on a wide range of\ncomputer vision, natural language processing, and tabular tasks.\n", "date": "2022-11-29", "categories": []} {"id": "2208.08297", "title": "An Evolutionary, Gradient-Free, Query-Efficient, Black-Box Algorithm for\n Generating Adversarial Instances in Deep Networks", "abstract": " Deep neural networks (DNNs) are sensitive to adversarial data in a variety of\nscenarios, including the black-box scenario, where the attacker is only allowed\nto query the trained model and receive an output. Existing black-box methods\nfor creating adversarial instances are costly, often using gradient estimation\nor training a replacement network. This paper introduces\n\\textbf{Qu}ery-Efficient \\textbf{E}volutiona\\textbf{ry} \\textbf{Attack},\n\\textit{QuEry Attack}, an untargeted, score-based, black-box attack. QuEry\nAttack is based on a novel objective function that can be used in gradient-free\noptimization problems. The attack only requires access to the output logits of\nthe classifier and is thus not affected by gradient masking. No additional\ninformation is needed, rendering our method more suitable to real-life\nsituations. We test its performance with three different state-of-the-art\nmodels -- Inception-v3, ResNet-50, and VGG-16-BN -- against three benchmark\ndatasets: MNIST, CIFAR10 and ImageNet. Furthermore, we evaluate QuEry Attack's\nperformance on non-differential transformation defenses and state-of-the-art\nrobust models. Our results demonstrate the superior performance of QuEry\nAttack, both in terms of accuracy score and query efficiency.\n", "date": "2022-08-17", "categories": []} {"id": "2211.14424", "title": "Supervised Contrastive Prototype Learning: Augmentation Free Robust\n Neural Network", "abstract": " Transformations in the input space of Deep Neural Networks (DNN) lead to\nunintended changes in the feature space. Almost perceptually identical inputs,\nsuch as adversarial examples, can have significantly distant feature\nrepresentations. On the contrary, Out-of-Distribution (OOD) samples can have\nhighly similar feature representations to training set samples. Our theoretical\nanalysis for DNNs trained with a categorical classification head suggests that\nthe inflexible logit space restricted by the classification problem size is one\nof the root causes for the lack of $\\textit{robustness}$. Our second\nobservation is that DNNs over-fit to the training augmentation technique and do\nnot learn $\\textit{nuance invariant}$ representations. Inspired by the recent\nsuccess of prototypical and contrastive learning frameworks for both improving\nrobustness and learning nuance invariant representations, we propose a training\nframework, $\\textbf{Supervised Contrastive Prototype Learning}$ (SCPL). We use\nN-pair contrastive loss with prototypes of the same and opposite classes and\nreplace a categorical classification head with a $\\textbf{Prototype\nClassification Head}$ (PCH). Our approach is $\\textit{sample efficient}$, does\nnot require $\\textit{sample mining}$, can be implemented on any existing DNN\nwithout modification to their architecture, and combined with other training\naugmentation techniques. We empirically evaluate the $\\textbf{clean}$\nrobustness of our method on out-of-distribution and adversarial samples. Our\nframework outperforms other state-of-the-art contrastive and prototype learning\napproaches in $\\textit{robustness}$.\n", "date": "2022-11-26", "categories": []} {"id": "2211.14966", "title": "Adversarial Rademacher Complexity of Deep Neural Networks", "abstract": " Deep neural networks are vulnerable to adversarial attacks. Ideally, a robust\nmodel shall perform well on both the perturbed training data and the unseen\nperturbed test data. It is found empirically that fitting perturbed training\ndata is not hard, but generalizing to perturbed test data is quite difficult.\nTo better understand adversarial generalization, it is of great interest to\nstudy the adversarial Rademacher complexity (ARC) of deep neural networks.\nHowever, how to bound ARC in multi-layers cases is largely unclear due to the\ndifficulty of analyzing adversarial loss in the definition of ARC. There have\nbeen two types of attempts of ARC. One is to provide the upper bound of ARC in\nlinear and one-hidden layer cases. However, these approaches seem hard to\nextend to multi-layer cases. Another is to modify the adversarial loss and\nprovide upper bounds of Rademacher complexity on such surrogate loss in\nmulti-layer cases. However, such variants of Rademacher complexity are not\nguaranteed to be bounds for meaningful robust generalization gaps (RGG). In\nthis paper, we provide a solution to this unsolved problem. Specifically, we\nprovide the first bound of adversarial Rademacher complexity of deep neural\nnetworks. Our approach is based on covering numbers. We provide a method to\nhandle the robustify function classes of DNNs such that we can calculate the\ncovering numbers. Finally, we provide experiments to study the empirical\nimplication of our bounds and provide an analysis of poor adversarial\ngeneralization.\n", "date": "2022-11-27", "categories": []} {"id": "2211.15556", "title": "Attack on Unfair ToS Clause Detection: A Case Study using Universal\n Adversarial Triggers", "abstract": " Recent work has demonstrated that natural language processing techniques can\nsupport consumer protection by automatically detecting unfair clauses in the\nTerms of Service (ToS) Agreement. This work demonstrates that transformer-based\nToS analysis systems are vulnerable to adversarial attacks. We conduct\nexperiments attacking an unfair-clause detector with universal adversarial\ntriggers. Experiments show that a minor perturbation of the text can\nconsiderably reduce the detection performance. Moreover, to measure the\ndetectability of the triggers, we conduct a detailed human evaluation study by\ncollecting both answer accuracy and response time from the participants. The\nresults show that the naturalness of the triggers remains key to tricking\nreaders.\n", "date": "2022-11-28", "categories": []} {"id": "2208.03610", "title": "Blackbox Attacks via Surrogate Ensemble Search", "abstract": " Blackbox adversarial attacks can be categorized into transfer- and\nquery-based attacks. Transfer methods do not require any feedback from the\nvictim model, but provide lower success rates compared to query-based methods.\nQuery attacks often require a large number of queries for success. To achieve\nthe best of both approaches, recent efforts have tried to combine them, but\nstill require hundreds of queries to achieve high success rates (especially for\ntargeted attacks). In this paper, we propose a novel method for Blackbox\nAttacks via Surrogate Ensemble Search (BASES) that can generate highly\nsuccessful blackbox attacks using an extremely small number of queries. We\nfirst define a perturbation machine that generates a perturbed image by\nminimizing a weighted loss function over a fixed set of surrogate models. To\ngenerate an attack for a given victim model, we search over the weights in the\nloss function using queries generated by the perturbation machine. Since the\ndimension of the search space is small (same as the number of surrogate\nmodels), the search requires a small number of queries. We demonstrate that our\nproposed method achieves better success rate with at least 30x fewer queries\ncompared to state-of-the-art methods on different image classifiers trained\nwith ImageNet. In particular, our method requires as few as 3 queries per image\n(on average) to achieve more than a 90% success rate for targeted attacks and\n1-2 queries per image for over a 99% success rate for untargeted attacks. Our\nmethod is also effective on Google Cloud Vision API and achieved a 91%\nuntargeted attack success rate with 2.9 queries per image. We also show that\nthe perturbations generated by our proposed method are highly transferable and\ncan be adopted for hard-label blackbox attacks. We also show effectiveness of\nBASES for hiding attacks on object detectors.\n", "date": "2022-08-07", "categories": []} {"id": "2208.08677", "title": "Enhancing Targeted Attack Transferability via Diversified Weight Pruning", "abstract": " Malicious attackers can generate targeted adversarial examples by imposing\ntiny noises, forcing neural networks to produce specific incorrect outputs.\nWith cross-model transferability, network models remain vulnerable even in\nblack-box settings. Recent studies have shown the effectiveness of\nensemble-based methods in generating transferable adversarial examples. To\nfurther enhance transferability, model augmentation methods aim to produce more\nnetworks participating in the ensemble. However, existing model augmentation\nmethods are only proven effective in untargeted attacks. In this work, we\npropose Diversified Weight Pruning (DWP), a novel model augmentation technique\nfor generating transferable targeted attacks. DWP leverages the weight pruning\nmethod commonly used in model compression. Compared with prior work, DWP\nprotects necessary connections and ensures the diversity of the pruned models\nsimultaneously, which we show are crucial for targeted transferability.\nExperiments on the ImageNet-compatible dataset under various and more\nchallenging scenarios confirm the effectiveness: transferring to adversarially\ntrained models, Non-CNN architectures, and Google Cloud Vision. The results\nshow that our proposed DWP improves the targeted attack success rates with up\nto $10.1$%, $6.6$%, and $7.0$% on the combination of state-of-the-art methods,\nrespectively. The source code will be made available after acceptance.\n", "date": "2022-08-18", "categories": []} {"id": "2211.10782", "title": "Let Graph be the Go Board: Gradient-free Node Injection Attack for Graph\n Neural Networks via Reinforcement Learning", "abstract": " Graph Neural Networks (GNNs) have drawn significant attentions over the years\nand been broadly applied to essential applications requiring solid robustness\nor vigorous security standards, such as product recommendation and user\nbehavior modeling. Under these scenarios, exploiting GNN's vulnerabilities and\nfurther downgrading its performance become extremely incentive for adversaries.\nPrevious attackers mainly focus on structural perturbations or node injections\nto the existing graphs, guided by gradients from the surrogate models. Although\nthey deliver promising results, several limitations still exist. For the\nstructural perturbation attack, to launch a proposed attack, adversaries need\nto manipulate the existing graph topology, which is impractical in most\ncircumstances. Whereas for the node injection attack, though being more\npractical, current approaches require training surrogate models to simulate a\nwhite-box setting, which results in significant performance downgrade when the\nsurrogate architecture diverges from the actual victim model. To bridge these\ngaps, in this paper, we study the problem of black-box node injection attack,\nwithout training a potentially misleading surrogate model. Specifically, we\nmodel the node injection attack as a Markov decision process and propose\nGradient-free Graph Advantage Actor Critic, namely G2A2C, a reinforcement\nlearning framework in the fashion of advantage actor critic. By directly\nquerying the victim model, G2A2C learns to inject highly malicious nodes with\nextremely limited attacking budgets, while maintaining a similar node feature\ndistribution. Through our comprehensive experiments over eight acknowledged\nbenchmark datasets with different characteristics, we demonstrate the superior\nperformance of our proposed G2A2C over the existing state-of-the-art attackers.\nSource code is publicly available at: https://github.com/jumxglhf/G2A2C}.\n", "date": "2022-11-19", "categories": []} {"id": "2211.14088", "title": "Boundary Adversarial Examples Against Adversarial Overfitting", "abstract": " Standard adversarial training approaches suffer from robust overfitting where\nthe robust accuracy decreases when models are adversarially trained for too\nlong. The origin of this problem is still unclear and conflicting explanations\nhave been reported, i.e., memorization effects induced by large loss data or\nbecause of small loss data and growing differences in loss distribution of\ntraining samples as the adversarial training progresses. Consequently, several\nmitigation approaches including early stopping, temporal ensembling and weight\nperturbations on small loss data have been proposed to mitigate the effect of\nrobust overfitting. However, a side effect of these strategies is a larger\nreduction in clean accuracy compared to standard adversarial training. In this\npaper, we investigate if these mitigation approaches are complimentary to each\nother in improving adversarial training performance. We further propose the use\nof helper adversarial examples that can be obtained with minimal cost in the\nadversarial example generation, and show how they increase the clean accuracy\nin the existing approaches without compromising the robust accuracy.\n", "date": "2022-11-25", "categories": []} {"id": "2211.11835", "title": "Fairness Increases Adversarial Vulnerability", "abstract": " The remarkable performance of deep learning models and their applications in\nconsequential domains (e.g., facial recognition) introduces important\nchallenges at the intersection of equity and security. Fairness and robustness\nare two desired notions often required in learning models. Fairness ensures\nthat models do not disproportionately harm (or benefit) some groups over\nothers, while robustness measures the models' resilience against small input\nperturbations.\n This paper shows the existence of a dichotomy between fairness and\nrobustness, and analyzes when achieving fairness decreases the model robustness\nto adversarial samples. The reported analysis sheds light on the factors\ncausing such contrasting behavior, suggesting that distance to the decision\nboundary across groups as a key explainer for this behavior. Extensive\nexperiments on non-linear models and different architectures validate the\ntheoretical findings in multiple vision domains. Finally, the paper proposes a\nsimple, yet effective, solution to construct models achieving good tradeoffs\nbetween fairness and robustness.\n", "date": "2022-11-21", "categories": []} {"id": "2211.12624", "title": "Improving Robust Generalization by Direct PAC-Bayesian Bound\n Minimization", "abstract": " Recent research in robust optimization has shown an overfitting-like\nphenomenon in which models trained against adversarial attacks exhibit higher\nrobustness on the training set compared to the test set. Although previous work\nprovided theoretical explanations for this phenomenon using a robust\nPAC-Bayesian bound over the adversarial test error, related algorithmic\nderivations are at best only loosely connected to this bound, which implies\nthat there is still a gap between their empirical success and our understanding\nof adversarial robustness theory. To close this gap, in this paper we consider\na different form of the robust PAC-Bayesian bound and directly minimize it with\nrespect to the model posterior. The derivation of the optimal solution connects\nPAC-Bayesian learning to the geometry of the robust loss surface through a\nTrace of Hessian (TrH) regularizer that measures the surface flatness. In\npractice, we restrict the TrH regularizer to the top layer only, which results\nin an analytical solution to the bound whose computational cost does not depend\non the network depth. Finally, we evaluate our TrH regularization approach over\nCIFAR-10/100 and ImageNet using Vision Transformers (ViT) and compare against\nbaseline adversarial robustness algorithms. Experimental results show that TrH\nregularization leads to improved ViT robustness that either matches or\nsurpasses previous state-of-the-art approaches while at the same time requires\nless memory and computational cost.\n", "date": "2022-11-22", "categories": []} {"id": "2211.12713", "title": "Reliable Robustness Evaluation via Automatically Constructed Attack\n Ensembles", "abstract": " Attack Ensemble (AE), which combines multiple attacks together, provides a\nreliable way to evaluate adversarial robustness. In practice, AEs are often\nconstructed and tuned by human experts, which however tends to be sub-optimal\nand time-consuming. In this work, we present AutoAE, a conceptually simple\napproach for automatically constructing AEs. In brief, AutoAE repeatedly adds\nthe attack and its iteration steps to the ensemble that maximizes ensemble\nimprovement per additional iteration consumed. We show theoretically that\nAutoAE yields AEs provably within a constant factor of the optimal for a given\ndefense. We then use AutoAE to construct two AEs for $l_{\\infty}$ and $l_2$\nattacks, and apply them without any tuning or adaptation to 45 top adversarial\ndefenses on the RobustBench leaderboard. In all except one cases we achieve\nequal or better (often the latter) robustness evaluation than existing AEs, and\nnotably, in 29 cases we achieve better robustness evaluation than the best\nknown one. Such performance of AutoAE shows itself as a reliable evaluation\nprotocol for adversarial robustness, which further indicates the huge potential\nof automatic AE construction. Code is available at\n\\url{https://github.com/LeegerPENG/AutoAE}.\n", "date": "2022-11-23", "categories": []} {"id": "2211.13171", "title": "Query Efficient Cross-Dataset Transferable Black-Box Attack on Action\n Recognition", "abstract": " Black-box adversarial attacks present a realistic threat to action\nrecognition systems. Existing black-box attacks follow either a query-based\napproach where an attack is optimized by querying the target model, or a\ntransfer-based approach where attacks are generated using a substitute model.\nWhile these methods can achieve decent fooling rates, the former tends to be\nhighly query-inefficient while the latter assumes extensive knowledge of the\nblack-box model's training data. In this paper, we propose a new attack on\naction recognition that addresses these shortcomings by generating\nperturbations to disrupt the features learned by a pre-trained substitute model\nto reduce the number of queries. By using a nearly disjoint dataset to train\nthe substitute model, our method removes the requirement that the substitute\nmodel be trained using the same dataset as the target model, and leverages\nqueries to the target model to retain the fooling rate benefits provided by\nquery-based methods. This ultimately results in attacks which are more\ntransferable than conventional black-box attacks. Through extensive\nexperiments, we demonstrate highly query-efficient black-box attacks with the\nproposed framework. Our method achieves 8% and 12% higher deception rates\ncompared to state-of-the-art query-based and transfer-based attacks,\nrespectively.\n", "date": "2022-11-23", "categories": []} {"id": "2211.10670", "title": "Towards Adversarial Robustness of Deep Vision Algorithms", "abstract": " Deep learning methods have achieved great success in solving computer vision\ntasks, and they have been widely utilized in artificially intelligent systems\nfor image processing, analysis, and understanding. However, deep neural\nnetworks have been shown to be vulnerable to adversarial perturbations in input\ndata. The security issues of deep neural networks have thus come to the fore.\nIt is imperative to study the adversarial robustness of deep vision algorithms\ncomprehensively. This talk focuses on the adversarial robustness of image\nclassification models and image denoisers. We will discuss the robustness of\ndeep vision algorithms from three perspectives: 1) robustness evaluation (we\npropose the ObsAtk to evaluate the robustness of denoisers), 2) robustness\nimprovement (HAT, TisODE, and CIFS are developed to robustify vision models),\nand 3) the connection between adversarial robustness and generalization\ncapability to new domains (we find that adversarially robust denoisers can deal\nwith unseen types of real-world noise).\n", "date": "2022-11-19", "categories": []} {"id": "2211.11880", "title": "Addressing Mistake Severity in Neural Networks with Semantic Knowledge", "abstract": " Robustness in deep neural networks and machine learning algorithms in general\nis an open research challenge. In particular, it is difficult to ensure\nalgorithmic performance is maintained on out-of-distribution inputs or\nanomalous instances that cannot be anticipated at training time. Embodied\nagents will be deployed in these conditions, and are likely to make incorrect\npredictions. An agent will be viewed as untrustworthy unless it can maintain\nits performance in dynamic environments. Most robust training techniques aim to\nimprove model accuracy on perturbed inputs; as an alternate form of robustness,\nwe aim to reduce the severity of mistakes made by neural networks in\nchallenging conditions. We leverage current adversarial training methods to\ngenerate targeted adversarial attacks during the training process in order to\nincrease the semantic similarity between a model's predictions and true labels\nof misclassified instances. Results demonstrate that our approach performs\nbetter with respect to mistake severity compared to standard and adversarially\ntrained models. We also find an intriguing role that non-robust features play\nwith regards to semantic similarity.\n", "date": "2022-11-21", "categories": []} {"id": "2207.10862", "title": "Contrastive Self-Supervised Learning Leads to Higher Adversarial\n Susceptibility", "abstract": " Contrastive self-supervised learning (CSL) has managed to match or surpass\nthe performance of supervised learning in image and video classification.\nHowever, it is still largely unknown if the nature of the representations\ninduced by the two learning paradigms is similar. We investigate this under the\nlens of adversarial robustness. Our analysis of the problem reveals that CSL\nhas intrinsically higher sensitivity to perturbations over supervised learning.\nWe identify the uniform distribution of data representation over a unit\nhypersphere in the CSL representation space as the key contributor to this\nphenomenon. We establish that this is a result of the presence of false\nnegative pairs in the training process, which increases model sensitivity to\ninput perturbations. Our finding is supported by extensive experiments for\nimage and video classification using adversarial perturbations and other input\ncorruptions. We devise a strategy to detect and remove false negative pairs\nthat is simple, yet effective in improving model robustness with CSL training.\nWe close up to 68% of the robustness gap between CSL and its supervised\ncounterpart. Finally, we contribute to adversarial learning by incorporating\nour method in CSL. We demonstrate an average gain of about 5% over two\ndifferent state-of-the-art methods in this domain.\n", "date": "2022-07-22", "categories": []} {"id": "2211.10752", "title": "Towards Robust Dataset Learning", "abstract": " Adversarial training has been actively studied in recent computer vision\nresearch to improve the robustness of models. However, due to the huge\ncomputational cost of generating adversarial samples, adversarial training\nmethods are often slow. In this paper, we study the problem of learning a\nrobust dataset such that any classifier naturally trained on the dataset is\nadversarially robust. Such a dataset benefits the downstream tasks as natural\ntraining is much faster than adversarial training, and demonstrates that the\ndesired property of robustness is transferable between models and data. In this\nwork, we propose a principled, tri-level optimization to formulate the robust\ndataset learning problem. We show that, under an abstraction model that\ncharacterizes robust vs. non-robust features, the proposed method provably\nlearns a robust dataset. Extensive experiments on MNIST, CIFAR10, and\nTinyImageNet demostrate the effectiveness of our algorithm with different\nnetwork initializations and architectures.\n", "date": "2022-11-19", "categories": []} {"id": "2211.10896", "title": "Spectral Adversarial Training for Robust Graph Neural Network", "abstract": " Recent studies demonstrate that Graph Neural Networks (GNNs) are vulnerable\nto slight but adversarially designed perturbations, known as adversarial\nexamples. To address this issue, robust training methods against adversarial\nexamples have received considerable attention in the literature.\n\\emph{Adversarial Training (AT)} is a successful approach to learning a robust\nmodel using adversarially perturbed training samples. Existing AT methods on\nGNNs typically construct adversarial perturbations in terms of graph structures\nor node features. However, they are less effective and fraught with challenges\non graph data due to the discreteness of graph structure and the relationships\nbetween connected examples. In this work, we seek to address these challenges\nand propose Spectral Adversarial Training (SAT), a simple yet effective\nadversarial training approach for GNNs. SAT first adopts a low-rank\napproximation of the graph structure based on spectral decomposition, and then\nconstructs adversarial perturbations in the spectral domain rather than\ndirectly manipulating the original graph structure. To investigate its\neffectiveness, we employ SAT on three widely used GNNs. Experimental results on\nfour public graph datasets demonstrate that SAT significantly improves the\nrobustness of GNNs against adversarial attacks without sacrificing\nclassification accuracy and training efficiency.\n", "date": "2022-11-20", "categories": []} {"id": "2210.06871", "title": "Adv-Attribute: Inconspicuous and Transferable Adversarial Attack on Face\n Recognition", "abstract": " Deep learning models have shown their vulnerability when dealing with\nadversarial attacks. Existing attacks almost perform on low-level instances,\nsuch as pixels and super-pixels, and rarely exploit semantic clues. For face\nrecognition attacks, existing methods typically generate the l_p-norm\nperturbations on pixels, however, resulting in low attack transferability and\nhigh vulnerability to denoising defense models. In this work, instead of\nperforming perturbations on the low-level pixels, we propose to generate\nattacks through perturbing on the high-level semantics to improve attack\ntransferability. Specifically, a unified flexible framework, Adversarial\nAttributes (Adv-Attribute), is designed to generate inconspicuous and\ntransferable attacks on face recognition, which crafts the adversarial noise\nand adds it into different attributes based on the guidance of the difference\nin face recognition features from the target. Moreover, the importance-aware\nattribute selection and the multi-objective optimization strategy are\nintroduced to further ensure the balance of stealthiness and attacking\nstrength. Extensive experiments on the FFHQ and CelebA-HQ datasets show that\nthe proposed Adv-Attribute method achieves the state-of-the-art attacking\nsuccess rates while maintaining better visual effects against recent attack\nmethods.\n", "date": "2022-10-13", "categories": []} {"id": "2211.09959", "title": "Potential Auto-driving Threat: Universal Rain-removal Attack", "abstract": " The problem of robustness in adverse weather conditions is considered a\nsignificant challenge for computer vision algorithms in the applicants of\nautonomous driving. Image rain removal algorithms are a general solution to\nthis problem. They find a deep connection between raindrops/rain-streaks and\nimages by mining the hidden features and restoring information about the\nrain-free environment based on the powerful representation capabilities of\nneural networks. However, previous research has focused on architecture\ninnovations and has yet to consider the vulnerability issues that already exist\nin neural networks. This research gap hints at a potential security threat\ngeared toward the intelligent perception of autonomous driving in the rain. In\nthis paper, we propose a universal rain-removal attack (URA) on the\nvulnerability of image rain-removal algorithms by generating a non-additive\nspatial perturbation that significantly reduces the similarity and image\nquality of scene restoration. Notably, this perturbation is difficult to\nrecognise by humans and is also the same for different target images. Thus, URA\ncould be considered a critical tool for the vulnerability detection of image\nrain-removal algorithms. It also could be developed as a real-world artificial\nintelligence attack method. Experimental results show that URA can reduce the\nscene repair capability by 39.5% and the image generation quality by 26.4%,\ntargeting the state-of-the-art (SOTA) single-image rain-removal algorithms\ncurrently available.\n", "date": "2022-11-18", "categories": []} {"id": "2211.10033", "title": "Adversarial Stimuli: Attacking Brain-Computer Interfaces via Perturbed\n Sensory Events", "abstract": " Machine learning models are known to be vulnerable to adversarial\nperturbations in the input domain, causing incorrect predictions. Inspired by\nthis phenomenon, we explore the feasibility of manipulating EEG-based Motor\nImagery (MI) Brain Computer Interfaces (BCIs) via perturbations in sensory\nstimuli. Similar to adversarial examples, these \\emph{adversarial stimuli} aim\nto exploit the limitations of the integrated brain-sensor-processing components\nof the BCI system in handling shifts in participants' response to changes in\nsensory stimuli. This paper proposes adversarial stimuli as an attack vector\nagainst BCIs, and reports the findings of preliminary experiments on the impact\nof visual adversarial stimuli on the integrity of EEG-based MI BCIs. Our\nfindings suggest that minor adversarial stimuli can significantly deteriorate\nthe performance of MI BCIs across all participants (p=0.0003). Additionally,\nour results indicate that such attacks are more effective in conditions with\ninduced stress.\n", "date": "2022-11-18", "categories": []} {"id": "2211.09527", "title": "Ignore Previous Prompt: Attack Techniques For Language Models", "abstract": " Transformer-based large language models (LLMs) provide a powerful foundation\nfor natural language tasks in large-scale customer-facing applications.\nHowever, studies that explore their vulnerabilities emerging from malicious\nuser interaction are scarce. By proposing PromptInject, a prosaic alignment\nframework for mask-based iterative adversarial prompt composition, we examine\nhow GPT-3, the most widely deployed language model in production, can be easily\nmisaligned by simple handcrafted inputs. In particular, we investigate two\ntypes of attacks -- goal hijacking and prompt leaking -- and demonstrate that\neven low-aptitude, but sufficiently ill-intentioned agents, can easily exploit\nGPT-3's stochastic nature, creating long-tail risks. The code for PromptInject\nis available at https://github.com/agencyenterprise/PromptInject.\n", "date": "2022-11-17", "categories": []} {"id": "2211.09773", "title": "T-SEA: Transfer-based Self-Ensemble Attack on Object Detection", "abstract": " Compared to query-based black-box attacks, transfer-based black-box attacks\ndo not require any information of the attacked models, which ensures their\nsecrecy. However, most existing transfer-based approaches rely on ensembling\nmultiple models to boost the attack transferability, which is time- and\nresource-intensive, not to mention the difficulty of obtaining diverse models\non the same task. To address this limitation, in this work, we focus on the\nsingle-model transfer-based black-box attack on object detection, utilizing\nonly one model to achieve a high-transferability adversarial attack on multiple\nblack-box detectors. Specifically, we first make observations on the patch\noptimization process of the existing method and propose an enhanced attack\nframework by slightly adjusting its training strategies. Then, we analogize\npatch optimization with regular model optimization, proposing a series of\nself-ensemble approaches on the input data, the attacked model, and the\nadversarial patch to efficiently make use of the limited information and\nprevent the patch from overfitting. The experimental results show that the\nproposed framework can be applied with multiple classical base attack methods\n(e.g., PGD and MIM) to greatly improve the black-box transferability of the\nwell-optimized patch on multiple mainstream detectors, meanwhile boosting\nwhite-box performance. Our code is available at\nhttps://github.com/VDIGPKU/T-SEA.\n", "date": "2022-11-16", "categories": []} {"id": "2211.08453", "title": "Improved techniques for deterministic l2 robustness", "abstract": " Training convolutional neural networks (CNNs) with a strict 1-Lipschitz\nconstraint under the $l_{2}$ norm is useful for adversarial robustness,\ninterpretable gradients and stable training. 1-Lipschitz CNNs are usually\ndesigned by enforcing each layer to have an orthogonal Jacobian matrix (for all\ninputs) to prevent the gradients from vanishing during backpropagation.\nHowever, their performance often significantly lags behind that of heuristic\nmethods to enforce Lipschitz constraints where the resulting CNN is not\n\\textit{provably} 1-Lipschitz. In this work, we reduce this gap by introducing\n(a) a procedure to certify robustness of 1-Lipschitz CNNs by replacing the last\nlinear layer with a 1-hidden layer MLP that significantly improves their\nperformance for both standard and provably robust accuracy, (b) a method to\nsignificantly reduce the training time per epoch for Skew Orthogonal\nConvolution (SOC) layers (>30\\% reduction for deeper networks) and (c) a class\nof pooling layers using the mathematical property that the $l_{2}$ distance of\nan input to a manifold is 1-Lipschitz. Using these methods, we significantly\nadvance the state-of-the-art for standard and provable robust accuracies on\nCIFAR-10 (gains of +1.79\\% and +3.82\\%) and similarly on CIFAR-100 (+3.78\\% and\n+4.75\\%) across all networks. Code is available at\n\\url{https://github.com/singlasahil14/improved_l2_robustness}.\n", "date": "2022-11-15", "categories": []} {"id": "2211.08706", "title": "Efficiently Finding Adversarial Examples with DNN Preprocessing", "abstract": " Deep Neural Networks (DNNs) are everywhere, frequently performing a fairly\ncomplex task that used to be unimaginable for machines to carry out. In doing\nso, they do a lot of decision making which, depending on the application, may\nbe disastrous if gone wrong. This necessitates a formal argument that the\nunderlying neural networks satisfy certain desirable properties. Robustness is\none such key property for DNNs, particularly if they are being deployed in\nsafety or business critical applications. Informally speaking, a DNN is not\nrobust if very small changes to its input may affect the output in a\nconsiderable way (e.g. changes the classification for that input). The task of\nfinding an adversarial example is to demonstrate this lack of robustness,\nwhenever applicable. While this is doable with the help of constrained\noptimization techniques, scalability becomes a challenge due to large-sized\nnetworks. This paper proposes the use of information gathered by preprocessing\nthe DNN to heavily simplify the optimization problem. Our experiments\nsubstantiate that this is effective, and does significantly better than the\nstate-of-the-art.\n", "date": "2022-11-16", "categories": []} {"id": "2211.08859", "title": "Attacking Object Detector Using A Universal Targeted Label-Switch Patch", "abstract": " Adversarial attacks against deep learning-based object detectors (ODs) have\nbeen studied extensively in the past few years. These attacks cause the model\nto make incorrect predictions by placing a patch containing an adversarial\npattern on the target object or anywhere within the frame. However, none of\nprior research proposed a misclassification attack on ODs, in which the patch\nis applied on the target object. In this study, we propose a novel, universal,\ntargeted, label-switch attack against the state-of-the-art object detector,\nYOLO. In our attack, we use (i) a tailored projection function to enable the\nplacement of the adversarial patch on multiple target objects in the image\n(e.g., cars), each of which may be located a different distance away from the\ncamera or have a different view angle relative to the camera, and (ii) a unique\nloss function capable of changing the label of the attacked objects. The\nproposed universal patch, which is trained in the digital domain, is\ntransferable to the physical domain. We performed an extensive evaluation using\ndifferent types of object detectors, different video streams captured by\ndifferent cameras, and various target classes, and evaluated different\nconfigurations of the adversarial patch in the physical domain.\n", "date": "2022-11-16", "categories": []} {"id": "2211.08008", "title": "MORA: Improving Ensemble Robustness Evaluation with Model-Reweighing\n Attack", "abstract": " Adversarial attacks can deceive neural networks by adding tiny perturbations\nto their input data. Ensemble defenses, which are trained to minimize attack\ntransferability among sub-models, offer a promising research direction to\nimprove robustness against such attacks while maintaining a high accuracy on\nnatural inputs. We discover, however, that recent state-of-the-art (SOTA)\nadversarial attack strategies cannot reliably evaluate ensemble defenses,\nsizeably overestimating their robustness. This paper identifies the two factors\nthat contribute to this behavior. First, these defenses form ensembles that are\nnotably difficult for existing gradient-based method to attack, due to gradient\nobfuscation. Second, ensemble defenses diversify sub-model gradients,\npresenting a challenge to defeat all sub-models simultaneously, simply summing\ntheir contributions may counteract the overall attack objective; yet, we\nobserve that ensemble may still be fooled despite most sub-models being\ncorrect. We therefore introduce MORA, a model-reweighing attack to steer\nadversarial example synthesis by reweighing the importance of sub-model\ngradients. MORA finds that recent ensemble defenses all exhibit varying degrees\nof overestimated robustness. Comparing it against recent SOTA white-box\nattacks, it can converge orders of magnitude faster while achieving higher\nattack success rates across all ensemble models examined with three different\nensemble modes (i.e., ensembling by either softmax, voting or logits). In\nparticular, most ensemble defenses exhibit near or exactly 0% robustness\nagainst MORA with $\\ell^\\infty$ perturbation within 0.02 on CIFAR-10, and 0.01\non CIFAR-100. We make MORA open source with reproducible results and\npre-trained models; and provide a leaderboard of ensemble defenses under\nvarious attack strategies.\n", "date": "2022-11-15", "categories": []} {"id": "2211.08068", "title": "Resisting Graph Adversarial Attack via Cooperative Homophilous\n Augmentation", "abstract": " Recent studies show that Graph Neural Networks(GNNs) are vulnerable and\neasily fooled by small perturbations, which has raised considerable concerns\nfor adapting GNNs in various safety-critical applications. In this work, we\nfocus on the emerging but critical attack, namely, Graph Injection Attack(GIA),\nin which the adversary poisons the graph by injecting fake nodes instead of\nmodifying existing structures or node attributes. Inspired by findings that the\nadversarial attacks are related to the increased heterophily on perturbed\ngraphs (the adversary tends to connect dissimilar nodes), we propose a general\ndefense framework CHAGNN against GIA through cooperative homophilous\naugmentation of graph data and model. Specifically, the model generates\npseudo-labels for unlabeled nodes in each round of training to reduce\nheterophilous edges of nodes with distinct labels. The cleaner graph is fed\nback to the model, producing more informative pseudo-labels. In such an\niterative manner, model robustness is then promisingly enhanced. We present the\ntheoretical analysis of the effect of homophilous augmentation and provide the\nguarantee of the proposal's validity. Experimental results empirically\ndemonstrate the effectiveness of CHAGNN in comparison with recent\nstate-of-the-art defense methods on diverse real-world datasets.\n", "date": "2022-11-15", "categories": []} {"id": "2211.08384", "title": "Universal Distributional Decision-based Black-box Adversarial Attack\n with Reinforcement Learning", "abstract": " The vulnerability of the high-performance machine learning models implies a\nsecurity risk in applications with real-world consequences. Research on\nadversarial attacks is beneficial in guiding the development of machine\nlearning models on the one hand and finding targeted defenses on the other.\nHowever, most of the adversarial attacks today leverage the gradient or logit\ninformation from the models to generate adversarial perturbation. Works in the\nmore realistic domain: decision-based attacks, which generate adversarial\nperturbation solely based on observing the output label of the targeted model,\nare still relatively rare and mostly use gradient-estimation strategies. In\nthis work, we propose a pixel-wise decision-based attack algorithm that finds a\ndistribution of adversarial perturbation through a reinforcement learning\nalgorithm. We call this method Decision-based Black-box Attack with\nReinforcement learning (DBAR). Experiments show that the proposed approach\noutperforms state-of-the-art decision-based attacks with a higher attack\nsuccess rate and greater transferability.\n", "date": "2022-11-15", "categories": []} {"id": "2207.13036", "title": "Jacobian Norm with Selective Input Gradient Regularization for Improved\n and Interpretable Adversarial Defense", "abstract": " Deep neural networks (DNNs) are known to be vulnerable to adversarial\nexamples that are crafted with imperceptible perturbations, i.e., a small\nchange in an input image can induce a mis-classification, and thus threatens\nthe reliability of deep learning based deployment systems. Adversarial training\n(AT) is often adopted to improve robustness through training a mixture of\ncorrupted and clean data. However, most of AT based methods are ineffective in\ndealing with transferred adversarial examples which are generated to fool a\nwide spectrum of defense models, and thus cannot satisfy the generalization\nrequirement raised in real-world scenarios. Moreover, adversarially training a\ndefense model in general cannot produce interpretable predictions towards the\ninputs with perturbations, whilst a highly interpretable robust model is\nrequired by different domain experts to understand the behaviour of a DNN. In\nthis work, we propose a novel approach based on Jacobian norm and Selective\nInput Gradient Regularization (J-SIGR), which suggests the linearized\nrobustness through Jacobian normalization and also regularizes the\nperturbation-based saliency maps to imitate the model's interpretable\npredictions. As such, we achieve both the improved defense and high\ninterpretability of DNNs. Finally, we evaluate our method across different\narchitectures against powerful adversarial attacks. Experiments demonstrate\nthat the proposed J-SIGR confers improved robustness against transferred\nadversarial attacks, and we also show that the predictions from the neural\nnetwork are easy to interpret.\n", "date": "2022-07-09", "categories": []} {"id": "2210.00621", "title": "Optimization for Robustness Evaluation beyond $\\ell_p$ Metrics", "abstract": " Empirical evaluation of deep learning models against adversarial attacks\nentails solving nontrivial constrained optimization problems. Popular\nalgorithms for solving these constrained problems rely on projected gradient\ndescent (PGD) and require careful tuning of multiple hyperparameters. Moreover,\nPGD can only handle $\\ell_1$, $\\ell_2$, and $\\ell_\\infty$ attack models due to\nthe use of analytical projectors. In this paper, we introduce a novel\nalgorithmic framework that blends a general-purpose constrained-optimization\nsolver PyGRANSO, With Constraint-Folding (PWCF), to add reliability and\ngenerality to robustness evaluation. PWCF 1) finds good-quality solutions\nwithout the need of delicate hyperparameter tuning, and 2) can handle general\nattack models, e.g., general $\\ell_p$ ($p \\geq 0$) and perceptual attacks,\nwhich are inaccessible to PGD-based algorithms.\n", "date": "2022-10-02", "categories": []} {"id": "2211.03013", "title": "Robust Lottery Tickets for Pre-trained Language Models", "abstract": " Recent works on Lottery Ticket Hypothesis have shown that pre-trained\nlanguage models (PLMs) contain smaller matching subnetworks(winning tickets)\nwhich are capable of reaching accuracy comparable to the original models.\nHowever, these tickets are proved to be notrobust to adversarial examples, and\neven worse than their PLM counterparts. To address this problem, we propose a\nnovel method based on learning binary weight masks to identify robust tickets\nhidden in the original PLMs. Since the loss is not differentiable for the\nbinary mask, we assign the hard concrete distribution to the masks and\nencourage their sparsity using a smoothing approximation of L0\nregularization.Furthermore, we design an adversarial loss objective to guide\nthe search for robust tickets and ensure that the tickets perform well bothin\naccuracy and robustness. Experimental results show the significant improvement\nof the proposed method over previous work on adversarial robustness evaluation.\n", "date": "2022-11-06", "categories": []} {"id": "2211.06508", "title": "On the robustness of non-intrusive speech quality model by adversarial\n examples", "abstract": " It has been shown recently that deep learning based models are effective on\nspeech quality prediction and could outperform traditional metrics in various\nperspectives. Although network models have potential to be a surrogate for\ncomplex human hearing perception, they may contain instabilities in\npredictions. This work shows that deep speech quality predictors can be\nvulnerable to adversarial perturbations, where the prediction can be changed\ndrastically by unnoticeable perturbations as small as $-30$ dB compared with\nspeech inputs. In addition to exposing the vulnerability of deep speech quality\npredictors, we further explore and confirm the viability of adversarial\ntraining for strengthening robustness of models.\n", "date": "2022-11-11", "categories": []} {"id": "2211.06571", "title": "Generating Textual Adversaries with Minimal Perturbation", "abstract": " Many word-level adversarial attack approaches for textual data have been\nproposed in recent studies. However, due to the massive search space consisting\nof combinations of candidate words, the existing approaches face the problem of\npreserving the semantics of texts when crafting adversarial counterparts. In\nthis paper, we develop a novel attack strategy to find adversarial texts with\nhigh similarity to the original texts while introducing minimal perturbation.\nThe rationale is that we expect the adversarial texts with small perturbation\ncan better preserve the semantic meaning of original texts. Experiments show\nthat, compared with state-of-the-art attack approaches, our approach achieves\nhigher success rates and lower perturbation rates in four benchmark datasets.\n", "date": "2022-11-12", "categories": []} {"id": "2211.07277", "title": "Robustifying Deep Vision Models Through Shape Sensitization", "abstract": " Recent work has shown that deep vision models tend to be overly dependent on\nlow-level or \"texture\" features, leading to poor generalization. Various data\naugmentation strategies have been proposed to overcome this so-called texture\nbias in DNNs. We propose a simple, lightweight adversarial augmentation\ntechnique that explicitly incentivizes the network to learn holistic shapes for\naccurate prediction in an object classification setting. Our augmentations\nsuperpose edgemaps from one image onto another image with shuffled patches,\nusing a randomly determined mixing proportion, with the image label of the\nedgemap image. To classify these augmented images, the model needs to not only\ndetect and focus on edges but distinguish between relevant and spurious edges.\nWe show that our augmentations significantly improve classification accuracy\nand robustness measures on a range of datasets and neural architectures. As an\nexample, for ViT-S, We obtain absolute gains on classification accuracy gains\nup to 6%. We also obtain gains of up to 28% and 8.5% on natural adversarial and\nout-of-distribution datasets like ImageNet-A (for ViT-B) and ImageNet-R (for\nViT-S), respectively. Analysis using a range of probe datasets shows\nsubstantially increased shape sensitivity in our trained models, explaining the\nobserved improvement in robustness and classification accuracy.\n", "date": "2022-11-14", "categories": []} {"id": "2211.07483", "title": "Butterfly Effect Attack: Tiny and Seemingly Unrelated Perturbations for\n Object Detection", "abstract": " This work aims to explore and identify tiny and seemingly unrelated\nperturbations of images in object detection that will lead to performance\ndegradation. While tininess can naturally be defined using $L_p$ norms, we\ncharacterize the degree of \"unrelatedness\" of an object by the pixel distance\nbetween the occurred perturbation and the object. Triggering errors in\nprediction while satisfying two objectives can be formulated as a\nmulti-objective optimization problem where we utilize genetic algorithms to\nguide the search. The result successfully demonstrates that (invisible)\nperturbations on the right part of the image can drastically change the outcome\nof object detection on the left. An extensive evaluation reaffirms our\nconjecture that transformer-based object detection networks are more\nsusceptible to butterfly effects in comparison to single-stage object detection\nnetworks such as YOLOv5.\n", "date": "2022-11-14", "categories": []} {"id": "2211.05854", "title": "Test-time adversarial detection and robustness for localizing humans\n using ultra wide band channel impulse responses", "abstract": " Keyless entry systems in cars are adopting neural networks for localizing its\noperators. Using test-time adversarial defences equip such systems with the\nability to defend against adversarial attacks without prior training on\nadversarial samples. We propose a test-time adversarial example detector which\ndetects the input adversarial example through quantifying the localized\nintermediate responses of a pre-trained neural network and confidence scores of\nan auxiliary softmax layer. Furthermore, in order to make the network robust,\nwe extenuate the non-relevant features by non-iterative input sample clipping.\nUsing our approach, mean performance over 15 levels of adversarial\nperturbations is increased by 55.33% for the fast gradient sign method (FGSM)\nand 6.3% for both the basic iterative method (BIM) and the projected gradient\nmethod (PGD).\n", "date": "2022-11-10", "categories": []} {"id": "2211.04973", "title": "Accelerating Adversarial Perturbation by 50% with Semi-backward\n Propagation", "abstract": " Adversarial perturbation plays a significant role in the field of adversarial\nrobustness, which solves a maximization problem over the input data. We show\nthat the backward propagation of such optimization can accelerate $2\\times$\n(and thus the overall optimization including the forward propagation can\naccelerate $1.5\\times$), without any utility drop, if we only compute the\noutput gradient but not the parameter gradient during the backward propagation.\n", "date": "2022-11-09", "categories": []} {"id": "2211.04364", "title": "NaturalAdversaries: Can Naturalistic Adversaries Be as Effective as\n Artificial Adversaries?", "abstract": " While a substantial body of prior work has explored adversarial example\ngeneration for natural language understanding tasks, these examples are often\nunrealistic and diverge from the real-world data distributions. In this work,\nwe introduce a two-stage adversarial example generation framework\n(NaturalAdversaries), for designing adversaries that are effective at fooling a\ngiven classifier and demonstrate natural-looking failure cases that could\nplausibly occur during in-the-wild deployment of the models.\n At the first stage a token attribution method is used to summarize a given\nclassifier's behaviour as a function of the key tokens in the input. In the\nsecond stage a generative model is conditioned on the key tokens from the first\nstage. NaturalAdversaries is adaptable to both black-box and white-box\nadversarial attacks based on the level of access to the model parameters. Our\nresults indicate these adversaries generalize across domains, and offer\ninsights for future research on improving robustness of neural text\nclassification models.\n", "date": "2022-11-08", "categories": []} {"id": "2211.04449", "title": "Fairness-aware Regression Robust to Adversarial Attacks", "abstract": " In this paper, we take a first step towards answering the question of how to\ndesign fair machine learning algorithms that are robust to adversarial attacks.\nUsing a minimax framework, we aim to design an adversarially robust fair\nregression model that achieves optimal performance in the presence of an\nattacker who is able to add a carefully designed adversarial data point to the\ndataset or perform a rank-one attack on the dataset. By solving the proposed\nnonsmooth nonconvex-nonconcave minimax problem, the optimal adversary as well\nas the robust fairness-aware regression model are obtained. For both synthetic\ndata and real-world datasets, numerical results illustrate that the proposed\nadversarially robust fair models have better performance on poisoned datasets\nthan other fair machine learning models in both prediction accuracy and\ngroup-based fairness measure.\n", "date": "2022-11-04", "categories": []} {"id": "2211.02675", "title": "An Adversarial Robustness Perspective on the Topology of Neural Networks", "abstract": " In this paper, we investigate the impact of neural networks (NNs) topology on\nadversarial robustness. Specifically, we study the graph produced when an input\ntraverses all the layers of a NN, and show that such graphs are different for\nclean and adversarial inputs. We find that graphs from clean inputs are more\ncentralized around highway edges, whereas those from adversaries are more\ndiffuse, leveraging under-optimized edges. Through experiments on a variety of\ndatasets and architectures, we show that these under-optimized edges are a\nsource of adversarial vulnerability and that they can be used to detect\nadversarial inputs.\n", "date": "2022-11-04", "categories": []} {"id": "2211.02878", "title": "Textual Manifold-based Defense Against Natural Language Adversarial\n Examples", "abstract": " Recent studies on adversarial images have shown that they tend to leave the\nunderlying low-dimensional data manifold, making them significantly more\nchallenging for current models to make correct predictions. This so-called\noff-manifold conjecture has inspired a novel line of defenses against\nadversarial attacks on images. In this study, we find a similar phenomenon\noccurs in the contextualized embedding space induced by pretrained language\nmodels, in which adversarial texts tend to have their embeddings diverge from\nthe manifold of natural ones. Based on this finding, we propose Textual\nManifold-based Defense (TMD), a defense mechanism that projects text embeddings\nonto an approximated embedding manifold before classification. It reduces the\ncomplexity of potential adversarial examples, which ultimately enhances the\nrobustness of the protected model. Through extensive experiments, our method\nconsistently and significantly outperforms previous defenses under various\nattack settings without trading off clean accuracy. To the best of our\nknowledge, this is the first NLP defense that leverages the manifold structure\nagainst adversarial attacks. Our code is available at\n\\url{https://github.com/dangne/tmd}.\n", "date": "2022-11-05", "categories": []} {"id": "2211.03509", "title": "Black-Box Attack against GAN-Generated Image Detector with Contrastive\n Perturbation", "abstract": " Visually realistic GAN-generated facial images raise obvious concerns on\npotential misuse. Many effective forensic algorithms have been developed to\ndetect such synthetic images in recent years. It is significant to assess the\nvulnerability of such forensic detectors against adversarial attacks. In this\npaper, we propose a new black-box attack method against GAN-generated image\ndetectors. A novel contrastive learning strategy is adopted to train the\nencoder-decoder network based anti-forensic model under a contrastive loss\nfunction. GAN images and their simulated real counterparts are constructed as\npositive and negative samples, respectively. Leveraging on the trained attack\nmodel, imperceptible contrastive perturbation could be applied to input\nsynthetic images for removing GAN fingerprint to some extent. As such, existing\nGAN-generated image detectors are expected to be deceived. Extensive\nexperimental results verify that the proposed attack effectively reduces the\naccuracy of three state-of-the-art detectors on six popular GANs. High visual\nquality of the attacked images is also achieved. The source code will be\navailable at https://github.com/ZXMMD/BAttGAND.\n", "date": "2022-11-07", "categories": []} {"id": "2211.03714", "title": "Deviations in Representations Induced by Adversarial Attacks", "abstract": " Deep learning has been a popular topic and has achieved success in many\nareas. It has drawn the attention of researchers and machine learning\npractitioners alike, with developed models deployed to a variety of settings.\nAlong with its achievements, research has shown that deep learning models are\nvulnerable to adversarial attacks. This finding brought about a new direction\nin research, whereby algorithms were developed to attack and defend vulnerable\nnetworks. Our interest is in understanding how these attacks effect change on\nthe intermediate representations of deep learning models. We present a method\nfor measuring and analyzing the deviations in representations induced by\nadversarial attacks, progressively across a selected set of layers. Experiments\nare conducted using an assortment of attack algorithms, on the CIFAR-10\ndataset, with plots created to visualize the impact of adversarial attacks\nacross different layers in a network.\n", "date": "2022-11-07", "categories": []} {"id": "2211.03769", "title": "Are AlphaZero-like Agents Robust to Adversarial Perturbations?", "abstract": " The success of AlphaZero (AZ) has demonstrated that neural-network-based Go\nAIs can surpass human performance by a large margin. Given that the state space\nof Go is extremely large and a human player can play the game from any legal\nstate, we ask whether adversarial states exist for Go AIs that may lead them to\nplay surprisingly wrong actions. In this paper, we first extend the concept of\nadversarial examples to the game of Go: we generate perturbed states that are\n``semantically'' equivalent to the original state by adding meaningless moves\nto the game, and an adversarial state is a perturbed state leading to an\nundoubtedly inferior action that is obvious even for Go beginners. However,\nsearching the adversarial state is challenging due to the large, discrete, and\nnon-differentiable search space. To tackle this challenge, we develop the first\nadversarial attack on Go AIs that can efficiently search for adversarial states\nby strategically reducing the search space. This method can also be extended to\nother board games such as NoGo. Experimentally, we show that the actions taken\nby both Policy-Value neural network (PV-NN) and Monte Carlo tree search (MCTS)\ncan be misled by adding one or two meaningless stones; for example, on 58\\% of\nthe AlphaGo Zero self-play games, our method can make the widely used KataGo\nagent with 50 simulations of MCTS plays a losing action by adding two\nmeaningless stones. We additionally evaluated the adversarial examples found by\nour algorithm with amateur human Go players and 90\\% of examples indeed lead\nthe Go agent to play an obviously inferior action. Our code is available at\n\\url{https://PaperCode.cc/GoAttack}.\n", "date": "2022-11-07", "categories": []} {"id": "2211.02468", "title": "Improving Adversarial Robustness to Sensitivity and Invariance Attacks\n with Deep Metric Learning", "abstract": " Intentionally crafted adversarial samples have effectively exploited\nweaknesses in deep neural networks. A standard method in adversarial robustness\nassumes a framework to defend against samples crafted by minimally perturbing a\nsample such that its corresponding model output changes. These sensitivity\nattacks exploit the model's sensitivity toward task-irrelevant features.\nAnother form of adversarial sample can be crafted via invariance attacks, which\nexploit the model underestimating the importance of relevant features. Previous\nliterature has indicated a tradeoff in defending against both attack types\nwithin a strictly L_p bounded defense. To promote robustness toward both types\nof attacks beyond Euclidean distance metrics, we use metric learning to frame\nadversarial regularization as an optimal transport problem. Our preliminary\nresults indicate that regularizing over invariant perturbations in our\nframework improves both invariant and sensitivity defense.\n", "date": "2022-11-04", "categories": []} {"id": "2211.01093", "title": "Improving transferability of 3D adversarial attacks with scale and shear\n transformations", "abstract": " Previous work has shown that 3D point cloud classifiers can be vulnerable to\nadversarial examples. However, most of the existing methods are aimed at\nwhite-box attacks, where the parameters and other information of the\nclassifiers are known in the attack, which is unrealistic for real-world\napplications. In order to improve the attack performance of the black-box\nclassifiers, the research community generally uses the transfer-based black-box\nattack. However, the transferability of current 3D attacks is still relatively\nlow. To this end, this paper proposes Scale and Shear (SS) Attack to generate\n3D adversarial examples with strong transferability. Specifically, we randomly\nscale or shear the input point cloud, so that the attack will not overfit the\nwhite-box model, thereby improving the transferability of the attack. Extensive\nexperiments show that the SS attack proposed in this paper can be seamlessly\ncombined with the existing state-of-the-art (SOTA) 3D point cloud attack\nmethods to form more powerful attack methods, and the SS attack improves the\ntransferability over 3.6 times compare to the baseline. Moreover, while\nsubstantially outperforming the baseline methods, the SS attack achieves SOTA\ntransferability under various defenses. Our code will be available online at\nhttps://github.com/cuge1995/SS-attack\n", "date": "2022-11-02", "categories": []} {"id": "2211.01236", "title": "Isometric Representations in Neural Networks Improve Robustness", "abstract": " Artificial and biological agents cannon learn given completely random and\nunstructured data. The structure of data is encoded in the metric relationships\nbetween data points. In the context of neural networks, neuronal activity\nwithin a layer forms a representation reflecting the transformation that the\nlayer implements on its inputs. In order to utilize the structure in the data\nin a truthful manner, such representations should reflect the input distances\nand thus be continuous and isometric. Supporting this statement, recent\nfindings in neuroscience propose that generalization and robustness are tied to\nneural representations being continuously differentiable. In machine learning,\nmost algorithms lack robustness and are generally thought to rely on aspects of\nthe data that differ from those that humans use, as is commonly seen in\nadversarial attacks. During cross-entropy classification, the metric and\nstructural properties of network representations are usually broken both\nbetween and within classes. This side effect from training can lead to\ninstabilities under perturbations near locations where such structure is not\npreserved. One of the standard solutions to obtain robustness is to add ad hoc\nregularization terms, but to our knowledge, forcing representations to preserve\nthe metric structure of the input data as a stabilising mechanism has not yet\nbeen studied. In this work, we train neural networks to perform classification\nwhile simultaneously maintaining within-class metric structure, leading to\nisometric within-class representations. Such network representations turn out\nto be beneficial for accurate and robust inference. By stacking layers with\nthis property we create a network architecture that facilitates hierarchical\nmanipulation of internal neural representations. Finally, we verify that\nisometric regularization improves the robustness to adversarial attacks on\nMNIST.\n", "date": "2022-11-02", "categories": []} {"id": "2211.00239", "title": "ARDIR: Improving Robustness using Knowledge Distillation of Internal\n Representation", "abstract": " Adversarial training is the most promising method for learning robust models\nagainst adversarial examples. A recent study has shown that knowledge\ndistillation between the same architectures is effective in improving the\nperformance of adversarial training. Exploiting knowledge distillation is a new\napproach to improve adversarial training and has attracted much attention.\nHowever, its performance is still insufficient. Therefore, we propose\nAdversarial Robust Distillation with Internal Representation~(ARDIR) to utilize\nknowledge distillation even more effectively. In addition to the output of the\nteacher model, ARDIR uses the internal representation of the teacher model as a\nlabel for adversarial training. This enables the student model to be trained\nwith richer, more informative labels. As a result, ARDIR can learn more robust\nstudent models. We show that ARDIR outperforms previous methods in our\nexperiments.\n", "date": "2022-11-01", "categories": []} {"id": "2211.00269", "title": "Adversarial Training with Complementary Labels: On the Benefit of\n Gradually Informative Attacks", "abstract": " Adversarial training (AT) with imperfect supervision is significant but\nreceives limited attention. To push AT towards more practical scenarios, we\nexplore a brand new yet challenging setting, i.e., AT with complementary labels\n(CLs), which specify a class that a data sample does not belong to. However,\nthe direct combination of AT with existing methods for CLs results in\nconsistent failure, but not on a simple baseline of two-stage training. In this\npaper, we further explore the phenomenon and identify the underlying challenges\nof AT with CLs as intractable adversarial optimization and low-quality\nadversarial examples. To address the above problems, we propose a new learning\nstrategy using gradually informative attacks, which consists of two critical\ncomponents: 1) Warm-up Attack (Warm-up) gently raises the adversarial\nperturbation budgets to ease the adversarial optimization with CLs; 2)\nPseudo-Label Attack (PLA) incorporates the progressively informative model\npredictions into a corrected complementary loss. Extensive experiments are\nconducted to demonstrate the effectiveness of our method on a range of\nbenchmarked datasets. The code is publicly available at:\nhttps://github.com/RoyalSkye/ATCL.\n", "date": "2022-11-01", "categories": []} {"id": "2211.00322", "title": "DensePure: Understanding Diffusion Models towards Adversarial Robustness", "abstract": " Diffusion models have been recently employed to improve certified robustness\nthrough the process of denoising. However, the theoretical understanding of why\ndiffusion models are able to improve the certified robustness is still lacking,\npreventing from further improvement. In this study, we close this gap by\nanalyzing the fundamental properties of diffusion models and establishing the\nconditions under which they can enhance certified robustness. This deeper\nunderstanding allows us to propose a new method DensePure, designed to improve\nthe certified robustness of a pretrained model (i.e. classifier). Given an\n(adversarial) input, DensePure consists of multiple runs of denoising via the\nreverse process of the diffusion model (with different random seeds) to get\nmultiple reversed samples, which are then passed through the classifier,\nfollowed by majority voting of inferred labels to make the final prediction.\nThis design of using multiple runs of denoising is informed by our theoretical\nanalysis of the conditional distribution of the reversed sample. Specifically,\nwhen the data density of a clean sample is high, its conditional density under\nthe reverse process in a diffusion model is also high; thus sampling from the\nlatter conditional distribution can purify the adversarial example and return\nthe corresponding clean sample with a high probability. By using the highest\ndensity point in the conditional distribution as the reversed sample, we\nidentify the robust region of a given instance under the diffusion model's\nreverse process. We show that this robust region is a union of multiple convex\nsets, and is potentially much larger than the robust regions identified in\nprevious works. In practice, DensePure can approximate the label of the high\ndensity region in the conditional distribution so that it can enhance certified\nrobustness.\n", "date": "2022-11-01", "categories": []} {"id": "2211.00366", "title": "Universal Perturbation Attack on Differentiable No-Reference Image- and\n Video-Quality Metrics", "abstract": " Universal adversarial perturbation attacks are widely used to analyze image\nclassifiers that employ convolutional neural networks. Nowadays, some attacks\ncan deceive image- and video-quality metrics. So sustainability analysis of\nthese metrics is important. Indeed, if an attack can confuse the metric, an\nattacker can easily increase quality scores. When developers of image- and\nvideo-algorithms can boost their scores through detached processing, algorithm\ncomparisons are no longer fair. Inspired by the idea of universal adversarial\nperturbation for classifiers, we suggest a new method to attack differentiable\nno-reference quality metrics through universal perturbation. We applied this\nmethod to seven no-reference image- and video-quality metrics (PaQ-2-PiQ,\nLinearity, VSFA, MDTVSFA, KonCept512, Nima and SPAQ). For each one, we trained\na universal perturbation that increases the respective scores. We also propose\na method for assessing metric stability and identify the metrics that are the\nmost vulnerable and the most resistant to our attack. The existence of\nsuccessful universal perturbations appears to diminish the metric's ability to\nprovide reliable scores. We therefore recommend our proposed method as an\nadditional verification of metric reliability to complement traditional\nsubjective tests and benchmarks.\n", "date": "2022-11-01", "categories": []} {"id": "2211.00525", "title": "The Enemy of My Enemy is My Friend: Exploring Inverse Adversaries for\n Improving Adversarial Training", "abstract": " Although current deep learning techniques have yielded superior performance\non various computer vision tasks, yet they are still vulnerable to adversarial\nexamples. Adversarial training and its variants have been shown to be the most\neffective approaches to defend against adversarial examples. These methods\nusually regularize the difference between output probabilities for an\nadversarial and its corresponding natural example. However, it may have a\nnegative impact if the model misclassifies a natural example. To circumvent\nthis issue, we propose a novel adversarial training scheme that encourages the\nmodel to produce similar outputs for an adversarial example and its ``inverse\nadversarial'' counterpart. These samples are generated to maximize the\nlikelihood in the neighborhood of natural examples. Extensive experiments on\nvarious vision datasets and architectures demonstrate that our training method\nachieves state-of-the-art robustness as well as natural accuracy. Furthermore,\nusing a universal version of inverse adversarial examples, we improve the\nperformance of single-step adversarial training techniques at a low\ncomputational cost.\n", "date": "2022-11-01", "categories": []} {"id": "2207.05127", "title": "RUSH: Robust Contrastive Learning via Randomized Smoothing", "abstract": " Recently, adversarial training has been incorporated in self-supervised\ncontrastive pre-training to augment label efficiency with exciting adversarial\nrobustness. However, the robustness came at a cost of expensive adversarial\ntraining. In this paper, we show a surprising fact that contrastive\npre-training has an interesting yet implicit connection with robustness, and\nsuch natural robustness in the pre trained representation enables us to design\na powerful robust algorithm against adversarial attacks, RUSH, that combines\nthe standard contrastive pre-training and randomized smoothing. It boosts both\nstandard accuracy and robust accuracy, and significantly reduces training costs\nas compared with adversarial training. We use extensive empirical studies to\nshow that the proposed RUSH outperforms robust classifiers from adversarial\ntraining, by a significant margin on common benchmarks (CIFAR-10, CIFAR-100,\nand STL-10) under first-order attacks. In particular, under\n$\\ell_{\\infty}$-norm perturbations of size 8/255 PGD attack on CIFAR-10, our\nmodel using ResNet-18 as backbone reached 77.8% robust accuracy and 87.9%\nstandard accuracy. Our work has an improvement of over 15% in robust accuracy\nand a slight improvement in standard accuracy, compared to the\nstate-of-the-arts.\n", "date": "2022-07-11", "categories": []} {"id": "2210.00960", "title": "Stability Analysis and Generalization Bounds of Adversarial Training", "abstract": " In adversarial machine learning, deep neural networks can fit the adversarial\nexamples on the training dataset but have poor generalization ability on the\ntest set. This phenomenon is called robust overfitting, and it can be observed\nwhen adversarially training neural nets on common datasets, including SVHN,\nCIFAR-10, CIFAR-100, and ImageNet. In this paper, we study the robust\noverfitting issue of adversarial training by using tools from uniform\nstability. One major challenge is that the outer function (as a maximization of\nthe inner function) is nonsmooth, so the standard technique (e.g., hardt et\nal., 2016) cannot be applied. Our approach is to consider $\\eta$-approximate\nsmoothness: we show that the outer function satisfies this modified smoothness\nassumption with $\\eta$ being a constant related to the adversarial perturbation\n$\\epsilon$. Based on this, we derive stability-based generalization bounds for\nstochastic gradient descent (SGD) on the general class of $\\eta$-approximate\nsmooth functions, which covers the adversarial loss. Our results suggest that\nrobust test accuracy decreases in $\\epsilon$ when $T$ is large, with a speed\nbetween $\\Omega(\\epsilon\\sqrt{T})$ and $\\mathcal{O}(\\epsilon T)$. This\nphenomenon is also observed in practice. Additionally, we show that a few\npopular techniques for adversarial training (e.g., early stopping, cyclic\nlearning rate, and stochastic weight averaging) are stability-promoting in\ntheory.\n", "date": "2022-10-03", "categories": []} {"id": "2210.11498", "title": "Balanced Adversarial Training: Balancing Tradeoffs between Fickleness\n and Obstinacy in NLP Models", "abstract": " Traditional (fickle) adversarial examples involve finding a small\nperturbation that does not change an input's true label but confuses the\nclassifier into outputting a different prediction. Conversely, obstinate\nadversarial examples occur when an adversary finds a small perturbation that\npreserves the classifier's prediction but changes the true label of an input.\nAdversarial training and certified robust training have shown some\neffectiveness in improving the robustness of machine learnt models to fickle\nadversarial examples. We show that standard adversarial training methods\nfocused on reducing vulnerability to fickle adversarial examples may make a\nmodel more vulnerable to obstinate adversarial examples, with experiments for\nboth natural language inference and paraphrase identification tasks. To counter\nthis phenomenon, we introduce Balanced Adversarial Training, which incorporates\ncontrastive learning to increase robustness against both fickle and obstinate\nadversarial examples.\n", "date": "2022-10-20", "categories": []} {"id": "2210.16451", "title": "Robust Boosting Forests with Richer Deep Feature Hierarchy", "abstract": " We propose a robust variant of boosting forest to the various adversarial\ndefense methods, and apply it to enhance the robustness of the deep neural\nnetwork. We retain the deep network architecture, weights, and middle layer\nfeatures, then install gradient boosting forest to select the features from\neach layer of the deep network, and predict the target. For training each\ndecision tree, we propose a novel conservative and greedy trade-off, with\nconsideration for less misprediction instead of pure gain functions, therefore\nbeing suboptimal and conservative. We actively increase tree depth to remedy\nthe accuracy with splits in more features, being more greedy in growing tree\ndepth. We propose a new task on 3D face model, whose robustness has not been\ncarefully studied, despite the great security and privacy concerns related to\nface analytics. We tried a simple attack method on a pure convolutional neural\nnetwork (CNN) face shape estimator, making it degenerate to only output average\nface shape with invisible perturbation. Our conservative-greedy boosting forest\n(CGBF) on face landmark datasets showed a great improvement over original pure\ndeep learning methods under the adversarial attacks.\n", "date": "2022-10-29", "categories": []} {"id": "2210.17004", "title": "Character-level White-Box Adversarial Attacks against Transformers via\n Attachable Subwords Substitution", "abstract": " We propose the first character-level white-box adversarial attack method\nagainst transformer models. The intuition of our method comes from the\nobservation that words are split into subtokens before being fed into the\ntransformer models and the substitution between two close subtokens has a\nsimilar effect to the character modification. Our method mainly contains three\nsteps. First, a gradient-based method is adopted to find the most vulnerable\nwords in the sentence. Then we split the selected words into subtokens to\nreplace the origin tokenization result from the transformer tokenizer. Finally,\nwe utilize an adversarial loss to guide the substitution of attachable\nsubtokens in which the Gumbel-softmax trick is introduced to ensure gradient\npropagation. Meanwhile, we introduce the visual and length constraint in the\noptimization process to achieve minimum character modifications. Extensive\nexperiments on both sentence-level and token-level tasks demonstrate that our\nmethod could outperform the previous attack methods in terms of success rate\nand edit distance. Furthermore, human evaluation verifies our adversarial\nexamples could preserve their origin labels.\n", "date": "2022-10-31", "categories": []} {"id": "2210.17140", "title": "Scoring Black-Box Models for Adversarial Robustness", "abstract": " Deep neural networks are susceptible to adversarial inputs and various\nmethods have been proposed to defend these models against adversarial attacks\nunder different perturbation models. The robustness of models to adversarial\nattacks has been analyzed by first constructing adversarial inputs for the\nmodel, and then testing the model performance on the constructed adversarial\ninputs. Most of these attacks require the model to be white-box, need access to\ndata labels, and finding adversarial inputs can be computationally expensive.\nWe propose a simple scoring method for black-box models which indicates their\nrobustness to adversarial input. We show that adversarially more robust models\nhave a smaller $l_1$-norm of LIME weights and sharper explanations.\n", "date": "2022-10-31", "categories": []} {"id": "2210.15944", "title": "RoChBert: Towards Robust BERT Fine-tuning for Chinese", "abstract": " Despite of the superb performance on a wide range of tasks, pre-trained\nlanguage models (e.g., BERT) have been proved vulnerable to adversarial texts.\nIn this paper, we present RoChBERT, a framework to build more Robust BERT-based\nmodels by utilizing a more comprehensive adversarial graph to fuse Chinese\nphonetic and glyph features into pre-trained representations during\nfine-tuning. Inspired by curriculum learning, we further propose to augment the\ntraining dataset with adversarial texts in combination with intermediate\nsamples. Extensive experiments demonstrate that RoChBERT outperforms previous\nmethods in significant ways: (i) robust -- RoChBERT greatly improves the model\nrobustness without sacrificing accuracy on benign texts. Specifically, the\ndefense lowers the success rates of unlimited and limited attacks by 59.43% and\n39.33% respectively, while remaining accuracy of 93.30%; (ii) flexible --\nRoChBERT can easily extend to various language models to solve different\ndownstream tasks with excellent performance; and (iii) efficient -- RoChBERT\ncan be directly applied to the fine-tuning stage without pre-training language\nmodel from scratch, and the proposed data augmentation method is also low-cost.\n", "date": "2022-10-28", "categories": []} {"id": "2210.01787", "title": "Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean\n Function Perspective", "abstract": " Designing neural networks with bounded Lipschitz constant is a promising way\nto obtain certifiably robust classifiers against adversarial examples. However,\nthe relevant progress for the important $\\ell_\\infty$ perturbation setting is\nrather limited, and a principled understanding of how to design expressive\n$\\ell_\\infty$ Lipschitz networks is still lacking. In this paper, we bridge the\ngap by studying certified $\\ell_\\infty$ robustness from a novel perspective of\nrepresenting Boolean functions. We derive two fundamental impossibility results\nthat hold for any standard Lipschitz network: one for robust classification on\nfinite datasets, and the other for Lipschitz function approximation. These\nresults identify that networks built upon norm-bounded affine layers and\nLipschitz activations intrinsically lose expressive power even in the\ntwo-dimensional case, and shed light on how recently proposed Lipschitz\nnetworks (e.g., GroupSort and $\\ell_\\infty$-distance nets) bypass these\nimpossibilities by leveraging order statistic functions. Finally, based on\nthese insights, we develop a unified Lipschitz network that generalizes prior\nworks, and design a practical version that can be efficiently trained (making\ncertified robust training free). Extensive experiments show that our approach\nis scalable, efficient, and consistently yields better certified robustness\nacross multiple datasets and perturbation radii than prior Lipschitz networks.\nOur code is available at https://github.com/zbh2047/SortNet.\n", "date": "2022-10-04", "categories": []} {"id": "2210.14957", "title": "Disentangled Text Representation Learning with Information-Theoretic\n Perspective for Adversarial Robustness", "abstract": " Adversarial vulnerability remains a major obstacle to constructing reliable\nNLP systems. When imperceptible perturbations are added to raw input text, the\nperformance of a deep learning model may drop dramatically under attacks.\nRecent work argues the adversarial vulnerability of the model is caused by the\nnon-robust features in supervised training. Thus in this paper, we tackle the\nadversarial robustness challenge from the view of disentangled representation\nlearning, which is able to explicitly disentangle robust and non-robust\nfeatures in text. Specifically, inspired by the variation of information (VI)\nin information theory, we derive a disentangled learning objective composed of\nmutual information to represent both the semantic representativeness of latent\nembeddings and differentiation of robust and non-robust features. On the basis\nof this, we design a disentangled learning network to estimate these mutual\ninformation. Experiments on text classification and entailment tasks show that\nour method significantly outperforms the representative methods under\nadversarial attacks, indicating that discarding non-robust features is critical\nfor improving adversarial robustness.\n", "date": "2022-10-26", "categories": []} {"id": "2210.15291", "title": "Isometric 3D Adversarial Examples in the Physical World", "abstract": " 3D deep learning models are shown to be as vulnerable to adversarial examples\nas 2D models. However, existing attack methods are still far from stealthy and\nsuffer from severe performance degradation in the physical world. Although 3D\ndata is highly structured, it is difficult to bound the perturbations with\nsimple metrics in the Euclidean space. In this paper, we propose a novel\n$\\epsilon$-isometric ($\\epsilon$-ISO) attack to generate natural and robust 3D\nadversarial examples in the physical world by considering the geometric\nproperties of 3D objects and the invariance to physical transformations. For\nnaturalness, we constrain the adversarial example to be $\\epsilon$-isometric to\nthe original one by adopting the Gaussian curvature as a surrogate metric\nguaranteed by a theoretical analysis. For invariance to physical\ntransformations, we propose a maxima over transformation (MaxOT) method that\nactively searches for the most harmful transformations rather than random ones\nto make the generated adversarial example more robust in the physical world.\nExperiments on typical point cloud recognition models validate that our\napproach can significantly improve the attack success rate and naturalness of\nthe generated 3D adversarial examples than the state-of-the-art attack methods.\n", "date": "2022-10-27", "categories": []} {"id": "2210.15318", "title": "Efficient and Effective Augmentation Strategy for Adversarial Training", "abstract": " Adversarial training of Deep Neural Networks is known to be significantly\nmore data-hungry when compared to standard training. Furthermore, complex data\naugmentations such as AutoAugment, which have led to substantial gains in\nstandard training of image classifiers, have not been successful with\nAdversarial Training. We first explain this contrasting behavior by viewing\naugmentation during training as a problem of domain generalization, and further\npropose Diverse Augmentation-based Joint Adversarial Training (DAJAT) to use\ndata augmentations effectively in adversarial training. We aim to handle the\nconflicting goals of enhancing the diversity of the training dataset and\ntraining with data that is close to the test distribution by using a\ncombination of simple and complex augmentations with separate batch\nnormalization layers during training. We further utilize the popular\nJensen-Shannon divergence loss to encourage the joint learning of the diverse\naugmentations, thereby allowing simple augmentations to guide the learning of\ncomplex ones. Lastly, to improve the computational efficiency of the proposed\nmethod, we propose and utilize a two-step defense, Ascending Constraint\nAdversarial Training (ACAT), that uses an increasing epsilon schedule and\nweight-space smoothing to prevent gradient masking. The proposed method DAJAT\nachieves substantially better robustness-accuracy trade-off when compared to\nexisting methods on the RobustBench Leaderboard on ResNet-18 and\nWideResNet-34-10. The code for implementing DAJAT is available here:\nhttps://github.com/val-iisc/DAJAT.\n", "date": "2022-10-27", "categories": []} {"id": "2206.02535", "title": "Certified Robustness in Federated Learning", "abstract": " Federated learning has recently gained significant attention and popularity\ndue to its effectiveness in training machine learning models on distributed\ndata privately. However, as in the single-node supervised learning setup,\nmodels trained in federated learning suffer from vulnerability to imperceptible\ninput transformations known as adversarial attacks, questioning their\ndeployment in security-related applications. In this work, we study the\ninterplay between federated training, personalization, and certified\nrobustness. In particular, we deploy randomized smoothing, a widely-used and\nscalable certification method, to certify deep networks trained on a federated\nsetup against input perturbations and transformations. We find that the simple\nfederated averaging technique is effective in building not only more accurate,\nbut also more certifiably-robust models, compared to training solely on local\ndata. We further analyze personalization, a popular technique in federated\ntraining that increases the model's bias towards local data, on robustness. We\nshow several advantages of personalization over both~(that is, only training on\nlocal data and federated training) in building more robust models with faster\ntraining. Finally, we explore the robustness of mixtures of global and\nlocal~(i.e. personalized) models, and find that the robustness of local models\ndegrades as they diverge from the global model\n", "date": "2022-06-06", "categories": []} {"id": "2210.14229", "title": "Causal Information Bottleneck Boosts Adversarial Robustness of Deep\n Neural Network", "abstract": " The information bottleneck (IB) method is a feasible defense solution against\nadversarial attacks in deep learning. However, this method suffers from the\nspurious correlation, which leads to the limitation of its further improvement\nof adversarial robustness. In this paper, we incorporate the causal inference\ninto the IB framework to alleviate such a problem. Specifically, we divide the\nfeatures obtained by the IB method into robust features (content information)\nand non-robust features (style information) via the instrumental variables to\nestimate the causal effects. With the utilization of such a framework, the\ninfluence of non-robust features could be mitigated to strengthen the\nadversarial robustness. We make an analysis of the effectiveness of our\nproposed method. The extensive experiments in MNIST, FashionMNIST, and CIFAR-10\nshow that our method exhibits the considerable robustness against multiple\nadversarial attacks. Our code would be released.\n", "date": "2022-10-25", "categories": []} {"id": "2210.14283", "title": "Accelerating Certified Robustness Training via Knowledge Transfer", "abstract": " Training deep neural network classifiers that are certifiably robust against\nadversarial attacks is critical to ensuring the security and reliability of\nAI-controlled systems. Although numerous state-of-the-art certified training\nmethods have been developed, they are computationally expensive and scale\npoorly with respect to both dataset and network complexity. Widespread usage of\ncertified training is further hindered by the fact that periodic retraining is\nnecessary to incorporate new data and network improvements. In this paper, we\npropose Certified Robustness Transfer (CRT), a general-purpose framework for\nreducing the computational overhead of any certifiably robust training method\nthrough knowledge transfer. Given a robust teacher, our framework uses a novel\ntraining loss to transfer the teacher's robustness to the student. We provide\ntheoretical and empirical validation of CRT. Our experiments on CIFAR-10 show\nthat CRT speeds up certified robustness training by $8 \\times$ on average\nacross three different architecture generations while achieving comparable\nrobustness to state-of-the-art methods. We also show that CRT can scale to\nlarge-scale datasets like ImageNet.\n", "date": "2022-10-25", "categories": []} {"id": "2210.14405", "title": "Adversarially Robust Medical Classification via Attentive Convolutional\n Neural Networks", "abstract": " Convolutional neural network-based medical image classifiers have been shown\nto be especially susceptible to adversarial examples. Such instabilities are\nlikely to be unacceptable in the future of automated diagnoses. Though\nstatistical adversarial example detection methods have proven to be effective\ndefense mechanisms, additional research is necessary that investigates the\nfundamental vulnerabilities of deep-learning-based systems and how best to\nbuild models that jointly maximize traditional and robust accuracy. This paper\npresents the inclusion of attention mechanisms in CNN-based medical image\nclassifiers as a reliable and effective strategy for increasing robust accuracy\nwithout sacrifice. This method is able to increase robust accuracy by up to 16%\nin typical adversarial scenarios and up to 2700% in extreme cases.\n", "date": "2022-10-26", "categories": []} {"id": "2207.06858", "title": "RSD-GAN: Regularized Sobolev Defense GAN Against Speech-to-Text\n Adversarial Attacks", "abstract": " This paper introduces a new synthesis-based defense algorithm for\ncounteracting with a varieties of adversarial attacks developed for challenging\nthe performance of the cutting-edge speech-to-text transcription systems. Our\nalgorithm implements a Sobolev-based GAN and proposes a novel regularizer for\neffectively controlling over the functionality of the entire generative model,\nparticularly the discriminator network during training. Our achieved results\nupon carrying out numerous experiments on the victim DeepSpeech, Kaldi, and\nLingvo speech transcription systems corroborate the remarkable performance of\nour defense approach against a comprehensive range of targeted and non-targeted\nadversarial attacks.\n", "date": "2022-07-14", "categories": []} {"id": "2210.13463", "title": "Adversarial Pretraining of Self-Supervised Deep Networks: Past, Present\n and Future", "abstract": " In this paper, we review adversarial pretraining of self-supervised deep\nnetworks including both convolutional neural networks and vision transformers.\nUnlike the adversarial training with access to labeled examples, adversarial\npretraining is complicated as it only has access to unlabeled examples. To\nincorporate adversaries into pretraining models on either input or feature\nlevel, we find that existing approaches are largely categorized into two\ngroups: memory-free instance-wise attacks imposing worst-case perturbations on\nindividual examples, and memory-based adversaries shared across examples over\niterations. In particular, we review several representative adversarial\npretraining models based on Contrastive Learning (CL) and Masked Image Modeling\n(MIM), respectively, two popular self-supervised pretraining methods in\nliterature. We also review miscellaneous issues about computing overheads,\ninput-/feature-level adversaries, as well as other adversarial pretraining\napproaches beyond the above two groups. Finally, we discuss emerging trends and\nfuture directions about the relations between adversarial and cooperative\npretraining, unifying adversarial CL and MIM pretraining, and the trade-off\nbetween accuracy and robustness in adversarial pretraining.\n", "date": "2022-10-23", "categories": []} {"id": "2210.13982", "title": "Hindering Adversarial Attacks with Implicit Neural Representations", "abstract": " We introduce the Lossy Implicit Network Activation Coding (LINAC) defence, an\ninput transformation which successfully hinders several common adversarial\nattacks on CIFAR-$10$ classifiers for perturbations up to $\\epsilon = 8/255$ in\n$L_\\infty$ norm and $\\epsilon = 0.5$ in $L_2$ norm. Implicit neural\nrepresentations are used to approximately encode pixel colour intensities in\n$2\\text{D}$ images such that classifiers trained on transformed data appear to\nhave robustness to small perturbations without adversarial training or large\ndrops in performance. The seed of the random number generator used to\ninitialise and train the implicit neural representation turns out to be\nnecessary information for stronger generic attacks, suggesting its role as a\nprivate key. We devise a Parametric Bypass Approximation (PBA) attack strategy\nfor key-based defences, which successfully invalidates an existing method in\nthis category. Interestingly, our LINAC defence also hinders some transfer and\nadaptive attacks, including our novel PBA strategy. Our results emphasise the\nimportance of a broad range of customised attacks despite apparent robustness\naccording to standard evaluations. LINAC source code and parameters of defended\nclassifier evaluated throughout this submission are available:\nhttps://github.com/deepmind/linac\n", "date": "2022-10-22", "categories": []} {"id": "2210.12367", "title": "Precisely the Point: Adversarial Augmentations for Faithful and\n Informative Text Generation", "abstract": " Though model robustness has been extensively studied in language\nunderstanding, the robustness of Seq2Seq generation remains understudied. In\nthis paper, we conduct the first quantitative analysis on the robustness of\npre-trained Seq2Seq models. We find that even current SOTA pre-trained Seq2Seq\nmodel (BART) is still vulnerable, which leads to significant degeneration in\nfaithfulness and informativeness for text generation tasks. This motivated us\nto further propose a novel adversarial augmentation framework, namely AdvSeq,\nfor generally improving faithfulness and informativeness of Seq2Seq models via\nenhancing their robustness. AdvSeq automatically constructs two types of\nadversarial augmentations during training, including implicit adversarial\nsamples by perturbing word representations and explicit adversarial samples by\nword swapping, both of which effectively improve Seq2Seq robustness. Extensive\nexperiments on three popular text generation tasks demonstrate that AdvSeq\nsignificantly improves both the faithfulness and informativeness of Seq2Seq\ngeneration under both automatic and human evaluation settings.\n", "date": "2022-10-22", "categories": []} {"id": "2210.12396", "title": "ADDMU: Detection of Far-Boundary Adversarial Examples with Data and\n Model Uncertainty Estimation", "abstract": " Adversarial Examples Detection (AED) is a crucial defense technique against\nadversarial attacks and has drawn increasing attention from the Natural\nLanguage Processing (NLP) community. Despite the surge of new AED methods, our\nstudies show that existing methods heavily rely on a shortcut to achieve good\nperformance. In other words, current search-based adversarial attacks in NLP\nstop once model predictions change, and thus most adversarial examples\ngenerated by those attacks are located near model decision boundaries. To\nsurpass this shortcut and fairly evaluate AED methods, we propose to test AED\nmethods with \\textbf{F}ar \\textbf{B}oundary (\\textbf{FB}) adversarial examples.\nExisting methods show worse than random guess performance under this scenario.\nTo overcome this limitation, we propose a new technique, \\textbf{ADDMU},\n\\textbf{a}dversary \\textbf{d}etection with \\textbf{d}ata and \\textbf{m}odel\n\\textbf{u}ncertainty, which combines two types of uncertainty estimation for\nboth regular and FB adversarial example detection. Our new method outperforms\nprevious methods by 3.6 and 6.0 \\emph{AUC} points under each scenario. Finally,\nour analysis shows that the two types of uncertainty provided by \\textbf{ADDMU}\ncan be leveraged to characterize adversarial examples and identify the ones\nthat contribute most to model's robustness in adversarial training.\n", "date": "2022-10-22", "categories": []} {"id": "2210.12598", "title": "GANI: Global Attacks on Graph Neural Networks via Imperceptible Node\n Injections", "abstract": " Graph neural networks (GNNs) have found successful applications in various\ngraph-related tasks. However, recent studies have shown that many GNNs are\nvulnerable to adversarial attacks. In a vast majority of existing studies,\nadversarial attacks on GNNs are launched via direct modification of the\noriginal graph such as adding/removing links, which may not be applicable in\npractice. In this paper, we focus on a realistic attack operation via injecting\nfake nodes. The proposed Global Attack strategy via Node Injection (GANI) is\ndesigned under the comprehensive consideration of an unnoticeable perturbation\nsetting from both structure and feature domains. Specifically, to make the node\ninjections as imperceptible and effective as possible, we propose a sampling\noperation to determine the degree of the newly injected nodes, and then\ngenerate features and select neighbors for these injected nodes based on the\nstatistical information of features and evolutionary perturbations obtained\nfrom a genetic algorithm, respectively. In particular, the proposed feature\ngeneration mechanism is suitable for both binary and continuous node features.\nExtensive experimental results on benchmark datasets against both general and\ndefended GNNs show strong attack performance of GANI. Moreover, the\nimperceptibility analyses also demonstrate that GANI achieves a relatively\nunnoticeable injection on benchmark datasets.\n", "date": "2022-10-23", "categories": []} {"id": "2210.12952", "title": "Ares: A System-Oriented Wargame Framework for Adversarial ML", "abstract": " Since the discovery of adversarial attacks against machine learning models\nnearly a decade ago, research on adversarial machine learning has rapidly\nevolved into an eternal war between defenders, who seek to increase the\nrobustness of ML models against adversarial attacks, and adversaries, who seek\nto develop better attacks capable of weakening or defeating these defenses.\nThis domain, however, has found little buy-in from ML practitioners, who are\nneither overtly concerned about these attacks affecting their systems in the\nreal world nor are willing to trade off the accuracy of their models in pursuit\nof robustness against these attacks.\n In this paper, we motivate the design and implementation of Ares, an\nevaluation framework for adversarial ML that allows researchers to explore\nattacks and defenses in a realistic wargame-like environment. Ares frames the\nconflict between the attacker and defender as two agents in a reinforcement\nlearning environment with opposing objectives. This allows the introduction of\nsystem-level evaluation metrics such as time to failure and evaluation of\ncomplex strategies such as moving target defenses. We provide the results of\nour initial exploration involving a white-box attacker against an adversarially\ntrained defender.\n", "date": "2022-10-24", "categories": []} {"id": "2210.11513", "title": "Learning Sample Reweighting for Accuracy and Adversarial Robustness", "abstract": " There has been great interest in enhancing the robustness of neural network\nclassifiers to defend against adversarial perturbations through adversarial\ntraining, while balancing the trade-off between robust accuracy and standard\naccuracy. We propose a novel adversarial training framework that learns to\nreweight the loss associated with individual training samples based on a notion\nof class-conditioned margin, with the goal of improving robust generalization.\nWe formulate weighted adversarial training as a bilevel optimization problem\nwith the upper-level problem corresponding to learning a robust classifier, and\nthe lower-level problem corresponding to learning a parametric function that\nmaps from a sample's \\textit{multi-class margin} to an importance weight.\nExtensive experiments demonstrate that our approach consistently improves both\nclean and robust accuracy compared to related methods and state-of-the-art\nbaselines.\n", "date": "2022-10-20", "categories": []} {"id": "2210.11598", "title": "Identifying Human Strategies for Generating Word-Level Adversarial\n Examples", "abstract": " Adversarial examples in NLP are receiving increasing research attention. One\nline of investigation is the generation of word-level adversarial examples\nagainst fine-tuned Transformer models that preserve naturalness and\ngrammaticality. Previous work found that human- and machine-generated\nadversarial examples are comparable in their naturalness and grammatical\ncorrectness. Most notably, humans were able to generate adversarial examples\nmuch more effortlessly than automated attacks. In this paper, we provide a\ndetailed analysis of exactly how humans create these adversarial examples. By\nexploring the behavioural patterns of human workers during the generation\nprocess, we identify statistically significant tendencies based on which words\nhumans prefer to select for adversarial replacement (e.g., word frequencies,\nword saliencies, sentiment) as well as where and when words are replaced in an\ninput sequence. With our findings, we seek to inspire efforts that harness\nhuman strategies for more robust NLP models.\n", "date": "2022-10-20", "categories": []} {"id": "2206.00278", "title": "On the Perils of Cascading Robust Classifiers", "abstract": " Ensembling certifiably robust neural networks is a promising approach for\nimproving the \\emph{certified robust accuracy} of neural models. Black-box\nensembles that assume only query-access to the constituent models (and their\nrobustness certifiers) during prediction are particularly attractive due to\ntheir modular structure. Cascading ensembles are a popular instance of\nblack-box ensembles that appear to improve certified robust accuracies in\npractice. However, we show that the robustness certifier used by a cascading\nensemble is unsound. That is, when a cascading ensemble is certified as locally\nrobust at an input $x$ (with respect to $\\epsilon$), there can be inputs $x'$\nin the $\\epsilon$-ball centered at $x$, such that the cascade's prediction at\n$x'$ is different from $x$ and thus the ensemble is not locally robust. Our\ntheoretical findings are accompanied by empirical results that further\ndemonstrate this unsoundness. We present \\emph{cascade attack} (CasA), an\nadversarial attack against cascading ensembles, and show that: (1) there exists\nan adversarial input for up to 88\\% of the samples where the ensemble claims to\nbe certifiably robust and accurate; and (2) the accuracy of a cascading\nensemble under our attack is as low as 11\\% when it claims to be certifiably\nrobust and accurate on 97\\% of the test set. Our work reveals a critical\npitfall of cascading certifiably robust models by showing that the seemingly\nbeneficial strategy of cascading can actually hurt the robustness of the\nresulting ensemble. Our code is available at\n\\url{https://github.com/TristaChi/ensembleKW}.\n", "date": "2022-06-01", "categories": []} {"id": "2206.09391", "title": "Towards Adversarial Attack on Vision-Language Pre-training Models", "abstract": " While vision-language pre-training model (VLP) has shown revolutionary\nimprovements on various vision-language (V+L) tasks, the studies regarding its\nadversarial robustness remain largely unexplored. This paper studied the\nadversarial attack on popular VLP models and V+L tasks. First, we analyzed the\nperformance of adversarial attacks under different settings. By examining the\ninfluence of different perturbed objects and attack targets, we concluded some\nkey observations as guidance on both designing strong multimodal adversarial\nattack and constructing robust VLP models. Second, we proposed a novel\nmultimodal attack method on the VLP models called Collaborative Multimodal\nAdversarial Attack (Co-Attack), which collectively carries out the attacks on\nthe image modality and the text modality. Experimental results demonstrated\nthat the proposed method achieves improved attack performances on different V+L\ndownstream tasks and VLP models. The analysis observations and novel attack\nmethod hopefully provide new understanding into the adversarial robustness of\nVLP models, so as to contribute their safe and reliable deployment in more\nreal-world scenarios. Code is available at\nhttps://github.com/adversarial-for-goodness/Co-Attack.\n", "date": "2022-06-19", "categories": []} {"id": "2210.11242", "title": "Attacking Motion Estimation with Adversarial Snow", "abstract": " Current adversarial attacks for motion estimation (optical flow) optimize\nsmall per-pixel perturbations, which are unlikely to appear in the real world.\nIn contrast, we exploit a real-world weather phenomenon for a novel attack with\nadversarially optimized snow. At the core of our attack is a differentiable\nrenderer that consistently integrates photorealistic snowflakes with realistic\nmotion into the 3D scene. Through optimization we obtain adversarial snow that\nsignificantly impacts the optical flow while being indistinguishable from\nordinary snow. Surprisingly, the impact of our novel attack is largest on\nmethods that previously showed a high robustness to small L_p perturbations.\n", "date": "2022-10-20", "categories": []} {"id": "2208.03309", "title": "Lethal Dose Conjecture on Data Poisoning", "abstract": " Data poisoning considers an adversary that distorts the training set of\nmachine learning algorithms for malicious purposes. In this work, we bring to\nlight one conjecture regarding the fundamentals of data poisoning, which we\ncall the Lethal Dose Conjecture. The conjecture states: If $n$ clean training\nsamples are needed for accurate predictions, then in a size-$N$ training set,\nonly $\\Theta(N/n)$ poisoned samples can be tolerated while ensuring accuracy.\nTheoretically, we verify this conjecture in multiple cases. We also offer a\nmore general perspective of this conjecture through distribution\ndiscrimination. Deep Partition Aggregation (DPA) and its extension, Finite\nAggregation (FA) are recent approaches for provable defenses against data\npoisoning, where they predict through the majority vote of many base models\ntrained from different subsets of training set using a given learner. The\nconjecture implies that both DPA and FA are (asymptotically) optimal -- if we\nhave the most data-efficient learner, they can turn it into one of the most\nrobust defenses against data poisoning. This outlines a practical approach to\ndeveloping stronger defenses against poisoning via finding data-efficient\nlearners. Empirically, as a proof of concept, we show that by simply using\ndifferent data augmentations for base learners, we can respectively double and\ntriple the certified robustness of DPA on CIFAR-10 and GTSRB without\nsacrificing accuracy.\n", "date": "2022-08-05", "categories": []} {"id": "2210.09153", "title": "Face Pasting Attack", "abstract": " Cujo AI and Adversa AI hosted the MLSec face recognition challenge. The goal\nwas to attack a black box face recognition model with targeted attacks. The\nmodel returned the confidence of the target class and a stealthiness score. For\nan attack to be considered successful the target class has to have the highest\nconfidence among all classes and the stealthiness has to be at least 0.5. In\nour approach we paste the face of a target into a source image. By utilizing\nposition, scaling, rotation and transparency attributes we reached 3rd place.\nOur approach took approximately 200 queries per attack for the final highest\nscore and about ~7.7 queries minimum for a successful attack. The code is\navailable at https://github.com/bunni90/FacePastingAttack .\n", "date": "2022-10-17", "categories": []} {"id": "2210.10253", "title": "On the Adversarial Robustness of Mixture of Experts", "abstract": " Adversarial robustness is a key desirable property of neural networks. It has\nbeen empirically shown to be affected by their sizes, with larger networks\nbeing typically more robust. Recently, Bubeck and Sellke proved a lower bound\non the Lipschitz constant of functions that fit the training data in terms of\ntheir number of parameters. This raises an interesting open question, do -- and\ncan -- functions with more parameters, but not necessarily more computational\ncost, have better robustness? We study this question for sparse Mixture of\nExpert models (MoEs), that make it possible to scale up the model size for a\nroughly constant computational cost. We theoretically show that under certain\nconditions on the routing and the structure of the data, MoEs can have\nsignificantly smaller Lipschitz constants than their dense counterparts. The\nrobustness of MoEs can suffer when the highest weighted experts for an input\nimplement sufficiently different functions. We next empirically evaluate the\nrobustness of MoEs on ImageNet using adversarial attacks and show they are\nindeed more robust than dense models with the same computational cost. We make\nkey observations showing the robustness of MoEs to the choice of experts,\nhighlighting the redundancy of experts in models trained in practice.\n", "date": "2022-10-19", "categories": []} {"id": "2210.10683", "title": "Why Should Adversarial Perturbations be Imperceptible? Rethink the\n Research Paradigm in Adversarial NLP", "abstract": " Textual adversarial samples play important roles in multiple subfields of NLP\nresearch, including security, evaluation, explainability, and data\naugmentation. However, most work mixes all these roles, obscuring the problem\ndefinitions and research goals of the security role that aims to reveal the\npractical concerns of NLP models. In this paper, we rethink the research\nparadigm of textual adversarial samples in security scenarios. We discuss the\ndeficiencies in previous work and propose our suggestions that the research on\nthe Security-oriented adversarial NLP (SoadNLP) should: (1) evaluate their\nmethods on security tasks to demonstrate the real-world concerns; (2) consider\nreal-world attackers' goals, instead of developing impractical methods. To this\nend, we first collect, process, and release a security datasets collection\nAdvbench. Then, we reformalize the task and adjust the emphasis on different\ngoals in SoadNLP. Next, we propose a simple method based on heuristic rules\nthat can easily fulfill the actual adversarial goals to simulate real-world\nattack methods. We conduct experiments on both the attack and the defense sides\non Advbench. Experimental results show that our method has higher practical\nvalue, indicating that the research paradigm in SoadNLP may start from our new\nbenchmark. All the code and data of Advbench can be obtained at\n\\url{https://github.com/thunlp/Advbench}.\n", "date": "2022-10-19", "categories": []} {"id": "2207.00411", "title": "Adversarial Robustness is at Odds with Lazy Training", "abstract": " Recent works show that adversarial examples exist for random neural networks\n[Daniely and Schacham, 2020] and that these examples can be found using a\nsingle step of gradient ascent [Bubeck et al., 2021]. In this work, we extend\nthis line of work to \"lazy training\" of neural networks -- a dominant model in\ndeep learning theory in which neural networks are provably efficiently\nlearnable. We show that over-parametrized neural networks that are guaranteed\nto generalize well and enjoy strong computational guarantees remain vulnerable\nto attacks generated using a single step of gradient ascent.\n", "date": "2022-06-18", "categories": []} {"id": "2207.01531", "title": "Wild Networks: Exposure of 5G Network Infrastructures to Adversarial\n Examples", "abstract": " Fifth Generation (5G) networks must support billions of heterogeneous devices\nwhile guaranteeing optimal Quality of Service (QoS). Such requirements are\nimpossible to meet with human effort alone, and Machine Learning (ML)\nrepresents a core asset in 5G. ML, however, is known to be vulnerable to\nadversarial examples; moreover, as our paper will show, the 5G context is\nexposed to a yet another type of adversarial ML attacks that cannot be\nformalized with existing threat models. Proactive assessment of such risks is\nalso challenging due to the lack of ML-powered 5G equipment available for\nadversarial ML research.\n To tackle these problems, we propose a novel adversarial ML threat model that\nis particularly suited to 5G scenarios, and is agnostic to the precise function\nsolved by ML. In contrast to existing ML threat models, our attacks do not\nrequire any compromise of the target 5G system while still being viable due to\nthe QoS guarantees and the open nature of 5G networks. Furthermore, we propose\nan original framework for realistic ML security assessments based on public\ndata. We proactively evaluate our threat model on 6 applications of ML\nenvisioned in 5G. Our attacks affect both the training and the inference\nstages, can degrade the performance of state-of-the-art ML systems, and have a\nlower entry barrier than previous attacks.\n", "date": "2022-07-04", "categories": []} {"id": "2210.09405", "title": "Towards Generating Adversarial Examples on Mixed-type Data", "abstract": " The existence of adversarial attacks (or adversarial examples) brings huge\nconcern about the machine learning (ML) model's safety issues. For many\nsafety-critical ML tasks, such as financial forecasting, fraudulent detection,\nand anomaly detection, the data samples are usually mixed-type, which contain\nplenty of numerical and categorical features at the same time. However, how to\ngenerate adversarial examples with mixed-type data is still seldom studied. In\nthis paper, we propose a novel attack algorithm M-Attack, which can effectively\ngenerate adversarial examples in mixed-type data. Based on M-Attack, attackers\ncan attempt to mislead the targeted classification model's prediction, by only\nslightly perturbing both the numerical and categorical features in the given\ndata samples. More importantly, by adding designed regularizations, our\ngenerated adversarial examples can evade potential detection models, which\nmakes the attack indeed insidious. Through extensive empirical studies, we\nvalidate the effectiveness and efficiency of our attack method and evaluate the\nrobustness of existing classification models against our proposed attack. The\nexperimental results highlight the feasibility of generating adversarial\nexamples toward machine learning models in real-world applications.\n", "date": "2022-10-17", "categories": []} {"id": "2210.09658", "title": "ROSE: Robust Selective Fine-tuning for Pre-trained Language Models", "abstract": " Even though the large-scale language models have achieved excellent\nperformances, they suffer from various adversarial attacks. A large body of\ndefense methods has been proposed. However, they are still limited due to\nredundant attack search spaces and the inability to defend against various\ntypes of attacks. In this work, we present a novel fine-tuning approach called\n\\textbf{RO}bust \\textbf{SE}letive fine-tuning (\\textbf{ROSE}) to address this\nissue. ROSE conducts selective updates when adapting pre-trained models to\ndownstream tasks, filtering out invaluable and unrobust updates of parameters.\nSpecifically, we propose two strategies: the first-order and second-order ROSE\nfor selecting target robust parameters. The experimental results show that ROSE\nachieves significant improvements in adversarial robustness on various\ndownstream NLP tasks, and the ensemble method even surpasses both variants\nabove. Furthermore, ROSE can be easily incorporated into existing fine-tuning\nmethods to improve their adversarial robustness further. The empirical analysis\nconfirms that ROSE eliminates unrobust spurious updates during fine-tuning,\nleading to solutions corresponding to flatter and wider optima than the\nconventional method. Code is available at\n\\url{https://github.com/jiangllan/ROSE}.\n", "date": "2022-10-18", "categories": []} {"id": "2210.09852", "title": "Scaling Adversarial Training to Large Perturbation Bounds", "abstract": " The vulnerability of Deep Neural Networks to Adversarial Attacks has fuelled\nresearch towards building robust models. While most Adversarial Training\nalgorithms aim at defending attacks constrained within low magnitude Lp norm\nbounds, real-world adversaries are not limited by such constraints. In this\nwork, we aim to achieve adversarial robustness within larger bounds, against\nperturbations that may be perceptible, but do not change human (or Oracle)\nprediction. The presence of images that flip Oracle predictions and those that\ndo not makes this a challenging setting for adversarial robustness. We discuss\nthe ideal goals of an adversarial defense algorithm beyond perceptual limits,\nand further highlight the shortcomings of naively extending existing training\nalgorithms to higher perturbation bounds. In order to overcome these\nshortcomings, we propose a novel defense, Oracle-Aligned Adversarial Training\n(OA-AT), to align the predictions of the network with that of an Oracle during\nadversarial training. The proposed approach achieves state-of-the-art\nperformance at large epsilon bounds (such as an L-inf bound of 16/255 on\nCIFAR-10) while outperforming existing defenses (AWP, TRADES, PGD-AT) at\nstandard bounds (8/255) as well.\n", "date": "2022-10-18", "categories": []} {"id": "2209.09502", "title": "GAMA: Generative Adversarial Multi-Object Scene Attacks", "abstract": " The majority of methods for crafting adversarial attacks have focused on\nscenes with a single dominant object (e.g., images from ImageNet). On the other\nhand, natural scenes include multiple dominant objects that are semantically\nrelated. Thus, it is crucial to explore designing attack strategies that look\nbeyond learning on single-object scenes or attack single-object victim\nclassifiers. Due to their inherent property of strong transferability of\nperturbations to unknown models, this paper presents the first approach of\nusing generative models for adversarial attacks on multi-object scenes. In\norder to represent the relationships between different objects in the input\nscene, we leverage upon the open-sourced pre-trained vision-language model CLIP\n(Contrastive Language-Image Pre-training), with the motivation to exploit the\nencoded semantics in the language space along with the visual space. We call\nthis attack approach Generative Adversarial Multi-object scene Attacks (GAMA).\nGAMA demonstrates the utility of the CLIP model as an attacker's tool to train\nformidable perturbation generators for multi-object scenes. Using the joint\nimage-text features to train the generator, we show that GAMA can craft potent\ntransferable perturbations in order to fool victim classifiers in various\nattack settings. For example, GAMA triggers ~16% more misclassification than\nstate-of-the-art generative approaches in black-box settings where both the\nclassifier architecture and data distribution of the attacker are different\nfrom the victim. Our code is available here:\nhttps://abhishekaich27.github.io/gama.html\n", "date": "2022-09-20", "categories": []} {"id": "2210.03543", "title": "A2: Efficient Automated Attacker for Boosting Adversarial Training", "abstract": " Based on the significant improvement of model robustness by AT (Adversarial\nTraining), various variants have been proposed to further boost the\nperformance. Well-recognized methods have focused on different components of AT\n(e.g., designing loss functions and leveraging additional unlabeled data). It\nis generally accepted that stronger perturbations yield more robust models.\nHowever, how to generate stronger perturbations efficiently is still missed. In\nthis paper, we propose an efficient automated attacker called A2 to boost AT by\ngenerating the optimal perturbations on-the-fly during training. A2 is a\nparameterized automated attacker to search in the attacker space for the best\nattacker against the defense model and examples. Extensive experiments across\ndifferent datasets demonstrate that A2 generates stronger perturbations with\nlow extra cost and reliably improves the robustness of various AT methods\nagainst different attacks.\n", "date": "2022-10-07", "categories": []} {"id": "2210.08472", "title": "Object-Attentional Untargeted Adversarial Attack", "abstract": " Deep neural networks are facing severe threats from adversarial attacks. Most\nexisting black-box attacks fool target model by generating either global\nperturbations or local patches. However, both global perturbations and local\npatches easily cause annoying visual artifacts in adversarial example. Compared\nwith some smooth regions of an image, the object region generally has more\nedges and a more complex texture. Thus small perturbations on it will be more\nimperceptible. On the other hand, the object region is undoubtfully the\ndecisive part of an image to classification tasks. Motivated by these two\nfacts, we propose an object-attentional adversarial attack method for\nuntargeted attack. Specifically, we first generate an object region by\nintersecting the object detection region from YOLOv4 with the salient object\ndetection (SOD) region from HVPNet. Furthermore, we design an activation\nstrategy to avoid the reaction caused by the incomplete SOD. Then, we perform\nan adversarial attack only on the detected object region by leveraging Simple\nBlack-box Adversarial Attack (SimBA). To verify the proposed method, we create\na unique dataset by extracting all the images containing the object defined by\nCOCO from ImageNet-1K, named COCO-Reduced-ImageNet in this paper. Experimental\nresults on ImageNet-1K and COCO-Reduced-ImageNet show that under various system\nsettings, our method yields the adversarial example with better perceptual\nquality meanwhile saving the query budget up to 24.16\\% compared to the\nstate-of-the-art approaches including SimBA.\n", "date": "2022-10-16", "categories": []} {"id": "2210.08579", "title": "Nowhere to Hide: A Lightweight Unsupervised Detector against Adversarial\n Examples", "abstract": " Although deep neural networks (DNNs) have shown impressive performance on\nmany perceptual tasks, they are vulnerable to adversarial examples that are\ngenerated by adding slight but maliciously crafted perturbations to benign\nimages. Adversarial detection is an important technique for identifying\nadversarial examples before they are entered into target DNNs. Previous studies\nto detect adversarial examples either targeted specific attacks or required\nexpensive computation. How design a lightweight unsupervised detector is still\na challenging problem. In this paper, we propose an AutoEncoder-based\nAdversarial Examples (AEAE) detector, that can guard DNN models by detecting\nadversarial examples with low computation in an unsupervised manner. The AEAE\nincludes only a shallow autoencoder but plays two roles. First, a well-trained\nautoencoder has learned the manifold of benign examples. This autoencoder can\nproduce a large reconstruction error for adversarial images with large\nperturbations, so we can detect significantly perturbed adversarial examples\nbased on the reconstruction error. Second, the autoencoder can filter out the\nsmall noise and change the DNN's prediction on adversarial examples with small\nperturbations. It helps to detect slightly perturbed adversarial examples based\non the prediction distance. To cover these two cases, we utilize the\nreconstruction error and prediction distance from benign images to construct a\ntwo-tuple feature set and train an adversarial detector using the isolation\nforest algorithm. We show empirically that the AEAE is unsupervised and\ninexpensive against the most state-of-the-art attacks. Through the detection in\nthese two cases, there is nowhere to hide adversarial examples.\n", "date": "2022-10-16", "categories": []} {"id": "2210.08701", "title": "ODG-Q: Robust Quantization via Online Domain Generalization", "abstract": " Quantizing neural networks to low-bitwidth is important for model deployment\non resource-limited edge hardware. Although a quantized network has a smaller\nmodel size and memory footprint, it is fragile to adversarial attacks. However,\nfew methods study the robustness and training efficiency of quantized networks.\nTo this end, we propose a new method by recasting robust quantization as an\nonline domain generalization problem, termed ODG-Q, which generates diverse\nadversarial data at a low cost during training. ODG-Q consistently outperforms\nexisting works against various adversarial attacks. For example, on CIFAR-10\ndataset, ODG-Q achieves 49.2% average improvements under five common white-box\nattacks and 21.7% average improvements under five common black-box attacks,\nwith a training cost similar to that of natural training (viz. without\nadversaries). To our best knowledge, this work is the first work that trains\nboth quantized and binary neural networks on ImageNet that consistently improve\nrobustness under different attacks. We also provide a theoretical insight of\nODG-Q that accounts for the bound of model risk on attacked data.\n", "date": "2022-10-17", "categories": []} {"id": "2210.08929", "title": "DE-CROP: Data-efficient Certified Robustness for Pretrained Classifiers", "abstract": " Certified defense using randomized smoothing is a popular technique to\nprovide robustness guarantees for deep neural networks against l2 adversarial\nattacks. Existing works use this technique to provably secure a pretrained\nnon-robust model by training a custom denoiser network on entire training data.\nHowever, access to the training set may be restricted to a handful of data\nsamples due to constraints such as high transmission cost and the proprietary\nnature of the data. Thus, we formulate a novel problem of \"how to certify the\nrobustness of pretrained models using only a few training samples\". We observe\nthat training the custom denoiser directly using the existing techniques on\nlimited samples yields poor certification. To overcome this, our proposed\napproach (DE-CROP) generates class-boundary and interpolated samples\ncorresponding to each training sample, ensuring high diversity in the feature\nspace of the pretrained classifier. We train the denoiser by maximizing the\nsimilarity between the denoised output of the generated sample and the original\ntraining sample in the classifier's logit space. We also perform distribution\nlevel matching using domain discriminator and maximum mean discrepancy that\nyields further benefit. In white box setup, we obtain significant improvements\nover the baseline on multiple benchmark datasets and also report similar\nperformance under the challenging black box setup.\n", "date": "2022-10-17", "categories": []} {"id": "2207.08803", "title": "Adversarial Pixel Restoration as a Pretext Task for Transferable\n Perturbations", "abstract": " Transferable adversarial attacks optimize adversaries from a pretrained\nsurrogate model and known label space to fool the unknown black-box models.\nTherefore, these attacks are restricted by the availability of an effective\nsurrogate model. In this work, we relax this assumption and propose Adversarial\nPixel Restoration as a self-supervised alternative to train an effective\nsurrogate model from scratch under the condition of no labels and few data\nsamples. Our training approach is based on a min-max scheme which reduces\noverfitting via an adversarial objective and thus optimizes for a more\ngeneralizable surrogate model. Our proposed attack is complimentary to the\nadversarial pixel restoration and is independent of any task specific objective\nas it can be launched in a self-supervised manner. We successfully demonstrate\nthe adversarial transferability of our approach to Vision Transformers as well\nas Convolutional Neural Networks for the tasks of classification, object\ndetection, and video segmentation. Our training approach improves the\ntransferability of the baseline unsupervised training method by 16.4% on\nImageNet val. set. Our codes & pre-trained surrogate models are available at:\nhttps://github.com/HashmatShadab/APR\n", "date": "2022-07-18", "categories": []} {"id": "2210.03372", "title": "Pre-trained Adversarial Perturbations", "abstract": " Self-supervised pre-training has drawn increasing attention in recent years\ndue to its superior performance on numerous downstream tasks after fine-tuning.\nHowever, it is well-known that deep learning models lack the robustness to\nadversarial examples, which can also invoke security issues to pre-trained\nmodels, despite being less explored. In this paper, we delve into the\nrobustness of pre-trained models by introducing Pre-trained Adversarial\nPerturbations (PAPs), which are universal perturbations crafted for the\npre-trained models to maintain the effectiveness when attacking fine-tuned ones\nwithout any knowledge of the downstream tasks. To this end, we propose a\nLow-Level Layer Lifting Attack (L4A) method to generate effective PAPs by\nlifting the neuron activations of low-level layers of the pre-trained models.\nEquipped with an enhanced noise augmentation strategy, L4A is effective at\ngenerating more transferable PAPs against fine-tuned models. Extensive\nexperiments on typical pre-trained vision models and ten downstream tasks\ndemonstrate that our method improves the attack success rate by a large margin\ncompared with state-of-the-art methods.\n", "date": "2022-10-07", "categories": []} {"id": "2210.07540", "title": "When Adversarial Training Meets Vision Transformers: Recipes from\n Training to Architecture", "abstract": " Vision Transformers (ViTs) have recently achieved competitive performance in\nbroad vision tasks. Unfortunately, on popular threat models, naturally trained\nViTs are shown to provide no more adversarial robustness than convolutional\nneural networks (CNNs). Adversarial training is still required for ViTs to\ndefend against such adversarial attacks. In this paper, we provide the first\nand comprehensive study on the adversarial training recipe of ViTs via\nextensive evaluation of various training techniques across benchmark datasets.\nWe find that pre-training and SGD optimizer are necessary for ViTs' adversarial\ntraining. Further considering ViT as a new type of model architecture, we\ninvestigate its adversarial robustness from the perspective of its unique\narchitectural components. We find, when randomly masking gradients from some\nattention blocks or masking perturbations on some patches during adversarial\ntraining, the adversarial robustness of ViTs can be remarkably improved, which\nmay potentially open up a line of work to explore the architectural information\ninside the newly designed models like ViTs. Our code is available at\nhttps://github.com/mo666666/When-Adversarial-Training-Meets-Vision-Transformers.\n", "date": "2022-10-14", "categories": []} {"id": "2210.06589", "title": "Adversarial Attack Against Image-Based Localization Neural Networks", "abstract": " In this paper, we present a proof of concept for adversarially attacking the\nimage-based localization module of an autonomous vehicle. This attack aims to\ncause the vehicle to perform a wrong navigational decisions and prevent it from\nreaching a desired predefined destination in a simulated urban environment. A\ndatabase of rendered images allowed us to train a deep neural network that\nperforms a localization task and implement, develop and assess the adversarial\npattern. Our tests show that using this adversarial attack we can prevent the\nvehicle from turning at a given intersection. This is done by manipulating the\nvehicle's navigational module to falsely estimate its current position and thus\nfail to initialize the turning procedure until the vehicle misses the last\nopportunity to perform a safe turn in a given intersection.\n", "date": "2022-10-11", "categories": []} {"id": "2210.06787", "title": "Observed Adversaries in Deep Reinforcement Learning", "abstract": " In this work, we point out the problem of observed adversaries for deep\npolicies. Specifically, recent work has shown that deep reinforcement learning\nis susceptible to adversarial attacks where an observed adversary acts under\nenvironmental constraints to invoke natural but adversarial observations. This\nsetting is particularly relevant for HRI since HRI-related robots are expected\nto perform their tasks around and with other agents. In this work, we\ndemonstrate that this effect persists even with low-dimensional observations.\nWe further show that these adversarial attacks transfer across victims, which\npotentially allows malicious attackers to train an adversary without access to\nthe target victim.\n", "date": "2022-10-13", "categories": []} {"id": "2210.06888", "title": "AccelAT: A Framework for Accelerating the Adversarial Training of Deep\n Neural Networks through Accuracy Gradient", "abstract": " Adversarial training is exploited to develop a robust Deep Neural Network\n(DNN) model against the malicious altered data. These attacks may have\ncatastrophic effects on DNN models but are indistinguishable for a human being.\nFor example, an external attack can modify an image adding noises invisible for\na human eye, but a DNN model misclassified the image. A key objective for\ndeveloping robust DNN models is to use a learning algorithm that is fast but\ncan also give model that is robust against different types of adversarial\nattacks. Especially for adversarial training, enormously long training times\nare needed for obtaining high accuracy under many different types of\nadversarial samples generated using different adversarial attack techniques.\n This paper aims at accelerating the adversarial training to enable fast\ndevelopment of robust DNN models against adversarial attacks. The general\nmethod for improving the training performance is the hyperparameters\nfine-tuning, where the learning rate is one of the most crucial\nhyperparameters. By modifying its shape (the value over time) and value during\nthe training, we can obtain a model robust to adversarial attacks faster than\nstandard training.\n First, we conduct experiments on two different datasets (CIFAR10, CIFAR100),\nexploring various techniques. Then, this analysis is leveraged to develop a\nnovel fast training methodology, AccelAT, which automatically adjusts the\nlearning rate for different epochs based on the accuracy gradient. The\nexperiments show comparable results with the related works, and in several\nexperiments, the adversarial training of DNNs using our AccelAT framework is\nconducted up to 2 times faster than the existing techniques. Thus, our findings\nboost the speed of adversarial training in an era in which security and\nperformance are fundamental optimization objectives in DNN-based applications.\n", "date": "2022-10-13", "categories": []} {"id": "2206.09491", "title": "On the Limitations of Stochastic Pre-processing Defenses", "abstract": " Defending against adversarial examples remains an open problem. A common\nbelief is that randomness at inference increases the cost of finding\nadversarial inputs. An example of such a defense is to apply a random\ntransformation to inputs prior to feeding them to the model. In this paper, we\nempirically and theoretically investigate such stochastic pre-processing\ndefenses and demonstrate that they are flawed. First, we show that most\nstochastic defenses are weaker than previously thought; they lack sufficient\nrandomness to withstand even standard attacks like projected gradient descent.\nThis casts doubt on a long-held assumption that stochastic defenses invalidate\nattacks designed to evade deterministic defenses and force attackers to\nintegrate the Expectation over Transformation (EOT) concept. Second, we show\nthat stochastic defenses confront a trade-off between adversarial robustness\nand model invariance; they become less effective as the defended model acquires\nmore invariance to their randomization. Future work will need to decouple these\ntwo effects. We also discuss implications and guidance for future research.\n", "date": "2022-06-19", "categories": []} {"id": "2210.02191", "title": "On Attacking Out-Domain Uncertainty Estimation in Deep Neural Networks", "abstract": " In many applications with real-world consequences, it is crucial to develop\nreliable uncertainty estimation for the predictions made by the AI decision\nsystems. Targeting at the goal of estimating uncertainty, various deep neural\nnetwork (DNN) based uncertainty estimation algorithms have been proposed.\nHowever, the robustness of the uncertainty returned by these algorithms has not\nbeen systematically explored. In this work, to raise the awareness of the\nresearch community on robust uncertainty estimation, we show that\nstate-of-the-art uncertainty estimation algorithms could fail catastrophically\nunder our proposed adversarial attack despite their impressive performance on\nuncertainty estimation. In particular, we aim at attacking the out-domain\nuncertainty estimation: under our attack, the uncertainty model would be fooled\nto make high-confident predictions for the out-domain data, which they\noriginally would have rejected. Extensive experimental results on various\nbenchmark image datasets show that the uncertainty estimated by\nstate-of-the-art methods could be easily corrupted by our attack.\n", "date": "2022-10-03", "categories": []} {"id": "2210.05927", "title": "Efficient Adversarial Training without Attacking: Worst-Case-Aware\n Robust Reinforcement Learning", "abstract": " Recent studies reveal that a well-trained deep reinforcement learning (RL)\npolicy can be particularly vulnerable to adversarial perturbations on input\nobservations. Therefore, it is crucial to train RL agents that are robust\nagainst any attacks with a bounded budget. Existing robust training methods in\ndeep RL either treat correlated steps separately, ignoring the robustness of\nlong-term rewards, or train the agents and RL-based attacker together, doubling\nthe computational burden and sample complexity of the training process. In this\nwork, we propose a strong and efficient robust training framework for RL, named\nWorst-case-aware Robust RL (WocaR-RL) that directly estimates and optimizes the\nworst-case reward of a policy under bounded l_p attacks without requiring extra\nsamples for learning an attacker. Experiments on multiple environments show\nthat WocaR-RL achieves state-of-the-art performance under various strong\nattacks, and obtains significantly higher training efficiency than prior\nstate-of-the-art robust training methods. The code of this work is available at\nhttps://github.com/umd-huang-lab/WocaR-RL.\n", "date": "2022-10-12", "categories": []} {"id": "2210.05968", "title": "Boosting the Transferability of Adversarial Attacks with Reverse\n Adversarial Perturbation", "abstract": " Deep neural networks (DNNs) have been shown to be vulnerable to adversarial\nexamples, which can produce erroneous predictions by injecting imperceptible\nperturbations. In this work, we study the transferability of adversarial\nexamples, which is significant due to its threat to real-world applications\nwhere model architecture or parameters are usually unknown. Many existing works\nreveal that the adversarial examples are likely to overfit the surrogate model\nthat they are generated from, limiting its transfer attack performance against\ndifferent target models. To mitigate the overfitting of the surrogate model, we\npropose a novel attack method, dubbed reverse adversarial perturbation (RAP).\nSpecifically, instead of minimizing the loss of a single adversarial point, we\nadvocate seeking adversarial example located at a region with unified low loss\nvalue, by injecting the worst-case perturbation (the reverse adversarial\nperturbation) for each step of the optimization procedure. The adversarial\nattack with RAP is formulated as a min-max bi-level optimization problem. By\nintegrating RAP into the iterative process for attacks, our method can find\nmore stable adversarial examples which are less sensitive to the changes of\ndecision boundary, mitigating the overfitting of the surrogate model.\nComprehensive experimental comparisons demonstrate that RAP can significantly\nboost adversarial transferability. Furthermore, RAP can be naturally combined\nwith many existing black-box attack techniques, to further boost the\ntransferability. When attacking a real-world image recognition system, Google\nCloud Vision API, we obtain 22% performance improvement of targeted attacks\nover the compared method. Our codes are available at\nhttps://github.com/SCLBD/Transfer_attack_RAP.\n", "date": "2022-10-12", "categories": []} {"id": "2210.06077", "title": "Double Bubble, Toil and Trouble: Enhancing Certified Robustness through\n Transitivity", "abstract": " In response to subtle adversarial examples flipping classifications of neural\nnetwork models, recent research has promoted certified robustness as a\nsolution. There, invariance of predictions to all norm-bounded attacks is\nachieved through randomised smoothing of network inputs. Today's\nstate-of-the-art certifications make optimal use of the class output scores at\nthe input instance under test: no better radius of certification (under the\n$L_2$ norm) is possible given only these score. However, it is an open question\nas to whether such lower bounds can be improved using local information around\nthe instance under test. In this work, we demonstrate how today's \"optimal\"\ncertificates can be improved by exploiting both the transitivity of\ncertifications, and the geometry of the input space, giving rise to what we\nterm Geometrically-Informed Certified Robustness. By considering the smallest\ndistance to points on the boundary of a set of certifications this approach\nimproves certifications for more than $80\\%$ of Tiny-Imagenet instances,\nyielding an on average $5 \\%$ increase in the associated certification. When\nincorporating training time processes that enhance the certified radius, our\ntechnique shows even more promising results, with a uniform $4$ percentage\npoint increase in the achieved certified radius.\n", "date": "2022-10-12", "categories": []} {"id": "2206.03466", "title": "Adversarial Reprogramming Revisited", "abstract": " Adversarial reprogramming, introduced by Elsayed, Goodfellow, and\nSohl-Dickstein, seeks to repurpose a neural network to perform a different\ntask, by manipulating its input without modifying its weights. We prove that\ntwo-layer ReLU neural networks with random weights can be adversarially\nreprogrammed to achieve arbitrarily high accuracy on Bernoulli data models over\nhypercube vertices, provided the network width is no greater than its input\ndimension. We also substantially strengthen a recent result of Phuong and\nLampert on directional convergence of gradient flow, and obtain as a corollary\nthat training two-layer ReLU neural networks on orthogonally separable datasets\ncan cause their adversarial reprogramming to fail. We support these theoretical\nresults by experiments that demonstrate that, as long as batch normalisation\nlayers are suitably initialised, even untrained networks with random weights\nare susceptible to adversarial reprogramming. This is in contrast to\nobservations in several recent works that suggested that adversarial\nreprogramming is not possible for untrained networks to any degree of\nreliability.\n", "date": "2022-06-07", "categories": []} {"id": "2206.12227", "title": "Adversarial Robustness of Deep Neural Networks: A Survey from a Formal\n Verification Perspective", "abstract": " Neural networks have been widely applied in security applications such as\nspam and phishing detection, intrusion prevention, and malware detection. This\nblack-box method, however, often has uncertainty and poor explainability in\napplications. Furthermore, neural networks themselves are often vulnerable to\nadversarial attacks. For those reasons, there is a high demand for trustworthy\nand rigorous methods to verify the robustness of neural network models.\nAdversarial robustness, which concerns the reliability of a neural network when\ndealing with maliciously manipulated inputs, is one of the hottest topics in\nsecurity and machine learning. In this work, we survey existing literature in\nadversarial robustness verification for neural networks and collect 39\ndiversified research works across machine learning, security, and software\nengineering domains. We systematically analyze their approaches, including how\nrobustness is formulated, what verification techniques are used, and the\nstrengths and limitations of each technique. We provide a taxonomy from a\nformal verification perspective for a comprehensive understanding of this\ntopic. We classify the existing techniques based on property specification,\nproblem reduction, and reasoning strategies. We also demonstrate representative\ntechniques that have been applied in existing studies with a sample model.\nFinally, we discuss open questions for future research.\n", "date": "2022-06-24", "categories": []} {"id": "2209.14826", "title": "Towards Lightweight Black-Box Attacks against Deep Neural Networks", "abstract": " Black-box attacks can generate adversarial examples without accessing the\nparameters of target model, largely exacerbating the threats of deployed deep\nneural networks (DNNs). However, previous works state that black-box attacks\nfail to mislead target models when their training data and outputs are\ninaccessible. In this work, we argue that black-box attacks can pose practical\nattacks in this extremely restrictive scenario where only several test samples\nare available. Specifically, we find that attacking the shallow layers of DNNs\ntrained on a few test samples can generate powerful adversarial examples. As\nonly a few samples are required, we refer to these attacks as lightweight\nblack-box attacks. The main challenge to promoting lightweight attacks is to\nmitigate the adverse impact caused by the approximation error of shallow\nlayers. As it is hard to mitigate the approximation error with few available\nsamples, we propose Error TransFormer (ETF) for lightweight attacks. Namely,\nETF transforms the approximation error in the parameter space into a\nperturbation in the feature space and alleviates the error by disturbing\nfeatures. In experiments, lightweight black-box attacks with the proposed ETF\nachieve surprising results. For example, even if only 1 sample per category\navailable, the attack success rate in lightweight black-box attacks is only\nabout 3% lower than that of the black-box attacks with complete training data.\n", "date": "2022-09-29", "categories": []} {"id": "2210.05118", "title": "Boosting Adversarial Robustness From The Perspective of Effective Margin\n Regularization", "abstract": " The adversarial vulnerability of deep neural networks (DNNs) has been\nactively investigated in the past several years. This paper investigates the\nscale-variant property of cross-entropy loss, which is the most commonly used\nloss function in classification tasks, and its impact on the effective margin\nand adversarial robustness of deep neural networks. Since the loss function is\nnot invariant to logit scaling, increasing the effective weight norm will make\nthe loss approach zero and its gradient vanish while the effective margin is\nnot adequately maximized. On typical DNNs, we demonstrate that, if not properly\nregularized, the standard training does not learn large effective margins and\nleads to adversarial vulnerability. To maximize the effective margins and learn\na robust DNN, we propose to regularize the effective weight norm during\ntraining. Our empirical study on feedforward DNNs demonstrates that the\nproposed effective margin regularization (EMR) learns large effective margins\nand boosts the adversarial robustness in both standard and adversarial\ntraining. On large-scale models, we show that EMR outperforms basic adversarial\ntraining, TRADES and two regularization baselines with substantial improvement.\nMoreover, when combined with several strong adversarial defense methods (MART\nand MAIL), our EMR further boosts the robustness.\n", "date": "2022-10-11", "categories": []} {"id": "2210.05373", "title": "Stable and Efficient Adversarial Training through Local Linearization", "abstract": " There has been a recent surge in single-step adversarial training as it shows\nrobustness and efficiency. However, a phenomenon referred to as ``catastrophic\noverfitting\" has been observed, which is prevalent in single-step defenses and\nmay frustrate attempts to use FGSM adversarial training. To address this issue,\nwe propose a novel method, Stable and Efficient Adversarial Training (SEAT),\nwhich mitigates catastrophic overfitting by harnessing on local properties that\ndistinguish a robust model from that of a catastrophic overfitted model. The\nproposed SEAT has strong theoretical justifications, in that minimizing the\nSEAT loss can be shown to favour smooth empirical risk, thereby leading to\nrobustness. Experimental results demonstrate that the proposed method\nsuccessfully mitigates catastrophic overfitting, yielding superior performance\namongst efficient defenses. Our single-step method can reach 51% robust\naccuracy for CIFAR-10 with $l_\\infty$ perturbations of radius $8/255$ under a\nstrong PGD-50 attack, matching the performance of a 10-step iterative\nadversarial training at merely 3% computational cost.\n", "date": "2022-10-11", "categories": []} {"id": "2210.03895", "title": "ViewFool: Evaluating the Robustness of Visual Recognition to Adversarial\n Viewpoints", "abstract": " Recent studies have demonstrated that visual recognition models lack\nrobustness to distribution shift. However, current work mainly considers model\nrobustness to 2D image transformations, leaving viewpoint changes in the 3D\nworld less explored. In general, viewpoint changes are prevalent in various\nreal-world applications (e.g., autonomous driving), making it imperative to\nevaluate viewpoint robustness. In this paper, we propose a novel method called\nViewFool to find adversarial viewpoints that mislead visual recognition models.\nBy encoding real-world objects as neural radiance fields (NeRF), ViewFool\ncharacterizes a distribution of diverse adversarial viewpoints under an\nentropic regularizer, which helps to handle the fluctuations of the real camera\npose and mitigate the reality gap between the real objects and their neural\nrepresentations. Experiments validate that the common image classifiers are\nextremely vulnerable to the generated adversarial viewpoints, which also\nexhibit high cross-model transferability. Based on ViewFool, we introduce\nImageNet-V, a new out-of-distribution dataset for benchmarking viewpoint\nrobustness of image classifiers. Evaluation results on 40 classifiers with\ndiverse architectures, objective functions, and data augmentations reveal a\nsignificant drop in model performance when tested on ImageNet-V, which provides\na possibility to leverage ViewFool as an effective data augmentation strategy\nto improve viewpoint robustness.\n", "date": "2022-10-08", "categories": []} {"id": "2210.04213", "title": "Towards Understanding and Boosting Adversarial Transferability from a\n Distribution Perspective", "abstract": " Transferable adversarial attacks against Deep neural networks (DNNs) have\nreceived broad attention in recent years. An adversarial example can be crafted\nby a surrogate model and then attack the unknown target model successfully,\nwhich brings a severe threat to DNNs. The exact underlying reasons for the\ntransferability are still not completely understood. Previous work mostly\nexplores the causes from the model perspective, e.g., decision boundary, model\narchitecture, and model capacity. adversarial attacks against Deep neural\nnetworks (DNNs) have received broad attention in recent years. An adversarial\nexample can be crafted by a surrogate model and then attack the unknown target\nmodel successfully, which brings a severe threat to DNNs. The exact underlying\nreasons for the transferability are still not completely understood. Previous\nwork mostly explores the causes from the model perspective. Here, we\ninvestigate the transferability from the data distribution perspective and\nhypothesize that pushing the image away from its original distribution can\nenhance the adversarial transferability. To be specific, moving the image out\nof its original distribution makes different models hardly classify the image\ncorrectly, which benefits the untargeted attack, and dragging the image into\nthe target distribution misleads the models to classify the image as the target\nclass, which benefits the targeted attack. Towards this end, we propose a novel\nmethod that crafts adversarial examples by manipulating the distribution of the\nimage. We conduct comprehensive transferable attacks against multiple DNNs to\ndemonstrate the effectiveness of the proposed method. Our method can\nsignificantly improve the transferability of the crafted attacks and achieves\nstate-of-the-art performance in both untargeted and targeted scenarios,\nsurpassing the previous best method by up to 40$\\%$ in some cases.\n", "date": "2022-10-09", "categories": []} {"id": "2210.04311", "title": "Pruning Adversarially Robust Neural Networks without Adversarial\n Examples", "abstract": " Adversarial pruning compresses models while preserving robustness. Current\nmethods require access to adversarial examples during pruning. This\nsignificantly hampers training efficiency. Moreover, as new adversarial attacks\nand training methods develop at a rapid rate, adversarial pruning methods need\nto be modified accordingly to keep up. In this work, we propose a novel\nframework to prune a previously trained robust neural network while maintaining\nadversarial robustness, without further generating adversarial examples. We\nleverage concurrent self-distillation and pruning to preserve knowledge in the\noriginal model as well as regularizing the pruned model via the Hilbert-Schmidt\nInformation Bottleneck. We comprehensively evaluate our proposed framework and\nshow its superior performance in terms of both adversarial robustness and\nefficiency when pruning architectures trained on the MNIST, CIFAR-10, and\nCIFAR-100 datasets against five state-of-the-art attacks. Code is available at\nhttps://github.com/neu-spiral/PwoA/.\n", "date": "2022-10-09", "categories": []} {"id": "2210.04591", "title": "Universal Adversarial Perturbations: Efficiency on a small image dataset", "abstract": " Although neural networks perform very well on the image classification task,\nthey are still vulnerable to adversarial perturbations that can fool a neural\nnetwork without visibly changing an input image. A paper has shown the\nexistence of Universal Adversarial Perturbations which when added to any image\nwill fool the neural network with a very high probability. In this paper we\nwill try to reproduce the experience of the Universal Adversarial Perturbations\npaper, but on a smaller neural network architecture and training set, in order\nto be able to study the efficiency of the computed perturbation.\n", "date": "2022-10-10", "categories": []} {"id": "2210.04886", "title": "Revisiting adapters with adversarial training", "abstract": " While adversarial training is generally used as a defense mechanism, recent\nworks show that it can also act as a regularizer. By co-training a neural\nnetwork on clean and adversarial inputs, it is possible to improve\nclassification accuracy on the clean, non-adversarial inputs. We demonstrate\nthat, contrary to previous findings, it is not necessary to separate batch\nstatistics when co-training on clean and adversarial inputs, and that it is\nsufficient to use adapters with few domain-specific parameters for each type of\ninput. We establish that using the classification token of a Vision Transformer\n(ViT) as an adapter is enough to match the classification performance of dual\nnormalization layers, while using significantly less additional parameters.\nFirst, we improve upon the top-1 accuracy of a non-adversarially trained\nViT-B16 model by +1.12% on ImageNet (reaching 83.76% top-1 accuracy). Second,\nand more importantly, we show that training with adapters enables model soups\nthrough linear combinations of the clean and adversarial tokens. These model\nsoups, which we call adversarial model soups, allow us to trade-off between\nclean and robust accuracy without sacrificing efficiency. Finally, we show that\nwe can easily adapt the resulting models in the face of distribution shifts.\nOur ViT-B16 obtains top-1 accuracies on ImageNet variants that are on average\n+4.00% better than those obtained with Masked Autoencoders.\n", "date": "2022-10-10", "categories": []} {"id": "2210.03349", "title": "Game-Theoretic Understanding of Misclassification", "abstract": " This paper analyzes various types of image misclassification from a\ngame-theoretic view. Particularly, we consider the misclassification of clean,\nadversarial, and corrupted images and characterize it through the distribution\nof multi-order interactions. We discover that the distribution of multi-order\ninteractions varies across the types of misclassification. For example,\nmisclassified adversarial images have a higher strength of high-order\ninteractions than correctly classified clean images, which indicates that\nadversarial perturbations create spurious features that arise from complex\ncooperation between pixels. By contrast, misclassified corrupted images have a\nlower strength of low-order interactions than correctly classified clean\nimages, which indicates that corruptions break the local cooperation between\npixels. We also provide the first analysis of Vision Transformers using\ninteractions. We found that Vision Transformers show a different tendency in\nthe distribution of interactions from that in CNNs, and this implies that they\nexploit the features that CNNs do not use for the prediction. Our study\ndemonstrates that the recent game-theoretic analysis of deep learning models\ncan be broadened to analyze various malfunctions of deep learning models\nincluding Vision Transformers by using the distribution, order, and sign of\ninteractions.\n", "date": "2022-10-07", "categories": []} {"id": "2210.03429", "title": "Adversarially Robust Prototypical Few-shot Segmentation with Neural-ODEs", "abstract": " Few-shot Learning (FSL) methods are being adopted in settings where data is\nnot abundantly available. This is especially seen in medical domains where the\nannotations are expensive to obtain. Deep Neural Networks have been shown to be\nvulnerable to adversarial attacks. This is even more severe in the case of FSL\ndue to the lack of a large number of training examples. In this paper, we\nprovide a framework to make few-shot segmentation models adversarially robust\nin the medical domain where such attacks can severely impact the decisions made\nby clinicians who use them. We propose a novel robust few-shot segmentation\nframework, Prototypical Neural Ordinary Differential Equation (PNODE), that\nprovides defense against gradient-based adversarial attacks. We show that our\nframework is more robust compared to traditional adversarial defense mechanisms\nsuch as adversarial training. Adversarial training involves increased training\ntime and shows robustness to limited types of attacks depending on the type of\nadversarial examples seen during training. Our proposed framework generalises\nwell to common adversarial attacks like FGSM, PGD and SMIA while having the\nmodel parameters comparable to the existing few-shot segmentation models. We\nshow the effectiveness of our proposed approach on three publicly available\nmulti-organ segmentation datasets in both in-domain and cross-domain settings\nby attacking the support and query sets without the need for ad-hoc adversarial\ntraining.\n", "date": "2022-10-07", "categories": []} {"id": "2210.02447", "title": "Practical Adversarial Attacks on Spatiotemporal Traffic Forecasting\n Models", "abstract": " Machine learning based traffic forecasting models leverage sophisticated\nspatiotemporal auto-correlations to provide accurate predictions of city-wide\ntraffic states. However, existing methods assume a reliable and unbiased\nforecasting environment, which is not always available in the wild. In this\nwork, we investigate the vulnerability of spatiotemporal traffic forecasting\nmodels and propose a practical adversarial spatiotemporal attack framework.\nSpecifically, instead of simultaneously attacking all geo-distributed data\nsources, an iterative gradient-guided node saliency method is proposed to\nidentify the time-dependent set of victim nodes. Furthermore, we devise a\nspatiotemporal gradient descent based scheme to generate real-valued\nadversarial traffic states under a perturbation constraint. Meanwhile, we\ntheoretically demonstrate the worst performance bound of adversarial traffic\nforecasting attacks. Extensive experiments on two real-world datasets show that\nthe proposed two-step framework achieves up to $67.8\\%$ performance degradation\non various advanced spatiotemporal forecasting models. Remarkably, we also show\nthat adversarial training with our proposed attacks can significantly improve\nthe robustness of spatiotemporal traffic forecasting models. Our code is\navailable in \\url{https://github.com/luckyfan-cs/ASTFA}.\n", "date": "2022-10-05", "categories": []} {"id": "2210.02502", "title": "On Adversarial Robustness of Deep Image Deblurring", "abstract": " Recent approaches employ deep learning-based solutions for the recovery of a\nsharp image from its blurry observation. This paper introduces adversarial\nattacks against deep learning-based image deblurring methods and evaluates the\nrobustness of these neural networks to untargeted and targeted attacks. We\ndemonstrate that imperceptible distortion can significantly degrade the\nperformance of state-of-the-art deblurring networks, even producing drastically\ndifferent content in the output, indicating the strong need to include\nadversarially robust training not only in classification but also for image\nrecovery.\n", "date": "2022-10-05", "categories": []} {"id": "2210.02577", "title": "A Closer Look at Robustness to L-infinity and Spatial Perturbations and\n their Composition", "abstract": " In adversarial machine learning, the popular $\\ell_\\infty$ threat model has\nbeen the focus of much previous work. While this mathematical definition of\nimperceptibility successfully captures an infinite set of additive image\ntransformations that a model should be robust to, this is only a subset of all\ntransformations which leave the semantic label of an image unchanged. Indeed,\nprevious work also considered robustness to spatial attacks as well as other\nsemantic transformations; however, designing defense methods against the\ncomposition of spatial and $\\ell_{\\infty}$ perturbations remains relatively\nunderexplored. In the following, we improve the understanding of this seldom\ninvestigated compositional setting. We prove theoretically that no linear\nclassifier can achieve more than trivial accuracy against a composite adversary\nin a simple statistical setting, illustrating its difficulty. We then\ninvestigate how state-of-the-art $\\ell_{\\infty}$ defenses can be adapted to\nthis novel threat model and study their performance against compositional\nattacks. We find that our newly proposed TRADES$_{\\text{All}}$ strategy\nperforms the strongest of all. Analyzing its logit's Lipschitz constant for RT\ntransformations of different sizes, we find that TRADES$_{\\text{All}}$ remains\nstable over a wide range of RT transformations with and without $\\ell_\\infty$\nperturbations.\n", "date": "2022-10-05", "categories": []} {"id": "2210.02618", "title": "Dynamic Stochastic Ensemble with Adversarial Robust Lottery Ticket\n Subnetworks", "abstract": " Adversarial attacks are considered the intrinsic vulnerability of CNNs.\nDefense strategies designed for attacks have been stuck in the adversarial\nattack-defense arms race, reflecting the imbalance between attack and defense.\nDynamic Defense Framework (DDF) recently changed the passive safety status quo\nbased on the stochastic ensemble model. The diversity of subnetworks, an\nessential concern in the DDF, can be effectively evaluated by the adversarial\ntransferability between different networks. Inspired by the poor adversarial\ntransferability between subnetworks of scratch tickets with various remaining\nratios, we propose a method to realize the dynamic stochastic ensemble defense\nstrategy. We discover the adversarial transferable diversity between robust\nlottery ticket subnetworks drawn from different basic structures and sparsity.\nThe experimental results suggest that our method achieves better robust and\nclean recognition accuracy by adversarial transferable diversity, which would\ndecrease the reliability of attacks.\n", "date": "2022-10-06", "categories": []} {"id": "2210.02840", "title": "Deep Reinforcement Learning based Evasion Generative Adversarial Network\n for Botnet Detection", "abstract": " Botnet detectors based on machine learning are potential targets for\nadversarial evasion attacks. Several research works employ adversarial training\nwith samples generated from generative adversarial nets (GANs) to make the\nbotnet detectors adept at recognising adversarial evasions. However, the\nsynthetic evasions may not follow the original semantics of the input samples.\nThis paper proposes a novel GAN model leveraged with deep reinforcement\nlearning (DRL) to explore semantic aware samples and simultaneously harden its\ndetection. A DRL agent is used to attack the discriminator of the GAN that acts\nas a botnet detector. The discriminator is trained on the crafted perturbations\nby the agent during the GAN training, which helps the GAN generator converge\nearlier than the case without DRL. We name this model RELEVAGAN, i.e. [\"relive\na GAN\" or deep REinforcement Learning-based Evasion Generative Adversarial\nNetwork] because, with the help of DRL, it minimises the GAN's job by letting\nits generator explore the evasion samples within the semantic limits. During\nthe GAN training, the attacks are conducted to adjust the discriminator weights\nfor learning crafted perturbations by the agent. RELEVAGAN does not require\nadversarial training for the ML classifiers since it can act as an adversarial\nsemantic-aware botnet detection model. Code will be available at\nhttps://github.com/rhr407/RELEVAGAN.\n", "date": "2022-10-06", "categories": []} {"id": "2210.01940", "title": "On the Robustness of Deep Clustering Models: Adversarial Attacks and\n Defenses", "abstract": " Clustering models constitute a class of unsupervised machine learning methods\nwhich are used in a number of application pipelines, and play a vital role in\nmodern data science. With recent advancements in deep learning -- deep\nclustering models have emerged as the current state-of-the-art over traditional\nclustering approaches, especially for high-dimensional image datasets. While\ntraditional clustering approaches have been analyzed from a robustness\nperspective, no prior work has investigated adversarial attacks and robustness\nfor deep clustering models in a principled manner. To bridge this gap, we\npropose a blackbox attack using Generative Adversarial Networks (GANs) where\nthe adversary does not know which deep clustering model is being used, but can\nquery it for outputs. We analyze our attack against multiple state-of-the-art\ndeep clustering models and real-world datasets, and find that it is highly\nsuccessful. We then employ some natural unsupervised defense approaches, but\nfind that these are unable to mitigate our attack. Finally, we attack Face++, a\nproduction-level face clustering API service, and find that we can\nsignificantly reduce its performance as well. Through this work, we thus aim to\nmotivate the need for truly robust deep clustering models.\n", "date": "2022-10-04", "categories": []} {"id": "2210.02041", "title": "Natural Color Fool: Towards Boosting Black-box Unrestricted Attacks", "abstract": " Unrestricted color attacks, which manipulate semantically meaningful color of\nan image, have shown their stealthiness and success in fooling both human eyes\nand deep neural networks. However, current works usually sacrifice the\nflexibility of the uncontrolled setting to ensure the naturalness of\nadversarial examples. As a result, the black-box attack performance of these\nmethods is limited. To boost transferability of adversarial examples without\ndamaging image quality, we propose a novel Natural Color Fool (NCF) which is\nguided by realistic color distributions sampled from a publicly available\ndataset and optimized by our neighborhood search and initialization reset. By\nconducting extensive experiments and visualizations, we convincingly\ndemonstrate the effectiveness of our proposed method. Notably, on average,\nresults show that our NCF can outperform state-of-the-art approaches by\n15.0%$\\sim$32.9% for fooling normally trained models and 10.0%$\\sim$25.3% for\nevading defense methods. Our code is available at\nhttps://github.com/ylhz/Natural-Color-Fool.\n", "date": "2022-10-05", "categories": []} {"id": "2207.05729", "title": "Physical Passive Patch Adversarial Attacks on Visual Odometry Systems", "abstract": " Deep neural networks are known to be susceptible to adversarial perturbations\n-- small perturbations that alter the output of the network and exist under\nstrict norm limitations. While such perturbations are usually discussed as\ntailored to a specific input, a universal perturbation can be constructed to\nalter the model's output on a set of inputs. Universal perturbations present a\nmore realistic case of adversarial attacks, as awareness of the model's exact\ninput is not required. In addition, the universal attack setting raises the\nsubject of generalization to unseen data, where given a set of inputs, the\nuniversal perturbations aim to alter the model's output on out-of-sample data.\nIn this work, we study physical passive patch adversarial attacks on visual\nodometry-based autonomous navigation systems. A visual odometry system aims to\ninfer the relative camera motion between two corresponding viewpoints, and is\nfrequently used by vision-based autonomous navigation systems to estimate their\nstate. For such navigation systems, a patch adversarial perturbation poses a\nsevere security issue, as it can be used to mislead a system onto some\ncollision course. To the best of our knowledge, we show for the first time that\nthe error margin of a visual odometry model can be significantly increased by\ndeploying patch adversarial attacks in the scene. We provide evaluation on\nsynthetic closed-loop drone navigation data and demonstrate that a comparable\nvulnerability exists in real data. A reference implementation of the proposed\nmethod and the reported experiments is provided at\nhttps://github.com/patchadversarialattacks/patchadversarialattacks.\n", "date": "2022-07-11", "categories": []} {"id": "2207.09597", "title": "Feasible Adversarial Robust Reinforcement Learning for Underspecified\n Environments", "abstract": " Robust reinforcement learning (RL) considers the problem of learning policies\nthat perform well in the worst case among a set of possible environment\nparameter values. In real-world environments, choosing the set of possible\nvalues for robust RL can be a difficult task. When that set is specified too\nnarrowly, the agent will be left vulnerable to reasonable parameter values\nunaccounted for. When specified too broadly, the agent will be too cautious. In\nthis paper, we propose Feasible Adversarial Robust RL (FARR), a novel problem\nformulation and objective for automatically determining the set of environment\nparameter values over which to be robust. FARR implicitly defines the set of\nfeasible parameter values as those on which an agent could achieve a benchmark\nreward given enough training resources. By formulating this problem as a\ntwo-player zero-sum game, optimizing the FARR objective jointly produces an\nadversarial distribution over parameter values with feasible support and a\npolicy robust over this feasible parameter set. We demonstrate that approximate\nNash equilibria for this objective can be found using a variation of the PSRO\nalgorithm. Furthermore, we show that an optimal agent trained with FARR is more\nrobust to feasible adversarial parameter selection than with existing minimax,\ndomain-randomization, and regret objectives in a parameterized gridworld and\nthree MuJoCo control environments.\n", "date": "2022-07-19", "categories": []} {"id": "2209.09883", "title": "Leveraging Local Patch Differences in Multi-Object Scenes for Generative\n Adversarial Attacks", "abstract": " State-of-the-art generative model-based attacks against image classifiers\noverwhelmingly focus on single-object (i.e., single dominant object) images.\nDifferent from such settings, we tackle a more practical problem of generating\nadversarial perturbations using multi-object (i.e., multiple dominant objects)\nimages as they are representative of most real-world scenes. Our goal is to\ndesign an attack strategy that can learn from such natural scenes by leveraging\nthe local patch differences that occur inherently in such images (e.g.\ndifference between the local patch on the object `person' and the object `bike'\nin a traffic scene). Our key idea is to misclassify an adversarial multi-object\nimage by confusing the victim classifier for each local patch in the image.\nBased on this, we propose a novel generative attack (called Local Patch\nDifference or LPD-Attack) where a novel contrastive loss function uses the\naforesaid local differences in feature space of multi-object scenes to optimize\nthe perturbation generator. Through various experiments across diverse victim\nconvolutional neural networks, we show that our approach outperforms baseline\ngenerative attacks with highly transferable perturbations when evaluated under\ndifferent white-box and black-box settings.\n", "date": "2022-09-20", "categories": []} {"id": "2210.01288", "title": "Strength-Adaptive Adversarial Training", "abstract": " Adversarial training (AT) is proved to reliably improve network's robustness\nagainst adversarial data. However, current AT with a pre-specified perturbation\nbudget has limitations in learning a robust network. Firstly, applying a\npre-specified perturbation budget on networks of various model capacities will\nyield divergent degree of robustness disparity between natural and robust\naccuracies, which deviates from robust network's desideratum. Secondly, the\nattack strength of adversarial training data constrained by the pre-specified\nperturbation budget fails to upgrade as the growth of network robustness, which\nleads to robust overfitting and further degrades the adversarial robustness. To\novercome these limitations, we propose \\emph{Strength-Adaptive Adversarial\nTraining} (SAAT). Specifically, the adversary employs an adversarial loss\nconstraint to generate adversarial training data. Under this constraint, the\nperturbation budget will be adaptively adjusted according to the training state\nof adversarial data, which can effectively avoid robust overfitting. Besides,\nSAAT explicitly constrains the attack strength of training data through the\nadversarial loss, which manipulates model capacity scheduling during training,\nand thereby can flexibly control the degree of robustness disparity and adjust\nthe tradeoff between natural accuracy and robustness. Extensive experiments\nshow that our proposal boosts the robustness of adversarial training.\n", "date": "2022-10-04", "categories": []} {"id": "2210.00122", "title": "Adversarial Robustness of Representation Learning for Knowledge Graphs", "abstract": " Knowledge graphs represent factual knowledge about the world as relationships\nbetween concepts and are critical for intelligent decision making in enterprise\napplications. New knowledge is inferred from the existing facts in the\nknowledge graphs by encoding the concepts and relations into low-dimensional\nfeature vector representations. The most effective representations for this\ntask, called Knowledge Graph Embeddings (KGE), are learned through neural\nnetwork architectures. Due to their impressive predictive performance, they are\nincreasingly used in high-impact domains like healthcare, finance and\neducation. However, are the black-box KGE models adversarially robust for use\nin domains with high stakes? This thesis argues that state-of-the-art KGE\nmodels are vulnerable to data poisoning attacks, that is, their predictive\nperformance can be degraded by systematically crafted perturbations to the\ntraining knowledge graph. To support this argument, two novel data poisoning\nattacks are proposed that craft input deletions or additions at training time\nto subvert the learned model's performance at inference time. These adversarial\nattacks target the task of predicting the missing facts in knowledge graphs\nusing KGE models, and the evaluation shows that the simpler attacks are\ncompetitive with or outperform the computationally expensive ones. The thesis\ncontributions not only highlight and provide an opportunity to fix the security\nvulnerabilities of KGE models, but also help to understand the black-box\npredictive behaviour of KGE models.\n", "date": "2022-09-30", "categories": []} {"id": "2210.00292", "title": "DeltaBound Attack: Efficient decision-based attack in low queries regime", "abstract": " Deep neural networks and other machine learning systems, despite being\nextremely powerful and able to make predictions with high accuracy, are\nvulnerable to adversarial attacks. We proposed the DeltaBound attack: a novel,\npowerful attack in the hard-label setting with $\\ell_2$ norm bounded\nperturbations. In this scenario, the attacker has only access to the top-1\npredicted label of the model and can be therefore applied to real-world\nsettings such as remote API. This is a complex problem since the attacker has\nvery little information about the model. Consequently, most of the other\ntechniques present in the literature require a massive amount of queries for\nattacking a single example. Oppositely, this work mainly focuses on the\nevaluation of attack's power in the low queries regime $\\leq 1000$ queries)\nwith $\\ell_2$ norm in the hard-label settings. We find that the DeltaBound\nattack performs as well and sometimes better than current state-of-the-art\nattacks while remaining competitive across different kinds of models. Moreover,\nwe evaluate our method against not only deep neural networks, but also non-deep\nlearning models, such as Gradient Boosting Decision Trees and Multinomial Naive\nBayes.\n", "date": "2022-10-01", "categories": []} {"id": "2210.00430", "title": "Understanding Adversarial Robustness Against On-manifold Adversarial\n Examples", "abstract": " Deep neural networks (DNNs) are shown to be vulnerable to adversarial\nexamples. A well-trained model can be easily attacked by adding small\nperturbations to the original data. One of the hypotheses of the existence of\nthe adversarial examples is the off-manifold assumption: adversarial examples\nlie off the data manifold. However, recent research showed that on-manifold\nadversarial examples also exist. In this paper, we revisit the off-manifold\nassumption and want to study a question: at what level is the poor performance\nof neural networks against adversarial attacks due to on-manifold adversarial\nexamples? Since the true data manifold is unknown in practice, we consider two\napproximated on-manifold adversarial examples on both real and synthesis\ndatasets. On real datasets, we show that on-manifold adversarial examples have\ngreater attack rates than off-manifold adversarial examples on both\nstandard-trained and adversarially-trained models. On synthetic datasets,\ntheoretically, We prove that on-manifold adversarial examples are powerful, yet\nadversarial training focuses on off-manifold directions and ignores the\non-manifold adversarial examples. Furthermore, we provide analysis to show that\nthe properties derived theoretically can also be observed in practice. Our\nanalysis suggests that on-manifold adversarial examples are important, and we\nshould pay more attention to on-manifold adversarial examples for training\nrobust models.\n", "date": "2022-10-02", "categories": []} {"id": "2210.00557", "title": "Adaptive Smoothness-weighted Adversarial Training for Multiple\n Perturbations with Its Stability Analysis", "abstract": " Adversarial Training (AT) has been demonstrated as one of the most effective\nmethods against adversarial examples. While most existing works focus on AT\nwith a single type of perturbation e.g., the $\\ell_\\infty$ attacks), DNNs are\nfacing threats from different types of adversarial examples. Therefore,\nadversarial training for multiple perturbations (ATMP) is proposed to\ngeneralize the adversarial robustness over different perturbation types (in\n$\\ell_1$, $\\ell_2$, and $\\ell_\\infty$ norm-bounded perturbations). However, the\nresulting model exhibits trade-off between different attacks. Meanwhile, there\nis no theoretical analysis of ATMP, limiting its further development. In this\npaper, we first provide the smoothness analysis of ATMP and show that $\\ell_1$,\n$\\ell_2$, and $\\ell_\\infty$ adversaries give different contributions to the\nsmoothness of the loss function of ATMP. Based on this, we develop the\nstability-based excess risk bounds and propose adaptive smoothness-weighted\nadversarial training for multiple perturbations. Theoretically, our algorithm\nyields better bounds. Empirically, our experiments on CIFAR10 and CIFAR100\nachieve the state-of-the-art performance against the mixture of multiple\nperturbations attacks.\n", "date": "2022-10-02", "categories": []} {"id": "2210.00753", "title": "Push-Pull: Characterizing the Adversarial Robustness for Audio-Visual\n Active Speaker Detection", "abstract": " Audio-visual active speaker detection (AVASD) is well-developed, and now is\nan indispensable front-end for several multi-modal applications. However, to\nthe best of our knowledge, the adversarial robustness of AVASD models hasn't\nbeen investigated, not to mention the effective defense against such attacks.\nIn this paper, we are the first to reveal the vulnerability of AVASD models\nunder audio-only, visual-only, and audio-visual adversarial attacks through\nextensive experiments. What's more, we also propose a novel audio-visual\ninteraction loss (AVIL) for making attackers difficult to find feasible\nadversarial examples under an allocated attack budget. The loss aims at pushing\nthe inter-class embeddings to be dispersed, namely non-speech and speech\nclusters, sufficiently disentangled, and pulling the intra-class embeddings as\nclose as possible to keep them compact. Experimental results show the AVIL\noutperforms the adversarial training by 33.14 mAP (%) under multi-modal\nattacks.\n", "date": "2022-10-03", "categories": []} {"id": "2210.01111", "title": "MultiGuard: Provably Robust Multi-label Classification against\n Adversarial Examples", "abstract": " Multi-label classification, which predicts a set of labels for an input, has\nmany applications. However, multiple recent studies showed that multi-label\nclassification is vulnerable to adversarial examples. In particular, an\nattacker can manipulate the labels predicted by a multi-label classifier for an\ninput via adding carefully crafted, human-imperceptible perturbation to it.\nExisting provable defenses for multi-class classification achieve sub-optimal\nprovable robustness guarantees when generalized to multi-label classification.\nIn this work, we propose MultiGuard, the first provably robust defense against\nadversarial examples to multi-label classification. Our MultiGuard leverages\nrandomized smoothing, which is the state-of-the-art technique to build provably\nrobust classifiers. Specifically, given an arbitrary multi-label classifier,\nour MultiGuard builds a smoothed multi-label classifier via adding random noise\nto the input. We consider isotropic Gaussian noise in this work. Our major\ntheoretical contribution is that we show a certain number of ground truth\nlabels of an input are provably in the set of labels predicted by our\nMultiGuard when the $\\ell_2$-norm of the adversarial perturbation added to the\ninput is bounded. Moreover, we design an algorithm to compute our provable\nrobustness guarantees. Empirically, we evaluate our MultiGuard on VOC 2007,\nMS-COCO, and NUS-WIDE benchmark datasets. Our code is available at:\n\\url{https://github.com/quwenjie/MultiGuard}\n", "date": "2022-10-03", "categories": []} {"id": "2208.09285", "title": "Shadows Aren't So Dangerous After All: A Fast and Robust Defense Against\n Shadow-Based Adversarial Attacks", "abstract": " Robust classification is essential in tasks like autonomous vehicle sign\nrecognition, where the downsides of misclassification can be grave. Adversarial\nattacks threaten the robustness of neural network classifiers, causing them to\nconsistently and confidently misidentify road signs. One such class of attack,\nshadow-based attacks, causes misidentifications by applying a natural-looking\nshadow to input images, resulting in road signs that appear natural to a human\nobserver but confusing for these classifiers. Current defenses against such\nattacks use a simple adversarial training procedure to achieve a rather low\n25\\% and 40\\% robustness on the GTSRB and LISA test sets, respectively. In this\npaper, we propose a robust, fast, and generalizable method, designed to defend\nagainst shadow attacks in the context of road sign recognition, that augments\nsource images with binary adaptive threshold and edge maps. We empirically show\nits robustness against shadow attacks, and reformulate the problem to show its\nsimilarity to $\\varepsilon$ perturbation-based attacks. Experimental results\nshow that our edge defense results in 78\\% robustness while maintaining 98\\%\nbenign test accuracy on the GTSRB test set, with similar results from our\nthreshold defense. Link to our code is in the paper.\n", "date": "2022-08-18", "categories": []} {"id": "2209.13523", "title": "Watch What You Pretrain For: Targeted, Transferable Adversarial Examples\n on Self-Supervised Speech Recognition models", "abstract": " A targeted adversarial attack produces audio samples that can force an\nAutomatic Speech Recognition (ASR) system to output attacker-chosen text. To\nexploit ASR models in real-world, black-box settings, an adversary can leverage\nthe transferability property, i.e. that an adversarial sample produced for a\nproxy ASR can also fool a different remote ASR. However recent work has shown\nthat transferability against large ASR models is very difficult. In this work,\nwe show that modern ASR architectures, specifically ones based on\nSelf-Supervised Learning, are in fact vulnerable to transferability. We\nsuccessfully demonstrate this phenomenon by evaluating state-of-the-art\nself-supervised ASR models like Wav2Vec2, HuBERT, Data2Vec and WavLM. We show\nthat with low-level additive noise achieving a 30dB Signal-Noise Ratio, we can\nachieve target transferability with up to 80% accuracy. Next, we 1) use an\nablation study to show that Self-Supervised learning is the main cause of that\nphenomenon, and 2) we provide an explanation for this phenomenon. Through this\nwe show that modern ASR architectures are uniquely vulnerable to adversarial\nsecurity threats.\n", "date": "2022-09-17", "categories": []} {"id": "2209.13785", "title": "Attacking Compressed Vision Transformers", "abstract": " Vision Transformers are increasingly embedded in industrial systems due to\ntheir superior performance, but their memory and power requirements make\ndeploying them to edge devices a challenging task. Hence, model compression\ntechniques are now widely used to deploy models on edge devices as they\ndecrease the resource requirements and make model inference very fast and\nefficient. But their reliability and robustness from a security perspective is\nanother major issue in safety-critical applications. Adversarial attacks are\nlike optical illusions for ML algorithms and they can severely impact the\naccuracy and reliability of models. In this work we investigate the\ntransferability of adversarial samples across the SOTA Vision Transformer\nmodels across 3 SOTA compressed versions and infer the effects different\ncompression techniques have on adversarial attacks.\n", "date": "2022-09-28", "categories": []} {"id": "2209.13963", "title": "Machine Beats Machine: Machine Learning Models to Defend Against\n Adversarial Attacks", "abstract": " We propose using a two-layered deployment of machine learning models to\nprevent adversarial attacks. The first layer determines whether the data was\ntampered, while the second layer solves a domain-specific problem. We explore\nthree sets of features and three dataset variations to train machine learning\nmodels. Our results show clustering algorithms achieved promising results. In\nparticular, we consider the best results were obtained by applying the DBSCAN\nalgorithm to the structured structural similarity index measure computed\nbetween the images and a white reference image.\n", "date": "2022-09-28", "categories": []} {"id": "2209.14053", "title": "Inducing Data Amplification Using Auxiliary Datasets in Adversarial\n Training", "abstract": " Several recent studies have shown that the use of extra in-distribution data\ncan lead to a high level of adversarial robustness. However, there is no\nguarantee that it will always be possible to obtain sufficient extra data for a\nselected dataset. In this paper, we propose a biased multi-domain adversarial\ntraining (BiaMAT) method that induces training data amplification on a primary\ndataset using publicly available auxiliary datasets, without requiring the\nclass distribution match between the primary and auxiliary datasets. The\nproposed method can achieve increased adversarial robustness on a primary\ndataset by leveraging auxiliary datasets via multi-domain learning.\nSpecifically, data amplification on both robust and non-robust features can be\naccomplished through the application of BiaMAT as demonstrated through a\ntheoretical and empirical analysis. Moreover, we demonstrate that while\nexisting methods are vulnerable to negative transfer due to the distributional\ndiscrepancy between auxiliary and primary data, the proposed method enables\nneural networks to flexibly leverage diverse image datasets for adversarial\ntraining by successfully handling the domain discrepancy through the\napplication of a confidence-based selection strategy. The pre-trained models\nand code are available at: \\url{https://github.com/Saehyung-Lee/BiaMAT}.\n", "date": "2022-09-27", "categories": []} {"id": "2208.07464", "title": "An Overview and Prospective Outlook on Robust Training and Certification\n of Machine Learning Models", "abstract": " In this discussion paper, we survey recent research surrounding robustness of\nmachine learning models. As learning algorithms become increasingly more\npopular in data-driven control systems, their robustness to data uncertainty\nmust be ensured in order to maintain reliable safety-critical operations. We\nbegin by reviewing common formalisms for such robustness, and then move on to\ndiscuss popular and state-of-the-art techniques for training robust machine\nlearning models as well as methods for provably certifying such robustness.\nFrom this unification of robust machine learning, we identify and discuss\npressing directions for future research in the area.\n", "date": "2022-08-15", "categories": []} {"id": "2209.13113", "title": "FG-UAP: Feature-Gathering Universal Adversarial Perturbation", "abstract": " Deep Neural Networks (DNNs) are susceptible to elaborately designed\nperturbations, whether such perturbations are dependent or independent of\nimages. The latter one, called Universal Adversarial Perturbation (UAP), is\nvery attractive for model robustness analysis, since its independence of input\nreveals the intrinsic characteristics of the model. Relatively, another\ninteresting observation is Neural Collapse (NC), which means the feature\nvariability may collapse during the terminal phase of training. Motivated by\nthis, we propose to generate UAP by attacking the layer where NC phenomenon\nhappens. Because of NC, the proposed attack could gather all the natural\nimages' features to its surrounding, which is hence called Feature-Gathering\nUAP (FG-UAP).\n We evaluate the effectiveness our proposed algorithm on abundant experiments,\nincluding untargeted and targeted universal attacks, attacks under limited\ndataset, and transfer-based black-box attacks among different architectures\nincluding Vision Transformers, which are believed to be more robust.\nFurthermore, we investigate FG-UAP in the view of NC by analyzing the labels\nand extracted features of adversarial examples, finding that collapse\nphenomenon becomes stronger after the model is corrupted. The code will be\nreleased when the paper is accepted.\n", "date": "2022-09-27", "categories": []} {"id": "2209.09688", "title": "Sparse Vicious Attacks on Graph Neural Networks", "abstract": " Graph Neural Networks (GNNs) have proven to be successful in several\npredictive modeling tasks for graph-structured data.\n Amongst those tasks, link prediction is one of the fundamental problems for\nmany real-world applications, such as recommender systems.\n However, GNNs are not immune to adversarial attacks, i.e., carefully crafted\nmalicious examples that are designed to fool the predictive model.\n In this work, we focus on a specific, white-box attack to GNN-based link\nprediction models, where a malicious node aims to appear in the list of\nrecommended nodes for a given target victim.\n To achieve this goal, the attacker node may also count on the cooperation of\nother existing peers that it directly controls, namely on the ability to inject\na number of ``vicious'' nodes in the network.\n Specifically, all these malicious nodes can add new edges or remove existing\nones, thereby perturbing the original graph.\n Thus, we propose SAVAGE, a novel framework and a method to mount this type of\nlink prediction attacks.\n SAVAGE formulates the adversary's goal as an optimization task, striking the\nbalance between the effectiveness of the attack and the sparsity of malicious\nresources required.\n Extensive experiments conducted on real-world and synthetic datasets\ndemonstrate that adversarial attacks implemented through SAVAGE indeed achieve\nhigh attack success rate yet using a small amount of vicious nodes.\n Finally, despite those attacks require full knowledge of the target model, we\nshow that they are successfully transferable to other black-box methods for\nlink prediction.\n", "date": "2022-09-20", "categories": []} {"id": "2209.08262", "title": "A study on the deviations in performance of FNNs and CNNs in the realm\n of grayscale adversarial images", "abstract": " Neural Networks are prone to having lesser accuracy in the classification of\nimages with noise perturbation. Convolutional Neural Networks, CNNs are known\nfor their unparalleled accuracy in the classification of benign images. But our\nstudy shows that they are extremely vulnerable to noise addition while\nFeed-forward Neural Networks, FNNs show very less correspondence with noise\nperturbation, maintaining their accuracy almost undisturbed. FNNs are observed\nto be better at classifying noise-intensive, single-channeled images that are\njust sheer noise to human vision. In our study, we have used the hand-written\ndigits dataset, MNIST with the following architectures: FNNs with 1 and 2\nhidden layers and CNNs with 3, 4, 6 and 8 convolutions and analyzed their\naccuracies. FNNs stand out to show that irrespective of the intensity of noise,\nthey have a classification accuracy of more than 85%. In our analysis of CNNs\nwith this data, the deceleration of classification accuracy of CNN with 8\nconvolutions was half of that of the rest of the CNNs. Correlation analysis and\nmathematical modelling of the accuracy trends act as roadmaps to these\nconclusions.\n", "date": "2022-09-17", "categories": []} {"id": "2209.08724", "title": "On the Adversarial Transferability of ConvMixer Models", "abstract": " Deep neural networks (DNNs) are well known to be vulnerable to adversarial\nexamples (AEs). In addition, AEs have adversarial transferability, which means\nAEs generated for a source model can fool another black-box model (target\nmodel) with a non-trivial probability. In this paper, we investigate the\nproperty of adversarial transferability between models including ConvMixer,\nwhich is an isotropic network, for the first time. To objectively verify the\nproperty of transferability, the robustness of models is evaluated by using a\nbenchmark attack method called AutoAttack. In an image classification\nexperiment, ConvMixer is confirmed to be weak to adversarial transferability.\n", "date": "2022-09-19", "categories": []} {"id": "2209.08744", "title": "AdvDO: Realistic Adversarial Attacks for Trajectory Prediction", "abstract": " Trajectory prediction is essential for autonomous vehicles (AVs) to plan\ncorrect and safe driving behaviors. While many prior works aim to achieve\nhigher prediction accuracy, few study the adversarial robustness of their\nmethods. To bridge this gap, we propose to study the adversarial robustness of\ndata-driven trajectory prediction systems. We devise an optimization-based\nadversarial attack framework that leverages a carefully-designed differentiable\ndynamic model to generate realistic adversarial trajectories. Empirically, we\nbenchmark the adversarial robustness of state-of-the-art prediction models and\nshow that our attack increases the prediction error for both general metrics\nand planning-aware metrics by more than 50% and 37%. We also show that our\nattack can lead an AV to drive off road or collide into other vehicles in\nsimulation. Finally, we demonstrate how to mitigate the adversarial attacks\nusing an adversarial training scheme.\n", "date": "2022-09-19", "categories": []} {"id": "2209.07534", "title": "Improving Robust Fairness via Balance Adversarial Training", "abstract": " Adversarial training (AT) methods are effective against adversarial attacks,\nyet they introduce severe disparity of accuracy and robustness between\ndifferent classes, known as the robust fairness problem. Previously proposed\nFair Robust Learning (FRL) adaptively reweights different classes to improve\nfairness. However, the performance of the better-performed classes decreases,\nleading to a strong performance drop. In this paper, we observed two unfair\nphenomena during adversarial training: different difficulties in generating\nadversarial examples from each class (source-class fairness) and disparate\ntarget class tendencies when generating adversarial examples (target-class\nfairness). From the observations, we propose Balance Adversarial Training (BAT)\nto address the robust fairness problem. Regarding source-class fairness, we\nadjust the attack strength and difficulties of each class to generate samples\nnear the decision boundary for easier and fairer model learning; considering\ntarget-class fairness, by introducing a uniform distribution constraint, we\nencourage the adversarial example generation process for each class with a fair\ntendency. Extensive experiments conducted on multiple datasets (CIFAR-10,\nCIFAR-100, and ImageNette) demonstrate that our method can significantly\noutperform other baselines in mitigating the robust fairness problem (+5-10\\%\non the worst class accuracy)\n", "date": "2022-09-15", "categories": []} {"id": "2209.07592", "title": "Explicit Tradeoffs between Adversarial and Natural Distributional\n Robustness", "abstract": " Several existing works study either adversarial or natural distributional\nrobustness of deep neural networks separately. In practice, however, models\nneed to enjoy both types of robustness to ensure reliability. In this work, we\nbridge this gap and show that in fact, explicit tradeoffs exist between\nadversarial and natural distributional robustness. We first consider a simple\nlinear regression setting on Gaussian data with disjoint sets of core and\nspurious features. In this setting, through theoretical and empirical analysis,\nwe show that (i) adversarial training with $\\ell_1$ and $\\ell_2$ norms\nincreases the model reliance on spurious features; (ii) For $\\ell_\\infty$\nadversarial training, spurious reliance only occurs when the scale of the\nspurious features is larger than that of the core features; (iii) adversarial\ntraining can have an unintended consequence in reducing distributional\nrobustness, specifically when spurious correlations are changed in the new test\ndomain. Next, we present extensive empirical evidence, using a test suite of\ntwenty adversarially trained models evaluated on five benchmark datasets\n(ObjectNet, RIVAL10, Salient ImageNet-1M, ImageNet-9, Waterbirds), that\nadversarially trained classifiers rely on backgrounds more than their\nstandardly trained counterparts, validating our theoretical results. We also\nshow that spurious correlations in training data (when preserved in the test\ndomain) can improve adversarial robustness, revealing that previous claims that\nadversarial vulnerability is rooted in spurious correlations are incomplete.\n", "date": "2022-09-15", "categories": []} {"id": "2209.07735", "title": "Enhance the Visual Representation via Discrete Adversarial Training", "abstract": " Adversarial Training (AT), which is commonly accepted as one of the most\neffective approaches defending against adversarial examples, can largely harm\nthe standard performance, thus has limited usefulness on industrial-scale\nproduction and applications. Surprisingly, this phenomenon is totally opposite\nin Natural Language Processing (NLP) task, where AT can even benefit for\ngeneralization. We notice the merit of AT in NLP tasks could derive from the\ndiscrete and symbolic input space. For borrowing the advantage from NLP-style\nAT, we propose Discrete Adversarial Training (DAT). DAT leverages VQGAN to\nreform the image data to discrete text-like inputs, i.e. visual words. Then it\nminimizes the maximal risk on such discrete images with symbolic adversarial\nperturbations. We further give an explanation from the perspective of\ndistribution to demonstrate the effectiveness of DAT. As a plug-and-play\ntechnique for enhancing the visual representation, DAT achieves significant\nimprovement on multiple tasks including image classification, object detection\nand self-supervised learning. Especially, the model pre-trained with Masked\nAuto-Encoding (MAE) and fine-tuned by our DAT without extra data can get 31.40\nmCE on ImageNet-C and 32.77% top-1 accuracy on Stylized-ImageNet, building the\nnew state-of-the-art. The code will be available at\nhttps://github.com/alibaba/easyrobust.\n", "date": "2022-09-16", "categories": []} {"id": "2209.07790", "title": "A Large-scale Multiple-objective Method for Black-box Attack against\n Object Detection", "abstract": " Recent studies have shown that detectors based on deep models are vulnerable\nto adversarial examples, even in the black-box scenario where the attacker\ncannot access the model information. Most existing attack methods aim to\nminimize the true positive rate, which often shows poor attack performance, as\nanother sub-optimal bounding box may be detected around the attacked bounding\nbox to be the new true positive one. To settle this challenge, we propose to\nminimize the true positive rate and maximize the false positive rate, which can\nencourage more false positive objects to block the generation of new true\npositive bounding boxes. It is modeled as a multi-objective optimization (MOP)\nproblem, of which the generic algorithm can search the Pareto-optimal. However,\nour task has more than two million decision variables, leading to low searching\nefficiency. Thus, we extend the standard Genetic Algorithm with Random Subset\nselection and Divide-and-Conquer, called GARSDC, which significantly improves\nthe efficiency. Moreover, to alleviate the sensitivity to population quality in\ngeneric algorithms, we generate a gradient-prior initial population, utilizing\nthe transferability between different detectors with similar backbones.\nCompared with the state-of-art attack methods, GARSDC decreases by an average\n12.0 in the mAP and queries by about 1000 times in extensive experiments. Our\ncodes can be found at https://github.com/LiangSiyuan21/ GARSDC.\n", "date": "2022-09-16", "categories": []} {"id": "2206.09868", "title": "Understanding Robust Learning through the Lens of Representation\n Similarities", "abstract": " Representation learning, i.e. the generation of representations useful for\ndownstream applications, is a task of fundamental importance that underlies\nmuch of the success of deep neural networks (DNNs). Recently, robustness to\nadversarial examples has emerged as a desirable property for DNNs, spurring the\ndevelopment of robust training methods that account for adversarial examples.\nIn this paper, we aim to understand how the properties of representations\nlearned by robust training differ from those obtained from standard, non-robust\ntraining. This is critical to diagnosing numerous salient pitfalls in robust\nnetworks, such as, degradation of performance on benign inputs, poor\ngeneralization of robustness, and increase in over-fitting. We utilize a\npowerful set of tools known as representation similarity metrics, across three\nvision datasets, to obtain layer-wise comparisons between robust and non-robust\nDNNs with different training procedures, architectural parameters and\nadversarial constraints. Our experiments highlight hitherto unseen properties\nof robust representations that we posit underlie the behavioral differences of\nrobust networks. We discover a lack of specialization in robust networks'\nrepresentations along with a disappearance of `block structure'. We also find\noverfitting during robust training largely impacts deeper layers. These, along\nwith other findings, suggest ways forward for the design and training of better\nrobust networks.\n", "date": "2022-06-20", "categories": []} {"id": "2209.06931", "title": "Robust Transferable Feature Extractors: Learning to Defend Pre-Trained\n Networks Against White Box Adversaries", "abstract": " The widespread adoption of deep neural networks in computer vision\napplications has brought forth a significant interest in adversarial\nrobustness. Existing research has shown that maliciously perturbed inputs\nspecifically tailored for a given model (i.e., adversarial examples) can be\nsuccessfully transferred to another independently trained model to induce\nprediction errors. Moreover, this property of adversarial examples has been\nattributed to features derived from predictive patterns in the data\ndistribution. Thus, we are motivated to investigate the following question: Can\nadversarial defenses, like adversarial examples, be successfully transferred to\nother independently trained models? To this end, we propose a deep\nlearning-based pre-processing mechanism, which we refer to as a robust\ntransferable feature extractor (RTFE). After examining theoretical motivation\nand implications, we experimentally show that our method can provide\nadversarial robustness to multiple independently pre-trained classifiers that\nare otherwise ineffective against an adaptive white box adversary. Furthermore,\nwe show that RTFEs can even provide one-shot adversarial robustness to models\nindependently trained on different datasets.\n", "date": "2022-09-14", "categories": []} {"id": "2209.06953", "title": "On the interplay of adversarial robustness and architecture components:\n patches, convolution and attention", "abstract": " In recent years novel architecture components for image classification have\nbeen developed, starting with attention and patches used in transformers. While\nprior works have analyzed the influence of some aspects of architecture\ncomponents on the robustness to adversarial attacks, in particular for vision\ntransformers, the understanding of the main factors is still limited. We\ncompare several (non)-robust classifiers with different architectures and study\ntheir properties, including the effect of adversarial training on the\ninterpretability of the learnt features and robustness to unseen threat models.\nAn ablation from ResNet to ConvNeXt reveals key architectural changes leading\nto almost $10\\%$ higher $\\ell_\\infty$-robustness.\n", "date": "2022-09-14", "categories": []} {"id": "2209.06971", "title": "PointACL:Adversarial Contrastive Learning for Robust Point Clouds\n Representation under Adversarial Attack", "abstract": " Despite recent success of self-supervised based contrastive learning model\nfor 3D point clouds representation, the adversarial robustness of such\npre-trained models raised concerns. Adversarial contrastive learning (ACL) is\nconsidered an effective way to improve the robustness of pre-trained models. In\ncontrastive learning, the projector is considered an effective component for\nremoving unnecessary feature information during contrastive pretraining and\nmost ACL works also use contrastive loss with projected feature representations\nto generate adversarial examples in pretraining, while \"unprojected \" feature\nrepresentations are used in generating adversarial inputs during\ninference.Because of the distribution gap between projected and \"unprojected\"\nfeatures, their models are constrained of obtaining robust feature\nrepresentations for downstream tasks. We introduce a new method to generate\nhigh-quality 3D adversarial examples for adversarial training by utilizing\nvirtual adversarial loss with \"unprojected\" feature representations in\ncontrastive learning framework. We present our robust aware loss function to\ntrain self-supervised contrastive learning framework adversarially.\nFurthermore, we find selecting high difference points with the Difference of\nNormal (DoN) operator as additional input for adversarial self-supervised\ncontrastive learning can significantly improve the adversarial robustness of\nthe pre-trained model. We validate our method, PointACL on downstream tasks,\nincluding 3D classification and 3D segmentation with multiple datasets. It\nobtains comparable robust accuracy over state-of-the-art contrastive\nadversarial learning methods.\n", "date": "2022-09-14", "categories": []} {"id": "2209.07369", "title": "Adversarially Robust Learning: A Generic Minimax Optimal Learner and\n Characterization", "abstract": " We present a minimax optimal learner for the problem of learning predictors\nrobust to adversarial examples at test-time. Interestingly, we find that this\nrequires new algorithmic ideas and approaches to adversarially robust learning.\nIn particular, we show, in a strong negative sense, the suboptimality of the\nrobust learner proposed by Montasser, Hanneke, and Srebro (2019) and a broader\nfamily of learners we identify as local learners. Our results are enabled by\nadopting a global perspective, specifically, through a key technical\ncontribution: the global one-inclusion graph, which may be of independent\ninterest, that generalizes the classical one-inclusion graph due to Haussler,\nLittlestone, and Warmuth (1994). Finally, as a byproduct, we identify a\ndimension characterizing qualitatively and quantitatively what classes of\npredictors $\\mathcal{H}$ are robustly learnable. This resolves an open problem\ndue to Montasser et al. (2019), and closes a (potentially) infinite gap between\nthe established upper and lower bounds on the sample complexity of\nadversarially robust learning.\n", "date": "2022-09-15", "categories": []} {"id": "2206.10235", "title": "Riemannian data-dependent randomized smoothing for neural networks\n certification", "abstract": " Certification of neural networks is an important and challenging problem that\nhas been attracting the attention of the machine learning community since few\nyears. In this paper, we focus on randomized smoothing (RS) which is considered\nas the state-of-the-art method to obtain certifiably robust neural networks. In\nparticular, a new data-dependent RS technique called ANCER introduced recently\ncan be used to certify ellipses with orthogonal axis near each input data of\nthe neural network. In this work, we remark that ANCER is not invariant under\nrotation of input data and propose a new rotationally-invariant formulation of\nit which can certify ellipses without constraints on their axis. Our approach\ncalled Riemannian Data Dependant Randomized Smoothing (RDDRS) relies on\ninformation geometry techniques on the manifold of covariance matrices and can\ncertify bigger regions than ANCER based on our experiments on the MNIST\ndataset.\n", "date": "2022-06-21", "categories": []} {"id": "2209.04930", "title": "Resisting Deep Learning Models Against Adversarial Attack\n Transferability via Feature Randomization", "abstract": " In the past decades, the rise of artificial intelligence has given us the\ncapabilities to solve the most challenging problems in our day-to-day lives,\nsuch as cancer prediction and autonomous navigation. However, these\napplications might not be reliable if not secured against adversarial attacks.\nIn addition, recent works demonstrated that some adversarial examples are\ntransferable across different models. Therefore, it is crucial to avoid such\ntransferability via robust models that resist adversarial manipulations. In\nthis paper, we propose a feature randomization-based approach that resists\neight adversarial attacks targeting deep learning models in the testing phase.\nOur novel approach consists of changing the training strategy in the target\nnetwork classifier and selecting random feature samples. We consider the\nattacker with a Limited-Knowledge and Semi-Knowledge conditions to undertake\nthe most prevalent types of adversarial attacks. We evaluate the robustness of\nour approach using the well-known UNSW-NB15 datasets that include realistic and\nsynthetic attacks. Afterward, we demonstrate that our strategy outperforms the\nexisting state-of-the-art approach, such as the Most Powerful Attack, which\nconsists of fine-tuning the network model against specific adversarial attacks.\nFinally, our experimental results show that our methodology can secure the\ntarget network and resists adversarial attack transferability by over 60%.\n", "date": "2022-09-11", "categories": []} {"id": "2209.05130", "title": "Semantic-Preserving Adversarial Code Comprehension", "abstract": " Based on the tremendous success of pre-trained language models (PrLMs) for\nsource code comprehension tasks, current literature studies either ways to\nfurther improve the performance (generalization) of PrLMs, or their robustness\nagainst adversarial attacks. However, they have to compromise on the trade-off\nbetween the two aspects and none of them consider improving both sides in an\neffective and practical way. To fill this gap, we propose Semantic-Preserving\nAdversarial Code Embeddings (SPACE) to find the worst-case semantic-preserving\nattacks while forcing the model to predict the correct labels under these worst\ncases. Experiments and analysis demonstrate that SPACE can stay robust against\nstate-of-the-art attacks while boosting the performance of PrLMs for code.\n", "date": "2022-09-12", "categories": []} {"id": "2209.05446", "title": "Boosting Robustness Verification of Semantic Feature Neighborhoods", "abstract": " Deep neural networks have been shown to be vulnerable to adversarial attacks\nthat perturb inputs based on semantic features. Existing robustness analyzers\ncan reason about semantic feature neighborhoods to increase the networks'\nreliability. However, despite the significant progress in these techniques,\nthey still struggle to scale to deep networks and large neighborhoods. In this\nwork, we introduce VeeP, an active learning approach that splits the\nverification process into a series of smaller verification steps, each is\nsubmitted to an existing robustness analyzer. The key idea is to build on prior\nsteps to predict the next optimal step. The optimal step is predicted by\nestimating the certification velocity and sensitivity via parametric\nregression. We evaluate VeeP on MNIST, Fashion-MNIST, CIFAR-10 and ImageNet and\nshow that it can analyze neighborhoods of various features: brightness,\ncontrast, hue, saturation, and lightness. We show that, on average, given a 90\nminute timeout, VeeP verifies 96% of the maximally certifiable neighborhoods\nwithin 29 minutes, while existing splitting approaches verify, on average, 73%\nof the maximally certifiable neighborhoods within 58 minutes.\n", "date": "2022-09-12", "categories": []} {"id": "2208.05514", "title": "Are Gradients on Graph Structure Reliable in Gray-box Attacks?", "abstract": " Graph edge perturbations are dedicated to damaging the prediction of graph\nneural networks by modifying the graph structure. Previous gray-box attackers\nemploy gradients from the surrogate model to locate the vulnerable edges to\nperturb the graph structure. However, unreliability exists in gradients on\ngraph structures, which is rarely studied by previous works. In this paper, we\ndiscuss and analyze the errors caused by the unreliability of the structural\ngradients. These errors arise from rough gradient usage due to the discreteness\nof the graph structure and from the unreliability in the meta-gradient on the\ngraph structure. In order to address these problems, we propose a novel attack\nmodel with methods to reduce the errors inside the structural gradients. We\npropose edge discrete sampling to select the edge perturbations associated with\nhierarchical candidate selection to ensure computational efficiency. In\naddition, semantic invariance and momentum gradient ensemble are proposed to\naddress the gradient fluctuation on semantic-augmented graphs and the\ninstability of the surrogate model. Experiments are conducted in untargeted\ngray-box poisoning scenarios and demonstrate the improvement in the performance\nof our approach.\n", "date": "2022-08-07", "categories": []} {"id": "2209.04293", "title": "Robust-by-Design Classification via Unitary-Gradient Neural Networks", "abstract": " The use of neural networks in safety-critical systems requires safe and\nrobust models, due to the existence of adversarial attacks. Knowing the minimal\nadversarial perturbation of any input x, or, equivalently, knowing the distance\nof x from the classification boundary, allows evaluating the classification\nrobustness, providing certifiable predictions. Unfortunately, state-of-the-art\ntechniques for computing such a distance are computationally expensive and\nhence not suited for online applications. This work proposes a novel family of\nclassifiers, namely Signed Distance Classifiers (SDCs), that, from a\ntheoretical perspective, directly output the exact distance of x from the\nclassification boundary, rather than a probability score (e.g., SoftMax). SDCs\nrepresent a family of robust-by-design classifiers. To practically address the\ntheoretical requirements of a SDC, a novel network architecture named\nUnitary-Gradient Neural Network is presented. Experimental results show that\nthe proposed architecture approximates a signed distance classifier, hence\nallowing an online certifiable classification of x at the cost of a single\ninference.\n", "date": "2022-09-09", "categories": []} {"id": "2206.06761", "title": "Exploring Adversarial Attacks and Defenses in Vision Transformers\n trained with DINO", "abstract": " This work conducts the first analysis on the robustness against adversarial\nattacks on self-supervised Vision Transformers trained using DINO. First, we\nevaluate whether features learned through self-supervision are more robust to\nadversarial attacks than those emerging from supervised learning. Then, we\npresent properties arising for attacks in the latent space. Finally, we\nevaluate whether three well-known defense strategies can increase adversarial\nrobustness in downstream tasks by only fine-tuning the classification head to\nprovide robustness even in view of limited compute resources. These defense\nstrategies are: Adversarial Training, Ensemble Adversarial Training and\nEnsemble of Specialized Networks.\n", "date": "2022-06-14", "categories": []} {"id": "2206.06257", "title": "Distributed Adversarial Training to Robustify Deep Neural Networks at\n Scale", "abstract": " Current deep neural networks (DNNs) are vulnerable to adversarial attacks,\nwhere adversarial perturbations to the inputs can change or manipulate\nclassification. To defend against such attacks, an effective and popular\napproach, known as adversarial training (AT), has been shown to mitigate the\nnegative impact of adversarial attacks by virtue of a min-max robust training\nmethod. While effective, it remains unclear whether it can successfully be\nadapted to the distributed learning context. The power of distributed\noptimization over multiple machines enables us to scale up robust training over\nlarge models and datasets. Spurred by that, we propose distributed adversarial\ntraining (DAT), a large-batch adversarial training framework implemented over\nmultiple machines. We show that DAT is general, which supports training over\nlabeled and unlabeled data, multiple types of attack generation methods, and\ngradient compression operations favored for distributed optimization.\nTheoretically, we provide, under standard conditions in the optimization\ntheory, the convergence rate of DAT to the first-order stationary points in\ngeneral non-convex settings. Empirically, we demonstrate that DAT either\nmatches or outperforms state-of-the-art robust accuracies and achieves a\ngraceful training speedup (e.g., on ResNet-50 under ImageNet). Codes are\navailable at https://github.com/dat-2022/dat.\n", "date": "2022-06-13", "categories": []} {"id": "2209.02997", "title": "On the Transferability of Adversarial Examples between Encrypted Models", "abstract": " Deep neural networks (DNNs) are well known to be vulnerable to adversarial\nexamples (AEs). In addition, AEs have adversarial transferability, namely, AEs\ngenerated for a source model fool other (target) models. In this paper, we\ninvestigate the transferability of models encrypted for adversarially robust\ndefense for the first time. To objectively verify the property of\ntransferability, the robustness of models is evaluated by using a benchmark\nattack method, called AutoAttack. In an image-classification experiment, the\nuse of encrypted models is confirmed not only to be robust against AEs but to\nalso reduce the influence of AEs in terms of the transferability of models.\n", "date": "2022-09-07", "categories": []} {"id": "2207.01795", "title": "PatchZero: Defending against Adversarial Patch Attacks by Detecting and\n Zeroing the Patch", "abstract": " Adversarial patch attacks mislead neural networks by injecting adversarial\npixels within a local region. Patch attacks can be highly effective in a\nvariety of tasks and physically realizable via attachment (e.g. a sticker) to\nthe real-world objects. Despite the diversity in attack patterns, adversarial\npatches tend to be highly textured and different in appearance from natural\nimages. We exploit this property and present PatchZero, a general defense\npipeline against white-box adversarial patches without retraining the\ndownstream classifier or detector. Specifically, our defense detects\nadversaries at the pixel-level and \"zeros out\" the patch region by repainting\nwith mean pixel values. We further design a two-stage adversarial training\nscheme to defend against the stronger adaptive attacks. PatchZero achieves SOTA\ndefense performance on the image classification (ImageNet, RESISC45), object\ndetection (PASCAL VOC), and video classification (UCF101) tasks with little\ndegradation in benign performance. In addition, PatchZero transfers to\ndifferent patch shapes and attack types.\n", "date": "2022-07-05", "categories": []} {"id": "2209.01882", "title": "PromptAttack: Prompt-based Attack for Language Models via Gradient\n Search", "abstract": " As the pre-trained language models (PLMs) continue to grow, so do the\nhardware and data requirements for fine-tuning PLMs. Therefore, the researchers\nhave come up with a lighter method called \\textit{Prompt Learning}. However,\nduring the investigations, we observe that the prompt learning methods are\nvulnerable and can easily be attacked by some illegally constructed prompts,\nresulting in classification errors, and serious security problems for PLMs.\nMost of the current research ignores the security issue of prompt-based\nmethods. Therefore, in this paper, we propose a malicious prompt template\nconstruction method (\\textbf{PromptAttack}) to probe the security performance\nof PLMs. Several unfriendly template construction approaches are investigated\nto guide the model to misclassify the task. Extensive experiments on three\ndatasets and three PLMs prove the effectiveness of our proposed approach\nPromptAttack. We also conduct experiments to verify that our method is\napplicable in few-shot scenarios.\n", "date": "2022-09-05", "categories": []} {"id": "2209.02128", "title": "Evaluating the Susceptibility of Pre-Trained Language Models via\n Handcrafted Adversarial Examples", "abstract": " Recent advances in the development of large language models have resulted in\npublic access to state-of-the-art pre-trained language models (PLMs), including\nGenerative Pre-trained Transformer 3 (GPT-3) and Bidirectional Encoder\nRepresentations from Transformers (BERT). However, evaluations of PLMs, in\npractice, have shown their susceptibility to adversarial attacks during the\ntraining and fine-tuning stages of development. Such attacks can result in\nerroneous outputs, model-generated hate speech, and the exposure of users'\nsensitive information. While existing research has focused on adversarial\nattacks during either the training or the fine-tuning of PLMs, there is a\ndeficit of information on attacks made between these two development phases. In\nthis work, we highlight a major security vulnerability in the public release of\nGPT-3 and further investigate this vulnerability in other state-of-the-art\nPLMs. We restrict our work to pre-trained models that have not undergone\nfine-tuning. Further, we underscore token distance-minimized perturbations as\nan effective adversarial approach, bypassing both supervised and unsupervised\nquality measures. Following this approach, we observe a significant decrease in\ntext classification quality when evaluating for semantic similarity.\n", "date": "2022-09-05", "categories": []} {"id": "2209.02406", "title": "Unrestricted Adversarial Samples Based on Non-semantic Feature Clusters\n Substitution", "abstract": " Most current methods generate adversarial examples with the $L_p$ norm\nspecification. As a result, many defense methods utilize this property to\neliminate the impact of such attacking algorithms. In this paper,we instead\nintroduce \"unrestricted\" perturbations that create adversarial samples by using\nspurious relations which were learned by model training. Specifically, we find\nfeature clusters in non-semantic features that are strongly correlated with\nmodel judgment results, and treat them as spurious relations learned by the\nmodel. Then we create adversarial samples by using them to replace the\ncorresponding feature clusters in the target image. Experimental evaluations\nshow that in both black-box and white-box situations. Our adversarial examples\ndo not change the semantics of images, while still being effective at fooling\nan adversarially trained DNN image classifier.\n", "date": "2022-08-31", "categories": []} {"id": "2209.02408", "title": "Robustness and invariance properties of image classifiers", "abstract": " Deep neural networks have achieved impressive results in many image\nclassification tasks. However, since their performance is usually measured in\ncontrolled settings, it is important to ensure that their decisions remain\ncorrect when deployed in noisy environments. In fact, deep networks are not\nrobust to a large variety of semantic-preserving image modifications, even to\nimperceptible image changes known as adversarial perturbations. The poor\nrobustness of image classifiers to small data distribution shifts raises\nserious concerns regarding their trustworthiness. To build reliable machine\nlearning models, we must design principled methods to analyze and understand\nthe mechanisms that shape robustness and invariance. This is exactly the focus\nof this thesis.\n First, we study the problem of computing sparse adversarial perturbations. We\nexploit the geometry of the decision boundaries of image classifiers for\ncomputing sparse perturbations very fast, and reveal a qualitative connection\nbetween adversarial examples and the data features that image classifiers\nlearn. Then, to better understand this connection, we propose a geometric\nframework that connects the distance of data samples to the decision boundary,\nwith the features existing in the data. We show that deep classifiers have a\nstrong inductive bias towards invariance to non-discriminative features, and\nthat adversarial training exploits this property to confer robustness. Finally,\nwe focus on the challenging problem of generalization to unforeseen corruptions\nof the data, and we propose a novel data augmentation scheme for achieving\nstate-of-the-art robustness to common corruptions of the images.\n Overall, our results contribute to the understanding of the fundamental\nmechanisms of deep image classifiers, and pave the way for building more\nreliable machine learning systems that can be deployed in real-world\nenvironments.\n", "date": "2022-08-30", "categories": []} {"id": "2209.02453", "title": "Instance Attack:An Explanation-based Vulnerability Analysis Framework\n Against DNNs for Malware Detection", "abstract": " Deep neural networks (DNNs) are increasingly being applied in malware\ndetection and their robustness has been widely debated. Traditionally an\nadversarial example generation scheme relies on either detailed model\ninformation (gradient-based methods) or lots of samples to train a surrogate\nmodel, neither of which are available in most scenarios.\n We propose the notion of the instance-based attack. Our scheme is\ninterpretable and can work in a black-box environment. Given a specific binary\nexample and a malware classifier, we use the data augmentation strategies to\nproduce enough data from which we can train a simple interpretable model. We\nexplain the detection model by displaying the weight of different parts of the\nspecific binary. By analyzing the explanations, we found that the data\nsubsections play an important role in Windows PE malware detection. We proposed\na new function preserving transformation algorithm that can be applied to data\nsubsections. By employing the binary-diversification techniques that we\nproposed, we eliminated the influence of the most weighted part to generate\nadversarial examples. Our algorithm can fool the DNNs in certain cases with a\nsuccess rate of nearly 100\\%. Our method outperforms the state-of-the-art\nmethod . The most important aspect is that our method operates in black-box\nsettings and the results can be validated with domain knowledge. Our analysis\nmodel can assist people in improving the robustness of malware detectors.\n", "date": "2022-09-06", "categories": []} {"id": "2209.02684", "title": "Bag of Tricks for FGSM Adversarial Training", "abstract": " Adversarial training (AT) with samples generated by Fast Gradient Sign Method\n(FGSM), also known as FGSM-AT, is a computationally simple method to train\nrobust networks. However, during its training procedure, an unstable mode of\n\"catastrophic overfitting\" has been identified in arXiv:2001.03994 [cs.LG],\nwhere the robust accuracy abruptly drops to zero within a single training step.\nExisting methods use gradient regularizers or random initialization tricks to\nattenuate this issue, whereas they either take high computational cost or lead\nto lower robust accuracy. In this work, we provide the first study, which\nthoroughly examines a collection of tricks from three perspectives: Data\nInitialization, Network Structure, and Optimization, to overcome the\ncatastrophic overfitting in FGSM-AT.\n Surprisingly, we find that simple tricks, i.e., a) masking partial pixels\n(even without randomness), b) setting a large convolution stride and smooth\nactivation functions, or c) regularizing the weights of the first convolutional\nlayer, can effectively tackle the overfitting issue. Extensive results on a\nrange of network architectures validate the effectiveness of each proposed\ntrick, and the combinations of tricks are also investigated. For example,\ntrained with PreActResNet-18 on CIFAR-10, our method attains 49.8% accuracy\nagainst PGD-50 attacker and 46.4% accuracy against AutoAttack, demonstrating\nthat pure FGSM-AT is capable of enabling robust learners. The code and models\nare publicly available at\nhttps://github.com/UCSC-VLAA/Bag-of-Tricks-for-FGSM-AT.\n", "date": "2022-09-06", "categories": []} {"id": "2209.00757", "title": "Universal Fourier Attack for Time Series", "abstract": " A wide variety of adversarial attacks have been proposed and explored using\nimage and audio data. These attacks are notoriously easy to generate digitally\nwhen the attacker can directly manipulate the input to a model, but are much\nmore difficult to implement in the real-world. In this paper we present a\nuniversal, time invariant attack for general time series data such that the\nattack has a frequency spectrum primarily composed of the frequencies present\nin the original data. The universality of the attack makes it fast and easy to\nimplement as no computation is required to add it to an input, while time\ninvariance is useful for real-world deployment. Additionally, the frequency\nconstraint ensures the attack can withstand filtering. We demonstrate the\neffectiveness of the attack in two different domains, speech recognition and\nunintended radiated emission, and show that the attack is robust against common\ntransform-and-compare defense pipelines.\n", "date": "2022-09-02", "categories": []} {"id": "2209.01199", "title": "Revisiting Outer Optimization in Adversarial Training", "abstract": " Despite the fundamental distinction between adversarial and natural training\n(AT and NT), AT methods generally adopt momentum SGD (MSGD) for the outer\noptimization. This paper aims to analyze this choice by investigating the\noverlooked role of outer optimization in AT. Our exploratory evaluations reveal\nthat AT induces higher gradient norm and variance compared to NT. This\nphenomenon hinders the outer optimization in AT since the convergence rate of\nMSGD is highly dependent on the variance of the gradients. To this end, we\npropose an optimization method called ENGM which regularizes the contribution\nof each input example to the average mini-batch gradients. We prove that the\nconvergence rate of ENGM is independent of the variance of the gradients, and\nthus, it is suitable for AT. We introduce a trick to reduce the computational\ncost of ENGM using empirical observations on the correlation between the norm\nof gradients w.r.t. the network parameters and input examples. Our extensive\nevaluations and ablation studies on CIFAR-10, CIFAR-100, and TinyImageNet\ndemonstrate that ENGM and its variants consistently improve the performance of\na wide range of AT methods. Furthermore, ENGM alleviates major shortcomings of\nAT including robust overfitting and high sensitivity to hyperparameter\nsettings.\n", "date": "2022-09-02", "categories": []} {"id": "2209.00005", "title": "Be Your Own Neighborhood: Detecting Adversarial Example by the\n Neighborhood Relations Built on Self-Supervised Learning", "abstract": " Deep Neural Networks (DNNs) have achieved excellent performance in various\nfields. However, DNNs' vulnerability to Adversarial Examples (AE) hinders their\ndeployments to safety-critical applications. This paper presents a novel AE\ndetection framework, named BEYOND, for trustworthy predictions. BEYOND performs\nthe detection by distinguishing the AE's abnormal relation with its augmented\nversions, i.e. neighbors, from two prospects: representation similarity and\nlabel consistency. An off-the-shelf Self-Supervised Learning (SSL) model is\nused to extract the representation and predict the label for its highly\ninformative representation capacity compared to supervised learning models. For\nclean samples, their representations and predictions are closely consistent\nwith their neighbors, whereas those of AEs differ greatly. Furthermore, we\nexplain this observation and show that by leveraging this discrepancy BEYOND\ncan effectively detect AEs. We develop a rigorous justification for the\neffectiveness of BEYOND. Furthermore, as a plug-and-play model, BEYOND can\neasily cooperate with the Adversarial Trained Classifier (ATC), achieving the\nstate-of-the-art (SOTA) robustness accuracy. Experimental results show that\nBEYOND outperforms baselines by a large margin, especially under adaptive\nattacks. Empowered by the robust relation net built on SSL, we found that\nBEYOND outperforms baselines in terms of both detection ability and speed. Our\ncode will be publicly available.\n", "date": "2022-08-31", "categories": []} {"id": "2206.15128", "title": "Detecting and Recovering Adversarial Examples from Extracting Non-robust\n and Highly Predictive Adversarial Perturbations", "abstract": " Deep neural networks (DNNs) have been shown to be vulnerable against\nadversarial examples (AEs) which are maliciously designed to fool target\nmodels. The normal examples (NEs) added with imperceptible adversarial\nperturbation, can be a security threat to DNNs. Although the existing AEs\ndetection methods have achieved a high accuracy, they failed to exploit the\ninformation of the AEs detected. Thus, based on high-dimension perturbation\nextraction, we propose a model-free AEs detection method, the whole process of\nwhich is free from querying the victim model. Research shows that DNNs are\nsensitive to the high-dimension features. The adversarial perturbation hiding\nin the adversarial example belongs to the high-dimension feature which is\nhighly predictive and non-robust. DNNs learn more details from high-dimension\ndata than others. In our method, the perturbation extractor can extract the\nadversarial perturbation from AEs as high-dimension feature, then the trained\nAEs discriminator determines whether the input is an AE. Experimental results\nshow that the proposed method can not only detect the adversarial examples with\nhigh accuracy, but also detect the specific category of the AEs. Meanwhile, the\nextracted perturbation can be used to recover the AEs to NEs.\n", "date": "2022-06-30", "categories": []} {"id": "2208.13838", "title": "Towards Adversarial Purification using Denoising AutoEncoders", "abstract": " With the rapid advancement and increased use of deep learning models in image\nidentification, security becomes a major concern to their deployment in\nsafety-critical systems. Since the accuracy and robustness of deep learning\nmodels are primarily attributed from the purity of the training samples,\ntherefore the deep learning architectures are often susceptible to adversarial\nattacks. Adversarial attacks are often obtained by making subtle perturbations\nto normal images, which are mostly imperceptible to humans, but can seriously\nconfuse the state-of-the-art machine learning models. We propose a framework,\nnamed APuDAE, leveraging Denoising AutoEncoders (DAEs) to purify these samples\nby using them in an adaptive way and thus improve the classification accuracy\nof the target classifier networks that have been attacked. We also show how\nusing DAEs adaptively instead of using them directly, improves classification\naccuracy further and is more robust to the possibility of designing adaptive\nattacks to fool them. We demonstrate our results over MNIST, CIFAR-10, ImageNet\ndataset and show how our framework (APuDAE) provides comparable and in most\ncases better performance to the baseline methods in purifying adversaries. We\nalso design adaptive attack specifically designed to attack our purifying model\nand demonstrate how our defense is robust to that.\n", "date": "2022-08-29", "categories": []} {"id": "2208.14302", "title": "A Black-Box Attack on Optical Character Recognition Systems", "abstract": " Adversarial machine learning is an emerging area showing the vulnerability of\ndeep learning models. Exploring attack methods to challenge state of the art\nartificial intelligence (A.I.) models is an area of critical concern. The\nreliability and robustness of such A.I. models are one of the major concerns\nwith an increasing number of effective adversarial attack methods.\nClassification tasks are a major vulnerable area for adversarial attacks. The\nmajority of attack strategies are developed for colored or gray-scaled images.\nConsequently, adversarial attacks on binary image recognition systems have not\nbeen sufficiently studied. Binary images are simple two possible pixel-valued\nsignals with a single channel. The simplicity of binary images has a\nsignificant advantage compared to colored and gray scaled images, namely\ncomputation efficiency. Moreover, most optical character recognition systems\n(O.C.R.s), such as handwritten character recognition, plate number\nidentification, and bank check recognition systems, use binary images or\nbinarization in their processing steps. In this paper, we propose a simple yet\nefficient attack method, Efficient Combinatorial Black-box Adversarial Attack,\non binary image classifiers. We validate the efficiency of the attack technique\non two different data sets and three classification networks, demonstrating its\nperformance. Furthermore, we compare our proposed method with state-of-the-art\nmethods regarding advantages and disadvantages as well as applicability.\n", "date": "2022-08-30", "categories": []} {"id": "2208.13182", "title": "Cross-domain Cross-architecture Black-box Attacks on Fine-tuned Models\n with Transferred Evolutionary Strategies", "abstract": " Fine-tuning can be vulnerable to adversarial attacks. Existing works about\nblack-box attacks on fine-tuned models (BAFT) are limited by strong\nassumptions. To fill the gap, we propose two novel BAFT settings, cross-domain\nand cross-domain cross-architecture BAFT, which only assume that (1) the target\nmodel for attacking is a fine-tuned model, and (2) the source domain data is\nknown and accessible. To successfully attack fine-tuned models under both\nsettings, we propose to first train an adversarial generator against the source\nmodel, which adopts an encoder-decoder architecture and maps a clean input to\nan adversarial example. Then we search in the low-dimensional latent space\nproduced by the encoder of the adversarial generator. The search is conducted\nunder the guidance of the surrogate gradient obtained from the source model.\nExperimental results on different domains and different network architectures\ndemonstrate that the proposed attack method can effectively and efficiently\nattack the fine-tuned models.\n", "date": "2022-08-28", "categories": []} {"id": "2208.02430", "title": "A New Kind of Adversarial Example", "abstract": " Almost all adversarial attacks are formulated to add an imperceptible\nperturbation to an image in order to fool a model. Here, we consider the\nopposite which is adversarial examples that can fool a human but not a model. A\nlarge enough and perceptible perturbation is added to an image such that a\nmodel maintains its original decision, whereas a human will most likely make a\nmistake if forced to decide (or opt not to decide at all). Existing targeted\nattacks can be reformulated to synthesize such adversarial examples. Our\nproposed attack, dubbed NKE, is similar in essence to the fooling images, but\nis more efficient since it uses gradient descent instead of evolutionary\nalgorithms. It also offers a new and unified perspective into the problem of\nadversarial vulnerability. Experimental results over MNIST and CIFAR-10\ndatasets show that our attack is quite efficient in fooling deep neural\nnetworks. Code is available at https://github.com/aliborji/NKE.\n", "date": "2022-08-04", "categories": []} {"id": "2208.11839", "title": "A Perturbation Resistant Transformation and Classification System for\n Deep Neural Networks", "abstract": " Deep convolutional neural networks accurately classify a diverse range of\nnatural images, but may be easily deceived when designed, imperceptible\nperturbations are embedded in the images. In this paper, we design a\nmulti-pronged training, input transformation, and image ensemble system that is\nattack agnostic and not easily estimated. Our system incorporates two novel\nfeatures. The first is a transformation layer that computes feature level\npolynomial kernels from class-level training data samples and iteratively\nupdates input image copies at inference time based on their feature kernel\ndifferences to create an ensemble of transformed inputs. The second is a\nclassification system that incorporates the prediction of the undefended\nnetwork with a hard vote on the ensemble of filtered images. Our evaluations on\nthe CIFAR10 dataset show our system improves the robustness of an undefended\nnetwork against a variety of bounded and unbounded white-box attacks under\ndifferent distance metrics, while sacrificing little accuracy on clean images.\nAgainst adaptive full-knowledge attackers creating end-to-end attacks, our\nsystem successfully augments the existing robustness of adversarially trained\nnetworks, for which our methods are most effectively applied.\n", "date": "2022-08-25", "categories": []} {"id": "2208.12230", "title": "Semantic Preserving Adversarial Attack Generation with Autoencoder and\n Genetic Algorithm", "abstract": " Widely used deep learning models are found to have poor robustness. Little\nnoises can fool state-of-the-art models into making incorrect predictions.\nWhile there is a great deal of high-performance attack generation methods, most\nof them directly add perturbations to original data and measure them using L_p\nnorms; this can break the major structure of data, thus, creating invalid\nattacks. In this paper, we propose a black-box attack, which, instead of\nmodifying original data, modifies latent features of data extracted by an\nautoencoder; then, we measure noises in semantic space to protect the semantics\nof data. We trained autoencoders on MNIST and CIFAR-10 datasets and found\noptimal adversarial perturbations using a genetic algorithm. Our approach\nachieved a 100% attack success rate on the first 100 data of MNIST and CIFAR-10\ndatasets with less perturbation than FGSM.\n", "date": "2022-08-25", "categories": []} {"id": "2208.11264", "title": "Towards an Awareness of Time Series Anomaly Detection Models'\n Adversarial Vulnerability", "abstract": " Time series anomaly detection is extensively studied in statistics,\neconomics, and computer science. Over the years, numerous methods have been\nproposed for time series anomaly detection using deep learning-based methods.\nMany of these methods demonstrate state-of-the-art performance on benchmark\ndatasets, giving the false impression that these systems are robust and\ndeployable in many practical and industrial real-world scenarios. In this\npaper, we demonstrate that the performance of state-of-the-art anomaly\ndetection methods is degraded substantially by adding only small adversarial\nperturbations to the sensor data. We use different scoring metrics such as\nprediction errors, anomaly, and classification scores over several public and\nprivate datasets ranging from aerospace applications, server machines, to\ncyber-physical systems in power plants. Under well-known adversarial attacks\nfrom Fast Gradient Sign Method (FGSM) and Projected Gradient Descent (PGD)\nmethods, we demonstrate that state-of-the-art deep neural networks (DNNs) and\ngraph neural networks (GNNs) methods, which claim to be robust against\nanomalies and have been possibly integrated in real-life systems, have their\nperformance drop to as low as 0%. To the best of our understanding, we\ndemonstrate, for the first time, the vulnerabilities of anomaly detection\nsystems against adversarial attacks. The overarching goal of this research is\nto raise awareness towards the adversarial vulnerabilities of time series\nanomaly detectors.\n", "date": "2022-08-24", "categories": []} {"id": "2208.11436", "title": "Trace and Detect Adversarial Attacks on CNNs using Feature Response Maps", "abstract": " The existence of adversarial attacks on convolutional neural networks (CNN)\nquestions the fitness of such models for serious applications. The attacks\nmanipulate an input image such that misclassification is evoked while still\nlooking normal to a human observer -- they are thus not easily detectable. In a\ndifferent context, backpropagated activations of CNN hidden layers -- \"feature\nresponses\" to a given input -- have been helpful to visualize for a human\n\"debugger\" what the CNN \"looks at\" while computing its output. In this work, we\npropose a novel detection method for adversarial examples to prevent attacks.\nWe do so by tracking adversarial perturbations in feature responses, allowing\nfor automatic detection using average local spatial entropy. The method does\nnot alter the original network architecture and is fully human-interpretable.\nExperiments confirm the validity of our approach for state-of-the-art attacks\non large-scale models trained on ImageNet.\n", "date": "2022-08-24", "categories": []} {"id": "2208.11613", "title": "Unrestricted Black-box Adversarial Attack Using GAN with Limited Queries", "abstract": " Adversarial examples are inputs intentionally generated for fooling a deep\nneural network. Recent studies have proposed unrestricted adversarial attacks\nthat are not norm-constrained. However, the previous unrestricted attack\nmethods still have limitations to fool real-world applications in a black-box\nsetting. In this paper, we present a novel method for generating unrestricted\nadversarial examples using GAN where an attacker can only access the top-1\nfinal decision of a classification model. Our method, Latent-HSJA, efficiently\nleverages the advantages of a decision-based attack in the latent space and\nsuccessfully manipulates the latent vectors for fooling the classification\nmodel.\n With extensive experiments, we demonstrate that our proposed method is\nefficient in evaluating the robustness of classification models with limited\nqueries in a black-box setting. First, we demonstrate that our targeted attack\nmethod is query-efficient to produce unrestricted adversarial examples for a\nfacial identity recognition model that contains 307 identities. Then, we\ndemonstrate that the proposed method can also successfully attack a real-world\ncelebrity recognition service.\n", "date": "2022-08-24", "categories": []} {"id": "2208.10773", "title": "Adversarial Vulnerability of Temporal Feature Networks for Object\n Detection", "abstract": " Taking into account information across the temporal domain helps to improve\nenvironment perception in autonomous driving. However, it has not been studied\nso far whether temporally fused neural networks are vulnerable to deliberately\ngenerated perturbations, i.e. adversarial attacks, or whether temporal history\nis an inherent defense against them. In this work, we study whether temporal\nfeature networks for object detection are vulnerable to universal adversarial\nattacks. We evaluate attacks of two types: imperceptible noise for the whole\nimage and locally-bound adversarial patch. In both cases, perturbations are\ngenerated in a white-box manner using PGD. Our experiments confirm, that\nattacking even a portion of a temporal input suffices to fool the network. We\nvisually assess generated perturbations to gain insights into the functioning\nof attacks. To enhance the robustness, we apply adversarial training using\n5-PGD. Our experiments on KITTI and nuScenes datasets demonstrate, that a model\nrobustified via K-PGD is able to withstand the studied attacks while keeping\nthe mAP-based performance comparable to that of an unattacked model.\n", "date": "2022-08-23", "categories": []} {"id": "2208.10251", "title": "Rethinking Textual Adversarial Defense for Pre-trained Language Models", "abstract": " Although pre-trained language models (PrLMs) have achieved significant\nsuccess, recent studies demonstrate that PrLMs are vulnerable to adversarial\nattacks. By generating adversarial examples with slight perturbations on\ndifferent levels (sentence / word / character), adversarial attacks can fool\nPrLMs to generate incorrect predictions, which questions the robustness of\nPrLMs. However, we find that most existing textual adversarial examples are\nunnatural, which can be easily distinguished by both human and machine. Based\non a general anomaly detector, we propose a novel metric (Degree of Anomaly) as\na constraint to enable current adversarial attack approaches to generate more\nnatural and imperceptible adversarial examples. Under this new constraint, the\nsuccess rate of existing attacks drastically decreases, which reveals that the\nrobustness of PrLMs is not as fragile as they claimed. In addition, we find\nthat four types of randomization can invalidate a large portion of textual\nadversarial examples. Based on anomaly detector and randomization, we design a\nuniversal defense framework, which is among the first to perform textual\nadversarial defense without knowing the specific attack. Empirical results show\nthat our universal defense framework achieves comparable or even higher\nafter-attack accuracy with other specific defenses, while preserving higher\noriginal accuracy at the same time. Our work discloses the essence of textual\nadversarial attacks, and indicates that (1) further works of adversarial\nattacks should focus more on how to overcome the detection and resist the\nrandomization, otherwise their adversarial examples would be easily detected\nand invalidated; and (2) compared with the unnatural and perceptible\nadversarial examples, it is those undetectable adversarial examples that pose\nreal risks for PrLMs and require more attention for future robustness-enhancing\nstrategies.\n", "date": "2022-07-21", "categories": []} {"id": "2208.10481", "title": "BARReL: Bottleneck Attention for Adversarial Robustness in Vision-Based\n Reinforcement Learning", "abstract": " Robustness to adversarial perturbations has been explored in many areas of\ncomputer vision. This robustness is particularly relevant in vision-based\nreinforcement learning, as the actions of autonomous agents might be\nsafety-critic or impactful in the real world. We investigate the susceptibility\nof vision-based reinforcement learning agents to gradient-based adversarial\nattacks and evaluate a potential defense. We observe that Bottleneck Attention\nModules (BAM) included in CNN architectures can act as potential tools to\nincrease robustness against adversarial attacks. We show how learned attention\nmaps can be used to recover activations of a convolutional layer by restricting\nthe spatial activations to salient regions. Across a number of RL environments,\nBAM-enhanced architectures show increased robustness during inference. Finally,\nwe discuss potential future research directions.\n", "date": "2022-08-22", "categories": []} {"id": "2207.05327", "title": "Certified Adversarial Robustness via Anisotropic Randomized Smoothing", "abstract": " Randomized smoothing has achieved great success for certified robustness\nagainst adversarial perturbations. Given any arbitrary classifier, randomized\nsmoothing can guarantee the classifier's prediction over the perturbed input\nwith provable robustness bound by injecting noise into the classifier. However,\nall of the existing methods rely on fixed i.i.d. probability distribution to\ngenerate noise for all dimensions of the data (e.g., all the pixels in an\nimage), which ignores the heterogeneity of inputs and data dimensions. Thus,\nexisting randomized smoothing methods cannot provide optimal protection for all\nthe inputs. To address this limitation, we propose a novel anisotropic\nrandomized smoothing method which ensures provable robustness guarantee based\non pixel-wise noise distributions. Also, we design a novel CNN-based noise\ngenerator to efficiently fine-tune the pixel-wise noise distributions for all\nthe pixels in each input. Experimental results demonstrate that our method\nsignificantly outperforms the state-of-the-art randomized smoothing methods.\n", "date": "2022-07-12", "categories": []} {"id": "2208.09195", "title": "Real-Time Robust Video Object Detection System Against Physical-World\n Adversarial Attacks", "abstract": " DNN-based video object detection (VOD) powers autonomous driving and video\nsurveillance industries with rising importance and promising opportunities.\nHowever, adversarial patch attack yields huge concern in live vision tasks\nbecause of its practicality, feasibility, and powerful attack effectiveness.\nThis work proposes Themis, a software/hardware system to defend against\nadversarial patches for real-time robust video object detection. We observe\nthat adversarial patches exhibit extremely localized superficial feature\nimportance in a small region with non-robust predictions, and thus propose the\nadversarial region detection algorithm for adversarial effect elimination.\nThemis also proposes a systematic design to efficiently support the algorithm\nby eliminating redundant computations and memory traffics. Experimental results\nshow that the proposed methodology can effectively recover the system from the\nadversarial attack with negligible hardware overhead.\n", "date": "2022-08-19", "categories": []} {"id": "2208.09466", "title": "Gender Bias and Universal Substitution Adversarial Attacks on\n Grammatical Error Correction Systems for Automated Assessment", "abstract": " Grammatical Error Correction (GEC) systems perform a sequence-to-sequence\ntask, where an input word sequence containing grammatical errors, is corrected\nfor these errors by the GEC system to output a grammatically correct word\nsequence. With the advent of deep learning methods, automated GEC systems have\nbecome increasingly popular. For example, GEC systems are often used on speech\ntranscriptions of English learners as a form of assessment and feedback - these\npowerful GEC systems can be used to automatically measure an aspect of a\ncandidate's fluency. The count of \\textit{edits} from a candidate's input\nsentence (or essay) to a GEC system's grammatically corrected output sentence\nis indicative of a candidate's language ability, where fewer edits suggest\nbetter fluency. The count of edits can thus be viewed as a \\textit{fluency\nscore} with zero implying perfect fluency. However, although deep learning\nbased GEC systems are extremely powerful and accurate, they are susceptible to\nadversarial attacks: an adversary can introduce a small, specific change at the\ninput of a system that causes a large, undesired change at the output. When\nconsidering the application of GEC systems to automated language assessment,\nthe aim of an adversary could be to cheat by making a small change to a\ngrammatically incorrect input sentence that conceals the errors from a GEC\nsystem, such that no edits are found and the candidate is unjustly awarded a\nperfect fluency score. This work examines a simple universal substitution\nadversarial attack that non-native speakers of English could realistically\nemploy to deceive GEC systems used for assessment.\n", "date": "2022-08-19", "categories": []} {"id": "2208.08697", "title": "Resisting Adversarial Attacks in Deep Neural Networks using Diverse\n Decision Boundaries", "abstract": " The security of deep learning (DL) systems is an extremely important field of\nstudy as they are being deployed in several applications due to their\never-improving performance to solve challenging tasks. Despite overwhelming\npromises, the deep learning systems are vulnerable to crafted adversarial\nexamples, which may be imperceptible to the human eye, but can lead the model\nto misclassify. Protections against adversarial perturbations on ensemble-based\ntechniques have either been shown to be vulnerable to stronger adversaries or\nshown to lack an end-to-end evaluation. In this paper, we attempt to develop a\nnew ensemble-based solution that constructs defender models with diverse\ndecision boundaries with respect to the original model. The ensemble of\nclassifiers constructed by (1) transformation of the input by a method called\nSplit-and-Shuffle, and (2) restricting the significant features by a method\ncalled Contrast-Significant-Features are shown to result in diverse gradients\nwith respect to adversarial attacks, which reduces the chance of transferring\nadversarial examples from the original to the defender model targeting the same\nclass. We present extensive experimentations using standard image\nclassification datasets, namely MNIST, CIFAR-10 and CIFAR-100 against\nstate-of-the-art adversarial attacks to demonstrate the robustness of the\nproposed ensemble-based defense. We also evaluate the robustness in the\npresence of a stronger adversary targeting all the models within the ensemble\nsimultaneously. Results for the overall false positives and false negatives\nhave been furnished to estimate the overall performance of the proposed\nmethodology.\n", "date": "2022-08-18", "categories": []} {"id": "2208.08029", "title": "A Context-Aware Approach for Textual Adversarial Attack through\n Probability Difference Guided Beam Search", "abstract": " Textual adversarial attacks expose the vulnerabilities of text classifiers\nand can be used to improve their robustness. Existing context-aware methods\nsolely consider the gold label probability and use the greedy search when\nsearching an attack path, often limiting the attack efficiency. To tackle these\nissues, we propose PDBS, a context-aware textual adversarial attack model using\nProbability Difference guided Beam Search. The probability difference is an\noverall consideration of all class label probabilities, and PDBS uses it to\nguide the selection of attack paths. In addition, PDBS uses the beam search to\nfind a successful attack path, thus avoiding suffering from limited search\nspace. Extensive experiments and human evaluation demonstrate that PDBS\noutperforms previous best models in a series of evaluation metrics, especially\nbringing up to a +19.5% attack success rate. Ablation studies and qualitative\nanalyses further confirm the efficiency of PDBS.\n", "date": "2022-08-17", "categories": []} {"id": "2208.06962", "title": "InvisibiliTee: Angle-agnostic Cloaking from Person-Tracking Systems with\n a Tee", "abstract": " After a survey for person-tracking system-induced privacy concerns, we\npropose a black-box adversarial attack method on state-of-the-art human\ndetection models called InvisibiliTee. The method learns printable adversarial\npatterns for T-shirts that cloak wearers in the physical world in front of\nperson-tracking systems. We design an angle-agnostic learning scheme which\nutilizes segmentation of the fashion dataset and a geometric warping process so\nthe adversarial patterns generated are effective in fooling person detectors\nfrom all camera angles and for unseen black-box detection models. Empirical\nresults in both digital and physical environments show that with the\nInvisibiliTee on, person-tracking systems' ability to detect the wearer drops\nsignificantly.\n", "date": "2022-08-15", "categories": []} {"id": "2208.06984", "title": "A Multi-objective Memetic Algorithm for Auto Adversarial Attack\n Optimization Design", "abstract": " The phenomenon of adversarial examples has been revealed in variant\nscenarios. Recent studies show that well-designed adversarial defense\nstrategies can improve the robustness of deep learning models against\nadversarial examples. However, with the rapid development of defense\ntechnologies, it also tends to be more difficult to evaluate the robustness of\nthe defensed model due to the weak performance of existing manually designed\nadversarial attacks. To address the challenge, given the defensed model, the\nefficient adversarial attack with less computational burden and lower robust\naccuracy is needed to be further exploited. Therefore, we propose a\nmulti-objective memetic algorithm for auto adversarial attack optimization\ndesign, which realizes the automatical search for the near-optimal adversarial\nattack towards defensed models. Firstly, the more general mathematical model of\nauto adversarial attack optimization design is constructed, where the search\nspace includes not only the attacker operations, magnitude, iteration number,\nand loss functions but also the connection ways of multiple adversarial\nattacks. In addition, we develop a multi-objective memetic algorithm combining\nNSGA-II and local search to solve the optimization problem. Finally, to\ndecrease the evaluation cost during the search, we propose a representative\ndata selection strategy based on the sorting of cross entropy loss values of\neach images output by models. Experiments on CIFAR10, CIFAR100, and ImageNet\ndatasets show the effectiveness of our proposed method.\n", "date": "2022-08-15", "categories": []} {"id": "2208.07289", "title": "A Tool for Neural Network Global Robustness Certification and Training", "abstract": " With the increment of interest in leveraging machine learning technology in\nsafety-critical systems, the robustness of neural networks under external\ndisturbance receives more and more concerns. Global robustness is a robustness\nproperty defined on the entire input domain. And a certified globally robust\nnetwork can ensure its robustness on any possible network input. However, the\nstate-of-the-art global robustness certification algorithm can only certify\nnetworks with at most several thousand neurons. In this paper, we propose the\nGPU-supported global robustness certification framework GROCET, which is more\nefficient than the previous optimization-based certification approach.\nMoreover, GROCET provides differentiable global robustness, which is leveraged\nin the training of globally robust neural networks.\n", "date": "2022-08-15", "categories": []} {"id": "2208.05395", "title": "A Sublinear Adversarial Training Algorithm", "abstract": " Adversarial training is a widely used strategy for making neural networks\nresistant to adversarial perturbations. For a neural network of width $m$, $n$\ninput training data in $d$ dimension, it takes $\\Omega(mnd)$ time cost per\ntraining iteration for the forward and backward computation. In this paper we\nanalyze the convergence guarantee of adversarial training procedure on a\ntwo-layer neural network with shifted ReLU activation, and shows that only\n$o(m)$ neurons will be activated for each input data per iteration.\nFurthermore, we develop an algorithm for adversarial training with time cost\n$o(m n d)$ per iteration by applying half-space reporting data structure.\n", "date": "2022-08-10", "categories": []} {"id": "2208.03635", "title": "Federated Adversarial Learning: A Framework with Convergence Analysis", "abstract": " Federated learning (FL) is a trending training paradigm to utilize\ndecentralized training data. FL allows clients to update model parameters\nlocally for several epochs, then share them to a global model for aggregation.\nThis training paradigm with multi-local step updating before aggregation\nexposes unique vulnerabilities to adversarial attacks. Adversarial training is\na popular and effective method to improve the robustness of networks against\nadversaries. In this work, we formulate a general form of federated adversarial\nlearning (FAL) that is adapted from adversarial learning in the centralized\nsetting. On the client side of FL training, FAL has an inner loop to generate\nadversarial samples for adversarial training and an outer loop to update local\nmodel parameters. On the server side, FAL aggregates local model updates and\nbroadcast the aggregated model. We design a global robust training loss and\nformulate FAL training as a min-max optimization problem. Unlike the\nconvergence analysis in classical centralized training that relies on the\ngradient direction, it is significantly harder to analyze the convergence in\nFAL for three reasons: 1) the complexity of min-max optimization, 2) model not\nupdating in the gradient direction due to the multi-local updates on the\nclient-side before aggregation and 3) inter-client heterogeneity. We address\nthese challenges by using appropriate gradient approximation and coupling\ntechniques and present the convergence analysis in the over-parameterized\nregime. Our main result theoretically shows that the minimum loss under our\nalgorithm can converge to $\\epsilon$ small with chosen learning rate and\ncommunication rounds. It is noteworthy that our analysis is feasible for\nnon-IID clients.\n", "date": "2022-08-07", "categories": []} {"id": "2208.03958", "title": "Abutting Grating Illusion: Cognitive Challenge to Neural Network Models", "abstract": " Even the state-of-the-art deep learning models lack fundamental abilities\ncompared to humans. Multiple comparison paradigms have been proposed to explore\nthe distinctions between humans and deep learning. While most comparisons rely\non corruptions inspired by mathematical transformations, very few have bases on\nhuman cognitive phenomena. In this study, we propose a novel corruption method\nbased on the abutting grating illusion, which is a visual phenomenon widely\ndiscovered in both human and a wide range of animal species. The corruption\nmethod destroys the gradient-defined boundaries and generates the perception of\nillusory contours using line gratings abutting each other. We applied the\nmethod on MNIST, high resolution MNIST, and silhouette object images. Various\ndeep learning models are tested on the corruption, including models trained\nfrom scratch and 109 models pretrained with ImageNet or various data\naugmentation techniques. Our results show that abutting grating corruption is\nchallenging even for state-of-the-art deep learning models because most models\nare randomly guessing. We also discovered that the DeepAugment technique can\ngreatly improve robustness against abutting grating illusion. Visualisation of\nearly layers indicates that better performing models exhibit stronger\nend-stopping property, which is consistent with neuroscience discoveries. To\nvalidate the corruption method, 24 human subjects are involved to classify\nsamples of corrupted datasets.\n", "date": "2022-08-08", "categories": []} {"id": "2208.00862", "title": "Attacking Adversarial Defences by Smoothing the Loss Landscape", "abstract": " This paper investigates a family of methods for defending against adversarial\nattacks that owe part of their success to creating a noisy, discontinuous, or\notherwise rugged loss landscape that adversaries find difficult to navigate. A\ncommon, but not universal, way to achieve this effect is via the use of\nstochastic neural networks. We show that this is a form of gradient\nobfuscation, and propose a general extension to gradient-based adversaries\nbased on the Weierstrass transform, which smooths the surface of the loss\nfunction and provides more reliable gradient estimates. We further show that\nthe same principle can strengthen gradient-free adversaries. We demonstrate the\nefficacy of our loss-smoothing method against both stochastic and\nnon-stochastic adversarial defences that exhibit robustness due to this type of\nobfuscation. Furthermore, we provide analysis of how it interacts with\nExpectation over Transformation; a popular gradient-sampling method currently\nused to attack stochastic defences.\n", "date": "2022-08-01", "categories": []} {"id": "2208.03161", "title": "Adversarial Robustness of MR Image Reconstruction under Realistic\n Perturbations", "abstract": " Deep Learning (DL) methods have shown promising results for solving ill-posed\ninverse problems such as MR image reconstruction from undersampled $k$-space\ndata. However, these approaches currently have no guarantees for reconstruction\nquality and the reliability of such algorithms is only poorly understood.\nAdversarial attacks offer a valuable tool to understand possible failure modes\nand worst case performance of DL-based reconstruction algorithms. In this paper\nwe describe adversarial attacks on multi-coil $k$-space measurements and\nevaluate them on the recently proposed E2E-VarNet and a simpler UNet-based\nmodel. In contrast to prior work, the attacks are targeted to specifically\nalter diagnostically relevant regions. Using two realistic attack models\n(adversarial $k$-space noise and adversarial rotations) we are able to show\nthat current state-of-the-art DL-based reconstruction algorithms are indeed\nsensitive to such perturbations to a degree where relevant diagnostic\ninformation may be lost. Surprisingly, in our experiments the UNet and the more\nsophisticated E2E-VarNet were similarly sensitive to such attacks. Our findings\nadd further to the evidence that caution must be exercised as DL-based methods\nmove closer to clinical practice.\n", "date": "2022-08-05", "categories": []} {"id": "2208.00539", "title": "Is current research on adversarial robustness addressing the right\n problem?", "abstract": " Short answer: Yes, Long answer: No! Indeed, research on adversarial\nrobustness has led to invaluable insights helping us understand and explore\ndifferent aspects of the problem. Many attacks and defenses have been proposed\nover the last couple of years. The problem, however, remains largely unsolved\nand poorly understood. Here, I argue that the current formulation of the\nproblem serves short term goals, and needs to be revised for us to achieve\nbigger gains. Specifically, the bound on perturbation has created a somewhat\ncontrived setting and needs to be relaxed. This has misled us to focus on model\nclasses that are not expressive enough to begin with. Instead, inspired by\nhuman vision and the fact that we rely more on robust features such as shape,\nvertices, and foreground objects than non-robust features such as texture,\nefforts should be steered towards looking for significantly different classes\nof models. Maybe instead of narrowing down on imperceptible adversarial\nperturbations, we should attack a more general problem which is finding\narchitectures that are simultaneously robust to perceptible perturbations,\ngeometric transformations (e.g. rotation, scaling), image distortions\n(lighting, blur), and more (e.g. occlusion, shadow). Only then we may be able\nto solve the problem of adversarial vulnerability.\n", "date": "2022-07-31", "categories": []} {"id": "2208.02250", "title": "Adversarial Attacks on ASR Systems: An Overview", "abstract": " With the development of hardware and algorithms, ASR(Automatic Speech\nRecognition) systems evolve a lot. As The models get simpler, the difficulty of\ndevelopment and deployment become easier, ASR systems are getting closer to our\nlife. On the one hand, we often use APPs or APIs of ASR to generate subtitles\nand record meetings. On the other hand, smart speaker and self-driving car rely\non ASR systems to control AIoT devices. In past few years, there are a lot of\nworks on adversarial examples attacks against ASR systems. By adding a small\nperturbation to the waveforms, the recognition results make a big difference.\nIn this paper, we describe the development of ASR system, different assumptions\nof attacks, and how to evaluate these attacks. Next, we introduce the current\nworks on adversarial examples attacks from two attack assumptions: white-box\nattack and black-box attack. Different from other surveys, we pay more\nattention to which layer they perturb waveforms in ASR system, the relationship\nbetween these attacks, and their implementation methods. We focus on the effect\nof their works.\n", "date": "2022-08-03", "categories": []} {"id": "2208.01844", "title": "Multiclass ASMA vs Targeted PGD Attack in Image Segmentation", "abstract": " Deep learning networks have demonstrated high performance in a large variety\nof applications, such as image classification, speech recognition, and natural\nlanguage processing. However, there exists a major vulnerability exploited by\nthe use of adversarial attacks. An adversarial attack imputes images by\naltering the input image very slightly, making it nearly undetectable to the\nnaked eye, but results in a very different classification by the network. This\npaper explores the projected gradient descent (PGD) attack and the Adaptive\nMask Segmentation Attack (ASMA) on the image segmentation DeepLabV3 model using\ntwo types of architectures: MobileNetV3 and ResNet50, It was found that PGD was\nvery consistent in changing the segmentation to be its target while the\ngeneralization of ASMA to a multiclass target was not as effective. The\nexistence of such attack however puts all of image classification deep learning\nnetworks in danger of exploitation.\n", "date": "2022-08-03", "categories": []} {"id": "2208.01853", "title": "Robust Graph Neural Networks using Weighted Graph Laplacian", "abstract": " Graph neural network (GNN) is achieving remarkable performances in a variety\nof application domains. However, GNN is vulnerable to noise and adversarial\nattacks in input data. Making GNN robust against noises and adversarial attacks\nis an important problem. The existing defense methods for GNNs are\ncomputationally demanding and are not scalable. In this paper, we propose a\ngeneric framework for robustifying GNN known as Weighted Laplacian GNN\n(RWL-GNN). The method combines Weighted Graph Laplacian learning with the GNN\nimplementation. The proposed method benefits from the positive\nsemi-definiteness property of Laplacian matrix, feature smoothness, and latent\nfeatures via formulating a unified optimization framework, which ensures the\nadversarial/noisy edges are discarded and connections in the graph are\nappropriately weighted. For demonstration, the experiments are conducted with\nGraph convolutional neural network(GCNN) architecture, however, the proposed\nframework is easily amenable to any existing GNN architecture. The simulation\nresults with benchmark dataset establish the efficacy of the proposed method,\nboth in accuracy and computational efficiency. Code can be accessed at\nhttps://github.com/Bharat-Runwal/RWL-GNN.\n", "date": "2022-08-03", "categories": []} {"id": "2208.01456", "title": "A comment on Guo et al. [arXiv:2206.11228]", "abstract": " In a recent article, Guo et al. [arXiv:2206.11228] report that adversarially\ntrained neural representations in deep networks may already be as robust as\ncorresponding primate IT neural representations. While we find the paper's\nprimary experiment illuminating, we have doubts about the interpretation and\nphrasing of the results presented in the paper.\n", "date": "2022-08-02", "categories": []} {"id": "2208.00094", "title": "Robust Trajectory Prediction against Adversarial Attacks", "abstract": " Trajectory prediction using deep neural networks (DNNs) is an essential\ncomponent of autonomous driving (AD) systems. However, these methods are\nvulnerable to adversarial attacks, leading to serious consequences such as\ncollisions. In this work, we identify two key ingredients to defend trajectory\nprediction models against adversarial attacks including (1) designing effective\nadversarial training methods and (2) adding domain-specific data augmentation\nto mitigate the performance degradation on clean data. We demonstrate that our\nmethod is able to improve the performance by 46% on adversarial data and at the\ncost of only 3% performance degradation on clean data, compared to the model\ntrained with clean data. Additionally, compared to existing robust methods, our\nmethod can improve performance by 21% on adversarial examples and 9% on clean\ndata. Our robust model is evaluated with a planner to study its downstream\nimpacts. We demonstrate that our model can significantly reduce the severe\naccident rates (e.g., collisions and off-road driving).\n", "date": "2022-07-29", "categories": []} {"id": "2208.00498", "title": "DNNShield: Dynamic Randomized Model Sparsification, A Defense Against\n Adversarial Machine Learning", "abstract": " DNNs are known to be vulnerable to so-called adversarial attacks that\nmanipulate inputs to cause incorrect results that can be beneficial to an\nattacker or damaging to the victim. Recent works have proposed approximate\ncomputation as a defense mechanism against machine learning attacks. We show\nthat these approaches, while successful for a range of inputs, are insufficient\nto address stronger, high-confidence adversarial attacks. To address this, we\npropose DNNSHIELD, a hardware-accelerated defense that adapts the strength of\nthe response to the confidence of the adversarial input. Our approach relies on\ndynamic and random sparsification of the DNN model to achieve inference\napproximation efficiently and with fine-grain control over the approximation\nerror. DNNSHIELD uses the output distribution characteristics of sparsified\ninference compared to a dense reference to detect adversarial inputs. We show\nan adversarial detection rate of 86% when applied to VGG16 and 88% when applied\nto ResNet50, which exceeds the detection rate of the state of the art\napproaches, with a much lower overhead. We demonstrate a\nsoftware/hardware-accelerated FPGA prototype, which reduces the performance\nimpact of DNNSHIELD relative to software-only CPU and GPU implementations.\n", "date": "2022-07-31", "categories": []} {"id": "2208.00906", "title": "Understanding Adversarial Robustness of Vision Transformers via Cauchy\n Problem", "abstract": " Recent research on the robustness of deep learning has shown that Vision\nTransformers (ViTs) surpass the Convolutional Neural Networks (CNNs) under some\nperturbations, e.g., natural corruption, adversarial attacks, etc. Some papers\nargue that the superior robustness of ViT comes from the segmentation of its\ninput images; others say that the Multi-head Self-Attention (MSA) is the key to\npreserving the robustness. In this paper, we aim to introduce a principled and\nunified theoretical framework to investigate such an argument on ViT's\nrobustness. We first theoretically prove that, unlike Transformers in Natural\nLanguage Processing, ViTs are Lipschitz continuous. Then we theoretically\nanalyze the adversarial robustness of ViTs from the perspective of the Cauchy\nProblem, via which we can quantify how the robustness propagates through\nlayers. We demonstrate that the first and last layers are the critical factors\nto affect the robustness of ViTs. Furthermore, based on our theory, we\nempirically show that unlike the claims from existing research, MSA only\ncontributes to the adversarial robustness of ViTs under weak adversarial\nattacks, e.g., FGSM, and surprisingly, MSA actually comprises the model's\nadversarial robustness under stronger attacks, e.g., PGD attacks.\n", "date": "2022-08-01", "categories": []} {"id": "2207.13129", "title": "LGV: Boosting Adversarial Example Transferability from Large Geometric\n Vicinity", "abstract": " We propose transferability from Large Geometric Vicinity (LGV), a new\ntechnique to increase the transferability of black-box adversarial attacks. LGV\nstarts from a pretrained surrogate model and collects multiple weight sets from\na few additional training epochs with a constant and high learning rate. LGV\nexploits two geometric properties that we relate to transferability. First,\nmodels that belong to a wider weight optimum are better surrogates. Second, we\nidentify a subspace able to generate an effective surrogate ensemble among this\nwider optimum. Through extensive experiments, we show that LGV alone\noutperforms all (combinations of) four established test-time transformations by\n1.8 to 59.9 percentage points. Our findings shed new light on the importance of\nthe geometry of the weight space to explain the transferability of adversarial\nexamples.\n", "date": "2022-07-26", "categories": []} {"id": "2207.13192", "title": "Perception-Aware Attack: Creating Adversarial Music via\n Reverse-Engineering Human Perception", "abstract": " Recently, adversarial machine learning attacks have posed serious security\nthreats against practical audio signal classification systems, including speech\nrecognition, speaker recognition, and music copyright detection. Previous\nstudies have mainly focused on ensuring the effectiveness of attacking an audio\nsignal classifier via creating a small noise-like perturbation on the original\nsignal. It is still unclear if an attacker is able to create audio signal\nperturbations that can be well perceived by human beings in addition to its\nattack effectiveness. This is particularly important for music signals as they\nare carefully crafted with human-enjoyable audio characteristics.\n In this work, we formulate the adversarial attack against music signals as a\nnew perception-aware attack framework, which integrates human study into\nadversarial attack design. Specifically, we conduct a human study to quantify\nthe human perception with respect to a change of a music signal. We invite\nhuman participants to rate their perceived deviation based on pairs of original\nand perturbed music signals, and reverse-engineer the human perception process\nby regression analysis to predict the human-perceived deviation given a\nperturbed signal. The perception-aware attack is then formulated as an\noptimization problem that finds an optimal perturbation signal to minimize the\nprediction of perceived deviation from the regressed human perception model. We\nuse the perception-aware framework to design a realistic adversarial music\nattack against YouTube's copyright detector. Experiments show that the\nperception-aware attack produces adversarial music with significantly better\nperceptual quality than prior work.\n", "date": "2022-07-26", "categories": []} {"id": "2207.05756", "title": "Exploring Adversarial Examples and Adversarial Robustness of\n Convolutional Neural Networks by Mutual Information", "abstract": " A counter-intuitive property of convolutional neural networks (CNNs) is their\ninherent susceptibility to adversarial examples, which severely hinders the\napplication of CNNs in security-critical fields. Adversarial examples are\nsimilar to original examples but contain malicious perturbations. Adversarial\ntraining is a simple and effective defense method to improve the robustness of\nCNNs to adversarial examples. The mechanisms behind adversarial examples and\nadversarial training are worth exploring. Therefore, this work investigates\nsimilarities and differences between normally trained CNNs (NT-CNNs) and\nadversarially trained CNNs (AT-CNNs) in information extraction from the mutual\ninformation perspective. We show that 1) whether NT-CNNs or AT-CNNs, for\noriginal and adversarial examples, the trends towards mutual information are\nalmost similar throughout training; 2) compared with normal training,\nadversarial training is more difficult and the amount of information that\nAT-CNNs extract from the input is less; 3) the CNNs trained with different\nmethods have different preferences for certain types of information; NT-CNNs\ntend to extract texture-based information from the input, while AT-CNNs prefer\nto shape-based information. The reason why adversarial examples mislead CNNs\nmay be that they contain more texture-based information about other classes.\nFurthermore, we also analyze the mutual information estimators used in this\nwork and find that they outline the geometric properties of the middle layer's\noutput.\n", "date": "2022-07-12", "categories": []} {"id": "2207.11694", "title": "Proving Common Mechanisms Shared by Twelve Methods of Boosting\n Adversarial Transferability", "abstract": " Although many methods have been proposed to enhance the transferability of\nadversarial perturbations, these methods are designed in a heuristic manner,\nand the essential mechanism for improving adversarial transferability is still\nunclear. This paper summarizes the common mechanism shared by twelve previous\ntransferability-boosting methods in a unified view, i.e., these methods all\nreduce game-theoretic interactions between regional adversarial perturbations.\nTo this end, we focus on the attacking utility of all interactions between\nregional adversarial perturbations, and we first discover and prove the\nnegative correlation between the adversarial transferability and the attacking\nutility of interactions. Based on this discovery, we theoretically prove and\nempirically verify that twelve previous transferability-boosting methods all\nreduce interactions between regional adversarial perturbations. More crucially,\nwe consider the reduction of interactions as the essential reason for the\nenhancement of adversarial transferability. Furthermore, we design the\ninteraction loss to directly penalize interactions between regional adversarial\nperturbations during attacking. Experimental results show that the interaction\nloss significantly improves the transferability of adversarial perturbations.\n", "date": "2022-07-24", "categories": []} {"id": "2207.12203", "title": "Improving Adversarial Robustness via Mutual Information Estimation", "abstract": " Deep neural networks (DNNs) are found to be vulnerable to adversarial noise.\nThey are typically misled by adversarial samples to make wrong predictions. To\nalleviate this negative effect, in this paper, we investigate the dependence\nbetween outputs of the target model and input adversarial samples from the\nperspective of information theory, and propose an adversarial defense method.\nSpecifically, we first measure the dependence by estimating the mutual\ninformation (MI) between outputs and the natural patterns of inputs (called\nnatural MI) and MI between outputs and the adversarial patterns of inputs\n(called adversarial MI), respectively. We find that adversarial samples usually\nhave larger adversarial MI and smaller natural MI compared with those w.r.t.\nnatural samples. Motivated by this observation, we propose to enhance the\nadversarial robustness by maximizing the natural MI and minimizing the\nadversarial MI during the training process. In this way, the target model is\nexpected to pay more attention to the natural pattern that contains objective\nsemantics. Empirical evaluations demonstrate that our method could effectively\nimprove the adversarial accuracy against multiple attacks.\n", "date": "2022-07-25", "categories": []} {"id": "2207.06202", "title": "Adversarially-Aware Robust Object Detector", "abstract": " Object detection, as a fundamental computer vision task, has achieved a\nremarkable progress with the emergence of deep neural networks. Nevertheless,\nfew works explore the adversarial robustness of object detectors to resist\nadversarial attacks for practical applications in various real-world scenarios.\nDetectors have been greatly challenged by unnoticeable perturbation, with sharp\nperformance drop on clean images and extremely poor performance on adversarial\nimages. In this work, we empirically explore the model training for adversarial\nrobustness in object detection, which greatly attributes to the conflict\nbetween learning clean images and adversarial images. To mitigate this issue,\nwe propose a Robust Detector (RobustDet) based on adversarially-aware\nconvolution to disentangle gradients for model learning on clean and\nadversarial images. RobustDet also employs the Adversarial Image Discriminator\n(AID) and Consistent Features with Reconstruction (CFR) to ensure a reliable\nrobustness. Extensive experiments on PASCAL VOC and MS-COCO demonstrate that\nour model effectively disentangles gradients and significantly enhances the\ndetection robustness with maintaining the detection ability on clean images.\n", "date": "2022-07-13", "categories": []} {"id": "2207.10719", "title": "Synthetic Dataset Generation for Adversarial Machine Learning Research", "abstract": " Existing adversarial example research focuses on digitally inserted\nperturbations on top of existing natural image datasets. This construction of\nadversarial examples is not realistic because it may be difficult, or even\nimpossible, for an attacker to deploy such an attack in the real-world due to\nsensing and environmental effects. To better understand adversarial examples\nagainst cyber-physical systems, we propose approximating the real-world through\nsimulation. In this paper we describe our synthetic dataset generation tool\nthat enables scalable collection of such a synthetic dataset with realistic\nadversarial examples. We use the CARLA simulator to collect such a dataset and\ndemonstrate simulated attacks that undergo the same environmental transforms\nand processing as real-world images. Our tools have been used to collect\ndatasets to help evaluate the efficacy of adversarial examples, and can be\nfound at https://github.com/carla-simulator/carla/pull/4992.\n", "date": "2022-07-21", "categories": []} {"id": "2207.10899", "title": "Decoupled Adversarial Contrastive Learning for Self-supervised\n Adversarial Robustness", "abstract": " Adversarial training (AT) for robust representation learning and\nself-supervised learning (SSL) for unsupervised representation learning are two\nactive research fields. Integrating AT into SSL, multiple prior works have\naccomplished a highly significant yet challenging task: learning robust\nrepresentation without labels. A widely used framework is adversarial\ncontrastive learning which couples AT and SSL, and thus constitute a very\ncomplex optimization problem. Inspired by the divide-and-conquer philosophy, we\nconjecture that it might be simplified as well as improved by solving two\nsub-problems: non-robust SSL and pseudo-supervised AT. This motivation shifts\nthe focus of the task from seeking an optimal integrating strategy for a\ncoupled problem to finding sub-solutions for sub-problems. With this said, this\nwork discards prior practices of directly introducing AT to SSL frameworks and\nproposed a two-stage framework termed Decoupled Adversarial Contrastive\nLearning (DeACL). Extensive experimental results demonstrate that our DeACL\nachieves SOTA self-supervised adversarial robustness while significantly\nreducing the training time, which validates its effectiveness and efficiency.\nMoreover, our DeACL constitutes a more explainable solution, and its success\nalso bridges the gap with semi-supervised AT for exploiting unlabeled samples\nfor robust representation learning. The code is publicly accessible at\nhttps://github.com/pantheon5100/DeACL.\n", "date": "2022-07-22", "categories": []} {"id": "2207.10290", "title": "AugRmixAT: A Data Processing and Training Method for Improving Multiple\n Robustness and Generalization Performance", "abstract": " Deep neural networks are powerful, but they also have shortcomings such as\ntheir sensitivity to adversarial examples, noise, blur, occlusion, etc.\nMoreover, ensuring the reliability and robustness of deep neural network models\nis crucial for their application in safety-critical areas. Much previous work\nhas been proposed to improve specific robustness. However, we find that the\nspecific robustness is often improved at the sacrifice of the additional\nrobustness or generalization ability of the neural network model. In\nparticular, adversarial training methods significantly hurt the generalization\nperformance on unperturbed data when improving adversarial robustness. In this\npaper, we propose a new data processing and training method, called AugRmixAT,\nwhich can simultaneously improve the generalization ability and multiple\nrobustness of neural network models. Finally, we validate the effectiveness of\nAugRmixAT on the CIFAR-10/100 and Tiny-ImageNet datasets. The experiments\ndemonstrate that AugRmixAT can improve the model's generalization performance\nwhile enhancing the white-box robustness, black-box robustness, common\ncorruption robustness, and partial occlusion robustness.\n", "date": "2022-07-21", "categories": []} {"id": "2207.10307", "title": "Knowledge-enhanced Black-box Attacks for Recommendations", "abstract": " Recent studies have shown that deep neural networks-based recommender systems\nare vulnerable to adversarial attacks, where attackers can inject carefully\ncrafted fake user profiles (i.e., a set of items that fake users have\ninteracted with) into a target recommender system to achieve malicious\npurposes, such as promote or demote a set of target items. Due to the security\nand privacy concerns, it is more practical to perform adversarial attacks under\nthe black-box setting, where the architecture/parameters and training data of\ntarget systems cannot be easily accessed by attackers. However, generating\nhigh-quality fake user profiles under black-box setting is rather challenging\nwith limited resources to target systems. To address this challenge, in this\nwork, we introduce a novel strategy by leveraging items' attribute information\n(i.e., items' knowledge graph), which can be publicly accessible and provide\nrich auxiliary knowledge to enhance the generation of fake user profiles. More\nspecifically, we propose a knowledge graph-enhanced black-box attacking\nframework (KGAttack) to effectively learn attacking policies through deep\nreinforcement learning techniques, in which knowledge graph is seamlessly\nintegrated into hierarchical policy networks to generate fake user profiles for\nperforming adversarial black-box attacks. Comprehensive experiments on various\nreal-world datasets demonstrate the effectiveness of the proposed attacking\nframework under the black-box setting.\n", "date": "2022-07-21", "categories": []} {"id": "2207.10498", "title": "Towards Efficient Adversarial Training on Vision Transformers", "abstract": " Vision Transformer (ViT), as a powerful alternative to Convolutional Neural\nNetwork (CNN), has received much attention. Recent work showed that ViTs are\nalso vulnerable to adversarial examples like CNNs. To build robust ViTs, an\nintuitive way is to apply adversarial training since it has been shown as one\nof the most effective ways to accomplish robust CNNs. However, one major\nlimitation of adversarial training is its heavy computational cost. The\nself-attention mechanism adopted by ViTs is a computationally intense operation\nwhose expense increases quadratically with the number of input patches, making\nadversarial training on ViTs even more time-consuming. In this work, we first\ncomprehensively study fast adversarial training on a variety of vision\ntransformers and illustrate the relationship between the efficiency and\nrobustness. Then, to expediate adversarial training on ViTs, we propose an\nefficient Attention Guided Adversarial Training mechanism. Specifically,\nrelying on the specialty of self-attention, we actively remove certain patch\nembeddings of each layer with an attention-guided dropping strategy during\nadversarial training. The slimmed self-attention modules accelerate the\nadversarial training on ViTs significantly. With only 65\\% of the fast\nadversarial training time, we match the state-of-the-art results on the\nchallenging ImageNet benchmark.\n", "date": "2022-07-21", "categories": []} {"id": "2206.09628", "title": "Diversified Adversarial Attacks based on Conjugate Gradient Method", "abstract": " Deep learning models are vulnerable to adversarial examples, and adversarial\nattacks used to generate such examples have attracted considerable research\ninterest. Although existing methods based on the steepest descent have achieved\nhigh attack success rates, ill-conditioned problems occasionally reduce their\nperformance. To address this limitation, we utilize the conjugate gradient (CG)\nmethod, which is effective for this type of problem, and propose a novel attack\nalgorithm inspired by the CG method, named the Auto Conjugate Gradient (ACG)\nattack. The results of large-scale evaluation experiments conducted on the\nlatest robust models show that, for most models, ACG was able to find more\nadversarial examples with fewer iterations than the existing SOTA algorithm\nAuto-PGD (APGD). We investigated the difference in search performance between\nACG and APGD in terms of diversification and intensification, and define a\nmeasure called Diversity Index (DI) to quantify the degree of diversity. From\nthe analysis of the diversity using this index, we show that the more diverse\nsearch of the proposed method remarkably improves its attack success rate.\n", "date": "2022-06-20", "categories": []} {"id": "2207.09912", "title": "Online Evasion Attacks on Recurrent Models:The Power of Hallucinating\n the Future", "abstract": " Recurrent models are frequently being used in online tasks such as autonomous\ndriving, and a comprehensive study of their vulnerability is called for.\nExisting research is limited in generality only addressing application-specific\nvulnerability or making implausible assumptions such as the knowledge of future\ninput. In this paper, we present a general attack framework for online tasks\nincorporating the unique constraints of the online setting different from\noffline tasks. Our framework is versatile in that it covers time-varying\nadversarial objectives and various optimization constraints, allowing for a\ncomprehensive study of robustness. Using the framework, we also present a novel\nwhite-box attack called Predictive Attack that `hallucinates' the future. The\nattack achieves 98 percent of the performance of the ideal but infeasible\nclairvoyant attack on average. We validate the effectiveness of the proposed\nframework and attacks through various experiments.\n", "date": "2022-07-08", "categories": []} {"id": "2207.08859", "title": "Prior-Guided Adversarial Initialization for Fast Adversarial Training", "abstract": " Fast adversarial training (FAT) effectively improves the efficiency of\nstandard adversarial training (SAT). However, initial FAT encounters\ncatastrophic overfitting, i.e.,the robust accuracy against adversarial attacks\nsuddenly and dramatically decreases. Though several FAT variants spare no\neffort to prevent overfitting, they sacrifice much calculation cost. In this\npaper, we explore the difference between the training processes of SAT and FAT\nand observe that the attack success rate of adversarial examples (AEs) of FAT\ngets worse gradually in the late training stage, resulting in overfitting. The\nAEs are generated by the fast gradient sign method (FGSM) with a zero or random\ninitialization. Based on the observation, we propose a prior-guided FGSM\ninitialization method to avoid overfitting after investigating several\ninitialization strategies, improving the quality of the AEs during the whole\ntraining process. The initialization is formed by leveraging historically\ngenerated AEs without additional calculation cost. We further provide a\ntheoretical analysis for the proposed initialization method. We also propose a\nsimple yet effective regularizer based on the prior-guided initialization,i.e.,\nthe currently generated perturbation should not deviate too much from the\nprior-guided initialization. The regularizer adopts both historical and current\nadversarial perturbations to guide the model learning. Evaluations on four\ndatasets demonstrate that the proposed method can prevent catastrophic\noverfitting and outperform state-of-the-art FAT methods. The code is released\nat https://github.com/jiaxiaojunQAQ/FGSM-PGI.\n", "date": "2022-07-18", "categories": []} {"id": "2207.08940", "title": "Easy Batch Normalization", "abstract": " It was shown that adversarial examples improve object recognition. But what\nabout their opposite side, easy examples? Easy examples are samples that the\nmachine learning model classifies correctly with high confidence. In our paper,\nwe are making the first step toward exploring the potential benefits of using\neasy examples in the training procedure of neural networks. We propose to use\nan auxiliary batch normalization for easy examples for the standard and robust\naccuracy improvement.\n", "date": "2022-07-18", "categories": []} {"id": "2207.07793", "title": "Towards the Desirable Decision Boundary by Moderate-Margin Adversarial\n Training", "abstract": " Adversarial training, as one of the most effective defense methods against\nadversarial attacks, tends to learn an inclusive decision boundary to increase\nthe robustness of deep learning models. However, due to the large and\nunnecessary increase in the margin along adversarial directions, adversarial\ntraining causes heavy cross-over between natural examples and adversarial\nexamples, which is not conducive to balancing the trade-off between robustness\nand natural accuracy. In this paper, we propose a novel adversarial training\nscheme to achieve a better trade-off between robustness and natural accuracy.\nIt aims to learn a moderate-inclusive decision boundary, which means that the\nmargins of natural examples under the decision boundary are moderate. We call\nthis scheme Moderate-Margin Adversarial Training (MMAT), which generates\nfiner-grained adversarial examples to mitigate the cross-over problem. We also\ntake advantage of logits from a teacher model that has been well-trained to\nguide the learning of our model. Finally, MMAT achieves high natural accuracy\nand robustness under both black-box and white-box attacks. On SVHN, for\nexample, state-of-the-art robustness and natural accuracy are achieved.\n", "date": "2022-07-16", "categories": []} {"id": "2207.07797", "title": "CARBEN: Composite Adversarial Robustness Benchmark", "abstract": " Prior literature on adversarial attack methods has mainly focused on\nattacking with and defending against a single threat model, e.g., perturbations\nbounded in Lp ball. However, multiple threat models can be combined into\ncomposite perturbations. One such approach, composite adversarial attack (CAA),\nnot only expands the perturbable space of the image, but also may be overlooked\nby current modes of robustness evaluation. This paper demonstrates how CAA's\nattack order affects the resulting image, and provides real-time inferences of\ndifferent models, which will facilitate users' configuration of the parameters\nof the attack level and their rapid evaluation of model prediction. A\nleaderboard to benchmark adversarial robustness against CAA is also introduced.\n", "date": "2022-07-16", "categories": []} {"id": "2207.07803", "title": "Masked Spatial-Spectral Autoencoders Are Excellent Hyperspectral\n Defenders", "abstract": " Deep learning methodology contributes a lot to the development of\nhyperspectral image (HSI) analysis community. However, it also makes HSI\nanalysis systems vulnerable to adversarial attacks. To this end, we propose a\nmasked spatial-spectral autoencoder (MSSA) in this paper under self-supervised\nlearning theory, for enhancing the robustness of HSI analysis systems. First, a\nmasked sequence attention learning module is conducted to promote the inherent\nrobustness of HSI analysis systems along spectral channel. Then, we develop a\ngraph convolutional network with learnable graph structure to establish global\npixel-wise combinations.In this way, the attack effect would be dispersed by\nall the related pixels among each combination, and a better defense performance\nis achievable in spatial aspect.Finally, to improve the defense transferability\nand address the problem of limited labelled samples, MSSA employs spectra\nreconstruction as a pretext task and fits the datasets in a self-supervised\nmanner.Comprehensive experiments over three benchmarks verify the effectiveness\nof MSSA in comparison with the state-of-the-art hyperspectral classification\nmethods and representative adversarial defense strategies.\n", "date": "2022-07-16", "categories": []} {"id": "2207.08044", "title": "DIMBA: Discretely Masked Black-Box Attack in Single Object Tracking", "abstract": " The adversarial attack can force a CNN-based model to produce an incorrect\noutput by craftily manipulating human-imperceptible input. Exploring such\nperturbations can help us gain a deeper understanding of the vulnerability of\nneural networks, and provide robustness to deep learning against miscellaneous\nadversaries. Despite extensive studies focusing on the robustness of image,\naudio, and NLP, works on adversarial examples of visual object tracking --\nespecially in a black-box manner -- are quite lacking. In this paper, we\npropose a novel adversarial attack method to generate noises for single object\ntracking under black-box settings, where perturbations are merely added on\ninitial frames of tracking sequences, which is difficult to be noticed from the\nperspective of a whole video clip. Specifically, we divide our algorithm into\nthree components and exploit reinforcement learning for localizing important\nframe patches precisely while reducing unnecessary computational queries\noverhead. Compared to existing techniques, our method requires fewer queries on\ninitialized frames of a video to manipulate competitive or even better attack\nperformance. We test our algorithm in both long-term and short-term datasets,\nincluding OTB100, VOT2018, UAV123, and LaSOT. Extensive experiments demonstrate\nthe effectiveness of our method on three mainstream types of trackers:\ndiscrimination, Siamese-based, and reinforcement learning-based trackers.\n", "date": "2022-07-17", "categories": []} {"id": "2207.08089", "title": "Threat Model-Agnostic Adversarial Defense using Diffusion Models", "abstract": " Deep Neural Networks (DNNs) are highly sensitive to imperceptible malicious\nperturbations, known as adversarial attacks. Following the discovery of this\nvulnerability in real-world imaging and vision applications, the associated\nsafety concerns have attracted vast research attention, and many defense\ntechniques have been developed. Most of these defense methods rely on\nadversarial training (AT) -- training the classification network on images\nperturbed according to a specific threat model, which defines the magnitude of\nthe allowed modification. Although AT leads to promising results, training on a\nspecific threat model fails to generalize to other types of perturbations. A\ndifferent approach utilizes a preprocessing step to remove the adversarial\nperturbation from the attacked image. In this work, we follow the latter path\nand aim to develop a technique that leads to robust classifiers across various\nrealizations of threat models. To this end, we harness the recent advances in\nstochastic generative modeling, and means to leverage these for sampling from\nconditional distributions. Our defense relies on an addition of Gaussian i.i.d\nnoise to the attacked image, followed by a pretrained diffusion process -- an\narchitecture that performs a stochastic iterative process over a denoising\nnetwork, yielding a high perceptual quality denoised outcome. The obtained\nrobustness with this stochastic preprocessing step is validated through\nextensive experiments on the CIFAR-10 dataset, showing that our method\noutperforms the leading defense methods under various threat models.\n", "date": "2022-07-17", "categories": []} {"id": "2207.08137", "title": "Achieve Optimal Adversarial Accuracy for Adversarial Deep Learning using\n Stackelberg Game", "abstract": " Adversarial deep learning is to train robust DNNs against adversarial\nattacks, which is one of the major research focuses of deep learning. Game\ntheory has been used to answer some of the basic questions about adversarial\ndeep learning such as the existence of a classifier with optimal robustness and\nthe existence of optimal adversarial samples for a given class of classifiers.\nIn most previous work, adversarial deep learning was formulated as a\nsimultaneous game and the strategy spaces are assumed to be certain probability\ndistributions in order for the Nash equilibrium to exist. But, this assumption\nis not applicable to the practical situation. In this paper, we give answers to\nthese basic questions for the practical case where the classifiers are DNNs\nwith a given structure, by formulating the adversarial deep learning as\nsequential games. The existence of Stackelberg equilibria for these games are\nproved. Furthermore, it is shown that the equilibrium DNN has the largest\nadversarial accuracy among all DNNs with the same structure, when\nCarlini-Wagner's margin loss is used. Trade-off between robustness and accuracy\nin adversarial deep learning is also studied from game theoretical aspect.\n", "date": "2022-07-17", "categories": []} {"id": "2207.08374", "title": "Adversarial Contrastive Learning via Asymmetric InfoNCE", "abstract": " Contrastive learning (CL) has recently been applied to adversarial learning\ntasks. Such practice considers adversarial samples as additional positive views\nof an instance, and by maximizing their agreements with each other, yields\nbetter adversarial robustness. However, this mechanism can be potentially\nflawed, since adversarial perturbations may cause instance-level identity\nconfusion, which can impede CL performance by pulling together different\ninstances with separate identities. To address this issue, we propose to treat\nadversarial samples unequally when contrasted, with an asymmetric InfoNCE\nobjective ($A-InfoNCE$) that allows discriminating considerations of\nadversarial samples. Specifically, adversaries are viewed as inferior positives\nthat induce weaker learning signals, or as hard negatives exhibiting higher\ncontrast to other negative samples. In the asymmetric fashion, the adverse\nimpacts of conflicting objectives between CL and adversarial learning can be\neffectively mitigated. Experiments show that our approach consistently\noutperforms existing Adversarial CL methods across different finetuning schemes\nwithout additional computational cost. The proposed A-InfoNCE is also a generic\nform that can be readily extended to other CL methods. Code is available at\nhttps://github.com/yqy2001/A-InfoNCE.\n", "date": "2022-07-18", "categories": []} {"id": "2207.03574", "title": "Demystifying the Adversarial Robustness of Random Transformation\n Defenses", "abstract": " Neural networks' lack of robustness against attacks raises concerns in\nsecurity-sensitive settings such as autonomous vehicles. While many\ncountermeasures may look promising, only a few withstand rigorous evaluation.\nDefenses using random transformations (RT) have shown impressive results,\nparticularly BaRT (Raff et al., 2019) on ImageNet. However, this type of\ndefense has not been rigorously evaluated, leaving its robustness properties\npoorly understood. Their stochastic properties make evaluation more challenging\nand render many proposed attacks on deterministic models inapplicable. First,\nwe show that the BPDA attack (Athalye et al., 2018a) used in BaRT's evaluation\nis ineffective and likely overestimates its robustness. We then attempt to\nconstruct the strongest possible RT defense through the informed selection of\ntransformations and Bayesian optimization for tuning their parameters.\nFurthermore, we create the strongest possible attack to evaluate our RT\ndefense. Our new attack vastly outperforms the baseline, reducing the accuracy\nby 83% compared to the 19% reduction by the commonly used EoT attack\n($4.3\\times$ improvement). Our result indicates that the RT defense on the\nImagenette dataset (a ten-class subset of ImageNet) is not robust against\nadversarial examples. Extending the study further, we use our new attack to\nadversarially train RT defense (called AdvRT), resulting in a large robustness\ngain. Code is available at\nhttps://github.com/wagner-group/demystify-random-transform.\n", "date": "2022-06-18", "categories": []} {"id": "2207.07208", "title": "Provably Adversarially Robust Nearest Prototype Classifiers", "abstract": " Nearest prototype classifiers (NPCs) assign to each input point the label of\nthe nearest prototype with respect to a chosen distance metric. A direct\nadvantage of NPCs is that the decisions are interpretable. Previous work could\nprovide lower bounds on the minimal adversarial perturbation in the\n$\\ell_p$-threat model when using the same $\\ell_p$-distance for the NPCs. In\nthis paper we provide a complete discussion on the complexity when using\n$\\ell_p$-distances for decision and $\\ell_q$-threat models for certification\nfor $p,q \\in \\{1,2,\\infty\\}$. In particular we provide scalable algorithms for\nthe \\emph{exact} computation of the minimal adversarial perturbation when using\n$\\ell_2$-distance and improved lower bounds in other cases. Using efficient\nimproved lower bounds we train our Provably adversarially robust NPC (PNPC),\nfor MNIST which have better $\\ell_2$-robustness guarantees than neural\nnetworks. Additionally, we show up to our knowledge the first certification\nresults w.r.t. to the LPIPS perceptual metric which has been argued to be a\nmore realistic threat model for image classification than $\\ell_p$-balls. Our\nPNPC has on CIFAR10 higher certified robust accuracy than the empirical robust\naccuracy reported in (Laidlaw et al., 2021). The code is available in our\nrepository.\n", "date": "2022-07-14", "categories": []} {"id": "2207.07232", "title": "Lipschitz Bound Analysis of Neural Networks", "abstract": " Lipschitz Bound Estimation is an effective method of regularizing deep neural\nnetworks to make them robust against adversarial attacks. This is useful in a\nvariety of applications ranging from reinforcement learning to autonomous\nsystems. In this paper, we highlight the significant gap in obtaining a\nnon-trivial Lipschitz bound certificate for Convolutional Neural Networks\n(CNNs) and empirically support it with extensive graphical analysis. We also\nshow that unrolling Convolutional layers or Toeplitz matrices can be employed\nto convert Convolutional Neural Networks (CNNs) to a Fully Connected Network.\nFurther, we propose a simple algorithm to show the existing 20x-50x gap in a\nparticular data distribution between the actual lipschitz constant and the\nobtained tight bound. We also ran sets of thorough experiments on various\nnetwork architectures and benchmark them on datasets like MNIST and CIFAR-10.\nAll these proposals are supported by extensive testing, graphs, histograms and\ncomparative analysis.\n", "date": "2022-07-14", "categories": []} {"id": "2207.07347", "title": "Feasibility of Inconspicuous GAN-generated Adversarial Patches against\n Object Detection", "abstract": " Standard approaches for adversarial patch generation lead to noisy\nconspicuous patterns, which are easily recognizable by humans. Recent research\nhas proposed several approaches to generate naturalistic patches using\ngenerative adversarial networks (GANs), yet only a few of them were evaluated\non the object detection use case. Moreover, the state of the art mostly focuses\non suppressing a single large bounding box in input by overlapping it with the\npatch directly. Suppressing objects near the patch is a different, more complex\ntask. In this work, we have evaluated the existing approaches to generate\ninconspicuous patches. We have adapted methods, originally developed for\ndifferent computer vision tasks, to the object detection use case with YOLOv3\nand the COCO dataset. We have evaluated two approaches to generate naturalistic\npatches: by incorporating patch generation into the GAN training process and by\nusing the pretrained GAN. For both cases, we have assessed a trade-off between\nperformance and naturalistic patch appearance. Our experiments have shown, that\nusing a pre-trained GAN helps to gain realistic-looking patches while\npreserving the performance similar to conventional adversarial patches.\n", "date": "2022-07-15", "categories": []} {"id": "2207.06888", "title": "Distance Learner: Incorporating Manifold Prior to Model Training", "abstract": " The manifold hypothesis (real world data concentrates near low-dimensional\nmanifolds) is suggested as the principle behind the effectiveness of machine\nlearning algorithms in very high dimensional problems that are common in\ndomains such as vision and speech. Multiple methods have been proposed to\nexplicitly incorporate the manifold hypothesis as a prior in modern Deep Neural\nNetworks (DNNs), with varying success. In this paper, we propose a new method,\nDistance Learner, to incorporate this prior for DNN-based classifiers. Distance\nLearner is trained to predict the distance of a point from the underlying\nmanifold of each class, rather than the class label. For classification,\nDistance Learner then chooses the class corresponding to the closest predicted\nclass manifold. Distance Learner can also identify points as being out of\ndistribution (belonging to neither class), if the distance to the closest\nmanifold is higher than a threshold. We evaluate our method on multiple\nsynthetic datasets and show that Distance Learner learns much more meaningful\nclassification boundaries compared to a standard classifier. We also evaluate\nour method on the task of adversarial robustness, and find that it not only\noutperforms standard classifier by a large margin, but also performs at par\nwith classifiers trained via state-of-the-art adversarial training.\n", "date": "2022-07-14", "categories": []} {"id": "2206.00913", "title": "Improving the Robustness and Generalization of Deep Neural Network with\n Confidence Threshold Reduction", "abstract": " Deep neural networks are easily attacked by imperceptible perturbation.\nPresently, adversarial training (AT) is the most effective method to enhance\nthe robustness of the model against adversarial examples. However, because\nadversarial training solved a min-max value problem, in comparison with natural\ntraining, the robustness and generalization are contradictory, i.e., the\nrobustness improvement of the model will decrease the generalization of the\nmodel. To address this issue, in this paper, a new concept, namely confidence\nthreshold (CT), is introduced and the reducing of the confidence threshold,\nknown as confidence threshold reduction (CTR), is proven to improve both the\ngeneralization and robustness of the model. Specifically, to reduce the CT for\nnatural training (i.e., for natural training with CTR), we propose a\nmask-guided divergence loss function (MDL) consisting of a cross-entropy loss\nterm and an orthogonal term. The empirical and theoretical analysis\ndemonstrates that the MDL loss improves the robustness and generalization of\nthe model simultaneously for natural training. However, the model robustness\nimprovement of natural training with CTR is not comparable to that of\nadversarial training. Therefore, for adversarial training, we propose a\nstandard deviation loss function (STD), which minimizes the difference in the\nprobabilities of the wrong categories, to reduce the CT by being integrated\ninto the loss function of adversarial training. The empirical and theoretical\nanalysis demonstrates that the STD based loss function can further improve the\nrobustness of the adversarially trained model on basis of guaranteeing the\nchangeless or slight improvement of the natural accuracy.\n", "date": "2022-06-02", "categories": []} {"id": "2207.05137", "title": "Towards Effective Multi-Label Recognition Attacks via Knowledge Graph\n Consistency", "abstract": " Many real-world applications of image recognition require multi-label\nlearning, whose goal is to find all labels in an image. Thus, robustness of\nsuch systems to adversarial image perturbations is extremely important.\nHowever, despite a large body of recent research on adversarial attacks, the\nscope of the existing works is mainly limited to the multi-class setting, where\neach image contains a single label. We show that the naive extensions of\nmulti-class attacks to the multi-label setting lead to violating label\nrelationships, modeled by a knowledge graph, and can be detected using a\nconsistency verification scheme. Therefore, we propose a graph-consistent\nmulti-label attack framework, which searches for small image perturbations that\nlead to misclassifying a desired target set while respecting label hierarchies.\nBy extensive experiments on two datasets and using several multi-label\nrecognition models, we show that our method generates extremely successful\nattacks that, unlike naive multi-label perturbations, can produce model\npredictions consistent with the knowledge graph.\n", "date": "2022-07-11", "categories": []} {"id": "2207.05321", "title": "Bi-fidelity Evolutionary Multiobjective Search for Adversarially Robust\n Deep Neural Architectures", "abstract": " Deep neural networks have been found vulnerable to adversarial attacks, thus\nraising potentially concerns in security-sensitive contexts. To address this\nproblem, recent research has investigated the adversarial robustness of deep\nneural networks from the architectural point of view. However, searching for\narchitectures of deep neural networks is computationally expensive,\nparticularly when coupled with adversarial training process. To meet the above\nchallenge, this paper proposes a bi-fidelity multiobjective neural architecture\nsearch approach. First, we formulate the NAS problem for enhancing adversarial\nrobustness of deep neural networks into a multiobjective optimization problem.\nSpecifically, in addition to a low-fidelity performance predictor as the first\nobjective, we leverage an auxiliary-objective -- the value of which is the\noutput of a surrogate model trained with high-fidelity evaluations. Secondly,\nwe reduce the computational cost by combining three performance estimation\nmethods, i.e., parameter sharing, low-fidelity evaluation, and surrogate-based\npredictor. The effectiveness of the proposed approach is confirmed by extensive\nexperiments conducted on CIFAR-10, CIFAR-100 and SVHN datasets.\n", "date": "2022-07-12", "categories": []} {"id": "2207.05382", "title": "Frequency Domain Model Augmentation for Adversarial Attack", "abstract": " For black-box attacks, the gap between the substitute model and the victim\nmodel is usually large, which manifests as a weak attack performance. Motivated\nby the observation that the transferability of adversarial examples can be\nimproved by attacking diverse models simultaneously, model augmentation methods\nwhich simulate different models by using transformed images are proposed.\nHowever, existing transformations for spatial domain do not translate to\nsignificantly diverse augmented models. To tackle this issue, we propose a\nnovel spectrum simulation attack to craft more transferable adversarial\nexamples against both normally trained and defense models. Specifically, we\napply a spectrum transformation to the input and thus perform the model\naugmentation in the frequency domain. We theoretically prove that the\ntransformation derived from frequency domain leads to a diverse spectrum\nsaliency map, an indicator we proposed to reflect the diversity of substitute\nmodels. Notably, our method can be generally combined with existing attacks.\nExtensive experiments on the ImageNet dataset demonstrate the effectiveness of\nour method, \\textit{e.g.}, attacking nine state-of-the-art defense models with\nan average success rate of \\textbf{95.4\\%}. Our code is available in\n\\url{https://github.com/yuyang-long/SSA}.\n", "date": "2022-07-12", "categories": []} {"id": "2207.05451", "title": "Adversarial Robustness Assessment of NeuroEvolution Approaches", "abstract": " NeuroEvolution automates the generation of Artificial Neural Networks through\nthe application of techniques from Evolutionary Computation. The main goal of\nthese approaches is to build models that maximize predictive performance,\nsometimes with an additional objective of minimizing computational complexity.\nAlthough the evolved models achieve competitive results performance-wise, their\nrobustness to adversarial examples, which becomes a concern in\nsecurity-critical scenarios, has received limited attention. In this paper, we\nevaluate the adversarial robustness of models found by two prominent\nNeuroEvolution approaches on the CIFAR-10 image classification task: DENSER and\nNSGA-Net. Since the models are publicly available, we consider white-box\nuntargeted attacks, where the perturbations are bounded by either the L2 or the\nLinfinity-norm. Similarly to manually-designed networks, our results show that\nwhen the evolved models are attacked with iterative methods, their accuracy\nusually drops to, or close to, zero under both distance metrics. The DENSER\nmodel is an exception to this trend, showing some resistance under the L2\nthreat model, where its accuracy only drops from 93.70% to 18.10% even with\niterative attacks. Additionally, we analyzed the impact of pre-processing\napplied to the data before the first layer of the network. Our observations\nsuggest that some of these techniques can exacerbate the perturbations added to\nthe original inputs, potentially harming robustness. Thus, this choice should\nnot be neglected when automatically designing networks for applications where\nadversarial attacks are prone to occur.\n", "date": "2022-07-12", "categories": []} {"id": "2207.05548", "title": "Practical Attacks on Machine Learning: A Case Study on Adversarial\n Windows Malware", "abstract": " While machine learning is vulnerable to adversarial examples, it still lacks\nsystematic procedures and tools for evaluating its security in different\napplication contexts. In this article, we discuss how to develop automated and\nscalable security evaluations of machine learning using practical attacks,\nreporting a use case on Windows malware detection.\n", "date": "2022-07-12", "categories": []} {"id": "2207.02152", "title": "UniCR: Universally Approximated Certified Robustness via Randomized\n Smoothing", "abstract": " We study certified robustness of machine learning classifiers against\nadversarial perturbations. In particular, we propose the first universally\napproximated certified robustness (UniCR) framework, which can approximate the\nrobustness certification of any input on any classifier against any $\\ell_p$\nperturbations with noise generated by any continuous probability distribution.\nCompared with the state-of-the-art certified defenses, UniCR provides many\nsignificant benefits: (1) the first universal robustness certification\nframework for the above 4 'any's; (2) automatic robustness certification that\navoids case-by-case analysis, (3) tightness validation of certified robustness,\nand (4) optimality validation of noise distributions used by randomized\nsmoothing. We conduct extensive experiments to validate the above benefits of\nUniCR and the advantages of UniCR over state-of-the-art certified defenses\nagainst $\\ell_p$ perturbations.\n", "date": "2022-07-05", "categories": []} {"id": "2207.04307", "title": "Adversarial Framework with Certified Robustness for Time-Series Domain\n via Statistical Features", "abstract": " Time-series data arises in many real-world applications (e.g., mobile health)\nand deep neural networks (DNNs) have shown great success in solving them.\nDespite their success, little is known about their robustness to adversarial\nattacks. In this paper, we propose a novel adversarial framework referred to as\nTime-Series Attacks via STATistical Features (TSA-STAT)}. To address the unique\nchallenges of time-series domain, TSA-STAT employs constraints on statistical\nfeatures of the time-series data to construct adversarial examples. Optimized\npolynomial transformations are used to create attacks that are more effective\n(in terms of successfully fooling DNNs) than those based on additive\nperturbations. We also provide certified bounds on the norm of the statistical\nfeatures for constructing adversarial examples. Our experiments on diverse\nreal-world benchmark datasets show the effectiveness of TSA-STAT in fooling\nDNNs for time-series domain and in improving their robustness. The source code\nof TSA-STAT algorithms is available at\nhttps://github.com/tahabelkhouja/Time-Series-Attacks-via-STATistical-Features\n", "date": "2022-07-09", "categories": []} {"id": "2207.04718", "title": "Physical Attack on Monocular Depth Estimation with Optimal Adversarial\n Patches", "abstract": " Deep learning has substantially boosted the performance of Monocular Depth\nEstimation (MDE), a critical component in fully vision-based autonomous driving\n(AD) systems (e.g., Tesla and Toyota). In this work, we develop an attack\nagainst learning-based MDE. In particular, we use an optimization-based method\nto systematically generate stealthy physical-object-oriented adversarial\npatches to attack depth estimation. We balance the stealth and effectiveness of\nour attack with object-oriented adversarial design, sensitive region\nlocalization, and natural style camouflage. Using real-world driving scenarios,\nwe evaluate our attack on concurrent MDE models and a representative downstream\ntask for AD (i.e., 3D object detection). Experimental results show that our\nmethod can generate stealthy, effective, and robust adversarial patches for\ndifferent target objects and models and achieves more than 6 meters mean depth\nestimation error and 93% attack success rate (ASR) in object detection with a\npatch of 1/9 of the vehicle's rear area. Field tests on three different driving\nroutes with a real vehicle indicate that we cause over 6 meters mean depth\nestimation error and reduce the object detection rate from 90.70% to 5.16% in\ncontinuous video frames.\n", "date": "2022-07-11", "categories": []} {"id": "2207.02963", "title": "The Weaknesses of Adversarial Camouflage in Overhead Imagery", "abstract": " Machine learning is increasingly critical for analysis of the ever-growing\ncorpora of overhead imagery. Advanced computer vision object detection\ntechniques have demonstrated great success in identifying objects of interest\nsuch as ships, automobiles, and aircraft from satellite and drone imagery. Yet\nrelying on computer vision opens up significant vulnerabilities, namely, the\nsusceptibility of object detection algorithms to adversarial attacks. In this\npaper we explore the efficacy and drawbacks of adversarial camouflage in an\noverhead imagery context. While a number of recent papers have demonstrated the\nability to reliably fool deep learning classifiers and object detectors with\nadversarial patches, most of this work has been performed on relatively uniform\ndatasets and only a single class of objects. In this work we utilize the\nVisDrone dataset, which has a large range of perspectives and object sizes. We\nexplore four different object classes: bus, car, truck, van. We build a library\nof 24 adversarial patches to disguise these objects, and introduce a patch\ntranslucency variable to our patches. The translucency (or alpha value) of the\npatches is highly correlated to their efficacy. Further, we show that while\nadversarial patches may fool object detectors, the presence of such patches is\noften easily uncovered, with patches on average 24% more detectable than the\nobjects the patches were meant to hide. This raises the question of whether\nsuch patches truly constitute camouflage. Source code is available at\nhttps://github.com/IQTLabs/camolo.\n", "date": "2022-07-06", "categories": []} {"id": "2206.03717", "title": "LADDER: Latent Boundary-guided Adversarial Training", "abstract": " Deep Neural Networks (DNNs) have recently achieved great success in many\nclassification tasks. Unfortunately, they are vulnerable to adversarial attacks\nthat generate adversarial examples with a small perturbation to fool DNN\nmodels, especially in model sharing scenarios. Adversarial training is proved\nto be the most effective strategy that injects adversarial examples into model\ntraining to improve the robustness of DNN models against adversarial attacks.\nHowever, adversarial training based on the existing adversarial examples fails\nto generalize well to standard, unperturbed test data. To achieve a better\ntrade-off between standard accuracy and adversarial robustness, we propose a\nnovel adversarial training framework called LAtent bounDary-guided aDvErsarial\ntRaining (LADDER) that adversarially trains DNN models on latent\nboundary-guided adversarial examples. As opposed to most of the existing\nmethods that generate adversarial examples in the input space, LADDER generates\na myriad of high-quality adversarial examples through adding perturbations to\nlatent features. The perturbations are made along the normal of the decision\nboundary constructed by an SVM with an attention mechanism. We analyze the\nmerits of our generated boundary-guided adversarial examples from a boundary\nfield perspective and visualization view. Extensive experiments and detailed\nanalysis on MNIST, SVHN, CelebA, and CIFAR-10 validate the effectiveness of\nLADDER in achieving a better trade-off between standard accuracy and\nadversarial robustness as compared with vanilla DNNs and competitive baselines.\n", "date": "2022-06-08", "categories": []} {"id": "2207.02391", "title": "Query-Efficient Adversarial Attack Based on Latin Hypercube Sampling", "abstract": " In order to be applicable in real-world scenario, Boundary Attacks (BAs) were\nproposed and ensured one hundred percent attack success rate with only decision\ninformation. However, existing BA methods craft adversarial examples by\nleveraging a simple random sampling (SRS) to estimate the gradient, consuming a\nlarge number of model queries. To overcome the drawback of SRS, this paper\nproposes a Latin Hypercube Sampling based Boundary Attack (LHS-BA) to save\nquery budget. Compared with SRS, LHS has better uniformity under the same\nlimited number of random samples. Therefore, the average on these random\nsamples is closer to the true gradient than that estimated by SRS. Various\nexperiments are conducted on benchmark datasets including MNIST, CIFAR, and\nImageNet-1K. Experimental results demonstrate the superiority of the proposed\nLHS-BA over the state-of-the-art BA methods in terms of query efficiency. The\nsource codes are publicly available at https://github.com/GZHU-DVL/LHS-BA.\n", "date": "2022-07-05", "categories": []} {"id": "2206.08255", "title": "Gradient-Based Adversarial and Out-of-Distribution Detection", "abstract": " We propose to utilize gradients for detecting adversarial and\nout-of-distribution samples. We introduce confounding labels -- labels that\ndiffer from normal labels seen during training -- in gradient generation to\nprobe the effective expressivity of neural networks. Gradients depict the\namount of change required for a model to properly represent given inputs,\nproviding insight into the representational power of the model established by\nnetwork architectural properties as well as training data. By introducing a\nlabel of different design, we remove the dependency on ground truth labels for\ngradient generation during inference. We show that our gradient-based approach\nallows for capturing the anomaly in inputs based on the effective expressivity\nof the models with no hyperparameter tuning or additional processing, and\noutperforms state-of-the-art methods for adversarial and out-of-distribution\ndetection.\n", "date": "2022-06-16", "categories": []} {"id": "2207.00694", "title": "Efficient Adversarial Training With Data Pruning", "abstract": " Neural networks are susceptible to adversarial examples-small input\nperturbations that cause models to fail. Adversarial training is one of the\nsolutions that stops adversarial examples; models are exposed to attacks during\ntraining and learn to be resilient to them. Yet, such a procedure is currently\nexpensive-it takes a long time to produce and train models with adversarial\nsamples, and, what is worse, it occasionally fails. In this paper we\ndemonstrate data pruning-a method for increasing adversarial training\nefficiency through data sub-sampling.We empirically show that data pruning\nleads to improvements in convergence and reliability of adversarial training,\nalbeit with different levels of utility degradation. For example, we observe\nthat using random sub-sampling of CIFAR10 to drop 40% of data, we lose 8%\nadversarial accuracy against the strongest attackers, while by using only 20%\nof data we lose 14% adversarial accuracy and reduce runtime by a factor of 3.\nInterestingly, we discover that in some settings data pruning brings benefits\nfrom both worlds-it both improves adversarial accuracy and training time.\n", "date": "2022-07-01", "categories": []} {"id": "2207.01149", "title": "RAF: Recursive Adversarial Attacks on Face Recognition Using Extremely\n Limited Queries", "abstract": " Recent successful adversarial attacks on face recognition show that, despite\nthe remarkable progress of face recognition models, they are still far behind\nthe human intelligence for perception and recognition. It reveals the\nvulnerability of deep convolutional neural networks (CNNs) as state-of-the-art\nbuilding block for face recognition models against adversarial examples, which\ncan cause certain consequences for secure systems. Gradient-based adversarial\nattacks are widely studied before and proved to be successful against face\nrecognition models. However, finding the optimized perturbation per each face\nneeds to submitting the significant number of queries to the target model. In\nthis paper, we propose recursive adversarial attack on face recognition using\nautomatic face warping which needs extremely limited number of queries to fool\nthe target model. Instead of a random face warping procedure, the warping\nfunctions are applied on specific detected regions of face like eyebrows, nose,\nlips, etc. We evaluate the robustness of proposed method in the decision-based\nblack-box attack setting, where the attackers have no access to the model\nparameters and gradients, but hard-label predictions and confidence scores are\nprovided by the target model.\n", "date": "2022-07-04", "categories": []} {"id": "2207.01156", "title": "Removing Batch Normalization Boosts Adversarial Training", "abstract": " Adversarial training (AT) defends deep neural networks against adversarial\nattacks. One challenge that limits its practical application is the performance\ndegradation on clean samples. A major bottleneck identified by previous works\nis the widely used batch normalization (BN), which struggles to model the\ndifferent statistics of clean and adversarial training samples in AT. Although\nthe dominant approach is to extend BN to capture this mixture of distribution,\nwe propose to completely eliminate this bottleneck by removing all BN layers in\nAT. Our normalizer-free robust training (NoFrost) method extends recent\nadvances in normalizer-free networks to AT for its unexplored advantage on\nhandling the mixture distribution challenge. We show that NoFrost achieves\nadversarial robustness with only a minor sacrifice on clean sample accuracy. On\nImageNet with ResNet50, NoFrost achieves $74.06\\%$ clean accuracy, which drops\nmerely $2.00\\%$ from standard training. In contrast, BN-based AT obtains\n$59.28\\%$ clean accuracy, suffering a significant $16.78\\%$ drop from standard\ntraining. In addition, NoFrost achieves a $23.56\\%$ adversarial robustness\nagainst PGD attack, which improves the $13.57\\%$ robustness in BN-based AT. We\nobserve better model smoothness and larger decision margins from NoFrost, which\nmake the models less sensitive to input perturbations and thus more robust.\nMoreover, when incorporating more data augmentations into NoFrost, it achieves\ncomprehensive robustness against multiple distribution shifts. Code and\npre-trained models are public at\nhttps://github.com/amazon-research/normalizer-free-robust-training.\n", "date": "2022-07-04", "categories": []} {"id": "2207.01396", "title": "Hessian-Free Second-Order Adversarial Examples for Adversarial Learning", "abstract": " Recent studies show deep neural networks (DNNs) are extremely vulnerable to\nthe elaborately designed adversarial examples. Adversarial learning with those\nadversarial examples has been proved as one of the most effective methods to\ndefend against such an attack. At present, most existing adversarial examples\ngeneration methods are based on first-order gradients, which can hardly further\nimprove models' robustness, especially when facing second-order adversarial\nattacks. Compared with first-order gradients, second-order gradients provide a\nmore accurate approximation of the loss landscape with respect to natural\nexamples. Inspired by this, our work crafts second-order adversarial examples\nand uses them to train DNNs. Nevertheless, second-order optimization involves\ntime-consuming calculation for Hessian-inverse. We propose an approximation\nmethod through transforming the problem into an optimization in the Krylov\nsubspace, which remarkably reduce the computational complexity to speed up the\ntraining procedure. Extensive experiments conducted on the MINIST and CIFAR-10\ndatasets show that our adversarial learning with second-order adversarial\nexamples outperforms other fisrt-order methods, which can improve the model\nrobustness against a wide range of attacks.\n", "date": "2022-07-04", "categories": []} {"id": "2206.15415", "title": "MEAD: A Multi-Armed Approach for Evaluation of Adversarial Examples\n Detectors", "abstract": " Detection of adversarial examples has been a hot topic in the last years due\nto its importance for safely deploying machine learning algorithms in critical\napplications. However, the detection methods are generally validated by\nassuming a single implicitly known attack strategy, which does not necessarily\naccount for real-life threats. Indeed, this can lead to an overoptimistic\nassessment of the detectors' performance and may induce some bias in the\ncomparison between competing detection schemes. We propose a novel multi-armed\nframework, called MEAD, for evaluating detectors based on several attack\nstrategies to overcome this limitation. Among them, we make use of three new\nobjectives to generate attacks. The proposed performance metric is based on the\nworst-case scenario: detection is successful if and only if all different\nattacks are correctly recognized. Empirically, we show the effectiveness of our\napproach. Moreover, the poor performance obtained for state-of-the-art\ndetectors opens a new exciting line of research.\n", "date": "2022-06-30", "categories": []} {"id": "2206.04310", "title": "GSmooth: Certified Robustness against Semantic Transformations via\n Generalized Randomized Smoothing", "abstract": " Certified defenses such as randomized smoothing have shown promise towards\nbuilding reliable machine learning systems against $\\ell_p$-norm bounded\nattacks. However, existing methods are insufficient or unable to provably\ndefend against semantic transformations, especially those without closed-form\nexpressions (such as defocus blur and pixelate), which are more common in\npractice and often unrestricted. To fill up this gap, we propose generalized\nrandomized smoothing (GSmooth), a unified theoretical framework for certifying\nrobustness against general semantic transformations via a novel dimension\naugmentation strategy. Under the GSmooth framework, we present a scalable\nalgorithm that uses a surrogate image-to-image network to approximate the\ncomplex transformation. The surrogate model provides a powerful tool for\nstudying the properties of semantic transformations and certifying robustness.\nExperimental results on several datasets demonstrate the effectiveness of our\napproach for robustness certification against multiple kinds of semantic\ntransformations and corruptions, which is not achievable by the alternative\nbaselines.\n", "date": "2022-06-09", "categories": []} {"id": "2206.14729", "title": "longhorns at DADC 2022: How many linguists does it take to fool a\n Question Answering model? A systematic approach to adversarial attacks", "abstract": " Developing methods to adversarially challenge NLP systems is a promising\navenue for improving both model performance and interpretability. Here, we\ndescribe the approach of the team \"longhorns\" on Task 1 of the The First\nWorkshop on Dynamic Adversarial Data Collection (DADC), which asked teams to\nmanually fool a model on an Extractive Question Answering task. Our team\nfinished first, with a model error rate of 62%. We advocate for a systematic,\nlinguistically informed approach to formulating adversarial questions, and we\ndescribe the results of our pilot experiments, as well as our official\nsubmission.\n", "date": "2022-06-29", "categories": []} {"id": "2206.13991", "title": "Increasing Confidence in Adversarial Robustness Evaluations", "abstract": " Hundreds of defenses have been proposed to make deep neural networks robust\nagainst minimal (adversarial) input perturbations. However, only a handful of\nthese defenses held up their claims because correctly evaluating robustness is\nextremely challenging: Weak attacks often fail to find adversarial examples\neven if they unknowingly exist, thereby making a vulnerable network look\nrobust. In this paper, we propose a test to identify weak attacks, and thus\nweak defense evaluations. Our test slightly modifies a neural network to\nguarantee the existence of an adversarial example for every sample.\nConsequentially, any correct attack must succeed in breaking this modified\nnetwork. For eleven out of thirteen previously-published defenses, the original\nevaluation of the defense fails our test, while stronger attacks that break\nthese defenses pass it. We hope that attack unit tests - such as ours - will be\na major component in future robustness evaluations and increase confidence in\nan empirical field that is currently riddled with skepticism.\n", "date": "2022-06-28", "categories": []} {"id": "2206.14020", "title": "Rethinking Adversarial Examples for Location Privacy Protection", "abstract": " We have investigated a new application of adversarial examples, namely\nlocation privacy protection against landmark recognition systems. We introduce\nmask-guided multimodal projected gradient descent (MM-PGD), in which\nadversarial examples are trained on different deep models. Image contents are\nprotected by analyzing the properties of regions to identify the ones most\nsuitable for blending in adversarial examples. We investigated two region\nidentification strategies: class activation map-based MM-PGD, in which the\ninternal behaviors of trained deep models are targeted; and human-vision-based\nMM-PGD, in which regions that attract less human attention are targeted.\nExperiments on the Places365 dataset demonstrated that these strategies are\npotentially effective in defending against black-box landmark recognition\nsystems without the need for much image manipulation.\n", "date": "2022-06-28", "categories": []} {"id": "2206.12590", "title": "RSTAM: An Effective Black-Box Impersonation Attack on Face Recognition\n using a Mobile and Compact Printer", "abstract": " Face recognition has achieved considerable progress in recent years thanks to\nthe development of deep neural networks, but it has recently been discovered\nthat deep neural networks are vulnerable to adversarial examples. This means\nthat face recognition models or systems based on deep neural networks are also\nsusceptible to adversarial examples. However, the existing methods of attacking\nface recognition models or systems with adversarial examples can effectively\ncomplete white-box attacks but not black-box impersonation attacks, physical\nattacks, or convenient attacks, particularly on commercial face recognition\nsystems. In this paper, we propose a new method to attack face recognition\nmodels or systems called RSTAM, which enables an effective black-box\nimpersonation attack using an adversarial mask printed by a mobile and compact\nprinter. First, RSTAM enhances the transferability of the adversarial masks\nthrough our proposed random similarity transformation strategy. Furthermore, we\npropose a random meta-optimization strategy for ensembling several pre-trained\nface models to generate more general adversarial masks. Finally, we conduct\nexperiments on the CelebA-HQ, LFW, Makeup Transfer (MT), and CASIA-FaceV5\ndatasets. The performance of the attacks is also evaluated on state-of-the-art\ncommercial face recognition systems: Face++, Baidu, Aliyun, Tencent, and\nMicrosoft. Extensive experiments show that RSTAM can effectively perform\nblack-box impersonation attacks on face recognition models or systems.\n", "date": "2022-06-25", "categories": []} {"id": "2206.12685", "title": "Defense against adversarial attacks on deep convolutional neural\n networks through nonlocal denoising", "abstract": " Despite substantial advances in network architecture performance, the\nsusceptibility of adversarial attacks makes deep learning challenging to\nimplement in safety-critical applications. This paper proposes a data-centric\napproach to addressing this problem. A nonlocal denoising method with different\nluminance values has been used to generate adversarial examples from the\nModified National Institute of Standards and Technology database (MNIST) and\nCanadian Institute for Advanced Research (CIFAR-10) data sets. Under\nperturbation, the method provided absolute accuracy improvements of up to 9.3%\nin the MNIST data set and 13% in the CIFAR-10 data set. Training using\ntransformed images with higher luminance values increases the robustness of the\nclassifier. We have shown that transfer learning is disadvantageous for\nadversarial machine learning. The results indicate that simple adversarial\nexamples can improve resilience and make deep learning easier to apply in\nvarious applications.\n", "date": "2022-06-25", "categories": []} {"id": "2206.12714", "title": "Defending Multimodal Fusion Models against Single-Source Adversaries", "abstract": " Beyond achieving high performance across many vision tasks, multimodal models\nare expected to be robust to single-source faults due to the availability of\nredundant information between modalities. In this paper, we investigate the\nrobustness of multimodal neural networks against worst-case (i.e., adversarial)\nperturbations on a single modality. We first show that standard multimodal\nfusion models are vulnerable to single-source adversaries: an attack on any\nsingle modality can overcome the correct information from multiple unperturbed\nmodalities and cause the model to fail. This surprising vulnerability holds\nacross diverse multimodal tasks and necessitates a solution. Motivated by this\nfinding, we propose an adversarially robust fusion strategy that trains the\nmodel to compare information coming from all the input sources, detect\ninconsistencies in the perturbed modality compared to the other modalities, and\nonly allow information from the unperturbed modalities to pass through. Our\napproach significantly improves on state-of-the-art methods in single-source\nrobustness, achieving gains of 7.8-25.2% on action recognition, 19.7-48.2% on\nobject detection, and 1.6-6.7% on sentiment analysis, without degrading\nperformance on unperturbed (i.e., clean) data.\n", "date": "2022-06-25", "categories": []} {"id": "2206.12725", "title": "Empirical Evaluation of Physical Adversarial Patch Attacks Against\n Overhead Object Detection Models", "abstract": " Adversarial patches are images designed to fool otherwise well-performing\nneural network-based computer vision models. Although these attacks were\ninitially conceived of and studied digitally, in that the raw pixel values of\nthe image were perturbed, recent work has demonstrated that these attacks can\nsuccessfully transfer to the physical world. This can be accomplished by\nprinting out the patch and adding it into scenes of newly captured images or\nvideo footage. In this work we further test the efficacy of adversarial patch\nattacks in the physical world under more challenging conditions. We consider\nobject detection models trained on overhead imagery acquired through aerial or\nsatellite cameras, and we test physical adversarial patches inserted into\nscenes of a desert environment. Our main finding is that it is far more\ndifficult to successfully implement the adversarial patch attacks under these\nconditions than in the previously considered conditions. This has important\nimplications for AI safety as the real-world threat posed by adversarial\nexamples may be overstated.\n", "date": "2022-06-25", "categories": []} {"id": "2206.12963", "title": "Self-Healing Robust Neural Networks via Closed-Loop Control", "abstract": " Despite the wide applications of neural networks, there have been increasing\nconcerns about their vulnerability issue. While numerous attack and defense\ntechniques have been developed, this work investigates the robustness issue\nfrom a new angle: can we design a self-healing neural network that can\nautomatically detect and fix the vulnerability issue by itself? A typical\nself-healing mechanism is the immune system of a human body. This\nbiology-inspired idea has been used in many engineering designs but is rarely\ninvestigated in deep learning. This paper considers the post-training\nself-healing of a neural network, and proposes a closed-loop control\nformulation to automatically detect and fix the errors caused by various\nattacks or perturbations. We provide a margin-based analysis to explain how\nthis formulation can improve the robustness of a classifier. To speed up the\ninference of the proposed self-healing network, we solve the control problem\nvia improving the Pontryagin Maximum Principle-based solver. Lastly, we present\nan error estimation of the proposed framework for neural networks with\nnonlinear activation functions. We validate the performance on several network\narchitectures against various perturbations. Since the self-healing method does\nnot need a-priori information about data perturbations/attacks, it can handle a\nbroad class of unforeseen perturbations.\n", "date": "2022-06-26", "categories": []} {"id": "2206.13083", "title": "Adversarial Example Detection in Deployed Tree Ensembles", "abstract": " Tree ensembles are powerful models that are widely used. However, they are\nsusceptible to adversarial examples, which are examples that purposely\nconstructed to elicit a misprediction from the model. This can degrade\nperformance and erode a user's trust in the model. Typically, approaches try to\nalleviate this problem by verifying how robust a learned ensemble is or\nrobustifying the learning process. We take an alternative approach and attempt\nto detect adversarial examples in a post-deployment setting. We present a novel\nmethod for this task that works by analyzing an unseen example's output\nconfiguration, which is the set of predictions made by an ensemble's\nconstituent trees. Our approach works with any additive tree ensemble and does\nnot require training a separate model. We evaluate our approach on three\ndifferent tree ensemble learners. We empirically show that our method is\ncurrently the best adversarial detection method for tree ensembles.\n", "date": "2022-06-27", "categories": []} {"id": "2206.12169", "title": "AdAUC: End-to-end Adversarial AUC Optimization Against Long-tail\n Problems", "abstract": " It is well-known that deep learning models are vulnerable to adversarial\nexamples. Existing studies of adversarial training have made great progress\nagainst this challenge. As a typical trait, they often assume that the class\ndistribution is overall balanced. However, long-tail datasets are ubiquitous in\na wide spectrum of applications, where the amount of head class instances is\nlarger than the tail classes. Under such a scenario, AUC is a much more\nreasonable metric than accuracy since it is insensitive toward class\ndistribution. Motivated by this, we present an early trial to explore\nadversarial training methods to optimize AUC. The main challenge lies in that\nthe positive and negative examples are tightly coupled in the objective\nfunction. As a direct result, one cannot generate adversarial examples without\na full scan of the dataset. To address this issue, based on a concavity\nregularization scheme, we reformulate the AUC optimization problem as a saddle\npoint problem, where the objective becomes an instance-wise function. This\nleads to an end-to-end training protocol. Furthermore, we provide a convergence\nguarantee of the proposed algorithm. Our analysis differs from the existing\nstudies since the algorithm is asked to generate adversarial examples by\ncalculating the gradient of a min-max problem. Finally, the extensive\nexperimental results show the performance and robustness of our algorithm in\nthree long-tail datasets.\n", "date": "2022-06-24", "categories": []} {"id": "2206.12292", "title": "InfoAT: Improving Adversarial Training Using the Information Bottleneck\n Principle", "abstract": " Adversarial training (AT) has shown excellent high performance in defending\nagainst adversarial examples. Recent studies demonstrate that examples are not\nequally important to the final robustness of models during AT, that is, the\nso-called hard examples that can be attacked easily exhibit more influence than\nrobust examples on the final robustness. Therefore, guaranteeing the robustness\nof hard examples is crucial for improving the final robustness of the model.\nHowever, defining effective heuristics to search for hard examples is still\ndifficult. In this article, inspired by the information bottleneck (IB)\nprinciple, we uncover that an example with high mutual information of the input\nand its associated latent representation is more likely to be attacked. Based\non this observation, we propose a novel and effective adversarial training\nmethod (InfoAT). InfoAT is encouraged to find examples with high mutual\ninformation and exploit them efficiently to improve the final robustness of\nmodels. Experimental results show that InfoAT achieves the best robustness\namong different datasets and models in comparison with several state-of-the-art\nmethods.\n", "date": "2022-06-23", "categories": []} {"id": "2206.01736", "title": "Adaptive Adversarial Training to Improve Adversarial Robustness of DNNs\n for Medical Image Segmentation and Detection", "abstract": " It is known that Deep Neural networks (DNNs) are vulnerable to adversarial\nattacks, and the adversarial robustness of DNNs could be improved by adding\nadversarial noises to training data (e.g., the standard adversarial training\n(SAT)). However, inappropriate noises added to training data may reduce a\nmodel's performance, which is termed the trade-off between accuracy and\nrobustness. This problem has been sufficiently studied for the classification\nof whole images but has rarely been explored for image analysis tasks in the\nmedical application domain, including image segmentation, landmark detection,\nand object detection tasks. In this study, we show that, for those medical\nimage analysis tasks, the SAT method has a severe issue that limits its\npractical use: it generates a fixed and unified level of noise for all training\nsamples for robust DNN training. A high noise level may lead to a large\nreduction in model performance and a low noise level may not be effective in\nimproving robustness. To resolve this issue, we design an adaptive-margin\nadversarial training (AMAT) method that generates sample-wise adaptive\nadversarial noises for robust DNN training. In contrast to the existing,\nclassification-oriented adversarial training methods, our AMAT method uses a\nloss-defined-margin strategy so that it can be applied to different tasks as\nlong as the loss functions are well-defined. We successfully apply our AMAT\nmethod to state-of-the-art DNNs, using five publicly available datasets. The\nexperimental results demonstrate that: (1) our AMAT method can be applied to\nthe three seemingly different tasks in the medical image application domain;\n(2) AMAT outperforms the SAT method in adversarial robustness; (3) AMAT has a\nminimal reduction in prediction accuracy on clean data, compared with the SAT\nmethod; and (4) AMAT has almost the same training time cost as SAT.\n", "date": "2022-06-02", "categories": []} {"id": "2206.08675", "title": "Understanding Robust Overfitting of Adversarial Training and Beyond", "abstract": " Robust overfitting widely exists in adversarial training of deep networks.\nThe exact underlying reasons for this are still not completely understood.\nHere, we explore the causes of robust overfitting by comparing the data\ndistribution of \\emph{non-overfit} (weak adversary) and \\emph{overfitted}\n(strong adversary) adversarial training, and observe that the distribution of\nthe adversarial data generated by weak adversary mainly contain small-loss\ndata. However, the adversarial data generated by strong adversary is more\ndiversely distributed on the large-loss data and the small-loss data. Given\nthese observations, we further designed data ablation adversarial training and\nidentify that some small-loss data which are not worthy of the adversary\nstrength cause robust overfitting in the strong adversary mode. To relieve this\nissue, we propose \\emph{minimum loss constrained adversarial training} (MLCAT):\nin a minibatch, we learn large-loss data as usual, and adopt additional\nmeasures to increase the loss of the small-loss data. Technically, MLCAT\nhinders data fitting when they become easy to learn to prevent robust\noverfitting; philosophically, MLCAT reflects the spirit of turning waste into\ntreasure and making the best use of each adversarial data; algorithmically, we\ndesigned two realizations of MLCAT, and extensive experiments demonstrate that\nMLCAT can eliminate robust overfitting and further boost adversarial\nrobustness.\n", "date": "2022-06-17", "categories": []} {"id": "2206.10809", "title": "SSMI: How to Make Objects of Interest Disappear without Accessing Object\n Detectors?", "abstract": " Most black-box adversarial attack schemes for object detectors mainly face\ntwo shortcomings: requiring access to the target model and generating\ninefficient adversarial examples (failing to make objects disappear in large\nnumbers). To overcome these shortcomings, we propose a black-box adversarial\nattack scheme based on semantic segmentation and model inversion (SSMI). We\nfirst locate the position of the target object using semantic segmentation\ntechniques. Next, we design a neighborhood background pixel replacement to\nreplace the target region pixels with background pixels to ensure that the\npixel modifications are not easily detected by human vision. Finally, we\nreconstruct a machine-recognizable example and use the mask matrix to select\npixels in the reconstructed example to modify the benign image to generate an\nadversarial example. Detailed experimental results show that SSMI can generate\nefficient adversarial examples to evade human-eye perception and make objects\nof interest disappear. And more importantly, SSMI outperforms existing same\nkinds of attacks. The maximum increase in new and disappearing labels is 16%,\nand the maximum decrease in mAP metrics for object detection is 36%.\n", "date": "2022-06-22", "categories": []} {"id": "2206.10875", "title": "Guided Diffusion Model for Adversarial Purification from Random Noise", "abstract": " In this paper, we propose a novel guided diffusion purification approach to\nprovide a strong defense against adversarial attacks. Our model achieves 89.62%\nrobust accuracy under PGD-L_inf attack (eps = 8/255) on the CIFAR-10 dataset.\nWe first explore the essential correlations between unguided diffusion models\nand randomized smoothing, enabling us to apply the models to certified\nrobustness. The empirical results show that our models outperform randomized\nsmoothing by 5% when the certified L2 radius r is larger than 0.5.\n", "date": "2022-06-22", "categories": []} {"id": "2206.10988", "title": "AdvSmo: Black-box Adversarial Attack by Smoothing Linear Structure of\n Texture", "abstract": " Black-box attacks usually face two problems: poor transferability and the\ninability to evade the adversarial defense. To overcome these shortcomings, we\ncreate an original approach to generate adversarial examples by smoothing the\nlinear structure of the texture in the benign image, called AdvSmo. We\nconstruct the adversarial examples without relying on any internal information\nto the target model and design the imperceptible-high attack success rate\nconstraint to guide the Gabor filter to select appropriate angles and scales to\nsmooth the linear texture from the input images to generate adversarial\nexamples. Benefiting from the above design concept, AdvSmo will generate\nadversarial examples with strong transferability and solid evasiveness.\nFinally, compared to the four advanced black-box adversarial attack methods,\nfor the eight target models, the results show that AdvSmo improves the average\nattack success rate by 9% on the CIFAR-10 and 16% on the Tiny-ImageNet dataset\ncompared to the best of these attack methods.\n", "date": "2022-06-22", "categories": []} {"id": "2206.11225", "title": "RetrievalGuard: Provably Robust 1-Nearest Neighbor Image Retrieval", "abstract": " Recent research works have shown that image retrieval models are vulnerable\nto adversarial attacks, where slightly modified test inputs could lead to\nproblematic retrieval results. In this paper, we aim to design a provably\nrobust image retrieval model which keeps the most important evaluation metric\nRecall@1 invariant to adversarial perturbation. We propose the first 1-nearest\nneighbor (NN) image retrieval algorithm, RetrievalGuard, which is provably\nrobust against adversarial perturbations within an $\\ell_2$ ball of calculable\nradius. The challenge is to design a provably robust algorithm that takes into\nconsideration the 1-NN search and the high-dimensional nature of the embedding\nspace. Algorithmically, given a base retrieval model and a query sample, we\nbuild a smoothed retrieval model by carefully analyzing the 1-NN search\nprocedure in the high-dimensional embedding space. We show that the smoothed\nretrieval model has bounded Lipschitz constant and thus the retrieval score is\ninvariant to $\\ell_2$ adversarial perturbations. Experiments on image retrieval\ntasks validate the robustness of our RetrievalGuard method.\n", "date": "2022-06-17", "categories": []} {"id": "2206.11228", "title": "Adversarially trained neural representations may already be as robust as\n corresponding biological neural representations", "abstract": " Visual systems of primates are the gold standard of robust perception. There\nis thus a general belief that mimicking the neural representations that\nunderlie those systems will yield artificial visual systems that are\nadversarially robust. In this work, we develop a method for performing\nadversarial visual attacks directly on primate brain activity. We then leverage\nthis method to demonstrate that the above-mentioned belief might not be well\nfounded. Specifically, we report that the biological neurons that make up\nvisual systems of primates exhibit susceptibility to adversarial perturbations\nthat is comparable in magnitude to existing (robustly trained) artificial\nneural networks.\n", "date": "2022-06-19", "categories": []} {"id": "2206.09075", "title": "Comment on Transferability and Input Transformation with Additive Noise", "abstract": " Adversarial attacks have verified the existence of the vulnerability of\nneural networks. By adding small perturbations to a benign example, adversarial\nattacks successfully generate adversarial examples that lead misclassification\nof deep learning models. More importantly, an adversarial example generated\nfrom a specific model can also deceive other models without modification. We\ncall this phenomenon ``transferability\". Here, we analyze the relationship\nbetween transferability and input transformation with additive noise by\nmathematically proving that the modified optimization can produce more\ntransferable adversarial examples.\n", "date": "2022-06-18", "categories": []} {"id": "2206.09238", "title": "On the Role of Generalization in Transferability of Adversarial Examples", "abstract": " Black-box adversarial attacks designing adversarial examples for unseen\nneural networks (NNs) have received great attention over the past years. While\nseveral successful black-box attack schemes have been proposed in the\nliterature, the underlying factors driving the transferability of black-box\nadversarial examples still lack a thorough understanding. In this paper, we aim\nto demonstrate the role of the generalization properties of the substitute\nclassifier used for generating adversarial examples in the transferability of\nthe attack scheme to unobserved NN classifiers. To do this, we apply the\nmax-min adversarial example game framework and show the importance of the\ngeneralization properties of the substitute NN in the success of the black-box\nattack scheme in application to different NN classifiers. We prove theoretical\ngeneralization bounds on the difference between the attack transferability\nrates on training and test samples. Our bounds suggest that a substitute NN\nwith better generalization behavior could result in more transferable\nadversarial examples. In addition, we show that standard operator norm-based\nregularization methods could improve the transferability of the designed\nadversarial examples. We support our theoretical results by performing several\nnumerical experiments showing the role of the substitute network's\ngeneralization in generating transferable adversarial examples. Our empirical\nresults indicate the power of Lipschitz regularization methods in improving the\ntransferability of adversarial examples.\n", "date": "2022-06-18", "categories": []} {"id": "2206.09458", "title": "A Universal Adversarial Policy for Text Classifiers", "abstract": " Discovering the existence of universal adversarial perturbations had large\ntheoretical and practical impacts on the field of adversarial learning. In the\ntext domain, most universal studies focused on adversarial prefixes which are\nadded to all texts. However, unlike the vision domain, adding the same\nperturbation to different inputs results in noticeably unnatural inputs.\nTherefore, we introduce a new universal adversarial setup - a universal\nadversarial policy, which has many advantages of other universal attacks but\nalso results in valid texts - thus making it relevant in practice. We achieve\nthis by learning a single search policy over a predefined set of semantics\npreserving text alterations, on many texts. This formulation is universal in\nthat the policy is successful in finding adversarial examples on new texts\nefficiently. Our approach uses text perturbations which were extensively shown\nto produce natural attacks in the non-universal setup (specific synonym\nreplacements). We suggest a strong baseline approach for this formulation which\nuses reinforcement learning. It's ability to generalise (from as few as 500\ntraining texts) shows that universal adversarial patterns exist in the text\ndomain as well.\n", "date": "2022-06-19", "categories": []} {"id": "2206.10334", "title": "Defending Adversarial Examples by Negative Correlation Ensemble", "abstract": " The security issues in DNNs, such as adversarial examples, have attracted\nmuch attention. Adversarial examples refer to the examples which are capable to\ninduce the DNNs return completely predictions by introducing carefully designed\nperturbations. Obviously, adversarial examples bring great security risks to\nthe development of deep learning. Recently, Some defense approaches against\nadversarial examples have been proposed, however, in our opinion, the\nperformance of these approaches are still limited. In this paper, we propose a\nnew ensemble defense approach named the Negative Correlation Ensemble (NCEn),\nwhich achieves compelling results by introducing gradient directions and\ngradient magnitudes of each member in the ensemble negatively correlated and at\nthe same time, reducing the transferability of adversarial examples among them.\nExtensive experiments have been conducted, and the results demonstrate that\nNCEn can improve the adversarial robustness of ensembles effectively.\n", "date": "2022-06-11", "categories": []} {"id": "2206.07311", "title": "Can pruning improve certified robustness of neural networks?", "abstract": " With the rapid development of deep learning, the sizes of neural networks\nbecome larger and larger so that the training and inference often overwhelm the\nhardware resources. Given the fact that neural networks are often\nover-parameterized, one effective way to reduce such computational overhead is\nneural network pruning, by removing redundant parameters from trained neural\nnetworks. It has been recently observed that pruning can not only reduce\ncomputational overhead but also can improve empirical robustness of deep neural\nnetworks (NNs), potentially owing to removing spurious correlations while\npreserving the predictive accuracies. This paper for the first time\ndemonstrates that pruning can generally improve certified robustness for\nReLU-based NNs under the complete verification setting. Using the popular\nBranch-and-Bound (BaB) framework, we find that pruning can enhance the\nestimated bound tightness of certified robustness verification, by alleviating\nlinear relaxation and sub-domain split problems. We empirically verify our\nfindings with off-the-shelf pruning methods and further present a new\nstability-based pruning method tailored for reducing neuron instability, that\noutperforms existing pruning methods in enhancing certified robustness. Our\nexperiments show that by appropriately pruning an NN, its certified accuracy\ncan be boosted up to 8.2% under standard training, and up to 24.5% under\nadversarial training on the CIFAR10 dataset. We additionally observe the\nexistence of certified lottery tickets that can match both standard and\ncertified robust accuracies of the original dense models across different\ndatasets. Our findings offer a new angle to study the intriguing interaction\nbetween sparsity and robustness, i.e. interpreting the interaction of sparsity\nand certified robustness via neuron stability. Codes are available at:\nhttps://github.com/VITA-Group/CertifiedPruning.\n", "date": "2022-06-15", "categories": []} {"id": "2206.08575", "title": "Query-Efficient and Scalable Black-Box Adversarial Attacks on Discrete\n Sequential Data via Bayesian Optimization", "abstract": " We focus on the problem of adversarial attacks against models on discrete\nsequential data in the black-box setting where the attacker aims to craft\nadversarial examples with limited query access to the victim model. Existing\nblack-box attacks, mostly based on greedy algorithms, find adversarial examples\nusing pre-computed key positions to perturb, which severely limits the search\nspace and might result in suboptimal solutions. To this end, we propose a\nquery-efficient black-box attack using Bayesian optimization, which dynamically\ncomputes important positions using an automatic relevance determination (ARD)\ncategorical kernel. We introduce block decomposition and history subsampling\ntechniques to improve the scalability of Bayesian optimization when an input\nsequence becomes long. Moreover, we develop a post-optimization algorithm that\nfinds adversarial examples with smaller perturbation size. Experiments on\nnatural language and protein classification tasks demonstrate that our method\nconsistently achieves higher attack success rate with significant reduction in\nquery count and modification rate compared to the previous state-of-the-art\nmethods.\n", "date": "2022-06-17", "categories": []} {"id": "2206.08638", "title": "Minimum Noticeable Difference based Adversarial Privacy Preserving Image\n Generation", "abstract": " Deep learning models are found to be vulnerable to adversarial examples, as\nwrong predictions can be caused by small perturbation in input for deep\nlearning models. Most of the existing works of adversarial image generation try\nto achieve attacks for most models, while few of them make efforts on\nguaranteeing the perceptual quality of the adversarial examples. High quality\nadversarial examples matter for many applications, especially for the privacy\npreserving. In this work, we develop a framework based on the Minimum\nNoticeable Difference (MND) concept to generate adversarial privacy preserving\nimages that have minimum perceptual difference from the clean ones but are able\nto attack deep learning models. To achieve this, an adversarial loss is firstly\nproposed to make the deep learning models attacked by the adversarial images\nsuccessfully. Then, a perceptual quality-preserving loss is developed by taking\nthe magnitude of perturbation and perturbation-caused structural and gradient\nchanges into account, which aims to preserve high perceptual quality for\nadversarial image generation. To the best of our knowledge, this is the first\nwork on exploring quality-preserving adversarial image generation based on the\nMND concept for privacy preserving. To evaluate its performance in terms of\nperceptual quality, the deep models on image classification and face\nrecognition are tested with the proposed method and several anchor methods in\nthis work. Extensive experimental results demonstrate that the proposed MND\nframework is capable of generating adversarial images with remarkably improved\nperformance metrics (e.g., PSNR, SSIM, and MOS) than that generated with the\nanchor methods.\n", "date": "2022-06-17", "categories": []} {"id": "2206.08738", "title": "Detecting Adversarial Examples in Batches -- a geometrical approach", "abstract": " Many deep learning methods have successfully solved complex tasks in computer\nvision and speech recognition applications. Nonetheless, the robustness of\nthese models has been found to be vulnerable to perturbed inputs or adversarial\nexamples, which are imperceptible to the human eye, but lead the model to\nerroneous output decisions. In this study, we adapt and introduce two geometric\nmetrics, density and coverage, and evaluate their use in detecting adversarial\nsamples in batches of unseen data. We empirically study these metrics using\nMNIST and two real-world biomedical datasets from MedMNIST, subjected to two\ndifferent adversarial attacks. Our experiments show promising results for both\nmetrics to detect adversarial examples. We believe that his work can lay the\nground for further study on these metrics' use in deployed machine learning\nsystems to monitor for possible attacks by adversarial examples or related\npathologies such as dataset shift.\n", "date": "2022-06-17", "categories": []} {"id": "2206.07839", "title": "Linearity Grafting: Relaxed Neuron Pruning Helps Certifiable Robustness", "abstract": " Certifiable robustness is a highly desirable property for adopting deep\nneural networks (DNNs) in safety-critical scenarios, but often demands tedious\ncomputations to establish. The main hurdle lies in the massive amount of\nnon-linearity in large DNNs. To trade off the DNN expressiveness (which calls\nfor more non-linearity) and robustness certification scalability (which prefers\nmore linearity), we propose a novel solution to strategically manipulate\nneurons, by \"grafting\" appropriate levels of linearity. The core of our\nproposal is to first linearize insignificant ReLU neurons, to eliminate the\nnon-linear components that are both redundant for DNN performance and harmful\nto its certification. We then optimize the associated slopes and intercepts of\nthe replaced linear activations for restoring model performance while\nmaintaining certifiability. Hence, typical neuron pruning could be viewed as a\nspecial case of grafting a linear function of the fixed zero slopes and\nintercept, that might overly restrict the network flexibility and sacrifice its\nperformance. Extensive experiments on multiple datasets and network backbones\nshow that our linearity grafting can (1) effectively tighten certified bounds;\n(2) achieve competitive certifiable robustness without certified robust\ntraining (i.e., over 30% improvements on CIFAR-10 models); and (3) scale up\ncomplete verification to large adversarially trained models with 17M\nparameters. Codes are available at\nhttps://github.com/VITA-Group/Linearity-Grafting.\n", "date": "2022-06-15", "categories": []} {"id": "2206.07953", "title": "Analysis and Extensions of Adversarial Training for Video Classification", "abstract": " Adversarial training (AT) is a simple yet effective defense against\nadversarial attacks to image classification systems, which is based on\naugmenting the training set with attacks that maximize the loss. However, the\neffectiveness of AT as a defense for video classification has not been\nthoroughly studied. Our first contribution is to show that generating optimal\nattacks for video requires carefully tuning the attack parameters, especially\nthe step size. Notably, we show that the optimal step size varies linearly with\nthe attack budget. Our second contribution is to show that using a smaller\n(sub-optimal) attack budget at training time leads to a more robust performance\nat test time. Based on these findings, we propose three defenses against\nattacks with variable attack budgets. The first one, Adaptive AT, is a\ntechnique where the attack budget is drawn from a distribution that is adapted\nas training iterations proceed. The second, Curriculum AT, is a technique where\nthe attack budget is increased as training iterations proceed. The third,\nGenerative AT, further couples AT with a denoising generative adversarial\nnetwork to boost robust performance. Experiments on the UCF101 dataset\ndemonstrate that the proposed methods improve adversarial robustness against\nmultiple attack types.\n", "date": "2022-06-16", "categories": []} {"id": "2206.08170", "title": "Adversarial Privacy Protection on Speech Enhancement", "abstract": " Speech is easily leaked imperceptibly, such as being recorded by mobile\nphones in different situations. Private content in speech may be maliciously\nextracted through speech enhancement technology. Speech enhancement technology\nhas developed rapidly along with deep neural networks (DNNs), but adversarial\nexamples can cause DNNs to fail. In this work, we propose an adversarial method\nto degrade speech enhancement systems. Experimental results show that generated\nadversarial examples can erase most content information in original examples or\nreplace it with target speech content through speech enhancement. The word\nerror rate (WER) between an enhanced original example and enhanced adversarial\nexample recognition result can reach 89.0%. WER of target attack between\nenhanced adversarial example and target example is low to 33.75% . Adversarial\nperturbation can bring the rate of change to the original example to more than\n1.4430. This work can prevent the malicious extraction of speech.\n", "date": "2022-06-16", "categories": []} {"id": "2206.08304", "title": "Adversarial Patch Attacks and Defences in Vision-Based Tasks: A Survey", "abstract": " Adversarial attacks in deep learning models, especially for safety-critical\nsystems, are gaining more and more attention in recent years, due to the lack\nof trust in the security and robustness of AI models. Yet the more primitive\nadversarial attacks might be physically infeasible or require some resources\nthat are hard to access like the training data, which motivated the emergence\nof patch attacks. In this survey, we provide a comprehensive overview to cover\nexisting techniques of adversarial patch attacks, aiming to help interested\nresearchers quickly catch up with the progress in this field. We also discuss\nexisting techniques for developing detection and defences against adversarial\npatches, aiming to help the community better understand this field and its\napplications in the real world.\n", "date": "2022-06-16", "categories": []} {"id": "2206.07188", "title": "Defending Observation Attacks in Deep Reinforcement Learning via\n Detection and Denoising", "abstract": " Neural network policies trained using Deep Reinforcement Learning (DRL) are\nwell-known to be susceptible to adversarial attacks. In this paper, we consider\nattacks manifesting as perturbations in the observation space managed by the\nexternal environment. These attacks have been shown to downgrade policy\nperformance significantly. We focus our attention on well-trained deterministic\nand stochastic neural network policies in the context of continuous control\nbenchmarks subject to four well-studied observation space adversarial attacks.\nTo defend against these attacks, we propose a novel defense strategy using a\ndetect-and-denoise schema. Unlike previous adversarial training approaches that\nsample data in adversarial scenarios, our solution does not require sampling\ndata in an environment under attack, thereby greatly reducing risk during\ntraining. Detailed experimental results show that our technique is comparable\nwith state-of-the-art adversarial training approaches.\n", "date": "2022-06-14", "categories": []} {"id": "2206.07314", "title": "Fast and Reliable Evaluation of Adversarial Robustness with\n Minimum-Margin Attack", "abstract": " The AutoAttack (AA) has been the most reliable method to evaluate adversarial\nrobustness when considerable computational resources are available. However,\nthe high computational cost (e.g., 100 times more than that of the project\ngradient descent attack) makes AA infeasible for practitioners with limited\ncomputational resources, and also hinders applications of AA in the adversarial\ntraining (AT). In this paper, we propose a novel method, minimum-margin (MM)\nattack, to fast and reliably evaluate adversarial robustness. Compared with AA,\nour method achieves comparable performance but only costs 3% of the\ncomputational time in extensive experiments. The reliability of our method lies\nin that we evaluate the quality of adversarial examples using the margin\nbetween two targets that can precisely identify the most adversarial example.\nThe computational efficiency of our method lies in an effective Sequential\nTArget Ranking Selection (STARS) method, ensuring that the cost of the MM\nattack is independent of the number of classes. The MM attack opens a new way\nfor evaluating adversarial robustness and provides a feasible and reliable way\nto generate high-quality adversarial examples in AT.\n", "date": "2022-06-15", "categories": []} {"id": "2206.07321", "title": "Morphence-2.0: Evasion-Resilient Moving Target Defense Powered by\n Out-of-Distribution Detection", "abstract": " Evasion attacks against machine learning models often succeed via iterative\nprobing of a fixed target model, whereby an attack that succeeds once will\nsucceed repeatedly. One promising approach to counter this threat is making a\nmodel a moving target against adversarial inputs. To this end, we introduce\nMorphence-2.0, a scalable moving target defense (MTD) powered by\nout-of-distribution (OOD) detection to defend against adversarial examples. By\nregularly moving the decision function of a model, Morphence-2.0 makes it\nsignificantly challenging for repeated or correlated attacks to succeed.\nMorphence-2.0 deploys a pool of models generated from a base model in a manner\nthat introduces sufficient randomness when it responds to prediction queries.\nVia OOD detection, Morphence-2.0 is equipped with a scheduling approach that\nassigns adversarial examples to robust decision functions and benign samples to\nan undefended accurate models. To ensure repeated or correlated attacks fail,\nthe deployed pool of models automatically expires after a query budget is\nreached and the model pool is seamlessly replaced by a new model pool generated\nin advance. We evaluate Morphence-2.0 on two benchmark image classification\ndatasets (MNIST and CIFAR10) against 4 reference attacks (3 white-box and 1\nblack-box). Morphence-2.0 consistently outperforms prior defenses while\npreserving accuracy on clean data and reducing attack transferability. We also\nshow that, when powered by OOD detection, Morphence-2.0 is able to precisely\nmake an input-based movement of the model's decision function that leads to\nhigher prediction accuracy on both adversarial and benign queries.\n", "date": "2022-06-15", "categories": []} {"id": "2206.07406", "title": "Hardening DNNs against Transfer Attacks during Network Compression using\n Greedy Adversarial Pruning", "abstract": " The prevalence and success of Deep Neural Network (DNN) applications in\nrecent years have motivated research on DNN compression, such as pruning and\nquantization. These techniques accelerate model inference, reduce power\nconsumption, and reduce the size and complexity of the hardware necessary to\nrun DNNs, all with little to no loss in accuracy. However, since DNNs are\nvulnerable to adversarial inputs, it is important to consider the relationship\nbetween compression and adversarial robustness. In this work, we investigate\nthe adversarial robustness of models produced by several irregular pruning\nschemes and by 8-bit quantization. Additionally, while conventional pruning\nremoves the least important parameters in a DNN, we investigate the effect of\nan unconventional pruning method: removing the most important model parameters\nbased on the gradient on adversarial inputs. We call this method Greedy\nAdversarial Pruning (GAP) and we find that this pruning method results in\nmodels that are resistant to transfer attacks from their uncompressed\ncounterparts.\n", "date": "2022-06-15", "categories": []} {"id": "2206.06496", "title": "Towards Alternative Techniques for Improving Adversarial Robustness:\n Analysis of Adversarial Training at a Spectrum of Perturbations", "abstract": " Adversarial training (AT) and its variants have spearheaded progress in\nimproving neural network robustness to adversarial perturbations and common\ncorruptions in the last few years. Algorithm design of AT and its variants are\nfocused on training models at a specified perturbation strength $\\epsilon$ and\nonly using the feedback from the performance of that $\\epsilon$-robust model to\nimprove the algorithm. In this work, we focus on models, trained on a spectrum\nof $\\epsilon$ values. We analyze three perspectives: model performance,\nintermediate feature precision and convolution filter sensitivity. In each, we\nidentify alternative improvements to AT that otherwise wouldn't have been\napparent at a single $\\epsilon$. Specifically, we find that for a PGD attack at\nsome strength $\\delta$, there is an AT model at some slightly larger strength\n$\\epsilon$, but no greater, that generalizes best to it. Hence, we propose\noverdesigning for robustness where we suggest training models at an $\\epsilon$\njust above $\\delta$. Second, we observe (across various $\\epsilon$ values) that\nrobustness is highly sensitive to the precision of intermediate features and\nparticularly those after the first and second layer. Thus, we propose adding a\nsimple quantization to defenses that improves accuracy on seen and unseen\nadaptive attacks. Third, we analyze convolution filters of each layer of models\nat increasing $\\epsilon$ and notice that those of the first and second layer\nmay be solely responsible for amplifying input perturbations. We present our\nfindings and demonstrate our techniques through experiments with ResNet and\nWideResNet models on the CIFAR-10 and CIFAR-10-C datasets.\n", "date": "2022-06-13", "categories": []} {"id": "2206.06592", "title": "Downlink Power Allocation in Massive MIMO via Deep Learning: Adversarial\n Attacks and Training", "abstract": " The successful emergence of deep learning (DL) in wireless system\napplications has raised concerns about new security-related challenges. One\nsuch security challenge is adversarial attacks. Although there has been much\nwork demonstrating the susceptibility of DL-based classification tasks to\nadversarial attacks, regression-based problems in the context of a wireless\nsystem have not been studied so far from an attack perspective. The aim of this\npaper is twofold: (i) we consider a regression problem in a wireless setting\nand show that adversarial attacks can break the DL-based approach and (ii) we\nanalyze the effectiveness of adversarial training as a defensive technique in\nadversarial settings and show that the robustness of DL-based wireless system\nagainst attacks improves significantly. Specifically, the wireless application\nconsidered in this paper is the DL-based power allocation in the downlink of a\nmulticell massive multi-input-multi-output system, where the goal of the attack\nis to yield an infeasible solution by the DL model. We extend the\ngradient-based adversarial attacks: fast gradient sign method (FGSM), momentum\niterative FGSM, and projected gradient descent method to analyze the\nsusceptibility of the considered wireless application with and without\nadversarial training. We analyze the deep neural network (DNN) models\nperformance against these attacks, where the adversarial perturbations are\ncrafted using both the white-box and black-box attacks.\n", "date": "2022-06-14", "categories": []} {"id": "2206.06737", "title": "Adversarial Vulnerability of Randomized Ensembles", "abstract": " Despite the tremendous success of deep neural networks across various tasks,\ntheir vulnerability to imperceptible adversarial perturbations has hindered\ntheir deployment in the real world. Recently, works on randomized ensembles\nhave empirically demonstrated significant improvements in adversarial\nrobustness over standard adversarially trained (AT) models with minimal\ncomputational overhead, making them a promising solution for safety-critical\nresource-constrained applications. However, this impressive performance raises\nthe question: Are these robustness gains provided by randomized ensembles real?\nIn this work we address this question both theoretically and empirically. We\nfirst establish theoretically that commonly employed robustness evaluation\nmethods such as adaptive PGD provide a false sense of security in this setting.\nSubsequently, we propose a theoretically-sound and efficient adversarial attack\nalgorithm (ARC) capable of compromising random ensembles even in cases where\nadaptive PGD fails to do so. We conduct comprehensive experiments across a\nvariety of network architectures, training schemes, datasets, and norms to\nsupport our claims, and empirically establish that randomized ensembles are in\nfact more vulnerable to $\\ell_p$-bounded adversarial perturbations than even\nstandard AT models. Our code can be found at https://github.com/hsndbk4/ARC.\n", "date": "2022-06-14", "categories": []} {"id": "2206.05511", "title": "Improving the Adversarial Robustness of NLP Models by Information\n Bottleneck", "abstract": " Existing studies have demonstrated that adversarial examples can be directly\nattributed to the presence of non-robust features, which are highly predictive,\nbut can be easily manipulated by adversaries to fool NLP models. In this study,\nwe explore the feasibility of capturing task-specific robust features, while\neliminating the non-robust ones by using the information bottleneck theory.\nThrough extensive experiments, we show that the models trained with our\ninformation bottleneck-based method are able to achieve a significant\nimprovement in robust accuracy, exceeding performances of all the previously\nreported defense methods while suffering almost no performance drop in clean\naccuracy on SST-2, AGNEWS and IMDB datasets.\n", "date": "2022-06-11", "categories": []} {"id": "2206.05664", "title": "An Efficient Method for Sample Adversarial Perturbations against\n Nonlinear Support Vector Machines", "abstract": " Adversarial perturbations have drawn great attentions in various machine\nlearning models. In this paper, we investigate the sample adversarial\nperturbations for nonlinear support vector machines (SVMs). Due to the implicit\nform of the nonlinear functions mapping data to the feature space, it is\ndifficult to obtain the explicit form of the adversarial perturbations. By\nexploring the special property of nonlinear SVMs, we transform the optimization\nproblem of attacking nonlinear SVMs into a nonlinear KKT system. Such a system\ncan be solved by various numerical methods. Numerical results show that our\nmethod is efficient in computing adversarial perturbations.\n", "date": "2022-06-12", "categories": []} {"id": "2206.05898", "title": "Pixel to Binary Embedding Towards Robustness for CNNs", "abstract": " There are several problems with the robustness of Convolutional Neural\nNetworks (CNNs). For example, the prediction of CNNs can be changed by adding a\nsmall magnitude of noise to an input, and the performances of CNNs are degraded\nwhen the distribution of input is shifted by a transformation never seen during\ntraining (e.g., the blur effect). There are approaches to replace pixel values\nwith binary embeddings to tackle the problem of adversarial perturbations,\nwhich successfully improve robustness. In this work, we propose Pixel to Binary\nEmbedding (P2BE) to improve the robustness of CNNs. P2BE is a learnable binary\nembedding method as opposed to previous hand-coded binary embedding methods.\nP2BE outperforms other binary embedding methods in robustness against\nadversarial perturbations and visual corruptions that are not shown during\ntraining.\n", "date": "2022-06-13", "categories": []} {"id": "2206.04762", "title": "Data-Efficient Double-Win Lottery Tickets from Robust Pre-training", "abstract": " Pre-training serves as a broadly adopted starting point for transfer learning\non various downstream tasks. Recent investigations of lottery tickets\nhypothesis (LTH) demonstrate such enormous pre-trained models can be replaced\nby extremely sparse subnetworks (a.k.a. matching subnetworks) without\nsacrificing transferability. However, practical security-crucial applications\nusually pose more challenging requirements beyond standard transfer, which also\ndemand these subnetworks to overcome adversarial vulnerability. In this paper,\nwe formulate a more rigorous concept, Double-Win Lottery Tickets, in which a\nlocated subnetwork from a pre-trained model can be independently transferred on\ndiverse downstream tasks, to reach BOTH the same standard and robust\ngeneralization, under BOTH standard and adversarial training regimes, as the\nfull pre-trained model can do. We comprehensively examine various pre-training\nmechanisms and find that robust pre-training tends to craft sparser double-win\nlottery tickets with superior performance over the standard counterparts. For\nexample, on downstream CIFAR-10/100 datasets, we identify double-win matching\nsubnetworks with the standard, fast adversarial, and adversarial pre-training\nfrom ImageNet, at 89.26%/73.79%, 89.26%/79.03%, and 91.41%/83.22% sparsity,\nrespectively. Furthermore, we observe the obtained double-win lottery tickets\ncan be more data-efficient to transfer, under practical data-limited (e.g., 1%\nand 10%) downstream schemes. Our results show that the benefits from robust\npre-training are amplified by the lottery ticket scheme, as well as the\ndata-limited transfer setting. Codes are available at\nhttps://github.com/VITA-Group/Double-Win-LTH.\n", "date": "2022-06-09", "categories": []} {"id": "2206.04137", "title": "Adversarial Text Normalization", "abstract": " Text-based adversarial attacks are becoming more commonplace and accessible\nto general internet users. As these attacks proliferate, the need to address\nthe gap in model robustness becomes imminent. While retraining on adversarial\ndata may increase performance, there remains an additional class of\ncharacter-level attacks on which these models falter. Additionally, the process\nto retrain a model is time and resource intensive, creating a need for a\nlightweight, reusable defense. In this work, we propose the Adversarial Text\nNormalizer, a novel method that restores baseline performance on attacked\ncontent with low computational overhead. We evaluate the efficacy of the\nnormalizer on two problem areas prone to adversarial attacks, i.e. Hate Speech\nand Natural Language Inference. We find that text normalization provides a\ntask-agnostic defense against character-level attacks that can be implemented\nsupplementary to adversarial retraining solutions, which are more suited for\nsemantic alterations.\n", "date": "2022-06-08", "categories": []} {"id": "2206.04316", "title": "Adversarial Noises Are Linearly Separable for (Nearly) Random Neural\n Networks", "abstract": " Adversarial examples, which are usually generated for specific inputs with a\nspecific model, are ubiquitous for neural networks. In this paper we unveil a\nsurprising property of adversarial noises when they are put together, i.e.,\nadversarial noises crafted by one-step gradient methods are linearly separable\nif equipped with the corresponding labels. We theoretically prove this property\nfor a two-layer network with randomly initialized entries and the neural\ntangent kernel setup where the parameters are not far from initialization. The\nproof idea is to show the label information can be efficiently backpropagated\nto the input while keeping the linear separability. Our theory and experimental\nevidence further show that the linear classifier trained with the adversarial\nnoises of the training data can well classify the adversarial noises of the\ntest data, indicating that adversarial noises actually inject a distributional\nperturbation to the original data distribution. Furthermore, we empirically\ndemonstrate that the adversarial noises may become less linearly separable when\nthe above conditions are compromised while they are still much easier to\nclassify than original features.\n", "date": "2022-06-09", "categories": []} {"id": "2206.04472", "title": "Early Transferability of Adversarial Examples in Deep Neural Networks", "abstract": " This paper will describe and analyze a new phenomenon that was not known\nbefore, which we call \"Early Transferability\". Its essence is that the\nadversarial perturbations transfer among different networks even at extremely\nearly stages in their training. In fact, one can initialize two networks with\ntwo different independent choices of random weights and measure the angle\nbetween their adversarial perturbations after each step of the training. What\nwe discovered was that these two adversarial directions started to align with\neach other already after the first few training steps (which typically use only\na small fraction of the available training data), even though the accuracy of\nthe two networks hadn't started to improve from their initial bad values due to\nthe early stage of the training. The purpose of this paper is to present this\nphenomenon experimentally and propose plausible explanations for some of its\nproperties.\n", "date": "2022-06-09", "categories": []} {"id": "2206.03727", "title": "Wavelet Regularization Benefits Adversarial Training", "abstract": " Adversarial training methods are state-of-the-art (SOTA) empirical defense\nmethods against adversarial examples. Many regularization methods have been\nproven to be effective with the combination of adversarial training.\nNevertheless, such regularization methods are implemented in the time domain.\nSince adversarial vulnerability can be regarded as a high-frequency phenomenon,\nit is essential to regulate the adversarially-trained neural network models in\nthe frequency domain. Faced with these challenges, we make a theoretical\nanalysis on the regularization property of wavelets which can enhance\nadversarial training. We propose a wavelet regularization method based on the\nHaar wavelet decomposition which is named Wavelet Average Pooling. This wavelet\nregularization module is integrated into the wide residual neural network so\nthat a new WideWaveletResNet model is formed. On the datasets of CIFAR-10 and\nCIFAR-100, our proposed Adversarial Wavelet Training method realizes\nconsiderable robustness under different types of attacks. It verifies the\nassumption that our wavelet regularization method can enhance adversarial\nrobustness especially in the deep wide neural networks. The visualization\nexperiments of the Frequency Principle (F-Principle) and interpretability are\nimplemented to show the effectiveness of our method. A detailed comparison\nbased on different wavelet base functions is presented. The code is available\nat the repository:\n\\url{https://github.com/momo1986/AdversarialWaveletTraining}.\n", "date": "2022-06-08", "categories": []} {"id": "2206.03351", "title": "AS2T: Arbitrary Source-To-Target Adversarial Attack on Speaker\n Recognition Systems", "abstract": " Recent work has illuminated the vulnerability of speaker recognition systems\n(SRSs) against adversarial attacks, raising significant security concerns in\ndeploying SRSs. However, they considered only a few settings (e.g., some\ncombinations of source and target speakers), leaving many interesting and\nimportant settings in real-world attack scenarios alone. In this work, we\npresent AS2T, the first attack in this domain which covers all the settings,\nthus allows the adversary to craft adversarial voices using arbitrary source\nand target speakers for any of three main recognition tasks. Since none of the\nexisting loss functions can be applied to all the settings, we explore many\ncandidate loss functions for each setting including the existing and newly\ndesigned ones. We thoroughly evaluate their efficacy and find that some\nexisting loss functions are suboptimal. Then, to improve the robustness of AS2T\ntowards practical over-the-air attack, we study the possible distortions\noccurred in over-the-air transmission, utilize different transformation\nfunctions with different parameters to model those distortions, and incorporate\nthem into the generation of adversarial voices. Our simulated over-the-air\nevaluation validates the effectiveness of our solution in producing robust\nadversarial voices which remain effective under various hardware devices and\nvarious acoustic environments with different reverberation, ambient noises, and\nnoise levels. Finally, we leverage AS2T to perform thus far the largest-scale\nevaluation to understand transferability among 14 diverse SRSs. The\ntransferability analysis provides many interesting and useful insights which\nchallenge several findings and conclusion drawn in previous works in the image\ndomain. Our study also sheds light on future directions of adversarial attacks\nin the speaker recognition domain.\n", "date": "2022-06-07", "categories": []} {"id": "2206.03362", "title": "Building Robust Ensembles via Margin Boosting", "abstract": " In the context of adversarial robustness, a single model does not usually\nhave enough power to defend against all possible adversarial attacks, and as a\nresult, has sub-optimal robustness. Consequently, an emerging line of work has\nfocused on learning an ensemble of neural networks to defend against\nadversarial attacks. In this work, we take a principled approach towards\nbuilding robust ensembles. We view this problem from the perspective of\nmargin-boosting and develop an algorithm for learning an ensemble with maximum\nmargin. Through extensive empirical evaluation on benchmark datasets, we show\nthat our algorithm not only outperforms existing ensembling techniques, but\nalso large models trained in an end-to-end fashion. An important byproduct of\nour work is a margin-maximizing cross-entropy (MCE) loss, which is a better\nalternative to the standard cross-entropy (CE) loss. Empirically, we show that\nreplacing the CE loss in state-of-the-art adversarial training techniques with\nour MCE loss leads to significant performance improvement.\n", "date": "2022-06-07", "categories": []} {"id": "2206.03393", "title": "Towards Understanding and Mitigating Audio Adversarial Examples for\n Speaker Recognition", "abstract": " Speaker recognition systems (SRSs) have recently been shown to be vulnerable\nto adversarial attacks, raising significant security concerns. In this work, we\nsystematically investigate transformation and adversarial training based\ndefenses for securing SRSs. According to the characteristic of SRSs, we present\n22 diverse transformations and thoroughly evaluate them using 7 recent\npromising adversarial attacks (4 white-box and 3 black-box) on speaker\nrecognition. With careful regard for best practices in defense evaluations, we\nanalyze the strength of transformations to withstand adaptive attacks. We also\nevaluate and understand their effectiveness against adaptive attacks when\ncombined with adversarial training. Our study provides lots of useful insights\nand findings, many of them are new or inconsistent with the conclusions in the\nimage and speech recognition domains, e.g., variable and constant bit rate\nspeech compressions have different performance, and some non-differentiable\ntransformations remain effective against current promising evasion techniques\nwhich often work well in the image domain. We demonstrate that the proposed\nnovel feature-level transformation combined with adversarial training is rather\neffective compared to the sole adversarial training in a complete white-box\nsetting, e.g., increasing the accuracy by 13.62% and attack cost by two orders\nof magnitude, while other transformations do not necessarily improve the\noverall defense capability. This work sheds further light on the research\ndirections in this field. We also release our evaluation platform SPEAKERGUARD\nto foster further research.\n", "date": "2022-06-07", "categories": []} {"id": "2206.01733", "title": "Adversarial RAW: Image-Scaling Attack Against Imaging Pipeline", "abstract": " Deep learning technologies have become the backbone for the development of\ncomputer vision. With further explorations, deep neural networks have been\nfound vulnerable to well-designed adversarial attacks. Most of the vision\ndevices are equipped with image signal processing (ISP) pipeline to implement\nRAW-to-RGB transformations and embedded into data preprocessing module for\nefficient image processing. Actually, ISP pipeline can introduce adversarial\nbehaviors to post-capture images while data preprocessing may destroy attack\npatterns. However, none of the existing adversarial attacks takes into account\nthe impacts of both ISP pipeline and data preprocessing. In this paper, we\ndevelop an image-scaling attack targeting on ISP pipeline, where the crafted\nadversarial RAW can be transformed into attack image that presents entirely\ndifferent appearance once being scaled to a specific-size image. We first\nconsider the gradient-available ISP pipeline, i.e., the gradient information\ncan be directly used in the generation process of adversarial RAW to launch the\nattack. To make the adversarial attack more applicable, we further consider the\ngradient-unavailable ISP pipeline, in which a proxy model that well learns the\nRAW-to-RGB transformations is proposed as the gradient oracles. Extensive\nexperiments show that the proposed adversarial attacks can craft adversarial\nRAW data against the target ISP pipelines with high attack rates.\n", "date": "2022-06-02", "categories": []} {"id": "2206.01898", "title": "Saliency Attack: Towards Imperceptible Black-box Adversarial Attack", "abstract": " Deep neural networks are vulnerable to adversarial examples, even in the\nblack-box setting where the attacker is only accessible to the model output.\nRecent studies have devised effective black-box attacks with high query\nefficiency. However, such performance is often accompanied by compromises in\nattack imperceptibility, hindering the practical use of these approaches. In\nthis paper, we propose to restrict the perturbations to a small salient region\nto generate adversarial examples that can hardly be perceived. This approach is\nreadily compatible with many existing black-box attacks and can significantly\nimprove their imperceptibility with little degradation in attack success rate.\nFurther, we propose the Saliency Attack, a new black-box attack aiming to\nrefine the perturbations in the salient region to achieve even better\nimperceptibility. Extensive experiments show that compared to the\nstate-of-the-art black-box attacks, our approach achieves much better\nimperceptibility scores, including most apparent distortion (MAD), $L_0$ and\n$L_2$ distances, and also obtains significantly higher success rates judged by\na human-like threshold on MAD. Importantly, the perturbations generated by our\napproach are interpretable to some extent. Finally, it is also demonstrated to\nbe robust to different detection-based defenses.\n", "date": "2022-06-04", "categories": []} {"id": "2206.01904", "title": "Soft Adversarial Training Can Retain Natural Accuracy", "abstract": " Adversarial training for neural networks has been in the limelight in recent\nyears. The advancement in neural network architectures over the last decade has\nled to significant improvement in their performance. It sparked an interest in\ntheir deployment for real-time applications. This process initiated the need to\nunderstand the vulnerability of these models to adversarial attacks. It is\ninstrumental in designing models that are robust against adversaries. Recent\nworks have proposed novel techniques to counter the adversaries, most often\nsacrificing natural accuracy. Most suggest training with an adversarial version\nof the inputs, constantly moving away from the original distribution. The focus\nof our work is to use abstract certification to extract a subset of inputs for\n(hence we call it 'soft') adversarial training. We propose a training framework\nthat can retain natural accuracy without sacrificing robustness in a\nconstrained setting. Our framework specifically targets moderately critical\napplications which require a reasonable balance between robustness and\naccuracy. The results testify to the idea of soft adversarial training for the\ndefense against adversarial attacks. At last, we propose the scope of future\nwork for further improvement of this framework.\n", "date": "2022-06-04", "categories": []} {"id": "2206.02131", "title": "Federated Adversarial Training with Transformers", "abstract": " Federated learning (FL) has emerged to enable global model training over\ndistributed clients' data while preserving its privacy. However, the global\ntrained model is vulnerable to the evasion attacks especially, the adversarial\nexamples (AEs), carefully crafted samples to yield false classification.\nAdversarial training (AT) is found to be the most promising approach against\nevasion attacks and it is widely studied for convolutional neural network\n(CNN). Recently, vision transformers have been found to be effective in many\ncomputer vision tasks. To the best of the authors' knowledge, there is no work\nthat studied the feasibility of AT in a FL process for vision transformers.\nThis paper investigates such feasibility with different federated model\naggregation methods and different vision transformer models with different\ntokenization and classification head techniques. In order to improve the robust\naccuracy of the models with the not independent and identically distributed\n(Non-IID), we propose an extension to FedAvg aggregation method, called\nFedWAvg. By measuring the similarities between the last layer of the global\nmodel and the last layer of the client updates, FedWAvg calculates the weights\nto aggregate the local models updates. The experiments show that FedWAvg\nimproves the robust accuracy when compared with other state-of-the-art\naggregation methods.\n", "date": "2022-06-05", "categories": []} {"id": "2206.02158", "title": "Vanilla Feature Distillation for Improving the Accuracy-Robustness\n Trade-Off in Adversarial Training", "abstract": " Adversarial training has been widely explored for mitigating attacks against\ndeep models. However, most existing works are still trapped in the dilemma\nbetween higher accuracy and stronger robustness since they tend to fit a model\ntowards robust features (not easily tampered with by adversaries) while\nignoring those non-robust but highly predictive features. To achieve a better\nrobustness-accuracy trade-off, we propose the Vanilla Feature Distillation\nAdversarial Training (VFD-Adv), which conducts knowledge distillation from a\npre-trained model (optimized towards high accuracy) to guide adversarial\ntraining towards higher accuracy, i.e., preserving those non-robust but\npredictive features. More specifically, both adversarial examples and their\nclean counterparts are forced to be aligned in the feature space by distilling\npredictive representations from the pre-trained/clean model, while previous\nworks barely utilize predictive features from clean models. Therefore, the\nadversarial training model is updated towards maximally preserving the accuracy\nas gaining robustness. A key advantage of our method is that it can be\nuniversally adapted to and boost existing works. Exhaustive experiments on\nvarious datasets, classification models, and adversarial training algorithms\ndemonstrate the effectiveness of our proposed method.\n", "date": "2022-06-05", "categories": []} {"id": "2206.02417", "title": "Fast Adversarial Training with Adaptive Step Size", "abstract": " While adversarial training and its variants have shown to be the most\neffective algorithms to defend against adversarial attacks, their extremely\nslow training process makes it hard to scale to large datasets like ImageNet.\nThe key idea of recent works to accelerate adversarial training is to\nsubstitute multi-step attacks (e.g., PGD) with single-step attacks (e.g.,\nFGSM). However, these single-step methods suffer from catastrophic overfitting,\nwhere the accuracy against PGD attack suddenly drops to nearly 0% during\ntraining, destroying the robustness of the networks. In this work, we study the\nphenomenon from the perspective of training instances. We show that\ncatastrophic overfitting is instance-dependent and fitting instances with\nlarger gradient norm is more likely to cause catastrophic overfitting. Based on\nour findings, we propose a simple but effective method, Adversarial Training\nwith Adaptive Step size (ATAS). ATAS learns an instancewise adaptive step size\nthat is inversely proportional to its gradient norm. The theoretical analysis\nshows that ATAS converges faster than the commonly adopted non-adaptive\ncounterparts. Empirically, ATAS consistently mitigates catastrophic overfitting\nand achieves higher robust accuracy on CIFAR10, CIFAR100 and ImageNet when\nevaluated on various adversarial budgets.\n", "date": "2022-06-06", "categories": []} {"id": "2206.02539", "title": "Robustness Evaluation and Adversarial Training of an Instance\n Segmentation Model", "abstract": " To evaluate the robustness of non-classifier models, we propose probabilistic\nlocal equivalence, based on the notion of randomized smoothing, as a way to\nquantitatively evaluate the robustness of an arbitrary function. In addition,\nto understand the effect of adversarial training on non-classifiers and to\ninvestigate the level of robustness that can be obtained without degrading\nperformance on the training distribution, we apply Fast is Better than Free\nadversarial training together with the TRADES robust loss to the training of an\ninstance segmentation network. In this direction, we were able to achieve a\nsymmetric best dice score of 0.85 on the TuSimple lane detection challenge,\noutperforming the standardly-trained network's score of 0.82. Additionally, we\nwere able to obtain an F-measure of 0.49 on manipulated inputs, in contrast to\nthe standardly-trained network's score of 0. We show that probabilisitic local\nequivalence is able to successfully distinguish between standardly-trained and\nadversarially-trained models, providing another view of the improved robustness\nof the adversarially-trained models.\n", "date": "2022-06-02", "categories": []} {"id": "2206.01367", "title": "Adversarial Unlearning: Reducing Confidence Along Adversarial Directions", "abstract": " Supervised learning methods trained with maximum likelihood objectives often\noverfit on training data. Most regularizers that prevent overfitting look to\nincrease confidence on additional examples (e.g., data augmentation,\nadversarial training), or reduce it on training data (e.g., label smoothing).\nIn this work we propose a complementary regularization strategy that reduces\nconfidence on self-generated examples. The method, which we call RCAD (Reducing\nConfidence along Adversarial Directions), aims to reduce confidence on\nout-of-distribution examples lying along directions adversarially chosen to\nincrease training loss. In contrast to adversarial training, RCAD does not try\nto robustify the model to output the original label, but rather regularizes it\nto have reduced confidence on points generated using much larger perturbations\nthan in conventional adversarial training. RCAD can be easily integrated into\ntraining pipelines with a few lines of code. Despite its simplicity, we find on\nmany classification benchmarks that RCAD can be added to existing techniques\n(e.g., label smoothing, MixUp training) to increase test accuracy by 1-3% in\nabsolute value, with more significant gains in the low data regime. We also\nprovide a theoretical analysis that helps to explain these benefits in\nsimplified settings, showing that RCAD can provably help the model unlearn\nspurious features in the training data.\n", "date": "2022-06-03", "categories": []} {"id": "2206.01705", "title": "Gradient Obfuscation Checklist Test Gives a False Sense of Security", "abstract": " One popular group of defense techniques against adversarial attacks is based\non injecting stochastic noise into the network. The main source of robustness\nof such stochastic defenses however is often due to the obfuscation of the\ngradients, offering a false sense of security. Since most of the popular\nadversarial attacks are optimization-based, obfuscated gradients reduce their\nattacking ability, while the model is still susceptible to stronger or\nspecifically tailored adversarial attacks. Recently, five characteristics have\nbeen identified, which are commonly observed when the improvement in robustness\nis mainly caused by gradient obfuscation. It has since become a trend to use\nthese five characteristics as a sufficient test, to determine whether or not\ngradient obfuscation is the main source of robustness. However, these\ncharacteristics do not perfectly characterize all existing cases of gradient\nobfuscation, and therefore can not serve as a basis for a conclusive test. In\nthis work, we present a counterexample, showing this test is not sufficient for\nconcluding that gradient obfuscation is not the main cause of improvements in\nrobustness.\n", "date": "2022-06-03", "categories": []} {"id": "2206.01715", "title": "Towards Evading the Limits of Randomized Smoothing: A Theoretical\n Analysis", "abstract": " Randomized smoothing is the dominant standard for provable defenses against\nadversarial examples. Nevertheless, this method has recently been proven to\nsuffer from important information theoretic limitations. In this paper, we\nargue that these limitations are not intrinsic, but merely a byproduct of\ncurrent certification methods. We first show that these certificates use too\nlittle information about the classifier, and are in particular blind to the\nlocal curvature of the decision boundary. This leads to severely sub-optimal\nrobustness guarantees as the dimension of the problem increases. We then show\nthat it is theoretically possible to bypass this issue by collecting more\ninformation about the classifier. More precisely, we show that it is possible\nto approximate the optimal certificate with arbitrary precision, by probing the\ndecision boundary with several noise distributions. Since this process is\nexecuted at certification time rather than at test time, it entails no loss in\nnatural accuracy while enhancing the quality of the certificates. This result\nfosters further research on classifier-specific certification and demonstrates\nthat randomized smoothing is still worth investigating. Although\nclassifier-specific certification may induce more computational cost, we also\nprovide some theoretical insight on how to mitigate it.\n", "date": "2022-06-03", "categories": []} {"id": "2206.00772", "title": "On the reversibility of adversarial attacks", "abstract": " Adversarial attacks modify images with perturbations that change the\nprediction of classifiers. These modified images, known as adversarial\nexamples, expose the vulnerabilities of deep neural network classifiers. In\nthis paper, we investigate the predictability of the mapping between the\nclasses predicted for original images and for their corresponding adversarial\nexamples. This predictability relates to the possibility of retrieving the\noriginal predictions and hence reversing the induced misclassification. We\nrefer to this property as the reversibility of an adversarial attack, and\nquantify reversibility as the accuracy in retrieving the original class or the\ntrue class of an adversarial example. We present an approach that reverses the\neffect of an adversarial attack on a classifier using a prior set of\nclassification results. We analyse the reversibility of state-of-the-art\nadversarial attacks on benchmark classifiers and discuss the factors that\naffect the reversibility.\n", "date": "2022-06-01", "categories": []} {"id": "2206.00352", "title": "Support Vector Machines under Adversarial Label Contamination", "abstract": " Machine learning algorithms are increasingly being applied in\nsecurity-related tasks such as spam and malware detection, although their\nsecurity properties against deliberate attacks have not yet been widely\nunderstood. Intelligent and adaptive attackers may indeed exploit specific\nvulnerabilities exposed by machine learning techniques to violate system\nsecurity. Being robust to adversarial data manipulation is thus an important,\nadditional requirement for machine learning algorithms to successfully operate\nin adversarial settings. In this work, we evaluate the security of Support\nVector Machines (SVMs) to well-crafted, adversarial label noise attacks. In\nparticular, we consider an attacker that aims to maximize the SVM's\nclassification error by flipping a number of labels in the training data. We\nformalize a corresponding optimal attack strategy, and solve it by means of\nheuristic approaches to keep the computational complexity tractable. We report\nan extensive experimental analysis on the effectiveness of the considered\nattacks against linear and non-linear SVMs, both on synthetic and real-world\ndatasets. We finally argue that our approach can also provide useful insights\nfor developing more secure SVM learning algorithms, and also novel techniques\nin a number of related research areas, such as semi-supervised and active\nlearning.\n", "date": "2022-06-01", "categories": []} {"id": "2206.00489", "title": "Attack-Agnostic Adversarial Detection", "abstract": " The growing number of adversarial attacks in recent years gives attackers an\nadvantage over defenders, as defenders must train detectors after knowing the\ntypes of attacks, and many models need to be maintained to ensure good\nperformance in detecting any upcoming attacks. We propose a way to end the\ntug-of-war between attackers and defenders by treating adversarial attack\ndetection as an anomaly detection problem so that the detector is agnostic to\nthe attack. We quantify the statistical deviation caused by adversarial\nperturbations in two aspects. The Least Significant Component Feature (LSCF)\nquantifies the deviation of adversarial examples from the statistics of benign\nsamples and Hessian Feature (HF) reflects how adversarial examples distort the\nlandscape of the model's optima by measuring the local loss curvature.\nEmpirical results show that our method can achieve an overall ROC AUC of 94.9%,\n89.7%, and 94.6% on CIFAR10, CIFAR100, and SVHN, respectively, and has\ncomparable performance to adversarial detectors trained with adversarial\nexamples on most of the attacks.\n", "date": "2022-06-01", "categories": []} {"id": "2206.00513", "title": "The robust way to stack and bag: the local Lipschitz way", "abstract": " Recent research has established that the local Lipschitz constant of a neural\nnetwork directly influences its adversarial robustness. We exploit this\nrelationship to construct an ensemble of neural networks which not only\nimproves the accuracy, but also provides increased adversarial robustness. The\nlocal Lipschitz constants for two different ensemble methods - bagging and\nstacking - are derived and the architectures best suited for ensuring\nadversarial robustness are deduced. The proposed ensemble architectures are\ntested on MNIST and CIFAR-10 datasets in the presence of white-box attacks,\nFGSM and PGD. The proposed architecture is found to be more robust than a) a\nsingle network and b) traditional ensemble methods.\n", "date": "2022-06-01", "categories": []} {"id": "2606.21488", "title": "Robustness Cannot be Reduced to Regularization: Studying Adversarial Training Beyond the Linear Case", "abstract": "The vulnerability of ML models to adversarial examples has recently emerged as a major concern. While adversarial training is one of the most effective countermeasures to this issue, its high computational cost remains an obstacle to practical deployment. Recent progress in reducing this cost has relied, in the case of linear models, on a formal equivalence between the adversarial risk and a simpler form of regularized risk. This enabled significantly more efficient training procedures, which naturally raises the question of whether such an equivalence can be extended beyond linear models. In this work, we formally show that no such equivalence is possible for two-layer networks. Our proofs proceed via a reduction to key properties that fundamentally separate the adversarial risk from any simple regularized risk which would only exhibit a weak form of data dependence. Beyond this setting, we provide empirical evidence on Wide-ResNets indicating that the same type of impossibility persists in deeper and more expressive architectures.", "date": "2026-06-19", "categories": []} {"id": "2606.22516", "title": "The Scissors Effect: When Resize-Based Input Diversity Helps or Hurts Transfer Attacks", "abstract": "Input Diversity (DI), which applies random resizing and padding at each attack iteration, is a near-default ingredient of transfer-based adversarial attacks, widely assumed to improve transferability. We show this assumption is regime-dependent and, for robustly trained surrogates, often reversed. Varying only the surrogate, increasing the DI probability raises transfer success for standard surrogates but lowers it for robust ones: the two response curves separate like a pair of scissors, a pattern we call the Scissors Effect. The effect is strong and consistent on ImageNet, where blind DI costs the robust source 10.3% attack success on average across CNN, ViT, Swin, and ConvNeXt targets and across ten attacks spanning 2018-2024; it is smaller on CIFAR-10 unless DI is made aggressive. A controlled robustness-strength sweep that varies only the training budget shows the harm is graded rather than binary, crossing from beneficial to harmful already in the little-robustness regime. We trace it to gradient geometry: a resize/translation decomposition attributes roughly 67% of the harm to resize, and a direct source-target gradient-alignment measurement confirms the same resize operation improves alignment for standard surrogates but degrades it for robust ones. We summarize the regime with Local Gradient Consistency (LGC), a single input-space probe that separates the two surrogate types, and prove a bias-variance crossover theorem isolating where DI helps from where its resize bias dominates. A training-free rule (CG-DI) that disables diversity when LGC is high avoids the loss on robust surrogates while keeping DI's benefit on standard ones, positioning the Scissors Effect as a DI-specific manifestation of the broader robustness-transferability trade-off.", "date": "2026-06-21", "categories": []} {"id": "2606.22966", "title": "Attacking the Trusted Imagination: Oracle-Level Integrity Attacks on Imagine-then-Act World Models", "abstract": "Many recent vision-language-action (VLA) policies adopt an imagine-then-act design. A world-action model (WAM) first imagines a short future as a latent trajectory z~, on which the action is then conditioned. We identify this trusted imagination, rather than the reactive policy, as the exposed attack surface. A downstream oracle, such as a safety gate, a visual model-predictive-control (MPC) planner, or an imagine-then-check verifier, consumes z~ as a prediction of the future. The robustness of the policy therefore does not entail the robustness of systems that rely on the WAM. The underlying phenomenon is an asymmetry. Corrupting the imagination is easy, since it requires only displacing z~ from its natural-future manifold. Steering it precisely is hard, since it must reach a specified on-manifold target. We adopt a capability-based threat model with an L-infinity-bounded observation perturbation. The attacker applies projected gradient descent through the fully differentiable observation-to-imagination map. The same off-manifold property motivates a parameter-free denoiser detector. We evaluate three targets: RynnVLA-002, LingBot-VA, and LaDi-WM. Untargeted corruption is roughly 60x stronger than random and is detected at AUC 1.0. Targeted control remains bounded. An adaptive attacker evades detection only by forgoing corruption. The reactive policy remains robust to corrupted imagination. A native imagination-driven MPC, however, exhibits the first adversary-specific task failure (at epsilon=0.01, success 0.70 versus 0.05; Fisher p < 10^-4).", "date": "2026-06-22", "categories": []} {"id": "2606.23132", "title": "T-VSS: Test-Time Visual Subspace Steering for Adversarial Robustness of Vision-Language Models", "abstract": "Vision-language models (VLMs) achieve strong zero-shot recognition, but they remain highly vulnerable to adversarial perturbations. Recent test-time adaptations improve robustness without retraining, but they do not directly adapt the corrupted visual representation itself. Prompt-based methods adapt the learnable text prompts, while input-space methods optimize pixels or padding at test time. These approaches can improve predictions, but they do so through an indirect and expensive optimization path. We propose Test-time Visual Subspace Steering (T-VSS), a lightweight defense that performs test-time adaptation directly in the visual feature space. T-VSS first builds a sample-specific low-rank subspace from multi-view feature residuals anchored at the attacked image. It then learns a shared feature correction within this subspace using reliability-weighted entropy minimization. By constraining adaptation to a compact visual geometry, T-VSS steers attacked features toward more stable and discriminative predictions while avoiding noisy full-space updates. Experiments on fine-grained, ImageNet, and ImageNet-OOD benchmarks show that T-VSS improves adversarial robustness while maintaining competitive clean accuracy and better efficiency than prior test-time adaptations.", "date": "2026-06-22", "categories": []} {"id": "2606.23858", "title": "Are Safety Guarantees in Neural Networks Safe? How to Compute Trustworthy Robustness Certifications", "abstract": "A primary challenge in AI safety is the existence of adversarial examples -- slightly distorted inputs that cause a neural network (NN) to misclassify. To mitigate this problem, recent research focuses on the computation of robustness certifications, which, for a given input, determine the largest distortion the input may receive without breaking the network's prediction. Robustness certifications can be interpreted as an axis-aligned hyper-rectangle (multi-dimensional intervals). Most existing approaches focus on maximizing the certification's volume, but recent intractability results prohibit the computation of volume-optimal certifications in reasonable time. We introduce the apothem measure and show how to compute apothem-optimal certifications in a linear number of calls to a NN verifier (oracle) w.r.t. the input domain's diameter. Moreover, we prove that we cannot have a volume-optimal, oracle-based algorithm, even if we discard the oracle costs. Also, we introduce dual certifications -- an interval including all instances of a class -- thus providing apothem-minimum upper bounds to a robustness certification. Further, we present the ParallelepipedoNN system, which we evaluate on the standard MNIST and Fashion MNIST benchmarks. A preliminary comparison with existing work on the same datasets reveals at least two-fold improvement w.r.t. the minimum edge length.", "date": "2026-06-22", "categories": []} {"id": "2606.24219", "title": "Decoherence as Defence and the Magnitude of Noise Regularisation: A Rigorous N -Qubit Theory of Stochastic Quantum Neural Networks for Adversarially Robust Network Intrusion Detection", "abstract": "Stochastic quantum neural networks (SQNNs) encode neuronal activations as qubits, synaptic topology as entanglement, and neural noise through a Lindblad master equation. A recent conference study applied a ring-entangled SQNN to collaborative intrusion detection and reached three conclusions: ring entanglement is \\emph{essential} for non-local anomaly detection; an adversarial-resilience bound holds but is \\emph{conservative}; and the depolarising channel \\emph{fails} to act as a dropout-style regulariser, behaving instead as output noise. It left open whether a per-gate stochastic deactivation (``true quantum dropout'') could regularise where the depolarising channel could not, and whether the loose robustness bound could be replaced by a predictive theory. This paper resolves both and extends the framework to real data and to neutral-atom hardware. We give an $N$-qubit formulation through the stochastic master equation and its vectorised Liouvillian, and prove a \\emph{decoherence-contraction theorem}: a depolarising channel of strength $\\gamma$ over $L$ entangling layers contracts every weight-$w$ Pauli read-out by a factor $(1-4\\gamma/3)^{wL}$ (for the weight-$1$ read-out used here, $(1-4\\gamma/3)^{L}$); building on the general noise-as-defence result of Du et al., we make this quantitative and operational for intrusion detection. On the real NSL-KDD dataset under white-box FGSM and PGD attacks, a depolarising SQNN trained with the channel is, over seven seeds under strong $\\ell_\\infty$/$\\ell_2$ attacks, significantly more robust than the noiseless circuit ($\\ell_\\infty$ PGD-$20$, $p=0.04$, large effect) and, critically, never suffers the catastrophic robustness collapse that the noiseless model and gradient-trained classical detectors (which fall from $95\\%$ to $47\\%$) do, cutting robustness variance roughly twofold; we show this robustness arises from a noise-reshaped training boundary rather than from attack-time gradient contraction. For generalisation, we derive an adaptive-penalty formula showing that per-gate dropout implements a curvature-weighted $L_2$ penalty $\\tfrac{p(1-p)}{2}\\sum\\theta^2\\partial^2_\\theta L$ in weight space, maximised at $p=1/2$, whereas depolarising noise implements an output-space penalty. A $30$-seed study confirms the formula's quantitative prediction: both mechanisms reduce the train-test gap by a small but statistically significant margin ($\\approx\\!0.01$; $p<10^{-4}$ and $p=0.004$), are statistically indistinguishable from each other, and the effect is concentrated where overfitting is largest; increasing the dropout rate past $1/2$ does not help, as the formula predicts. The single-seed dichotomy of prior work does not survive replication. We close with a neutral-atom realisation and a feasibility-by-$N$ analysis.", "date": "2026-06-23", "categories": []} {"id": "2606.24388", "title": "PHANTOM: A Large-Scale Dataset of Multimodal Adversarial Attacks for Vision-Language Models", "abstract": "We introduce a large-scale, open-source dataset of pre-generated adversarial attacks for vision-language models (VLMs). The dataset is designed to be diverse, representative, and practical, extending existing benchmarks by covering 10 high-level categories and 55 subcategories of harmful intents. Our primary goal is to make adversarial data accessible to the research community, given the computational cost and complexity of generating large numbers of attacks. The dataset comprises 47 524 adversarial samples, generated using state-of-the-art attack strategies from recent literature. Our work complements existing efforts by consolidating and extending prior benchmarks from multiple established sources, resulting in 7 826 intents, and introduce an additional category to broaden coverage. This provides realistic evaluation resources for studying model robustness and alignment. Our dataset intends to enable researchers and practitioners to systematically evaluate the robustness and safety of VLMs, fine-tune attack-generation models, and develop or stress-test defensive guardrails under diverse adversarial conditions. By releasing this resource, we aim to lower the barrier to adversarial research and foster more reproducible, comprehensive, and comparable evaluations of VLM safety.", "date": "2026-06-23", "categories": []} {"id": "2606.24589", "title": "AdversaBench: Automated LLM Red-Teaming with Multi-Judge Confirmation and Cross-Model Transferability", "abstract": "Scaling adversarial evaluation of large language models requires both a method for generating hard inputs and a reliable way to confirm that resulting failures are real. We present AdversaBench, an end-to-end red-teaming pipeline that mutates seed prompts with five structured operators, queries a target model, and confirms failures through a three-judge panel with a meta-judge tiebreaker. We report experiments on 45 seeds across three categories: reasoning, instruction-following, and tool use. Every seed produced a confirmed failure. Four findings stand out. First, operator effectiveness varies sharply by category: inject_distractor scores 0.00 mean reward on instruction-following seeds but 0.80-0.83 on reasoning and tool-use. Second, binary failure rate hides difficulty: instruction-following seeds required 2.4 attacker iterations on average versus 1.1 for other categories, a gap visible in survival curves. Third, pairwise judge agreement of 80-87% coexists with near-zero Cohen's kappa due to label skew; category-level disagreement rates are more informative. Fourth, adversarial prompts generated against Llama 3.1 8B transfer zero-shot to Llama 3.3 70B, suggesting the mutations exploit general behavioral patterns rather than model-specific weaknesses. Code, dataset, and analysis scripts are available at https://github.com/khanak0509/AdversaBench .", "date": "2026-06-23", "categories": []} {"id": "2606.25487", "title": "How Reliable Is Your Jailbreak Judge? Calibration and Adversarial Robustness of Automated ASR Scoring", "abstract": "Almost every paper on LLM jailbreaks and prompt injection reports an attack-success rate (ASR), and that number is assigned not by people but by an automated judge: either a safety classifier trained for the task, or a general chat model prompted to grade. The judge is rarely checked. We check it. Using 596 human-labeled completions from the HarmBench classifier validation set, we compare the two judge families against human majority votes and then attack them. The two families fail in opposite ways. The dedicated classifier over-flags (precision 0.835, recall 0.974); three different LLM-as-judges keep high precision (0.81 to 0.94) but show erratic recall (0.06 to 0.65), so the same responses produce very different ASR depending on which judge scores them. The two families also differ sharply in robustness. Wrappers that leave the harmful text untouched and only add benign framing flip every LLM-judge between 57% and 100% of the time, and a single prepended refusal sentence accounts for much of this (39% to 88%). The dedicated classifier resists these surface attacks (at most 6.7%), but a white-box GCG attack on its open weights flips 70% of confident true positives (21 of 30; 95% CI 54 to 86%) even at a small optimization budget. A two-annotator audit confirms the attacks leave the harm intact: every one of 80 sampled flips still contained the harmful content. Because a large and growing share of reported ASR comes from LLM-judges, many such numbers are unreliable both on average and under deliberate pressure. We recommend that papers report judge precision and recall on a human-labeled slice, report ASR corrected for judge precision, and include an adversarial check of the judge. Our code is released.", "date": "2026-06-24", "categories": []} {"id": "2606.26207", "title": "The Role of Input Dimensionality in the Emergence and Targeted Control of Adversarial Examples", "abstract": "Several theoretical works have tried to explain the adversarial vulnerability of deep neural networks through properties of high-dimensional geometry. However, the assumptions underlying these works are rarely examined empirically, and systematic evidence remains limited. In this work, we present a systematic study of the role of input dimensionality in both the emergence and the targeted control of adversarial examples. We first analyse the scope and limitations of existing theoretical frameworks based on concentration of measure, showing that real image classes exhibit strong empirical localization, beyond what such theories typically assume. We then conduct an extensive empirical evaluation across hierarchical image datasets spanning a wide range of input dimensionalities and diverse neural architectures. Our results consistently show that adversarial examples become easier to construct as dimensionality increases. We also investigate how input dimensionality affects the additional difficulty of crafting targeted adversarial examples. In particular, we provide theoretical arguments showing that high-dimensional geometry implies that enforcing a specific target label entails only a limited additional distortion compared to untargeted attacks. We corroborate this insight through extensive experiments, demonstrating that the gap between targeted and untargeted perturbations remains small and further narrows as input dimensionality increases. While, taken together, our findings establish high input dimensionality as a fundamental factor underlying the emergence and targeted control of adversarial examples, whether this phenomenon primarily arises from the interplay between high-dimensional geometry and data distributions or from the architectural properties of deep neural networks remains an open question.", "date": "2026-06-24", "categories": []} {"id": "2606.26566", "title": "Adversarial Diffusion Across Modalities: A Fusion Survey of Attacks, Defenses, and Evaluation for Text, Vision, and Vision-Language Models", "abstract": "Adversarial evaluation of AI systems has matured along four largely disconnected tracks: diffusion-based attacks on text and large language models (LLMs), diffusion-based attacks on image classifiers, jailbreak pipelines against vision-language models, and diffusion-based input purification defenses. Each has developed its own vocabulary, threat models, and benchmarks, with denoising diffusion models emerging as a shared generative mechanism whose recipes are now actively ported between communities. This survey performs an information-fusion exercise at the meta-research level: we integrate these four tracks into a single conceptual framework with a unified taxonomy, evaluation criteria, and research agenda, focusing on the LLM-side slice. We catalog fifty published papers across four scope areas (text/LLM, image classifier, vision-language model, defense), plus four diffusion-LLM-as-victim entries and ten non-diffusion baselines against which any new attack must be compared. We propose a six-class taxonomy of diffusion roles in adversarial pipelines, augmented by a threat-model axis recording attacker knowledge, query budget, and target accessibility, and apply a five-dimension framework (attack success rate, transferability, query budget, perplexity, defense-evasion) uniformly across modalities. The review adopts a dual attacker-defender perspective: alongside the attack catalog we cover four diffusion-based defenses that form the natural evaluation backdrop for new attacks. Our critical analysis identifies five recurring weaknesses of the current LLM-side literature, and we close with a research agenda of open questions and concrete experimental designs. The companion catalog and spreadsheet are released with the paper. We are explicit that this is a narrative review with quality assessment, not a PRISMA-compliant systematic review, and discuss the implications for replication.", "date": "2026-06-25", "categories": []} {"id": "2606.26707", "title": "DroidBreaker: Practical and Functional Problem-Space Attacks on Machine-Learning Android Malware Detectors", "abstract": "Adversarial APKs are Android applications modified in the problem space to evade machine-learning malware detectors. In this work, we first show that, despite claims, existing problem-space attacks remain largely impractical. Most techniques leverage software transplantation to inject entire benign modules, introducing many side-effect features and often causing build-time failures. Fine-grained methods that inject only a narrow subset of components exhibit limited effectiveness, while those that also use obfuscation rely on brittle bytecode rewriting, producing APKs that are syntactically valid but semantically unusable. Prior work further overestimates attack success rates by running smoke tests that only validate installation and basic execution, without assessing whether the modified APK still preserves its intended behavior. To overcome these limitations, we present DROIDBREAKER, a practical (build-safe) and functional (semantics-preserving) problem-space attack framework that provides: (i) query-efficient white- and black-box attacks by manipulating only the APK components most influential to the target model; (ii) a set of fine-grained, build-safe manipulations (including injection and obfuscation of API calls, app modules, permissions, and URLs) with minimal side effects; and (iii) a semantics-preserving functionality test that enforces runtime equivalence by comparing execution logs and API-level traces between the initial and the modified APK. Evaluated on a recent corpus of Android applications, DROIDBREAKER achieves high evasion rates with few queries and minimal side effects in both white-box and black-box settings, and drastically reduces detections by commercial malware scanners hosted on VirusTotal.", "date": "2026-06-25", "categories": []} {"id": "2606.27215", "title": "Vulnerability of Natural Language Classifiers to Evolutionary Generated Adversarial Text", "abstract": "Deep learning models have achieved impressive performance across various fields but remain vulnerable to adversarial inputs, particularly in NLP, where such attacks can have significant real-world consequences. Adversarial attacks often involve small, semantically similar token replacements to fool NLP models, and recent methods have become more precise by targeting specific vulnerable words, often by exploiting some level of access to the model's internal structure. This paper proposes GAversary, a hybrid Genetic Algorithm (GA) to generate adversarial attacks on natural language models. The GA is able to treat the target model as a black box, requiring only the logit value output by the model to guide the search. GAversary differs from GAs previously proposed for this problem by using GloVe embeddings to propose word replacements (the mutation operator) to improve the semantic similarity of the adversarial examples. GAversary is applied to several benchmark data sets and well-known target models. GAversary is able to substantially reduce the target model's accuracy on test data compared to the BAE and A2T attacks compared against (in the best case, reducing a 76.8% accuracy to 5.8%, compared to BAE's 27.6%). The trade-off is that GAversary perturbs just under twice as many words as the other two methods, with a slightly lower semantic similarity to the original text and around a 5% increase in run-time.", "date": "2026-06-25", "categories": []} {"id": "2606.28416", "title": "AEGIS: A Semantic GAN and Evidential Learning Frameworkfor Robust Adversarial Detection in Vision Sensors", "abstract": "Deep neural networks (DNNs) have shown outstanding performance in visual recognition tasks within vision sensor networks; however, they are still vulnerable to adversarial manipulations and imperceptible perturbations that can lead to erroneous predictions. To address that, this paper presents AEGIS, a semantic aware and uncertainty guided adversarial detection framework designed for robust image classification in vision sensors pipelines. At its core, a SemantiGAN module functions as a multi class semantic discriminator, identifying and filtering visually inconsistent adversarial inputs before they propagate further in the pipeline. For inputs that pass this stage, a stochastic augmentation process generates test time variations, from which handcrafted instability metrics FlipScore, Prediction Inconsistency, Layerwise Cosine Similarity (early and mid layers), and Entropy are computed. These features are aggregated into a compact five dimensional vector and processed by an Evidential Deep Learning (EDL) classifier, which models output evidence using a Dirichlet distribution to yield both class predictions and calibrated uncertainty estimates. Evaluations on the Tiny ImageNet dataset across six categories clean, FGSM, PGD, patch based, functional, and geometric attacks demonstrate the effectiveness of AEGIS. The proposed framework achieves an AUROC of 92.1\\%, an AUPRC of 90.2\\%, and an accuracy of 90.7\\%, outperforming conventional softmax-based detectors in terms of detection performance, robustness, interpretability, and uncertainty calibration.", "date": "2026-06-25", "categories": []} {"id": "2606.27698", "title": "What Was That Again? Certified Robustness for Automatic Speech Recognition", "abstract": "Automatic Speech Recognition systems are notoriously both sensitive to adversarial and benign perturbations. While this has been repeatedly demonstrated using reference datasets, detecting such behaviors in deployed systems is incredibly challenging, due to the absence of oracle knowledge of the true transcription. We demonstrate that employing a certification-inspired mechanism can significantly decrease WER, increase recall, and decrease the Spearman correlation between confidence and WER. We achieve this through a dual-gate diagnostic pipeline: a Two-Sided Atomic Audit that accumulates statistical wealth to certify both token existence and adversarial exclusion, and a Rank-Based Tournament that selects the winning sequence. Our evaluations across four diverse architectures demonstrate up to a 55% relative reduction in Word Error Rate, while also providing granular word- and sentence-level certifications to enhance acoustic security.", "date": "2026-06-26", "categories": []} {"id": "2606.27701", "title": "Room for Error: Large-Scale Simulation of Over-the-Air Acoustic Attacks", "abstract": "While voice control is rapidly becoming a ubiquitous vector of human-AI communication, the risks facing these systems remain poorly understood. This is, in part, a product of the difficulties in scaling strictly digital adversarial workflows to the physical world. These scale barriers have led the community to abstract away key acoustic factors relating to detectability and the influence of geometry on acoustics. These methodological and metrological shortcomings undermine our understanding of risk. We illuminate these issues through real-world testing, conceptual discussions, and a novel, high-throughput reality simulation framework. By testing over 8 million adversarial evaluations, we demonstrate that acoustic awareness yields relative Word Error Rate increases of up to 94.5\\% under Whisper and wav2vec. We employ this framework to explore a formalize and operationalize a Dual-Form Signal to Noise Ratio to decouple source stealth from victim attack efficacy, resolving a crucial limitation in current works. This lays the groundwork for repeatable, verifiable research that embraces, rather than abstracts, the acoustic environment.", "date": "2026-06-26", "categories": []} {"id": "2606.27784", "title": "Improving Adversarial Robustness via Activation Amplification and Attenuation", "abstract": "The existence of adversarial attacks is often attributed to the presence of non-robust features in neural networks. While prior defenses reduce their impact via pruning, masking, or feature recalibration, we instead propose to jointly learn to amplify and attenuate these signals through a simple activation scaling mechanism. To this end, we introduce Activation Amplification and Attenuation (A3), a lightweight plug-in module that enhances adversarial robustness with minimal modifications of the activations. A3 dynamically rescales the activations using a learnable mask and a scaling factor derived from the original activation magnitudes. The influence of adversarial perturbations can be amplified or attenuated using the same learnable parameters by simply flipping the sign of the scaling operation. The amplified signals serve as negative references to construct novel contrastive and ranking loss functions. Experimental analysis shows that learning to degrade the predictions in amplification mode simultaneously improves adversarial robustness in attenuation mode. Moreover, A3 relies on only a small number of learnable parameters, with most of its behavior being determined by the scaling mechanism rather than additional network capacity. Extensive experiments demonstrate that integrating A3 into different backbones, datasets, and training methods consistently improves adversarial robustness while introducing negligible computational and memory overhead compared to existing plug-in modules. Code is available at: https://github.com/tgoncalv/A3.", "date": "2026-06-26", "categories": []} {"id": "2606.27832", "title": "USAD: Uncertainty-aware Statistical Adversarial Detection", "abstract": "Statistical adversarial detection (SAD) treats detection as a two-sample test. Given a reference set of clean examples (CEs) and a batch of queries, potentially containing an unknown mixture of CEs and adversarial examples (AEs), SAD decides whether the query distribution drifts away from the CE distribution while controlling the false-alarm rate. Existing SAD-based methods mainly use maximum mean discrepancy (MMD) to measure the distributional discrepancy. However, MMD's distributional properties limit its ability to capture characteristic uncertainty patterns of AEs that are crucial for detection: AEs typically exhibit abnormal feature spread (i.e., global uncertainty) and instability under perturbations (i.e., local uncertainty). To close the gap, we propose Uncertainty-aware Statistical Adversarial Detection (USAD), which explicitly captures these uncertainty patterns with two new statistics: (1) Variance Discrepancy (VD), which measures the difference in feature spread between AEs and CEs to capture global uncertainty differences. (2) Perturbation-based Covariance Discrepancy (PCD), which compares feature covariance under Gaussian perturbations to capture local uncertainty differences. By aggregating VD and PCD, USAD achieves superior detection performances over baseline methods against various adversarial attacks, highlighting the importance of considering characteristic behaviors of AEs for effective SAD. Our code is available at: https://anonymous.4open.science/r/USAD.", "date": "2026-06-26", "categories": []} {"id": "2606.28716", "title": "TrajRS: Towards Certified Robustness in Pedestrian Trajectory Prediction", "abstract": "The robustness of trajectory prediction models is crucial for developing safe autonomous driving systems. Adversarial attacks on trajectory prediction can significantly impair the accuracy of predicted trajectories, leading to hazardous driving behaviors. While heuristic defense strategies have been implemented to enhance the robustness of trajectory prediction models, these measures often fail against more sophisticated, targeted adversarial attacks. Hence, there is a pressing need to establish verifiable safety assurances for trajectory prediction models. In this paper, we extend the traditional Randomized Smoothing framework to \"TrajRS\", which provides a certified robust radius for smoothed trajectory predictors. We clarify and expand the formal definitions of robustness in trajectory prediction and tailor the practical TrajRS scheme specifically to \"robustness for the optimal prediction\" and \"robustness for all possible predictions\". An extensive set of experiments demonstrates that TrajRS effectively achieves robustness certification for all smoothed pedestrian trajectory predictors in this work.", "date": "2026-06-27", "categories": []} {"id": "2606.29240", "title": "Blackknife: Hard-Label Query-Limited Black-Box Attacks on Heterogeneous Graph Neural Networks", "abstract": "Heterogeneous graph neural networks (HGNNs) have achieved strong performance in modeling complex graph-structured data with multiple node and relation types. However, their robustness under realistic black-box adversarial settings remains insufficiently explored. Existing attacks on HGNNs usually assume access to model gradients, soft prediction scores, or the complete graph structure, which is often unavailable when HGNN-based services are deployed as closed systems. In this paper, we propose Blackknife, a hard-label, query-limited, and structure-limited black-box evasion attack framework for heterogeneous graph neural networks. Blackknife assumes no access to the victim model architecture, parameters, gradients, logits, confidence scores, or the full graph structure. Instead, it only relies on locally observable one-hop heterogeneous structures and a small number of hard-label queries. To generate effective perturbations under these strict constraints, Blackknife first constructs a local relation-aware surrogate model from observable heterogeneous neighborhoods. It then relaxes discrete edge addition and deletion operations into continuous soft weights and optimizes them through projected gradient descent. Finally, the optimized perturbations are discretized into relation-preserving structural rewiring operations and verified using limited hard-label feedback from the victim model. Extensive experiments on three benchmark heterogeneous graph datasets, including ACM, DBLP, and IMDB, demonstrate that Blackknife consistently achieves strong attack success rates against representative HGNN models. The results further show that Blackknife remains effective under topology-based defense strategies, revealing the vulnerability of HGNNs to local structure-limited black-box attacks.", "date": "2026-06-28", "categories": []} {"id": "2606.29544", "title": "Proteus: Automated Adversarial Robustness Testing for Audio Deepfake Detectors", "abstract": "We present Proteus, a framework developed at Resemble AI for automated robustness testing of our audio deepfake detection system. Given a detector, Proteus systematically searches over sequences of everyday audio transformations (codec transcoding, additive noise, reverberation, dynamic-range compression, and VoIP simulation) to find combinations that fool the detector while preserving speech quality. We propose two complementary search strategies: (1) a breadth-first search that exhaustively maps augmentation effectiveness across the parameter space, and (2) a Q-learning agent designed to efficiently discover deeper attack chains by exploiting structural patterns in the BFS data. We report findings from continuous deployment of Proteus against our production detector, showing that specific augmentation chains can reliably flip detection verdicts while preserving speech intelligibility and speaker identity. We discuss how these findings are used to harden the detector through targeted retraining.", "date": "2026-06-28", "categories": []} {"id": "2606.29867", "title": "RoAd-RL: A Unified Library and Benchmark for Robust Adversarial Reinforcement Learning", "abstract": "Deep Reinforcement Learning (DRL) has achieved significant success in robotics and autonomous systems, yet remains vulnerable to adversarial perturbations that can severely degrade performance. Research in adversarial reinforcement learning is often limited by fragmented implementations, inconsistent evaluation protocols, and poor reproducibility. To address these challenges, we present \\textbf{RoAd-RL}, an open-source benchmarking framework that provides unified abstractions for policies, attacks, defenses, and robustness metrics, together with reproducible evaluation pipelines and seamless integration with Stable-Baselines3 and Gymnasium.\n We evaluate DQN, PPO, and SAC agents in LunarLander and Highway-v0 under 192 attack-defense configurations. Results reveal substantial variations in robustness across environments and show that some commonly used defenses can be more detrimental than the attacks they aim to mitigate, while temporal smoothing consistently achieves strong performance. RoAd-RL establishes a standardized benchmark for adversarial reinforcement learning research and is publicly available at https://pypi.org/project/road-rl.", "date": "2026-06-29", "categories": []} {"id": "2606.29963", "title": "Explainability-Aware Frustum Attack: Exposing Structural Vulnerabilities in LiDAR-Based 3D Object Detectors", "abstract": "The structural vulnerabilities of point cloud-based 3D object detectors remain poorly understood. Prior work has studied adversarial robustness primarily on isolated 3D object models, while recent LiDAR spoofing attacks target richer and more realistic driving scenes but focus mainly on physical realizability rather than understanding detector behavior or attack efficiency. In this work, we investigate how LiDAR-based detectors rely on spatial evidence in complex scenes and whether these reliance patterns can be exploited to induce failures more efficiently. To this end, we propose an explainability-guided adversarial analysis methodology. We introduce the Saliency-LiDAR (SALL) method, which aggregates Integrated Gradient attributions across scenes to produce universal saliency maps for LiDAR-based 3D object detectors. Guided by these maps, we design the Explainability-aware Frustum Attack (EFA), which selectively perturbs only the most influential frustums rather than uniformly attacking entire object regions. Experiments on KITTI and nuScenes, across detectors such as PointPillars and SECOND, show that EFA reduces detection recall by more than 15 percentage points while requiring 25-50% fewer perturbed frustums than the state-of-the-art non-saliency-aware baseline. These findings reveal that modern 3D detectors concentrate discriminative evidence in a small subset of spatial regions, exposing a structural robustness vulnerability in current LiDAR perception systems. Our code is released at https://github.com/SecMindLab/Saliency_LiDAR.", "date": "2026-06-29", "categories": []} {"id": "2606.30342", "title": "A Classifier-Agnostic Zero-Shot Adversarial Attack Detection via CLIP", "abstract": "Adversarial attacks pose a challenge to the reliability of deep learning models, motivating effective detection methods. Existing techniques often rely on attack-specific assumptions, access to adversarial samples, or knowledge of the underlying classifier (white-box). We propose $A^4D$ Attack- and Architecture-Agnostic Adversarial Detector, a completely black-box, zero-shot adversarial attack detection framework that utilizes prompt-based similarity scores derived from CLIP. To the best of our knowledge this is the first attempt to utilize CLIP for such a task. The method is based on two key observations: (i) CLIP is sensitive even to small imperceptible non-semantic perturbations; (ii) The shift in CLIP embedding space is not arbitrary and can be used as a robust attack indicator. Experiments across multiple attacks, datasets and classifiers validate that $A^4D$ achieves SOTA detection results in the attack-agnostic and classifier-agnostic setting.", "date": "2026-06-29", "categories": []} {"id": "2606.30807", "title": "Off the Rails: Hijacking the Scoring Head in Generative End-to-End Driving Planners with Safety-Violating Adversarial Perturbations", "abstract": "Generative models have recently seen rapid adoption in End-to-End (E2E) autonomous driving (AD), with diffusion-based denoising and vocabulary-based retrieval becoming the dominant trajectory-decoding paradigms. Despite their architectural diversity, current generative AD planners share a common inference pattern: a fixed set of candidate trajectories (anchors, vocabulary entries, or proposal queries) is scored by one or more learned heads conditioned on the Bird's-Eye-View (BEV) features, and the highest-scored candidate is returned as the final trajectory. Under this design, the scoring head is the only barrier between perception and the motion command, and its decision margins between competing candidates are often small. We introduce \\textsc{Derail}, an adversarial framework that exploits this scoring-head attack surface. Evaluated on various generative planners, \\textsc{Derail} flips the trajectory selection from a safe to an unsafe candidate, with score drops of $39$--$80\\%$ and collision rates of up to $50\\%$, consistently outperforming generic loss-maximization and feature-divergence attacks. Our analysis suggests that safety-violating objectives govern attack effectiveness against generative AD planners, and that the scoring-head inference pattern itself is a recurring attack surface worth explicit defensive consideration.", "date": "2026-06-29", "categories": []} {"id": "2606.31378", "title": "MAPE: Defending Against Transferable Adversarial Attacks Using Multi-Source Adversarial Perturbations Elimination", "abstract": "Neural networks are vulnerable to meticulously crafted adversarial examples, leading to high-confidence misclassifications in image classification tasks. Due to their consistency with regular input patterns and the absence of reliance on the target model and its output information, transferable adversarial attacks exhibit a notably high stealthiness and detection difficulty, making them a significant focus of defense. In this work, we propose a deep learning defense known as multi-source adversarial perturbations elimination (MAPE) to counter diverse transferable attacks. MAPE comprises the single-source adversarial perturbation elimination (SAPE) mechanism and the pre-trained models probabilistic scheduling algorithm (PPSA). SAPE utilizes a thoughtfully designed channel-attention U-Net as the defense model and employs adversarial examples generated by a pre-trained model (e.g., ResNet) for its training, thereby enabling the elimination of known adversarial perturbations. PPSA introduces model difference quantification and negative momentum to strategically schedule multiple pre-trained models, thereby maximizing the differences among adversarial examples during the defense model's training and enhancing its robustness in eliminating adversarial perturbations. MAPE effectively eliminates adversarial perturbations in various adversarial examples, providing a robust defense against attacks from different substitute models. In a black-box attack scenario utilizing ResNet-34 as the target model, our approach achieves average defense rates of over 95.1\\% on CIFAR-10 and over 71.5\\% on Mini-ImageNet, demonstrating state-of-the-art performance.", "date": "2026-06-30", "categories": []} {"id": "2606.31653", "title": "Improving Certified Robustness via Adversarial Distillation", "abstract": "Certified training aims to produce models whose predictions can be formally verified against adversarial perturbations, typically by optimising upper bounds on the worst-case loss over an allowed perturbation set. For neural networks, certified training methods based purely on tight relaxation bounds produce networks that are amenable to certification, but sacrifice standard accuracy. Conversely, adversarial training often yields stronger empirical robustness and standard accuracy, but the resulting models are generally difficult to certify with neural network verifiers. Recently, the literature has shown that better standard-certified accuracy trade-offs can be achieved by combining adversarial training objectives with loose over-approximations based on Interval Bound Propagation (IBP), effectively interpolating between lower and upper bounds of the worst-case loss. Building on this, we introduce AD-CERT, a certified training objective that combines adversarial distillation with an IBP upper bound. We show that distilling adversarial information over the logit space from an empirically robust teacher provides an effective lower bound surrogate for certified training, with AD-CERT achieving state-of-the-art certified performance on several robustness benchmarks. Furthermore, in a unified setup, distilling adversarial information at the logit-level is shown to improve certified accuracy over a robust feature-space distillation objective by up to 5.40 percentage points.", "date": "2026-06-30", "categories": []} {"id": "2607.00207", "title": "Homogenization of $\\ell_2$-Adversarial Training in High-Dimensions: Exact Dynamics under Stochastic Gradient Descent", "abstract": "We develop a framework for analyzing the learning dynamics of $\\ell_2$-adversarial training of single-index models on Gaussian mixtures in the high-dimensional limit under streaming stochastic gradient descent (SGD). We derive deterministic equivalents for a broad class of statistics of the SGD iterates, including the adversarial risk and distance to adversarial optimality, in terms of the solution to a system of ODEs. We use them to study two idealized learning rate schedules: the Polyak stepsize and exact line search. In the case of $\\ell_2$-adversarial least squares with a single class, we show that, unlike noiseless standard least squares, no constant learning rate guarantees monotone descent of SGD towards a minimizer of the adversarial risk. We identify anisotropic covariance and a mismatch in ridge parameters as the main sources of suboptimality of exact line search relative to the Polyak stepsize. We also introduce a stochastic differential equation (SDE), called adversarial homogenized SGD, that captures the evolution of statistics of the iterates of SGD. For $\\ell_2$-adversarial least squares, using this SDE, we show the evolution of the risk is equivalent, up to dimension-free constants, to that of SGD on standard least squares with an adaptive learning rate and adaptive $\\ell_2$-regularization. When the dynamics converge, the limiting adversarial risk and SGD iterate are determined by a fixed-point equation, with the limiting iterate being equivalent to the solution of a ridge regression problem whose regularization parameter is the limiting effective regularization of SGD.", "date": "2026-06-30", "categories": []}