NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Ali Ansari

Ali Ansari

Yale University
5 previous affiliations
9Machine learning papers tracked by Lacuna

1 other author named Ali Ansari: Ali Ansari (Stanford University · 1 paper)

Is this you?

Research Overview

Ali Ansari focuses on adversarial robustness, outlier detection, and the security of deep neural networks. His early work addresses the vulnerabilities of machine learning models to distribution shifts and adversarial attacks by leveraging generative data augmentation. Currently, his research investigates trigger-agnostic methods for detecting neural backdoors and improving model reliability during post-training evaluation.

Research Trajectory

Ansari's research trajectory centers on enhancing the reliability of machine learning models in the presence of unexpected, shifted, or adversarial inputs. In 2024, he contributed to the development of a data-centric framework detailed in RODEO: Robust Outlier Detection via Exposing Adaptive Out-of-Distribution Samples. This work addresses core challenges in the research direction of Adversarially Robust Out-of-Distribution Detection. The RODEO framework utilizes text-to-image diffusion models to synthesize "near-distribution" outliers—samples that are semantically similar to inliers but technically distinct. By training on these realistic and diverse synthetic outliers, models achieve significantly greater resilience against adversarial attacks designed to bypass outlier detectors. This approach also advances the broader area of Generative Data Augmentation with Diffusion Models and provides new methodologies for the problem space of Distinguishing Semantically Similar Outliers from Known Classes.

Continuing his focus on model reliability under shifting conditions, Ansari participated in research addressing vulnerabilities in novelty detection systems. The 2025 paper A Contrastive Teacher-Student Framework for Novelty Detection under Style Shifts investigates how novelty detection methods often suffer significant performance degradation when exposed to minor environmental changes, known as style shifts. Because out-of-distribution samples are typically absent during training, detectors frequently develop a bias toward dominant style features in the in-distribution data, mistakenly using these superficial features as a shortcut for detection. The proposed contrastive teacher-student framework seeks to decouple style from core semantic features, a critical step for deploying robust novelty detection in high-stakes real-world applications like autonomous driving and medical imaging.

Building on his expertise in out-of-distribution data, Ansari has more recently led investigations into the security vulnerabilities of deep neural networks, specifically focusing on the area of Black-Box Detection of Hidden Neural Backdoors. He introduced a novel framework called TRODO in the paper Scanning Trojaned Models Using Out-of-Distribution Samples. This trigger-agnostic method identifies backdoors, or trojans, by locating "blind spots" where a compromised model mistakenly classifies out-of-distribution data as in-distribution. Notably, this detection mechanism remains highly effective even against models that have been hardened with adversarial training, and it operates successfully with little to no access to the original training data.

Current Directions

The most recent papers in the evidence indicate a strong focus on securing machine learning models against both environmental shifts and malicious tampering. Current work investigates how out-of-distribution data can be leveraged not just as a benchmark for robustness, but as an active diagnostic tool for uncovering hidden vulnerabilities, such as neural backdoors. Additionally, ongoing efforts address the challenge of style shifts in novelty detection, aiming to build models that rely on core semantic features rather than superficial environmental shortcuts. Together, these directions point toward a broader objective of ensuring that deep neural networks remain reliable, interpretable, and secure when deployed in complex, real-world environments where data distributions are rarely static.

Profile updated

See something wrong? Report a mistake