# US 2023/0274538 A1 · Adaptable Automated Interpretation of Rapid Diagnostic Tests Using Self-Supervised Learning and Few-Shot Learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0274538 A1
- Document ID: US20230274538A1
- Status: Published application
- Kind: A1
- Application number: 18/125,341
- Filed: 2023-03-23
- Published: 2023-08-31
- Earliest claimed: 2020-10-09
- Assignees: The Trustees of Columbia University in the City of New York
- Applicants: The Trustees of Columbia University in the City of New York
- Inventors: Samuel K. SIA; Shih-Fu CHANG; Siddarth ARUMUGAM; Uzay MACAR; Jiawei MA; Guangxing HAN; David COLBURN
- Web page: https://patentgrep.com/patent/US20230274538A1

## CPC

- G06T 7/0012: {Biomedical image inspection}
- G06V 10/82: using neural networks
- G06T 7/12: Edge-based segmentation
- G06V 10/7715: {Feature extraction, e.g. by transforming the feature space, e.g. multi-dimensional scaling [MDS]; Mappings, e.g. subspace methods}
- G01N 21/8483: {Investigating reagent band (test-element handling not specific to a test method G01N33/4875; analytical elements specific to chemical analysis of biological material G01N33/52; autometer with reagent band G01N35/04)}
- G01N 2021/8883: {involving the calculation of gauges, generating models}
- G01N 2021/8887: {based on image processing techniques}
- G01N 2201/1296: using neural networks
- G06T 2207/10024: Color image
- G06T 2207/20076: Probabilistic image processing
- G06T 2207/20081: Training; Learning
- G06T 2207/20084: Artificial neural networks [ANN]
- G06T 2207/20132: Image cropping
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)

## Abstract

A framework for a few-shot learning method is disclosed. In a first part, self-supervision and classification supervision are used to train a feature extractor. An example self-supervision method comprises running grayscale images through an edge filter, normalizing the filtered images, setting the normalized images to ground truth, generating feature-extracted images, using a decoder to reconstruct images from the feature-extracted images, determining a loss between the reconstructed images and the ground truth images, and using the loss to update parameters of the feature extractor. In a second part, a few-shot adaptation process is performed to adapt the model to a novel rapid test kit.

## Claims

### Claim 1

A system for automated image interpretation of rapid test kits, wherein the system comprises:
a neural network;
wherein the neural network comprises a feature extractor;
wherein the feature extractor has been pre-trained using self-supervised learning with a set of images of first rapid test kits; and
wherein the neural network has been adapted to a second rapid test kit that is a different type of test kit than the first rapid test kits.

### Claim 2 (depends on 1)

The system for automated image interpretation of rapid test kits as in claim 1, wherein the self-supervised learning by which the feature extractor has been pretrained comprises:
inputting the set of images of first rapid test kits;
converting the images in the inputted set of images to grayscale images;
running the grayscale images through an edge filter, normalizing the filtered images, and setting the normalized images to ground truth;
generating feature-extracted images from the images in the inputted set of images;
using a decoder to reconstruct images from the feature-extracted images;
determining a first calculated loss between the reconstructed images and the ground truth images; and
using the first calculated loss to update parameters of the feature extractor.

### Claim 3 (depends on 2)

The system for automated image interpretation of rapid test kits as in claim 2, wherein in addition to the set of images of first rapid test kits, the feature extractor has also been pre-trained with a synthetic dataset mixed with the set of images of first rapid test kits, wherein the synthetic dataset comprises faint positive and negative zones.

### Claim 4 (depends on 2)

The system for automated image interpretation of rapid test kits as in claim 2, wherein the feature extractor also has been pre-trained by:
using a classifier to classify the feature-extracted images;
determining a second calculated loss between the classified images and labels for the images in the inputted set of images; and
using the second calculated loss to update parameters of the feature extractor.

### Claim 5 (depends on 1)

The system for automated image interpretation of rapid test kits as in claim 1, wherein the neural network further comprises a classifier.

### Claim 6 (depends on 5)

The system for automated image interpretation of rapid test kits as in claim 5, wherein the neural network has been adapted to the second rapid test kit using a few-shot adaptation process comprising supervised contrastive learning.

