Saved in:
Bibliographic Details
Main Authors: Melcher, Moritz, Weissmann, Simon, Wilson, Ashia C., Zech, Jakob
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.02067
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909942519169024
author Melcher, Moritz
Weissmann, Simon
Wilson, Ashia C.
Zech, Jakob
author_facet Melcher, Moritz
Weissmann, Simon
Wilson, Ashia C.
Zech, Jakob
contents A central challenge in Bayesian inference is efficiently approximating posterior distributions. Stein Variational Gradient Descent (SVGD) is a popular variational inference method which transports a set of particles to approximate a target distribution. The SVGD dynamics are governed by a reproducing kernel Hilbert space (RKHS) and are highly sensitive to the choice of the kernel function, which directly influences both convergence and approximation quality. The commonly used median heuristic offers a simple approach for setting kernel bandwidths but lacks flexibility and often performs poorly, particularly in high-dimensional settings. In this work, we propose an alternative strategy for adaptively choosing kernel parameters over an abstract family of kernels. Recent convergence analyses based on the kernelized Stein discrepancy (KSD) suggest that optimizing the kernel parameters by maximizing the KSD can improve performance. Building on this insight, we introduce Adaptive SVGD (Ad-SVGD), a method that alternates between updating the particles via SVGD and adaptively tuning kernel bandwidths through gradient ascent on the KSD. We provide a simplified theoretical analysis that extends existing results on minimizing the KSD for fixed kernels to our adaptive setting, showing convergence properties for the maximal KSD over our kernel class. Our empirical results further support this intuition: Ad-SVGD consistently outperforms standard heuristics in a variety of tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2510_02067
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Kernel Selection for Stein Variational Gradient Descent
Melcher, Moritz
Weissmann, Simon
Wilson, Ashia C.
Zech, Jakob
Machine Learning
A central challenge in Bayesian inference is efficiently approximating posterior distributions. Stein Variational Gradient Descent (SVGD) is a popular variational inference method which transports a set of particles to approximate a target distribution. The SVGD dynamics are governed by a reproducing kernel Hilbert space (RKHS) and are highly sensitive to the choice of the kernel function, which directly influences both convergence and approximation quality. The commonly used median heuristic offers a simple approach for setting kernel bandwidths but lacks flexibility and often performs poorly, particularly in high-dimensional settings. In this work, we propose an alternative strategy for adaptively choosing kernel parameters over an abstract family of kernels. Recent convergence analyses based on the kernelized Stein discrepancy (KSD) suggest that optimizing the kernel parameters by maximizing the KSD can improve performance. Building on this insight, we introduce Adaptive SVGD (Ad-SVGD), a method that alternates between updating the particles via SVGD and adaptively tuning kernel bandwidths through gradient ascent on the KSD. We provide a simplified theoretical analysis that extends existing results on minimizing the KSD for fixed kernels to our adaptive setting, showing convergence properties for the maximal KSD over our kernel class. Our empirical results further support this intuition: Ad-SVGD consistently outperforms standard heuristics in a variety of tasks.
title Adaptive Kernel Selection for Stein Variational Gradient Descent
topic Machine Learning
url https://arxiv.org/abs/2510.02067