TL;DR
HEIST is a hierarchical graph foundation model that captures the complex relationship between a cell’s internal gene regulation and its spatial neighborhood in a tissue. By modeling tissues as a "graph of graphs," it achieves state-of-the-art performance in clinical prediction and gene imputation while running up to 48x faster than existing foundation models.
The Challenge: Bridging Spatial Context and Internal Gene Regulation
In the world of "omics," we have two powerful but often disconnected views: transcriptomics (what genes are active) and spatial context (where cells are located). While single-cell RNA sequencing tells us what’s happening inside a cell, it loses the "neighborhood" information. Conversely, newer spatial technologies provide coordinates, but existing models often struggle to integrate the two effectively.
Current models face three major hurdles:
- Ignoring Hierarchy: They often treat genes as a flat list, ignoring how internal gene co-expression adapts to microenvironmental cues.
- Fixed Vocabularies: Many models are "locked" into a specific set of genes used during training, making them hard to apply to new datasets or different modalities like proteomics (protein data).
- Computational Cost: Transformer-based models that treat every gene as a token are notoriously slow and memory-intensive.
Introducing HEIST: A Hierarchical Graph Approach
The authors introduce HEIST (Hierarchical EmbeddIngs for Spatial Transcriptomics), which represents tissue as a two-level hierarchical graph.
- The Global Level: A spatial cell-cell graph where edges represent physical proximity (calculated via Voronoi polygons).
- The Local Level: Each cell contains its own internal graph—a gene co-expression network—where edges represent functional dependencies between genes.
The core innovation is Cross-level Message Passing. Unlike standard models where information stays at one level, HEIST allows bidirectional flow:
- High-to-Low: A gene’s representation is updated based on the spatial context of its "parent" cell.
- Low-to-High: A cell’s representation is refined by aggregating the states of its constituent genes.
HEIST is pretrained using a combination of Masked Autoencoding (reconstructing missing gene expression and coordinates) and Contrastive Learning (ensuring similar cells/genes are close in embedding space). Because it relies on graph structure rather than a fixed list of names, it is "vocabulary-free" and can generalize to unseen genes or proteins.
Datasets and Pretraining
The model was pretrained on a massive scale: 22.3 million cells across 124 tissues and 15 organs.
- Technologies: Data came from high-resolution platforms like MERFISH, Xenium, and CODEX.
- Evaluation Benchmarks: The authors tested HEIST on diverse datasets including the SEA-AD (Alzheimer’s brain atlas), Merfish Lung Cancer, and several proteomics datasets (Charville, UPMC, DFCI) involving colon and neck cancers.
Key Insights and Ideas
- Biological Inductive Bias: By using co-expression networks as a graph structure rather than a fully connected transformer, HEIST encodes biological "common sense" into the architecture. This makes it more efficient and accurate.
- Context-Dependent Encoding: In HEIST, the same gene can have a different embedding depending on the cell's neighborhood. This mirrors biology, where a cell's environment (e.g., being near a tumor vs. healthy tissue) changes how its genes behave.
- Zero-Shot Generalization: Because the model learns the logic of how genes and cells interact, it can be applied to proteomics data (measuring proteins instead of RNA) without needing to be retrained from scratch.
- Attention as a Discovery Tool: The model’s attention weights aren't just math; they correlate strongly with real biological signals. High-attention edges in the graph were found to be enriched for known ligand-receptor interactions, essentially "mapping" cell-cell communication.
Results and Performance
- Efficiency: HEIST is highly optimized. It is 8x faster than scGPT-spatial and 48x faster than scFoundation for embedding extraction.
- Clinical Outcomes: It achieved state-of-the-art (SOTA) performance in predicting clinical outcomes (like immunotherapy response and cancer remission) across six out of seven evaluation scenarios.
- Gene Imputation: When predicting missing data, HEIST outperformed baselines by 2.5% to 9%, proving that spatial context helps "fill in the blanks" of noisy genetic data.
- Subpopulation Discovery: Unsupervised analysis of HEIST embeddings revealed spatially-informed cellular subpopulations that prior models completely missed.
As shown above, HEIST successfully isolates specific clusters (such as L4-IT neurons) with a significantly higher Silhouette Score (0.29) compared to CellPLM (0.17) and scGPT-spatial (0.26), demonstrating its superior ability to capture biologically meaningful cellular heterogeneity.
Limitations and Future Directions
The authors acknowledge a few key areas for growth:
- Correlation vs. Causality: The current gene graphs are built on co-expression (mutual information), which identifies correlations but doesn't necessarily prove one gene causes another to activate.
- Static Snapshots: HEIST models static "snapshots" of tissue. It does not yet account for temporal dynamics or developmental trajectories (how tissues change over time).
- Computational Resources: While efficient at inference, the initial pretraining still requires significant resources (4x NVIDIA L40 GPUs).
Future work may involve integrating temporal data and more sophisticated causal inference mechanisms to better model how diseases like cancer progress through tissue over time.
Summary updated