### Claim 7 (depends on 5)

The system for automated image interpretation of rapid test kits as in claim 5, wherein the neural network has been adapted to the second rapid test kit using a few-shot adaptation process comprising a meta-learning technique, wherein the meta-learning comprises:
(i) a meta-training step comprising:
separating a set of images of the first rapid test kits into a support set and a query set;
using the support set of the first rapid test kits to update a classifier;
using the query set of the first rapid test kits to calculate a loss on the query set samples; and
using the loss to update the initialization of the classifier; and
(ii) a meta-testing step comprising training the classifier with the updated initialization values on a set of images of the second rapid test kits to get an updated network adapted to the second rapid test kit, wherein the number of images in the set of images of the second rapid test kits is smaller than the number of images in the set of images of the first rapid test kits.

### Claim 8 (depends on 5)

The system for automated image interpretation of rapid test kits as in claim 5, wherein the feature extractor has been pre-trained using self-supervised learning for an edge-detection task.

### Claim 9 (depends on 5)

The system for automated image interpretation of rapid test kits as in claim 5, wherein the number of images in the set of images of the second rapid test kits is at most 20.

### Claim 10 (depends on 5)

The system for automated image interpretation of rapid test kits as in claim 5, wherein the ratio of the number of images in the set of images of the first rapid test kits to the number of images in the set of images of the second rapid test kits is 5:1 or greater.

### Claim 11

A system for automated image interpretation of rapid test kits, wherein the system comprises software that may be implemented on a user’s smart phone, wherein the software uses a gyroscope of the user’s smart phone to get a test kit image into a correct orientation.

### Claim 12 (depends on 11)

The system for automated image interpretation of rapid test kits as in claim 11, wherein the system comprises a deep neural network for instance segmentation to detect kit and membrane boundaries.

### Claim 13 (depends on 11)

The system for automated image interpretation of rapid test kits as in claim 11, wherein the system is adapted to extract individual zones from each kit using kit dimensions provided by a kit manufacturer.

### Claim 14 (depends on 11)

The system for automated image interpretation of rapid test kits as in claim 11, wherein the system comprises a neural network including a feature extractor and a classifier, wherein the feature extractor has been pre-trained using self-supervised learning.

### Claim 15 (depends on 11)

The system for automated image interpretation of rapid test kits as in claim 11, wherein the system comprises a neural network including a feature extractor and a classifier, wherein the classifier has been learned using a few-shot learning technique.

### Claim 16

A method for automated image interpretation of rapid test kits, wherein the method comprises:
providing a neural network comprising a feature extractor;
pre-training the feature extractor using self-supervised learning with a set of images of first rapid test kits; and
adapting the neural network to a second rapid test kit that is a different type of test kit than the first rapid test kits.

### Claim 17 (depends on 16)

The method for automated image interpretation of rapid test kits as in claim 16, wherein the pre-training of the feature extractor using self-supervised learning with the set of images of first rapid test kits comprises:
inputting the set of images of first rapid test kits;
converting the images in the inputted set of images to grayscale images;
running the grayscale images through an edge filter, normalizing the filtered images, and setting the normalized images to ground truth;
generating feature-extracted images from the images in the inputted set of images;
using a decoder to reconstruct images from the feature-extracted images;
determining a first calculated loss between the reconstructed images and the ground truth images; and
using the first calculated loss to update parameters of the feature extractor.

### Claim 18 (depends on 17)

The method for automated image interpretation of rapid test kits as in claim 17, further comprising generating a synthetic dataset comprising faint positive and negative zones, mixing the synthetic dataset with the set of images of first rapid test kits, and using the synthetic dataset mixed with the set of images of first rapid test kits to pre-train the feature extractor.

### Claim 19 (depends on 17)

The method for automated image interpretation of rapid test kits as in claim 17, further comprising pre-training the feature extractor by:
using a classifier to classify the feature-extracted images;
determining a second calculated loss between the classified images and labels for the images in the inputted set of images; and
using the second calculated loss to update parameters of the feature extractor.

### Claim 20 (depends on 16)

The method for automated image interpretation of rapid test kits as in claim 16, wherein the neural network further comprises a classifier.
