HER2 Expression Prediction with Flexible Multi-Modal Inputs via Dynamic Bidirectional Reconstruction

Jie Qin, Wei Yang, Yan Su, Yiran Zhu, Weizhen Li, Yunyue Pan, Chengchang Pan, Honggang Qi

Abstract

Accurate determination of Human Epidermal Growth Factor Receptor 2 (HER2) status is essential for personalizing breast cancer treatment. While multi-modal approaches combining Hematoxylin and Eosin (H&E) and Immunohistochemistry (IHC) images offer superior diagnostic accuracy, clinical practice often suffers from missing modalities due to cost or logistical constraints. This paper introduces a flexible framework that utilizes a Generative Adversarial Network (GAN) to reconstruct missing data and a dynamic attention mechanism to fuse multi-modal features. The system achieves near-dual-modality performance even when only a single modality is available, providing a robust solution for real-world clinical workflows.

Introduction

In breast cancer diagnostics, the HER2 expression level is a primary indicator for targeted therapy. Clinicians typically rely on two distinct imaging modalities: H&E slides, which are ubiquitous and reveal tissue morphology, and IHC slides, which specifically highlight protein expression but are more expensive and time-consuming to produce.

While the integration of both modalities provides the most comprehensive diagnostic picture, real-world clinical environments are frequently characterized by incomplete data. IHC slides may be unavailable due to limited tissue samples or financial constraints. Most existing deep learning models are rigid, requiring a fixed set of inputs and suffering significant performance degradation when one modality is missing. This research addresses the "missing modality" problem by proposing a "dual-modality preferred, single-modality compatible" framework that maintains high predictive accuracy regardless of the input configuration.

Methodology

The proposed framework employs a multi-stage pipeline designed for maximum flexibility and robustness:

1. Adaptive Missing-Modality Branch Selector

To handle varying inputs, the system includes a lightweight classifier that identifies the input type (H&E only, IHC only, or both) in real-time. This ensures that data is routed through the optimal processing path without manual intervention.

2. Bidirectional Cross-Modal Reconstruction (CM-GAN)

The core of the framework is the Cross-Modal Generative Adversarial Network (CM-GAN). When a modality is missing, the CM-GAN "hallucinates" the absent data. For instance, if only an H&E slide is provided, the GAN generates a "Fake IHC" image. This process provides the downstream classifier with the necessary protein-distribution context that would otherwise be lost, effectively bridging the gap between unimodal and multi-modal analysis.

3. Pathological Information Decoupling Encoder

To prevent redundant or noisy data from interfering with the prediction, the model utilizes a decoupling encoder. This module separates features into "shared" information (e.g., cell shapes and tissue architecture present in both stains) and "modality-specific" information (e.g., unique staining textures). This separation allows for a more refined interaction between the two data streams.

4. Modality-Sensitive Feature Attention Module

Inspired by the Convolutional Block Attention Module (CBAM), this component dynamically adjusts feature weights based on input quality. If one image is compromised by artifacts or poor staining, the attention mechanism reduces its influence, relying more heavily on the higher-quality modality to ensure a reliable prediction.

Experimental Setup and Results

The framework was evaluated using the BCI (Breast Cancer Immunohistochemistry) Dataset, which contains 4,870 strictly matched H&E and IHC whole-slide image patches. Each pair is labeled with a HER2 expression level (0, 1+, 2+, or 3+).

Performance Metrics

The experimental results demonstrate a significant leap over standard unimodal baselines:

  • Dual-Modality Input: The model achieved a peak accuracy of 95.09%.
  • H&E-Only Input: By utilizing the CM-GAN reconstruction, the accuracy for H&E-only inputs jumped from a baseline of 71.44% to 94.25%. This indicates that the generated IHC features are highly effective for classification.
  • IHC-Only Input: Similarly, IHC-only accuracy improved from 77.38% to 90.28%.
  • System Reliability: The Branch Selector achieved 99.95% accuracy, ensuring that the pipeline correctly identifies and processes the available modalities.

Discussion and Key Insights

The success of this framework highlights three critical insights for computational pathology:

  1. Generative Imputation: Unlike traditional methods that use zero-filling for missing data, generating biologically plausible "fake" slides preserves the feature distribution necessary for accurate deep learning predictions.
  2. Feature Decoupling: Explicitly separating shared and specific features prevents the model from being overwhelmed by noise, leading to more stable performance across different input types.
  3. Quality Awareness: The inclusion of an attention mechanism allows the model to adapt to the variability of real-world laboratory conditions, such as overstaining or faint staining.

Conclusion and Future Work

This research provides a flexible, high-performance solution for HER2 prediction that accommodates the realities of clinical data gaps. By successfully reconstructing missing modalities, the framework allows pathology labs to achieve high-tier diagnostic accuracy using only standard, low-cost H&E staining.

Future work will focus on validating the model's generalizability across multiple institutions and expanding the framework to include other critical biomarkers, such as Estrogen Receptor (ER) and Progesterone Receptor (PR) status, to create a comprehensive multi-modal diagnostic suite.

Summary updated

BibTeX
@inproceedings{qin2025her,
  author = {Jie Qin and Wei Yang and Yan Su and Yiran Zhu and Weizhen Li and Yunyue Pan and Chengchang Pan and Honggang Qi},
  title = {{HER2 Expression Prediction with Flexible Multi-Modal Inputs via Dynamic Bidirectional Reconstruction}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755619},
}
Figure