EmmaEmb: A quantitative framework for analyzing embedding spaces in molecular biology.

Rissom, Pia Francesca; Škrhák, Vít; Yanez Sarmiento, Paulo; Safer, Jordan F; Coley, Connor W; Renard, Bernhard Y; Heyne, Henrike O; Iqbal, Sumaiya · Patterns (N Y) · 2026

basic_science · Level V

Where this comes from

Abstract

Embeddings, numerical vectors learned by deep-learning models, are increasingly used to represent complex molecular biology data and support predictive tasks and generative design. There is a growing need for systematic approaches to interpret and explain the information encoded in high-dimensional embedding spaces. Here, we introduce EmmaEmb, a quantitative, model-agnostic framework for geometric correction, direct analysis, and comparison of embedding spaces. Our framework encompasses local and global analysis methods to quantify data distribution within an embedding space and enable comparisons of representations across spaces in relation to known biological features. Through experiments with seven embedding models across six molecular biology tasks, we demonstrate that our methods reveal insights from embedding spaces that align with downstream predictive tasks, uncover misclassification patterns, and contextualize differences in biological information captured by ProtT5, AlphaFold2, and ESM C. We provide an open-source Python library implementing all analysis methods and a guided diagnostic workflow.