Abstract
Exchangeability—in which the distribution of an infinite sequence is invariant to reorderings of its elements—implies the existence of a simple conditional independence structure that may be leveraged in the design of statistical models and inference procedures. In this work, we study a relaxation of exchangeability in which this invariance need not hold precisely. We introduce the notion of local exchangeability—where swapping data associated with nearby covariates causes a bounded change in the distribution. We prove that locally exchangeable processes correspond to independent observations from an underlying measure-valued stochastic process. Using this main probabilistic result, we show that the local empirical measure of a finite collection of observations provides an approximation of the underlying measure-valued process and Bayesian posterior predictive distributions. The paper concludes with applications of the main theoretical results to a model from Bayesian nonparametrics and covariate-dependent permutation tests.
Introduction
In classical Bayesian statistics, the assumption of exchangeability is fundamental. According to de Finetti’s Representation Theorem, if a sequence of observations is exchangeable—meaning its joint distribution is invariant to any permutation of the indices—then the observations are conditionally independent and identically distributed (i.i.d.) given some latent parameter. This result provides the mathematical justification for treating data as a mixture of i.i.d. sequences, a cornerstone of modern statistical modeling.
However, the assumption of perfect exchangeability is often too restrictive for real-world datasets. When observations are associated with covariates such as time, geographic location, or experimental conditions, the order matters. For example, in a corpus of news articles spanning a century, an article from 1920 is likely more similar to one from 1921 than to one from 2024. While "partial exchangeability" allows for grouping data into discrete bins, it fails to capture the continuous, smooth transitions often found in covariate-dependent data. This paper addresses this gap by introducing local exchangeability, a framework that bridges the divide between perfectly shuffleable data and completely dependent processes.
Defining Local Exchangeability
The authors propose a relaxation of the standard exchangeability condition. Instead of requiring the distribution to remain identical under any permutation, local exchangeability requires that swapping two observations associated with "nearby" covariates results in only a small, bounded change in the total variation (TV) distance of the distribution.
To formalize "closeness," the authors utilize premetrics—distance measures that do not necessarily satisfy the triangle inequality. This flexibility allows for more nuanced modeling of symmetries within the covariate space. By bounding the change in distribution relative to the distance between covariates, the framework captures the intuition that data points with similar features should behave similarly, without forcing them to be identical.
The Local de Finetti Theorem
The core theoretical contribution of this work is Theorem 5 (The Representation Theorem). The authors prove that a locally exchangeable process corresponds to independent observations drawn from a unique, underlying measure-valued stochastic process.
This is essentially a "Local de Finetti Theorem." It demonstrates that the robustness of de Finetti’s original insight extends to approximate symmetries. Even if a dataset is not perfectly exchangeable, as long as it is locally exchangeable, it can still be modeled as a mixture of independent (though not identically distributed) observations, where the distribution varies smoothly across the covariate space.
The Local Empirical Measure
In practice, the underlying latent process is not directly observable. To address this, the authors introduce the local empirical measure. This is a weighted version of the standard empirical measure that uses a kernel-like approach to prioritize observations with nearby covariates.
Corollary 7 establishes the convergence of this measure, proving that as more data is collected near a specific covariate point, the local empirical measure converges in probability to the true underlying predictive distribution. This provides a rigorous justification for using local averaging and kernel methods in Bayesian nonparametrics.
Applications and Empirical Validation
While primarily a theoretical work, the paper demonstrates the utility of local exchangeability across several prominent statistical models:
- Gaussian Processes (GP): The authors show how GPs satisfy local exchangeability in the presence of measurement noise, providing a new perspective on these widely used models.
- Dependent Dirichlet Processes (DDP): The framework shows that local empirical measures can act as tractable surrogates for complex posterior predictive distributions in DDPs.
- Dynamic Topic Models (DTM): The authors prove that these time-varying models fit naturally within the locally exchangeable framework, justifying their use for evolving text corpora.
- Permutation Tests: In clinical trials, researchers often use permutation tests to detect effects. The paper provides explicit bounds (Proposition 11) on how much the Type-I error might inflate when these tests are applied to data that is only locally exchangeable rather than perfectly exchangeable.
Discussion and Limitations
Local exchangeability offers a powerful new tool for justifying latent variable models in non-i.i.d. settings. However, the authors note certain limitations. The current theory relies on the covariate space being "infinitely separable," which may require embedding discrete time series into continuous spaces for full applicability. Additionally, the total variation bounds used to define the property are general and may be conservative for specific, highly structured applications.
Future research directions include exploring "finite" versions of local exchangeability and investigating group actions beyond simple permutations, such as rotations or translations in spatial statistics. By providing a formal bridge between exchangeability and dependence, this work sets the stage for more robust and theoretically grounded Bayesian modeling of complex, real-world data.
Summary updated