Method, apparatus and computer program

JP7537242B2Active Publication Date: 2024-08-21SEIKO EPSON CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020194805
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-25
Publication Date
2024-08-21
Estimated Expiration
2040-11-25

Smart Images

  • Figure 0007537242000021
    Figure 0007537242000021
  • Figure 0007537242000017
    Figure 0007537242000017
  • Figure 0007537242000013
    Figure 0007537242000013
Patent Text Reader

Abstract

To provide a technique which enables a user to know a determination reason for determination with a machine learning model.SOLUTION: A method executed by a device using a vector neural network-based machine learning model comprises: a step of inputting a second image of an object to the machine learning model to acquire, with respect to each of one or more neuron layer, second intermediate data based on at least one of a second vector and a second activation which one or more neurons have; a step of calculating similarity between first intermediate data and the second intermediate data in one or more neuron layers; a step of generating a reasoning image according to the similarity, and a step of displaying the generated reasoning image.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technology using a vector neural network type machine learning model. [Background technology]

[0002] Conventionally, for image class discrimination using a machine learning model, a technique is known in which image parts with a large gradient that contributes to a loss function are represented by a color map (Non-Patent Document 1). [Prior art documents] [Non-patent literature]

[0003] [Non-Patent Document 1] Ramprasaath R. and 6 others, “Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization” [online], Cornell University, [Retrieved October 9, 2020], Internet<URL: https: / / arxiv.org / abs / 1610.02391> Summary of the Invention [Problem to be solved by the invention]

[0004] Conventional techniques only show the correlation between the result of class discrimination and the parts of the image that contributed to the result. For example, even if an algorithmic model misclassifies an input image of a "human" as a "gorilla," conventional techniques only emphasize the "human" part of the input image. In this context, a technique that presents the process leading up to the class discrimination by an algorithmic model in a form that can be interpreted by humans in relation to the class discrimination would be technically and socially useful. [Means for solving the problem]

[0005] (1) According to a first aspect of the present disclosure, a method is provided in which an apparatus uses a vector neural network type machine learning model. The machine learning model is trained to reproduce the correspondence between a plurality of first images and a prior label corresponding to each of the plurality of first images. The machine learning model has one or more neuron layers, each of the one or more neuron layers has one or more neuron groups, and each of the one or more neuron groups has one or more neurons. The apparatus stores first intermediate data based on at least one of a first vector and a first activation output by the one or more neurons when the plurality of first images are input to the trained machine learning model, in association with the neurons. The method includes a step of inputting a second image of an object to the machine learning model, and acquiring second intermediate data based on at least one of a second vector and a second activation possessed by the one or more neurons for each of the one or more neuron layers, a step of calculating a similarity between the first intermediate data and the second intermediate data in the one or more neuron layers, a step of generating a ground image according to the similarity, and a step of displaying the generated ground image.

[0006] (2) According to a second aspect of the present disclosure, there is provided an apparatus using a vector neural network type machine learning model. The device includes: (i) a machine learning model trained to reproduce correspondences between a plurality of first images, the plurality of first images, and prior labels corresponding to each of the plurality of first images, the machine learning model having one or more neuron layers, each of the one or more neuron layers having one or more neuron groups, each of the one or more neuron groups having one or more neurons; (ii) a storage device that stores first intermediate data based on at least one of a first vector and a first activation output by the one or more neurons when the plurality of first images are input to the machine learning model, the first intermediate data being associated with the neurons; an acquisition unit that inputs a second image of an object to the machine learning model and acquires, for each of the one or more neuron layers, second intermediate data based on at least one of a second vector and a second activation possessed by the one or more neurons; a similarity calculation unit that calculates a similarity between the first intermediate data and the second intermediate data in the one or more neuron layers; an output image generation unit that generates a ground image according to the similarity; and a display unit that displays the generated ground image.

[0007] (3) According to a third aspect of the present disclosure, there is provided a computer program for causing a computer to execute a vector neural network type machine learning model. The machine learning model is trained to reproduce the correspondence between a plurality of first images and a prior label corresponding to each of the plurality of first images. The machine learning model has one or more neuron layers, each of the one or more neuron layers has one or more neuron groups, and each of the one or more neuron groups has one or more neurons. The computer stores, in association with the neurons, first intermediate data based on at least one of a first vector and a first activation output by the one or more neurons when the plurality of first images are input to the trained machine learning model. This computer program includes an acquisition function that inputs a second image of an object into the machine learning model and acquires, for each of the one or more neuron layers, second intermediate data based on at least one of a second vector and a second activation possessed by the one or more neurons, a similarity calculation function that calculates a similarity between the first intermediate data and the second intermediate data in the one or more neuron layers, an output image generation function that generates a basis image according to the similarity, and a display function that displays the generated basis image. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram for explaining a discrimination system in a learning stage. [Diagram 2] FIG. 13 is a diagram for explaining a first image and a prior label. [Diagram 3] The first diagram conceptually shows how vector neurons are determined by voting predictions. [Figure 4] The second diagram conceptually shows how vector neurons are determined by voting predictions. [Diagram 5] A diagram to explain how to set up a machine learning model. [Figure 6] 1 is a flowchart showing a learning process executed in the learning stage of a machine learning model. [Figure 7]FIG. 2 is a diagram for explaining a discrimination system in a discrimination stage. [Figure 8] FIG. 11 is a diagram for explaining a second image. [Figure 9] 11 is a flowchart of a class determination process for a second image. [Figure 10] 13 is a flowchart of a first explanation process. [Figure 11] FIG. 4 is a diagram for explaining a feature spectrum. [Figure 12] FIG. 1 shows a basis image as a first basis image. [Figure 13] FIG. 2 shows a basis image as the first basis image. [Figure 14] FIG. [Figure 15] 13 is a flowchart of a second explanation process. [Figure 16] FIG. 11 is a diagram for explaining a second image. [Figure 17] FIG. [Figure 18] FIG. [Figure 19] FIG. 13 is a diagram showing a discrimination device according to a third embodiment. [Figure 20] FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. First embodiment: FIG. 1 is a diagram for explaining a discrimination system 100 in a learning stage. FIG. 2 is a diagram for explaining a first image 12 and a prior label 14. The discrimination system 100 shown in FIG. 1 represents a stage in which a vector neural network type machine learning model 30 is trained. The discrimination system 100 includes a discrimination device 20 and a data interface for exchanging data with an external device. The data interface is not limited to, but is preferably a USB adapter, a wired or wireless LAN adapter, or the like.

[0010] In this embodiment, a first image 12 is stored in the storage device of the discrimination device 20 from an external device via a data interface. The first image 12 is used for learning the machine learning model 30. The first input data set 10 has first data elements 12A, 12B, and 12C as first images of different captured objects, and prior labels 14 corresponding to the first data elements 12A, 12B, and 12C. Of the prior labels 14, the label corresponding to the first data element 12A is also called the prior label 14A, the label corresponding to the first data element 12B is also called the prior label 14B, and the label corresponding to the first data element 12C is also called the prior label 14C. The first image 12 includes a plurality of first data elements 12A, 12B, and 12C acquired by a sensor. The sensor is a sensor that acquires image data such as an RGB camera or an infrared camera.

[0011] As shown in FIG. 2, the first data elements 12A to 12C are dice as objects of different types captured by a camera. The first data element 12A is an image captured by a camera of a dice with one digits on the entire surface. The first data element 12B is an image captured by a camera of a dice with two digits on the entire surface. The first data element 12C is an image captured by a camera of a dice with three digits on the entire surface. 1000 pieces of each of the first data elements 12A to 12C are prepared. The image size of each of the first data elements 12A to 12C is 32×32 pixels. In addition, the positions of the dice digits of the 1000 pieces of the first data elements 12A to 12C vary by a maximum of ±2 pixels, and the sizes of the dice digits vary by a maximum of ±2 pixels. The first data elements 12A to 12C used for learning in the machine learning model 30 and the second data elements as the second image described later, which are labeled by the machine learning model 30, have hierarchical features. "Having a hierarchical feature" means that when the data region of interest is gradually enlarged from a small region, different features appear for each region. For example, the texture of the region, the shape appearing in the region, the arrangement of each element appearing in the region, and the overall configuration appearing in the region correspond to each layer as features. The hierarchical feature is a feature structure that is generally found in many data, and the contents of the present disclosure using the machine learning model 30 are highly versatile.

[0012] The a priori labels 14 are stored in the first input data set 10 in association with the first data elements 12A to 12C, and are input to the storage device 22. The a priori labels include a non-defective label as the first a priori label and a defective label as the second a priori label. The a priori labels 14 may also be simply referred to as labels 14. The first data element 12A is associated with a defective label as the a priori label. The first data element 12B is associated with a defective label as the a priori label. The first data element 12C is associated with a non-defective label as the a priori label. In other words, the machine learning model 30 in this embodiment is used when manufacturing a product in which a number 3 is printed or engraved on each surface of a cube, and can distinguish between a non-defective product and a defective product.

[0013] The discrimination device 20 shown in Fig. 1 is an electronic calculator such as a personal computer. The discrimination device 20 includes a storage device 22, a processor 24, and a display unit 26. The storage device 22 includes a non-volatile storage medium 23 as a non-transient storage medium such as a flash memory or an EEPROM, and a DRAM as a main memory. The storage device 22 stores a machine learning model 30 and collected data elements 32 generated using the input first input data set 10. The storage device 22 also stores various programs for controlling the operation of the discrimination device 20.

