Robert Bamler
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Research Subjects
Research Interests
Robert Bamler has a total of 27 co-authors. Here are the top co-authors by number of shared publications:
- Stephan Mandt
University of California Irvine
5 shared publications - Achim Rosch
Institute for Theoretical Physics, University of Cologne, 50937 Cologne, Germany
3 shared publications - Fabian Jirasek
Laboratory of Engineering Thermodynamics (LTD) RPTU Kaiserslautern Kaiserslautern Germany
3 shared publications - Cheng Zhang
School of Mechanical Science and Engineering, Huazhong University of Science and Technology, Wuhan 430079, China
2 shared publications - Manfred Opper
Technische Universität Berlin
2 shared publications Stephan Mandt
2 shared publications
Latest Publications
- Open Access
- 31 July 2025
- Published by MIT Press in Harvard Data Science Review
- Vol. 7 (3)
Large Language Models Are Zero-Shot Problem Solvers—Just Like Modern Computers
Language models (LMs) are trained specifically for one out of many natural language processing (NLP) tasks. By simply scaling them up to large LMs (LLMs), they emerge the ability to solve many other NLP tasks that they have not been trained for. This emergence of zero-shot problem solving ability of LLMs surprised the community. In this survey, we draw an overlooked connection between LLMs and modern computers that also emerge zero-shot problem solving abilities. We discuss their similarities in capability, architecture, and history, and then use these similarities to motivate a different perspective on understanding LLMs and the prompting paradigm. We hope this connection can help us gain a deeper understanding of LLMs, and can spark discussions between the core computer science community and the foundation model community.
- 31 July 2025
- Published by MIT Press in Harvard Data Science Review
- Vol. 7 (3)
Open AccessLarge Language Models Are Zero-Shot Problem Solvers—Just Like Modern Computers
Language models (LMs) are trained specifically for one out of many natural language processing (NLP) tasks. By simply scaling them up to large LMs (LLMs), they emerge the ability to solve many other NLP tasks that they have not been trained for. This emergence of zero-shot problem solving ability of LLMs surprised the community. In this survey, we draw an overlooked connection between LLMs and modern computers that also emerge zero-shot problem solving abilities. We discuss their similarities in capability, architecture, and history, and then use these similarities to motivate a different perspective on understanding LLMs and the prompting paradigm. We hope this connection can help us gain a deeper understanding of LLMs, and can spark discussions between the core computer science community and the foundation model community.
- Open Access
- 15 January 2025
- Published by Royal Society of Chemistry (RSC) in Digital Discovery
- Vol. 4 (3) , 683-693
Balancing molecular information and empirical data in the prediction of physico-chemical properties
We propose a general framework for predicting physico-chemical properties. The method combines structure information and learned representations, and trades off between them based on uncertainty estimates with the expectation maximization algorithm.
- 15 January 2025
- Published by Royal Society of Chemistry (RSC) in Digital Discovery
- Vol. 4 (3) , 683-693
Open AccessBalancing molecular information and empirical data in the prediction of physico-chemical properties
We propose a general framework for predicting physico-chemical properties. The method combines structure information and learned representations, and trades off between them based on uncertainty estimates with the expectation maximization algorithm.
- Open Access
Improving Inference for Neural Image Compression
We consider the problem of lossy image compression with deep latent variable models. State-of-the-art methods build on hierarchical variational autoencoders (VAEs) and learn inference networks to predict a compressible latent representation of each data point. Drawing on the variational inference perspective on compression, we identify three approximation gaps which limit performance in the conventional approach: an amortization gap, a discretization gap, and a marginalization gap. We propose remedies for each of these three limitations based on ideas related to iterative inference, stochastic annealing for discrete optimization, and bits-back coding, resulting in the first application of bits-back coding to lossy compression. In our experiments, which include extensive baseline comparisons and ablation studies, we achieve new state-of-the-art performance on lossy image compression using an established VAE architecture, by changing only the inference method.
Open AccessImproving Inference for Neural Image Compression
We consider the problem of lossy image compression with deep latent variable models. State-of-the-art methods build on hierarchical variational autoencoders (VAEs) and learn inference networks to predict a compressible latent representation of each data point. Drawing on the variational inference perspective on compression, we identify three approximation gaps which limit performance in the conventional approach: an amortization gap, a discretization gap, and a marginalization gap. We propose remedies for each of these three limitations based on ideas related to iterative inference, stochastic annealing for discrete optimization, and bits-back coding, resulting in the first application of bits-back coding to lossy compression. In our experiments, which include extensive baseline comparisons and ablation studies, we achieve new state-of-the-art performance on lossy image compression using an established VAE architecture, by changing only the inference method.
- 10 September 2020
- Published by Royal Society of Chemistry (RSC) in Chemical Communications
- Vol. 56 (82) , 12407-12410
Hybridizing physical and data-driven prediction methods for physicochemical properties
We present a generic, highly effective approach to combine physical and data-driven prediction methods for physicochemical properties based on Bayesian machine learning and model distillation.
- 10 September 2020
- Published by Royal Society of Chemistry (RSC) in Chemical Communications
- Vol. 56 (82) , 12407-12410
Hybridizing physical and data-driven prediction methods for physicochemical properties
We present a generic, highly effective approach to combine physical and data-driven prediction methods for physicochemical properties based on Bayesian machine learning and model distillation.
- Open Access
Variational Bayesian Quantization
We propose a novel algorithm for quantizing continuous latent representations in trained models. Our approach applies to deep probabilistic models, such as variational autoencoders (VAEs), and enables both data and model compression. Unlike current end-to-end neural compression methods that cater the model to a fixed quantization scheme, our algorithm separates model design and training from quantization. Consequently, our algorithm enables "plug-and-play" compression with variable rate-distortion trade-off, using a single trained model. Our algorithm can be seen as a novel extension of arithmetic coding to the continuous domain, and uses adaptive quantization accuracy based on estimates of posterior uncertainty. Our experimental results demonstrate the importance of taking into account posterior uncertainties, and show that image compression with the proposed algorithm outperforms JPEG over a wide range of bit rates using only a single standard VAE. Further experiments on Bayesian neural word embeddings demonstrate the versatility of the proposed method.
Open AccessVariational Bayesian Quantization
We propose a novel algorithm for quantizing continuous latent representations in trained models. Our approach applies to deep probabilistic models, such as variational autoencoders (VAEs), and enables both data and model compression. Unlike current end-to-end neural compression methods that cater the model to a fixed quantization scheme, our algorithm separates model design and training from quantization. Consequently, our algorithm enables "plug-and-play" compression with variable rate-distortion trade-off, using a single trained model. Our algorithm can be seen as a novel extension of arithmetic coding to the continuous domain, and uses adaptive quantization accuracy based on estimates of posterior uncertainty. Our experimental results demonstrate the importance of taking into account posterior uncertainties, and show that image compression with the proposed algorithm outperforms JPEG over a wide range of bit rates using only a single standard VAE. Further experiments on Bayesian neural word embeddings demonstrate the versatility of the proposed method.
- Open Access
Extreme Classification via Adversarial Softmax Approximation
Training a classifier over a large number of classes, known as 'extreme classification', has become a topic of major interest with applications in technology, science, and e-commerce. Traditional softmax regression induces a gradient cost proportional to the number of classes $C$, which often is prohibitively expensive. A popular scalable softmax approximation relies on uniform negative sampling, which suffers from slow convergence due a poor signal-to-noise ratio. In this paper, we propose a simple training method for drastically enhancing the gradient signal by drawing negative samples from an adversarial model that mimics the data distribution. Our contributions are three-fold: (i) an adversarial sampling mechanism that produces negative samples at a cost only logarithmic in $C$, thus still resulting in cheap gradient updates; (ii) a mathematical proof that this adversarial sampling minimizes the gradient variance while any bias due to non-uniform sampling can be removed; (iii) experimental results on large scale data sets that show a reduction of the training time by an order of magnitude relative to several competitive baselines.Open AccessExtreme Classification via Adversarial Softmax Approximation
Training a classifier over a large number of classes, known as 'extreme classification', has become a topic of major interest with applications in technology, science, and e-commerce. Traditional softmax regression induces a gradient cost proportional to the number of classes $C$, which often is prohibitively expensive. A popular scalable softmax approximation relies on uniform negative sampling, which suffers from slow convergence due a poor signal-to-noise ratio. In this paper, we propose a simple training method for drastically enhancing the gradient signal by drawing negative samples from an adversarial model that mimics the data distribution. Our contributions are three-fold: (i) an adversarial sampling mechanism that produces negative samples at a cost only logarithmic in $C$, thus still resulting in cheap gradient updates; (ii) a mathematical proof that this adversarial sampling minimizes the gradient variance while any bias due to non-uniform sampling can be removed; (iii) experimental results on large scale data sets that show a reduction of the training time by an order of magnitude relative to several competitive baselines. - 21 January 2020
- Published by American Chemical Society (ACS) in The Journal of Physical Chemistry Letters
- Vol. 11 (3) , 981-985
Machine Learning in Thermodynamics: Prediction of Activity Coefficients by Matrix Completion
Activity coefficients, which are a measure of the non-ideality of liquid mixtures, are a key property in chemical engineering with relevance to modeling chemical and phase equilibria as well as transport processes. Although experimental data on thousands of binary mixtures are available, prediction methods are needed to calculate activity coefficients of many relevant mixtures that have not been explored to-date. In this report, we propose a probabilistic matrix factorization model for predicting the activity coefficients of arbitrary binary mixtures. Although no physical descriptors for the considered components were used, our method outperforms the state-of-the-art method that has been refined over three decades while requiring much less training effort. This opens perspectives to novel methods for predicting physico-chemical properties of binary mixtures with the potential to revolutionize modeling and simulation in chemical engineering.
- 21 January 2020
- Published by American Chemical Society (ACS) in The Journal of Physical Chemistry Letters
- Vol. 11 (3) , 981-985
Machine Learning in Thermodynamics: Prediction of Activity Coefficients by Matrix Completion
Activity coefficients, which are a measure of the non-ideality of liquid mixtures, are a key property in chemical engineering with relevance to modeling chemical and phase equilibria as well as transport processes. Although experimental data on thousands of binary mixtures are available, prediction methods are needed to calculate activity coefficients of many relevant mixtures that have not been explored to-date. In this report, we propose a probabilistic matrix factorization model for predicting the activity coefficients of arbitrary binary mixtures. Although no physical descriptors for the considered components were used, our method outperforms the state-of-the-art method that has been refined over three decades while requiring much less training effort. This opens perspectives to novel methods for predicting physico-chemical properties of binary mixtures with the potential to revolutionize modeling and simulation in chemical engineering.
- Open Access
- 1 December 2019
- Published by IOP Publishing in Journal of Statistical Mechanics: Theory and Experiment
- Vol. 2019 (12) , 124004
Tightening bounds for variational inference by revisiting perturbation theory*
Variational inference has become one of the most widely used methods in latent variable modeling. In its basic form, variational inference employs a fully factorized variational distribution and minimizes its Kullback–Leibler divergence to the posterior. As the minimization can only be carried out approximately, this approximation induces a bias. In this paper, we revisit perturbation theory as a powerful way of improving the variational approximation. Perturbation theory relies on a form of Taylor expansion of the log marginal likelihood, vaguely in terms of the log ratio of the true posterior and its variational approximation. While first order terms give the classical variational bound, higher-order terms yield corrections that tighten it. However, traditional perturbation theory does not provide a lower bound, making it inapt for stochastic optimization. In this paper, we derive a similar yet alternative way of deriving corrections to the evidence lower bound that resemble perturbation theory, but that result in a valid bound. We show in experiments on Gaussian processes and variational autoencoders that the new bounds are more mass covering, and that the resulting posterior covariances are closer to the true posterior and lead to higher likelihoods on held-out data.
- 1 December 2019
- Published by IOP Publishing in Journal of Statistical Mechanics: Theory and Experiment
- Vol. 2019 (12) , 124004
Open AccessTightening bounds for variational inference by revisiting perturbation theory*
Variational inference has become one of the most widely used methods in latent variable modeling. In its basic form, variational inference employs a fully factorized variational distribution and minimizes its Kullback–Leibler divergence to the posterior. As the minimization can only be carried out approximately, this approximation induces a bias. In this paper, we revisit perturbation theory as a powerful way of improving the variational approximation. Perturbation theory relies on a form of Taylor expansion of the log marginal likelihood, vaguely in terms of the log ratio of the true posterior and its variational approximation. While first order terms give the classical variational bound, higher-order terms yield corrections that tighten it. However, traditional perturbation theory does not provide a lower bound, making it inapt for stochastic optimization. In this paper, we derive a similar yet alternative way of deriving corrections to the evidence lower bound that resemble perturbation theory, but that result in a valid bound. We show in experiments on Gaussian processes and variational autoencoders that the new bounds are more mass covering, and that the resulting posterior covariances are closer to the true posterior and lead to higher likelihoods on held-out data.
- Open Access
Tightening Bounds for Variational Inference by Revisiting Perturbation Theory
Variational inference has become one of the most widely used methods in latent variable modeling. In its basic form, variational inference employs a fully factorized variational distribution and minimizes its KL divergence to the posterior. As the minimization can only be carried out approximately, this approximation induces a bias. In this paper, we revisit perturbation theory as a powerful way of improving the variational approximation. Perturbation theory relies on a form of Taylor expansion of the log marginal likelihood, vaguely in terms of the log ratio of the true posterior and its variational approximation. While first order terms give the classical variational bound, higher-order terms yield corrections that tighten it. However, traditional perturbation theory does not provide a lower bound, making it inapt for stochastic optimization. In this paper, we present a similar yet alternative way of deriving corrections to the ELBO that resemble perturbation theory, but that result in a valid bound. We show in experiments on Gaussian Processes and Variational Autoencoders that the new bounds are more mass covering, and that the resulting posterior covariances are closer to the true posterior and lead to higher likelihoods on held-out data.
Open AccessTightening Bounds for Variational Inference by Revisiting Perturbation Theory
Variational inference has become one of the most widely used methods in latent variable modeling. In its basic form, variational inference employs a fully factorized variational distribution and minimizes its KL divergence to the posterior. As the minimization can only be carried out approximately, this approximation induces a bias. In this paper, we revisit perturbation theory as a powerful way of improving the variational approximation. Perturbation theory relies on a form of Taylor expansion of the log marginal likelihood, vaguely in terms of the log ratio of the true posterior and its variational approximation. While first order terms give the classical variational bound, higher-order terms yield corrections that tighten it. However, traditional perturbation theory does not provide a lower bound, making it inapt for stochastic optimization. In this paper, we present a similar yet alternative way of deriving corrections to the ELBO that resemble perturbation theory, but that result in a valid bound. We show in experiments on Gaussian Processes and Variational Autoencoders that the new bounds are more mass covering, and that the resulting posterior covariances are closer to the true posterior and lead to higher likelihoods on held-out data.
- Open Access
- 5 June 2015
- Published by American Physical Society (APS) in Physical Review A
- Vol. 91 (6)
Equilibration and approximate conservation laws: Dipole oscillations and perfect drag of ultracold atoms in a harmonic trap
The presence of (approximate) conservation laws can prohibit the fast relaxation of interacting many-particle quantum systems. We investigate this physics by studying the center-of-mass oscillations of two species of fermionic ultracold atoms in a harmonic trap. If their trap frequencies are equal, a dynamical symmetry (spectrum-generating algebra), closely related to Kohn's theorem, prohibits the relaxation of center-of-mass oscillations. A small detuning of the trap frequencies for the two species breaks the dynamical symmetry and ultimately leads to a damping of dipole oscillations driven by interspecies interactions. Using memory-matrix methods, we calculate the relaxation as a function of frequency difference, particle number, temperature, and strength of interspecies interactions. When interactions dominate, there is almost perfect drag between the two species and the dynamical symmetry is approximately restored. The drag can either arise from Hartree potentials or from friction. In the latter case (hydrodynamic limit), the center-of-mass oscillations decay with a tiny rate, , where is a single-particle scattering rate.- 5 June 2015
- Published by American Physical Society (APS) in Physical Review A
- Vol. 91 (6)
Open AccessEquilibration and approximate conservation laws: Dipole oscillations and perfect drag of ultracold atoms in a harmonic trap
The presence of (approximate) conservation laws can prohibit the fast relaxation of interacting many-particle quantum systems. We investigate this physics by studying the center-of-mass oscillations of two species of fermionic ultracold atoms in a harmonic trap. If their trap frequencies are equal, a dynamical symmetry (spectrum-generating algebra), closely related to Kohn's theorem, prohibits the relaxation of center-of-mass oscillations. A small detuning of the trap frequencies for the two species breaks the dynamical symmetry and ultimately leads to a damping of dipole oscillations driven by interspecies interactions. Using memory-matrix methods, we calculate the relaxation as a function of frequency difference, particle number, temperature, and strength of interspecies interactions. When interactions dominate, there is almost perfect drag between the two species and the dynamical symmetry is approximately restored. The drag can either arise from Hartree potentials or from friction. In the latter case (hydrodynamic limit), the center-of-mass oscillations decay with a tiny rate, , where is a single-particle scattering rate.