Pattern recognition device, learning method, and program

The pattern recognition device enhances neural network generalization and learning efficiency by using fluctuation noise with varying distributions for re-learning, addressing low performance and long convergence times.

JP2024141408AActive Publication Date: 2024-10-10NEC PLATFROMS LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023053030
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-10
Estimated Expiration
2043-03-29

AI Technical Summary

Technical Problem

Existing neural network models face issues with low generalization performance and prolonged learning times due to locally optimal solutions and gradient vanishing during optimization, particularly in multi-layered models.

Method used

A pattern recognition device and method that involves generating fluctuation noise based on predetermined and varying distributions to optimize an error function, followed by re-learning using different noise distributions to enhance generalization ability.

Benefits of technology

Improves the generalization performance of neural network models by escaping overfitting states and reducing learning times through optimized re-learning with fluctuation noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a pattern recognition device, a learning method, and a program that contribute to further improvement in generalization performance after learning convergence of a neural network model.SOLUTION: A pattern recognition device includes: a learning data acquisition unit configured to acquire a set of input data including a plurality of patterns and teacher data; a fluctuation noise generation unit configured to generate fluctuation noise that is a value based on a predetermined distribution; an error function value acquisition unit configured to acquire a value of an error function that shows deviations between output data based on the fluctuation noise and the input data and teacher data; and a learning unit configured to perform learning on a learning model for pattern recognition by optimizing the error function. The fluctuation noise generation unit generates another fluctuation noise based on other distribution to be used after the learning is completed by optimization. The learning unit performs relearning using other fluctuation noise and the learning data.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 pattern recognition device, a learning method, and a program having high generalization ability. [Background technology]

[0002] In the past, in the training of acyclic hierarchical (feedforward) neural network models, gradient methods have often been used to optimize the error function, and the steepest descent method is one of these methods. However, there are known problems with the optimization process, such as falling into a local optimum. In addition, the activation function must be differentiable, and when optimization is performed using the backpropagation method, which involves differentiation, gradient vanishing can occur when the model becomes multi-layered, and there is a possibility that learning will not progress sufficiently.

[0003] Patent Document 1 discloses a fluctuation-driven learning method. The fluctuation-driven learning method is a technique in which learning is carried out by adding fluctuation noise having a predetermined distribution to the activation value of an activation function. This learning method makes it possible to learn a model that mixes a differentiable continuous function and a discontinuous function such as a threshold function. In addition, since it does not require differentiation processing or backpropagation processing, it has the advantage that there is no problem of learning not progressing due to disappearance of the gradient.

[0004] Patent Document 2 discloses a learning method that changes the variance of the fluctuation noise value added to the activation value of the activation function during model learning, in order to address problems with the fluctuation-driven learning method, such as low generalization performance of the model after learning and the long learning time required for optimization to converge. Specifically, the method discloses a process in which the variance of the fluctuation noise value to be added is reduced when the value of the error function calculated during learning has changed by more than a predetermined value from the value at the time of previous learning, and the variance is increased when the change in value is equal to or less than the predetermined value. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] Japanese Patent Application Publication No. 8-235146 [Patent Document 2] JP 2021-189532 A Summary of the Invention [Problem to be solved by the invention]

[0006] The disclosures of the above-mentioned prior art documents are incorporated herein by reference. The following analysis has been carried out by the present inventors.

[0007] As described above, Patent Document 2 discloses a solution to problems such as the low generalization performance of the model after training and the long training time until optimization converges, in which the variance value of the fluctuation noise is changed during model training.

[0008] In response to this, a method of performing relearning after learning has been completed in order to improve generalization ability can be considered, but such a method has not yet been disclosed in prior art documents.

[0009] Therefore, in one aspect of the present invention, an object is to provide a pattern recognition device, a learning method, and a program that contribute to further improving generalization performance after the learning convergence of a neural network model. [Means for solving the problem]

[0010] According to a first aspect of the present invention, there is provided a pattern recognition device comprising: a learning data acquisition unit that acquires a pair of input data including a plurality of patterns and teacher data; a fluctuation noise generation unit that generates a fluctuation noise which is a value based on a predetermined distribution; an error function value acquisition unit that acquires a value of an error function that indicates a deviation between output data based on the fluctuation noise and the input data and the teacher data; and a learning unit that performs learning of a learning model for pattern recognition by optimizing the error function, wherein the fluctuation noise generation unit generates another fluctuation noise based on a different distribution after learning is completed by optimization, and the learning unit performs re-learning using the another fluctuation noise and learning data.

[0011] According to a second aspect of the present invention, there is provided a learning method for causing a computer to execute the following steps, the learning method including: a step of acquiring a pair of input data including a plurality of patterns and teacher data; a step of generating fluctuation noise which is a value based on a predetermined distribution; a step of acquiring a value of an error function which indicates a deviation between output data based on the fluctuation noise and the input data and the teacher data; a step of learning a learning model for pattern recognition by optimizing the error function; a step of generating another fluctuation noise based on a different distribution after learning is completed by optimization; and a step of relearning using the another fluctuation noise and learning data.

[0012] According to a third aspect of the present invention, there is provided a program for causing a computer to execute the following processes: a process of acquiring a pair of input data including a plurality of patterns and teacher data; a process of generating fluctuation noise which is a value based on a predetermined distribution; a process of acquiring a value of an error function which indicates the deviation between output data based on the fluctuation noise and the input data and the teacher data; a process of learning a learning model for pattern recognition by optimizing the error function; a process of generating another fluctuation noise based on a different distribution after learning is completed by optimization; and a process of relearning using the another fluctuation noise and learning data.

[0013] The program can be recorded on a computer-readable storage medium. The storage medium can be a non-transient medium such as a semiconductor memory, a hard disk, a magnetic recording medium, an optical recording medium, etc. The present invention can also be embodied as a computer program product. Effect of the Invention

[0014] According to each aspect of the present invention, there is provided a pattern recognition device, a learning method, and a program that contribute to further improving generalization performance after the learning convergence of a neural network model. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing an example of a configuration of a pattern recognition device according to an embodiment; [Diagram 2] 4 is a flowchart showing a process flow in the pattern recognition device of the first embodiment. [Diagram 3] FIG. 1 is a schematic diagram illustrating an example of a hardware configuration of a pattern recognition device according to a first embodiment. [Figure 4] FIG. 11 is a block diagram showing an example of the configuration of a pattern recognition device according to a second embodiment. [Diagram 5] FIG. 11 is a schematic diagram showing a network configuration of a non-cyclic hierarchical neural network in a pattern recognition device according to a second embodiment. [Figure 6] FIG. 11 is a schematic diagram showing an image of input and output of each unit (neuron) of a non-cyclic hierarchical neural network in a pattern recognition device according to a second embodiment. [Figure 7] 10 is a flowchart showing an example of an operation of the pattern recognition device of the second embodiment. [Figure 8] 10 is a flowchart showing an example of an operation of the pattern recognition device of the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] First, an overview of one embodiment will be described. Note that the reference numerals in the drawings are given to each element for convenience as an example to aid in understanding, and the description of this overview is not intended to be limiting in any way.

[0017] 1 is a block diagram showing an example of the configuration of a pattern recognition device according to an embodiment. The pattern recognition device 10 according to the embodiment includes a training data acquisition unit 11, a fluctuation noise generation unit 12, an error function value acquisition unit 13, and a training unit 14.

[0018] The learning data acquisition unit 11 acquires a pair of input data including a plurality of patterns and teacher data. The fluctuation noise generation unit 12 generates fluctuation noise, which is a value based on a predetermined distribution. The error function value acquisition unit 13 acquires a value of an error function indicating the deviation between the teacher data and output data based on the fluctuation noise and the input data. The learning unit 14 optimizes the error function to train a learning model for pattern recognition.

[0019] The fluctuation noise generating unit 12 further generates another fluctuation noise based on another distribution after the learning is completed by optimization. The learning unit 14 further performs re-learning using the other fluctuation noise and learning data.

