NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Hamidreza Kamkari

Hamidreza Kamkari

Toyota Research Institute · Massachusetts Institute of Technology
8 previous affiliations
11Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Hamidreza Kamkari focuses on the geometric properties of high-dimensional data and their implications for the reliability, generalization, and safety of deep generative models. His work leverages the manifold hypothesis to address fundamental paradoxes in out-of-distribution (OOD) detection and to develop scalable methods for estimating local intrinsic dimension (LID). By integrating insights from differential geometry and stochastic processes, Kamkari’s research provides a theoretical and practical framework for understanding how generative models represent complex data distributions and why they occasionally fail in predictable yet puzzling ways. His recent inquiries extend these geometric perspectives to the problems of model memorization, causal effect estimation, and the scaling of foundation models for tabular data.

Research Trajectory

The evolution of Kamkari’s research reflects a transition from bio-inspired optimization techniques to a rigorous geometric analysis of deep learning. In 2023, his work was primarily situated in the domain of mathematical optimization, specifically exploring how biological systems can inform the solution of complex mathematical programs. This period was characterized by an investigation into Physarum Polycephalum, a slime mold capable of solving shortest-path problems. Kamkari contributed to the development of Physarum Inspired Dynamics to Solve Semi-Definite Programs, where he extended existing models of Physarum Directed Dynamics from linear programming to positive Semi-Definite Programs (SDP). This work utilized orthogonal projections on affine subspaces defined by linear constraints, generalizing scalar products to matrix spaces. This early phase established a foundation in using dynamical systems to navigate constrained mathematical spaces.

By early 2024, Kamkari’s focus shifted toward the intersection of geometry and generative modeling, specifically addressing the "Likelihood Paradox." This paradox describes a phenomenon where deep generative models, despite being trained on complex datasets like human faces, assign higher likelihoods to simpler, out-of-distribution data such as Gaussian noise or basic digits, yet never actually generate such samples. In A Geometric Explanation of the Likelihood OOD Detection Paradox, Kamkari provided a formal resolution to this contradiction. He demonstrated that while OOD regions may possess high density, they often contain negligible probability mass because they reside on lower-dimensional manifolds relative to the training data. This work introduced a "dual threshold" detection method that incorporates Local Intrinsic Dimension (LID) to distinguish between high-density OOD regions and actual in-distribution data.

Throughout 2024, Kamkari deepened this geometric investigation by focusing on the estimation of LID itself. Recognizing that high-dimensional data typically concentrates on low-dimensional submanifolds, he sought to quantify this "data complexity" more accurately. He identified that existing LID estimation techniques were either computationally prohibitive or lacked the precision required for modern deep learning applications. To resolve this, he leveraged the mathematical structure of diffusion models. In A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Models, he showed that the Fokker-Planck equation associated with the diffusion process provides a direct pathway to LID estimation. This methodological breakthrough allowed for the first scalable and differentiable LID estimator, which has since been applied to tasks ranging from detecting AI-generated text to identifying adversarial examples.

In late 2024 and early 2025, Kamkari began applying these geometric tools to the critical issue of model safety and privacy. A significant portion of this work involves the Manifold Memorization Hypothesis (MMH), which seeks to explain why generative models sometimes reproduce training data verbatim. By analyzing the relationship between the dimensionality of the ground truth data manifold and the manifold learned by the model, Kamkari’s collaborative work in A Geometric Framework for Understanding Memorization in Generative Models provides a language for distinguishing between legitimate generalization and problematic overfitting. This framework allows researchers to detect and potentially mitigate privacy-leaking generations at scale.

Current Directions

Kamkari’s current research explores the broader applicability of foundation models and in-context learning (ICL) to specialized domains such as causal inference and tabular data. This represents a move toward amortized inference, where a single pre-trained model can perform complex downstream tasks without task-specific fine-tuning.

