[Paper Review] Zero-Shot Digital Rock Image Segmentation with a Fine-Tuned Segment Anything Model
This paper proposes RockSAM, a fine-tuned version of Meta AI's Segment Anything Model (SAM) for zero-shot digital rock image segmentation. By adapting SAM to rock-specific CT and SEM images through targeted fine-tuning, the method achieves high-accuracy, pixel-level segmentation without extensive annotations, significantly outperforming vanilla SAM on complex, low-contrast rock images.
Accurate image segmentation is crucial in reservoir modelling and material characterization, enhancing oil and gas extraction efficiency through detailed reservoir models. This precision offers insights into rock properties, advancing digital rock physics understanding. However, creating pixel-level annotations for complex CT and SEM rock images is challenging due to their size and low contrast, lengthening analysis time. This has spurred interest in advanced semi-supervised and unsupervised segmentation techniques in digital rock image analysis, promising more efficient, accurate, and less labour-intensive methods. Meta AI's Segment Anything Model (SAM) revolutionized image segmentation in 2023, offering interactive and automated segmentation with zero-shot capabilities, essential for digital rock physics with limited training data and complex image features. Despite its advanced features, SAM struggles with rock CT/SEM images due to their absence in its training set and the low-contrast nature of grayscale images. Our research fine-tunes SAM for rock CT/SEM image segmentation, optimizing parameters and handling large-scale images to improve accuracy. Experiments on rock CT and SEM images show that fine-tuning significantly enhances SAM's performance, enabling high-quality mask generation in digital rock image analysis. Our results demonstrate the feasibility and effectiveness of the fine-tuned SAM model (RockSAM) for rock images, offering segmentation without extensive training or complex labelling.
Motivation & Objective
- Address the challenge of labor-intensive, pixel-level annotation in digital rock image analysis for reservoir modeling.
- Overcome the limitations of the original Segment Anything Model (SAM) in segmenting low-contrast, grayscale CT and SEM rock images.
- Enable zero-shot segmentation in digital rock physics with minimal or no fine-tuning data.
- Develop a robust, transferable segmentation framework applicable to diverse rock types and imaging modalities.
Proposed method
- Fine-tune the pre-trained Segment Anything Model (SAM) on a curated dataset of rock CT and SEM images to adapt to geological image characteristics.
- Optimize SAM's prompt encoder and mask decoder components using a combination of image embeddings and sparse prompts derived from rock morphology.
- Apply data augmentation and normalization techniques tailored to low-contrast grayscale rock images to improve generalization.
- Process large-scale rock images by tiling and merging segmentation masks to maintain spatial coherence.
- Utilize a hybrid loss function combining binary cross-entropy and dice loss to enhance boundary precision.
- Leverage SAM's zero-shot generalization capability by applying prompts based on seed points or bounding boxes without retraining.
Experimental results
Research questions
- RQ1Can the pre-trained Segment Anything Model be effectively fine-tuned to achieve high-precision segmentation on digital rock CT and SEM images?
- RQ2How does fine-tuning SAM on rock-specific data improve segmentation accuracy compared to the original model?
- RQ3To what extent does the fine-tuned model generalize across different rock types and imaging conditions without additional annotations?
- RQ4Can the model achieve reliable zero-shot segmentation performance on unseen rock samples with minimal prompt engineering?
Key findings
- The fine-tuned RockSAM model achieves significantly higher mean Intersection over Union (mIoU) scores than vanilla SAM on both CT and SEM rock images.
- RockSAM demonstrates strong zero-shot generalization, producing accurate masks on unseen rock types without additional fine-tuning.
- The model maintains high performance on large-scale images by effectively handling tiling artifacts through mask blending and overlap correction.
- Fine-tuning reduces segmentation errors in low-contrast regions, particularly in porous and heterogeneous rock structures.
- The method achieves competitive performance with traditional supervised models but requires no pixel-level annotations during inference.
- The use of sparse prompts (e.g., point or box) enables accurate segmentation with minimal user input, confirming the feasibility of interactive zero-shot segmentation in digital rock physics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.