Arithmetic device, integrated circuit, machine learning device, determination device, equation utilizing device, and arithmetic method

The neural network structure addresses the challenge of deriving exact equations for interference phenomena by using power exponents and weighting coefficients, achieving accurate correlation and equation derivation.

JP2024113761AActive Publication Date: 2024-08-23大庭富美男
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023018916
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2024-08-23
Estimated Expiration
2043-02-10

AI Technical Summary

Technical Problem

Existing neural network structures struggle to accurately derive exact equations for phenomena involving interference between individuals, such as wave equations from water flow and electron currents, due to the incorporation of statistical distribution functions including Napier's number (e).

Method used

A neural network structure that includes an input layer, a conversion layer, and an output layer, utilizing integer and decimal power exponents and weighting coefficients to calculate a product of input data raised to these powers, along with a learning function, to derive correlations with high accuracy.

Benefits of technology

The proposed method allows for accurate derivation of correlations between input and output in phenomena expressed by power indices, enabling precise equation derivation and improved understanding of complex systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024113761000001_ABST
    Figure 2024113761000001_ABST
Patent Text Reader

Abstract

To provide an arithmetic device (machine learning device) which can derive an equation.SOLUTION: An input layer of an arithmetic device includes a plurality of power exponents (p0, p1,..., pN) which are respectively associated with a plurality of input data, and respectively exponentiate the plurality of input data, and a coefficient of a predetermined function for learning, as a learning parameter of a neural network structure. An output layer of the arithmetic device outputs an output value (y=f (YY0*De)), on the basis of products of the products (YY0=D0p0*D1p1*...*DNpN) of a plurality of powers (D0p0,D1p1,...,DNpN) in which the plurality of input data inputted to the input layer are respectively exponentiated by the plurality of power exponents and the function for learning (De=g(D0,D1,...,DN)).SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a computing device, an integrated circuit, a machine learning device, a discrimination device, an equation utilizing device, and a computing method that use a neural network. [Background technology]

[0002] In recent years, machine learning has been applied to various fields, and in particular, neural network structures have been widely applied to both regression problems and classification problems. In such neural network structures, a weight coefficient is multiplied for each of the multiple input data input to the input layer, and an output value based on the result of calculating the sum of the data is output from the output layer (see, for example, Patent Document 1, Patent Document 2, etc.). However, since the output result has a drawback that it is difficult for humans to understand, Patent Document 3 was published, which adopts an additive operation and a differential operation method as the operation method. Furthermore, Patent Document 4 was published, which adopts an exponential neural network with an equation of the product of power values ​​as the output format, thereby improving the output format that is easy for humans to understand and the output accuracy. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2015 / 118686 [Patent Document 2] Japanese Patent Application Publication No. 7-141315 [Patent Document 3] Patent Publication No. 2021-124979 [Patent Document 4] JP 2022-161099 A [Non-patent literature]

[0004] [Non-Patent Document 1] E.Anderson: The Species Problem in Iris.Annals of the Missouri Boanical Garden,Vol.23,457-509,1936 Summary of the Invention [Problem to be solved by the invention]

[0005] In the neural network structures described in the above Patent Documents 1, 2, 3, etc., machine learning is performed by adjusting the weight coefficients, but the "power exponent" for multiple input data is fixed, for example, to "1", and there was a problem that no exact solution of an output equation with a high-order power exponent could be expressed. Patent Document 4 attempts to solve this problem by incorporating the power exponent into the features of the neural network. According to Patent Document 4, an equation expressed as a product of power values ​​of individual systems in which individuals do not interfere with each other in geometry problems, physics such as inverted pendulums, and equations of motion can be derived from data. However, for example, a wave equation woven by the interference of water flow, current molecules, and electrons, which are systems of groups, has a problem in that an equation with an exact solution cannot be derived because the solution contains a statistical distribution function including the Napier's number (e).

[0006] In view of the above-mentioned problems, the present invention aims to provide a calculation device, an integrated circuit, a machine learning device, a discrimination device, an equation utilization device, and a calculation method that prepares a learning function that incorporates several types of functions for handling phenomena expressed by power exponents, and makes it possible to accurately derive the correlation that holds between input and output even in phenomena caused by interference between individuals. [Means for solving the problem]

[0007] In order to achieve the above object, a calculation device according to one aspect of the present invention is a calculation device that uses a neural network structure including at least an input layer and an output layer, and outputs an output value from the output layer in response to a plurality of input data (D0, D1, ..., DN) input to the input layer, The input layer is the neural network structure includes, as learning parameters, a plurality of integer exponents (p0, p1, ..., pN) for exponentiating the plurality of input data, a plurality of decimal weighting features (w0, w1, ..., wN), and coefficients of a predetermined learning function, the plurality of input data being respectively associated with the plurality of input data, The output layer is A plurality of power values ​​(D0 p0+w0 ,D1 p1+w1 ,…,DN pN+wN ) product (D0 p0+w0 *D1 p1+w1 *…*DN pN+wN ) and the learning function (De=g(q,Dn)), the output value (ZZ=f(D p0+w0 *D1 p1+w1 *…*DN pN+wN *De)) is output.

[0008] A calculation method according to another aspect of the present invention is a calculation method using a calculation device that uses a neural network structure including at least an input layer and an output layer and operates to output an output value from the output layer in response to a plurality of input data (D0, D1, ..., DN) input to the input layer, the plurality of input data (D0, D1, ..., DN) being associated with the plurality of input data respectively and having a plurality of exponents (p0, p1, ..., pN) for raising the plurality of input data respectively to powers and a coefficient of a predetermined learning function as learning parameters of the neural network structure, The arithmetic unit, from the output layer, A plurality of power values ​​(D0 p0 ,D1 p1 ,…,DN pN ) product (YY0=D0 p0 *D1 p1 *…*DN pN) and the learning function (De=g(D0, D1, . . . , DN)), the output value (y=f(YY0*De)) is output based on the product of the learning function (De=g(D0, D1, . . . , DN)). Effect of the Invention

[0009] According to the present invention, it is possible to handle a phenomenon expressed by an exponent and a learning function, and to accurately derive the correlation that holds between the input and output in the phenomenon.

[0010] Other objects, configurations and effects will become apparent from the detailed description of the invention described below. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating a neural network structure 100D used by a computing device according to a basic embodiment of the present invention and its basic principle. [Diagram 2] FIG. 1 is a block diagram showing a configuration of a calculation device 1 using a neural network structure according to a basic embodiment of the present invention. [Diagram 3] FIG. 1 illustrates the problem of vanishing gradients. [Figure 4] FIG. 2 is an Arrhenius plot diagram according to the first embodiment, in which the vertical axis represents the average lifespan L (average time until failure) as an output value and the horizontal axis represents temperature (1000 / T). [Diagram 5] 1 is a graph according to the first embodiment, in which the vertical axis represents average life L (average time until failure) as an output value and the horizontal axis represents voltage. [Figure 6] FIG. 6 is a table showing values ​​of input data based on FIGS. 4 and 5 according to the first embodiment. [Figure 7] 1 is a table showing specific examples of learning functions (Eureka functions) according to the basic embodiment of the present invention. [Figure 8] 1 is a list according to the first embodiment, sorted in ascending order of coefficient of variation CV (amount of loss). [Figure 9] 11 is a table showing values ​​of ZZ' calculated by the output equation (relationship) [Equation 3-9] according to the first embodiment. [Figure 10] 1 is a correlation graph according to the first embodiment, in which the horizontal axis represents measured values ​​of average life L and the vertical axis represents calculated (predicted) values ​​of life based on the equation [Equation 3-10]. [Figure 11] 11 is a graph according to the second embodiment, in which the horizontal axis represents wavelength λ, and the vertical axis represents intensity E and temperature T as parameters. [Figure 12] 13 is a table showing experimental wavelengths λ, experimental temperatures T, and experimental intensities E extracted from FIG. 11 according to the second embodiment. [Figure 13] 13 is a list according to the second embodiment, sorted in ascending order of coefficient of variation CV (amount of loss). [Figure 14] 13 is a graph according to the second embodiment, in which the horizontal axis represents wavelength λ, the vertical axis represents intensity E, the measurement data in FIG. 12 is displayed as dots, and the value of the formula [3-20] is displayed as a solid line. [Figure 15] 13 is a table (1) of iris data according to the third embodiment. [Figure 16] 13 is a table (2) of iris data according to the third embodiment. [Figure 17] 13 is a graph showing correlations between sepal length and sepal width, and between sepal length and petal length in Iris data according to the third embodiment. [Figure 18] 13 is a table showing the top 30 rewards (discrimination rates) in descending order according to the third embodiment. [Figure 19] 13 is a graph according to the third embodiment, in which the horizontal axis represents iris flower number and the vertical axis represents the value of discriminant AA. [Figure 20] 13 is a list of results obtained by searching discriminants AB and AC according to the third embodiment. [Figure 21] 13 is a graph according to a third embodiment, in which the horizontal axis represents iris flower number and the vertical axis represents the value of the discriminant AB. [Figure 22] 13 is a graph according to a third embodiment, in which the horizontal axis represents iris flower number and the vertical axis represents the value of discriminant AC. [Figure 23]13 is a table showing classification of learning data for discriminating Iris flowers using the majority discriminant Z=MODE(AA, AB, AC) according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] The present invention will be described below with reference to the drawings, with a "basic form" showing the basic principle of the present invention and an "embodiment" for implementing the present invention by applying the basic principle.

[0013] (basic form) FIG. 1 is a diagram illustrating a neural network structure 100D used by a computing device according to a basic embodiment of the present invention and its basic principle.

[0014] The calculation device (symbol 1 in Figure 2) is a device that uses a neural network structure 100D that includes at least an input layer 110D and an output layer 120D to output an output value ZZ from the output layer 120D in response to multiple input data Dn = (D0, D1, ..., DN) input to the input layer 110D.

[0015] 1 is composed of an input layer 110D having N+1-dimensional (N is a natural number equal to or greater than 1) neurons (nodes) and an output layer 120D having one neuron (node). A transformation layer 140 and a hidden layer 130 are included between the input layer 110D and the output layer 120D.

[0016] The N+1 neurons of the input layer 110D are associated with the N+1-dimensional input data Dn=(D0, D1, . . . , DN), respectively, and receive the N+1-dimensional input data Dn and output them to the transformation layer 140.

[0017] The transformation layer 140 has N+1-dimensional exponents pn=(p0, p1, . . . , pN) for raising the N+1-dimensional input data Dn of the input layer 110D to a power as a learning parameter of the neural network structure 100D. Furthermore, the transformation layer 140 is composed of N+2-dimensional nodes having one training function node 141 that receives multiple training function values ​​De(=g(q, Dn)) as input.

[0018] The value of the learning function De (=g(q, Dn)) is the output value of the learning function having as its parameter the multiplication of the learning function coefficient q by the N+1-dimensional input data Dn of the input layer 110D as a learning parameter.

[0019] The outputs of the N+1 neurons of the transformation layer 140 are power values ​​(D0 p0 ,D1 p1 ,…,DN pN ) is converted into N+2-dimensional input data (D0 p0 ,D1 p1 ,…,DN pN , De) to the hidden layer input node 133 of the hidden layer 130.

[0020] The hidden layer 130 includes a first hidden node 131 and a second hidden node 132. The first hidden node 131 receives the input N+2-dimensional input data (D0 p0 ,D1 p1 ,…,DN pN , De) are input to the second hidden node 132, which outputs a target value YY defined by the following equation [Equation 3-1] to the output layer 120D. The second hidden node 132 receives a bias parameter b as a learning parameter, and outputs an additive operation output BYA defined by the following equation [Equation 3-2] to the output layer 120D.

[0021] The output layer 120D outputs an output value ZZ (=f(YY,BYA)) based on the target value YY and the additive operation output BYA.

[0022] [Number 3-1] YY=D0 p0 *D0 p1 *…*DN pN *W0*W1*…*WN*De [Number 3-2] BYA=B*(base) (Σ[n=0→N](wn*pn*dn)) However, the parameters in the above formula are as follows: Base is a positive number except 1. Dn=base dn (n=0,1,…,N) : Input data pn(p0,p1,…,pN) : exponents Dn pn :Power value De=g(q,Dn): learning function value wn=log base Wn(n=0,1,…,N): Weighting parameters (Wn=base wn ) W=W0*W1*…*WN: product of weighting parameters b=log base B: Bias parameter (B=base b ) YY: Target value BYA: Additive calculation output

[0023] The learning parameters, ie, the N+1-dimensional exponent pn, the N+1-dimensional weighting parameter wn, the bias parameter b, and the coefficient q of the learning function, are parameters that are learned by using multiple input data Dn as learning data.

[0024] The N+1-dimensional exponent pn, the N+1-dimensional weighting parameter wn, the bias parameter b, and the coefficient q of the learning function are adjusted so that a predetermined loss function (coefficient of variation) between the target value YY output from the first hidden node 131 and the additive operation output BYA output from the second hidden node 132 becomes small when N+1-dimensional input data Dn as learning data is input to the input layer 110D.

[0025] As described above, when a series of steps for adjusting (searching) the learning parameters using the learning data is repeated a predetermined number of times or when the value of the loss function (loss amount) becomes smaller than a predetermined allowable value, the arithmetic device 1 determines that a predetermined learning end condition is satisfied and ends learning of the learning parameters. This realizes a trained neural network structure 100D having the N+1-dimensional exponent pn, the N+1-dimensional weighting parameter wn, the bias parameter b, and the coefficient q of the learning function as learning parameters.

[0026] According to the neural network structure 100D used by the arithmetic device according to the basic embodiment, the hidden layer 130 has a first hidden node 131 that outputs a target value defined by the above formula [Equation 3-1] to the output layer, and a second hidden node 132 that outputs an additive arithmetic output defined by the above formula [Equation 3-2] to the output layer, and the output layer 120D outputs an output value based on the target value and the additive arithmetic output. Therefore, the arithmetic device 1 can handle a phenomenon expressed by a power exponent and a learning function, and can accurately derive a correlation that holds between an input and an output in the phenomenon.

[0027] When the learning function, which is a feature of this basic embodiment, is not used, the value of the learning function is set to De=1, which maintains consistency with Patent Document 4, in which the learning function is not used.

[0028] (Basic device configuration) FIG. 2 is a block diagram showing the configuration of a calculation device 1 using a neural network structure according to a basic embodiment of the present invention.

[0029] The arithmetic device 1 functions as a machine learning device 1A that generates a learning model having a basic form of neural network structure 100D, and a discrimination device 1B that outputs a discrimination result AA for discrimination data BB to be discriminated using the learning model generated by the machine learning device 1A. The machine learning device 1A is used in the learning phase, and the discrimination device 1B is used in the discrimination phase (inference phase).

[0030] The arithmetic device 1 is configured to include, as its components, a classifier learning unit 2, a learning parameter memory unit 3, a learning data memory unit 4, a learning data processing unit 5, a discrimination result processing unit 6, a discrimination data acquisition unit 7, and a learning function memory unit 8.

[0031] The classifier learning unit 2 includes a learning unit 20 that learns learning parameters using a learning model having a neural network structure 100D, and a discrimination processing unit 21 that outputs a discrimination result for discrimination data using a learning model reflecting learning parameters that are being learned or have been learned. The learning parameters in the basic form are an N+1-dimensional exponent pn, an N+1-dimensional weighting parameter wn, a coefficient q of a learning function, and a bias parameter b.

[0032] The learning parameter storage unit 3 stores the learning parameters and the sorting numbers of the learning functions as the learning results of the learning performed by the learning unit 20 in the learning phase. The learning parameter storage unit 3 stores initial values ​​of the learning parameters by an initialization process of the learning parameters, and the learning parameters are successively updated as the learning unit 20 repeats learning. The learning parameter storage unit 3 stores the learning parameters and the sorting numbers of the learning functions when the learning by the learning unit 20 ends, and these are read out by the discrimination processing unit 21 in the discrimination phase (inference phase).

[0033] The learning data storage unit 4 stores multiple sets of learning data including at least multiple input data. This learning data may include input data and teacher data associated with the input data. In addition, when performing unsupervised learning, the learning data may be only the input data. The teacher data is, for example, data corresponding to the discrimination result, and when normal is represented by "0" and abnormal is represented by "1", for example, the discrimination result is set to "0" or "1".

[0034] The learning function storage unit 8 stores a plurality of sets of a plurality of preset learning functions and associated learning function sorting numbers.

[0035] The learning unit 20 inputs the learning data stored in the learning data storage unit 4 and the multiple learning functions stored in the learning function storage unit 8 to the learning model via the learning data processing unit 5, and performs learning of the learning parameters so as to minimize the loss function, for example. That is, the learning unit 20 receives the discrimination result output from the discrimination processing unit 21 and the learning data read from the learning data processing unit 5, performs learning using these data, and stores the sorting numbers of the learning parameters and the learning functions in the learning parameter storage unit 3. In addition, when performing supervised learning, the learning unit 20 performs learning to adjust the difference between the output value output from the output layer when the multiple input data included in the learning data are input to the input layer and the supervised data included in the learning data so as to be small.

[0036] In the learning phase, the discrimination processing unit 21 inputs the learning data acquired by the learning data processing unit 5 into a learning model that reflects initial values ​​or learning parameters during learning, and outputs a discrimination result to the learning unit 20 and the discrimination result processing unit 6 based on the output value from the learning model.

[0037] In addition, in the discrimination phase (inference phase), the discrimination processing unit 21 inputs the discrimination data acquired by the discrimination data acquisition unit 7 into a learning model reflecting the learned learning parameters, and outputs the output value (e.g., feature amount, etc.) from the learning model to the discrimination result processing unit 6.

[0038] In the learning phase, the learning data processing unit 5 reads out the learning data from the learning data storage unit 4 and the learning function storage unit 8, performs a predetermined preprocessing, and then sends the learning data to the learning unit 20 and the discrimination processing unit 21. At that time, the learning data processing unit 5 sends the learning data to the learning unit 20 and the discrimination processing unit 21 in response to a request from the discrimination result processing unit 6.

[0039] The discrimination result processing unit 6 receives the output value output from the discrimination processing unit 21 and outputs it as the discrimination result AA to a predetermined output device such as a display. Furthermore, in the learning phase, the discrimination result processing unit 6 calculates the coefficient of variation, the discrimination rate, etc. based on the discrimination result, and requests the learning data processing unit 5 to further send the learning data to the learning unit 20 and the discrimination processing unit 21 according to the calculation result.

[0040] In the discrimination phase (inference phase), the discrimination data acquisition unit 7 receives discrimination data BB from a predetermined input device, performs predetermined pre-processing, and then sends the discrimination data BB to the discrimination processing unit 21.

[0041] The arithmetic device 1 having the above configuration is configured by a general-purpose or dedicated computer. The machine learning device 1A and the discrimination device 1B may be configured by separate computers. In that case, the machine learning device 1A may include at least a learning data storage unit 4, a learning function storage unit 8, a learning unit 20, and a learning parameter storage unit 3. The discrimination device 1B may include at least a discrimination data acquisition unit 7 and a discrimination processing unit 21.

[0042] Among the components of the arithmetic device 1, the learning parameter storage unit 3, the learning data storage unit 4, and the learning function storage unit 8 may be configured with a storage device (built-in type, external type, network-connected type, etc.) such as a hard disk drive (HDD) or a solid state drive (SSD), or may be configured with a USB memory, a storage medium (CD, DVD, BD) playable by a storage media playback device, etc. Also, among the components of the arithmetic device 1, the learning unit 2, the learning data processing unit 5, the discrimination result processing unit 6, and the discrimination data acquisition unit 7 are configured with, for example, a arithmetic device having one or more processors (CPU, MPU, GPU, etc.).

[0043] (program) The calculation device 1 may function as a classifier learning unit 2, a learning data processing unit 5, a discrimination result processing unit 6, and a discrimination data acquisition unit 7 by executing programs stored in various types of storage devices or storage media, or programs acquired by downloading from outside via a network.

[0044] (Integrated Circuit) The neural network structure 100D may be configured by an integrated circuit. In this case, the integrated circuit includes an input / output unit that configures an input layer and an output layer, a storage unit that stores learning parameters, and a calculation unit that performs calculations to output the output value from the output layer based on a plurality of input data input to the input layer and the learning parameters stored in the storage unit. The integrated circuit may be configured by, for example, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), or the like, and other hardware may be used.

[0045] Next, a loss function that is adjusted based on the relationship between the target value YY defined by the equation [Equation 3-1] and the summation type calculation output BYA defined by the equation [Equation 3-2] will be described.

[0046] There are at least three methods for searching for the minimum value of the loss function (amount of loss).

[0047] The first method is to use the difference (|YY-BYA|) between the target value YY defined by equation [3-1] and the additive calculation output BYA defined by equation [3-2] as the loss function, and to directly calculate the loss amount by moving the exponent pn, weighting parameter wn, coefficients q of multiple learning functions, and bias parameter b, which should be the feature quantities, to search for the minimum value.

[0048] In the second method, the coefficient of variation CV (standard deviation / average value), which is defined as the ratio of the average value and standard deviation of the target value YY defined in the equation [Equation 3-1], is used as the loss function, and the exponent pn, which should be the feature, and the coefficients q of multiple learning functions are moved to search for the value of the coefficient of variation CV (amount of loss) that is the minimum value, thereby determining the exponent pn, which should be the feature, one learning function De, and the coefficient q of the learning function.

[0049] The third method is a method in which, when the exponent pn to be a feature, one learning function De, and the coefficient q of the learning function De are determined using the second method, the coefficient of variation CV (second coefficient of variation CV') of the following output equation [Equation 3-3]ZZ is used as a loss function, and the weighting parameter wn, which is a feature, is moved using the gradient descent method to search for the value (amount of loss) of the coefficient of variation CV (second coefficient of variation CV').

[0050] The second method does not require changing the weighting parameters wn and bias parameter b, which are characteristic quantities, and the bias parameter b in the second and third methods is uniquely determined, which is advantageous in terms of program configuration. In addition, since the coefficient of variation CV, which is the loss amount, is calculated and stored every time the parameters are updated, it is possible to create, for example, a list of loss amounts for each index pn, which should be a characteristic quantity, or a graph related to the loss amount, without the need to recalculate it. In the embodiment, the second and third methods are appropriately adopted for the loss function.

[0051] The output equation ZZ (=f(YY,BYA)) output from the output layer 120D of the calculation device 1 is designed to be the following equation [Equation 3-3]. In addition, according to the second and third methods of the loss function, the bias parameter B (B=base b ), and the product W of the weighting parameters are uniquely determined, and can be simplified to the following equation [Equation 3-4] by replacing ZZ'=ZZ / (B*W). In other words, in the second and third methods, first, the weighting parameter wn is determined so that the coefficient of variation of YY is minimized, and then the bias parameter B is calculated using this so that the difference between YY-BYA is minimized (i.e., YY=BYA).

[0052] [Number 3-3] ZZ=f(YY,BYA) ZZ=D0 (p0+w0) *D1 (p1+w1) *…*DN (pN+wN) *De*B*W [Number 3-4] ZZ'=D0 (p0+w0) *D1 (p1+w1) *…*DN (pN+wN) *De

[0053] The output formula [Equation 3-4]ZZ' searches for an integer value for the exponent pn, which is a feature, and a decimal value for the weighting parameter wn that falls within ±1, and the exponent value of the input data Dn can be found within the range of real values ​​of pn+wn.

[0054] Problems inherent in the conventional method of searching for the minimum value of the loss function of a neural network exemplified in Patent Documents 1 and 2 will be explained with reference to FIG. 3. FIG. 3 is an image diagram showing the weighting feature amount w on the horizontal axis and the loss amount L on the vertical axis. As shown in FIG. 3, in the method of searching for the minimum value of the loss function of a neural network exemplified in Patent Documents 1 and 2, the weighting parameter w is moved by a small amount (Δw) so that the loss (error) L is minimized using the gradient descent method. In this method, even if there is a point smaller than the loss (error) L (local minimum) predicted as the minimum, the search ends there. There is a problem of gradient vanishing, which means that the global minimum cannot be found. One way to deal with this problem is to increase the step width Δw for moving the parameter w. The second method is to use data (mini-batches) that have been sampled and reduced in amount rather than using the entire number of samples of the input data Dn, thereby coarsening the data and reducing the potential of ending at a local minimum. As a side effect, in the former case, if the step width Δw is made too large, there is a risk that the accuracy will deteriorate and the minimum point will be overlooked. The latter method does not necessarily prevent local minima, and repeated trials are required when creating mini-batches of data. Neither method is perfect, and in order to avoid falling into local minima, users must have knowledge and experience not only of neural networks but also of the problem they are trying to solve, to the extent that they can combine and evaluate the two methods.

[0055] The method of searching for the minimum value of the loss function of the arithmetic unit 1 of the present invention overcomes the above problems by performing two-stage processing. In the first stage, the second method is used to search for the power exponent pn with integer values ​​and narrow down the exponent that should minimize the loss (error) L. In the second stage, the third method is used to use the narrowed-down integer power exponent pn and move the weighting parameter wn slightly by gradient descent to search for the minimum value of the loss (error) L. By processing in this way using a two-stage method, it is possible to prevent the process from ending up in a local minimum.

[0056] (First embodiment) Next, a first embodiment will be described as a specific example of a method for searching and finding a relational expression. In the following, a specific example will be described focusing on the characteristic parts corresponding to the present invention, following the procedure of the basic principle of the neural network structure 100D according to the basic form described above.

[0057] In recent years, in line with the miniaturization of various electronic components, including highly integrated LSIs, the technology of printed wiring boards has also rapidly advanced to fine pattern, narrow component pitch, and reduce conductor gaps, resulting in the issue of wiring breakage and insulation reliability being brought into focus. There is a problem in how to perform reliability evaluation and to estimate lifespan from test results, as there is no absolute standard, and engineers are forced to make judgments based on repeated testing and experience. To solve this problem, a more advanced method of lifespan prediction is desired, and it is important to derive a reliable lifespan prediction formula for sets in which electronic components are mounted on wiring boards.

[0058] In the first embodiment, a case will be described in which a life prediction equation is derived from data of a reliability evaluation experiment of a board in which electronic components are mounted on a printed wiring material.

[0059] Standard FR-4 substrate material was used as the printed wiring material, and electronic components were mounted. Reliability testing was performed using multiple samples for each of the three items of temperature, humidity, and voltage, and current shunting experiments were performed. Figures 4 and 5 show graphs in which the average lifespan L (average time until failure) at which failure was determined is plotted on the vertical axis as the output value. Figure 4 is an Arrhenius plot when the voltage was fixed at 75V and the humidity was 60% and 95%. Figure 5 is a voltage dependency graph with an increased number of test points at voltages of 50V, 65V, and 75V.

