Data processing sequence generation method, generation device, and computer program

The method addresses inefficiencies in genetic programming by structuring data processing sequences with preprocessing, neural network, intermediate, and post-processing elements, ensuring efficient data flow and timely evaluation.

JP2024145095APending Publication Date: 2024-10-15SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023057342
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Conventional genetic programming techniques for generating image processing sequences face inefficiencies due to unsuitable combinations of input and output data processing elements, leading to prolonged evaluation times and suboptimal data processing results, particularly when evaluating sequences for specific termination conditions.

Method used

A method and device for generating data processing sequences that include preprocessing, trained neural network processing, intermediate processing, and post-processing elements, with specific connection conditions ensuring efficient execution and evaluation by connecting NN processing elements with intermediate processing elements to handle NN output data effectively.

Benefits of technology

This approach enhances processing efficiency by ensuring appropriate data flow and reduces evaluation time, allowing for the generation of data processing sequences that meet specific termination conditions more effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024145095000001_ABST
    Figure 2024145095000001_ABST
Patent Text Reader

Abstract

To provide a technique capable of generating a generation condition that a combination of a data processing element on an input side and a data processing element on an output side is previously set, when a data processing sequence is generated.SOLUTION: A generation method incudes a step (a) of accepting input of a candidate data processing element, and a step (b) of generating a connection condition related to connection of a sequence element constituting a data processing sequence, according to the type of data processing performed by a candidate data processing element received by the step (a), wherein the connection condition includes a condition that an NN processing element and a middle processing element are connected to each other so as to execute middle processing subsequent to NN processing, when the candidate data processing element includes the NN processing element and the middle processing element.SELECTED DRAWING: Figure 13
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to techniques for generating data processing sequences. [Background technology]

[0002] Conventionally, a technique for structurally expressing an individual as a tree structure by using genetic programming is known (Patent Document 1). In the conventional technique, a data processing sequence is generated by combining a plurality of image processing elements in a tree structure by using genetic programming. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-87055 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the technology of Patent Document 1, a plurality of image processing sequences are generated by using genetic programming, and the evaluation of the image processing sequences is repeated for each generation to identify an image processing sequence that satisfies a reference condition. However, in the plurality of data processing elements that constitute the generated image processing sequence, depending on the combination of the input-side data processing element and the output-side data processing element, it may be possible that it is not suitable to process the data output from the input-side data processing element by the output-side data processing element. In this case, problems may occur such that the data processing by the generated data processing sequence cannot be efficiently executed, so that it takes time to evaluate the data processing sequence, or the data processing result corresponding to the target data cannot be obtained, so that the data processing sequence cannot be evaluated. Therefore, a technology that can set a combination of the input-side data processing element and the output-side data processing element that constitute the data processing sequence has been desired. Such a problem is not limited to the technology that generates a plurality of image processing sequences using genetic programming to identify an image processing sequence that satisfies a reference condition, but is common to the technology that generates a plurality of data processing sequences to identify a data processing sequence that corresponds to a predetermined specific end condition. [Means for solving the problem]