[0014] The processor 24 realizes various functions by executing various programs stored in the storage device 22. For example, the processor 24 functions as a learning unit 240, an acquisition unit 241, a similarity calculation unit 242, and an output image generation unit 244. Note that in other embodiments, at least a part of the various functions may be realized by a hardware circuit. Here, in this disclosure, the term "processor" includes a CPU, a GPU, and a hardware circuit.

[0015] The learning unit 240 executes learning of the machine learning model 30 using the first input data set 10. The acquisition unit 241 acquires first intermediate data and second intermediate data, which will be described later, and stores them in the storage device 22. The similarity calculation unit 242 calculates the similarity between the first intermediate data and the second intermediate data. The first intermediate data is data output by a neuron when a first image 12 included in the first input data set 10 of the machine learning model 30 is input to the machine learning model 30. The second intermediate data is data generated by inputting a second image, in which an object to be discriminated is captured, to the machine learning model 30. The first intermediate data and the second intermediate data will be described in detail later.

[0016] The output image generating unit 244 generates an output image IM0 including a grounds image IME according to the similarity calculated by the similarity calculating unit 242. The grounds image IME is an image showing the grounds for discrimination of the second image by the machine learning model 30. The output image IM0 is an image for explaining the discrimination grounds to the user. Details of the output image IM0 including the grounds image IME will be described later. The output image IM0 generated by the output image generating unit 244 is displayed by the display unit 26. Note that the display unit 26 is provided in the discrimination device 20, but may be a display unit of another device, for example, a terminal device such as a smartphone.

[0017] The display unit 26 is used to display various information. The display unit 26 is, for example, a liquid crystal monitor. As various information, for example, the discrimination result of the data element discriminated using the trained machine learning model 30 and the output image IM0 are displayed.

[0018] The machine learning model 30 is a vector neural network type algorithm model, and is a hierarchical type having multiple layers. The machine learning model 30 is a network in which dynamic routing executed in a capsule network can be omitted. The machine learning model 30 of this embodiment uses a vector neural network type algorithm that does not require iterative processing required in dynamic routing. This algorithm is also called a narrow-sense vector neural network type algorithm. In addition, a capsule network or a narrow-sense vector neural network is a machine learning model in which vector neurons, whose input and output are vectors, are the neurons of the network. Therefore, a capsule network or a narrow-sense vector neural network is one of the algorithms included in a vector neural network. Note that a neuron is also called a "node." The difference between a capsule network algorithm and a narrow-sense vector neural network algorithm will be described below.

[0019] The dynamic routing algorithm of the capsule network is roughly expressed by the following equations (1) to (5).

[0020]

number

number

number

number

number

[0021] In the above formulas (1) to (5), X i is the output of the capsule at layer L, and X j is the output of the capsule at the next layer L+1.ij isX i From X j This is a transformation matrix for finding the predicted value of a, and is optimized during the capsule network learning process. i is the activation value of the capsule at layer L. R ij is called the routing factor and is initialized as a constant at the beginning of the algorithm. ij is an element that determines which capsule in the previous layer outputs to which capsule in the next layer. ij This means dynamically changing for each data element, and the optimal value is determined using probabilistic statistical techniques. "F" and "G" in formulas (3) and (4) are expressions that express probabilistic statistical processing in an abstract manner. If formulas (3) and (4) are considered in terms of the EM algorithm (Expectation-Maximization algorithm), for example, "F" can be associated with the M step and "G" with the E step. Also, by converting formula (4) to formula (2), R ij The calculation is repeated until convergence. For capsule networks, it is recommended to repeat the calculation two or three times.

[0022] Meanwhile, an output determination algorithm of a narrow-sense vector neural network used in the machine learning model 30 of this embodiment will be described below.

[0023]

number

number

number

number

[0024] Here, the element Ema, which is obtained by adding "i" and "L" to "M" in the above formula (6), represents the output of the i-th vector neuron in layer L. The element Emb, which is obtained by adding "ij" and "L" to "W" in formula (5), represents the predicted value v ij This is the transformation matrix for calculating u, and is the learning target for the stochastic gradient descent method. j is the predicted value v of the element Ema from all vector neurons in layer L. ij The sum of i is 1 to N, where N is an integer. j The norm of u for all vector neurons in layer L+1 is calculated by the softmax function in equation (8). j The norm of is the standardized value of the accuracy a j Here, β is a parameter that adjusts the effect of the magnitude of the norm on the accuracy, as described in the above formula (8), and in this example, β=1 is used. In addition, in formula (8), "k" ranges from 1 to N. Accuracy a j is the element that corresponds to the activation in the capsule network. Therefore, the probability a j Activation a j j can take values ​​from 1 to M, where M is an integer. j Since the information of is integrated into the element Emb by equation (9), it is not explicitly output from the vector neuron to the next vector neuron. j The element Ema is determined by extracting only the information about the direction of the vector and weighting it by the relative likelihood a in layer L+1. j When used collectively, these are also called accuracy a.

[0025] The 2-norm is incorporated into the loss function so that the element Emb does not take an extremely large value during the learning process. Here, the norm of the element Emb is defined by multiplying it with an appropriate vector, and when the element Ema is used as the vector, it is expressed by the following formula (10).

[0026]

number

[0027] The magnitude of the output M, which is a vector of vector neurons, is weighted by the relative accuracy a of each layer, so that votes from information with high accuracy a have a large influence. Note that activation a is the norm |u j is the normalization factor obtained by normalizing |. Therefore, the activation value a j can be considered as an index indicating the relative output strength of each node among all the nodes in the upper layer L+1.

[0028] FIG. 3 is a first diagram conceptually showing the determination of a vector neuron by voting on predictions. FIG. 4 is a second diagram conceptually showing the determination of a vector neuron by voting on predictions. In FIG. 3 and FIG. 4, for ease of understanding, the number of dimensions of the vector neuron is set to "2" with dimensions m1 and m2. As shown in FIG. 3, voting on predictions with aligned directions leads to an output M with a high accuracy a. On the other hand, as shown in FIG. 4, voting on predictions with inconsistent directions leads to an output M with a low accuracy a.

[0029] FIG. 5 is a diagram for explaining a method of setting a vector neural network type machine learning model 30. The machine learning model 30 includes, in order from the first image 12 side to be input, a convolution layer 33, a primary neuron layer 35, a first neuron layer 37, a second neuron layer 38, and a classification neuron layer 39 which is the final layer. Of these five layers 33 to 39, the convolution layer 33 is the highest layer. The number of layers of the machine learning model 30 is appropriately changed according to the type of data element to be input. In this embodiment, the neuron layer has a hierarchical structure composed of four layers 35, 37, 38, and 39. In order from the top side, the primary neuron layer 35, the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39 are arranged. The vector M and activation a of each neuron in the lower neuron layer are determined using a group of neurons in the previous layer which is the upper layer composed of one or more neurons set by the kernel and stride. In this embodiment, the vector M of each neuron is 16-dimensional.

[0030] A 5×5 kernel is applied to each data element 12A-12C of the first image 12 with a stride of “2”, and a partial range of the data elements 12A-12C that outputs to one node of the convolution layer 33 is determined. The number of kernels applied to each data element 12A-12C is 32. As a result, the convolution layer 33 is configured to have a partial region Rx in which the vertical axis, which is the first axis x, and the horizontal axis, which is the second axis y, perpendicular to the first axis x, are each divided into 14 parts. The first axis x and the second axis y define the planar position coordinates of the node array. The size in the x direction along the first axis x and the size in the y direction along the second axis y are also called “resolution”. In addition, the number of channels indicating the number in the third axis z direction, which is the depth direction of the convolution layer 33, is configured to be 32, which is the same number as the number of kernels. In FIG. 5, the sizes in the x, y, and z directions in the convolution layer 33 are shown to be 14, 14, and 32. In FIG. 5, the x-axis, y-axis, and z-axis are omitted in layers other than the convolutional layer 33.

[0031] The above-mentioned "partial range" is a region on the input image of the first image 12, which is a data element, and is one region specified by the position of the first axis x and the position of the second axis y. However, as will be clear from the following description, the size of the "partial range" on the data element differs depending on which of the neuron layers 35, 37, 38, and 39 the neuron corresponding to the "partial range" or the partial region Rx belongs to. On the other hand, the "partial region Rx" is a region specified by the position of the vertical axis and the position of the horizontal axis in the neuron layer. In detail, each "partial region Rx" in the neuron layer is a region specified by the position of the first axis x, the position of the second axis y, and the position of the third axis z corresponding to the channel. Each "partial region Rx" in the neuron layer has dimensions of "Height" x "Width" x "Depth" corresponding to the above-mentioned first axis x, second axis y, and third axis z. In this embodiment, the number of neurons included in one "partial region Rx" is "1 x 1 x number of depths". In the present disclosure, the numerical values ​​“35”, “37”, “38”, and “39” are substituted for “x” of the partial region Rx according to the neuron layers 35, 37, 38, and 39. For example, the partial region R35 indicates a region in the primary neuron layer 35.

