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

Du Phan

Open Source Software Development · Google (United States) · Google DeepMind (United Kingdom)
10 previous affiliations
10Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Du Phan focuses on the intersection of Bayesian statistics, deep learning, and probabilistic programming, with a particular emphasis on developing scalable inference algorithms for high-dimensional models. His work addresses the computational challenges of posterior estimation in complex systems, ranging from hierarchical Bayesian models to large-scale generative architectures. Currently, he investigates the application of latent-variable inference to improve reasoning capabilities and uncertainty quantification in large language models (LLMs).

Research Trajectory

The early phase of Phan’s research was centered on the development of high-performance infrastructure for probabilistic programming. In 2019, he contributed to the creation of Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro, a library designed to leverage the JAX ecosystem for accelerated Bayesian inference. This work involved redesigning traditional algorithms, such as the No-U-Turn Sampler (NUTS), into iterative formats suitable for end-to-end just-in-time (JIT) compilation. During this period, he also participated in the development of Functional Tensors for Probabilistic Programming, which introduced "funsors" as a software abstraction to unify discrete tensors with continuous probability distributions, enabling more flexible exact and approximate inference strategies.

By 2021, Phan’s focus shifted toward the problem of Scaling Complex Bayesian Models with Variational Inference. A primary challenge in this domain is that traditional Markov Chain Monte Carlo (MCMC) methods, while accurate, often fail to scale to massive datasets due to their inability to effectively utilize data subsampling. To address this, Phan developed Surrogate Likelihoods for Variational Annealed Importance Sampling, a method that employs a learned, computationally efficient surrogate likelihood to guide Hamiltonian Monte Carlo steps. This approach bridges the gap between the high-fidelity approximations of MCMC and the scalability of variational methods, facilitating Scalable Bayesian Inference via Stochastic Gradient MCMC in large-scale settings.

In 2022 and 2023, Phan expanded his research into the reliability and uncertainty quantification of large-scale pretrained models. He participated in the development of Plex: Towards Reliability using Pretrained Large Model Extensions, a framework aimed at improving the out-of-distribution generalization and uncertainty calibration of vision and language models. This period also saw significant contributions to the quantification of compositional uncertainty in structured output tasks, such as On Compositional Uncertainty Quantification for Seq2seq Graph Parsing. This work established a probabilistically interpretable framework to align sequence-to-sequence output probabilities with the structural probabilities of graphs or trees.

Phan’s most recent work, spanning 2023 and 2024, focuses on advancing the state of Beyond Gaussian Approximations in Variational Inference. He introduced Reparameterized Variational Rejection Sampling, a hybrid method that utilizes rejection sampling to refine simple variational distributions into more complex, non-parametric posterior approximations. This research is closely linked to the development of Pathwise Gradient Estimators for Stable Variational Inference, where he derived novel, low-variance reparameterized gradients to make these complex sampling strategies practical for continuous latent variable models. Concurrently, he has applied these probabilistic insights to LLMs, developing methods like Training Chain-of-Thought via Latent-Variable Inference to improve multi-step reasoning without the need for extensive human-annotated data.

Current Directions

Phan’s current research is primarily concerned with the integration of latent-variable models into the training and inference pipelines of LLMs. This direction seeks to treat intermediate reasoning steps—such as chain-of-thought sequences—as latent variables that can be optimized through probabilistic frameworks. By using control variates and other variance-reduction techniques, he aims to enable models to "self-teach" complex logic and mathematical reasoning more effectively.

Another active area of focus is Scaling Rejection Sampling to High Dimensional Constrained Spaces. This involves refining the efficiency of Parallelizing Sequential Sampling for High Dimensional Inference to ensure that complex Bayesian posteriors can be estimated rapidly on modern hardware. This work is critical for real-world applications where uncertainty calibration is essential, such as in selective generation for neural summarization and other safety-critical natural language processing tasks.

Representative Work

Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyro

In this work, Phan and his collaborators introduced NumPyro, a lightweight probabilistic programming library built on JAX. The primary contribution was the redesign of the No-U-Turn Sampler (NUTS) into an iterative format, which allowed for end-to-end JIT compilation. This architectural shift addressed the performance bottlenecks of previous Python-based probabilistic programming frameworks, achieving significant speedups in inference for complex Bayesian models. The library's design emphasizes composability, allowing researchers to define flexible models while maintaining high-performance execution on GPUs and TPUs.

Surrogate Likelihoods for Variational Annealed Importance Sampling

Phan developed Surrogate Likelihood Differentiable Annealed Importance Sampling (SL-DAIS) to address the scalability limitations of high-fidelity Bayesian inference. The method introduces a learned "surrogate" likelihood that is computationally inexpensive to evaluate but captures the essential structure of the true likelihood. By using this surrogate to guide the sampling dynamics within a variational framework, the approach enables the use of Hamiltonian Monte Carlo on massive datasets through mini-batching. This work provides a practical path for applying rigorous Bayesian uncertainty quantification to large-scale machine learning problems that were previously restricted to simpler variational approximations.

Training Chain-of-Thought via Latent-Variable Inference

In this research, Phan proposed TRICE, a fine-tuning method that treats the reasoning steps of an LLM as latent variables. By framing chain-of-thought reasoning as an inference problem, the method allows the model to explore and optimize its own reasoning paths during training. To overcome the high variance associated with estimating gradients through discrete reasoning steps, Phan utilized a control variate optimization strategy. This approach demonstrated that LLMs could improve their performance on complex math and logic benchmarks without requiring human-written step-by-step solutions, representing a shift toward more autonomous model development.

Reparameterized Variational Rejection Sampling

Phan introduced Reparameterized Variational Rejection Sampling (RVRS) as a means to bridge the "variational gap" between simple tractable distributions and complex true posteriors. RVRS uses a rejection sampling step to "sculpt" a simple proposal distribution into a more expressive approximation that better reflects the target's structure. The key technical innovation was the derivation of a novel, low-variance reparameterized gradient estimator, which makes the rejection sampling step differentiable and suitable for gradient-based optimization. This method allows for high-performance inference in continuous latent variable models, outperforming standard variational methods in both accuracy and computational efficiency.

On Compositional Uncertainty Quantification for Seq2seq Graph Parsing

Addressing the challenge of quantifying uncertainty in structured outputs, Phan contributed to a framework for evaluating compositional uncertainty in sequence-to-sequence graph parsing. The work identified a gap between the token-level output probabilities of seq2seq models and the overall structural probability of the generated graph. Phan helped develop a probabilistically interpretable framework that establishes a correspondence between these two measures, providing a more reliable way to assess when a model is uncertain about the global structure of its output. This is particularly relevant for tasks like semantic parsing and knowledge graph construction.

Plex: Towards Reliability using Pretrained Large Model Extensions

As part of a large-scale collaboration, Phan participated in the development of the Plex framework, which extends pretrained vision and language models to improve their reliability. The framework focuses on three pillars: predictive performance, uncertainty calibration, and robust generalization. By implementing efficient ensembling techniques and specialized output layers, the research demonstrated that large-scale models could be made more aware of their own limitations, such as knowing when to abstain from a prediction in open-set recognition tasks. Phan’s involvement in this project highlights his broader interest in the practical deployment of reliable AI systems.

Profile updated

See something wrong? Report a mistake