# US 2021/0279505 A1 · Progressive verification system and methods

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

- Number: US 2021/0279505 A1
- Document ID: US20210279505A1
- Status: Published application
- Kind: A1
- Application number: 16/813,704
- Filed: 2020-03-09
- Published: 2021-09-09
- Earliest claimed: 2020-03-09
- Assignees: Shenzhen Malong Technologies Co., Ltd.
- Applicants: Shenzhen Malong Technologies Co., Ltd.
- Inventors: Yujie ZHONG; Zelu DENG; Weilin HUANG; Matthew Robert SCOTT
- Web page: https://patentgrep.com/patent/US20210279505A1

## CPC

- G06Q 20/208: {Input by product or record sensing, e.g. weighing or scanner processing}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/22: Matching criteria, e.g. proximity measures
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06Q 20/203: {Inventory monitoring}
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/945: {User interactive design; Environments; Toolboxes}
- G06V 20/52: Surveillance or monitoring of activities, e.g. for recognising suspicious objects (recognising microscopic objects G06V20/69)
- G07G 1/0063: {with means for detecting the geometric dimensions of the article of which the code is read, such as its size or height, for the verification of the registration}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/048: Activation functions
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G07G: REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS

## Abstract

This disclosure includes technologies for automated verification via digital image transformation or analysis in several progressive stages, which may include a stage of retrieval-model-based mismatch detection, a stage of cross-class mismatch detection, or a stage of inner-class mismatch detection. Further, the disclosed system is designed to progressively execute the verification process from a generality-attentive manner to a specificity-attentive manner. Finally, the disclosed system is designed to launch appropriate responses based on the verification outcome.

## Claims

### Claim 1

A computer-implemented method for verification, comprising:
receiving a first image of a first object and a second image of a second object;
determining a verification code between the first object and the second object with a plurality of progressive stages that include a stage of cross-class mismatch detection and a stage of inner-class mismatch detection; and
generating an electronic message to indicate the verification code.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first image is captured via a camera operably coupled with a checkout machine, and the second image is selected by a user via a user interface on the checkout machine.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
extracting, via a first neural network, a first feature vector of the first image; and
computing a first similarity measure between the first feature vector and a second feature vector of the second image.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
in response to the first similarity measure being above a first threshold, generating a positive verification code.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
in response to the first similarity measure being below a first threshold, invoking the stage of cross-class mismatch detection.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
transforming, via a second neural network in the stage of cross-class mismatch detection, the first feature vector and the second feature vector to become a first enhanced feature vector and a second enhanced feature vector respectively, wherein the second neural network is trained with a loss function to enhance mismatch discriminative power; and
computing a second similarity measure between the first enhanced feature vector and the second enhanced feature vector.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
in response to the second similarity measure being above a second threshold, generating a positive verification code;
in response to the second similarity measure being below a third threshold, generating a negative verification code; and
in response to the second similarity measure being between the second threshold and the third threshold, invoking the stage of inner-class mismatch detection.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
generating, via a variational trilinear transformation process, a variational attention map from the first image;
producing, via a non-uniform sampler, a detail-attentive image from the first image based on the variational attention map; and
extracting, via a first neural network, a feature vector of the detail-attentive image.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
computing a third similarity measure between the feature vector of the detail-attentive image and another feature vector of the second image;
in response to the third similarity measure being above a fourth threshold, generating a positive verification code; and
in response to the third similarity measure being below the fourth threshold, generating a negative verification code.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
transforming, via a second neural network in the stage of inner-class mismatch detection, the feature vector of the detail-attentive image and another feature vector of the second image to a first enhanced feature vector and a second enhanced feature vector respectively, wherein the second neural network is trained with a loss function to enhance mismatch discriminative power of output of the second neural network;
computing a third similarity measure between the first enhanced feature vector and the second enhanced feature vector;
in response to the third similarity measure being above a fourth threshold, generating a positive verification code; and
in response to the third similarity measure being below the fourth threshold, generating a negative verification code.

