# On Procrustes Contamination in Machine Learning Applications of Geometric Morphometrics

arXiv: https://arxiv.org/abs/2601.18448 · HTML: https://mlsanity.com/paper/2601.18448/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 6 of its 63 references that are in the map.
- First posted on arXiv 26 Jan 2026.

## Builds on (most cited first, 6 of 6)

- [Semi-Supervised Classification with Graph Convolutional Networks](https://mlsanity.com/paper/1609.02907/) (2016)
- [Geometric deep learning: going beyond Euclidean data](https://mlsanity.com/paper/1611.08097/) (2016)
- [Inflation of test accuracy due to data leakage in deep learning-based classification of OCT images](https://mlsanity.com/paper/2202.12267/) (2022)
- [Modeling Generalization in Machine Learning: A Methodological and Computational Study](https://mlsanity.com/paper/2006.15680/) (2020)
- [Use and Misuse of Machine Learning in Anthropology](https://mlsanity.com/paper/2209.02811/) (2022)
- [FaceDig: Automated tool for placing landmarks on facial portraits for geometric morphometrics users](https://mlsanity.com/paper/2411.01508/) (2024)

## Abstract (arXiv)

Geometric morphometrics (GMM) is widely used to quantify shape variation, more recently serving as input for machine learning (ML) analyses. Standard practice aligns all specimens via Generalized Procrustes Analysis (GPA) prior to splitting data into training and test sets, potentially introducing statistical dependence and contaminating downstream predictive models. Here, the effects of GPA-induced contamination are formally characterised using controlled 2D and 3D simulations across varying sample sizes, landmark densities, and allometric patterns. A novel realignment procedure is proposed, whereby test specimens are aligned to the training set prior to model fitting, eliminating cross-sample dependency. Simulations reveal a robust "diagonal" in sample-size vs. landmark-space, reflecting the scaling of RMSE under isotropic variation, with slopes analytically derived from the degrees of freedom in Procrustes tangent space. The importance of spatial autocorrelation among landmarks is further demonstrated using linear and convolutional regression models, highlighting performance degradation when landmark relationships are ignored. This work establishes the need for careful preprocessing in ML applications of GMM, provides practical guidelines for realignment, and clarifies fundamental statistical constraints inherent to Procrustes shape space.
