Label Noise in Pathological Segmentation is Overlooked, Leading to Potential Overestimation of Artificial Intelligence Models

preprint OA: closed
📄 Open PDF Full text JSON View at publisher
Full text 54,468 characters · extracted from preprint-html · click to expand
Label Noise in Pathological Segmentation is Overlooked, Leading to Potential Overestimation of Artificial Intelligence Models | bioRxiv /* */ /* */ <!-- <!-- /*! * yepnope1.5.4 * (c) WTFPL, GPLv2 */ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0];var j=d.createElement(s);var dl=l!='dataLayer'?'&l='+l:'';j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;j.type='text/javascript';j.async=true;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-M677548'); Skip to main content Home About Submit ALERTS / RSS Search for this keyword Advanced Search New Results Label Noise in Pathological Segmentation is Overlooked, Leading to Potential Overestimation of Artificial Intelligence Models View ORCID Profile Kenji Harada , View ORCID Profile Yuichiro Nomura , View ORCID Profile Daisuke Komura , View ORCID Profile Shumpei Ishikawa , View ORCID Profile Shingo Sakashita doi: https://doi.org/10.1101/2025.02.18.638843 Kenji Harada 1 School of Medicine, Hiroshima University , Hiroshima, Japan 2 Division of Pathology, Exploratory Oncology Research & Clinical Trial Center, National Cancer Center , Kashiwa, Japan Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Kenji Harada For correspondence: kenjhara{at}east.ncc.go.jp ssakashi{at}east.ncc.go.jp Yuichiro Nomura 3 College of Informatics, Division of Computer Science, Shizuoka University , Hamamatsu, Japan Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Yuichiro Nomura Daisuke Komura 4 Department of Preventive Medicine, Graduate School of Medicine, The University of Tokyo , Tokyo, Japan Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Daisuke Komura Shumpei Ishikawa 2 Division of Pathology, Exploratory Oncology Research & Clinical Trial Center, National Cancer Center , Kashiwa, Japan 4 Department of Preventive Medicine, Graduate School of Medicine, The University of Tokyo , Tokyo, Japan Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Shumpei Ishikawa Shingo Sakashita 2 Division of Pathology, Exploratory Oncology Research & Clinical Trial Center, National Cancer Center , Kashiwa, Japan Find this author on Google Scholar Find this author on PubMed Search for this author on this site ORCID record for Shingo Sakashita For correspondence: kenjhara{at}east.ncc.go.jp ssakashi{at}east.ncc.go.jp Abstract Full Text Info/History Metrics Preview PDF Abstract Artificial intelligence (AI) has transformed medical imaging, driving advancements in radiology and endoscopy. Semantic segmentation, a pixel-level technique crucial for delineating pathological features, has become a cornerstone of digital pathology. Pathology segmentation AI models are often trained using annotations generated by pathologists. Despite the meticulous care typically exercised, these annotations frequently contain empirical label noise. However, the specific types of label noise in pathology data and their impact on AI model training remain inadequately explored. This study systematically investigated the effects of label noise on the performance of pathology segmentation models. Using publicly available datasets and a breast cancer semantic segmentation dataset, modules were developed to simulate four types of artificial label noise at varying intensity levels. These datasets were used to train deep learning models with encoder-decoder architectures, and their performance was evaluated using metrics such as the Dice coefficient, precision, recall, and intersection over union. The results indicated that models were highly susceptible to overfitting label noise, particularly boundary-dependent noise such as dilation and shrinkage. Discrepancies were identified between apparent performance scores obtained under real-world conditions and true performance scores derived using clean test data. This overestimation risk was most pronounced for datasets containing boundary-altering noise. Furthermore, random combinations of noise types and levels significantly impaired model generalization. This study underscores the critical importance of addressing label noise in pathology datasets. It is proposed that future efforts focus on developing standardized methods for quantifying and mitigating label noise, along with creating robust benchmarks using noise-inclusive datasets. Enhancing annotation quality and addressing label noise can improve the reliability and generalizability of AI in pathology, facilitating broader clinical adoption. Introduction The advent of artificial intelligence (AI) in healthcare has significantly transformed numerous medical fields. Recent advancements in radiology and endoscopy have notably enabled the integration of AI-based applications into clinical practice. 1 In pathology, AI development for both clinical and research purposes is rapidly gaining attention. 2 – 4 Among the critical AI techniques employed in pathology is semantic segmentation, a pixel-level method widely utilized to delineate lesions and other pathological features in medical images. 5 , 6 Semantic segmentation is pivotal in digital pathology, as it facilitates the precise identification of tissue structures, cellular components, and pathological features in histological images. Detailed segmentation, such as detecting microscopic tumor cells or identifying vascular invasion, is essential for tasks where errors are intolerable. Recent progress in phenotypic and functional research on cellular and tissue structures, including analyses of protein expression, distribution, and complex tumor characteristics, depends on generating precise cell-level segmentation data. 7 The training of pathology segmentation AI models often relies on annotations made by pathologists and data derived from immunohistochemical staining—both requiring considerable effort to produce. 8 – 13 However, despite the meticulous care taken during the annotation process, these annotations frequently contain variability and errors, commonly referred to as label noise. 14 Label noise in pathology arises from several sources. First, the inherent variability in human expert annotations contributes significantly to this noise. 15 Even with common expertise, different pathologists may produce varying segmentations for the same image due to subjective interpretation, fatigue, or differing levels of experience. Second, the complexity of histological images—characterized by heterogeneous textures, overlapping structures, and subtle morphological changes—can create ambiguous regions that are difficult to annotate consistently. Additionally, manual annotation is time-consuming and labor-intensive, often leading to rushed or incomplete annotations that exacerbate label noise. Dilation and omission noise, referring to regions extending beyond the actual ground truth or false-negative areas where lesions are not annotated, respectively, are frequently encountered in this context. The impact of label noise on the performance of segmentation models has been recognized across various domains. For example, Rahaman et al. investigated the effects of artificial label noise on AI models designed to identify water areas in satellite images, exploring noise types such as Gaussian, translation/shift, rotation, and mirroring/flipping. 16 Similarly, studies using magnetic resonance images have examined the influence of label noise types, including random warp, constant shift, and random crop. 17 These studies demonstrated that label noise significantly degrades model performance. Additionally, Luo et al. reported that dilation and erosion in fluorescence microscopy binary mask images reduce model segmentation performance. 18 However, these studies lacked detailed analyses of the effects of different noise types and intensities or comparative evaluations of model generalizability. Moreover, limited validation of pathological segmentation data has been conducted, and the specific impact of label noise on pathological AI models remains unclear. Therefore, in addition to investigating label noise in public pathology data, this study aimed to elucidate its impact on the training of pathology segmentation AI and its effect on generalizability. Specifically, various levels and types of artificial label noise were introduced into a dataset initially considered to have minimal label noise, and the resultant effects were evaluated by comparing actual performance outcomes. Materials and Methods Datasets We used four publicly available datasets to evaluate the presence of label noise: WSSS4LUAD, 9 HuBMAP, 10 CAMELYON, 11 and GlaS 12 ( Fig. 1 ). The Breast Cancer Semantic Segmentation (BCSS) dataset was used to analyze artificial label noise. 13 This dataset consists of 151 histopathological images of breast cancer, 0.25 microns per pixel, annotated for 21 different tissue components that include tumor regions, stroma, and inflammatory cells. This dataset was selected specifically for its detailed annotations, which allowed us to introduce controlled levels and types of artificial label noise. Labels with “angioinvasion (GT_code = 19)” and “dcis (GT_code = 20)” were combined as “tumor (GT_code = 1)”, because of the presence of tumor cells in both regions. The lesion labels were then binarized for model training and subsequent experiments. All datasets were reviewed by KH, and SS reviewed a representative example of the dataset. Download figure Open in new tab Figure 1. Public pathological segmentation data containing a variety of label noise. (A) Representative data from the GlaS dataset. 12 The white region indicates the area labeled positive. Lumen (arrow head) and necrotic tissue areas (arrow) observed within the annotations. (B) Representative data of exhaustively annotated CAMELYON dataset. 11 The red circle indicates the provided ground truth for the tumor cells. Non-tumor cells, such as lymphocytes (arrow) were also labeled in the tumor regions. (C) Representative data from the HuBMAP + HPA dataset. 10 The red area indicates the region labeled positive. Unannotated structures (arrow head; both omission and shrinkage) and dilated annotation boundaries (arrow) were identified. (D) Representative data from the WSSS4LUAD dataset. 9 The yellow and blue indicate provided annotations of the stroma and tumor areas, respectively. Instances of false positive regions (arrow) for tumor cells and inconsistencies in positive region annotations within the same image (red circle) were observed. Artificial label noises To assess the effects of different types of label noise on pathology segmentation, we implemented and applied four types of artificial label noise: dilation, shrinkage, omission, and additive. These noise types were designed to simulate common annotation errors in histopathological images, and were introduced into the BCSS dataset as follows: Dilation Noise: This noise simulates the expansion of annotated regions beyond their true boundaries. The implementation involved dilating the binary mask using a specified number of iterations, followed by smoothing the contours to avoid sharp edges of the mask. The number of iterations was randomly selected to span between 10–30 for level 1, 30–50 for level 2, and 50–150 for level 3. The smoothing parameter epsilon values, used to smooth the boundaries of the dilated regions, were set between 10–20 for level 1, 20–30 for level 2, and 30–50 for level 3. The original state was restored outside the region of interest (GT_code = 0). Shrink Noise: Shrink noise represents the reduction of annotated regions. This noise was implemented by iteratively shrinking the mask through binary erosion. In this process, the implementation ensured the avoidance of omission noise by retaining small areas below a specified threshold. This process was repeated for a specific number of iterations, based on the noise level. The number of repeat processes was set to 1–5 for level 1, 5–9 for level 2, and 9–13 for level 3. Omission Noise: Omission noise simulates the complete omission of certain annotated regions, which typically leads to false negatives. This was achieved by removing small regions that fell below certain area thresholds from the binary mask: 10,000–50,000, 50,000–100,000, and 100, 000–200,000 for levels 1, 2, and level 3, respectively. Additive Noise: This type of noise introduces new incorrect regions into the annotation, typically leading to false positives. The implementation involved adding random geometric shapes (e.g., circles, ellipses, and polygons) of various sizes to regions that were originally negative. Specifically, 3–8 shapes were added for level 1 (each with an area of 20,000–60,000 pixels), 3–8 shapes for level 2 (each with areas of 60,000–120,000 pixels), and 5–8 shapes for level 3 (each between 120,000–160,000 pixels). The types of shapes (e.g., circles, ellipses, or polygons) were chosen randomly. The locations and sizes of these shapes were controlled to ensure that they did not overlap with true-positive regions, thereby avoiding dilation contamination. The parameters for each noise type (e.g., iteration count and epsilon for dilation, number of repeats for shrinkage, area thresholds for omission, and number and size of regions for additive noise) were randomly generated based on predefined ranges corresponding to different noise levels (1, 2, and 3). This module is available on GitHub (at: https://github.com/kenjhara/noisypatho ). BCSS dataset preparation and augmentation The original histopathological images in the BCSS were divided into smaller patches of 512 × 512 pixels in size. A total of 6207 individual patch images were obtained from 151 total cases, The dataset was randomly split into three subsets: 80% of the images were used for training, 10% were used for validation, and the remaining 10% were reserved for testing. The dataset was pre-processed to normalize the image sizes and apply the appropriate augmentations. For the training phase, we implemented data augmentation techniques using the Albumentations library (version 1.3.1), including horizontal and vertical flips (each with a 50% probability), shift/scale/rotate transformations (with shift_limit = [–0.1, 0.1], scale_limit = [–0.1, 0.1], rotate_limit = [–90°, 90°], p = 1), and random brightness/contrast adjustments (brightness_limit = brightness_limit = [–0.1, 0.1], contrast_limit = [–0.1, 0.1], p = 0.5). These augmentations were applied to increase the diversity of the training data and enhance the model’s robustness. No augmentation was applied during the validation and testing phases, to ensure that this was performed on unaltered images. Model architecture The training model was a neural network with an encoder-decoder structure. The encoder backbone consisted of pre-trained convolutional neural networks such as Resnet50 19 or EfficientNet-b4. 20 The decoder models included U-Net, 21 U-Net++, 22 FPN, 23 PSPNet, 24 and DeepLabV3+. 25 The number of output classes was set to 2 (background and lesion). The final layer used a sigmoid activation function to perform the binary segmentation tasks. Training and validation The models were trained using a combination of the dice loss and intersection over union (IoU) metrics as the primary evaluation criteria. Dice loss was selected for its effectiveness in terms of handling class imbalances, which are common in medical image-segmentation tasks. IoU was used to measure the overlap between predicted and true segmentation masks. We used the Adam optimizer, with an initial learning rate of 1 × 10 −3 that was later decreased by a factor of 10 after a specified number of epochs. The training was monitored via early stopping, with a patience of 10 epochs. The training process was conducted for a maximum of 100 epochs, and the best-performing model (based on IoU validation) was saved for each configuration. Model evaluation The models were evaluated using the testing dataset. The predicted segmentation masks were compared to the original ground truth or segmentation with artificial label noise using standard metrics that included precision, recall, dice coefficient, and IoU. Implementation The artificial label noises were implemented using Python version 3.10.12, scipy version 1.10.1, pillow version 9.2.0, and opencv-python version 4.6.0.66. The neural networks were trained using PyTorch 2.0.1+cu117. The analysis and model training in this study were executed on Ubuntu 20.04 Linux system with an A100 GPU (NVIDIA, Santa Clara, CA, USA) and Ubuntu 18.04.5 Linux system with a GeForce GTX 1080 Ti GPU (NVIDIA). Results Public pathological segmentation data contain a variety of label noise A number of pathological datasets with segmented data are currently available publicly, each created with different research objectives that have led to variations in the target cells or tissues. We therefore conducted a comprehensive manual examination of the annotations to assess the presence and extent of label noise present within them. Because it was difficult to quantitatively evaluate the noise present in the ground truth, a visual evaluation was performed by the authors. The GlaS dataset, which provides colorectal epithelial segmentation annotated by pathologists, was found to contain lumen and necrotic tissues within the annotations ( Fig. 1A ). 12 The CAMELYON dataset, which includes detailed tumor cell annotations for lymph node metastases in breast cancer cases, divides the data into exhaustively annotated and non-exhaustively annotated categories based on annotation quality. 11 However, even within the exhaustively annotated cases, non-tumor cells such as lymphocytes were observed to be incorrectly included in the positive regions ( Fig. 1B ). The HuBMAP + HPA dataset, used in the “HuBMAP + HPA— Hacking the Human Body” competition on Kaggle, is a large-scale dataset that includes segmentation at the cellular level for five organs: kidney, prostate, colon, spleen, and lung. 10 Label noise was evident across the dataset, with issues such as unannotated structures, lumen contamination, and inconsistent annotation boundaries being identified ( Fig. 1C ). The WSSS4LUAD dataset, focused on lung adenocarcinoma, includes tissue semantic segmentation data. 9 Upon closer inspection, instances of false-positive regions for tumor cells and inconsistencies in positive region annotations within the same image were observed ( Fig. 1D ). These findings indicated that current publicly available datasets exhibit various types of label noise—including dilation, shrinkage, and omission—with varying degrees of noise present between the datasets and individual cases. Although the creation of segmentation data for pathology is inherently labor-intensive and subject to certain limitations, the presence of label noise is a critical issue that must be carefully considered, as it can potentially impact AI training outcomes. Generation of artificial label noise We generated artificial label noise to investigate its impact on AI performance. We developed modules to create three types of label noise—shrink, dilation, and omission — based on observations from publicly available datasets. In addition to these noises, we applied additive noise, which is the counterpart to omission noise. These four types of noises were added to the annotated BCSS dataset, which we determined to have one of the lowest levels of label noise among the publicly available datasets we investigated ( Fig. 2A ; Supplementary Fig. S1A,B ). Each type of label noise was introduced at three different levels, allowing for a range of noise intensities ( Fig. 2B,C ; Supplementary Fig. S1C,D ). In addition, to simulating conditions that more closely mimicked real-world scenarios, we created a combined pattern of dilation and omission noise, which is commonly observed in pathological data. When comparing the datasets with and without artificial label noise, distinct patterns in precision, recall, dice coefficient, IoU, and the ratio of noise area to non-tumor (i.e., class 0) areas were observed for each type of label noise ( Fig. 2D ; Supplementary Fig. S2 ). In total, we successfully generated 15 dataset variations, encompassing five types of label noise across three levels of intensity. Download figure Open in new tab Supplementary Figure S1. Artificial label noise. (A, B) Representative images from the BCSS dataset. 13 (C, D) Representative mask images showing the ground truth boundary (red line) alongside the noisy annotations generated by our module. Regions where the noisy annotation matches the ground truth are displayed in light blue. Areas where the ground truth is missing in the noisy annotation (i.e., under-segmentation) are shown in yellow. Areas where the noisy annotation includes regions do not present in the ground truth (i.e., over-segmentation) are shown in dark blue. Download figure Open in new tab Supplementary Figure S2. Ratio of Noise-to-Class 0 (non-tumor region). Ratio of the area increased or decreased by the introduction of artificial label noise (noise) to the area of non-tumor areas (class 0). Error bars are presented as mean + standard deviation. Download figure Open in new tab Figure 2. Artificial label noise. (A) A representative image from the BCSS dataset. 13 (B) An overview of the artificial label noise module. (C) Representative mask images showing the ground truth boundary (red line) alongside the noisy annotations generated by our module. Regions where the noisy annotation matches the ground truth are displayed in light blue. Areas where the ground truth is missing in the noisy annotation (i.e., under-segmentation) are shown in yellow. Areas where the noisy annotation includes regions not present in the ground truth (i.e., over-segmentation) are shown in dark blue. (D) The precision, recall, dice, and intersection over union (IoU) scores were categorized by different types and levels of label noise vs the ground truth. The box represents the quartiles of the dataset, while the whiskers extend to display the rest of the distribution. Each dot represents an individual case. Label noise has a significant impact on model training To assess the effects of label noise on AI model performance, we conducted training on datasets with clean labels and 15 artificially generated noisy datasets. We trained 10 models on each dataset, using combinations of two encoder architectures and five decoder types ( Fig. 3A ). The performance scores of the models trained on clean labels is detailed in Supplementary Table S1 . We found that the combination of EfficientNet-b4 with either U-Net or DeepLabV3+ consistently yielded the highest accuracy. These two models demonstrated high predictive accuracy for the testing dataset when trained on clean labels ( Fig. 3B ; Supplementary Fig. S3A,B ). When the models were trained using datasets with various types of introduced label noises, the predictions of the models generally reflected the same types of noise that were present in the training data ( Fig. 3C ); however, this was not the case for additive noise ( Supplementary Fig. S4 ). Additionally, a clear drop in model performance was observed as the severity of the label noise increased ( Fig. 3D ). These results indicate that label noise is likely to have a significant effect on model learning. Download figure Open in new tab Supplementary Figure S3. Visualization of predictions made by models trained on the level 0 dataset (no noise) for the test dataset. (A) Predictions made by the model using an EfficientNet-B4 encoder. (B) Predictions made by the model using a Resnet50 encoder. In the ground truth mask images, white areas represent tumor regions, while black areas indicate non-tumor regions. The ground truth boundary is marked with a red line in the prediction mask images. Regions where the model’s predictions align with the ground truth are shown in light blue. Areas where the model fails to capture the ground truth (i.e., under-segmentation) are represented in yellow, whereas regions where the model includes predictions absent from the ground truth (i.e., over-segmentation) are displayed in dark blue. Download figure Open in new tab Supplementary Figure S4. Visualization of the impact of additive label noise on model training. Visualization of the predicted results on the test data using models trained with level 1 additive label noises. For the noisy mask images, the ground truth boundary is marked with a red line. Regions where the noisy annotations align with the ground truth are shown in light blue. Regions where the noisy annotations include areas not found in the ground truth (i.e., over-segmentation) are displayed in dark blue. For the prediction mask images, the ground truth boundary is marked with a red line. Regions where the model’s predictions align with the ground truth are shown in light blue. Areas where the model fails to identify the ground truth (i.e., under-segmentation) are represented in yellow, and regions where the model includes predictions not found in the ground truth (i.e., over-segmentation) are displayed in dark blue. View this table: View inline View popup Download powerpoint Supplementary Table S1. Performance of models trained on clean labels (Level 0 labels) Download figure Open in new tab Figure 3. Visualization of the impact of label noise on model training. (A) Overview of the training. A total of 160 combinations were generated, using 16 datasets across 10 different models. (B) Visualization of the predictions made by the models trained on the level 0 dataset (no noise) for the test dataset. The white areas represent tumor regions in the ground truth mask images, while the black ones indicate non-tumor regions. The ground truth boundary is marked with a red line in the prediction mask images. Regions where the model’s predictions align with the ground truth are shown in light blue. Areas where the model fails to identify the ground truth (i.e., under-segmentation) are represented in yellow, while regions where the model includes predictions that were not found in the ground truth (i.e., over-segmentation) are displayed in dark blue. (C) Visualization of the predicted results on the test data using models trained with level 2 noisy labels, categorized by type of noise. For the noisy mask images, the ground truth boundary is marked with a red line. Regions where the noisy annotations align with the ground truth are shown in light blue. Areas where the ground truth is missing in the noisy annotations (i.e., under-segmentation) are represented in yellow, and regions where the noisy annotations include areas that were not found in the ground truth (i.e., over-segmentation) are displayed in dark blue. The coloring pattern of the predictions are the same as in (B). (D) Visualization of the prediction results on the testing dataset using models trained with either the level 0 dataset (no noise), or one with dilation and omission label noise, categorized by each level of noise. The coloring patterns are the same as in (B,C). Dil., Dilation, Omi., Omission. Label noise often goes underestimated in pathology segmentation We evaluated model performance on the testing dataset using two approaches. The first involved testing data that contained noise at comparable levels to the training data, allowing us to calculate apparent real-world performance scores ( Fig. 4A ; Supplementary Fig. S5A ). The second approach used clean labels for the testing data, in order to provide more true and idealized performance scores ( Fig. 4B ; Supplementary Fig. S5B ). Our comparison revealed that, for models trained on datasets with dilation, shrinkage, or combined noise with both dilation and omission, the apparent scores were often inflated relative to the true ones—indicating an overestimation of model performance ( Fig. 4C,D ; Supplementary Fig. S5C,D ). By contrast, models trained with additive noise showed higher true performance scores vs apparent scores. For omission noise, there was little difference between the two scoring methods. These results indicate that such models may overestimate identified targets if the dataset includes noise that alters the object’s boundaries, such as dilation or shrinkage. Download figure Open in new tab Supplementary Figure S5. Data related to Figure 4 . (A) Apparent scores were calculated using the test dataset for all models with Resnet50, showing the noise level used for the training on the x-axis and the IoU score on the y-axis, summarized by noise type. (B) True scores were calculated using the test dataset for all models with Resnet50, showing the noise level used for the training on the x-axis and the IoU score on the y-axis, summarized by noise type. (C) Average apparent and true scores for all models shown in (A) and (B), showing the noise level used for the training on the x-axis and IoU score on the y-axis. Points and error bars represent mean ± standard deviation values. (D) Difference between apparent and true scores by noise level and type. Each dot represents an individual model trained, with the level of noise on the x-axis. Error bars represent mean ± standard deviation values. Positive values indicate overestimation, 0 indicates evaluation match, and negative values indicate underestimation. Dil., Dilation, Omi., Omission. Download figure Open in new tab Figure 4. Label noise often goes underestimated in pathology segmentation. (A) Apparent scores were calculated using the testing dataset for all models with EfficientNet-b4, showing the noise level used for the training on the x-axis and the IoU score on the y-axis, summarized by noise type. (B) True scores were calculated using the test dataset for all models with EfficientNet-b4, showing the noise level used for the training on the x-axis and the IoU score on the y-axis, summarized by noise type. (C) Average apparent and true scores for all models shown in (A) and (B), showing the noise level used for the training on the x-axis and IoU score on the y-axis. Points and error bars represent mean ± standard deviation values. (D) Difference between apparent and true scores by noise level and type. Each dot represents an individual model trained, with the level of noise on the x-axis. Error bars represent mean ± standard deviation values. Positive values indicate overestimation, 0 indicates evaluation match, and negative values indicate underestimation. Dil., Dilation, Omi., Omission. Random label noise also impairs model training In real-world scenarios, label noise is rarely uniform; rather, various types of noise are randomly distributed across the dataset. To simulate this, we generated datasets containing random combinations of label noise types and evaluated their impacts on model performance ( Fig. 5A ). Similarly to the results we observed when using uniform noise, model performance was found to decline as the intensity of random noise increased in the data ( Fig. 5B ). Furthermore, a significant gap was observed between the apparent and true scores, indicating that models trained on datasets containing random label noise may also be prone to overestimation ( Fig. 5C ). We observed a substantial drop in performance in another experiment wherein the datasets contained label noise of varying intensity levels, confirming that the presence of random noise severely affected model training ( Fig. 5D–F ). Download figure Open in new tab Figure 5. Random label noise also impairs model training. (A) An overview of the training using mixed random label noise of dilation and shrink. Eight combinations were generated, using four datasets across two different models. (B) Apparent and true scores were calculated using the test dataset for all models trained as shown in (A), showing the noise level used for the training on the x-axis and the IoU score on the y-axis. (C) Difference between apparent and true scores by noise level on models trained as shown in (A). Each dot represents an individual trained model, with the noise level on the x-axis. Error bars represent mean ± standard deviation values. Positive values indicate overestimation, 0 indicates evaluation match, and negative values indicate underestimation. (D) Overview of the training using mixed random label noise, by level of noise. Two combinations were generated, using single datasets across two different models. (E) Apparent and true scores were calculated using the test dataset for all models trained as shown in (D), with the models and their noise levels shown on the x-axis and IoU scores on the y-axis. (F) Differences between apparent and true scores on the models trained as shown in (D). Positive values indicate overestimation, 0 indicates evaluation match, and negative values indicate underestimation. Dil., Dilation, Omi., Omission. Discussion This study investigated the presence of different types of label noise in publicly available pathology segmentation datasets, and demonstrated the significant impact of label noise on the training of AI models for pathology image segmentation. Specifically, random label noise caused by dilation, shrinkage, omission, or combinations thereof, was found to significantly decrease model performance. Furthermore, by comparing true scores with apparent ones, this study is the first to our knowledge to highlight the potential of label noise in terms of causing overestimations of model performance. The label noise observed in existing datasets can be categorized into three primary types: dilation, shrinkage, and omission—each of which stems from factors such as the ambiguity of lesion boundaries and subjective biases in pathologist annotations. For instance, dilation may occur because of a tendency to mark boundaries more broadly for safety, whereas shrinkage may result from a cautious approach that focuses only on definitive regions. Omission, on the other hand, may stem from missed annotations of small or subtle lesions, potentially caused by fatigue, inattention, or lack of experience. Additive noise, which involves the erroneous labeling of non-lesion areas with visual characteristics as actual lesions, may also occur—although its classification as noise is still debated among experts in the field. In this study, we developed a module to generate artificial label noise artifacts that mimicked these specific noise types, which are prevalent in pathology but underexplored in other domains. 16 , 17 , 26 , 27 Using 15 types of artificial label noise, we trained deep-learning models and compared their performances on our testing datasets. Figure 3C,D shows that the models were highly susceptible to overfitting label noise, which is consistent with the results of prior studies concerning label noise in image classification tasks. 28 Notably, Han et al. demonstrated that deep learning models initially prioritize learning from clean labels but eventually memorize noisy labels as training progresses, in a phenomenon known as the “memorization effect”. We then evaluated the IoU scores of the model predictions on the testing datasets using both clean and noisy labels, referred to as the true and apparent scores, respectively. Because it is generally unknown whether annotation data represent the expected ground truth, apparent scores are typically calculated under standard experimental conditions. True scores, however, are only calculable in experiments involving artificial label noise. A comparison of the true scores revealed that the models maintained their performance more optimally when exposed to noise types in the following order: additive, omission, dilation, and shrink. Additive noise, characterized by randomly introducing small, irregular class 1 regions into class 0 areas, likely avoided overfitting because the remaining class 0 regions were substantially larger than the introduced class 1 regions ( Supplementary Fig. S2 ). Another possible explanation for this may be related to label noise location. In our experiments, additive noise artifacts were randomly generated in non-tumor regions, indicating that the characteristics of the target region were inconsistent. However, it can be assumed that actual additive noise is most likely generated in regions that are similar to the targets. If this is the case, it may have substantial impacts on the learning process. By contrast, our models that were trained with shrinkage and dilation noise exhibited lower performance, likely owing to the added noise in the indistinct mask boundary areas, which also exacerbated issues of class imbalances. These findings demonstrate the varied characteristics of different types of label noise, as well as their distinct effects on model performance. Moreover, the differences between the apparent and true scores varied with the noise type and intensity, underscoring the potential for overestimation of model performance when label noise is present. This discrepancy is particularly pronounced for boundary-dependent noises such as dilation, shrinkage, and random variations. Our findings also corroborate certain existing challenges that have been identified when generalizing AI models, wherein models trained on specific datasets often perform poorly when given new data. 29 , 30 This lack of generalizability can be attributed to the limited diversity and external validation of datasets. Many studies rely on only one or two data sources, which further exacerbates this issue. Although recent methods have been developed that facilitate the training of AI models using smaller datasets, manual annotation, and corrections remain essential—indicating that the challenges related to label noise have not yet been fully addressed. Our present results highlight the potential for overestimation when validation is restricted to limited data sources. Pathology-specific label noise presents unique challenges that are not typically encountered in other imaging domains. For instance, slides stained with Hematoxylin and Eosin often exhibit ambiguous cellular boundaries, which can amplify the inherent variability in pathologist annotations and hinder the construction of large, high-quality datasets. Segmentation decisions can vary significantly even among experienced and well-trained experts, making it difficult to establish a single “correct” annotation. 31 Thus, the definition of label noise in pathology remains inherently complex. Nevertheless, most pathologists can identify the subjective presence of label noise. Future efforts should focus on developing methods for both the qualitative and quantitative evaluation of label noise, particularly ones that mitigate boundary-dependent noise such as dilation and shrinkage. The development of standardized methods for not only quantifying but also correcting label noise, is therefore warranted in this field. This requires that annotated databases be created, firstly, that are designed to include various levels and types of label noise. As we demonstrated in this study, the introduction of artificial label noise partially facilitated this process. Furthermore, such databases would facilitate benchmarking for model robustness, paving the way for the development of more resilient AI systems. Constructing and evaluating large-scale databases that systematically record label noise will also provide researchers in the field with valuable resources. Ultimately, improving annotation quality and minimizing the effects of label noise are essential for fully realizing the potential of AI in the context of pathological image analysis. This study systematically characterized the various types of label noise present in pathology datasets, and investigated their impact on model performance by simulating this type of noise. Our results demonstrated the significant influence of boundary-altering noise on AI model performance in this context. By comparing apparent scores to true ones, we highlighted the risk that the performance metrics of existing models may be overestimated. This study highlights the importance of recognizing and addressing label noise as a critical challenge during the development of pathological AI systems. Author Contributions K.H. conceptualized the study; K.H. and Y.N. developed the methodology; K.H. performed the formal analysis; D.K., S.I., and S.S. provided the resources; K.H. and Y.N. wrote and prepared the original draft; D.K., S.I., and S.S. reviewed, and edited the manuscript; and K.H. and S.S. supervised the study and provided funding acquisition. All of the authors have read and approved the final submitted version of the manuscript. Data Availability We used publicly available data from the WSSS4LUAD, HuBMAP, CAMELYON, GlaS, and BCSS databases. The modules developed in this study are available on GitHub ( https://github.com/kenjhara/noisypatho ). The remaining data supporting the findings of this study are available from the corresponding author upon reasonable request. Funding This work was supported by JST SPRING, Grant Number JPMJSP2132. Ethics Approval and Consent to Participate This study did not involve the collection or use of any clinical specimens or patient data from our institution. All of the experiments were conducted exclusively using publicly available datasets. Ethical approval and informed consent were therefore not considered necessary for this study. Declaration of Competing Interests The authors declare no conflicts of interest. Acknowledgments We thank Professor Norio Sakai (Department of Molecular and Pharmacological Neuroscience, Graduate School of Biomedical and Health Sciences, Hiroshima University) for his kind support and for allowing us to use his facilities. During the preparation of this work, the authors used ChatGPT to correct misspellings, grammar, and sentence structure to improve the English writing. After using this tool, the authors reviewed and edited the content as needed, and take full responsibility for the content of the publication. We would like to thank Editage ( www.editage.jp ) for English language editing. References 1. ↵ Takemoto S , Hori K , Yoshimasa S , et al. Computer-aided demarcation of early gastric cancer: a pilot comparative study with endoscopists . J Gastroenterol . 2023 ; 58 ( 8 ): 741 – 750 . doi: 10.1007/s00535-023-02001-x OpenUrl CrossRef PubMed 2. ↵ Hua S , Yan F , Shen T , Ma L , Zhang X . PathoDuet: Foundation models for pathological slide analysis of H&E and IHC stains . Medical Image Analysis . 2024 ; 97 : 103289 . doi: 10.1016/j.media.2024.103289 OpenUrl CrossRef PubMed 3. Iyer JS , Juyal D , Le Q , et al. AI-based automation of enrollment criteria and endpoint assessment in clinical trials in liver diseases . Nat Med. Published online August 7 , 2024 : 1 – 10 . doi: 10.1038/s41591-024-03172-7 OpenUrl CrossRef 4. ↵ Lu MY , Chen TY , Williamson DFK , et al. AI-based pathology predicts origins for cancers of unknown primary . Nature . 2021 ; 594 ( 7861 ):106-110. doi: 10.1038/s41586-021-03512-4 OpenUrl CrossRef PubMed 5. ↵ Zhang J , Ma K , Kapse S , et al. SAM-Path: A Segment Anything Model for Semantic Segmentation in Digital Pathology . Published online July 12 , 2023 . Accessed November 6, 2023. http://arxiv.org/abs/2307.09570 6. ↵ Zhou H , Wang Y , Zhang B , et al. Unsupervised domain adaptation for histopathology image segmentation with incomplete labels . Computers in Biology and Medicine . 2024 ; 171 : 108226 . doi: 10.1016/j.compbiomed.2024.108226 OpenUrl CrossRef 7. ↵ Shaban M , Bai Y , Qiu H , et al. MAPS: pathologist-level cell type annotation from tissue images through machine learning . Nat Commun . 2024 ; 15 ( 1 ): 28 . doi: 10.1038/s41467-023-44188-w OpenUrl CrossRef PubMed 8. ↵ Komura D , Onoyama T , Shinbo K , et al. Restaining-based annotation for cancer histology segmentation to overcome annotation-related limitations among pathologists . Patterns . 2023 ; 4 ( 2 ). doi: 10.1016/j.patter.2023.100688 OpenUrl CrossRef 9. ↵ Han C , Pan X , Yan L , et al. WSSS4LUAD: Grand Challenge on Weakly-supervised Tissue Semantic Segmentation for Lung Adenocarcinoma . Published online April 13 , 2022 . doi: 10.48550/arXiv.2204.06455 OpenUrl CrossRef 10. ↵ Jain Y , Godwin LL , Joshi S , et al. Segmenting functional tissue units across human organs using community-driven development of generalizable machine learning algorithms . Nat Commun . 2023 ; 14 ( 1 ): 4656 . doi: 10.1038/s41467-023-40291-0 OpenUrl CrossRef PubMed 11. ↵ Bandi P , Geessink O , Manson Q , et al. From Detection of Individual Metastases to Classification of Lymph Node Status at the Patient level: The CAMELYON17 Challenge . IEEE Trans Med Imaging . 2019 ; 38 ( 2 ): 550 – 560 . doi: 10.1109/TMI.2018.2867350 OpenUrl CrossRef PubMed 12. ↵ Sirinukunwattana K , Pluim JPW , Chen H , et al. Gland segmentation in colon histology images: The glas challenge contest . Medical Image Analysis . 2017 ; 35 : 489 – 502 . doi: 10.1016/j.media.2016.08.008 OpenUrl CrossRef PubMed 13. ↵ Amgad M , Elfandy H , Hussein H , et al. Structured crowdsourcing enables convolutional segmentation of histology images . Bioinformatics . 2019 ; 35 ( 18 ): 3461 – 3467 . doi: 10.1093/bioinformatics/btz083 OpenUrl CrossRef PubMed 14. ↵ Frenay B , Verleysen M . Classification in the Presence of Label Noise: A Survey . IEEE Trans Neural Netw Learning Syst . 2014 ; 25 ( 5 ): 845 – 869 . doi: 10.1109/TNNLS.2013.2292894 OpenUrl CrossRef PubMed 15. ↵ Xiao L , Li Y , Qv L , Tian X , Peng Y , Zhou SK . Pathological Image Segmentation with Noisy Labels . Published online March 20 , 2021 . Accessed November 13, 2024. http://arxiv.org/abs/2104.02602 16. ↵ Rahaman M , Hillas MdM , Tuba J , Ruma JF , Ahmed N , Rahman RM . Effects of Label Noise on Performance of Remote Sensing and Deep Learning-Based Water Body Segmentation Models . Cybernetics and Systems . 2022 ; 53 ( 6 ): 581 – 606 . doi: 10.1080/01969722.2021.1989171 OpenUrl CrossRef 17. ↵ Vorontsov E , Kadoury S . Label noise in segmentation networks : mitigation must deal with bias . Published online July 5, 2021 . doi: 10.48550/arXiv.2107.02189 OpenUrl CrossRef 18. ↵ Luo Y , Liu G , Guo Y , Yang G . Elucidating Meta-Structures of Noisy Labels in Semantic Segmentation by Deep Neural Networks . Published online October 8, 2022 . doi: 10.48550/arXiv.2205.00160 OpenUrl CrossRef 19. ↵ He K , Zhang X , Ren S , Sun J . Deep Residual Learning for Image Recognition . Published online December 10 , 2015 . doi: 10.48550/arXiv.1512.03385 OpenUrl CrossRef 20. ↵ Tan M , Le QV . EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks . arXiv.org. May 28, 2019 . Accessed August 25, 2024. https://arxiv.org/abs/1905.11946v5 21. ↵ Ronneberger O , Fischer P , Brox T. U-Net: Convolutional Networks for Biomedical Image Segmentation. Published online May 18, 2015. doi: 10.48550/arXiv.1505.04597 OpenUrl CrossRef 22. ↵ Zhou Z , Siddiquee MMR , Tajbakhsh N , Liang J . UNet++: A Nested U-Net Architecture for Medical Image Segmentation . Published online July 18 , 2018 . doi: 10.48550/arXiv.1807.10165 OpenUrl CrossRef 23. ↵ Lin TY , Dollár P , Girshick R , He K , Hariharan B , Belongie S . Feature Pyramid Networks for Object Detection . Published online April 19, 2017 . doi: 10.48550/arXiv.1612.03144 OpenUrl CrossRef 24. ↵ Zhao H , Shi J , Qi X , Wang X , Jia J. Pyramid Scene Parsing Network . Published online April 27, 2017 . doi: 10.48550/arXiv.1612.01105 OpenUrl CrossRef 25. ↵ Chen LC , Zhu Y , Papandreou G , Schroff F , Adam H . Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation . Published online August 22, 2018 . doi: 10.48550/arXiv.1802.02611 OpenUrl CrossRef 26. ↵ Grad E , Kimhi M , Halika L , Baskin C . Benchmarking Label Noise in Instance Segmentation: Spatial Noise Matters . Published online June 18, 2024 . doi: 10.48550/arXiv.2406.10891 OpenUrl CrossRef 27. ↵ Frank J , Rebbapragada U , Bialas J , Oommen T , Havens TC . Effect of Label Noise on the Machine-Learned Classification of Earthquake Damage . Remote Sensing . 2017 ; 9 ( 8 ): 803 . doi: 10.3390/rs9080803 OpenUrl CrossRef 28. ↵ Han B , Yao Q , Yu X , et al. Co-teaching: robust training of deep neural networks with extremely noisy labels . In: Proceedings of the 32nd International Conference on Neural Information Processing Systems. NIPS’18 . Curran Associates Inc. ; 2018 : 8536 – 8546 . 29. ↵ Jarkman S , Karlberg M , Pocevičiūtė M , et al. Generalization of Deep Learning in Digital Pathology: Experience in Breast Cancer Metastasis Detection . Cancers . 2022 ; 14 ( 21 ): 5424 . doi: 10.3390/cancers14215424 OpenUrl CrossRef 30. ↵ McGenity C , Clarke EL , Jennings C , et al. Artificial intelligence in digital pathology: a systematic review and meta-analysis of diagnostic test accuracy. npj Digit Med . 2024 ; 7 ( 1 ): 1 – 19 . doi: 10.1038/s41746-024-01106-8 OpenUrl CrossRef 31. ↵ Karimi D , Dou H , Warfield SK , Gholipour A . Deep learning with noisy labels: Exploring techniques and remedies in medical image analysis . Medical Image Analysis . 2020 ; 65 : 101759 . doi: 10.1016/j.media.2020.101759 OpenUrl CrossRef PubMed View the discussion thread. Back to top Previous Next Posted February 23, 2025. Download PDF Email Thank you for your interest in spreading the word about bioRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Label Noise in Pathological Segmentation is Overlooked, Leading to Potential Overestimation of Artificial Intelligence Models Message Subject (Your Name) has forwarded a page to you from bioRxiv Message Body (Your Name) thought you would like to see this page from the bioRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Label Noise in Pathological Segmentation is Overlooked, Leading to Potential Overestimation of Artificial Intelligence Models Kenji Harada , Yuichiro Nomura , Daisuke Komura , Shumpei Ishikawa , Shingo Sakashita bioRxiv 2025.02.18.638843; doi: https://doi.org/10.1101/2025.02.18.638843 Share This Article: Copy Citation Tools Label Noise in Pathological Segmentation is Overlooked, Leading to Potential Overestimation of Artificial Intelligence Models Kenji Harada , Yuichiro Nomura , Daisuke Komura , Shumpei Ishikawa , Shingo Sakashita bioRxiv 2025.02.18.638843; doi: https://doi.org/10.1101/2025.02.18.638843 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Area Bioinformatics Subject Areas All Articles Animal Behavior and Cognition (7624) Biochemistry (17651) Bioengineering (13873) Bioinformatics (41887) Biophysics (21424) Cancer Biology (18566) Cell Biology (25465) Clinical Trials (138) Developmental Biology (13365) Ecology (19871) Epidemiology (2067) Evolutionary Biology (24293) Genetics (15591) Genomics (22478) Immunology (17715) Microbiology (40331) Molecular Biology (17150) Neuroscience (88492) Paleontology (666) Pathology (2828) Pharmacology and Toxicology (4817) Physiology (7635) Plant Biology (15114) Scientific Communication and Education (2044) Synthetic Biology (4286) Systems Biology (9817) Zoology (2268)

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00