Reza Bayat

Mila - Quebec Artificial Intelligence Institute
3 previous affiliations
12Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Reza Bayat focuses on adversarial robustness, generative modeling, and the efficient deployment of large language models. His early work explored how adversarial training and sample diversity impact model generalization across both discriminative and generative tasks. More recently, his research investigates adaptive computation mechanisms and the steering of language model activations to improve interpretability and mitigate spurious correlations.

Research Trajectory

The initial focus of Bayat's research centered on the vulnerabilities of deep neural networks to adversarial perturbations. Standard defense mechanisms often overfit to the specific attacks seen during training, leaving models susceptible to novel or slightly modified adversarial examples. To address this, he contributed to the development of Adversarial Feature Desensitization in 2021. Drawing upon insights from domain adaptation, this approach aimed to learn representations that are less sensitive to adversarial noise, contributing to the area of Generalizing Adversarial Defense against Unforeseen Attacks. This work also intersected with the broader direction of Generalization Limits of Adversarial Training and Detection and research in Robustness through Sparsity and Dimensionality Reduction.

Expanding his scope to generative modeling, Bayat investigated the structural limitations of different architectures in capturing complex data distributions. In A Study on Sample Diversity in Generative Models: GANs vs. Diffusion Models (2023), he systematically compared Generative Adversarial Networks (GANs) and Denoising Diffusion Probabilistic Models (DDPMs). The research highlighted how mode collapse in GANs restricts sample diversity by trapping the generator in local minima, contrasting this with the more comprehensive distribution coverage offered by diffusion models.

Returning to the theme of robustness in 2024, Bayat examined the underlying learning dynamics of defense mechanisms. In Adversarial Training with Synthesized Data: A Path to Robust and Generalizable Neural Networks, he utilized sample difficulty methodologies to demonstrate that adversarial training stabilizes learning dynamics compared to natural training. The findings suggested that exposing models to adversarial examples steers them away from easily perturbable spurious features and toward more resilient representations, resulting in less overconfident predictions. Concurrently, he participated in research extending these robustness principles to multimodal architectures. The project Towards Adversarially Robust Vision-Language Models: Insights from Design Choices and Prompt Formatting Techniques explored how specific model design choices and cost-effective prompt formatting—such as rephrasing questions to suggest potential perturbations—can substantially improve a vision-language model's resilience against strong image-based attacks like Auto-PGD.

As large models became increasingly prevalent, Bayat's research trajectory expanded to address the computational bottlenecks associated with their deployment. He explored inference efficiency in Performance Control in Early Exiting to Deploy Large Models at the Same Cost of Smaller Ones (2024). This work introduced Performance Control Early Exiting (PCEE), a method designed to manage the compute-performance trade-off by adaptively allocating computational budget based on datapoint difficulty. The study provided a novel perspective, arguing that early exiting techniques are best utilized to deploy larger, more capable models while maintaining the computational footprint of smaller ones.

This interest in dynamic resource allocation continued into 2025 with architectural innovations for Transformers. Bayat collaborated on Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computation, which proposed a Transformer architecture unifying parameter sharing and adaptive computation. By employing a lightweight router to determine the number of times each token passes through a shared block of layers, the method achieved higher inference throughput with fewer parameters, advancing the research direction of Adaptive Computation through Dynamic Depth and Latent Recurrence.

Most recently, Bayat has focused on the interpretability and fundamental generalization behaviors of large language models. In Steering Large Language Model Activations in Sparse Spaces (2025), he introduced Sparse Activation Steering (SAS). This method manipulates activations within sparse latent spaces to control model behavior, offering a modular approach to AI alignment that matches the performance of dense-space methods while significantly improving interpretability. Alongside this alignment work, he investigated how deep learning models exploit dataset loopholes in The Pitfalls of Memorization: When Memorization Hurts Generalization (2025). The paper demonstrated that models often rely on easy-to-learn spurious correlations for the majority of data while memorizing exceptions. To counter this, Bayat introduced Memorization-Aware Training (MAT), an algorithm that shifts model logits using held-out predictions to force the network to learn robust patterns. This research contributes to the area of Group Robustness Without Explicit Subpopulation Labels and informs related fields like Temperature Scaling for Contrastive Representation Learning.

Current Directions

Recent work investigates the internal mechanisms of large language models, focusing simultaneously on computational efficiency, behavioral alignment, and the fundamentals of generalization. A primary theme in the most recent papers is the development of adaptive computation strategies, allowing models to dynamically allocate resources at the token level to improve inference throughput without sacrificing performance. Concurrently, research addresses the interpretability and safety of these models by steering activations in sparse latent spaces, providing more precise control over model outputs. This is complemented by ongoing efforts to understand learning dynamics—specifically how models rely on spurious correlations and memorization—and designing training algorithms that force networks to abandon dataset loopholes in favor of genuinely generalizable patterns.

Profile updated

See something wrong? Report a mistake