RBRobert Bamler

Robert Bamler

*This is an algorithmically generated author record based on publicly available information.

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


Robert Bamler has a total of 27 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Large Language Models Are Zero-Shot Problem Solvers—Just Like Modern Computers

    by Tim Z. Xiao, Weiyang Liu, Robert Bamler

    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

    Balancing molecular information and empirical data in the prediction of physico-chemical properties

    by Johannes Zenn, Dominik Gond, Fabian Jirasek, Robert Bamler

    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

    by Yibo Yang, Robert Bamler, Stephan Mandt

    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.

  • Hybridizing physical and data-driven prediction methods for physicochemical properties

    by Fabian Jirasek, Robert Bamler, Stephan Mandt

    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

    by Yibo Yang, Robert Bamler, Stephan Mandt

    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

    by Robert Bamler, Stephan Mandt

    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.


  • Machine Learning in Thermodynamics: Prediction of Activity Coefficients by Matrix Completion

    by Fabian Jirasek, Rodrigo A. S. Alves, Julie Damay, Robert A. Vandermeulen, Robert Bamler, Michael Bortz, Stephan Mandt, Marius Kloft, Hans Hasse

    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

    Tightening bounds for variational inference by revisiting perturbation theory*

    by Robert Bamler, Cheng Zhang, Manfred Opper, Stephan Mandt

    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

    by Robert Bamler, Cheng Zhang, Manfred Opper, Stephan Mandt

    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

    Equilibration and approximate conservation laws: Dipole oscillations and perfect drag of ultracold atoms in a harmonic trap

    by Robert Bamler, Achim Rosch

    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, 1/τ∝(δω)2/Γ, where Γ is a single-particle scattering rate.