Geological fault detection is a critical aspect of geological exploitation and oil-gas exploration. The automation of fault detection can significantly reduce the dependence on expert labeling. Current prevailing methods often treat fault detection as a semantic segmentation task using the Convolutional Neural Network (CNN). However, CNNs emphasize on local feature extraction, making them susceptible to noise interference. In contrast, Vision Transformer (ViT) models, prioritizing global context extraction, have shown competitive performance. This paper explores the application of ViT models for fault detection and compares their performance against CNN models. We investigate six models, including two pure CNN models, two pure ViT models, and two hybrid CNN&ViT models, comparing three datasets (Thebe, FaultSeg3D, and Kerry3D). Our analysis underscores the resilience of pure ViT models to noise interference in real-world data. Additionally, it is noteworthy to highlight the advantage of CNN&ViT hybrid models in delineating low-grade faults. Furthermore, leveraging pre-trained ImageNet models, SwinUnet demonstrates remarkable data efficiency in fault prediction, requiring only about 100 pairs of 2D image patches and yielding results closely aligned with expert annotations. Our Our code is publicly available at: https://github.com/wangjing9999/Comparing-CNN-and-ViT-in-Geological-Fault-Detection.
Active learning (AL) attempts to select informative samples in a dataset to minimize the number of required labels while maximizing the performance of the model. Current AL in segmentation tasks is limited to the expansion of popular classification-based methods including entropy, MC-dropout, etc. Meanwhile, most applications in the medical field are simply migrations that fail to consider the nature of medical images, such as high class imbalance, high domain difference, and data scarcity. In this study, we address these challenges and propose a novel AL framework for medical image segmentation task. Our approach introduces a pseudo-label-based filter addressing excessive blank patches in medical abnormalities segmentation tasks, e.g., lesions, and tumors, used before the AL selection. This filter helps reduce resource usage and allows the model to focus on selecting more informative samples. For the sample selection, we propose a novel query strategy that combines both model impact and data stability by employing adversarial attack. Furthermore, we harness the adversarial samples generated during the query process to enhance the robustness of the model. The experimental results verify our framework's effectiveness over various state-of-the-art methods. Our proposed method only needs less than 14% annotated patches in 3D brain MRI multiple sclerosis (MS) segmentation tasks and 20% for Low-Grade Glioma (LGG) tumor segmentation to achieve competitive results with full supervision. These promising outcomes not only improve performance but alleviate the time burden associated with expert annotation, thereby facilitating further advancements in the field of medical image segmentation. Our code is available at https://github.com/HelenMa9998/adversarial_active_learning.