What Topological and Geometric Structure Do Biological Foundation Models Learn? Evidence from 141 Hypotheses
Organizations: Department of Computer Science, University of Tübingen, Tübingen, Germany
Abstract
When biological foundation models such as scGPT and Geneformer process single-cell gene expression, what geometric and topological structure forms in their internal representations? Is that structure biologically meaningful or a training artifact, and how confident should we be in such claims? We address these questions through autonomous large-scale hypothesis screening: an AI-driven executor-brainstormer loop that proposed, tested, and refined 141 geometric and topological hypotheses across 52 iterations, covering persistent homology, manifold distances, cross-model alignment, community structure, and directed topology, all with explicit null controls and disjoint gene-pool splits. Three principal findings emerge. First, the models learn genuine geometric structure. Gene embedding neighborhoods exhibit non-trivial topology, with persistent homology significant in 11 of 12 transformer layers at p < 0.05 in the weakest domain and 12 of 12 in the other two. A multi-level distance hierarchy shows that manifold-aware metrics outperform Euclidean distance for identifying regulatory gene pairs, and graph community partitions track known transcription factor target relationships. Second, this structure is shared across independently trained models. CCA alignment between scGPT and Geneformer yields canonical correlation of 0.80 and gene retrieval accuracy of 72 percent, yet none of 19 tested methods reliably recover gene-level correspondences. The models agree on the global shape of gene space but not on precise gene placement. Third, the structure is more localized than it first appears. Under stringent null controls applied across all null families, robust signal concentrates in immune tissue, while lung and external lung signals weaken substantially.
Figures & tables
| Family | Biological question |
|---|---|
| Persistent homology | Are there “loops” in gene-embedding space reflecting cyclic regulatory motifs? |
| Manifold distances | Do curved manifold distances better capture regulatory proximity than straight-line distance? |
| Cross-model alignment | Do independently trained models converge on the same geometric organization of genes? |
| Community structure | Do embedding neighborhoods form clusters that correspond to regulatory modules? |
| Directed topology | Does the geometry encode directional information (TF target)? |
| Intrinsic dimensionality | Does the local complexity of the manifold correlate with regulatory architecture? |
| Finding | Effect size | Null-gap | Verdict | Interpretation |
|---|---|---|---|---|
| Strong positive findings | ||||
| Cross-model CCA alignment (H24) | Robust | Models converge on similar gene-space geometry | ||
| Signed motif–community hardening (H123) | AUROC | 22/22 rows | Robust | Regulatory motif signs align with community structure |
| Persistent homology (H01/H03) | 11/12 layers | Robust | Embedding neighborhoods contain non-trivial “loops” | |
| Stability-selected descriptors (H91) | AUROC | 6/6 splits | Robust | Multiple geometric features jointly predict regulation |
| Topology stability (H14/H44) | 12/12 layers | 3/3 domains | Robust | Topological signal survives bootstrap perturbations |
| Failed hypothesis | What this tells us |
|---|---|
| Topology robust to graph rewiring (H07–H12) | Topological “loops” vanish under degree-preserving rewiring; they depend on specific neighborhoods, not deep geometric invariants |
| Forman curvature ( Sreejith et al., 2016 ) enrichment (H23) | High-curvature edges are less likely to be regulatory (AUROC 0.34–0.39, below chance)—opposite to the hypothesis |
| Cross-model correspondence (19 methods) | Models agree on geometry but not gene-level coordinates; “translation” between models is impossible at gene resolution |
| Confidence-tier scaling (H19, H37) | Community structure tracks binary regulatory identity but not regulatory strength; the model knows whether genes interact, not how strongly |
| Intrinsic dimension transfer (H42, H45) | In-sample manifold complexity correlates do not predict regulation out-of-sample ( ); likely overfitting |
| Hyperbolicity (H30) | The embedding manifold is not hyperbolic; tree-like hierarchical structure is not the right geometric metaphor for these representations |
Neural Representation Geometry
Neural representation geometry studies how learned features are arranged and how that structure relates to model behavior and performance.
See all 243 papers