Avery Ma
· 8 previous affiliations
- Borealis AISince 2025
- Researcher · Since 2025
- Royal Bank of CanadaSince 2025
- Machine Learning Research Scientist · Since 2026
- Visiting Researcher · 2025–2026
- University of TorontoCurrent
- Current
- PhD student · 2018–2024
- Samsung Electronics (South Korea)2021–2022
- Research Intern · 2021–2022
- Research Intern · 2020
- University of Waterloo2016–2018
- MS student · 2016–2018
- Christie Digital Systems2016–2017
- Research Intern · 2016–2017
- Bendix (United States)2015
- Mechatronics Engineer Intern · 2015
Research Overview
Avery Ma focuses on the intersection of computer vision, computational imaging, and the security of deep learning systems. Ma’s research trajectory has evolved from developing novel optical sensing techniques for 3D reconstruction to investigating the fundamental vulnerabilities of neural networks, specifically regarding adversarial robustness and the transferability of adversarial examples. By combining principles from robust optimization, geometric analysis, and signal processing, Ma addresses the challenges of making machine learning models both more perceptive of the physical world and more resilient to malicious perturbations.
Research Trajectory
The early phase of Ma’s research, beginning around 2017, was centered on computational photography and the problem of monocular 3D imaging. A primary focus during this period was Overcoming Texture Sensitivity in Depth from Defocus. Traditional Depth from Defocus (DfD) techniques recover the three-dimensional structure of a scene by analyzing the variation of optical blur across different focal settings. However, these methods typically fail when encountering texture-less or homogeneous surfaces, as the lack of visual features makes it impossible to measure blur accurately. Ma addressed this limitation through Point Spread Function Engineering for Monocular 3D Imaging, specifically by introducing active sensing components into the imaging pipeline. By projecting quasi-random point patterns onto a scene, Ma demonstrated that depth could be inferred from a single capture using deep learning models trained to interpret the resulting blur patterns. This work transitioned DfD from a passive sensing problem to an active, data-driven one, significantly simplifying the hardware requirements for depth estimation on consumer devices.
Around 2020, Ma’s focus shifted toward the security and reliability of deep neural networks (DNNs). This transition was marked by an exploration of adversarial machine learning, where the goal is to understand and mitigate the impact of small, intentionally crafted perturbations that cause models to fail. Ma approached this problem through the lens of robust optimization, seeking alternatives to standard adversarial training, which is often computationally expensive and difficult to tune. This period of work introduced second-order regularization techniques that use Taylor series expansions to approximate the inner-maximization problem of robust optimization. By penalizing the curvature of the loss function, Ma sought to create smoother decision boundaries that are inherently more resistant to $\ell_p$-bounded attacks.
Concurrently, Ma began investigating the semantic implications of adversarial vulnerability. Recognizing that not all misclassifications carry the same risk, Ma explored Adversarial Vulnerability in Semantic Class Hierarchies. This research moved beyond the traditional view of adversarial examples as "random" jumps across decision boundaries, instead framing them as structured phenomena influenced by the relationships between classes. Ma introduced the concept of hierarchical adversarial robustness, which prioritizes the prevention of "coarse-level" errors—such as a vehicle being misclassified as a pedestrian—over less critical "fine-level" errors, such as one car model being mistaken for another.
In recent years, Ma’s work has increasingly focused on the transferability of adversarial examples and the role of model alignment. This research examines why perturbations crafted for a specific source model often remain effective against a different target model. Ma has developed model alignment techniques that fine-tune source models to better match the predictive behavior of independent "witness" models, thereby enhancing the transferability of the generated attacks. This work involves a geometric analysis of the loss landscape to understand how alignment affects the direction and magnitude of adversarial gradients.
Current Directions
Ma’s current research continues to probe the theoretical and practical boundaries of model security. One active area of interest is the Implicit Bias of Adversarial Training, investigating how specific optimization algorithms and regularization techniques influence the types of solutions a model converges toward. This includes analyzing the dynamics of deep learning through the proxy of Linear Models for Deep Learning Dynamics, which provides a more tractable framework for studying complex non-linear interactions.
Furthermore, Ma is extending these security principles to the domain of large-scale generative models. This includes exploring Adversarial Robustness and Knowledge Erasure in Aligned Language Models. As safety protocols for Large Language Models (LLMs) often rely on refusal-based alignment, Ma’s work investigates whether these safeguards are merely superficial or if they truly erase the model's latent ability to generate harmful content. This direction reflects a broader commitment to ensuring that as AI systems become more integrated into critical infrastructure, their safety mechanisms remain robust against sophisticated adversarial exploitation.
Representative Work
Depth from Defocus via Active Quasi-random Point Projections: A Deep Learning Approach In this first-author work, Ma introduces a technique for inferring depth from a single image capture using a camera and a projector. The method addresses the "texture-less" problem in DfD by projecting a quasi-random point pattern onto the scene. A deep learning model is then employed to analyze the blur of each projected point to estimate depth. This approach demonstrates that complex 3D sensing can be achieved with relatively simple hardware by leveraging the feature-learning capabilities of neural networks.
Deep Learning-Driven Depth from Defocus via Active Multispectral Quasi-Random Projections with Complex Subpatterns Expanding on previous active sensing work, Ma (as first author) presents a multispectral approach to DfD. By using complex subpatterns and multiple spectral channels, the system improves both the speed and accuracy of depth inference. The research highlights how the automatic feature extraction of deep learning models can be optimized by carefully designing the physical input (the projected pattern), effectively co-designing the optical and computational components of the imaging system.
SOAR: Second-Order Adversarial Regularization As the lead author, Ma proposes a novel regularization approach to improve the robustness of deep neural networks. Formulated within a robust optimization framework, SOAR utilizes a second-order Taylor series expansion to approximate the loss function's behavior under perturbation. The resulting regularizer acts as an upper bound on the inner-maximization objective, providing a mathematically grounded alternative to standard adversarial training that improves resistance to both $\ell_\infty$ and $\ell_2$ bounded attacks.
Improving Hierarchical Adversarial Robustness of Deep Neural Networks In this first-author paper, Ma introduces the concept of hierarchical adversarial robustness (HAR). The work argues that the severity of an adversarial attack should be measured by its semantic impact. By decomposing a single flat classifier into a hierarchical structure that accounts for coarse and fine labels, Ma develops a network design that is specifically resistant to attacks that would cause dangerous high-level misclassifications, such as those critical in autonomous driving contexts.
Improving adversarial transferability via model alignment Ma (first author) investigates the phenomenon of adversarial transferability, where perturbations designed for one model deceive another. The paper introduces a model alignment technique that fine-tunes a source model to minimize the divergence between its predictions and those of an independent "witness" model. Through a geometric analysis of the loss landscape, the work demonstrates how this alignment process facilitates the generation of more transferable adversarial examples, providing insights into the shared vulnerabilities across different model architectures.
A Survey on Transferability of Adversarial Examples Across Deep Neural Networks Ma participated in this comprehensive survey of the state of the art in adversarial transferability. The work categorizes existing literature on the mechanisms that allow adversarial examples to remain effective across different architectures and training regimes. By synthesizing findings from across the field, the survey identifies key challenges and open questions regarding the safety of deploying DNNs in environments where an attacker might have access to surrogate models.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake