HEIST: A Graph Foundation Model for Spatial Transcriptomics and Proteomics Data
This paper introduces HEIST, a hierarchical graph transformer foundation model pretrained on 22.3 million spatially resolved cells that integrates spatial context with intra-cellular gene and protein networks to achieve state-of-the-art performance in cell annotation, gene imputation, and clinical outcome prediction while generalizing to unseen data types like spatial proteomics.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer
Imagine you are trying to understand a bustling, crowded city. You have two types of data about this city:
- The People List: A massive spreadsheet telling you what every single person is thinking and doing (their "gene expression").
- The Map: A GPS showing exactly where every person is standing and who they are standing next to (their "spatial location").
For a long time, scientists had to choose between looking at the People List or the Map. If they looked at the list, they missed the context of the neighborhood. If they looked at the map, they missed the internal thoughts of the individuals. Furthermore, most computer models treated every person's "vocabulary" as fixed, meaning they couldn't understand a new city if it used different words (genes or proteins) than the one they were trained on.
Enter HEIST.
HEIST is a new "foundation model" (a super-smart AI base) designed to understand both the internal thoughts of cells and their neighborhood context all at once. Here is how it works, using simple analogies:
1. The Two-Level City Map (Hierarchical Graphs)
Most models look at a city in just one way. HEIST looks at it like a Russian nesting doll or a two-story building:
- The Top Floor (The Neighborhood): This is a map of the whole tissue. It connects cells based on who is standing next to whom. It knows that a cell in a "tumor neighborhood" is different from one in a "healthy neighborhood."
- The Bottom Floor (The Internal Office): Inside every single cell, HEIST builds a mini-network of that cell's genes. It doesn't just list the genes; it connects them based on who talks to whom (co-expression).
The Magic Trick: HEIST doesn't just look at the top floor or the bottom floor. It lets them talk to each other.
- If a cell is standing in a noisy, crowded neighborhood (a specific tissue environment), HEIST updates that cell's internal "thoughts" to reflect that stress.
- Conversely, if the genes inside a cell are screaming a specific message, HEIST uses that to update how it sees the cell's place in the neighborhood.
2. No Fixed Dictionary (Generalization)
Imagine you trained a translator to speak English, but then you handed it a book written in French. A standard model would crash because it only knows the "English vocabulary."
HEIST is different. Instead of memorizing a fixed list of words (genes), it learns how words relate to each other.
- If it sees a new protein it has never seen before (like in proteomics data), it doesn't panic. It looks at how that new protein is "talking" to its neighbors and infers its meaning based on those relationships.
- This allows HEIST to jump from studying RNA (transcriptomics) to studying Proteins (proteomics) without needing to be retrained from scratch. It's like a polyglot who can learn a new language just by understanding the grammar and sentence structure, even if they've never heard the words before.
3. How It Learned (The Training)
HEIST was trained on a massive "city" dataset containing 22.3 million cells from 15 different organs and 124 different tissues.
- The Teacher's Game: To learn, the AI played two games:
- The "Spot the Difference" Game (Contrastive Learning): It was shown two cells and asked, "Are these neighbors similar or different?" It learned to group similar cells together and push different ones apart.
- The "Fill in the Blanks" Game (Masked Autoencoding): The AI was shown a cell with some of its genes or location data hidden (masked). It had to guess the missing pieces based on what it knew about the cell's neighbors and internal gene network.
4. What HEIST Can Do (The Results)
The paper claims HEIST is a "superpower" for biology in four specific areas:
- Finding Hidden Clusters: It can find tiny, hidden sub-groups of cells that other models miss. For example, it can spot a specific type of immune cell that only exists in a very specific "micro-environment" within a tumor, which previous models treated as just "generic immune cells."
- Predicting Health Outcomes: It can look at a tissue sample and predict if a cancer patient will respond to immunotherapy or if a placenta is healthy, often beating other top models.
- Filling in the Gaps: If a gene measurement is missing or noisy (a common problem in labs), HEIST can accurately guess what it should be.
- Speed: It is incredibly fast—8 times faster than some competitors and 48 times faster than others—because it uses a smart, sparse way of looking at the data rather than trying to connect every single cell to every other single cell.
Summary
Think of HEIST as the ultimate biological detective. It doesn't just read the ID cards of the cells (genes); it looks at the crime scene (the tissue map), understands the relationships between the suspects (gene networks), and uses that context to solve mysteries that other detectives (models) were too blind to see. It is the first model to successfully combine the "who" (genes), the "where" (space), and the "how they talk" (networks) into one unified, adaptable system.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.