[Paper Review] Lesion2Vec: Deep Metric Learning for Few-Shot Multiple Lesions Recognition in Wireless Capsule Endoscopy Video
This paper proposes Lesion2Vec, a few-shot lesion recognition framework for wireless capsule endoscopy using deep metric learning to identify multiple small bowel lesions with minimal labeled examples. By leveraging Siamese networks with triplet loss and few-shot inference, the model achieves 91.0% F-score with 7 support samples using AlexNet, demonstrating strong generalization to unseen lesion types with limited training data.
Effective and rapid detection of lesions in the Gastrointestinal tract is critical to gastroenterologist's response to some life-threatening diseases. Wireless Capsule Endoscopy (WCE) has revolutionized traditional endoscopy procedure by allowing gastroenterologists visualize the entire GI tract non-invasively. Once the tiny capsule is swallowed, it sequentially capture images of the GI tract at about 2 to 6 frames per second (fps). A single video can last up to 8 hours producing between 30,000 to 100,000 images. Automating the detection of frames containing specific lesion in WCE video would relieve gastroenterologists the arduous task of reviewing the entire video before making diagnosis. While the WCE produces large volume of images, only about 5\% of the frames contain lesions that aid the diagnosis process. Convolutional Neural Network (CNN) based models have been very successful in various image classification tasks. However, they suffer excessive parameters, are sample inefficient and rely on very large amount of training data. Deploying a CNN classifier for lesion detection task will require time-to-time fine-tuning to generalize to any unforeseen category. In this paper, we propose a metric-based learning framework followed by a few-shot lesion recognition in WCE data. Metric-based learning is a meta-learning framework designed to establish similarity or dissimilarity between concepts while few-shot learning (FSL) aims to identify new concepts from only a small number of examples. We train a feature extractor to learn a representation for different small bowel lesions using metric-based learning. At the testing stage, the category of an unseen sample is predicted from only a few support examples, thereby allowing the model to generalize to a new category that has never been seen before. We demonstrated the efficacy of this method on real patient capsule endoscopy data.
Motivation & Objective
- To address the challenge of limited labeled data in wireless capsule endoscopy (WCE) by enabling few-shot lesion recognition.
- To reduce reliance on large-scale annotated datasets, which are costly and time-consuming to produce in medical imaging.
- To enable generalization to new, unseen lesion types without retraining or extensive fine-tuning.
- To improve diagnostic efficiency by automating detection of rare or low-frequency lesions in WCE videos.
- To develop a framework that supports clinical deployment by minimizing data collection overhead for new lesion categories.
Proposed method
- A Siamese neural network architecture is used to learn deep metric embeddings for lesion images using triplet loss to maximize inter-class separation and minimize intra-class variation.
- The model is trained on a few-shot learning paradigm, where each episode consists of support sets with only a few examples per lesion class.
- During inference, the model computes similarity scores between query images and support set embeddings using cosine or Euclidean distance.
- Different base CNN architectures (AlexNet, VGG-19, ResNet) are evaluated to determine optimal feature extraction performance.
- The framework uses a metric-based learning strategy to generalize to novel lesion categories unseen during training.
- The system is evaluated on real patient WCE data with multiple lesion types, including rare ones not in the training set.
Experimental results
Research questions
- RQ1Can deep metric learning enable effective few-shot recognition of multiple lesion types in wireless capsule endoscopy with minimal labeled examples?
- RQ2How does the number of support samples affect the performance of few-shot lesion recognition in WCE data?
- RQ3Which base CNN architecture (AlexNet, VGG-19, ResNet) yields the best performance in few-shot lesion recognition under limited data?
- RQ4Can the model generalize to new lesion categories not present in the training data?
- RQ5How does within-class variation and lesion size (e.g., angioectasia) impact model robustness in few-shot scenarios?
Key findings
- The AlexNet-based Lesion2Vec model achieved the highest F-score of 91.0% when using 7 support samples, outperforming VGG-19 and ResNet under the same conditions.
- With only 1 support sample, the ResNet model achieved the best performance (F-score: 81.7%), but performance dropped significantly as the number of support samples increased.
- The VGG-19 model required more than 5 support samples to outperform other models, achieving a peak F-score of 88.8% with 9 support samples.
- The model demonstrated effective generalization to unseen lesion categories during testing, confirming its few-shot learning capability.
- Performance was most sensitive to within-class variation and lesion size, with small lesions like angioectasia posing greater challenges due to limited visual cues.
- The use of triplet loss in the Siamese network framework significantly improved embedding quality, enabling accurate similarity computation across diverse lesion types.
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.