Next Article in Journal
Optical Coherence Tomography-Guided Versus Angiography-Guided PCI in Moderate-to-Severe Calcified Coronary Lesions: A Systematic Review and Meta-Analysis of Randomized Trials
Previous Article in Journal
High-Frequency Miniprobe Endoscopic Ultrasonography Across the Gastrointestinal Tract
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

HER2 Score-Aware Virtual Immunohistochemistry via Non-Contrastive Multi-Task Translation

1
Graduate School of Artificial Intelligence, Pohang University of Science and Technology (POSTECH), Pohang 37673, Republic of Korea
2
Department of Electrical Engineering, Pohang University of Science and Technology (POSTECH), Pohang 37673, Republic of Korea
3
Department of Convergence IT Engineering, Pohang University of Science and Technology (POSTECH), Pohang 37673, Republic of Korea
4
Department of VR Convergence Engineering, Duksung Women’s University, Seoul 01369, Republic of Korea
5
Department of Hospital Pathology, Seoul St. Mary’s Hospital, and Cancer Research Institute, College of Medicine, The Catholic University of Korea, Seoul 06591, Republic of Korea
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Diagnostics 2026, 16(9), 1319; https://doi.org/10.3390/diagnostics16091319
Submission received: 4 March 2026 / Revised: 3 April 2026 / Accepted: 25 April 2026 / Published: 28 April 2026
(This article belongs to the Special Issue Deep Learning Applications in Medical Image Analysis and Diagnosis)

Abstract

Background/Objectives: While human epidermal growth factor receptor 2 (HER2) immunohistochemistry (IHC) is pivotal for breast cancer management, its reliance on additional tissue processing beyond routine H&E staining remains a clinical burden. Although virtual staining offers a potential solution, current methods often fail to explicitly account for HER2 score-specific expression patterns. To address this gap, we developed a score-aware framework designed for the precise generation of virtual HER2 IHC images. Methods: We introduce the non-contrastive multi-task (NCMT) framework, which integrates negative-free patch alignment, style–content constraints, and auxiliary HER2 score supervision for high-fidelity H&E-to-IHC translation. For rigorous evaluation, the model was validated on the BCI dataset, utilizing an official split of 3896 training and 977 independent test images derived from 51 whole-slide images. Results: NCMT demonstrated superior virtual staining performance, achieving a Fréchet Inception Distance (FID) of 38.8, a Kernel Inception Distance (KID) of 5.6, and an average Perceptual Hash Value (PHV) of 0.439. In downstream HER2 scoring tasks, while virtual IHC images alone yielded an accuracy of 83.01%, the fusion of H&E and virtual IHC further elevated performance to 97.85% accuracy and a 98.23% F1 score. These findings suggest that our framework effectively preserves diagnostic features while providing complementary information to H&E-based morphological analysis. Conclusions: NCMT enables HER2 score-aware virtual IHC generation from H&E and can serve as a complementary tool for HER2 assessment in digital pathology.

1. Introduction

Breast cancer is a leading cause of cancer-related mortality worldwide, underscoring the need for accurate pathological assessment [1,2,3,4,5,6,7]. In clinical practice, the diagnosis is initially established on biopsy tissue using hematoxylin and eosin (H&E) staining, which provides a morphological overview of tissue architecture and cellular atypia. However, treatment planning often requires molecular phenotype information that cannot be inferred from morphology alone. Immunohistochemistry (IHC) addresses this need by visualizing protein expression patterns in tissue [8]. Among the key IHC markers, hormone receptor (estrogen receptor and progesterone receptor) status and human epidermal growth factor receptor 2 (HER2) status are recognized as indispensable predictive and prognostic factors for therapeutic decision making in invasive breast carcinoma [9]. A positive HER2 test predicts benefit from HER2-targeted therapy, while HER2 overexpression reflects aggressive biology and poor prognosis without appropriate treatment. HER2 IHC scoring stratifies staining intensity and membranous patterns into ordinal scores (0, 1+, 2+, 3+), providing standardized criteria to guide clinical decision making in breast cancer treatment [10]. Nevertheless, performing IHC staining after H&E review requires additional tissue sections and laboratory processing, increasing cost and turnaround time within clinical workflows (Figure 1a) [11]. More broadly, modern clinical workflows are increasingly moving toward streamlined diagnostic strategies that minimize redundant procedures and resource utilization [12,13,14,15,16,17].
Recently, deep learning has been widely adopted in medical imaging to address the practical limitations of conventional diagnostic workflows [18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]. In digital pathology, this trend extends to virtual stain-to-stain translation, where computational models generate a target staining domain (e.g., IHC) from an existing stained slide (e.g., H&E) [34,35,36,37]. Rather than performing additional chemical staining steps, stain-to-stain translation synthesizes the target stain from the available source image. By converting an H&E-stained slide into a virtual IHC-stained representation, this approach provides complementary biomarker information without requiring new tissue sections or extra laboratory processing. These advantages motivate virtual HER2 IHC generation as a scalable and cost-effective alternative for biomarker assessment, with the potential to facilitate IHC score-informed therapeutic decision making in breast cancer. At the same time, recent medical AI studies increasingly emphasize that model evaluation should extend beyond visual or predictive performance alone to also consider preservation of clinically relevant information for downstream decision support and classification [38,39,40,41,42].
Recent stain-to-stain translation methods employ patch-level contrastive objectives to explicitly maximize feature similarity between input and generated images [43,44,45]. In representative models such as CUT [46], a patch from the input image serves as an anchor. The objective maximizes similarity between the anchor and its corresponding positive patch, while minimizing similarity to negative patches sampled from other spatial locations. Typically, the positive is defined as the patch from the generated image at the same spatial location, while negatives are sampled from different spatial locations. Subsequent approaches such as ASP [47] and MDCL [48] refine this strategy by reweighting patch contributions or strengthening cross-domain feature alignment. However, this reliance on negative sampling introduces a fundamental limitation in histopathology. Pathological tissue exhibits repetitive and spatially correlated micro-structural patterns. Consequently, a patch sampled as a negative from a different location may still share highly similar morphological characteristics with the anchor and its positive counterpart. These false negatives generate conflicting learning signals because the objective pushes apart patches that may represent similar tissue content.
Non-contrastive objectives such as SimSiam provide an alternative that avoids explicit negatives [49]. SimSiam uses an asymmetric predictor with a stop-gradient target branch to learn from positive pairs only, which prevents representational collapse relying on negative sampling. Building on this principle, we propose non-contrastive multi-task translation (NCMT), a score-aware stain-to-stain framework for virtual IHC (Figure 1). Specifically, NCMT replaces contrastive learning with a patch-wise SimSiam loss tailored to stain-to-stain translation, introduces an asymmetric style–content (SC) loss to impose comparison-specific constraints, and incorporates an auxiliary HER2 score prediction task to encourage score-separable outputs. In downstream evaluation, we perform HER2 score classification using H&E and virtual IHC to assess its clinical utility. The primary contributions of this work are summarized below:
  • We propose a patch-wise non-contrastive alignment strategy using SimSiam loss. This loss ensures structural consistency by focusing on positive pair alignment, thereby avoiding the false negative issues that arise when distinct patches share similar morphological features.
  • An asymmetric style-content loss is introduced to establish an optimal balance between preserving morphological integrity of H&E and achieving realistic staining textures of IHC, enhancing the overall validity of the virtual immunohistochemistry.
  • A score-aware multi-task learning framework is employed to jointly perform image translation and HER2 grade classification, enabling the model to explicitly capture grade-specific staining patterns.