[0060] The input data based on Figures 4 and 5 above is divided into item names D0 for experimental temperatures of 50°C, 75°C, and 85°C, D1 for experimental humidity of 95% and 60%, and D2 for experimental voltages of 75V, 65V, and 50V. The lifespan L at which a failure is determined is shown in the table of Figure 6 as the value of item name D3.

[0061] The calculation device 1 extracts the four-dimensional exponent pn, the four-dimensional weighting parameter wn, and the learning function De and its coefficient q, which are the feature quantities of the output formula (relational formula) ZZ' based on [Equation 3-4]. More specifically, the calculation device 1 searches for and extracts the feature quantities pn, wn, and De and their coefficient q of the output formula (relational formula) ZZ' based on [Equation 3-4] that hold between the input item data in the phenomenon in question from the four-dimensional input data Dn=(D0, D1, D2, D3) with 11 samples in the table of Fig. 6, according to the flow of the basic form described above.

[0062] The item names D0, D1, and D2 of the four-dimensional input data Dn=(D0, D1, D2, D3) of the reliability test results are the parameter values ​​of temperature, humidity, and voltage, respectively, and D3 is the output value of the average life L (average time to failure) determined to be a one-dimensional failure. Since the output formula of the item name D3 is the life prediction formula for the average life L that we want to derive, the output formula (relational formula) ZZ' based on [Equation 3-4] can be expressed as the following formula [Equation 3-5] by fixing the feature quantity p3 to -1 and w3 to 0, for example, and the formula for the average life L with D3 as the solution can be expressed as [Equation 3-6].

[0063] [Number 3-5] ZZ'=D0 (p0+w0) *D1 (p1+w1) *D2 (p2+w2) *D3 (-1) *De [Number 3-6] D3=D0 (p0+w0) *D1 (p1+w1) *D2 (p2+w2) *De / ZZ'

[0064] As in the above example, when the learning function De is used for the output formula ZZ', one of the input data Dn contains the target output item to be derived, and the calculation device 1 includes a function that can specify the output item, fix the feature pn to -1 and 1, and fix wn to 0. This function contributes to shortening the time it takes for a computer to search for features.

[0065] Here, an example of a function that can be used as the learning function De=g(q,Dn) will be described. The learning function is a function used in the learning function node 141, and a representative example is the Maxwell-Bolzman distribution type, which is a statistical distribution function used in classical mechanics. This type can be expressed as De=exp(q / (D0)). The feature amount q, which is an element in exp(), is obtained by scanning the width of a set predetermined range of values ​​at a predetermined increment. D0 is composed of, for example, D0 in the input data Dn=(D0,D1,...,DN). Representative examples in quantum physics include the Fermi-Dirac distribution function De=1 / (1+exp(q / (D0))), the distribution function of the Bose particle De=1 / (exp(q / (D0))-1), and the standard normal distribution function De=exp(-q*D0 2 ) type. In many cases, one of the items in the input data Dn is used as an element in the exp() of this typical type, but this is not always the case, so multiple combinations of products and ratios of multiple items in the input data Dn are registered in advance as types of learning functions, and the most suitable learning function De is searched for and extracted. Figure 7 shows an example of a learning function using two-dimensional input items D0 and D1 of the input data Dn. The number of dimensions may be a combination of the maximum number of input items, or the number of items may be narrowed down based on the characteristics of the input data items. In addition to statistical distribution functions, bipolar trigonometric functions that can express wave vibrations, or types of functions that represent the convergence process to Napier's number (e) can also be used as learning functions. The type of the latter function that represents the convergence process to Napier's number (e) is the same as the type of the compound interest calculation formula De=(1+q / D0)^D1 when q is the interest rate (for example, annual interest rate), D0 is the number of interest rate divisions, and D1 is the number of investments, and the characteristics of the formula inherent in economic activity can be grasped from the input data. These are just some examples of functions that can be used as the learning function De, and many other types of functions can also be used as learning functions. Below, these functions are collectively referred to as Eureka functions.

[0066] In the first stage, four-dimensional input data Dn=(D0, D1, D2, D3) is input to the input layer 110D of the neural network structure 100D, and an integer exponent and the most suitable learning function De are searched for.

[0067] The four-dimensional input data Dn=(D0, D1, D2, D3) is passed to the transformation layer 140, and each power value Dn pn and passed to the hidden layer input node 133 of the hidden layer 130. The initial value of the feature, 4-dimensional integer exponent pn, is set to a range of -9 to 9, and is scanned step by step from (-9, -9, -9, -9) to (0, 0, 0). The initial value of the integer exponent pn can be set by the user within an arbitrary range, and may be shortened to -6 to 6, etc. As mentioned above, in this example, the feature p3 is fixed to -1 and 1 by specifying the item name D3 as the output formula for the average lifespan L. Also, (0, 0, 0, 0) is a singular point and is excluded.

[0068] A plurality of registered learning functions are set in parallel in De of learning function node 141 in transformation layer 140 and passed to hidden layer input node 133 in hidden layer 130.

[0069] Each power value Dn set in the hidden layer input node 133 of the hidden layer 130 pn , and the multiple learning functions De are subjected to the arithmetic processing of the equation YY in [Equation 3-1] in the first hidden layer node 131. As described above, in the first stage, the weighting parameters wn, which are the feature quantities of the equation YY in [Equation 3-1], are all fixed to 0, the product W of the weighting parameters is fixed to 1, and the multiple learning functions De are expressed as the product of power values, YY=D0 p0 *D1 p1 *D2 p2 *D3 p3 *De is calculated.

[0070] The calculation device 1 scans the q value in a predetermined range and increments to determine one learning function De and the coefficient q of the learning function that have the smallest coefficient of variation CV (amount of loss) from the calculated value of the above-mentioned [Equation 3-1] YY. When one learning function De and q value that have the smallest coefficient of variation CV (amount of loss) are determined, the integer exponent pn, the sorting number of the learning function De, and the feature value of the coefficient q of the learning function, and the coefficient of variation CV (amount of loss) are stored in the learning parameter storage unit 3 of the machine learning device 1A.

[0071] As described above, the integer exponent pn is repeated from the initial value (-9,-9,-9,-9) to (0,0,0,0), the integer exponent pn, the sorting number of the learning function De, the feature value of the coefficient q of the learning function, and the coefficient of variation CV (amount of loss) are stored in the learning parameter storage unit 3 of the machine learning device 1A, and the integer exponent and the most suitable learning function De are searched for, completing the first stage. Next, the discrimination processing unit 21 receives the integer exponent pn, the sorting number of the learning function De, the feature value of the coefficient q of the learning function, and the value of the coefficient of variation CV (amount of loss) from the learning parameter storage unit 3 of the machine learning device 1A, creates a list in ascending order of the coefficient of variation CV (amount of loss), and outputs it to a display or the like.

[0072] Fig. 8 shows the list of the output in ascending order of coefficient of variation CV (amount of loss). However, for convenience of explanation, the list when p3=-1 is shown. As can be seen from Fig. 8, the list in Fig. 8 is an output in which the order of merit of the power exponents is ordered by the value of the coefficient of variation.

[0073] From the list in ascending order of coefficient of variation CV (loss amount) in Fig. 8, the minimum feature combination is pn = (0, -3, -1, -1), the learning function is exp(q / D0), and the coefficient q = 10116. From this, the output equation (relationship equation) [Equation 3-5]ZZ' mentioned above can be expressed as the following equation [Equation 3-7], and the equation with D3 as the solution for the mean life L can be expressed as [Equation 3-8].

[0074] [Number 3-7] ZZ'=D0 (0+w0) *D1 (-3+w1) *D2 (-1+w2) *D3 (-1) *exp(q / D0) [Number 3-8] D3=D0 (0+w0) *D1 (-3+w1) *D2 (-1+w2) *exp(q / D0) / ZZ'

[0075] In the second stage, four-dimensional input data of features of the integer exponent pn with the smallest coefficient of variation CV (amount of loss), the sorting number of the learning function De, and the coefficient q of the learning function is output from the discrimination processing unit 21 to the learning data processing unit 5 via the discrimination result processing unit 6, and the feature of the weighting parameter wn is searched for.

[0076] The flow of receiving the features obtained in the first stage processing and proceeding to the second stage may be a continuous process of passing the feature with the smallest coefficient of variation CV (amount of loss) to the second stage, or it may be a process of stopping once and manually inputting the feature from the data in the coefficient of variation CV (amount of loss) list to the second stage processing.

[0077] The learning data processing unit 5 receives the learning function De corresponding to the sorting number of the learning function De from the learning function memory unit 8, and outputs the integer exponent pn, the learning function corresponding to the sorting number of the learning function De, and the coefficient q of the learning function to the learning unit 20.