[0020] In this way, the pattern recognition device 10 of one embodiment optimizes the error function using fluctuation noise, and once learning is completed, re-learning is performed using a different fluctuation noise based on a different distribution, making it possible to learn a model with higher generalization ability.

[0021] [First embodiment] [Device configuration] The pattern recognition device 10 of the first embodiment includes a learning data acquisition unit 11, a fluctuation noise generation unit 12, an error function value acquisition unit 13, and a learning unit 14, as in the previous embodiment.

[0022] Also, as in the first embodiment, the fluctuation noise generation unit 12 generates another fluctuation noise based on another distribution after learning is completed by optimization, and the learning unit 14 performs re-learning using the other fluctuation noise and learning data.

[0023] The feature of this embodiment is that the fluctuation noise generated by the fluctuation noise generating unit 12 and the other fluctuation noise follow a normal distribution, and the variance of the fluctuation noise is σ 2 and the variance of the other fluctuation noise is σ2 2 When σ1 2 <σ2 2 The point is that the above relationship exists.

[0024] The learning data acquisition unit 11 acquires a set of input data including a plurality of patterns and teacher data. The learning data is acquired from a storage area that accumulates the learning data, and sent to the learning unit 14. The acquisition may be performed via a network. Since the pattern recognition device 10 of this embodiment is mainly based on a non-cyclic hierarchical (feedforward) neural network model, the input data and the corresponding teacher data are presented to the learning unit 14.

[0025] The fluctuation noise generating unit 12 generates fluctuation noise, which is a value based on a predetermined distribution. The "fluctuation noise" is noise used in a known fluctuation-driven learning method, and is a random value added to the activation value of each unit of the neural network model constituting the pattern recognition device 10 of this embodiment. The "predetermined distribution" may be, for example, a random value based on a normal distribution.

[0026] As described above, the fluctuation noise generator 12 further generates another fluctuation noise based on another distribution to be used after the learning is completed by optimization. The "another distribution" includes, for example, a distribution having a different variance value even if the normal distribution is the same as the fluctuation noise value according to the normal distribution generated for use in the initial learning.

[0027] In other words, the variance of the fluctuation noise is σ1 2 and the variance of the other fluctuation noise is σ2 2For example, when σ1 2 ≠σ2 2 Furthermore, as described above, σ 2 <σ2 2 The relationship may be as follows:

[0028] The error function value acquisition unit 13 acquires the value of the error function indicating the deviation between the output data based on the fluctuation noise and the input data and the teacher data. "Input data" refers to the input data among the learning data acquired by the learning data acquisition unit 11. The input data is an input vector input to the input layer among the units corresponding to the neurons of the neural network model (learning model) constituting the pattern recognition device 10. "Output data" refers to the output vector output from the output layer among similar units. The error function outputs a value based on the deviation between the teacher data vector and the output vector among the learning data as the error function value. For example, the error function value may be the sum of squares of the difference between the teacher data vector and the output vector.

[0029] The learning unit 14 optimizes the error function to learn the learning model for pattern recognition. "Optimization" means modifying parameters in a direction that minimizes the error function value. Specifically, the unit updates the coupling coefficients between units based on a predetermined update formula, and obtains the coupling coefficient vector that minimizes the error function.

[0030] Furthermore, the learning unit 14 performs re-learning using another fluctuation noise generated by the fluctuation noise generating unit 12 and the learning data. After the learning using the initially generated fluctuation noise has converged, re-learning is performed using another fluctuation noise. As described above, it is desirable to set the variance value of the distribution of the other fluctuation noise to be larger than the variance value of the fluctuation noise used in the initial learning. Furthermore, the learning data used in the re-learning may be different learning data, as long as the teacher data is the same as that used in the initial learning. In other words, it may be different input data other than the learning data used in the initial learning.

[0031] In this way, by increasing the variance value and retraining the learning model, it is possible to overcome the overtrained state of the initially trained model by minimizing the training error, and to aim to improve generalization ability.

