Evaluating Few-Shot Pill Recognition Under Visual Domain Shift
Not on the map. Why?
Abstract (arXiv)
Adverse drug events are a significant source of preventable harm, which has led to the development of automated pill recognition systems to enhance medication safety. Real-world deployment of these systems is hindered by visually complex conditions, including cluttered scenes, overlapping pills, reflections, and diverse acquisition environments. This study investigates few-shot pill recognition from a deployment-oriented perspective, prioritizing generalization under realistic cross-dataset domain shifts over architectural innovation. A two-stage object detection framework is employed, involving base training followed by few-shot fine-tuning. Models are adapted to novel pill classes using one, five, or ten labeled examples per class and are evaluated on a separate deployment dataset featuring multi-object, cluttered scenes. The evaluation focuses on classification-centric and error-based metrics to address heterogeneous annotation strategies. Findings indicate that semantic pill recognition adapts rapidly with few-shot supervision, with classification performance reaching saturation even with a single labeled example. However, stress testing under overlapping and occluded conditions demonstrates a marked decline in localization and recall, despite robust semantic classification. Models trained on visually realistic, multi-pill data consistently exhibit greater robustness in low-shot scenarios, underscoring the importance of training data realism and the diagnostic utility of few-shot fine-tuning for deployment readiness.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 19 references that are in the map. First posted on arXiv 11 Mar 2026.
Builds on
9 of 19 references.
References · 9
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2020Frustratingly Simple Few-Shot Object Detectioncited by 280
- 2021A Systematic Collection of Medical Image Datasets for Deep Learningcited by 29
- 2021Few-Shot Object Detection: A Comprehensive Surveycited by 28
- 2022On the generalization capabilities of FSL methods through domain adaptation: a case study in endoscopic kidney stone image classificationcited by 5
- 2025CDFormer: Cross-Domain Few-Shot Object Detection Transformer Against Feature Confusioncited by 4
- 2020ePillID Dataset: A Low-Shot Fine-Grained Benchmark for Pill Identificationcited by 3
Built on by
Not cited yet.