Method for creating data processing sequence, creation device, and computer program

The method and device for generating data processing sequences address inefficiencies in conventional genetic programming by using structure and node reference tables to maintain partial structures and optimize inheritance, enhancing the efficiency and effectiveness of sequence generation.

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

Patent Information

Application Number
JP2023056835
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional genetic programming methods for generating image and data processing sequences face inefficiencies due to the loss of partial structure inheritance during crossover, leading to reduced effectiveness in producing sequences that meet reference conditions.

Method used

A method and device for generating data processing sequences that utilize a structure reference table and node reference table to maintain partial sequence structures, along with an evaluation mechanism to identify sequences that satisfy predetermined conditions, ensuring efficient inheritance and optimization.

Benefits of technology

The approach enhances the efficiency of generating data processing sequences by maintaining partial structures and optimizing the inheritance process, leading to improved alignment with target data, thereby increasing the likelihood of meeting reference conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024143896000001_ABST
    Figure 2024143896000001_ABST
Patent Text Reader

Abstract

To provide a technique that can reduce the possibility of a reduction in the efficiently of creating a data processing sequence that satisfies a reference condition.SOLUTION: A method for creating a data processing sequence includes: a step (a) of creating a group of first generation individuals; and a step (b) of creating a data processing sequence, the step of creating the data processing sequence including a step (b1) of determining a partial sequence structure forming a part of the data processing sequence by using a structure reference table and genes, and a step (b2) of allocating node elements to nodes that form the partial sequence structure.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, genetic programming is used to generate an image processing sequence in which multiple image processing filters are combined in a tree structure. [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 an image processing sequence that satisfies the standard conditions is identified. In the technology of Patent Document 1, a population of the first generation is crossed over and mutated to generate a population of the next generation, and generational alternation is performed until an image processing sequence that satisfies the standard conditions is identified. In this case, when a new individual is generated with an arbitrary position as a crossover point in the individual of the current generation, the partial structure of the image processing sequence represented by the individual of the current generation may not be inherited by the individual of the next generation. For example, when translating an individual into a tree-structured image processing sequence in a depth-first manner, if an image processing filter having two input terminals on the output side is present, and a new individual is generated by crossover for an individual having a partial structure with two image processing filters on the input side, this partial structure cannot be maintained. This may result in a decrease in the efficiency of generating an image processing sequence that satisfies the standard conditions. Such a problem is not limited to the generation of an image processing sequence that processes images, but is also common to the generation of a data processing sequence that processes various data such as images and voltage changes. [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, comprising the steps of: (a) generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node, to generate a population of one generation; and (b) generating the data processing sequence corresponding to each of the plurality of individuals, comprising the steps of: (b1) determining, using a structure reference table in which the genes are associated with types of the partial sequence structures, and the genes, a partial sequence structure that constitutes a part of the data processing sequence, the partial sequence structure being connected to an unconnected terminal of a node to which the node element is assigned, and including the node to which at least one of the node elements of the input layer and the filter layer is assigned; (b2) a step of generating the data processing sequence having a step of assigning the node elements of either the input layer or the filter layer to the nodes that constitute the partial sequence structure using a node reference table that associates the genes with the types of the node elements and the genes; (c) a step of processing target data for each of the multiple data processing sequences represented by the population, and comparing output data output for each data processing sequence with target data that is associated with the target data to calculate an evaluation value that indicates the similarity between the output data and the target data; and (d) a step of identifying the data processing sequence that satisfies a predetermined standard condition using the multiple evaluation values ​​corresponding to each of the multiple data processing sequences.

[0006] According to a second aspect of the present disclosure, there is provided a data processing sequence generation device, comprising: a population generation unit for generating a population of one generation by generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node; and a sequence generation unit for generating the data processing sequence corresponding to each of the plurality of individuals, the sequence generation unit including: (i) a partial sequence structure constituting a part of the data processing sequence, the partial sequence structure including the node to which the node element of at least one of the input layer and the filter layer is assigned, and a structure reference table in which the genes are associated with the types of the partial sequence structure; the sequence generation unit determines a node element type of the input layer or the filter layer using a gene and (ii) a node reference table that associates the gene with the type of the node element and the gene, and assigns the node element of either the input layer or the filter layer to the node that constitutes the partial sequence structure using the gene; a calculation unit that processes target data for each of the multiple data processing sequences represented by the population, and compares output data output for each data processing sequence with target data that is a target associated with the target data to calculate an evaluation value indicating a similarity between the output data and the target data; and an identification unit that identifies the data processing sequence that satisfies a predetermined standard condition using the multiple evaluation values ​​corresponding to each of the multiple data processing sequences.

[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 computer program includes: (a) a function for generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node, thereby generating a population of one generation; and (b) a function for generating the data processing sequence corresponding to each of the plurality of individuals, in which (b1) a partial sequence structure constituting a part of the data processing sequence, the partial sequence structure including the node to which the node element of at least one of the input layer and the filter layer is assigned, is generated using a structure reference table that associates the genes with types of the partial sequence structure and the genes. (b2) a function of assigning the node elements of either the input layer or the filter layer to the nodes constituting the partial sequence structure using a node reference table that associates the genes with the types of the node elements, and the genes; (c) a function of processing target data for each of the multiple data processing sequences represented by the population, comparing output data output for each data processing sequence with target data that is associated with the target data, and calculating an evaluation value that indicates a similarity between the output data and the target data; and (d) a function of identifying the data processing sequence that satisfies a predetermined standard condition by using the multiple evaluation values ​​that correspond to each of the multiple data processing sequences. [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]A diagram to explain a population in one generation. [Diagram 5] FIG. 13 is a diagram showing a structure reference table. [Figure 6] FIG. 13 is a diagram showing a partial sequence structure defined by a structure reference table. [Figure 7] FIG. 13 is a diagram showing a node reference table. [Figure 8] FIG. 13 is a diagram showing a data processing sequence of a tree structure in the generation process. [Figure 9] FIG. 1 is a diagram showing a data processing sequence in a table format and a data processing sequence in a tree structure. [Figure 10] FIG. 4 is a diagram showing a translation type table. [Figure 11] 11 is a flowchart showing a process executed by the generating device. [Figure 12] 11 is a detailed flowchart of a generation process of a specific data processing sequence. [Figure 13] FIG. 11 is a detailed flowchart of step S308. [Figure 14] 13 is a diagram showing a process of generating a translation type table executed by a type table generating unit; [Figure 15] FIG. 13 is a diagram showing individuals of the parent generation, a translation type table, and a data processing sequence. [Figure 16] FIG. 13 is a diagram showing individuals of the parent generation, a translation type table, and a data processing sequence. [Figure 17] A diagram to explain the next generation of individuals. [Figure 18] FIG. 13 is a diagram for explaining a gene length adjustment process. [Figure 19] 12 is a flowchart of the utilization processing step of step S50 shown in FIG. 11. [Figure 20] FIG. 11 is a diagram showing a node reference table included in the generating device according to the second embodiment. [Figure 21] FIG. 13 is a diagram showing a parameter reference table included in the reference table. [Figure 22] 11 is a detailed flowchart of a process for generating a data processing sequence. [Figure 23] FIG. 2 is a diagram showing an example of an individual IV from which a data processing sequence is generated. [Figure 24] FIG. 1 is a diagram showing a data processing sequence of a tree structure represented by an individual. [Diagram 25] FIG. 1 shows a sequence of processing data in tabular form represented by an individual. [Figure 26] FIG. 13 is a diagram showing a translation type table corresponding to an individual. [Figure 27] FIG. 13 is a diagram for explaining a type reference mutation process executed by the population generation unit. [Figure 28] FIG. 13 is a diagram showing a generating device according to a third embodiment. [Figure 29] FIG. 13 is a diagram showing a storage device according to a third embodiment. [Diagram 30] FIG. 13 is a diagram showing a part of a partial sequence structure. [Diagram 31] 13 is a flowchart of a table generation process. [Diagram 32] FIG. 13 is a diagram showing a first connection condition table for an input side node element with the number of inputs being “0”. [Diagram 33] FIG. 13 is a diagram showing a first connection condition table for an input side node element with the number of inputs being “1”. [Diagram 34] FIG. 13 is a diagram showing a first connection condition table for an input side node element with the number of inputs being “2”. [Diagram 35] FIG. 33 is a first diagram for explaining step S110 in FIG. 32; [Diagram 36] FIG. 33 is a second diagram for explaining step S110 in FIG. 32; [Figure 37] FIG. 33 is a third diagram for explaining step S110 in FIG. [Figure 38] FIG. 11 is a diagram for explaining a process of generating a node reference table. [Figure 39] 13 is a flowchart of step S308b. [Diagram 40] FIG. 13 is a diagram showing an output side type table. [Diagram 41] A diagram showing an individual to be translated. [Diagram 42] FIG. 1 shows a data processing sequence generated by translating an individual. [Diagram 43] FIG. [Diagram 44] FIG. 1 is a diagram showing a data processing sequence in a tabular format. [Diagram 45] FIG. 11 is a diagram showing a second connection condition table. [Diagram 46] FIG. 13 is a diagram showing a structure reference table generated from the second connection condition table. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. First embodiment: A-1. Generation system configuration: 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 target data TM after data processing, and a data processing function. The target data TM is prepared in advance according to the purpose of data processing by the data processing sequence Sq. For example, the target data TM is data indicating a discrimination result when the purpose is to discriminate the type of input data ID input to the data processing sequence Sq. Also, for example, the target data TM is data indicating a physical quantity when it is desired to obtain a physical quantity such as a predetermined voltage or temperature from the input data ID. In this embodiment, the target data TM is a target image.

[0011] The data processing function is a function for processing input data ID using a data processing sequence Sq. The generating device 20 of this embodiment automatically generates a specific data processing sequence DSq for obtaining a desired image for achieving a desired purpose based on a captured image, which is the input data ID. 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, 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. For example, the presence or absence and position of defective parts are identified by a user or a device based on this binary image, thereby inspecting the industrial product.

[0012] 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 a desired image after image processing from among the generated plurality of data processing sequences Sq.

[0013] 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. The storage device 70 stores various programs for implementing the various functions of the processor 25 and various data used for generating the data processing sequence Sq. Details of the storage device 70 will be described later. The input unit 150 is an interface that accepts information from the outside. The input unit 150 accepts, for example, input of data such as captured images from the sensor device 200, or input of data such as images generated by a user using another device. The display unit 160 displays various information. The display unit 160 is, for example, a liquid crystal monitor.

[0014] 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 evaluation determination unit 46, 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.

[0015] The sequence generation unit 30 generates a sequence set consisting 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 are elements constituting the data processing sequence Sq, and have (i) an input layer which is a node element that inputs data and is assigned to an upstream end node, (ii) a filter layer which is an intermediate node element between the input layer and the output layer and processes data, and (iii) an output layer which is assigned to a downstream end node that outputs output data PM which is the final data after data processing. The data processing sequence Sq includes at least one filter layer. Note that, among the sequence elements, the input layer, filter layer, and output layer are also called node elements, since any one of the input layer, filter layer, and output layer is assigned to the node of the tree structure. In addition to the node elements, parameters set in the filter layer also constitute the sequence elements.

[0016] The sequence generation unit 30 includes a population generation unit 32, a gene translation unit 34, and a type table generation unit 36. The population generation unit 32 generates an individual IV composed of a plurality of genes arranged in one dimension. Each gene constituting the individual IV is a numerical value representing any one of the types of the input layer, the type of the filter layer, and the type of the partial sequence structure St described later among the sequence elements. For each numerical range of the gene indicating the occurrence range, any one of the input layer, the filter layer, and the partial sequence structure St is assigned. As described above, the individual IV is generated by arranging genes corresponding to each of the node elements and the partial sequence structure St excluding the output layer.

[0017] The population generation unit 32 generates a predetermined number of individuals IV for each generation G. In this embodiment, the population generation unit 32 generates individual IVs of a predetermined gene length by arranging genes in one dimension. The combination of sequence elements of the multiple data processing sequences Sq is different for each generation G. For the first generation G, the population generation unit 32 randomly arranges numbers from 0 to 1 up to the third decimal place as genes at each gene locus of the individual IV to generate a population 81 composed of multiple individual IVs. For the second and subsequent generations G, the population generation unit 32 generates new individual IVs from individual IVs of the parent generation G that have a high similarity SD indicated by an evaluation value EV described later using at least one of crossover and mutation, thereby generating a population 81 that is a set of the newly generated individual IVs and the individuals IVs maintained in the parent generation G, i.e., the individuals IVs of the parent generation G that are duplicated.

[0018] The gene translation unit 34 translates each gene of the individual IV to generate a data processing sequence Sq represented in a tree structure by referring to a reference table described later that is stored in the storage device 70. The reference table is a table that associates components of the data processing sequence Sq with gene values ​​VG, and will be described in detail later.

[0019] The type table generating unit 36 ​​generates a translation type table that specifies the type of the component of the data processing sequence Sq represented by each gene of the individual IV for each gene value VG. The type of the component is expressed as a decode type. The decode type has two types: a type that indicates a node element assigned to a node of the data processing sequence Sq, and a type that indicates a partial sequence structure St. The partial sequence structure St is composed of at least one node connected to an unconnected terminal of a node, and constitutes a part of the data processing sequence Sq. The translation type table 92 generated by the type table generating unit 36 ​​is used to generate the individual IV that is generated to specify the specific data processing sequence DSq by the sequence generating function. In the translation type table, the decode type is specified in association with all gene locus Nos. that the individual IV has, 15 in this embodiment. The translation type table 92 will be described in detail later.

[0020] The data processing unit 40 processes the input data ID input to the input layer using the 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 output layer.

[0021] The evaluation and determination unit 46 identifies a specific data processing sequence DSq that satisfies a predetermined reference condition from among a plurality of data processing sequences Sq indicated by a plurality of individuals IV of the first generation G. The evaluation and determination unit 46 includes a calculation unit 47 and a determination unit 49.

[0022] The calculation unit 47 compares output data PM obtained by processing the learning data LM, which is an example of the input data ID, with the data processing sequence Sq indicated by the individual IV, with target data TM, which is a target associated with the learning data LM, to calculate an evaluation value EV indicating a similarity SD between the output data PM and the target data TM. The calculation unit 47 calculates the 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.

[0023] The identifying unit 49 uses the calculated evaluation value EV to determine whether or not the data processing sequence Sq satisfies a predetermined reference condition, and identifies the data processing sequence Sq that satisfies the reference condition as a specific data processing sequence DSq.

[0024] 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 EV, 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 EV, 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, data, for example, image data, 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. In addition, when the evaluation value EV indicates the judgment result of whether the output data PM and the target data TM are good or bad, the similarity SD may be, for example, the matching rate of the output data PM and the target data TM corresponding to multiple input data IDs.

[0025] 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.

[0026] 2 is a diagram for explaining the storage device 70. The storage device 70 stores a learning data group 74, a node element group 80, an individual group 81, a reference table 82, various condition tables 90, a specific data processing sequence DSq, various programs 94, and a partial sequence structure St.

[0027] The various condition tables 90 prescribe the conditions of various processes executed by the generating device 20. For example, the various condition tables 90 prescribe the termination conditions used when executing the generation process of the connection condition table described later, the reference conditions for identifying the specific data processing sequence DSq, and the generation conditions when generating the next generation population 81. The specific data processing sequence DSq is a data processing sequence Sq that is determined by the identifying unit 49 to satisfy the reference conditions previously determined. The specific data processing sequence DSq is represented, for example, by layer identifiers that identify multiple filter layers, which are multiple data processing layers, and the order of the layer identifiers, i.e., the connection relationship. The various programs 94 are programs executed by the processor 25.

[0028] 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, which is a data processing target 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 a circuit board, which is an industrial product. The target data TM is a binarized image in which a defective part DA is represented as a black image and the other parts are represented as a white image. There are two types of target data TM: good product data, which is an image showing a good product, and defective product data, which is an image showing a defective product. The defective product data is generated, for example, by a user setting the defective part DA to a black image and the other parts to a white image with reference to the learning data LM in which the location of the defective part has been specified in advance. Since the good product data does not have a defective part DA, for example, the whole is set to a white image. Each of the plurality of learning data LM is an image of the same type of circuit board having a different serial number, which is captured by the sensor device 200.

[0029] The node element group 80 in FIG. 2 is a set of node elements assigned to the node ND in the data processing sequence Sq. The node elements are a filter layer and an input layer. Examples of the filter layer include an average value filter, a maximum value filter, a minimum value filter, a binarization filter, a moving average filter, a Laplacian filter, a Gaussian filter, a Sobel filter, a gamma correction filter, and a filter that combines two data into one data. Note that, even if the filter layer is the same type of filter layer, if the parameter values ​​such as the kernel size and the coefficient can be set, the parameter values ​​may be set to a predetermined constant value, or each parameter value may be set as a different node element. In this embodiment, in the filter layer having the parameter values, the parameter values ​​are predetermined constant values.

[0030] The population 81 shown in FIG. 2 stores a plurality of individuals IV in one generation G generated by the population generation unit 32. FIG. 4 is a diagram for explaining the population 81 of one generation G. In this embodiment, an example will be described in which five individuals IV1 to IV5 are generated in one generation G. 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. 15. The population generation unit 32 randomly arranges genes represented by a numerical value VG 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.

[0031] 2 includes a structure reference table 83 and a node reference table 84, which are tables showing the correspondence between the gene value VG and the components of the data processing sequence Sq, and a translation type table 92 showing the type of translation of the gene. The translation type table 92 will be described in detail later.

[0032] FIG. 5 is a diagram showing the structure reference table 83. FIG. 6 is a diagram showing the partial sequence structure St defined by the structure reference table 83. As shown in FIG. 5, the structure reference table 83 shows the correspondence between the types of partial sequence structures StA to StJ, which are composed of at least one node of the data processing sequence Sq represented by a tree structure, and the numerical value VG of the gene. For example, when the numerical value VG of the gene is "0.150", the partial sequence structure StB is assigned to this gene. In this embodiment, the appearance range is equally divided into 10 so that the partial sequence structures StA to StJ of 10 types appear as part of the data processing sequence Sq with equal probability. Each appearance range corresponds to each partial sequence structure StA to StJ. Note that the presence or absence of the equal sign may be changed as long as the numerical value VG of the gene is included in any type of appearance range. When the 10 types of partial sequence structures StA to StJ are used without distinction, they are also called partial sequence structures St.

[0033] As shown in Fig. 6, the partial sequence structure St includes a node ND that is connected to an unconnected terminal Nt on the input side of the node ND and to which at least one of the node elements of the input layer and the filter layer is assigned. The partial sequence structure St constitutes a part of the data processing sequence Sq, and has a sequence structure with one or two stages in the depth direction in the tree structure. The number of inputs written in the node ND is the number of nodes ND set on the input side when the node ND is the output side. A node ND with the number of inputs "0" is assigned a node element that constitutes the input layer.

[0034] The type of partial sequence structure St prepared in advance is determined based on the type of node element that is a candidate for the data processing sequence Sq and the number of inputs of the node element. In this embodiment, as shown in Fig. 5, there are ten types of partial sequence structures St, namely, the first partial sequence structure StA to the tenth partial sequence structure StJ. In this manner, the partial sequence structure St is in a state before the input layer and the filter layer are assigned to the node ND, and indicates the relationship of the arrangement of the nodes.

[0035] 7 is a diagram showing a node reference table 84. The node reference table 84 is a table that associates genes with types of node elements. The node reference table 84 is defined for each number of inputs, which is the number of nodes connected to the input side. Note that the number of outputs for each node element is "1".

[0036] Of the node reference table 84, a table corresponding to a node element with the number of inputs of "0" is also referred to as the first node reference table 84a. The node elements defined in the first node reference table 84a are the input layer in and the input layer ConA. The input layer in is a layer that accepts input data ID and outputs it to the output side. The input layer ConA is a layer to which predetermined fixed data is input, for example, data of the same type as the input data ID. If the input data ID is an image, the fixed data is an image.

[0037] Of the node reference table 84, a table corresponding to a node element with the number of inputs "1" is also referred to as a second node reference table 84b. The node elements defined in the second node reference table 84b are filter layers FtA to FtD. The "1 input 1 output" filter layers FtA to FtD defined in the second node reference table 84b include an average filter, a maximum value filter, a minimum value filter, an inversion filter, etc.

[0038] Among the node reference table 84, a table corresponding to a node element with the number of inputs of "2" is also referred to as the third node reference table 84c. The node elements defined in the third node reference table 84c are filter layers FtE and FtF. The "two inputs, one output" filter layers FtE and FtF defined in the third node reference table 84c are, for example, logical sum filters and logical product filters.

[0039] The appearance range of the node elements defined in each of the first node reference table 84a to the third node reference table 84c is equally divided so that they appear with equal probability. For example, the appearance range is divided into two in the first node reference table 84a, the appearance range is divided into four in the second node reference table 84b, and the appearance range is divided into two in the third node reference table 84c. Regarding the inequality sign, the presence or absence of the equality sign may be changed as long as the gene numerical value VG is included in the appearance range of any of the node element types in each of the node reference tables 84a to 84c.

[0040] 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. 8. FIG. 8 is a diagram showing the tree-structured data processing sequence Sq in the process of generation generated by the gene translation unit 34. The left side of FIG. 8 shows a tabular data processing sequence TSq corresponding to the tree-structured data processing sequence Sq, and the right side shows the tree-structured data processing sequence Sq. Note that the data processing sequence Sq shown in FIG. 8 is the data processing sequence Sq1 generated based on the individual IV1 shown in FIG. 4. For ease of understanding, the numbers in parentheses in FIG. 8 indicate the locus No. of the individual IV1.

[0041] As shown on the right side of FIG. 8, the gene translation unit 34 first sets the output layer out as a terminal node, which is a downstream end node, and generates a data processing sequence Sq by assigning either a partial sequence structure St or a node element in order from the output side to the input side of the data processing sequence Sq in the order of the arrangement of the genes of the individual IV. The connection of the node elements is performed according to a predetermined translation rule. In this embodiment, gene translation is performed according to a depth-first rule. In addition, in this embodiment, a process of first determining one partial sequence structure St and a process of assigning a node element to a node ND of the determined partial sequence structure St are repeatedly performed until the input layer in, ConA is assigned to the start node, which is an upstream end node. In addition, in the translation rule of this embodiment, in a tree structure when the output layer out is set to the upper side, the partial sequence structure St is set by giving priority to the left connection destination over the right connection destination.

[0042] The gene translation unit 34 first determines the partial sequence structure St to be connected to the unconnected terminal Nt1 on the input side of the output layer out by referring to the gene at the gene locus No. 1 of the individual VI1 and the structure reference table 83. As shown in FIG. 4, the value VG of the gene arranged at the gene locus No. 1 of the individual VI1 is "0.251", and corresponds to the partial sequence structure StC in the structure reference table 83 of FIG. 5. Therefore, the gene translation unit 34 connects the third partial sequence structure StC to the unconnected terminal Nt1 on the input side of the output layer out. As shown in FIG. 6, the partial sequence structure StC has one node ND with the number of inputs being "2". In addition, this node ND has two input side terminals Nt2 and Nt3. Therefore, the gene translation unit 34 sets "reservation codes" to the node element, the first input side node No., and the second input side node No. corresponding to the node No. 1 of the tabular data processing sequence TSq1.

[0043] Next, the gene translation unit 34 determines the node element to be assigned to node No. 1, i.e., node ND in the third partial sequence structure StC, by referring to the gene value VG of gene locus No. 2 and the third node reference table 84c in which the number of inputs is "2" as shown in Fig. 7. Since the gene value VG of the gene arranged in locus No. 2 of the individual VI1 as shown in Fig. 4 is "0.993", the filter layer FtF corresponds to it when referring to the third node reference table 84c in Fig. 7. Therefore, the gene translation unit 34 assigns the filter layer FtF to the node element of node No. 1.

[0044] As shown in the middle part of FIG. 8, the gene translation unit 34 determines the partial sequence structure St to be connected to the left unconnected terminal Nt2 of the two unconnected terminals Nt2 and Nt3 of the filter layer FtF assigned to the node No. 1 by referring to the genes and the structure reference table 83. Specifically, the gene translation unit 34 determines the partial sequence structure St to be connected to the left unconnected terminal Nt2 as the first partial sequence structure StA by referring to the numerical value VG of the gene arranged at the gene locus No. 3 of the individual IV1, "0.067", and the structure reference table 83 shown in FIG. 5. Next, the gene translation unit 34 sets "reservation code" to the node No. 2 since the first partial sequence structure StA determined earlier has one node ND with the number of inputs set to "0". Next, the gene translation unit 34 determines the node element to be assigned to the node No. 2 by referring to the numerical value VG of the gene arranged at the gene locus No. 4 and the first node reference table 84a in FIG. 7, which is a table with the number of inputs set to "0". Since the left node is a downstream end node with the number of inputs "0", after determining the node element of node No. 2, a partial sequence structure to be connected to the unconnected terminal Nt3 on the right side in the tree structure is determined. In this manner, in the data processing sequence Sq of the tree structure, the gene translation unit 34 generates the data processing sequence Sq by referring to the genes and the reference table 82 until all upstream end nodes, which are start nodes, become the input layer in or the input layer ConA with the number of inputs "0".

[0045] 9 is a diagram showing a tabular data processing sequence TSq1 represented by the individual IV1 in FIG. 4, and a tree-structured data processing sequence Sq. For ease of understanding, in the tabular data processing sequence TSq1, numbers in parentheses represent the corresponding gene locus number that is the translation source. Also for ease of understanding, [x, y] is written in the tree-structured data processing sequence Sq1. The number x represents the node number of the data processing sequence Sq, and y represents the corresponding gene locus number. As shown in the tree-structured data processing sequence Sq1 in FIG. 9, the upstream end node is the input layer in, ConA, in which the number of inputs is all "0".

[0046] 2, the following provides a further explanation of the storage device 70. The translation type table 92 is generated by the type table generator 36 in the process of generating a data processing sequence Sq that is a candidate for the specific data processing sequence DSq.

[0047] FIG. 10 is a diagram showing a translation type table 92 generated when an individual IV1 is translated. The translation type table 92 is a table in which, for each gene constituting an individual IV from which a data processing sequence Sq is generated, more specifically, for each gene locus in which the gene is located, a decode type for distinguishing a partial sequence structure St assigned to the gene from a node element is associated. The decode type further includes a type for distinguishing an unused gene that was not used in generating the data processing sequence Sq, in addition to distinguishing between the partial sequence structure St and the node element. In FIG. 10, when a gene is used to represent a partial sequence structure St, an identifier of "Struct" is set as the decode type. Also, when a gene is used to represent a node element, an identifier of "Node" is set as the decode type. Also, when a gene is unused, an identifier of "Empty" is set as the decode type.

[0048] A-2. Processes performed by the generator: 11 is a flowchart showing the processing executed by the generating device 20. First, the sequence generating function of the generating device 20 executes a processing for generating a specific data processing sequence DSq in step S30. Next, the data processing function of the generating device 20 executes a processing for utilizing the specific data processing sequence DSq in step S50.

[0049] Fig. 12 is a detailed flowchart of the generation process of the specific data processing sequence DSq in step S30 shown in Fig. 11. First, in step S300, the storage device 70 stores a plurality of filter layers FtA-FtF and an input layer ConA as a node element group 80. Step S300 is executed when the user inputs node elements such as the filter layers FtA-FtF that are candidates for use in the specific data processing sequence DSq to the generation device 20.

[0050] In addition, in step S301, the storage device 70 stores a training data group 74 configured from a plurality of training sets SM. Step S301 is executed when the training data group 74 is input to the generation device 20 by a user.

[0051] The storage device 70 also stores the generation conditions for generating the next generation population 81 in step S303. The generation conditions are conditions that determine which individual IV of the parent generation is to be subjected to either the normal individual generation process or the reference individual generation process in the next generation generation process, and are input to the generation device 20 by the user. Note that the order of steps S300, S301, and S303 is not limited to the above order. The normal individual generation process and the reference individual generation process will be described later.

[0052] Next, in step S306, the population generation unit 32 generates a plurality of individuals IV to generate a population 81 of one generation. As described above, the individuals IV are arranged with a plurality of genes for expressing either a node element or a partial sequence structure St, as shown in FIG. 4. In step S306, the population 81 in one generation G is composed of a plurality of individuals IV1 to IV5. The generated population 81 is stored in the storage device 70. In this way, in step S306, the population generation unit 32 generates a plurality of individuals IV in which a plurality of genes for expressing a data processing sequence Sq having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node, is arranged, to generate the population 81 of one generation.

[0053] Next, in step S308, the gene translation unit 34 selects one of the individuals IV1 to IV5, and translates the gene by referring to the gene of the individual IV and the reference table 82 to generate a data processing sequence Sq. Step S308 is repeatedly executed until it is executed for all the individuals IV of one generation G. In other words, the repeatedly executed step S308 is a process of generating a data processing sequence Sq corresponding to each of the multiple individuals IV constituting one generation G. Details of step S308 will be described later.

[0054] Next, in step S350, the data processing unit 40 processes the plurality of learning data LM using the data processing sequence Sq generated in step S308 to generate a plurality of output data PM.

[0055] Next, in step S352, the evaluation determination unit 46 compares the multiple output data PM generated in step S350 with the target data TM associated with the learning data LM from which each of the multiple output data PM was generated, and calculates multiple evaluation values ​​EV to evaluate the processing result. The evaluation determination unit 46 uses the average value of the multiple calculated evaluation values ​​EV as the final evaluation value EV indicating the similarity SD between the output data PM and the target data TM.

[0056] Next, in step S354, the evaluation and determination unit 46 determines whether or not the processes of steps S308 to S352 have been performed on all the individuals IV of one generation G. If the determination 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 processes of steps S308 to S352 again. That is, the data processing unit 40 processes the learning data LM for each of the multiple data processing sequences Sq corresponding to the multiple individuals IV constituting one generation G, and generates output data PM for each of the multiple data processing sequences Sq. Then, the evaluation and determination unit 46 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.

[0057] On the other hand, if the determination in step S354 is "Yes", the identification unit 49 of the evaluation determination unit 46 determines in step S356 whether or not there is a data processing sequence Sq that satisfies a predetermined standard condition, using the multiple evaluation values ​​EV calculated in the current generation. Specifically, the identification unit 49 of the evaluation determination unit 46 determines that there is a data processing sequence Sq that satisfies the standard condition, if the highest similarity SDmax among the respective similarities SD indicated by the multiple evaluation values ​​EV calculated based on the multiple individuals IV of the current generation is equal to or greater than a predetermined termination threshold. In other words, the process of step S356 is a process of identifying a data processing sequence Sq that satisfies a predetermined standard condition, using multiple evaluation values ​​EV corresponding to each of the multiple data processing sequences Sq.

[0058] If there is a data processing sequence Sq that satisfies the criterion condition, the specification unit 49 of the evaluation determination unit 46 outputs the data processing sequence Sq that satisfies the criterion condition as a specific data processing sequence DSq in step S358. The output specific data processing sequence DSq is stored in the storage device 70.

[0059] On the other hand, if there is no data processing sequence Sq that satisfies the reference condition, the processes of steps S306 to S356 are executed as the next routine. In step S306 of the next routine, the population generation unit 32 executes a next-generation generation step to generate a next-generation population 81. In the next-generation generation step, the population generation unit 32 replaces the individuals IV that are the source of generation of one or more data processing sequences Sq having a low similarity SD indicated by the evaluation value EV among the multiple individuals IV generated in the previous routine with new individuals IV by performing at least one of crossover and mutation on the individuals IV having a high similarity SD. Also, in the next-generation generation step, the population generation unit 32 duplicates the individuals IV having a high similarity SD in the previous routine. As a result, the population generation unit 32 generates the next-generation population 81 to be used in the current routine by the next-generation generation step.

[0060] In this embodiment, the population generation unit 32 replaces the individual IVs with a low similarity SD, i.e., the individual IVs up to the bottom J-th, of the multiple individuals IVs of the parent generation used in the previous routine, with new individuals IVs by performing at least one of crossover and mutation on the individual IVs with a high similarity SD that does not fall within the bottom J-th. In addition, in the next generation generation step, the population generation unit 32 duplicates the individual IVs with a high similarity SD that does not fall within the bottom J-th. A new sequence set is formed by the duplicated individual IVs and the individual IVs newly generated using crossover and mutation. Then, the processing of steps S308 to S356 is executed again for the new sequence set. As described above, by replacing one or more individual IVs with a low similarity SD with new individual IVs based on the individual IVs with a high 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 the data processing sequence Sq that satisfies the reference condition.

[0061] The next generation generation process includes a reference individual generation process for generating a next generation population 81 by performing at least one of crossover and mutation with reference to the translation type table 92 shown in Fig. 10, and a normal individual generation process for generating a next generation individual IV by performing at least one of crossover and mutation without reference to the translation type table 92. In the next generation generation process, whether to execute the reference individual generation process or the normal individual generation process for each individual IV is specified in the generation conditions of the various condition table 90 shown in Fig. 2. The generation conditions may be specified by input from the user. The reference individual generation process will be described in detail later.

[0062] 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 generation process of the specific data processing sequence.

[0063] Fig. 13 is a detailed flowchart of step S308. Fig. 14 is a diagram showing the process of generating the translation type table 92 executed by the type table generating unit 36 ​​when executing step S308.

[0064] 13, in step S311, the gene translation unit 34 selects one unprocessed individual from among the individuals IV1 to IV5 constituting the current generation G stored in the storage device 70. The following describes the case where the individual IV1 shown in FIG. 4 is selected.

[0065] In step S313, the gene translation unit 34 initializes the data processing sequence Sq and the translation type table 92. By initializing the data processing sequence Sq, only the output layer out is arranged in the data processing sequence Sq. Furthermore, by initialization, the translation type table 92 is set to a state in which no decode type is recorded. Note that the order of steps S311 and S313 is not limited to this and may be reversed.

[0066] Next, in step S326, the gene translation unit 34 determines whether or not there is an undetermined node ND. An undetermined node ND is a node to which no node element is assigned in the data processing sequence Sq. In the first routine, since the data processing sequence Sq is initialized in step S313 and only the output layer out is set, it is determined that there is no undetermined node ND, and step S330 is executed.

[0067] In step S330, the genetic translation unit 34 determines whether or not there is an unconnected terminal in the data processing sequence Sq in the generation process. If all the nodes ND on the input side are input layers in, ConB, the genetic translation unit 34 determines that there is no unconnected terminal. In the initial routine, since only the output layer out is set in the data processing sequence Sq, in step S330, the genetic translation unit 34 determines that there is an unconnected terminal and executes step S316.

[0068] In step S316, the gene translation unit 34 selects one unconnected terminal Nt in accordance with a predetermined translation rule. In this embodiment, as in step S316 shown in the upper right of FIG. 8, an unconnected terminal Nt1 of the output layer out is selected.

[0069] Next, in step S317, the gene translation unit 34 translates the gene representing the partial sequence structure St connected to the unconnected terminal Nt1. That is, step S317 is a process of determining the partial sequence structure St constituting a part of the data processing sequence Sq by using the gene and the structure reference table 83. In detail, in step S317, the gene translation unit 34 determines the partial sequence structure St by referring to the translation target gene that has not yet been used to generate the data processing sequence Sq and has the smallest gene locus No. among the genes of the individual IV1 and the structure reference table 83 shown in FIG. 5. As shown in FIG. 4, the value VG of the gene arranged at the gene locus No. 1 of the individual VI1 is "0.251", and corresponds to the partial sequence structure StC in the structure reference table 83 of FIG. 5. Therefore, the gene translation unit 34 determines that the partial sequence structure St corresponding to the gene arranged at the gene locus No. 1 is the third partial sequence structure StC, and executes the translation of the gene by connecting the third partial sequence structure StC to the unconnected terminal Nt1. Furthermore, as shown in the tabular data processing sequence TSq1 at the top of FIG. 8, the gene translation unit 34 sets a "reservation code" at a location corresponding to node No. 1 in the tabular data processing sequence TSq1.

[0070] 13, in step S318 following step S317, the type table generation unit 36 ​​associates an identifier identifying the partial sequence structure St with the gene locus where the gene to be translated is located, thereby recording the identifier of the partial sequence structure St in the translation type table 92. In this embodiment, as in the translation type table 92 shown on the left side of Fig. 19, the type table generation unit 36 ​​records the identifier of "Struct" indicating the partial sequence structure St as a decode type in the translation type table 92, in association with gene locus No. 1 where the gene to be translated is located.

[0071] Next, the genetic translation unit 34 selects an undetermined node ND to which no node element is assigned according to a predetermined translation rule, as shown in step S320 of Fig. 13. In this embodiment, the genetic translation unit 34 selects a node ND to which a reservation code is set that is included in the third partial sequence structure StC connected to the unconnected terminal Nt1, as the undetermined node ND.

[0072] Next, in step S322, the gene translation unit 34 translates the gene corresponding to the selected undetermined node ND. That is, step S322 is a process of assigning a node element of either the input layer or the filter layer to the node ND constituting the partial sequence structure St by using the node reference table 84 shown in FIG. 7 and the gene. In detail, in step S322, the gene translation unit 34 refers to the translation target gene of the individual IV1 and the node reference table 84 shown in FIG. 7 to determine the node element to be assigned to the undetermined node ND constituting the partial sequence structure St. The gene translation unit 34 refers to the numerical value VG represented by the gene at the gene locus No. 2 of the individual IV1 in FIG. 4, which is the translation target gene, and the third node reference table 84c shown in FIG. 7 corresponding to the node with the number of inputs "2", and determines the filter layer FtF as the node element.

[0073] 13, in step S324, the type table generation unit 36 ​​associates the identifier that identifies the node element with the gene locus where the corresponding gene, which is the source of translation, is located, thereby recording the identifier of the node element in the translation type table 92. In this embodiment, as shown in the translation type table 92 shown second from the left in Fig. 19, the type table generation unit 36 ​​records the identifier of "Node" that indicates a node element as a decode type in the translation type table 92, in association with gene locus No. 2 where the gene to be translated is located.

[0074] As described above, steps S317 and S322 shown in Fig. 13 constitute a part of a process for generating a data processing sequence Sq corresponding to each of a plurality of individuals IV. Steps S318 and S324 are a translation type table generating process for generating a translation type table 92 in which a decode type for distinguishing between a partial sequence structure St assigned to a gene and a node element is associated with each gene constituting an individual IV from which the data processing sequence Sq is generated. This translation type table generating process also constitutes a part of a process for generating a data processing sequence Sq. The translation type table 92 makes it easy to determine whether a gene is assigned to a partial sequence structure St or a node element. This makes it easy to generate a new individual by focusing on the partial sequence structure St when generating the next generation population 81.

[0075] Next, the process from step S326 onwards in FIG. 13 is executed again, and the process from step S320 onwards or the process from step S316 onwards is repeatedly executed until there are no more undetermined nodes ND and no more unconnected terminals Nt.

[0076] In addition, when there are undetermined nodes ND and unconnected terminals Nt even if all genes are used for the individual IV, that is, when the generation process of the data processing sequence Sq is not completed, the gene translation unit 34 executes the following termination process. In the termination process, when there is an unconnected terminal Nt, the gene translation unit 34 selects a predetermined partial sequence structure St in which only nodes with the number of inputs "0" are arranged on the input side, and connects it to the unconnected terminal Nt so that the generation process of the data processing sequence Sq is completed. In this embodiment, the predetermined partial sequence structure St is the first partial sequence structure StA shown in FIG. 6. In addition, in the termination process, when there is an undetermined node ND, the gene translation unit 34 selects a predetermined node element according to the number of inputs determined for the undetermined node ND and assigns it to the undetermined node ND. For example, in the termination process, the gene translation unit 34 assigns the input layer in to the node ND with the number of inputs "0", assigns the filter layer FtA to the node ND with the number of inputs "1", and assigns the filter layer FtE to the node ND with the number of inputs "2". The type table generating unit 36 ​​does not record the decode type in the translation type table 92 for the partial sequence structure St or the node element set by the termination process.

[0077] On the other hand, when there are no undetermined nodes ND and no unconnected terminals Nt, the type table generation unit 36 ​​records, in step S332, unused identifiers not used in translation in the translation type table 92 by associating them with the gene loci where the corresponding genes are located. For example, in the generation of the data processing sequence Sq2 using the individual IV2, as shown in the translation type table 92 on the right side of FIG. 19, the genes at gene loci No. 10 to No. 15 were not used in translation, so the identifier "Empty" is recorded at gene loci No. 10 to No. 15. The translation type table 92 shown on the right side of FIG. 14, in which identifiers that are decoding types are associated with all the genes possessed by the individual IV, is referred to by the population generation unit 32 during the reference individual generation step in the next generation generation step.

[0078] As shown in Fig. 13, following step S332, the gene translation unit 34 outputs the translated data processing sequence Sq in step S334. For example, the output format of the output data processing sequence Sq is not limited as long as the order of data processing is specified, and may be, for example, a data processing sequence TSq in a table format as shown in Fig. 9. The output data processing sequence Sq is stored in the storage device 70. This completes the gene translation process in step S308.

[0079] Next, using Figures 15 to 17, n An individual reference generation step that can be performed when generating the population 81 of the parent generation G will be described. m 16 is a diagram showing an individual IV1 of a parent generation G, a translation type table 92a of the individual IV1, and a data processing sequence Sq1 of the individual IV1. m 17 is a diagram showing the individual IV2 of the individual IV2, the translation type table 92b of the individual IV2, and the data processing sequence Sq2 of the individual IV2. n FIG. 13 is a diagram for explaining individual IV6.

[0080] In this embodiment, the generation conditions are parent generation G m The next generation G is generated by crossing the individual IV1 with the highest similarity SD in the reference individual generation process with the individual IV2 with the next highest similarity SD in the reference individual generation process. n In this embodiment, the generation condition includes a condition to newly generate an individual IV6 of the above. In addition, in the present embodiment, the generation condition includes a condition to crossover or mutate an individual IV other than the above to generate a next-generation G n When generating an individual IV, the condition of executing an individual generation step is usually included.

[0081] In the reference individual generation step, the population generation unit 32 generates the next generation individuals G nIn generating a reference individual, crossover is performed with the partial sequence structure St as a unit. In this embodiment, the population generation unit 32 performs two-point crossover with two consecutive partial sequence structures St in a gene as one unit. In the reference individual generation process, the process of performing crossover with the partial sequence structure St as a unit is also called a type reference crossover process.

[0082] When crossing the individual IV1 shown in Fig. 15 with the individual IV2 shown in Fig. 16 in the reference individual generation step, the population generation unit 32 sets crossover points so that the second and third partial sequence structures St and the node elements assigned to the nodes ND of these partial sequence structures St are swapped. As shown in Fig. 15, for the individual IV1, the population generation unit 32 sets a first crossover point CP1a between locus No. 2 and locus No. 3, and sets a second crossover point CP2a between locus No. 7 and locus No. 8. Also, as shown in Fig. 16, for the individual IV2, the population generation unit 32 sets a first crossover point CP1b between locus No. 2 and locus No. 0.3, and sets a second crossover point CP2b between locus No. 8 and locus No. 9. The population generation unit 32 then swaps the gene group GG1 of gene loci No. 3 to No. 7 sandwiched between two crossover points CP1a, CP2a in the individual IV1 with the gene group GG2 of gene loci No. 3 to No. 8 sandwiched between two crossover points CP1b, CP2b in the individual IV2.

[0083] Next Generation G n In the individual IV6 constituting the population 81, the data processing sequence Sq is generated and the translation type table 92f is generated by the data processing sequence Sq generation process in step S308 of Fig. 12. In this case, as shown in Fig. 17, the genes arranged at the gene loci No. 11 to No. 13 for the individual IV6 are generated from the parent generation G m This gene was not translated in individual IV1.

[0084] Next-generation G shown in Figure 17 nThe individual IV6 is an individual generated by replacing the gene group GG1 in the individual IV1 with the gene group GG2 of the individual IV2. n When an individual IV6 is generated, the number of genes in the gene group replaced by crossover is not necessarily the same. Therefore, when generating an individual IV by crossover, the population generation unit 32 executes a gene length adjustment process using genes associated with unused types so that the number of genes, i.e., gene length, of the individual IV before and after crossover is the same.

[0085] FIG. 18 is a diagram for explaining the gene length adjustment process. When the individual IV1 shown in FIG. 15 and the individual IV2 shown in FIG. 16 are crossed as described above to generate the individual IV6 shown in FIG. 17 based on the individual IV1, the number of genes in the gene group GG2 is "6", whereas the number of genes in the gene group GG1 to be replaced is "5". Therefore, the individual IV6 should have a gene length of "16", which is longer than the gene length of the original individual IV1, which is "15". In the first case in which the gene length is increased in this way, the gene length adjustment process does not incorporate the gene located at the locus No. associated with the decode type "Empty" whose gene length exceeds a predetermined number, i.e., exceeds 15, into the individual IV6. As shown in FIG. 18, the gene located at the locus No. 15 of the individual IV1 should be located at the locus No. 16, but the gene located at the locus No. 15 of the individual IV1 is not incorporated into the gene of the individual IV6 by the gene length adjustment process.

[0086] In addition, when the gene length of the individual IV generated by performing crossover in the reference individual generation step becomes shorter than the gene length of the original individual IV, the following gene length adjustment process is performed. First, the population generation unit 32 provides a missing gene locus from the end side. Then, the population generation unit 32 places the gene that is located at the end locus of the individual IV in the parent generation before crossover and associated with "Empty" as the decode type, in the newly provided missing gene locus. For example, when the gene length of the individual IV generated by crossover becomes shorter by one than the gene length of the original individual IV, the population generation unit 32 places the gene of locus No. 15 of the individual IV1 in the missing gene locus. In addition, the population generation unit 32 may perform the gene length adjustment process by providing a missing gene locus from the end side and randomly arranging genes.

[0087] As described above, when performing crossover by the reference individual generation step, the population generation unit 32 performs gene length adjustment processing, thereby maintaining the gene length, which is the number of genes, at a constant value using unused genes that do not affect the data processing sequence Sq. This makes it possible to prevent the gene length from increasing even when the generation of the population 81 in step S306 shown in Fig. 12 is repeated to identify the specific data processing sequence DSq. This makes it possible to prevent an increase in processing time, such as translation processing of the individual IV, and therefore prevents a long time from being required to identify the specific data processing sequence DSq.

[0088] Here, when the population generation unit 32 determines that the gene length generation process cannot be executed because, for example, there are no or insufficient genes at the locus associated with the decode type "Empty", it may execute a process of setting the crossover point again so that the gene lengths are equal before and after the crossover, or may execute crossover by a normal individual generation process instead of a reference individual generation process. Also, even if there are enough genes at the locus associated with the decode type "Empty", the population generation unit 32 may execute crossover by a normal individual generation process instead of a reference individual generation process if the gene groups GG1 and GG2 to be crossed are a predetermined combination.

[0089] Fig. 19 is a flowchart of the use processing step of step S50 shown in Fig. 11. First, in step S500, the storage device 70 stores the node element group 80 received by the input unit 150. The node element group 80 stored in the use processing step may be only the node elements used in the specific data processing sequence DSq. Note that, when the use processing step and step S30 in Fig. 11 are executed by the same generating device 20, step S200 can be omitted, and the node element group 80 stored in the storage device 70 in step S100 can be used.

[0090] Next, in step S501, the storage device 70 stores the specific data processing sequence DSq identified in step S358 of Fig. 12. It should be noted that the order of steps S500 and S501 is not limited to that described above.

[0091] 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 acquired in step S503 is, for example, the same type of data as the learning data LM, and in this embodiment, is an image of an object. 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.

[0092] Next, in step S504, the data processing unit 40 executes data processing using the specific data processing sequence DSq on the data acquired in step S503. That is, data processing is executed on the image data in accordance with the order indicated by the specific data processing sequence DSq.

[0093] 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.

[0094] 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 processing step when the user inputs information indicating the end of data processing or when there is no unprocessed data to be processed remaining in the storage device 70.

[0095] According to the first embodiment, in the step of generating the data processing sequence Sq, the partial sequence structure St is determined using the structure reference table 83 and genes in step S317 in Fig. 13, and node elements are assigned to the nodes ND constituting the determined partial sequence structure St in step S322. That is, the genes constituting the individual IV represent the partial sequence structure St in addition to the node elements. As a result, in the step of generating the data processing sequence Sq, by maintaining the genes representing the partial sequence structure St and the genes representing the node elements in the partial sequence structure St for the individual IV of the next generation, a new individual IV can be generated while maintaining the partial sequence structure St, thereby reducing the possibility of a decrease in the efficiency of generating the data processing sequence Sq that satisfies the reference condition.

[0096] According to the first embodiment, the population generation unit 32 can execute a reference individual generation step of determining at least one of a crossover point and a gene to be mutated by referring to the translation type table, and performing crossover or mutation. For example, according to the first embodiment, as shown in Fig. 15 to Fig. 17, by performing crossover in the type reference crossover step with the partial sequence structure St as a unit, a new individual IV can be easily generated while maintaining the partial sequence structure St.

[0097] B. Second embodiment: In the first embodiment, the parameters set for the node elements such as the filter layer are constant, and the same type of node elements are treated as different node elements if their parameters are different, but this is not limited to the above. For example, the parameters of the node elements may also be represented by the genes of the individual IV. In other words, in the second embodiment, genes are used to represent the partial sequence structure St, the node elements, and the parameters set for the node elements.

[0098] A case where the parameters of the node elements are also represented by genes will be described below as the second embodiment. The parameters are values ​​set in the filter layer or input layer, and examples of such parameters include the kernel size and the threshold value of the binarization filter. The second embodiment differs from the first embodiment mainly in that the genes of the individual IV represent the parameters in addition to the node elements and the partial sequence structure St, and the basic configuration of the generating device 20 and the processing contents executed by the generating device 20 are the same as those in the first embodiment, so that the same configuration and processing contents will not be described as appropriate. The generating device 20a of the second embodiment differs from the generating device 20 of the first embodiment in that a node reference table 84A and a reference table 82a, which will be described later, newly include a parameter reference table 85.

[0099] FIG. 20 is a diagram showing a node reference table 84A possessed by the generating device 20a of the second embodiment. The node reference table 84A is a table that associates genes, types of node elements, and the number of parameters indicating the number of types of parameters for each type of node element. The number of parameters represents the number of parameters set in the node element. For example, if there are two types of parameters that can be set in the node element, namely, kernel size and coefficient, the number of parameters is "2". Note that even if there are two types of parameters that can be set in the node element, if one of the two types uses a predetermined fixed value, the number of parameters may be "1".

[0100] The node reference table 84A is determined for each input number, which is the number of nodes connected to the input side. The number of outputs of each node element is "1". In this embodiment, the input layer in, the input layer ConA, and the filter layers FtA to FtF are candidates for the node elements of the data processing sequence Sq. In the node reference table 84A, a table corresponding to a node element having an input number of "0" is also called a first node reference table 84Aa, a table corresponding to a node element having an input number of "1" is also called a second node reference table 84Ab, and a table corresponding to a node element having an input number of "2" is also called a third node reference table 84Ac. The filter layers FtA to FtD having an input number of "1" include an average filter, a maximum filter, a minimum filter, and an inversion filter. The filter layers FtE and FtF having an input number of "2" include, for example, a logical sum filter and a logical product filter. The number of outputs of each node element is "1".

[0101] FIG. 21 is a diagram showing a parameter reference table 85 included in the reference table 82a. The parameter reference table 85 shows the correspondence between the parameter, more specifically, the parameter value, and the numerical value VG indicated by the gene when the parameter is set in the filter layer. The parameter reference table 85 is provided for each node element for which a parameter can be set. For example, the first parameter reference table 85a for the filter layer FtA specifies the correspondence between the parameter values ​​TA1 and TA2 of one type of parameter FtA_P and the gene, since one type of parameter FtA_P can be set. Also, for example, two types of parameters FtB_P1 and FtB_P2 can be set in the filter layer FtB. Therefore, the second parameter reference table 85b for the filter layer FtB includes a parameter reference table 85b1 indicating the correspondence between the parameter FtB_P1 and the gene, and a parameter reference table 85b2 indicating the correspondence between the parameter FtB_P2 and the gene.

[0102] The generating device 20a in the second embodiment has a sequence generating function for generating a specific data processing sequence DSq for obtaining a desired target data TM after data processing, and a data processing function, similar to the generating device in the first embodiment. In the sequence generating function, the translation rule when the gene translation unit 34 translates an individual IV is a depth-first rule, similar to the first embodiment. On the other hand, in the second embodiment, the process of determining one partial sequence structure St, the process of assigning a node element to a node ND of the determined partial sequence structure St, and the process of setting the parameter to the node element if the assigned node element has a configurable parameter are repeatedly executed until the input layer in, ConA is assigned to the start node, which is the upstream end node. Also, similar to the first embodiment, in the translation rule of this embodiment, in a tree structure when the output layer out is on the upper side, the left connection destination is given priority over the right connection destination to set the partial sequence structure St.

[0103] Fig. 22 is a detailed flowchart of the process of translating an individual IV and generating a data processing sequence, which is executed in the second embodiment. The flowcharts of Figs. 11 and 12 of the first embodiment are also executed in the second embodiment, but are different in that step S308a is executed instead of step S308. In detail, step S308a differs from step S308 in the first embodiment in that steps S325, S361, S363, and S365 for parameters are added. The other steps are the same as those in the first embodiment, so they are denoted by the same reference numerals and their explanations are omitted as appropriate.

[0104] In step S361, which is executed following step S324, the gene translation unit 34 refers to the node reference table 84A shown in Fig. 20 to acquire the number of parameters of the node element assigned to the undetermined node ND in step S322. For example, when the node element assigned in step S322 is the filter layer FtF, the gene translation unit 34 acquires that the number of parameters is "1" by referring to the third node reference table 84Ac shown in Fig. 20. In step S361 shown in Fig. 22, when the number of parameters is acquired, a "reservation code" is recorded in the tabular data processing sequence TSq in association with the corresponding node element, for the number of parameters.

[0105] Next, the gene translation unit 34 judges whether or not there is an undetermined parameter in step S325. Specifically, the gene translation unit 34 judges that there is an undetermined parameter when a reservation code is recorded in a column corresponding to the parameter in the tabular data processing sequence TSq.

[0106] If it is determined that there is an undetermined parameter, the gene translation unit 34 translates the gene representing the parameter in step S363. Step S363 is a step of setting the parameter for the node element using the parameter reference table 85 and the gene if there is a parameter to be set in the node element assigned to the node ND after step S322, which is a step of assigning a node element to the node ND. The step of setting the parameter in step S363 constitutes a part of the step of generating the data processing sequence Sq.

[0107] In step S363, the gene translation unit 34 determines parameters by referring to the gene to be translated that has the smallest locus number among the genes of the individual IV and has not yet been used to generate the data processing sequence Sq, and the parameter reference table 85 according to the node element for which the parameters are to be determined. In the tabular data processing sequence TSq, the gene translation unit 34 records data representing the determined parameters in place of reservation codes for the determined parameters.

[0108] Next, in step S365, the type table generating unit 36 ​​associates the identifier identifying the parameter with the gene locus where the gene to be translated is located, and records the parameter identifier in the translation type table 92. That is, in this embodiment, the decode type includes a type for distinguishing the parameter in addition to distinguishing the partial sequence structure St and the node element.

[0109] As described above, steps S318, S324, and S365 are translation type table generation steps that generate a translation type table 92 for each gene constituting an individual IV from which the data processing sequence Sq is generated, in which the translation type table 92 is associated with the partial sequence structure St represented by the gene and a decoding type for distinguishing between node elements and parameters.

[0110] In addition, when there are undetermined nodes ND, undetermined parameters, and unconnected terminals Nt even if all genes are used for the individual IV, that is, when the generation process of the data processing sequence Sq is not completed, the gene translation unit 34 executes a termination process. In the termination process, when there is an unconnected terminal Nt, the gene translation unit 34 selects a predetermined partial sequence structure St in which only nodes with the number of inputs "0" are arranged on the input side, and connects it to the unconnected terminal Nt so that the generation process of the data processing sequence Sq is completed. In this embodiment, the predetermined partial sequence structure St is the first partial sequence structure StA shown in FIG. 6. In addition, in the termination process, when there is an undetermined node ND, the gene translation unit 34 selects a predetermined node element according to the number of inputs determined for the undetermined node ND and assigns it to the undetermined node ND. For example, in the termination process, the gene translation unit 34 assigns the input layer in to the node ND with the number of inputs "0", assigns the filter layer FtA to the node ND with the number of inputs "1", and assigns the filter layer FtE to the node ND with the number of inputs "2". In the termination process, if there are any undetermined parameters, the gene translation unit 34 sets a predetermined parameter value for each node element. The type table generation unit 36 ​​does not record the decode type in the translation type table 92 for the partial sequence structure St, node elements, or parameters set by the termination process.

[0111] Fig. 23 is a diagram showing an example of an individual IV15 from which the data processing sequence Sq is generated. Fig. 24 is a diagram showing a tree-structured data processing sequence Sq15 represented by the individual IV15. Fig. 25 is a diagram showing a tabular data processing sequence Sq15 represented by the individual IV15. Fig. 26 is a diagram showing a translation type table 92_IV15 corresponding to the individual IV15.

[0112] The sequence generation unit 30 executes step S308a shown in FIG. 22 for the individual IV15 to generate the data processing sequence Sq15 shown in FIG. 24 and the translation type table 92_IV15 shown in FIG. 26. The data processing sequence Sq15 shown in FIG. 24 is stored in the storage device 70 as, for example, a tabular data processing sequence TSq15 shown in FIG. 25. For ease of understanding, numbers are written in parentheses in the tabular data processing sequence TSq15 shown in FIG. 25. The numbers in parentheses represent the corresponding gene locus No. Also, for ease of understanding, [x, y] is written in the data processing sequence Sq15 shown in FIG. 24. The number x represents the node No. of the data processing sequence Sq15, and y represents the corresponding gene locus No.

[0113] The type table generating unit 36 ​​records the decode type, which is the type of the sequence element of the data processing sequence Sq15 represented by the gene to be translated, in the translation type table 92_IV15 in association with the gene locus number of the gene to be translated of the individual IV15.

[0114] Next, in the second embodiment, the next generation G n An individual reference generation step that may be executed when an individual group 81 of the above is generated will be described. The reference individual generation step of the second embodiment has a type reference crossover step that performs crossover using the partial sequence structure St as a unit, as in the first embodiment. Furthermore, the reference individual generation step of the second embodiment includes a type reference mutation step that performs mutation on a gene associated with the decode type "Param" in the translation type table 92, i.e., a gene that is the translation source of a parameter. In this way, in the type reference mutation step, mutation is performed on a specific gene associated with a parameter as a decode type among multiple genes possessed by an individual IV that is the target of mutation.

[0115] 27 is a diagram for explaining the type reference mutation process executed by the population generation unit 32. In this embodiment, the generation condition is that the population generation unit 32 generates a population of the parent generation G m Individual IV mThe other individuals with high similarity SD IV m From this, the next generation G n New individual IV n In this embodiment, the generation condition includes a condition that, when performing mutation, the individual IV that is the source of the top N data processing sequences Sq is generated. m For the individual IV, the type reference mutation process of the reference individual generation process is executed. m This includes the condition that the individual generation process is normally executed for each of the data processing sequences Sq with the top N similarities SD. As a result, it is possible to evaluate whether the standard conditions are met by changing only the parameters of the node elements, for example, the filter layer. Note that "N" is an integer equal to or greater than 1, and is set to "1" in this embodiment. That is, in this embodiment, m Individual IV m The best individual with the highest similarity SD among them is IV m 1, the species reference mutation process is performed. This results in the best individual IV m Regarding 1, it is possible to evaluate whether the reference conditions are met by changing only the parameter values. Note that the generation conditions are set by the user, for example.

[0116] In this embodiment, the parent generation G m When the type reference mutation step is executed for the individual IV15, the population generation unit 32 refers to the translation type table 92 corresponding to the individual IV15, and first identifies the gene associated with the identifier "Param" indicating a parameter as the decoding type as the target of mutation. In the example shown in FIG. 27, the population generation unit 32 identifies the gene at locus No. 3 as the target of mutation and executes the mutation. As a result, the population generation unit 32 generates the next-generation G from the individual IV15. n Generate individual IV23.

[0117] According to the second embodiment, the same effect as the first embodiment is obtained in that the second embodiment has the same configuration. For example, as in the first embodiment, in the step of generating the data processing sequence Sq, the partial sequence structure St is determined using the structure reference table 83 and genes in step S317 of FIG. 22, and node elements are assigned to the nodes ND constituting the determined partial sequence structure St in step S322. That is, the genes constituting the individual IV represent the partial sequence structure St in addition to the node elements. As a result, in the step of generating the data processing sequence Sq, the genes representing the partial sequence structure St and the genes representing the node elements in the partial sequence structure St are maintained for the next generation of individuals, so that a new individual IV can be generated while maintaining the partial sequence structure St.

[0118] According to the second embodiment, for example, as shown in Fig. 26, the genes constituting the individual IV represent parameters in addition to the partial sequence structure St and node elements, so that individuals can be generated focusing on the parameters in the process of generating the population 81. For example, genes can be used according to the number of parameters, which differ depending on the type of filter layer.

[0119] According to the second embodiment, as shown in Fig. 26, the translation type table 92 makes it easy to determine whether a gene is assigned to the partial sequence structure St, the node element, or the parameter. As a result, when the generating device 20a generates the next-generation population 81, it can easily generate a new individual IV by focusing on the partial sequence structure St and the parameter.

[0120] According to the second embodiment, as shown in Fig. 27, the population generation unit 32 generates individuals IV by mutating genes associated with parameters as decode types in the type reference mutation step, and can easily generate individuals IV in which only the parameters of the node elements are changed for the individuals IV to be mutated. This allows the generation device 20a to generate a data processing sequence Sq in which only the parameter values ​​are changed and evaluate whether the reference condition is satisfied. For example, the generation device 20a can efficiently generate a data processing sequence Sq that satisfies the reference condition by generating a next-generation individual IV in which only the parameter values ​​are changed for the individual IV with the highest evaluation among the parent generation individuals IV.

[0121] C. Third embodiment: In the first and second embodiments, as shown in the node reference table 84 in FIG. 7, the occurrence probability of each node element according to the number of inputs as a node element constituting the data processing sequence Sq is equal, but this is not limited to this. In the node reference table, the occurrence probability does not have to be equal, and an input side node element that is prohibited from being connected to an output side node element may be specified. The node reference table 840 of this embodiment specifies the occurrence probability based on the compatibility of a connection that has a correlation with the evaluation value EV. In this embodiment, the node reference table 840 is generated using a first connection condition table to be described later. This will be described in detail later. In addition, the first connection condition table of this embodiment specifies the compatibility of a connection that has a correlation with the evaluation value EV for each element set, and specifies a predetermined element set that is prohibited in advance from being generated as an element set constituting the data processing sequence Sq. An element set is a set of an input side node element and an output side node element that are connected to each other.

[0122] Fig. 28 is a diagram showing a generating device 20b of the third embodiment. Fig. 29 is a diagram showing a storage device 70b of the third embodiment. The main differences between the generating device 20b and the generating device 20 shown in Fig. 1 are that the processor 25 of the generating device 20b has a table generating unit 55, that the storage device 70b has a first connection condition table 88 and an output side type table 93, and the configuration of the partial sequence structure StX. In the generating device 20b, the same components as those in the first embodiment are denoted by the same reference numerals and will not be described as appropriate.

[0123] 29 is a table in which an output side type table 93 associates, with each gene, i.e., each node element, an output side identifier that identifies whether the output side of each node element in the data processing sequence Sq is the output layer out, the partial sequence structure St, or a node element in the same partial sequence structure St. The details will be described later.

[0124] The table generating unit 55 generates a first connection condition table 88 that specifies connection conditions indicating the probability of connection between an input node element in a data processing sequence Sq and an output node element connected to the input node element. The generating device 20b executes a table generating process for generating the first connection condition table 88 before the generating process for a specific data processing sequence DSq shown in Fig. 11 is executed. In the generating process for a specific data processing sequence DSq, the generating device 20b generates a data processing sequence Sq that is a candidate for the specific data processing sequence DSq by referring to a node reference table 840 generated using the first connection condition table 88.

[0125] 30 is a diagram showing a part of the partial sequence structure StX. In the third embodiment, the partial sequence structure StX has a downstream end partial sequence structure StV in addition to the first partial sequence structure StA to the tenth partial sequence structure StJ shown in FIG. 6. The downstream end partial sequence structure StV is a partial sequence having an output layer out, and has a structure in which three nodes ND1 to ND3, each having an input number of "1", are connected in series from the output layer out to the input side. Note that the downstream end partial sequence structure StV is not limited to the above as long as it has a structure including an output layer out and a node ND to which at least one filter layer is assigned.

[0126] 31 is a flowchart of a table generation process for generating the first connection condition table 88. First, in step S100, the storage device 70 stores a node element group 80 that is a candidate for a node element of the data processing sequence Sq. In this embodiment, the node element group 80 has an input layer ConA and a plurality of filter layers FtA, FtB, FtC, FtD, FtE, FtF, FtM, FtN, FtO, FtP, FtQ, FtR, FtS, and FtT.

[0127] The filter layers FtA, FtB, FtC, FtD, FtE, and FtF are used in a first processing step in which a first process is performed on data output from the node elements on the input side. The filter layers FtM, FtN, and FtO are used in a second processing step in which a second process is performed on data output from the node elements on the input side. The filter layers FtP and FtQ are used in a third processing step in which a third process is performed on data output from the node elements on the input side. The filter layers FtR, FtS, and FtT are used in a fourth processing step in which a fourth process is performed on data output from the node elements on the input side. The first to fourth processing steps have different processing purposes for processing data.

[0128] In this embodiment, the candidate node elements of the data processing sequence Sq include the above-mentioned input layer ConA, multiple filter layers FtA, FtB, FtC, FtD, FtE, FtF, FtM, FtN, FtO, FtP, FtQ, FtR, FtS, and FtT, as well as an input layer in and an output layer out. The number of inputs of the input layer in, ConA, which is the starting node, is "0". The number of inputs of the filter layers FtA, FtB, FtC, FtD, FtM, FtN, FtO, FtP, FtQ, FtR, FtS, and FtT is "1". The number of inputs of the filter layers FtE and FtF is "2".

[0129] Furthermore, in step S101, the storage device 70 stores a training data group 74 composed of a plurality of training sets SM. Step S101 is executed by inputting the training data group 74 to the generation device 20 by a user. In this embodiment, the training data group 74 is the same as the training data group 74 shown in Fig. 3 of the first embodiment. Note that the order of steps S100 and S101 is not limited to this.

[0130] In step S102, the table generating unit 55 initializes the first connection condition table 88. The initialization of the first connection condition table 88 will be described with reference to Figs. 32 to 34. Fig. 32 is a diagram showing a first connection condition table 88A for an input side node element having the number of inputs "0". Fig. 33 is a diagram showing a first connection condition table 88B for an input side node element having the number of inputs "1". Fig. 34 is a diagram showing a first connection condition table for an input side node element having the number of inputs "2".

[0131] The first connection condition table 88 specifies input side node element types indicating the types of input side node elements that are candidates to be placed on the input side, output side node element types indicating the types of output side node elements that are candidates to be connected to the input side nodes, and average values ​​ARV as connection reference values ​​RV. In Fig. 31 to Fig. 33, the identifiers of the input side node elements and the output side node elements are indicated by numbers in parentheses in the same box as the node elements. The identifiers of the input side node elements are set for each number of inputs.

[0132] The output side node element includes a plurality of filter layers FtA, FtB, FtC, FtD, FtE, FtF, FtM, FtN, FtO, FtP, FtQ, FtR, FtS, and FtT, an output layer out, and an output layer Stout, which is a partial sequence structure. The output layer Stout indicates that a partial sequence structure StX shown in FIG. 6 and FIG. 30 is set on the output side of the input side node ND. That is, when the output side node ND configures a partial sequence structure St different from the partial sequence structure St having the input side node ND as a component, the gene translation unit 34 determines the input side node element by using the output layer StOut as the output side node element. In detail, in the step of assigning either the input layer or the filter layer to the undetermined node ND on the input side, the gene translation unit 34 uses the output side type table 93 described later to specify the type of the output side of the node ND to which the node element is assigned, and assigns the node element to the node ND using the node reference table 840 according to the specified type of the output side and the gene. This allows a node element to be assigned to the node ND using the node reference table 840 according to the type of the output side of the node ND.

[0133] The node reference table 840 is generated using the first connection condition table 88. The input side node elements and output side node elements defined in the node reference table 840 correspond to the first connection condition table 88 shown in Figures 32 to 34. Therefore, in the node reference table 840 of this embodiment, the output side node elements include a node element and a partial sequence structure StOut.

[0134] The first connection condition table 88 specifies a pair of element sets of mutually connected input side node elements and output side node elements. The average value ARV as the connection reference value RV is a value specified for each element set, and indicates the compatibility of the connection for processing the input data ID and outputting the desired data targeted for the target data TM. The average value ARV is a value within a predetermined range, and in this embodiment, is a value between 0 and 1. The node reference table 840 is generated so that the larger the value of the connection reference value RV, the higher the probability of the element set appearing as a component of the data processing sequence Sq. As described above, the first connection condition table 88 is a table showing the connection probability between the input side node element and the output side node element for each element set, which is a pair of mutually connected input side node elements and output side node elements.

[0135] 31, the table generating unit 55 sets all the average values ​​ARV, which are the values ​​of each element set in the first connection condition table 88, to initial values. The initial value is within the range that the average value ARV can take, and can be set to any value greater than 0 and equal to or less than 1, and is set to "1" in this embodiment.

[0136] In step S102, the table generating unit 55 associates prohibition information with a predetermined element set that is prohibited in advance from being generated as an element set constituting the data processing sequence Sq. The prohibition information is information that prohibits generation as a component of the data processing sequence Sq, and in this embodiment, is information indicating "-1", which is a numerical value outside the numerical range that the average value ARV can take. The prohibition specific information for identifying the specific element set may be stored in advance in the storage device 70b by the user via the input unit 150. In this case, the table generating unit 55 associates the prohibition information with the predetermined element set in the connection condition table 88 by reading the prohibition specific information from the storage device 70b.

[0137] Furthermore, the connection condition table 88 may associate the prohibition information with a predetermined element set in the connection condition table 88 according to a predetermined prohibition information setting rule. The prohibition information setting rule is, for example, input by a user to the generating device 20 and stored in the storage device 70b. The prohibition information setting rule is, for example, a first rule that, when the second processing step is executed in the data processing sequence Sq, the data output from the second processing step is subjected to the third processing in the third processing step. The element set in which the prohibition information "-1" is set according to this first rule is, as shown in FIG. 33, an element set whose input side node element type is a node element other than the filter layers FtM, FtN, FtO that execute the second processing step, among the element sets whose output side node element types are the node elements FtP, FtQ that execute the third processing step.

[0138] In this embodiment, the table generating unit 55 sets the first connection condition table 88 in accordance with the prohibition information setting rule so that in the downstream end partial sequence structure StV shown in FIG. 30, any one of the filter layers FtP, FtQ that execute the third processing step is set as a node element in the second node ND2. That is, as shown in FIG. 33, in the first connection condition table 88, among element sets in which the output side node elements are the filter layers FtR, FtS, and FtT that execute the fourth processing step, the prohibition information "-1" is set in the element sets in which the input side node elements are the input side node elements other than the filter layers FtP and FtQ that execute the third processing step. In addition, in accordance with the above-mentioned first rule, the table generating unit 55 sets the first connection condition table 88 in accordance with the above-mentioned first rule so that in the downstream end partial sequence structure StV shown in FIG. 30, any one of the filter layers FtM, FtN, and FtO that execute the second processing step is set as a node element in the third node ND3.

[0139] The prohibition information setting rule is, for example, a second rule that in the data processing sequence Sq, only the filter layers FtR, FtS, and FrT that execute the fourth processing step are connected as input side node elements to the output layer out, which is the node element of the terminal node. The element set in which the prohibition information "-1" is set according to this second rule is an element set whose output side node element type is the output layer out, and whose input side element type is for nodes other than the filter layers FtR, FtS, and FrT that execute the fourth processing step, as shown in Figure 33.

[0140] In this way, the processing steps of the data heading to the output layer Out can be set in a desired order by the downstream end partial sequence structure StV and the first connection condition table 88. In this embodiment, data processing is executed in the order of the second step, the third step, and the fourth step, and the output layer Out outputs the output data PM, which is the processed data.

[0141] As shown in Fig. 31, following step S102, in step S103, the population generation unit 32 generates a population 81 consisting of a plurality of individuals IV for the current generation G. The population 81 in one generation G is composed of a plurality of individuals IV1 to IV5 as shown in Fig. 4. The generated population 81 is stored in the storage device 70.

[0142] Next, in step S104, the gene translation unit 34 selects one of the individuals IV1 to IV5, and translates the selected individual IV by referring to the reference reference table to generate a data processing sequence Sq. The reference reference table is stored in the storage device 70b. The reference reference table referred to in step S104 defines the appearance range so that the partial sequence structure St and the node element appear with equal probability, similar to step S308 shown in FIG. 13 of the first embodiment. That is, the reference reference table has the same structure reference table 83 as in FIG. 5 and a node reference table similar to the node reference table 84 shown in FIG. 7. In this embodiment, the structure reference table 83 defines the appearance range so that the first partial sequence structure St1 to the tenth partial sequence structure St10 appear with equal probability. In addition, the similar node reference table defines the appearance range so that the node element arranged on the input side used in the third embodiment appears with equal probability for each number of inputs. In addition, in step S104, steps similar to the steps shown in step S308b of FIG. 39 described later are executed. For example, in step S104, a process is executed to record the output side identifier in the output side type table, as in step S318b in FIG. 39, which will be described later.

[0143] As shown in Fig. 31, after step S104, the generating device 20b sequentially executes data processing in step S105 and evaluation of the processing result in step S109. The processing content of step S104 is the same as that of step S350 in Fig. 12. Moreover, the processing content of step S105 is the same as that of step S352.

[0144] Next, in step S110, the table generating unit 55 executes updating of the first connection condition table 88. For example, step S110 in a case where the data processing sequence Sq generated in step S104 is the data processing sequence Sq1 shown in FIG. 9 and the connection reference value RV calculated in step S109 is "0.800" will be described with reference to FIGS. 35 to 37. In this embodiment, the evaluation determining unit 46 uses the similarity SD as the connection reference value RV. That is, when the final evaluation value EV is the mean square error, the connection reference value RV is the reciprocal of the evaluation value EV. In addition, when the final evaluation value EV is PNSR, MSE, or SSIM, the value of the evaluation value EV is used as the connection reference value RV.

[0145] Fig. 35 is a first diagram for explaining step S110 in Fig. 31. Fig. 36 is a second diagram for explaining step S110 in Fig. 32. Fig. 37 is a third diagram for explaining step S110 in Fig. 31. Figs. 35 to 37 correspond to Figs. 32 to 34.

[0146] The table generation unit 55 extracts all element sets of a pair of input node elements and output node elements that make up the data processing sequence Sq1, and adds the connection reference value RV of "0.800" to the columns representing element sets other than the element sets to which the prohibited information "-1" is set among the extracted element sets.

[0147] Here, in the column representing one element set of the connection condition table 88, the average ARV is specified as the final connection reference value RV. n The average ARV of a set of elements calculated by adding n is calculated using the following formula (A):

[0148] ARV n ={RV n +ARV n-1 ×n} / (n+1)...Formula (A) Here, RV n is the connection reference value added at the nth time, and ARV n-1is the average value specified in the previous element set column.

[0149] When there are multiple identical element sets in the data processing sequence Sq1, the connection reference value RV may be added as many times as the number of identical element sets, or the connection reference value RV may be added only once. In this embodiment, even when there are multiple identical element sets in one data processing sequence Sq1, the connection reference value RV is added only once.

[0150] On the other hand, since the connection reference value RV is not added to the field corresponding to the element set for which prohibition information is set, the prohibition information is always maintained.

[0151] That is, in the first connection condition table 88 shown in Figures 35 to 37, "0.800" is added to the column of the element set that is single hatched in Figures 35 and 36, and by dividing by 2, the average value becomes "0.900". On the other hand, in the first connection condition table 88 shown in Figures 35 to 37, the column of the element set that is cross hatched in Figure 37 has "-1", which is prohibition information, set, so that "0.800", which is the connection reference value RV, is not added.

[0152] 31, in step S111, table generating unit 55 determines whether or not the processing of steps S104 to S110 has been performed on all individuals IV of one generation G. If the determination in step S111 is "No," processor 25 selects one of the individuals IV of one generation G for which steps S104 to S110 have not been performed, and performs the processing of steps S104 to S111 again.

[0153] On the other hand, if the determination in step S111 is "Yes," the table generating unit 55 determines in step S113 whether or not the termination condition is satisfied. The termination condition is that the processing routines of steps S103 to S111 have been executed a predetermined number of times in advance. The predetermined number of times in advance is set, for example, to a number such that the connection reference value RV is added at least once, and preferably twice or more, to all the element set columns in the first connection condition table 88. For example, the number of times in advance is set to a number such that the processing routines of steps S104 to S111 are executed for individuals IV that are twice or more the number of element sets defined in the first connection condition table 88.

[0154] As described above, the first connection condition table 88 is generated by using the similarity SD calculated using each of the multiple data processing sequences Sq generated by the process of step S104 as the connection reference value RV so that the node elements have a relationship in which they appear with random probability. In this way, by generating an individual IV using the first connection condition table 88, it is possible to increase the possibility that an element set with high connection compatibility will be included in the data processing sequence Sq.

[0155] If the termination condition is not satisfied, the population generation unit 32 executes step S103 again in the next processing routine. m Individual IV m 1~IM m Among the 5, the individual IV with the lowest similarity SD is the Jth. m New individual IV nwhere "J" is an integer equal to or greater than 1. In other words, the population generation unit 32 duplicates the individuals IV whose similarity SD does not fall within the lowest J-th order, and generates new individuals IV by performing at least one of crossover and mutation on the individuals IV whose similarity SD does not fall within the lowest J-th order. This makes it easy to generate a new data processing sequence Sq whose combination of sequence elements is different from that of the data processing sequence Sq generated previously. The individuals IV generated by the re-execution of step S103 n Then, the process from step S104 onward is executed again on the target.

[0156] On the other hand, if the termination condition is satisfied, the table generating section 55 executes the process of generating the node reference table 840 in step S115, using the first connection condition table 88 at the time when the termination condition is satisfied.

[0157] Fig. 38 is a diagram for explaining the generation process of the node reference table 840. In Fig. 38, only the columns in the first connection condition table 88 in which the output side node element is the filter layer FtQ are extracted and illustrated.

[0158] The table generation unit 55 generates the node reference table 840 using the following generation algorithm. <Generation algorithm> ·Gene value··VG (VG is a number between 0 and 1 up to three decimal places) Identifier of output node element j Here, j is represented by an integer equal to or greater than 0, and a different value is assigned to each output side node element. In this embodiment, the identifier j is assigned a value from 0 to 15. Identifier of the connected input node element i Here, i is an integer equal to or greater than 0, and ranges from 0 to N f Represented by an identifier up to -1. f is the number of candidates for the input side node element for each number of inputs. In this embodiment, for example, when the number of inputs is "0" for an input side node element, the number of node elements Nf is 2. Therefore, identifier i is assigned a value from 0 to 1. ·Value of element set of connection condition table 88···t ij t ij is the average value ARV, and the subscript “ij” is an identifier for identifying an element set, and corresponds to the identifier of the input node element and the output node element. For example, in FIG. 48 indicates the average ARV of the element set whose input node element is the filter layer FtM and whose output node element is the filter layer FtQ, which is "0.200". ij If t is "-1", which is prohibited information, ij The value is considered to be "0".

[0159] In the generation algorithm, the probability that input node element i is connected to the input side of output node element j is P ij is calculated by the following formula (1).

number

[0160] From the above formula (1), t ij is prohibited information "-1", and t ij If the value of is considered to be "0", the probability of connection P ij is set to "0." In other words, the element set associated with the forbidden information does not appear as a component of the data processing sequence Sq.

[0161] In the generation algorithm, the upper threshold T ij is calculated using the following formula (2). The lower threshold is set to the upper threshold of the input side node element corresponding to the previous identifier. If there is no previous identifier, the lower threshold is set to "0". An element set for which prohibition information is set has a probability of being connected P ij Since the upper limit threshold is “0”, no upper limit threshold is set in the node reference table 840.

number

[0162] The table generating unit 55 calculates the upper limit threshold T ij are recorded in association with the corresponding input side node element and output side node element to generate a node reference table 840. The generated node reference table 840 is stored in the storage device 70b.

[0163] Regarding the inequality sign of the numerical range, the presence or absence of the equality sign may be changed as long as the gene value VG is included in one of the occurrence ranges. In the node reference table 840 shown in FIG. 38, the occurrence ranges are as follows. 0≦VG<0.200(T 48 ), select the filter layer FtM, which is input node element No. 4. 0.200(T 48 )≦VG≦0.500(T 58 ), select the filter layer FtN, which is input node element No. 5. 0.500(T 58 ) <VG≦1.000(T 68 ), select the filter layer FtO, which is input node element No. 6.

[0164] By using the above generation algorithm to determine a numerical range indicating the appearance range of the gene, a data processing sequence Sq is generated so that the ratio of the average values ​​ARV, which are the connection reference values ​​of the input side node elements that are connection candidates for the same output side node element, becomes the ratio of the connection probability of connecting to the output side node element. The node reference table 840 is generated before step S30 in Fig. 11, but may be generated in step S30. Furthermore, when step S30 is being executed, the table generating unit 55 may identify a part necessary for translating the gene, i.e., the output side node element, and generate the node reference table 840 of only the part corresponding to the identified output side node element using the first connection condition table 88.

[0165] In the above-mentioned node reference table 840, an upper limit threshold is actually set for each element set of an input node element and an output node element defined in the first connection condition table 88, or an upper limit threshold is not set depending on prohibition information. In other words, the node reference table 840 is a table that associates, for each type of output node element, the type of input node element to be connected with genes, more specifically, the upper limit threshold for the numerical value of the genes.

[0166] The generating device 20b of the third embodiment executes the generating process of the specific data processing sequence DSq in step S30 shown in Fig. 11 and the utilization process using the specific data processing sequence in step S50, as in the first embodiment. The processing content of step S50 is the same in the first embodiment and the third embodiment, so the description will be omitted. Regarding the processing content of step S30, the processing content of step S308 shown in Fig. 12 is different between the first embodiment and the third embodiment. Therefore, in the third embodiment, the process corresponding to step S308 in the first embodiment is set to step S308b.

[0167] Fig. 39 is a flowchart of step S308b. The same steps as step S308 in Fig. 13 of the first embodiment are denoted by the same reference numerals and the description thereof will be omitted as appropriate. The following mainly describes steps S313b, S318b, and S322b, which are different from the first embodiment.

[0168] In step S313b, the gene translation unit 34 initializes the data processing sequence Sq, the translation type table 92, and the output side type table 93. In the initialization of the data processing sequence Sq, the gene translation unit 34 places either the output layer out or the downstream end partial sequence structure StV at the downstream end. When the various condition tables 90 store an initial placement condition that the downstream end partial sequence structure StV is placed when initialization is performed, the gene translation unit 34 places the downstream end partial sequence structure StV at the downstream end without using the structure reference table 83 and the gene. The downstream end partial sequence structure StV is used as the partial sequence structure StX of the data processing sequence Sq. On the other hand, when the various condition tables 90 do not store an initial placement condition, the gene translation unit 34 places the output layer out at the downstream end. In this embodiment, the gene translation unit 34 places the downstream end partial sequence structure StV at the downstream end according to the initial placement condition.

[0169] Moreover, the type table generating unit 36 ​​records in the output side type table 93 every time the partial sequence structure StX in the data processing sequence Sq is set. FIG. 40 is a diagram showing the output side type table 93. When the downstream end partial sequence structure StV is set as a component of the data processing sequence Sq by the initialization in step S313b, as shown in FIG. 30, the node element on the output side connected to the node ND1 of the node No. 1 is the output layer out. Therefore, as shown in FIG. 40, the type table generating unit 36 ​​records the identifier "out" indicating the output layer out in association with the node No. 1. Also, as shown in FIG. 30, the node element on the output side connected to the node ND2 of the node No. 2 is the filter layer arranged in the node ND1. Therefore, as shown in FIG. 40, the type table generating unit 36 ​​records the identifier "Ft" indicating the filter layer in association with the node No. 2. Also, as shown in FIG. 30, the node element on the output side connected to the node ND3 of the node No. 3 is the filter layer arranged in the node ND2. Therefore, as shown in FIG. 40, the type table generating unit 36 ​​records the identifier "Ft" indicating the filter layer in association with node No. 3.

[0170] Moreover, the decode types in the translation type table 92 are in an unrecorded state due to the initialization in step S313b shown in FIG.

[0171] In step S318b, similarly to step S318 in the first embodiment, the type table generating unit 36 ​​records the identifier of the partial sequence structure StX in the translation type table 92 by associating the identifier identifying the partial sequence structure St with the gene locus where the gene to be translated is located. Also, in step S318b, the type table generating unit 36 ​​records the output side identifier indicating the component on the output side of the translated node element in the output side type table 93. For example, when the second partial sequence structure StB shown in FIG. 6 is connected to the input side of the downstream end partial sequence structure StV, the output side of the node ND of the second partial sequence structure StB is the downstream end partial sequence structure StV different from the second partial sequence structure StB. Therefore, as shown in FIG. 40, the type table generating unit 36 ​​records "StOut", which is an identifier identifying the partial sequence structure StX in association with the node No. 4, in the output side type table 93.

[0172] In step S322b, the gene translation unit 34 translates the gene corresponding to the undetermined node ND selected in step S320. In this embodiment, the gene translation unit 34 refers to the gene to be translated, the output side type table 93, and the node reference table 840 generated using the first connection condition table 88, to determine the node element to be assigned to the undetermined node ND. For example, when "StOut" is associated with the node No. of the undetermined node ND in the output side type table 93, the gene translation unit 34 refers to the part of the node reference table 840 where "StOut" is set as the output side node element and the gene value VG to determine the node element to be assigned to the undetermined node ND.

[0173] FIG. 41 is a diagram showing an individual IV30 to be translated in step S308b of the third embodiment. FIG. 42 is a diagram showing a data processing sequence Sq30 generated by translating the individual IV30. FIG. 43 is a diagram showing translation information 900 generated when generating the data processing sequence Sq30. FIG. 44 is a diagram showing a data processing sequence TSq30 in a tabular format for the individual IV30. In the data processing sequence Sq30 shown in FIG. 42, [x, y] is written for ease of understanding. The number x represents the node No. of the data processing sequence Sq30, and y represents the corresponding locus No. The translation information 900 in FIG. 43 has a translation type table 92_IV30 and an output side type table 93_IV30.

[0174] According to the third embodiment, the same effect as the first or second embodiment is achieved in that the third embodiment has the same configuration as the first or second embodiment. For example, as in the first embodiment, the process of generating a data processing sequence Sq includes steps S317 and S322 in Fig. 13, so that the genes constituting an individual IV represent the partial sequence structure St in addition to the node elements. As a result, in the process of generating a data processing sequence Sq, the generation device 20b can generate a new individual IV while maintaining the partial sequence structure St by maintaining the genes representing the partial sequence structure St and the genes representing the node elements in the partial sequence structure St for the next generation individual.

[0175] According to the third embodiment, the arrangement of nodes arranged from the output layer toward the upstream end can be preset by using a downstream end partial sequence structure StV including an output layer out and a filter layer as a partial sequence structure of a data processing sequence, as shown in Fig. 30. In this embodiment, the downstream end partial sequence structure StV has an arrangement in which three nodes ND1 to ND3 are arranged in series from the output layer out.

[0176] D. Other embodiments: D-1. Other embodiment 1: In the third embodiment, in the initialization of step S313b in Fig. 39, the downstream end partial sequence structure StV is arranged in the data processing sequence Sq, and thus, as shown in Fig. 30, the node ND1 connected to the output layer out, the node ND2 connected to the node ND1, and the node ND3 connected to the node ND2 are set in advance, but this is not limited to this. That is, for example, for each structure set that is a pair of partial sequence structures St connected to each other on the input side and the output side, the second connection condition table 892 representing the connection probability of the pair of partial sequence structures St may be used to generate the structure reference table 83D, thereby restricting the node elements connected in order from the output layer out. A specific example will be described below.

[0177] Fig. 45 is a diagram showing a second connection condition table 892. The second connection condition table 892 is a table in which the target of the first connection condition table 88 for the node elements in Figs. 32 to 34 is changed to a partial sequence structure. That is, in the second connection condition table 892, the output side partial sequence structure includes the output layer out in addition to the partial sequence structures StM to StR. The input side partial sequence structure is the partial sequence structures StM to StR.

[0178] Similar to the partial sequence structure St shown in FIG. 6, the partial sequence structures StM to StR include a node ND that is connected to an unconnected terminal Nt on the input side of the node ND and to which a node element of at least one of the input layer and the filter layer is assigned.

[0179] In the second connection condition table 892, a numerical value in the range of 0 to 1 is associated with a non-prohibited structure set that is not prohibited from being generated as a component of the data processing sequence Sq. The probability of occurrence increases in proportion to the magnitude of the numerical value. On the other hand, in the second connection condition table 892, a predetermined structure set that is prohibited in advance from being generated as a component of the data processing sequence Sq is associated with prohibition information indicating that it is prohibited from being generated as the data processing sequence Sq. The prohibition information is set to a numerical value outside the numerical range that the non-prohibited structure set can take, and is set to "-1" in this embodiment. In the example shown in FIG. 45, the partial sequence structure connected to the output layer Out is limited to any one of the partial sequence structures StP, StQ, and StR.

[0180] The step of generating the second connection condition table 892 by associating the numerical values ​​with the structure sets is executed by the table generating unit 55 shown in Fig. 28 based on the generation conditions input by the user and stored in the storage device 70b. Also, the step of generating the second connection condition table 892 is executed before step S30 shown in Fig. 11.

[0181] In the second connection condition table 892, an identifier i for identifying each sequence structure on the input side is and an identifier j for identifying each sequence structure on the output side is written in parentheses as a number. The values ​​associated with each structure set in the second connection condition table 892 may be the initial values ​​shown in Fig. 45 as the final values, or may be updated in the same manner as the first connection condition table 88 by the table generation process shown in Fig. 31.

[0182] FIG. 46 is a diagram showing the structure reference table 83D generated from the second connection condition table 892. As shown in FIG.

[0183] The table generating unit 55 generates the structure reference table 83D from the second connection condition table 892 using a generation algorithm similar to the generation process for generating the node reference table 840 from the first connection condition table 88. That is, the table generating unit 55 generates the upper limit threshold T ij A structure reference table 83D is generated by recording the above.

[0184] The population generation unit 32 refers to the structure reference table 83D instead of the structure reference table 83 that specifies that the structures appear in the data processing sequence Sq with equal probability as shown in Fig. 5, to determine the input side partial sequence structure to be connected to the output side partial sequence structure. This associates the prohibition information with the predetermined structure set, so that it is possible to set in advance a structure set that is not to be generated as a component of the data processing sequence Sq. This makes it possible to efficiently identify a data processing sequence that satisfies the reference condition by associating the prohibition information with a structure set that is not desirable as a combination of data processing for a desired purpose.

[0185] The second connection condition table 892 may be set to have multiple stages. For example, when a partial sequence structure is set to have a plurality of partial sequence structures, i.e., small partial sequence structures, the second connection condition table 892 may be set for each of the partial sequence structures and the small partial sequence structures.

[0186] D-2. Other embodiment 2: In each of the above embodiments, in the next generation generation process executed in step S306 in the second or subsequent routines shown in FIG. 12, the next generation individual IV n and parent generation individual IV m In the case of duplicate states where the same data processing sequence Sq is obtained in and , the next generation individual IV n Discard and re-create the next generation individual IV nThe population generation unit 32 may execute a process of generating an individual IV of the parent generation from which the population is generated to determine whether the population is in an overlapping state. m The translation type table 92 corresponding to n Specifically, the population generation unit 32 determines whether the individual IV m In the translation type table 92 corresponding to the decode type, only the genes with the identifier "Empty" set as the decode type are changed by crossover or mutation to the next generation individual IV n If a duplicate state has been generated, it is determined that the duplicate state exists.

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

[0188] (1) According to a first aspect of the present disclosure, there is provided a method for generating a data processing sequence, comprising the steps of: (a) generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node, thereby generating a population of one generation; and (b) generating the data processing sequence corresponding to each of the plurality of individuals, comprising the steps of: (b1) determining, using a structure reference table in which the genes are associated with types of the partial sequence structures, and the genes, a partial sequence structure that constitutes a part of the data processing sequence, the partial sequence structure being connected to an unconnected terminal of a node to which the node element is assigned, and including the node to which at least one of the node elements of the input layer and the filter layer is assigned; (b2) A step of generating the data processing sequence, which includes a step of assigning the node elements of either the input layer or the filter layer to the nodes constituting the partial sequence structure using a node reference table that associates the genes with the types of the node elements and the genes; (c) A step of processing target data for each of the plurality of data processing sequences represented by the population, comparing output data output for each of the data processing sequences with target data associated with the target data to calculate an evaluation value indicating a similarity between the output data and the target data; and (d) A step of identifying the data processing sequence that satisfies a predetermined reference condition using the plurality of evaluation values ​​corresponding to each of the plurality of data processing sequences. According to this embodiment, the step of generating the data processing sequence determines a partial sequence structure using a structure reference table and genes, and assigns node elements to the nodes constituting the determined partial sequence structure. That is, the genes constituting the individual represent the partial sequence structure in addition to the node elements. This makes it possible to generate new individuals in the step (a) while maintaining the partial sequence structure, thereby reducing the possibility of a decrease in the efficiency of generating data processing sequences that satisfy the criterion conditions.

[0189] (2) In the above embodiment, the predetermined criterion condition in the step (d) is a condition that the highest similarity among the multiple similarities indicated by the multiple evaluation values ​​is equal to or higher than a predetermined termination threshold, and the step (a) may include a next-generation generation step of, when the predetermined criterion condition is not satisfied in the step (d), replacing the individuals that are the source of generation of one or more of the data processing sequences having low similarity among the multiple individuals generated by the previous routine with new individuals by performing at least one of crossover and mutation on the individuals having high similarity, and duplicating the individuals having high similarity to generate the next-generation population to be used in the current routine. According to this embodiment, by replacing one or more individuals having low similarity with new individuals based on the individuals having high similarity, data processing sequences having low similarity can be excluded from processing targets. This makes it possible to identify data processing sequences that satisfy the criterion condition more efficiently.

[0190] (3) In the above embodiment, the step (b) may include a translation type table generating step of generating a translation type table in which a decode type for distinguishing the partial sequence structure and the node element assigned to each gene constituting the individual from which the data processing sequence is generated is associated with each gene. According to this embodiment, at least one of the crossover point and the gene to be mutated can be determined by referring to the translation type table, and crossover or mutation can be performed.

[0191] (4) In the above-described embodiment, the next generation generation step may include a reference individual generation step of determining at least one of a crossover point and the gene to be mutated by referring to the translation type table, and performing the crossover or the mutation. According to this embodiment, the crossover or the mutation can be performed by determining at least one of a crossover point and the gene to be mutated by referring to the translation type table.

[0192] (5) In the above embodiment, in the case where the reference individual generating step generates the individual by the crossover, the crossover may be performed with the partial sequence structure as a unit. According to this embodiment, by performing the crossover with the partial sequence structure as a unit, a new individual can be easily generated while maintaining the partial sequence structure.

[0193] (6) In the above embodiment, the decode type includes a type for distinguishing the unused genes that were not used in generating the data processing sequence, in addition to distinguishing between the partial sequence structure and the node element, and the reference individual generating step may adjust the number of genes that the individual has before and after the crossover by using the genes associated with the unused type, when generating the individual by the crossover. According to this embodiment, the gene length, which is the number of genes, can be maintained at a constant value using unused genes that do not affect the data processing sequence. This makes it possible to suppress an increase in gene length and thus an increase in processing time.

[0194] (7) In the above embodiment, the genes are used to represent the partial sequence structure, the node elements, and parameters set for the node elements, and the step (b) may further include (b3) a step of setting the parameters for the node elements assigned to the node after the step (b2) using the genes and a parameter reference table in which the genes and the parameters are associated with each other. According to this embodiment, the genes constituting the individuals also represent the parameters, so that in the step (a), it is possible to generate individuals focusing on the parameters. For example, it is possible to use genes according to the number of parameters, which differ depending on the type of filter layer.

[0195] (8) In the above embodiment, the decoding type may include a type for distinguishing the parameters in addition to distinguishing between the partial sequence structure and the node element, and the translation type table generating step may generate a translation type table in which the decoding type is associated with each of the genes constituting the individual from which the data processing sequence is generated. According to this embodiment, the translation type table makes it easy to determine whether a gene is assigned to a partial sequence structure, a node element, or a parameter. This makes it easy to generate new individuals by focusing on the partial sequence structure and parameters when generating the next generation of individuals.

[0196] (9) In the above embodiment, when generating the individual by the mutation, the reference individual generating step may include a type reference mutation step of performing the mutation on the gene associated with the parameter as the decode type among the multiple genes possessed by the individual to be mutated. According to this embodiment, since an individual is generated by performing a mutation on the gene associated with the parameter as the decode type, an individual can be easily generated in which only the parameters of the node elements are changed from the individual to be mutated. This makes it possible to generate a data processing sequence in which only the parameter values ​​are changed and evaluate whether the reference condition is satisfied.

[0197] (10) In the above embodiment, the method further includes a step of generating the node reference table using a first connection condition table that specifies connection conditions between an input node element in the data processing sequence and an output node element connected to the input node element, the first connection condition table being a table that indicates a connection probability between the input node element and the output node element for each element set that is a pair of the input node element and the output node element that are connected to each other, and the first connection condition table may associate prohibition information indicating that a predetermined element set that is prohibited in advance from being generated as the element set that constitutes the data processing sequence is prohibited from being generated as a component of the data processing sequence. According to this embodiment, by associating the prohibition information with the predetermined element set, it is possible to set in advance an element set that is not to be generated as a component of the data processing sequence. As a result, by associating the prohibition information with an element set that is undesirable as a combination of data processing for a desired purpose, it is possible to efficiently identify a data processing sequence that satisfies a reference condition.

[0198] (11) In the above embodiment, the step (b1) may include a step of using a downstream end partial sequence structure, which is a predetermined downstream end partial sequence structure including the output layer and at least one of the nodes to which the filter layer is assigned, as the partial sequence structure of the data processing sequence without using the structure reference table and the gene. According to this embodiment, by using a downstream end partial sequence structure including the output layer and the node to which the filter layer is assigned as the partial sequence structure of the data processing sequence, it is possible to set in advance the arrangement configuration of the nodes to be arranged from the output layer toward the upstream end side.

[0199] (12) In the above-mentioned embodiment, the step (b) may include a step of generating the data processing sequence by assigning either the partial sequence structure or the node element in order from the output side to the input side of the data processing sequence in the arrangement order of the genes of the individual, the node reference table associating the type of the input side node element connected to each type of the output side node element with the gene, the output side node element of the node reference table including the node element and the partial sequence structure, and the step (b2) may include a step of specifying the type of the output side of the node to which the node element is to be assigned using an output side type table that specifies the type of the output side of each node of the data processing sequence, and assigning the node element to the node using the node reference table corresponding to the specified type of the output side and the gene. According to this embodiment, the node element can be assigned to the node using the node reference table corresponding to the type of the output side of the node.

[0200] (13) In the above embodiment, the method further includes a step of generating the structure reference table for each structure set, which is a pair of partial sequence structures connected on the input side and the output side, using a second connection condition table that indicates a connection probability of the pair of partial sequence structures, and the prohibition information may be associated in the second connection condition table with a predetermined structure set that is prohibited in advance from being generated as a structure set constituting the data processing sequence. According to this embodiment, by associating the prohibition information with the predetermined structure set, it is possible to set in advance a structure set that is not to be generated as a component of a data processing sequence. As a result, by associating the prohibition information with a structure set that is not desirable as a combination of data processing for a desired purpose, it is possible to efficiently identify a data processing sequence that satisfies a reference condition.

[0201] (14) According to a second aspect of the present disclosure, there is provided a data processing sequence generation device, comprising: a population generation unit for generating a population of one generation by generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node; and a sequence generation unit for generating the data processing sequence corresponding to each of the plurality of individuals, wherein (i) a structure reference table associating the genes with types of the partial sequence structures constituting a part of the data processing sequence, the partial sequence structures including the nodes to which the node elements of at least one of the input layer and the filter layer are assigned, and a partial sequence structure connected to an unconnected terminal of the node to which the node elements are assigned, and the genes, and (ii) a node reference table in which the genes correspond to the types of the node elements and the genes are used to assign the node elements of either the input layer or the filter layer to the nodes constituting the partial sequence structure, a calculation unit that performs data processing on target data for each of the plurality of data processing sequences represented by the population, compares output data output for each of the data processing sequences with target data associated with the target data, and calculates an evaluation value indicating a similarity between the output data and the target data, and an identification unit that identifies the data processing sequence that satisfies a predetermined reference condition using the plurality of evaluation values ​​corresponding to each of the plurality of data processing sequences. According to this embodiment, the sequence generation unit determines the partial sequence structure using the structure reference table and the genes, and assigns node elements to the nodes constituting the determined partial sequence structure. That is, the genes constituting the individuals represent the partial sequence structure in addition to the node elements. This allows the population generation unit to generate new individuals while maintaining the partial sequence structure, thereby reducing the possibility of a decrease in the efficiency of generating data processing sequences that satisfy the reference condition.

[0202] (15) 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. This computer program includes: (a) a function for generating a population of one generation by generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node; and (b) a function for generating the data processing sequence corresponding to each of the plurality of individuals, in which (b1) a partial sequence structure constituting a part of the data processing sequence, the partial sequence structure including the node to which the node element of at least one of the input layer and the filter layer is assigned, is generated using a structure reference table that associates the genes with types of the partial sequence structure and the genes. (b2) a function of assigning the node elements of either the input layer or the filter layer to the nodes constituting the partial sequence structure using a node reference table that associates the genes with the types of the node elements and the genes; (c) a function of processing target data for each of the plurality of data processing sequences represented by the population, comparing output data output for each data processing sequence with target data associated with the target data to calculate an evaluation value indicating a similarity between the output data and the target data; and (d) a function of specifying the data processing sequence that satisfies a predetermined reference condition using the plurality of evaluation values ​​corresponding to each of the plurality of data processing sequences. According to this embodiment, the function of generating the data processing sequence determines the partial sequence structure using a structure reference table and genes, and assigns node elements to the nodes constituting the determined partial sequence structure. That is, the genes constituting the individual represent the partial sequence structure in addition to the node elements.This allows the function of generating a population of individuals to generate new individuals while maintaining the partial sequence structure, thereby reducing the possibility of a decrease in the efficiency of generating data processing sequences that satisfy the standard conditions.

[0203] 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]

[0204] DA...defective part, DSq...specific data processing sequence, EV...evaluation value, FtA...filter layer, FtE...filter layer, FtF...filter layer, ND...node, Nt...unconnected terminal, SM...learning set, Sq...data processing sequence, St,StX...partial sequence structure, 10...generation system, 20,20a,20b...generation device, 25...processor, 30...sequence generation unit, 32...population generation unit, 34...genetic translation unit, 36...type table generation unit, 40...data processing unit, 46...evaluation judgment unit, 47...calculation unit, 49...identification unit, 55...table generation unit, 60...display control unit, 70,70b...storage device, 74...learning data group, 80...node element group, 81...population, 82,82a...reference table, 83,83D...structure reference table, 84...node reference table bull, 84A...node reference table, 84Aa...first node reference table, 84Ab...second node reference table, 84Ac...third node reference table, 84a...first node reference table, 84b...second node reference table, 84c...third node reference table, 85, 85b1, 85b2...parameter reference table, 85a...first parameter reference table, 85b...second parameter reference table, 88, 88A, 88B...first connection condition table, 90...various condition tables, 92, 92a, 92b...translation type table, 94...various programs, 150...input section, 160...display section, 200...sensor device, 840...node reference table, 892...second connection condition table, 900...translation information, RV...connection reference value, StOut...partial sequence structure

Claims

1. 1. A method for generating a data processing sequence, comprising the steps of: (a) generating a population of one generation by generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node; (b) generating the data processing sequence corresponding to each of the plurality of individuals, (b1) determining a partial sequence structure constituting a part of the data processing sequence, the partial sequence structure including the node to which the node element of at least one of the input layer and the filter layer is assigned, the partial sequence structure being connected to an unconnected terminal of the node to which the node element is assigned, by using a structure reference table in which the genes are associated with types of the partial sequence structure and the genes; (b2) a step of assigning the node elements of either the input layer or the filter layer to the nodes constituting the partial sequence structure by using a node reference table that associates the genes with the types of the node elements and the genes; (c) processing target data for each of the plurality of data processing sequences represented by the population, and comparing output data output for each of the data processing sequences with target data associated with the target data to calculate an evaluation value indicating a similarity between the output data and the target data; (d) identifying the data processing sequence that satisfies a predetermined reference condition using a plurality of the evaluation values ​​corresponding to each of the plurality of data processing sequences.

2. The method of claim 1 , further comprising: the predetermined reference condition in the step (d) is a condition that the highest similarity among the plurality of similarities indicated by the plurality of evaluation values ​​is equal to or greater than a predetermined termination threshold; The generation method includes a next-generation generation step of, if the predetermined standard condition is not satisfied in the step (d), replacing the individuals that are the source of one or more of the data processing sequences having a low similarity among the plurality of individuals generated by a previous routine with new individuals by performing at least one of crossover and mutation on the individuals having a high similarity, and duplicating the individuals having a high similarity, thereby generating a next-generation population of individuals to be used in the current routine.

3. The method of claim 2, further comprising the steps of: The step (b) includes a translation type table generation step of generating a translation type table for each gene constituting the individual from which the data processing sequence is generated, the translation type table associating a decoding type for distinguishing between the partial sequence structure assigned to the gene and the node element.

4. 4. The method of claim 3, further comprising: The generation method includes a reference individual generating step of determining at least one of a crossover point and the gene for performing the mutation by referring to the translation type table, and generating a reference individual for performing the crossover or the mutation.

5. 5. The method of claim 4, further comprising the steps of: A generation method, wherein, in the reference individual generating step, when the individual is generated by the crossover, the crossover is performed with the partial sequence structure as a unit.

6. The method of claim 5, further comprising the steps of: the decode type includes a type for distinguishing the unused genes that were not used in generating the data processing sequence in addition to distinguishing between the partial sequence structure and the node element, The reference individual generation step is a generation method in which, when generating the individual by crossover, the unused type is adjusted using the genes associated with the unused type so that the number of genes possessed by the individual is the same before and after crossover.

7. 5. The method of claim 4, further comprising the steps of: the genes are used to represent the partial sequence structure, the node elements, and parameters set for the node elements; The step (b) further comprises: (b3) after the step (b2), setting the parameters for the node elements assigned to the node by using a parameter reference table in which the genes and the parameters correspond to each other, and the genes; Generation method.

8. The method of claim 7, further comprising the steps of: the decode type includes a type for distinguishing the parameters in addition to distinguishing between the partial sequence structure and the node element, The translation type table generating step generates a translation type table in which the decoding type is associated with each of the genes constituting the individual from which the data processing sequence is generated.

9. 9. The method of claim 8, further comprising the steps of: The reference individual generation process, when generating the individual by mutation, includes a type reference mutation process for performing the mutation on a gene, among the multiple genes possessed by the individual to be mutated, with which the parameter is associated as the decoding type.

10. The method of any one of claims 1 to 9, further comprising: generating the node reference table using a first connection condition table that specifies connection conditions between an input node element in the data processing sequence and an output node element that is connected to the input node element; the first connection condition table is a table that represents, for each element set that is a pair of the input side node element and the output side node element that are connected to each other, a connection probability between the input side node element and the output side node element; A generation method in which, in the first connection condition table, prohibition information indicating that a specific element set that is in advance prohibited from being generated as an element set that constitutes the data processing sequence is associated with prohibition information indicating that the element set is prohibited from being generated as a component of the data processing sequence.

11. The method of claim 10, further comprising the steps of: The generation method includes a step of using a predetermined downstream end partial sequence structure, without using the structural reference table and the genes, as the partial sequence structure of the data processing sequence, the downstream end partial sequence structure including the output layer and the node to which at least one of the filter layers is assigned.

12. The method of claim 10, further comprising the steps of: the step (b) generates the data processing sequence by allocating either the partial sequence structure or the node element in order from the output side to the input side of the data processing sequence in the sequence order of the genes of the individual; the node reference table associates, for each type of the output node element, the type of the input node element connected thereto with the gene; the output side node element of the node reference table includes the node element and the partial sequence structure, The step (b2) using an output side type table that specifies the type of output side for each node in the data processing sequence, to identify the type of the output side of the node to which the node element is to be assigned, and assigning the node element to the node using the node reference table corresponding to the identified type of output side and the gene.

13. The method of any one of claims 1 to 9, further comprising: generating the structure reference table for each structure set, which is a pair of the partial sequence structures connected to the input side and the output side, by using a second connection condition table that indicates a connection probability of the pair of partial sequence structures; A generation method in which, in the second connection condition table, prohibition information indicating that a specific structure set that is in advance prohibited from being generated as a structure set that constitutes the data processing sequence is associated with the specific structure set that is prohibited from being generated as a component of the data processing sequence.

14. An apparatus for generating a data processing sequence, comprising: a population generation unit that generates a population of one generation by generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node; a sequence generation unit that generates the data processing sequence corresponding to each of the plurality of individuals, (i) determining a partial sequence structure constituting a part of the data processing sequence, the partial sequence structure including the node to which the node element of at least one of the input layer and the filter layer is assigned, the partial sequence structure being connected to an unconnected terminal of the node to which the node element is assigned, using the gene and a structure reference table that associates the gene with a type of the partial sequence structure; (ii) a sequence generation unit that assigns the node elements of either the input layer or the filter layer to the nodes that configure the partial sequence structure by using a node reference table that associates the genes with types of the node elements and the genes; a calculation unit that processes target data for each of the plurality of data processing sequences represented by the population, compares output data output for each of the data processing sequences with target data associated with the target data, and calculates an evaluation value indicating a similarity between the output data and the target data; a specification unit that specifies the data processing sequence that satisfies a predetermined reference condition using a plurality of the evaluation values ​​corresponding to each of the plurality of data processing sequences.

15. A computer program for causing a computer to execute generation of a data processing sequence, comprising: (a) a function of generating a population of one generation by generating a plurality of individuals in which a plurality of genes are arranged to represent a data processing sequence having, as node elements, an input layer assigned to an upstream end node, at least one filter layer for processing data, and an output layer assigned to a downstream end node; (b) generating the data processing sequence corresponding to each of the plurality of individuals, (b1) a function of determining a partial sequence structure constituting a part of the data processing sequence, the partial sequence structure including the node to which the node element of at least one of the input layer and the filter layer is assigned, the partial sequence structure being connected to an unconnected terminal of the node to which the node element is assigned, by using a structure reference table that associates the gene with a type of the partial sequence structure and the gene; (b2) a function for generating the data processing sequence, the function having a node reference table that associates the genes with the types of the node elements, and a function for assigning the node elements of either the input layer or the filter layer to the nodes that configure the partial sequence structure using the genes; (c) a function of processing target data for each of the plurality of data processing sequences represented by the population, and comparing output data output for each of the data processing sequences with target data associated with the target data to calculate an evaluation value indicating a similarity between the output data and the target data; (d) a function for identifying the data processing sequence that satisfies a predetermined reference condition by using a plurality of the evaluation values ​​corresponding to each of the plurality of data processing sequences.

Citation Information

Patent Citations

  • Evolution calculation system and evolution calculation method

    JP2007087055A