[0032] [Processing flow] FIG. 2 is a flowchart showing the process flow of the pattern recognition device 10 of the first embodiment. The pattern recognition device 10 first acquires a pair of input data including a plurality of patterns and teacher data (step S21). Next, a fluctuation noise, which is a value based on a predetermined distribution, is generated (step S22). A value of an error function indicating a deviation between output data based on the fluctuation noise and input data and the teacher data is acquired (step S23). Next, a learning model for pattern recognition is learned by optimizing the error function (step S24). As a result of the learning, it is determined whether the error function value falls below a predetermined value (step S25). If it falls below the predetermined value (step S25, Y), the learning is completed, and another fluctuation noise based on another distribution to be used after the learning is completed by optimization is generated (step S26). If the error function value is equal to or greater than the predetermined value (step S25, N), the process returns to the step of generating the fluctuation noise (step S22) and learning is performed again. When the learning is completed, the value of the error function indicating the deviation between the output data based on another fluctuation noise and input data and the teacher data is acquired again (step S27). Next, re-learning is performed using another fluctuation noise and learning data (step S28). As a result of the learning, it is determined whether the error function value falls below a predetermined value (step S29). If it falls below the predetermined value (step S29, Y), the re-learning is completed and the series of processes ends. On the other hand, if it is equal to or greater than the predetermined value (step S29, N), the process returns to the step of generating another fluctuation noise (step S26) and re-learning is performed again.

[0033] In the process of generating the fluctuation noise (steps S22 and S26), if the value of the error function has increased from the previous learning or re-learning, the variance value (σ 2 and σ22 ) may be adjusted to generate fluctuation noise according to a distribution obtained by decreasing the distribution by a predetermined value.

[0034] [Hardware configuration] Next, a description will be given of the hardware configuration of various devices constituting the pattern recognition device 10 according to the first embodiment. Fig. 3 is a block diagram showing an example of the hardware configuration of the pattern recognition device 10 according to the first embodiment.

[0035] The pattern recognition device 10 can be configured by an information processing device (computer), and has the configuration exemplified in Fig. 3. For example, the pattern recognition device 10 includes a CPU (Central Processing Unit) 31, a memory 32, an input / output interface 33, and a NIC (Network Interface Card) 34 as a communication means, which are interconnected by an internal bus 35.

[0036] However, the configuration shown in Fig. 3 is not intended to limit the hardware configuration of the pattern recognition device 10. The pattern recognition device 10 may include hardware not shown, and may not include the input / output interface 33 as necessary. Furthermore, the number of CPUs and the like included in the pattern recognition device 10 is not intended to be limited to the example shown in Fig. 3, and for example, multiple CPUs may be included in the pattern recognition device 10.

[0037] The memory 32 is a random access memory (RAM), a read only memory (ROM), or an auxiliary storage device (such as a hard disk).

[0038] The input / output interface 33 is a means for interfacing with a display device and an input device (not shown). The display device is, for example, a liquid crystal display, etc. The input device is, for example, a device that accepts user operations such as a keyboard and a mouse.

[0039] The functions of the pattern recognition device 10 are realized by processing modules including a learning data acquisition program, a noise generation program, an error function value acquisition program, a learning program, etc., and activation values ​​corresponding to each neuron stored in the memory 32. The processing modules are realized, for example, by the CPU 31 executing the programs stored in the memory 32. The programs can be downloaded via a network or updated using a storage medium storing the programs. Furthermore, the processing modules may be realized by a semiconductor chip. That is, it is sufficient to have some means for executing the functions performed by the processing modules using some hardware and / or software.

[0040] [Hardware operation] When the pattern recognition device 10 starts its operation, a learning data acquisition program is called from the memory 32 and is executed by the CPU 31. When the program receives learning data (input pattern q and teacher data t) via the NIC 34, the input / output interface 33, etc., it temporarily stores the data in the memory 32. Next, a fluctuation noise generation program is called from the memory 32 and is executed by the CPU 31. The program generates a value based on a predetermined distribution, i.e., a variance σ1 2 , a random vector n1 is generated that follows a normal distribution with mean μ. The generated n is temporarily stored in the memory 32.