2. Materials and Methods

2.1. Dataset

We train and evaluate NCMT on the BCI (Breast Cancer Immunohistochemical) dataset [50], which is well suited for score-aware virtual IHC because it provides registered H&E–IHC patch pairs together with a wide spectrum of HER2 expression level. This publicly available breast cancer histopathology dataset was introduced by researchers from Beijing University of Posts and Telecommunications and Capital Medical University, Beijing, China. According to the original dataset description, the whole-slide images were scanned using a Hamamatsu NanoZoomer S60 pathology section scanner at a scanning resolution of 0.46 μm/pixel. The BCI dataset has been widely adopted as a standardized benchmark in recent studies for virtual staining and HER2-related diagnostic tasks [51,52,53,54,55]. To facilitate a fair performance comparison, we strictly adhered to the official train/test dataset partition provided by the benchmark [50,55]. The dataset comprises 4873 H&E–IHC patch pairs extracted from 51 whole slide images. Each patch (1024 × 1024) is annotated with one of four HER2 IHC scores: 0 (n = 240), 1+ (n = 1154), 2+ (n = 2143), or 3+ (n = 1336), where higher scores indicate stronger and more extensive HER2 staining and typically correspond to higher expression. We use 3896 images for training and 977 images for testing.

2.2. Patch-Wise SimSiam Loss for Negative-Free Alignment

Conventional patch-wise contrastive learning encourages structural consistency by maximizing agreement between corresponding input and output patch representations. Its performance can be sensitive to how patch correspondences are defined and how sampling is performed when explicit negative patches are required. Prior work addressed these limitations by refining how negatives are selected and weighted, such as similarity-adaptive weighting based on patch similarity [47] or intra-domain hard negative mining [48]. In contrast, NCMT adopts SimSiam-style non-contrastive alignment [49] to avoid explicit negative sampling altogether. We align representations of positive patch pairs (e.g., corresponding patches between input–prediction or prediction–ground truth) using a prediction-based matching scheme with a stop-gradient target branch and an asymmetric predictor in the prediction branch. This asymmetric design stabilizes optimization and helps avoid degenerate constant representations without negatives. This is particularly appealing in histology, where spatial misalignment and repeated tissue patterns can cause near-corresponding patches to be treated as negatives, leading to unintended push-apart updates.
To enforce representation alignment without negative pairs, we introduce the patch-wise SimSiam loss (Figure 2b). We first apply it between the generated virtual IHC and the real IHC to make the generated output align with the ground truth. Let x h e , x g e n , and x g t denote the input H&E, generated IHC, and ground-truth IHC images, respectively. The generator encoder G e n c ( ) is used as a feature extractor, yielding feature maps ϕ l ( ) from selected layers l S . Following the PatchNCE pipeline, we randomly sample M = 256 patch tokens and map each sampled feature to a latent embedding using a projection network f ( ) . For the sampled patches, we denote
z t = f ϕ l x t ,   t h e , g e n , g t ,
Following SimSiam, a predictor head h ( ) produces q i = h ( z i ) , and we prevent collapse by applying stop-gradient s g ( ) to the target branch. The symmetrized patch-wise loss between the generated and ground-truth IHC is defined as
L i g t = 1 2 D q i g e n , s g ( z i g t ) + 1 2 D q i g t , s g ( z i g e n ) ,   D ( u , v ) = u u 2 v v 2 .
We aggregate over patches using adaptive weights w i [47] to emphasize more reliable correspondences:
L p s m g t = 1 M i = 1 M w i L i g t ,
Similarly, we apply the same formulation between x g e n and x h e to encourage structural consistency:
L p s m h e = 1 M i = 1 M L i h e .
The final patch-wise SimSiam loss is
L p s m = L p s m g t + L p s m h e .

2.3. SC Loss

While patch-level representation alignment helps preserve structural consistency, stain-to-stain translation also requires a careful balance between preserving content and expressing stain-specific style. To this end, we introduce an asymmetric SC loss that decouples content- and style-focused constraints according to the comparison objective (Figure 2a). Specifically, we enforce content consistency on the input–prediction pair to preserve tissue morphology on the H&E slide and style fidelity on the prediction–ground-truth pair to match the target IHC appearance.
Using the same encoder features ϕ l ( ) extracted from G e n c as in Equation (1), we define the content loss from a selected content layer c as
L c o n t e n t = ϕ c ( x g e n ) ϕ c ( x h e ) 1 ,
and the style loss between x g e n and x g t using Gram matrices G ( ) over the style–layer set S as
L s t y l e = 1 S l S G ϕ l ( x g e n ) G ϕ l ( x g t ) 1 .
The final SC loss is
L S C = L c o n t e n t + β L s t y l e ,   β = 100 .
We set β = 100 to ensure that stain-specific color and texture cues are sufficiently enforced, since morphology-preserving constraints can otherwise dominate the optimization and reduce target-stain fidelity.

2.4. Multi-Task Learning

Even when the model is trained to follow the overall staining style, it can be guided to match dominant, common score patterns rather than faithfully encoding cues specific to each score. To explicitly encourage score-aware virtual IHC, we incorporate multi-task learning with an auxiliary score prediction objective (Figure 2c). In our setting, the HER2 score is treated as an ordinal severity signal and encoded as a continuous target value t { 0 ,   0.33 ,   0.66 ,   1 } corresponding to scores 0 ,   1 + ,   2 + ,   3 + , respectively. We predict the HER2 score label (ordinal value) from intermediate encoder representations using the same multi-layer features ϕ l ( ) } l S as in the style term (Equation (7)). For each selected layer l S , we attach a lightweight regression head g l ( ) and compute a layer-wise HER2 score prediction
t ^ l ( x ) = g l ϕ l ( x ) ,
and the final score prediction is obtained by averaging across layers:
t ^ ( x ) = 1 S l S t ^ l ( x ) .
We supervise both the generated ( x g e n ) and ground-truth IHC ( x g t ) using mean squared error (MSE):
L c l s = M S E t ^ ( x g e n ) , t + M S E t ^ ( x g t ) , t .
This auxiliary objective both stabilizes the grading head on real IHC features and encourages NCMT to generate virtual IHC that retains score-dependent staining cues. The overall training objective is
L t o t a l = L g e n + λ p s m L p s m + λ S C L S C + λ c l s L c l s .
HER2 score labels are used only during training and are not provided at inference, so downstream classification reflects information encoded in the generated outputs rather than label leakage.

2.5. Downstream HER2 Score Classification

