Mahdi Karami
· 7 previous affiliations
- University of WaterlooSince 2023
- Researcher · Since 2023
- Google (United States)Since 2024
- Research Scientist · Since 2024
- Amazon (United States)2022–2023
- Researcher · 2022–2023
- Noah's Ark Lab2021–2022
- Senior Research Scientist · 2021–2022
- University of Alberta2014–2020
- PhD student · 2014–2020
- University of Tehran2005–2008
- MS student · 2005–2008
- Master's Degree, Communications and Signal processing
- Isfahan University of Technology2001–2005
- Undergrad student · 2001–2005
Research Overview
Mahdi Karami focuses on deep generative models, efficient sequence modeling, and graph neural networks. His early work explored latent variable models and normalizing flows for complex statistical estimation. More recently, he has concentrated on developing scalable architectures for large language models, designing novel state space models and memory compression techniques to overcome the computational bottlenecks of attention mechanisms.
Research Trajectory
Karami's early research established foundations in latent variable modeling and deep generative architectures. In 2017, he investigated maximum likelihood estimation for linear dynamical systems with generalized-linear observation models. This work, detailed in Multi-view Matrix Factorization for Linear Dynamical System Estimation, developed an optimization-based strategy to jointly infer latent states and transition parameters, contributing to the broader area of Automated Discovery of Intrinsic Latent Dimensionality. Expanding on generative probabilistic models, he subsequently explored normalizing flows, which traditionally suffer from computationally expensive Jacobian determinants. To address this, he introduced Invertible Convolutional Flow, demonstrating that circular and symmetric convolutions admit efficient inverse mapping and determinant computation in log-linear time. Continuing his focus on latent representations, he proposed Deep Probabilistic Canonical Correlation Analysis, a framework that decomposes variability across multiple views into shared and view-specific components. This approach provided an efficient variational inference procedure for multi-view learning, aligning with research directions such as Linear Time Subspace Clustering.
By 2024, his focus expanded to include the generative modeling of complex graph structures. Recognizing the complexity-expressivity tradeoffs in graph denoising diffusion models, he developed methods that leverage the inherent community structures of real-world datasets. In Multi-Resolution Graph Diffusion, he decomposed the diffusion process into a sequence of conditional processes guided by a parent graph, allowing for scalable generation of individual communities. He further advanced this hierarchical approach to graph generation in HiGen: Hierarchical Graph Generative Networks, which formalized hierarchical abstractions for scalable graph synthesis.
A major and ongoing theme in Karami's trajectory is the design of efficient sequence models that mitigate the quadratic computational and memory costs of standard Transformer architectures. He approached this bottleneck through multiple architectural paradigms. In Orchid: Flexible and Data-Dependent Convolution for Sequence Modeling, he replaced standard attention mechanisms with data-dependent global convolutions, utilizing a conditioning network to generate custom kernels on the fly for highly scalable sequence processing. He also investigated dynamic memory compression within attention models themselves. TRELLIS: Learning to Compress Key-Value Memory in Attention Models introduced a two-pass recurrent compression process with a learned forget gate to dynamically compress key-value memory at test time. Building on this concept, LATTICE: Learning to Efficiently Compress the Memory formulated memory compression as an online optimization problem, deriving an orthogonal update rule that leverages the low-rank structure of key-value matrices to achieve sub-quadratic complexity. Concurrently, he explored state space models (SSMs) as an alternative to attention. MS-SSM: A Multi-Scale State Space Model for Enhanced Sequence Modeling decomposed input data into multiple temporal scales, processing them in parallel with independent SSMs to capture both fine-grained details and long-range trends.
Most recently, Karami has applied these principles of efficient sequence and temporal modeling to broader domains, including video understanding and advanced language modeling. With collaborators, he participated in the development of TRecViT: A Recurrent Video Transformer, a causal video model that combines recurrent units for temporal processing with transformers for spatial mixing to enable real-time applications. He also contributed to research in the area of Parallelizable Recurrence for Efficient Sequence Modeling through his involvement in TNT: Improving Chunkwise Training for Test-Time Memorization, which investigated deep memory modules that update sub-network weights during sequence processing. Returning to generative language models, he recently developed Auto-Regressive Masked Diffusion Models, an architecture that unifies the strengths of autoregressive and diffusion frameworks by reframing masked diffusion as a block-wise causal process, significantly reducing the required training iterations for high-quality sequence generation.
Current Directions
The most recent papers in the evidence indicate a strong focus on bridging the gap between parallelizable sequence generation and autoregressive modeling, particularly in the context of large language models. Recent work investigates the unification of diffusion models with autoregressive frameworks to achieve high-performance language modeling with fewer training iterations. Additionally, Karami continues to address the fundamental memory and computational bottlenecks of sequence processing. This involves developing novel recurrent mechanisms, dynamic memory compression techniques, and multi-scale state space models that offer linear or sub-quadratic scaling without sacrificing the expressive power traditionally associated with attention mechanisms.
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