Spatial imputation is a computational method that fills in missing gene expression values in spatial transcriptomics datasets. It operates by modeling the joint distribution of measured transcripts and their spatial autocorrelation—the principle that nearby cells or tissue regions tend to have similar expression profiles—to infer the likely expression levels of unmeasured or dropout-affected genes at each spatial coordinate.
Glossary
Spatial Imputation

What is Spatial Imputation?
Spatial imputation is a machine learning technique that predicts the expression of unmeasured genes or enhances the resolution of sparse spatial transcriptomics data by leveraging gene-gene and spatial correlations.
Modern implementations often employ spatial graph neural networks or matrix factorization techniques that simultaneously learn from both the gene-gene co-expression matrix and the spatial neighborhood graph. This dual signal allows the model to distinguish true biological zeros from technical spatial dropout events, effectively increasing the spatial resolution of the data without additional experimental cost.
Key Methods for Spatial Imputation
Spatial imputation leverages gene-gene correlations and physical proximity to predict unmeasured transcriptomes or enhance the resolution of sparse spatial data. These methods are critical for maximizing the biological insight extracted from limited experimental measurements.
Frequently Asked Questions
Clear answers to common questions about predicting unmeasured gene expression and enhancing resolution in spatial transcriptomics data.
Spatial imputation is a computational technique that predicts the expression of unmeasured genes or enhances the resolution of sparse spatial transcriptomics data by leveraging gene-gene correlations and spatial neighborhood information. It works by building a model—often a spatial graph neural network or a probabilistic matrix factorization—that learns the relationship between a gene's expression at one location and the expression of other genes in its immediate spatial vicinity. The algorithm uses the measured transcriptome of neighboring spots or cells to fill in missing values, effectively borrowing statistical strength from the tissue's inherent spatial autocorrelation. This process can also increase the resolution of low-resolution technologies by predicting expression at sub-spot locations, a process known as super-resolution imputation.
Spatial Imputation vs. Related Concepts
A comparison of Spatial Imputation with adjacent computational techniques used in spatial transcriptomics data processing.
| Feature | Spatial Imputation | Spatial Deconvolution | Spatial Batch Correction |
|---|---|---|---|
Primary Objective | Predict unmeasured gene expression or enhance resolution | Estimate cell-type proportions within a spot | Remove technical variation across samples |
Input Data Type | Sparse spatial expression matrix | Mixed expression profile per spot | Multiple spatial datasets with batch effects |
Leverages Spatial Context | |||
Leverages Gene-Gene Correlations | |||
Output | Dense, high-resolution expression matrix | Cell-type proportion matrix | Harmonized expression matrix |
Key Algorithmic Approach | Graph neural networks, matrix factorization | Regression, probabilistic models | Canonical correlation analysis, mutual nearest neighbors |
Preserves Biological Heterogeneity | |||
Typical Use Case | Enhancing sparse MERFISH or Slide-seq data | Analyzing Visium data from complex tissues | Integrating multiple tissue sections or cohorts |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Mastering spatial imputation requires understanding the foundational algorithms and data structures that enable accurate gene expression prediction across tissue architectures.
Spatial Dropout
The primary technical challenge that necessitates imputation. Spatial dropout refers to the stochastic failure to capture a transcript that is biologically present, resulting in an excess of false zeros in expression matrices. Unlike technical noise, this zero-inflation is spatially correlated and requires specialized statistical models—such as zero-inflated negative binomial (ZINB) distributions—to distinguish between true biological absence and failed capture events.
Spatial Neighborhood Graph
The fundamental data structure enabling spatial imputation. Each spot or cell is represented as a node, with edges connecting k-nearest spatial neighbors based on Euclidean distance. This graph encodes the core assumption of spatial transcriptomics: spatially proximal locations share similar expression profiles. Imputation algorithms propagate information across these edges using techniques like graph convolutions or random walks to infer missing transcript values.
Spatial Autocorrelation
The statistical property that makes imputation possible. Spatial autocorrelation measures the degree to which a gene's expression at one location predicts expression at nearby locations. Quantified by metrics like Moran's I, strong positive autocorrelation indicates that a gene's expression pattern is highly structured by tissue architecture. Imputation models explicitly leverage this dependency, using it as a prior to regularize predictions and smooth technical noise.
Spatial Deconvolution
A complementary computational task often paired with imputation. While imputation predicts unmeasured genes at a given spot, deconvolution estimates the cell-type proportions within a spot that may contain multiple cells. Together, they transform low-resolution spatial data into high-resolution, gene-rich maps. Advanced methods now perform joint imputation and deconvolution within a unified probabilistic framework.
Spatial Graph Neural Network
The state-of-the-art deep learning architecture for spatial imputation. Spatial GNNs operate directly on the neighborhood graph, learning to aggregate features from neighboring nodes to predict missing gene expression. Architectures like Graph Attention Networks (GATs) learn adaptive weights for each neighbor, while GraphSAGE enables inductive learning on unseen tissue structures. These models capture complex, non-linear spatial dependencies beyond simple smoothing.
Spatial Registration
A critical preprocessing step for multi-sample imputation. Spatial registration aligns multiple tissue sections into a common coordinate system, enabling the transfer of gene expression information across samples. This allows imputation models to leverage cross-sectional power—borrowing expression patterns from well-measured genes in one sample to predict missing genes in another, aligned sample.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us