Title: Generalized Kernel Thinning
URL Source: https://arxiv.org/html/2110.01593
Markdown Content: Back to arXiv
This is experimental HTML to improve accessibility. We invite you to report rendering errors. Use Alt+Y to toggle on accessible reporting links and Alt+Shift+Y to toggle off. Learn more about this project and help improve conversions.
Why HTML? Report Issue Back to Abstract Download PDF Abstract 1Introduction 2Generalized Kernel Thinning References
HTML conversions sometimes display errors due to content that did not convert correctly from the source. This paper uses the following packages that are not yet supported by the HTML conversion tool. Feedback on these issues are not necessary; they are known and are being worked on.
failed: stackengine failed: etoc failed: autonum
Authors: achieve the best HTML results from your LaTeX submissions by following these best practices.
License: CC BY 4.0 arXiv:2110.01593v8 [stat.ML] 21 Jan 2025 \etocdepthtag
.tocmtchapter \etocsettagdepthmtchaptersubsection \etocsettagdepthmtappendixnone
Generalized Kernel Thinning Raaz Dwivedi1, Lester Mackey2 1 Department of Computer Science, Harvard University and Department of EECS, MIT 2 Microsoft Research New England raaz@mit.edu, lmackey@microsoft.com Abstract
The kernel thinning (KT) algorithm of Dwivedi and Mackey (2021) compresses a probability distribution more effectively than independent sampling by targeting a reproducing kernel Hilbert space (RKHS) and leveraging a less smooth square-root kernel. Here we provide four improvements. First, we show that KT applied directly to the target RKHS yields tighter, dimension-free guarantees for any kernel, any distribution, and any fixed function in the RKHS. Second, we show that, for analytic kernels like Gaussian, inverse multiquadric, and sinc, target KT admits maximum mean discrepancy (MMD) guarantees comparable to or better than those of square-root KT without making explicit use of a square-root kernel. Third, we prove that KT with a fractional power kernel yields better-than-Monte-Carlo MMD guarantees for non-smooth kernels, like Laplace and Matรฉrn, that do not have square-roots. Fourth, we establish that KT applied to a sum of the target and power kernels (a procedure we call KT+) simultaneously inherits the improved MMD guarantees of power KT and the tighter individual function guarantees of target KT. In our experiments with target KT and KT+, we witness significant improvements in integration error even in 100 dimensions and when compressing challenging differential equation posteriors.
1Introduction
A core task in probabilistic inference is learning a compact representation of a probability distribution โ . This problem is usually solved by sampling points ๐ฅ 1 , โฆ , ๐ฅ ๐ independently from โ or, if direct sampling is intractable, generating ๐ points from a Markov chain converging to โ . The benefit of these approaches is that they provide asymptotically exact sample estimates โ in โข ๐ โ 1 ๐ โข โ ๐
1 ๐ ๐ โข ( ๐ฅ ๐ ) for intractable expectations โ โข ๐ โ ๐ผ ๐ โผ โ โข [ ๐ โข ( ๐ ) ] . However, they also suffer from a serious drawback: the learned representations are unnecessarily large, requiring ๐ points to achieve | โ โข ๐ โ โ in โข ๐ |
ฮ โข ( ๐ โ 1 2 ) integration error. These inefficient representations quickly become prohibitive for expensive downstream tasks and function evaluations: for example, in computational cardiology, each function evaluation ๐ โข ( ๐ฅ ๐ ) initiates a heart or tissue simulation that consumes 1000s of CPU hours (Niederer et al., 2011; Augustin et al., 2016; Strocchi et al., 2020).
To reduce the downstream computational burden, a standard practice is to thin the initial sample by discarding every ๐ก -th sample point (Owen, 2017). Unfortunately, standard thinning often results in a substantial loss of accuracy: for example, thinning an i.i.d. or fast-mixing Markov chain sample from ๐ points to ๐ 1 2 points increases integration error from ฮ โข ( ๐ โ 1 2 ) to ฮ โข ( ๐ โ 1 4 ) .
The recent kernel thinning (KT) algorithm of Dwivedi & Mackey (2021) addresses this issue by producing thinned coresets with better-than-i.i.d. integration error in a reproducing kernel Hilbert space (RKHS, Berlinet & Thomas-Agnan, 2011). Given a target kernel1 ๐ค and a suitable sequence of input points ๐ฎ in
( ๐ฅ ๐ ) ๐
1 ๐ approximating โ , KT returns a subsequence ๐ฎ out of ๐ points with better-than-i.i.d. maximum mean discrepancy (MMD, Gretton et al., 2012),2
MMD ๐ค โก ( โ , โ out )
โ sup โ ๐ โ ๐ค โค 1 | โ โข ๐ โ โ out โข ๐ | for โ out โ 1 ๐ โข โ ๐ฅ โ ๐ฎ out ๐น ๐ฅ ,
(1)
where โฅ โ โฅ ๐ค denotes the norm for the RKHS โ associated with ๐ค . That is, the KT output admits ๐ โข ( ๐ โ 1 4 ) worst-case integration error across the unit ball of โ .
KT achieves its improvement with high probability using non-uniform randomness and a less smooth square-root kernel ๐ค rt satisfying
๐ค โข ( ๐ฅ , ๐ฆ )
โซ โ ๐ ๐ค rt โข ( ๐ฅ , ๐ง ) โข ๐ค rt โข ( ๐ง , ๐ฆ ) โข ๐ ๐ง .
(2)
When the input points are sampled i.i.d. or from a fast-mixing Markov chain on โ ๐ , Dwivedi & Mackey prove that the KT output has, with high probability, ๐ช ๐ โข ( ๐ โ 1 2 โข log โก ๐ )
MMD ๐ค error for โ and ๐ค rt with bounded support, ๐ช ๐ โข ( ๐ โ 1 2 โข ( log ๐ + 1 โก ๐ โข log โก log โก ๐ ) 1 2 )
MMD ๐ค error for โ and ๐ค rt with light tails, and ๐ช ๐ โข ( ๐ โ 1 2 + ๐ 2 โข ๐ โข log โก ๐ โข log โก log โก ๐ )
MMD ๐ค error for โ and ๐ค rt 2 with ๐
2 โข ๐ moments. Meanwhile, an i.i.d. coreset of the same size suffers ฮฉ โข ( ๐ โ 1 4 )
MMD ๐ค . We refer to the original KT algorithm as root KT hereafter.
Our contributions In this work, we offer four improvements over the original KT algorithm. First, we show in Sec. 2.1 that a generalization of KT that uses only the target kernel ๐ค provides a tighter ๐ช โข ( ๐ โ 1 2 โข log โก ๐ ) integration error guarantee for each function ๐ in the RKHS. This target KT guarantee (a) applies to any kernel ๐ค on any domain (even kernels that do not admit a square-root and kernels defined on non-Euclidean spaces), (b) applies to any target distribution โ (even heavy-tailed โ not covered by root KT guarantees), and (c) is dimension-free, eliminating the exponential dimension dependence and ( log โก ๐ ) ๐ / 2 factors of prior root KT guarantees.
Second, we prove in Sec. 2.2 that, for analytic kernels, like Gaussian, inverse multiquadric (IMQ), and sinc, target KT admits MMD guarantees comparable to or better than those of Dwivedi & Mackey (2021) without making explicit use of a square-root kernel. Third, we establish in Sec. 3 that generalized KT with a fractional ๐ผ -power kernel ๐ค ๐ผ yields improved MMD guarantees for kernels that do not admit a square-root, like Laplace and non-smooth Matรฉrn. Fourth, we show in Sec. 3 that, remarkably, applying generalized KT to a sum of ๐ค and ๐ค ๐ผ โa procedure we call kernel thinning+ (KT+)โsimultaneously inherits the improved MMD of power KT and the dimension-free individual function guarantees of target KT.
In Sec. 4, we use our new tools to generate substantially compressed representations of both i.i.d. samples in dimensions ๐
2 through 100 and Markov chain Monte Carlo samples targeting challenging differential equation posteriors. In line with our theory, we find that target KT and KT+ significantly improve both single function integration error and MMD, even for kernels without fast-decaying square-roots.
\Centerstack
Gauss โข ( ๐ )
๐
0 \Centerstack Laplace โข ( ๐ )
๐
0 \CenterstackMatรฉrn ( ๐ , ๐พ )
๐
๐ 2 , ๐พ
0 \CenterstackIMQ ( ๐ , ๐พ )
๐
0 , ๐พ
0 \Centerstacksinc ( ๐ )
๐ โ 0 \CenterstackB-spline ( 2 โข ๐ฝ + 1 , ๐พ )
๐ฝ โ โ
\Centerstack
exp โก ( โ โ ๐ง โ 2 2 2 โข ๐ 2 ) \Centerstack exp โก ( โ โ ๐ง โ 2 ๐ ) \Centerstack ๐ ๐ โ ๐ 2 โข ( ๐พ โข โ ๐ง โ 2 ) ๐ โ ๐ 2
โ
๐พ
๐
โ
๐
2
โข
(
๐พ
โข
โ
๐ง
โ
2
)
1
(
1
+
โ
๐ง
โ
2
2
/
๐พ
2
)
๐
โ
๐
1 ๐ sin โก ( ๐ โข ๐ง ๐ ) ๐ โข ๐ง ๐ \Centerstack ๐ 2 โข ๐ฝ + 2 โ ๐ โข โ ๐
1 ๐ โ ๐ฝ โข ( ๐พ โข ๐ง ๐ ) Table 1:Common kernels ๐ค โข ( ๐ฅ , ๐ฆ ) on โ ๐ with ๐ง
๐ฅ โ ๐ฆ . In each case, โ ๐ค โ โ
1 . Here, ๐ ๐ โ 2 1 โ ๐ ฮ โข ( ๐ ) , ๐พ ๐ is the modified Bessel function of the third kind of order ๐ (Wendland, 2004, Def. 5.10), โ ๐ฝ is the recursive convolution of 2 โข ๐ฝ + 2 copies of ๐ [ โ 1 2 , 1 2 ] , and ๐ ๐ฝ โ 1 ( ๐ฝ โ 1 ) ! โข โ ๐
0 โ ๐ฝ / 2 โ ( โ 1 ) ๐ โข ( ๐ฝ ๐ ) โข ( ๐ฝ 2 โ ๐ ) ๐ฝ โ 1 .
Related work For bounded ๐ค , both i.i.d. samples (Tolstikhin et al., 2017, Prop. A.1) and thinned geometrically ergodic Markov chains (Dwivedi & Mackey, 2021, Prop. 1) deliver ๐ 1 2 points with ๐ช โข ( ๐ โ 1 4 ) MMD with high probability. The online Haar strategy of Dwivedi et al. (2019) and low discrepancy quasi-Monte Carlo methods (see, e.g., Hickernell, 1998; Novak & Wozniakowski, 2010; Dick et al., 2013) provide improved ๐ช ๐ โข ( ๐ โ 1 2 โข log ๐ โก ๐ ) MMD guarantees but are tailored specifically to the uniform distribution on [ 0 , 1 ] ๐ . Alternative coreset constructions for more general โ include kernel herding (Chen et al., 2010), discrepancy herding (Harvey & Samadi, 2014), super-sampling with a reservoir (Paige et al., 2016), support points convex-concave procedures (Mak & Joseph, 2018), greedy sign selection (Karnin & Liberty, 2019, Sec. 3.1), Stein point MCMC (Chen et al., 2019), and Stein thinning (Riabiz et al., 2020a). While some admit better-than-i.i.d. MMD guarantees for finite-dimensional kernels on โ ๐ (Chen et al., 2010; Harvey & Samadi, 2014), none apart from KT are known to provide better-than-i.i.d. MMD or integration error for the infinite-dimensional kernels covered in this work. The lower bounds of Phillips & Tai (2020, Thm. 3.1) and Tolstikhin et al. (2017, Thm. 1) respectively establish that any procedure outputting ๐ 1 2 -sized coresets and any procedure estimating โ based only on ๐ i.i.d. sample points must incur ฮฉ โข ( ๐ โ 1 2 ) MMD in the worst case. Our guarantees in Sec. 2 match these lower bounds up to logarithmic factors.
Notation We define the norm โ ๐ค โ โ
sup ๐ฅ , ๐ฆ | ๐ค โข ( ๐ฅ , ๐ฆ ) | and the shorthand [ ๐ ] โ { 1 , โฆ , ๐ } , โ + { ๐ฅ โ : ๐ฅ โฅ 0 } , โ 0 โ โ โช { 0 } , โฌ ๐ค โ { ๐ โ โ : โ ๐ โ ๐ค โค 1 } , and โฌ 2 ( ๐ ) โ { ๐ฆ โ : ๐ โฅ ๐ฆ โฅ 2 โค ๐ } . We write ๐ โพ ๐ and ๐ โฟ ๐ to mean ๐
๐ช โข ( ๐ ) and ๐
ฮฉ โข ( ๐ ) , use โพ ๐ when masking constants dependent on ๐ , and write ๐
๐ช ๐ โข ( ๐ ) to mean ๐ / ๐ is bounded in probability. For any distribution โ and point sequences ๐ฎ , ๐ฎ โฒ with empirical distributions โ ๐ , โ ๐ โฒ , we define MMD ๐ค โก ( โ , ๐ฎ ) โ MMD ๐ค โก ( โ , โ ๐ ) and MMD ๐ค โก ( ๐ฎ , ๐ฎ โฒ ) โ MMD ๐ค โก ( โ ๐ , โ ๐ โฒ ) .
2Generalized Kernel Thinning
Our generalized kernel thinning algorithm (Alg. 1) for compressing an input point sequence ๐ฎ in
( ๐ฅ ๐ ) ๐
1 ๐ proceeds in two steps: kt-split and kt-swap detailed in App. A. First, given a thinning parameter ๐ and an auxiliary kernel ๐ค split , kt-split divides the input sequence into 2 ๐ candidate coresets of size ๐ / 2 ๐ using non-uniform randomness. Next, given a target kernel ๐ค , kt-swap selects a candidate coreset with smallest MMD ๐ค to ๐ฎ in and iteratively improves that coreset by exchanging coreset points for input points whenever the swap leads to reduced MMD ๐ค . When ๐ค split is a square-root kernel ๐ค rt 2 of ๐ค , generalized KT recovers the original root KT algorithm of Dwivedi & Mackey. In this section, we establish performance guarantees for more general ๐ค split with special emphasis on the practical choice ๐ค split
๐ค . Like root KT, for any ๐ , generalized KT has time complexity dominated by ๐ช โข ( ๐ 2 ) evaluations of ๐ค split and ๐ค and ๐ช โข ( ๐ โข min โก ( ๐ , ๐ ) ) space complexity from storing either ๐ฎ in or the kernel matrices ( ๐ค split โข ( ๐ฅ ๐ , ๐ฅ ๐ ) ) ๐ , ๐
1 ๐ and ( ๐ค โข ( ๐ฅ ๐ , ๐ฅ ๐ ) ) ๐ , ๐
1 ๐ .
Input: split kernel ๐ค split , target kernel ๐ค , point sequence ๐ฎ in
( ๐ฅ ๐ ) ๐
1 ๐ , thinning parameter ๐ โ โ , probabilities ( ๐ฟ ๐ ) ๐
1 โ ๐ / 2 โ ( ๐ฎ ( ๐ , โ ) ) โ
1 2 ๐ โ kt-splitโ ( ๐ค split , ๐ฎ in , ๐ , ( ๐ฟ ๐ ) ๐
1 โ ๐ / 2 โ ) // Split ๐ฎ in into 2 ๐ candidate coresets of size โ ๐ 2 ๐ โ [2pt] ๐ฎ KT โ kt-swapโ ( ๐ค , ๐ฎ in , ( ๐ฎ ( ๐ , โ ) ) โ
1 2 ๐ ) โ// Select best coreset and iteratively refine return coreset ๐ฎ KT of size โ ๐ / 2 ๐ โ Algorithm 1 Generalized Kernel Thinning โ Return coreset of size โ ๐ / 2 ๐ โ with small MMD ๐ค 2.1Single function guarantees for kt-split
We begin by analyzing the quality of the kt-split coresets. Our first main result, proved in App. B, bounds the kt-split integration error for any fixed function in the RKHS โ split generated by ๐ค split .
Theorem 1 (Single function guarantees for kt-split)
Consider kt-split (Alg. 2) with oblivious3 ๐ฎ in and ( ๐ฟ ๐ ) ๐
1 ๐ / 2 and ๐ฟ โ โ min ๐ โก ๐ฟ ๐ . If ๐ 2 ๐ โ โ , then, for any fixed ๐ โ โ split , index โ โ [ 2 ๐ ] , and scalar ๐ฟ โฒ โ ( 0 , 1 ) , the output coreset ๐ฎ ( ๐ , โ ) with โ split ( โ ) โ 1 ๐ / 2 ๐ โข โ ๐ฅ โ ๐ฎ ( ๐ , โ ) ๐ ๐ฅ satisfies
| โ in โข ๐ โ โ split ( โ ) โข ๐ |
โค โ ๐ โ ๐ค split โ ๐ ๐ โข 2 โข log โก ( 2 ๐ฟ โฒ ) for ๐ ๐ โ 2 3 โข 2 ๐ ๐ โข โ ๐ค split โ โ , in โ log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ )
(3)
with probability at least ๐ sg โ 1 โ ๐ฟ โฒ โ โ ๐
1 ๐ 2 ๐ โ 1 ๐ โข โ ๐
1 ๐ / 2 ๐ ๐ฟ ๐ . Here, โ ๐ค split โ โ , in โ max ๐ฅ โ ๐ฎ in โก ๐ค split โข ( ๐ฅ , ๐ฅ ) .
Remark 1 (Guarantees for known and oblivious stopping times)
By Dwivedi & Mackey (2021, App. D), the success probability ๐ sg is at least 1 โ ๐ฟ if we set ๐ฟ โฒ
๐ฟ 2 and ๐ฟ ๐
๐ฟ ๐ for a stopping time ๐ known a priori or ๐ฟ ๐
๐ โข ๐ฟ 2 ๐ + 2 โข ( ๐ + 1 ) โข log 2 โก ( ๐ + 1 ) for an arbitrary oblivious stopping time ๐ .
When compressing heavily from ๐ to ๐ points, Thm. 1 and Rem. 1 guarantee ๐ช โข ( ๐ โ 1 2 โข log โก ๐ ) integration error with high probability for any fixed function ๐ โ โ split . This represents a near-quadratic improvement over the ฮฉ โข ( ๐ โ 1 4 ) integration error of ๐ i.i.d. points. Moreover, this guarantee applies to any kernel defined on any space including unbounded kernels on unbounded domains (e.g., energy distance (Sejdinovic et al., 2013) and Stein kernels (Oates et al., 2017; Chwialkowski et al., 2016; Liu et al., 2016; Gorham & Mackey, 2017)); kernels with slowly decaying square roots (e.g., sinc kernels); and non-smooth kernels without square roots (e.g., Laplace, Matรฉrn with ๐พ โ ( ๐ 2 , ๐ ] ), and the compactly supported kernels of Wendland (2004) with ๐ < 1 2 โข ( ๐ + 1 ) ). In contrast, the MMD guarantees of Dwivedi & Mackey covered only bounded, smooth ๐ค on โ ๐ with bounded, Lipschitz, and rapidly-decaying square-roots. In addition, for โ ๐ค โ โ
1 on โ ๐ , the MMD bounds of Dwivedi & Mackey feature exponential dimension dependence of the form ๐ ๐ or ( log โก ๐ ) ๐ / 2 while the Thm. 1 guarantee is dimension-free and hence practically relevant even when ๐ is large relative to ๐ .
Thm. 1 also guarantees better-than-i.i.d. integration error for any target distribution with | โ โข ๐ โ โ in โข ๐ |
๐ โข ( ๐ โ 1 4 ) . In contrast, the MMD improvements of Dwivedi & Mackey (2021, cf. Tab. 2) applied only to โ with at least 2 โข ๐ moments. Finally, when kt-split is applied with a square-root kernel ๐ค split
๐ค rt , Thm. 1 still yields integration error bounds for ๐ โ โ , as โ โ โ split . However, relative to target kt-split guarantees with ๐ค split
๐ค , the error bounds are inflated by a multiplicative factor of โ ๐ค rt โ โ , in โ ๐ค โ โ , in โข โ ๐ โ ๐ค rt โ ๐ โ ๐ค . In App. H, we show that this inflation factor is at least 1 for each kernel explicitly analyzed in Dwivedi & Mackey (2021) and grows exponentially in dimension for Gaussian and Matรฉrn kernels, unlike the dimension-free target kt-split bounds.
Finally, if we run kt-split with the perturbed kernel ๐ค split โฒ defined in Cor. 1, then we simultaneously obtain ๐ช โข ( ๐ โ 1 2 โข log โก ๐ ) integration error for ๐ โ โ split , near-i.i.d. ๐ช โข ( ๐ โ 1 4 โข log โก ๐ ) integration error for arbitrary bounded ๐ outside of โ split , and intermediate, better-than-i.i.d. ๐ โข ( ๐ โ 1 4 ) integration error for smoother ๐ outside of โ split (by interpolation). We prove this guarantee in App. C.
Corollary 1 (Guarantees for functions outside of โ split )
Consider extending each input point ๐ฅ ๐ with the standard basis vector ๐ ๐ โ โ ๐ and running kt-split (Alg. 2) on ๐ฎ in โฒ
( ๐ฅ ๐ , ๐ ๐ ) ๐
1 ๐ with ๐ค split โฒ โข ( ( ๐ฅ , ๐ค ) , ( ๐ฆ , ๐ฃ ) )
๐ค split โข ( ๐ฅ , ๐ฆ ) โ ๐ค split โ โ + โจ ๐ค , ๐ฃ โฉ for ๐ค , ๐ฃ , โ ๐ . Under the notation and assumptions of Thm. 1, for any fixed index โ โ [ 2 ๐ ] , scalar ๐ฟ โฒ โ ( 0 , 1 ) , and ๐ defined on ๐ฎ in , we have, with probability at least ๐ sg ,
| โ in โข ๐ โ โ split ( โ ) โข ๐ |
โค min โก ( ๐ 2 ๐ โข โ ๐ โ โ , in , โ ๐ค split โ โ โข โ ๐ โ ๐ค split ) โข 2 ๐ ๐ โข 8 โข log โก ( 2 ๐ฟ โฒ ) โ log โก ( 8 โข ๐ 2 ๐ โข ๐ฟ โ ) .
(4) 2.2MMD guarantee for target KT
Our second main result bounds the MMD ๐ค 1โthe worst-case integration error across the unit ball of โ โfor generalized KT applied to the target kernel, i.e., ๐ค split
๐ค . The proof of this result in App. D is based on Thm. 1 and an appropriate covering number for the unit ball โฌ ๐ค of the ๐ค RKHS.
Definition 1 ( ๐ค covering number)
For a set ๐ and scalar ๐
0 , we define the ๐ค covering number ๐ฉ ๐ค โข ( ๐ , ๐ ) with โณ ๐ค โข ( ๐ , ๐ ) โ log โก ๐ฉ ๐ค โข ( ๐ , ๐ ) as the minimum cardinality of a set ๐ โ โฌ ๐ค satisfying
โฌ ๐ค โ โ โ โ ๐ { ๐ โ โฌ ๐ค : sup ๐ฅ โ ๐ | โ โข ( ๐ฅ ) โ ๐ โข ( ๐ฅ ) | โค ๐ } .
(5) Theorem 2 (MMD guarantee for target KT)
Consider generalized KT (Alg. 1) with ๐ค split
๐ค , oblivious ๐ฎ in and ( ๐ฟ ๐ ) ๐
1 โ ๐ / 2 โ , and ๐ฟ โ โ min ๐ โก ๐ฟ ๐ . If ๐ 2 ๐ โ โ , then for any ๐ฟ โฒ โ ( 0 , 1 ) , the output coreset ๐ฎ KT is of size ๐ 2 ๐ and satisfies
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) โค inf ๐ โ ( 0 , 1 ) , ๐ฎ in โ ๐ 2 โข ๐ + 2 ๐ ๐ โ 8 3 โข โ ๐ค โ โ , in โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) โ [ log โก ( 4 ๐ฟ โฒ ) + โณ ๐ค โข ( ๐ , ๐ ) ]
(6)
with probability at least ๐ sg , where โ ๐ค โ โ , in and ๐ sg were defined in Thm. 1.
When compressing heavily from ๐ to ๐ points, Thm. 2 and Rem. 1 with ๐
โ ๐ค โ โ , in ๐ and ๐
โฌ 2 โข ( โ in ) for โ in โ max ๐ฅ โ ๐ฎ in โก โ ๐ฅ โ 2 guarantee
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) โพ ๐ฟ โ ๐ค โ โ , in โข log โก ๐ ๐ โ โณ ๐ค โข ( โฌ 2 โข ( โ in ) , โ ๐ค โ โ , in ๐ )
(7)
with high probability. Thus we immediately obtain an MMD guarantee for any kernel ๐ค with a covering number bound. Furthermore, we readily obtain a comparable guarantee for โ since MMD ๐ค โก ( โ , ๐ฎ KT ) โค MMD ๐ค โก ( โ , ๐ฎ in ) + MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) . Any of a variety of existing algorithms can be used to generate an input point sequence ๐ฎ in with MMD ๐ค โก ( โ , ๐ฎ in ) no larger than the compression bound 7, including i.i.d. sampling (Tolstikhin et al., 2017, Thm. A.1), geometric MCMC (Dwivedi & Mackey, 2021, Prop. 1), kernel herding (Lacoste-Julien et al., 2015, Thm. G.1), Stein points (Chen et al., 2018, Thm. 2), Stein point MCMC (Chen et al., 2019, Thm. 1), greedy sign selection (Karnin & Liberty, 2019, Sec. 3.1), and Stein thinning (Riabiz et al., 2020a, Thm. 1).
2.3Consequences of Thm. 2
Sec. 2.3 summarizes the MMD guarantees of Thm. 2 under common growth conditions on the log covering number โณ ๐ค and the input point radius โ ๐ฎ in โ max ๐ฅ โ ๐ฎ in โก โ ๐ฅ โ 2 . In Props. 2 and LABEL:rkhs_covering_numbers of App. J, we show that analytic kernels, like Gaussian, inverse multiquadric (IMQ), and sinc, have LogGrowth โณ ๐ค (i.e., โณ ๐ค โข ( โฌ 2 โข ( ๐ ) , ๐ ) โพ ๐ ๐ ๐ โข log ๐ โก ( 1 ๐ ) ) while finitely differentiable kernels (like Matรฉrn and B-spline) have PolyGrowth โณ ๐ค (i.e., โณ ๐ค โข ( โฌ 2 โข ( ๐ ) , ๐ ) โพ ๐ ๐ ๐ โข ๐ โ ๐ ).
Our conditions on โ ๐ฎ in arise from four forms of target distribution tail decay: (1) Compact ( โ ๐ฎ in โพ ๐ 1 ), (2) SubGauss ( โ ๐ฎ in โพ ๐ log โก ๐ ), (3) SubExp ( โ ๐ฎ in โพ ๐ log โก ๐ ), and (4) HeavyTail ( โ ๐ฎ in โพ ๐ ๐ 1 / ๐ ) . The first setting arises with a compactly supported โ (e.g., on the unit cube [ 0 , 1 ] ๐ ), and the other three settings arise in expectation and with high probability when ๐ฎ in is generated i.i.d. from โ with sub-Gaussian tails, sub-exponential tails, or ๐ moments respectively.
Substituting these conditions into 7 yields the eight entries of Sec. 2.3. We find that, for LogGrowth โณ ๐ค , target KT MMD is within log factors of the ฮฉ โข ( ๐ โ 1 / 2 ) lower bounds of Sec. 1 for light-tailed โ and is ๐ โข ( ๐ โ 1 / 4 ) (i.e., better than i.i.d.) for any distribution with ๐
2 โข ๐ moments. Meanwhile, for PolyGrowth โณ ๐ค , target KT MMD is ๐ โข ( ๐ โ 1 / 4 ) whenever ๐ < 1 for light-tailed โ or whenever โ has ๐
2 โข ๐ / ( 1 โ ๐ ) moments.
\Centerstack
& \Centerstack Compact โ
โ in โพ ๐
1
\Centerstack
SubGauss โ
โ in โพ ๐
log โก ๐
\Centerstack
SubExp โ
โ in โพ ๐
log โก ๐
\Centerstack
HeavyTail โ
โ in โพ ๐
๐ 1 / ๐
\Centerstack
LogGrowth โณ ๐ค
โณ ๐ค โข ( โฌ 2 โข ( ๐ ) , ๐ )
โพ ๐ ๐ ๐ โข log ๐ โก ( 1 ๐ )
( log โก ๐ ) ๐ + 1 ๐
( log โก ๐ ) ( ๐ / 2 ) + ๐ + 1 ๐
( log โก ๐ ) ๐ + ๐ + 1 ๐
( log โก ๐ ) ๐ + 1 ๐ 1 โ ๐ / ๐
\Centerstack
PolyGrowth โณ ๐ค
โณ ๐ค โข ( โฌ 2 โข ( ๐ ) , ๐ )
โพ ๐ ๐ ๐ โข ๐ โ ๐
log โก ๐ ๐ 1 โ ๐ / 2
( log โก ๐ ) ( ๐ / 2 ) + 1 ๐ 1 โ ๐ / 2
( log โก ๐ ) ๐ + 1 ๐ 1 โ ๐ / 2
log โก ๐ ๐ 1 โ ๐ / 2 โ ๐ / ๐
Table 2: MMD guarantees for target KT under โณ ๐ค 5 growth and โ tail decay. We report the MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) bound 7 for target KT with ๐ input points and ๐ output points, up to constants depending on ๐ and โ ๐ค โ โ , in . Here โ in โ max ๐ฅ โ ๐ฎ in โก โ ๐ฅ โ 2 .
Next, for each of the popular convergence-determining kernels of Tab. 1, we compare the root KT MMD guarantees of Dwivedi & Mackey (2021) with the target KT guarantees of Thm. 2 combined with covering number bounds derived in Apps. J and K. We see in Tab. 3 that Thm. 2 provides better-than-i.i.d. and better-than-root KT guarantees for kernels with slowly decaying or non-existent square-roots (e.g., IMQ with ๐ < ๐ 2 , sinc, and B-spline) and nearly matches known root KT guarantees for analytic kernels like Gauss and IMQ with ๐ โฅ ๐ 2 , even though target KT makes no explicit use of a square-root kernel. See App. K for the proofs related to Tab. 3.
\CenterstackKernel ๐ค \Centerstack Target KT \Centerstack Root KT \Centerstack KT+ \Centerstack Gauss โข ( ๐ ) \Centerstack ( log โก ๐ ) 3 โข ๐ 4 + 1 ๐ โ ๐ ๐ ๐ \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ ๐ + ๐ ๐ โข ๐ ๐ ๐ \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ ๐ + ๐ ๐ โข ๐ ๐ ๐
\Centerstack Laplace โข ( ๐ ) \Centerstack ๐ โ 1 4 \CenterstackN/A \Centerstack ( ๐ ๐ โข ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ โข ๐ โข ( ๐ โ ๐ถ ) ๐ ) ๐ ๐ โข ๐ถ
\CenterstackMatรฉrn ( ๐ , ๐พ )
๐ โ ( ๐ 2 , ๐ ] \Centerstack ๐ โ 1 4 \CenterstackN/A \Centerstack ( ๐ ๐ โข ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ โข ๐ โข ( ๐ โ ๐ถ ) ๐ ) ๐ ๐ โข ๐ถ
\CenterstackMatรฉrn ( ๐ , ๐พ )
๐
๐ \Centerstack min โก ( ๐ โ 1 4 , ( log โก ๐ ) ๐ + 1 2 ๐ ( ๐ โ ๐ ) / ( 2 โข ๐ โ ๐ ) ) \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ ๐ โข ๐ ๐ ๐ \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ ๐ โข ๐ ๐ ๐
\CenterstackIMQ ( ๐ , ๐พ )
๐ < ๐ 2 \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ ๐ \Centerstack ๐ โ 1 4 \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ ๐
\CenterstackIMQ ( ๐ , ๐พ )
๐ โฅ ๐ 2 \Centerstack ( log โก ๐ ) ๐ + 1 ๐ \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ ๐ โข ๐ ๐ ๐ \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ + ๐ ๐ โข ๐ ๐ ๐
\Centerstacksinc ( ๐ ) \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ / ๐ + ๐ ๐ \Centerstack ๐ โ 1 4 \Centerstack ( ๐ฅ๐จ๐ โก ๐ ) ๐ / ๐ + ๐ ๐
\Centerstack B-spline โข ( 2 โข ๐ฝ + 1 , ๐พ )
๐ฝ โ 2 โข โ \Centerstack min โก ( ๐ โ 1 4 , ๐ ๐ , ๐ , ๐ฝ ) \CenterstackN/A \Centerstack ๐ฆ๐ข๐ง โก ( ๐ ๐ , ๐ , ๐ท , ( ๐ฅ๐จ๐ โก ๐ ๐ ) ๐ท + ๐ ๐ โข ๐ท + ๐ )
\Centerstack B-spline โข ( 2 โข ๐ฝ + 1 , ๐พ )
๐ฝ
โ
2
โข
โ
0
+
1
\Centerstack
min
โก
(
๐
โ
1
4
,
๐
๐
,
๐
,
๐ฝ
)
๐ฅ๐จ๐
โก
๐
๐
๐ฅ๐จ๐
โก
๐
๐
Table 3:
๐๐๐
๐ค
โก
(
๐ข
in
,
๐ข
KT
)
guarantees for commonly used kernels. For
๐
input and
๐
output points, we report the MMD bounds of Thm. 2 for target KT, of Dwivedi & Mackey (2021, Thm. 1) for root KT, and of Thm. 4 for KT+ (with
๐ผ
>
๐
๐
+
1
for Laplace,
๐ผ
>
๐
2
โข
๐
for Matรฉrn,
๐ผ
๐ฝ + 2 2 โข ๐ฝ + 2 for B-spline with even ๐ฝ , and ๐ผ
1 2 for all other kernels). We assume a SubGauss โ for the Gauss kernel, a Compact โ for the B-spline kernel, and a SubExp โ for all other ๐ค (see Sec. 2.3 for a definition of each โ class). Here, ๐ ๐ โ log โก log โก ๐ , ๐ ๐ , ๐ , ๐ฝ โ log โก ๐ ๐ ( 2 โข ๐ฝ โ ๐ ) / 4 โข ๐ฝ , ๐ฟ ๐
๐ฟ ๐ , ๐ฟ โฒ
๐ฟ 2 , and error is reported up to constants depending on ( ๐ค , ๐ , ๐ฟ , ๐ผ ) . The target KT guarantee for Matรฉrn with ๐
3 โข ๐ / 2 assumes ๐ โ ๐ / 2 โ โ to simplify the presentation (see 138 for the general case). The best rate is highlighted in blue. See App. K for details of the derivation. 3Kernel Thinning+
We next introduce and analyze two new generalized KT variants: (i) power KT which leverages a power kernel ๐ค ๐ผ that interpolates between ๐ค and ๐ค rt to improve upon the MMD guarantees of target KT even when ๐ค rt is not available and (ii) KT+ which uses a sum of ๐ค and ๐ค ๐ผ to retain both the improved MMD guarantee of ๐ค ๐ผ and the superior single function guarantees of ๐ค .
Power kernel thinning First, we generalize the square-root kernel 2 definition for shift-invariant ๐ค using the order 0 generalized Fourier transform (GFT, Wendland, 2004, Def. 8.9) ๐ ^ of ๐ : โ ๐ โ โ .
Definition 2 ( ๐ผ -power kernel)
Define ๐ค 1 โ ๐ค . We say a kernel ๐ค 1 2 is a 1 2 -power kernel for ๐ค if ๐ค โข ( ๐ฅ , ๐ฆ )
( 2 โข ๐ ) โ ๐ / 2 โข โซ โ ๐ ๐ค 1 2 โข ( ๐ฅ , ๐ง ) โข ๐ค 1 2 โข ( ๐ง , ๐ฆ ) โข ๐ ๐ง . For ๐ผ โ ( 1 2 , 1 ) , a kernel ๐ค ๐ผ โข ( ๐ฅ , ๐ฆ )
๐ ๐ผ โข ( ๐ฅ โ ๐ฆ ) on โ ๐ is an ๐ผ -power kernel for ๐ค โข ( ๐ฅ , ๐ฆ )
๐ โข ( ๐ฅ โ ๐ฆ ) if ๐ ๐ผ ^
๐ ^ ๐ผ .
By design, ๐ค 1 2 matches ๐ค rt 2 up to an immaterial constant rescaling. Given a power kernel ๐ค ๐ผ we define power KT as generalized KT with ๐ค split
๐ค ๐ผ . Our next result (with proof in App. E) provides an MMD guarantee for power KT.
Theorem 3 (MMD guarantee for power KT)
Consider generalized KT (Alg. 1) with ๐ค split
๐ค ๐ผ for some ๐ผ โ [ 1 2 , 1 ] , oblivious sequences ๐ฎ in and ( ๐ฟ ๐ ) ๐
1 โ ๐ / 2 โ , and ๐ฟ โ โ min ๐ โก ๐ฟ ๐ . If ๐ 2 ๐ โ โ , then for any ๐ฟ โฒ โ ( 0 , 1 ) , the output coreset ๐ฎ KT is of size ๐ 2 ๐ and satisfies
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT )
โค ( 2 ๐ ๐ โข โ ๐ค ๐ผ โ โ ) 1 2 โข ๐ผ โข ( 2 โ ๐ ~ ๐ผ ) 1 โ 1 2 โข ๐ผ โข ( 2 + ( 4 โข ๐ ) ๐ / 2 ฮ โข ( ๐ 2 + 1 ) โ โ max ๐ 2 โ ๐ ~ ๐ผ ) 1 ๐ผ โ 1 ,
(8)
with probability at least ๐ sg (defined in Thm. 1). The parameters ๐ ~ ๐ผ and โ max are defined in App. E and satisfy ๐ ~ ๐ผ
๐ช ๐ โข ( log โก ๐ ) and โ max
๐ช ๐ โข ( 1 ) for compactly supported โ and ๐ค ๐ผ and ๐ ~ ๐ผ
๐ช ๐ โข ( log โก ๐ โข log โก log โก ๐ ) and โ max
๐ช ๐ โข ( log โก ๐ ) for subexponential โ and ๐ค ๐ผ , when ๐ฟ โ
๐ฟ โฒ ๐ .
Thm. 3 reproduces the root KT guarantee of Dwivedi & Mackey (2021, Thm. 1) when ๐ผ
1 2 and more generally accommodates any power kernel via an MMD interpolation result (LABEL:mmd_sandwich) that may be of independent interest. This generalization is especially valuable for less-smooth kernels like Laplace and Matรฉrn ( ๐ , ๐พ ) with ๐ โ ( ๐ 2 , ๐ ] that have no square-root kernel. Our target KT MMD guarantees are no better than i.i.d. for these kernels, but, as shown in App. K, these kernels have Matรฉrn kernels as ๐ผ -power kernels, which yield ๐ โข ( ๐ โ 1 4 ) MMD in conjunction with Thm. 3.
Kernel thinning+ Our final KT variant, kernel thinning+, runs kt-split with a scaled sum of the target and power kernels, ๐ค โ โ ๐ค / โ ๐ค โ โ + ๐ค ๐ผ / โ ๐ค ๐ผ โ โ .4 Remarkably, this choice simultaneously provides the improved MMD guarantees of Thm. 3 and the dimension-free single function guarantees of Thm. 1 (see LABEL:sec:proof_of_ktplus for the proof).
Theorem 4 (Single function & MMD guarantees for KT+)
Consider generalized KT (Alg. 1) with ๐ค split
๐ค โ , oblivious ๐ฎ in and ( ๐ฟ ๐ ) ๐
1 โ ๐ / 2 โ , ๐ฟ โ โ min ๐ โก ๐ฟ ๐ , and ๐ 2 ๐ โ โ . For any fixed function ๐ โ โ , index โ โ [ 2 ๐ ] , and scalar ๐ฟ โฒ โ ( 0 , 1 ) , the kt-split coreset ๐ฎ ( ๐ , โ ) satisfies
| โ in โข ๐ โ โ split ( โ ) โข ๐ | โค 2 ๐ ๐ โ 16 3 โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) โข log โก ( 2 ๐ฟ โฒ ) โข โ ๐ โ ๐ค โข โ ๐ค โ โ ,
(9)
with probability at least ๐ sg (for ๐ sg and โ split ( โ ) defined in Thm. 1). Moreover,
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) โค min โก [ 2 โ ๐ ยฏ targetKT โข ( ๐ค ) , 2 1 2 โข ๐ผ โ ๐ ยฏ powerKT โข ( ๐ค ๐ผ ) ]
(10)
with probability at least ๐ sg , where ๐ ยฏ targetKT โข ( ๐ค ) denotes the right hand side of 6 with โ ๐ค โ โ , in replaced by โ ๐ค โ โ , and ๐ ยฏ powerKT โข ( ๐ค ๐ผ ) denotes the right hand side of 8.
As shown in Tab. 3, KT+ provides better-than-i.i.d. MMD guarantees for every kernel in Tab. 1โeven the Laplace, non-smooth Matรฉrn, and odd B-spline kernels neglected by prior analysesโwhile matching or improving upon the guarantees of target KT and root KT in each case.
4Experiments
Figure 1:Generalized kernel thinning (KT) vs i.i.d. sampling for an 8-component mixture of Gaussians target โ . For kernels ๐ค without fast-decaying square-roots, KT+ offers visible and quantifiable improvements over i.i.d. sampling. For Gaussian ๐ค , target KT closely mimics root KT.
Dwivedi & Mackey (2021) illustrated the MMD benefits of root KT over i.i.d. sampling and standard MCMC thinning with a series of vignettes focused on the Gaussian kernel. We revisit those vignettes with the broader range of kernels covered by generalized KT and demonstrate significant improvements in both MMD and single-function integration error. We focus on coresets of size ๐ produced from ๐ inputs with ๐ฟ ๐
1 2 โข ๐ , let โ out denote the empirical distribution of each output coreset, and report mean error ( ยฑ 1 standard error) over 10 independent replicates of each experiment.
Target distributions and kernel bandwidths We consider three classes of target distributions on โ ๐ : (i) mixture of Gaussians โ
1 ๐ โข โ ๐
1 ๐ ๐ฉ โข ( ๐ ๐ , ๐ 2 ) with ๐ component means ๐ ๐ โ โ 2 defined in App. I, (ii) Gaussian โ
๐ฉ โข ( 0 , ๐ ๐ ) , and (iii) the posteriors of four distinct coupled ordinary differential equation models: the Goodwin (1965) model of oscillatory enzymatic control ( ๐
4 ), the Lotka (1925) model of oscillatory predator-prey evolution ( ๐
4 ), the Hinch et al. (2004) model of calcium signalling in cardiac cells ( ๐
38 ), and a tempered Hinch posterior. For settings (i) and (ii), we use an i.i.d. input sequence ๐ฎ in from โ and kernel bandwidths ๐
1 / ๐พ
2 โข ๐ . For setting (iii), we use MCMC input sequences ๐ฎ in from 12 posterior inference experiments of Riabiz et al. (2020a) and set the bandwidths ๐
1 / ๐พ as specified by Dwivedi & Mackey (2021, Sec. K.2).
Figure 2:MMD and single-function integration error for Gaussian ๐ค and standard Gaussian โ in โ ๐ . Without using a square-root kernel, target KT matches the MMD performance of root KT and improves upon i.i.d. MMD and single-function integration error, even in ๐
100 dimensions.
Function testbed To evaluate the ability of generalized KT to improve integration both inside and outside of โ , we evaluate integration error for (a) a random element of the target kernel RKHS ( ๐ โข ( ๐ฅ )
๐ค โข ( ๐ โฒ , ๐ฅ ) described in App. I), (b) moments ( ๐ โข ( ๐ฅ )
๐ฅ 1 and ๐ โข ( ๐ฅ )
๐ฅ 1 2 ), and (c) a standard numerical integration benchmark test function from the continuous integrand family (CIF, Genz, 1984), ๐ CIF โข ( ๐ฅ )
exp โก ( โ 1 ๐ โข โ ๐
1 ๐ | ๐ฅ ๐ โ ๐ข ๐ | ) for ๐ข ๐ drawn i.i.d. and uniformly from [ 0 , 1 ] .
Generalized KT coresets For an 8 -component mixture of Gaussians target โ , the top row of Fig. 1 highlights the visual differences between i.i.d. coresets and coresets generated using generalized KT. We consider root KT with Gauss ๐ค , target KT with Gauss ๐ค , and KT+ ( ๐ผ
0.7 ) with Laplace ๐ค , KT+ ( ๐ผ
1 2 ) with IMQ ๐ค ( ๐
0.5 ), and KT+( ๐ผ
2 3 ) with B-spline(5) ๐ค , and note that the B-spline(5) (i.e., ๐ฝ
2 ) and Laplace ๐ค do not admit square-root kernels. In each case, even for small ๐ , generalized KT provides a more even distribution of points across components with fewer within-component gaps and clumps. Moreover, as suggested by our theory, target KT and root KT coresets for Gauss ๐ค have similar quality despite target KT making no explicit use of a square-root kernel. The MMD error plots in the bottom row of Fig. 1 provide a similar conclusion quantitatively, where we observe that for both variants of KT, the MMD error decays as ๐ โ 1 2 , a significant improvement over the ๐ โ 1 4 rate of i.i.d. sampling. We also observe that the majority of the empirical MMD decay rates are in close agreement with the rates guaranteed by our theory in Tab. 3 ( ๐ โ 1 2 for Gauss and IMQ and ๐ โ 1 4 โข ๐ผ
๐ โ 0.36 for Laplace). We provide additional visualizations and results in Secs. 2.3 and 2.3 of App. I, including MMD errors for ๐
4 and ๐
6 component mixture targets. The conclusions remain consistent with those drawn from Fig. 1.
Target KT vs. i.i.d. sampling For Gaussian โ and Gaussian ๐ค , Fig. 2 quantifies the improvements in distributional approximation obtained when using target KT in place of a more typical i.i.d. summary. Remarkably, target KT significantly improves the rate of decay and order of magnitude of mean MMD ๐ค โก ( โ , โ out ) , even in ๐
100 dimensions with as few as 4 output points. Moreover, in line with our theory, target KT MMD closely tracks that of root KT without using ๐ค rt . Finally, target KT delivers improved single-function integration error, both of functions in the RKHS (like ๐ค โข ( ๐ โฒ , โ ) ) and those outside (like the first moment and CIF benchmark function), even with large ๐ and relatively small sample sizes.
KT+ vs. standard MCMC thinning For the MCMC targets, we measure error with respect to the input distribution โ in (consistent with our guarantees), as exact integration under each posterior โ is intractable. We employ KT+ ( ๐ผ
0.81 ) with Laplace ๐ค for Goodwin and Lotka-Volterra and KT+ ( ๐ผ
0.5 ) with IMQ ๐ค ( ๐
0.5 ) for Hinch. Notably, neither kernel has a square-root with fast-decaying tails. In Fig. 3, we evaluate thinning results from one chain targeting each of the Goodwin, Lotka-Volterra, and Hinch posteriors and observe that KT+ uniformly improves upon the MMD error of standard thinning (ST), even when ST exhibits better-than-i.i.d. accuracy. Furthermore, KT+ provides significantly smaller integration error for functions inside of the RKHS (like ๐ค โข ( ๐ โฒ , โ ) ) and outside of the RKHS (like the first and second moments and the benchmark CIF function) in nearly every setting. See Fig. 6 of App. I for plots of the other 9 MCMC settings.
Figure 3:Kernel thinning+ (KT+) vs. standard MCMC thinning (ST). For kernels without fast-decaying square-roots, KT+ improves MMD and integration error decay rates in each posterior inference task. 5Discussion and Conclusions
In this work, we introduced three new generalizations of the root KT algorithm of Dwivedi & Mackey (2021) with broader applicability and strengthened guarantees for generating compact representations of a probability distribution. Target kt-split provides ๐ -point summaries with ๐ช โข ( log โก ๐ / ๐ ) integration error guarantees for any kernel, any target distribution, and any function in the RKHS; power KT yields improved better-than-i.i.d. MMD guarantees even when a square-root kernel is unavailable; and KT+ simultaneously inherits the guarantees of target KT and power KT. While we have focused on unweighted coreset quality we highlight that the same MMD guarantees extend to any improved reweighting of the coreset points. For example, for downstream tasks that support weights, one can optimally reweight โ out to approximate โ in in ๐ช โข ( ๐ 3 2 ) time by directly minimizing MMD ๐ค . Finally, one can combine generalized KT with the Compress++ meta-algorithm of Shetty et al. (2022) to obtain coresets of comparable quality in near-linear time.
Reproducibility Statement
See App. I for supplementary experimental details and results and the goodpoints Python package
https://github.com/microsoft/goodpoints
for Python code reproducing all experiments.
Acknowledgments
We thank Lucas Janson and Boaz Barak for their valuable feedback on this work. RD acknowledges the support by the National Science Foundation under Grant No. DMS-2023528 for the Foundations of Data Science Institute (FODSI).
References Augustin et al. (2016) โ Christoph M Augustin, Aurel Neic, Manfred Liebmann, Anton J Prassl, Steven A Niederer, Gundolf Haase, and Gernot Plank.Anatomically accurate high resolution modeling of human whole heart electromechanics: A strongly scalable algebraic multigrid solver method for nonlinear deformation.Journal of computational physics, 305:622โ646, 2016. Batir (2017) โ Necdet Batir.Bounds for the gamma function.Results in Mathematics, 72(1):865โ874, 2017.doi: 10.1007/s00025-017-0698-0.URL https://doi.org/10.1007/s00025-017-0698-0. Berlinet & Thomas-Agnan (2011) โ Alain Berlinet and Christine Thomas-Agnan.Reproducing kernel Hilbert spaces in probability and statistics.Springer Science & Business Media, 2011. Chen et al. (2018) โ Wilson Ye Chen, Lester Mackey, Jackson Gorham, Franรงois-Xavier Briol, and Chris J. Oates.Stein points.In Proceedings of the 35th International Conference on Machine Learning, 2018. Chen et al. (2019) โ Wilson Ye Chen, Alessandro Barp, Franรงois-Xavier Briol, Jackson Gorham, Mark Girolami, Lester Mackey, and Chris Oates.Stein point Markov chain Monte Carlo.In International Conference on Machine Learning, pp. 1011โ1021. PMLR, 2019. Chen et al. (2010) โ Yutian Chen, Max Welling, and Alex Smola.Super-samples from kernel herding.In Proceedings of the Twenty-Sixth Conference on Uncertainty in Artificial Intelligence, UAIโ10, pp. 109โ116, Arlington, Virginia, USA, 2010. AUAI Press.ISBN 9780974903965. Chwialkowski et al. (2016) โ Kacper Chwialkowski, Heiko Strathmann, and Arthur Gretton.A kernel test of goodness of fit.In International conference on machine learning, pp. 2606โ2615. PMLR, 2016. Dick et al. (2013) โ Josef Dick, Frances Y Kuo, and Ian H Sloan.High-dimensional integration: The quasi-Monte Carlo way.Acta Numerica, 22:133โ288, 2013. Dwivedi & Mackey (2021) โ Raaz Dwivedi and Lester Mackey.Kernel thinning.arXiv preprint arXiv:2105.05842v8, 2021. Dwivedi et al. (2019) โ Raaz Dwivedi, Ohad N Feldheim, Ori Gurel-Gurevich, and Aaditya Ramdas.The power of online thinning in reducing discrepancy.Probability Theory and Related Fields, 174(1):103โ131, 2019. Genz (1984) โ Alan Genz.Testing multidimensional integration routines.In Proc. of international conference on Tools, methods and languages for scientific and engineering computation, pp. 81โ94, 1984. Girolami & Calderhead (2011) โ Mark Girolami and Ben Calderhead.Riemann manifold Langevin and Hamiltonian Monte Carlo methods.Journal of the Royal Statistical Society: Series B (Statistical Methodology), 73(2):123โ214, 2011. Goodwin (1965) โ Brian C Goodwin.Oscillatory behavior in enzymatic control process.Advances in Enzyme Regulation, 3:318โ356, 1965. Gorham & Mackey (2017) โ Jackson Gorham and Lester Mackey.Measuring sample quality with kernels.In Proceedings of the 34th International Conference on Machine Learning-Volume 70, pp. 1292โ1301. JMLR. org, 2017. Gretton et al. (2012) โ Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Schรถlkopf, and Alexander Smola.A kernel two-sample test.Journal of Machine Learning Research, 13(25):723โ773, 2012. Haario et al. (1999) โ Heikki Haario, Eero Saksman, and Johanna Tamminen.Adaptive proposal distribution for random walk Metropolis algorithm.Computational Statistics, 14(3):375โ395, 1999. Harvey & Samadi (2014) โ Nick Harvey and Samira Samadi.Near-optimal herding.In Conference on Learning Theory, pp. 1165โ1182, 2014. Hickernell (1998) โ Fred Hickernell.A generalized discrepancy and quadrature error bound.Mathematics of computation, 67(221):299โ322, 1998. Hinch et al. (2004) โ Robert Hinch, JL Greenstein, AJ Tanskanen, L Xu, and RL Winslow.A simplified local control model of calcium-induced calcium release in cardiac ventricular myocytes.Biophysical journal, 87(6):3723โ3736, 2004. Karnin & Liberty (2019) โ Zohar Karnin and Edo Liberty.Discrepancy, coresets, and sketches in machine learning.In Conference on Learning Theory, pp. 1975โ1993. PMLR, 2019. Lacoste-Julien et al. (2015) โ Simon Lacoste-Julien, Fredrik Lindsten, and Francis Bach.Sequential kernel herding: Frank-Wolfe optimization for particle filtering.In Artificial Intelligence and Statistics, pp. 544โ552. PMLR, 2015. Liu et al. (2016) โ Qiang Liu, Jason Lee, and Michael Jordan.A kernelized Stein discrepancy for goodness-of-fit tests.In Proc. of 33rd ICML, volume 48 of ICML, pp. 276โ284, 2016. Lotka (1925) โ Alfred James Lotka.Elements of physical biology.Williams & Wilkins, 1925. Mak & Joseph (2018) โ Simon Mak and V Roshan Joseph.Support points.The Annals of Statistics, 46(6A):2562โ2592, 2018. Newey & McFadden (1994) โ Whitney K. Newey and Daniel McFadden.Chapter 36: Large sample estimation and hypothesis testing.In Handbook of Econometrics, volume 4, pp. 2111โ2245. Elsevier, 1994.doi: https://doi.org/10.1016/S1573-4412(05)80005-4.URL https://www.sciencedirect.com/science/article/pii/S1573441205800054. Niederer et al. (2011) โ Steven A Niederer, Lawrence Mitchell, Nicolas Smith, and Gernot Plank.Simulating human cardiac electrophysiology on clinical time-scales.Frontiers in Physiology, 2:14, 2011. Novak & Wozniakowski (2010) โ E Novak and H Wozniakowski.Tractability of multivariate problems, volume ii: Standard information for functionals, european math.Soc. Publ. House, Zรผrich, 3, 2010. Oates et al. (2017) โ Chris J Oates, Mark Girolami, and Nicolas Chopin.Control functionals for Monte Carlo integration.Journal of the Royal Statistical Society: Series B (Statistical Methodology), 79(3):695โ718, 2017. Owen (2017) โ Art B Owen.Statistically efficient thinning of a Markov chain sampler.Journal of Computational and Graphical Statistics, 26(3):738โ744, 2017. Paige et al. (2016) โ Brooks Paige, Dino Sejdinovic, and Frank Wood.Super-sampling with a reservoir.In Proceedings of the Thirty-Second Conference on Uncertainty in Artificial Intelligence, pp. 567โ576, 2016. Phillips & Tai (2020) โ Jeff M Phillips and Wai Ming Tai.Near-optimal coresets of kernel density estimates.Discrete & Computational Geometry, 63(4):867โ887, 2020. Riabiz et al. (2020a) โ Marina Riabiz, Wilson Chen, Jon Cockayne, Pawel Swietach, Steven A Niederer, Lester Mackey, and Chris Oates.Optimal thinning of MCMC output.arXiv preprint arXiv:2005.03952, 2020a. Riabiz et al. (2020b) โ Marina Riabiz, Wilson Ye Chen, Jon Cockayne, Pawel Swietach, Steven A. Niederer, Lester Mackey, and Chris J. Oates.Replication Data for: Optimal Thinning of MCMC Output, 2020b.URL https://doi.org/10.7910/DVN/MDKNWM.Accessed on Mar 23, 2021. Roberts & Tweedie (1996) โ Gareth O Roberts and Richard L Tweedie.Exponential convergence of Langevin distributions and their discrete approximations.Bernoulli, 2(4):341โ363, 1996. Rudi et al. (2020) โ Alessandro Rudi, Ulysse Marteau-Ferey, and Francis Bach.Finding global minima via kernel approximations.arXiv preprint arXiv:2012.11978, 2020. Sejdinovic et al. (2013) โ Dino Sejdinovic, Bharath Sriperumbudur, Arthur Gretton, and Kenji Fukumizu.Equivalence of distance-based and rkhs-based statistics in hypothesis testing.The Annals of Statistics, pp. 2263โ2291, 2013. Shetty et al. (2022) โ Abhishek Shetty, Raaz Dwivedi, and Lester Mackey.Distribution compression in near-linear time.In International Conference on Learning Representations, 2022. Simon-Gabriel et al. (2020) โ Carl-Johann Simon-Gabriel, Alessandro Barp, and Lester Mackey.Metrizing weak convergence with maximum mean discrepancies.arXiv preprint arXiv:2006.09268, 2020. Steinwart & Christmann (2008) โ Ingo Steinwart and Andreas Christmann.Support vector machines.Springer Science & Business Media, 2008. Steinwart & Fischer (2021) โ Ingo Steinwart and Simon Fischer.A closer look at covering number bounds for Gaussian kernels.Journal of Complexity, 62:101513, 2021. Strocchi et al. (2020) โ Marina Strocchi, Matthias AF Gsell, Christoph M Augustin, Orod Razeghi, Caroline H Roney, Anton J Prassl, Edward J Vigmond, Jonathan M Behar, Justin S Gould, Christopher A Rinaldi, Martin J Bishop, Gernot Plank, and Steven A Niederer.Simulating ventricular systolic motion in a four-chamber heart model with spatially varying robin boundary conditions to model the effect of the pericardium.Journal of Biomechanics, 101:109645, 2020. Sun & Zhou (2008) โ Hong-Wei Sun and Ding-Xuan Zhou.Reproducing kernel Hilbert spaces associated with analytic translation-invariant Mercer kernels.Journal of Fourier Analysis and Applications, 14(1):89โ101, 2008. Tolstikhin et al. (2017) โ Ilya Tolstikhin, Bharath K Sriperumbudur, and Krikamol Muandet.Minimax estimation of kernel mean embeddings.The Journal of Machine Learning Research, 18(1):3002โ3048, 2017. Volterra (1926) โ Vito Volterra.Variazioni e fluttuazioni del numero dโindividui in specie animali conviventi.1926. Wainwright (2019) โ Martin J Wainwright.High-dimensional statistics: A non-asymptotic viewpoint, volume 48.Cambridge University Press, 2019. Wendland (2004) โ Holger Wendland.Scattered data approximation, volume 17.Cambridge university press, 2004. Zhang & Zhao (2013) โ Haizhang Zhang and Liang Zhao.On the inclusion relation of reproducing kernel hilbert spaces.Analysis and Applications, 11(02):1350014, 2013. Zhou (2002) โ Ding-Xuan Zhou.The covering number in learning theory.Journal of Complexity, 18(3):739โ767, 2002. \etoctocstyle
1Appendix \etocdepthtag.tocmtappendix \etocsettagdepthmtchapternone \etocsettagdepthmtappendixsection
Contents 1Introduction 2Generalized Kernel Thinning Appendix ADetails of kt-split and kt-swap Input: kernel ๐ค split , point sequence ๐ฎ in
( ๐ฅ ๐ ) ๐
1 ๐ , thinning parameter ๐ โ โ , probabilities ( ๐ฟ ๐ ) ๐
1 โ ๐ 2 โ ๐ฎ ( ๐ , โ ) โ { } for 0 โค ๐ โค ๐ and 1 โค โ โค 2 ๐ โ// Empty coresets: ๐ฎ ( ๐ , โ ) has size โ ๐ 2 ๐ โ after round ๐ ๐ ๐ , โ โ 0 for 1 โค ๐ โค ๐ and 1 โค โ โค 2 ๐ โ 1 โ// Swapping parameters for ๐
1 , โฆ , โ ๐ / 2 โ do ๐ฎ ( 0 , 1 ) โข .append โข ( ๐ฅ ๐ ) ; ๐ฎ ( 0 , 1 ) โข .append โข ( ๐ฅ 2 โข ๐ ) [2pt] // Every 2 ๐ rounds, add one point from parent coreset ๐ฎ ( ๐ โ 1 , โ ) to each child coreset ๐ฎ ( ๐ , 2 โข โ โ 1 ) , ๐ฎ ( ๐ , 2 โข โ ) [1pt] for ( ๐
1 ; ๐ โค ๐ โข and โข ๐ / 2 ๐ โ 1 โ โ ; ๐
๐ + 1 ) do for โ
1 , โฆ , 2 ๐ โ 1 do ( ๐ฎ , ๐ฎ โฒ ) โ ( ๐ฎ ( ๐ โ 1 , โ ) , ๐ฎ ( ๐ , 2 โข โ โ 1 ) ) ; โ ( ๐ฅ , ๐ฅ ~ ) โ get_last_two_points โข ( ๐ฎ ) [2pt] // Compute swapping threshold ๐ [1pt] ๐ , ๐ ๐ , โ โ get_swap_params( ๐ ๐ , โ , ๐ , ๐ฟ | ๐ฎ | / 2 โข 2 ๐ โ 1 ๐ โ) for ๐ 2
๐ค split โข ( ๐ฅ , ๐ฅ ) + ๐ค split โข ( ๐ฅ ~ , ๐ฅ ~ ) โ 2 โข ๐ค split โข ( ๐ฅ , ๐ฅ ~ ) [2pt] // Assign one point to each child after probabilistic swapping [1pt] ๐ผ โ ๐ค split โข ( ๐ฅ ~ , ๐ฅ ~ ) โ ๐ค split โข ( ๐ฅ , ๐ฅ ) + ฮฃ ๐ฆ โ ๐ฎ โข ( ๐ค split โข ( ๐ฆ , ๐ฅ ) โ ๐ค split โข ( ๐ฆ , ๐ฅ ~ ) ) โ 2 โข ฮฃ ๐ง โ ๐ฎ โฒ โข ( ๐ค split โข ( ๐ง , ๐ฅ ) โ ๐ค split โข ( ๐ง , ๐ฅ ~ ) ) [3pt] ( ๐ฅ , ๐ฅ ~ ) โ ( ๐ฅ ~ , ๐ฅ ) with probability min โก ( 1 , 1 2 โข ( 1 โ ๐ผ ๐ ) + ) [2pt] ๐ฎ ( ๐ , 2 โข โ โ 1 ) โข .append โข ( ๐ฅ ) ; ๐ฎ ( ๐ , 2 โข โ ) โข .append โข ( ๐ฅ ~ ) end for end for end for return ( ๐ฎ ( ๐ , โ ) ) โ
1 2 ๐ , candidate coresets of size โ ๐ / 2 ๐ โ function get_swap_params( ๐ , ๐ , ๐ฟ ): ๐ โ max โก ( ๐ โข ๐ โข 2 โข log โก ( 2 / ๐ฟ ) , ๐ 2 ) ๐ 2 โ ๐ 2 + ๐ 2 โข ( 1 + ( ๐ 2 โ 2 โข ๐ ) โข ๐ 2 / ๐ 2 ) + return ( ๐ , ๐ ) Algorithm 2 kt-split โ Divide points into candidate coresets of size โ ๐ / 2 ๐ โ Input: kernel ๐ค , point sequence ๐ฎ in
( ๐ฅ ๐ ) ๐
1 ๐ , candidate coresets ( ๐ฎ ( ๐ , โ ) ) โ
1 2 ๐ ๐ฎ ( ๐ , 0 ) โ baseline_thinning โข ( ๐ฎ in , size
โ ๐ / 2 ๐ โ ) โ// Compare to baseline (e.g., standard thinning) ๐ฎ KT โ ๐ฎ ( ๐ , โ โ ) โข for โข โ โ โ missing ๐ โข ๐ โข ๐ โข ๐ โข ๐ โข ๐ โ โ { 0 , 1 , โฆ , 2 ๐ } โข MMD ๐ค โก ( ๐ฎ in , ๐ฎ ( ๐ , โ ) ) // Select best candidate coreset // Swap out each point in ๐ฎ KT for best alternative in ๐ฎ in [1pt] for ๐
1 , โฆ , โ ๐ / 2 ๐ โ do ๐ฎ KT โข [ ๐ ] โ missing ๐ โข ๐ โข ๐ โข ๐ โข ๐ โข ๐ ๐ง โ ๐ฎ in โข MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT โข with โข ๐ฎ KT โข [ ๐ ]
๐ง ) end for return ๐ฎ KT , refined coreset of size โ ๐ / 2 ๐ โ Algorithm 3 kt-swap โ Identify and refine the best candidate coreset Appendix BProof of Thm. 1: Single function guarantees for kt-split
The proof is identical for each index โ , so, without loss of generality, we prove the result for the case โ
1 . Define
๐ฒ ~ ๐ โ ๐ฒ 1 , ๐
โ in โข ๐ค split โ โ out ( 1 ) โข ๐ค split
1 ๐ โข โ ๐ฅ โ ๐ฎ in ๐ค split โข ( ๐ฅ , โ ) โ 1 ๐ / 2 ๐ โข โ ๐ฅ โ ๐ฎ ( ๐ , 1 ) ๐ค split โข ( ๐ฅ , โ ) .
(11)
Next, we use the results about an intermediate algorithm, kernel halving (Dwivedi & Mackey, 2021, Alg. 3) that was introduced for the analysis of kernel thinning. Using the arguments from Dwivedi & Mackey (2021, Sec. 5.2), we conclude that kt-split with ๐ค split and thinning parameter ๐ , is equivalent to repeated kernel halving with kernel ๐ค split for ๐ rounds (with no Failure in any rounds of kernel halving). On this event of equivalence, denoted by โฐ equi , Dwivedi & Mackey (2021, Eqns. (50, 51)) imply that the function ๐ฒ ~ ๐ โ โ split is equal in distribution to another random function ๐ฒ ๐ , where ๐ฒ ๐ is unconditionally sub-Gaussian with parameter
๐ ๐
2 3 โข 2 ๐ ๐ โข โ ๐ค split โ โ โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) ,
(12)
that is,
๐ผ โข [ exp โก ( โจ ๐ฒ ๐ , ๐ โฉ ๐ค split ) ] โค exp โก ( 1 2 โข ๐ ๐ 2 โข โ ๐ โ ๐ค split 2 ) for all ๐ โ โ split ,
(13)
where we note that the analysis of Dwivedi & Mackey (2021) remains unaffected when we replace โ ๐ค split โ โ by โ ๐ค split โ โ , in in all the arguments. Applying the sub-Gaussian Hoeffding inequality (Wainwright, 2019, Prop. 2.5) along with 13, we obtain that
โ โข [ | โจ ๐ฒ ๐ , ๐ โฉ ๐ค split |
๐ก ] โค 2 โข exp โก ( โ 1 2 โข ๐ก 2 / ( ๐ ๐ 2 โข โ ๐ โ ๐ค split 2 ) ) โค ๐ฟ โฒ โข for โข ๐ก โ ๐ ๐ โข โ ๐ โ ๐ค split โข 2 โข log โก ( 2 ๐ฟ โฒ ) .
(14)
Call this event โฐ sg . As noted above, conditional to the event โฐ equi , we also have
๐ฒ ๐
๐ ๐ฒ ~ ๐ โน โจ ๐ฒ ๐ , ๐ โฉ ๐ค split
๐ โ in โข ๐ โ โ out ( 1 ) โข ๐ ,
(15)
where
๐ denotes equality in distribution. Furthermore, Dwivedi & Mackey (2021, Eqn. 48) implies that
โ โข ( โฐ equi ) โฅ 1 โ โ ๐
1 ๐ 2 ๐ โ 1 ๐ โข โ ๐
1 ๐ / 2 ๐ ๐ฟ ๐ .
(16)
Putting the pieces together, we have
โ โข [ | โ in โข ๐ โ โ out ( 1 ) โข ๐ | โค ๐ก ] โฅ โ โข ( โฐ equi โฉ โฐ sg ๐ ) โฅ โ โข ( โฐ equi ) โ โ โข ( โฐ sg ) โฅ 1 โ โ ๐
1 ๐ 2 ๐ โ 1 ๐ โข โ ๐
1 ๐ / 2 ๐ ๐ฟ ๐ โ ๐ฟ โฒ
๐ sg ,
(17)
as claimed. The proof is now complete.
Appendix CProof of Cor. 1: Guarantees for functions outside of โ split
Fix any index โ โ [ 2 ๐ ] , scalar ๐ฟ โฒ โ ( 0 , 1 ) , and ๐ defined on ๐ฎ in , and consider the associated vector ๐ โ โ ๐ with ๐ ๐
๐ โข ( ๐ฅ ๐ ) for each ๐ โ [ ๐ ] . We define two extended functions by appending the domain by n as follows: For any ๐ค โ ๐ , define ๐ 1 โข ( ( ๐ฅ , ๐ค ) )
๐ โข ( ๐ฅ ) and ๐ 2 โข ( ( ๐ฅ , ๐ค ) )
โจ ๐ , ๐ค โฉ (the Euclidean inner product). Then we note that these functions replicate the values of ๐ on ๐ฎ in , since ๐ 1 โข ( ( ๐ฅ ๐ , ๐ค ) )
๐ โข ( ๐ฅ ๐ ) for arbitrary ๐ค โ ๐ , and ๐ 2 โข ( ( ๐ฅ ๐ , ๐ ๐ ) )
โจ ๐ , ๐ ๐ โฉ
๐ ๐
๐ โข ( ๐ฅ ๐ ) , where ๐ ๐ denotes the ๐ -th basis vector in n. Thus we can write
โ in โข ๐ โ โ split ( โ ) โข ๐
โ in โฒ โข ๐ 1 โ โ โฒ split ( โ ) โข ๐ 1
โ in โฒ โข ๐ 2 โ โ โฒ split ( โ ) โข ๐ 2
(18)
for the extended empirical distributions โ in โฒ
1 ๐ โข โ ๐
1 ๐ ๐ฟ ๐ฅ ๐ , ๐ ๐ and โ โฒ split ( โ ) , defined analogously. Notably, any function of the form ๐ ~ โข ( ( ๐ฅ , ๐ค ) )
โจ ๐ ~ , ๐ค โฉ belongs to the RKHS of ๐ค split โฒ with
โ ๐ ~ โ ๐ค split โฒ โค โ ๐ ~ โ 2
(19)
by Berlinet & Thomas-Agnan (2011, Thm. 5).
By the repeated halving interpretation of kernel thinning (Dwivedi & Mackey, 2021, Sec. 5.2), on an event โฐ of probability at least ๐ sg + ๐ฟ โฒ we may write
โ in โฒ โข ๐ 2 โ โ โฒ split ( โ ) โข ๐ 2
โ ๐
1 ๐ โจ ๐ฒ ๐ , ๐ 2 โฉ ๐ค split โฒ
โ ๐
1 ๐ โจ ๐ฒ ๐ , ๐ 2 , ๐ โฉ ๐ค split โฒ
(20)
where ๐ฒ ๐ denotes suitable random functions in the RKHS of ๐ค split โฒ , and each ๐ 2 , ๐ โข ( ( ๐ฅ , ๐ค ) )
โจ ๐ ( ๐ ) , ๐ค โฉ for ๐ ( ๐ ) โ โ ๐ a sparsification of ๐ with at most ๐ 2 ๐ โ 1 non-zero entries that satisfy
๐ผ โข [ exp โก ( โจ ๐ฒ ๐ , ๐ 2 , ๐ โฉ ๐ค split โฒ ) โฃ ๐ฒ ๐ โ 1 ] โค exp โก ( ๐ ๐ 2 2 โข โ ๐ 2 , ๐ โ ๐ค split โฒ 2 ) โค 19 exp โก ( ๐ ๐ 2 2 โข โ ๐ ( ๐ ) โ 2 2 ) โค exp โก ( ๐ ๐ 2 2 โข ๐ 2 ๐ โ 1 โข โ ๐ โ โ , in 2 )
(21)
for ๐ฒ 0 โ 0 and
๐ ๐ 2
4 โข ( 2 ๐ โ 1 ๐ ) 2 โข โ ๐ค split โฒ โ โ , in โข log โก ( 4 โข ๐ 2 ๐ โข ๐ฟ โ ) โค 2 โ 4 ๐ ๐ 2 โข log โก ( 4 โข ๐ 2 ๐ โข ๐ฟ โ ) ,
(22)
since by definition โ ๐ค split โฒ โ โ , in โค 2 . Hence, by sub-Gaussian additivity (see, e.g., Dwivedi & Mackey, 2021, Lem. 8), โ in โข ๐ 2 โ โ split ( โ ) โข ๐ 2 is ๐ ~ 2 sub-Gaussian with
๐ ~ 2 2 โค 4 ๐ โข โ ๐ โ โ , in 2 โ โ ๐
1 ๐ 2 ๐ โข log โก ( 4 โข ๐ 2 ๐ โข ๐ฟ โ )
( ๐ ) 4 ๐ โข โ ๐ โ โ , in 2 โ 2 โข ( ( 2 ๐ โ 1 ) โข log โก ( 4 โข ๐ ๐ฟ โ ) โ ( ( 2 ๐ โ 1 ) โข ( ๐ โ 1 ) + ๐ ) โข log โก 2 )
(23)
= 4 ๐ โข โ ๐ โ โ , in 2 โ 2 โข ( ( 2 ๐ โ 1 ) โข log โก ( 4 โข ๐ โ 2 2 ๐ โข ๐ฟ โ ) โ ๐ โข log โก 2 )
(24)
โค 8 โ 2 ๐ ๐ โข โ ๐ โ โ , in 2 โ log โก ( 8 โข ๐ 2 ๐ โข ๐ฟ โ ) ,
(25)
i.e.,
๐ ~ 2 โค 2 ๐ ๐ โ โ ๐ โ โ , in โ 8 โข log โก ( 8 โข ๐ 2 ๐ โข ๐ฟ โ )
(26)
on the event โฐ , where step (i) makes use of the following expressions:
โ ๐
1 ๐ 2 ๐
2 โข ( 2 ๐ โ 1 ) and โ ๐
1 ๐ ๐ โข 2 ๐
2 โข ( ( ๐ โ 1 ) โข ( 2 ๐ โ 1 ) + ๐ ) .
(27)
Moreover, when ๐ โ โ split , we additionally have ๐ 1 in the RKHS of ๐ค split โฒ with
โ ๐ 1 โ ๐ค split โฒ โค โ ๐ โ ๐ค split โข โ ๐ค split โ โ ,
(28)
as argued in the proof of LABEL:eq:rkhs_scaling_norms. The proof of Thm. 1 then implies that โ in โฒ โข ๐ 1 โ โ โฒ split ( โ ) โข ๐ 1 is ๐ ~ 1 sub-Gaussian with
๐ ~ 1
โค โ ๐ ๐ โ ๐ค split โฒ โข 2 3 โข 2 ๐ ๐ โข โ ๐ค split โฒ โ โ , in โ log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) โค 2 ๐ ๐ โ โ ๐ โ ๐ค split โข โ ๐ค split โ โ โ 8 3 โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) ,
(29)
on the very same event โฐ .
Recalling 18 and putting the pieces together with the definitions 29 and 26, we conclude that on the event โฐ , the random variable โ in โข ๐ โ โ split ( โ ) โข ๐ is ๐ ~ sub-Gaussian for
๐ ~ โ min โก ( ๐ ~ 1 , ๐ ~ 2 ) โค 26 , 29 min โก ( ๐ 2 ๐ โข โ ๐ โ โ , in , โ ๐ โ ๐ค split โข โ ๐ค split โ โ ) โ 2 ๐ ๐ โข 8 โข log โก ( 8 โข ๐ 2 ๐ โข ๐ฟ โ ) .
(30)
The advertised high-probability bound 4 now follows from the ๐ ~ sub-Gaussianity on โฐ exactly as in the proof of Thm. 1.
Appendix DProof of Thm. 2: MMD guarantee for target KT
First, we note that by design, kt-swap ensures
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) โค MMD ๐ค โก ( ๐ฎ in , ๐ฎ ( ๐ , 1 ) ) ,
(31)
where ๐ฎ ( ๐ , 1 ) denotes the first coreset returned by kt-split. Thus it suffices to show that MMD ๐ค โก ( ๐ฎ in , ๐ฎ ( ๐ , 1 ) ) is bounded by the term stated on the right hand side of 6. Let โ out ( 1 ) โ 1 ๐ / 2 ๐ โข โ ๐ฅ โ ๐ฎ ( ๐ , 1 ) ๐น ๐ฅ . By design of kt-split, supp โข ( โ out ( 1 ) ) โ supp โข ( โ in ) . Recall the set ๐ is such that supp โข ( โ in ) โ ๐ .
Proof of 6
Let ๐ โ ๐ ๐ค , ๐ โข ( ๐ ) denote the cover of minimum cardinality satisfying 5. Fix any ๐ โ โฌ ๐ค . By the triangle inequality and the covering property 5 of ๐ , we have
| ( โ in โ โ out ( 1 ) ) โข ๐ |
โค inf ๐ โ ๐ | ( โ in โ โ out ( 1 ) ) โข ( ๐ โ ๐ ) | + | ( โ in โ โ out ( 1 ) ) โข ( ๐ ) |
(32)
โค inf ๐ โ ๐ | โ in โข ( ๐ โ ๐ ) | + | โ out ( 1 ) โข ( ๐ โ ๐ ) | + sup ๐ โ ๐ | ( โ in โ โ out ( 1 ) ) โข ( ๐ ) |
(33)
โค inf ๐ โ ๐ 2 โข sup ๐ฅ โ ๐ | ๐ โข ( ๐ฅ ) โ ๐ โข ( ๐ฅ ) | + sup ๐ โ ๐ | ( โ in โ โ out ( 1 ) ) โข ( ๐ ) |
(34)
โค 2 โข ๐ + sup ๐ โ ๐ | ( โ in โ โ out ( 1 ) ) โข ( ๐ ) | .
(35)
Applying Thm. 1, we have
| ( โ in โ โ out ( 1 ) ) โข ( ๐ ) | โค 2 ๐ ๐ โข โ ๐ โ ๐ค โข 8 3 โข โ ๐ค โ โ , in โ log โก ( 4 ๐ฟ โ ) โข log โก ( 4 ๐ฟ โฒ )
(36)
with probability at least 1 โ ๐ฟ โฒ โ โ ๐
1 ๐ 2 ๐ โ 1 ๐ โข โ ๐
1 ๐ / 2 ๐ ๐ฟ ๐
๐ sg โ ๐ฟ โฒ . A standard union bound then yields that
sup ๐ โ ๐ | ( โ in โ โ out ( 1 ) ) โข ( ๐ ) | โค 2 ๐ ๐ โข sup ๐ โ ๐ โ ๐ โ ๐ค โข 8 3 โข โ ๐ค โ โ , in โ log โก ( 4 ๐ฟ โ ) โข [ log โก | ๐ | + log โก ( 4 ๐ฟ โฒ ) ]
(37)
probability at least ๐ sg โ ๐ฟ โฒ . Since ๐ โ โฌ ๐ค was arbitrary, and ๐ โ โฌ ๐ค and thus sup ๐ โ ๐ โ ๐ โ ๐ค โค 1 , we therefore have
MMD ๐ค โก ( ๐ฎ in , ๐ฎ ( ๐ , 1 ) )
sup โ ๐ โ ๐ค โค 1 | ( โ in โ โ out ( 1 ) ) โข ๐ | โค 35 2 โข ๐ + sup ๐ โ ๐ | ( โ in โ โ out ( 1 ) ) โข ( ๐ ) |
(38)
โค 2 โข ๐ + 8 โข โ ๐ค โ โ 3 โ 2 ๐ ๐ โข log โก ( 4 ๐ฟ โ ) โข [ log โก | ๐ | + log โก ( 4 ๐ฟ โฒ ) ] ,
(39)
with probability at least ๐ sg โ ๐ฟ โฒ as claimed.
Appendix EProof of Thm. 3: MMD guarantee for power KT Definition of ๐ ~ ๐ผ and โ max
Define the ๐ค ๐ผ tail radii,
โ ๐ค ๐ผ , ๐ โ
โ min โก { ๐ : ๐ ๐ค ๐ผ โข ( ๐ ) โค โ ๐ค ๐ผ โ โ ๐ } , where ๐ ๐ค ๐ผ โข ( ๐ ) โ ( sup ๐ฅ โซ โ ๐ฆ โ 2 โฅ ๐ ๐ค ๐ผ 2 โข ( ๐ฅ , ๐ฅ โ ๐ฆ ) โข ๐ ๐ฆ ) 1 2 ,
(40)
โ ๐ค ๐ผ , ๐
โ min โก { ๐ : sup โ ๐ฅ โ ๐ฆ โ 2 โฅ ๐ | ๐ค ๐ผ โข ( ๐ฅ , ๐ฆ ) | โค โ ๐ค ๐ผ โ โ ๐ } ,
(41)
and the ๐ฎ in tail radii
โ ๐ฎ in โ max ๐ฅ โ ๐ฎ in โก โ ๐ฅ โ 2 , and โ ๐ฎ in , ๐ค ๐ผ , ๐ โ min โก ( โ ๐ฎ in , ๐ 1 + 1 ๐ โข โ ๐ค ๐ผ , ๐ + ๐ 1 ๐ โข โ ๐ค ๐ผ โ โ / ๐ฟ ๐ค ๐ผ ) .
(42)
Furthermore, define the inflation factor
๐ ๐ค ๐ผ โข ( ๐ , ๐ , ๐ , ๐ฟ , ๐ฟ โฒ , ๐ ) โ 37 โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ ) โข [ log โก ( 4 ๐ฟ โฒ ) + 5 โข ๐ โข log โก ( 2 + 2 โข ๐ฟ ๐ค ๐ผ โ ๐ค ๐ผ โ โ โข ( โ ๐ค ๐ผ , ๐ + ๐ ) ) ] ,
(43)
where ๐ฟ ๐ค ๐ผ denotes a Lipschitz constant satisfying | ๐ค ๐ผ โข ( ๐ฅ , ๐ฆ ) โ ๐ค ๐ผ โข ( ๐ฅ , ๐ง ) | โค ๐ฟ ๐ค ๐ผ โข โ ๐ฆ โ ๐ง โ 2 for all ๐ฅ , ๐ฆ , ๐ง โ โ ๐ . With the notations in place, we can define the quantities appearing in Thm. 3:
๐ ~ ๐ผ โ ๐ ๐ค ๐ผ โข ( ๐ , ๐ , ๐ , ๐ฟ โ , ๐ฟ โฒ , โ ๐ฎ in , ๐ค ๐ผ , ๐ ) and โ max โ max โก ( โ ๐ฎ in , โ ๐ค ๐ผ , ๐ / 2 ๐ โ ) .
(44)
The scaling of these two parameters depends on the tail behavior of ๐ค ๐ผ and the growth of the radii โ ๐ฎ in (which in turn would typically depend on the tail behavior of โ ). The scaling of ๐ ~ ๐ผ and โ max stated in Thm. 3 under the compactly supported or subexponential tail conditions follows directly from Dwivedi & Mackey (2021, Tab. 2, App. I).
Proof of Thm. 3
The kt-swap step ensures that
MMD ๐ค โก ( ๐ฎ in , ๐ฎ ๐ผ โข KT ) โค MMD ๐ค โก ( ๐ฎ in , ๐ฎ ๐ผ ( ๐ , 1 ) ) ,
(45)
where ๐ฎ ๐ผ ( ๐ , 1 ) denotes the first coreset output by kt-split with ๐ค split
๐ค ๐ผ . Next, we state a key interpolation result for MMD ๐ค that relates it to the MMD of its power kernels (Def. 2) (see App. G for the proof).
Proof of 10
Repeating the proof of Thm. 2 with the bound 36 replaced by 9 yields that
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT+ )
โค inf ๐ , ๐ฎ in โ ๐ 2 โข ๐ + 2 ๐ ๐ โข 16 3 โข โ ๐ค โ โ โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) โ [ log โก ( 4 ๐ฟ โฒ ) + โณ ๐ค โข ( ๐ , ๐ ) ]
(58)
โค 2 โ ๐ ยฏ targetKT โข ( ๐ค )
(59)
with probability at least ๐ sg . Let us denote this event by โฐ 1 .
To establish the other bound, first we note that kt-swap step ensures that
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT+ ) โค MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT + ( ๐ , 1 ) ) ,
(60)
where ๐ฎ KT + ( ๐ , 1 ) denotes the first coreset output by kt-split with ๐ค split
๐ค โ . Thus for this case the suitable analog of the sub-Gaussian parameter (in 12) is given by
๐ ๐
2 3 โข 2 ๐ ๐ โข โ ๐ค โ โ โ โข log โก ( 6 โข ๐ 2 ๐ โข ๐ฟ โ ) where โ ๐ค โ โ โ โค 2 .
(61)
Next we note that ๐ค ๐ผ โข ( ๐ฅ , โ ) belongs to the RKHS of ๐ค โ with
โ ๐ค ๐ผ โข ( ๐ฅ , โ ) โ ๐ค โ โค LABEL:eq:rkhs_scaling_norms โ ๐ค ๐ผ โ โ โข โ ๐ค ๐ผ โข ( ๐ฅ , โ ) โ ๐ค ๐ผ
โ ๐ค ๐ผ โ โ โข ๐ค ๐ผ โข ( ๐ฅ , ๐ฅ ) โค โ ๐ค ๐ผ โ โ .
(62)
Now we are ready to adapt the arguments from Dwivedi & Mackey (2021, Proof of Thm. 4) with โ ๐ค โ โ by replacing โ ๐ค โ โ โ (which in turn we bound by 2 ) in Dwivedi & Mackey (2021, Eqn. 35) due to 61, and replacing ๐ค , โ ๐ค โ โ by ๐ค ๐ผ , โ ๐ค ๐ผ โ โ respectively in Dwivedi & Mackey (2021, Lem. (5, 6, 7)) due to 62. Overall these substitutions imply that we can repeat the proof of Thm. 3 from App. E with โ ๐ค ๐ผ โ โ , in replaced by 2 โข โ ๐ค ๐ผ โ โ .5 Putting it together with 60, we conclude that
MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT+ )
โค ( 2 ๐ ๐ โข 2 โข โ ๐ค ๐ผ โ โ ) 1 2 โข ๐ผ โข ( 2 โข ๐ ~ ๐ค ๐ผ ) 1 โ 1 2 โข ๐ผ โข ( 2 + ( 4 โข ๐ ) ๐ / 2 ฮ โข ( ๐ 2 + 1 ) โ โ max ๐ 2 โ ๐ ~ ๐ค ๐ผ ) 1 ๐ผ โ 1
(63)
= 2 1 2 โข ๐ผ โ ๐ ยฏ powerKT โข ( ๐ค ๐ผ ) ,
(64)
with probability at least ๐ sg . Let us denote this event by โฐ 2 .
Note that the quantities on the right hand side of the bounds 59 and 64 are deterministic given ๐ฎ in and thus can be computed a priori. Consequently, we apply the high probability bound only for one of the two events โฐ 1 or โฐ 2 depending on which of the two quantities (deterministically) attains the minimum. Thus, the bound 10 holds with probability at least ๐ sg as claimed. โก
Appendix GProof of LABEL:mmd_sandwich: An interpolation result for MMD
For two arbitrary distributions โ and โ , and any reproducing kernel ๐ค , Gretton et al. (2012, Lem. 4) yields that
MMD ๐ค 2 โก ( โ , โ )
โ ( โ โ โ ) โข ๐ค โ ๐ค 2 .
(65)
Let โฑ denote the generalized Fourier transform (GFT) operator (Wendland (2004, Def. 8.9)). Since ๐ค โข ( ๐ฅ , ๐ฆ )
๐ โข ( ๐ฅ โ ๐ฆ ) , Wendland (2004, Thm. 10.21) yields that
โ ๐ โ ๐ค 2
1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ( โฑ โข ( ๐ ) โข ( ๐ ) ) 2 โฑ โข ( ๐ ) โข ( ๐ ) โข ๐ ๐ , for ๐ โ โ .
(66)
Let ๐ ^ โ โฑ โข ( ๐ ) , and consider a discrete measure ๐ป
โ ๐
1 ๐ ๐ค ๐ โข ๐น ๐ฅ ๐ supported on finitely many points, and let ๐ป โข ๐ค โข ( ๐ฅ ) โ โ ๐ค ๐ โข ๐ค โข ( ๐ฅ , ๐ฅ ๐ )
โ ๐ค ๐ โข ๐ โข ( ๐ฅ โ ๐ฅ ๐ ) . Now using the linearity of the GFT operator โฑ , we find that for any ๐ โ โ ๐ ,
โฑ ( ๐ป ๐ค ) ( ๐ )
โฑ ( โ ๐
1 ๐ ๐ค ๐ ๐ ( โ โ ๐ฅ ๐ ) )
โ ๐
1 ๐ ๐ค ๐ โฑ ( ๐ ( โ โ ๐ฅ ๐ )
( โ ๐
1 ๐ ๐ค ๐ โข ๐ โ โจ ๐ , ๐ฅ ๐ โฉ ) โ ๐ ^ โข ( ๐ )
(67)
= ๐ท ^ โข ( ๐ ) โข ๐ ^ โข ( ๐ )
(68)
where we used the time-shifting property of GFT that โฑ ( ๐ ( โ โ ๐ฅ ๐ ) ) ( ๐ )
๐ โ โจ ๐ , ๐ฅ ๐ โฉ ๐ ^ ( ๐ ) (proven for completeness in Lem. 1), and used the shorthand ๐ท ^ โข ( ๐ ) โ ( โ ๐
1 ๐ ๐ค ๐ โข ๐ โ โจ ๐ , ๐ฅ ๐ โฉ ) in the last step. Putting together 65, 66, and 68 with ๐ป
โ โ โ , we find that
MMD ๐ค 2 โก ( โ , โ )
1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ ) โข ๐ ^ โข ( ๐ ) โข ๐ ๐
(69)
= 1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ ) โข ๐ ^ ๐ผ โข ( ๐ ) โข ( ๐ ^ ๐ผ โข ( ๐ ) ) 1 โ ๐ผ ๐ผ โข ๐ ๐
(70)
= 1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ โฒ ) โข ๐ ^ ๐ผ โข ( ๐ โฒ ) โข ๐ ๐ โฒ โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ ) โข ๐ ^ ๐ผ โข ( ๐ ) โซ โ ๐ ๐ท ^ 2 โข ( ๐ โฒ ) โข ๐ ^ ๐ผ โข ( ๐ โฒ ) โข ๐ ๐ โฒ โข ( ๐ ^ ๐ผ โข ( ๐ ) ) 1 โ ๐ผ ๐ผ โข ๐ ๐
(71)
โค ( ๐ ) 1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ โฒ ) โข ๐ ^ ๐ผ โข ( ๐ โฒ ) โข ๐ ๐ โฒ โข ( โซ โ ๐ ๐ท ^ 2 โข ( ๐ ) โข ๐ ^ ๐ผ โข ( ๐ ) โซ โ ๐ ๐ท ^ 2 โข ( ๐ โฒ ) โข ๐ ^ ๐ผ โข ( ๐ โฒ ) โข ๐ ๐ โฒ โข ๐ ^ ๐ผ โข ( ๐ ) โข ๐ ๐ ) 1 โ ๐ผ ๐ผ
(72)
= 1 ( 2 โข ๐ ) ๐ / 2 โข ( โซ โ ๐ ๐ท ^ 2 โข ( ๐ โฒ ) โข ๐ ^ ๐ผ โข ( ๐ โฒ ) โข ๐ ๐ โฒ ) 2 โ 1 ๐ผ โข ( โซ โ ๐ ๐ท ^ 2 โข ( ๐ ) โข ๐ ^ 2 โข ๐ผ โข ( ๐ ) ๐ โข ๐ ) 1 โ ๐ผ ๐ผ
(73)
= ( 1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ โฒ ) โข ๐ ^ ๐ผ โข ( ๐ โฒ ) โข ๐ ๐ โฒ ) 2 โ 1 ๐ผ โข ( 1 ( 2 โข ๐ ) ๐ / 2 โข โซ โ ๐ ๐ท ^ 2 โข ( ๐ ) โข ๐ ^ 2 โข ๐ผ โข ( ๐ ) ๐ โข ๐ ) 1 โ ๐ผ ๐ผ
(74)
= ( ๐ โข ๐ ) ( MMD ๐ค ๐ผ 2 โก ( โ , โ ) ) 2 โ 1 ๐ผ โ ( MMD ๐ค 2 โข ๐ผ 2 โก ( โ , โ ) ) 1 ๐ผ โ 1 ,
(75)
where step (i) makes use of Jensenโs inequality and the fact that the function ๐ก โฆ ๐ก 1 โ ๐ผ ๐ผ for ๐ก โฅ 0 is concave for ๐ผ โ [ 1 2 , 1 ] , and step (ii) follows by applying 69 for kernels ๐ค ๐ผ and ๐ค 2 โข ๐ผ and noting that by definition โฑ โข ( ๐ค ๐ผ )
๐ ^ ๐ผ , and โฑ โข ( ๐ค 2 โข ๐ผ )
๐ ^ 2 โข ๐ผ . Noting MMD is a non-negative quantity, and taking square-root establishes the claim LABEL:eq:mmd_sandwich.
Lemma 1 (Shifting property of the generalized Fourier transform)
If ๐ ^ denotes the generalized Fourier transform (GFT) (Wendland, 2004, Def. 8.9) of the function ๐ : โ ๐ , then ๐ โ โจ โ , ๐ฅ ๐ โฉ โข ๐ ^ denotes the GFT of the shifted function ๐ ( โ โ ๐ฅ ๐ ) , for any ๐ฅ ๐ โ ๐ .
Proof
Note that by definition of the GFT ๐ ^ (Wendland, 2004, Def. 8.9), we have
โซ ๐ โข ( ๐ฅ ) โข ๐พ ^ โข ( ๐ฅ ) โข ๐ ๐ฅ
โซ ๐ ^ โข ( ๐ ) โข ๐พ โข ( ๐ ) โข ๐ ๐ ,
(76)
for all suitable Schwartz functions ๐พ (Wendland, 2004, Def. 5.17), where ๐พ ^ denotes the Fourier transform (Wendland, 2004, Def. 5.15) of ๐พ since GFT and FT coincide for these functions (as noted in the discussion after Wendland (2004, Def. 8.9)). Thus to prove the lemma, we need to verify that
โซ ๐ โข ( ๐ฅ โ ๐ฅ ๐ ) โข ๐พ ^ โข ( ๐ฅ ) โข ๐ ๐ฅ
โซ ๐ โ โจ ๐ , ๐ฅ ๐ โฉ โข ๐ ^ โข ( ๐ ) โข ๐พ โข ( ๐ ) โข ๐ ๐ ,
(77)
for all suitable Schwartz functions ๐พ . Starting with the right hand side of the display 77, we have
โซ ๐ โ โจ ๐ , ๐ฅ ๐ โฉ โข ๐ ^ โข ( ๐ ) โข ๐พ โข ( ๐ ) โข ๐ ๐
โซ ๐ ^ โข ( ๐ ) โข ( ๐ โ โจ ๐ , ๐ฅ ๐ โฉ โข ๐พ โข ( ๐ ) ) โข ๐ ๐
( ๐ ) โซ ๐ โข ( ๐ฅ ) โข ๐พ ^ โข ( ๐ฅ + ๐ฅ ๐ ) โข ๐ ๐ฅ
( ๐ โข ๐ ) โซ ๐ โข ( ๐ง โ ๐ฅ ๐ ) โข ๐พ ^ โข ( ๐ง ) โข ๐ ๐ง ,
(78)
where step (i) follows from the shifting property of the FT (Wendland, 2004, Thm. 5.16(4)), and the fact that the GFT condition 76 holds for the shifted function ๐พ ( โ + ๐ฅ ๐ ) function as well since it is still a Schwartz function (recall that ๐พ ^ is the FT), and step (ii) follows from a change of variable. We have thus established 77, and the proof is complete.
Appendix HSub-optimality of single function guarantees with root KT
Define ๐ค ~ rt as the scaled version of ๐ค rt , i.e., ๐ค ~ rt โ ๐ค rt / โ ๐ค rt โ โ that is bounded by 1 . Then Zhang & Zhao (2013, Proof of Prop. 2.3) implies that
โ ๐ โ ๐ค rt
1 โ ๐ค rt โ โ โข โ ๐ โ ๐ค ~ rt .
(79)
And thus we also have โ rt
โ ~ rt where โ rt and โ ~ rt respectively denote the RKHSs of ๐ค rt and ๐ค ~ rt .
Next, we note that for any two kernels ๐ค 1 and ๐ค 2 with corresponding RKHSs โ 1 and โ 2 with โ 1 โ โ 2 , in the convention of Zhang & Zhao (2013, Lem. 2.2, Prop. 2.3), we have
โ ๐ โ ๐ค 2 โ ๐ โ ๐ค 1 โค ๐ฝ โข ( โ 1 , โ 2 ) โค ๐ โข ( โ 1 , โ 2 ) for ๐ โ โ .
(80)
Consequently, we have
max ๐ฅ โ ๐ฎ in โก ๐ค rt โข ( ๐ฅ , ๐ฅ ) โข โ ๐ โ ๐ค rt โ ๐ โ ๐ค โค โ ๐ค rt โ โ โข โ ๐ โ ๐ค rt โ ๐ โ ๐ค
79 โ ๐ โ ๐ค ~ rt โ ๐ โ ๐ค โค ๐ โข ( โ , โ ~ rt ) ,
(81)
where in the last step, we have applied the bound 80 with ( ๐ค 1 , โ 1 ) โ ( ๐ค , โ ) and ( ๐ค 2 , โ 2 ) โ ( ๐ค ~ rt , ๐ค ~ rt ) since โ โ โ rt
๐ค ~ rt .
Next, we use 81 to the kernels studied in Dwivedi & Mackey (2021) where we note that all the kernels in that work were scaled to ensure โ ๐ค โ โ
1 and in fact satisfied ๐ค โข ( ๐ฅ , ๐ฅ )
1 . Consequently, the multiplicative factor stated in the discussion after Thm. 1, namely, โ ๐ค rt โ โ , in โ ๐ค โ โ , in โข โ ๐ โ ๐ค rt โ ๐ โ ๐ค can be bounded by ๐ โข ( โ , โ ~ rt ) given the arguments above.
For ๐ค
Gauss โข ( ๐ ) kernels, Zhang & Zhao (2013, Prop. 3.5(1)) yields that
๐ โข ( โ , โ ~ rt )
2 ๐ / 2 .
(82)
For ๐ค
B-spline โข ( 2 โข ๐ฝ + 1 , ๐พ ) with ๐ฝ โ 2 โข โ + 1 , Zhang & Zhao (2013, Prop. 3.5(1)) yields that
๐ โข ( โ , โ ~ rt )
1 .
(83)
For ๐ค
Matรฉrn ( ๐ , ๐พ ) with ๐
๐ , some algebra along with Zhang & Zhao (2013, Prop 3.1) yields that
๐ โข ( โ , โ ~ rt )
ฮ โข ( ๐ ) โข ฮ โข ( ( ๐ โ ๐ ) / 2 ) ฮ โข ( ๐ โ ๐ / 2 ) โข ฮ โข ( ๐ / 2 ) โฅ 1 .
(84) Appendix IAdditional experimental results
This section provides additional experimental details and results deferred from Sec. 4.
Common settings and error computation To obtain an output coreset of size ๐ 1 2 with ๐ input points, we (a) take every ๐ 1 2 -th point for standard thinning (ST) and (b) run KT with ๐
1 2 โข log 2 โก ๐ using an ST coreset as the base coreset in kt-swap. For Gaussian and MoG target we use i.i.d. points as input, and for MCMC targets we use an ST coreset after burn-in as the input (see App. I for more details). We compute errors with respect to โ whenever available in closed form and otherwise use โ in . For each input sample size ๐ โ { 2 4 , 2 6 , โฆ , 2 14 } with ๐ฟ ๐
1 2 โข ๐ , we report the mean MMD or function integration error ยฑ 1 standard error across 10 independent replications of the experiment (the standard errors are too small to be visible in all experiments). We also plot the ordinary least squares fit (for log mean error vs log coreset size), with the slope of the fit denoted as the empirical decay rate, e.g., for an OLS fit with slope โ 0.25 , we display the decay rate of ๐ โ 0.25 .
Details of test functions We note the following: (a) For Gaussian targets, the error with CIF function and i.i.d. input is measured across the sample mean over the ๐ input points and ๐ output points obtained by standard thinning the input sequence, since โ โข ๐ CIF does not admit a closed form. (b) To define the function ๐ : ๐ฅ โฆ ๐ค โข ( ๐ โฒ , ๐ฅ ) , first we draw a sample ๐ โผ โ , independent of the input, and then set ๐ โฒ
2 โข ๐ . For the MCMC targets, we draw a point uniformly from a held out data point not used as input for KT. For each target, the sample is drawn exactly once and then fixed throughout all sample sizes and repetions.
I.1Mixture of Gaussians Experiments
Our mixture of Gaussians target is given by โ
1 ๐ โข โ ๐
1 ๐ ๐ฉ โข ( ๐ ๐ , ๐ ๐ ) for ๐ โ { 4 , 6 , 8 } where
๐ 1
[ โ 3 , 3 ] โค , ๐ 2
[ โ 3 , 3 ] โค , ๐ 3
[ โ 3 , โ 3 ] โค , ๐ 4
[ 3 , โ 3 ] โค ,
(85)
๐ 5
[ 0 , 6 ] โค , ๐ 6
[ โ 6 , 0 ] โค , ๐ 7
[ 6 , 0 ] โค , ๐ 8
[ 0 , โ 6 ] โค .
(86)
Two independent replicates of Fig. 1 can be found in Sec. 2.3. Finally,we display mean MMD ( ยฑ 1 standard error across ten independent experiment replicates) as a function of coreset size in Sec. 2.3 for ๐
4 , 6 component MoG targets. The conclusions from Sec. 2.3 are identical to those from the bottom row of Fig. 1: target KT and root KT provide similar MMD errors with Gauss ๐ค , and all variants of KT provide a significant improvement over i.i.d. sampling both in terms of magnitude and decay rate with input size. Morever the observed decay rates for KT+ closely match the rates guaranteed by our theory in Tab. 3.
Figure 4:Generalized kernel thinning (KT) and i.i.d. coresets for various kernels ๐ค (in parentheses) and an 8-component mixture of Gaussian target โ with equidensity contours underlaid. These plots are independent replicates of Fig. 1. See Sec. 4 for more details. Figure 5:Kernel thinning versus i.i.d. sampling. For mixture of Gaussians โ with ๐ โ { 4 , 6 } components and the kernel choices of Sec. 4, the target KT with Gauss ๐ค provides comparable MMD ๐ค โก ( โ , โ out ) error to the root KT, and both provide an ๐ โ 1 2 decay rate improving significantly over the ๐ โ 1 4 decay rate from i.i.d. sampling. For the other kernels, KT+ provides a decay rate close to ๐ โ 1 2 for IMQ and B-spline ๐ค , and ๐ โ 0.35 for Laplace ๐ค . See Sec. 4 for further discussion. I.2MCMC experiments
Our set-up for MCMC experiments follows closely that of Dwivedi & Mackey (2021). For complete details on the targets and sampling algorithms we refer the reader to Riabiz et al. (2020a, Sec. 4).
Goodwin and Lotka-Volterra experiments
From Riabiz et al. (2020b), we use the output of four distinct MCMC procedures targeting each of two ๐
4 -dimensional posterior distributions โ : (1) a posterior over the parameters of the Goodwin model of oscillatory enzymatic control (Goodwin, 1965) and (2) a posterior over the parameters of the Lotka-Volterra model of oscillatory predator-prey evolution (Lotka, 1925; Volterra, 1926). For each of these targets, Riabiz et al. (2020b) provide 2 ร 10 6 sample points from the following four MCMC algorithms: Gaussian random walk (RW), adaptive Gaussian random walk (adaRW, Haario et al., 1999), Metropolis-adjusted Langevin algorithm (MALA, Roberts & Tweedie, 1996), and pre-conditioned MALA (pMALA, Girolami & Calderhead, 2011).
Hinch experiments
Riabiz et al. (2020b) also provide the output of two independent Gaussian random walk MCMC chains targeting each of two ๐
38 -dimensional posterior distributions โ : (1) a posterior over the parameters of the Hinch model of calcium signalling in cardiac cells (Hinch et al., 2004) and (2) a tempered version of the same posterior, as defined by Riabiz et al. (2020a, App. S5.4).
Burn-in and standard thinning We discard the initial burn-in points of each chain using the maximum burn-in period reported in Riabiz et al. (2020a, Tabs. S4 & S6, App. S5.4). Furthermore, we also normalize each Hinch chain by subtracting the post-burn-in sample mean and dividing each coordinate by its post-burn-in sample standard deviation. To obtain an input sequence ๐ฎ in of length ๐ to be fed into a thinning algorithm, we downsample the remaining even indices of points using standard thinning (odd indices are held out). When applying standard thinning to any Markov chain output, we adopt the convention of keeping the final sample point.
The selected burn-in periods for the Goodwin task were 820,000 for RW; 824,000 for adaRW; 1,615,000 for MALA; and 1,475,000 for pMALA. The respective numbers for the Lotka-Volterra task were 1,512,000 for RW; 1,797,000 for adaRW; 1,573,000 for MALA; and 1,251,000 for pMALA.
Additional remarks on Fig. 3 When a Markov chain is fast mixing (as in the Goodwin and Lotka-Volterra examples), we expect standard thinning to have ฮฉ โข ( ๐ โ 1 4 ) error. However, when the chain is slow mixing, standard thinning can enjoy a faster rate of decay due to a certain degeneracy of the chain that leads it to lie close to a one-dimensional curve. In the Hinch figures, we observe these better-than-i.i.d. rates of decay for standard thinning, but, remarkably, KT+ still offers improvements in both MMD and integration error. Moreover, in this setting, every additional point discarded via improved compression translates into thousands of CPU hours saved in downstream heart-model simulations.
Figure 6:Kernel thinning+ (KT+) vs. standard MCMC thinning (ST). For kernels without fast-decaying square-roots, KT+ improves MMD and integration error decay rates in each posterior inference task. Appendix JUpper bounds on RKHS covering numbers
In this section, we state several results on covering bounds for RKHSes for both generic and specific kernels. We then use these bounds with Thm. 2 (or Sec. 2.3) to establish MMD guarantees for the output of generalized kernel thinning as summarized in Tab. 3.
We first state covering number bounds for RKHS associated with generic kernels, that are either (a) analytic, or (b) finitely many times differentiable. These results follow essentially from Sun & Zhou (2008); Steinwart & Christmann (2008), but we provide a proof in Sec. J.2 for completeness.
Proposition 2 (Covering numbers for analytic and differentiable kernels)
The following results hold true.
(a)
Analytic kernels: Suppose that ๐ค โข ( ๐ฅ , ๐ฆ )
๐ โข ( โ ๐ฅ โ ๐ฆ โ 2 2 ) for ๐ : โ + real-analytic with convergence radius ๐ ๐ , that is,
| 1 ๐ ! โข ๐ + ( ๐ ) โข ( 0 ) | โค ๐ถ ๐ โข ( 2 / ๐ ๐ ) ๐ for all ๐ โ โ 0
(87)
for some constant ๐ถ ๐ , where ๐ + ( ๐ ) denotes the right-sided ๐ -th derivative of ๐ . Then for any set ๐ โ โ ๐ and any ๐ โ ( 0 , 1 2 ) , we have
โณ ๐ค โข ( ๐ , ๐ )
โค ๐ฉ 2 โข ( ๐ , ๐ โ / 2 ) โ ( 4 โข log โก ( 1 / ๐ ) + 2 + 4 โข log โก ( 16 โข ๐ถ ๐ + 1 ) ) ๐ + 1 ,
(88)
where โข ๐ โ
โ min โก ( ๐ ๐ 2 โข ๐ , ๐ ๐ + ๐ท ๐ 2 โ ๐ท ๐ ) , and โข ๐ท ๐ โ max ๐ฅ , ๐ฆ โ ๐ โก โ ๐ฅ โ ๐ฆ โ 2 .
(89) (b)
Differentiable kernels: Suppose that for ๐ณ โ โ ๐ , the kernel ๐ค : ๐ณ ร ๐ณ โ is ๐ -times continuously differentiable, i.e., all partial derivatives โ ๐ผ , ๐ผ ๐ค : ๐ณ ร ๐ณ โ exist and are continuous for all multi-indices ๐ผ โ โ 0 ๐ with | ๐ผ | โค ๐ . Then, for any closed Euclidean ball โฌ ยฏ 2 โข ( ๐ ) contained in ๐ณ and any ๐
0 , we have
โณ ๐ค โข ( โฌ ยฏ 2 โข ( ๐ ) , ๐ ) โค ๐ ๐ , ๐ , ๐ค โ ๐ ๐ โ ( 1 / ๐ ) ๐ / ๐ ,
(90)
for some constant ๐ ๐ , ๐ , ๐ค that depends only on on ๐ , ๐ and ๐ค .
Next, we state several explicit bounds on covering numbers for several popular kernels. See Sec. J.3 for the proof.
Next, we state results that relate RKHS covering numbers for a change of domain for a shift-invariant kernel. We use โฌ โฅ โ โฅ ( ๐ฅ ; ๐ ) โ { ๐ฆ โ : ๐ โฅ ๐ฅ โ ๐ฆ โฅ โค ๐ } to denote the ๐ radius ball in โ ๐ defined by the metric induced by a norm โฅ โ โฅ .
Definition 4 (Euclidean covering numbers)
Given a set ๐ณ โ โ ๐ , a norm โฅ โ โฅ , and a scalar ๐
0 , we use ๐ฉ โฅ โ โฅ โข ( ๐ณ , ๐ ) to denote the ๐ -covering number of ๐ณ with respect to โฅ โ โฅ -norm. That is, ๐ฉ โฅ โ โฅ โข ( ๐ณ , ๐ ) denotes the minimum cardinality over all possible covers ๐ โ ๐ณ that satisfy
๐ณ โ โช ๐ง โ ๐ โฌ โฅ โ โฅ โข ( ๐ง ; ๐ ) .
(104)
When โฅ โ โฅ
โฅ โ โฅ ๐ for some ๐ โ [ 1 , โ ] , we use the shorthand ๐ฉ ๐ โ ๐ฉ โฅ โ โฅ ๐ .
Lemma 4 (Covering number for shift-invariant kernels with compactly supported spectral density)
Suppose ๐ : โ ๐ โ โ denotes the Fourier transform
๐ โข ( ๐ง )
1 ( 2 โข ๐ ) ๐ โข โซ ๐ ๐ ^ โข ( ๐ ) โข ๐ โ ๐ โข ๐ง โข ๐ โข ๐ ๐
(108)
of a bounded nonnegative function ๐ ^ supported on [ โ ๐ , ๐ ] ๐ for a finite ๐ > 0 . Then the shift-invariant kernel ๐ค โข ( ๐ฅ , ๐ฆ )
๐ โข ( ๐ฅ โ ๐ฆ ) satisfies
โณ ๐ค โข ( [ 0 , 1 ] ๐ , ๐ )
โค 2 โข ๐ โข log โก 2 โ ( ๐ ๐ , ๐ , ๐ + 1 ) ๐ โข ( ๐ ๐ , ๐ , ๐ + log โก ( 16 โข ๐ โข ( 0 ) ๐ ) )
(109)
where ๐ ๐ , ๐ , ๐
โ max โก { 1 , โ 2 โข ๐ โ , log โก ( ( 3 โข ๐ 2 โข ๐ ) ๐ โ 32 โข ๐ โข โ ๐ ^ โ โ 3 โข ๐ 2 ) } .
(110) Proof
Our proof makes use of Zhou (2002, Thm. 2).7 In that result, the author bounds the external covering number of the balls { ๐ โ โ : โ ๐ โ ๐ค โค ๐ } in RKHS using centers from the class of continuous functions in โฅ โ โฅ โ -norm. Notably, given an ๐ -cover ๐
{ ๐ 1 , โฆ , ๐ ๐ } of smallest size that comprises of continuous functions for the unit RKHS ball โฌ ๐ค , we can immediately identify an internal 2 โข ๐ -cover { ๐ 1 , ๐ 2 , โฆ , ๐ ๐ } with ๐ ๐ โ โฌ ๐ค for each ๐ โ [ ๐ ] . To see this claim, for each ๐ ๐ โ ๐ , choose an arbitrary ๐ ๐ โ โฌ ๐ค in the ๐ -ball centered around ๐ ๐ . Note that such a ๐ ๐ exists since ๐ is a cover of smallest size. Now for any ๐ โ โฌ ๐ค , there exists an ๐ ๐ โ ๐ such that โ ๐ โ ๐ ๐ โ โ โค ๐ by the definition of cover, and consequently โ ๐ โ ๐ ๐ โ โ โค โ ๐ โ ๐ ๐ โ โ + โ ๐ ๐ โ ๐ ๐ โ โ โค 2 โข ๐ by triangle inequality and the definition of ๐ ๐ . Our claim then follows.
Using this claim and substituting ๐ โ ๐ , ๐ โ 1 , and ๐ โ ๐ / 2 in Zhou (2002, Thm. 1) we find that the righthand side of Zhou (2002, (4.5)) is a valid upper bound on โณ ๐ค โข ( [ 0 , 1 ] ๐ , ๐ ) in our notation:
โณ ๐ค โข ( [ 0 , 1 ] ๐ , ๐ )
โค ( ๐ + 1 ) ๐ โข log โก [ 8 โข ๐ โข ( 0 ) โข ( ๐ + 1 ) ๐ / 2 โข ( ๐ โข 2 ๐ ) ๐ โข 2 ๐ ]
(111)
โค ( ๐ + 1 ) ๐ + 1 โ ๐ โข log โก 2 + ( ๐ + 1 ) ๐ โข [ 3 โข ๐ 2 โข log โก ( ๐ + 1 ) + log โก ( 16 โข ๐ โข ( 0 ) ๐ ) ]
(112)
โค ( ๐ ) 2 โข ๐ โข log โก 2 โ ( ๐ + 1 ) ๐ + 1 + ( ๐ + 1 ) ๐ โข log โก ( 16 โข ๐ โข ( 0 ) ๐ ) ,
(113)
for any positive integer ๐ satisfying ๐ ๐ โข ( ๐ ) โค ( ( ๐ / 2 ) ( 2 โ 1 ) ) 2
๐ 2 16 , where
๐ ๐ โข ( ๐ )
โ ๐ โข ( 1 + 2 โ ๐ ) ๐ โ 1 ( 2 โข ๐ ) ๐ โข max ๐ โ [ ๐ ] โข โซ ๐ โ [ โ ๐ / 2 , ๐ / 2 ] ๐ ๐ ^ โข ( ๐ ) โข | ๐ ๐ | ๐ ๐ ๐ โข ๐ ๐
(114)
- ( 1
- ( ๐ โข 2 ๐ ) ๐ ) 2 ( 2 โข ๐ ) ๐ โข โซ ๐ โ [ โ ๐ / 2 , ๐ / 2 ] ๐ ๐ ^ โข ( ๐ ) โข ๐ ๐ .
(115)
In the display 113, step (i) follows from the fact that 3 โข log โก ๐ฅ โค 2 โข ๐ฅ โข log โก 2 for all ๐ฅ โฅ 2 and ๐ + 1 โฅ 2 .
Now for any ๐ โฅ โ 2 โข ๐ โ , the second term in the display 115 is zero. For any such ๐ , we find that
max ๐ โ [ ๐ ] โข โซ ๐ โ [ โ ๐ / 2 , ๐ / 2 ] ๐ ๐ ^ โข ( ๐ ) โข | ๐ ๐ | ๐ ๐ ๐ โข ๐ ๐
max ๐ โ [ ๐ ] โข โซ ๐ โ [ โ ๐ , ๐ ] ๐ ๐ ^ โข ( ๐ ) โข | ๐ ๐ | ๐ ๐ ๐ โข ๐ ๐
(116)
โค โ ๐ ^ โ โ ๐ ๐ โ โซ ๐ โ [ โ ๐ , ๐ ] ๐ | ๐ 1 | ๐ ๐ ๐ โข ๐ ๐
(117)
= โ ๐ ^ โ โ โข ( 2 โข ๐ ) ๐ โ 1 ๐ ๐ โ โซ ๐ 1 โ [ โ ๐ , ๐ ] | ๐ 1 | ๐ โข ๐ ๐ 1
(118)
= โ ๐ ^ โ โ โข ( 2 โข ๐ ) ๐ โ 1 ๐ ๐ โ 2 โข ๐ ๐ + 1 ๐ + 1
(119)
= โ ๐ ^ โ โ โข 2 ๐ โข ๐ ๐ + ๐ ๐ ๐ + 1 โ ( 1 + ๐ โ 1 ) โ 1 .
(120)
Now to achieve,
๐ ๐ โข ( ๐ ) โค ๐ โข ( 1 + 2 โ ๐ ) ๐ โ 1 ( 2 โข ๐ ) ๐ โ โ ๐ ^ โ โ โข 2 ๐ โข ๐ ๐ + ๐ ๐ ๐ + 1 โ ( 1 + ๐ โ 1 ) โ 1 โค ๐ 2 16 ,
(121)
noting that for any ๐ โฅ 1 โจ โ 2 โข ๐ โ ,
๐ โข ( 1 + 2 โ ๐ ) ๐ โ 1 ( 2 โข ๐ ) ๐ โ โ ๐ ^ โ โ โข 2 ๐ โข ๐ ๐ + ๐ ๐ ๐ + 1 โ ( 1 + ๐ โ 1 ) โ 1 โค 2 โข ๐ โข โ ๐ ^ โ โ 3 โข ( ๐ โข ( 1 + 2 โ ๐ ) / ๐ ) ๐ ( ๐ / ๐ ) ๐ ,
(122)
it suffices to choose
๐ ๐ โข log โก ( ๐ ๐ ) โฅ 1 ๐ โข log โก ( ( 3 โข ๐ 2 โข ๐ ) ๐ โ 32 โข ๐ โข โ ๐ ^ โ โ 3 โข ๐ 2 ) ,
(123)
for which it suffices to choose
๐ โฅ 1 โจ โ 2 โข ๐ โ โจ ( log โก ( ( 3 โข ๐ 2 โข ๐ ) ๐ โ 32 โข ๐ โข โ ๐ ^ โ โ 3 โข ๐ 2 ) ) .
(124)
Substituting the choice 124 into 113 yields the claimed bound in 109.
Lemma 5 (Relation between Euclidean covering numbers)
We have
๐ฉ โ โข ( โฌ 2 โข ( ๐ ) , 1 ) โค 1 ๐ โข ๐ โ [ ( 1 + 2 โข ๐ ๐ ) โข 2 โข ๐ โข ๐ ] ๐ for all ๐ โฅ 1 .
(125) Proof
We apply Wainwright (2019, Lem. 5.7) with โฌ
โฌ 2 โข ( ๐ ) and โฌ โฒ
โฌ โ โข ( 1 ) to conclude that
๐ฉ โ โข ( โฌ 2 โข ( ๐ ) , 1 ) โค Vol โข ( 2 โข โฌ 2 โข ( ๐ ) + โฌ โ โข ( 1 ) ) Vol โข ( โฌ โ โข ( 1 ) ) โค Vol โข ( โฌ 2 โข ( 2 โข ๐ + ๐ ) ) โค ๐ ๐ / 2 ฮ โข ( ๐ 2 + 1 ) โ ( 2 โข ๐ + ๐ ) ๐ ,
(126)
where Vol โข ( ๐ณ ) denotes the ๐ -dimensional Euclidean volume of ๐ณ โ โ ๐ , and ฮ โข ( ๐ ) denotes the Gamma function. Next, we apply the following bounds on the Gamma function from Batir (2017, Thm. 2.2):
ฮ โข ( ๐ + 1 ) โฅ ( ๐ / ๐ ) ๐ โข 2 โข ๐ โข ๐ โข for any โข ๐ โฅ 1 , and ฮ โข ( ๐ + 1 ) โค ( ๐ / ๐ ) ๐ โข ๐ 2 โข ๐ โข for any โข ๐ โฅ 1.1 .
(127)
Thus, we have
๐ฉ โ โข ( โฌ 2 โข ( ๐ ) , 1 ) โค ๐ ๐ / 2 2 โข ๐ โข ๐ โข ( ๐ 2 โข ๐ ) ๐ / 2 โ ( 2 โข ๐ + ๐ ) ๐ โค 1 ๐ โข ๐ โ [ ( 1 + 2 โข ๐ ๐ ) โข 2 โข ๐ โข ๐ ] ๐ ,
(128)
as claimed, and we are done.
J.2Proof of Prop. 2: Covering numbers for analytic and differentiable kernels
First we apply LABEL:rkhs_cover_restriction_domain so that it remains to establish the stated bounds simply on log โก ๐ฉ ๐ค โ โข ( ๐ณ , ๐ ) .
Proof of bound 88 in part (a)
The bound 88 for the real-analytic kernel is a restatement of Sun & Zhou (2008, Thm. 2) in our notation (in particular, after making the following substitutions in their notation: ๐ โ 1 , ๐ถ 0 โ ๐ถ ๐ , ๐ โ ๐ ๐ , ๐ณ โ ๐ , ๐ ~ โ ๐ โ , ๐ โ ๐ , ๐ท โ ๐ท ๐ 2 , ๐ โ ๐ ). โก
Proof of bound 90 for part (b):
Under these assumptions, Steinwart & Christmann (2008, Thm. 6.26) states that the ๐ -th dyadic entropy number Steinwart & Christmann (2008, Def. 6.20) of the identity inclusion mapping from โ | โฌ ยฏ 2 โข ( ๐ ) to ๐ฟ โฌ ยฏ 2 โข ( ๐ ) โ is bounded by ๐ ๐ , ๐ , ๐ค โฒ โ ๐ ๐ โข ๐ โ ๐ / ๐ for some constant ๐ ๐ , ๐ , ๐ค โฒ independent of ๐ and ๐ . Given this bound on the entropy number, and applying Steinwart & Christmann (2008, Lem. 6.21), we conclude that the log-covering number log โก ๐ฉ ๐ค โ โข ( โฌ ยฏ 2 โข ( ๐ ) , ๐ ) is bounded by ln โก 4 โ ( ๐ ๐ , ๐ , ๐ค โฒ โข ๐ ๐ / ๐ ) ๐ / ๐
๐ ๐ , ๐ , ๐ค โข ๐ ๐ โ ( 1 / ๐ ) ๐ / ๐ as claimed. โก
J.3Proof of LABEL:rkhs_covering_numbers: Covering numbers for specific kernels
First we apply LABEL:rkhs_cover_restriction_domain so that it remains to establish the stated bounds in each part on the corresponding log โก ๐ฉ ๐ค .
Proof for Gauss kernel: Part LABEL:item:gauss_cover
The bound LABEL:eq:gauss_cover for the Gaussian kernel follows directly from Steinwart & Fischer (2021, Eqn. 11) along with the discussion stated just before it. Furthermore, the bound LABEL:eq:gauss_const for ๐ถ Gauss , ๐ are established in Steinwart & Fischer (2021, Eqn. 6), and in the discussion around it. โก
Proof for Matรฉrn kernel: Part LABEL:item:matern_kernel
We claim that Matรฉrn โข ( ๐ , ๐พ ) is โ ๐ โ ๐ 2 โ -times continuously differentiable which immediately implies the bound LABEL:eq:matern_cover using Prop. 2(b).
To prove the differentiability, we use Fourier transform of Matรฉrn kernels. For ๐ค
Matรฉrn โข ( ๐ , ๐พ ) , let ๐ : โ ๐ denote the function such that noting that ๐ค โข ( ๐ฅ , ๐ฆ )
๐ โข ( ๐ฅ โ ๐ฆ ) . Then using the Fourier transform of ๐ from Wendland (2004, Thm 8.15), and noting that ๐ is real-valued, we can write
๐ค โข ( ๐ฅ , ๐ฆ )
๐ ๐ค , ๐ โข โซ cos โก ( ๐ โค โข ( ๐ฅ โ ๐ฆ ) ) โข ( ๐พ 2 + โ ๐ โ 2 2 ) โ ๐ โข ๐ ๐
(129)
for some constant ๐ ๐ค , ๐ depending only on the kernel parameter, and ๐ (due to the normalization of the kernel, and the Fourier transform convention). Next, for any multi-index ๐ โ โ 0 ๐ , we have
| โ ๐ , ๐ cos โก ( ๐ โค โข ( ๐ฅ โ ๐ฆ ) ) โข ( ๐พ 2 + โ ๐ โ 2 2 ) โ ๐ | โค โ ๐
1 ๐ ๐ ๐ 2 โข ๐ ๐ โข ( ๐พ 2 + โ ๐ โ 2 2 ) โ ๐ โค โ ๐ โ 2 2 โข โ ๐
1 ๐ ๐ ๐ ( ๐พ 2 + โ ๐ โ 2 2 ) ๐ ,
(130)
where โ ๐ , ๐ denotes the partial derivative of order ๐ . Moreover, we have
โซ โ ๐ โ 2 2 โข โ ๐
1 ๐ ๐ ๐ ( ๐พ 2 + โ ๐ โ 2 2 ) ๐ โข ๐ ๐
๐ ๐ โข โซ ๐ > 0 ๐ ๐ โ 1 โข ๐ 2 โข โ ๐
1 ๐ ๐ ๐ ( ๐พ 2 + ๐ 2 ) ๐ โข ๐ ๐ โค ๐ ๐ โข โซ ๐ > 0 ๐ ๐ โ 1 + 2 โข โ ๐
1 ๐ ๐ ๐ โ 2 โข ๐ < ( ๐ ) โ ,
(131)
where step (i) holds whenever
๐ โ 1 + 2 โข โ ๐
1 ๐ ๐ ๐ โ 2 โข ๐ < โ 1 โบ โ ๐
1 ๐ ๐ ๐ < ๐ โ ๐ 2 .
(132)
Then applying Newey & McFadden (1994, Lemma 3.6), we conclude that for all multi-indices ๐ such that โ ๐
1 ๐ ๐ ๐ โค โ ๐ โ ๐ 2 โ , the partial derivative โ ๐ , ๐ ๐ค exists and is given by
๐ ๐ค , ๐ โข โซ โ ๐ , ๐ cos โก ( ๐ โค โข ( ๐ฅ โ ๐ฆ ) ) โข ( ๐พ 2 + โ ๐ โ 2 2 ) โ ๐ โข ๐ โข ๐ ,
(133)
and we are done. โก
Proof for IMQ kernel: Part LABEL:item:imq_cover
The bounds LABEL:eq:imq_cover and LABEL:eq:imq_const follow from Sun & Zhou (2008, Ex. 3), and noting that ๐ฉ 2 โข ( โฌ 2 โข ( ๐ ) , ๐ ~ / 2 ) is bounded by ( 1 + 4 โข ๐ ๐ ~ ) ๐ (Wainwright, 2019, Lem. 5.7). โก
Proof for sinc kernel: Part LABEL:item:sinc_cover
Note that
1 2 โข ๐ โข โซ ๐ โข ( | ๐ | โค ๐ ) โข ๐ โ ๐ โข ๐ง โข ๐ โข ๐ ๐
1 2 โข ๐ โข โซ โ ๐ ๐ cos โก ( ๐ง โข ๐ ) โข ๐ ๐
1 2 โข ๐ โข 2 โข sin โก ( ๐ โข ๐ง ) ๐ง
๐ ๐ โข sinc โข ( ๐ โข ๐ง ) .
(134)
and hence ๐ โข ( ๐ง )
โ ๐
1 ๐ sinc โข ( ๐ โข ๐ง ๐ ) is the Fourier transform (see Lem. 4) of
๐ ^ โข ( ๐ )
( ๐ ๐ ) ๐ โข โ ๐
1 ๐ ๐ โข ( | ๐ ๐ | โค ๐ ) .
(135)
Now we can apply Lem. 4 with ๐
๐ and โ ๐ ^ โ โ
( ๐ ๐ ) ๐ , to obtain
๐ ๐ , ๐ , ๐
max โก { 1 , โ 2 โข ๐ โ , log โก ( ( 3 โข ๐ 2 โข ๐ ) ๐ โ 32 โข ๐ 3 โข ๐ 2 โ ๐ ๐ ๐ ๐ ) }
max โก { 1 , โ 2 โข ๐ โ , log โก ( ( 3 2 ) ๐ โ 32 โข ๐ 3 โข ๐ 2 ) } .
(136)
Now that for ๐ฅ , ๐ฆ โ [ โ ๐ , ๐ ] ๐ , we can define vectors ๐ฅ โฒ and ๐ฆ โฒ in [ 0 , 1 ] ๐ with ๐ฅ ๐ โฒ
( ๐ฅ ๐ + ๐ ) / 2 โข ๐ and ๐ฆ ๐ โฒ โ ( ๐ฆ ๐ + ๐ ) / ( 2 โข ๐ ) for each ๐ โ [ ๐ ] such that
sinc โข ( ๐ โข ( ๐ฅ โ ๐ฆ ) )
sinc โข ( ๐ โข ๐ โข ( ๐ฅ โฒ โ ๐ฆ โฒ ) ) .
(137)
And hence for ๐ค โข ( ๐ฅ , ๐ฆ )
sinc โข ( ๐ โข ( ๐ฅ โ ๐ฆ ) ) , we can consider ๐ค โฒ โข ( ๐ฅ , ๐ฆ )
sinc โข ( ๐ โข ๐ โข ( ๐ฅ โ ๐ฆ ) ) so that โณ ๐ค โข ( [ โ ๐ , ๐ ] ๐ , ๐ )
โณ ๐ค โฒ โข ( [ 0 , 1 ] ๐ , ๐ ) . Substituting ๐ โ ๐ โข ๐ into the definition of ๐ ๐ , ๐ , ๐ above and invoking the bound 109 from Lem. 4 implies the desired claim. โก
Proof for B-spline kernel: Part LABEL:item:spline_kernel
The analytical expression for the 2 โข ๐ฝ + 2 -recursive convolution of ๐ [ โ 1 2 , 1 2 ] from Dwivedi & Mackey (2021, App. O.4.1) shows that the function โ ๐ฝ : โ [ 0 , 1 ] can be represented as a linear combination of functions ๐ฅ โฆ max ( ๐ + ๐ฅ , 0 ) 2 โข ๐ฝ + 1 for multiple different thresholds ๐ and consequently that โ ๐ฝ is continuously differentiable 2 โข ๐ฝ times on . Hence ๐ค โข ( ๐ฅ , ๐ฆ )
๐ โข ( ๐ฅ โ ๐ฆ ) for ๐ โข ( ๐ง )
๐ 2 โข ๐ฝ + 2 โ ๐ โข โ ๐
1 ๐ โ ๐ฝ โข ( ๐พ โข ๐ง ๐ ) is ๐ฝ -times continuously differentiable since for all multi-indices ๐ผ 1 , ๐ผ 2 โ โ 0 ๐ , we have โ | ๐ผ 1 | + | ๐ผ 2 | โ ๐ผ 1 ๐ฅ โข โ ๐ผ 2 ๐ฆ โข ๐ค โข ( ๐ฅ , ๐ฆ )
( โ 1 ) | ๐ผ 2 | โข ( โ | ๐ผ 1 | + | ๐ผ 2 | โ ๐ผ 1 + ๐ผ 2 ๐ง โข ๐ ) โข ( ๐ฅ โ ๐ฆ ) . As a result, B-spline โข ( 2 โข ๐ฝ + 1 , ๐พ ) satisfies the conditions of Prop. 2(b) with ๐
๐ฝ yielding the claim. โก
Appendix KProof of Tab. 3 results
In Tab. 3, the stated results for all the entries in the target KT column follow directly by substituting the covering number bounds from LABEL:rkhs_covering_numbers in the corresponding entry along with the stated radii growth conditions for the target โ . (We substitute ๐
1 2 โข log 2 โก ๐ since we thin to ๐ output size.) For the KT+ column, the stated result follows by either taking the minimum of the first two columns (whenever the root KT guarantee applies) or using the power KT guarantee. First we remark how to always ensure a rate of at least ๐ช โข ( ๐ โ 1 4 ) even when the guarantee from our theorems are larger, using a suitable baseline procedure and then proceed with our proofs.
Remark 2 (Improvement over baseline thinning)
First we note that the kt-swap step ensures that, deterministically, MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) โค MMD ๐ค โก ( ๐ฎ in , ๐ฎ base ) and MMD ๐ค โก ( โ , ๐ฎ KT ) โค 2 โข MMD ๐ค โก ( โ , ๐ฎ in ) + MMD ๐ค โก ( โ , ๐ฎ base ) for ๐ฎ base a baseline thinned coreset of size ๐ 2 ๐ and any target โ . For example if the input and baseline coresets are drawn i.i.d. and ๐ค is bounded, then MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) and MMD ๐ค โก ( โ , ๐ฎ KT ) are ๐ช โข ( 2 ๐ / ๐ ) with high probability (Tolstikhin et al., 2017, Thm. A.1), even if the guarantee of Thm. 2 is larger. As a consequence, in all well-defined KT variants, we can guarantee a rate of ๐ โ 1 4 for MMD ๐ค โก ( ๐ฎ in , ๐ฎ KT ) when the output size is ๐ simply by using baseline as i.i.d. thinning in the kt-swap step.
Gauss kernel
The target KT guarantee follows by substituting the covering number bound for the Gaussian kernel from LABEL:rkhs_covering_numbersLABEL:item:gauss_cover in 7, and the root KT guarantee follows directly from Dwivedi & Mackey (2021, Tab. 2). Putting the guarantees for the root KT and target KT together (and taking the minimum of the two) yields the guarantee for KT+.
IMQ kernel
The target KT guarantee follows by putting together the covering bound LABEL:rkhs_covering_numbersLABEL:item:imq_cover and the MMD bounds 7.
For the root KT guarantee, we use a square-root dominating kernel ๐ค ~ rt IMQ ( ๐ โฒ , ๐พ โฒ ) Dwivedi & Mackey (2021, Def.2) as suggested by Dwivedi & Mackey (2021). Dwivedi & Mackey (2021, Eqn.(117)) shows that ๐ค ~ rt is always defined for appropriate choices of ๐ โฒ , ๐พ โฒ . The best root KT guarantees are obtained by choosing largest possible ๐ โฒ (to allow the most rapid decay of tails), and Dwivedi & Mackey (2021, Eqn.(117)) implies with ๐ < ๐ 2 , the best possible parameter satisfies ๐ โฒ โค ๐ 4 + ๐ 2 . For this parameter, some algebra shows that max โก ( โ ๐ค ~ rt , ๐ โ โข โ ๐ค ~ rt , ๐ ) โพ ๐ , ๐ , ๐พ ๐ 1 / 2 โข ๐ , leading to a guarantee worse than ๐ โ 1 4 , so that the guarantee degenerates to ๐ โ 1 4 using Rem. 2 for root KT. When ๐ โฅ ๐ 2 , we can use a Matรฉrn kernel as a square-root dominating kernel from Dwivedi & Mackey (2021, Prop. 3), and then applying the bounds for the kernel radii 41, and the inflation factor 44 for a generic Matรฉrn kernel from Dwivedi & Mackey (2021, Tab. 3) leads to the entry for the root KT stated in Sec. 2.3. The guarantee for KT+ follows by taking the minimum of the two.
Matรฉrn kernel
For target KT, substituting the covering number bound from LABEL:rkhs_covering_numbersLABEL:item:matern_kernel in 7 with ๐
log โก ๐ and โ โ โ ๐ โ ๐ 2 โ
0 yields the MMD bound of order
log โก ๐ โ ( log โก ๐ ) ๐ ๐ 1 โ ๐ / ( 2 โข โ )
( log โก ๐ ) ๐ + 1 2 ๐ ( 2 โข โ โ ๐ ) / 4 โข โ
(138)
which decays faster than ๐ โ 1 4 only when โ > ๐ or equivalently ๐ > 3 โข ๐ / 2 . The rate in 138 simplifies to the entry in the Tab. 3 when ๐ โ ๐ 2 is an integer, i.e., when โ
๐ โ ๐ 2 . When ๐ โค 3 โข ๐ / 2 , we can simply use baseline as i.i.d. thinning to obtain an order ๐ โ 1 4 MMD error as in Rem. 2.
The root KT (and thereby KT+) guarantees for ๐
๐ follow from Dwivedi & Mackey (2021, Tab. 2).
When ๐ โ ( ๐ 2 , ๐ ] , we use power KT with a suitable ๐ผ to establish the KT+ guarantee. For Matรฉrn ( ๐ , ๐พ ) kernel, the ๐ผ -power kernel is given by Matรฉrn ( ๐ผ โข ๐ , ๐พ ) if ๐ผ โข ๐ > ๐ 2 (a proof of this follows from Def. 2 and Dwivedi & Mackey (2021, Eqns (71-72))). Since Laplace ( ๐ )
Matรฉrn โข ( ๐ + 1 2 , ๐ โ 1 ) , we conclude that its ๐ผ -power kernel is defined for ๐ผ > ๐ ๐ + 1 . And using the various tail radii 41, and the inflation factor 44 for a generic Matรฉrn kernel from Dwivedi & Mackey (2021, Tab. 3), we conclude that ๐ ~ ๐ผ โพ ๐ , ๐ค ๐ผ , ๐ฟ log โก ๐ โข log โก log โก ๐ , and max โก ( โ ๐ค ๐ผ , ๐ โ โข โ ๐ค ๐ผ , ๐ ) โพ ๐ , ๐ค ๐ผ log โก ๐ , so that โ max
๐ช ๐ , ๐ค ๐ผ โข ( log โก ๐ ) 42 for SubExp โ setting. Thus for this case, the MMD guarantee for ๐ thinning with power KT (tracking only scaling with ๐ ) is
( 2 ๐ ๐ โข โ ๐ค ๐ผ โ โ ) 1 2 โข ๐ผ โข ( 2 โ ๐ ~ ๐ผ ) 1 โ 1 2 โข ๐ผ โข ( 2 + ( 4 โข ๐ ) ๐ / 2 ฮ โข ( ๐ 2 + 1 ) โ โ max ๐ 2 โ ๐ ~ ๐ผ ) 1 ๐ผ โ 1
(139)
โพ ๐ , ๐ค ๐ผ , ๐ฟ ( 1 ๐ ) 1 2 โข ๐ผ โข ( ๐ ๐ โข log โก ๐ ) 1 โ 1 2 โข ๐ผ โ ( ( log โก ๐ ) ๐ 2 + 1 2 โข ๐ ๐ ) 1 ๐ผ โ 1
( ๐ ๐ โข ( log โก ๐ ) 1 + 2 โข ๐ โข ( 1 โ ๐ผ ) ๐ ) 1 4 โข ๐ผ
(140)
where ๐ ๐
log โก log โก ๐ ; and we thus obtain the corresponding entry (for KT+) stated in Tab. 3.
sinc kernel
The guarantee for target KT follows directly from substituting the covering number bounds from LABEL:rkhs_covering_numbersLABEL:item:sinc_cover in 7 as โฌ 2 โข ( โ in ) โ [ โ โ in , โ in ] ๐ .
For the root KT guarantee, we note that the square-root kernel construction of Dwivedi & Mackey (2021, Prop.2) implies that sinc โข ( ๐ ) itself is a square-root of sinc ( ๐ ) since the Fourier transform of sinc is a rectangle function on a bounded domain. However, the tail of the sinc kernel does not decay fast enough for the guarantee of Dwivedi & Mackey (2021, Thm. 1) to improve beyond the ๐ โ 1 4 bound of Dwivedi & Mackey (2021, Rem. 2) obtained when running root KT with i.i.d. baseline thinning.
In this case, target KT and KT+ are identical since ๐ค rt
๐ค .
B-spline kernel
The guarantee for target KT follows directly from substituting the covering number bounds from LABEL:rkhs_covering_numbersLABEL:item:spline_kernel in 7.
For the B-spline ( 2 โข ๐ฝ + 1 , ๐พ ) kernel, using arguments similar to that in Dwivedi & Mackey (2021, Tab.4), we conclude that (up to a constant scaling) the ๐ผ -power kernel is defined to be B-spline โข ( ๐ด + 1 , ๐พ ) whenever ๐ด โ 2 โข ๐ผ โข ๐ฝ + 2 โข ๐ผ โ 2 โ 2 โข โ 0 . Whenever the ๐ผ -power kernel is defined, we can then apply the various tail radii 41 and the inflation factor 44 from Dwivedi & Mackey (2021, Tab. 3) to conclude that the MMD error rates for the power KT for Compact โ are the same as root KT up to factors depending on ๐ผ and ๐ฝ , which as per Dwivedi & Mackey (2021, Tab. 2) are of order log โก ๐ / ๐ .
For odd ๐ฝ we can always take ๐ผ
1 2 and B-spline โข ( ๐ฝ , ๐พ ) is a valid (up to a constant scaling) square-root kernel (Dwivedi & Mackey, 2021). In this case, the root KT guarantee is log โก ๐ / ๐ , and the KT+ guarantee follows by taking the minimum MMD error for target KT and root KT.
For even ๐ฝ , we can choose ๐ผ โ ๐ + 1 ๐ฝ + 1 โ ( 1 2 , 1 ) with ๐
โ ๐ฝ โ 1 2 โ
๐ฝ 2 โ โ , which is feasible as long as ๐ฝ โฅ 2 . Thus B-spline โข ( ๐ฝ + 1 , ๐พ ) is a suitable ๐ค ๐ผ for B-spline โข ( 2 โข ๐ฝ + 1 , ๐พ ) for even ๐ฝ โฅ 2 with ๐ผ
๐ฝ + 2 2 โข ๐ฝ + 2 โ ( 1 2 , 1 ) . Since ๐ค ๐ผ is compactly supported, Thm. 3 implies that ๐ ~ ๐ผ
๐ช ๐ โข ( log โก ๐ ) and โ max
๐ช ๐ โข ( 1 ) , and hence the MMD guarantee for ๐ thinning with power KT (tracking only the scaling with ๐ ) is
( 2 ๐ ๐ โข โ ๐ค ๐ผ โ โ ) 1 2 โข ๐ผ โข ( 2 โ ๐ ~ ๐ผ ) 1 โ 1 2 โข ๐ผ โข ( 2 + ( 4 โข ๐ ) ๐ / 2 ฮ โข ( ๐ 2 + 1 ) โ โ max ๐ 2 โ ๐ ~ ๐ผ ) 1 ๐ผ โ 1
(141)
โพ ๐ , ๐ค ๐ผ , ๐ฟ ( 1 ๐ ) 1 2 โข ๐ผ โข ( log โก ๐ ) 1 โ 1 2 โข ๐ผ โ ( log โก ๐ ) 1 ๐ผ โ 1
( log โก ๐ ๐ ) 1 4 โข ๐ผ
( log โก ๐ ๐ ) ๐ฝ + 1 2 โข ๐ฝ + 4 .
(142)
Taking the minimum MMD error for target KT and ๐ผ -power KT yields the entry for KT+ stated in Tab. 3 for even ๐ฝ .
Report Issue Report Issue for Selection Generated by L A T E xml Instructions for reporting errors
We are continuing to improve HTML versions of papers, and your feedback helps enhance accessibility and mobile support. To report errors in the HTML that will help us improve conversion and rendering, choose any of the methods listed below:
Click the "Report Issue" button. Open a report feedback form via keyboard, use "Ctrl + ?". Make a text selection and click the "Report Issue for Selection" button near your cursor. You can use Alt+Y to toggle on and Alt+Shift+Y to toggle off accessible reporting links at each section.
Our team has already identified the following issues. We appreciate your time reviewing and reporting rendering errors we may not have found yet. Your efforts will help us improve the HTML versions for all readers, because disability should not be a barrier to accessing research. Thank you for your continued support in championing open access for all.
Have a free development cycle? Help support accessibility at arXiv! Our collaborators at LaTeXML maintain a list of packages that need conversion, and welcome developer contributions.