[0032] By applying a 1×1×32 kernel with a stride of “1” to the convolution layer 33, a partial region R33 to be output to one neuron in the primary neuron layer 35 is determined from the partial region R33 of the convolution layer 33. Here, since 16 types of kernels with the same size and the same stride are used, the number of neurons in the primary neuron layer 35 corresponding to one partial region R33 of the convolution layer 33 is 16. A transformation matrix is ​​used to generate the output from the node of the convolution layer 33 to the neuron of the primary neuron layer 35, and the output determination algorithm shown in the above formulas (6) to (10) is not used. Note that the dimension of the kernel for convolution in the neuron layer may be expressed as “Height” × “Width” × “Depth” × “Number of elements of vector M” when the number of channels and the number of elements of the neuron are also taken into consideration. According to this representation, the dimensions of the kernel used for the convolution from the convolution layer 33 to the primary neuron layer 35 are 1×1×32×16.

[0033] By applying a 3×3×16 kernel with a stride of "1" to the primary neuron layer 35, a partial region R35 that provides an output to a neuron included in one partial region R37 of the first neuron layer 37 is determined from the partial region R35 of the primary neuron layer 35. Here, 12 types of kernels with the same size, same dimension, and same stride are used, so the number of neurons included in the partial region R37 of the first neuron layer 37 is 12. The output determination algorithm shown in the above formulas (6) to (10) is used to generate an output from the neuron of the primary neuron layer 35 to the neuron of the first neuron layer 37. Here, the kernel applied to the primary neuron layer 35 can also be expressed as specifying 3×3×16 neurons of the primary neuron layer 35 used to determine one neuron of the first neuron layer 37 according to the consensus routing. This also applies to the following description. Note that a set of one or more neurons (in this embodiment, a plurality of neurons) for one partial region Rx is also called a neuron group. That is, a neuron group has one or more neurons arranged in the depth direction.

[0034] By applying a 7×7×12 kernel with a stride of "2" to the first neuron layer 37, a partial region R37 that provides an output to one partial region R38 of the second neuron layer 38 is determined from the partial region R37 of the first neuron layer 37. Here, six types of kernels with the same size, the same dimension, and the same stride are used, so the number of neurons included in the partial region R38 of the second neuron layer 38 is six. When generating neurons of the second neuron layer 38 from the neurons of the first neuron layer 37, the output determination algorithm shown in the above formulas (6) to (10) is used.

[0035] By applying a 3×3×6 kernel with a stride of "1" to the second neuron layer 38, a subregion R38 that provides an output to one subregion R39 of the classification neuron layer 39 is determined from among the subregions R38 of the second neuron layer 38. Since two types of kernels with the same size, the same dimension, and the same stride are used here, the number of neurons included in the subregion R39 of the classification neuron layer 39 is two. When generating neurons of the classification neuron layer 39 from neurons of the second neuron layer 38, the output determination algorithm shown in the above formulas (6) to (10) is used.

[0036] The classification neuron layer 39, which is the final layer, is composed of one sub-region R39. The classification neuron layer 39 classifies data elements input to the machine learning model 30 into predetermined labels. In this embodiment, the predetermined label is a label expressed by a combination of a label "0" indicating a good product label and a label "1" indicating a defective product label. In other embodiments, the predetermined label may be a label expressed by any combination of a label "0" indicating a known label and a label "1" indicating an unknown label.

[0037] The classification neuron layer 39 is composed of one partial region R39. In the classification neuron layer 39, the label corresponding to the neuron with the maximum activation a among the two neurons is output. The label output from the classification neuron layer 39 is output by the display unit 26 under the control of the processor 24. In detail, the output of the classification neuron layer 39 is converted into a plurality of judgment values ​​for the number of classes equal to the number of labels. In this embodiment, the output of the two neurons in the classification neuron layer 39 is converted into two judgment values ​​corresponding to the two labels "0" and "1". These judgment values ​​are usually values ​​normalized by a softmax function. Specifically, for example, the vector length of the output vector of each neuron in the classification neuron layer 39 is calculated from the output vector of the neuron, and the vector lengths of the two nodes are further normalized by a softmax function, thereby obtaining judgment values ​​for the two classes. The activation value a is a value corresponding to the vector length of the output vector M, and is normalized. Therefore, the activation value a in each of the two neurons in the classification neuron layer 39 may be output and used as a judgment value for the two classes as is.

[0038] 5, one partial region R35 of the primary neuron layer 35 corresponds to a partial range of 5×5 pixels of the data elements 12A-12C. One partial region R37 of the first neuron layer 37 corresponds to a partial range of 9×9 pixels of the data elements 12A-12C. One partial region R38 of the second neuron layer 38 corresponds to a partial range of 21×21 pixels of the data elements 12A-12C. One partial region R39 of the classification neuron layer 39 corresponds to a partial range of 29×29 pixels of the data elements 12A-12C.

[0039] 6 is a flowchart showing a learning process executed in the learning stage of the machine learning model 30. First, in step S10, parameters of the machine learning model 30 are set. In step S10, as described with reference to FIG. 5, the number of layers and the size and stride of the kernel applied between layers are set.

[0040] Next, in step S12, first data elements 12A, 12B, and 12C are prepared as first image 12 to be learned by machine learning model 30. Note that the order of steps S10 and S12 is not limited to the above, and step S12 may be performed before step S10.

[0041] Next, in step S14, the first data elements 12A to 12C as the first image 12 are sequentially input to the machine learning model 30, and the machine learning model 30 is trained by the learning unit 240 so as to reproduce the correspondence between the data elements 12A to 12C as the first image 12 and the prior labels corresponding to the data elements 12A to 12C. The learning unit 240 of the processor 24 trains the machine learning model 30 using, for example, a mini-batch gradient descent algorithm. In this embodiment, the learning unit 240 of the processor 24 trains the machine learning model 30 using a mini-batch gradient descent algorithm in which the size of a mini-batch, which is a subset of data elements, is set to "32" and the epoch is set to "20000". As a result of the training, the accuracy rate of the machine learning model 30 became 100%.

[0042] In step S16, the processor 24 inputs the first data elements 12A, 12B, and 12C used in the learning to the machine learning model 30 learned in step S14 again, and executes the following for each of the neuron layers, the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39. That is, the acquisition unit 241 of the processor 24 acquires first intermediate data based on at least one of the first activation a1 and the first vector M1 of each neuron in each layer 37, 38, and 39, in association with a partial range on the first data elements 12A to 12C to which each neuron corresponds. Then, the acquisition unit 241 of the processor 24 stores the first intermediate data associated with each other and the relative positions of the partial ranges in the storage device 22. Note that the image of the associated partial range itself may be stored in the storage device 22. The partial range on the first data elements 12A to 12C to which each neuron corresponds is also called a first partial data element. In addition, hereinafter, the stored first intermediate data and the first partial data elements are also referred to as collected data elements 32. In another embodiment, the first intermediate data may be acquired in association with the first partial data elements in the primary neuron layer 35 as in the layers 37, 38, and 39. It is not necessary to acquire the first intermediate data from all neuron layers. For example, the first intermediate data may be acquired only from the second neuron layer 38, or may be acquired from a combination of several layers. This also applies to the second intermediate data described below. Furthermore, in another embodiment, the multiple first data elements 12A, 12B, and 12C used in learning the machine learning model 30 in step S14 may be divided into two groups. In this case, the first data elements 12A, 12B, 12C may be divided into a group of first data elements 12A, 12B, 12C used for training the machine learning model 30 in step S14 and a group of first data elements 12A, 12B, 12C not used for training, and the machine learning model 30 may be trained using only one of the groups in step S14, and the first intermediate data may be generated using the two groups in step S16.In short, as long as the data is assigned the same a priori labels 14A, 14B, 14C as the a priori labels 14A, 14B, 14C of the first data elements 12A, 12B, 12C used to train the machine learning model 30, the data for generating the intermediate data in step S16 is not limited to only the first data elements 12A, 12B, 12C used to train the machine learning model 30.

[0043] As described above, according to the method executed by the processor 24, the first intermediate data based on at least one of the first activation a1 and the first vector M1 of the neuron can be acquired in step S16. In this way, when the second image, which is a data element to be discriminated, is input to the machine learning model 30, the processor 24 can calculate the similarity between the feature spectrum generated from the first intermediate data and the feature spectrum generated from the second intermediate data by acquiring the second intermediate data based on at least one of the second activation a2 and the second vector M2 of the neuron. The second intermediate data may be the second vector M2 itself or the second activation a2 itself, or may be data obtained by performing data processing such as weighting on the second vector M2 or the second activation a2. In this embodiment, the second intermediate data is composed of the second vector M2 and the second activation a2. Note that in other embodiments, the first intermediate data and the second intermediate data may each be a feature spectrum. Details of the feature spectrum will be described later. By the similarity calculation unit 242 calculating the similarity, the output image generation unit can generate an output image including a ground image according to the similarity. Therefore, the processor 24 can output the discrimination ground of the input second image using the machine learning model 30.

[0044] Fig. 7 is a diagram for explaining the discrimination system 100 in the discrimination stage. Fig. 8 is a diagram for explaining a second image 62. The discrimination system 100 in Fig. 7 differs from the discrimination system 100 in Fig. 1 in that a second input data set 60 is used as a data element to be input to the machine learning model 30.

[0045] As shown in Fig. 7, the second input data set 60 has a plurality of second images 62. As shown in Fig. 8, the plurality of second images 62 are second data elements 62A-62C representing images acquired by capturing an image of one face of each of a plurality of manufactured dice with a camera. The size of the second data elements 62A-62C as the second images is, for example, 32 x 32 pixels, the same as that during learning of the machine learning model 30. Furthermore, 1100 pieces of each of the second data elements 62A-62C are prepared, and the positions of the dice pits vary by a maximum of ±2 pixels, and the sizes of the dice pits vary by a maximum of ±2 pixels.

[0046] The second data elements 62A-62C are input one by one to the trained machine learning model 30, whereby the class is determined, i.e., the label is determined. For example, when the second data element 62A representing a one or the second data element 62B representing a two is input to the machine learning model 30, the product is determined to be defective, and when the second data element 62C representing a three is input, the product is determined to be non-defective. In this embodiment, the processor 24 generates a determination basis for determining the label, and causes the display unit 26 to display the determination basis together with the determined label. A method for generating the determination basis will be described later.

[0047] FIG. 9 is a flowchart of the class discrimination process of the second image 62. First, in step S20, the processor 24 inputs each of the second data elements 62A to 62C one by one into the machine learning model 30 trained using the first image 12, and executes class discrimination. Next, in step S22, the acquisition unit 241 of the processor 24 calculates, that is, derives, for each of the input second data elements 62A to 62C, the state of the machine learning model 30, that is, the second activation a2 as the activation a of two neurons of the classification neuron layer 39. Also, in step S22, the processor 24 acquires second intermediate data from the machine learning model 30 for each of the second data elements 62A to 62C input into the machine learning model 30. Details of the acquisition of the second intermediate data will be described later with reference to step S30 in FIG. 10.

[0048] Next, in step S24, the processor 24 generates a label corresponding to the neuron in the classification neuron layer 39 having the maximum second activation a2 as a discrimination result based on the calculation result in step S22, and outputs the generated label to the display unit 26. Note that the label discrimination result is not limited to image information, and may be any information that can be notified to the user. For example, the label discrimination result may be output as audio information. In this case, the display unit 26 is equipped with a speaker. In the following description, the label discrimination result is stored in the storage device 22 as part of the collected data elements 32.

[0049] FIG. 10 is a flowchart of the first explanation process. The first explanation process may be performed after the class discrimination process of FIG. 9, or may be performed in parallel with the class discrimination process of FIG. 9. The first explanation process is executed by the processor 24. The first explanation process is a process for comparing the first data element 12C associated with the non-defective label stored in the collected data element 32 with the input second data elements 62A to 62C, and for explaining the reason why the item was determined to be a non-defective item or why it was not determined to be a non-defective item. Information generated by this first explanation process may be output together with the discrimination result of step S24 in FIG. 9. FIG. 11 is a diagram for explaining a feature spectrum.

[0050] As shown in FIG. 10, first, in step S30, the processor 24 inputs the second data elements 62A-62C one by one to the trained machine learning model 30, and causes the machine learning model 30 to execute class discrimination. The acquisition unit 241 of the processor 24 acquires second intermediate data output by each of the multiple neurons when the class discrimination is completed, and stores the data in the storage device 22. In this embodiment, the second intermediate data includes a second vector M2 and a second activation a2. In step S30, step S30 is executed for at least each of the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39. In addition, in step S30, the processor 24 associates a partial range on the second data elements 62A-62C, which are the second image, and which corresponds to the second intermediate data, with the second intermediate data and stores the partial range in the storage device 22. In this embodiment, step S30 is executed in step S22 of the class discrimination process shown in FIG. 9. Next, in step S32, the processor 24 reads out, from the storage device 22, first intermediate data obtained when classifying all of the first data elements 12C that have been labeled as good products as pre-labels. In this embodiment, the first intermediate data is based on the first vector M1 and the first activation a1.

[0051] Next, in step S34, the similarity calculation unit 242 of the processor 24 calculates the feature spectrum Sp in the second intermediate data of the second data elements 62A to 62C and the feature spectrum Sp in the first intermediate data of the first data element 12C of the non-defective label. Specifically, the similarity calculation unit 242 of the processor 24 calculates the feature spectrum Sp from the first intermediate data and the second intermediate data for each of the partial regions R37, R38, and R39 of the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39. In this embodiment, the feature spectrum Sp may be expressed by arranging one or more vectors M for each partial region Rx in the neuron layer by normalizing them with a mean of 0 and a variance of 1, or by normalizing them using a Softmax function. In addition, the feature spectrum Sp may be expressed by arranging each dimension or each element of the vector M for each partial region Rx by weighting them with the corresponding activation a. The weighting can be realized, for example, by taking the product of the vector M and the value of the activation a corresponding to the vector M. The feature spectrum Sp may be represented by arranging the values ​​of the activation a for each partial region R37, 38, 39 of the neuron layers 37, 38, 39. The arranged activation a may be normalized to have a mean of 0 and a variance of 1. The feature spectrum Sp may be represented by arranging the vector M and / or the activation a for each partial region R37, 38, 39 of the neuron layers 37, 38, 39. The feature spectrum Sp may be arranged by converting the multi-dimensional, 16-dimensional vector M in this embodiment into one dimension without normalization. Each partial region Rx is previously associated with a partial range of the second data elements 62A to 62C.

[0052] The graph shown in FIG. 11 corresponds to the first neuron layer 37. In the first neuron layer 37, one partial region R37 has 12 neurons arranged in the depth direction. As an example, FIG. 11 shows the activations a output by 12 neurons belonging to one partial region R37, normalized to an average of 0 and a variance of 1 and arranged in an array. The feature spectrum Sp in FIG. 11 has these normalized activations a as elements. In the example of the feature spectrum Sp shown in FIG. 11, the horizontal axis is the element number "0" to "11" for identifying the activation a corresponding to each neuron, and the vertical axis is the value of each activation a.

[0053] As shown in FIG. 10, next, in step S36, the similarity calculation unit 242 of the processor 24 calculates the similarity based on the first intermediate data and the second intermediate data. In detail, the similarity calculation unit 242 of the processor 24 calculates the similarity between the feature spectrum Sp generated from the second intermediate data of the second data elements 62A to 62C and the feature spectrum Sp generated from the first intermediate data of the first data element 12C of the non-defective label for each of the layers of the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39. That is, the similarity calculated in step S36 represents the degree to which the second image 62 to be discriminated is similar to the features of the class to which the first image 12 to be compared belongs. Therefore, the similarity calculated in step S36 is also called class-specific similarity.

[0054] In this embodiment, the similarity calculation unit 242 calculates the similarity between the partial regions Rx belonging to the same layer. Specifically, for each of the neuron layers 37, 38, 39, the similarity between one partial region Rx when the second data elements 62A-62C are given and all partial regions Rx when the first data elements 12A-12C are given is calculated. That is, the similarity calculation unit 242 calculates the similarity between the first intermediate data and the second intermediate data for each of the neuron groups corresponding to the partial regions Rx. Here, a certain partial region Rx in the neuron layers 37, 38, 39 when the first data elements 12A-12C are given and a partial region Rx in the neuron layers 37, 38, 39 when the second data elements 62A, 62B, 62C are given correspond to the partial range on the first image 12 that is the first data elements 12A-12C and the partial range on the second image 62 that is the second data elements 62A-62C, respectively. Therefore, the similarity can be interpreted as the similarity between the partial range of the first image 12 and the partial range of the second image 62. In other words, in this embodiment, the intermediate data between the first data elements 12A-12C and the second data elements 62A-62C are compared in the form of similarity with respect to all partial ranges belonging to the same layer on the first data elements 12A-12C with respect to a partial range belonging to a certain layer on the second data elements 62A-62C. However, as described later, the similarity may be obtained between the same partial ranges on the same layer. Here, the layer is associated with the size of the partial range. As described above, when the neuron layers 37, 38, 39 are different, the sizes of the first data elements 12A-12C, i.e., the partial ranges defined on the first image 12, and the second data elements 62A-62C, i.e., the partial ranges defined on the second image 62, are also different. The similarity can be any index for comparing two vectors, such as cosine similarity, mean square error (MSE), or peak signal-to-noise ratio (PSNR).

[0055] In step S36, for each partial region Rx of the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39, the highest similarity value among the similarities of the feature spectrum Sp of the first intermediate data corresponding to all the first data elements 12C is set as the similarity of the partial region Rx of the second data element 62. The similarity of the partial region Rx of the second data element 62 is stored in the storage device 22 in association with the partial image of the partial range corresponding to the partial region Rx in the second image 62 and the activation a of the partial region Rx. In another embodiment, the object of the calculation of the similarity in step S36 may be each partial region Rx at the same relative position in the same layer. Note that the similarity is calculated in order from the first neuron layer 37, which is the upper layer side, and when the similarity in the upper layer is lower than a predetermined threshold and the grounds for class discrimination can be shown in the upper layer, the similarity in the lower layers, the second neuron layer 38, and the classification neuron layer 39, may not be calculated.

[0056] Next, in step S38, the output image generating unit 244 of the processor 24 generates an output image IM0 including a ground image IME according to the calculated, i.e., derived, class-specific similarity. In this step S38, the output image generating unit 244 generates the ground image IME by giving each pixel of the ground image IME a gradation value according to the class-specific similarity. In this embodiment, the output image generating unit 244 generates partial ground images PIME according to the multiple class-specific similarities calculated in step S36 and arranges them two-dimensionally to generate the ground image IME. Next, in step S40, the display unit 26 outputs the generated output image IM0 by displaying it in response to a command from the processor 24.

[0057] Fig. 12 is a first diagram showing a ground image IME as a first ground image generated by the output image generating unit 244. The ground image IME shown in Fig. 12 is an image generated according to the class-specific similarity in the first neuron layer 37. This image is also called a first layer ground image IMEA.

[0058] The first layer ground image IMEA is formed by a plurality of partial ground images PIMEA. The partial ground image PIMEA corresponds to a neuron group located in a partial region R37, i.e., at a planar position (x, y). The output image generating unit 244 generates a two-dimensional first layer ground image IMEA by arranging a plurality of partial ground images PIMEA in an image region IR corresponding to the planar position (x, y) of the corresponding partial region R37. Each image region IR may be composed of one pixel or may be composed of a plurality of pixels. The output image generating unit 244 may also perform a correction process on the partial ground image PIMEA to generate the first layer ground image IMEA so that the resolution, i.e., the size, is the same as that of the second image 62. The correction process may be, for example, a first correction process in which a pre-correction image in which a plurality of partial ground images PIMEA are two-dimensionally arranged in the x direction and the y direction is enlarged so as to match the planar size to the planar size of the second image 62 to generate the first layer ground image IMEA. As another example, the correction process may be a second correction process in which the partial ground image PIMEA is arranged two-dimensionally in the x and y directions without being enlarged to generate an image, and then the image generated by the bicubic method is enlarged to generate the first layer ground image IMEA. In the second correction process using the bicubic method, the change in similarity can be made smoother by interpolating pixels, so that the first layer ground image IMEA can be expressed by a more continuous change in gradation value. This allows the user to roughly know the area that was the basis for discrimination. As described above, the output image generating unit 244 may perform a correction process to make the resolution of the first layer ground image IMEA correspond to the resolution of the second image. In this embodiment, the first correction process interpolates multiple pixels in one image area IR so that the plane size of 12×12 in the first neuron layer 37 is enlarged to an image of 32×32 pixels, which is the image size of the second image 62. In this embodiment, the same pixel value is assigned to each pixel in one image area IR. Here, the image area IR corresponding to the partial area Rx specified by the planar position (x, y) is represented as the image area IR(x, y).

[0059] The output image generating unit 244 generates a partial ground image PIMEA using the class-based similarities in the multiple partial regions Rx specified at each planar position calculated in the step of FIG. 10. In this embodiment, the output image generating unit 244 generates the partial ground image PIME so that the gradation value of the R component expressed in 8 bits increases as the class-based similarity decreases. Note that the gradation values ​​of the G component and the B component are set to "0" or other constant values. In FIG. 12, the denser the hatching, the larger the gradation value of the R component. In the first layer ground image IMEA shown in FIG. 12, the class-based similarity is low in an area slightly above the center in the planar position.

[0060] Fig. 13 is a second diagram showing the grounds image IME as the first grounds image generated by the output image generating unit 244. The grounds image IME shown in Fig. 13 is an image generated according to the class-specific similarity in the second neuron layer 38. This image is also called the second layer grounds image IMEB.

[0061] The second layer ground image IMEB is formed by a plurality of partial ground images PIMEB. The partial ground image PIMEB corresponds to a group of neurons located in a partial region R38, i.e., at a planar position (x, y). The output image generating unit 244 generates a two-dimensional second layer ground image IMEB by arranging a plurality of partial ground images PIMEB in an image region IR corresponding to the planar position (x, y) of the corresponding partial region R38. Each image region IR may be composed of one pixel or may be composed of a plurality of pixels. In addition, the output image generating unit 244 may generate the second layer ground image IMEB by enlarging the partial ground image PIMEB so that the size is the same as that of the second image 62. That is, the output image generating unit 244 may perform a correction process to make the resolution of the second layer ground image IMEB correspond to the resolution of the second image. Examples of the correction process include a method of interpolating pixels using bicubic or a method of interpolating pixels by assigning the same pixel value. In this embodiment, a plurality of pixels are interpolated in one image area IR so that the 3×3 plane size in the second neuron layer 38 is enlarged to an image of 32×32 pixels, which is the image size of the second image 62. Also, in this embodiment, the same pixel value is assigned to each pixel in one image area IR. Here, the image area IR corresponding to the partial area Rx specified by the plane position (x, y) is represented as an image area IR(x, y).

[0062] The output image generating unit 244 generates a partial basis image PIMEB using the class-based similarities in the multiple partial regions Rx specified at each planar position calculated in the step of FIG. 10. In this embodiment, the output image generating unit 244 generates the partial basis image PIMEB so that the gradation value of the R component expressed in 8 bits increases as the class-based similarity decreases. Note that the gradation values ​​of the G component and the B component are set to "0" or other constant values. In FIG. 13, the denser the hatching, the larger the gradation value. In the second layer basis image IMEB shown in FIG. 13, the class-based similarity is low in the upper right region at the planar position.

[0063] As described above, the output image generating unit 244 generates a two-dimensional basis image IME, but may generate a different basis image from the above as long as the basis image IME is generated according to the similarity. For example, in another embodiment, the output image generating unit 244 may generate a one-dimensional basis image IME arranged in a line, or may generate a three-dimensional basis image IME. The output image generating unit 244 may generate the partial basis image PIME by changing at least one gradation value of the RGB components according to the similarity. The output image generating unit 244 may generate the partial basis image PIME so that a different pattern is displayed according to the similarity, for example, a pattern in which the hatching interval is changed is displayed. The output image generating unit 244 may set a gradation value for each pixel constituting the partial basis image PIME so that the partial basis image PIME appears in a specific color when the class-specific similarity is lower than a predetermined threshold value. In addition, the output image generating unit 244 may set a gradation value for each pixel constituting the partial basis image PIME so that the color changes continuously as the class similarity decreases. For example, the output image generating unit 244 may set a gradation value so that the color changes from white to red as the class similarity decreases.

[0064] 14 is a schematic diagram showing an output image IM0 generated by the output image generating unit 244. The output image IM0 has an explanatory image IMP for explaining the display contents. The explanatory image IMP has a first explanatory image IM1, a second explanatory image IM2, a third explanatory image IM3, and a fourth explanatory image IM4.

[0065] The first explanation image IM1 is an image indicating that it is a field in which data to be discriminated is displayed, and in this embodiment, is a text image indicating “data to be discriminated.” In the lower field of the first explanation image IM1, a discrimination target image IM11 indicating a second image 62 described later is displayed.

[0066] The second explanatory image IM2 is illustrated in FIG. 14 for the sake of convenience in understanding this embodiment. Specifically, one of the multiple first data elements 12C used to generate the comparison source data is illustrated so that the comparison source data for comparing similarity can be understood. In this embodiment, the second explanatory image IM2 is not actually displayed on the display unit 26, but may be displayed in other embodiments. The description in this paragraph also applies to the description of FIG. 17.

[0067] The third explanatory image IM3 is an image showing the layer at which the similarity calculation was performed. The third explanatory image IM3 has a first layer explanatory image IM3a and a second layer explanatory image IM3b. The first layer explanatory image IM3a is an image showing that the first layer ground image IMEA generated according to the similarity in the first neuron layer 37 is displayed. In this embodiment, the first layer explanatory image IM3a is a text image showing "first discrimination ground (local shape)". The second layer explanatory image IM3b is an image showing that the second layer ground image IMEB generated according to the similarity in the second neuron layer 38 is displayed. In this embodiment, the second layer explanatory image IM3b is a text image showing "second discrimination ground (relative position)".

[0068] The fourth explanation image IM4 is an image indicating that it is a field for displaying the discrimination result of the label. In this embodiment, the fourth explanation image IM4 is a text image indicating "discrimination result."

[0069] The output image IM0 further includes a discrimination target image IM11, a comparison source image IM12 which is an image of the first data element 12C which is a non-defective product, a first layer ground image IMEA, a second layer ground image IMEB, and a discrimination result image IM14. The discrimination result image IM14 is an image showing the class discrimination result generated in step S24 in Fig. 9. In Fig. 14, the discrimination result image IM14 is either a character image representing "non-defective product" or a character image representing "defective product".

[0070] The discrimination target image IM11 is an image displayed in the lower section of the first explanation image IM1, and is an image showing the second image 62 to be discriminated of the label. When there are multiple second images 62 to be discriminated, the discrimination target images IM11 may be displayed multiple times, or may be displayed one by one on a separate screen. In the example shown in Fig. 14, two discrimination target images IM11 are displayed: a discrimination target image IM11 for a second data element 62B representing a double digit, and a discrimination target image IM11 for a second data element 62C representing a triple digit.

[0071] The first layer ground image IMEA is an image displayed in the lower section of the first layer explanatory image IM3a, and is the image shown in Fig. 12. The second layer ground image IMEB is an image displayed in the lower section of the second layer explanatory image IM3b, and is the image shown in Fig. 13.

[0072] When the discrimination target data is an image of a dice number, the class-specific similarity of each partial region R37 calculated in the first neuron layer 37 is high. Therefore, the first layer ground image IMEA does not have a dark red area, or an area hatched in the figure. On the other hand, when the discrimination target data is an image of a dice number, the class-specific similarity is low in the partial region R38 corresponding to the partial range of the image in which the relative positions of the dice numbers are different in the second neuron layer 38. Therefore, the second layer ground image IMEB is generated as a partial ground image PIMEB with a high gradation value of the R component. This allows the user to visually know the reason why the discrimination target image IM11 has been labeled as a defective product.

[0073] On the other hand, when the discrimination target data is an image of a triangle, the class-specific similarity of each partial region R37, 38 is high in both the first neuron layer 37 and the second neuron layer 38. Therefore, there is no red region, or a hatched region in the figure, in both the first layer ground image IMEA and the second layer ground image IMEB.

[0074] As described above, by calculating the similarity based on the first intermediate data and the second intermediate data, the processor 24 can generate a grounds image IME indicating the grounds of discrimination according to the similarity and output it to the display unit 26. This allows the user to easily know the grounds of discrimination of the second data element 62 using the machine learning model 30. In addition, in the process of step S36 in FIG. 10, the similarity between the first intermediate data of the first partial data element and the second intermediate data of the second partial data element in the area corresponding to the first partial data element is calculated, so that the similarity between the first partial data element and the second partial data element can be calculated. As a result, the output image IM0 including the grounds image IME is displayed using the display unit 26, so that it is possible to easily know, for example, which partial range in the second data element is used as the grounds for discriminating the label. Therefore, the user can easily understand the grounds of discrimination, such as which neuron layers 37, 38, and 39 are used as the grounds for discriminating the label. That is, the user can grasp from the output image IM0 the portions similar to the non-defective product and the portions not similar to the non-defective product, as well as their respective positions and sizes, for the second data elements 62A-62C, which are the data to be discriminated. Note that in the process of step S36, the objects of the calculation of similarity do not have to be the first intermediate data and the second intermediate data from the partial regions Rx at the same relative positions in the neuron layers 37, 38, and 39. Even in this way, by outputting the output image IM0, the user can easily grasp information such as which neuron layer 37, 38, and 39 was used as the basis for the label discrimination, and which partial region Rx was used as the basis.

[0075] Fig. 15 is a flowchart of the second explanation process. The second explanation process is executed by the processor 24. The second explanation process is a process for determining whether or not the second data elements 62A-62E are the same type as the known first data elements 12A-12C used in learning the machine learning model 30, and for explaining the reason for this. Fig. 16 is a diagram for explaining the second image 62a. In short, the second explanation process can be said to be a process for explaining whether unknown data was forcibly determined or determined as known data.

[0076] As shown in FIG. 16, the second image 62a has five types of second data elements 62A to 62E. The second data elements 62A, 62B, and 62C are the same as the second data elements 62A, 62B, and 62C shown in FIG. 6, respectively, and are image data elements obtained by imaging a dice, which is an object of the same type as the first data elements 12A to 12C used in training the machine learning model 30. The second data elements 62D and 62E are images obtained by imaging a dice, which is an object of a different type from the first data elements 12A to 12C used in training the machine learning model 30. Specifically, the second data element 62D is an image obtained by imaging a dice with a cross mark at the center of the three on each side. The second data element 62E is an image obtained by imaging a dice with a four on each side. As described above, the second data elements 62D and 62E are unknown types of data elements that were not used in training the machine learning model 30. The size of the second data elements 62A-62E is, for example, 32×32 pixels, the same as when learning the machine learning model 30. Also, 1100 of each of the second data elements 62A-62E are prepared, with the positions of the dice varying by a maximum of ±2 pixels and the sizes of the dice varying by a maximum of ±2 pixels. The prepared second data elements 62A-62E are input one by one to the machine learning model 30, whereby the classes are determined, i.e., the labels are determined.

[0077] 15, in step S30, the processor 24 inputs the second data elements 62A-62E one by one into the trained machine learning model 30, and performs class discrimination for each of the second data elements 62A-62E. Then, when the class discrimination is completed, the processor 24 acquires second intermediate data for each of the second data elements 62A-62E from the machine learning model 30. Step S30 shown in FIG. 15 is the same process as step S30 shown in FIG. 10. Next, in step S32a, the processor 24 extracts all of the first intermediate data for each of the first data elements 12A-12C used in training the machine learning model 30 stored in the storage device 22.

[0078] Next, in step S34a, processor 24 calculates the feature spectrum Sp of second data elements 62A-62E input to machine learning model 30 and the feature spectrum Sp of extracted first data elements 12A-12C. The calculation method is similar to the method described in step S34 of Fig. 10, and therefore description thereof will be omitted here.

[0079] Next, in step S36a, the similarity calculation unit 242 of the processor 24 calculates the similarity between the feature spectrum Sp in the second intermediate data of the second data elements 62A-62C and the feature spectrum Sp in the first intermediate data of the first data elements 12A-12C. As the similarity, for example, cosine similarity is used. In step S36a, for each partial region Rx of the first neuron layer 37, the second neuron layer 38, and the classification neuron layer 39, the value with the highest similarity to all the first data elements 12A-12C is set as the similarity of the partial region Rx. In other words, the similarity calculated in step S36a represents the degree to which the second image 62a to be discriminated is similar to the features of the known first image 12 to be compared. Therefore, the similarity calculated in step S36a is also called known similarity. The similarity of the partial region Rx is stored in the storage device 22 in association with the partial range of the image to which the partial region Rx corresponds and with the activation a of the partial region Rx.

[0080] Next, in step S38a, the output image generating unit 244 of the processor 24 generates an output image IM0a including a ground image IMEa according to the calculated known similarity, i.e., the derived similarity. Next, in step S40a, the display unit 26 outputs the generated output image by displaying it in response to a command from the processor 24. The method of generating the ground image is the same as that described in step S38 of the first explanatory process and in Figs. 12 and 13 above, and therefore will not be described here.

[0081] FIG. 17 is a schematic diagram showing an output image IM0a generated by the output image generating unit 244. The same components as those of the output image IM0 shown in FIG. 14 are given the same reference numerals and will not be described. The discrimination result image IM14a displayed in the lower section of the fourth explanatory image IM4 is either an image representing "known" indicating that the data is the same type used in training the machine learning model 30, or an image representing "unknown" indicating that the data is an unknown type. The comparison source image IM12a is an image representing the first data elements 12A to 12C used in training the machine learning model 30. In this embodiment, the images displayed here are the first data elements 12A, 12B, and 12C, each of which is randomly selected from the multiple first data elements 12A, 12B, and 12C.

[0082] When the discrimination target data is the second data element 62D shown in FIG. 16, the known similarity is low in the partial region R37 corresponding to the central partial range in the second data element 62D where a cross is displayed. Therefore, a red image is displayed in the partial ground image PIMEA located in the central region of the first layer ground image IMEA corresponding to the central partial range of the second image 62D. When the discrimination target data is the second data element 62D, the class discrimination of "unknown" is determined based on the similarity in the first neuron layer 37. Therefore, the output image generating unit 244 does not need to generate the partial ground image PIMEB of the lower layer. Note that the output image generating unit 244 may generate the second layer ground image IMEB indicating the second discrimination ground of the lower layer even when the class discrimination is determined by the upper layer.

[0083] When the discrimination target data is the second data element 62E shown in FIG. 16, the second data element 62E is an image of a four-eye, so the local shape is similar to the first data elements 12A to 12C, which are the correct answer data. Therefore, in the first neuron layer 37, the known similarity calculated by the similarity calculation unit 242 shows a high value. Therefore, the output image generation unit 244 generates a ground image IME that does not have a red partial ground image PIMEA. On the other hand, in the second neuron layer 38, which calculates the similarity by comparing the relative positions in the local shape, the known similarity of the partial area R38 corresponding to the partial range including the image of the four eyes becomes low. Therefore, a second layer ground image IMEB including a red partial ground image PIMEB is generated. In the second layer ground image IMEB shown in FIG. 17, the partial ground images PIMEB other than the upper left and lower right are displayed with the same gradation value indicating the same similarity, and in this embodiment, the same red color.

[0084] As described above, the second explanation process has the same configuration and performs the same processing as the first explanation process, and thus has the same effect. For example, by calculating the similarity based on the first intermediate data and the second intermediate data, the processor 24 can generate and output a grounds image IME according to the similarity. This allows the user to easily know the grounds for determining the second data element 62 using the machine learning model 30.

[0085] According to the above embodiment, in the first explanation process and the second explanation process, a basis image IME according to the similarity is generated and displayed, so that the user can easily know the basis for label discrimination using the machine learning model 30. Also, according to the above embodiment, a gradation value is assigned to the pixel of the basis image IME according to the similarity, so that the user can easily know the basis for discrimination from the difference in the gradation value. For example, in this embodiment, the user can easily know that an area with a dark red color in the basis image IME is an area different from the correct answer data, that is, an area with a low similarity.

[0086] B. Second embodiment: Fig. 18 is a diagram showing a basis image IMEa as the second basis image of the second embodiment. Fig. 18 shows a first layer basis image IMEBa, but the same is true for the second layer basis image IMEBa. The output image generating unit 244 may generate a basis image IMEa described below instead of the basis image IMEa of the first embodiment.

[0087] The basis image IMEa as the second basis image is formed by executing a synthesis process of synthesizing the plurality of partial basis images PIME described in the first embodiment with the second image 62 by the output image generating unit 244. The output image generating unit 244 forms the basis image IMEa by executing, for example, either a first synthesis process or a second synthesis process described in detail below.

[0088] In the first synthesis process, the output image generating unit 244 forms a basis image IMEa by superimposing a plurality of partial basis images PIME described in the first embodiment on corresponding areas of the second image 62. That is, the output image generating unit 244 performs the above-mentioned first correction process for adjusting the plane size of a pre-correction image in which a plurality of partial basis images PIME are two-dimensionally arranged in the x direction and the y direction to the plane size of the second image 62, which is the discrimination target data, to generate a corrected image. Then, the output image generating unit 244 superimposes the corrected image on the second image 62 to synthesize the corrected image and the second image 62. The first synthesis process forms a basis image IMEa shown in FIG. 18.

[0089] In the second synthesis process, the output image generation unit 244 performs the following process to form the ground image IMEa. First, the output image generation unit 244 acquires partial images of the second image 62 corresponding to each of the plurality of partial ground images PIME, and generates a plurality of partial overlapped images by overlapping the partial ground image PIME and the corresponding partial image. Then, the output image generation unit 244 forms the ground image IMEa by arranging the plurality of partial overlapped images two-dimensionally in the x direction and the y direction. In the second synthesis process, the partial ground image PIME and the partial image of the second image 62 can be overlapped while also taking into account the stride in the machine learning model 30. This makes it possible to form the ground image IMEa that better reflects the correspondence between each partial image of the second image 62 and each partial ground image PIME.

[0090] In the above synthesis process, the output image generating unit 244 synthesizes the images by performing an inter-image operation, for example, by adding together pixel values ​​of the corrected image and pixel values ​​of the second image 62. Alternatively, for example, the output image generating unit 244 may synthesize the images by performing an inter-image operation while setting the transmittance of each of the corrected image and the second image 62. In the example shown in FIG. 18, the similarity is low for the partial region Rx corresponding to the partial range in the second image 62 in which the cross mark is formed. Therefore, the partial basis image PIME corresponding to the partial range in the second image 62 in which the cross mark is formed is displayed in red by setting the gradation value of the R component higher than that of the partial basis images PIME at other planar positions.

[0091] According to the second embodiment, in addition to the effects of the first embodiment, the following effects are achieved. That is, the second basis image IMEa is generated by superimposing a plurality of partial basis images PIME on corresponding areas of the second image 62. This allows the user to intuitively know the basis for determining which areas of the second image 62 have a low similarity to the correct answer data.

[0092] C. Third embodiment: Fig. 19 is a diagram showing a discrimination device 20b of the third embodiment. The discrimination device 20b differs from the discrimination device 20 of the first embodiment shown in Fig. 19 in that the discrimination device 20b newly has correspondence data 36 and in the processing contents of the output image generating unit 244b. The other configurations are the same as those of the first embodiment, so the same reference numerals are used for the same configurations and the description will be omitted.

[0093] The storage device 22 of the discrimination device 20b newly stores the correspondence data 36. The correspondence data 36 is data in which the RGB color components and the number of gradations of each color component used to form the partial basis image PIME correspond to a gradation value according to the similarity. The RGB color components and the number of gradations of each color component are determined by an input from the user. This input from the user will be described later. Here, the RGB color components and the number of gradations of each color component used to form the partial basis image PIME function as expression parameters for expressing the partial basis image PIME.

[0094] The output image generating unit 244b generates output images IM0, IM0a including the basis images IME, IMEa according to the similarity calculated by the similarity calculating unit 242. Specifically, the output image generating unit 244b refers to the correspondence data 36 and assigns a gradation value according to the similarity associated with the expression parameter to each pixel of the partial basis image PIME.

[0095] 20 is a diagram showing an input acceptance image IMI that accepts input of various settings for generating the basis images IME and IMEa. The input acceptance image IMI is displayed, for example, on the display unit 26. The input acceptance image IMI includes a first acceptance image IMI1, a second acceptance image IMI2, and a third acceptance image IMI3.

[0096] The first reception image IMI1 is an image for receiving an image generation command to cause the output image generating unit 244 to generate, as a basis image, at least one of the first basis image IME shown in Fig. 12 and Fig. 13 and the second basis image IMEa shown in Fig. 18. The first reception image IMI1 has check box images corresponding to the first basis image IME and the second basis image IMEa. The user selects the check box image in the left column of the basis image that the user wishes to display as the basis image.

[0097] The second reception image IMI2 is an image that receives the expression parameters of the partial ground image. In the example shown in FIG. 20, the expression parameters of the partial ground image are four: "monochrome gradation", "monochrome square step", "multiple color gradation", and "multiple color square step". The monochrome gradation is an expression method that continuously changes the gradation value of one color component according to the similarity. The multicolor gradation is an expression method that continuously changes the gradation values ​​of three color components according to the similarity. The "monochrome square step" is an expression method that gradually changes the gradation value of one color component according to the similarity, and the same gradation value is assigned to the similarity of values ​​in a certain range. The "multiple color square paragraph" is an expression method that gradually changes the gradation values ​​of three color components according to the similarity. The "square" of the second reception image IMI2 allows the user to select the number of gradations, which is the number of gradation values ​​that express the partial ground image PIME, by using a pull-down menu. The second reception image IMI2 has checkbox images corresponding to four expression parameters. The user selects one of the four expression parameters by selecting the checkbox image. Furthermore, the user selects the number of gradations when the partial basis image PIME is expressed with multiple gradation values.

[0098] The third reception image IMI3 is an image for accepting the contents entered in the first reception image IMI1 and the second reception image IMI2 as an image generation command. The user selects the third reception image IMI3 with a cursor or the like, and the image generation command is accepted by the processor 24. The output image generation unit 244 of the processor 24 generates basis images IME, IMEa according to the accepted image generation command. For example, the output image generation unit 244 generates a partial basis image PIME by using the accepted expression parameters and the correspondence data 36 to assign to pixels tone values ​​of color components according to the similarity.

[0099] The third embodiment has the same effects as the first and second embodiments in that it has the same configuration as the first and second embodiments. Also, the third embodiment allows a user to use the input acceptance image IMI to display the basis images IME, IMEa in a display form such as a desired display method or expression method of the basis images IME, IMEa.

[0100] D. Other embodiments: D-1. Other embodiment 1: In the above embodiments, the machine learning model used in each embodiment is a vector neural network type machine learning model, but is not limited to this, and is not limited to the above as long as it is a machine learning model in which vector neurons, whose input and output are vectors, are used as neurons of the network. For example, the machine learning model may be a machine learning model using a capsule network.

[0101] D-2. Other embodiment 2: The feature spectrum Sp for calculating the similarity is not limited to the above-mentioned embodiments. For example, the similarity calculation unit 242 may generate the feature spectrum Sp by weighting the vector M of the partial region Rx with a correction value obtained by applying a softmax function to the value of the activation a, or may generate the feature spectrum Sp by arranging the values ​​of the vector M for each element of the vector M of the partial region Rx rearranged in one dimension. In other words, the method of calculating the similarity may be to calculate the similarity between the feature spectrum Sp of the first vector M1 and the feature spectrum Sp of the second vector M2.

[0102] D-3. Other embodiment 3: In the above embodiments, the similarity between the feature spectrum Sp of the first intermediate data and the feature spectrum Sp of the second intermediate data is the cosine similarity, but this is not limited thereto, and various similarities may be used depending on the element for comparing the similarity. For example, the similarity may be a square error. Also, for example, the similarity may be a similarity based on the inner product or cross product of two vectors, a distance between two points represented by two vectors, or a similarity based on a norm.

[0103] D-4. Other embodiment 4: In the above embodiment, the first explanation process and the second explanation process may be configured to be automatically switchable by the processor 24. For example, when the first explanation process is being executed, the processor 24 may switch from the first explanation process to the second explanation process if the rate of items determined to be defective relative to the total number of input data elements becomes equal to or greater than a predetermined value.

[0104] D-5. Other embodiment 5: In the above embodiment, the program stored in the non-volatile storage medium 23 is executed by one processor 24, but may be executed by two or more processors 24.

[0105] D-6. Other embodiment 6: The method of generating the first intermediate data and the second intermediate data is not limited to the above embodiment, and for example, the first intermediate data and the second intermediate data may be generated using the Kmeans method. Also, the first intermediate data and the second intermediate data may be generated using a conversion such as PCA, ICA, Fisher, etc. Also, the conversion methods for the first intermediate data and the second intermediate data may be different.

[0106] D-7. Other embodiment 7: In the above-described embodiments, the discrimination device 20, 20b is a single device, but may be configured with a plurality of devices. In this case, the plurality of devices are configured to be capable of data communication by wire or wirelessly.

[0107] E. Other forms: The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various forms without departing from the spirit of the present disclosure. For example, the present disclosure can be realized in the following aspects. The technical features in the above-mentioned embodiments corresponding to the technical features in each aspect described below can be appropriately replaced or combined in order to solve some or all of the problems of the present disclosure, or to achieve some or all of the effects of the present disclosure. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted.

[0108] (1) According to a first embodiment of the present disclosure, a method is provided in which an apparatus uses a vector neural network type machine learning model. The machine learning model is trained to reproduce the correspondence between a plurality of first images and a prior label corresponding to each of the plurality of first images. The machine learning model has one or more neuron layers, each of the one or more neuron layers has one or more neuron groups, and each of the one or more neuron groups has one or more neurons. The apparatus stores first intermediate data based on at least one of a first vector and a first activation output by the one or more neurons when the plurality of first images are input to the trained machine learning model, in association with the neurons. The method includes a step of inputting a second image of the object to the machine learning model, and acquiring second intermediate data based on at least one of a second vector and a second activation possessed by the one or more neurons for each of the one or more neuron layers, a step of calculating a similarity between the first intermediate data and the second intermediate data in the one or more neuron layers, a step of generating a ground image according to the similarity, and a step of displaying the generated ground image. According to this aspect, a grounds image according to the similarity is generated and displayed, so that the user can easily know the grounds for discrimination.

[0109] (2) In the above embodiment, the generating step may include a step of generating the basis image by assigning a gradation value to each pixel of the basis image according to the similarity. According to this embodiment, since a gradation value is assigned to each pixel of the basis image according to the similarity, a user can easily know the basis for discrimination by the difference in gradation value.

[0110] (3) In the above embodiment, the machine learning model may have a plurality of neuron groups, the calculating step may calculate a similarity between the first intermediate data and the second intermediate data for each of the plurality of neuron groups, the generating step may generate the basis image by generating and arranging partial basis images according to the calculated similarities, and the basis image generated in the generating step may be at least one of a first basis image formed by the plurality of partial basis images and a second basis image formed by combining the plurality of partial basis images and the second image. According to this embodiment, a user can easily know the basis for discrimination by at least one of the first basis image and the second basis image.

[0111] (4) In the above embodiment, the method may further include a step of receiving an image generation command to generate at least one of the first and second basis images, and the generating step may generate the basis image according to the received image generation command. According to this embodiment, the user can select a basis image having a desired display form.

[0112] (5) In the above embodiment, the device stores correspondence data that associates color components and gradation levels used to form the partial basis image with gradation values ​​corresponding to the similarity, and the method further includes a step of receiving expression parameters including the color components and the gradation levels used to generate the partial basis image, and the generating step may include a step of generating the partial basis image by using the received expression parameters and the correspondence data to assign the gradation values ​​of the color components corresponding to the similarity to pixels of the partial basis image. According to this embodiment, it is possible to display the basis image in a display form desired by the user.

[0113] (6) According to a second aspect of the present disclosure, there is provided an apparatus using a vector neural network type machine learning model. The device includes: (i) a machine learning model trained to reproduce correspondences between a plurality of first images, the plurality of first images, and prior labels corresponding to each of the plurality of first images, the machine learning model having one or more neuron layers, each of the one or more neuron layers having one or more neuron groups, each of the one or more neuron groups having one or more neurons; (ii) a storage device that stores first intermediate data based on at least one of a first vector and a first activation output by the one or more neurons when the plurality of first images are input to the machine learning model, the first intermediate data being associated with the neurons; an acquisition unit that inputs a second image of an object to the machine learning model and acquires, for each of the one or more neuron layers, second intermediate data based on at least one of a second vector and a second activation possessed by the one or more neurons; a similarity calculation unit that calculates a similarity between the first intermediate data and the second intermediate data in the one or more neuron layers; an output image generation unit that generates a ground image according to the similarity; and a display unit that displays the generated ground image. According to this aspect, a grounds image according to the similarity is generated and displayed, so that the user can easily know the grounds for discrimination.

[0114] (7) According to a third aspect of the present disclosure, there is provided a computer program for causing a computer to execute a vector neural network type machine learning model. The machine learning model is trained to reproduce the correspondence between a plurality of first images and a prior label corresponding to each of the plurality of first images. The machine learning model has one or more neuron layers, each of the one or more neuron layers has one or more neuron groups, and each of the one or more neuron groups has one or more neurons. The computer stores, in association with the neurons, first intermediate data based on at least one of a first vector and a first activation output by the one or more neurons when the plurality of first images are input to the trained machine learning model. This computer program includes an acquisition function for inputting a second image of an object to the machine learning model and acquiring, for each of the one or more neuron layers, second intermediate data based on at least one of a second vector and a second activation possessed by the one or more neurons, a similarity calculation function for calculating a similarity between the first intermediate data and the second intermediate data in the one or more neuron layers, an output image generation function for generating a grounds image according to the similarity, and a display function for displaying the generated grounds image. According to this embodiment, a grounds image according to the similarity is generated and displayed, so that a user can easily know the grounds for discrimination.

[0115] In addition to the above forms, the present disclosure can be realized in the form of a computer-readable non-transitory tangible storage medium having a computer program recorded thereon. [Explanation of symbols]

[0116] IM0, IM0a...output image, IM1...first explanatory image, IM11...image to be discriminated, IM12, IM12a...original image to be compared, IM14, IM14a...discrimination result image, IM2...second explanatory image, IM3...third explanatory image, IM3a...first layer explanatory image, IM3b...second layer explanatory image, IM14...fourth explanatory image, IME...first basis image, IMEAA...first layer basis image, IMEB, IMEBa...second layer basis image, IMEa...second basis image, IMI...input accepted image, IMI1...first accepted image, IMI2...second accepted image, IMI3...third accepted image, IMP...explanation image, IR...image area, PIME...partial basis image, PIMEB...partial basis image, Rx...partial area, 10...first input Force dataset, 12...first image, 12A to 12C...first data element, 14, 14A to 14C...pre-label, 20, 20b...discrimination device, 22...storage device, 23...non-volatile storage medium, 24...processor, 26...display unit, 30...machine learning model, 32...collected data element, 33...convolutional layer, 35...primary neuron layer, 36...correspondence data, 37...first neuron layer, 38...second neuron layer, 39...classification neuron layer, 60...second input dataset, 62...second image, 62A to 62E...second data element, 62a...second image, 100...discrimination system, 240...learning unit, 241...acquisition unit, 242...similarity calculation unit, 244, 244b...output image generation unit

Claims

1. A method implemented by an apparatus using a machine learning model of vector neural network type, comprising: The machine learning model is trained to reproduce correspondences between a plurality of first images and a prior label corresponding to each of the plurality of first images; the machine learning model has a plurality of neuronal layers, each of the plurality of neuronal layers having a plurality of neuronal populations, each of the plurality of neuronal populations having a plurality of neurons; The device stores first intermediate data based on at least one of a first vector and a first activation output from the plurality of neurons when the plurality of first images are input to the trained machine learning model, in association with the neurons; The method comprises: inputting a second image of the object into the machine learning model to obtain, for each of the plurality of the neuron layers, second intermediate data based on at least one of a second vector and a second activation of the plurality of the neurons; Calculating a similarity between the first intermediate data and the second intermediate data in at least one of the plurality of neuron layers; generating a grounds image according to the degree of similarity; and displaying the generated evidence image.

2. 2. The method of claim 1 , The generating step includes a step of generating the basis image by assigning a gradation value according to the degree of similarity to pixels of the basis image.

3. 3. The method of claim 2, the calculating step includes calculating a similarity between the first intermediate data and the second intermediate data for each of the plurality of neuron groups; the generating step generates the basis image by generating and arranging a plurality of partial basis images according to the calculated similarities; The ground image generated in the generating step is A first basis image formed by the plurality of partial basis images; a second basis image formed by combining the plurality of partial basis images with the second image.

4. 4. The method of claim 3 further comprising: receiving an image generation command to generate at least one of the first basis image and the second basis image; A method, wherein the generating step generates the basis image in accordance with the received image generation command.

5. 5. The method according to claim 3 or claim 4, the device stores correspondence data in which color components and a number of gradations used to form the partial basis image are associated with gradation values ​​according to the similarity; The method further includes a step of receiving expression parameters including the color components and the number of gradations used to generate the partial basis image; The method, wherein the generating step includes a step of generating the partial basis image by using the received expression parameters and the correspondence data to assign the gradation value of the color component corresponding to the similarity to the pixels of the partial basis image.

6. An apparatus using a vector neural network type machine learning model, (i) a machine learning model trained to reproduce correspondences between a plurality of first images, the plurality of first images, and prior labels corresponding to each of the plurality of first images, the machine learning model having a plurality of neuron layers, each of the plurality of neuron layers having a plurality of neuron groups, each of the plurality of neuron groups having a plurality of neurons; and (ii) a storage device that stores first intermediate data based on at least one of a first vector and a first activation output by the plurality of neurons when the plurality of first images are input to the machine learning model, the first intermediate data being associated with the neurons; an acquisition unit that inputs a second image of an object to the machine learning model and acquires, for each of the plurality of neuron layers, second intermediate data based on at least one of a second vector and a second activation of the plurality of neurons; a similarity calculation unit that calculates a similarity between the first intermediate data and the second intermediate data in at least one of the plurality of neuron layers; an output image generating unit that generates a ground image according to the similarity; A display unit that displays the generated basis image.

7. A computer program for causing a computer to execute a vector neural network type machine learning model, The machine learning model is trained to reproduce correspondences between a plurality of first images and a prior label corresponding to each of the plurality of first images; the machine learning model has a plurality of neuronal layers, each of the plurality of neuronal layers having a plurality of neuronal populations, each of the plurality of neuronal populations having a plurality of neurons; the computer stores first intermediate data based on at least one of a first vector and a first activation output from the plurality of neurons in response to the input of the plurality of first images to the trained machine learning model, in association with the neurons; The computer program comprises: an acquisition function for inputting a second image of an object into the machine learning model to acquire, for each of the plurality of neuron layers, second intermediate data based on at least one of a second vector and a second activation of the plurality of neurons; a similarity calculation function for calculating a similarity between the first intermediate data and the second intermediate data in at least one of the plurality of neuron layers; an output image generating function for generating a ground image according to the similarity; A computer program comprising: a display function for displaying the generated basis image.

Citation Information

Patent Citations

  • Inference device, inference method and program

    JP2019082883A

  • Inspection device, data generation device, data generation method, and data generation program

    JP2019087044A

  • Capsule Neural Network

    JP2021501392A