Independence clustering (without a matrix)

Daniil RyabkoNeurIPS 2017

Traditional clustering methods—such as k-means or linkage-based algorithms—typically rely on a proximity matrix. By calculating the correlation or mutual information between every pair of variables, these methods group the "closest" variables together. However, a new theoretical framework introduced by Daniil Ryabko argues that if the goal is true mutual independence, this pairwise approach is fundamentally flawed.

This paper introduces "independence clustering," a matrix-free approach to partitioning variables into mutually independent groups. It provides algorithms for both independent and identically distributed (i.i.d.) data and complex stationary time series, while also establishing mathematical boundaries on when such clustering is fundamentally impossible.

The Problem with Pairwise Proximity

The core issue with traditional proximity matrices is that pairwise independence does not guarantee group independence. Consider a scenario with three variables: the first two are independent coin flips, and the third is the XOR (exclusive OR) of the first two.

If you evaluate these variables using a standard correlation matrix, any pair will appear completely independent. A traditional algorithm would see three unrelated variables and fail to recognize that, as a trio, they are deeply dependent. To solve this, the paper seeks the "finest partitioning" of a set of random variables into clusters such that the clusters themselves are mutually independent, completely bypassing the surrogate of pairwise measurements.

A Three-Tiered Methodological Framework

The author tackles the independence clustering problem across three escalating levels of difficulty:

1. Known Distributions (The Oracle Case)

Assuming the existence of an "oracle" that can definitively state whether one set of variables is more informative than another, the paper proposes the CLIN algorithm. CLIN operates recursively, attempting to split a set of variables into two independent clusters by moving elements one by one until mutual independence is achieved. The paper proves this algorithm is highly efficient, requiring at most $2kN^2$ oracle calls (where $k$ is the number of clusters and $N$ is the number of variables).

2. I.I.D. Samples

When the underlying distribution is unknown but independent samples are available, the theoretical oracle is replaced by practical statistical tests for independence and mutual information estimators. The paper proves that the CLIN algorithm remains asymptotically consistent in this setting, meaning it is guaranteed to find the true underlying independent clusters as the amount of data increases.

3. Stationary Ergodic Time Series ("Hard Mode")

The primary focus of the paper is on real-world data structures like financial stock prices, fMRI scans, or DNA sequences, where data points are not independent over time.

To handle this, the author introduces sum-information, a novel metric that sums mutual information across all possible quantizations and time scales. This captures deep dependencies that standard entropy rates might miss. For this stationary case, the paper introduces the CLINk algorithm. CLINk searches through candidate splits to find the partition that minimizes the estimated sum-information.

Key Insights and Impossibility Results

While the paper is purely theoretical and does not test these algorithms on empirical datasets, it yields several profound mathematical insights:

  • The "Fickle Oracle": In stationary time-series settings, obtaining a perfect "yes/no" on independence is impossible. Instead, the framework relies on a "fickle oracle" that is only guaranteed to be correct when comparing two different levels of dependence.
  • A Fundamental Impossibility: One of the paper's most significant findings is an impossibility theorem for stationary ergodic processes. Unlike the i.i.d. case where the number of clusters ($k$) can be discovered automatically, it is statistically impossible to cluster stationary data if $k$ is unknown.
  • Computational Complexity: For the stationary case with a known $k$, the CLINk algorithm has a complexity of $O(N^{2k})$. While this is polynomial, it grows rapidly, indicating that the algorithm is currently best suited for scenarios with a relatively small number of independent sectors.

Limitations and Future Directions

The framework lays essential theoretical groundwork but leaves several challenges for future research. The most prominent limitation is the strict requirement to know the number of clusters ($k$) in advance for stationary data. Because $k$ is mathematically unlearnable in this setting without additional assumptions, future work may need to explore "relaxed" definitions of independence to allow $k$ to be estimated.

Furthermore, the current framework assumes a ground truth of perfect mathematical independence. In real-world applications, noise ensures that virtually everything is slightly dependent. The author suggests that future iterations of this work should incorporate thresholding—finding clusters where dependence falls below some arbitrary $\epsilon$—to make matrix-free independence clustering robust enough for noisy, empirical datasets.

Summary updated

BibTeX
@inproceedings{ryabko2017independence,
  author = {Daniil Ryabko},
  title = {{Independence clustering (without a matrix)}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
}
Figure