NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discriminative bag-of-cells for imaging-genomics

Benjamin Chidester, Minh N. Do, Jian Ma

Abstract

In oncology, a significant gap exists between a tumor's genotype (genetic mutations) and its phenotype (visual appearance under a microscope). This paper presents the Discriminative Bag-of-Cells (DBC) framework, which predicts genomic markers directly from histopathological Whole Slide Images (WSIs). By end-to-end training of a cell-type assignment module and a distribution classifier, the model achieves 70% accuracy in identifying breast cancer subtypes. This discriminative approach allows for the identification of specific cellular morphologies correlated with genetic changes, offering both predictive power and clinical interpretability.

Introduction

Histopathology remains the clinical gold standard for cancer diagnosis, yet human pathologists are often unable to discern the underlying genomic markers that drive disease progression and treatment response. While genomic sequencing provides these insights, it is resource-intensive and time-consuming. Machine learning offers a potential bridge, but the scale and heterogeneity of WSIs—often containing tens of thousands of cells—pose significant challenges. Previous attempts at "imaging-genomics" frequently relied on unsupervised clustering, which may fail to capture the specific visual features relevant to a particular genetic marker. The DBC framework addresses this by learning exactly which cellular characteristics are most informative for genomic prediction.

Methodology

The proposed pipeline consists of three primary stages: nuclear segmentation, feature extraction, and the DBC framework itself.

Overview of the multi-stage pipeline from WSI to image features.

To handle the high variability in H&E staining across different laboratories, a custom patch-based Convolutional Neural Network (CNN) was developed for robust nuclear segmentation. This CNN was trained on diverse data from The Cancer Genome Atlas (TCGA). Following segmentation, 219 morphological features (shape, texture, and color) were extracted for each nucleus using CellProfiler.

The Discriminative Bag-of-Cells Framework

The core innovation of this work is the DBC framework, inspired by the "Bag-of-Words" model in natural language processing. In this model, a tumor is treated as a collection of "cellular words."

The DBC architecture illustrating the joint training of codeword assignment and classification.

The framework employs two main learners:

  1. Learner 1 (Codeword Assignment): A neural network maps individual cell features to a "codeword," representing a specific cell type.
  2. Aggregation: The model aggregates these assignments into a histogram, representing the frequency distribution of cell types within the image.
  3. Learner 2 (Classification): A second network classifies this histogram to predict the genomic marker.

Crucially, these components are trained end-to-end. This joint optimization ensures that the model defines "cell types" based on their utility in predicting the genomic outcome, effectively filtering out visual noise.

Results and Discussion

The model was evaluated using the TCGA-BRCA dataset, comprising diagnostic slides from 607 breast cancer patients. The DBC framework predicted the "basal" molecular subtype with a class-balanced accuracy of 70% on a test set of 213 patients. This performance significantly outperformed standard baselines like "SVM-Stat," which relies on global mean and variance of features, highlighting the importance of capturing the specific distribution of distinct cell populations.

Furthermore, the custom CNN segmentation achieved an F1-score of 0.852, demonstrating superior robustness compared to standard threshold-based tools when applied to large-scale clinical datasets with inconsistent image quality. The model's interpretability was validated by tracing predictions back to specific nuclei; for instance, the model successfully distinguished between lymphocytes and stromal cells without explicit supervision.

Conclusion

The Discriminative Bag-of-Cells framework provides a powerful and interpretable method for predicting cancer genomics from histopathology. While the current model ignores spatial relationships between cells and shows some sensitivity to image resolution, it represents a significant step toward integrating visual and genetic data in oncology. Future work will explore the inclusion of spatial context and multi-resolution training to further enhance predictive accuracy and clinical utility.

Summary updated

BibTeX
@inproceedings{chidester2018discriminative,
  author = {Benjamin Chidester and Minh N. Do and Jian Ma},
  title = {{Discriminative bag-of-cells for imaging-genomics}},
  booktitle = {PSB},
  year = {2018},
}
Figure