One primary area of current interest is the automation of causal analysis. Traditional causal effect estimation requires significant domain expertise and custom modeling for each new dataset. Kamkari has contributed to the development of CausalPFN: Amortized Causal Effect Estimation via In-Context Learning, a Transformer-based model trained on synthetic data to perform causal inference "out of the box." This approach leverages the speed of ICL to match the performance of specialized estimators while operating orders of magnitude faster, suggesting a new paradigm for rapid causal discovery in large-scale data pipelines.

Additionally, Kamkari is involved in efforts to scale tabular foundation models. Tabular data remains a challenging domain for neural networks due to the heterogeneous nature of features and the lack of inherent spatial or sequential structure found in images or text. His participation in the development of TabDPT: Scaling Tabular Foundation Models focuses on using ICL to allow models to adapt dynamically to unseen tabular datasets. This work addresses the limitations of large language models in processing numeric tables and seeks to harness the power of real-world data to improve the zero-shot predictive capabilities of tabular models.

Representative Work

Physarum Inspired Dynamics to Solve Semi-Definite Programs In this first-author paper, Kamkari explores the intersection of biological modeling and convex optimization. The research generalizes the Physarum Directed Dynamics—originally designed for linear programs—to the domain of Semi-Definite Programming (SDP). By defining time-dependent scalar products in matrix space, the work demonstrates that the slime mold's path-finding behavior can be mathematically mapped to orthogonal projections on affine subspaces. This provides a novel dynamical systems perspective on solving positive SDPs, which are fundamental to many areas of machine learning and operations research.

A Geometric Explanation of the Likelihood OOD Detection Paradox As the lead author, Kamkari addresses a long-standing mystery in deep generative modeling: why models assign high likelihoods to data they never generate. The paper provides a geometric resolution by distinguishing between point-wise density and probability mass. The core finding is that OOD data often occupies "likelihood peaks" that are too narrow (i.e., have too low a local intrinsic dimension) to contain significant probability mass. This work introduced the dual-threshold approach, combining likelihood and LID to create a more robust OOD detection mechanism.

A Geometric View of Data Complexity: Efficient Local Intrinsic Dimension Estimation with Diffusion Models This work establishes a scalable method for estimating the Local Intrinsic Dimension (LID) of high-dimensional data using diffusion models. Kamkari demonstrates that the score function learned by a diffusion model, governed by the Fokker-Planck equation, contains the necessary information to recover the dimension of the underlying data manifold. This first-author contribution is significant because it provides a differentiable and computationally efficient way to measure data complexity, which is essential for understanding model generalization and detecting adversarial perturbations.

A Geometric Framework for Understanding Memorization in Generative Models In this second-author paper, Kamkari applies his expertise in manifold geometry to the problem of memorization in models like Stable Diffusion. The research proposes the Manifold Memorization Hypothesis, which posits that memorization occurs when the model collapses the learned manifold onto specific training points. By measuring the LID of generated samples, the framework can distinguish between a model that has learned the general structure of a data distribution and one that is merely replicating its training set, providing a tool for assessing privacy risks in deployed models.

CausalPFN: Amortized Causal Effect Estimation via In-Context Learning This research, where Kamkari is a second author, introduces a single Transformer model capable of estimating causal effects without task-specific training. By training on a massive library of simulated causal graphs, the model learns to perform in-context causal inference. This work represents a significant step toward "foundation models for causality," demonstrating that amortized inference can achieve state-of-the-art accuracy while being significantly faster than traditional iterative estimation methods.

TabDPT: Scaling Tabular Foundation Models Kamkari participated in this work as a middle author, contributing to the development of a scalable foundation model for tabular data. The paper addresses the difficulty of applying deep learning to numeric tables by using in-context learning to adapt to new datasets zero-shot. The research focuses on overcoming the scaling issues inherent in previous tabular-specific techniques, aiming to create a model that can provide immediate predictions for novel tasks without the need for hyperparameter tuning or further training.

Profile updated

See something wrong? Report a mistake