Learning method, learning system and learning program

JP7567940B2Active Publication Date: 2024-10-16NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022575008
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-15
Publication Date
2024-10-16
Estimated Expiration
2041-01-15

Smart Images

  • Figure 0007567940000006
    Figure 0007567940000006
  • Figure 0007567940000007
    Figure 0007567940000007
  • Figure 0007567940000008
    Figure 0007567940000008
Patent Text Reader

Abstract

This learning method comprises each of the following steps. A shuffling step, in which learning data pieces that are arranged in a time series are acquired, and the learning data pieces are rearranged according to an order which is different from the order of the time series. A learning step, in which an acoustic model is learned using the learning data pieces that were rearranged in the shuffling step.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a learning method, a learning system, and a learning program. [Background technology]

[0002] In recent years, speech recognition, which converts speech information into text, has been used in corporate contact centers, meeting record systems, etc. The use cases for speech recognition have become very wide, and there are various ways to provide it, including cloud-based services that anyone can use.

[0003] To realize speech recognition, it is generally necessary to train an acoustic model or a language model according to the usage scenario. An acoustic model is a model that links the sound characteristics of a voice with phoneme information. In recent years, the accuracy of speech recognition has been improved by training an acoustic model using a Deep Neural Network (DNN) (see Non-Patent Document 1).

[0004] Acoustic model training involves preparing pairs of speech feature sequences and phoneme sequences for the usage scenario, and learning the relationship between the features and phoneme types for each frame. Neural networks of various structures can be used for the DNNs used to train speech models, but the most basic model is a network using a fully connected layer or a convolutional neural network. In a network using a fully connected layer or a convolutional neural network, several frames before and after a certain frame are used as input to determine the phoneme of that frame. For example, the several frames before and after a certain frame could be 5 frames before and after the frame, for a total of 11 frames. [Prior art documents] [Non-patent literature]

[0005] [Non-Patent Document 1] Tara N. Sainath, Abdel-rahman Mohamed, Brian Kingsbury, Bhuvana Ramabhadran, “DEEP CONVOLUTIONAL NEURAL NETWORKS FOR LVCSR”, 2013 IEEE International Conference on Acoustics, Speech and Signal Processing, 26-31 May 2013. Summary of the Invention [Problem to be solved by the invention]

[0006] However, in order to perform learning according to the usage scenario, it is necessary to learn the relationship between feature sequences and phoneme sequences in the acoustic model, and the feature sequences and phoneme sequences often contain confidential information or personal information in the usage scenario. Hereinafter, personal information is also collectively referred to as confidential information. When considering usage patterns such as cloud-based services, uploading feature sequences and phoneme sequences containing confidential information to a cloud system poses the risk of information leakage.

[0007] For example, in the training data used in training conventional acoustic models, the speech features are arranged in the original time series, and if the training data is leaked, there is a risk that confidential information contained in the features can be restored by performing speech recognition using those features. In addition, the state numbers of the phonemes are also arranged in the original time series, so that it is possible to convert the state numbers into phoneme strings, and confidential information can be restored.

[0008] The present invention has been made in view of the above, and has an object to improve the safety of model training for speech recognition. [Means for solving the problem]

[0009] In order to solve the above-mentioned problems and achieve the object, the method includes a shuffling step of acquiring training data arranged in chronological order and rearranging the training data in an order different from the chronological order, and a learning step of training an acoustic model using the training data rearranged by the shuffling step. Effect of the Invention

[0010] According to the present invention, it is possible to improve the safety of model training for speech recognition. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a block diagram of a learning system according to the first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of the learning database. [Diagram 3] FIG. 3 is a diagram illustrating an example of the shuffled learning database. [Figure 4] FIG. 4 is a flowchart of the acoustic model learning process performed by the learning system according to the first embodiment. [Diagram 5] FIG. 5 is a block diagram of a learning system according to the second embodiment. [Figure 6] FIG. 6 is a diagram illustrating an example of a computer that executes a learning program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an embodiment of the learning method, learning system, and learning program disclosed in the present application will be described in detail with reference to the drawings. Note that the learning method, learning system, and learning program disclosed in the present application are not limited to the following embodiment.