[0005] According to a first aspect of the present disclosure, there is provided a method for generating a data processing sequence. The data processing sequence is composed of sequence elements, that is, a data input element for inputting data, at least one of a plurality of data processing elements, and a data output element for outputting the data after data processing. This generation method includes a step of (a) accepting input of a candidate data processing element as the data processing element that is a candidate for the sequence element constituting the data processing sequence, the candidate data processing element being (i) a pre-processing element that performs pre-processing as data processing on target data, that is the data input to the data input element, and (ii) a trained neural network element (hereinafter referred to as "NN processing element").(iii) an intermediate processing element that performs intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; and (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data. (b) generating connection conditions for connecting the sequence elements that constitute the data processing sequence according to the type of data processing performed by the candidate data processing element accepted in step (a); (c) generating a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set in accordance with the connection conditions; and (d) identifying a specific data processing sequence that corresponds to a predetermined specific end condition from among the plurality of data processing sequences, wherein the connection conditions in step (b) include a condition that, if the candidate data processing element includes the NN processing element and the medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed after the NN processing.

[0006] According to a second aspect of the present disclosure, there is provided a data processing sequence generation device. The data processing sequence is composed of a data input element that inputs data, at least one of a plurality of data processing elements, and a data output element that outputs the data after data processing, as sequence elements. This generation device is an input unit that accepts input of a candidate data processing element as a data processing element that is a candidate for the sequence element that constitutes the data processing sequence, and the candidate data processing element is a pre-processing element that performs pre-processing as data processing on target data that is the data input to the data input element, (ii) a trained neural network element (hereinafter referred to as "NN processing element") that performs NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element and outputs NN output data, (iii) an intermediate processing element that performs intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side, and (iv) a post-processing element that converts the data output from the sequence element connected to the input side of the post-processing element into data suitable for the sequence element connected to the output side. and a post-processing element that performs post-processing as the data processing on the selected data so that the data corresponds to the target data that is the target associated with the target data; a connection condition generation unit that generates connection conditions for the connection of the sequence elements that constitute the data processing sequence according to the type of data processing performed by the candidate data processing element accepted by the input unit; a sequence generation unit that generates a plurality of the data processing sequences with different combinations of sequence elements as a sequence set in accordance with the connection conditions; and an identification unit that identifies the specific data processing sequence according to a predetermined specific end condition from among the plurality of data processing sequences, wherein the connection condition includes a condition that, when the candidate data processing element includes the NN processing element and the medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed after the NN processing.

[0007] According to a third aspect of the present disclosure, there is provided a computer program for causing a computer to execute generation of a data processing sequence. The data processing sequence is composed of sequence elements, namely, a data input element for inputting data, at least one of a plurality of data processing elements, and a data output element for outputting the data after data processing. This computer program has a function of (a) accepting input of a candidate data processing element as the data processing element that is a candidate for the sequence element constituting the data processing sequence, and the candidate data processing element is (i) a pre-processing element that performs pre-processing as data processing on target data, which is the data input to the data input element, and (ii) a trained neural network element (hereinafter referred to as "NN processing element").(ii) an NN processing element that performs NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element and outputs NN output data; (iii) an intermediate processing element that performs intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; and (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data; ) a function of generating connection conditions for connecting the sequence elements that constitute the data processing sequence in accordance with the type of data processing performed by the candidate data processing element accepted by function (a); (c) a function of generating a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set in accordance with the connection conditions; and (d) a function of identifying a specific data processing sequence that corresponds to a predetermined specific end condition from among the plurality of data processing sequences, wherein the connection conditions in function (b) include a condition that, when the candidate data processing element includes the NN processing element and the medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed after the NN processing. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram for explaining a generation system according to an embodiment. [Diagram 2] FIG. 1 is a diagram illustrating a storage device. [Diagram 3] FIG. 13 is a diagram showing an example of a learning data group. [Figure 4] FIG. 3 is a diagram showing details of the sequence element group shown in FIG. 2. [Diagram 5] FIG. 2 is a diagram for explaining a data processing element that executes NN processing. [Figure 6A] 3 is a diagram showing a first candidate process table included in the candidate process table shown in FIG. 2; FIG. [Figure 6B] 3 is a diagram showing a second candidate process table included in the candidate process table shown in FIG. 2; FIG. [Figure 7] FIG. 4 is a diagram showing an example of a reference data group. [Figure 8] A diagram to explain the population of one generation G. [Figure 9] FIG. 1 shows a table defining the range of occurrence of genes. [Figure 10] FIG. 1 is a diagram showing a data processing sequence of a tree structure. [Figure 11] FIG. 3 is a diagram showing details of the connection condition table shown in FIG. 2 . [Figure 12] 11 is a flowchart showing a process executed by the generating device. [Figure 13] 11 is a detailed flowchart showing a generation process of a generation condition. [Figure 14] FIG. [Figure 15] FIG. 13 is a detailed flowchart of step S30 in FIG. 12. [Figure 16] FIG. 16 is a detailed flowchart of step S308 shown in FIG. 15. [Figure 17] FIG. 13 is a diagram showing a table defining upper limit threshold values. [Figure 18] 13 is a detailed flowchart of step S50 shown in FIG. 12. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. Embodiment: FIG. 1 is a diagram for explaining a generating system 10 according to an embodiment. The generating system 10 includes a generating device 20 and a sensor device 200. The generating device 20 and the sensor device 200 can transmit and receive data by wire or wirelessly. The sensor device 200 is a sensor that acquires a physical quantity of an object, and may be an imaging device that detects the intensity of light, which is a physical quantity, to generate an image, or a voltage sensor that acquires a voltage, which is a physical quantity. In this embodiment, the sensor device 200 is an imaging device. The captured image acquired by the sensor device 200 is transmitted to the generating device 20.

[0010] The generating device 20 has a sequence generating function for generating a specific data processing sequence DSq for obtaining desired data after data processing, a connection condition generating function executed before executing the sequence generating function, and a data processing function using the specific data processing sequence DSq executed after executing the sequence generating function. The connection condition generating function generates a connection condition table that is referred to when executing the sequence generating function. The data processing function is a function for processing target data, which is input data, using the data processing sequence Sq. For example, the generating device 20 may automatically generate a specific data processing sequence DSq for obtaining desired data for achieving a desired purpose based on a captured image. For example, the generating device 20 processes an image of a circuit board, which is an industrial product captured by the sensor device 200, using the specific data processing sequence DSq based on the captured image, and outputs a binary image in which defective parts are represented as black images and other parts are represented as white images as a desired image. Based on this binary image, the presence or absence and position of defective parts are identified by a user or a device, and the industrial product is inspected. For example, the generating device 20 may automatically generate a specific data processing sequence DSq that determines the type of target data based on a captured image that is input data and outputs one or more scalar quantities according to the target data. The type of input data is a determination result according to the target data, for example, a label determination result output from a machine learning model as a data processing element. The scalar quantity according to the target data is a temperature or voltage value, for example, an output result output by a regression analysis using a machine learning model as a data processing element.

[0011] The sequence generation function generates a plurality of data processing sequences Sq using genetic programming, and identifies a specific data processing sequence DSq for obtaining desired data after data processing from the plurality of generated data processing sequences Sq. The connection condition generation function generates a connection condition table for determining which sequence element the numerical value VG of the gene arranged at the gene locus corresponds to. In this embodiment, the sequence generation function, the connection condition generation function, and the data processing function are mounted on one generation device 20, but are not limited to this. In other embodiments, the sequence generation function, the connection condition generation function, and the data processing function may be mounted on separate devices, or may exist on a cloud.

[0012] The generating device 20 is an electronic calculator such as a personal computer. The generating device 20 includes a processor 25, a storage device 70, an input unit 150, and a display unit 160. The processor 25 controls the operation of the generating device 20 by executing various programs stored in the storage device 70. Detailed functions of the processor 25 will be described later. The storage device 70 is composed of memories such as RAM and ROM. Various programs for realizing each function of the processor 25 and various data used for generating the data processing sequence Sq are stored in the storage device 70. Details of the storage device 70 will be described later. The input unit 150 is an interface that accepts information from the outside. For example, the input unit 150 accepts input of data from the sensor device 200, or accepts input of data generated by a user using another device. For example, the input unit 150 accepts input of a candidate data processing element as a data processing element that is a candidate for a sequence element that constitutes the data processing sequence. The display unit 160 displays various information. The display unit 160 is, for example, a liquid crystal monitor.

[0013] The processor 25 executes various programs in the storage device 70 to function as a sequence generation unit 30, a data processing unit 40, an identification unit 50, a connection condition generation unit 55, and a display control unit 60. Note that some of the functions executed by the processor 25 may be realized by a hardware circuit. Here, in this disclosure, the term "processor" includes a CPU and a GPU.

[0014] The sequence generation unit 30 generates a sequence set composed of a plurality of data processing sequences Sq with different combinations of sequence elements by structurally expressing the gene sequence indicated by the individual IV like a tree structure. The data processing sequence Sq is expressed by a combination of a plurality of sequence elements. The sequence elements include (i) a data input element which is a node for inputting data, (ii) a data processing element which is an intermediate node between the data input element and the data output element, and (iii) a data output element which is a node for outputting output data PM which is the final data after data processing. The data processing sequence Sq is composed of a data input element, at least one data processing element, and a data output element. At least one data processing element constituting the data processing sequence may be a processing element that outputs the input data as it is. The data processing element is also called a data processing filter.

[0015] The sequence generation unit 30 includes an individual generation unit 32 and a gene translation unit 34. The individual generation unit 32 generates an individual IV composed of a plurality of genes arranged one-dimensionally or two-dimensionally based on a genetic algorithm. Each gene constituting the individual IV is a numerical value representing a data input element and a data processing element, respectively. A data input element and a different data processing element are assigned to each numerical range indicating the occurrence range. That is, the individual IV is generated by arranging genes corresponding to each of the data input elements and the data processing elements. The individual generation unit 32 generates a predetermined number of individual IVs for each generation. In this embodiment, the individual generation unit 32 generates an individual IV of a predetermined gene length by arranging genes one-dimensionally. In each generation, the combination of sequence elements of the plurality of data processing sequences Sq is different. For the first generation, the individual generation unit 32 randomly arranges a numerical value from 0 to 1 up to the third decimal place as a gene in each gene locus of the individual IV, thereby generating an individual group 84 composed of a plurality of individual IVs. For the second generation and onwards, the individual generation unit 32 generates new individuals IVs from the individuals IVs of the previous parent generation that have high evaluation values, which will be described later, using at least one of crossover and mutation, thereby generating a population 84 that is a collection of the newly generated individuals IVs and individuals IVs maintained in the parent generation, i.e., individuals IVs that are duplicates of the individual IVs of the parent generation.

[0016] The gene translation unit 34 translates each gene of the individual IV by referring to a connection condition table 88 (described later) stored in the storage device 70, to generate a data processing sequence Sq represented in a tree structure. The connection condition table 88 is a table that directly or indirectly specifies the connection relationship between the data processing element corresponding to each numerical range of the gene and each sequence element. The data processing sequence Sq is represented by the individual IV and the connection condition table 88. The connection condition table 88 will be described in detail later.

[0017] The data processing unit 40 processes the data input to the data input element using a data processing sequence Sq generated by the gene translation unit 34 or a specific data processing sequence DSq stored in the memory device 70, and outputs the processed output data PM from the data output element.

[0018] The identification unit 50 processes the learning data LM as target data by the data processing sequence Sq indicated by the individual IV, compares the output data PM, which is the data obtained after the data processing, with the target data TM associated with the learning data LM, and calculates an evaluation value EV indicating the similarity between the output data PM and the target data TM. The identification unit 50 calculates an evaluation value EV for each of the multiple data processing sequences Sq indicated by the multiple individuals IV in one generation G. The calculated evaluation value EV is stored in the storage device 70 in association with the individual IV. The identification unit 50 also identifies the data processing sequence Sq according to a predetermined specific end condition as a specific data processing sequence DSq. One of the specific end conditions includes a condition using the evaluation value EV. Details of the specific end condition and the data processing sequence Sq according to the specific end condition will be described later.

[0019] As the evaluation value EV, for example, one of the mean squared error (MSE), the peak signal-to-noise ratio (PSNR), and the structural similarity (SSIM) can be used. When the MSE is used as the evaluation value, the smaller the MSE value, the higher the similarity SD between the output data PM and the target data TM. In other words, the inverse of the MSE indicates the similarity SD. When the PSNR is used as the evaluation value, the larger the PSNR, the higher the similarity SD between the output data PM and the target data TM. In other words, the PSNR indicates the similarity SD. When the SSIM is used, for example, an image is divided into small regions, and the MSSIM (Mean SSIM), which is the average value of the SSIM calculated for each small region, is used as the evaluation value EV. When the MSSIM is used as the evaluation value EV, the larger the MSSIM, the higher the similarity SD. In other words, the MSSIM indicates the similarity SD. When the input data ID indicates a discrimination result such as whether the product is good or bad, the similarity SD may be, for example, the matching rate between the output data PM and the target data TM corresponding to a plurality of input data IDs.

[0020] The connection condition generating unit 55 generates a connection condition table 88 used to generate a plurality of data processing sequences Sq that are candidates for the specific data processing sequence DSq. The connection condition generating unit 55 generates the connection condition table 88 by referring to a processing candidate table 81 described later or by referring to input information from a user. The connection condition table 88 is a table in which a connection reference value RV indicating the occurrence probability of an element set, which is a pair of sequence elements on the input side and the output side connected to each other, appears as a component of the data processing sequence Sq. The connection reference value RV may be, for example, an index indicating the compatibility of a connection for processing input data and outputting desired data aimed at target data TM. The desired data is data that matches the target data TM or is similar to the target data TM. A method for generating the connection condition table 88 and the connection condition table 88 will be described later in detail.

[0021] The display control unit 60 causes various information to be displayed on the display unit 160. The display control unit 60 causes the display unit 160 to display, for example, a specific data processing sequence DSq, output data PM, target data TM, and an evaluation value EV.

[0022] 2 is a diagram for explaining the storage device 70. The storage device 70 stores a learning data group 74, a reference data group 77, a data processing program group 79, a sequence element group 80, a processing candidate table 81, an individual group 84, a connection condition table 88, a specific data processing sequence DSq, and various programs 94.

[0023] The specific data processing sequence DSq is a data processing sequence Sq according to a predetermined specific end condition specified by the specification unit 50. The specific data processing sequence DSq is represented, for example, by element identifiers that identify a plurality of data processing elements that are sequence elements, and the order of the element identifiers, i.e., the connection relationship. The data processing program group 79 includes calculation formulas, programs, necessary parameters, etc., that are necessary for executing data processing that is executed using data processing elements that can be sequence elements. In this embodiment, the data processing includes pre-processing, NN processing, intermediate processing, and post-processing. Details of the data processing will be described later. The various programs 94 are programs executed by the processor 25.

[0024] FIG. 3 is a diagram showing an example of the learning data group 74. The learning data group 74 has a plurality of learning sets SM each composed of learning data LM as target data to be subjected to data processing by the data processing sequence Sq and target data TM associated with the learning data LM. The learning data LM is, for example, an image of the same type of circuit board with different serial numbers captured by the sensor device 200. The target data TM is, for example, a classification label indicating either a good product or a defective product. An identification number is assigned to each learning data LM and each target data TM corresponding to each learning data LM. At least one classification label, which is the target data TM, is set according to the learning data LM. For example, a label 0 indicating a good product is set for the learning data LM1. Also, for example, a label 1 indicating a defective product is set for the learning data LM2 since a defective part DA exists. Also, for example, when the learning data LM is an image, a classification label as the target data TM may be associated with each pixel or each partial region which is a set of multiple pixels.

[0025] The learning data LM is not limited to captured images as long as it is data to be processed by the data processing sequence Sq. For example, the learning data LM may be one-dimensional data such as a spectral reflectance spectrum, two-dimensional data such as a monochrome image, or three-dimensional data such as an RGB image or a spectral image. The three-dimensional data is expressed, for example, by pixel values ​​V[x, y, λ]. x and y indicate the position of the image, and λ indicates the color of RGB. In this embodiment, the number of dimensions is converted to "3" so that data can be handled in the data processing sequence Sq in the same way regardless of the type of learning data LM. For example, when the learning data LM is a spectral reflectance spectrum indicating the reflectance I[λ] for each wavelength λ, the reflectance I[λ] expressed in one dimension is stored in the storage device 70 as three-dimensional data I[1×1×λ]. Also, for example, when the learning data LM is a monochrome image indicating the pixel value V[x, y] for each pixel, the pixel value V[x, y] expressed in two dimensions is stored in the storage device 70 as three-dimensional data V[x, y, 1]. The dimension conversion process for converting the number of dimensions of the learning data LM to a predetermined number, which is “3” in this embodiment, may be performed before the user inputs the data to the generating device 20, or may be performed by the generating device 20.

[0026] In other embodiments, the target data TM does not need to be a classification label, and may be set according to the purpose of data processing by the specific data processing sequence DSq. For example, the target data TM may be a binarized image in which the defective portion DA is represented as a black image and the other portions are represented as white images. In this case, the target data TM is generated by, for example, setting the defective portion DA to a black image and setting the other portions to a white image with reference to the learning data LM in which the location of the defective portion has been specified in advance. In addition, for example, if the specific data processing sequence DSq is intended to output at least one scalar quantity according to the input data, the target data TM is a scalar quantity according to the input data. For example, the scalar quantity is a physical quantity such as temperature or voltage. In the case where the learning data LM, which is the input data, is an image, the target data TM may be one scalar quantity for one image, or may be a scalar quantity for each pixel or for each partial region. In addition, the number of dimensions of the target data TM is one dimension for the classification label and two dimensions for the binarized image, but a dimension indicating the acquisition method of the target data TM, for example, the type of the sensor device 200 that acquires the learning data LM, may be added.

[0027] FIG. 4 is a diagram showing details of the sequence element group 80 shown in FIG. 2. FIG. 5 is a diagram for explaining a data processing element that executes NN processing. As shown in FIG. 4, the sequence element group 80 has a plurality of data processing elements FtA to FtK that are candidates for sequence elements in the data processing sequence Sq. The plurality of data processing elements FtA to FtK are classified according to the type of data processing used. In this embodiment, the types of data processing are four types: pre-processing, NN processing, intermediate processing, and post-processing. The pre-processing layer that executes pre-processing is the data processing elements FtA, FtB, and FtC. The NN processing layer that executes NN processing is the data processing elements FtD, FtE, and FtF. The intermediate processing layer that executes intermediate processing is the data processing elements FtG and FtH. The post-processing layer that executes post-processing is the data processing elements FtI, FtJ, and FtK. In reality, the pre-processing, NN processing, intermediate processing, and post-processing may include even more data processing elements.

[0028] Preprocessing is a process performed on target data, which is data input to the data input layer. Preprocessing is, for example, a process of performing relatively simple data processing, normalization, and feature conversion, and is a process of processing target data for data processing in the data processing element on the output side. For example, when the target data is a monochrome image, preprocessing performs data processing such that the difference between the defective part DA and the normal part other than the defective part DA is more emphasized. Preprocessing includes brightness inversion processing, feature direction differentiation processing, coordinate direction differentiation processing, feature direction normalization processing, area extraction processing, image filter processing, image processing processing, etc. Candidates for area extraction are, for example, object detection, mask processing, and background removal. Candidates for data processing elements FtA to FtC as preprocessing elements used in preprocessing are, for example, a smoothing filter, an edge extraction filter, a Sobel filter, a Laplacian filter, and a median filter. Candidates for image processing are, for example, clipping, resizing, and binning. It should be noted that even if the data processing elements are of the same type, if the kernel sizes or coefficients are different, they are stored in the sequence element group 80 as different data processing elements.

[0029] When the target data is a spectral reflectance spectrum, the preprocessing includes a spectral analysis process, a color conversion process, and a basis conversion process. Candidates for the spectral analysis process are, for example, wavelength selection / interpolation, wavelength averaging, baseline removal, first derivative, and second derivative. Candidates for the color conversion process are, for example, color space conversion, color difference (ΔE) calculation, and film thickness measurement. Candidates for the basis conversion process are, for example, projective transformation, principal component analysis, linear discriminant analysis, and independent component analysis.

[0030] NN processing is processing in which data processing is performed by a trained neural network element, which is a data processing element incorporating a trained neural network. A trained neural network element is also called an NN processing element. The NN processing element performs NN processing as data processing on data output from a sequence element connected to the previous stage, which is the input side of the NN processing element, and outputs NN output data. The data processing elements FtD, FtE, and FtF used as NN processing elements are an EfficientNet model, a Residual Network model, or a Wide Residual Network model, which are convolutional neural networks. Note that the data processing elements FtD, FtE, and FtF may be neural network models using algorithms other than those described above.

[0031] As shown in FIG. 5, the data processing elements FtD, FtE, and FtF each include an NN input layer L1, a plurality of intermediate layers L2, and an NN output layer L3. The number of intermediate layers L2 can be determined arbitrarily. For example, the number of intermediate layers L2 differs depending on the data processing elements FtD, FtE, and FtF. The NN input layer L1 is a layer to which data output from the sequence elements on the input side is input. The intermediate layer L2 is a layer to which features are calculated based on data transmitted from the input layer L1. The output layer L3 is a layer to which results are output based on data transmitted from the intermediate layer L2. Each layer includes a plurality of nodes N. The edges connecting the nodes N of adjacent layers are weighted. The data processing elements FtD, FtE, and FtF each output features F1 to F4 from the intermediate layers L2a to L2d, respectively. These features F1 to F4 constitute the NN output data.

[0032] The NN processing is a process for extracting features from input data. The NN output data is data including at least one of features and post-NN processing data. The features are data output from the intermediate layers L2a to L2d of the NN processing layer. The post-NN processing data is data output from the NN output layer L3, and may be a classification label indicating the discrimination result or a scalar quantity obtained by regression analysis.

[0033] The medium processing shown in Fig. 4 converts data output from a sequence element connected to a previous stage, which is the input side of the medium processing element, into data suitable for a sequence element connected to a subsequent stage, which is the output side. The data conversion process by the medium processing is, for example, a process of reducing the amount of data output from a sequence element connected to the input side. The data processing elements FtG, FtH as the medium processing elements used in the medium processing include at least one of a first type medium processing element and a second type medium processing element.

[0034] The first type intermediate processing element reduces the amount of data by converting data output from a sequence element connected to the input side, which is the previous stage of the intermediate processing element, into other types of data and outputting the converted data. That is, the first type intermediate processing element converts data output from a sequence element connected to the input side, which is the previous stage of the intermediate processing element, into converted data expressed by other parameters and outputs the converted data. The first type intermediate processing element may include, for example, a data processing element that outputs converted data indicating the similarity between the NN output data and the reference data RM. In detail, when the input data is, for example, feature amounts F1 to F4 output from the intermediate layers L2a to L2d of the NN processing element, the first type intermediate processing element outputs converted data indicating the similarity between the reference feature amount, which is the feature amount output by inputting the reference data RM into the NN processing element. Examples of the first type intermediate processing element include a data processing element that outputs a Manhattan distance, a data processing element that outputs a cosine similarity, and a data processing element that calculates a Euclidean distance.

[0035] The second type intermediate processing element extracts at least a part of the data output from the sequence element connected to the input side of the intermediate processing element and outputs the extracted data. The second type intermediate processing element may include a data processing element that extracts at least a part of the multiple intermediate layers L2a to L2d, for example, a feature F1 corresponding to the intermediate layer L2a, without using the above-mentioned reference data RM, and outputs the feature F1 as extracted data. This data processing element is also called a layer selection layer. The second type intermediate processing layer may output extracted data with a reduced number of dimensions by extracting and combining the feature values ​​F1 to F4 of the multiple intermediate layers L2a to L2d. For example, the number of dimensions of each value VNN[x, y, z, L] of the feature values ​​F1 to F4 is four, consisting of an x-axis indicating "Height", a y-axis indicating "Width", a z-axis indicating the feature "Depth", and an L-axis identifying the intermediate layers L2a to L2d, which are layers. The second type intermediate processing element reduces the number of dimensions by calculating the average value of the corresponding four-dimensional feature amounts F1 to F4 and reducing the L axis. If the sizes [x, y, z] of the feature amounts F1 to F4 are different, the second type intermediate processing element may execute a resizing process to make the sizes the same. In the resizing process, for example, if the size after resizing is smaller than the size before resizing, the feature amount before resizing is compressed by averaging each part. In the resizing process, for example, if the size after resizing is larger than the size before resizing, an interpolation process is performed on the feature amount before resizing to generate a feature amount after resizing.

[0036] As described above, by using at least one of the first type intermediate processing element and the second type intermediate processing element, data such as NN output data can be processed to become data suitable for the sequence element on the output side of the intermediate processing element.

[0037] Post-processing is data processing that is executed on data output from a sequence element connected to the previous stage, which is the input side of the post-processing element, so that the data becomes data corresponding to the target data TM that is a target associated with the target data. Data corresponding to the target data TM is data that can be compared with the target data TM. For example, data corresponding to the target data TM is data that can be compared with the target data TM to evaluate whether it satisfies a specific termination condition, and is the same type of data as the target data TM. As described above, the post-processing element can output data that can be compared with the target data TM, so that by connecting an output element to the output side of the post-processing element, it is possible to easily compare the output data PM processed by the data processing sequence Sq with the target data TM.

[0038] For example, when the target data TM is a classification label that is a discrete value, the data corresponding to the target data TM is a label as a discrimination result. For example, when the target data TM is a scalar quantity that is a continuous value, the data corresponding to the target data TM is a scalar quantity obtained by regression analysis or the like. Examples of post-processing elements that perform post-processing to output discrimination results include a data processing element that outputs Mahalanobis distance, a data processing element that executes a support vector machine (SVM), a data processing element that executes Otsu's binarization, and a data processing element that executes linear discrimination. Examples of post-processing elements that perform post-processing to output discrimination results include a data processing element that executes quadratic discrimination, a data processing element that executes random forest, a data processing element that executes k-nearest neighbor method, a data processing element that executes k-means method, and a data processing element that executes discriminant analysis processing using a neural network model. Examples of post-processing elements that perform post-processing to output continuous values ​​include a data processing element that executes multiple regression analysis, a data processing element that executes partial least squares regression, and a data processing element that executes regression analysis using a neural network model. In this way, the post-processing layer, which is a data processing element, converts the data input to the post-processing layer into data that can be compared with the target data and outputs the converted data.

[0039] FIG. 6A is a diagram showing a first candidate process table 81A included in the candidate process table 81 shown in FIG. 2. FIG. 6B is a diagram showing a second candidate process table 81B included in the candidate process table 81 shown in FIG. 2. In this embodiment, the task genre, the type of data processing, and the non-appearance type are determined according to the "dimension" and "value characteristics" of the target data input to the data processing sequence Sq and the target data TM corresponding to the target data. The "value characteristics" mean whether the target data TM is a discrete value or a continuous value. A discrete value is a non-continuous value, such as a label value representing a class classified in advance. A continuous value is a value that can take an infinite number of values ​​between values, such as the mass of a specific substance contained in an object.

[0040] As shown in FIG. 6A, in the first process candidate table 81A, a task genre is defined according to a combination of the type of target data input to the data processing sequence Sq and the type of target data TM corresponding to the target data. In detail, a task genre is defined according to a combination of the "dimension" and "value characteristics" of the target data and the "dimension" and "value characteristics" of the target data TM. The task genres in this embodiment include task genres No. 1 to No. 12. In the first process candidate table 81A in this embodiment, the target data is classified into three categories: "one-dimensional discrete or continuous values", "two-dimensional discrete or continuous values", and "three-dimensional discrete or continuous values". The "one-dimensional discrete or continuous values" are, for example, spectral data. The "two-dimensional discrete or continuous values" are, for example, monochrome images. The "three-dimensional discrete or continuous values" are, for example, RGB images and spectral images. In the first process candidate table 81A of this embodiment, the target data TM is classified into eight categories, from "zero-dimensional discrete value" to "three-dimensional continuous value".

[0041] Task genres No. 1 to No. 12 indicate classifications of the goals of processing using the data processing sequence Sq. The task genres are also called types of data processing objectives. For example, task genre No. 1 is a task genre in which a one-dimensional vector is used as the target data and discrimination of the target data is performed. For example, task genre No. 2 is a task genre in which a one-dimensional vector is used as the target data and calibration is performed to output a scalar quantity according to the target data. For example, task genre No. 3 is a task genre in which multiple discriminations are performed on target data that is one-dimensional discrete or continuous values. The multiple discriminations include, for example, discrimination performed for each discrete value or continuous value arranged in one dimension, discrimination for label classification of one image, discrimination performed for each multiple area of ​​one image, and discrimination performed for each multiple item of one target data. In addition, there are various types of calibration, such as calibration in which one type of scalar quantity such as temperature is output, calibration in which multiple types of scalar quantities such as temperature and voltage are output, and calibration for each area of ​​the target data.

[0042] As shown in FIG. 6B, the second process candidate table 81B is a table in which the type of data processing and the non-appearance type are defined for each task genre. That is, the type of data processing and the non-appearance type are defined according to the "dimension" and "value characteristics" of the target data and the "dimension" and "value characteristics" of the target data TM. The type of data processing specifies the type of data processing to be performed in advance on the target data as input data. For example, in task genre No. 1, it is specified that pre-processing, NN processing, mid-processing, and post-processing are used as data processing. Also, for example, in task genre No. 2, it is specified that pre-processing and post-processing are used as data processing.

[0043] The non-appearance type specifies a data processing element that is not to appear as a component of the data processing sequence Sq among the data processing elements used in each process specified in the data processing type. For example, the non-appearance type specifies a data processing element that executes data processing that does not conform to the content indicated by the task genre. For example, in a task genre in which the target data is one-dimensional data, a data processing element that executes vector processing is a candidate element of the data processing sequence Sq, while an image processing filter such as a Sobel filter or a Laplacian filter for processing two-dimensional or three-dimensional data is not a candidate element. Therefore, in a task genre in which the target data is one-dimensional data, an image processing filter is specified as the non-appearance type. Also, for example, in task genre No. 1, post-processing is performed while the target data TM is a zero-dimensional discrete value. Therefore, among the data processing elements FtI to FtK that perform post-processing, a data processing element that does not output a discrimination result that is a discrete value, for example, that outputs a scalar amount, is specified as the non-appearance type. Also, for example, in table identifier No. 2, post-processing is performed while the target data TM is a continuous value. Therefore, among the data processing elements FtI to FtK that perform post-processing, data processing elements that do not output a scalar quantity as a continuous value, for example, that output a determination result that is a discrete value, are defined as non-occurrence types.

[0044] The processing candidate table 81 may be set by user input, or may be automatically generated by the generation device 20 using a predetermined table generation algorithm by accepting input of the target data to be processed by the data processing sequence Sq, the type of the target data, and the type of the target data TM.

[0045] FIG. 7 is a diagram showing an example of a reference data group. The reference data group 77 has a plurality of reference data sets RSM that can be compared with the learning set SM shown in FIG. 3. The reference data set RSM has reference data RM, which is the same type of data as the learning data LM of the learning set SM, and a reference label as a label associated with the reference data RM. The reference label is label 0 indicating a good product and label 1 indicating a defective product, similar to the label associated with the learning set SM in FIG. 3. The reference data RM is, for example, data used to reduce the amount of data of the NN output data in the intermediate processing element. For example, as described above, in the intermediate processing element, the NN output data of the target data is compared with the NN output data of the reference data, and a Manhattan distance with a reduced amount of data is output from the NN output data. As a result, the generating device 20 can reduce the amount of data of the NN output data using the reference data RM, thereby improving the efficiency of data processing by the data processing sequence Sq. Note that the reference label is used to identify the reference data RM to be compared with the learning data LM of the learning set SM. In other words, the reference data RM with label 0 is used as a comparison target of the learning data LM with label 0. In addition, when the target data TM is something other than a label, such as a target image or a scalar quantity, the reference data set RSM may have related information for identifying the learning set SM to be compared instead of the reference label. For example, when an identifier is assigned to the learning set SM shown in FIG. 3, the related information is information indicating the identifier of the learning set SM.

[0046] The reference data RM is data that has undergone a dimensionality conversion process to convert the number of dimensions to "3", similar to the above-mentioned learning data LM.

[0047] The population 84 shown in FIG. 2 is a set of a plurality of individuals IV in one generation generated by the individual generation unit 32. FIG. 8 is a diagram for explaining the population 84 of one generation G. In this embodiment, an example in which five individuals IV1 to IV5 are generated in one generation G will be explained. In each of the individuals IV1 to IV5, a plurality of loci in which genes are arranged are arranged in a one-dimensional manner. The gene lengths of each of the individuals IV1 to IV5 are the same, and each of the individuals IV1 to IV5 is configured by arranging genes in order in loci No. 1 to No. 10. The individual generation unit 32 arranges genes expressed by a numerical value from 0 to 1 up to three decimal places at each locus. That is, in this embodiment, the numerical value VG that a gene can take at each locus is a numerical value from 0 to 1 up to three decimal places.

[0048] 9 is a diagram showing a table 82T for explaining the appearance range of a gene generated based on the connection condition table 88. The appearance range is determined by the gene translation unit 34 using the connection condition table 88 and a selection algorithm described later.

[0049] In table 82T, the appearance range is defined for each input side element type indicating the type of the input side sequence element. The input side element type indicates the type of each data processing element of the sequence element group 80 or the data input element. In FIG. 9, the input side element type of the data input element is represented by "in", and the input side element type of the data processing element is represented by "FtM" to "FtQ". For ease of understanding, the appearance range described in table 82T is used regardless of the element type of the output side sequence element. The number of inputs indicates the number of sequence elements connected to the input side of the data processing element or the data input element. When the number of inputs is "2", data output from two sequence elements is input to the data processing element. The number of outputs indicates the number of sequence elements connected to the output side of the data processing element. In this embodiment, the number of outputs is all "1", and the data processing element or the data input element is connected to one output side sequence element.

[0050] The occurrence range of table 82T specifies the range of the gene's numerical value VG. In table 82T, the occurrence range is set by dividing the numerical values ​​from 0 to 1 into six equal parts so that each sequence element appears randomly in the data processing sequence Sq with equal probability. For example, if the numerical value VG of a gene is a value equal to or greater than 0 and less than 0.167, the data processing element FtM is assigned to this gene.

[0051] Before further explaining Fig. 2, the generation process of the data processing sequence Sq by the gene translation unit 34 will be described with reference to Fig. 10. Fig. 10 is a diagram showing the tree-structured data processing sequence Sq generated by the gene translation unit 34. The data processing sequence Sq shown in Fig. 10 is a data processing sequence Sq1 generated using the individual IV1 shown in Fig. 8, the connection condition table 88, and the appearance range shown in the table 82T generated using the connection condition table 88. Note that the number of inputs and the number of outputs are specified in the connection condition table 88 in the same way as in the table 82T, as described later.

[0052] The gene translation unit 34 uses the individual IV, the table 82T, and the sequence element group 80 to generate a data processing sequence Sq in a tree structure in the order from the data output element out side to the input side. As shown in FIG. 10, the gene translation unit 34 first sets the data output element out to a terminal node that is the end of the output side, and generates the data processing sequence Sq by connecting sequence elements to the input side in the order of the arrangement of the genes of the individual IV. The connection of sequence elements is performed according to a predetermined connection rule. In this embodiment, the data processing sequence Sq is generated according to a depth-first rule that prioritizes arrangement from the terminal node side in the order of the arrangement of the genes, and prioritizes arrangement of the left connection destination shown in FIG. 10 over the right connection destination. In other words, the data processing elements or data input elements in are arranged from the data output element out side in the order of the arrangement of the genes, and when the input side is divided into a plurality of parts, the left side is prioritized until the left sequence becomes the data input element in.

[0053] The gene translation unit 34 refers to the value VG of the gene No. 1 of the individual VI1, "0.534", and the table 82T, and determines that "0.534" is within the appearance range of the data processing element FtP. As a result, the data processing element FtP is connected to the input side of the data output element out. Next, the gene translation unit 34 refers to the table 82T, specifically the connection condition table 88, and determines that the number of inputs of the data processing element FtP is "2", thereby arranging two sequence elements on the input side of the data processing element FtP. Specifically, the gene translation unit 34 arranges the sequence element corresponding to the gene No. 2 of the individual VI1 at the left input side connection destination shown in FIG. 10. That is, the gene translation unit 34 refers to the value VG of the gene No. 2, "0.292", and the table 82T, and determines that "0.292" is within the appearance range of the data processing element FtN. As a result, the data processing element FtN is arranged at the left input side connection destination of the data processing element FtP.

[0054] Next, the gene translation unit 34 refers to the data processing element FtN represented by the gene No. 2 and the table 82T, specifically the connection condition table 88, and determines that the number of inputs of the data processing element FtN is "1", thereby placing one sequence element on the input side of the data processing element FtN. Specifically, the gene translation unit 34 refers to "0.462", which is the numerical value VG of the gene No. 3, and the table 82T, and determines that "0.462" is within the appearance range of the data processing element FtO. As a result, the data processing element FtO is placed at the input side connection destination of the data processing element FtN represented by the gene No. 2.

[0055] Next, the gene translation unit 34 refers to the data processing element FtO represented by the gene No. 3 and the table 82T, specifically the connection condition table 88, and determines that the number of inputs of the data processing element FtO is "1", thereby arranging one sequence element on the input side of the data processing element FtO. Specifically, the gene translation unit 34 refers to "0.856", which is the numerical value VG of the gene No. 4, and the table 82T, and determines that "0.856" is within the appearance range of the data input element in. As a result, the data input element in is arranged at the input side connection destination of the data processing element FtO represented by the gene No. 3. This completes the generation of the left side sequence of the data processing sequence Sq in FIG. 10.

[0056] Next, the gene translation unit 34 places a sequence element corresponding to gene No. 5 of individual VI1 in the input side connection destination on the right side shown in Fig. 10. That is, the gene translation unit 34 refers to "0.138", which is the numerical value VG of gene No. 5, and table 82T, and determines that "0.138" is within the appearance range of data processing element FtM. As a result, the data processing element FtM is placed in the input side connection destination on the right side of data processing element FtP.

[0057] Furthermore, the gene translation unit 34 refers to the data processing element FtM represented by the gene No. 5 and the table 82T, specifically the connection condition table 88, and determines that the number of inputs of the data processing element FtM is "1", thereby arranging one sequence element on the input side of the data processing element FtM. Specifically, the gene translation unit 34 refers to "0.932", which is the numerical value VG of the gene No. 6, and the table 82T, and determines that "0.932" is within the appearance range of the data input element in. As a result, the data input element in is arranged at the input side connection destination of the data processing element FtM represented by the gene No. 5. This completes the generation of the right-side sequence of the data processing sequence Sq shown in FIG. 10.

[0058] When all the input side sequence elements become data input elements in, the gene translation unit 34 ends the generation process of the data processing sequence Sq even if not all the genes of the individual IV1 are used. Note that when all the genes of the individual IV1 are used and not all the input side sequence elements become data input elements in, the gene translation unit 34 ends the generation process of the data processing sequence Sq by setting the data processing elements in to the remaining unconnected input side sequence elements.

[0059] The data processing sequence Sq1 generated using the individual VI1, the connection condition table 88, and the occurrence range calculated using the connection condition table 88 has two data input elements in. The input data input to one data input element in is data-processed by a data processing element FtO, and then data-processed by a data processing element FtN to generate first processed data. The input data input to the other data input element in is data-processed by a data processing element FtM to generate second processed data. The first processed data and the second processed data are data-processed by a data processing element FtP, and one piece of output data PM after data processing is output by a data output element out.

[0060] FIG. 11 is a diagram showing details of the connection condition table 88 shown in FIG. 2. The connection condition table 88 is a table generated by the connection condition generating unit 55. In the connection condition table 88, for each element set, which is a pair of sequence elements on the connected input side and output side, either "1" as a connection reference value RV or "-1" as non-occurrence data is associated. The connection reference value RV indicates the occurrence probability of an element appearing as a component of the data processing sequence Sq. Non-occurrence data indicates that the element is not allowed to appear as a component of the data processing sequence Sq. The connection reference value RV may be set to a different value for each element set.

[0061] The connection condition table 88 specifies the element type of the input side sequence element that is a candidate for placement on the input side, the process type of the data processing to be executed by the input side sequence element, the element type of the output side sequence element, the process type of the data processing to be executed by the output side sequence element, a connection reference value RV of "1" and non-occurring data of "-1".

[0062] The input side sequence elements are the data processing elements FtA to FtK and the data input element in. The output side sequence elements are the data processing elements FtA to FtK and the data output element out. That is, the connection condition table 88 specifies a plurality of element sets, which are pairs of input and output side sequence elements that are connection candidates. The number of inputs indicates the number of sequence elements connected to the input side of the input side sequence element. The number of outputs indicates the number of sequence elements connected to the output side of the input side sequence element. The numbers 0 to 11 in parentheses in the input side sequence elements and the output side sequence elements are identifiers of each element. In the connection condition table 88, among the plurality of element sets, a specific element set that is prohibited from being connected is associated with "-1" as non-appearance data indicating that the element is not to appear as a component of the data processing sequence Sq, as described above. In addition, in the connection condition table 88, the connection reference value RV "1" is associated with element sets other than the specific element set associated with the non-appearance data, as described above.

[0063] Fig. 12 is a diagram showing a flowchart illustrating processing executed by the generating device 20. The processing illustrated in Fig. 12 includes a generating process of a generating condition in step S10, a generating process of a specific data processing sequence DSq in step S30, and a using process of the specific data processing sequence DSq in step S50.

[0064] 13 is a detailed flowchart of the generation process of the generation conditions. In step S101, the storage device 70 stores a learning data group 74 composed of a plurality of learning sets SM. Step S101 is executed by a user inputting a plurality of learning sets SM to the generation device 20. In this case, when the number of dimensions of the learning data LM of the input plurality of learning sets SM is smaller than "3", the generation device 20 may execute a dimension number conversion process to convert the number of dimensions to "3". In addition, the dimension number conversion process does not have to be executed in step S101, and may be executed in the above-mentioned step S30.

[0065] Next, in step S103, the processor 25 determines whether or not the reference dataset RSM exists. The determination in step S103 of whether or not the reference dataset RSM exists may be made by the processor 25 based on whether or not data is stored in a predetermined storage area of ​​an external device such as the sensor device 200. The determination in step S103 may also be made by, for example, the processor 25 displaying confirmation information on the display unit 160. The confirmation information is message information that prompts the user to confirm whether or not the reference dataset RSM exists. The confirmation information may also include information that prompts the user to store the reference dataset RSM in the storage device 70.

[0066] In the first case where the processor 25 judges "Yes" in step S103, the processor 25 executes the next step S104. On the other hand, in the second case where the processor 25 judges "No" in step S103, the processor 25 may display information on the display unit 160 prompting the input of the reference data set RSM and execute step S103 again. Note that in another embodiment, the processor 25 may skip step S104 in the second case and execute the next step S105. In addition, in the second case, when information indicating that the reference data set RSM is essential in the processing of step S30 is stored in the storage device 70, the processor 25 may display an error display on the display unit 160 and end the processing of step S10. In addition, when the processor 25 skips step S104, the processor 25 may use the learning set SM as the reference data set RSM.

[0067] In the first case where the determination of "Yes" is made in step S103, the processor 25 accepts an input of the reference data set RSM in step S104. The accepted reference data set RSM is stored in the storage device 70. Note that, when the reference data RM of the reference data set RSM is different in type from the learning data LM and cannot be compared and evaluated, the processor 25 may end the processing of step S10 by displaying information indicating an error on the display unit 160. Also, in step S104, the processor 25 may store at least a part of the learning set SM of the learning data group 74 stored in step S101 as the reference data set RSM in the storage device 70. Also, in step S104, when the number of dimensions of the reference data RM is different from the number of dimensions of the learning data LM, the processor 25 may display information prompting the user to unify the number of dimensions on the display unit 160, or may perform a number-of-dimensions conversion process on the reference data RM.

[0068] Next, in step S105, the processor 25 determines whether or not the user has specified the generation conditions for generating the data processing sequence Sq. The user specifies the generation conditions by inputting the specified contents via the input unit 150 to the generation condition input screen displayed on the display unit 160. The user specifies the generation conditions before step S105 or in step S105.

[0069] FIG. 14 is a diagram showing a generation condition input screen SIM. A user inputs a generation condition to the generation device 20 using the generation condition input screen SIM shown in FIG. 14. The generation condition input screen SIM has a manual generation option B1 and an automatic generation option B2. The generation condition input screen SIM also has a data type selection field f0, a pre-processing selection field f1, an NN processing selection field f2, an intermediate processing selection field f3, a post-processing selection field f4, and a manual generation field f5. The data type selection field f0 is a field for selecting a combination of the type of target data and the type of target data TM for which data processing is performed by the data processing sequence Sq. Examples of the type of target data and the type of target data TM include the types of target data and the types of target data TM shown in FIG. 6A. In the data type selection field f0, "other types" can also be selected as the data type. The data processing selection field f0 accepts the selection of the data type, for example, by a pull-down menu.

[0070] The pre-processing selection field f1 is a field for selecting a pre-processing element as a candidate data processing element that is a candidate for a sequence element of the data processing sequence Sq. The NN processing selection field f2 is a field for selecting an NN processing element as a candidate data processing element that is a candidate for a sequence element of the data processing sequence Sq. The middle processing selection field f3 is a field for selecting a middle processing element as a candidate data processing element that is a candidate for a sequence element of the data processing sequence Sq. The post-processing selection field f4 is a field for selecting a post-processing element as a candidate data processing element that is a candidate for a sequence element of the data processing sequence Sq.

[0071] The processor 25 displays at least one of the selection fields f1 to f4 according to the data type selected by the data type selection field f0. Specifically, the processor 25 refers to the selected data type and the second process candidate table 81B shown in FIG. 6B, and displays the selection fields f1 to f4 according to the data processing type associated with the selected data type. For example, when the selected data type is "one-dimensional discrete value / continuous value / zero-dimensional discrete value", that is, when the task genre is No. 1, the data processing types in the process candidate table 81 are specified as "pre-processing", "NN processing", "middle processing", and "post-processing". In this case, the processor 25 displays the pre-processing selection field f1, the NN processing selection field f2, the middle processing selection field f3, and the post-processing selection field f4 on the display unit 160. The names of the data processing elements displayed in the fields f1 to f4 are the data processing elements specified by the types of data processing in the second process candidate table 81B. In addition, in the case where the post-processing elements include a post-processing element that outputs a discrimination result and a post-processing element that outputs a scalar quantity, field f5 displays only post-processing elements that are candidates for use as data processing according to the "dimension" and "value characteristics" of the subject data and the target data TM. In addition, processor 25 refers to the non-appearance type associated with task genre No. 1 shown in Fig. 6, and does not display data processing elements corresponding to the non-appearance type in selection fields f1 to f4.

[0072] If the user selects a data processing element displayed in the selection fields f1 to f4 and then selects the automatic generation option B2, the selected data processing element is stored in a primary memory area, which is an area of ​​the storage device 70, in association with information indicating that it has been selected.

[0073] On the other hand, when the manual generation option B1 is selected, the user generates the data processing sequence Sq by inputting sequence elements of the data processing sequence Sq in the field f5. After generating the data processing sequence Sq, the user selects the manual generation option B1 again, whereby the generated data processing sequence Sq is stored in the storage device 70.

[0074] The contents of the specified generation conditions are not limited to those described above. For example, the contents of the specification may be any conditions related to the generation of the data processing sequence Sq, and may include the value of the connection reference value RV of the element set, the gene length of the individual IV, the number of individuals IV generated in one generation, and the conditions for duplication, crossover, and mutation of the individual IV when generating the next generation of individuals.

[0075] As described above, the process of accepting generation conditions using the generation condition input screen SIM includes the process of accepting input of candidate data processing elements as data processing elements that are candidates for sequence elements that constitute the data processing sequence Sq, as shown in fields f1 to f4.

[0076] As shown in FIG. 13, if the determination in step S105 is "No", the processor 25 executes step S108. On the other hand, if the determination in step S105 is "Yes", the processor 25 executes a process to reflect the specified generation conditions in step S106. Specifically, the processor 25 determines whether or not a malfunction occurs when the data processing sequence Sq is generated using the specified generation conditions stored in the primary storage area. If the processor 25 determines that no malfunction occurs, the processor 25 reflects the generation conditions by storing the specified generation conditions in a predetermined storage area in the storage device 70. A malfunction is, for example, a case where the processing efficiency for identifying a specific data processing sequence DSq is extremely reduced in a case where the gene length is extremely long under the specified generation conditions, or where a medium processing element is not selected when a NN processing element is selected.

[0077] In step S108, the processor 25 modifies the data processing elements that are candidates for the sequence elements of the data processing sequence Sq, based on the generation conditions stored in a predetermined storage area of ​​the storage device 70. Specifically, for example, in the processing candidate table 81 shown in Fig. 6, from among the data processing elements associated with the target data to be processed, a data processing element specified by the generation conditions is extracted, and the extracted data processing element is stored as a candidate data processing element in a predetermined storage area of ​​the storage device 70 as a part of the generation conditions.

[0078] As shown in FIG. 13, in step S111, the processor 25 executes a process of determining a generation condition. Specifically, the processor 25 determines that the generation condition stored in a predetermined storage area of ​​the storage device 70 is to be used in step S30 shown in FIG. 11. In addition, in the process of determining the generation condition in step S111, the connection condition generating unit 55 of the processor 25 generates a connection condition table 88 using the extracted data processing elements stored in the predetermined storage area as the generation condition. Step S111 of generating the connection condition table 88 is a process of generating connection conditions related to the connection of sequence elements constituting a data processing sequence according to the type of data processing performed by the candidate data processing element accepted via the generation condition input screen SIM. One of the generation of the connection conditions is performed by generating a connection condition table shown in FIG. 11. A method of generating the connection condition table will be described below.

[0079] In step S111, the connection condition table 88 is generated according to the following connection algorithm. <Connection algorithm> First connection algorithm: When the candidate data processing elements include an NN processing element and a medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed next to the NN processing. Second connection algorithm: If the candidate data processing elements include a post-processing element, the post-processing element is connected to the data output element out so that data after data processing is output by the data output element out after the post-processing. · The third connection algorithm: If the candidate data processing elements include a pre-processing element, a NN processing element, a mid-processing element, and a post-processing element, the data input element in, the pre-processing element, the NN processing element, the mid-processing element, the post-processing element, and the data output element out are connected so that pre-processing, NN processing, mid-processing, and post-processing are executed in the order from the data input element in to the data output element.

[0080] Each process may be performed by a combination of multiple data processing elements, and in this embodiment, the pre-processing is performed by a combination of one or more data processing elements.

[0081] Furthermore, since the third connection algorithm includes the first connection algorithm and the second connection algorithm, when the third connection algorithm is executed, the execution of the first connection algorithm and the second connection algorithm may be omitted.

[0082] When the first connection algorithm is executed, the connection condition generation unit 55 associates a connection reference value RV with an occurrence element set that is an element set whose input side is the NN processing elements FtD-FtF and whose output side is the medium processing elements FtG, FtI. Also, when the first connection algorithm is executed, the connection condition generation unit 55 associates non-occurrence data with an element set whose input side is the NN processing elements FtD-FtF and whose output side is a sequence element different from the medium processing elements FtG, FtH. In this way, the connection condition generation unit 55 generates a connection condition table 88 using the first connection algorithm.

[0083] A specific example of the connection condition table 88 generated by the connection condition generating unit 55 using the above connection algorithm will be described. In this specific example, as shown in Fig. 14, "1-dimensional discrete value / continuous value / 0-dimensional discrete value" corresponding to task genre No. 1 is selected in the data type selection field f0, and data processing elements FtA, FtB, FtC, FtD, FtE, FtF, FtG, FtH, FtI, FtJ, and FtK are selected in the selection fields f1 to f4. In this case, the processor 25 refers to the input instruction contents of the generation condition input screen SIM and the second processing candidate table 81B shown in Fig. 6B, and extracts the data processing elements FtA, FtB, FtC, FtD, FtE, FtF, FtG, FtH, FtI, FtJ, and FtK as candidate processing data processing elements.

[0084] Next, the connection condition generating unit 55 associates either a connection reference value RV or non-occurrence data with element sets of all combinations of a data input element in and data processing elements FtA to FtK as candidate processing data processing elements as input side sequence elements, and a data output element out and data processing elements FtA to FtK as candidate processing data processing elements as output side sequence elements, as shown in Fig. 11. The connection condition generating unit 55 associates either a connection reference value RV or non-occurrence data with element sets in accordance with the above-mentioned connection algorithm that specifies the connection conditions.

[0085] In the third connection algorithm of the connection algorithm, the data input element in, the pre-processing element, the NN processing element, the mid-processing element, the post-processing element, and the data output element out are connected so that pre-processing, NN processing, mid-processing, and post-processing are executed in the order from the data input element in to the data output element out. Therefore, the connection condition generating unit 55 associates the connection reference value "1" with the element set in the connection order according to the third connection algorithm, and associates non-occurrence data "-1" with the element set in the connection order different from the connection order. For example, as shown in FIG. 11, the input side sequence element is the data input element in, and the output side sequence element is the data processing elements FtD to FtK that execute NN processing, mid-processing, and post-processing and the data output element out, and associates non-occurrence data "-1" with the element set so that the pre-processing element is connected to the output side of the data input element in. Also, for example, for an element set in which the input side sequence elements are data processing elements FtA to FtC that perform pre-processing, and the output side sequence elements are data processing elements FtG to FtK that perform mid-processing and post-processing, and a data output element out, so that NN processing is performed after pre-processing, the connection condition generation unit 55 associates the non-occurring data "-1" as shown in Figure 11.

[0086] As described above, step S111 shown in FIG. 13 includes a process of generating connection conditions by generating a connection condition table 88 in which a connection reference value RV or non-occurrence data is associated with an element set, which is a pair of sequence elements on the input and output sides that are connection candidates.

[0087] Fig. 15 is a detailed flowchart of step S30 in Fig. 12. First, in step S306, the individual generation unit 32 generates an individual group 84 consisting of a plurality of individuals IV for the current generation G. In this embodiment, as shown in Fig. 8, an individual group 84 consisting of five individuals IV1 to IV5 is generated.

[0088] Next, in step S308, the gene translation unit 34 selects one of the individuals IV1 to IV5, and translates the selected individual IV by referring to the connection condition table 88 to generate a data processing sequence Sq. Step S308 will be described in detail later.

[0089] Next, in step S350, the data processing unit 40 processes the multiple learning data LM using the data processing sequence Sq generated in step S308 to generate multiple output data PM. Here, if the data processing sequence Sq has pre-processing elements FtA to FtC that perform pre-processing and the reference data set RSM is stored in the storage device 70, in step S350, the data processing unit 40 also performs pre-processing on the reference data RM.

[0090] Furthermore, in step S350, if the data processing sequence Sq has NN processing elements FtD-FtF that perform NN processing, and if the reference data set RSM is stored in the storage device 70, the data processing unit 40 also performs NN processing on the reference data RM, and outputs the features F1-F4 output from the intermediate layers L2a-L2d as reference NN output data. Note that, in the case where pre-processing elements FtA-FtC are connected to the input side of the NN processing elements FtD-FtF, the data processing unit 40 performs pre-processing on the reference data RM by the pre-processing elements FtA-FtC, as with the learning data LM, and performs NN processing on the reference data RM after the pre-processing has been performed.

[0091] As described above, when the data processing sequence Sq generated in step S308 includes NN processing elements FtD to FtF and medium processing elements FtG, FtH, in step S350, the data processing unit 40 performs data processing executed on the input side of the medium processing elements FtG, FtH on the reference data RM to generate processed reference data.

[0092] In step S350, the first type intermediate processing element that performs intermediate processing on the data processing sequence Sq outputs converted data indicating the similarity between the NN output data indicating the feature amount generated from the learning data 74 and the processed reference data indicating the feature amount generated from the reference data RM. When classification labels are associated with the learning data 74 and the reference data RM, respectively, the similarity between the same classification labels is calculated.

[0093] In step S350, if the data processing sequence Sq includes post-processing elements FtJ to FtK that perform post-processing, the data processing unit 40 performs post-processing on the pre-post-processing data output from the input side, which is the previous stage of the post-processing elements FtJ to FtK, using the post-processing elements FtI to FtK. In addition, if the post-processing elements FtI to FtK are data processing elements that perform random forests, etc., and the post-processing includes learning processing, the data processing unit 40 inputs the target data TM associated with the learning data 74 from which the pre-post-processing data was generated, and the pre-post-processing data to the post-processing elements FtI to FtK for learning. After the post-processing elements FtI to FtK have learned, the data processing unit 40 inputs the pre-post-processing data to the post-processing elements FtI to FtK to obtain output data PM from the post-processing elements FtI to FtK. The learning data and the evaluation data input after learning may be the same or different. In addition, the multiple learning data LM may be classified into learning data and evaluation data by cross-validation.

[0094] In the data processing by the data processing sequence Sq executed by the data processing unit 40 described above, if the NN processing elements FtD to FtF are data processing elements that output the input data as is, the NN processing may be omitted. Also, for example, in the data processing by the data processing sequence Sq executed by the data processing unit 40 described above, if the intermediate processing elements FtG, FtH are data processing elements that output the input data as is, the intermediate processing may be omitted. Also, for example, in the data processing by the data processing sequence Sq executed by the data processing unit 40 described above, if the post-processing elements FtI to FtK are data processing elements that output the input data as is, the post-processing may be omitted.

[0095] Next, in step S352, the identification unit 50 compares the multiple output data PM generated in step S350 with the target data TM associated with the learning data LM from which the multiple output data PM were generated, and calculates multiple evaluation values ​​EV to evaluate the processing result. The identification unit 50 uses the average value of the multiple evaluation values ​​EV as the final evaluation value EV indicating the similarity SD between the output data PM and the target data TM. In addition, step S356 performed for all individuals IV of one generation G and step S356 repeatedly performed until the specific end condition is satisfied are steps for identifying a specific data processing sequence DSq that satisfies the specific end condition using multiple similarities SD indicated by multiple evaluation values ​​EV corresponding to each of the multiple data processing sequences Sq. The data processing sequence Sq that satisfies the specific end condition can be easily identified using the similarity SD between the output data PM and the target data TM.

[0096] Next, in step S354, the identification unit 50 judges whether or not the processing of steps S308 to S352 has been performed on all the individuals IV of one generation G. If the judgment in step S354 is "No," the processor 25 selects one of the individuals IV of one generation G for which steps S308 to S352 have not been performed, and executes the processing of steps S308 to S352 again. That is, the data processing unit 40 processes the learning data LM by each of the multiple data processing sequences Sq corresponding to the multiple individuals IV constituting one generation G, and generates output data PM after data processing for each of the multiple data processing sequences Sq. Then, the identification unit 50 compares the multiple output data PM generated for each of the multiple data processing sequences Sq with the corresponding target data TM to calculate an evaluation value EV.

[0097] On the other hand, if the determination in step S354 is "Yes", the determination unit 50 determines in step S356 whether or not a predetermined determination end condition has been satisfied, using the multiple evaluation values ​​EV calculated in the current generation.

[0098] The specific end condition includes, for example, the following first individual end condition, second individual end condition, and third individual end condition. The identification unit 50 determines that the specific end condition is satisfied when one of the first individual end condition to the third individual end condition, which are multiple conditions included in the characteristic end condition, is satisfied. First individual exit condition: The condition is that the highest similarity SDmax among the similarities SD indicated by the multiple evaluation values ​​EV calculated based on the multiple individual IVs of the current generation is equal to or greater than a predetermined termination threshold. Second individual termination condition: A condition in which the specific end condition is not satisfied and the number of times that the processes of steps S306 to S356 are executed again reaches a certain number. Third individual termination condition: A certain period of time has elapsed since the start of the process in step S30.

[0099] By including the first individual end condition in the specific end condition, the specific data processing sequence DSq can be easily identified using the evaluation value EV obtained by comparing the output data PM and the target data TM. Furthermore, by including the second individual end condition and the third individual end condition in the specific end condition, the specific data processing sequence DSq can be identified even if the similarity SDmax indicated by the evaluation value EV does not become equal to or greater than the end threshold. This makes it possible to prevent the processing time required to identify the specific data processing sequence from becoming long.

[0100] When any one of the first to third individual end conditions is satisfied, in step S358, the identifying unit 50 identifies the data processing sequence Sq corresponding to the satisfied individual end condition as a specific data processing sequence DSq. The identified specific data processing sequence DSq is stored in the storage device 70.

[0101] In step S356, when the first individual end condition is satisfied, the identification unit 50 identifies the data processing sequence Sq from which the highest similarity SDmax was calculated as the specific data processing sequence DSq. In addition, in step S356, when either the second individual end condition or the third individual end condition is satisfied, the identification unit 50 identifies the highest similarity SDmax among the similarities SD calculated until either the second individual end condition or the third individual end condition is satisfied. Then, regardless of whether the similarity SDmax is equal to or greater than the end threshold, the identification unit 50 identifies the data processing sequence Sq from which the similarity SDmax was calculated as the specific data processing sequence DSq.

[0102] On the other hand, the routine of steps S306 to S356 is repeatedly executed until the specific end condition is satisfied, that is, when the specific data processing sequence DSq is not specified.

[0103] In step S306 of the next routine, the individual generation unit 32 executes a regeneration step of generating a sequence set by generating a plurality of data processing sequences Sq, at least one of which is different from the plurality of data processing sequences Sq generated in steps S306 and S308 in the previous routine. In detail, in the regeneration step, the individual generation unit 32 uses the evaluation value EV to identify a current generation individual IV to be used for the next generation individual IV, duplicates the identified individual IV, and performs at least one of crossover and mutation on the identified individual IV to newly generate an individual IV, thereby generating a sequence set for the next routine.

[0104] In the present embodiment, in the regeneration step, the individual generation unit 32 replaces the target data processing sequence Sq, which is one or more data processing sequences Sq with low similarity SD indicated by the evaluation value EV among the multiple data processing sequences Sq generated in the previous routine, with a new data processing sequence Sq with different sequence elements to generate a sequence set. The individual generation unit 32 identifies the individual IV whose similarity SD does not fall within the Jth lowest similarity SD among the multiple individual IVs of the parent generation used in the previous routine, and generates a new individual IV of the current generation in the current routine by using at least one of crossover and mutation for the identified individual IV. The individual generation unit 32 duplicates the individual IV whose similarity SD does not fall within the Jth lowest similarity SD among the multiple individual IVs of the parent generation. A new sequence set is composed of the duplicated individual IV and the individual IV newly generated using crossover and mutation. Then, the processing of steps S308 to S356 is executed again for the new sequence set. In another embodiment, among the multiple individuals IV of the parent generation, for individuals IV whose similarity SD is equal to or less than a predetermined duplication standard value, new individuals IV may be generated using crossover or sudden displacement based on individuals IV whose similarity SD is greater than the duplication standard value. As described above, by generating a new data processing sequence having a different combination of sequence elements based on a data processing sequence Sq with a high similarity SD and replacing one or more data processing sequences Sq with a low similarity SD, the data processing sequence Sq with a low similarity SD can be excluded from the processing target. This makes it possible to more efficiently identify a data processing sequence Sq that satisfies the standard condition.

[0105] In the process of steps S308 to S356 for the new sequence set, for the data processing sequences Sq that are the same as the data processing sequences Sq constituting the sequence set used in the previous routine, the evaluation value EV calculated in the previous routine is used. This eliminates the need to recalculate the evaluation value EV, thereby improving the processing efficiency of the specific data processing sequence generation process.

[0106] As described above, step S308, which is repeatedly executed until a specific termination condition is satisfied, is a process of generating a plurality of data processing sequences Sq with different combinations of sequence elements by generating an individual IV in which a plurality of genes corresponding to sequence elements are arranged, and generating the plurality of data processing sequences Sq as a sequence set. Also, step S350, which is repeatedly executed until a specific termination condition is satisfied, is a process of data processing the learning data LM as target data by each of the plurality of data processing sequences Sq, and obtaining output data PM after data processing that is output to the data output element out. Also, step S352, which is repeatedly executed until a specific termination condition is satisfied, is a process of comparing the output data PM with the target data TM and obtaining an evaluation value EV for each of the plurality of data processing sequences Sq.

[0107] Fig. 16 is a detailed flowchart of step S308 shown in Fig. 15. First, in step S311, the gene translation unit 34 selects one unprocessed individual IV from among the individuals IV1 to IV5 constituting the current generation G. In addition, in step S314, the gene translation unit 34 reads out the connection condition table 88 stored in the storage device 70.

[0108] Next, in step S316, the gene translation unit 34 selects one connection destination, which is an unconnected output side sequence element to which an input side sequence element is not connected. In this embodiment, the data output element out is set as a terminal node, and sequence elements are connected in order from the data output element out side. Therefore, in step S316 in the first routine, the gene translation unit 34 selects the data output element out as a connection destination. Note that the connection of sequence elements is executed according to the connection rule determined in advance as described above. As described above, the gene translation unit 34 first sets the data output element out as a terminal node that is the end of the output side, and generates a data processing sequence Sq by connecting sequence elements to the input side in the order of the arrangement of genes of the individual IV. In addition, as described above, the gene translation unit 34 prioritizes arrangement from the terminal node side in the order of the arrangement of genes, and prioritizes arrangement of the connection destination on the left side over the connection destination on the right side shown in FIG. 10.

[0109] After step S316, in step S318, the gene translation unit 34 refers to the connection condition table 88 to select an input side sequence element to be connected to the output side sequence element as a connection destination. Specifically, the gene translation unit 34 uses the connection condition table 88 to generate a data processing sequence Sq such that the input side sequence element with a higher connection reference value RV has a higher connection probability to the output side sequence element with respect to the output side sequence element. The data processing sequence Sq having the above probability relationship is generated by selecting the input side sequence element according to the following input side sequence element selection algorithm. Note that in this embodiment, all connection reference values ​​RV are set to "1", so that the input side sequence elements associated with the connection reference value RV have an equal connection probability.

[0110] <Input sequence element selection algorithm> The prerequisites for the selection algorithm are: ·Gene value··VG (VG is a number between 0 and 1 up to three decimal places) Output sequence element identifier j Here, j is represented by an integer equal to or greater than 0, and a different value is assigned to each output side sequence element. In this embodiment, as shown in FIG. ·Identifier of the input sequence element to be connected···i Here, i is an integer equal to or greater than 0, and ranges from 0 to N f Nf is a value obtained by subtracting 1 from the number of candidates for the input side sequence element. In this embodiment, as shown in FIG. 7, the number of input side sequence elements is "12" as shown in FIG. 11. Therefore, Nf is expressed by the identifiers up to 1. f is 11, and identifier i is assigned values ​​from 0 to 11. ·value associated with the element set of the connection condition table 88···t ij t ij is the connection reference value RV or non-occurrence data "-1" shown in FIG. 11, and the subscript "ij" is an identifier for identifying an element set, and corresponds to the identifier of the input side sequence element and the output side sequence element. For example, t 12 indicates the connection reference value "1" for the element set in FIG. 11 in which the input side sequence element is the data processing element FtA and the output side sequence element is the data processing element FtB. ·Connection reference value RV possible value···H In this embodiment, the connection reference value RV is 1, so the possible range is 1.

[0111] In the selection algorithm, the probability P ij is calculated by the following formula (1).

number

[0112] Here, S in the above formula (1) ij is calculated by the following formula (2).

number

[0113] As can be seen from the above formulas (1) and (2), the value t ij If non-occurrence data is associated with, then probability P ij is “0”, the probability that an element set associated with non-occurring data appears as a component of the data processing sequence Sq is zero.

[0114] In addition, in the selection algorithm, for the element set that is not associated with non-occurrence data, the upper threshold T ij is calculated using the following formula (3). The lower limit threshold is set to the upper limit threshold of the input side sequence element corresponding to the previous identifier excluding the element set associated with non-occurrence data. If there is no previous identifier, the lower limit threshold is set to "0". FIG. 17 is a diagram showing a table 885 that specifies the upper limit threshold calculated based on the connection condition table 88 of FIG. 11. This table 885 may be stored in the storage device 70. In table 885, the column corresponding to each element set is set to the upper limit threshold or a blank corresponding to non-occurrence data.

number

[0115] By determining a numerical range indicating the occurrence range of genes using the above selection algorithm, the ratio of each connection reference value RV of each input-side sequence element, which is a connection candidate for the same output-side sequence element, becomes the ratio of the connection probability connected to the output-side sequence element, and the data processing sequence Sq is generated. The determined numerical range may be stored in the storage device 70 as a table 82T shown in FIG. 9 for each output-side sequence element.

[0116] The gene translation unit 34 sets a numerical range as a different occurrence range for each of the data input element in and the input-side sequence elements of the plurality of data processing elements FtA to FtK using the upper threshold value calculated by the above formula (3). Then, the numerical value VG of the gene selects, as an input-side sequence element, a data input element in or a data processing element as a data processing element corresponding to the set numerical range.

[0117] The numerical range as the occurrence range and an example of the selected sequence element are shown below. <Selection of Input-Side Sequence Element for Output-Side Sequence Element with Identifier j> When 0 ≦ VG < T0j, the input-side sequence element with identifier i being "0" is selected. T 0j ≦ VG < T 1j When, the input-side sequence element with identifier i being "1" is selected. T 1j ≦ VG < T 2j When, the input-side sequence element with identifier i being "2" is selected. Since the following is the same, one example is shown at the end. T (Nf-1),j ≦ VG ≦ T Nf,j When, the input-side sequence element with identifier i being Nf is selected.

[0118] Regarding the inequality signs of the numerical range, the presence or absence of the equal sign may be changed as long as the value VG of the gene is included in any of the occurrence ranges.

[0119] 16, in step S320, the gene translation unit 34 determines whether or not the generation of the data processing sequence Sq is completed. Specifically, the gene translation unit 34 determines that the generation of the data processing sequence Sq is completed when all upstream nodes become data input elements in and there are no unconnected nodes. In this case, the gene translation unit 34 outputs the data processing sequence Sq generated in step S322 to the data processing unit 40. On the other hand, when the gene translation unit 34 determines that the generation of the data processing sequence Sq is not completed, it executes the processes from step S316 onwards again.

[0120] As described above, step S306 shown in Fig. 15 and step S308 shown in Fig. 16 are steps for generating a sequence set consisting of a plurality of data processing sequences with different combinations of sequence elements. Also, step S306 shown in Fig. 15 and step S308 shown in Fig. 16 are steps for generating a sequence set using at least an individual in which a plurality of genes corresponding to each of the data input elements and the data processing elements are arranged, and the connection condition table 88.

[0121] FIG. 18 is a detailed flowchart of step S50 shown in FIG. 12. The use process of step S50 is executed after the specific data processing sequence DSq is specified by the generation process shown in FIG. 15. First, in step S500, the storage device 70 stores a plurality of data processing elements, which are sequence elements received by the input unit 150, as a sequence element group 80. The plurality of data processing elements of the sequence element group 80 stored in step S500 may be only data processing elements used in the specific data processing sequence DSq. Note that, when the use process and the generation process shown in FIG. 15 are executed by the same generation device 20, step S500 can be omitted, and the sequence element group 80 stored in the storage device 70 by step S300 can be used.

[0122] Next, in step S501, the storage device 70 stores the specific data processing sequence DSq identified in step S358 of Fig. 15. Note that, when the utilization process and the generation process shown in Fig. 15 are executed by the same generation device 20, steps S500 and S501 can be omitted, and the sequence element group 80 and the specific data processing sequence DSq stored in the storage device 70 in steps S300 and S358 can be used. Also, the order of steps S500 and S501 is not limited to the above.

[0123] Next, in step S503, the data processing unit 40 acquires data stored in the storage device 70 via the input unit 150 by reading out data to be processed by the specific data processing sequence DSq. The data to be processed acquired in step S503 is, for example, data obtained by capturing an image of an object of the same type as the learning data LM. When there are multiple pieces of data to be processed, the data processing unit 40 may acquire data by reading out one of the multiple pieces of data stored in advance in the storage device 70, or may acquire the target data from the sensor device 200 each time the data processing described below is executed.

[0124] Next, in step S504, the data processing unit 40 executes data processing using the specific data processing sequence DSq on the image acquired in step S503. That is, data processing is executed on the data to be processed by applying the data processing elements stored in the sequence element group 80 of the storage device 70 in accordance with the order indicated by the specific data processing sequence DSq.

[0125] Next, in step S505, output data PM, which is data after data processing using the specific data processing sequence DSq, is output. Step S505 is executed, for example, by storing the output data PM in the storage device 70 or by displaying it on the display unit 160.

[0126] Next, in step S506, the data processing unit 40 determines whether or not to continue data processing using the specific data processing sequence DSq. For example, the data processing unit 40 determines to continue data processing when the user inputs information indicating continuation of data processing or when unprocessed data to be processed still remains in the storage device 70. If data processing is to be continued, the processing from step S503 onwards is executed again. On the other hand, the data processing unit 40 ends the usage process when the user inputs information indicating the end of data processing or when unprocessed data to be processed no longer remains in the storage device 70.

[0127] According to the above embodiment, as shown in FIG. 6, FIG. 13, and FIG. 14, the generating device 20 can generate connection conditions of sequence elements according to the type of data processing. The connection conditions include conditions according to the above-mentioned first connection algorithm, which connects the NN processing elements FtD, FtE, and FtF with the medium processing elements FtG and FtH so that the medium processing is executed after the NN processing. This makes it possible to generate a plurality of data processing sequences Sq such that the medium processing elements FtG and FtH are connected to the output side of the NN processing elements FtD, FtE, and FtF, so that the medium processing can be executed on the NN output data. In general, the NN output data has a huge amount of features, and layers are added to the number of dimensions, so that the number of dimensions increases with respect to the input data. By connecting the medium processing elements FtG and FtH that convert such NN output data into data suitable for the sequence elements connected to the output side, the occurrence of defects in data processing by the data processing sequence Sq can be reduced. Therefore, the processing efficiency of identifying a specific data processing sequence can be improved.

[0128] According to the embodiment, the connection condition includes a condition according to the second connection algorithm described above, that is, the post-processing layers FtI, FtJ, and FtK are connected to the data output element out so that the data after the data processing is output by the data output element after the post-processing. Therefore, the data after the data processing by the post-processing elements FtI, FtJ, and FtK can be output as the output data PM by the data output element out so that the data corresponds to the target data TM associated with the target data. This makes it easy to compare the output data PM with the target data TM. Therefore, it is easy to determine whether the first individual termination condition described above is satisfied using the similarity SD between the output data PM and the target data TM.

[0129] According to the above embodiment, the data processing sequence Sq is generated by the connection conditions according to the third connection algorithm, and the target data input to the data input element is processed in the order of pre-processing, NN processing, intermediate processing, and post-processing, and then output by the data output element. This makes it possible to perform pre-processing on the target data to improve the processing efficiency of the NN processing, and to perform data processing in intermediate processing on the NN output data to make it suitable for post-processing. Therefore, the processing efficiency of each of the data processing of the multiple data processing sequences Sq can be improved, and the specific data processing sequence corresponding to the predetermined specific end condition can be efficiently specified.

[0130] According to the above embodiment, as shown in FIG. 11, the connection condition table 88 associates either the connection reference value RV or the non-occurrence data "-1" with the element set, thereby suppressing an element set that is a combination of an input side data processing element that is not suitable for data processing and an output side data processing from appearing as a component of the data processing sequence Sq. For example, as shown in FIG. 11, in an element set whose output side sequence elements are the middle processing elements FtG and FtH, the input side sequence elements other than the NN processing elements FtD, FtE, and FtF are associated with the non-occurrence data "-1". This allows the middle processing elements FtG and FtH to be connected to the output side of the NN processing elements FtD, FtE, and FtF. Therefore, the NN output data of the NN processing elements FtD, FtE, and FtF can be converted into data suitable for the sequence elements connected to the output side of the middle processing elements FtG and FtH, for example, data with a reduced number of dimensions.

[0131] Furthermore, according to the above embodiment, as shown in Fig. 14, by accepting a selection of candidate data processing elements to be incorporated into the data processing sequence Sq from the user via the generation condition input screen SIM, it is possible to determine candidate data processing elements according to the user's instructions in addition to the processing candidate table 81 in Fig. 6. This makes it possible to generate the data processing sequence Sq by using the data processing elements that the user wishes to incorporate as components of the data processing sequence Sq as candidate data processing elements.

[0132] B. Other embodiments: B-1. Alternative embodiment 1: The various data stored in the storage device 70 in the above embodiment may be stored in a device different from the generation device 20, for example, an auxiliary storage device.

[0133] B-2. Alternative embodiment 2: According to the above embodiment, the input of the reference data set RSM is accepted in step S104 shown in Fig. 13, but when at least a part of the learning set SM is used as the reference data set RSM, step S104 may be omitted. At least a part of the multiple reference data sets RSM may be the learning set SM.

[0134] B-3. ​​Alternative embodiment 3: In the above embodiment, the processing results were evaluated one by one in sequence for the multiple data processing sequences Sq indicated by the multiple individuals IV belonging to one generation G, but the processing results may also be evaluated in parallel for the multiple data processing sequences Sq using multiple generation devices 20.

[0135] B-4. Alternative embodiment 4: In the above embodiment, the data processing sequence Sq is generated by generating the individual IV using a genetic algorithm, but the present invention is not limited to this. For example, multiple data processing sequences Sq may be generated by randomly arranging multiple sequence elements.

[0136] B-5. Alternative embodiment 5: In the above embodiment, in step S318 in Fig. 16, the gene translation unit 34 calculates the upper threshold value using the connection condition table 88 and the selection algorithm to select the input side sequence element, but the method of selecting the input side sequence element is not limited to this. For example, after generating the connection condition table 88 in step S11 in Fig. 13, the gene translation unit 34 may generate in advance a table that specifies the appearance ranges for all element sets using the above-mentioned selection algorithm and store it in the storage device 70.

[0137] B-6. Other embodiment 6: In the above embodiment, the gene translator 34 uses the connection condition table 88 and formulas (1) to (3) to generate a plurality of data processing sequences so that the input sequence element with a higher connection reference value RV has a higher probability of being connected to the output sequence element, but the present invention is not limited to this. For example, the gene translator 34 does not need to use formulas (1) to (3) as long as the gene translator 34 can generate a plurality of data processing sequences so as to have the above-mentioned probability relationship. For example, the gene translator 34 may generate a plurality of data processing sequences so as to have the above-mentioned probability relationship by gradually increasing the numerical range in which the input sequence element appears as the connection reference value RV increases.

[0138] C. 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.

[0139] (1) According to a first aspect of the present disclosure, there is provided a method for generating a data processing sequence. The data processing sequence is composed of sequence elements, that is, a data input element that inputs data, at least one of a plurality of data processing elements, and a data output element that outputs the data after data processing. This generation method includes a step of (a) accepting input of a candidate data processing element as the data processing element that is a candidate for the sequence element that constitutes the data processing sequence, the candidate data processing element being (i) a pre-processing element that performs pre-processing as data processing on target data, that is the data input to the data input element, and (ii) a trained neural network element (hereinafter referred to as "NN processing element").(iii) an intermediate processing element that performs intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; and (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data. The method includes the steps of: (b) generating connection conditions for connection of the sequence elements constituting the data processing sequence according to the type of the data processing performed by the candidate data processing element accepted in the step (a); (c) generating a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set according to the connection conditions; and (d) identifying a specific data processing sequence according to a predetermined specific end condition from among the plurality of data processing sequences, wherein the connection conditions in the step (b) include a condition that, when the candidate data processing element includes the NN processing element and the intermediate processing element, the NN processing element and the intermediate processing element are connected so that the intermediate processing is executed after the NN processing. According to this embodiment, the connection conditions of the sequence elements can be generated according to the type of data processing. The connection conditions include a condition that the NN processing element and the intermediate processing element are connected so that the intermediate processing is executed after the NN processing. This allows a plurality of data processing sequences to be generated such that the intermediate processing element is connected to the output side of the NN processing element, so that the intermediate processing can be executed on the NN output data. In general, NN output data has a huge number of features and the number of dimensions increases relative to the input data. By connecting an intermediate processing element that converts such NN output data into data suitable for the sequence element connected to the output side, it is possible to reduce the occurrence of problems in data processing by the data processing sequence.Therefore, the efficiency of the process of identifying the specific data processing sequence can be improved.

[0140] (2) In the above embodiment, the connection condition in step (b) may include a condition that, if the candidate data processing element includes the post-processing element, the post-processing element and the data output element are connected so that the data after data processing is output by the data output element following the post-processing. According to this embodiment, since the connection condition includes a condition that the post-processing element and the data output element are connected so that the data after data processing is output by the data output element following the post-processing, the data after data processing by the post-processing element can be output by the data output element so as to become data corresponding to the target data associated with the target data.

[0141] (3) In the above embodiment, the connection condition in the step (b) may include a condition that, when the candidate data processing element includes the pre-processing element, the NN processing element, the intermediate processing element, and the post-processing element, the data input element, the pre-processing element, the NN processing element, the intermediate processing element, the post-processing element, and the data output element are connected so that the pre-processing, the NN processing, the intermediate processing, and the post-processing are executed in the order from the data input element to the data output element. According to this embodiment, the target data input to the data input element can be output by the data output element after data processing in the order of pre-processing, NN processing, intermediate processing, and post-processing. This makes it possible to perform pre-processing on the target data to improve the processing efficiency of the NN processing, or to perform data processing in intermediate processing on the NN output data to make it suitable for post-processing. Therefore, the processing efficiency of each of the data processing sequences of multiple data processing sequences can be improved, so that the specific data processing sequence corresponding to the predetermined specific end condition can be efficiently specified.

[0142] (4) In the above embodiment, the post-processing element used in the post-processing may convert the data input to the post-processing element into data comparable to the target data. According to this embodiment, the post-processing element outputs data comparable to the target data, making it easy to compare the target data with the data processed by the data processing sequence.

[0143] (5) In the above embodiment, the step (b) may generate the connection conditions by generating a connection condition table in which a connection reference value indicating an occurrence probability of an element appearing as an element of the data processing sequence or non-occurrence data indicating that the element is not to appear as a component of the data processing sequence is associated with each of a plurality of element sets, which are a pair of sequence elements on the input side and the output side that are connection candidates. According to this embodiment, the connection condition table in which the connection reference value or non-occurrence data is associated with an element set can prevent an element set, which is a combination of an input-side data processing element and an output-side data processing element that are not suitable for data processing, from appearing as a component of a data processing sequence.

[0144] (6) In the above embodiment, when the candidate data processing elements include the NN processing element and the intermediate processing element, the step (b) may generate the connection condition table by associating the connection reference value with an occurring element set, which is the element set whose input side is the NN processing element and whose output side is the intermediate processing element, and associating non-occurring data with the element set whose input side is the NN processing element and whose output side is the sequence element different from the intermediate processing element. According to this embodiment, since the intermediate processing element can be connected to the output side of the NN processing element, the NN output data of the NN processing element can be converted into data suitable for the sequence element connected to the output side of the intermediate processing element.

[0145] (7) In the above embodiment, the step (d) may include the steps of: (d1) processing the target data by each of the plurality of data processing sequences generated in the step (c) and acquiring output data after data processing output to the data output element; (d2) comparing the output data with the target data to acquire evaluation values ​​for each of the plurality of data processing sequences; and (d3) identifying the specific data processing sequence that satisfies the specific end condition using the respective evaluation values. According to this embodiment, the specific data processing sequence can be easily identified using the evaluation value acquired by comparing the output data with the target data.

[0146] (8) In the above embodiment, the intermediate processing element used in the intermediate processing may include at least one of a first type intermediate processing element that converts the data output from the sequence element connected to the input side of the intermediate processing element into another type of data, and a second type intermediate processing element that extracts at least a part of the data output from the sequence element connected to the input side of the intermediate processing element and outputs the extracted data. According to this embodiment, the intermediate processing element can execute at least one of a process of converting the data input to the intermediate processing element into another type of data and a process of outputting the extracted data.

[0147] (9) In the above embodiment, the method may further include a step (e) performed before the step (d) of receiving input of reference data, the reference data being data used to reduce the amount of the NN output data in the intermediate processing element. According to this embodiment, the amount of the NN output data can be reduced by using the reference data, thereby improving the efficiency of data processing by the data processing sequence.

[0148] (10) In the above embodiment, the intermediate processing element used in the intermediate processing may include at least one of a first type intermediate processing element that outputs converted data indicating the similarity between the NN output data and the reference data, and a second type intermediate processing element that extracts the feature values ​​corresponding to at least a part of the intermediate layers without using the reference data when the NN output data is composed of feature values ​​output from each of a plurality of intermediate layers that the NN processing element has. According to this embodiment, the NN output data can be processed to become data suitable for a sequence element on the output side of the intermediate processing element by using at least one of the first type intermediate processing element and the second type intermediate processing element.

[0149] (11) In the above embodiment, when the data processing sequence generated in step (c) includes the NN processing element and the intermediate processing element, step (d) may include a step of executing data processing executed on the input side of the intermediate processing element on the reference data to generate processed reference data, and the intermediate processing element may include a first type intermediate processing element that outputs converted data indicating the similarity between the NN output data and the processed reference data. According to this embodiment, the first type intermediate processing element can output converted data indicating the similarity between the NN output data and the processed data.

[0150] (12) In the above embodiment, the NN processing element used in the NN processing may output at least one of a feature amount acquired from an intermediate layer of the NN processing element and post-NN processing data output from an NN output element that is an output element of the NN processing element, to the sequence element on the output side as the NN output data. According to this embodiment, the feature amount acquired from an intermediate layer or the post-NN processing data output from the NN output element can be output to the sequence element on the output side.

[0151] (13) In the above embodiment, if the specific data processing sequence is not identified by the step (d3), the routine from the step (c) to the step (d) may be repeated until the specific end condition is satisfied, and in the case where the routine is repeated, the step (c) in the next routine may include a regeneration step of generating the sequence set by generating the multiple data processing sequences in which at least one of the multiple data processing sequences is different from the multiple data processing sequences generated by the step (c) in the previous routine. According to this embodiment, the regeneration step can generate data processing sequences that are candidates for the specific data processing sequence until the specific end condition is satisfied.

[0152] (14) In the above-mentioned embodiment, the step (c) includes a step of generating an individual in which a plurality of genes corresponding to the sequence elements are arranged, thereby defining the data processing sequence; The regeneration step may generate the sequence set of the next routine by using the evaluation value to identify the individual of the current generation to be used for the individual of the next generation, duplicating the identified individual, and performing at least one of crossover and mutation on the identified individual to newly generate the individual. According to this embodiment, the sequence set of the next routine can be easily generated by using at least one of crossover and mutation, and duplication.

[0153] (15) According to a second aspect of the present disclosure, there is provided a data processing sequence generation device. The data processing sequence is composed of sequence elements, that is, a data input element that inputs data, at least one of a plurality of data processing elements, and a data output element that outputs the data after data processing. This generation device is an input unit that accepts input of a candidate data processing element that is a candidate for the sequence element that constitutes the data processing sequence, and the candidate data processing element is a pre-processing element that performs pre-processing as data processing on target data, which is the data input to the data input element, and (ii) a trained neural network element (hereinafter referred to as an "NN processing element").) an NN processing element that executes NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element and outputs NN output data; (iii) an intermediate processing element that executes intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; and (iv) a post-processing element that executes post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data. The data processing apparatus includes an input unit, a connection condition generating unit that generates connection conditions for the connection of the sequence elements that constitute the data processing sequence according to the type of the data processing performed by the candidate data processing element received by the input unit, a sequence generating unit that generates a plurality of the data processing sequences with different combinations of the sequence elements as a sequence set according to the connection conditions, and an identifying unit that identifies the specific data processing sequence according to a predetermined specific end condition from among the plurality of data processing sequences, and the connection conditions include a condition that, when the candidate data processing element includes the NN processing element and the intermediate processing element, the NN processing element and the intermediate processing element are connected so that the intermediate processing is executed after the NN processing. According to this embodiment, the connection conditions of the sequence elements can be generated according to the type of data processing. The connection conditions include a condition that the NN processing element and the intermediate processing element are connected so that the intermediate processing is executed after the NN processing. As a result, a plurality of data processing sequences can be generated such that the intermediate processing element is connected to the output side of the NN processing element, so that the intermediate processing can be executed on the NN output data. In general, the NN output data has a huge feature amount and the number of dimensions increases with respect to the input data. By connecting an intermediate processing element that converts such NN output data into data suitable for the sequence element connected to the output side, the occurrence of problems in data processing by the data processing sequence can be reduced.Therefore, the efficiency of the process of identifying the specific data processing sequence can be improved.

[0154] (16) According to a third aspect of the present disclosure, there is provided a computer program for causing a computer to execute generation of a data processing sequence. The data processing sequence is composed of sequence elements, that is, a data input element for inputting data, at least one of a plurality of data processing elements, and a data output element for outputting the data after data processing. This computer program has a function of (a) accepting input of a candidate data processing element as the data processing element that is a candidate for the sequence element constituting the data processing sequence, and the candidate data processing element is (i) a pre-processing element that performs pre-processing as data processing on target data, which is the data input to the data input element, and (ii) a trained neural network element (hereinafter referred to as "NN processing element").(ii) an NN processing element that performs NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element and outputs NN output data; (iii) an intermediate processing element that performs intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; and (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data; (c) a function of generating a connection condition for connection of the sequence elements constituting the data processing sequence according to the type of the data processing performed by the candidate data processing element accepted by the function (a), (c) a function of generating a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set according to the connection condition, and (d) a function of identifying a specific data processing sequence according to a predetermined specific end condition from among the plurality of data processing sequences, wherein the connection condition in the function (b) includes a condition that, when the candidate data processing element includes the NN processing element and the intermediate processing element, the NN processing element and the intermediate processing element are connected so that the intermediate processing is executed after the NN processing. According to this embodiment, the connection condition of the sequence elements can be generated according to the type of data processing. The connection condition includes a condition that the NN processing element and the intermediate processing element are connected so that the intermediate processing is executed after the NN processing. This makes it possible to generate a plurality of data processing sequences such that the intermediate processing element is connected to the output side of the NN processing element, so that the intermediate processing can be executed on the NN output data. In general, NN output data has a huge number of features and the number of dimensions increases compared to the input data.By connecting an intermediate processing element that converts such NN output data into data suitable for the sequence element connected to the output side, the occurrence of problems in data processing by the data processing sequence can be reduced, and the processing efficiency for identifying a specific data processing sequence can be improved.

[0155] The present disclosure may be realized in various forms other than those described above. For example, the present disclosure may be realized in the form of a non-transitory storage medium having a computer program recorded thereon. [Explanation of symbols]

[0156] 10...generation system, 20...generation device, 25...processor, 30...sequence generation unit, 32...individual generation unit, 34...gene translation unit, 40...data processing unit, 50...identification unit, 55...connection condition generation unit, 60...display control unit, 70...storage device, 74...learning data group, 77...reference data group, 79...data processing program group, 80...sequence element group, 81...processing candidate table, 81A...first processing candidate table, 81B...second processing candidate table, 82...gene table, 82T...table, 84...individual group, 88...connection condition table, 94...various programs, 15 0...input section, 160...display section, 200...sensor device, 885...table, B1...manual generation option, B2...automatic generation option, RSM...reference data set, SIM...generation condition input screen, DA...defective part, DSq...specific data processing sequence, F1~F4...feature value, FtA~FtQ...data processing element, IV,IV1~IV5...individual, L1...NN input element, L2a~L2d...intermediate layer, L3...NN output element, LM,LM1,LM2...learning data, RM...reference data, RV...connection reference value, SM...learning set, Sq...data processing sequence, TM...target data

Claims

1. 1. A method for generating a data processing sequence, comprising the steps of: the data processing sequence is composed of sequence elements, that is, a data input element for inputting data, at least one of a plurality of data processing elements, and a data output element for outputting the data after data processing; The method for producing the same comprises: (a) receiving an input of a candidate data processing element as a candidate for the sequence element constituting the data processing sequence, the candidate data processing element comprising: (i) a pre-processing element that performs pre-processing as data processing on target data, which is the data input to the data input element; (ii) a trained neural network element (hereinafter referred to as an "NN processing element") that performs NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element, and outputs NN output data; (iii) an intermediate processing element that executes intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data; (b) generating a connection condition for connection of the sequence elements that constitute the data processing sequence in accordance with the type of data processing performed by the candidate data processing element accepted in the step (a); (c) generating a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set in accordance with the connection condition; (d) identifying a specific data processing sequence from the plurality of data processing sequences in accordance with a predetermined specific end condition, The connection condition in the step (b) is A generation method including a condition that, if the candidate data processing elements include the NN processing element and the medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed next to the NN processing.

2. The method of claim 1 , further comprising: The connection condition in the step (b) is A generation method including a condition that, if the candidate data processing elements include the post-processing element, the post-processing element and the data output element are connected so that the data after data processing is output by the data output element following the post-processing.

3. The method of claim 1 , further comprising: The connection condition in the step (b) is A generation method including a condition that, when the candidate data processing elements include the pre-processing element, the NN processing element, the mid-processing element, and the post-processing element, the data input element, the pre-processing element, the NN processing element, the mid-processing element, the post-processing element, and the data output element are connected so that the pre-processing, the NN processing, the mid-processing, and the post-processing are executed in the order from the data input element to the data output element.

4. The method of claim 1 , further comprising: A method for generating a post-processing element used in the post-processing, the post-processing element converts data input to the post-processing element into data that can be compared to the target data.

5. The method of claim 1 , further comprising: The step (b) is a generation method for generating the connection conditions by generating a connection condition table in which, for each of a plurality of element sets that are pairs of sequence elements on the input side and the output side that are connection candidates, a connection reference value indicating the probability of an element appearing as an element of the data processing sequence, or non-appearance data indicating that the element is not to appear as a component of the data processing sequence.

6. 6. The method of claim 5, further comprising: When the candidate data processing elements include the NN processing element and the medium processing element, the step (b) generates the connection condition table by associating the connection reference value with an occurring element set, which is the element set whose input side is the NN processing element and whose output side is the medium processing element, and associating non-occurring data with the element set whose input side is the NN processing element and whose output side is the sequence element different from the medium processing element.

7. The method of claim 1 , further comprising: The step (d) (d1) processing the target data using each of the plurality of data processing sequences generated in the step (c) to obtain output data after data processing output to the data output element; (d2) comparing the output data with the target data to obtain an evaluation value for each of the plurality of data processing sequences; (d3) using the respective evaluation values ​​to identify the specific data processing sequence that satisfies the specific end condition.

8. The method of claim 1 , further comprising: The intermediate treatment element used in the intermediate treatment is a first type intermediate processing element that converts the data output from the sequence element connected to the input side of the intermediate processing element into another type of data; a second type intermediate processing element that extracts at least a portion of the data output from the sequence element connected to the input side of the intermediate processing element and outputs the extracted data.

9. The method of claim 7, further comprising: (e) a step performed prior to step (d) of accepting input of reference data, the reference data being data used to reduce the amount of data in the NN output data in the intermediate processing element.

10. 10. The method of claim 9, further comprising: The intermediate treatment element used in the intermediate treatment is a first type intermediate processing element that outputs converted data indicating a similarity between the NN output data and the reference data; and a second type intermediate processing element that extracts the features corresponding to at least a part of the multiple intermediate layers without using the reference data when the NN output data is composed of features output from each of multiple intermediate layers that the NN processing element has.

11. 10. The method of claim 9, further comprising: the step (d) includes, when the NN processing element and the medium processing element are included in the data processing sequence generated in the step (c), a step of performing data processing executed on the input side of the medium processing element on the reference data to generate processed reference data; The intermediate processing element includes a first type intermediate processing element that outputs transformed data indicating a similarity between the NN output data and the processed reference data.

12. The method of claim 1 , further comprising: A generation method in which the NN processing element used in the NN processing outputs at least one of the features obtained from an intermediate layer of the NN processing element and the NN processed data output from an NN output element, which is an output element of the NN processing element, as the NN output data to the sequence element on the output side.

13. The method of claim 7, further comprising the steps of: if the specific data processing sequence is not identified by the step (d3), repeating the routine from the step (c) to the step (d) until the specific end condition is satisfied; A generation method in which, when the routine is repeated, step (c) in the next routine includes a regeneration step of generating the sequence set by generating a plurality of data processing sequences in which at least one of the data processing sequences is different from the plurality of data processing sequences generated by step (c) in the previous routine.

14. 14. The method of claim 13, further comprising: The step (c) includes a step of generating an individual in which a plurality of genes corresponding to the sequence elements are arranged, thereby defining the data processing sequence; The regeneration step generates the sequence set of the next routine by using the evaluation value to identify the current generation individual to be used for the next generation individual, duplicating the identified individual, and performing at least one of crossover and mutation on the identified individual to newly generate the individual.

15. An apparatus for generating a data processing sequence, comprising: the data processing sequence is composed of sequence elements, that is, a data input element for inputting data, at least one of a plurality of data processing elements, and a data output element for outputting the data after data processing; The generating device comprises: an input unit that receives an input of a candidate data processing element as a data processing element that is a candidate for the sequence element that constitutes the data processing sequence, the candidate data processing element comprising: a pre-processing element that performs pre-processing as data processing on target data, which is the data input to the data input element; (ii) a trained neural network element (hereinafter referred to as an "NN processing element") that performs NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element, and outputs NN output data; (iii) an intermediate processing element that executes intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data; and a connection condition generating unit that generates a connection condition for connecting the sequence elements that constitute the data processing sequence in accordance with the type of the data processing performed by the candidate data processing element received by the input unit; a sequence generation unit that generates a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set in accordance with the connection conditions; a determination unit that determines, from among the plurality of data processing sequences, the specific data processing sequence in accordance with a predetermined specific end condition; The connection condition is: A generating device including a condition that, if the candidate data processing elements include the NN processing element and the medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed next to the NN processing.

16. A computer program for causing a computer to execute generation of a data processing sequence, comprising: the data processing sequence is composed of sequence elements, that is, a data input element for inputting data, at least one of a plurality of data processing elements, and a data output element for outputting the data after data processing; The computer program comprises: (a) a function of receiving an input of a candidate data processing element as a data processing element that is a candidate for the sequence element that constitutes the data processing sequence, the candidate data processing element being: (i) a pre-processing element that performs pre-processing as data processing on target data, which is the data input to the data input element; (ii) a trained neural network element (hereinafter referred to as an "NN processing element") that performs NN processing as the data processing on the data output from the sequence element connected to the input side of the NN processing element, and outputs NN output data; (iii) an intermediate processing element that executes intermediate processing as the data processing to convert the data output from the sequence element connected to the input side of the intermediate processing element into data suitable for the sequence element connected to the output side; (iv) a post-processing element that performs post-processing as the data processing on the data output from the sequence element connected to the input side of the post-processing element so that the data corresponds to target data that is a target associated with the target data; and (b) a function of generating connection conditions for connection of the sequence elements constituting the data processing sequence in accordance with the type of the data processing performed by the candidate data processing element accepted by the function (a); (c) generating a plurality of the data processing sequences having different combinations of the sequence elements as a sequence set in accordance with the connection conditions; (d) causing the computer to execute a function of identifying a specific data processing sequence corresponding to a predetermined specific end condition from among the plurality of data processing sequences; The connection condition in the function (b) is A computer program comprising a condition that, if the candidate data processing elements include the NN processing element and the medium processing element, the NN processing element and the medium processing element are connected so that the medium processing is executed next to the NN processing.

Citation Information

Patent Citations

  • Evolution calculation system and evolution calculation method

    JP2007087055A