[Paper Review] Distances between Data Sets Based on Summary Statistics
This paper proposes the CM distance, a statistically grounded, computationally efficient metric for comparing data sets using summary statistics. It leverages Mahalanobis distance principles to account for feature correlations, enabling cubic-time computation on general data and linear-time evaluation on binary data via parity functions, with empirical validation showing meaningful clustering in diverse real-world datasets.
The concepts of similarity and distance are crucial in data mining. We consider the problem of defining the distance between two data sets by comparing summary statistics computed from the data sets. The initial definition of our distance is based on geometrical notions of certain sets of distributions. We show that this distance can be computed in cubic time and that it has several intuitive properties. We also show that this distance is the unique Mahalanobis distance satisfying certain assumptions. We also demonstrate that if we are dealing with binary data sets, then the distance can be represented naturally by certain parity functions, and that it can be evaluated in linear time. Our empirical tests with real world data show that the distance works well.
Motivation & Objective
- To define a distance metric between data sets that reflects their statistical similarity while being computationally tractable.
- To ensure the distance accounts for correlations between features, avoiding oversimplistic independent feature assumptions.
- To develop a method that scales efficiently, especially for high-dimensional or large-scale data sets.
- To validate the distance empirically on real-world data, demonstrating its ability to reveal structural patterns.
- To establish theoretical uniqueness by proving the CM distance is the only Mahalanobis distance satisfying specific statistical assumptions.
Proposed method
- The CM distance is defined via a geometric interpretation of the set of probability distributions that match the observed feature means of each data set.
- It computes the minimum Mahalanobis distance between the constrained sets of distributions that produce the same summary statistics, leading to a unique solution.
- For general data, the distance is computed in O(N³) time, where N is the number of features, based on solving a quadratic optimization problem.
- For binary data, the distance is reformulated using parity functions, enabling linear-time evaluation.
- The method uses feature functions S mapping data points to R^N, with summary statistics defined as empirical means over the data sets.
- The approach supports various feature types, including independent means, pairwise correlations, and frequent itemsets, via modular feature set design.
Experimental results
Research questions
- RQ1Can a distance between data sets be defined that properly accounts for correlations between summary statistics?
- RQ2Is there a unique Mahalanobis distance that satisfies natural statistical and geometric constraints?
- RQ3Can the distance be computed efficiently, especially for large or high-dimensional data?
- RQ4How well does the CM distance reveal structural patterns in real-world data sets?
- RQ5Does the distance outperform simpler baselines like independent mean or frequency-based distances?
Key findings
- The CM distance is the unique Mahalanobis distance that satisfies the required statistical and geometric constraints, providing theoretical justification.
- The distance can be computed in O(N³) time for general data, and in O(N) time for binary data using parity function representations.
- Empirical results show the CM distance reveals meaningful clustering in diverse datasets, such as 20Newsgroups, Bible, Beatles, and TopGenres.
- In 20Newsgroups and TopDecades, the CM distance with feature sets (ind, cov, freq) correctly identifies thematic and temporal groupings.
- The CM distance outperforms base distances in most datasets, especially when using frequent itemsets as features, though performance varies by data type.
- The use of correlated features (cov) and independent means (ind) produced nearly equivalent distances, while frequent itemsets (freq) yielded distinct, more informative structures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.