[0041] Next, the error function value acquisition program is called from memory 32 and is executed by CPU 31. This program adds vector n1 stored in memory 32 to the activation value of the activation function f of each unit of the learning model. This program inputs an input vector obtained by multiplying an input pattern q of the learning data by a weight w, which is a coupling coefficient, to the input layer of the learning model, and performs forward calculations on this vector in each unit of each unit layer by CPU 31. When an output u is obtained from each unit of the output layer as a result of the calculations, an error function value e, which is the squared error between u and the teacher data t of the learning data stored in memory 32, is calculated by CPU 31.

[0042] Next, the learning program is called from memory 32 and is put into execution state by CPU 31. This program updates the weights w between each unit of the learning model using a predetermined update equation for e (described later). When the update is complete, CPU 31 performs forward calculations again, and calculates the error function value e when an output is obtained from the output layer. If the value of e falls below a predetermined reference value, learning ends. If it is equal to or greater than the predetermined reference value, another input pattern is input again, fluctuation noise is generated, the error function value is calculated, and learning is performed using the learning program.

[0043] Once the learning is completed, the fluctuation noise generation program is executed again, and the CPU 31 performs calculations to calculate the variance σ2 2 (σ2 2 >σ1 2 ), a random number vector n2 that follows a normal distribution with mean μ is generated. Next, the error function value acquisition program and the learning program are executed again, and as described above, the error function value is acquired, and the process for optimizing the error function value is repeated, and re-learning is performed.

[0044] [Effect description] The pattern recognition device 10 of this embodiment optimizes the error function using fluctuation noise and once learning is completed, and then re-learns using another fluctuation noise based on a different distribution, making it possible to learn a model with higher generalization ability. In other words, by increasing the variance value of the fluctuation noise and re-learning the learning model, if the initially learned model is in an overlearned state, it is possible to escape from that state and aim to improve the generalization ability by minimizing the training error.

[0045] [Second embodiment] [composition] 4 is a diagram showing the configuration of a pattern recognition device 10 according to the second embodiment. The pattern recognition device 10 according to the second embodiment includes a processing unit 41 consisting of a CPU, a RAM, and a ROM, a learning data storage unit 42, a neuron output value calculation unit 43, an output data storage unit 44, a correct answer data storage unit 45, a learning error calculation unit 46, and a normal random number generation unit 47, all of which are composed of RAM and ROM.

[0046] [Explanation of operation] In the second embodiment, in the problem of learning a set of patterns, a non-recursive hierarchical neural network is trained using a fluctuation-driven learning method so as to output a teacher signal that corresponds one-to-one to the input learning data.

[0047] The network configuration of the learning model of the acyclic hierarchical neural network is as shown in Figure 5, and the input / output image of each unit (neuron) is as shown in Figure 6. Specifically, the output of a unit containing fluctuation noise is expressed by Equation 1. p represents the learning pattern number, and t represents time.

[0048]

number

[0049] In the formula 1, the following applies:

number

[0050]

number

[0051]

number

[0052] As shown in Equation 2, the activation function of each unit in the pattern recognition device of the second embodiment is a sigmoid function, but is not limited to this. The sigmoid function is a differentiable continuous function, but a tanh function (Hyperbolic tangent function) or a discontinuous ReLU may be used, or a mixture of these may be used.

[0053] Here, the fluctuation noise is n(t), the coupling coefficient is vector w, the input data of pattern p is vector q(p,t), and the time is t. The error function e(p,t) is the squared error expressed by Equation 5.

number

[0054] In formula 5, t k (p) represents the teacher signal corresponding to the output unit k when the input pattern is p. If the fluctuation noise n(t) is a normal random number, the update formula for the coupling coefficient w to reduce the error of Equation 5 is expressed by Equation 6. TIFF2024141408000007.tif6150 is a file of period T p e(p,t), n k (t) and vector q k Represents the average of the product (p,t).

number