To further assess the clinical potential of NCMT beyond visual translation quality, we conduct a downstream HER2 score classification (Figure 3). We train multiple standard classification backbones under two input settings, virtual IHC alone and a dual-stream fusion of H&E and virtual IHC, where H&E provides structural morphology and virtual IHC provides functional information. Functional information denotes molecular expression cues in IHC that are relevant to HER2 scoring. In the dual-stream setting, we extract feature embeddings from H&E and the generated virtual IHC using two encoders, concatenate the embeddings, and feed them to a fully connected classifier for HER2 score prediction:
y ^ = F C C o n c a t ( f h e x h e , f g e n x g e n ,
Here, x h e  and x g e n denote the H&E and generated virtual IHC patches, f h e and f g e n are backbone-specific encoders, and C o n c a t [ , ] denotes feature concatenation.
Figure 3. Dual-stream fusion classifier for HER2 immunohistochemistry (IHC) scoring.
Figure 3. Dual-stream fusion classifier for HER2 immunohistochemistry (IHC) scoring.
Diagnostics 16 01319 g003

2.6. Implementation Details

The proposed NCMT was implemented using Python 3.9 and PyTorch 1.12. All experiments were conducted on a single NVIDIA RTX 3090 GPU. We utilized a Resnet-9 Blocks for the generator and a five-layer patch-generative adversarial network (GAN) [56] as the discriminator. Optimization was performed using the Adam optimizer with β 1   = 0.5 and β 2   = 0.999. During the training phase, input images were cropped to a resolution of 512 × 512. The models were trained for a total of 100 epochs with a batch size of 1. The initial learning rate was set to 2 × 10 4 , with a linear decay schedule applied after the first 70 epochs. All compared models were trained using the same setting for a fair comparison; for MDCL, we instead adopted the original training configuration reported in its paper [48], as its performance is particularly sensitive to the NCE/ASP weights, and forcing our exact setting could yield an uninformative baseline.
For patch-level objectives, we extracted multi-layer encoder features using S = { 0 ,   4 ,   8 ,   12 ,   16 } for SimSiam loss, style loss, and classification, and we set the content layer to c = 12 . For the Patch-wise SimSiam loss, we set the number of sampled patches M to 256 and used the lambda-linear scheme for the adaptive weights w i in Equation (3). In Equation (12), we set λ p s m = 10 , λ S C = 1 , and λ c l s = 10 .
For the classification network, we trained the classifier for 100 epochs with input resolution 1024 × 1024 , batch size 8, and learning rate 1 × 10 4 . We used a five-fold data split during training to train five-fold-specific classification models. During training, classification was conducted using H&E and the generated IHC from the training set. For inference, we aggregated predictions from the five-fold-specific models using hard voting.

2.7. Evaluation Metrics

To quantitatively evaluate NCMT-generated virtual IHC, we report the Fréchet Inception Distance (FID) [57] and Kernel Inception Distance (KID) [58], which compare the feature–distribution gap between generated and real IHC images in the inception. In addition, we use the Perceptual Hash Value (PHV) to measure perceptual/content similarity between the generated image and its corresponding ground-truth IHC at four hierarchical feature levels (layers 1–4) [59]. We set the PHV threshold to T = 0.01, where lower values indicate better agreement. For downstream HER2 IHC score classification, we report standard multi-class performance metrics, including accuracy (ACC) and F1 score. To quantify statistical uncertainty, 95% confidence intervals were estimated using bootstrap resampling with 1000 iterations.

3. Results

3.1. Stain-to-Stain SOTA Model Comparison

To validate the effectiveness of NCMT for HER2 score-aware virtual IHC generation, we performed comparative experiments against state-of-the-art (SOTA) stain-to-stain baselines, including CycleGAN [60], CUT [46], ASP [47], and MDCL [48]. Figure 4 presents qualitative results across HER2 IHC score, and the corresponding quantitative results are summarized in Table 1.
In the qualitative comparisons (Figure 4), several baselines exhibit characteristic failure modes that directly affect score interpretation. In particular, contrastive learning-based models (CUT, ASP, and MDCL) often misestimate the target stain tone and luminance, producing outputs with miscalibrated intensity or biased color tones. In contrast, NCMT more reliably reproduces score-dependent staining intensity and spatial distribution patterns while preserving tissue morphology. This results in virtual IHC outputs that are visually closer to real IHC and more consistent for score assessment, with NCMT achieving the best overall performance across all metrics (FID = 38.8, KID = 5.6, and average PHV = 0.439).

3.2. Module Ablation Study

An ablation study was conducted to evaluate the contribution of each component in NCMT, as summarized in Figure 5 and Table 2. The analysis followed a progressive configuration: starting from the baseline framework, we sequentially added (1) the patch-wise SimSiam loss, (2) the asymmetric SC loss, and (3) the HER2 scoring multi-task learning (MTL) objective, and we evaluated performance on the total test set as well as score-wise subsets.
First, adding the patch-wise SimSiam loss generally improves performance across scores compared to contrastive baselines. In both quantitative metrics and qualitative comparisons, this results in more consistent preservation of local cellular and membranous staining patterns: blue-colored nuclear details are better maintained in no membranous staining (score 0) or faint incomplete membranous expression (score 1+), and the weak/moderate complete membranous signal in score 2+ is more faithfully reproduced without wash-out or over-saturation.
Adding the asymmetric SC loss yields a consistent improvement across HER2 IHC scores, with a marked gain on the total set: FID decreases by 6.4 and KID decreases by 5.9 compared to the SimSiam-only setting. As reflected in the qualitative results, combination of SimSiam with SC loss notably improves stain tone and brightness matching while maintaining structural integrity via its asymmetric design. However, it still has limitations in matching subtle staining variations in the ground truth.
Finally, incorporating the MTL objective achieves the best overall performance and the most real IHC–like outputs. With MTL, NCMT better captures score-specific staining characteristics, including membranous staining intensity and spatial distribution patterns that define HER2 scoring. This leads to consistent gains and the best results for every score in Table 2. Overall, compared to the configuration without MTL, the full model further improves the total performance, reducing FID by 2.3, KID by 1.4, and average PHV by 0.27, confirming that MTL provides additional supervision that strengthens HER2 score-aware separability and translation fidelity.
In addition, to assess the effect of spatial mismatch between serial tissue sections, we performed a controlled misalignment analysis by shifting the input H&E crop while keeping the target HER2 IHC crop fixed during training. As shown in Table 3, increasing offset magnitude progressively worsened FID, KID, and PHV avg., indicating that spatial mismatch acts as label noise and reduces marker-specific translation fidelity.

3.3. Classification

To further evaluate the clinical utility of HER2 score-aware virtual IHC, we performed a downstream HER2 score prediction study using five representative classification backbones: MaxViT-Tiny [61], EfficientNet-B0 [62], DenseNet-121 [63], Inception-v3 [64], and DeiT III-Small/16 [65]. For each backbone, we compared two input settings: virtual IHC alone and a fusion setting that jointly uses H&E and virtual IHC by concatenating their feature embeddings.
Using virtual IHC alone, the classifiers achieve moderate performance (ACC 56.91–83.01%), indicating that NCMT-generated virtual IHC retains score-relevant cues for HER2 scoring (Table 4). When H&E is fused with virtual IHC, we observe consistent gains in both ACC and F1 score for all backbones, with convolutional neural network (CNN) models reaching over 90% ACC. In contrast, vision Transformer (ViT)-style models improve but remain below 80% ACC even with fusion. Overall, the best performance is achieved by EfficientNet in the fusion setting (97.85% ACC and 98.23% F1), supporting the effectiveness of combining H&E morphology with NCMT-generated virtual IHC for score-aware HER2 assessment.

4. Discussion

HER2 IHC is routinely used to evaluate membranous HER2 protein expression, serving as a critical predictive biomarker for breast cancer treatment. However, performing IHC staining requires additional tissue sectioning and laboratory processing, resulting in increased turnaround time and cost due to the need for specialized reagents and instruments, technical expertise, and manual workflow steps. Recent advancements in contrastive learning have led to the development of style transfer frameworks capable of generating synthetic IHC images directly from H&E-stained slides. However, in histopathology, the morphological similarity between negative patches sampled from different spatial locations can lead to poorly differentiated features, potentially hindering the optimization and degrading training performance.
To overcome this limitation, we adopt a non-contrastive learning strategy that eliminates the need for negative patches. A qualitative review by pathologists confirmed that the generated virtual IHC preserves clinically meaningful membranous staining patterns consistent with HER2 expression. In SOTA model comparisons, NCMT achieves better qualitative and quantitative results than contrastive learning-based models that utilize negative patches for training. While CUT, ASP, and MDCL push anchors away from the negatives sampled at other locations, negative selection can be unreliable in pathology due to repeated structures and visually similar tissue patterns. By contrast, the proposed NCMT builds on a SimSiam-style non-contrastive alignment that learns from positive pairs only via an asymmetric predictor–target design with a stop-gradient, preventing representation collapse without negative sampling and reducing adverse updates from false negatives. Consistent with this stable alignment, NCMT more effectively preserves local cellular and membranous staining patterns with reduced patch-wise inconsistency, and its global stain calibration (tone and luminance) is further strengthened by the asymmetric SC loss, which explicitly promotes appearance matching while preserving morphology. Finally, the HER2 scoring MTL objective provides direct score supervision, helping to improve score-aware staining representation and yielding the best overall performance in our ablation study.
To assess clinical utility, we test whether NCMT-generated virtual HER2 IHC can support HER2 score recognition. While virtual IHC alone preserves score-related expression cues, HER2 score prediction performance remains limited. When we fuse H&E morphology with virtual IHC features, performance generally improves across backbones. Because HER2 IHC scoring depends on the membranous staining pattern, H&E morphology provides useful context for interpretation, such as tumor cellularity, tissue architecture, and heterogeneity; therefore, combining H&E with virtual IHC leads to more reliable IHC scoring. This finding suggests that virtual IHC does not replace morphological assessment but rather complements it by providing additional information related to protein expression. Such a hybrid approach may be particularly beneficial in challenging cases, including borderline or equivocal (2+) interpretations, where subtle differences in membranous staining patterns are critical for accurate assessment. However, Transformer-based models (MaxViT/DeiT) show slower gains than CNNs even with fusion, consistent with the higher data demand of ViT-style architectures under limited training sets.
While our proposed model offers significant potential for digital pathology, several critical challenges remain. The reliance on serial sections introduces inherent morphological shifts and physical distortions, precluding precise pixel-to-pixel registration between H&E and IHC slides. This lack of exact alignment complicates the curation of high-quality ground truth, particularly as local discrepancies near tissue boundaries and glandular structures introduce label noise. Such noise may force the model to prioritize coarse contextual patterns over genuine marker-related morphology. Consequently, future research should focus on robust learning strategies—such as patch-level soft matching [66], uncertainty-aware loss functions [67], and deformation-tolerant modules [68]—to mitigate registration misalignment and enhance generalization across diverse staining protocols and imaging domains. In addition, integrating clinically curated datasets with external controls would further strengthen the reliability of the proposed approach.
From a clinical perspective, virtual IHC should be interpreted as a complementary tool rather than a replacement for conventional staining. Its potential applications may include pre-screening, decision support, and workflow optimization, particularly in settings with limited resources or high case volumes. In the broader context of digital pathology, such approaches may facilitate earlier access to biomarker-related information during initial slide review and reduce dependency on sequential staining procedures.
Recent clinical trends have increasingly emphasized the significance of the HER2-low and HER2-ultralow landscape. While traditional assessments focus on distinguishing positive (3+) from negative (0/1+) cases, the ability to discriminate between a complete absence of HER2 expression (0) and minimal membrane staining (0+) has become critical for treatment planning. However, in this study, we utilized the BCI dataset to enable objective performance comparison with existing SOTA frameworks, which follow a four-tier labeling scheme: 0, 1+, 2+, and 3+. Consequently, the current model does not explicitly distinguish the 0+ subcategory. Future research should therefore focus on developing more granular virtual staining models trained on datasets that capture these subtle expression patterns, thereby further enhancing clinical utility.
Furthermore, because HER2 status involves molecular-level protein expression that may fluctuate independently of histological features, H&E-based models face the risk of producing visually plausible but semantically inaccurate results. This challenge is magnified by intratumoral heterogeneity and pre-analytic variables—such as fixation time and antibody clones—which complicate the inference of absolute expression levels from morphology alone. Consequently, the clinical value of virtual staining rests on its quantitative concordance—measured through intensity correlation and scoring consistency—rather than mere stylistic similarity. This necessitates multimodal frameworks that integrate auxiliary evidence, such as transcriptomic data and molecular profiling information, to constrain generation toward biologically valid patterns [69]. Additionally, incorporating uncertainty estimation to flag low-confidence outputs is essential for ensuring the safe clinical application of virtual IHC.
In conclusion, this study demonstrates that incorporating clinically structured supervision into virtual staining frameworks enhances both representation quality and downstream utility. By bridging morphological and molecular information within a unified model, the proposed approach represents a meaningful step toward clinically integrated artificial intelligence systems in digital pathology.

Author Contributions

Conceptualization, H.J., C.Y., and E.P.; methodology, H.J. and C.Y.; software, C.Y. and S.P.; validation, C.Y., S.P. and C.K.J.; formal analysis, H.J. and C.Y.; investigation, H.J. and C.Y.; resources, E.P. and H.K.; data curation, E.P. and H.K.; writing—original draft preparation, H.J., C.Y. and H.K.; writing—review and editing, E.P., J.K. and C.K.J.; visualization, C.Y. and S.P.; supervision, H.G.K. and C.K.J.; project administration, J.K., H.G.K. and C.K.J.; funding acquisition, J.K., H.G.K. and C.K.J. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the following grants: Korea Health Technology R&D Project through the Korea Health Industry Development Institute (KHIDI), funded by the Ministry of Health and Welfare, Republic of Korea (grant number: RS-2021-KH113146); the Commercialization Promotion Agency for R&D Outcomes (COMPA), funded by the Ministry of Science and ICT (grant number: 2710086164). This research was also supported by the Basic Medical Science Facilitation Program through the Catholic Medical Center of the Catholic University of Korea, funded by the Catholic Education Foundation. Lastly, this research was supported by an Institute of Information and Communications Technology Planning and Evaluation (IITP) grant funded by the Korean government (MSIT) (No. RS-2019-II191906, Artificial Intelligence Graduate School Program (POSTECH)). This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSit) (no. RS-2025-00558651, 2710079568).

