원시데이터 수집 시스템
선정목록으로

RETINA: Reconstruction-based pre-trained enhanced TransUNet for electron microscopy segmentation on the CEM500K dataset

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Xing Cheng — Department of Molecular Genetics, University of Toronto, Toronto, Ontario, Canada.|||The Donnelly Centre, University of Toronto, Toronto, Ontario, Canada.
  2. Ronald Xie — Department of Molecular Genetics, University of Toronto, Toronto, Ontario, Canada.|||The Donnelly Centre, University of Toronto, Toronto, Ontario, Canada.
  3. Gary D. Bader — Department of Molecular Genetics, University of Toronto, Toronto, Ontario, Canada.|||The Donnelly Centre, University of Toronto, Toronto, Ontario, Canada.|||Department of Computer Science, University of Toronto, Toronto, Ontario, Canada.|||The Lunenfeld-Tanenbaum Research Institute, Sinai Health System, Toronto, Ontario, Canada.|||Princess Margaret Cancer Centre, University Health Network, Toronto, Ontario, Canada.|||CIFAR Multiscale Human Program, CIFAR, Toronto, Ontario, Canada.
DOI
10.1371/journal.pcbi.1013115
저널
PLoS Computational Biology
발행년도
2025
발행기관
Public Library of Science
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1371/journal.pcbi.1013115
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4410808471

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Electron microscopy (EM) has revolutionized our understanding of cellular structures at the nanoscale. Accurate image segmentation is required for analyzing EM images. While manual segmentation is reliable, it is labor-intensive, incentivizing the development of automated segmentation methods. Although deep learning-based segmentation has demonstrated expert-level performance, it lacks generalizable performance across diverse EM datasets. Current approaches usually use either convolutional or transformer-based neural networks for image feature extraction. We developed the RETINA method, which combines pre-training on the large, unlabeled CEM500K EM image dataset with a hybrid neural-network model architecture that integrates both local (convolutional layer) and global (transformer layer) image processing to learn from manual image annotations. RETINA outperformed existing models on cellular structure segmentation on five public EM datasets. This improvement works toward automated cellular structure segmentation for the EM community.

본문 71,307자