[0055] By sequentially updating the coupling coefficient w using Equation 6, the error calculated using Equation 5 can be reduced. In other words, the output of the learning model when learning data is input can be made to approach the teacher signal, and a pair of input learning data and teacher signal can be learned.

[0056] In the conventional technology, the fluctuation noise n k For (t), we use normal random numbers with a probability density function as shown in Equation 7, with variance σ k 2 was set to a fixed value.

number

[0057] 7 and 8 are flowcharts showing an example of the operation of the pattern recognition device in the second embodiment. In FIG. 7 and FIG. 8, variance σ k 2 is written simply as d. First, when the first learning pattern p=1 is given to the learning model, the activation value v(p,t) of all neurons is calculated using Equation 3.

[0058] In addition, n(t) in Equation 3 is the period T p This is the fluctuation noise input to all neurons during the period, and is generated by Gaussian random numbers with a probability density function expressed by Equation 8.

number

[0059] First, in the loop labeled "initial learning" on the left side of the flowchart in Figure 7, learning is performed until the error becomes sufficiently small. When the error becomes sufficiently small, the initial learning ends. After that, the variance of the normal distribution is calculated by the initial learning variance σ k 2 The variance is made larger than the current variance, and subsequent generalization ability improvement learning is performed in the loop labeled "Generalization Ability Improvement Learning" on the left side of the flowchart in Figure 8. If the learning error increases in the generalization ability improvement learning, the variance is made smaller than the current variance, and generalization ability improvement learning is continued. This process prevents the generalization ability from decreasing compared to when the initial learning ended.

[0060] Here, as an example, the variance σ k 2 Consider a small positive value α compared to σ. k 2 +α is used. If σ k 2 If the learning error during generalization improvement training becomes large using the variance of +α, consider other small positive values ​​of γ and change the variance to σ k2 +α-γ, and continue generalization ability improvement learning. Generalization ability improvement learning continues until the learning error value becomes sufficiently small (below a predetermined value).

[0061] In addition, the variance of the generalization ability improvement learning σ k 2 We used a constant α as the initial value of k 2 Alternatively, it may be calculated as shown in Equation 9, where n is a positive value.

number

[0062] Some or all of the above embodiments can also be described as follows, but are not limited to the following. [Form 1] This is the same as the pattern recognition device according to the first aspect described above. [Form 2] The pattern recognition device according to claim 1, wherein the fluctuation noise generated by the fluctuation noise generating unit and the other fluctuation noise follow a normal distribution. [Form 3] The variance of the fluctuation noise is σ1 2 and the variance of the other fluctuation noise is σ2 2 When σ1 2 <σ2 2 A pattern recognition apparatus, preferably of form 2, having the relationship: [Form 4] When the error function value in the error function value acquisition unit increases from the previous learning or re-learning, the fluctuation noise generation unit 2 The pattern recognition device of preferably feature 3 generates fluctuation noise according to a distribution in which the value of [Form 5] Preferably, the pattern recognition device of any one of the first to fourth aspects, wherein the learning section continues learning when the value of the error function is greater than a predetermined error, and ends learning when the value of the error function falls below the predetermined error. [Form 6] This is the same as the learning method related to the second perspective mentioned above. [Form 7] The learning method of preferably form 6, wherein the fluctuation noise and the further fluctuation noise follow a normal distribution. [Form 8] The variance of the fluctuation noise is σ1 2 and the variance of the other fluctuation noise is σ2 2 When σ1 2 <σ2 2 A learning method, preferably of form 7, having the relationship: [Form 9] If the value of the error function increases from the previous training or retraining, σ2 2 Preferably, the learning method of aspect 8 generates fluctuation noise according to a distribution in which the value of [Form 10] This is as per the program related to the third perspective above. Incidentally, like the first embodiment, the tenth embodiment can be expanded into the second to fifth embodiments.

