Progressive Translation of H&E to IHC with Enhanced Structural Fidelity

Yuhang Kang, Ziyu Su, Tianyang Wang, Zaibo Li, Wei Chen, Muhammad Khalid Khan NiaziarXiv 2025 · DOI

Abstract

Compared to hematoxylin-eosin (H&E) staining, immunohistochemistry (IHC) not only maintains the structural features of tissue samples, but also provides high-resolution protein localization, which is essential for aiding in pathology diagnosis. Despite its diagnostic value, IHC remains a costly and labor-intensive technique. Its limited scalability and constraints in multiplexing further hinder widespread adoption, especially in resource-limited settings. Consequently, researchers are increasingly exploring computational stain translation techniques to synthesize IHC-equivalent images from H&E-stained slides, aiming to extract protein-level information more efficiently and cost-effectively. However, most existing stain translation techniques rely on a linearly weighted summation of multiple loss terms within a single objective function, a strategy that often overlooks the interdependence among these components—resulting in suboptimal image quality and an inability to simultaneously preserve structural authenticity and color fidelity. To address this limitation, we propose a novel network architecture that follows a progressive structure, incorporating color and cell border generation logic, which enables each visual aspect to be optimized in a stage-wise and decoupled manner. To validate the effectiveness of our proposed network architecture, we build upon the Adaptive Supervised PatchNCE (ASP) framework as our baseline. We introduce additional loss functions based on 3,3'-diaminobenzidine (DAB) chromogen concentration and image gradient, enhancing color fidelity and cell boundary clarity in the generated IHC images. By reconstructing the generation pipeline using our structure-color-cell boundary progressive mechanism, experiments on HER2 and ER datasets demonstrated that the model significantly improved visual quality and achieved finer structural details.

Introduction

In clinical pathology, Hematoxylin and Eosin (H&E) staining is the standard for visualizing tissue morphology due to its cost-effectiveness. However, identifying specific biomarkers like HER2 or ER requires Immunohistochemistry (IHC), which is significantly more expensive and labor-intensive. Computational "stain translation" aims to bridge this gap by generating virtual IHC images from H&E slides.

Visual progression of the ProgASP framework, showing the transition from H&E to a refined HER2 image through structure generation and boundary refinement.

A major challenge in this field is the "tug-of-war" within traditional AI models: attempting to optimize color, shape, and detail simultaneously often leads to trade-offs, such as realistic color at the expense of blurred cell boundaries. This paper introduces ProgASP, a framework that decouples these tasks into a progressive sequence to ensure high structural fidelity and color accuracy.

Methodology

The ProgASP framework utilizes a three-stage progressive training strategy. By freezing the model parameters after each stage, the system prevents interference between different optimization goals.

The three-stage progressive training architecture of ProgASP, highlighting the decoupled optimization of structure, color (DAB-CF), and boundaries (GCBR).
  1. Structure Generation: Utilizing an Adaptive Supervised PatchNCE (ASP) backbone, the model first learns the fundamental tissue architecture. This stage is designed to be robust against pixel-level misalignments common in adjacent tissue slices.
  2. DAB-Guided Color Fidelity (DAB-CF): The model isolates the 3,3'-diaminobenzidine (DAB) channel—the brown stain indicating protein presence—via color deconvolution. By matching the DAB intensity of real images, the model ensures the virtual stain reflects actual biological protein levels.
  3. Gradient-guided Cell Boundary Refinement (GCBR): Finally, the model sharpens edges using image gradients and a "soft mask" based on DAB intensity, focusing refinement on biologically relevant areas like cell membranes.

Experimental Results

The study utilized the Multi-domain Immunohistochemical Stain Translation (MIST) dataset, comprising thousands of training and test pairs for HER2 (membrane-focused) and ER (nucleus-focused) biomarkers.

ProgASP consistently outperformed baseline models across several key metrics:

  • Structural Fidelity: On the HER2 dataset, ProgASP achieved a Structural Similarity Index (SSIM) of 0.2138, a significant improvement over the 0.1868 baseline.
  • Visual Realism: The model reduced the Fréchet Inception Distance (FID) to 49.6, representing a 14.2% improvement in image realism.
  • Boundary Precision: The model achieved the lowest Gradient Mean Squared Error (0.002234), confirming superior anatomical precision in cell borders.

Discussion and Conclusion

By decoupling the optimization of structure, color, and boundaries, ProgASP avoids the conflicts inherent in "all-in-one" generative models. The use of biologically informed loss functions, such as DAB chromogen concentration, grounds the AI in the physical realities of staining rather than simple pixel matching.

Future work will focus on addressing stain sensitivity across different lab protocols and validating the model on more diverse tissue types. The ultimate goal is to integrate these "virtual stains" into clinical workflows, providing pathologists with high-detail diagnostic information at a fraction of the current cost and time.

Summary updated

BibTeX
@misc{kang2025progressive,
  author = {Yuhang Kang and Ziyu Su and Tianyang Wang and Zaibo Li and Wei Chen and Muhammad Khalid Khan Niazi},
  title = {{Progressive Translation of H\&E to IHC with Enhanced Structural Fidelity}},
  year = {2025},
  eprint = {2511.01698},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.01698},
  howpublished = {arXiv},
}
Figure