본문 펼치기
## PLOS COMPUTATIONAL BIOLOGY RESEARCH ARTICLE # RETINA: Reconstruction-based pre-trained enhanced TransUNet for electron microscopy segmentation on the CEM500K dataset 1,2,3,4,5,6 ∗ Cheng Xing 1,2, Ronald Xie1,2, Gary D. Bader OPEN ACCESS Citation: Xing C, Xie R, Bader GD (2025) RETINA: Reconstruction-based pre-trained enhanced TransUNet for electron microscopy segmentation on the CEM500K dataset. PLoS Comput Biol 21(5): e1013115. [https://doi.org/10.1371/journal.pcbi.1013115](https://doi.org/10.1371/journal.pcbi.1013115) Editor: Jason A. Papin, University of Virginia, UNITED STATES OF AMERICA Received: November 5, 2024 Accepted: May 6, 2025 Published: May 28, 2025 Peer Review History: PLOS recognizes the benefits of transparency in the peer review process; therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. The editorial history of this article is available [here: https://doi.org/10.1371/journal.pcbi.](https://doi.org/10.1371/journal.pcbi.1013115) [1013115](https://doi.org/10.1371/journal.pcbi.1013115) Copyright: © 2025 Xing et al. This is an open access article distributed under the terms of the [Creative Commons Attribution License, which](https://creativecommons.org/licenses/by/4.0/) permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Data availability statement: The benchmark datasets, the pre-trained model weights, and the full code of RETINA implementation are available on GitHub at the following link: [https://github.com/BaderLab/RETINA.](https://github.com/BaderLab/RETINA) 1 Department of Molecular Genetics, University of Toronto, Toronto, Ontario, Canada, 2 The Donnelly Centre, University of Toronto, Toronto, Ontario, Canada, 3 Department of Computer Science, University of Toronto, Toronto, Ontario, Canada, 4 The Lunenfeld-Tanenbaum Research Institute, Sinai Health System, Toronto, Ontario, Canada, 5 Princess Margaret Cancer Centre, University Health Network, Toronto, Ontario, Canada, 6 CIFAR Multiscale Human Program, CIFAR, Toronto, Ontario, Canada ∗ [gary.bader@utoronto.ca](mailto:gary.bader@utoronto.ca) ### Abstract Electron microscopy (EM) has revolutionized our understanding of cellular structures at the nanoscale. Accurate image segmentation is required for analyzing EM images. While manual segmentation is reliable, it is labor-intensive, incentivizing the develop ment of automated segmentation methods. Although deep learning-based segmentation has demonstrated expert-level performance, it lacks generalizable performance across diverse EM datasets. Current approaches usually use either convolutional or transformer based neural networks for image feature extraction. We developed the RETINA method, which combines pre-training on the large, unlabeled CEM500K EM image dataset with a hybrid neural-network model architecture that integrates both local (convolutional layer) and global (transformer layer) image processing to learn from manual image annotations. RETINA outperformed existing models on cellular structure segmentation on five public EM datasets. This improvement works toward automated cellular structure segmentation for the EM community. Author summary Electron microscopy (EM) provides a powerful window into the tiny structures inside cells, but turning these detailed images into meaningful biological insights requires accurately identifying (segmenting) different cellular components. Traditionally, segmentation has been done by hand, a reliable but extremely time-consuming process. To overcome this, we developed RETINA, an innovative method combining advanced deep learning techniques with pre-training on a large collection of EM images called CEM500K. RETINA uniquely integrates two types of neural networks—convolutional PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 1/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Funding: This work was supported by the Canadian Institutes for Health Research (grant PJT 180542 to GDB). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Competing interests: The authors have declared that no competing interests exist. networks, which capture detailed local patterns, and transformer networks, which excel at understanding global context. By pre-training on diverse EM images without labels, RETINA learns general features that enable it to quickly adapt and accurately segment new datasets. Our tests across five different EM datasets show that RETINA consistently outperforms existing methods, achieving higher accuracy and faster training. RETINA’s robustness and efficiency suggest it could significantly streamline cellular research, helping scientists more rapidly analyze complex microscopic images and uncover new biological discoveries. Introduction Electron microscopy (EM) has revolutionized our understanding of cellular structures at the nanoscale [1]. Three-dimensional volume EM enables detailed visualization of cells, cellular structures and entire organisms [2–5]. Image segmentation (marking pixels/voxels or objects of interest) and annotation (labeling pixels/voxels or objects of interest) is required for EM image analysis and interpretation. Manual segmentation of EM datasets is reliable but laborintensive [6,7], incentivizing the development of automated segmentation approaches [8]. While many deep learning-based methods have demonstrated expert-level performance for specific segmentation tasks [6,7,9,10], deep learning models often lack generalizable segmentation performance across diverse EM datasets likely due to the wide variability of nanoscale EM structures. Consequently, extensive manual annotation and task-specific fine-tuning remain necessary to adapt existing models to new datasets [11–13], and developing an effective and efficient automated EM segmentation method remains an open challenge. Supervised deep learning approaches have traditionally been used for image segmentation, where manual identification of pixels/voxels that are part of a given type of object are used to train a model to predict the segmentation of unseen pixels/voxels. This is limited by the availability of manual training data. An improved approach is to use transfer learning to transfer model parameters from similar problems, not necessarily based on EM images. For example, the ImageNet dataset of millions of images [14] can be used to pre-train a model and transfer general image processing ability to new data and tasks [15]. Although ImageNet pretrained models provide a solid starting point, domain differences in their training data may impact their ability to extract fine-grained features effectively in nanoscale images [16,17]. Research suggests that creating more domain-specific datasets for pre-training can substantially improve performance [18]. Fortunately, open access EM data are increasingly available in central repositories such as EMPIAR [19] and OpenOrganelle [20]. However, most EMrelevant datasets are unlabeled, limiting the use of supervised approaches. As a result, unsupervised pre-training methods, which do not require labels, have been developed and have shown promising results in transfer learning for image analysis, including for EM images [21– 23]. For instance, contrastive learning enables the model to associate similar samples and differentiate dissimilar ones by predicting pairs that can be either positive or negative [22,24]. Another effective method to improve image segmentation accuracy is with deep learning model architecture innovations, such as convolutional neural networks (CNN) [25] and transformer architectures [26,27]. CNN-based models, such as U-Net [28] and SegNet [29] excel at extracting local image features [30,31], enabled by hierarchical image feature extraction, shared weights and local receptive fields. Transformers treat an image as a sequence of patches, efficiently capturing global features [27]. Architectures that combine CNN and transformer structures to use both local and global image features can enhance segmentation accuracy. For example, SwinUNETR uses an encoder comprising Swin transformer PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 2/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation blocks combined with a U-Net-like structure capturing hierarchical representation structure, where deeper layers in the encoder correspond to decreased spatial resolution and increased embedding space dimension [32]. To improve segmentation of EM images, we have developed a method that combines the advantages of unsupervised pre-training on large EM-relevant datasets with a hybrid model architecture incorporating both CNN and transformer layers within the encoder. We used the CEM500K dataset, containing 0.5 × 10 <sup>6</sup> information-rich and heterogeneous EM images [21], for pre-training, and the TransUNet deep learning architecture [33], which features an encoder with integrated CNN and transformer layers, as our model backbone. Given the unlabeled nature of the EM images, a reconstruction-based architecture was established for TransUNet pre-training. Our method was benchmarked against state-of-the-art randomly initialized 2D and 3D deep learning models, as well as a published UNet-ResNet50 model pre-trained on CEM500K by MoCoV2 [34]. All models were evaluated on five public datasets: CREMI Synaptic Clefts [35], Guay [12] (human platelets), Kasthuri++ [36] (neocortex volume), Perez [37] (mammalian brain), and UroCell [38] (urothelium tissue). Our Reconstruction-based prE-trained enhanced TransUNet for electron mIcroscopy segmentatioN on the CEM500K dAtaset (RETINA) model outperforms benchmark models across these diverse datasets. Methods Model architecture RETINA: pre-training. To enhance semantic segmentation accuracy in electron microscopy (EM) data, we designed the RETINA model, which pre-trains its encoder on the unlabeled CEM500K dataset [21] and fine-tunes it on benchmark datasets using transferred pre-trained parameters. The RETINA pre-training framework is built upon TransUNet, a model designed for accurate semantic segmentation that uses a hybrid encoder to capture both global and local features [33,39]. Rather than using transformer-based or convolutional layers in isolation, TransUNet first employs convolutional layers to extract high-resolution spatial features from input images, which are subsequently processed by transformer layers to enhance global feature representation. These convolutional feature maps capture fine-grained local details, which are then processed by transformer layers to enhance global feature representation. Unlike standard implementations where patch embeddings are applied directly to the input image, the TransUNet approach applies patch embeddings to the convolutional feature map, enabling the transformer layers to operate on a more informative representation. Within the transformer layers, multi-head self-attention and multi-layer perceptron blocks further enhance feature extraction (Fig 1a). Each patch is mapped to an encoded vector of a predefined dimension, and transitioning from the encoder to the decoder involves reshaping the matrix of patch feature vectors to restore spatial structure. The channel size of the reshaped matrix is then adjusted, followed by progressive upsampling. Skip connections, similar to those in the UNet model, facilitate multi-scale feature aggregation, improving segmentation performance (Fig 1a). To be efficiently pre-trained on the unlabeled images of CEM500K dataset, RETINA adopts a reconstruction-based self-supervised learning approach. Input 2D images of CEM500K undergo a series of transformations, including flipping, rotation, brightness and contrast adjustments, noise addition, blurring, and patch cropping (S1 Table, Fig 2a). These augmentations can be generally applied to all images and increase image variability and reconstruction difficulty, encouraging the model to learn robust feature representations PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 3/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Fig 1. Overview of the RETINA method. a, RETINA pre-training process: input images from CEM500K are first augmented and then passed sequentially through convolutional and transformer layers. The embedded features are reshaped and processed by the decoder network, generating reconstructed images. The loss is computed between the input and output images. The structure of the transformer layer is highlighted on the left side. The pre-training process follows this order: augmentation, convolutional layers, transformer layers, reshaping of features, decoding, and loss computation. b, RETINA fine-tuning process: after transferring the pre-trained layers, 2D images are encoded by convolutional and transformer layers. The corresponding embedded features are then decoded and labeled via the segmentation head. Abbreviations: CNN, convolutional neural network; Conv, convolution; MLP, multi-layer perceptron; MSA, multi-head self-attention; MSE, <u>mean squared error; Norm, normalization.</u> [https://doi.org/10.1371/journal.pcbi.1013115.g001](https://doi.org/10.1371/journal.pcbi.1013115.g001) across all layers. Since the CEM500K dataset consists of 2D images, we adapted the TransUNet architecture by employing 2D convolutional layers while retaining the original TransUNet encoder-decoder upsampling structure. Skip connections are preserved to enhance feature aggregation across different resolution levels. Instead of using the standard TransUNet segmentation head, it is replaced with a convolutional decoder that reconstructs the input image, aligning with the reconstruction-based pre-training task. The reconstructed output is compared to the original image using mean squared error after applying the same geometric transformations used for augmentation. The complete set of RETINA pre-training parameters is provided in S2 Table. This pre-training strategy on 2D images ensures compatibility with the fine-tuning phase, enabling seamless transfer of learned representations due to the shared encoder structure. By training on the CEM500K image dataset, RETINA learns to reconstruct altered images, facilitating a deeper understanding of structural details and global context by distinguishing PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 4/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Fig 2. Augmented CEM500K images and benchmark datasets. a, Example images of CEM500K and their augmented counterparts for each augmentation step: from left to right, the columns show the Input, flip and rotate, brightness and contrast adjustment, Gaussian noise and Gaussian blur, cropping, and final reconstructed images. Each row represents an example image undergoing the entire augmentation process. b, Example images and label maps of each of the five benchmark datasets: the first row represents lysosomes, mitochondria, nuclei, and nucleoli in the Perez dataset. The second row corresponds to the Guay, <u>UroCell, Kasthuri++, and CREMI Synaptic Clefts datasets.</u> [https://doi.org/10.1371/journal.pcbi.1013115.g002](https://doi.org/10.1371/journal.pcbi.1013115.g002) PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 5/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation between original and altered images. Further details on the model architecture and implementation are provided in S1 Text. Fine-tuning using TransUNet. To use the benefits of pre-training on the CEM500K dataset, transfer learning is applied. Since the pre-trained layers are 2D-based, the finetuning architecture must also be compatible with 2D inputs. Therefore, the 2D TransUNet is employed for RETINA fine-tuning. For 3D input images, the volume is first sliced into 2D images before being processed by the model. The pre-trained transformer layer parameters are then transferred to the corresponding transformer layers (Fig 1b). To ensure stability during training on benchmark tasks, these transferred parameters are frozen (not updated further). Since the fine-tuning task involves semantic segmentation, consistent with TransUNet [33,39], and requires pixel-wise mask generation, a segmentation head is used as the final layer to assign each pixel a class ID corresponding to its predicted category. This adaptation of TransUNet, from reconstruction to segmentation, ensures that the model accurately performs the segmentation task while using the pre-trained parameters. The RETINA implementation parameters for fine-tuning are listed in S3 Table. Details about the model implementation can be found in S1 Text. Dataset CEM500K used for pre-training. To improve the accuracy of EM image segmentation, we used the CEM500K dataset for model pre-training. It is an information-rich and non-redundant 25 gigabyte 2D EM image dataset [21]. Briefly, 5.3 × 10 <sup>6</sup> images were collected and cropped into 224 × 224 pixel patches, forming the CEMraw dataset. This dataset contains a wide range of modalities and sample preparation protocols (a complete list of the datasets with related attribution can be found in the supplementary materials of the CEM500K paper [21]). The images underwent deduplication and filtering, resulting in the CEMdedup and final CEM500K datasets. The selected 0.5 × 10 <sup>6</sup> images that we use for training contain diverse cellular images from more than 100 unrelated biological projects [21], as shown by representative images (Fig 2a, left column). All 0.5 × 10 <sup>6</sup> images in the CEM500K dataset were used as input for RETINA pre-training and processed with augmentation procedures including flipping, rotation, brightness and contrast adjustment, noise addition, blurring, and patch cropping. Flipping and rotation were randomly applied with the probability 0.5. In addition, each operation has a set of parameters (S1 Table) to define the degree of augmentation. Each image went through different degrees of augmentation controlled by these parameters. This approach increases randomization to enhance data variability. For example, as shown in (Fig 2a), the first image is neither flipped nor rotated; the second is only flipped; the third is only rotated; and the fourth is both flipped and rotated. Since noise and blur were added after brightness adjustment, the images appear less bright in the fourth column. As shown in the fifth column, the number of cropped patches is randomly applied in the range from 1 to 32. For better visualization, the four representative CEM500K images input to the pre-training process are sorted according to the number of cropped patches, from the smallest to the largest (four rows in Fig 2a). Five benchmark datasets used for fine-tuning. We evaluated RETINA’s performance using five benchmark datasets: CREMI Synaptic Clefts [35], Guay [12] (human platelets), Kasthuri++ [36] (neocortex volume), Perez [37] (mammalian brain), and UroCell [38] (urothelium tissue) (S4 Table). These datasets include nine subcellular structures for segmentation: lysosomes, mitochondria, nuclei, nucleoli, canalicular channels, alpha granules, dense granules, dense granule cores, and synaptic clefts. Representative images and ground truth labels for each dataset are presented in Fig 2b, with labels overlaid on the corresponding raw PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 6/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation images. Guay and UroCell have multiple organelles labeled for segmentation. To ensure consistency with previous research [21], volumes A and B were used for training, while volume C was used for testing, as the test data for the CREMI Synaptic Cleft benchmark is not publicly available. Meanwhile, the four label types in the Perez dataset were treated as independent binary segmentation tasks [21]. Additionally, these datasets use different electron microscopy imaging technologies (S4 Table), increasing the diversity of benchmarking data. Results Evaluation of RETINA on benchmark data RETINA achieves the best segmentation accuracy on EM benchmarks. To evaluate the segmentation performance of RETINA, it was benchmarked against several state-ofthe-art models for EM image segmentation. The UNet-ResNet50 model [40], pre-trained on CEM500K using MoCoV2 [23], was selected for its superior performance over both the randomly initialized version and the version pre-trained with supervised learning on ImageNet [21]. To ensure parity in training, RETINA underwent 200 pre-training epochs, consistent with the UNet-ResNet50 pre-trained on CEM500K model [21]. Additionally, to highlight the benefits of pre-training and RETINA’s hybrid encoder architecture, a randomly initialized 2D TransUNet model was included as a benchmark. The randomly initialized UNet-ResNet50 model serves as the baseline, enabling a systematic assessment of RETINA’s improvements. Specifically, comparing the baseline to the UNet-ResNet50 pre-trained on CEM500K model quantifies the impact of pre-training, while comparing the baseline to TransUNet isolates the advantage of RETINA’s encoder structure. The overall enhancement of RETINA is demonstrated by comparing it against all other models. To further assess RETINA’s ability to handle 3D images, two high-performing 3D models are included: 3D TransUNet [39] and nnUNet with the configuration of 3D full resolution [41,42]. The number of training iterations (each iteration representing a batch-level update with a corresponding learning rate adjustment) was set to ensure sufficient fine-tuning. This allowed the models to converge effectively and achieve stable Intersection over Union (IoU) scores (predicted segmentation vs. ground truth segmentation at the pixel level). For consistency and comparison purposes, we selected the iteration counts based on previous work [21]. The corresponding training iteration numbers are listed in Table 1. We reimplemented each benchmark model using the same code and parameters as published [21]. Although the Perez dataset includes several labeled organelles, each was trained independently as a binary task and averaged to obtain the final IoU value, consistent with prior work [21]. Table 1 presents the IoU values for all benchmark datasets. The reported metrics correspond to inference results obtained using checkpoints from the specified number of training iterations. The evaluation is also presented based on other semantic metrics, including F-score (S5 Table), Precision (S6 Table), Recall (S7 Table), and Mean False Distance (MFD) (S8 Table). The description of these metrics can be found in S1 Text. For isotropic 3D segmentation in the UroCell dataset, the model was trained on a combination of axial (xy), sagittal (yz), and coronal (xz) slices. During inference, orthoplane prediction is applied [21], where the model generates predictions on the _xy_, _xz_, and _yz_ planes, and the outputs are averaged to integrate 3D information. For anisotropic volumes, including the CREMI Synaptic Clefts, Guay, and Kasthuri++, predictions are made only on _xy_ crosssections. In the Perez dataset, since images were randomly sampled in 2D [37], benchmarking with 3D-based models is excluded. A high IoU score indicates greater overlap between the predicted segmentation and the ground truth. For the CREMI Synaptic Clefts dataset, pre-training UNet-ResNet50 on CEM500K improves performance compared to the randomly initialized UNet-ResNet50 PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 7/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Table 1. Comparison of segmentation IoU values for RETINA versus benchmark models, including: randomly initialized (Rand. Init.) UNet-ResNet50, UNet-ResNet50 pre-trained on CEM500K, Rand. Init. 2D TransUNet, Rand. Init. 3D TransUNet and Rand. Init. nnUNet. They are the inference results based on the checkpoints of their corresponding training iterations. Lysosomes, mitochondria, nuclei, and nucleoli within Perez benchmark are listed separately. Mean values of three independent runs are reported. Benchmark Training <u>Iterations</u> Rand. Init. <u>UNet-ResNet50</u> CEM500K <u>UNet-ResNet50</u> Rand. Init. 2D <u>TransUNet</u> Rand. Init. 3D <u>TransUNet</u> Rand. Init. <u>nnUNet</u> RETINA <u>CREMI S.C.</u> <u>5000</u> <u>0.000</u> <u>0.246</u> <u>0.294</u> <u>0.313</u> <u>0.243</u> <u>0.327</u> <u>Guay</u> <u>2500</u> <u>0.452</u> <u>0.468</u> <u>0.266</u> <u>0.493</u> <u>0.495</u> <u>0.552</u> <u>Kasthuri++</u> <u>10000</u> <u>0.904</u> <u>0.915</u> <u>0.894</u> <u>0.905</u> <u>0.898</u> <u>0.916</u> <u>Perez</u> <u>2500</u> <u>0.850</u> <u>0.905</u> <u>0.893</u> <u>–</u> <u>–</u> <u>0.919</u> <u>Lysosomes</u> <u>–</u> <u>0.845</u> <u>0.854</u> <u>0.845</u> <u>–</u> <u>–</u> <u>0.885</u> <u>Mitochondria</u> <u>–</u> <u>0.841</u> <u>0.887</u> <u>0.847</u> <u>–</u> <u>–</u> <u>0.890</u> <u>Nuclei</u> <u>–</u> <u>0.984</u> <u>0.990</u> <u>0.990</u> <u>–</u> <u>–</u> <u>0.991</u> <u>Nucleoli</u> <u>–</u> <u>0.731</u> <u>0.889</u> <u>0.891</u> <u>–</u> <u>–</u> <u>0.910</u> <u>UroCell</u> <u>1000</u> <u>0.203</u> <u>0.598</u> <u>0.579</u> <u>0.573</u> <u>0.567</u> <u>0.610</u> [https://doi.org/10.1371/journal.pcbi.1013115.t001](https://doi.org/10.1371/journal.pcbi.1013115.t001) model, increasing the IoU from 0.000 to 0.246. However, despite this improvement, the pretrained UNet-ResNet50 still underperforms relative to the randomly initialized 2D TransUNet, highlighting the superior feature extraction capabilities of the hybrid model structure. Although both 3D TransUNet and nnUNet are 3D-based models, their performance remains inferior to RETINA. The same metrics as the CREMI challenge are also used (S9 Table), and RETINA also has the best performance among all models. On the Guay dataset, the randomly initialized 2D TransUNet performs worse than the randomly initialized UNet-ResNet50 baseline. However, with pre-training, RETINA achieves the highest IoU among all benchmark models, including the two 3D models, demonstrating the effectiveness of pre-training. For the Perez and Kasthuri++ benchmarks, RETINA continues to outperform other models, though the improvements are less pronounced, likely due to the relative simplicity of these binary segmentation tasks. The UroCell benchmark shows that RETINA has the IoU 0.610 which is the highest compared to other models. The impact of pre-training on CEM500K is evident, as the pre-trained UNet-ResNet50 achieves an IoU of 0.598, outperforming both the randomly initialized 2D and 3D models. Other evaluation metrics, including F-score (S5 Table), Precision (S6 Table), Recall (S7 Table), and MFD (S8 Table), follow similar performance trends across models. Overall, these results show that RETINA consistently achieves the best segmentation performance among the benchmark models. RETINA converges quickly. In many application areas, models can be found to achieve strong performance with a few fine-tuning steps if they are pre-trained [15]. We tested if this holds with RETINA by evaluating the performance (IoU) changes of all tested models and datasets at different numbers of fine-tuning iterations (Fig 3a). In terms of method comparison using pre-training with different model architectures, we evaluated RETINA against the UNet-ResNet50 pre-trained on CEM500K across five benchmark datasets. On the CREMI Synaptic Clefts dataset, RETINA achieves an IoU of 0.330 within 1000 iterations, maintaining high performance with minimal additional gains in subsequent iterations (Fig 3a). In contrast, the UNet-ResNet50 pre-trained on CEM500K reaches comparable results by 3000 iterations. On the Kasthuri++ dataset, both pre-trained models stabilize by 400 iterations, but RETINA reaches a higher IoU value earlier. For the simpler binary segmentation of the Perez dataset, RETINA reaches a high performing state early on, while the UNet-ResNet50 pre-trained on CEM500K converges rapidly but lags 100 iterations behind RETINA (Fig 3a). On the UroCell dataset, RETINA attains an IoU of over 0.6 within 200 iterations, whereas the UNet-ResNet50 pre-trained on CEM500K is slower to converge, improving from 400 to PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 8/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Fig 3. RETINA demonstrates fast convergence and robustness, outperforming other models across all segmentation benchmarks. a, IoU values of RETINA and other benchmark models across different fine-tuning iterations. Each IoU value is obtained by inferring on test datasets using model weights trained with the specified number of iterations. For better visualization, the iteration range is chosen to capture the model progression toward convergence in each dataset. b, Box plots representing the distribution of IoU values for each benchmark, with each benchmark consisting of six experiments corresponding to different random seeds. <u>Te UNet-ResNet50 pre-trained on CEM500K model is colored in blue, and RETINA is in orange. *p<0.05, **p<0.01.h</u> [https://doi.org/10.1371/journal.pcbi.1013115.g003](https://doi.org/10.1371/journal.pcbi.1013115.g003) 800 iterations (Fig 3a). Overall, RETINA converges more rapidly than the UNet-ResNet50 pre-trained on CEM500K in most experiments. To evaluate RETINA against randomly initialized benchmark models, its performance was compared to randomly initialized 2D TransUNet, UNet-ResNet50, 3D TransUNet, and nnUNet across five datasets. Since the Perez dataset consists of randomly sampled 2D images without 3D structural information, the two 3D benchmark models were not applied to this dataset. On the CREMI Synaptic Clefts dataset, the randomly initialized 2D TransUNet requires 2000 iterations to reach peak performance, 1000 iterations slower than RETINA. The randomly initialized UNet-ResNet50 baseline consistently produces an IoU of 0.000 (Fig 3a), as previously reported [21], underscoring the dataset’s complexity and making it unsuitable for convergence speed comparisons. The two 3D models exhibit a gradual increase in performance, approaching convergence at approximately 5000 iterations. On the Guay dataset, RETINA stabilizes around 2000 iterations, while the randomly initialized UNet-ResNet50 model converges more slowly, reaching stability at approximately 2500 iterations. TransUNet stabilizes earlier at around 1500 iterations but with significantly lower accuracy, making direct convergence comparisons less informative (Fig 3a). For the Kasthuri++ dataset, randomly initialized 2D models continue improving beyond 600 iterations, whereas RETINA reaches PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 9/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation stability earlier. However, the randomly initialized 3D models do not show clear signs of convergence and continue increasing in IoU beyond 1000 iterations. On the Perez dataset, both randomly initialized 2D models require more iterations to converge compared to RETINA. Similarly, on the UroCell dataset, the randomly initialized 2D TransUNet exhibits gradual improvement up to 600 iterations (Fig 3a), though with a shallow convergence slope. The UNet-ResNet50 baseline performs poorly across the 200–1000 iteration range, making meaningful comparisons on this dataset less relevant. The 3D models show a slower performance increase after 800 iterations compared to their steeper improvement in earlier stages. Across most experiments, RETINA converges faster than all randomly initialized models. In summary, RETINA consistently achieves high performance more quickly across five benchmark datasets compared to all other models tested. RETINA is robust to random seed changes. RETINA exhibits superior segmentation accuracy on EM datasets by leveraging pre-training on CEM500K and using the TransUNet backbone. The initial experiments, however, were conducted using a single random seed across all models. To assess the reproducibility of our results, we repeated the fine-tuning of RETINA and the MoCoV2 pre-trained benchmark model on each dataset using six different random seeds. The resulting IoU score distributions demonstrate that RETINA consistently significantly outperforms the UNet-ResNet50 pre-trained on CEM500K across all datasets (Mann-Whitney U test, Fig 3b). Notably, RETINA exhibits substantially lower variance in the UroCell multiclass benchmark, underscoring its ability to reduce uncertainty in more complex multi-class segmentation tasks. Across the other benchmarks, RETINA maintains consistently low variance across different random seeds. Overall, RETINA significantly outperforms the UNet-ResNet50 pre-trained on CEM500K in accuracy and is robust to random seed variation. RETINA evaluation by manual image inspection. To visually assess segmentation quality, we manually inspected representative label maps for each benchmark. We reviewed images in two and three dimensions (2D and 3D). For 2D visualization, representative predicted images from the Perez, Kasthuri++, and UroCell datasets are shown in Fig 4a. For 3D visualization, the Guay and CREMI Synaptic Clefts datasets highlight nanoscale labeled structures: Guay includes seven distinct organelles, while CREMI features synaptic cleft labels (Fig 4b). 3D visualizations of Kasthuri++ and UroCell are provided in S1 Fig. All visualizations were generated from the models used in the RETINA benchmarking experiments as detailed in Table 1. For the 2D inferred visualization, we manually identified improved segmentation regions among the models, demonstrating that RETINA produces output masks closest to the ground truth in the first row (Fig 4a, dashed-outline squares). For example, comparing with the ground truth images (top row), RETINA successfully identifies lysosomes highlighted in cyan in the last row of Fig 4a; however, the TransUNet (second row) and UNet-ResNet50 pretrained on CEM500K (third row) are not able to detect the organelles in these highlighted regions. While nucleoli segmentation in the Perez dataset shows no significant differences among the models, RETINA excels in the relatively challenging regions of the Kasthuri++ dataset, where both TransUNet and the UNet-ResNet50 pre-trained on CEM500K fail (yellow squares). RETINA also accurately identifies the lysosome region marked with blue squares, whereas TransUnet identifies less area and the UNet-ResNet50 pre-trained on CEM500K misassigns the region as mitochondria (purple) instead of lysosomes (red). RETINA’s ability to more thoroughly identify entire target objects and avoid mislabeling helps explain its higher IoU values compared to other benchmark models (Table 1). PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 10/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Fig 4. Visual comparison of segmentation. a, Example segmentations from all 2D benchmark datasets. The first row shows the ground truth; the second row represents the randomly initialized TransUNet; the third row depicts the UNet-ResNet50 pretrained on CEM500K model; the fourth row corresponds to RETINA. Lysosomes are shown in red, mitochondria in purple, nuclei in green, and nucleoli in yellow. b, Example segmentations shown in 3D view. Labels for the CREMI Synaptic Clefts and Guay datasets are shown in the first and second rows, respectively. The dashed-line squares highlight regions where RETINA demonstrates <u>improved segmentation accuracy. Abbreviations: Lyso, Lysosomes; Mito, Mitochondria.</u> [https://doi.org/10.1371/journal.pcbi.1013115.g004](https://doi.org/10.1371/journal.pcbi.1013115.g004) PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 11/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation For 3D visualization of the CREMI Synaptic Clefts dataset (top row, Fig 4b), RETINA demonstrates superior segmentation accuracy across representative regions, such as those highlighted by blue squares. Compared to other models, RETINA yields denser and more anatomically precise synaptic cleft labeling, showing closer alignment with the ground truth (left column, Fig 4b). While the randomly initialized 3D TransUNet exhibits notable improvement, RETINA achieves the most accurate and detailed segmentation results among all benchmark models. In the Guay dataset, the regions highlighted by purple squares reveal that all benchmark models produce numerous false labels (second to fifth columns in Fig 4b). Specifically, the ground truth in these areas primarily represents pure cell regions (uncolored) without additional labeled cellular structures. However, the models erroneously label a number of canalicular channels (blue) and mitochondria (light green) within these regions (Fig 4b), though the two 3D models exhibit fewer mislabelings. In contrast, RETINA (last column in Fig 4b) demonstrates minimal mislabeling, closely aligning with the ground truth. In conclusion, both 2D and 3D segmentation visualizations demonstrate that RETINA effectively captures organelle features. RETINA performs well benefiting from the CEM500K dataset One of the benefits of RETINA is its ability to pre-learn features from the CEM500K dataset. To further explore the importance of pre-training on CEM500K, we experimented with different pre-training dataset selections, including ImageNet, CEM500K, and a combination of both (S10 Table), while keeping other parameters constant. Given that ImageNet is a labeled dataset, pre-training was supervised and applied to the TransUNet model. For the model pre-trained on both ImageNet and CEM500K, it was first pre-trained on ImageNet, and then the parameters were transferred to the reconstruction-based architecture (Fig 1a) for further pre-training on the CEM500K dataset. Pre-training on the CEM500K dataset results in better performance, as indicated by higher IoU scores on the CREMI Synaptic Clefts, Guay, Kasthuri++, and Perez datasets, whereas ImageNet pre-training is superior for the UroCell dataset (S10 Table). Our findings show that CEM500K pre-training generally outperforms ImageNet pre-training, with the exception of the UroCell dataset, where ImageNet pre-training achieves superior results. The diminished performance of the CEM500K pretrained model on UroCell suggests that the domain-specific advantages of CEM500K are less applicable to this dataset compared with the other benchmark datasets. Additionally, a combined pre-training approach using both ImageNet and CEM500K does not surpass CEM500K pre-training alone across the benchmark datasets (S10 Table), with only a slight improvement found for mitochondrial segmentation in the Perez benchmark. Thus, combined pretraining does not offer substantial benefits, CEM500K pre-training remains a robust strategy for enhancing segmentation accuracy across most datasets. Discussion RETINA enhances the accuracy of segmentation on EM-related cellular images, benefiting from two key aspects. First, RETINA uses a TransUNet backbone, with its hybrid encoder (comprising convolutional and transformer layers) achieving both local and global image feature extraction. Second, it is pre-trained on the CEM500K dataset, a diverse and nonredundant EM image dataset, that helps RETINA to pre-learn EM-related features and infer the nanoscale objects accurately after fine-tuning on the benchmarks. Given that CEM500K is an unlabeled dataset, an unsupervised pre-training design is required. Initially, instead of the reconstruction-based unsupervised pre-training method applied for RETINA, we employed SimCLR due to its proven effectiveness in pre-training PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 12/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation convolutional layers [22]. After pre-training, we transferred the pre-trained convolutional layers within the encoder to the fine-tuning phase. However, this approach did not yield any improvement over the randomly initialized TransUNet. Similarly, using masked autoencoders [43] to pre-train only the transformer layers resulted in poor outcomes. These findings suggest that pre-training only parts of the hybrid encoder is ineffective; instead, the entire encoder should be pre-trained. The complexity of the hybrid encoder makes it challenging to achieve good segmentation performance on EM images with pre-training, as the hybrid structure requires integration, consistency, and transition within the encoder [44]. In response, we developed a reconstruction-based pre-training method that recovers augmented images to their original state, involving both convolutional and transformer layers, thereby enabling consistent pre-training of the hybrid model. This reconstruction-based method should be generalizable to other hybrid models, such as U-Mamba [45], for pre-training on unlabeled datasets. The similar model structure between the RETINA pre-training and fine-tuning phases should enable seamless transferring of the pre-trained layers from the corresponding pretraining phase to the fine-tuning phase. However, transferring all parameters did not result in improved performance; instead, the best results were achieved by transferring only the transformer layer parameters. This may be because more adjustable parameters are required to accommodate the information learned during pre-training and fine-tuning. In the RETINA design, the convolutional layers remain unfrozen during fine-tuning, allowing them to adapt to the fine-tuning dataset, while only the transformer layers are frozen. This approach enables the convolutional layers to adjust and learn new features during fine-tuning, making RETINA more flexible and adaptable. At the same time, the features learned from CEM500K during pre-training are preserved by freezing the transformer layers, preventing them from being altered during fine-tuning. This strategy appears to balance the retention of pre-trained features with the adaptation to new data, resulting in more accurate segmentation. Given that augmentation can increase the diversity of the dataset and modify the difficulty of the training task, it needs to be carefully designed [46]. The set of augmentation operations can be customized based on different pre-training datasets and downstream tasks to maximize the benefits obtained from pre-training. For RETINA, we employed random flips, rotations, brightness, and contrast adjustments as standard methods to augment the dataset. Additionally, adding noise and blur increased the reconstruction difficulty. Inspired by the masked autoencoder model [43], we also randomly masked parts of the input images to enhance feature learning. Effective augmentation ensures that RETINA’s deeper layers are thoroughly trained. Given the skip connection design of TransUNet, insufficiently robust augmentation may cause the input image vectors to bypass the deep layers, leading to quick convergence without adequately updating the deeper layers (Fig 1a), resulting in insufficient pre-training and no MSE loss improvement. One important benefit of pre-training is that it can reduce the time required for training downstream tasks [15]. We show that RETINA converges faster than benchmark models without pre-training (Fig 3a). Since times per iteration are nearly identical across models (S11 Table), RETINA’s faster convergence indicates that it requires fewer iterations to achieve high performance, reducing overall training time. In the CREMI Synaptic Clefts, Perez, and UroCell benchmarks, RETINA demonstrates rapid convergence within just a few hundred iterations. The required number of fine-tuning iterations may vary depending on the complexity of the tasks and the relevance of features between the pre-training and fine-tuning datasets. In our experimental design, we set the number of fine-tuning iterations based on PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 13/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation prior work [21] to ensure a consistent basis for performance comparisons. For future applications of RETINA, fewer fine-tuning iterations could be used to reduce runtime, making the model more efficient. The choice of pre-training dataset influences the final segmentation accuracy. Although the CEM500K dataset contains 0.5 × 10 <sup>6</sup> diverse and informative cellular EM images, there remains potential to develop more powerful pre-training datasets with broader generalizability, such as the recently published CEM1.5M dataset [47]. In addition, when the downstream task involves more images similar to the pre-training images, the model can more efficiently capture relevant features, potentially outperforming models pre-trained on large but unrelated datasets [48]. The image similarity between the pre-training dataset and the fine-tuning dataset can be influenced not only by the type of target objects they share but also by their optical properties, such as brightness, contrast, and white balance [49]. This may explain why pre-training on CEM500K is less effective for the UroCell dataset compared to supervised pre-training on large ImageNet datasets (S10 Table), as UroCell images have higher brightness compared to all other benchmarks Figs 2b and 4a). Therefore, there is potential to create more suitable pre-training datasets that balance generalization and task-specific features based on downstream tasks. Nevertheless, RETINA’s hybrid encoder structure helps mitigate the limitations of pre-training datasets. For instance, in the CREMI Synaptic Clefts benchmark, the MoCoV2 pre-trained UNet-ResNet50 model improved the IoU score from 0.000 to 0.246 (Table 1), while RETINA, without any pre-training on CEM500K, achieved an even higher IoU score of 0.294. This suggests that the hybrid encoder structure can be more important than pre-training, especially when the features of the pre-training dataset are not well-aligned with those of the fine-tuning dataset, and the benefits of pre-training may be diminished in such cases. Although RETINA outperforms benchmark 3D models, its performance could be further enhanced by incorporating 3D structures and pre-training on a fully 3D dataset. Currently, CEM500K consists solely of 2D images, limiting RETINA’s ability to capture 3D EM features along the z-axis from its pretraining set. However, with the rapid expansion of EM datasets, the emergence of large-scale volume EM datasets, such as those available on OpenOrganelle [50], has broadened the scope of 3D EM data. Well-curated huge 3D EM datasets could be generated to facilitate pre-training on volumetric data, enabling more comprehensive feature learning. In this scenario, RETINA could be extended with a fully 3D model architecture to further improve its performance. Furthermore, achieving generalizable performance often requires large-scale pre-training datasets, making manual mask curation impractical. As a result, developing effective pre-training methods that do not rely on labeled data, such as the approach proposed here, will be essential for advancing self-supervised learning in EM segmentation. Since RETINA is primarily designed for semantic segmentation, being built upon the TransUNet architecture, we focus exclusively on this task, where each pixel or voxel is assigned a class identifier (ID). Accordingly, we only considered semantic segmentation benchmarks and evaluation metrics. Applying RETINA to instance segmentation, which requires distinguishing individual objects with unique IDs, would necessitate additional post-processing steps (e.g., the Watershed algorithm [51]) and extensive hyperparameter tuning which was not done in all of our comparator models. Thus, we limited our experiments to end-to-end semantic segmentation tasks, emphasizing the effects of pre-training and architectural design. Nonetheless, RETINA can be adapted for instance segmentation with appropriate post-processing applied to its semantic predictions. Furthermore, the RETINA pre-training method could be extended to support the pre-training of the end-to-end instance segmentation models such as Mask R-CNN [52]. PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 14/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation We aim to develop a method that enhances EM image segmentation using a hybrid model architecture and pre-training. While our reconstruction-based approach demonstrates strong performance using the TransUNet backbone, future directions could explore applying this strategy to other hybrid encoder architectures, such as U-Mamba [45] and SwinUNETR [32], to potentially achieve further improvements. Additionally, this pre-training framework could be extended to models designed for other tasks, including instance segmentation. Moreover, the RETINA pre-training and fine-tuning pipeline is applicable to a wide range of EM datasets, both existing and those that may emerge in the future, offering a promising approach to performance enhancement. The released RETINA pre-trained weights also serve as a resource for the EM research community, facilitating more effective and efficient segmentation of EM images. Supporting information [S1 Fig. 3D visual comparison of segmentation.](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s001) Labels for the Kasthuri++ and UroCell datasets are shown in the first and second rows, respectively. The dashed-line squares highlight regions where RETINA demonstrates improved segmentation accuracy. (TIFF) [S1 Text. Description of RETINA pre-training methods, RETINA fine-tuning methods,](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s002) inference methods, and benchmark model implementation. (PDF) [S1 Table. RETINA augmentation function settings.](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s003) The first column lists the function name. The second column shows the probability of each function being applied to the image. The third column indicates the augmentation set number to which each function belongs. Set 1 comprises the augmentation operations applied to both input images, ImageA and ImageB, as outlined in the RETINA pre-training methods section. Set 2 includes the operations applied exclusively to ImageA. The last column details the specific parameter settings for each function. (PDF) [S2 Table. RETINA implementation parameters for pre-training.](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s004) (PDF) [S3 Table. RETINA implementation parameters for fine-tuning.](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s005) (PDF) [S4 Table. Characteristics of the benchmark datasets.](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s006) Abbreviations: ssTEM, serial section transmission electron microscopy; SBFSEM, serial block-face scanning electron microscopy; AT-SEM, array tomography scanning electron microscopy; FIBSEM, focused ion beam scanning electron microscopy. (PDF) [S5 Table. Comparison of segmentation F-score for RETINA versus benchmark mod-](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s007) els, including: randomly initialized (Rand. Init.) UNet-ResNet50, UNet-ResNet50 pretrained on CEM500K, Rand. Init. 2D TransUNet, Rand. Init. 3D TransUNet and Rand. Init. nnUNet. Lysosomes, mitochondria, nuclei, and nucleoli within Perez benchmark are listed separately. Mean values of three independent runs are reported. (PDF) [S6 Table. Comparison of segmentation Precision values for RETINA versus benchmark](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s008) models, including: randomly initialized (Rand. Init.) UNet-ResNet50, UNet-ResNet50 PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 15/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation pre-trained on CEM500K, Rand. Init. 2D TransUNet, Rand. Init. 3D TransUNet and Rand. Init. nnUNet. Lysosomes, mitochondria, nuclei, and nucleoli within Perez benchmark are listed separately. Mean values of three independent runs are reported. (PDF) [S7 Table. Comparison of segmentation Recall values for RETINA versus benchmark mod-](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s009) els, including: randomly initialized (Rand. Init.) UNet-ResNet50, UNet-ResNet50 pretrained on CEM500K, Rand. Init. 2D TransUNet, Rand. Init. 3D TransUNet and Rand. Init. nnUNet. Lysosomes, mitochondria, nuclei, and nucleoli within Perez benchmark are listed separately. Mean values of three independent runs are reported. (PDF) [S8 Table. Comparison of segmentation Mean False Distance in pixel/voxel distance for](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s010) RETINA versus benchmark models, including: randomly initialized (Rand. Init.) UNet- ResNet50, UNet-ResNet50 pre-trained on CEM500K, Rand. Init. 2D TransUNet, Rand. Init. 3D TransUNet and Rand. Init. nnUNet. The Mean False Distance is based on the mean of the bidirectional directed Hausdorff Distance between the ground truth and the predicted segmentation. Lysosomes, mitochondria, nuclei, and nucleoli within Perez benchmark are listed separately. Mean values of three independent runs are reported. (PDF) [S9 Table. Performance on the CREMI dataset using the same evaluation metrics as the](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s011) challenge. Metrics include the CREMI score (mean of ADGT and ADF), false positives (FP), false negatives (FN), 1 - F-score, ADGT (average distance of any predicted cleft voxel to the closest ground truth cleft voxel), and ADF (average distance of any ground truth cleft voxel to the closest predicted cleft voxel). Lower values indicate better performance. Models were trained on volumes A and B and evaluated on volume C. The performance of the randomly initialized UNet-ResNet50 could not be calculated due to its low accuracy. (PDF) [S10 Table. Comparison of IoU scores for models pre-trained on different datasets.](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s012) The models include randomly initialized (Rand. Init.) 2D TransUNet, 2D TransUNet pre-trained on ImageNet, 2D TransUNet using ImageNet pre-trained parameters followed by pre-training on CEM500K, and RETINA. These models were fine-tuned and evaluated on all benchmark datasets listed in the first column. The IoU scores represent the best performance achieved with the specific number of training iterations shown in the second column. Lysosomes, mitochondria, nuclei, and nucleoli within Perez benchmark are listed separately. Mean values of three independent runs are reported. (PDF) [S11 Table. Average training time per iteration for each model on each dataset, measured](https://journals.plos.org/ploscompbiol/article/asset?unique&id=info:doi/10.1371/journal.pcbi.1013115.s013) using Nvidia A100 GPUs on the Narval cluster of the Digital Research Alliance of Canada. The values represent the mean time per iteration, averaged over the entire training process. Rand. Init., randomly initialized. (PDF) Acknowledgments All authors thank the Digital Research Alliance of Canada for high-performance computing access. PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 16/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation Author contributions Conceptualization: Cheng Xing, Ronald Xie. Data curation: Cheng Xing. Formal analysis: Cheng Xing. Funding acquisition: Gary D. Bader. Investigation: Cheng Xing. Methodology: Cheng Xing. Project administration: Gary D. Bader. Resources: Gary D. Bader. Supervision: Ronald Xie, Gary D. Bader. Validation: Cheng Xing. Visualization: Cheng Xing. Writing – original draft: Cheng Xing. Writing – review & editing: Cheng Xing, Gary D. Bader. References 1. Müller A, Schmidt D, Albrecht JP, Rieckert L, Otto M, Galicia Garcia LE. Modular segmentation, spatial analysis and visualization of volume electron microscopy datasets. Nat Protoc. 2024;1–31. 2. Peddie CJ, Genoud C, Kreshuk A, Meechan K, Micheva KD, Narayan K, et al. Volume electron [microscopy. Nat Rev Methods Primers. 2022;2:51. https://doi.org/10.1038/s43586-022-00131-9](https://doi.org/10.1038/s43586-022-00131-9) [PMID: 37409324](http://www.ncbi.nlm.nih.gov/pubmed/37409324) 3. Hoffman DP, Shtengel G, Xu CS, Campbell KR, Freeman M, Wang L, et al. Correlative three-dimensional super-resolution and block-face electron microscopy of whole vitreously frozen [cells. Science. 2020;367(6475):eaaz5357. https://doi.org/10.1126/science.aaz5357 PMID:](https://doi.org/10.1126/science.aaz5357) [31949053](http://www.ncbi.nlm.nih.gov/pubmed/31949053) 4. Vergara HM, Pape C, Meechan KI, Zinchenko V, Genoud C, Wanner AA, et al. Whole-body integration of gene expression and single-cell morphology. Cell. 2021;184(18):4819-4837.e22. [https://doi.org/10.1016/j.cell.2021.07.017 PMID: 34380046](https://doi.org/10.1016/j.cell.2021.07.017) 5. Witvliet D, Mulcahy B, Mitchell JK, Meirovitch Y, Berger DR, Wu Y, et al. Connectomes across development reveal principles of brain maturation. Nature. 2021;596(7871):257–61. [https://doi.org/10.1038/s41586-021-03778-8 PMID: 34349261](https://doi.org/10.1038/s41586-021-03778-8) 6. Greenwald NF, Miller G, Moen E, Kong A, Kagel A, Dougherty T, et al. Whole-cell segmentation of tissue images with human-level performance using large-scale data annotation and deep learning. [Nat Biotechnol. 2022;40(4):555–65. https://doi.org/10.1038/s41587-021-01094-0 PMID: 34795433](https://doi.org/10.1038/s41587-021-01094-0) 7. Khadangi A, Boudier T, Rajagopal V. EM-stellar: benchmarking deep learning for electron microscopy image segmentation. Bioinformatics. 2021;37(1):97–106. 8. Aswath A, Alsahaf A, Giepmans BNG, Azzopardi G. Segmentation in large-scale cellular electron microscopy with deep learning: A literature survey. Med Image Anal. 2023;89:102920. [https://doi.org/10.1016/j.media.2023.102920 PMID: 37572414](https://doi.org/10.1016/j.media.2023.102920) 9. Zeng T, Wu B, Ji S. DeepEM3D: approaching human-level performance on 3D anisotropic EM image segmentation. Bioinformatics. 2017;33(16):2555–62. [https://doi.org/10.1093/bioinformatics/btx188 PMID: 28379412](https://doi.org/10.1093/bioinformatics/btx188) 10. Boaro A, Kaczmarzyk JR, Kavouridis VK, Harary M, Mammi M, Dawood H, et al. Deep neural networks allow expert-level brain meningioma segmentation and present potential for improvement [of clinical practice. Sci Rep. 2022;12(1):15462. https://doi.org/10.1038/s41598-022-19356-5 PMID:](https://doi.org/10.1038/s41598-022-19356-5) [36104424](http://www.ncbi.nlm.nih.gov/pubmed/36104424) 11. Parlakgül G, Arruda AP, Pang S, Cagampan E, Min N, Güney E, et al. Regulation of liver subcellular architecture controls metabolic homeostasis. Nature. 2022;603(7902):736–42. [https://doi.org/10.1038/s41586-022-04488-5 PMID: 35264794](https://doi.org/10.1038/s41586-022-04488-5) PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 17/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation 12. Guay MD, Emam ZAS, Anderson AB, Aronova MA, Pokrovskaya ID, Storrie B, et al. Dense cellular segmentation for EM using 2D-3D neural network ensembles. Sci Rep. 2021;11(1):2561. [https://doi.org/10.1038/s41598-021-81590-0 PMID: 33510185](https://doi.org/10.1038/s41598-021-81590-0) 13. Han M, Bushong EA, Segawa M, Tiard A, Wong A, Brady MR, et al. Spatial mapping of mitochondrial networks and bioenergetics in lung cancer. Nature. 2023;615(7953):712–9. [https://doi.org/10.1038/s41586-023-05793-3 PMID: 36922590](https://doi.org/10.1038/s41586-023-05793-3) 14. Deng J, Dong W, Socher R, Li LJ, Li K, Fei-Fei L. Imagenet: a large-scale hierarchical image database. In: 2009 IEEE Conference on Computer Vision and Pattern Recognition, 2009. p. 248–55. 15. Minaee S, Boykov Y, Porikli F, Plaza A, Kehtarnavaz N, Terzopoulos D. Image segmentation using deep learning: a survey. IEEE Trans Pattern Anal Mach Intell. 2022;44(7):3523–42. [https://doi.org/10.1109/TPAMI.2021.3059968 PMID: 33596172](https://doi.org/10.1109/TPAMI.2021.3059968) 16. Shrestha P, Kuang N, Yu J. Efficient end-to-end learning for cell segmentation with machine generated weak annotations. Commun Biol. 2023;6(1):232. [https://doi.org/10.1038/s42003-023-04608-5 PMID: 36864076](https://doi.org/10.1038/s42003-023-04608-5) 17. He K, Girshick R, Dollár P. Rethinking imagenet pre-training. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019. p. 4918–27. 18. Caron M, Bojanowski P, Mairal J, Joulin A. Unsupervised pre-training of image features on non-curated data. In: Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019. p. 2959–68. 19. Iudin A, Korir PK, Salavert-Torres J, Kleywegt GJ, Patwardhan A. EMPIAR: a public archive for raw electron microscopy image data. Nat Methods. 2016;13(5):387–8. [https://doi.org/10.1038/nmeth.3806 PMID: 27067018](https://doi.org/10.1038/nmeth.3806) 20. Xu CS, Pang S, Shtengel G, Müller A, Ritter AT, Hoffman HK, et al. An open-access volume electron microscopy atlas of whole cells and tissues. Nature. 2021;599(7883):147–51. [https://doi.org/10.1038/s41586-021-03992-4 PMID: 34616045](https://doi.org/10.1038/s41586-021-03992-4) 21. Conrad R, Narayan K. CEM500K, a large-scale heterogeneous unlabeled cellular electron microscopy image dataset for deep learning. Elife. 2021;10:e65894. [https://doi.org/10.7554/eLife.65894 PMID: 33830015](https://doi.org/10.7554/eLife.65894) 22. Chen T, Kornblith S, Norouzi M, Hinton G. A simple framework for contrastive learning of visual representations. In: International Conference on Machine Learning. PMLR; 2020. p. 1597–607. 23. He K, Fan H, Wu Y, Xie S, Girshick R. Momentum contrast for unsupervised visual representation learning. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020. p. 9729–38. 24. Noroozi M, Favaro P. Unsupervised learning of visual representations by solving jigsaw puzzles. In: European conference on computer vision. Springer; 2016. p. 69–84. 25. LeCun Y, Bengio Y, et al. Convolutional networks for images, speech, and time series. The handbook of brain theory and neural networks. 1995. Vol. 3361, no. 10. p. 1995. 26. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. Adv Neural Inf Process Syst. 2017;30. 27. Dosovitskiy A, Beyer L, Kolesnikov A, Weissenborn D, Zhai X, Unterthiner T. An image is worth 16x16 words: transformers for image recognition at scale. arXiv preprint 2020. [https://doi.org/arXiv:201011929](https://doi.org/arXiv) 28. Ronneberger O, Fischer P, Brox T. U-net: convolutional networks for biomedical image segmentation. In: Medical image computing and computer-assisted intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III. Springer. 2015. p. 234–41. 29. Badrinarayanan V, Kendall A, Cipolla R. SegNet: a deep convolutional encoder-decoder architecture for image segmentation. IEEE Trans Pattern Anal Mach Intell. 2017;39(12):2481–95. [https://doi.org/10.1109/TPAMI.2016.2644615 PMID: 28060704](https://doi.org/10.1109/TPAMI.2016.2644615) 30. Zeiler MD, Fergus R. Visualizing and understanding convolutional networks. In: Computer Vision–ECCV 2014: 13th European Conference, Zurich, Switzerland, September 6-12, 2014, Proceedings, Part I. Springer. 2014. p. 818–33. 31. Luo W, Li Y, Urtasun R, Zemel R. Understanding the effective receptive field in deep convolutional neural networks. Adv Neural Inf Process Syst. 2016;29. 32. Hatamizadeh A, Nath V, Tang Y, Yang D, Roth HR, Xu D. Swin unetr: swin transformers for semantic segmentation of brain tumors in mri images. In: International MICCAI Brainlesion Workshop, Springer; 2021. p. 272–84. 33. Chen J, Lu Y, Yu Q, Luo X, Adeli E, Wang Y. Transunet: transformers make strong encoders for [medical image segmentation. arXiv preprint. 2021. https://arxiv.org/abs/2102.04306](https://arxiv.org/abs/2102.04306) PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 18/ 19 PLOS COMPUTATIONAL BIOLOGY RETINA: Enhanced TransUNet for electron microscopy segmentation 34. Chen X, Fan H, Girshick R, He K. Improved baselines with momentum contrastive learning. arXiv [preprint 2020. https://arxiv.org/abs/2003.04297](https://arxiv.org/abs/2003.04297) 35. CREMI. Miccai challenge on circuit reconstruction from electron microscopy images; 2016. [https://cremi.org/](https://cremi.org/) 36. Kasthuri N, Hayworth KJ, Berger DR, Schalek RL, Conchello JA, Knowles-Barley S, et al. Saturated reconstruction of a volume of neocortex. Cell. 2015;162(3):648–61. [https://doi.org/10.1016/j.cell.2015.06.054 PMID: 26232230](https://doi.org/10.1016/j.cell.2015.06.054) 37. Perez AJ, Seyedhosseini M, Deerinck TJ, Bushong EA, Panda S, Tasdizen T, et al. A workflow for the automatic segmentation of organelles in electron microscopy image stacks. Front Neuroanat. [2014;8:126. https://doi.org/10.3389/fnana.2014.00126 PMID: 25426032](https://doi.org/10.3389/fnana.2014.00126) 38. Žerovnik Mekuč M, Bohak C, Hudoklin S, Kim BH, Romih R, Kim MY, et al. Automatic segmentation of mitochondria and endolysosomes in volumetric electron microscopy data. Comput [Biol Med. 2020;119:103693. https://doi.org/10.1016/j.compbiomed.2020.103693 PMID: 32339123](https://doi.org/10.1016/j.compbiomed.2020.103693) 39. Chen J, Mei J, Li X, Lu Y, Yu Q, Wei Q. 3D transunet: Advancing medical image segmentation [through vision transformers. arXiv preprint 2023. https://arxiv.org/abs/231007781](https://arxiv.org/abs/231007781) 40. He K, Zhang X, Ren S, Sun J. Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016. p. 770–8. 41. Isensee F, Jaeger PF, Kohl SAA, Petersen J, Maier-Hein KH. nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation. Nat Methods. 2021;18(2):203–11. [https://doi.org/10.1038/s41592-020-01008-z PMID: 33288961](https://doi.org/10.1038/s41592-020-01008-z) 42. Isensee F, Wald T, Ulrich C, Baumgartner M, Roy S, Maier-Hein K, et al. nnu-net revisited: a call for rigorous validation in 3d medical image segmentation. In: International Conference on Medical Image Computing and Computer-Assisted Intervention. Springer; 2024. p. 488–498. 43. He K, Chen X, Xie S, Li Y, Dollár P, Girshick R. Masked autoencoders are scalable vision learners. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2022. p. 16000–9. 44. Li Z, Zheng Y, Shan D, Yang S, Li Q, Wang B. ScribFormer: transformer makes CNN work better for scribble-based medical image segmentation. IEEE Trans Med Imaging. 2024. 45. Ma J, Li F, Wang B. U-mamba: enhancing long-range dependency for biomedical image [segmentation. arXiv preprint 2024. https://arxiv.org/abs/2401.04722](https://arxiv.org/abs/2401.04722) 46. Cubuk ED, Zoph B, Mane D, Vasudevan V, Le QV. Autoaugment: learning augmentation policies [from data. arXiv preprint 2018. https://arxiv.org/abs/1805.09501](https://arxiv.org/abs/1805.09501) 47. Conrad R, Narayan K. Instance segmentation of mitochondria in electron microscopy images with a generalist deep learning model trained on a diverse dataset. Cell Syst. 2023;14(1):58-71.e5. [https://doi.org/10.1016/j.cels.2022.12.006 PMID: 36657391](https://doi.org/10.1016/j.cels.2022.12.006) 48. Krishna K, Garg S, Bigham JP, Lipton ZC. Downstream datasets make surprisingly good [pretraining corpora. arXiv preprint 2022. https://arxiv.org/abs/220914389](https://arxiv.org/abs/220914389) 49. Fish KN. Total internal reflection fluorescence (TIRF) microscopy. Curr Protoc. Cytomet. 2009;50(1):12–8. 50. Heinrich L, Bennett D, Ackerman D, Park W, Bogovic J, Eckstein N, et al. Whole-cell organelle segmentation in volume electron microscopy. Nature. 2021;599(7883):141–6. [https://doi.org/10.1038/s41586-021-03977-3 PMID: 34616042](https://doi.org/10.1038/s41586-021-03977-3) 51. Kornilov A, Safonov I, Yakimchuk I. A review of watershed implementations for segmentation of [volumetric images. J Imaging. 2022;8(5):127. https://doi.org/10.3390/jimaging8050127 PMID:](https://doi.org/10.3390/jimaging8050127) [35621890](http://www.ncbi.nlm.nih.gov/pubmed/35621890) 52. He K, Gkioxari G, Dollár P, Girshick R. Mask r-cnn. In: Proceedings of the IEEE International Conference on Computer Vision; 2017. p. 2961–9. PLOS Computational Biology [https://doi org/10 1371/journal pcbi 1013115](https://doi.org/10.1371/journal.pcbi.1013115) May 28 2025 19/ 19

