SpaCEy, a new machine learning method developed by researchers at Nature Communications, connects spatial patterns in tissue to clinical outcomes using explainable graph neural networks. The tool analyzes spatial proteomic data—molecular profiles mapped across tissue sections—and identifies regions where cell arrangements and protein expression correlate with patient survival and disease progression.
What Happened: A Breakthrough in Spatial Omics
SpaCEy was designed to address a key gap in cancer research: the inability to reliably link spatial tissue organization to clinical outcomes. While technologies like multiplex immunofluorescence allow high-resolution mapping of cell types and protein expression in tissues, most existing models treat this data as a collection of isolated points, ignoring the spatial relationships between cells.
The study, published in Nature Communications, applies an explainable graph neural network (GNN) to spatial proteomic datasets from lung and breast cancers. Unlike prior methods that rely on predefined cell-type labels or anatomical regions, SpaCEy models tissues as spatial graphs directly from continuous molecular measurements—without assuming cell identities or tissue boundaries.
Using this approach, SpaCEy identifies specific spatial motifs—contiguous regions of tissue where certain cells and proteins interact in structured ways—and links them to patient outcomes such as overall survival and disease progression. These patterns are not just statistical correlations; they emerge from the actual spatial architecture of tissues.
Key Facts from the Study
- SpaCEy was tested on spatial proteomic datasets from lung and breast cancers, showing consistent predictive power across multiple cohorts.
- It identifies spatially coherent regions where specific cell types—such as cancer cells and endothelial cells—interact in ways tied to disease progression.
- Key protein markers like FOXP3 (a regulatory T-cell marker) and CD163 (a macrophage marker) were enriched in progression groups, suggesting immunosuppressive environments linked to aggressive disease.
- Non-progressing patients showed higher expression of HLA-DR (an antigen-presenting marker) and epithelial cancer markers, indicating more active immune surveillance and better tumor control.
- SpaCEy outperformed state-of-the-art methods in predicting survival outcomes, particularly in stratifying patients within established clinical subtypes.
How It Works: From Tissue to Graph to Prediction
Tissues are not just collections of cells—they are structured ecosystems where spatial relationships matter. SpaCEy treats each tissue section as a network, where nodes represent cells or small regions, and edges represent molecular interactions or proximity between cells.
First, the method constructs a spatial graph from proteomic data. Each node corresponds to a small region of tissue, and edges are formed based on protein expression similarity and spatial proximity. This graph is built directly from continuous molecular measurements, avoiding assumptions about cell types or anatomical zones.
Next, a graph neural network learns the structure of these networks and generates embeddings—numerical representations of each tissue region—that capture intercellular relationships and molecular dependencies. These embeddings are used to predict clinical outcomes like overall survival.
Crucially, SpaCEy includes an integrated explainer that identifies which regions and cell types are most important for its predictions. This allows researchers to see not just what patterns predict outcomes, but what biological features underlie them—such as specific immune cell interactions or protein expression gradients.
For example, in lung adenocarcinoma (LUAD), SpaCEy revealed that progression groups had elevated FOXP3 and CD163, markers associated with immunosuppressive microenvironments. In contrast, non-progressing tumors showed stronger immune activation, with higher HLA-DR and CD4 expression, suggesting a more effective immune response.
Why It Matters: Bridging the Gap Between Structure and Outcome
For decades, cancer research has focused on molecular markers and genetic mutations. SpaCEy shifts the focus to the physical architecture of tumors—how cells are arranged and interact in space.
Understanding spatial organization is critical because it reflects functional biology. For instance, a tumor with a dense network of immunosuppressive cells may be resistant to immunotherapy, even if its genetic profile appears favorable. SpaCEy helps identify such structural features early, enabling more personalized treatment strategies.

Moreover, this approach could be applied beyond cancer—such as in fibrosis or autoimmune diseases—where tissue architecture plays a key role in disease progression. It also supports translational research by revealing how similar tissue patterns appear across patients, even within the same clinical subtype.
By making model predictions interpretable through visualized spatial motifs, SpaCEy turns complex machine learning into actionable biological insight. This is a significant step toward AI tools that are not only accurate but also trustworthy and clinically usable.
Limitations and Open Questions
While SpaCEy represents a major advance, it has limitations. The method was tested on proteomic datasets, not transcriptomic or genomic ones, so its applicability to other omics layers remains unproven.
It does not yet integrate functional data—such as gene activity or signaling pathways—beyond protein expression. This limits its ability to explain the biological mechanisms behind observed patterns.
Additionally, the model’s performance relies on data quality and spatial resolution. In real-world clinical settings, tissue samples may be degraded or processed inconsistently, which could affect the reliability of spatial graphs.
Finally, while SpaCEy provides interpretability, the biological significance of some identified patterns remains speculative. Further validation in larger, diverse cohorts is needed to confirm their clinical relevance.
What to Watch Next
SpaCEy opens the door to a new era of spatial medicine. Researchers are likely to adapt similar frameworks to other diseases and to integrate SpaCEy with other AI tools for multi-omics analysis.
Future work may include combining SpaCEy with liquid biopsy technologies to link spatial tumor patterns with circulating biomarkers. It may also be combined with nanomaterial-based diagnostics for real-time monitoring of tissue changes.
As spatial omics becomes more accessible, tools like SpaCEy will likely become standard in precision oncology, helping clinicians identify high-risk patients and tailor therapies based on tissue architecture.
For a deeper dive into how AI is transforming medical research, see our coverage of the future of latent space in AI.
Sources & further reading
Featured image: The brass handle in the center is the gear shift. As you can see the railbus has six speeds. The entire installation is good old 1950ies technology; no electronics, no nonsense, zero ergonomics. by wwwuppertal, CC BY 2.0, via Wikimedia Commons. Image source · License
