Researchers have introduced LUNA (Location Reconstruction Using Generative AI), a diffusion‑based artificial‑intelligence system that can rebuild complex tissue structures from the gene‑expression profiles of dissociated single cells. By learning spatial priors from existing spatial transcriptomics datasets, LUNA predicts where each cell belongs within a tissue slice, effectively restoring the spatial context lost during single‑cell RNA sequencing (scRNA‑seq).
How LUNA Works
LUNA employs a multi‑head self‑attention mechanism that lets each cell consider the expression of all other cells when estimating its position. During training, the model receives true cell coordinates that are deliberately corrupted with Gaussian noise. Conditioned on the corresponding gene‑expression data, LUNA learns to denoise these coordinates, gradually acquiring an internal representation of spatial relationships. In inference, the model starts with random noise and iteratively removes it, producing predicted physical locations for each cell solely from its transcriptomic profile. The loss function is designed to be invariant to rotations and translations, preserving relative spatial relationships regardless of slice orientation.
Validation on Large‑Scale Mouse Brain Atlases
To test its performance, LUNA was trained on 2.85 million cells across 147 slices from a MERFISH mouse brain atlas. It was then applied to a separate whole‑brain dataset containing 1.23 million cells and 338 identified subclasses spread over 66 slices. Comparisons with ground‑truth coordinates showed strong agreement across eleven major brain regions, despite their distinct structural features. The model also succeeded in reconstructing spatial gene‑expression patterns for cell types that were not explicitly represented in the training set.
Beyond the MERFISH atlas, LUNA inferred locations for 1.08 million cells in a mouse central nervous system scRNA‑seq atlas and enriched Slide‑tags data by imputing positions for nuclei lost during profiling. In the Slide‑tags experiments, the method placed neuronal subtypes in embryonic tissue and boosted data completeness by up to 95.5 %.
Pathology Applications and Scalability
The authors generated a Xenium spatial transcriptomics dataset from both wild‑type mice and an α‑synuclein‑induced Parkinson’s disease model. Although LUNA was trained only on control samples, it correctly identified clusters of cells containing pathological α‑synuclein, a finding confirmed by immunostaining. This demonstrates the model’s ability to generalize to disease contexts and to pinpoint regions of disease‑associated alteration.
Scalability tests revealed linear time and memory complexity relative to the number of input cells. For example, LUNA reconstructed the locations of 40,000 cells from the Allen Brain Cell MERFISH atlas in roughly four minutes using about 6 GB of GPU memory. The model can therefore infer coordinates for tens of thousands of cells in just a few minutes on a single GPU.
Overall, LUNA establishes generative tissue reconstruction as a viable computational approach for overcoming the spatial limitations of current scRNA‑seq technologies. By linking transcriptional programs to tissue architecture, the method promises to advance understanding of both normal biology and disease pathology.
Mitchell Landsberg is a Senior Technology Correspondent at News Raise. He covers consumer electronics, artificial intelligence, software developments, and digital privacy trends.