섹션 본문 43문단 · 20,549자

(제목 없음)

1The authors sincerely thank the editor and reviewers for their insightful comments and constructive suggestions, which have significantly contributed to improving the quality of this manuscript.We have revised the manuscript in accordance with the provided feedback.Below is a summary of the major revisions:• Two 3D benchmark models have been added, and their results are now included, with relevant Response: We kindly thank the reviewer for their comments and have addressed the shortcomings point-by-point below.Reviewer Comment 1.2The authors benchmark their model on several datasets that are 3d, in that they extend in all 3d

2figures updated accordingly.

3• A discussion has been added to propose the idea of extending RETINA into 3D as a future direction.

4• Four additional evaluation metrics have been incorporated, and all benchmark datasets and models have been reevaluated accordingly.

5• The experiments on model iteration time have been supplemented, and the results are now included in the revised manuscript.

6• The presented number of iteration, model names and ordering have been standardized for consistency across tables, figures, and the main text.

7Please find below our detailed responses to each comment.

Response to the reviewers Reviewer 1

8Reviewer Comment 1.1 Xing et al. describe RETINA, a machine-learning method for segmenting ultrastructural features in electron microscopy (EM) images.Segmenting ultrastructures such as mitochondria, lysosomes, nucleoli, etc. in EM datasets is critical for their analysis since manual segmentation does not scale to large datasets.The main contribution of the authors is to implement pretraining on a related dataset into their model training to improve performance.Pretraining can leverage large amounts of unlabeled data avoiding higher costs for label generation.The authors show that pretraining improves model performance in comparison to a baseline that does not use pretraining, as well as another baseline.