[0078] The flow of data transfer from the learning data processing unit 5 to the learning unit 20 is from the input layer 110D of the neural network structure 100D to the transformation layer 140, where the input data is transformed and set in the hidden layer input node 133.

[0079] The data of the hidden layer input node 133 is passed to the first hidden layer node 131 and the second hidden layer node 132, respectively, and the value of the coefficient of variation CV (amount of loss) is calculated using the third method, which is the loss function calculation method, and the feature value of the weighting parameter wn is determined.

[0080] The weighting parameter wn, which is the characteristic when the coefficient of variation CV (loss amount) is at its minimum value, is extracted as (0, 0, -0.4). ZZ' in the output equation (relationship equation) [Equation 3-7] is expressed in [Equation 3-9] and approximates the average value of ZZ'. If the average value of ZZ' is defined as ZZ' (average), the equation (second equation) with D3 as the solution for the average life L is expressed in [Equation 3-10].

[0081] [Number 3-9] ZZ'=D1 (-3) *D2 (-1。4) *D3 (-1) *exp(q / D0) [Number 3-10] D3=D1 (-3) *D2 (-1.4) *exp(q / D0) / ZZ'(average)

[0082] The ZZ' values ​​calculated using the output equation (relationship) [Equation 3-9] corresponding to the 11 samples in Figure 6 above are shown in Figure 9. From this table, it can be seen that the average value of the output equation (relationship) ZZ' is 1.76E+09, the standard deviation is 7.83+E07, and a constant approximation with little variation has been achieved. If the average value of ZZ' (average) above is replaced with A=1 / ZZ' (average value) for convenience, equation [Equation 3-10] can be expressed as equation [Equation 3-11]. Note that the values ​​in the ZZ' column in Figure 9 are expressed in E notation. [Number 3-11] D3=A*D1 (-3) *D2 (-1。4) *exp(q / D0) q=10116 constant A=5.68E-10 constant

[0083] The equation with D3 as the solution for the mean life L is automatically calculated by a computer algorithm according to the procedure described above. Furthermore, a correlation function graph of D3 for the mean life L is displayed, and in Figure 10, the horizontal axis shows the measured value of D3 for the mean life L, and the vertical axis shows the calculated (predicted) value of the life according to equation [Equation 3-10]. The correlation coefficient is 0.999, which shows a very strong correlation.

[0084] In this way, the calculation device 1 of the present invention can derive a highly accurate life prediction formula from a small amount of input data. Furthermore, the calculation device 1 of the present invention is also effective in analyzing the obtained life prediction formula. [Equation 3-11] can be expressed as equation [Equation 3-12] (second equation) by replacing the item name Dn with the measurement name.

[0085] [Number 3-12] L=A*H (-3) *V (-1、4) *exp(Eb / kT) A=5.68E-10 constant n=1.4 (inverse) n-law voltage acceleration coefficient k=8.6157E-5eV / K Boltzmann constant Eb=0.872eV activation energy

[0086] Equation [3-12] is the empirical Arrhenius model equation known from chemical reaction theory, which includes the exp(Eb / kT) type, in which the failure of electronic components has an inverse n-power law relationship with the voltage V, and has been found to be one of the equations most suitable for measurement data. It is easy to understand and is useful for proceeding with model analysis.

[0087] The list of coefficient of variation CV (loss amount) in Figure 8 above is useful in proceeding with the analysis of the model. Referring to Figure 8, it can be seen that losses for pn = (0 to -9, -3, -1, -1) occupy the top 10, and are concentrated in the range of -1.111 to -1.097. In other words, the power exponent p0 of temperature T has almost no difference in loss amount regardless of the value of 0 to -9. When an engineer cannot see any significant difference between the multiple equations expressing the measurement results, the Eyring model equation, which is a known theoretical equation, is in the second place in the list in Figure 8, and this can also be taken into consideration and used as a criterion for deciding which equation to adopt. From the list in Figure 8, pn in the Eyring model formula is expressed as (-1,-3,-1,-1), and the coefficient q of the learning function is 9772. Starting from the second stage described above, searching for the feature value of the weighting parameter wn results in wn having a value equivalent to (0,0,-0.4), and the life prediction formula of the Eyring model can be expressed as the following formula [Equation 3-13]. The correlation coefficient is calculated to be 0.999, which is comparable to the correlation coefficient of [Equation 3-12] described above, and it can be seen that whichever formula is used, it is a model formula that can obtain high accuracy.

[0088] [Number 3-13] L=A*T (-1) *H (-3) *V (-1、4) *exp(Eb / kT) A=5.32E-7 constant n=1.4 (inverse) n-law voltage acceleration coefficient k=8.6157E-5eV / K Boltzmann constant Eb=0.842eV Eyring model activation energy

[0089] As described above, by utilizing the present invention, the problem that engineers have to make judgments by repeating tests and empirical methods when deriving a life prediction equation can be solved, and a highly accurate life prediction equation (second equation) that can be logically explained can be derived with high accuracy by automatically fitting it through consistent computer processing. Also, by providing a computer with a storage unit (equation storage unit) that stores the life prediction equation (second equation) derived in this way, and a calculation unit that uses this second equation to calculate the output for an input value, an equation utilization device that predicts the life of electronic components can be configured.

[0090] Second embodiment Next, a second embodiment will be described as a second specific example of a method for searching and finding a relational expression. Dr. Planck, a German physicist, is known for finding a famous empirical formula for a spectral distribution that fits very well by interpolating (fitting) the entire wavelength λ range based on data on temperature, wavelength, and intensity of the blackbody radiation spectral distribution.

[0091] In the second embodiment, a method of extracting data from a graph of the spectral distribution of blackbody radiation found in a literature and deriving an empirical formula for the spectral distribution simply and automatically from a small amount of data using the present invention will be described following the first embodiment.

[0092] Figure 11 is published as Figure 3 in "The Origin of Thermal Radiation Theory and Quantum Theory" by Kiyoshi Amano, and is a graph with parameters of wavelength λ on the horizontal axis and intensity E and temperature T on the vertical axis, with observed values ​​displayed as dots. Figure 12 is a table in which the data in Figure 11 is divided into item names D0 for experimental wavelength λ, D1 for experimental temperature T, and D2 for experimental intensity E, and the values ​​are extracted.

[0093] From the 21 samples of three-dimensional input data Dn=(D0, D1, D2) in the table of Fig. 12, an output equation (relational equation) that holds between the input item data in the phenomenon in question is extracted, including the three-dimensional exponent pn, the three-dimensional weighting parameter wn, and the learning function De and its coefficient q, which are the feature quantities of the equation [Equation 3-4]ZZ', and finally an equation expressing the experimental intensity E (the equation for item name D2) is derived. The procedure of this method is the same as in the first embodiment, and only the feature parts will be explained.

[0094] The item names D0 and D1 of the above three-dimensional input data Dn = (D0, D1, D2) are the parameter values ​​of wavelength and temperature, respectively, and D2 is the output value of one-dimensional intensity E. Since the output formula for item name D2 is an empirical formula for the desired spectral distribution, the output formula (relational formula) ZZ' based on [Math 3-4] can be expressed as the following formula [Math 3-15] by fixing the feature amount p2 to -1 and 1 and w2 to 0, and the formula with D2 as the solution for intensity E can be expressed as [Math 3-16]. However, for convenience of explanation, the case where p2 = -1 is shown.

[0095] [Number 3-15] ZZ'=D0 (p0+w0) *D1 (p1+w1) *D2 (-1) *De [Number 3-16] D2=D0 (p0+w0) *D1 (p1+w1) *De / ZZ'

[0096] In the first step, three-dimensional input data Dn = (D0, D1, D2) is input to the input layer 110D of the neural network structure 100D, and a search is performed for the integer exponent and the most suitable learning function De. The initial value of the three-dimensional integer exponent pn, which is the feature, is set to a range of -9 to 9, and is scanned one step at a time from (-9, -9, -9) to (0, 0, 0).

[0097] When the first stage is completed, the integer exponent pn that is the minimum value of the coefficient of variation CV (amount of loss) and the most suitable learning function De and its coefficient q are determined, and a list of the coefficients of variation CV (amount of loss) in ascending order is created and output to a display, etc.

[0098] The list in ascending order of coefficient of variation CV (loss amount) in this example is shown in Fig. 13. As can be seen from Fig. 13, the list in Fig. 13 is a list output displaying the superiority order of each type of statistical branch function in the order of the coefficient of variation.

[0099] From the list in ascending order of coefficient of variation CV in Figure 13, the smallest feature combination is extracted as pn = (-5, 0, -1), the learning function is 1 / (exp(q / D0 / D1)-1), and the coefficient q = 13964. From this, the output equation (relationship equation) [Equation 3-15]ZZ' mentioned above can be expressed as the following equation [Equation 3-17], and the equation with D2 as the solution for intensity E can be expressed as [Equation 3-18].

[0100] [Number 3-17] ZZ'=D0 (-5) *D2 (-1) / (exp(q / D0 / D1)-1) [Number 3-18] D2=D0 (-5) / (exp(q / D0 / D1)-1) / ZZ'