[0013] [First embodiment] [Learning System] FIG. 1 is a block diagram of a learning system according to the first embodiment. As shown in FIG. 1, the learning system 1 according to the present embodiment includes a preprocessing device 10 and a learning device 20. The preprocessing device 10 and the learning device 20 are connected via a network such as the Internet. The learning device 20 is, for example, a computer that provides an acoustic recognition service located in a cloud. The preprocessing device 10 is a user's computer that uses the acoustic recognition service provided by the learning device 20, provides learning data to the learning device 20, causes the learning device 20 to create a trained acoustic model 24, and uses the acoustic recognition service using the trained acoustic model 24. The preprocessing device 10 can handle confidential information, but it is preferable that the learning device 20 performs processing while concealing the confidential information.

[0014] [Pretreatment device] The following describes the pre-processing device 10. The pre-processing device 10 includes a learning database 11, a shuffle unit 12, and a noise addition unit 13, as shown in FIG.

[0015] The training database 11 is a database that holds training data for performing machine learning on the acoustic model 24. Fig. 2 is a diagram illustrating an example of the training database.

[0016] 2, the training database 11 according to this embodiment has I audio files, each having a duration Ti. In the training database 11, feature quantities x i(t) and phoneme state numbers y i(t) for each time t (t=0, 1, 2, . . . , Ti-1) are registered for each audio file. The phoneme state numbers are an example of phoneme labels.

[0017] Returning to Fig. 1, the explanation will be continued. The shuffler 12 assigns a new data number j that is uniquely determined regardless of the data number or time to the feature amount and phoneme number registered in the training database 11. In this way, the shuffler 12 changes the order in which the training data is arranged from the order in which it was registered in the training database 11. In other words, the shuffler 12 obtains training data arranged in chronological order and rearranges the training data in an order different from the chronological order.

[0018] For example, the shuffler 12 reconstructs the database by assigning new data numbers to the features and phoneme numbers as follows: Specifically, the shuffler 12 determines the feature X(j) and phoneme state number Y(j) for the new data number j as expressed by the following formula (1).

[0019]

number

[0020] L is an integer equal to or greater than 0, and is a parameter indicating the length of time surrounding the time used to determine the phoneme at the time. For example, the shuffle unit 12 assigns a value such as L=5. Here, when tL in formula (1) is smaller than 0, the shuffle unit 12 sets xi(tL)=0 or xi(tL)=xi(0). When t+L is equal to or greater than Ti, the shuffle unit 12 sets xi(t+L)=0 or xi(t+L)=xi(Ti-1).

[0021] The shuffle unit 12 determines the feature X(j) and the phoneme state number Y(j) for all the learning data of data number i (1, 2, . . . , I) registered in the learning database 11 using the formula (1). At this time, the shuffle unit 12 repeats the determination of the feature X(j) and the phoneme state number Y(j) using the formula (1) for all the times t (0, 1, 2, . . . , T) for each learning data of data number i. In this case, the shuffle unit 12 generates a new database by randomly assigning a unique new data number j for each time t to the feature X around the time t and the phoneme state number at the time t in the learning database 11. Thereafter, the shuffle unit 12 outputs the generated new database to the noise addition unit 13.

[0022] The noise adding unit 13 receives an input of a new database in which learning data having a new data number j is registered from the shuffle unit 12. The noise adding unit 13 adds minute noise having an amount of information that makes it impossible to restore the feature amount by rearranging the data to each feature amount registered in the acquired new database. In this way, the noise adding unit 13 makes it impossible to restore the feature amount in a binary manner even if information on the feature amount at each time t and its surroundings is used. Specifically, the noise adding unit 13 adds minute noise to the feature amount using the following formula (2).

[0023]

number

[0024] Here, ε represents minute noise, and |X(j)| is the absolute value of the feature quantity X(j). For example, ε is expressed by the following formula (3) using σ representing a minute value.

[0025]

number

[0026] Here, N(ε|0,σ) represents a normal distribution with mean 0 and variance σ. σ can be set based on the variation range within the same phoneme of speech.

[0027] The noise adding unit 13 repeatedly adds noise to the feature X using formula (2) for all learning data with data number j. In this way, the noise adding unit 13 adds noise to the feature to an extent that the feature cannot be restored by rearranging the data, making it difficult to find a feature whose binary matches perfectly using the feature at the time corresponding to the learning data with data number j and its surrounding features. This makes it difficult to restore the original data. The noise adding unit 13 transmits the database in which noise has been added to the registered feature to the learning device 20, and stores it as the shuffled learning database 21.

[0028] [Learning device] Next, a description will be given of the learning device 20. The learning device 20 includes a shuffled learning database 21, a learning data selection unit 22, a learning unit 23, and an acoustic model 24, as shown in FIG.

