TL;DR
This paper introduces two novel self-supervised learning (SSL) techniques, "sorting loss" and "rotation loss," specifically designed for localizing biological samples within 3D CT scans. By leveraging the inherent differences between samples and their backgrounds, these methods enable automated sample localization with high accuracy and significantly reduce storage requirements, paving the way for more efficient high-throughput biological imaging.
What Problem Does This Paper Address?
High-throughput 3D Computed Tomography (CT) generates massive amounts of data, but often only a small fraction of each reconstructed volume actually contains the biological sample of interest. This leads to significant storage overhead and increased processing times. Manually identifying and isolating these samples is a bottleneck. While deep learning (DL) offers a solution, it typically requires extensive labeled data, which is costly and time-consuming to obtain for 3D biological samples. This paper addresses the challenge of automating sample localization in 3D CT data without relying on manual annotations, by developing self-supervised learning methods.
Methods
The core of this work lies in two novel self-supervised pretext tasks designed to learn useful representations from unlabeled biological CT data:
- Sorting Loss: Inspired by the "jigsaw puzzle" task, this method trains a model to predict the correct order of randomly sampled slices from a single CT volume. The assumption is that the biological sample's internal structure makes it less permutation-invariant along the slicing axis compared to the background. A pairwise margin ranking loss is used to enforce correct ordering.
- Rotation Loss: This approach adapts existing rotation prediction methods for natural images to biological CT. Instead of predicting the rotation of a single image, it trains the model to predict the relative rotation angle between two adjacent, randomly rotated slices from the same volume. This encourages the model to learn features that are invariant to rotation for the background but sensitive to it for the sample, assuming samples are not rotationally invariant along certain axes. A classification loss (negative log-likelihood) is used for practical training.
To achieve unsupervised localization, the paper proposes using uncertainty estimation. After training with either loss, the model's uncertainty in predicting sample features is used to identify the sample region. For the sorting loss, this involves analyzing the variance of superpixel embeddings. For the rotation loss, it's based on the model's confidence in predicting the correct rotation angle.
Datasets
- Medaka fish dataset: This dataset, containing 250 volumes of biological CT scans, was used for both localization experiments with the sorting loss and for evaluating the sorting loss as a pre-training task for semantic segmentation. Segmentation markups for the visual system of the fish were available for a subset of volumes.
- Xenopus Laevis embryos dataset: This dataset, comprising 34 volumes of CT scans, was used for quantitative evaluation of sample localization using the rotation loss. The authors manually annotated bounding box labels for this dataset.
Key Insights and Ideas
- Leveraging domain knowledge for SSL: The paper demonstrates that by incorporating specific knowledge about biological samples (e.g., their internal structure, non-uniformity compared to background), SSL tasks can be made more effective for downstream applications like localization.
- Uncertainty as a localization signal: The core idea of using model uncertainty derived from SSL pretext tasks as a direct indicator of sample presence is a powerful concept, enabling unsupervised localization without explicit bounding box labels during training.
- Sorting loss for sample ordering: The sorting loss effectively forces the model to learn about the spatial arrangement and internal structure of the sample, making it sensitive to slice order.
- Rotation loss for sample orientation: The rotation loss encourages the model to learn features that are robust to background variations but capture the sample's orientation, useful for identifying its extent.
- Pre-training for segmentation: The sorting loss shows promise as a pre-training strategy for semantic segmentation, offering competitive results with less supervision.
Key Results
- Localization Accuracy: The proposed methods achieve localization with less than 1.5% relative error. Specifically, the rotation loss method achieved a Mean Absolute Error (MAE) of 3.5 pixels for bounding box coordinates on the Xenopus Laevis embryo dataset, significantly outperforming a baseline thresholding method (MAE of 12.8).
- Storage Reduction: Sample localization enables cropping, leading to a significant reduction in storage requirements. For Medaka fish samples, the volume size was reduced by an average of 74% (from 24 GB to 5 GB).
- Segmentation Pre-training: The sorting loss, when used as a pre-training task for semantic segmentation on the Medaka fish dataset, performed on par with established SSL methods like SimCLR and MoCoV3 in low-data regimes and did not harm performance in full-data regimes. It also showed a 2.3% IoU improvement for U-Net when pre-trained on a large dataset.
Limitations and Future Work
- Uncertainty Estimation Simplification: The authors acknowledge that they used "simplest ways to estimate uncertainty" and suggest that exploring more sophisticated uncertainty estimation methods could further improve results.
- Loss Function Exploration: While the classification loss was found to be practical for the rotation loss, the paper mentions that a study of different loss functions for this task is left for future research.
- Future Applications: The authors plan to apply their method to replace expert-driven bounding box selection for weak supervision in semantic segmentation and to further explore its use as a pre-training strategy. The code and datasets are intended to be made publicly available.
Summary updated