Arad Maleki

Chinese University of Hong Kong
2 previous affiliations
3Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Arad Maleki focuses on the security and reliability of deep learning systems, with a specific emphasis on Adversarially Robust Out-of-Distribution Detection, anomaly localization, and the mitigation of distribution shifts in computer vision. His work investigates the vulnerabilities of neural architectures—ranging from traditional convolutional networks to modern Vision Transformers—against adversarial manipulations and environmental changes. By developing methods for Trojan detection and robust novelty detection, Maleki addresses the critical need for dependable AI in high-stakes domains such as autonomous driving and industrial monitoring.

Research Trajectory

Maleki’s early research contributions centered on the diagnostic security of deep neural networks, particularly the identification of malicious modifications embedded during the training process. In 2024, he participated in a large-scale collaborative effort to develop TRODO, a framework detailed in Scanning Trojaned Models Using Out-of-Distribution Samples. This research addressed the challenge of detecting "Trojans" or backdoors—hidden triggers that cause a model to misbehave only when specific, often subtle, patterns are present in the input. The contribution of this work lay in its ability to identify these vulnerabilities without requiring access to the original training data or prior knowledge of the attack type. By analyzing "blind spots" in the model’s decision boundaries through the lens of out-of-distribution (OOD) sampling, the research provided a method for scanning models that had been hardened by adversarial training, a scenario where traditional detection methods often fail.

Following this work on model security, Maleki’s focus expanded to the broader problem of distribution shifts and their impact on novelty detection (ND). In 2025, he contributed to the development of a contrastive teacher-student framework designed to maintain performance under style shifts. As documented in A Contrastive Teacher-Student Framework for Novelty Detection under Style Shifts, this research tackled the "shortcut learning" phenomenon, where ND models mistakenly correlate environmental style features (such as lighting or weather conditions) with the core features of the data. This bias leads to significant performance degradation when the model encounters in-distribution data in a new environment. By utilizing a teacher-student architecture, the work aimed to decouple style from content, ensuring that the novelty detector remains focused on structural anomalies rather than benign environmental variations.

Current Directions

Maleki’s recent work represents a shift toward senior-level research leadership, focusing on the intersection of Vision Transformers (ViTs) and adversarially robust anomaly detection. This direction is exemplified by the development of PatchGuard, a method introduced in PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomalies. In this capacity as senior author, Maleki has directed research into how the inherent architectural properties of ViTs can be leveraged to improve both Anomaly Detection (AD) and Anomaly Localization (AL).

A central theme in this current phase is Reconciling Spatial Resolution and Quadratic Complexity in Transformers. While ViTs offer global receptive fields that are advantageous for understanding complex scenes, their computational cost scales quadratically with the number of patches. Maleki’s work utilizes the patch-based processing of ViTs to perform fine-grained anomaly localization, treating the image as a grid of tokens where anomalies can be isolated at the patch level. This approach is particularly relevant for industrial and medical applications where identifying the exact location of a defect or pathology is as important as detecting its presence.

Furthermore, Maleki’s current research provides theoretical and practical insights into Regularizing Attention Distributions via Entropy Maximization. A common failure mode in attention-based models is "peaky attention," where the model focuses too narrowly on a few dominant features, rendering it susceptible to adversarial perturbations that target those specific areas. By incorporating pseudo-anomalies and localization masks during the training process, Maleki’s recent frameworks aim to regularize the attention mechanism. This ensures that the model maintains a broader contextual awareness, making it more difficult for adversarial attacks to bypass the anomaly detection system by manipulating a small set of highly-weighted tokens.

Representative Work

Adversarially Robust Anomaly Detection

In the senior-authored paper PatchGuard: Adversarially Robust Anomaly Detection and Localization through Vision Transformers and Pseudo Anomalies, Maleki and his colleagues address the vulnerability of standard anomaly detection systems to adversarial attacks. Most AD models are trained only on "normal" data, leaving them unprepared for malicious inputs designed to mimic normal distributions. PatchGuard introduces a training regime using pseudo-anomalies—synthetically generated samples that simulate potential defects—combined with localization masks. This approach allows the Vision Transformer to learn a robust boundary between normal and anomalous patches. The research provides a theoretical analysis of how these pseudo-anomalies influence the attention maps of the ViT, demonstrating that the inclusion of synthetic outliers prevents the model from developing the "tunnel vision" that adversarial attackers typically exploit.

Novelty Detection under Style Shifts

The challenge of maintaining model reliability across different environments is explored in A Contrastive Teacher-Student Framework for Novelty Detection under Style Shifts. In this collaborative work, Maleki contributed to a framework that addresses the sensitivity of novelty detectors to style shifts. In many real-world applications, a change in the data acquisition process (e.g., a different camera sensor or varying atmospheric conditions) is incorrectly flagged as a novelty. The proposed teacher-student framework uses contrastive learning to encourage the model to learn representations that are invariant to these style changes. By forcing the student model to match the teacher's high-level feature extraction while being exposed to various augmented styles, the system learns to prioritize the "core" features of the in-distribution data, thereby reducing false positives in non-stationary environments.

Trojan Detection via OOD Sampling

Maleki participated in the development of the TRODO method, as described in Scanning Trojaned Models Using Out-of-Distribution Samples. This research focused on the security threat posed by poisoned datasets, where an attacker inserts a "trigger" into the training data to create a backdoor in the resulting model. The TRODO framework is significant for its use of OOD samples to probe the model's internal decision logic. The researchers identified that Trojaned models often exhibit unusual responses to data that falls outside the standard training distribution—essentially revealing the hidden triggers through the model's "blind spots." This work demonstrated that it is possible to verify the integrity of a pre-trained model even when the auditor has no access to the original training pipeline or the specific nature of the potential attack, providing a critical tool for supply-chain security in machine learning.

Profile updated

See something wrong? Report a mistake