距离协方差的稳健版本比较:对Biloop方法的评论

Comparing Robust Versions of Distance Covariance: A Comment on the Biloop Approach

International Statistical Review · 2025
被引 0
ABS 3

中文导读

本文评论了双循环距离协方差方法的稳健性,通过模拟比较了多种稳健距离协方差版本,发现双循环方法对异常值稳健但可能遗漏某些强依赖模式。

Abstract

I commend the authors for their significant contributions to the field of distance correlation presented in this paper. This work marks the first thorough investigation of the robustness properties of distance correlation, distance covariance, and distance standard deviation in terms of influence functions and breakdown points. These robustness aspects have previously caused considerable confusion in the literature, and this work will serve as an important and clarifying reference. Additionally, the authors introduce a novel version of distance covariance based on an innovative biloop transformation. Thanks to its redescending influence function, this version of distance covariance is robust to bivariate outliers and shows promise for real-world applications. However, the paper does not fully capture the extensive literature on robust distance covariance measures. Criticism regarding the lack of robustness in classical distance covariance can be traced back to the 2009 discussion paper of Székely and Rizzo, in which Bruno Rémillard (2009) identifies the moment assumption as a weakness of distance covariance and suggests a rank transformation as a remedy. In the same discussion, Gretton et al. (2009) give a brief historic overview and present several robust distance covariance type statistics (Kankainen, 1995; Feuerverger, 1993). In this comment, I offer a concise, albeit non-comprehensive, overview of robust versions of distance covariance. Moreover, I extend the simulation studies presented in the main paper, giving further insights into the properties of the newly proposed biloop distance covariance. The literature offers at least three different approaches to defining extensions of distance covariance. Each approach gives rise to dependence measures with positive breakdown points. Many more distance functions have been proposed in the literature; notably, this approach enables the construction of dependence measure in fairly general metric spaces and hence for various applications. The important restriction is that the used distances must be of negative type; if this condition is not satisfied, dcov d $$ {dcov}_d $$ loses non-negativity and other desirable properties, and alternative measures must be sought (Móri & Székely, 2020). As discussed in the main paper, another way to derive robust versions of distance covariance is to apply some kind of data transformation. Calculating the distance covariance of the normalised ranks of each margin was (to my knowledge) first proposed by Bruno Rémillard (2009) and has since then been discussed numerous times (e.g. Chakraborty & Zhang, 2019; Székely & Rizzo, 2023). A ‘normal score version’ of a distance covariance type measure in the bivariate case dates back to Feuerverger's 1993 proposal (Feuerverger, 1993); the general case is treated in detail by Mai et al. (2023). The novel biloop distance covariance also applies a data transformation before calculating distance covariance, but differs fundamentally from the rank- and normal-score approaches; the corresponding transformation maps coordinates from ℝ $$ \mathrm{\mathbb{R}} $$ to ℝ 2 $$ {\mathrm{\mathbb{R}}}^2 $$ . It is not hard to see that the biloop distance covariance may also be expressed using the representation in Equation (2). Of course, these three approaches are by no means exhaustive. One could equally well compute distance covariance on truncated data or consider versions based on weighted U-statistics, similar to Edelmann et al. (2022). The simulations presented below extend those in the main paper to shed further light on the properties of biloop distance covariance. Since the results of the normal score distance covariance were very similar to the rank distance covariance, the former method has been omitted. Instead the distance covariance dCov d $$ \kern0.1em {\mathrm{dCov}}_d $$ in Equation (2) employing the RBF distance (Equation 2) is included; this method is denoted as RBF distance covariance in the following. The hyperparameter c $$ c $$ for the biloop distance covariance was selected as in the main paper, while the bandwidth for the RBF distance covariance was set using the median heuristic (Fukumizu et al., 2009). A wider range of sample sizes ( n = 50 , 100 , 200 , 400 , 800 , 1 600 , 3 200 $$ n=50,100,200,400,\kern0.5em 800,1\ 600,\kern0.5em 3\ 200 $$ ) than in the main paper was examined in each scenario. The bivariate data X 1 Y 1 t , X 2 Y 2 t , … , X n Y n t $$ {\left({X}_1,{Y}_1\right)}^t,{\left({X}_2,{Y}_2\right)}^t,\dots, {\left({X}_n,{Y}_n\right)}^t $$ are always independently generated. I focus on the problem of independence testing. The tests are based on K = 500 $$ K=500 $$ permutations, empirical rejection rates are determined from N sim = 1 000 $$ {N}_{sim}=1\ 000 $$ simulations and a nominal level of α = 0.05 $$ \alpha =0.05 $$ is used. All simulations were performed using the R package dcortools available on the Comprehensive R Archive Network (CRAN). Clean data were drawn from an independent standard bivariate normal distribution. As in section 5.3 of the main paper, n − m $$ n-m $$ observations followed the clean data distribution, while m $$ m $$ observations were generated via an outlier distribution. However instead of placing all outliers at the same point x , x t $$ {\left(x,x\right)}^t $$ , the outlier distribution is here a four component normal mixture (equal weights, each component having unit variance) with means 6 , 6 t $$ {\left(6,6\right)}^t $$ , 6 , − 6 t $$ {\left(6,,,-6\right)}^t $$ , − 6 , 6 , t $$ {\left(-6,6,\right)}^t $$ and − 6 , − 6 t $$ {\left(-6,-6\right)}^t $$ . The first three scenarios featured m = 1 $$ m=1 $$ , m = 3 $$ m=3 $$ and m = 0.06 n $$ m=0.06n $$ outliers generated by this normal mixture distribution. For the last scenario, both coordinates of m = 0.18 n $$ m=0.18n $$ observations are drawn independently from standard Cauchy distributions. Across all scenarios (see Figure 1), biloop distance covariance yielded the lowest rejection rates, followed by rank and RBF distance covariance. Notably, in the 6 % $$ 6\% $$ outliers scenarios, the rejection rates of the biloop distance covariance are substantially larger than the nominal level for higher sample sizes. This shows that the robustness property of biloop distance covariance demonstrated in figure 16 of the main paper only holds for small sample sizes; this is in fact not surprising since biloop distance covariance is consistent against all alternatives and bivariate outliers induce a dependence between X $$ X $$ and Y $$ Y $$ . The biloop transformation maps both the X $$ X $$ and Y $$ Y $$ coordinates of the outliers to values very close to the respective median and this nonlinear dependence is detected by distance covariance. Furthermore, differences in rejection rates between the biloop and the rank distance covariance are substantially smaller than in the main paper; likely because the point-mass outliers of the original setup induced a strictly monotone dependence, whereas the mixture here does not. For creating univariate outliers, two sets of indices I X = i 1 X , … i m X $$ {I}^X=\left\{{i}_1^X,,,\kern-.2em ,\dots {i}_m^X\right\} $$ and I Y = i 1 Y , … i m Y $$ {I}^Y=\left\{{i}_1^Y,,,\kern-.2em ,\dots {i}_m^Y\right\} $$ were sampled without replacement from 1 , … , n $$ \left\{1,,,\dots, n\right\} $$ . The clean data was generated by a standard bivariate normal with correlation 0.2 $$ 0.2 $$ . The X $$ X $$ coordinates with indices in I X $$ {I}^X $$ and the Y $$ Y $$ coordinates i $$ i $$ -th indices in I Y $$ {I}^Y $$ were replaced by outliers. The first plot in Figure 2 demonstrates the power of each method for clean data. In the second and third scenario, the outliers ( m = 3 $$ m=3 $$ and m = 0.06 n $$ m=0.06n $$ ) were drawn from a two-component normal mixture distribution with standard deviation 1 $$ 1 $$ and means 6 $$ 6 $$ and − 6 $$ -6 $$ . In the last scenario, the outliers ( m = 0.18 n $$ m=0.18n $$ ) were drawn from a standard Cauchy distribution. Overall, the biloop and the rank distance covariance show the best performance with only slight disadvantages compared to standard distance covariance in the uncontaminated setting and clear power advantages under heavy contamination. The rank distance covariance performed marginally better when few outliers were present, while the biloop distance covariance is better under heavy contamination. The performance of the RBF distance covariance remains largely unaffected by outliers. However, as previously observed and demonstrated in the clean data setting, this method has generally lower power in linear-dependence settings. The standard distance covariance suffered most from the contamination by outliers; however, the differences in power are rather moderate. This may come as a surprise considering the stark differences observed in Figure 1. In the first two sets of simulations, the rank distance covariance and the biloop distance covariance showed a similar performance over all settings. For the last set of simulations, I have purposely selected scenarios to highlight cases where biloop distance covariance has markedly lower rejection rates than competing methods (Figure 3). In the first two settings, a fraction of the sample ( 6 % $$ 6\% $$ and 18 % $$ 18\% $$ , respectively) was drawn from a bivariate normal distribution with mean 6 , 6 T $$ {\left(6,6\right)}^T $$ and unit variances, while the remainder followed a standard bivariate normal. In the third scenario, 82 % $$ 82\% $$ of the observations were generated via an independent bivariate standard normal distribution and 18 % $$ 18\% $$ were drawn from a bivariate standard normal distribution with standard deviations 20 $$ \sqrt{20} $$ , mean 0 $$ 0 $$ and correlation 0.5. In the last scenario, observations were drawn from a two-component normal mixture distribution with weights 0.82 $$ 0.82 $$ and 0.18 $$ 0.18 $$ . The first component is an independent bivariate standard normal distribution, whereas the second component has mean 12 , 0 t $$ {\left(12,0\right)}^t $$ , standard deviations 1 $$ 1 $$ and correlation 0.8 $$ 0.8 $$ . The first scenario is very similar to the one displayed in the first plot of figure 17 in the main paper. The induced monotone dependence leads to substantially higher rejection rates for the competing methods than in comparable scenarios in Figure 1, whereas the biloop distance covariance is less impacted. The second plot shows that the biloop distance covariance also has lower power in settings where the second subset contains a substantial fraction of the observations, however the rejection rate is not near the nominal level of α = 0.05 $$ \alpha =0.05 $$ for any of the considered sample sizes. The last two scenarios demonstrate that the biloop distance covariance has low rejection rate when dependence is confined to coordinates that are far from the median. In the last scenario, the power of the biloop distance covariance is particularly low—the X $$ X $$ coordinates of all observations in the smaller subgroup are transformed to values very close to the median, which makes it very hard detect to the dependence in this subgroup. The RBF distance covariance has substantially larger rejection rate than all other methods in the last scenario demonstrating that this method is more sensitive to local dependence patterns. From my perspective, distance covariance methods hold great promise for the analysis of high-dimensional data. When testing a large number of bivariate dependencies, distance covariance provides a computationally efficient omnibus independence test—crucial in settings where visual inspection is impossible and where classical correlation measures may miss nonlinear relationships. Likewise, because outliers can lurk undetected in high dimensions, it is often advisable to employ a robust variant that automatically down-weights or excludes extreme observations. Several robust variants of distance covariance have been proposed; among them, the biloop distance correlation stands out because its redescending influence function substantially diminishes the effect of any observation whose marginal distance is far from the median. As demonstrated in this comment and the main paper, this property makes the biloop method robust to outliers, even when these outliers induce a monotone dependence. In scenarios with only univariate outliers or bivariate outliers that do not induce monotone dependence, its performance closely matches that of rank-based distance covariance. A possible caveat is that, by construction, the biloop distance covariance is virtually blind to certain very strong dependence patterns (see Figure 3). Thus, while the method is promising, we must carefully weigh its robustness benefits against potential losses in power for specific dependence structures. Targeted simulations and theoretical analyses are needed to precisely quantify this trade-off. Open Access funding enabled and organized by Projekt DEAL.

距离协方差稳健性异常值独立性检验双循环变换