A Kernel Test for Three-Variable Interactions with Random Processes

A Kernel Test for Three-Variable Interactions with Random Processes

A Kernel Test for Three-Variable Interactions with Random Processes Paul K. Rubenstein123 Kacper P. Chwialkowski3 Arthur Gretton4 1Machine Learning Group, University of Cambridge 2Empirical Inference, MPI for Intelligent Systems, Tübingen, Germany 3Department of Computer Science, University College London 4Gatsby Computational Neuroscience Unit, University College London [email protected], [email protected], [email protected] Abstract seen far less analysis: tests of pairwise dependence have been proposed by Gaisser et al.[2010], Besserve et al. We apply a wild bootstrap method to the Lan- [2013], Chwialkowski et al.[2014], Chwialkowski and caster three-variable interaction measure in or- Gretton[2014], where the first publication also addresses der to detect factorisation of the joint distribution mutual independence of more than two univariate time se- on three variables forming a stationary random ries. The two final works use as their statistic the Hilbert- process, for which the existing permutation boot- Schmidt Indepenence Criterion, a general nonparametric strap method fails. As in the i.i.d. case, the Lan- measure of dependence [Gretton et al., 2005], which ap- caster test is found to outperform existing tests in plies even for multivariate or non-Euclidean variables (such cases for which two independent variables indi- as strings and groups). The asymptotic behaviour and cor- vidually have a weak influence on a third, but that responding test threshold are derived using particular as- when considered jointly the influence is strong. sumptions on the mixing properties of the processes from The main contributions of this paper are twofold: which the observations are drawn. These kernel approaches first, we prove that the Lancaster statistic satis- apply only to pairs of random processes, however. fies the conditions required to estimate the quan- The Lancaster interaction is a signed measure that can be tiles of the null distribution using the wild boot- used to construct a test statistic capable of detecting depen- strap; second, the manner in which this is proved dence between three random variables [Lancaster, 1969, is novel, simpler than existing methods, and can Sejdinovic et al., 2013]. If the joint distribution on the further be applied to other statistics. three variables factorises in some way into a product of a marginal and a pairwise marginal, the Lancaster interaction is zero everywhere. Given observations, this can be used to 1 INTRODUCTION construct a statistical test, the null hypothesis of which is that the joint distribution factorises thus. In the i.i.d. case, Nonparametric testing of independence or interaction be- the null distribution of the test statistic can be estimated tween random variables is a core staple of machine learn- using a permutation bootstrap technique: this amounts to ing and statistics. The majority of nonparametric sta- shuffling the indices of one or more of the variables and re- tistical tests of independence for continuous-valued ran- calculating the test statistic on this bootstrapped data set. dom variables rely on the assumption that the observed When our samples instead exhibit temporal dependence, data are drawn i.i.d. Feuerverger[1993], Gretton et al. shuffling the time indices destroys this dependence and thus [2007], Székely et al.[2007], Gretton and Gyorfi[2010], doing so does not correspond to a valid resample of the test Heller et al.[2013]. The same assumption applies to statistic. tests of conditional dependence, and of multivariate inter- Provided that our data-generating process satisfies some action between variables Zhang et al.[2011], Kankainen technical conditions on the forms of temporal dependence, and Ushakov[1998], Fukumizu et al.[2008], Sejdinovic recent work by Leucht and Neumann[2013], building on et al.[2013], Patra et al.[2015]. For many applications the work of Shao[2010], can come to our rescue. The wild in finance, medicine, and audio signal analysis, however, bootstrap is a method that correctly resamples from the null the i.i.d. assumption is unrealistic and overly restrictive. distribution of a test statistic, subject to certain conditions While many approaches exist for testing interactions be- on both the test statistic and the processes from which the tween time series under strong parametric assumptions observations have been drawn. Kirchgässner et al.[2012], Ledford and Tawn[1996], the problem of testing for general, nonlinear interactions has In this paper we show that the Lancaster interaction test statistic satisfies the conditions required to apply the wild tion4, we evaluate the Lancaster test on synthetic data to bootstrap procedure; moreover, the manner in which we identify cases in which it outperforms existing methods, as prove this is significantly simpler than existing proofs in the well as cases in which it is outperformed. In Section6, we literature of the same property for other kernel test statis- provide proofs of the main results of this paper, in particu- tics [Chwialkowski et al., 2014, Chwialkowski and Gretton, lar the aforementioned novel proof. Further proofs may be 2014]. Previous proofs have relied on the classical theory found in the Supplementary material. of V -statistics to analyse the asymptotic distribution of the kernel statistic. In particular, the Hoeffding decomposition 2 LANCASTER INTERACTION TEST gives an expression for the kernel test statistic as a sum of other V -statistics. Understanding the asymptotic properties 2.1 KERNEL NOTATION of the components of this decomposition is then conceptu- ally tractable, but algebraically extremely painful. More- Throughout this paper we will assume that the kernels over, as the complexity of the test statistic under analysis k; l; m, defined on the domains X , Y and Z respectively, grows, the number of terms that must be considered in this are characteristic [Sriperumbudur et al., 2011], bounded approach grows factorially.1 We conjecture that such anal- and Lipschitz continuous. We describe some notation rel- ysis of interaction statistics of 4 or more variables would in evant to the kernel k; similar notation holds for l and m. practice be unfeasible without automatic theorem provers Recall that µX := EX k(X; ·) 2 Fk is the mean embed- due to the sheer number of terms in the resulting computa- ding [Smola et al., 2007] of the random variable X. Given tions. observations Xi, an estimate of the mean embedding is µ~ = 1 Pn k(X ; ·) k In contrast, in the approach taken in this paper we explic- X n i=1 i . Two modifications of are used itly consider our test statistic to be the norm of a Hilbert in this work: ¯ 0 0 space operator. We exploit a Central Limit Theorem for k(x; x ) = hk(x; ·) − µX ; k(x ; ·) − µX i; (1) Hilbert space valued random variables Dehling et al.[2015] ~ 0 0 to show that our test statistic converges in probability to k(x; x ) = hk(x; ·) − µ~X ; k(x ; ·) − µ~X i (2) the norm of a related population-centred Hilbert space op- These are called the population centered kernel and empir- erator, for which the asymptotic analysis is much simpler. ically centered kernel respectively. Our approach is novel; previous analyses have not, to our knowledge, leveraged the Hilbert space geometry in the 2.2 LANCASTER INTERACTION context of statistical hypothesis testing using kernel V - statistics in this way. The Lancaster interaction on the triple of random vari- ables (X; Y; Z) is defined as the signed measure ∆ P = We propose that our method may in future be applied to L − − − + 2 . This the asymptotic analysis of other kernel statistics. In the PXYZ PXY PZ PXZ PY PX PYZ PX PY PZ measure can be used to detect three-variable interactions. appendix, we provide an application of this method to the It is straightforward to show that if any variable is indepen- Hilbert Schmidt Independence Criterion (HSIC) test statis- dent of the other two (equivalently, if the joint distribution tic, giving a significantly shorter and simpler proof than factorises into a product of marginals in any way), that given in Chwialkowski and Gretton[2014] PXYZ then ∆LP = 0. That is, writing HX = fX ?? (Y; Z)g and The Central Limit Theorem that we use in this paper makes similar for HY and HZ , we have that certain assumptions on the mixing properties of the ran- dom processes from which our data are drawn; as further H _H _H ) ∆ P = 0 (3) progress is made, this may be substituted for more up-to- X Y Z L date theorems that make weaker mixing assumptions. The reverse implication does not hold, and thus no con- clusion about the veracity of the H· can be drawn when OUTLINE: In Section2, we detail the Lancaster interac- ∆LP = 0. Following Sejdinovic et al.[2013], we can con- tion test and provide our main results. These results justify sider the mean embedding of this measure: use of the wild bootstrap to understand the null distribu- Z tion of the test statistic. In Section3, we provide more µL = k(x; ·)l(y; ·)m(z; ·)∆LP (4) detail about the wild bootstrap, prove that its use correctly controls Type I error and give a consistency result. In Sec- n Given an i.i.d. sample (Xi;Yi;Zi)i=1, the norm of the mean embedding µ can be empirically estimated using 1See for example Lemma 8 in Supplementary material A.3 L of Chwialkowski and Gretton[2014]. The proof of this lemma empirically centered kernel matrices. For example, for the requires keeping track of 4! terms; an equivalent approach for the kernel k with kernel matrix Kij = k(Xi;Xj), the empiri- Lancaster test would have 6! terms. Depending on the precise cally centered kernel matrix K~ is given by structure of the statistic, this approach applied to a test involving 4 variables could require as many as 8! = 40320 terms.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us