Reproduce “A kernel Stein test of goodness of fit for sequential models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jerome Baum, Heishiro Kanagawa, Arthur Gretton
The authors extend kernel Stein discrepancy (KSD) to goodness-of-fit testing for variable-length discrete sequences. The test uses Zanella–Stein operators over neighbors formed by insertions, deletions, and substitutions, with model-probability ratios that cancel normalization constants. In a second-order Markov-chain experiment with eight sequences, KSD rejects a wrong model more often as sequence length increases, but can miss changes in length distribution.
Key insights
- The choice of neighborhood structure, particularly allowing modifications at multiple locations (higher J), generally increases test power for sequential models, although with diminishing returns for computational cost.
- Kernels that account for sequence structure, such as the Contiguous Subsequence Kernel (CSK), significantly outperform simpler kernels like the Hamming kernel in detecting model discrepancies.
- The proposed KSD test can effectively leverage structural evidence from longer sequences and evaluate intractable models (e.g., Markov Random Fields) without requiring normalized densities or extensive sampling.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.