# US 10,956,780 B2 · Detecting infection of plant diseases with improved machine learning

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

- Number: US 10,956,780 B2
- Document ID: US10956780B2
- Status: Granted
- Kind: B2
- Application number: 16/662,023
- Filed: 2019-10-24
- Published: 2020-04-30
- Granted: 2021-03-23
- Earliest claimed: 2018-10-24
- Assignees: Climate LLC
- Applicants: The Climate Corporation
- Inventors: Ying She; Wei Guan
- Web page: https://patentgrep.com/patent/US10956780B2

## CPC

- G06N 3/08: Learning methods
- G06F 18/2113: by ranking or filtering the set of features, e.g. using a measure of variance or of feature cross-correlation
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06F 18/2431: Multiple classes
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/09: Supervised learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/20: Ensemble learning
- G06V 10/771: Feature selection, e.g. selecting representative features from a multi-dimensional feature space
- G06V 10/776: Validation; Performance evaluation
- G06V 10/82: using neural networks
- G06V 20/60: Type of objects
- G06N 3/086: using evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06V 20/68: Food, e.g. fruit or vegetables
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A system and processing methods for refining a convolutional neural network (CNN) to capture characterizing features of different classes are disclosed. In some embodiments, the system is programmed to start with the filters in one of the last few convolutional layers of the initial CNN, which often correspond to more class-specific features, rank them to hone in on more relevant filters, and update the initial CNN by turning off the less relevant filters in that one convolutional layer. The result is often a more generalized CNN that is rid of certain filters that do not help characterize the classes.

## Claims

### Claim 1

A computer-implemented method of refining a convolutional neural network to focus on class-specific features, comprising:
receiving, by a processor, digital data representing an initial convolutional neural network (CNN) comprising a series of convolution blocks,
each of the series of convolution blocks comprising a convolutional layer having one or more filters,
a convolutional layer of a distinct number of last convolution blocks of the series of convolution blocks having a certain number N of filters corresponding to N features;
receiving, by the processor, a set of digital images and a corresponding set of class labels each identifying a class of a plurality of classes;
processing each digital image in the set of digital images using the series of convolution blocks to generate N feature maps from the convolutional layer for each of the set of digital images;
generating a vector for each of the set of digital images only from the N feature maps for the digital image;
ranking the N filters based on the set of vectors for the set of digital images and the corresponding set of class labels;
selecting a particular number of highest-ranking filters from the N filters;
constructing an updated CNN from the initial CNN to eliminate application of non-selected filters of the N filters of the convolutional layer of the distinct number of last convolution blocks;
applying the updated CNN to a new image received from a client device to obtain a classification of the new image into one of the plurality of classes;
transmitting information related to the classification.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1,
one of the set of digital images is a photo of a type of plant,
one of the plurality of classes is a disease likely to affect the type of plant.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, each of the series of convolution blocks further comprising a pooling layer.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, the certain number being larger than a number of filters associated with a convolutional layer of one of the series of convolution blocks other than the distinct number of last convolution blocks.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, the generating comprising computing a component of the vector as an aggregate over values in a feature map of the N feature maps for the digital image.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1,
the generating comprising performing global average pooling on each of the N feature maps for the digital image.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, the selecting being based on past results associated with different number of highest-ranking filters selected for constructing an updated CNN.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, the ranking comprising building a random forest from the set of vectors and the associated set of class labels.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, the updated CNN comprising the series of convolution blocks and a masking layer that masks out non-selected filters of the N filters.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, the constructing comprising modifying the convolutional layer to remove non-selected filters from the N filters.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, the initial CNN further comprising a classification block after the series of convolution blocks, the classification block including a fully-connected layer.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, the updated CNN comprising an updated classification block, the updated classification block including the fully-connected layer retaining weights associated with the particular number of highest-ranking filters.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, the updated classification block further including a softmax layer.

### Claim 14

One or more non-transitory computer-readable media storing one or more sequences of instructions which when executed using one or more processors cause the one or more processors to execute a method of refining a convolutional neural network to focus on class-specific features, the method comprising:
receiving digital data representing an initial convolutional neural network (CNN) comprising a series of convolution blocks,
each of the series of convolution blocks comprising a convolutional layer having one or more filters,
a convolutional layer of a distinct number of last convolution blocks of the series of convolution blocks having a certain number N of filters corresponding to N features;
receiving a set of digital images and a corresponding set of class labels each identifying a class of a plurality of classes;
processing each digital image in the set of digital images using the series of convolution blocks to generate N feature maps from the convolutional layer for each of the set of digital images;
generating a vector for each of the set of digital images only from the N feature maps for the digital image;
ranking the N filters based on the set of vectors for the set of digital images and the corresponding set of class labels;
selecting a particular number of highest-ranking filters from the N filters;
constructing an updated CNN from the initial CNN to eliminate application of non-selected filters of the N filters of the convolutional layer of the distinct number of last convolution blocks;
applying the updated CNN to a new image received from a client device to obtain a classification of the new image into one of the plurality of classes;
transmitting information related to the classification.

### Claim 15 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, the generating comprising computing a component of the vector as an aggregate over values in a feature map of the N feature maps for the digital image.

### Claim 16 (depends on 1)

The computer-implemented method of claim 1, the selecting being based on past results associated with different number of highest-ranking filters selected for constructing an updated CNN.

### Claim 17 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, the ranking comprising building a random forest from the set of vectors and the associated set of class labels.

### Claim 18 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, the updated CNN comprising the series of convolution blocks and a masking layer that masks out non-selected filters of the N filters.

### Claim 19 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, the initial CNN further comprising a classification block after the series of convolution blocks, the classification block including a full-connected layer.

### Claim 20 (depends on 19)

The one or more non-transitory computer-readable media of claim 19, the updated CNN comprising an updated classification block, the updated classification block including the fully-connected layer retaining weights associated with the particular number of highest-ranking filters.
