stat.MLOct 8, 2026

Conditional Kernel Stein Discrepancy

Authors: Federico Matteucci, Florian Kalinke

Organizations: Karlsruhe Institute of Technology

Abstract

Kernel Stein discrepancies (KSDs) provide a versatile tool for comparing distributions. One of their main applications is in quantifying the goodness-of-fit (GoF) between a data-generating distribution and a prescribed target distribution. In this work, we study the related problem of conditional GoF quantification: given only a (possibly non-normalized) conditional target model, without information on the distribution of its covariates, and samples from a joint distribution, the goal is to assess how well the conditional distribution of the samples matches the target. To tackle this setting, we present a framework that allows lifting unconditional KSDs to the conditional setting through an operator-valued kernel on the covariate space, going beyond the known Euclidean case. We establish that our suggested statistic vanishes if and only if the conditional model and the true conditional distribution agree for almost all covariates and deploy it to test conditional GoF on smooth manifolds and on discrete spaces. Our experiments on level, power, and runtime demonstrate the viability of testing on these domains using the proposed statistic.

Figures & tables

Explore similar work

CardsList
  1. Nyström Kernel Stein Discrepancy Tests

    May 24, 2026Florian Kalinke, Zoltán Szabó, Bharath K. SriperumbudurStatistical Hypothesis Testing

  2. Measuring Differences between Conditional Distributions using Kernel Embeddings

    May 4, 2026Peter Moskvichev, Siu Lun Chau, Dino SejdinovicKernel Mean EmbeddingsMaximum Mean Discrepancy

  3. Computationally efficient goodness-of-fit tests through kernelized Stein discrepancy

    Dec 23, 2025Zhihan Huang, Ziang NiuKernel MethodsStatistical Hypothesis Testing