# US 2016/0260014 A1 · Learning method and recording medium

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

- Number: US 2016/0260014 A1
- Document ID: US20160260014A1
- Status: Published application
- Kind: A1
- Application number: 15/053,642
- Filed: 2016-02-25
- Published: 2016-09-08
- Earliest claimed: 2015-03-06
- Assignees: Panasonic Intellectual Property Management Co., Ltd.
- Applicants: Panasonic Intellectual Property Management Co., Ltd.
- Inventors: REIKO HAGAWA; SOTARO TSUKIZAWA; YASUNORI ISHII
- Web page: https://patentgrep.com/patent/US20160260014A1

## CPC

- G06V 10/82: using neural networks
- G06F 18/24: Classification techniques
- G06F 18/24317: {Piecewise classification, i.e. whereby each classification requires several discriminant rules}
- G06F 18/24323: {Tree-organised classifiers}
- G06K 7/1482: {using fuzzy logic or natural solvers, such as neural networks, genetic algorithms and simulated annealing}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/764: using classification, e.g. of video objects
- G06N 3/02: Neural networks
- G06T 2207/20081: Training; Learning
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Learning method includes performing a first process in which a coarse class classifier configured with a first neural network is made to classify a plurality of images given as a set of images each attached with a label indicating a detailed class into a plurality of coarse classes including a plurality of detailed classes and is then made to learn a first feature that is a feature common in each of the coarse classes, and performing a second process in which a detailed class classifier, configured with a second neural network that is the same in terms of layers other than the final layer as but different in terms of the final layer from the first neural network made to perform the learning in the first process, is made to classify the set of images into detailed classes and learn a second feature of each detailed class.

## Claims

### Claim 1

A method of learning a classifier for classifying an image, comprising:
performing a first process in which a coarse class classifier configured with a first neural network is made to classify a plurality of images given as a set of images each attached with a label indicating a detailed class into a plurality of coarse classes including a plurality of detailed classes and is then made to learn a first feature that is a feature common in each of the coarse classes; and
performing a second process in which a detailed class classifier is made to classify the set of images into a plurality of detailed classes and is then made to learn a second feature that is a feature common in each of the detailed classes, the detailed class classifier configured with a second neural network that is the same in terms of layers other than a final layer as, but different in terms of the final layer from, the first neural network made to perform the learning in the first process.

### Claim 2 (depends on 1)

The method according to claim 1, wherein
the first process includes a first design process and a first learning process, the first design process including designing the first neural network so as to include as many neurons in the final layer as there are coarse classes generated based on contents of labels indicating the respective detailed classes, the first learning process including making the coarse class classifier configured with the designed first neural network acquire the set of images and learn the first feature,
the second process includes a second design process and a second learning process, the second design process including designing the second neural network such that the neurons in the final layer of the first neural network made to perform the learning in the first process are changed by neurons whose number is the same as the number of detailed classes and the resultant neural network is employed as the second neural network, the second learning process including making the detailed class classifier configured with the designed second neural network acquire the set of images and learn the second feature thereby learning the classifier.

### Claim 3 (depends on 2)

The method according to claim 2, wherein in the second design process, the second neural network is designed such that the neurons in the final layer of the first neural network made to perform the learning in the first learning process are replaced with neurons whose number is the same as the number of detailed classes and the resultant neural network is employed as the second neural network.

### Claim 4 (depends on 2)

The method according to claim 2, wherein
the detailed class classifier and the coarse class classifier are each formed using a third neural network,
wherein the method further comprises a third design process before the first process, the third design process including designing the third neural network such that a final layer of the third neural network includes neurons whose number is equal to or greater than the sum of the number of coarse classes and the number of detailed classes,
wherein in the first design process, the first neural network is given by the third neural network but in the final layer of the third neural network, particular neurons whose number is equal to the number of coarse classes are selected and only the selected neurons are used thereby designing the first neural network so as to include as many neurons in the final layer as there are coarse classes generated based on contents of labels indicating the respective detailed classes, and
in the second design process, the second neural network is given by the third neural network but in the final layer of the third neural network, particular neurons which are different from the neurons employed as the neurons in the final layer of the first neural network and whose number is equal to the number of detailed classes are used thereby designing the second neural network obtained by changing the neurons in the final layer of the first neural network made to perform the learning in the first process by neurons whose number is equal to the number of detailed classes.

### Claim 5 (depends on 2)

The method according to claim 2, wherein the second design process further includes setting a weight of the final layer of the second neural network to a random number, the weight indicating a coupling efficiency between the final layer of the second neural network and a layer immediately in front of the final layer.

### Claim 6 (depends on 2)

The method according to claim 2, wherein the second design process further includes setting a second weight of the final layer of the second neural network based on a first weight of the final layer of the first neural network, the first weight indicating a coupling efficiency, obtained via the learning in the first learning process, between the final layer of the first neural network and the layer immediately in front of the final layer, the second weight indicating a coupling efficiency between the final layer of the second neural network and the layer immediately in front of the final layer, the second weight determined by proportionally dividing the first weight according to a relationship between the plurality of coarse classes and the plurality of detailed classes included in the plurality of coarse classes.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising storing, as the classifier, the detailed class classifier made to learn the second feature in the second process.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the first process further includes generating the plurality of coarse classes based on contents of labels attached to respective images in the plurality of images.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the first process further includes generating the plurality of coarse classes based on similarity of each image in the plurality of images.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising
performing a third process in which a third coarse class classifier configured with a third neural network is made to classify the set of images into a plurality of third coarse classes including a plurality of detailed classes and is then made to learn a third feature that is a feature common in each third coarse class in the plurality of third coarse class,
wherein the first process includes a first learning process in which the detailed class classifier, configured with the first neural network that is the same in terms of layers other than the final layer as but different in terms of the final layer from the third neural network made to perform the learning in the third process, is made to classify the set of images into the plurality of coarse classes and learn the first feature of each detailed class,
and wherein each coarse class in the plurality of coarse classes includes a plurality of third coarse classes and thus includes a plurality of detailed classes included in the plurality of third coarse classes.

### Claim 11 (depends on 1)

The method according to claim 1, wherein at least one of the first process and the second process is performed by a processor.

### Claim 12

A non-transitory computer-readable recording medium storing a program for learning a classifier that classifies an image, the program causing a computer to execute:
performing a first process in which a coarse class classifier configured with a first neural network is made to classify a plurality of images given as a set of images each attached with a label indicating a detailed class into a plurality of coarse classes including a plurality of detailed classes and is then made to learn a first feature that is a feature common in each of the coarse classes: and
performing a second process in which a detailed class classifier is made to classify the set of images into a plurality of detailed classes and is then made to learn a second feature that is a feature common in each of the detailed classes, the detailed class classifier configured with a second neural network that is the same in terms of layers other than a final layer as, but different in terms of the final layer from, the first neural network made to perform the learning in the first process.
