Adaptable Automated Interpretation of Rapid Diagnostic Tests Using Few-Shot Learning
Preprint
Abstract
Point-of-care lateral-flow assays (LFAs) are becomingly increasingly prevalent for diagnosing individual patient disease status and surveying population disease prevalence in a timely, scalable, and cost-effective manner, but a central challenge is to assure correct assay operation and results interpretation as the assays are manually performed in decentralized settings. A smartphone-based software can automate interpretation of an LFA kit, but such algorithms typically require a very large number of images of assays tested with validated specimens, which is challenging to collect for different assay kits, especially for those released during a pandemic. Here, we present an approach – AutoAdapt LFA – that uses few-shot learning, an approach used in other applications such as computer vision and robotics, for accurate and automated interpretation of LFA kits that requires a small number of validated images for training. The approach consists of three components: extraction of membrane and zone areas from an image of the LFA kit, a self-supervised encoder that employs a feature extractor trained with edge-filtered patterns, and few-shot adaptation that enables generalization to new kits using limited validated images. From a base model pre-trained on a commercial LFA kit, we demonstrated the ability of adapted models to interpret results from five new COVID-19 LFA kits (three detecting antigens for diagnosing active infection, and two detecting antibodies for diagnosing past infection). Specifically, using just 10 to 20 images of each new kit, we achieved accuracies of 99% to 100% for each kit. The server-hosted algorithm has an execution time of approximately 4 seconds, which can potentially enable quality assurance and linkage to care for users operating new LFAs in decentralized settings.Keywords
This publication has 14 references indexed in Scilit:
- SMARTtest: A Smartphone App to Facilitate HIV and Syphilis Self- and Partner-Testing, Interpretation of Results, and Linkage to CareAIDS and Behavior, 2019
- Taking connected mobile-health diagnostics of infectious diseases to the fieldNature, 2019
- Mask R-CNNIEEE Transactions on Pattern Analysis and Machine Intelligence, 2018
- Highly Stable and Sensitive Nucleic Acid Amplification and Cell-Phone-Based ReadoutACS Nano, 2017
- Lateral flow assaysEssays in Biochemistry, 2016
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016
- Expanding the role of diagnostic and prognostic tools for infectious diseases in resource-poor settingsNature, 2015
- Automated Low-Cost Smartphone-Based Lateral Flow Saliva Test Reader for Drugs-of-Abuse DetectionSensors, 2015
- Paper-based microfluidic point-of-care diagnostic devicesLab on a Chip, 2013
- One step visual detection of PCR products with gold nanoparticles and a nucleic acid lateral flow (NALF) deviceChemical Communications, 2007