REVIEW 3 major objections 4 minor 22 references
Reconstruction of Partial Dissimilarity Matrices for Cognitive Neuroscience
T0 review · 3 major / 4 minor · reviewed 2026-08-07 · deepseek-v4-flash
Pith's one-line read A Euclidean median rule can complete sparse dissimilarity matrices without training, preserving high accuracy even when 80% of entries are missing.
desk verdict A useful, well-tested imputation heuristic whose geometric justification does not hold up, and whose Pearson-correlation metric hides a bias that appears even on exact Euclidean data. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The load-bearing object is the median-of-two-Euclidean-estimates rule. For a missing distance between items $i$ and $j$, the algorithm collects every item $k$ with known distances to both, forms two candidate values, $\sqrt{d(i,k)^2+d(j,k)^2}$ (the hypotenuse of a right triangle whose legs are the two known distances) and $\sqrt{|d(i,k)^2-d(j,k)^2|}$ (the remaining leg when the larger known distance is the hypotenuse), and assigns the median of all candidates across anchors. Repeating this pass over the matrix, so that newly filled entries serve as anchors for later ones, is what allows the method to propagate information across the whole matrix; the worst-case running time is $O(n^3)$.
What would settle it
Take a dissimilarity matrix computed from great-circle distances on a sphere, mask 50% to 80% of its entries, run the geometric reconstruction, and check whether the correlation between reconstructed and true distances falls toward chance.
Extended reading notes
Core claim
On the paper's own terms, the central discovery is that a missing pairwise dissimilarity $d(i,j)$ can be accurately estimated from any item $k$ whose distances to $i$ and $j$ are known, using the Euclidean estimates $\sqrt{d(i,k)^2+d(j,k)^2}$ and $\sqrt{|d(i,k)^2-d(j,k)^2|}$, with the median across all valid $k$ as the prediction. The algorithm fills entries iteratively, skipping entries that cannot yet be estimated and retrying after other entries have been filled, and it is guaranteed to complete the whole matrix whenever the known distances connect all items. Evaluated by masking 1% to 80% of entries in four empirical RDMs and in simulated Euclidean distance matrices, the method consistently outperformed a graph shortest-path approach and a multidimensional-scaling approach, with accuracy declining gracefully as sparsity increased.
Load-bearing premise
The load-bearing premise is that the dissimilarity matrix is approximately Euclidean, so that every missing distance can be approximated by the square root of the sum or difference of squares of two known distances to a common third item; if the true space is curved or non-metric, the method can break down.
Editorial extensions
If this is right
- Behavioural similarity studies that collect only a fraction of all pairs can obtain complete dissimilarity matrices without training a model or supplying external stimulus features.
- Reconstruction accuracy remains high with up to 80% of entries missing, and reaches about 0.8 correlation with the true distances when only 20% of entries remain.
- On the four empirical datasets tested, the geometric method outperformed a graph-based Floyd-Warshall shortest-path completion and a multidimensional-scaling-based completion.
- Because the algorithm fills entries iteratively, it is guaranteed to complete the entire matrix whenever every item is connected to every other item through a chain of known distances.
- The method runs in polynomial time, with worst-case $O(n^3)$, making it practical for the matrix sizes used in cognitive neuroscience.
Reading between the lines
- Beyond the paper, this completion method could act as a preprocessing step for representational similarity analyses and embedding algorithms that currently require complete dissimilarity matrices, effectively widening the range of behavioural tasks usable with RSA.
- Beyond the paper, reconstruction accuracy on a new dataset could serve as a practical diagnostic for how Euclidean that dataset's similarity structure is; a sharp drop in accuracy with sparsity would flag non-metric or curved geometry.
- Beyond the paper, the same median rule could be adapted to other geometries, for example replacing the Euclidean formulas with spherical or hyperbolic distance laws, though the authors only gesture at this as future work.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes a simple algorithm for completing partial dissimilarity matrices (RDMs) in cognitive neuroscience. For each missing distance d(i,j), the algorithm finds every anchor k with known d(i,k) and d(j,k), computes the two quantities sqrt(d(i,k)^2 + d(j,k)^2) and sqrt(|d(i,k)^2 - d(j,k)^2|), and takes their median as the reconstruction. The method is evaluated on four real behavioural dissimilarity datasets and on simulated Euclidean distance matrices, across matrix sizes from 27 to 256 and missing proportions from 1% to 80%, with accuracy measured by Pearson correlation between reconstructed and true distances. The geometric method is compared with a Floyd-Warshall graph-based method and an MDS-based method and is reported to outperform both. The authors provide open-source Python and MATLAB implementations.
Significance. If the accuracy claims hold, this is a useful, transparent, and computationally light tool for a common practical problem in representational similarity analysis: incomplete RDMs. Strengths include the absence of any fitted parameters, broad empirical evaluation on four public datasets and extensive simulations, comparison against two alternative completion methods, and public availability of code and data. However, the central accuracy claim rests entirely on Pearson correlation, which is insensitive to systematic monotone bias, and the geometric derivation in Section 2.1 is not actually a consequence of Euclidean geometry. These issues make the support for 'accurate reconstruction' weaker than the text suggests.
major comments (3)
- [Section 2.1] The estimators sqrt(d(i,k)^2 + d(j,k)^2) and sqrt(|d(i,k)^2 - d(j,k)^2|) are exact only for right triangles, not for general Euclidean triangles. The true distance is sqrt(d(i,k)^2 + d(j,k)^2 - 2 d(i,k) d(j,k) cos(theta)) for an unknown angle theta. The triangle inequality alone gives only bounds, not these point values. The statement 'Assuming Euclidean geometry and triangle inequality' does not justify the estimator. Please clarify that this is a heuristic (e.g., a right-angle approximation) or provide a derivation; as written, the paper's central geometric premise is not supported.
- [Section 3.1 and 3.2] Reconstruction accuracy is measured exclusively via Pearson correlation between reconstructed and original distances. Pearson correlation is invariant to monotone transformations, so a method that returns half of every true distance, or a constant times the true distance, will yield a high correlation while being useless for estimating embeddings or downstream distance-based analyses. The claim of 'accurate reconstruction' needs additional value-fidelity metrics, such as mean absolute error, root-mean-square error, or calibration slope/scatter plots, at least on the simulated Euclidean data where ground truth is available. Without such metrics, the reported correlations around 0.8 do not establish that the reconstructed distances are accurate in the relevant sense.
- [Section 4] The Discussion states the method 'may break down if the true space is curved or non-metric,' but the failure mode is broader: the estimator can be badly biased even for exact Euclidean matrices. For a unit square, a missing side of length 1 is reconstructed as approximately 1.366, and a missing diagonal of length sqrt(2) is also reconstructed as approximately 1.366, collapsing distinct distances. This is not a peripheral concern; it directly affects the interpretation of the high correlations reported in Figures 1 and 2. The limitation statement should acknowledge that the heuristic's bias is present in Euclidean settings as well, and that Pearson correlation may mask such bias.
minor comments (4)
- [Section 2.2] The description of '1000 random iterations' should clarify whether the masking (deletion of pairwise distances) is independently resampled in each iteration, and whether the same mask is used across the compared methods in Section 3.3.
- [Section 3.1] The chance baseline is described as 'inserting random values,' which yields a Pearson correlation near zero; a more informative baseline would be a constant imputation (e.g., the mean observed distance), especially when evaluating the practical benefit of the method.
- [Section 3.2] The simulation description says 'we calculated full distance matrices on randomly placed points' but later specifies sampling from a multivariate Gaussian; please state the exact generation procedure, including whether the coordinates are independent across dimensions, and whether the covariance is isotropic.
- [Figure 3] In several panels, the legend order does not appear to match the line order in the plot; direct labeling of the lines or consistent colour/line-style mapping would improve readability.
Circularity Check
No circularity: the geometric imputation is parameter-free and is evaluated by masking known entries and comparing against those held-out distances.
full rationale
The paper's reconstruction pipeline is self-contained in the relevant sense. Section 2.1 defines a deterministic, parameter-free estimator: each missing d(i,j) is filled from known distances d(i,k) and d(j,k) via the median of sqrt(d(i,k)^2 + d(j,k)^2) and sqrt(|d(i,k)^2 - d(j,k)^2|), with iterative filling over connected components. No parameter is fit to the masked test entries, and reconstruction accuracy is measured as the Pearson correlation between the reconstructed distances and the originally observed, held-out distances (Sections 2.2 and 3.1). The four benchmark RDMs are pre-existing public empirical datasets (Bracci et al., 2019; Grootswagers et al., 2024; Mur et al., 2013; Robinson et al., 2025). Although two of these are co-authored by the present authors, they are used as external ground-truth data, not as internal derivation steps, and the reconstruction claim does not depend on an unverified self-cited result. The only self-citation used to explain a benchmark's ceiling effect cites Grootswagers and Robinson (2021), and is interpretive rather than load-bearing. The geometric formulas in Section 2.1 are a modeling assumption (a right-triangle approximation) rather than a logical consequence of Euclidean geometry, and the skeptical concern that the estimator can be biased even for exact Euclidean matrices is a validity or correctness issue, not circularity: the estimator is not equivalent by construction to the quantity it predicts. Because the evaluation uses held-out entries and no fitted parameter is renamed as a prediction, no circular step is exhibited.
Assumptions & free parameters
assumptions (3)
- domain assumption Representational space is approximately Euclidean
- domain assumption Missing data are missing at random
- ad hoc to paper The estimators sqrt(a^2+b^2) and sqrt(|a^2-b^2|) proxy the missing distance
Cite this review
Pith. "Pith review of Reconstruction of Partial Dissimilarity Matrices for Cognitive Neuroscience." pith.science (2026). https://pith.science/paper/YEMN5NUT
@misc{pith2026250600484,
author = {Pith},
title = {Pith review of: Reconstruction of Partial Dissimilarity Matrices for Cognitive Neuroscience},
year = {2026},
howpublished = {\url{https://pith.science/paper/YEMN5NUT}},
note = {Machine review of arXiv:2506.00484}
}
read the original abstract
In cognitive neuroscience research, Representational Dissimilarity Matrices (RDMs) are often incomplete because pairwise similarity judgments cannot always be exhaustively collected as the number of pairs rapidly increases with the number of conditions. Existing methods to fill these missing values, such as deep neural network imputation, are powerful but computationally demanding and relatively opaque. We introduce a simple algorithm based on geometric inference that fills missing dissimilarity matrix entries using known distances. We use tests on publicly available empirical cognitive neuroscience datasets, as well as simulations, to demonstrate the method's effectiveness and robustness across varying sparsity and matrix sizes. We have made this geometric reconstruction algorithm, implemented in Python and MATLAB, publicly available. This method provides a fast and accurate solution for completing partial dissimilarity matrices in the cognitive neurosciences.
Figures
Reference graph
Works this paper leans on
-
[1]
Reconstruction accuracies for the empirical data. A) The reconstruction accuracies for the missing values only, across varying proportions of missing distances. The reconstruction accuracy was calculated as the correlation between the original and reconstructed distances. We used 4 publicly available datasets, shown in different colours. The shaded area a...
work page 2025
-
[3]
Comparing alternative reconstruction approaches. The reconstruction accuracy is calculated as the correlation between the original and reconstructed distances. Each row represents the reconstruction results on a different empirical dataset. The different lines represent different methods; geometric, graph, and multidimensional scaling (MDS). The shaded ar...
work page 2013
-
[4]
The Time-Course of Food Representation in the Human Brain
https://doi.org/10.3389/neuro.06.004.2008 10 Moerel, D., Psihoyos, J., Carlson, T.A., 2024a. The Time-Course of Food Representation in the Human Brain. J. Neurosci
-
[11]
The representational dynamics of visual objects in rapid serial visual processing streams. NeuroImage 188, 668–679. https://doi.org/10.1016/j.neuroimage.2018.12.046 Grootswagers, T., Robinson, A.K., Shatek, S.M., Carlson, T.A.,
-
[13]
Decoding Dynamic Brain Patterns from Evoked Responses: A Tutorial on Multivariate Pattern Analysis Applied to Time Series Neuroimaging Data. J. Cogn. Neurosci. 29, 677–697. https://doi.org/10.1162/jocn_a_01068 Hebart, M.N., Zheng, C.Y., Pereira, F., Baker, C.I.,
-
[14]
Revealing the multidimensional mental representations of natural objects underlying human similarity judgements. Nat. Hum. Behav. 4, 1173–1185. https://doi.org/10.1038/s41562-020-00951-3 Kaniuth, P., Mahner, F.P., Perkuhn, J., Hebart, M.N.,
- [15]
-
[16]
https://doi.org/10.7554/eLife.105394.1 Koenig-Robert, R., Quek, G.L., Grootswagers, T., Varlet, M.,
Show all 22 references
-
[17]
Movement trajectories as a window into the dynamics of emerging neural representations. Sci. Rep. 14, 11499. https://doi.org/10.1038/s41598-024-62135-7 Kriegeskorte, N., Mur, M.,
-
[18]
https://doi.org/10.3389/fpsyg.2012.00245 Kriegeskorte, N., Mur, M., Bandettini, P.A.,
2012 arXiv
-
[20]
https://doi.org/10.3389/fpsyg.2013.00128 Robinson, A.K., Grootswagers, T., Shatek, S.M., Behrmann, M., Carlson, T.A.,
2013
-
[22]
Visual Representations: Insights from Neural Decoding. Annu. Rev. Vis. Sci. 9, null. https://doi.org/10.1146/annurev-vision-100120-025301
-
[44]
Selective attention and decision-making have separable neural bases in space and time
https://doi.org/10.1523/JNEUROSCI.1101-23.2024 Moerel, D., Rich, A.N., Woolgar, A., 2024b. Selective attention and decision-making have separable neural bases in space and time. J. Neurosci. https://doi.org/10.1523/JNEUROSCI.0224-24.2024 Mur, M., Meys, M., Bodurka, J., Goebel,...
2024 doi
-
[2008]
The key input is a Representational Dissimilarity Matrix (RDM), a symmetric matrix summarising pairwise distances or dissimilarities
is a popular approach used in cognitive neuroscience to compare patterns of neural or behavioural responses across stimuli (Cichy et al., 2014; Cichy and Oliva, 2020; Contini et al., 2017; Grootswagers et al., 2024, 2019, 2017; Koenig-Robert et al., 2024; Moerel et al., 2024b,...
2014
-
[2014]
Resolving human object recognition in space and time. Nat. Neurosci. 17, 455–462. https://doi.org/10.1038/nn.3635 Contini, E.W., Wardle, S.G., Carlson, T.A.,
-
[2017]
Neuropsychologia, Special Issue: Concepts, Actions and Objects: Functional and Neural Perspectives 105, 165–176
Decoding the time-course of object recognition in the human brain: From visual features to categorical decisions. Neuropsychologia, Special Issue: Concepts, Actions and Objects: Functional and Neural Perspectives 105, 165–176. https://doi.org/10.1016/j.neuropsychologia.2017.02...
-
[2019]
The ventral visual pathway represents animal appearance over animacy, unlike human behavior and deep neural networks. J. Neurosci. 1714–18. https://doi.org/10.1523/JNEUROSCI.1714-18.2019 Cichy, R.M., Oliva, A.,
2019 doi
-
[2020]
A M/EEG-fMRI Fusion Primer: Resolving Human Brain Responses in Space and Time. Neuron. https://doi.org/10.1016/j.neuron.2020.07.001 Cichy, R.M., Pantazis, D., Oliva, A.,
2020 doi
-
[2022]
NeuroImage 264, 119754
A large and rich EEG dataset for modeling human visual object recognition. NeuroImage 264, 119754. https://doi.org/10.1016/j.neuroimage.2022.119754 Grootswagers, T., Robinson, A.K.,
2022
- [2023]
-
[2024]
PLOS Comput
Mapping the dynamics of visual feature coding: Insights into perception and integration. PLOS Comput. Biol. 20, e1011760. https://doi.org/10.1371/journal.pcbi.1011760 Grootswagers, T., Wardle, S.G., Carlson, T.A.,
-
[2025]
Dynamics of visual object coding within and across the hemispheres: Objects in the periphery. Sci. Adv. 11, eadq0889. https://doi.org/10.1126/sciadv.adq0889 Robinson, A.K., Quek, G.L., Carlson, T.A.,
Reviewed August 7, 2026 · model on record in the stance chip above.
Discussion (0). Sign in to comment.