Institutional Review Board Statement

Not applicable. This study analyzed a publicly available dataset (BCI).

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this study are publicly available. The BCI dataset can be accessed via the project homepage (https://bupt-ai-cz.github.io/BCI/) (accessed on 24 April 2026).

Acknowledgments

While preparing this work, the authors utilized DeepL (26.4.1) and ChatGPT (GPT-5.3) to enhance readability and language. Following the use of these tools, the authors reviewed and revised the content as required, and assume complete responsibility for the publication s content.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ACCAccuracy
BCIBreast Cancer Immunohistochemical
CNNConvolutional Neural Network
FCFully Connected
FIDFréchet Inception Distance
GANGenerative Adversarial Network
H&EHematoxylin and Eosin
HER2Human Epidermal Growth Factor Receptor 2
IHCImmunohistochemistry
KIDKernel Inception Distance
MSEMean Squared Error
MTLMulti-Task Learning
NCMTNon-Contrastive Multi-Task Translation
PHVPerceptual Hash Value 
SC lossStyle–Content Loss
SOTAState-of-the-Art
ViTVision Transformer

References

  1. Łukasiewicz, S.; Czeczelewski, M.; Forma, A.; Baj, J.; Sitarz, R.; Stanisławek, A. Breast cancer—Epidemiology, risk factors, classification, prognostic markers, and current treatment strategies—An updated review. Cancers 2021, 13, 4287. [Google Scholar] [CrossRef]
  2. Huang, Z.; Mo, S.; Wu, H.; Kong, Y.; Luo, H.; Li, G.; Zheng, J.; Tian, H.; Tang, S.; Chen, Z. Optimizing breast cancer diagnosis with photoacoustic imaging: An analysis of intratumoral and peritumoral radiomics. Photoacoustics 2024, 38, 100606. [Google Scholar] [CrossRef]
  3. Li, J.; Chen, Y.; Ye, W.; Zhang, M.; Zhu, J.; Zhi, W.; Cheng, Q. Molecular breast cancer subtype identification using photoacoustic spectral analysis and machine learning at the biomacromolecular level. Photoacoustics 2023, 30, 100483. [Google Scholar] [CrossRef]
  4. Han, Z.; MacCuaig, W.M.; Gurcan, M.N.; Claros-Sorto, J.; Garwe, T.; Henson, C.; Holter-Chakrabarty, J.; Hannafon, B.; Chandra, V.; Wellberg, E. Dynamic 2-deoxy-D-glucose-enhanced multispectral optoacoustic tomography for assessing metabolism and vascular hemodynamics of breast cancer. Photoacoustics 2023, 32, 100531. [Google Scholar] [CrossRef]
  5. Bala, P.M.; Palani, U. Innovative breast cancer detection using a segmentation-guided ensemble classification framework. Biomed. Eng. Lett. 2025, 15, 179–191. [Google Scholar] [CrossRef]
  6. Pawar, S.B.; Deshmukh, N.; Jadhav, S.B. Hybrid deep learning technique for COX-2 inhibition bioactivity detection against breast cancer disease. Biomed. Eng. Lett. 2024, 14, 631–647. [Google Scholar] [CrossRef] [PubMed]
  7. Oza, P.; Oza, U.; Oza, R.; Sharma, P.; Patel, S.; Kumar, P.; Gohel, B. Digital mammography dataset for breast cancer diagnosis research (DMID) with breast mass segmentation analysis. Biomed. Eng. Lett. 2024, 14, 317–330. [Google Scholar] [CrossRef]
  8. De Matos, L.L.; Trufelli, D.C.; De Matos, M.G.L.; da Silva Pinhal, M.A. Immunohistochemistry as an important tool in biomarkers detection and clinical practice. Biomark. Insights 2010, 5, BMI-S2185. [Google Scholar] [CrossRef]
  9. Curigliano, G.; Burstein, H.J.; Winer, E.P.; Gnant, M.; Dubsky, P.; Loibl, S.; Colleoni, M.; Regan, M.M.; Piccart-Gebhart, M.; Senn, H.-J. De-escalating and escalating treatments for early-stage breast cancer: The St. Gallen International Expert Consensus Conference on the Primary Therapy of Early Breast Cancer 2017. Ann. Oncol. 2017, 28, 1700–1712. [Google Scholar] [CrossRef]
  10. Ahn, S.; Woo, J.W.; Lee, K.; Park, S.Y. HER2 status in breast cancer: Changes in guidelines and complicating factors for interpretation. J. Pathol. Transl. Med. 2020, 54, 34–44. [Google Scholar] [CrossRef]
  11. Wolff, A.C.; Somerfield, M.R.; Dowsett, M.; Hammond, M.E.H.; Hayes, D.F.; McShane, L.M.; Saphner, T.J.; Spears, P.A.; Allison, K.H. Human epidermal growth factor receptor 2 testing in breast cancer: ASCO–College of American Pathologists Guideline Update. J. Clin. Oncol. 2023, 41, 3867–3872. [Google Scholar] [CrossRef]
  12. Han, M.; Lee, Y.J.; Ahn, J.; Nam, S.; Kim, M.; Park, J.; Ahn, J.; Ryu, H.; Seo, Y.; Park, B. A clinical feasibility study of a photoacoustic finder for sentinel lymph node biopsy in breast cancer patients: A prospective cross-sectional study. Photoacoustics 2025, 43, 100716. [Google Scholar] [CrossRef]
  13. Park, S.; Sung, M.; Kim, H.; Lee, K.J.; Park, E.-Y.; Ahn, J.; Park, S.S.; Kim, J.-H.; Cho, Y.; Lee, J. A three-dimensional photoacoustic and ultrasound automated breast volume scanner (PAUS-ABVS) for breast cancer patients. Sci. Adv. 2025, 11, eadz8585. [Google Scholar] [CrossRef]
  14. Ahn, J.; Lee, J.; Kim, K.; Bae, J.S.; Jung, C.K.; Kim, M.; Choi, W.; Park, B.; Lim, D.-J.; Kim, C. Smarter biopsy decisions in thyroid nodules via dual-modal photoacoustic and ultrasound imaging. Sci. Adv. 2025, 11, eady6173. [Google Scholar] [CrossRef]
  15. Kim, D.; Park, E.; Park, J.; Perleberg, B.; Jeon, S.; Ahn, J.; Ha, M.; Kim, H.H.; Kim, J.Y.; Jung, C.K.; et al. An Ultraviolet-Transparent Ultrasound Transducer Enables High-Resolution Label-Free Photoacoustic Histopathology. Laser Photonics Rev. 2024, 18, 2300652. [Google Scholar] [CrossRef]
  16. Park, E.; Hwang, D.G.; Choi, H.; Kim, D.; Ahn, J.; Lee, Y.-J.; Eom, T.J.; Jang, J.; Kim, C. Label-free mid-infrared dichroism-sensitive photoacoustic microscopy for histostructural analysis of engineered heart tissues. Light Sci. Appl. 2026, 15, 49. [Google Scholar] [CrossRef]
  17. Park, J.; Choi, S.; Knieling, F.; Clingman, B.; Bohndiek, S.; Wang, L.V.; Kim, C. Clinical translation of photoacoustic imaging. Nat. Rev. Bioeng. 2025, 3, 193–212. [Google Scholar] [CrossRef]
  18. Jeong, H.; Oh, S.; Choi, S.; Kim, J.; Yang, J.; Kim, C. A Hybrid Diffusion Model Enhances Multiparametric 3D Photoacoustic Computed Tomography. Adv. Sci. 2025, 13, e13624. [Google Scholar] [CrossRef]
  19. Li, S.; Chen, Q.; Kim, C.; Choi, S.; Wang, Y.; Zhang, Y.; Li, C. Zero-Shot Artifact2Artifact: Self-incentive artifact removal for photoacoustic imaging. Photoacoustics 2025, 43, 100723. [Google Scholar] [CrossRef] [PubMed]
  20. Jeong, H.; Yoon, C.; Lim, H.; Won, J.; Kim, K.; Luo, G.; Xu, M.; Kim, N.; Kim, C. A 3D self-configuring hybrid transformer with multi-task learning for 3D automated breast ultrasound segmentation. Comput. Biol. Med. 2025, 198, 111263. [Google Scholar] [CrossRef] [PubMed]
  21. Cho, Y.; Misra, S.; Managuli, R.; Barr, R.G.; Lee, J.; Kim, C. Attention-based fusion network for breast cancer segmentation and classification using multi-modal ultrasound images. Ultrasound Med. Biol. 2025, 51, 568–577. [Google Scholar] [CrossRef]
  22. Pala, M.A. XP-GCN: Extreme learning machines and parallel graph convolutional networks for high-throughput prediction of blood-brain barrier penetration based on feature fusion. Comput. Biol. Chem. 2025, 120, 108755. [Google Scholar] [CrossRef]
  23. Jeong, H.; Yoon, C.; Lim, H.; Chang, J.; Misra, S.; Kim, C. MT-Former: Multi-Task Hybrid Transformer and Deep Support Vector Data Description to Detect Novel anomalies during Semiconductor Manufacturing. Light Adv. Manuf. 2025, 6, 306. [Google Scholar] [CrossRef]
  24. Park, E.; Kim, D.; Ha, M.; Kim, D.; Kim, C. A comprehensive review of high-performance photoacoustic microscopy systems. Photoacoustics 2025, 44, 100739. [Google Scholar] [CrossRef]
  25. Misra, S.; Yoon, C.; Kim, K.J.; Managuli, R.; Barr, R.G.; Baek, J.; Kim, C. Deep learning-based multimodal fusion network for segmentation and classification of breast cancers using B-mode and elastography ultrasound images. Bioeng. Transl. Med. 2023, 8, e10480. [Google Scholar] [CrossRef]
  26. Cano, C.; Rad, N.M.; Gholampour, A.; van Sambeek, M.; Pluim, J.; Lopata, R.; Wu, M. Deep learning assisted classification of spectral photoacoustic imaging of carotid plaques. Photoacoustics 2023, 33, 100544. [Google Scholar] [CrossRef] [PubMed]
  27. Mo, S.; Luo, H.; Wang, M.; Li, G.; Kong, Y.; Tian, H.; Wu, H.; Tang, S.; Pan, Y.; Wang, Y. Machine learning radiomics based on intra and peri tumor PA/US images distinguish between luminal and non-luminal tumors in breast cancers. Photoacoustics 2024, 40, 100653. [Google Scholar] [CrossRef]
  28. Zhang, F.; Zhang, J.; Shen, Y.; Gao, Z.; Yang, C.; Liang, M.; Gao, F.; Liu, L.; Zhao, H.; Gao, F. Photoacoustic digital brain and deep-learning-assisted image reconstruction. Photoacoustics 2023, 31, 100517. [Google Scholar] [CrossRef] [PubMed]
  29. Pala, M.A. Graph-aware AURALSTM: An attentive unified representation architecture with BiLSTM for enhanced molecular property prediction. Molecular Diversity 2025. online ahead of print. [Google Scholar] [CrossRef] [PubMed]
  30. Zheng, Z.; Liang, E.; Zhang, Y.; Weng, Z.; Chai, J.; Bu, W.; Xu, J.; Su, T. A segmentation-based algorithm for classification of benign and malignancy thyroid nodules with multi-feature information. Biomed. Eng. Lett. 2024, 14, 785–800. [Google Scholar] [CrossRef]
  31. Roh, J.; Ryu, D.; Lee, J. CT synthesis with deep learning for MR-only radiotherapy planning: A review. Biomed. Eng. Lett. 2024, 14, 1259–1278. [Google Scholar] [CrossRef]
  32. Xing, G.; Miao, Z.; Zheng, Y.; Zhao, M. A multi-task model for reliable classification of thyroid nodules in ultrasound images. Biomed. Eng. Lett. 2024, 14, 187–197. [Google Scholar] [CrossRef] [PubMed]
  33. Pala, M.A. DeepInsulin-Net: A Deep Learning Model for Identifying Drug Interactions Leading to Specific Insulin-Related Adverse Events. Sak. Univ. J. Comput. Inf. Sci. 2025, 8, 245–259. [Google Scholar] [CrossRef]
  34. Yan, R.; He, Q.; Liu, Y.; Ye, P.; Zhu, L.; Shi, S.; Gou, J.; He, Y.; Guan, T.; Zhou, G. Unpaired virtual histological staining using prior-guided generative adversarial networks. Comput. Med. Imaging Graph. 2023, 105, 102185. [Google Scholar] [CrossRef]
  35. Liu, J.; Deng, X.; Li, H.; Kazemi, A.; Grashei, C.; Wilkens, G.; You, X.; Groll, T.; Navab, N.; Mogler, C. From pixels to pathology: Restoration diffusion for diagnostic-consistent virtual IHC. Comput. Biol. Med. 2025, 198, 111264. [Google Scholar] [CrossRef] [PubMed]
  36. Yoon, C.; Park, E.; Kim, D.; Park, B.; Kim, C. Label-free optical microscopy with artificial intelligence: A new paradigm in pathology. Biophotonics Discov. 2025, 2, 020901. [Google Scholar] [CrossRef]
  37. Denholm, J.; Hamidinekoo, A.; Burlutskiy, N.; Setyo, L.C.; Zhang, I.; Yousefi, F.; Mortimer, J.; Palés-Huix, J.; Bagnall, C.; Lewis, A. Virtual histological staining as a tool for extending renal segmentation across stains. Mod. Pathol. 2025, 38, 100842. [Google Scholar] [CrossRef]
  38. Yoon, C.; Park, E.; Misra, S.; Kim, J.Y.; Baik, J.W.; Kim, K.G.; Jung, C.K.; Kim, C. Deep learning-based virtual staining, segmentation, and classification in label-free photoacoustic histology of human specimens. Light Sci. Appl. 2024, 13, 226. [Google Scholar] [CrossRef]
  39. Park, E.; Misra, S.; Hwang, D.G.; Yoon, C.; Ahn, J.; Kim, D.; Jang, J.; Kim, C. Unsupervised inter-domain transformation for virtually stained high-resolution mid-infrared photoacoustic microscopy using explainable deep learning. Nat. Commun. 2024, 15, 10892. [Google Scholar] [CrossRef] [PubMed]
  40. Pala, M.A.; Navdar, M.B. SPX-GNN: An Explainable Graph Neural Network for Harnessing Long-Range Dependencies in Tuberculosis Classifications in Chest X-Ray Images. Diagnostics 2025, 15, 3236. [Google Scholar] [CrossRef]
  41. Li, Z.; Mirjahanmardi, S.H.; Sali, R.; Eweje, F.; Gopaulchan, M.; Kloker, L.; Zhang, X.; Li, G.; Jiang, Y.; Li, R. Automated cell annotation and classification on histopathology for spatial biomarker discovery. Nat. Commun. 2025, 16, 6240. [Google Scholar] [CrossRef]
  42. Wu, E.; Bieniosek, M.; Wu, Z.; Thakkar, N.; Charville, G.W.; Makky, A.; Schürch, C.M.; Huyghe, J.R.; Peters, U.; Li, C.I. ROSIE: AI generation of multiplex immunofluorescence staining from histopathology images. Nat. Commun. 2025, 16, 7633. [Google Scholar] [CrossRef]
  43. Fischer, M.; Muckenhuber, A.; Peretzke, R.; Farah, L.; Ulrich, C.; Ziegler, S.; Schader, P.; Feineis, L.; Gao, H.; Xiao, S. Contrastive virtual staining enhances deep learning-based PDAC subtyping from H&E-stained tissue cores. J. Pathol. 2026, 268, 89–98. [Google Scholar]
  44. Asaf, M.Z.; Rao, B.; Akram, M.U.; Khawaja, S.G.; Khan, S.; Truong, T.M.; Sekhon, P.; Khan, I.J.; Abbasi, M.S. Dual contrastive learning based image-to-image translation of unstained skin tissue into virtually stained H&E images. Sci. Rep. 2024, 14, 2335. [Google Scholar]
  45. Misra, S.; Na, S.; Park, K.; Yoon, C.; Misra, S.; Kim, C.; Song, S.Y.; Kim, H.K.; Park, B. Deep Learning based Label-Free Virtual Staining and Classification of Human Tissues using Digital Slide Scanner. Med. Image Anal. 2025, 108, 103865. [Google Scholar] [CrossRef]
  46. Park, T.; Efros, A.A.; Zhang, R.; Zhu, J.-Y. Contrastive learning for unpaired image-to-image translation. In Proceedings of the Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, 23–28 August 2020; Proceedings, Part IX 16; Springer: Cham, Switzerland, 2020; pp. 319–345. [Google Scholar]
  47. Li, F.; Hu, Z.; Chen, W.; Kak, A. Adaptive supervised patchnce loss for learning h&e-to-ihc stain translation with inconsistent groundtruth image pairs. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Vancouver, BC, Canada, 8–12 October 2023; Springer: Cham, Switzerland, 2023; pp. 632–641. [Google Scholar]
  48. Wang, S.; Zhang, Z.; Yan, H.; Xu, M.; Wang, G. Mix-domain contrastive learning for unpaired H&E-to-IHC stain translation. In Proceedings of the 2024 IEEE International Conference on Image Processing (ICIP), Abu Dhabi, United Arab Emirates, 27–30 October 2024; IEEE: New York, NY, USA, 2024; pp. 2982–2988. [Google Scholar]
  49. Chen, X.; He, K. Exploring simple siamese representation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 20–25 June 2021; IEEE: New York, NY, USA, 2021; pp. 15750–15758. [Google Scholar]
  50. Liu, S.; Zhu, C.; Xu, F.; Jia, X.; Shi, Z.; Jin, M. Bci: Breast cancer immunohistochemical image generation through pyramid pix2pix. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 19–20 June 2022; IEEE: New York, NY, USA, 2022; pp. 1815–1824. [Google Scholar]
  51. Shovon, M.S.H.; Islam, M.J.; Nabil, M.N.A.K.; Molla, M.M.; Jony, A.I.; Mridha, M. Strategies for enhancing the multi-stage classification performances of her2 breast cancer from hematoxylin and eosin images. Diagnostics 2022, 12, 2825. [Google Scholar] [CrossRef]
  52. Dunenova, G.; Kalmataeva, Z.; Kaidarova, D.; Dauletbaev, N.; Semenova, Y.; Mansurova, M.; Grjibovski, A.; Kassymbekova, F.; Sarsembayev, A.; Semenov, D. The performance and clinical applicability of HER2 digital image analysis in breast cancer: A systematic review. Cancers 2024, 16, 2761. [Google Scholar] [CrossRef]
  53. Shovon, M.S.H.; Mridha, M.F.; Hasib, K.M.; Alfarhood, S.; Safran, M.; Che, D. Addressing uncertainty in imbalanced histopathology image classification of her2 breast cancer: An interpretable ensemble approach with threshold filtered single instance evaluation (sie). IEEE Access 2023, 11, 122238–122251. [Google Scholar] [CrossRef]
  54. Wang, T.; Wang, M.; Wang, Z.; Wang, H.; Xu, Q.; Cong, F.; Xu, H. ODA-GAN: Orthogonal decoupling alignment GAN assisted by weakly-supervised learning for virtual immunohistochemistry staining. In Proceedings of the Computer Vision and Pattern Recognition Conference, Nashville, TN, USA, 10–17 June 2025; IEEE: New York, NY, USA, 2025; pp. 25920–25929. [Google Scholar]
  55. Klöckner, P.; Teixeira, J.; Montezuma, D.; Fraga, J.; Horlings, H.M.; Cardoso, J.S.; Oliveira, S.P. H&E to IHC virtual staining methods in breast cancer: An overview and benchmarking. npj Digit. Med. 2025, 8, 384. [Google Scholar] [CrossRef]
  56. Isola, P.; Zhu, J.-Y.; Zhou, T.; Efros, A.A. Image-to-image translation with conditional adversarial networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; IEEE: New York, NY, USA, 2017; pp. 1125–1134. [Google Scholar]
  57. Heusel, M.; Ramsauer, H.; Unterthiner, T.; Nessler, B.; Hochreiter, S. Gans trained by a two time-scale update rule converge to a local nash equilibrium. Adv. Neural Inf. Process. Syst. 2017, 30, 6627–6638. [Google Scholar]
  58. Bińkowski, M.; Sutherland, D.J.; Arbel, M.; Gretton, A. Demystifying mmd gans. arXiv 2018, arXiv:1801.01401. [Google Scholar]
  59. Liu, S.; Zhang, B.; Liu, Y.; Han, A.; Shi, H.; Guan, T.; He, Y. Unpaired stain transfer using pathology-consistent constrained generative adversarial networks. IEEE Trans. Med. Imaging 2021, 40, 1977–1989. [Google Scholar] [CrossRef] [PubMed]
  60. Zhu, J.-Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; IEEE: New York, NY, USA, 2017; pp. 2223–2232. [Google Scholar]
  61. Tu, Z.; Talebi, H.; Zhang, H.; Yang, F.; Milanfar, P.; Bovik, A.; Li, Y. Maxvit: Multi-axis vision transformer. In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 459–479. [Google Scholar]
  62. Tan, M.; Le, Q. Efficientnet: Rethinking model scaling for convolutional neural networks. In Proceedings of the International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; PMLR: Cambridge, MA, USA, 2019; pp. 6105–6114. [Google Scholar]
  63. Huang, G.; Liu, Z.; Van Der Maaten, L.; Weinberger, K.Q. Densely connected convolutional networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; IEEE: New York, NY, USA, 2017; pp. 4700–4708. [Google Scholar]
  64. Szegedy, C.; Vanhoucke, V.; Ioffe, S.; Shlens, J.; Wojna, Z. Rethinking the inception architecture for computer vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; IEEE: New York, NY, USA, 2016; pp. 2818–2826. [Google Scholar]
  65. Touvron, H.; Cord, M.; Jégou, H. Deit iii: Revenge of the vit. In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022; Springer: Cham, Switzerland, 2022; pp. 516–533. [Google Scholar]
  66. Chen, Z.; Lin, C.-H.; Liu, R.; Xiao, J.; Dyer, E. Your contrastive learning problem is secretly a distribution alignment problem. Adv. Neural Inf. Process. Syst. 2024, 37, 91597–91617. [Google Scholar]
  67. Zhang, Y.; Lu, Y.; Wang, H. Label-noise learning via uncertainty-aware neighborhood sample selection. Pattern Recognit. Lett. 2024, 186, 191–197. [Google Scholar] [CrossRef]
  68. Xiong, Y.; Li, Z.; Chen, Y.; Wang, F.; Zhu, X.; Luo, J.; Wang, W.; Lu, T.; Li, H.; Qiao, Y. Efficient deformable convnets: Rethinking dynamic and sparse operator for vision applications. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024; IEEE: New York, NY, USA, 2024; pp. 5652–5661. [Google Scholar]
  69. Huang, Z.; Bianchi, F.; Yuksekgonul, M.; Montine, T.J.; Zou, J. A visual–language foundation model for pathology image analysis using medical twitter. Nat. Med. 2023, 29, 2307–2316. [Google Scholar] [CrossRef]
Figure 1. Conventional and AI-based workflows for HER2 immunohistochemistry (IHC) assessment in digital pathology. (a) Conventional workflow for HER2 assessment. (b) AI-based workflow for HER2 assessment.
Figure 1. Conventional and AI-based workflows for HER2 immunohistochemistry (IHC) assessment in digital pathology. (a) Conventional workflow for HER2 assessment. (b) AI-based workflow for HER2 assessment.
Diagnostics 16 01319 g001
Figure 2. Proposed NCMT model architecture. (a) Style–content (SC) loss. (b) SimSiam loss. (c) Classification loss.
Figure 2. Proposed NCMT model architecture. (a) Style–content (SC) loss. (b) SimSiam loss. (c) Classification loss.
Diagnostics 16 01319 g002
Figure 4. Qualitative comparison with SOTA stain-to-stain translation baselines.
Figure 4. Qualitative comparison with SOTA stain-to-stain translation baselines.
Diagnostics 16 01319 g004
Figure 5. Qualitative results of the stain-to-stain module ablation study.
Figure 5. Qualitative results of the stain-to-stain module ablation study.
Diagnostics 16 01319 g005
Table 1. Quantitative comparison with SOTA stain-to-stain translation baselines. The KID values in the table are scaled by a factor of 1000.
Table 1. Quantitative comparison with SOTA stain-to-stain translation baselines. The KID values in the table are scaled by a factor of 1000.
ModelFID ↓KID ↓PHV
Layer1 ↓
PHV
Layer2 ↓
PHV
Layer3 ↓
PHV
Layer4 ↓
PHV
Avg. ↓
CycleGAN8751.30.5520.4640.330.8040.538
ASP2211030.6590.6090.4090.8560.633
CUT56.317.30.6370.5060.2770.7570.544
MDCL50.714.40.5100.3980.2380.7390.471
NCMT
(Proposed)
38.85.60.4460.3640.2270.7170.439
↓ indicates that lower values are better. Bold values indicate the best score for each metric.
Table 2. Quantitative results of the stain-to-stain module ablation study. The final proposed model (NCMT) is highlighted in yellow. The KID values in the table are scaled by a factor of 1000.
Table 2. Quantitative results of the stain-to-stain module ablation study. The final proposed model (NCMT) is highlighted in yellow. The KID values in the table are scaled by a factor of 1000.
HER2 ScorePatch-Wise SimSiam LossSC LossMTLFID ↓KID ↓PHV
Layer1 ↓
PHV
Layer2 ↓
PHV
Layer3 ↓
PHV
Layer4 ↓
PHV
Avg. ↓
0XXX171.812.60.6750.480.260.7510.541
OXX173.410.20.6480.4460.2530.7570.526
OOX171.87.00.5980.4420.2490.7630.513
OOO146.91.60.5880.4020.2370.7230.488
1+XXX84.917.00.520.3730.220.7230.459
OXX84.213.70.5230.3650.2270.7170.458
OOX75.910.40.4790.3840.220.7180.45
OOO67.73.90.4070.3150.1970.6870.402
2+XXX6011.70.4930.3790.2250.7230.455
OXX57.910.70.4940.3720.2260.7180.452
OOX58.39.30.4930.4060.2350.7230.464
OOO50.86.50.4490.370.2230.7070.437
3+XXX129.942.50.5070.440.2750.7820.501
OXX122.442.60.5150.4350.2740.7710.499
OOX115.126.40.4550.4090.270.7710.476
OOO109.624.10.4570.3940.2610.7630.469
TotalXXX50.714.40.510.3980.2380.7390.471
OXX47.512.90.5130.390.240.7330.469
OOX41.17.00.4840.4030.240.7360.466
OOO38.85.60.4460.3640.2270.7170.439
↓ indicates that lower values are better. Bold values indicate the best score for each metric.
Table 3. Quantitative analysis of NCMT under controlled crop misalignment during training. Results at each offset magnitude (0, 8, 16, and 24 pixels) were averaged over four directions (+x, −x, +y, −y).
Table 3. Quantitative analysis of NCMT under controlled crop misalignment during training. Results at each offset magnitude (0, 8, 16, and 24 pixels) were averaged over four directions (+x, −x, +y, −y).
Offset Magnitude (Pixels)FID ↓KID ↓PHV Avg. ↓
038.85.60.439
842.057.20.455
1642.777.70.445
2446.689.30.464
↓ indicates that lower values are better. Bold values indicate the best score for each metric.
Table 4. HER2 score classification results across backbones for virtual IHC only and H&E–virtual IHC fusion. All values are presented as percentages, and 95% bootstrap confidence intervals are provided in parentheses.
Table 4. HER2 score classification results across backbones for virtual IHC only and H&E–virtual IHC fusion. All values are presented as percentages, and 95% bootstrap confidence intervals are provided in parentheses.
ModelVirtual IHCH&E + Virtual IHC
ACC ↑ (95% CI)F1 ↑ (95% CI)ACC ↑ (95% CI)F1 ↑ (95% CI)
DeiT56.91 (53.74–60.08)42.45 (39.93–44.85)69.19 (66.43–72.06)61.59 (57.13–65.54)
MaxViT69.50 (66.33–72.16)56.77 (52.59–60.88)77.28 (74.62–79.94)71.38 (67.19–75.10)
Inception65.92 (62.54–68.78)61.16 (56.36–65.28)90.38 (88.54–92.22)89.62 (87.12–92.22)
DenseNet74.82 (72.05–77.48)68.66 (63.61–72.86)94.27 (92.73–95.70)93.57 (91.51–95.38)
EfficientNet83.01 (80.55–85.47)80.62 (76.62–84.09)97.85 (96.93–98.77)98.23 (97.44–99.03)
↑ indicates that higher values are better. Bold values indicate the best score for each metric.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jeong, H.; Yoon, C.; Kim, J.; Park, E.; Kim, H.; Park, S.; Kim, H.G.; Jung, C.K. HER2 Score-Aware Virtual Immunohistochemistry via Non-Contrastive Multi-Task Translation. Diagnostics 2026, 16, 1319. https://doi.org/10.3390/diagnostics16091319

AMA Style

Jeong H, Yoon C, Kim J, Park E, Kim H, Park S, Kim HG, Jung CK. HER2 Score-Aware Virtual Immunohistochemistry via Non-Contrastive Multi-Task Translation. Diagnostics. 2026; 16(9):1319. https://doi.org/10.3390/diagnostics16091319

Chicago/Turabian Style

Jeong, Hyunsu, Chiho Yoon, Jaewoo Kim, Eunwoo Park, Hyunhee Kim, Somang Park, Hyeon Gyu Kim, and Chan Kwon Jung. 2026. "HER2 Score-Aware Virtual Immunohistochemistry via Non-Contrastive Multi-Task Translation" Diagnostics 16, no. 9: 1319. https://doi.org/10.3390/diagnostics16091319

APA Style

Jeong, H., Yoon, C., Kim, J., Park, E., Kim, H., Park, S., Kim, H. G., & Jung, C. K. (2026). HER2 Score-Aware Virtual Immunohistochemistry via Non-Contrastive Multi-Task Translation. Diagnostics, 16(9), 1319. https://doi.org/10.3390/diagnostics16091319

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop