Information processing system and computer program
The information processing system addresses the challenge of evaluating classification accuracy for function approximators by assigning attributes and determining normal/abnormal status, enabling effective calculation of overdetection and missed rates, thus enhancing product inspection accuracy.
Patent Information
- Application Number
- PCT/JP2024/006563
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-02-22
- Publication Date
- 2024-09-06
AI Technical Summary
Current image recognition processing using function approximators, such as AI models in factories, faces challenges in calculating the overdetection and missed rates due to the lack of distinction between normal and abnormal classifications, making it difficult to evaluate classification accuracy, especially for multiple classes.
An information processing system that assigns normal or abnormal attributes to classes, generates a function approximator through image-based learning, estimates subjects in evaluation images, determines normal or abnormal status, and evaluates the model based on registration and determination results, allowing for the calculation of overdetection and missed rates.
Enables accurate evaluation of classification accuracy for function approximators by distinguishing between normal and abnormal classifications, providing insights into overdetection and missed rates, thereby improving product quality control.
Smart Images

Figure JP2024006563_06092024_PF_FP
Abstract
Description
Information processing system and computer program
[0001] The present disclosure relates to data processing technology, and more particularly to information processing systems and computer programs.
[0002] For example, Deep Learning is used for image recognition processing. Deep Learning is known as a machine learning methodology using a multi-layer neural network, and the multi-layer neural network uses, for example, a convolutional neural network. A convolutional neural network is formed by a multi-layer neural network that repeats convolution and pooling of local regions. Furthermore, a fully convolutional neural network structure has been proposed in which the fully connected layer constituting a convolutional neural network is replaced by a convolutional layer (see, for example, Non-Patent Document 1).
[0003] Jonathan Long, Evan Shelhamer, Trevor Darrell, “Fully Convolutional Networks for Semantic Segmentation”, The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2015, pp. 3431-3440
[0004] In recent years, image recognition processing using function approximators created by machine learning has been used in the inspection of products manufactured in factories, etc. Important indicators for evaluating the accuracy of function approximators include the overdetection rate and the overlooked rate. However, classification using function approximators does not distinguish between normal and abnormal. Therefore, it has been difficult to calculate the overdetection rate and the overlooked rate in classification using function approximators.
[0005] The present disclosure has been made in consideration of the above-mentioned problems, and one object of the present disclosure is to provide a technology that supports evaluation of classification accuracy using a function approximator.
[0006] In order to solve the above problem, an information processing system of one embodiment of the present invention includes a reception unit that receives registration of multiple classes corresponding to normal attributes or abnormal attributes, a model generation unit that generates a function approximator by learning based on multiple training images corresponding to any of the multiple classes, an estimation unit that uses the function approximator to estimate the locations corresponding to each class in each of multiple evaluation images registered as depicting normal subjects or abnormal subjects, a determination unit that determines whether the subject in each evaluation image is normal or abnormal based on the result of combining the locations in each evaluation image that correspond to the class corresponding to the abnormal attribute, and an evaluation unit that evaluates the function approximator based on whether each evaluation image was registered as depicting a normal subject or an abnormal subject and the determination result of whether the subject in each evaluation image is normal or abnormal.
[0007] Any combination of the above components, or any conversion of the expression of the present disclosure between an apparatus, a method, a computer program, a recording medium on which a computer program is recorded, etc., is also valid as an aspect of the present disclosure.
[0008] The technology of the present disclosure can assist in evaluating the classification accuracy using a function approximator.
[0009] 6A to 6F are diagrams showing examples of response maps. A diagram showing an example of an NG response map. A diagram showing an NG response map after the NG response map of FIG. 7 has been binarized. A diagram showing an NG response map after area filtering has been performed on the NG response map of FIG. 8. A diagram showing an example of an evaluation screen. A block diagram showing functional blocks of the AI processing device of FIG. 1. A flowchart showing the operation of the AI processing device of FIG. 1. A diagram showing an example of an image registration screen. A diagram showing an example of a class management screen. FIG. 6A is a diagram showing an example of an evaluation image, and FIGS. 6B to 6F are diagrams showing examples of response maps. A diagram showing an example of an NG response map. A diagram showing an NG response map after the NG response map of FIG. 7 has been binarized. A diagram showing an NG response map after area filtering has been performed on the NG response map of FIG. 8. A diagram showing an example of an evaluation screen. A diagram showing an example of a binarization threshold graph. A diagram showing an example of an area threshold graph.
[0010] The subject of the device or method in the present disclosure includes a computer. The computer executes a program to realize the functions of the subject of the device or method in the present disclosure. The computer includes, as its main hardware configuration, a processor that operates according to the program. The processor may be of any type as long as it can realize the functions by executing the program. The processor is composed of one or more electronic circuits, including a semiconductor integrated circuit (IC) or an LSI (large scale integration). While the terms IC and LSI are used here, the term may be changed depending on the degree of integration, and may also be called a system LSI, a VLSI (very large scale integration), or a USLI (ultra large scale integration). A field programmable gate array (FPGA), which is programmed after the LSI is manufactured, or a reconfigurable logic device that can reconfigure the connections within the LSI or set up circuit partitions within the LSI, can also be used for the same purpose. Multiple electronic circuits may be integrated on a single chip or may be provided on multiple chips. Multiple chips may be integrated into a single device or may be provided on multiple devices. The program may be recorded on a non-transitory recording medium such as a computer-readable read-only memory (ROM), optical disk, or hard disk drive, or on a temporary storage medium such as a computer-readable random access memory (RAM). The program may be pre-stored on a recording medium or may be supplied to a recording medium or storage medium via a wide area communication network, including the Internet.
[0011] First, an overview of the technology of the embodiment will be described. In recent years, image recognition processing using a function approximator created by machine learning has been utilized in the inspection of products manufactured in factories, etc. The function approximator can also be referred to as a mathematical model or an AI model, and is referred to as an inspection AI in the embodiment. The overdetection rate and the overlooked rate are important indicators for determining the accuracy of the inspection AI. The overdetection rate is the rate at which an object in an image is detected as abnormal despite the object being actually normal. A high overdetection rate results in a poor product yield. The overlooked rate is the rate at which an object in an image is not detected as abnormal despite the object being actually abnormal; in other words, the rate at which an object that is actually abnormal is determined to be normal. A high overlooked rate increases the possibility of defective products being released onto the market.
[0012] To calculate the overdetection rate and overlooked rate, it is necessary to classify the results of classification by the inspection AI into either normal or abnormal. However, classification by inspection AI does not distinguish between normal and abnormal. Therefore, it has been difficult to calculate the overdetection rate and overlooked rate in classification by inspection AI up to now. In particular, it has been difficult to calculate the overdetection rate and overlooked rate in classification with three or more classes. Therefore, in the information processing system of the embodiment, a normal attribute or an abnormal attribute is assigned as an attribute to each of multiple classes (also called "judgment categories") that are candidates for classification by the inspection AI. This makes it possible to calculate the overdetection rate and overlooked rate for the inspection AI.
[0013] A normal attribute refers to a class that is detected from an object to be inspected (e.g., a subject in an image) when the object is normal. An abnormal attribute refers to a class that is detected from an object to be inspected (e.g., a subject in an image) when the object is abnormal. Hereinafter, a normal attribute is also referred to as an "OK category," and an abnormal attribute is also referred to as an "NG (No Good) category."
[0014] The technology of the embodiment will now be described in detail. Fig. 1 shows the configuration of an information processing system 10 according to the embodiment. The information processing system 10 includes an AI processing device 12 and a plurality of user terminals 14. The devices shown in Fig. 1 are connected via a communication network 16, which may include a LAN, a WAN, the Internet, or the like.
[0015] The AI processing device 12 is an information processing device that executes processes related to the generation and evaluation of inspection AI. The AI processing device 12 of the embodiment is a cloud server that provides a data processing service as a cloud service.
[0016] The multiple user terminals 14 are information processing devices operated by multiple users who use the services of the AI processing device 12, and are, for example, information processing devices operated by a developer of an inspection system using inspection AI. The multiple user terminals 14 include user terminal 14a, user terminal 14b, and user terminal 14c operated by different users. The user terminal 14 may be a PC, a tablet terminal, or a smartphone.
[0017] In the embodiment, the AI processing device 12 has a web server function. The AI processing device 12 provides web content (HTML data, etc.) related to the development and evaluation of inspection AI to the user terminal 14. The user terminal 14 accesses the AI processing device 12 via a web browser. The user terminal 14 also displays the web content (for example, an AI management screen, described below) provided by the AI processing device 12 on a specified display.
[0018] Figure 2 is a block diagram showing the functional blocks of the AI processing device 12 in Figure 1. Each block shown in the block diagram of the present disclosure can be realized in hardware terms by elements and mechanical devices such as a computer's CPU and memory, and in software terms by a computer program, etc., but here, the functional blocks realized by the cooperation of these elements are depicted. Those skilled in the art will understand that these functional blocks can be realized in various ways by combining hardware and software.
[0019] The AI processing device 12 includes a processing unit 20, a storage unit 22, and a communication unit 24. The processing unit 20 executes various data processing related to the development and evaluation of inspection AI. The storage unit 22 stores data referenced or updated by the processing unit 20. The communication unit 24 communicates with external devices according to a predetermined communication protocol. The processing unit 20 transmits and receives data to and from the user terminal 14 via the communication unit 24.
[0020] The storage unit 22 includes a dataset storage unit 26 and an evaluation data storage unit 28. The dataset storage unit 26 stores various data related to the inspection AI. Specifically, the dataset storage unit 26 includes (1) a dataset ID, (2) a training dataset (including a plurality of training images in this embodiment), (3) an evaluation dataset (including a plurality of evaluation images in this embodiment), (4) information on the class to be classified into, and (5) model data of the inspection AI (for example, a file in which the model is saved, etc.).
[0021] The evaluation data storage unit 28 stores data related to the evaluation of the inspection AI. Specifically, the evaluation data storage unit 28 stores information on the accuracy of the classification of the evaluation dataset by the inspection AI and evaluation index values (including the overdetection rate and the overlooked rate in the embodiment) related to the classification accuracy of the inspection AI.
[0022] The processing unit 20 includes an image registration unit 30, a class registration unit 32, a dataset setting unit 34, a model generation unit 36, an estimation unit 38, a determination unit 40, an evaluation unit 42, a management screen generation unit 44, and a management screen provision unit 48. The management screen generation unit 44 includes an evaluation screen generation unit 46.
[0023] The functions of the multiple functional blocks of the processing unit 20 may be implemented in a computer program (referred to here as an "AI management program"). The AI management program may be stored on a non-transitory recording medium and installed in the storage of the AI processing device 12 via the recording medium. The AI management program may also be downloaded via a network and installed in the storage of the AI processing device 12. The processor (CPU, etc.) of the AI processing device 12 may perform the functions of the multiple functional blocks of the processing unit 20 by reading the AI management program into main memory and executing it.
[0024] Figure 3 is a flowchart showing the operation of the AI processing device 12 in Figure 1. The operation of the information processing system 10 will be described below with reference to Figure 3. In the following description, the web content serving as a user interface provided by the AI processing device 12 to the user terminal 14 will be collectively referred to as the "AI management screen." The AI management screen includes an image registration screen, a class management screen, and an evaluation screen, which will be described later.
[0025] The user terminal 14 accesses the AI processing device 12 via a web browser in response to user operations. A management screen generation unit 44 of the AI processing device 12 generates various AI management screens. A management screen provision unit 48 of the AI processing device 12 transmits data of the AI management screens to the user terminal 14. The user terminal 14 displays the AI management screen on a specified display.
[0026] 3, the management screen providing unit 48 of the AI processing device 12 transmits image registration screen data to the user terminal 14 in response to a request from the user terminal 14. The user terminal 14 displays the image registration screen on a specified display.
[0027] FIG. 4 shows an example of an image registration screen. The image registration screen 50 is configured to allow registration of three categories: training images, OK category evaluation images, and NG category evaluation images. The training images are images for training (in other words, learning) the inspection AI. The OK category evaluation images are images that show normal subjects, in other words, images that the inspection AI should determine as showing normal subjects. The NG category evaluation images are images that show abnormal subjects, in other words, images that the inspection AI should determine as showing abnormal subjects. Abnormal subjects may be, for example, products with scratches, stains, dents, etc., or products with foreign matter present.
[0028] The user registers each of the multiple evaluation images in either the OK category or the NG category. Fig. 4 shows an image registration screen 50 in which multiple evaluation images 52 in the OK category have been registered. Hereinafter, evaluation images in the OK category will also be referred to as "OK evaluation images," and evaluation images in the NG category will also be referred to as "NG evaluation images."
[0029] The user terminal 14 transmits data of training images, OK evaluation images, and NG evaluation images input by the user to the image registration screen 50 to the AI processing device 12. The image registration unit 30 of the AI processing device 12 accepts the data of training images, OK evaluation images, and NG evaluation images transmitted from the user terminal 14. The image registration unit 30 stores the data of these images in the dataset storage unit 26 in association with the ID of the dataset specified by the user.
[0030] 3, the management screen providing unit 48 of the AI processing device 12 transmits data of the class management screen to the user terminal 14 in response to a request from the user terminal 14. The user terminal 14 displays the class management screen on a predetermined display.
[0031] FIG. 5 shows an example of a class management screen. The class management screen 54 includes a class area 55. Registered classes are displayed in the class area 55. In FIG. 5, classes surrounded by a normal rectangle (lead defects and dirt) are classes in the NG category, and classes surrounded by a rounded rectangle (case and background) are classes in the OK category. Note that in the class area 55, icons representing classes in the NG category and icons representing classes in the OK category may be colored differently. For example, icons representing classes in the NG category may be colored red, while icons representing classes in the OK category may be colored green.
[0032] The class management screen 54 also displays a class registration window 56. In the class registration window 56, a new class can be registered by associating it with either the OK category or the NG category. Fig. 5 shows that a new class "Dent" belonging to the NG category is being registered.
[0033] The user terminal 14 transmits the new class information (class name and attribute information (OK category or NG category)) entered in the class registration window 56 to the AI processing device 12. The class registration unit 32 of the AI processing device 12 serves as a reception unit and receives the registration of multiple classes corresponding to normal attributes or abnormal attributes. In the embodiment, the class registration unit 32 stores the new class information transmitted from the user terminal 14 in the dataset storage unit 26.
[0034] In relation to S12 in FIG. 3 , the management screen providing unit 48 of the AI processing device 12 transmits to the user terminal 14 a dataset setting screen (not shown) for extracting a dataset (hereinafter also referred to as a "training dataset") from the training images registered in S10. The training dataset can also be considered as a plurality of images obtained by cutting out partial areas of the training images. The user terminal 14 displays the dataset setting screen on a predetermined display. On the dataset setting screen, the user cuts out a training dataset from the training images and associates the cut-out training dataset with one of the plurality of registered classes.
[0035] The user terminal 14 transmits a training dataset corresponding to one of the multiple classes set on the dataset setting screen to the AI processing device 12. The dataset setting unit 34 of the AI processing device 12 accepts the training dataset transmitted from the user terminal 14 and stores it in the dataset storage unit 26. In practice, the training dataset corresponding to each of the multiple registered classes is uploaded from the user terminal 14 to the AI processing device 12 and registered.
[0036] 3, in response to a user operation on the AI management screen, the user terminal 14 transmits data requesting the generation of an inspection AI to the AI processing device 12. The data requesting the generation of an inspection AI includes designation of a training dataset to be used for generating the inspection AI and an evaluation dataset to be used for evaluating the inspection AI.
[0037] The model generation unit 36 of the AI processing device 12 generates an inspection AI as a function approximator by machine learning based on a training dataset specified in a request from the user terminal 14. The inspection AI may be a fully convolutional neural network, or may be a different type of mathematical model (such as a decision tree) from a neural network. The model generation unit 36 stores the model data of the generated inspection AI in the dataset storage unit 26 in association with the dataset used to generate the inspection AI.
[0038] 3, the estimation unit 38 of the AI processing device 12 uses the inspection AI to estimate portions corresponding to each class in each of a plurality of evaluation images (OK evaluation images and NG evaluation images) registered as depicting normal or abnormal subjects. Specifically, the estimation unit 38 generates a plurality of response maps indicating the degree of response to each class for each of the plurality of evaluation images (OK evaluation images and NG evaluation images).
[0039] FIG. 6(A) shows an example of an evaluation image 52 (here, an NG evaluation image). FIGS. 6(B) to 6(F) show examples of response maps. FIG. 6(B) shows a response map 58a for the NG category class "Lead Defect". FIG. 6(C) shows a response map 58b for the NG category class "Dirt". FIG. 6(D) shows a response map 58c for the OK category class "Case Part". FIG. 6(E) shows a response map 58d for the OK category class "Background Part". FIG. 6(F) shows a response map 58e for the OK category class "Lead Part". Response maps 58a to 58e are collectively referred to as response maps 58.
[0040] Each region of the response map 58 is colored in 256 levels from 0 to 255 according to the probability value of the class. 0 indicates the lowest probability of the class, and 255 indicates the highest probability of the class. The response map 58 includes values indicating the degree of response to each class for each region of the evaluation image 52. In other words, the response map for a specific class includes values (also called response values) indicating the degree of response to that class for each region of the evaluation image 52. The response value is 0 when the degree of response is the lowest, and 255 when the degree of response is the highest.
[0041] A known method may be employed to generate a response map for each class. For example, the estimation unit 38 may input the evaluation image 52 to an inspection AI that is a fully convolutional neural network. In this case, the estimation unit 38 may acquire multiple response maps 58 (feature maps) for the evaluation image 52, i.e., multiple response maps 58 for multiple classes, as output data from the inspection AI. As another example, the estimation unit 38 may acquire, from the inspection AI, a probability value corresponding to each class for each region of the evaluation image 52. In this case, the estimation unit 38 may generate multiple response maps 58 for multiple classes by coloring each region in the response map 58 for a certain class according to the probability value for that region.
[0042] 3, the determination unit 40 of the AI processing device 12 determines whether the subject of each evaluation image is normal or abnormal based on the result of combining the parts of each evaluation image that correspond to the class corresponding to the abnormal attribute. In the embodiment, the determination unit 40 combines multiple response maps for multiple classes that belong to the NG category. The combined response map is also called the "NG response map."
[0043] For example, if the estimation unit 38 generates response maps 58a to 58e shown in Figures 6(B) to 6(F), the determination unit 40 generates an NG response map by combining response maps 58a and 58b for the NG category classes. Figure 7 shows an example of an NG response map. The NG response map 60 in Figure 7 is a combination of response map 58a in Figure 6(B) and response map 58b in Figure 6(C). The values of each region in the NG response map are, for example, 0 to 255.
[0044] 3, the determination unit 40 uses a predetermined threshold value for binarization (hereinafter also referred to as the "binarization threshold value") to binarize the value of each area of the NG response map to 0 or 1. Specifically, if the value of a certain area of the NG response map is equal to or greater than the binarization threshold value, the determination unit 40 converts the value of that area to 1, and if the value of that area is less than the binarization threshold value, the determination unit 40 converts the value of that area to 0.
[0045] Fig. 8 shows an NG response map 62 after binarization of the NG response map 60 of Fig. 7. Areas shown in white in the NG response map 62 of Fig. 8 are areas with a value of 1, i.e., areas with a relatively high degree of applicability to the NG category class. Areas shown in black in the NG response map 62 of Fig. 8 are areas with a value of 0, i.e., areas with a relatively low degree of applicability to the NG category class.
[0046] 3, the determination unit 40 determines whether an object appearing in each evaluation image is normal or not based on the size of the class corresponding area indicated by the NG response map. The determination unit 40 identifies an area in the NG response map where the degree of response (response value) is equal to or greater than a predetermined threshold as the class corresponding area. The determination unit 40 determines that the object appearing in the evaluation image is abnormal if the area of the class corresponding area indicated by the NG response map is equal to or greater than a predetermined threshold (hereinafter also referred to as the "area threshold").
[0047] In this embodiment, in relation to S17 in FIG. 3 , the determination unit 40 filters areas of the value "1" in the binarized NG response map using a predetermined area threshold. Specifically, the determination unit 40 measures the size of areas of continuous value "1" in the binarized NG response map. If the size of the area of continuous value "1" is equal to or greater than the area threshold, the determination unit 40 detects the area as a blob (white mass). On the other hand, if the size of the area of continuous value "1" is less than the area threshold, the determination unit 40 does not detect the area as a blob. FIG. 9 shows an NG response map 64 after area filtering has been performed on the NG response map 62 in FIG. 8 . A blob 66 is detected in the NG response map 64 in FIG. 9 .
[0048] 3, if the judgment unit 40 detects at least one blob from the binarized NG response map, it judges that the object appearing in the evaluation image 52 from which the NG response map was based is abnormal. This judgment is also called an "NG judgment." On the other hand, if no blob is detected from the binarized NG response map, it judges that the object appearing in the evaluation image 52 from which the NG response map was based is normal. This judgment is also called an "OK judgment." The judgment unit 40 stores judgment result information indicating an OK judgment or an NG judgment in the dataset storage unit 26, in association with each of the multiple evaluation images stored in the dataset storage unit 26.
[0049] In the embodiment, the binarization threshold and the area threshold are determined and set by the user. The user may adjust these thresholds based on their own knowledge or experiments using the information processing system 10. Provision of information to assist in setting the binarization threshold and the area threshold will be described later.
[0050] In relation to S19 in FIG. 3 , the evaluation unit 42 of the AI processing device 12 evaluates the inspection model and derives evaluation index values (in this embodiment, overdetection rate and overlooked rate) related to the performance of the inspection model. Specifically, the evaluation unit 42 evaluates the inspection AI based on (1) whether each of the multiple evaluation images 52 was registered as depicting a normal subject or an abnormal subject, and (2) the determination result of whether the subject of each evaluation image 52 is normal or abnormal. The above (1) can also be said to be whether each evaluation image 52 is an OK evaluation image or an NG evaluation image. The above (2) can also be said to be whether an OK judgment or an NG judgment was made for each evaluation image 52. Note that, to be precise, an OK evaluation image should be judged as OK, and an NG evaluation image should be judged as NG.
[0051] In the embodiment, the evaluation unit 42 counts the number of times an OK evaluation image is judged as OK, the number of times an NG evaluation image is judged as NG, the number of times an OK evaluation image is judged as OK, and the number of times an NG evaluation image is judged as NG. The evaluation unit 42 calculates the overdetection rate and the overlooked rate for the inspection AI based on the above counts as an evaluation process for the inspection AI. The evaluation unit 42 stores the overdetection rate and the overlooked rate for the inspection AI in the evaluation data storage unit 28, in association with the ID of the inspection AI to be evaluated (e.g., the dataset ID of the dataset storage unit 26).
[0052] The formulas for calculating the overdetection rate and overlooked rate are as follows: Overdetection rate = fp / (tn+fp) Overlooked rate = fn / (tp+fn) tn (true negative): number of OK evaluation images judged as OK by the inspection AI fn (false negative): number of NG evaluation images judged as OK by the inspection AI tp (true positive): number of NG evaluation images judged as NG by the inspection AI fp (false positive): number of OK evaluation images judged as NG by the inspection AI fn is the number of times the inspection AI overlooked an NG. Also, fp is the number of times the inspection AI mistakenly detected an NG.
[0053] In relation to S20 in FIG. 3 , the user terminal 14 transmits data requesting an evaluation screen for a specific inspection AI to the AI processing device 12 in response to a user operation. The evaluation screen generation unit 46 of the AI processing device 12 reads out the evaluation results for the inspection AI specified by the user terminal 14 from the evaluation data storage unit 28 and generates an evaluation screen showing the evaluation results. The evaluation results for the inspection AI include an overdetection rate and a missed detection rate. In relation to S21 in FIG. 3 , the management screen provision unit 48 of the AI processing device 12 transmits data for the evaluation screen generated in S20 to the user terminal 14. The user terminal 14 displays the evaluation screen on a specified display.
[0054] In the embodiment, the evaluation screen generation unit 46 generates an evaluation screen including an evaluation image classification result. The evaluation image classification result includes content that distinguishes between OK evaluation images that have been judged as OK as first evaluation images, OK evaluation images that have been judged as NG as second evaluation images (i.e., overdetected OK evaluation images), NG evaluation images that have been judged as NG as third evaluation images, and NG evaluation images that have been judged as OK as fourth evaluation images (i.e., overlooked NG evaluation images).
[0055] FIG. 10 shows an example of an evaluation screen. The evaluation screen 70 includes the evaluation image classification results. In the evaluation screen 70 of FIG. 10, "OK" and "Match" are selected. Therefore, in FIG. 10, a list of OK evaluation images that have been judged as OK is displayed as the evaluation image classification results. The evaluation screen generation unit 46 sets the image file names and blob area values along with the OK evaluation images in the evaluation screen 70.
[0056] When "OK" or "Mismatch" is selected on the evaluation screen 70, a list of OK evaluation images that have been judged as NG is displayed. In other words, a list of OK evaluation images that have been overdetected by the inspection AI is displayed. When "NG" or "Mismatch" is selected on the evaluation screen 70, a list of NG evaluation images that have been judged as OK is displayed. In other words, a list of NG evaluation images that have been overlooked by the inspection AI is displayed.
[0057] In addition, in the embodiment, the judgment unit 40 of the AI processing device 12 repeatedly identifies a class-corresponding area in the response map corresponding to each evaluation image and judges whether the subject in each evaluation image is normal or abnormal while changing the binarization threshold. That is, the judgment unit 40 makes an OK or NG judgment for each binarization threshold and for each evaluation image. The evaluation unit 42 evaluates the inspection AI multiple times using the multiple judgment results from the judgment unit 40. That is, the evaluation unit 42 calculates the overdetection rate and the overlooked rate for the inspection AI for each binarization threshold. The evaluation unit 42 stores pairs of the overdetection rate and the overlooked rate for each binarization threshold in the evaluation data storage unit 28. The evaluation screen generation unit 46 references the evaluation data storage unit 28 and generates an evaluation screen 70 including a binarization threshold graph showing multiple binarization thresholds associated with multiple evaluation results.
[0058] FIG. 11 shows an example of a binarization threshold graph. The binarization threshold graph 80 includes an overdetection rate graph 82 shown by a solid line and a missed detection rate graph 84 shown by a dashed line. The overdetection rate graph 82 has the binarization threshold on the horizontal axis and the overdetection rate on the vertical axis. The overdetection rate graph 82 shows the transition of the overdetection rate as the binarization threshold changes. The missed detection rate graph 84 has the binarization threshold on the horizontal axis and the missed detection rate on the vertical axis. The missed detection rate graph 84 shows the transition of the missed detection rate as the binarization threshold changes. By presenting the overdetection rate graph 82 and the missed detection rate graph 84 to the user, the user can be assisted in setting an appropriate binarization threshold. In the example of FIG. 11, the user can determine that the binarization threshold should be set between 80 and 230, where both the overdetection rate and the missed detection rate are 0.
[0059] In addition, in the embodiment, the determination unit 40 performs a plurality of determinations on whether the subject in each evaluation image is normal or abnormal while changing the area threshold. That is, the determination unit 40 performs an OK or NG determination for each area threshold and for each evaluation image. The evaluation unit 42 evaluates the inspection AI a plurality of times using the determination results from the determination unit 40. That is, the evaluation unit 42 calculates the overdetection rate and the overlooked rate for the inspection AI for each area threshold. The evaluation unit 42 stores a set of the overdetection rate and the overlooked rate for each area threshold in the evaluation data storage unit 28. The evaluation screen generation unit 46 references the evaluation data storage unit 28 and generates an evaluation screen 70 including an area threshold graph showing multiple area thresholds associated with multiple evaluation results.
[0060] FIG. 12 shows an example of an area threshold graph. The area threshold graph 90 includes an overdetection rate graph 92 shown by a solid line and a missed detection rate graph 94 shown by a dashed line. The overdetection rate graph 92 has the area threshold on the horizontal axis and the overdetection rate on the vertical axis. The overdetection rate graph 92 shows the transition of the overdetection rate as the area threshold changes. The missed detection rate graph 94 has the area threshold on the horizontal axis and the missed detection rate on the vertical axis. The missed detection rate graph 94 shows the transition of the missed detection rate as the area threshold changes. By presenting the overdetection rate graph 92 and the missed detection rate graph 94 to the user, it is possible to assist the user in setting an appropriate area threshold. In the example of FIG. 12, the user can determine that the area threshold should be set between 0 and 20, where both the overdetection rate and the missed detection rate are 0.
[0061] According to the information processing system 10 of the embodiment, by assigning a normal attribute or an abnormal attribute to each class to which the inspection AI will classify, it is possible to obtain information on the overdetection rate and overlooked rate of the inspection AI. This makes it possible to support the evaluation of the classification accuracy of the inspection AI. Furthermore, according to the information processing system 10, by providing an evaluation screen including the evaluation image classification results, it is possible to clearly show the classification results of the inspection AI.
[0062] Furthermore, the information processing system 10 can assist in setting appropriate thresholds by providing an evaluation screen including a binarization threshold graph 80 and an area threshold graph 90. The technology disclosed in the embodiments is not limited to inspection AI, but can also be applied to AI models for various purposes created by machine learning.
[0063] The present disclosure has been described above based on the embodiments. The embodiments are merely examples, and it will be understood by those skilled in the art that various modifications are possible in the combination of each component or each treatment process of the embodiments, and that such modifications are also within the scope of the present disclosure.
[0064] Although the AI processing device 12 in the above embodiment is a cloud server, as a modified example, the AI processing device 12 may be an on-premise server. Furthermore, the functions of the AI processing device 12 in the embodiment may be distributed and implemented in multiple information processing devices. In this case, the multiple information processing devices may communicate with each other and cooperate as a system to execute processing similar to that of the AI processing device 12 in the embodiment. Furthermore, at least a portion of the functions of the AI processing device 12 in the embodiment may be implemented in an application running on the user terminal 14.
[0065] Any combination of the above-described embodiments and modifications is also useful as an embodiment of the present disclosure. A new embodiment resulting from a combination combines the effects of the combined embodiments and modifications. It will also be understood by those skilled in the art that the functions to be performed by each component recited in the claims can be realized by each component shown in the embodiments and modifications alone or in combination.
[0066] <Supplementary Notes> The above embodiments and modifications disclose the following technologies. [Technology 1] An information processing system including: a receiving unit that receives registration of multiple classes corresponding to normal attributes or abnormal attributes; a model generation unit that generates a function approximator by learning based on multiple training images corresponding to one of the multiple classes; an estimation unit that uses the function approximator to estimate locations corresponding to each class in each of multiple evaluation images registered as depicting normal or abnormal subjects; a determination unit that determines whether the subject in each evaluation image is normal or abnormal based on a result of combining locations corresponding to the class corresponding to the abnormal attribute in each evaluation image; and an evaluation unit that evaluates the function approximator based on whether each evaluation image was registered as depicting a normal or abnormal subject and the determination result of whether the subject in each evaluation image is normal or abnormal. This information processing system can assist in evaluating the classification accuracy using the function approximator. [Technology 2] The information processing system described in Technology 1, in which the evaluation unit calculates at least one of an overdetection rate and a negative detection rate for the function approximator. This information processing system can support evaluation of the function approximator using at least one of the overdetection rate and the overlooked rate, which are important indices for evaluating the classification accuracy of the function approximator. [Technology 3] The information processing system according to Technology 1 or 2 further includes an evaluation screen generator that generates an evaluation screen that distinguishes between a first evaluation image that is registered as showing a normal subject and in which the subject is determined to be normal, a second evaluation image that is registered as showing a normal subject and in which the subject is determined to be abnormal, a third evaluation image that is registered as showing an abnormal subject and in which the subject is determined to be abnormal, and a fourth evaluation image that is registered as showing an abnormal subject and in which the subject is determined to be normal. This information processing system can present to a user, in an easy-to-understand manner, evaluation images that are correctly determined as normal or abnormal by the function approximator, images in which an abnormality is erroneously detected, and images in which an abnormality is overlooked.[Technology 4] The information processing system according to Technology 1 or 2, wherein the estimation unit generates a plurality of response maps indicating the degree of response to each class for each of the plurality of evaluation images, and the determination unit combines the plurality of response maps for the classes corresponding to the abnormal attribute and determines whether an object appearing in each evaluation image is normal or abnormal based on the size of the class corresponding area indicated by the combined response map. This information processing system makes it possible to efficiently determine whether an object appearing in each evaluation image is normal or abnormal. [Technology 5] The information processing system according to Technology 4 further includes an evaluation screen generation unit, wherein the response map includes values indicating the degree of response to each class for each region of each evaluation image, the determination unit identifies regions in the response map where the degree of response is equal to or greater than a predetermined threshold as the class corresponding region, the determination unit performs a plurality of operations, while changing the threshold, to identify the class corresponding region in the response map corresponding to each evaluation image and determine whether the subject appearing in each evaluation image is normal or abnormal, the evaluation unit evaluates the function approximator a plurality of times using the plurality of determination results by the determination unit, and the evaluation screen generation unit generates an evaluation screen showing the plurality of thresholds in correspondence with the plurality of evaluation results. This information processing system can assist a user in setting an appropriate threshold for identifying a class corresponding region. [Technology 6] The information processing system according to Technology 4 further includes an evaluation screen generation unit, wherein the judgment unit judges that an object appearing in each evaluation image is abnormal if the area of a class corresponding region indicated by the synthesized response map is equal to or greater than a predetermined threshold, the judgment unit executes a judgment of whether the subject appearing in each evaluation image is normal or abnormal multiple times while changing the threshold, the evaluation unit evaluates the function approximator multiple times using multiple judgment results by the judgment unit, and the evaluation screen generation unit generates an evaluation screen showing multiple thresholds associated with multiple evaluation results. This information processing system can assist a user in setting an appropriate threshold for judging whether an object appearing in an evaluation image is normal or abnormal, regarding the area of the class corresponding region.[Technology 7] A computer program for causing a computer to execute the following steps: accept registration of multiple classes corresponding to normal attributes or abnormal attributes, generate a function approximator by learning based on multiple training images corresponding to any of the multiple classes, estimate portions corresponding to each class in each of multiple evaluation images registered as depicting normal subjects or abnormal subjects using the function approximator, determine whether the subject in each evaluation image is normal or abnormal based on a result of combining portions corresponding to the class corresponding to the abnormal attribute in each evaluation image, and evaluate the function approximator based on whether each evaluation image was registered as depicting a normal subject or an abnormal subject and the determination result of whether the subject in each evaluation image is normal or abnormal. This computer program allows a computer to realize processing for supporting evaluation of classification accuracy using the function approximator.
[0067] The technology of the present disclosure is applicable to information processing systems and information processing devices.
[0068] 10 Information processing system, 12 AI processing device, 14 User terminal, 30 Image registration unit, 32 Class registration unit, 34 Data set setting unit, 36 Model generation unit, 38 Estimation unit, 40 Judgment unit, 42 Evaluation unit, 46 Evaluation screen generation unit, 48 Management screen provision unit, 52 Evaluation image.
Claims
1. An information processing system comprising: a reception unit that receives registration of a plurality of classes corresponding to normal attributes or abnormal attributes; a model generation unit that generates a function approximator by learning based on a plurality of training images corresponding to any of the plurality of classes; an estimation unit that uses the function approximator to estimate locations corresponding to each class in each of a plurality of evaluation images registered as depicting normal subjects or abnormal subjects; a judgment unit that judges whether the subject of each evaluation image is normal or abnormal based on a result of combining locations corresponding to the class corresponding to the abnormal attribute in each evaluation image; and an evaluation unit that evaluates the function approximator based on whether each evaluation image was registered as depicting a normal subject or an abnormal subject and the judgment result of whether the subject of each evaluation image is normal or abnormal.
2. The information processing system according to claim 1, wherein the evaluation unit calculates at least one of an overdetection rate and an overlooked rate for the function approximator.
3. An information processing system as described in claim 1 or 2, further comprising an evaluation screen generation unit that generates an evaluation screen that distinguishes between a first evaluation image that is registered as depicting a normal subject and the subject is determined to be normal, a second evaluation image that is registered as depicting a normal subject and the subject is determined to be abnormal, a third evaluation image that is registered as depicting an abnormal subject and the subject is determined to be abnormal, and a fourth evaluation image that is registered as depicting an abnormal subject and the subject is determined to be normal.
4. The information processing system of claim 1 or 2, wherein the estimation unit generates a plurality of response maps indicating the degree of response to each class for each of the plurality of evaluation images, and the judgment unit synthesizes the plurality of response maps for classes corresponding to abnormal attributes, and judges whether an object appearing in each evaluation image is normal or abnormal based on the size of the class corresponding area indicated by the synthesized response map.
5. An information processing system as described in claim 4, further comprising an evaluation screen generation unit, wherein the response map includes values indicating the degree of response to each class for each area of each evaluation image, the judgment unit identifies areas in the response map where the degree of response is above a predetermined threshold as the class corresponding area, the judgment unit performs multiple identification of the class corresponding area in the response map corresponding to each evaluation image and judgment of whether the subject appearing in each evaluation image is normal or abnormal while changing the threshold, the evaluation unit evaluates the function approximator multiple times using multiple judgment results by the judgment unit, and the evaluation screen generation unit generates an evaluation screen showing a correspondence between multiple thresholds and multiple evaluation results.
6. An information processing system as described in claim 4, further comprising an evaluation screen generation unit, wherein the judgment unit judges that an object appearing in each evaluation image is abnormal if the area of the class corresponding region indicated by the synthesized response map is equal to or greater than a predetermined threshold, the judgment unit performs a plurality of judgments as to whether the subject appearing in each evaluation image is normal or abnormal while changing the threshold, the evaluation unit evaluates the function approximator a plurality of times using the plurality of judgment results by the judgment unit, and the evaluation screen generation unit generates an evaluation screen showing a correspondence between a plurality of the thresholds and the plurality of evaluation results.
7. A computer program for causing a computer to execute the following steps: accept registration of a plurality of classes corresponding to normal attributes or abnormal attributes; generate a function approximator by learning based on a plurality of training images corresponding to any of the plurality of classes; estimate portions corresponding to each class in each of a plurality of evaluation images registered as depicting normal subjects or abnormal subjects using the function approximator; determine whether the subject of each evaluation image is normal or abnormal based on the result of combining portions corresponding to the class corresponding to the abnormal attribute in each evaluation image; and evaluate the function approximator based on whether each evaluation image was registered as depicting a normal subject or an abnormal subject and the determination result of whether the subject of each evaluation image is normal or abnormal.
Citation Information
Patent Citations
Learning apparatus, learning method, and program
JP2021086381A
Abnormality detection device and abnormality detection method
JP2022061157A
Classification device, image classification method, and pattern inspection device
WO2021209867A1