### Claim 11

A computer-readable storage device encoded with instructions that, when executed, cause one or more processors of a computing system to perform operations of verification, comprising:
receiving a first image of a first object and a second image of a second object;
determining a verification code between the first object and the second object based on a plurality of neural networks for inner-class mismatch detection; and
generating an electronic message to indicate the verification code.

### Claim 12 (depends on 11)

The computer-readable storage device of claim 11, wherein the instructions that, when executed, further cause the one or more processors to perform operations during a training phase of a first neural network of the plurality of neural networks, comprising:
producing, via the first neural network, a feature map from a training image;
identifying channel-wise spatial relations of the feature map via a bilinear transformation on the feature map;
determining respective weights for channels of the feature map based on the channel-wise spatial relations of the feature map;
sampling, based on the respective weights for the channels of the feature map, the channels of the feature map to form a plurality of subset feature maps; and
training the first neural network to generate an attention map of the training image based on the plurality of subset feature maps.

### Claim 13 (depends on 11)

The computer-readable storage device of claim 11, wherein the instructions that, when executed, further cause the one or more processors to perform operations during an inference phrase of a first neural network of the plurality of neural networks, comprising:
generating, via the first neural network, a variational attention map of the first image; and
producing, via a non-uniform sampler, a detail-attentive image from the first image based on the variational attention map.

### Claim 14 (depends on 13)

The computer-readable storage device of claim 13, wherein the instructions that, when executed, further cause the one or more processors to perform operations comprising:
extracting, via a second neural network of the plurality of neural networks, a feature vector of the detail-attentive image.

### Claim 15 (depends on 14)

The computer-readable storage device of claim 14, wherein the instructions that, when executed, further cause the one or more processors to perform operations comprising:
computing a similarity measure between the feature vector of the detail-attentive image and another feature vector of the second image;
in response to the similarity measure being above a threshold, generating a positive verification code; and
in response to the similarity measure being below the threshold, generating a negative verification code.

### Claim 16 (depends on 14)

The computer-readable storage device of claim 14, wherein the instructions that, when executed, further cause the one or more processors to perform operations comprising:
transforming, via a third neural network of the plurality of neural networks, the feature vector of the detail-attentive image and another feature vector of the second image to become a first enhanced feature vector and a second enhanced feature vector respectively;
computing a similarity measure between the first enhanced feature vector and the second enhanced feature vector;
in response to the similarity measure being above a threshold, generating a positive verification code; and
in response to the similarity measure being below the threshold, generating a negative verification code.

### Claim 17

A system for verification, comprising:
a processor;
a plurality of neural networks, operatively coupled to the processor, configured to determine a verification code between a first object and a second object; and
instructions, wherein the instructions, when executed by the processor, cause the processor to:
receive a first image of the first object and a second image of the second object;
determine the verification code between the first object and the second object with a plurality of progressive stages that include a stage of cross-class mismatch detection and a stage of inner-class mismatch detection; and
generate an electronic message to indicate the verification code.

### Claim 18 (depends on 17)

The system of claim 17, wherein the stage of inner-class mismatch detection comprises an attention network with an encoder and a decoder to produce a high-resolution feature map.

### Claim 19 (depends on 18)

The system of claim 18, wherein the decoder comprises at least one convolutional module with a plurality of branches using different dilation rates, wherein the instructions, when executed by the processor, further cause the processor to:
enlarge receptive fields of the high-resolution feature map via an elementwise summation of outputs of the plurality of branches.

### Claim 20 (depends on 17)

The system of claim 17, wherein the stage of inner-class mismatch detection comprises a neural network with at least three fully connected layers, wherein the instructions, when executed by the processor, further cause the processor to:
train the neural network with a loss function to enhance mismatch discriminative power between two input feature vectors with a soft label, wherein the soft label is formed with a first mean being less than 1.0 to represent a positive pair of input feature vectors, and a second mean being greater than 0.0 to represent a negative pair of input feature vectors.
