Tor Erlend Fjelde

Tor Erlend Fjelde

University of Cambridge
2 previous affiliations
4Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Tor Erlend Fjelde focuses on the development of probabilistic programming languages (PPLs), Bayesian inference algorithms, and computational frameworks for high-dimensional statistical modeling. His work bridges the gap between theoretical statistics and practical software implementation, particularly within the Julia programming ecosystem. By designing tools that decouple model specification from inference engines, Fjelde addresses the challenges of scalability and flexibility in complex scientific domains such as epidemiology, biology, and molecular dynamics.

Research Trajectory

Fjelde’s research trajectory began with a focus on the foundational software infrastructure required for modern probabilistic modeling. In 2019, he led the development of Bijectors.jl: Flexible transformations for probability distributions, a library designed to handle differentiable bijections. This work was critical for the implementation of Normalizing Flows and the mapping of constrained parameters to unconstrained spaces, which are essential components for efficient gradient-based inference. By automating Jacobian calculations and providing a composable framework, this research established a modular approach to building complex probability distributions.

By 2021, Fjelde’s focus shifted toward improving the efficiency and stability of Markov Chain Monte Carlo (MCMC) methods. He specifically addressed the limitations of Hamiltonian Monte Carlo (HMC) in the context of unbiased estimation. In Couplings for Multinomial Hamiltonian Monte Carlo, he introduced a method to couple Markov chains by utilizing the entire integration trajectory rather than just the endpoints. This approach, grounded in optimal transport and maximal coupling, improved meeting times and stability across various step sizes, offering a more robust alternative to standard Metropolis HMC for parallelizable, unbiased Monte Carlo estimation.

In 2023, Fjelde participated in interdisciplinary research applying these probabilistic techniques to the physical sciences. He contributed to the development of Timewarp: Transferable Acceleration of Molecular Dynamics by Learning Time-Coarsened Dynamics, a framework that uses transformer-based normalizing flows within an MCMC structure to accelerate molecular dynamics simulations. This work demonstrated how machine learning could be used to take significantly larger time steps than traditional integrators while maintaining the statistical rigor of MCMC, and notably, it showed the ability to generalize across different molecular systems.

Most recently, Fjelde has returned to the core development of probabilistic programming infrastructure. As the lead author of the 2025 paper Turing.jl: A General-Purpose Probabilistic Programming Language, he has consolidated years of research into a comprehensive system for Bayesian inference. This work emphasizes the importance of a flexible, high-performance PPL that can handle the increasing complexity of modern scientific models while remaining accessible to practitioners who may not be experts in computational statistics.

Current Directions

Fjelde’s current work continues to explore the intersection of Beyond Gaussian Approximations in Variational Inference and the scalability of PPLs. While Variational Inference (VI) is often preferred for its speed, it frequently suffers from the "variational gap" due to the use of overly simplistic distribution families. Fjelde’s ongoing contributions to the Julia ecosystem, particularly through the integration of normalizing flows and advanced MCMC samplers, aim to provide more expressive posterior approximations that do not sacrifice the computational efficiency required for large-scale data analysis.

His research remains grounded in the philosophy of decoupling: ensuring that as models grow in complexity, the underlying inference engines can be swapped or improved without requiring a total rewrite of the model specification. This modularity is central to his work at the Turing Institute, where the goal is to provide robust, reproducible tools for the broader scientific community.

Representative Work

Turing.jl: A General-Purpose Probabilistic Programming Language (2025) In this work, Fjelde and his collaborators present the design and implementation of Turing.jl, a PPL embedded in the Julia language. The paper details how the language achieves high performance and flexibility by leveraging Julia's code generation and dispatch mechanisms. It highlights the system's ability to handle complex, non-conjugate models and its support for a wide array of inference algorithms, including HMC, Particle MCMC, and Variational Inference. Turing.jl: A General-Purpose Probabilistic Programming Language

Couplings for Multinomial Hamiltonian Monte Carlo (2021) Fjelde introduced a novel coupling scheme for multinomial HMC, which is the variant of HMC used in popular samplers like the No-U-Turn Sampler (NUTS). By applying optimal transport to the selection of states along the Hamiltonian trajectory, the research established a method for creating unbiased MCMC estimators that are more efficient than previous Metropolis-based couplings. The paper provides both theoretical upper bounds for meeting times and empirical evidence of improved stability. Couplings for Multinomial Hamiltonian Monte Carlo

Timewarp: Transferable Acceleration of Molecular Dynamics (2023) Fjelde contributed to this project as part of a larger team exploring the acceleration of molecular dynamics (MD). The Timewarp framework addresses the "sampling problem" in MD—the difficulty of observing long-term molecular behavior due to the tiny time steps required by traditional simulators. The method uses a transformer-based normalizing flow to propose large leaps in configuration space, which are then accepted or rejected via an MCMC step to ensure the correct Boltzmann distribution is sampled. Timewarp: Transferable Acceleration of Molecular Dynamics by Learning Time-Coarsened Dynamics

Bijectors.jl: Flexible transformations for probability distributions (2019) As the lead developer of this package, Fjelde established a standard for handling constrained parameters in Julia-based probabilistic modeling. The library allows for the automatic transformation of variables (e.g., mapping a positive-only variance parameter to the real line) while tracking the necessary log-absolute-determinant-Jacobian terms. This work provided the necessary plumbing for the subsequent success of the Turing.jl ecosystem and the implementation of advanced variational inference techniques. Bijectors.jl: Flexible transformations for probability distributions

Profile updated

See something wrong? Report a mistake