Abstract
Understanding and developing a correlation measure that can detect general dependencies is imperative to statistics, machine learning, and general scientific discovery. While Multiscale Generalized Correlation (MGC) was proposed as a novel measure with strong empirical performance, a theoretical gap remained regarding its population statistics and convergence properties. This paper formalizes the population version of MGC and the optimal local scale between random variables by utilizing characteristic functions and nearest-neighbor machinery. This theoretical foundation enables a seamless connection to the algorithmic Sample MGC, allowing for the proof of desirable asymptotic and finite-sample properties. Through a comprehensive set of simulations involving linear, nonlinear, univariate, multivariate, and noisy dependencies, MGC demonstrates superior performance, maintaining power against monotone dependencies while excelling in the detection of complex, general dependencies.
Introduction
In the era of big data, identifying whether two variables are related is a fundamental task. Traditional tools, most notably Pearson’s correlation, are limited to detecting linear relationships. In scenarios where data follows a non-monotone pattern—such as a circle, spiral, or parabola—Pearson’s correlation often fails, yielding a value near zero despite a clear underlying structure.
Distance Correlation (DCorr) represented a significant advancement by providing a measure capable of detecting any dependency given a sufficiently large sample size. However, DCorr is a "global" measure; it aggregates information across the entire dataset simultaneously. This global approach can inadvertently "wash out" signals that are strong locally but appear weak when averaged. This paper bridges the gap between global measures and local structures by providing a rigorous mathematical framework for Multiscale Generalized Correlation (MGC).
The Multiscale Generalized Correlation Framework
The core innovation of MGC is the locality principle. Rather than calculating a single global correlation, MGC evaluates dependencies across all possible neighborhood sizes.
1. Local Distance Correlation
MGC utilizes k-nearest neighbors to calculate correlations at various scales. By examining these local neighborhoods, the framework can identify structures that are invisible to global tests.
2. The Population Version and Consistency
A key contribution of this work is the definition of the population version of MGC using characteristic functions. This formalization allows the authors to prove that MGC is a well-defined, consistent correlation measure. Consistency ensures that as the sample size increases, MGC is guaranteed to correctly identify the presence of a relationship.
3. Identifying the Optimal Scale
MGC searches through all possible scales to identify the "Optimal Scale"—the specific neighborhood size where the relationship between variables is most apparent. If a relationship is global (e.g., a straight line), MGC naturally converges to the global scale, matching the performance of DCorr. If the relationship is complex or nonlinear, MGC "zooms in" to the scale where the signal is strongest.
4. Thresholding and Smoothing
To ensure robustness against noise in finite samples, the authors implement a thresholding technique. This identifies the "largest connected region" of significant local correlations, preventing the algorithm from over-fitting to random fluctuations in small datasets.
Experimental Validation
The paper evaluates MGC against a rigorous benchmark of 20 simulated dependency types, covering a wide spectrum of statistical challenges:
- Linear and Monotone: Linear, exponential, and cubic relationships.
- Non-monotone and Nonlinear: Quadratic, W-shape, spirals, circles, ellipses, and sine waves.
- Complex and Noisy: Joint normal distributions, step functions, Bernoulli trials, and multiplicative noise.
- Independence: Null cases to verify the test's false positive rate.
Across these simulations, which included both univariate and high-dimensional multivariate scenarios, MGC consistently emerged as the top performer. It maintained the power of Pearson and DCorr on linear data while vastly outperforming them in nonlinear settings like the "Two Parabolas" or "Circle" configurations.
Computational Efficiency and Real-World Impact
Despite the complexity of searching across multiple scales, MGC is computationally efficient, with a complexity of $O(n^2 \log n)$. This makes it comparable to other state-of-the-art methods and suitable for modern data science workflows, especially with parallel processing.
Beyond simulations, MGC has demonstrated practical utility in high-stakes scientific fields. It has been successfully applied to identify cancer biomarkers and to test relationships between brain imaging data and personality traits, proving its value as a tool for discovery in complex biological and psychological systems.
Conclusion and Future Directions
MGC provides a powerful, theoretically grounded framework for dependency testing that excels where traditional methods fail. While the current $O(n^2 \log n)$ complexity is efficient for thousands of samples, future work may focus on optimization for "ultra-big" datasets involving millions of points. Additionally, the multiscale approach introduced here could potentially be extended to other statistical tests, paving the way for a new generation of multiscale analytical tools.
Summary updated