riemannian-generative-decoder-eval
Riemannian generative decoder — Bjerregaard et al. (2025) (arXiv:2506.19133, 2025)
What this evaluates
Evaluates the ability of a decoder-only latent variable model to learn geometry-respecting latent spaces on Riemannian manifolds. It probes reconstruction fidelity, preservation of intrinsic data structures (cyclical, hierarchical, phylogenetic), and downstream predictive utility of the learned latents.
Datasets
- Cell cycle stages (scRNA-seq) — total ?; splits: train (-1), val (-1), test (-1)
- Branching diffusion process (synthetic tree) — total ?; splits: train (-1), test (-1)
- Human mitochondrial DNA (hmtDNA) — total ?; splits: train (-1), test (-1)
Metrics
Pearson correlation (primary) — range: [-1, 1]
- Linear correlation coefficient between ground-truth pairwise distances (e.g., cell cycle phase, tree path length, haplogroup distance) and latent geodesic distances on the chosen manifold.
Spearman correlation — range: [-1, 1]
- Rank-based correlation coefficient between ground-truth pairwise distances and latent geodesic distances, capturing monotonic but non-linear relationships.
MAE — range: [0, ∞)
- Mean Absolute Error measuring reconstruction fidelity via L1-norm between original data samples and decoder reconstructions.
MSE — range: [0, ∞)
- Mean Squared Error measuring reconstruction fidelity via L2-norm between original data samples and decoder reconstructions.
Accuracy — range: [0, 1]
- Classification accuracy of downstream models (logistic regression or XGBoost) trained on learned latents to predict categorical metadata (e.g., geographical region, haplogroup).
Input / output format
Input: Raw biological or synthetic data samples (scRNA-seq gene counts, synthetic tree node features, hmtDNA sequences) fed into a decoder-only network to produce manifold-valued latents and reconstructions.
Output: Manifold-valued latent vectors and reconstructed data samples. Downstream classifiers are trained on the latents to predict categorical labels or continuous phases.
Scoring recipe
def evaluate(latents, data, targets, manifold):
reconstructions = decoder(latents)
mae = mean(abs(data - reconstructions))
mse = mean((data - reconstructions)**2)
true_dists = pairwise_distance(targets)
latent_dists = manifold.geodesic_distance(latents)
pearson = pearsonr(true_dists, latent_dists)
spearman = spearmanr(true_dists, latent_dists)
acc = train_classifier(latents, targets).score(test_latents, test_targets)
return pearson, spearman, mae, mse, acc
Common pitfalls
- Generalization performance is noted as generally of little significance for dimensionality reduction, so test set metrics may not reflect practical utility.
- Hyperbolic models rescale absolute path lengths by curvature, causing Spearman (rank) to improve while Pearson (linear) may not, requiring careful interpretation of correlation metrics.
- Noise scale σ heavily trades off local reconstruction accuracy against global geometric correlation; optimal σ varies by manifold and dataset.
Evidence (verbatim from paper)
Pearson/Spearman correlate phase distances to latent distances while MAE/MSE measure reconstruction by L1/L2-norm.
Citation
@misc{bjerregaard2025riemannian,
title={Riemannian generative decoder},
author={Bjerregaard et al. (2025)},
year={2025},
note={arXiv:2506.19133}
}
1---2name: riemannian-generative-decoder-eval3description: Evaluates the ability of a decoder-only latent variable model to learn geometry-respecting latent spaces on Riemannian manifolds. It probes reconstruction fidelity, preservation of intrinsic data structures (cyclical, hierarchical, phylogenetic), and downstream predictive utility of the learned latents. Use when the user wants to benchmark on Cell cycle stages (scRNA-seq), Branching diffusion process (synthetic tree), Human mitochondrial DNA (hmtDNA), or asks about evaluating this task. Reports Pearson correlation.4---56# riemannian-generative-decoder-eval78> Riemannian generative decoder — Bjerregaard et al. (2025) (arXiv:2506.19133, 2025)910## What this evaluates1112Evaluates the ability of a decoder-only latent variable model to learn geometry-respecting latent spaces on Riemannian manifolds. It probes reconstruction fidelity, preservation of intrinsic data structures (cyclical, hierarchical, phylogenetic), and downstream predictive utility of the learned latents.1314## Datasets1516- **Cell cycle stages (scRNA-seq)** — total ?; splits: train (-1), val (-1), test (-1)17- **Branching diffusion process (synthetic tree)** — total ?; splits: train (-1), test (-1)18- **Human mitochondrial DNA (hmtDNA)** — total ?; splits: train (-1), test (-1)1920## Metrics2122- `Pearson correlation` **(primary)** — range: [-1, 1]23 - Linear correlation coefficient between ground-truth pairwise distances (e.g., cell cycle phase, tree path length, haplogroup distance) and latent geodesic distances on the chosen manifold.24- `Spearman correlation` — range: [-1, 1]25 - Rank-based correlation coefficient between ground-truth pairwise distances and latent geodesic distances, capturing monotonic but non-linear relationships.26- `MAE` — range: [0, ∞)27 - Mean Absolute Error measuring reconstruction fidelity via L1-norm between original data samples and decoder reconstructions.28- `MSE` — range: [0, ∞)29 - Mean Squared Error measuring reconstruction fidelity via L2-norm between original data samples and decoder reconstructions.30- `Accuracy` — range: [0, 1]31 - Classification accuracy of downstream models (logistic regression or XGBoost) trained on learned latents to predict categorical metadata (e.g., geographical region, haplogroup).3233## Input / output format3435**Input**: Raw biological or synthetic data samples (scRNA-seq gene counts, synthetic tree node features, hmtDNA sequences) fed into a decoder-only network to produce manifold-valued latents and reconstructions.3637**Output**: Manifold-valued latent vectors and reconstructed data samples. Downstream classifiers are trained on the latents to predict categorical labels or continuous phases.3839## Scoring recipe4041```python42def evaluate(latents, data, targets, manifold):43 reconstructions = decoder(latents)44 mae = mean(abs(data - reconstructions))45 mse = mean((data - reconstructions)**2)46 true_dists = pairwise_distance(targets)47 latent_dists = manifold.geodesic_distance(latents)48 pearson = pearsonr(true_dists, latent_dists)49 spearman = spearmanr(true_dists, latent_dists)50 acc = train_classifier(latents, targets).score(test_latents, test_targets)51 return pearson, spearman, mae, mse, acc52```5354## Common pitfalls5556- Generalization performance is noted as generally of little significance for dimensionality reduction, so test set metrics may not reflect practical utility.57- Hyperbolic models rescale absolute path lengths by curvature, causing Spearman (rank) to improve while Pearson (linear) may not, requiring careful interpretation of correlation metrics.58- Noise scale σ heavily trades off local reconstruction accuracy against global geometric correlation; optimal σ varies by manifold and dataset.5960## Evidence (verbatim from paper)6162> Pearson/Spearman correlate phase distances to latent distances while MAE/MSE measure reconstruction by L1/L2-norm.6364## Citation6566```bibtex67@misc{bjerregaard2025riemannian,68 title={Riemannian generative decoder},69 author={Bjerregaard et al. (2025)},70 year={2025},71 note={arXiv:2506.19133}72}73```7475- arXiv: 2506.19133