[0029] 3 is a diagram showing an example of the shuffled learning database. In the shuffled learning database 21, as learning data of new data number j determined by the shuffle unit 12, data in which noise is added to features around time t corresponding to the learning data and the state number of the phoneme at time t are registered.

[0030] The learning data selection unit 22 randomly selects data number j. Then, the learning data selection unit 22 acquires learning data of data number j from the learning data held in the shuffled learning database 21. Then, the learning data selection unit 22 outputs the acquired learning data to the learning unit 23. The learning data selection unit 22 repeats the selection of learning data from the shuffled learning database 21 and output to the learning unit 23 until learning by the learning unit 23 is completed.

[0031] The learning unit 23 receives an input of learning data from the learning data selection unit 22. The learning unit 23 uses the feature X(j) and the phoneme state number Y(j) included in the acquired learning data to train the acoustic model 24. The learning unit 23 can train the acoustic model 16 by general training.

[0032] For example, when performing learning based on the Cross Entropy criterion, the learning unit 23 converts the state number Y(j) into a OneHot vector, and updates the parameters of the acoustic model 24 based on the loss function shown in the following equation (4).

[0033]

number

[0034] Here, λ represents the acoustic model 24. Furthermore, Y(j)c is the c-th element when Y(j) is a OneHot vector. Furthermore, p(Y(j)|X(j), λ)c represents the probability that the feature X(j) is Y(j).

[0035] The learning unit 23 acquires learning data from the learning data selection unit 22 and repeats learning of the acoustic model 24 using the acquired learning data until the update of the acoustic model 24 converges. That is, the learning unit 23 trains the acoustic model 24 using the learning data rearranged by the shuffle unit 12. Thereafter, when the update of the acoustic model 24 converges, the learning unit 23 ends the learning of the acoustic model 24.

[0036] A fully connected layer or a Convolutional Neural Network (CNN) can be used as the acoustic model 24. The trained acoustic model 24 is used for voice recognition services on the cloud, etc.

[0037] [Learning process procedure] Next, the flow of the learning process of the acoustic model 24 by the learning system 1 according to the present embodiment will be described with reference to Fig. 4. Fig. 4 is a flowchart of the learning process of the acoustic model by the learning system according to the first embodiment.

[0038] The shuffler 12 randomly selects a data number from the learning database 11, and randomly determines a time in the learning data having the selected data number. Next, the shuffler 12 acquires the peripheral features at the determined time of the learning data of the selected data number and the state number at that time. The shuffler 12 then assigns a new data number j that is uniquely determined regardless of the data number or time to the acquired features and phoneme numbers. By repeating the above process, the shuffler 12 acquires the peripheral features and state numbers at each time for each data number from the learning database 11, and assigns new data numbers to each to generate a new database (step S1).

[0039] The noise addition unit 13 receives an input of a new database in which the order of the learning data has been shuffled from the shuffle unit 12. Next, the noise addition unit 13 adds a small amount of noise to each feature amount registered in the acquired new database to generate a shuffled learning database 21 (step S2).

[0040] The learning data selection unit 22 randomly selects a data number, and then acquires the learning data of the selected data number from the learning data held in the shuffled learning database 21 (step S3).

[0041] The learning unit 23 receives the input of the learning data from the learning data selection unit 22. Then, the learning unit 23 executes learning of the acoustic model 24 by using the feature X(j) and the phoneme state number Y(j) included in the acquired learning data (step S4).

[0042] Thereafter, the learning unit 23 determines whether or not the update of the acoustic model 24 has converged (step S5). If the update of the acoustic model 24 has not converged (step S5: No), the learning process of the acoustic model 24 returns to step S3.

[0043] On the other hand, if the update of the acoustic model 24 has converged (step S5: Yes), the learning unit 23 ends the learning process of the acoustic model 24.

[0044] In this manner, the acoustic model learning process by the learning system 1 according to this embodiment includes a shuffling step of acquiring chronologically arranged learning data and rearranging the learning data into an order different from the chronological order, and a learning step of learning the acoustic model 24 using the learning data rearranged by the shuffling step.

[0045] The shuffling process acquires training data having features and phoneme labels, combines the features for a certain period around a specific time with the phoneme label at the specific time to generate new training data, and arranges the new training data in an order different from the chronological order. Also, the training process trains the acoustic model 24 using the new training data.

[0046] [Effects of the learning process according to the first embodiment] As described above, the learning device according to this embodiment randomly selects a data number and a time from a database of training data in which data numbers are assigned in chronological order and features and phoneme state numbers are arranged in chronological order, and creates a new database by combining features around the selected time in the training data with that data number and the phoneme state number at that time as training data and assigning a new data number to them. Furthermore, the learning device creates a shuffled training database by adding noise to each of the features included in each training data in the new database. The learning device then uses the shuffled training database to train an acoustic model.

