Abstract
Histopathology refers to the microscopic examination of diseased tissues and routinely guides treatment decisions for cancer and other diseases. Currently, this analysis focuses on morphological features but rarely considers gene expression information, which can add an important molecular dimension. Here, we introduce SpotWhisperer, an AI method that links histopathological images to spatial gene expression profiles and their text annotations, enabling molecularly grounded histopathology analysis through natural language. Our method outperforms pathology vision-language models on a newly curated benchmark dataset, dedicated to spatially resolved H&E annotation. Integrated into a web interface, SpotWhisperer enables interactive exploration of cell types and disease mechanisms using free-text queries with access to inferred spatial gene expression profiles. In summary, SpotWhisperer analyzes cost-effective pathology images with spatial gene expression and natural-language AI, demonstrating a path for routine integration of microscopic molecular information into histopathology.
Introduction
In clinical diagnostics, pathologists primarily rely on Hematoxylin and Eosin (H&E) stained tissue slides. While H&E is cost-effective and ubiquitous, it traditionally only reveals morphology—the shapes and structures of cells. This approach often misses the critical molecular dimension, such as specific gene activity, which is essential for precision medicine. While Spatial Transcriptomics (ST) can provide this molecular map, it remains too expensive and technically demanding for routine clinical use.
Existing Vision-Language Models (VLMs) for pathology, such as PLIP or CONCH, are typically trained on broad, macroscale labels (e.g., "tumor" vs. "normal"). Consequently, these models often fail to capture the "microscale" biological nuances, such as specific immune cell subtypes, required to understand complex disease mechanisms. SpotWhisperer addresses this gap by acting as a molecular bridge between standard images and natural language.
Methodology: The Molecular Middleman
SpotWhisperer functions by linking pixels to inferred biology, and subsequently linking that biology to words. The pipeline consists of four integrated steps:
- Tiling: H&E images are subdivided into small patches centered on specific spatial locations.
- Transcriptome Prediction: Utilizing the DeepSpot model, the system predicts the expression levels of 5,000 genes for each patch based on its visual features.
- Multimodal Embedding: These predicted gene profiles are processed by CellWhisperer, a model trained to map transcriptomes and natural language descriptions into a shared mathematical space.
- Natural Language Querying: Users can input free-text queries (e.g., "T cells" or "inflamed tissue"), and the system calculates the similarity between the text and molecular embeddings to highlight relevant image regions.
Experimental Results and Benchmarking
The authors evaluated SpotWhisperer using a newly curated benchmark dataset consisting of 16,032 patches from five independent lung cancer samples. This benchmark features both pathology-focused expert annotations and transcriptome-derived cell type labels.
SpotWhisperer significantly outperformed state-of-the-art pathology VLMs on microscale tasks:
- Region-level Annotation: SpotWhisperer achieved an Overall AUROC of 0.717, compared to 0.554 for PLIP and 0.478 for CONCH.
- Zero-shot Cell Type Prediction: The model maintained a lead with an Overall AUROC of 0.656, while baselines hovered between 0.55 and 0.58.
- Specific Infiltrates: The model was particularly effective at identifying "normal cells" and "infiltrating cells," categories where traditional models often performed near or below random chance.
Interactive Exploration and Interpretability
Beyond classification, SpotWhisperer offers built-in explainability. Because the model predicts actual gene levels, researchers can verify findings against known biological markers. For instance, identifying "tertiary lymphoid structures" can be validated by observing high predicted expression of the LTB gene.
Conclusion and Future Directions
SpotWhisperer demonstrates that molecular grounding provides a "biological prior" that standard vision models lack, significantly improving the accuracy of microscale feature identification. While currently optimized for lung cancer, future work aims to develop "pan-tissue" models and increase spatial resolution toward single-cell or subcellular levels. By integrating microscopic molecular information into routine histopathology, SpotWhisperer paves the way for more accessible precision diagnostics.
Summary updated