[0063] The disclosures of the above cited patent documents and the like are incorporated herein by reference. Within the framework of the entire disclosure of the present invention (including the scope of claims), modifications and adjustments of the embodiments and examples are possible based on the basic technical ideas. Furthermore, within the framework of the entire disclosure of the present invention, various combinations and selections of the various disclosed elements (including each element of each claim, each element of each embodiment or example, each element of each drawing, etc.) are possible. In other words, the present invention naturally includes various modifications and corrections that a person skilled in the art would be able to make in accordance with the entire disclosure including the scope of claims and the technical ideas. In particular, with regard to the numerical ranges described in this specification, any numerical value or subrange included in the range should be interpreted as being specifically described even if not otherwise specified. [Explanation of symbols]

[0064] 10: Pattern recognition device 11: Learning data acquisition section 12: Fluctuation noise generator 13: Error function value acquisition section 14: Learning Department 31 :CPU(Central Processing Unit) 32: Memory 33: Input / Output Interface 34:NIC(Network Interface Card) 35: Internal bus 41: Processing section 42: Learning data storage unit 43: Neuron output value calculation unit 44: Output data storage unit 45: Correct data storage unit 46: Learning error calculation unit 47: Normal random number generator

Claims

1. A learning data acquisition unit that acquires a set of input data including a plurality of patterns and teacher data; a fluctuation noise generating unit that generates a fluctuation noise that is a value based on a predetermined distribution; an error function value acquisition unit that acquires a value of an error function that indicates a deviation between the output data based on the fluctuation noise and the input data and the teacher data; a learning unit that learns a learning model for pattern recognition by optimizing the error function; having The fluctuation noise generating unit generates another fluctuation noise based on another distribution to be used after the learning is completed by optimization; The learning unit performs re-learning using the different fluctuation noise and learning data. Pattern recognition device.

2. The fluctuation noise generated by the fluctuation noise generating unit and the other fluctuation noise follow a normal distribution.

2. The pattern recognition device according to claim 1.

3. The variance of the fluctuation noise is σ1 2 and the variance of the other fluctuation noise is σ2 2 When σ1 2 <σ2 2 The relationship is 3. The pattern recognition device according to claim 2.

4. When the value of the error function in the error function value acquisition unit increases from that in the previous learning or re-learning, the fluctuation noise generation unit 2 Generate fluctuating noise according to a distribution in which the value of is changed to a smaller value by a predetermined value.

4. The pattern recognition device according to claim 3.

5. 5. The pattern recognition device according to claim 1, wherein the learning section continues learning when the value of the error function is greater than a predetermined error, and ends learning when the value of the error function is less than the predetermined error.

6. A learning method for causing a computer to execute the following steps: A step of acquiring a pair of input data including a plurality of patterns and training data; generating a fluctuation noise having a value based on a predetermined distribution; A step of acquiring a value of an error function indicating a deviation between the output data based on the fluctuation noise and the input data and the teacher data; training a learning model for pattern recognition by optimizing the error function; generating another fluctuation noise based on another distribution to be used after the learning is completed by optimization; performing re-learning using the different fluctuation noise and learning data; Learning methods including:

7. The fluctuation noise and the other fluctuation noise follow a normal distribution. The learning method according to claim 6.

8. The variance of the fluctuation noise is σ1 2 and the variance of the other fluctuation noise is σ2 2 When σ1 2 <σ2 2 The relationship is The learning method according to claim 7.

9. If the value of the error function has increased since the previous learning or re-learning, σ2 2 Generate fluctuating noise according to a distribution in which the value of is changed to a smaller value by a predetermined value. The learning method according to claim 8.

10. A process of acquiring a pair of input data including a plurality of patterns and training data; A process of generating fluctuation noise, which is a value based on a predetermined distribution; A process of acquiring a value of an error function indicating a deviation between the output data based on the fluctuation noise and the input data and the teacher data; A process of learning a learning model for pattern recognition by optimizing the error function; A process of generating a different fluctuation noise based on a different distribution to be used after the learning is completed by optimization; A process of performing re-learning using the different fluctuation noise and learning data; A program for causing a computer to execute the following.

Citation Information

Patent Citations

  • Learning method of probabilistic noncyclic neural network

    JP1996235146A

  • Pattern recognition device, learning method and learning program

    JP2021189532A