[0047] As a result, by changing the order of the training data, time series information is eliminated, and since a binary match is difficult due to minute noise, it becomes difficult to restore the confidential information. In other words, even if confidential information is included in the training data when training a voice model, the acoustic feature sequence and phoneme sequence can be converted into a state in which the confidential information cannot be restored, and then the acoustic model can be trained. In this way, by using information from which confidential information cannot be restored, the acoustic model can be trained while reducing the risk of information leakage. Therefore, it is possible to improve the security of model training for speech recognition.

[0048] [Second embodiment] 5 is a block diagram of a learning system according to the second embodiment. A preprocessing device 10 of a learning system 1 according to this embodiment differs from that of the first embodiment in that it adds noise generated from a prepared acoustic model. The preprocessing device 10 according to this embodiment has a base acoustic model 14 in addition to the components of the first embodiment. In the following description, the functions of the components that are the same as those of the first embodiment will not be described.

[0049] [Learning System] The base acoustic model 14 is an acoustic model that has been trained separately in advance, and can be generated by having the training selection unit 15 and the training unit 23 train using other training data.

[0050] The noise addition unit 13 adds noise to the feature quantity taking into consideration the voice fluctuation by using the base acoustic model 14. Specifically, the noise addition unit 13 adds noise to the feature quantity by using the following formula (5) for all learning data to which data number j is assigned.

[0051]

number

[0052] Here, ε represents minute positive noise, and the function in parentheses of ε is the value obtained by differentiating the loss function Loss with respect to x and inputting θ, which corresponds to X(j), Y(j), and the base acoustic model 14. The function in parentheses of ε is a function obtained by differentiating the loss function with respect to the elements of each feature, so that if it is positive, the loss function becomes larger, and if it is negative, the loss function becomes smaller. An increase in the loss function means that the model deviates from a model that takes voice variability into account, and a decrease in the loss function means that the model approaches a model that takes voice variability into account.

[0053] The noise adding unit 13 adds noise to the feature quantity in a direction that reduces the loss function in equation (5). This allows the noise adding unit 13 to add noise in a direction that does not deviate from the fluctuation of the voice.

[0054] In this way, the learning process of the acoustic model 24 by the learning system 1 according to the second embodiment further includes a noise addition step of generating minute noise having an amount of information that cannot be restored to a chronologically arranged state even if the training data is rearranged, and adding the noise to the training data rearranged in the shuffling step. More specifically, the noise addition step generates noise that does not deviate from the fluctuations of the voice based on the base acoustic model 14 created in advance.

[0055] [Effects of the learning process according to the second embodiment] As described above, the learning device according to this embodiment uses a prepared acoustic model to add noise to features so as to reduce the loss function. This allows the learning device to add noise in a direction that does not deviate from the fluctuations of the voice, making it possible to reduce the deterioration of the accuracy of the voice recognition caused by the addition of noise. In other words, by adding fluctuations that are common in voice as noise, it is possible to suppress the deterioration of the accuracy of the voice recognition while training an acoustic model that reduces the risk of information leakage. This makes it possible to maintain the accuracy of the voice recognition and improve the safety of model training for voice recognition.

[0056] [System configuration, etc.] In addition, each component of each device shown in the figure is a functional concept, and does not necessarily have to be physically configured as shown in the figure. In other words, the specific form of distribution and integration of each device is not limited to that shown in the figure, and all or a part of them can be functionally or physically distributed or integrated in any unit according to various loads, usage conditions, etc. In particular, it is possible to combine the preprocessing device 10 and the learning device 20 to configure one learning device. Furthermore, each processing function performed by each device can be realized in whole or in any part by a CPU (Central Processing Unit) and a program analyzed and executed by the CPU, or can be realized as hardware using wired logic.

[0057] Furthermore, among the processes described in each embodiment, all or part of the processes described as being performed automatically can be performed manually, or all or part of the processes described as being performed manually can be performed automatically by a known method. In addition, the information including the processing procedures, control procedures, specific names, various data and parameters shown in the above documents and drawings can be changed arbitrarily unless otherwise specified.

[0058] [program] As an embodiment, the preprocessing device 10 and the learning device 20 can be implemented by installing a display control program that executes the above information processing as package software or online software on a desired computer. For example, the above display control program can be executed by an information processing device to function as the preprocessing device 10 or the learning device 20. The information processing device here includes desktop or notebook personal computers. In addition, the information processing device also includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handy-phone Systems), as well as slate terminals such as PDAs (Personal Digital Assistants).