[0101] In the second stage, a procedure is performed to search for the features of the weighting parameter wn from the features of the integer exponent pn = (-5, 0, -1), the training function 1 / (exp(q / D0 / D1)-1), and the coefficient q of the training function q = 14125.

[0102] As a result of the above procedure, (0,0) is extracted as the weighting parameter wn, which is the feature when the coefficient of variation CV (loss amount) is at its minimum value. In other words, the optimal value for both the decimal weighting feature values ​​w0 and w1 is 0, and it is found that ZZ' in the equation [Equation 3-17] is composed of a simple integer exponent equation, which is expressed in [Equation 3-19], and ZZ' (average), which is the average value of ZZ', is output as 3.4E-6. For convenience, by replacing c1 with 1 / ZZ' and q with c2, D0 with the wavelength λ in the item name, D1 with the temperature T, and D2 with the intensity E, the equation with the intensity E as the solution is expressed in [Equation 3-20].

[0103] [Number 3-19] ZZ'=D0 (-5) *D2 (-1) / (exp(q / D0 / D1)-1) q=1.4 E4 ZZ'(average value)=3.4E-6 constant [Number 3-20] E=c1*λ (-5) / (exp(c2 / (λ*T))-1) c1=2.8E5 constant (1 / ZZ') c2=1.4 E4 Constant (q)

[0104] The above equation [Equation 3-20] is the same as the empirical formula for the spectral distribution of blackbody radiation discovered by Dr. Planck.

[0105] For confirmation, following the example of Figure 11, the horizontal axis is wavelength λ, the vertical axis is intensity E, the measurement data of Figure 12 is displayed as dots, and the value of formula [3-20] is shown as a solid line in Figure 14. The correlation coefficient is 0.997, and it can be seen that the experimental value and the experimental formula show good agreement.

[0106] As shown in the first and second embodiments, the present invention performs a two-step exponent search in which an integer exponent pn is searched for by one shift blind scan from the measured data in the first step, and a decimal exponent wn is searched for using the gradient descent method in the second step, thereby preventing the loss amount from remaining in the local minimum. Moreover, in the natural world, exponents are often simple integer values, which is an effective method for finding equations. In addition, searching only integer exponents for the number of dimensions of the input items has little impact on the search time, but a search using the gradient descent method based on integer values ​​may be used from the first step.

[0107] Furthermore, the present invention has the advantage that other neural networks do not have, that is, the coefficient of variation CV can be adopted as the loss function. As shown in the above example, a ranking list of the coefficient of variation CV (loss amount) is created, making it possible to visualize and analyze the relationship between the power index and the coefficient of variation CV (loss amount). This advantage also makes it worthwhile to select a blind scan search with one shift of the integer power exponent pn in the first step.

[0108] The name of the exponential neural network that takes into account the Eureka function (learning function) according to the present invention described above will be unified and will be referred to as the exponential neural network hereinafter.

[0109] (Third embodiment)

[0110] Next, a method for deriving a function that achieves a high discrimination rate by utilizing an exponential neural network, which is the present invention, for discriminating objects will be described.

[0111] In the following, we consider a method of selecting and classifying three different types of objects, A, B, and C, by selecting four items D0, D1, D2, and D3 as data items (four-dimensional data) to distinguish the types. In this case, there are two possible methods for distinguishing and classifying the different types A, B, and C.

[0112] First, the first discrimination method will be explained. First, using the learning data of groups A, B, and C of objects to be classified, a function with the least error in the relationships between data within each group is searched for. Next, a threshold is set for each of the three functions discovered, and, for example, by applying the formula for classification B to four-dimensional data belonging to classification A, an outlier based on the threshold is obtained. Using these functions, unknown objects can be classified with high accuracy from four-dimensional data obtained from the objects.

[0113] The above method utilizes a search procedure for relational equations in an exponential neural network to determine highly accurate functions representing group A, group B, and group C, and sets thresholds for each equation to be used as discriminants.

[0114] The second classification method involves searching for a formula that maximizes the discrimination rate for groups A, B, and C of objects to be classified, and using this as the discriminant formula.

[0115] The second classification method will be described using an example of classifying the Iris flower as a discrimination object. Below, a method will be described in which a plurality of discriminant formulas are selected from among discriminant formulas with different characteristics based on the discrimination performance of the discriminant formulas and the value of the coefficient of variation, and the method is used to classify the Iris flower as a discrimination object.

[0116] In classifying objects, the discrimination rate can be treated as the same as the reward in reinforcement learning. In the same way as the ascending rank list with the coefficient of variation CV as the loss amount was used to search for the above function, the reward function (discriminant) that can obtain the maximum reward (discrimination rate) is determined by searching for an integer power exponent pn and using the descending rank list of the reward (discrimination rate) obtained.

[0117] The third embodiment will be described in detail below using an example of discrimination between three types of irises (setosa, versicolor, virginica). Figures 15 and 16 are tables showing examples of data for three types of irises (hereinafter referred to as "iris data"). In the example of Figures 15 and 16, 50 pieces of four-dimensional data in which the sepal side length and width and the petal length and width correspond to each other are prepared as the iris data, and each is assigned a reference number as follows: Group A No. 1 to 50 (setosa), Group B No. 51 to 100 (versicolor), and Group C No. 101 to 150 (virginica).

[0118] The Iris data base set is often cited as the basis for machine learning and is described in Non-Patent Document 1.

[0119] Figure 17 shows correlation graphs of sepal side length-sepal side width and sepal side length-petal length for the Iris data in Figures 15 and 16. Comparing the data between species, setosa is easily distinguished from the other two species because the data distance is far away, but the data distance between versicolor and virginica is close, making the data structure difficult to distinguish. In this example, we will explain a specific example of maximizing the discrimination rate between versicolor, virginica, and setosa.

[0120] Using the learning data for versicolor, virginica, and setosa input to input layer 110D of neural network structure 100D in Figure 1, the value of the equation YY, which is the product of the exponent pn and the weighting feature wn=0 and the exponent value of the learning function De=1, is calculated in first hidden layer node 131.

[0121] The exponent pn is scanned from (-9,-9,-9,-9) to (0,0,0,0), and the value of the formula YY of the product of the power values ​​of each exponent pn is compared with the group of versicolor values, the group of virginica values, and the group of setosa values ​​to calculate the upper and lower thresholds of the value of the product of the power values ​​YY that obtains the maximum reward (discrimination rate), and the reward (discrimination rate) corresponding to each exponent pn is stored and listed.

[0122] At this time, it is preferable to exclude from the calculation the exponent pn whose element has an absolute value of 1 or no prime value of absolute value, and the exponent pn whose absolute prime values ​​are all the same. For example, when the exponent pn=(-2,-1,3,1), the exponent pn=(-4,-2,6,2), (-6,-3,9,3), which are double and triple values, and the exponent pn=(-1,-1,-1,-1), (-2,-2,-2), (-3,-3,-3,-3), which correspond to the exponent pn=(-1,-1,-1,-1), are excluded because they have the same mathematical reward (discrimination rate). By doing so, the advantage of shortening the calculation time and simplifying the list is obtained.

[0123] Furthermore, in this example, it is clear that a discriminant that uses all four elements of the learning data, namely, sepal side length, sepal side width, sepal side length, and petal length, is searched for, and exponent pn that contains at least one 0 in its element is excluded.

[0124] FIG. 18 shows the top 30 in descending order of the rewards (discrimination rates) calculated above. From FIG. 18, the maximum reward (discrimination rate) is 99.3%, and there are four of them. If the rewards (discrimination rates) are in the same order, they are listed in ascending order of the coefficient of variation of the target group and ranked. This allows the power exponent pn with less variation in the individual values ​​of the group of the formula YY of the product of the power values, that is, the robust power exponent pn, to be ranked higher and ranked higher.

[0125] The highest rank in Figure 18 is 99.3% (149 / 150) when pn = (-2, -1, 4, 1), and there is only one misclassification, No. 84. The formula (discriminant AA), threshold, and judgment value are shown in [Equation 3-21] below.

[0126] [Number 3-21] YY=D2 4 *D3 / (D0 2 *D1) Discriminant AA Upper threshold 8.8 Lower threshold 0.2 Judgment value A<0.2, 0.2≦B≦8.8, C>8.8

[0127] Figure 19 shows a graph plotting iris flower number on the horizontal axis and the value of discriminant AA on the vertical axis. It can be seen that versicolor No. 84 was misclassified as virginica.

[0128] Using the discriminant AA obtained by the above procedure, input data for which the classification destination of flowers is unknown can be classified.

[0129] Next, we will explain a method to further improve the discrimination rate. In this example, a discrimination rate of 99.3% (149 / 150) has already been obtained, and the method aims for 100% classification and continues the search.

[0130] First, the concept of classification behind the present invention will be described. Classification involves setting some criteria by a person, creating multiple categories based on the criteria, and placing each item in one of the category frames, which involves arbitrariness. The classification of the Iris flower in this example is not absolute. Since the classification criteria are set by a person, the classification formula is not represented by a single equation based on natural laws as shown in the first and second embodiments, so a majority decision by multiple people, which is one of the behavioral patterns that humans should take, is simulated and incorporated into the classification formula. Below, a method of incorporating majority decision by multiple discriminants into the classification formula using a power-exponential neural network will be described.

[0131] For convenience, the discriminant [Equation 3-21] is expressed as discriminant AA. Furthermore, by defining unknown discriminants AB and AC, the majority decision discriminant can be expressed as the following equation using the MODE function.

[0132] [Number 3-22] Z=MODE(AA,AB,AC)

[0133] In the MODE function of the multiple discriminants [Equation 3-22], for example, when the discrimination result of discriminant AA is virginica (symbol C), the discrimination result of discriminant AB is versicolor (symbol B), and the discrimination result of discriminant AC is versicolor (symbol B), the output of the MODE function Z is versicolor (symbol B). Alternatively, when the discrimination results of discriminant AA, discriminant AB, and discriminant AC are all different or there are multiple maximum numbers, the first maximum number symbol is output. Note that the number of discriminants may be more than one, such as Z=MODE(AA, AB, AC, AD, AE).

[0134] Next, a method for searching the discriminant AB and the discriminant AC will be described with a concrete example.

[0135] One misclassification of the above discriminant AA is when flower No. 84 is mistaken from versicolor (symbol B) to virginica (symbol C). Therefore, the condition for improving the discrimination rate is that discriminant AB must give the correct answer to flower No. 84, but it is acceptable to get other flower numbers wrong, so that a discriminant with a high discrimination rate must be selected. Next, discriminant AC must give the correct answer to the flower numbers misjudged by discriminant AA and discriminant AB, but it is acceptable to get other flower numbers wrong, so that a discriminant with a high discrimination rate must be selected.

[0136] Based on the descending order list of discrimination rates shown in FIG. 18, discriminants AB and AC that meet the above conditions are searched for, and the results are shown in the list in FIG.

[0137] The discrimination rate for pn=(-1, 3, -2, 5) in the first list in Figure 20 was 98.7% (148 / 150), with two misclassifications, No. 134 and 135, where C was mistaken for B. Figure 21 shows a graph with the iris flower number on the horizontal axis and the value of discriminant AB on the vertical axis. Discriminant AB is shown below in [Equation 3-23].

[0138] [Number 3-23] YY / W=D1 3 / (D0*D2 2 *D3 5 ) discriminant AB Upper threshold 21.0 Lower threshold 1.11E-2 Judgment value A>21.0,1.11E-2≦B≦21.0,C<1.11E-2

[0139] The discrimination rate of pn=(-1, 2, 7, -1) in the second list in Figure 20 was 90.7% (136 / 150), with 14 misclassifications, Nos. 102, 107, 114, 115, 120, 122, 124, 127, 128, 139, 142, 143, 146, and 147, mistaking C for B. Figure 22 shows a graph plotting the iris flower number on the horizontal axis and the value of discriminant AC on the vertical axis. Discriminant AC is shown below in [Math 3-24]. Although the discrimination performance of discriminant AC is not good, it is an equation with a sharp perspective in that it can give correct answers where discriminants AA and AB make mistakes.

[0140] [Number 3-24] YY / W=D1 2 *D2 7 / (D0*D3) Discriminant AC Upper threshold 69.3E3 Lower threshold 1.8E3 Judgment value A<1.8E3,1.8E3≦B≦69.3E3,C>69.3E3

[0141] As mentioned above, Figure 23 shows a table of the results of classifying training data for discriminating iris flowers using Z=MODE(AA,AB,AC), which is the majority discriminant [equation 3-22] that utilizes the three discriminants AA [equation 3-21], AB [equation 3-23], and AC [equation 3-24]. The discrimination rate was 100%.

[0142] The combination of the three formulas has the following characteristics. The order of the elements of the exponent pn of each formula includes those with different sign directions (±), and it is a combination of formulas of the product of exponents of power values ​​that use different quadrants with the exponent 0 as the boundary.

[0143] Also, as a discrimination method that does not use majority decision discrimination, a method that includes a means for converting the output values ​​of the formula expressed in the list of Fig. 18 in Patent Document 3 into points (scores) corresponding to the variance or standard deviation of the output values, and a means for adding up the points, and weights the points (scores) of the output of each discriminator so that the discrimination result of the discrimination object based on the added up points (scores) has the highest discrimination rate, can be adopted. In comparison with these methods, the majority decision discrimination method explained in this example has the advantage that the classification formula is simple, and the method in Patent Document 3 does not use a threshold value.

[0144] In other words, the present invention can naturally search for, discover, and combine multiple optimal formulas that can be viewed in different quadrants of power exponents, and present a highly accurate classification formula that is easy for people to understand.

[0145] As shown in the above steps, the machine learning process, data, and model creation methods are transparent. Conventional AI (Artificial Intelligence) and machine learning solutions are often complex and opaque, and there is a concern that those whose processes and creation methods are unclear cannot be trusted when it comes to practical use. The present invention solves such concerns by constructing an exponential neural network that should be able to derive equations, and by preparing and combining the power product equation and learning function as parts of the model equation, it is possible to solve problems that cannot be interpreted by humans and realize transparent AI. [Explanation of symbols]

[0146] 1... Calculation device, 1A... Machine learning device, 1B... Discrimination device, 2... classifier learning unit, 3... learning parameter storage unit, 4... learning data storage unit, 5... learning data processing unit, 6... discrimination result processing unit, 7... discrimination data acquisition unit, 8...learning function storage unit, 20...learning unit, 21...discrimination processing unit, 100D…neural network structure, 110D…input layer, 120D…output layer 130: hidden layer; 131: first hidden node; 132: second hidden node 133: hidden layer input node, 140: transformation layer, 141: learning function node

Claims

1. A computing device that uses a neural network structure including at least an input layer and an output layer to output an output value from the output layer for a plurality of input data (D0, D1, ..., DN) input to the input layer, The input layer is a plurality of exponents (p0, p1, ..., pN) for exponentiating the plurality of input data, respectively, and coefficients of a predetermined learning function are included as learning parameters of the neural network structure; The output layer is A plurality of power values ​​(D0 p0 ,D1 p1 ,…,DN pN ) product (YY0 = D0 p0 *D1 p1 *…*DN pN ) and the learning function (De=g(D0, D1, ..., DN)), outputting the output value (y=f(YY0*De)). Computing device.

2. The plurality of exponents and the coefficient parameters of the learning function as the learning parameters are A parameter that is learned by using a plurality of sets of the input data as learning data, The variation coefficient of the output value (y) output when the plurality of input data as the learning data is input to the input layer is adjusted so as to be small. The computing device of claim 1 .

3. 2. A method for displaying a list of the power exponents in order of the coefficient of variation based on the coefficient of variation of the output value (y) according to claim 1. The computing device of claim 1 .

4. based on the value of the coefficient of variation of the output value (y), outputting and displaying a list of the superiority / inferiority of each type of the learning function in order of the value of the coefficient of variation; The computing device of claim 1 .

5. The neural network structure comprises: further comprising a hidden layer between the input layer and the output layer; The hidden layer is a first hidden node which receives the plurality of input data via a plurality of weighting parameters (w0, w1, ..., wN) as the learning parameters and outputs a target value (YY) defined by the following formula [Mathematical formula 1] to the output layer; a second hidden node to which the plurality of input data are input via the plurality of weighting parameters and a bias parameter (b) as the learning parameter is input, and which outputs an additive operation output (BYA) defined by the following equation [Mathematical Formula 2] to the output layer; The output layer is outputting the output value (y=f(YY,BYA)) based on the target value (YY) and the summation type calculation output (BYA); The computing device of claim 1 . [Equation 1] YY=D0 p0 *D1 p1 *…*DN pN *W0*W1*...*WN*De (=YY0*W0*W1*…*WN*De) [Equation 2] BYA=B*(base) (Σ[n=0→N](wn*pn*dn)) however, Base is a positive number except 1 Dn=base dn (n=0, 1, ..., N) Wn=base wn (n=0, 1, ..., N) B = base b It is.

6. The coefficient of variation is a value defined as a ratio between the average value of the target value YY and the standard deviation defined by the following [Equation 3]: After determining the weighting parameter wn so that the coefficient of variation is minimized, the weighting parameter wn is used to determine the bias parameter B (B=base b ) to calculate , The computing device according to claim 2 . [Equation 3] YY=D0 p0 *D0 p1 *…*DN pN *W0*W1*...*WN*De [Equation 4] BYA=B*(base) (Σ[n=0→N](wn*pn*dn)) however, Base is a positive number except 1 Dn=base dn (n=0, 1, ..., N) Wn=base wn (n=0, 1, ..., N) B = base b

7. After the learning parameters are determined, the second coefficient of variation CV' of ZZ defined by the following output formula [Equation 5] is used as a loss function, and the weighting parameter wn, which is a feature amount, is moved by the gradient descent method to search for the value (loss amount) of the second coefficient of variation CV' that is the minimum value, and the weighting parameter wn is determined. The computing device according to claim 6. [Equation 5] ZZ=f(YY,BYA) ZZ=D0 (p0+w0) *D1 (p1+w1) *…*DN (pN+wN) *De*B*W

8. The plurality of exponents, the plurality of weighting parameters, and the bias parameter as the learning parameters are A parameter that is learned by using a plurality of sets of the input data as the learning data, When a plurality of input data as the learning data are input to the input layer, a difference (|YY-BYA|) between the target value (YY) output from the first hidden node and the additive operation output (BYA) output from the second hidden node is adjusted to be small. The computing device according to claim 5 .

9. The plurality of exponents and coefficients of the learning function as the learning parameters are A parameter that is learned by using a plurality of sets of learning data including a plurality of pieces of input data and teacher data associated with the plurality of pieces of input data, The learning data is adjusted so that a difference between the output value output from the output layer when a plurality of pieces of input data included in the learning data are input to the input layer and teacher data included in the learning data is reduced. The computing device of claim 1 .

10. The plurality of exponents and coefficients of the learning function as the learning parameters are A parameter that is learned by using a plurality of sets of learning data including a plurality of pieces of input data and teacher data associated with the plurality of pieces of input data, The learning data is adjusted so that a difference between the output value output from the output layer when a plurality of pieces of input data included in the learning data are input to the input layer and teacher data included in the learning data is reduced. The computing device according to claim 5 .

11. The plurality of power values ​​(D p0 ,D1 p1 ,…,DN pN ) product (YY0 = D0 p0 *D1 p1 *…*DN pN ) and the first equation using the learning function (De=g(D0, D1, ..., DN)), creating a second equation in which the part corresponding to the input data is expressed by variables and constant terms, and presenting the second equation to a user; A computing device according to any one of claims 1 to 10.

12. An integrated circuit constituting the neural network structure used by the computing device according to any one of claims 1 to 10, comprising: an input / output unit constituting the input layer and the output layer; A storage unit that stores the learning parameters; a calculation unit that performs a calculation to output the output value from the output layer based on the plurality of input data input to the input layer and the learning parameters stored in the storage unit, Integrated circuits.

13. A machine learning device that generates a learning model having the neural network structure used by the arithmetic device according to any one of claims 1 to 10, A learning data storage unit that stores learning data including at least a plurality of the input data; a learning unit that learns the learning parameters by inputting the learning data stored in the learning data storage unit into the learning model; a learning parameter storage unit that stores the learning parameters as a learning result by the learning unit; Machine learning device.

14. A discrimination device that outputs a discrimination result for discrimination data by using the learning model generated by the arithmetic device according to any one of claims 1 to 10, A discrimination data acquisition unit that acquires the discrimination data; a discrimination processing unit that inputs the discrimination data acquired by the discrimination data acquisition unit into the learning model and outputs the discrimination result based on the output value from the learning model, Discrimination device.

15. A method for searching for a function that is valid for a relationship between data in a group of objects to be classified, using the calculation device according to any one of claims 1 to 10, A discrimination device that classifies an unknown object to be classified by inputting data of the unknown object to be classified into the function.

16. selecting a plurality of discriminants having different characteristics derived by the arithmetic device according to any one of claims 1 to 10, based on the discrimination performance of the discriminant and the value of the coefficient of variation; A classification device that classifies unknown objects by using the plurality of discriminants.

17. an equation storage unit that stores the second equation derived by the arithmetic device according to claim 10; a calculation unit that calculates an output for an input value using the second equation; An equation utilizing device comprising:

18. A computing method using a computing device that operates by using a neural network structure including at least an input layer and an output layer to output an output value from the output layer for a plurality of input data (D0, D1, ..., DN) input to the input layer, comprising: inputting the plurality of input data (D0, D1, ..., DN) to the input layer having a plurality of exponents (p0, p1, ..., pN) for exponentiating the plurality of input data respectively corresponding to the plurality of input data and coefficients of a predetermined learning function as learning parameters of the neural network structure; The arithmetic unit, from the output layer, A plurality of power values ​​(D0 p0 ,D1 p1 ,…,DN pN ) product (YY0 = D0 p0 *D1 p1 *…*DN pN ) and the learning function (De=g(D0, D1, ..., DN)), the output value (y=f(YY0*De)) is output based on the product of the learning function (De=g(D0, D1, ..., DN)). Calculation method.

19. The plurality of exponents and the coefficient parameters of the learning function as the learning parameters are A parameter that is learned by using a plurality of sets of the input data as learning data, The arithmetic device adjusts the value of a coefficient of variation of the output value (y) output when the plurality of input data as the learning data is input to the input layer so as to be small.

20. The method of claim 18.

20. the calculation device outputs and displays a list of the superiority / inferiority order of the exponents in order of the value of the coefficient of variation based on the value of the coefficient of variation of the output value (y); 20. The method of claim 18.

21. the calculation device outputs and displays a list of the superiority / inferiority ranking of the types of the statistical branching functions in order of the values ​​of the coefficients of variation based on the values ​​of the coefficients of variation of the output value (y).

20. The method of claim 18.

22. The neural network structure comprises: further comprising a hidden layer between the input layer and the output layer; The hidden layer is a first hidden node which receives the plurality of input data via a plurality of weighting parameters (w0, w1, ..., wN) as the learning parameters and outputs a target value (YY1) defined by the following formula [Mathematical formula 1] to the output layer; a second hidden node to which the plurality of input data are input via the plurality of weighting parameters and a bias parameter (b) as the learning parameter is input, and which outputs an additive operation output (BYA) defined by the following equation [Mathematical Formula 2] to the output layer; The output layer is outputting the output value (y=f(YY1,BYA)) based on the target value (YY1) and the summation type calculation output (BYA); 20. The method of claim 18.

23. The coefficient of variation is a value defined as a ratio between the average value of the target value YY and the standard deviation defined by the following [Equation 3]: The calculation device determines a weighting parameter wn so that the coefficient of variation is minimized, and then uses the weighting parameter wn to determine B (B=base b ) by counting backwards.

20. The method of claim 19. [Equation 3] YY=D0 p0 *D0 p1 *…*DN pN *W0*W1*...*WN*De [Equation 4] BYA=B*(base) (Σ[n=0→N](wn*pn*dn)) however, Base is a positive number except 1 Dn=base dn (n=0, 1, ..., N) Wn=base wn (n=0, 1, ..., N) B = base b

24. After determining the learning parameters, the arithmetic device further determines a weighting parameter wn by determining a second coefficient of variation CV' of ZZ defined by the following output formula [Equation 5] as a loss function, and by moving a weighting parameter wn, which is a feature amount, by a gradient descent method to search for a value (amount of loss) of the second coefficient of variation CV' that is a minimum value, and determining the weighting parameter wn.

24. The method of claim 23. [Equation 5] ZZ=f(YY,BYA) ZZ=D0 (p0+w0) *D1 (p1+w1) *…*DN (pN+wN) *De*B*W

25. The plurality of exponents, the plurality of weighting parameters, and the bias parameter as the learning parameters are A parameter learned by using a plurality of sets of the input data as the learning data, the arithmetic device adjusts a difference (|YY1-BYA|) between the target value (YY1) output from the first hidden node and the additive arithmetic output (BYA) output from the second hidden node when a plurality of input data as the learning data are input to the input layer so as to become small; 23. The method of claim 22.

26. The plurality of exponents and coefficients of the learning function as the learning parameters are A parameter that is learned by using a plurality of sets of learning data including a plurality of pieces of input data and teacher data associated with the plurality of pieces of input data, the arithmetic device adjusts the difference between the output value output from the output layer when a plurality of the input data included in the learning data are input to the input layer and teacher data included in the learning data so as to be small.

20. The method of claim 18.

27. The plurality of exponents and coefficients of the learning function as the learning parameters are A parameter that is learned by using a plurality of sets of learning data including a plurality of pieces of input data and teacher data associated with the plurality of pieces of input data, the arithmetic device adjusts the difference between the output value output from the output layer when a plurality of the input data included in the learning data are input to the input layer and teacher data included in the learning data so as to be small.

23. The method of claim 22.

28. The plurality of power values ​​(D p0 ,D1 p1 ,…,DN pN ) product (YY0 = D0 p0 *D1 p1 *…*DN pN) and the first equation using the learning function (De=g(D0, D1, ..., DN)), creating a second equation in which the part corresponding to the input data is expressed by variables and constant terms, and presenting the second equation to a user; 28. A method according to any one of claims 18 to 27.

Citation Information

Patent Citations

  • Arithmetic apparatus, integrated circuit, machine learning apparatus, and discrimination apparatus

    JP2022161099A

  • Battery model construction method and battery degradation prediction device

    JP2023018289A

  • Learning method and device for neural network

    JP1995141315A

  • Method for operating neural network and data classification system

    JP2021124979A

  • Hierarchical neural network device, learning method for determination device, and determination method

    WO2015118686A1