# NicheIB: Targeted Spatial Bottlenecks for Predictive Microenvironment Discovery

*Chenxi He*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153405) · [OpenReview](https://openreview.net/forum?id=LaZNrmtjRL) · [Open on the map](../papers.html#p153405)

Category: [AI for Molecules, Materials & Genomics](../pcat/8.md) › [Histology-to-Gene Expression Prediction](../pgroup/543.md) · Type: new method · Keywords: spatial transcriptomics, targeted spatial bottleneck, edge gating, sparse subgraph discovery, spatial biology diagnostics

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Neural and brain architectures › Multi-scale Genomic Representation Learning; [Graph Learning](../areas/graph-learning.md) › Multidimensional Graph Learning › Biological Graph Learning

## Summary
NicheIB introduces a Targeted Spatial Bottleneck that learns which spatial edges are important for a user-specified target, enabling sparse subgraph discovery and diagnostic insights in spatial transcriptomics.

## Explained to a 5-year-old
Scientists look at pictures of brain tissue to see where genes are active. They want to know which parts of the picture are important for a specific gene. The new method finds the most useful parts while ignoring the rest, like picking the most important puzzle pieces. It helps them understand how genes are organized in the tissue and can be used to study brains and cancer. This makes it easier to find patterns that were hidden before.

## Explained to a 5-year-old, longer
In spatial transcriptomics, researchers capture snapshots of gene activity across tiny spots in tissue. They often want to answer questions like "Which nearby spots influence a particular gene?" The new system learns to pick out only the most relevant connections between spots for any chosen target. By adjusting a sparsity setting, it can keep just a small fraction of those connections while still predicting the target well. This allows the same model to be reused for many different biological questions without retraining from scratch. The selected connections often form a clear, minimal map that highlights the important biological relationships. This map can be used to diagnose whether a gene program is organized in space or not. It also helps researchers discover new patterns that were previously hidden in the data. The approach works on various tissues, including human brain samples, mouse brains, and cancer tissues, making it broadly useful. By focusing on only the essential edges, the method reduces computational cost and makes it easier to interpret the results. Ultimately, it provides a powerful tool for exploring how spatial context influences gene activity in health and disease.

## For a technical reader
The system takes a spatial graph representing relationships between spots in tissue data and learns which edges are relevant for a specific biological target. It uses a gating mechanism that can be tuned to keep only a small fraction of edges, producing a compact subgraph that preserves predictive performance. This allows the same model to be applied to different targets-such as cell types or gene programs-by simply changing the target label. The retained subgraph can be inspected to understand spatial organization and to identify key ligand-receptor interactions, providing both efficiency and interpretability.

## Problem
Many spatial transcriptomics analyses focus on clustering tissue into domains, yet biological questions often require identifying which spatial context predicts specific cell states, gene programs, or phenotypes. There is a need for a method that can pinpoint target-relevant spatial edges from a redundant spatial graph.

## Method
The approach learns which spatial edges matter for a user-defined target by applying input-dependent Hard Concrete edge gates with controllable sparsity budgets, training the same model on multiple targets to produce distinct edge retention patterns. It also serves as a diagnostic tool to assess whether gene programs are spatially structured at a given resolution.

## Results
On mouse brain region prediction, the approach retains only 20% of spatial edges while achieving an F1 score of 0.915, close to the full-graph baseline of 0.926. External validation shows the retained subgraph enhances spatial autocorrelation for target-relevant genes and is enriched for known ligand-receptor pairs.

## Contributions
It introduces a general framework for learning target-specific spatial edge importance with controllable sparsity, enabling discovery of minimal informative subgraphs and serving as a diagnostic tool for spatial structure of gene programs. The framework works across multiple tissues and demonstrates that edge retention patterns reflect biological similarity of targets.

## Research questions this paper is counted under

- [How can we accurately predict gene expression or molecular states from histology images while preserving biological relevance and context?](../q/141.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153405)