9The paper is written clearly, and the data is presented well.However, there are several shortcomings in the model chosen for the benchmark datasets, experiments performed and presented, the comparison models, and the metrics used.

10dimensions.It has been long established that leveraging this 3d context improves performance, yet, the authors have chosen a model that uses 2d convolutions.This part is not entirely clear though, because the model is not fully presented in the paper; I referred to the original manuscript in which the model architecture of Transunet was presented (Chen et al., 2021).

11Response: Thank you for your insightful comment.We apologize for not clearly explaining the rationale behind our choice of a 2D architecture.

12The main reason that we use 2D convolutions is to ensure compatibility with the pre-training framework.Since the CEM500K dataset consists entirely of 2D images, a pre-training architecture based on 2D convolutional networks is necessary to align with the image dimensions.This 2D design is also inspired from the approach established in the CEM500K study [4], which demonstrated that pre-training on this dataset enhances the performance of 2D models due to information-rich and non-redundant properties of CEM500K.We have now clarified this reasoning in the "Model Architecture: RETINA Pre-training" section in our manuscript.We did incorporate 3D information in the case of the UroCell training data, which is an isotropic volume (where the x, y, and z dimensions have equal resolution).We trained the model on a combination of axial (xy), sagittal (yz), and coronal (xz) slices.During inference, we used an orthoplane prediction strategy, generating predictions on all three planes and averaging their output scores to improve accuracy.This has been shown to improve performance, in agreement with the reviewer's statement about use of 3D data [3].We have now added this explanation to the "Results: Evaluation of RETINA on Benchmark Data" section and the supplementary material under "Implementation: Inference Methods."

