[Paper Review] On the distribution of cross-validated Mahalanobis distances
This paper derives analytical expressions for the mean and covariance of cross-validated Mahalanobis distances (LDCs), enabling a multivariate normal approximation to their sampling distribution. This allows for powerful, closed-form statistical inference—such as testing differences between distances or comparing whole representational similarity matrices to computational models—without relying on computationally intensive permutation tests.
We present analytical expressions for the means and covariances of the sample distribution of the cross-validated Mahalanobis distance. This measure has proven to be especially useful in the context of representational similarity analysis (RSA) of neural activity patterns as measured by means of functional magnetic resonance imaging (fMRI). These expressions allow us to construct a normal approximation to the estimated distances, which in turn enables powerful inference on the measured statistics. Using the results, the difference between two distances can be statistically assessed, and the measured structure of the distances can be efficiently compared to predictions from computational models.
Motivation & Objective
- To provide a statistically principled method for inference on cross-validated Mahalanobis distances (LDCs) in fMRI-based representational similarity analysis (RSA).
- To address the lack of closed-form statistical tests for LDCs, which are currently often assessed via computationally expensive permutation tests.
- To enable direct comparison of LDCs to predictions from computational models by providing a likelihood-based framework.
- To derive an accurate normal approximation to the sampling distribution of LDCs, accounting for signal-dependent variance and covariance structure.
- To support reliable inference on linear contrasts of LDCs and model parameter estimation using analytical variance expressions.
Proposed method
- Derives analytical expressions for the mean and covariance matrix of the sampling distribution of cross-validated Mahalanobis distances (LDCs).
- Models the sampling distribution as multivariate normal, with the mean equal to the true distance and the covariance matrix derived from noise and signal structure.
- Partitions the covariance into two components: one from noise in activity estimates and another that is signal-dependent and increases with true distance.
- Incorporates regularization (0.2–0.5) of the multivariate noise estimator to improve accuracy of the variance approximation.
- Uses the normal approximation to construct z-tests for linear contrasts of LDCs, enabling hypothesis testing without permutations.
- Applies the approximation to derive a closed-form likelihood for model comparison, allowing parameter estimation via iterative methods like iteratively reweighted least squares.
Experimental results
Research questions
- RQ1Can we derive a closed-form approximation to the sampling distribution of cross-validated Mahalanobis distances in fMRI data?
- RQ2How does the variance of the LDC estimate depend on the true distance and noise structure?
- RQ3Can the derived normal approximation replace permutation tests for significance testing of LDC contrasts?
- RQ4How can the sampling distribution be used to compare whole representational similarity matrices to computational models?
- RQ5Is the normal approximation accurate enough for reliable inference when the number of voxels is moderate (e.g., P > 30)?
Key findings
- The sampling distribution of the cross-validated Mahalanobis distance is well-approximated by a multivariate normal distribution with analytically derived mean and covariance.
- The variance of the LDC estimate increases linearly with the true distance and includes a non-zero offset even when the true distance is zero, precluding simple variance-stabilizing transformations.
- The covariance matrix of LDC estimates includes both noise-induced and signal-dependent components, with dependencies between distances sharing a common condition (e.g., i-j and i-k).
- The normal approximation is accurate when the number of voxels exceeds 30 and when the multivariate noise estimate is regularized with a factor between 0.2 and 0.5.
- The z-test based on the normal approximation is more powerful and general than existing t-distribution approximations, which are limited to single-fold cross-validation and ignore covariance structure.
- The closed-form likelihood derived from the normal approximation enables accurate model comparison and parameter estimation, outperforming rank correlations, Pearson correlations, and cosine angles in model selection.
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.