DeNuC: Decoupling Nuclei Detection and Classification in Histopathology
Authors: Zijiang Yang, Chen Kuang, Dongmei Fu
Organizations: School of Automation and Electrical Engineering, University of Science and Technology Beijing, Beijing 100083, China · Beijing Engineering Research Center of Industrial Spectrum Imaging
Pathology Foundation Models (FMs) have shown strong performance across a wide range of pathology image representation and diagnostic tasks. However, FMs do not exhibit the expected performance advantage over traditional specialized models in Nuclei Detection and Classification (NDC). In this work, we reveal that jointly optimizing nuclei detection and classification leads to severe representation degradation in FMs. Moreover, we identify that the substantial intrinsic disparity in task difficulty between nuclei detection and nuclei classification renders joint NDC optimization unnecessarily computationally burdensome for the detection stage. To address these challenges, we propose DeNuC, a simple yet effective method designed to break through existing bottlenecks by Decoupling Nuclei detection and Classification. DeNuC employs a lightweight model for accurate nuclei localization, subsequently leveraging a pathology FM to encode input images and query nucleus-specific features based on the detected coordinates for classification. Extensive experiments on three widely used benchmarks demonstrate that DeNuC effectively unlocks the representational potential of FMs for NDC and significantly outperforms state-of-the-art methods. Notably, DeNuC improves F1 scores by 4.2% and 3.6% (or higher) on the BRCAM2C and PUMA datasets, respectively, while using only 16% (or fewer) trainable parameters compared to other methods. Code is available at https://github.com/ZijiangY1116/DeNuC.
Figures & tables
Figure 1: Analysis of model performance during the NDC training. (a) We evaluate the representation capability of UNI2-H [ 2 ] during joint optimization for NDC on the OCELOT [ 13 ] dataset via linear probing. UNI2-H undergoes a severe representation degradation in the early training phase. Although the performance subsequently recovers, it fails to regain its initial optimal level and rapidly deteriorates into over-fitting. (b) We evaluate the detection and classification F1 scores of a ConvNeXt-S [ 8 ] model pre-trained solely on ImageNet-1K throughout the training process on PUMA [ 14 ] . Despite lacking domain-specific pathology pre-training, nuclei detection converges approximately 2.3 × faster than classification, highlighting the inherent difficulty disparity between the two tasks.
Figure 2: Comparison of DeNuC and SOTA methods. DeNuC achieves significantly superior performance across three benchmark datasets.
Figure 3: Illustration of (a) Joint optimization and (b) Decoupled optimization for NDC. Existing methods require the backbone to accommodate additional optimization objectives beyond nuclei representation, leading to representation degradation. In contrast, DeNuC employs an independent lightweight detection network D for nuclei localization, thereby allowing the backbone to focus exclusively on representation learning.
Method
Training
BRCAM2C
OCELOT
PUMA
Params.
FLym.
FTum.
FOth.
FAvg.
FTum.
FOth.
FAvg.
FLym.
FTum.
FOth.
FAvg.
CGT [ 9 ]
37M
56.42
75.98
50.44
60.95
68.77
61.30
65.03
76.55
79.66
54.20
70.14
SENC [ 10 ]
27M
57.94
76.50
49.42
61.29
70.02
62.08
66.05
77.38
81.51
54.38
71.09
CellViT [ 6 ]
143M
67.20
78.20
51.81
65.73
67.36
60.22
63.79
79.07
81.16
57.96
72.73
Hover-Net [ 4 ]
34M
62.31
75.25
49.58
62.38
69.27
61.03
65.15
75.72
78.36
49.53
67.87
DPA-P2PNet [ 17 ]
32M
59.65
77.26
55.26
64.06
70.07
59.92
64.99
76.80
81.87
54.04
70.90
Table 1: Comparison of nucleus detection and classification in F1-score % ( ↑ ). FTum. , FLym. , FOth. , and FAvg. denote the F1 score of tumor nucleus, lymphocytes, other nucleus, and average, respectively. The best results are highlighted in bold , and the second-best results are in underlined . DeNuC significantly outperforms other methods.
Backbone
Params.
BRCAM2C
OCELOT
PUMA
FDet.
FAvg.
FDet.
FAvg.
FDet.
FAvg.
SN (0.5 × )
0.3M
86.61
71.43
79.89
68.85
92.23
75.45
SN (1.0 × )
1.0M
86.98
71.58
80.97
69.74
93.13
75.98
SN (1.5 × )
2.7M
87.00
71.90
81.07
69.76
93.28
76.19
SN (2.0 × )
4.3M
87.52
71.97
81.33
69.94
93.57
76.36
ResNet-50
26M
87.29
71.90
81.48
70.03
93.22
76.07
Table 2: Ablation study of D in F1-score % ( ↑ ). (Left) Comparison of different backbones. (Right) Ablation of cross-dataset training strategy. Nnu denotes the number of nuclei in the training set. FDet. denotes the F1 score of detection. "SN" denotes ShuffleNetV2. "Separated" and "Joint" indicate that models are trained individually on each dataset and jointly across all datasets, respectively.
Method
Pdet
Training
BRCAM2C
OCELOT
PUMA
Params.
FLym.
FTum.
FOth.
FAvg.
FTum.
FOth.
FAvg.
FLym.
FTum.
FOth.
FAvg.
Linear
✓
4.6K
69.73
85.10
61.08
71.97
73.83
66.04
69.94
81.00
85.25
62.85
76.37
Lora
✓
2.4M
71.79
85.33
61.40
72.84
74.19
66.93
70.56
81.23
85.70
63.38
76.77
Fully
✓
681M
71.03
85.50
61.11
72.55
73.87
65.52
69.69
81.45
85.37
63.13
76.65
End-to-end
✗
686M
68.21
79.42
56.67
68.10
67.37
58.15
62.76
79.50
83.19
62.20
74.97
Table 3: Ablation study on the optimization strategy of the classification network in F1-score % ( ↑ ). Providing nuclei coordinates highly improves performance.