[0059] The preprocessing device 10 and the learning device 20 can also be implemented as a management server device that provides services related to the above management processing to a client, the client being a terminal device used by a user. For example, the management server device is implemented as a server device that receives a configuration input request and provides a management service for inputting a configuration. In this case, the management server device may be implemented as a Web server, or may be implemented as a cloud that provides services related to the above management processing by outsourcing.

[0060] 6 is a diagram showing an example of a computer that executes a learning program. The computer 1000 has, for example, a memory 1010 and a CPU 1020. The computer 1000 also has a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. Each of these components is connected by a bus 1080.

[0061] The memory 1010 includes a read only memory (ROM) 1011 and a random access memory (RAM) 1012. The ROM 1011 stores a boot program such as a basic input output system (BIOS). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.

[0062] The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, a learning program that specifies each process of the preprocessing device 10 or the learning device 20 having the same function as the preprocessing device 10 or the learning device 20 is implemented as a program module 1093 in which a computer-executable code is written. The program module 1093 is stored, for example, in the hard disk drive 1090. For example, a program module 1093 for executing a process similar to the functional configuration in the preprocessing device 10 or the learning device 20 is stored in the hard disk drive 1090. The hard disk drive 1090 may be replaced by an SSD (Solid State Drive).

[0063] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in the memory 1010 or the hard disk drive 1090. Then, the CPU 1020 reads out the program module 1093 or the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary, and executes the processing of the above-described embodiment.

[0064] Note that the program module 1093 and the program data 1094 are not limited to being stored in the hard disk drive 1090, but may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and the program data 1094 may be stored in another computer connected via a network (such as a local area network (LAN) or wide area network (WAN)). The program module 1093 and the program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070. [Explanation of symbols]

[0065] 1. Learning System 10 Pretreatment device 11 Learning Database 12 Shuffle Club 13 Noise Addition Section 14 Base Acoustic Model 20 Learning Device 21 Shuffled training database 22 Learning Data Selection Unit 23 Learning Department 24 Acoustic Model

Claims

1. A shuffling process for acquiring training data arranged in a time series having features and phoneme labels, generating new training data by combining the features for a certain period around a specific time with the phoneme label at the specific time, and rearranging the new training data in an order different from the order of the time series; a learning step of learning an acoustic model using the new training data rearranged by the shuffling step; A learning method comprising:

2. a shuffling step of acquiring learning data arranged in chronological order and rearranging the learning data in an order different from the order of the chronological order; a noise adding step of generating minute noise having an amount of information that cannot be restored to a state arranged in time series even if the learning data is rearranged, and adding the noise to the learning data rearranged in the shuffling step; a learning step of learning an acoustic model using the training data rearranged in the shuffling step and to which the minute noise has been added in the noise adding step; A learning method comprising:

3. 3. The learning method according to claim 2, wherein the noise adding step generates the noise based on a base acoustic model created in advance.

4. 4. The learning method according to claim 2, wherein the noise adding step generates the noise so that the noise does not deviate from the fluctuation of the voice.

5. A shuffling unit that acquires training data arranged in a time series having features and phoneme labels, combines the features for a certain period around a specific time with the phoneme label at the specific time to generate new training data, and rearranges the new training data in an order different from the order of the time series; a learning unit that learns an acoustic model using the new training data rearranged by the shuffle unit; A learning system comprising:

6. a shuffling unit that acquires learning data arranged in chronological order and rearranges the learning data in an order different from the order of the chronological order; a noise addition unit that generates minute noise having an amount of information that cannot be restored to a state arranged in time series even if the learning data is rearranged, and adds the noise to the learning data rearranged by the shuffle unit; a learning unit that performs learning of an acoustic model using the training data rearranged by the shuffle unit and to which the minute noise has been added by the noise adding unit; A learning system comprising:

7. A learning program for causing a computer to execute the processing according to the method of claims 1 to 4.

Citation Information

Patent Citations

  • Method, device, and program for generating sentence list for phoneme model learning

    JP2004252167A

  • Label creation device for acoustic model learning, and method and program thereof

    JP2011248001A

  • Acoustic model regulator and program

    JP2015225296A

  • Recurrent type neural network learning method, computer program for the same, and voice recognition device

    JP2016212273A

  • Method of learning acoustic model, and computer program

    JP2019078857A