13We agree that using 3D information is a promising avenue of research to explore, thus we propose extending RETINA to a fully 3D architecture in future work.One potential approach involves generating and curating a sufficiently large 3D EM dataset-leveraging advancements in volumetric electron microscopy, such as the datasets available in OpenOrganelle [9]-to pre-train a robust 3D encoder.We have added a discussion of this point to the "Discussion" section.

14To address the reviewer's point that the TransUNet model was not fully presented, we have revised the sections "Model Architecture: RETINA Pre-training" and "Model Architecture: Fine-tuning Using TransUNet" to provide a more detailed description of the TransUNet architecture, explain how RETINA was designed based on it, and clarify the compatibility between the CEM500K dataset, the pre-training framework, and the fine-tuning process through a 2D-based design.Additionally, we have expanded the description of the RETINA model structure in Supplementary Material Section 1.4, "RETINA Pretraining Methods."

Reviewer Comment 1.3

15The baseline the authors compare their model to appear to be 2d models as well which do not represent the state of the art.Just as one point of reference, the CREMI leaderboard (https: //cremi.org/leaderboard/)lists multiple methods applied for synapse detection.CleftNet, one of the high-scoring methods, uses a 3d residual UNet (https://arxiv.org/pdf/2101.04266).This is just one example for a stronger baseline the authors could have considered.

16Response: We acknowledge that our initial comparison did not comprehensively include 3D benchmark models.To address this, we conducted a thorough review of the CREMI competition and its top-performing models on the leaderboard.While we attempted to reimplement CleftNet, we were unable to do so due to the lack of publicly available code in its GitHub repository (https: //github.com/divelab/cleftnet).Instead, we identified nnUNet as a strong benchmark model for several reasons.First, even its earlier version, which lacked residual structures in the encoder, ranked as one of the top models on the CREMI leaderboard for synaptic cleft detection task based on the F-score [11,12].The latest nnUNet model incorporates a 3D residual UNet architecture, which has been reported to achieve improved performance (https://github.com/MIC-DKFZ/nnUNet in "documentation/how to use nnunet.md").Second, nnUNet has demonstrated strong generalization across diverse datasets beyond the CREMI challenge, making it a reliable benchmark model.Third, its welldocumented and publicly available implementation supports a correct and fair comparison.Therefore, we have incorporated nnUNet (3D full-resolution variant with a residual encoder) as one of our additional benchmark models.We also included 3D TransUNet [2] as another 3D baseline.This model is an extension of 2D TransUNet to 3D images and has demonstrated strong performance in 3D medical image segmentation tasks.Originally, we benchmarked only against the 2D TransUNet to highlight the impact of RETINA's pre-training strategy, given that RETINA is built upon the 2D TransUNet architecture.However, inspired by the reviewer's point, we realized it is also important to benchmark the 3D version of TransUNet for a more comprehensive comparison.

17Both newly added 3D models (nnUNet and 3D TransUNet) do not have publicly available pretrained versions.Thus, we trained them from scratch with the randomly initialized weight and the training was under the same conditions as other models.Specifically, we adopted identical training and testing splits, the same number of training iterations, and consistent evaluation metrics as other benchmarks.Model hyperparameters follow the default settings reported in the original publications.Further implementation details are provided in the "Benchmark Model Implementation" subsection of the Supplementary Materials.

18After benchmarking, RETINA continues to outperform both nnUNet and 3D TransUNet across all evaluation metrics, including the additional metrics introduced in the revision.We attribute this performance gain to RETINA effective pre-training on the CEM500K dataset.

19All evaluations related to the 3D benchmarks have been updated in the "Results" section of the main text.Additionally, the "Implementation: Benchmark Model Implementation" section in the supplementary materials has been revised accordingly.The updates are also reflected in Figure 3, Figure 4, and Table 1.And Figure S1 was added.

Reviewer Comment 1.4

20The authors chose to use IoU for all their benchmarks.This is a limited metrics because it does not treat voxels that separate individual objects differently from those that are merely at the edge.Yet, merging two distinct objects has a much higher impact on downstream analyses.For instance, the CREMI challenge uses an object based metric (https://cremi.org/metrics/#clefts).A side effect of only using IoU is that the presented performance cannot be compared with the performances published on the cremi challenge.If a challenge like CREMI publishes metrics, they should be used.

21Still, the pretraining as implemented by the authors improves performance according to one metric (when compared to its not-pretrained self).To make the impact clear however, more evaluations and metrics should have been presented.For instance, it is not clear if the performance gap outweighs the additional cost of pretraining, etc, etc.

22Response: This is a good point.We reviewed several EM segmentation studies [9,16] and identified additional metrics-F-score, Precision, Recall, and Mean False Distance (MFD)-that are well-suited for our semantic segmentation task.We have incorporated these metrics into our benchmark evaluations, and the results are now presented in the supplementary material tables (From Table S5 to Table S8).

23Second, the CREMI challenge applies a threshold-based tolerance in false positive and false negative calculations.Specifically, voxels labeled as synaptic clefts that fall beyond a threshold distance of 200 from the ground truth are considered false positives, while ground truth synaptic cleft voxels beyond the same threshold from predicted labels are considered false negatives.This approach better reflects synaptic cleft detection performance.To ensure alignment with the challenge, we also evaluated CREMI predictions using the exact metrics applied in their second task, including FP, FN, 1 -F-score, ADGT, and ADF (Table S9).RETINA achieves the best performance on these metrics among all models.The "Results: Evaluation of RETINA on Benchmark Data" section in the main text has also been updated to include performance assessments based on these metrics.Correspondingly, metric definitions have been added to the supplementary material under "Implementation: Inference Methods."RETINA consistently achieves higher scores across all added metrics compared to benchmark models.The corresponding description has been added to the "Results: RETINA Achieves the Best Segmentation Accuracy on EM Benchmarks" section.

24Additionally, inspired by the reviewer's comment, we realized that our segmentation task was not clearly defined.Our study focuses on semantic segmentation, and all selected benchmark models are designed for this task, with ground truth labels in semantic format.Semantic segmentation assigns a class identifier (ID) to each pixel/voxel, whereas instance segmentation differentiates individual objects with unique IDs [4,5,10,13].

25Since RETINA is primarily designed for semantic segmentation, being built upon the TransUNet architecture used for semantic segmentation, we focus exclusively on the task of semantic segmentation.Accordingly, only semantic segmentation benchmarks and evaluation metrics were considered.Applying RETINA to instance segmentation, which requires distinguishing individual objects with unique IDs, would necessitate additional post-processing steps (e.g., the Watershed algorithm [15]) and extensive hyperparameter tuning.These extra steps introduce variables that could confound the evaluation of the model's core performance.For these reasons, we limited our experiments to end-to-end semantic segmentation tasks, emphasizing the effects of pre-training and architectural design.We have clarified the focus on semantic segmentation in the "Introduction" and "Model Architecture" sections of the main text.

26Nonetheless, RETINA can be adapted for instance segmentation with appropriate post-processing applied to its semantic predictions.We added the adaptability of our approach to instance segmentation in the future directions section of the "Discussion".

27Regarding the issue of merging two objects, we acknowledge that using only IoU is not sufficient.Since we are not using instance based segmentation, we can't evaluate this aspect.We have mentioned this in the discussion.

Reviewer Comment 1.5

28Overall, the impact of this work on the science that is using segmentations like the once created by RETINA is not made clear enough.The introduction claims that "deep learning-based segmentation has shown promise, its accuracy to automatically segment cellular structures in EM data remains insufficient compared to expert manual results."There are many publications to list here that show that this is not true.Many automated methods now going back almost 10 years have shown performances similar to human annotators for ultrastructural segmentation.That is not to say that there are no improvements to be had, especially when it comes to efficiency along the lines of what RETINA tries to achieve.

Response:

29We apologize for the inappropriate claim and appreciate the reviewer's insight.We agree that deep learning-based segmentation methods can reach expert-level performance on specific tasks, as shown by prior work [1,6,14,17].We revised to claim that while many deep learning-based methods have demonstrated expert-level performance for specific segmentation tasks [1,6,14,17], deep learning models often lack generalizable segmentation performance across diverse EM datasets due to the inherent variability and complexity of nanoscale EM structures.Consequently, extensive manual annotation and task-specific fine-tuning remain necessary to adapt existing models to new datasets [7,8,16], indicating that developing an effective and efficient automated EM segmentation method remains an open challenge.

30Our work with RETINA presents a deep learning-based segmentation method designed to provide effective and efficient segmentation performance across diverse EM datasets.

31We have revised the "Abstract" and "Introduction" sections of the main text.

Reviewer 2

32Reviewer Comment 2.1 Xing et al. presented a hybrid approach, RETINA, for EM segmentation.By combining the widely used TransUNet backbone with pre-trained features from the CEM500K dataset, the authors suggested that the hybrid method outperformed the other approaches in terms of speed and accuracy.

33It is a timely work given the rapid expansion of volume EM datasets in recent years.However, I recommend addressing the overall accuracy of the manuscript, particularly in the following areas:

34Response: We kindly thank the reviewer for their comments and have addressed them point-by-point below.

35Reviewer Comment 2.2 1. Could you provide the iteration time for each model?This information is essential for accurately estimating the computational resources required to achieve a certain IoU.

36Response: Thank you for the comment.We have added a table documenting the iteration time for each model, which is now available in the supplementary material (Table S11).This table presents the average training time per iteration for each model across different datasets, including the newly added benchmark models.The results indicate that computational resource requirements are comparable across models.

37The inclusion of iteration time data provides insights into the computational resources needed for each model to achieve a given performance level, as measured by various metrics.Based on this analysis, we have revised the main text and updated the "Discussion" section as follows: "Since times per iteration are nearly identical across models, RETINA's faster convergence indicates that it requires fewer iterations to achieve high performance, reducing overall training time (Table S11)."Reviewer Comment 2.3 2. Discrepancies in the numbers reported in Table 1, Table S5, and Figure 3.For example, in line 145, it is stated that "The UroCell benchmark demonstrates the most significant IoU increase, over 150%".I was not able to derive this number from Table 1.The Guay numbers in Table 1 do not match those in Table S5 and Figure 3.The UroCell Random Init.value of 0.203 in Table 1 appears to be incorrect.Iteration numbers of Gray, Perez, and Kasthuri++ in Figure 3 do not match with those in Table 1.The spelling of "Kathuri" in Figure 3 should be "Kasthuri".

38Response: We apologize for these discrepancies and have revised all the inconsistencies mentioned by the reviewer.First, we initially used percentage representation to illustrate RETINA's performance improvement over benchmark models, following prior work [4].The improvement of over 150% was calculated as (IoU of RETINA -IoU of the randomly initialized UNet-ResNet50) / IoU of the randomly initialized UNet-ResNet50.However, we recognize that this expression may cause confusion.To avoid ambiguity, we have replaced all related descriptions with direct metric values.For example, the revised statement now reads: "The UroCell benchmark shows that RETINA achieves an IoU of 0.610, the highest among all models."The detailed revisions are reflected in the "Results: RETINA Achieves the Best Segmentation Accuracy on EM Benchmarks" section.

39Second, the previously reported iteration number for Guay in Table 1 was 1000, following the iteration number used in the prior work we are comparing ourselves to [4].However, through further experimentation, we found that RETINA had not fully converged at 1000 iterations.To ensure a fair comparison, we extended the experiment to 2500 iterations, where convergence was observed.We apologize that the discrepancy in iteration counts may have caused confusion.We have now revised Table 1 to report the Guay dataset performance at 2500 iterations.Its performance at 1000 iterations can still be found in Figure 3.

40Third, regarding the UroCell "Random Init." value (0.203) in Table 1, we think the reviewer raised this point due to a comparison with Table S5 (now Table S10 in the revised version), where a different "Random Init." value (0.579) was listed.This discrepancy was caused by a column name misinterpretation-"Random Init." in Table S5 (Table S10 in the revised version) referred to the randomly initialized 2D TransUNet model, not the randomly initialized UNet-ResNet50 model.We apologize for this issue.To clarify this, we have renamed the column in Table S5 (Table S10 in the revised version) as "Rand.Init.2D TransUNet" and added an explanatory note in the table caption.Furthermore, we have double-checked the UroCell IoU value for the randomly initialized UNet-ResNet50 model, confirming it as 0.203, which aligns with the published benchmark result (0.208, shown in its Table 1) [4], reaffirming that the randomly initialized UNet-ResNet50 model performs weakly on UroCell.

41Fourth, to clearly illustrate the convergence trend, we plotted only a subset of iterations that captures the most significant increase in IoU, ensuring better visualization of the progression toward convergence.For example, models trained on the Kasthuri++ dataset reach convergence at approximately 1000 iterations, making additional iterations unnecessary for effectively depicting the learning process.The final reported performance in Table 1 reflects the performance evaluated at the final total number of iterations that is aligned with the selected iteration numbers in the published CEM500K study that we compare to [4].We have now included an explanation in the caption of Figure 3 for clarity.

42Finally, "Kathuri" has been corrected to "Kasthuri" throughout the manuscript.

43Reviewer Comment 2.4 3. The names of benchmarks in Table 1 should be better defined to ensure consistency with the main text.For example, "CEM500K moco" in Table 1 should be explicitly linked to "UNet-ResNet50 model pre-trained with MoCoV2" in line 126 and the "MoCoV2 pre-trained model" in line 158."Random Init." should be clearly defined as the "randomly initialized UNet-ResNet50 model" in line 131.The "non-pre-trained UNet-ResNet50 model" in line 172 is unclear and requires clarification.

참고문헌 41건

  1. Saturated Reconstruction of a Volume of Neocortex Cell · Cell Press · 2015 10.1016/j.cell.2015.06.054
  2. The Handbook of brain theory and neural networks Choice Reviews Online · Association of College and Research Libraries · 1996 10.5860/choice.33-4484
  3. Total Internal Reflection Fluorescence (TIRF) Microscopy Current Protocols in Microbiology · Wiley · 2008 10.1002/9780471729259.mc02a02s10
  4. Visualizing and Understanding Convolutional Networks Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-10590-1_53
  5. A workflow for the automatic segmentation of organelles in electron microscopy image stacks Frontiers in Neuroanatomy · Frontiers Media · 2014 10.3389/fnana.2014.00126
  6. ImageNet: A large-scale hierarchical image database 2009 IEEE Conference on Computer Vision and Pattern Recognition · 2009 10.1109/cvpr.2009.5206848
  7. EMPIAR: a public archive for raw electron microscopy image data Nature Methods · Nature Portfolio · 2016 10.1038/nmeth.3806
  8. DeepEM3D: approaching human-level performance on 3D anisotropic EM image segmentation Bioinformatics · Oxford University Press · 2017 10.1093/bioinformatics/btx188
  9. Understanding the Effective Receptive Field in Deep Convolutional Neural Networks arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1701.04128
  10. SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2017 10.1109/tpami.2016.2644615
  11. Correlative three-dimensional super-resolution and block-face electron microscopy of whole vitreously frozen cells Science · American Association for the Advancement of Science · 2020 10.1126/science.aaz5357
  12. Automatic segmentation of mitochondria and endolysosomes in volumetric electron microscopy data Computers in Biology and Medicine · Elsevier BV · 2020 10.1016/j.compbiomed.2020.103693
  13. Improved Baselines with Momentum Contrastive Learning arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2003.04297
  14. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale arXiv (Cornell University) · Cornell University · 2020 10.48550/arxiv.2010.11929
  15. nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation Nature Methods · Nature Portfolio · 2020 10.1038/s41592-020-01008-z
  16. EM-stellar: benchmarking deep learning for electron microscopy image segmentation Bioinformatics · Oxford University Press · 2020 10.1093/bioinformatics/btaa1094
  17. Dense cellular segmentation for EM using 2D–3D neural network ensembles Scientific Reports · Nature Portfolio · 2021 10.1038/s41598-021-81590-0
  18. TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation arXiv (Cornell University) · Cornell University · 2021 10.48550/arxiv.2102.04306
  19. Image Segmentation Using Deep Learning: A Survey IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2021 10.1109/tpami.2021.3059968
  20. CEM500K, a large-scale heterogeneous unlabeled cellular electron microscopy image dataset for deep learning eLife · eLife Sciences Publications Ltd · 2021 10.7554/elife.65894
  21. Whole-body integration of gene expression and single-cell morphology Cell · Cell Press · 2021 10.1016/j.cell.2021.07.017
  22. Connectomes across development reveal principles of brain maturation Nature · Nature Portfolio · 2021 10.1038/s41586-021-03778-8
  23. Whole-cell organelle segmentation in volume electron microscopy Nature · Nature Portfolio · 2021 10.1038/s41586-021-03977-3
  24. An open-access volume electron microscopy atlas of whole cells and tissues Nature · Nature Portfolio · 2021 10.1038/s41586-021-03992-4
  25. Whole-cell segmentation of tissue images with human-level performance using large-scale data annotation and deep learning Nature Biotechnology · Nature Portfolio · 2021 10.1038/s41587-021-01094-0
  26. Regulation of liver subcellular architecture controls metabolic homeostasis Nature · Nature Portfolio · 2022 10.1038/s41586-022-04488-5
  27. A Review of Watershed Implementations for Segmentation of Volumetric Images Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2022 10.3390/jimaging8050127
  28. Proceedings of IEEE Conference on Computer Vision and Pattern Recognition 1993 10.1109/cvpr.1993
  29. Volume electron microscopy Nature Reviews Methods Primers · Nature Portfolio · 2022 10.1038/s43586-022-00131-9
  30. Deep neural networks allow expert-level brain meningioma segmentation and present potential for improvement of clinical practice Scientific Reports · Nature Portfolio · 2022 10.1038/s41598-022-19356-5
  31. AutoAugment: Learning Augmentation Policies from Data arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1805.09501
  32. Proceedings of IEEE International Conference on Computer Vision 1995 10.1109/iccv.1995.466933
  33. Instance segmentation of mitochondria in electron microscopy images with a generalist deep learning model trained on a diverse dataset Cell Systems · Elsevier BV · 2023 10.1016/j.cels.2022.12.006
  34. Efficient end-to-end learning for cell segmentation with machine generated weak annotations Communications Biology · Nature Portfolio · 2023 10.1038/s42003-023-04608-5
  35. Spatial mapping of mitochondrial networks and bioenergetics in lung cancer Nature · Nature Portfolio · 2023 10.1038/s41586-023-05793-3
  36. MizAR 60 for Mizar 50 DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · Schloss Dagstuhl – Leibniz Center for Informatics · 2023 10.4230/lipics.itp.2023.19
  37. Downstream Datasets Make Surprisingly Good Pretraining Corpora 2023 10.18653/v1/2023.acl-long.682
  38. Segmentation in large-scale cellular electron microscopy with deep learning: A literature survey Medical Image Analysis · Elsevier BV · 2023 10.1016/j.media.2023.102920
  39. 3D TransUNet: Advancing Medical Image Segmentation through Vision Transformers arXiv (Cornell University) · Cornell University · 2023 10.48550/arxiv.2310.07781
  40. ScribFormer: Transformer Makes CNN Work Better for Scribble-Based Medical Image Segmentation IEEE Transactions on Medical Imaging · Institute of Electrical and Electronics Engineers · 2024 10.1109/tmi.2024.3363190
  41. Modular segmentation, spatial analysis and visualization of volume electron microscopy datasets Nature Protocols · Nature Portfolio · 2024 10.1038/s41596-024-00957-5