Speech recognition model training method, language recognition method and electronic device
By using multi-channel training data and multi-channel simulation data that match actual scenarios in multi-channel speech recognition model training, the problem of insufficient multi-channel data is solved, the model performance is optimized, making it more suitable for actual scenarios, and improves speech quality. recognition effect.
Patent Information
- Application Number
- CN202210177157.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2042-02-25
AI Technical Summary
In the existing technology, the quality and quantity of multi-channel speech data are insufficient, resulting in poor performance of the end-to-end speech recognition model trained based on multi-channel data, and the multi-channel simulation data does not match the actual scenario, resulting in fluctuations in model performance.
By training the neural network model based on predetermined multi-channel training data, multi-channel simulation data matching the actual scenario is obtained, and the single-channel training data is used to amplify the multi-channel simulation data, increasing the quantity and quality of the training data, so that multi-channel simulation data can be obtained. Channel simulation data better matches the actual scene.
It effectively improves the language recognition performance of the multi-channel end-to-end speech recognition model, ensures that the model better matches the actual scene, and improves the training effect.
Smart Images

Figure CN114582327B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic technology, and in particular to a speech recognition model training method, a speech recognition method, a speech recognition model training device, a speech recognition device and an electronic device. Background Art
[0002] For a long time, speech recognition has been based on single-channel training, accumulating a large amount of single-channel data from various devices after front-end processing. However, the quality and quantity of multi-channel speech data are insufficient, resulting in poor training of the current end-to-end model based on multi-channel data training. Summary of the invention
[0003] The present invention provides a speech recognition model training method, a speech recognition method, a speech recognition model training device, a speech recognition device and an electronic device.
[0004] A first aspect of the embodiments of the present disclosure provides a method for training a speech recognition model, comprising:
[0005] Training a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one of the speech data corresponds to one input channel of the neural network model;
[0006] Based on the first model, determining the multi-channel simulation data matching the actual scene from the acquired multi-channel simulation data, wherein the multi-channel simulation data is simulated by predetermined single-channel training data, wherein the single-channel training data at least includes a text label that is the same as the multi-channel training data and a voice data corresponding to the text label, and the plurality of voice data of the multi-channel simulation data is simulated by the voice data of the single-channel training data;
[0007] Based on the multi-channel training data and the multi-channel simulation data matching the actual scene, the first model is trained to obtain a second model.
[0008] In some embodiments, determining, based on the first model, the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data at least includes:
[0009] Acquiring the multi-channel simulation data;
[0010] Based on the first model, determining the confidence of the multi-channel simulation data to obtain the multi-channel simulation data whose confidence meets a predetermined condition;
[0011] The multi-channel simulation data whose confidence meets the predetermined condition is determined to be the multi-channel simulation data matching the actual scene.
[0012] In some embodiments, the predetermined condition includes at least a predetermined threshold;
[0013] The confidence level meets a predetermined condition, which at least includes: the confidence level is greater than the predetermined threshold;
[0014] The step of determining that the multi-channel simulation data whose confidence level meets the predetermined condition is the multi-channel simulation data matching the actual scene includes:
[0015] The multi-channel simulation data having a confidence level greater than the predetermined threshold is determined to be the multi-channel simulation data matching the actual scene.
[0016] In some embodiments, before determining the multi-channel simulation data matching the actual scene from the acquired multi-channel simulation data based on the first model, the method includes:
[0017] Predetermining speech recognition conditions when performing data simulation;
[0018] Based on the single-channel training data, the multi-channel simulation data generated under the speech recognition condition is simulated, wherein the speech recognition condition includes at least one of the following:
[0019] The number of channels of the speech recognition model;
[0020] The relative position of the audio output device to the audio input device;
[0021] The sound source position is predetermined during data simulation; wherein the audio output device and the audio input device can both serve as input channels of the neural network model.
[0022] In some embodiments, the multi-channel simulation data at least includes:
[0023] Reference channel data; the reference channel data is determined to be audio data output by the audio output device;
[0024] Recording channel data; the recording channel data is determined to be the audio data input by the audio input device, wherein the recording channel data at least includes audio data input by two recording channels; one of the audio input devices is used to form a recording channel.
[0025] In some embodiments, the step of determining, based on the first model, the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data at least further comprises:
[0026] Based on the first model, the confidence of the multi-channel simulation data is determined, and the multi-channel simulation data whose confidence does not meet the predetermined condition is filtered out.
[0027] In some embodiments, the determining the confidence of the multi-channel simulation data based on the first model at least includes:
[0028] Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
[0029] A second aspect of the present disclosure provides a speech recognition method, including:
[0030] Obtain the speech to be recognized;
[0031] Based on a pre-trained neural network model, recognizing text in the speech; wherein the neural network model is trained based on multi-channel training data and multi-channel simulation data matching the actual scenario; the multi-channel simulation data is simulated by pre-determined single-channel training data;
[0032] The single-channel training data at least includes the same text label as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data.
[0033] A third aspect of the embodiments of the present disclosure provides a speech recognition model training device, including:
[0034] A first processing unit is configured to train a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one of the speech data corresponds to one input channel of the neural network model;
[0035] a second processing unit, configured to determine, based on the first model, from the acquired multi-channel simulation data, the multi-channel simulation data that matches the actual scenario, wherein the multi-channel simulation data is simulated by predetermined single-channel training data, wherein the single-channel training data at least includes a text label that is the same as the multi-channel training data and a voice data corresponding to the text label, and the plurality of voice data of the multi-channel simulation data is simulated by the voice data of the single-channel training data;
[0036] The third processing unit is used to train the first model based on the multi-channel training data and the multi-channel simulation data matching the actual scene to obtain a second model.
[0037] In some embodiments, the second processing unit is specifically configured to
[0038] Acquiring the multi-channel simulation data;
[0039] Based on the first model, determining the confidence of the multi-channel simulation data to obtain the multi-channel simulation data whose confidence meets a predetermined condition;
[0040] The multi-channel simulation data whose confidence meets the predetermined condition is determined to be the multi-channel simulation data matching the actual scene.
[0041] In some embodiments, the predetermined condition includes at least a predetermined threshold;
[0042] The confidence level meets a predetermined condition, which at least includes: the confidence level is greater than the predetermined threshold;
[0043] The second processing unit is further configured to
[0044] The multi-channel simulation data having a confidence level greater than the predetermined threshold is determined to be the multi-channel simulation data matching the actual scene.
[0045] In some embodiments, before determining the multi-channel simulation data that matches the actual scene in the acquired multi-channel simulation data based on the first model, the second processing unit is further configured to
[0046] Predetermining speech recognition conditions when performing data simulation;
[0047] Based on the single-channel training data, the multi-channel simulation data generated under the speech recognition condition is obtained by simulation.
[0048] In some embodiments, the speech recognition condition includes at least one of the following:
[0049] The number of channels of the speech recognition model;
[0050] The relative position of the audio output device to the audio input device;
[0051] The sound source position is predetermined during data simulation.
[0052] In some embodiments, the multi-channel simulation data at least includes:
[0053] Reference channel data; the reference channel data is determined to be audio data output by the audio output device;
[0054] Recording channel data; the recording channel data is determined to be the audio data input by the audio input device.
[0055] In some embodiments, the recording channel data includes at least audio data input by two recording channels; one of the audio input devices is used to form a recording channel.
[0056] In some embodiments, the second processing unit is further configured to
[0057] Based on the first model, the confidence of the multi-channel simulation data is determined, and the multi-channel simulation data whose confidence does not meet the predetermined condition is filtered out.
[0058] In some embodiments, the second processing unit is further configured to
[0059] Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
[0060] A fourth aspect of the present disclosure provides a speech recognition device, including:
[0061] A first processing unit, used for acquiring speech to be recognized;
[0062] A second processing unit is used to recognize text in the speech based on a pre-trained neural network model; wherein the neural network model is trained based on multi-channel training data and multi-channel simulation data matching the actual scene; and the multi-channel simulation data is simulated by pre-determined single-channel training data;
[0063] The single-channel training data at least includes the same text label as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data.
[0064] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and the processor is used to execute the steps of the method described in the first aspect and the second aspect when running the computer program.
[0065] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0066] The speech recognition model training method in the disclosed embodiment includes: training a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on the actual scene of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one speech data corresponds to an input channel of the input neural network model; based on the first model, determining the multi-channel simulation data matching the actual scene in the acquired multi-channel simulation data, wherein the multi-channel simulation data is simulated by the predetermined single-channel training data, wherein the single-channel training data at least includes the same text label as the multi-channel training data and a speech data corresponding to the text label, and the plurality of speech data of the multi-channel simulation data is simulated by the speech data of the single-channel training data; based on the multi-channel training data and the multi-channel simulation data matching the actual scene, training the first model to obtain the second model. In the present application, when solving the problem of insufficient multi-channel training data, the method of amplifying multi-channel simulation data with single-channel training data is adopted to increase the training data, and at the same time, the simulation data matching the actual scene is selected from the multi-channel simulation data as the training data for training the second model, wherein the plurality of speech data of the multi-channel simulation data is simulated by the speech data of the single-channel training data. The multiple speech data of the multi-channel simulation data can be different from the multiple speech data of the multi-channel training data. This not only solves the problem of insufficient multi-channel training data, but also optimizes the multi-channel simulation data used as training data, so that the multi-channel simulation data used for training models is more compatible with the actual scene of speech recognition, thereby effectively improving the language recognition performance of the training model.
[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0069] Figure 1 The present invention is a flow chart of a speech recognition model training method according to an exemplary embodiment.
[0070] Figure 2 This is a schematic diagram of the first model training in a speech recognition model training method according to an exemplary embodiment. Figure 1 .
[0071] Figure 3 It is a schematic diagram of multi-channel simulation data simulation in a speech recognition model training method according to an exemplary embodiment.
[0072] Figure 4 It is a schematic diagram of the second model training in a speech recognition model training method according to an exemplary embodiment.
[0073] Figure 5 It is a structural diagram of a speech recognition model training device according to an exemplary embodiment.
[0074] Figure 6 The figure is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0075] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0076] For a long time, speech recognition has been based on single-channel training, accumulating a large amount of single-channel data from various devices after front-end processing. However, the quality and quantity of multi-channel speech data are insufficient, resulting in poor training of the current end-to-end model based on multi-channel data training.
[0077] In order to improve the performance of multi-channel end-to-end speech recognition models, multi-channel data augmentation methods are usually used to increase the data scale and scene coverage. However, the distribution gap between simulated data and real data is too large, which will lead to the mismatch between data and actual scenes, causing the performance of the trained model to decrease instead of increase.
[0078] The present disclosure provides a method for training a speech recognition model. Figure 1 FIG. 1 is a flow chart of a speech recognition model training method according to an exemplary embodiment. Figure 1 As shown, the speech recognition model training method includes:
[0079] Step 10: training a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one of the speech data corresponds to one input channel of the neural network model;
[0080] Step 11: Based on the first model, determine the multi-channel simulation data matching the actual scene from the acquired multi-channel simulation data, wherein the multi-channel simulation data is simulated by predetermined single-channel training data, wherein the single-channel training data at least includes a text label that is the same as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data;
[0081] Step 12: Based on the multi-channel training data and the multi-channel simulation data matching the actual scene, train the first model to obtain a second model.
[0082] In the disclosed embodiment, the multi-channel training data is determined based on the actual scene of speech recognition, and is the real training data input during speech recognition of the multi-channel speech recognition system. The multi-channel training data contains reference channel data and at least one recording channel data. Due to the different positions of the recording channels, the speech data corresponding to different recording channels may be different. Both the reference channel data and the recording channel data correspond to text labels and speech data. The multi-channel simulation data is the simulation data obtained by simulating and amplifying the predetermined single-channel training data in a variety of speech recognition application scenarios. Among them, the multiple speech data of the multi-channel simulation data are obtained by simulating the speech data of the single-channel training data. The multiple speech data of the multi-channel simulation data may be different from the multiple speech data of the multi-channel training data. Among them, the multiple speech recognition application scenarios can be determined in advance, and then the simulation data of the multiple speech recognition application scenarios can be obtained by simulating and amplifying the single-channel training data. The multiple speech recognition application scenarios can include any scene such as far field, near field, echo, etc. Thus, simulation data in various scenes such as far field, near field, echo, etc. are obtained. Among them, the single-channel training data is a large number of single-channel real training data accumulated by various devices and processed by the front end, and the single-channel training data contains one recording channel data. The reference channel data in the single-channel training data is pre-filtered. The reference channel data can be determined as the text label and corresponding language data output by an audio output device such as a speaker, and the language data can include music output by an audio output device such as a speaker. The recording channel data can be determined as the text label and corresponding language data entered when the audio input device is used as a recording channel, including the language spoken by the user.
[0083] In the embodiment of the present disclosure, the multi-channel simulation data is obtained by simulating the predetermined single-channel training data, and at least includes:
[0084] Identify speech recognition application scenarios;
[0085] According to the speech recognition application scenario, setting parameters of the simulation software are determined; by setting the parameters, the application scenario simulated by the simulation software is made close to the actual scenario;
[0086] Based on the single-channel training data, multi-channel simulation data is obtained by simulation software.
[0087] In the disclosed embodiment, the first model is obtained by training with predetermined multi-channel training data, and can be determined as the basic speech recognition model. The second model is obtained by training the first model based on the multi-channel training data and multi-channel simulation data matching the actual scene, and can be determined as the performance-optimized speech recognition model finally obtained. That is, the second model is the language recognition model after the first model is trained again.
[0088] The speech recognition model training method in the disclosed embodiment includes: training a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on the actual scene of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one speech data corresponds to an input channel of the input neural network model; based on the first model, determining the multi-channel simulation data matching the actual scene in the acquired multi-channel simulation data, wherein the multi-channel simulation data is simulated by the predetermined single-channel training data, wherein the single-channel training data at least includes the same text label as the multi-channel training data and a speech data corresponding to the text label, and the plurality of speech data of the multi-channel simulation data is simulated by the speech data of the single-channel training data; based on the multi-channel training data and the multi-channel simulation data matching the actual scene, training the first model to obtain the second model. In the present application, when solving the problem of insufficient multi-channel training data, the method of amplifying multi-channel simulation data with single-channel training data is adopted to increase the training data, and at the same time, the simulation data matching the actual scene is selected from the multi-channel simulation data as the training data for training the second model, wherein the plurality of speech data of the multi-channel simulation data is simulated by the speech data of the single-channel training data. The multiple speech data of the multi-channel simulation data can be different from the multiple speech data of the multi-channel training data. This not only solves the problem of insufficient multi-channel training data, but also optimizes the multi-channel simulation data used as training data, so that the multi-channel simulation data used for training models is more compatible with the actual scene of speech recognition, thereby effectively improving the language recognition performance of the training model.
[0089] Figure 2 This is a schematic diagram of the first model training in a speech recognition model training method according to an exemplary embodiment. Figure 1 .like Figure 2As shown, the existing high-quality labeled multi-channel real data (multi-channel training data) is used to train the basic model to obtain the first model.
[0090] In some embodiments, determining, based on the first model, the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data at least includes:
[0091] Acquiring the multi-channel simulation data;
[0092] Based on the first model, determining the confidence of the multi-channel simulation data to obtain the multi-channel simulation data whose confidence meets a predetermined condition;
[0093] The multi-channel simulation data whose confidence meets the predetermined condition is determined to be the multi-channel simulation data matching the actual scene.
[0094] In the disclosed embodiment, the predetermined condition is used as a criterion for judging the confidence of the multi-channel simulation data. When the confidence meets the predetermined condition, the corresponding multi-channel simulation data can be determined to be multi-channel simulation data matching the actual scene. The multi-channel simulation data matching the actual scene can be used as training data for training the speech recognition model.
[0095] In the embodiment of the present disclosure, the determining of the confidence of the multi-channel simulation data based on the first model at least includes:
[0096] Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
[0097] In the disclosed embodiment, by analyzing the amplitude and phase of the audio signal in the multi-channel simulation data, it can be determined whether the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario; if the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario, the corresponding confidence level of the multi-channel simulation data is higher, otherwise the corresponding confidence level will be low.
[0098] Figure 3 FIG. 1 is a schematic diagram of multi-channel simulation data in a speech recognition model training method according to an exemplary embodiment. Figure 3 As shown, multi-channel simulation data is obtained by simulating single-channel training data, and the confidence of the multi-channel simulation data is determined based on the first model.
[0099] In some embodiments, the predetermined condition includes at least a predetermined threshold;
[0100] The confidence level meets a predetermined condition, which at least includes: the confidence level is greater than the predetermined threshold;
[0101] The step of determining that the multi-channel simulation data whose confidence level meets the predetermined condition is the multi-channel simulation data matching the actual scene includes:
[0102] The multi-channel simulation data having a confidence level greater than the predetermined threshold is determined to be the multi-channel simulation data matching the actual scene.
[0103] In the disclosed embodiment, when the confidence level corresponding to the multi-channel simulation data is greater than a predetermined threshold, it can be determined that the confidence level corresponding to the multi-channel simulation data meets the predetermined condition, and the multi-channel simulation data can be used as training data to train the speech recognition model. Otherwise, when the confidence level corresponding to the multi-channel simulation data is less than the predetermined threshold, it can be determined that the confidence level corresponding to the multi-channel simulation data does not meet the predetermined condition, and the multi-channel simulation data is not used as training data and can be filtered out. In this way, by comparing the confidence level with the predetermined threshold, the multi-channel simulation data that can be used as training data can be determined.
[0104] In some embodiments, before determining the multi-channel simulation data matching the actual scene from the acquired multi-channel simulation data based on the first model, the method includes:
[0105] Predetermining speech recognition conditions when performing data simulation;
[0106] Based on the single-channel training data, the multi-channel simulation data generated under the speech recognition condition is obtained by simulation.
[0107] In the embodiment of the present disclosure, the language recognition application scenario can be composed of speech recognition conditions. The speech recognition conditions when performing data simulation are predetermined, that is, the language recognition application scenario when performing data simulation is predetermined. Based on the single-channel training data, the multi-channel simulation data applied in the language recognition application scenario is simulated.
[0108] In some embodiments, the speech recognition condition includes at least one of the following:
[0109] The number of channels of the speech recognition model;
[0110] The relative position of the audio output device to the audio input device;
[0111] The sound source position is predetermined during data simulation.
[0112] In the embodiment of the present disclosure, the speech recognition condition includes at least one of the following: the number of channels of the speech recognition model;
[0113] The relative position between the audio output device and the audio input device; the sound source position predetermined during data simulation. The number of channels of the speech recognition model is different, and the corresponding language recognition model that needs to be trained will be different. That is, the first model and the second model will be different. The number of channels is different, and the corresponding multi-channel simulation data obtained by simulation will be different. The relative position between the audio output device and the audio input device is different, and the sound source position predetermined during data simulation is different, and the corresponding language recognition application scenarios will be different. At this time, the setting parameters of the simulation software during data simulation will be different, and the multi-channel simulation data obtained by simulation will be different. In this way, the language recognition application scenario is determined by the speech recognition conditions, so that the multi-channel simulation data under the corresponding language recognition application scenario is simulated.
[0114] In some embodiments, the multi-channel simulation data at least includes:
[0115] Reference channel data; the reference channel data is determined to be audio data output by the audio output device;
[0116] Recording channel data; the recording channel data is determined to be the audio data input by the audio input device.
[0117] In the embodiment of the present disclosure, the audio output device may be a speaker; the audio input device may be a microphone. The reference channel may be an audio signal output channel, such as Figure 3 The CH0 shown in the figure can be the audio signal input channel. Figure 3 CHN shown.
[0118] In the disclosed embodiment, the positions of the audio input devices corresponding to the various recording channels are different, and the distances between the audio input devices and the sound source are different, so the input audio signals of the recording channels formed therefrom will be different. By changing the audio output of the reference channel and the audio input of the recording channel, multi-channel simulation data in various speech recognition application scenarios can be obtained.
[0119] In some embodiments, the recording channel data includes at least audio data input by two recording channels; one of the audio input devices is used to form a recording channel.
[0120] In the disclosed embodiment, for the language recognition model, the corresponding model will be different if the number of channels is different. The language recognition model has a reference channel and a certain number of recording channels. The recording channel is at least one and can be multiple. The corresponding models are different for different numbers of recording channels, and the corresponding multi-channel simulation data are different. Among them, the multi-channel simulation data corresponding to N recording channels is applied to the model training corresponding to N recording channels. That is, the multi-channel simulation data obtained from the reference channel CH0+recording channel CH1 is applied to the model training corresponding to the reference channel CH0+recording channel CH1; the multi-channel simulation data obtained from the reference channel CH0+recording channel CH1+recording channel CH2 is applied to the model training corresponding to the reference channel CH0+recording channel CH1+recording channel CH2.
[0121] In some embodiments, the step of determining, based on the first model, the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data at least further comprises:
[0122] Based on the first model, the confidence of the multi-channel simulation data is determined, and the multi-channel simulation data whose confidence does not meet the predetermined condition is filtered out.
[0123] In the disclosed embodiment, when the confidence level corresponding to the multi-channel simulation data is less than a predetermined threshold, it can be determined that the confidence level corresponding to the multi-channel simulation data does not meet the predetermined condition. In this case, the multi-channel simulation data is not used as training data and can be filtered out.
[0124] In some embodiments, the determining the confidence of the multi-channel simulation data based on the first model at least includes:
[0125] Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
[0126] In the disclosed embodiment, by analyzing the amplitude and phase of the audio signal in the multi-channel simulation data, it can be determined whether the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario; if the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario, the corresponding confidence level of the multi-channel simulation data is higher, otherwise the corresponding confidence level will be low.
[0127] Figure 4 FIG. 1 is a schematic diagram of a second model training method in a speech recognition model training method according to an exemplary embodiment. Figure 4 As shown, the second model is obtained by training the first model based on the multi-channel training data and the multi-channel simulation data whose confidence meets the predetermined conditions. The second model is the language recognition model after the first model is trained.
[0128] A second aspect of the present disclosure provides a speech recognition method, including:
[0129] Obtain the speech to be recognized;
[0130] Based on a pre-trained neural network model, recognizing text in the speech; wherein the neural network model is trained based on multi-channel training data and multi-channel simulation data matching the actual scenario; the multi-channel simulation data is simulated by pre-determined single-channel training data;
[0131] The single-channel training data at least includes the same text label as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data.
[0132] In the disclosed embodiment, the speech recognition model trained in the above embodiment can be applied to speech recognition to extract text corresponding to speech, and can be applied to chat software apps, etc. When information is input, the text corresponding to the speech is extracted through voice input, and then the extracted text is sent in the chat window. Since the speech recognition model is trained with a large amount of multi-channel training data and multi-channel simulation data matching the actual scene, the speech recognition model has good speech recognition performance and a very low word error rate, and has outstanding and stable performance.
[0133] A third aspect of an embodiment of the present disclosure provides a speech recognition model training device. Figure 5 FIG. 1 is a schematic diagram showing the structure of a speech recognition model training device according to an exemplary embodiment. Figure 5 As shown, the speech recognition model training device includes:
[0134] A first processing unit 51 is used to train a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one of the speech data corresponds to one input channel of the neural network model;
[0135] A second processing unit 52 is used to determine, based on the first model, the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data, wherein the multi-channel simulation data is simulated by predetermined single-channel training data, wherein the single-channel training data at least includes a text label that is the same as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data;
[0136] The third processing unit 53 is used to train the first model based on the multi-channel training data and the multi-channel simulation data matching the actual scene to obtain a second model.
[0137] In the disclosed embodiment, the multi-channel training data is determined based on the actual scene of speech recognition, and is the real training data input during speech recognition of the multi-channel speech recognition system. The multi-channel training data contains reference channel data and at least one recording channel data. Due to the different positions of the recording channels, the speech data corresponding to different recording channels may be different. Both the reference channel data and the recording channel data correspond to text labels and speech data. The multi-channel simulation data is the simulation data obtained by simulating and amplifying the predetermined single-channel training data in a variety of speech recognition application scenarios. Among them, the multiple speech data of the multi-channel simulation data are obtained by simulating the speech data of the single-channel training data. The multiple speech data of the multi-channel simulation data may be different from the multiple speech data of the multi-channel training data. Among them, the multiple speech recognition application scenarios can be determined in advance, and then the simulation data of the multiple speech recognition application scenarios can be obtained by simulating and amplifying the single-channel training data. The multiple speech recognition application scenarios can include any scene such as far field, near field, echo, etc. Thus, simulation data in various scenes such as far field, near field, echo, etc. are obtained. Among them, the single-channel training data is a large number of single-channel real training data accumulated by various devices and processed by the front end, and the single-channel training data contains one recording channel data. The reference channel data in the single-channel training data is pre-filtered. The reference channel data can be determined as the text label and corresponding language data output by an audio output device such as a speaker, and the language data can include music output by an audio output device such as a speaker. The recording channel data can be determined as the text label and corresponding language data entered when the audio input device is used as a recording channel, including the language spoken by the user.
[0138] In the embodiment of the present disclosure, the multi-channel simulation data is obtained by simulating the predetermined single-channel training data, and at least includes:
[0139] Identify speech recognition application scenarios;
[0140] According to the speech recognition application scenario, setting parameters of the simulation software are determined; by setting the parameters, the application scenario simulated by the simulation software is made close to the actual scenario;
[0141] Based on the single-channel training data, multi-channel simulation data is obtained by simulation software.
[0142] In the disclosed embodiment, the first model is obtained by training with predetermined multi-channel training data, and can be determined as the basic speech recognition model. The second model is obtained by training the first model based on the multi-channel training data and multi-channel simulation data matching the actual scene, and can be determined as the performance-optimized speech recognition model finally obtained. That is, the second model is the language recognition model after the first model is trained again.
[0143] The speech recognition model training device in the disclosed embodiment includes: based on predetermined multi-channel training data, training to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition; based on the first model, determining multi-channel simulation data matching the actual scenario in the acquired multi-channel simulation data, wherein the multi-channel simulation data is obtained by simulating predetermined single-channel training data; based on the multi-channel training data and the multi-channel simulation data matching the actual scenario, training the first model to obtain a second model. In this application, when solving the problem of insufficient multi-channel training data, a method of amplifying multi-channel simulation data with single-channel training data is used to increase training data, and at the same time, simulation data matching the actual scenario is selected from the multi-channel simulation data as training data for training the second model. In this way, not only the problem of insufficient multi-channel training data is solved, but also the multi-channel simulation data used as training data is optimized, so that the multi-channel simulation data used for training the model is more matched with the actual scenario of speech recognition, thereby effectively improving the language recognition performance of the training model.
[0144] Figure 2 This is a schematic diagram of the first model training in a speech recognition model training method according to an exemplary embodiment. Figure 1 .like Figure 2 As shown, the existing high-quality labeled multi-channel real data (multi-channel training data) is used to train the basic model to obtain the first model.
[0145] In some embodiments, the second processing unit is specifically configured to
[0146] Acquiring the multi-channel simulation data;
[0147] Based on the first model, determining the confidence of the multi-channel simulation data to obtain the multi-channel simulation data whose confidence meets a predetermined condition;
[0148] The multi-channel simulation data whose confidence meets the predetermined condition is determined to be the multi-channel simulation data matching the actual scene.
[0149] In the disclosed embodiment, the predetermined condition is used as a criterion for judging the confidence of the multi-channel simulation data. When the confidence meets the predetermined condition, the corresponding multi-channel simulation data can be determined to be multi-channel simulation data matching the actual scene. The multi-channel simulation data matching the actual scene can be used as training data for training the speech recognition model.
[0150] In the embodiment of the present disclosure, the determining of the confidence of the multi-channel simulation data based on the first model at least includes:
[0151] Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
[0152] In the disclosed embodiment, by analyzing the amplitude and phase of the audio signal in the multi-channel simulation data, it can be determined whether the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario; if the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario, the corresponding confidence level of the multi-channel simulation data is higher, otherwise the corresponding confidence level will be low.
[0153] Figure 3 FIG. 1 is a schematic diagram of multi-channel simulation data in a speech recognition model training method according to an exemplary embodiment. Figure 3 As shown, multi-channel simulation data is obtained by simulating single-channel training data, and the confidence of the multi-channel simulation data is determined based on the first model.
[0154] In some embodiments, the predetermined condition includes at least a predetermined threshold;
[0155] The confidence level meets a predetermined condition, which at least includes: the confidence level is greater than the predetermined threshold;
[0156] The second processing unit is further configured to
[0157] The multi-channel simulation data having a confidence level greater than the predetermined threshold is determined to be the multi-channel simulation data matching the actual scene.
[0158] In the disclosed embodiment, when the confidence level corresponding to the multi-channel simulation data is greater than a predetermined threshold, it can be determined that the confidence level corresponding to the multi-channel simulation data meets the predetermined condition, and the multi-channel simulation data can be used as training data to train the speech recognition model. Otherwise, when the confidence level corresponding to the multi-channel simulation data is less than the predetermined threshold, it can be determined that the confidence level corresponding to the multi-channel simulation data does not meet the predetermined condition, and the multi-channel simulation data is not used as training data and can be filtered out. In this way, by comparing the confidence level with the predetermined threshold, the multi-channel simulation data that can be used as training data can be determined.
[0159] In some embodiments, before determining the multi-channel simulation data that matches the actual scene in the acquired multi-channel simulation data based on the first model, the second processing unit is further configured to
[0160] Predetermining speech recognition conditions when performing data simulation;
[0161] Based on the single-channel training data, the multi-channel simulation data generated under the speech recognition condition is obtained by simulation.
[0162] In the embodiment of the present disclosure, the language recognition application scenario can be composed of speech recognition conditions. The speech recognition conditions when performing data simulation are predetermined, that is, the language recognition application scenario when performing data simulation is predetermined. Based on the single-channel training data, the multi-channel simulation data applied in the language recognition application scenario is simulated.
[0163] In some embodiments, the speech recognition condition includes at least one of the following:
[0164] The number of channels of the speech recognition model;
[0165] The relative position of the audio output device to the audio input device;
[0166] The sound source position is predetermined during data simulation.
[0167] In the embodiment of the present disclosure, the speech recognition condition includes at least one of the following: the number of channels of the speech recognition model;
[0168] The relative position between the audio output device and the audio input device; the sound source position predetermined during data simulation. The number of channels of the speech recognition model is different, and the corresponding language recognition model that needs to be trained will be different. That is, the first model and the second model will be different. The number of channels is different, and the corresponding multi-channel simulation data obtained by simulation will be different. The relative position between the audio output device and the audio input device is different, and the sound source position predetermined during data simulation is different, and the corresponding language recognition application scenarios will be different. At this time, the setting parameters of the simulation software during data simulation will be different, and the multi-channel simulation data obtained by simulation will be different. In this way, the language recognition application scenario is determined by the speech recognition conditions, so that the multi-channel simulation data under the corresponding language recognition application scenario is simulated.
[0169] In some embodiments, the multi-channel simulation data at least includes:
[0170] Reference channel data; the reference channel data is determined to be audio data output by the audio output device;
[0171] Recording channel data; the recording channel data is determined to be the audio data input by the audio input device.
[0172] In the embodiment of the present disclosure, the audio output device may be a speaker; the audio input device may be a microphone. The reference channel may be an audio signal output channel, such as Figure 3 The CH0 shown in the figure can be the audio signal input channel. Figure 3 CHN shown.
[0173] In the disclosed embodiment, the positions of the audio input devices corresponding to the various recording channels are different, and the distances between the audio input devices and the sound source are different, so the input audio signals of the recording channels formed therefrom will be different. By changing the audio output of the reference channel and the audio input of the recording channel, multi-channel simulation data in various speech recognition application scenarios can be obtained.
[0174] In some embodiments, the recording channel data includes at least audio data input by two recording channels; one of the audio input devices is used to form a recording channel.
[0175] In the disclosed embodiment, for the language recognition model, the corresponding model will be different if the number of channels is different. The language recognition model has a reference channel and a certain number of recording channels. The recording channel is at least one and can be multiple. The corresponding models are different for different numbers of recording channels, and the corresponding multi-channel simulation data are different. Among them, the multi-channel simulation data corresponding to N recording channels is applied to the model training corresponding to N recording channels. That is, the multi-channel simulation data obtained from the reference channel CH0+recording channel CH1 is applied to the model training corresponding to the reference channel CH0+recording channel CH1; the multi-channel simulation data obtained from the reference channel CH0+recording channel CH1+recording channel CH2 is applied to the model training corresponding to the reference channel CH0+recording channel CH1+recording channel CH2.
[0176] In some embodiments, the second processing unit is further configured to
[0177] Based on the first model, the confidence of the multi-channel simulation data is determined, and the multi-channel simulation data whose confidence does not meet the predetermined condition is filtered out.
[0178] In the disclosed embodiment, when the confidence level corresponding to the multi-channel simulation data is less than a predetermined threshold, it can be determined that the confidence level corresponding to the multi-channel simulation data does not meet the predetermined condition. In this case, the multi-channel simulation data is not used as training data and can be filtered out.
[0179] In some embodiments, the second processing unit is further configured to
[0180] Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
[0181] In the disclosed embodiment, by analyzing the amplitude and phase of the audio signal in the multi-channel simulation data, it can be determined whether the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario; if the audio signal in the multi-channel simulation data is more consistent with the signal characteristics of the application in the actual scenario, the corresponding confidence level of the multi-channel simulation data is higher, otherwise the corresponding confidence level will be low.
[0182] Figure 4 FIG. 1 is a schematic diagram of a second model training method in a speech recognition model training method according to an exemplary embodiment. Figure 4 As shown, the second model is obtained by training the first model based on the multi-channel training data and the multi-channel simulation data whose confidence meets the predetermined conditions. The second model is the language recognition model after the first model is trained.
[0183] A fourth aspect of the embodiments of the present disclosure provides a speech recognition device, including:
[0184] A first processing unit, used for acquiring speech to be recognized;
[0185] A second processing unit is used to recognize text in the speech based on a pre-trained neural network model; wherein the neural network model is trained based on multi-channel training data and multi-channel simulation data matching the actual scene; and the multi-channel simulation data is simulated by pre-determined single-channel training data;
[0186] The single-channel training data at least includes the same text label as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data.
[0187] In the disclosed embodiment, the speech recognition model trained in the speech recognition device can be applied to speech recognition to extract text corresponding to speech, and can be applied to chat software apps, etc. When information is input, the text corresponding to the speech is extracted through voice input, and then the extracted text is sent in the chat window. Since the speech recognition model is trained with a large amount of multi-channel training data and multi-channel simulation data matching the actual scene, the speech recognition model has good speech recognition performance and a very low word error rate, and has outstanding and stable performance.
[0188] An embodiment of the present disclosure further provides an electronic device, including: a processor and a memory, wherein the memory stores a computer program that can be run on the processor, and the processor is configured to execute the steps of the method described in each embodiment when running the computer program.
[0189] The embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method described in each embodiment when executed by a processor.
[0190] Figure 6 1 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device may be a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0191] Reference Figure 6 The electronic device may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0192] The processing component 802 generally controls the overall operation of the electronic device, such as operations associated with touch, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0193] The memory 804 is configured to store various types of data to support the operation of the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0194] The power component 806 provides power to various components of the electronic device. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.
[0195] The multimedia component 808 includes a screen that provides an output interface between the electronic device and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0196] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0197] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0198] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device. For example, the sensor assembly 814 can detect the on / off state of the electronic device, the relative positioning of the components, such as the display and keypad of the electronic device, and the sensor assembly 814 can also detect the position change of the electronic device or a component of the electronic device, the presence or absence of contact between the user and the electronic device, the orientation or acceleration / deceleration of the electronic device and the temperature change of the electronic device. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0199] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0200] In an exemplary embodiment, the electronic device may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0201] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0202] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A speech recognition model training method, It is characterized in that include: Training a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one of the speech data corresponds to one input channel of the neural network model; Based on the first model, determining the multi-channel simulation data matching the actual scene from the acquired multi-channel simulation data, wherein the multi-channel simulation data is simulated by predetermined single-channel training data, wherein the single-channel training data at least includes a text label that is the same as the multi-channel training data and a voice data corresponding to the text label, and the plurality of voice data of the multi-channel simulation data is simulated by the voice data of the single-channel training data; Based on the multi-channel training data and the multi-channel simulation data matching the actual scene, the first model is trained to obtain a second model.
2. The speech recognition model training method according to claim 1, It is characterized in that The step of determining, based on the first model, the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data at least includes: Acquiring the multi-channel simulation data; Based on the first model, determining the confidence of the multi-channel simulation data to obtain the multi-channel simulation data whose confidence meets a predetermined condition; The multi-channel simulation data whose confidence meets the predetermined condition is determined to be the multi-channel simulation data matching the actual scene.
3. The speech recognition model training method according to claim 2, It is characterized in that The predetermined condition at least includes a predetermined threshold; The confidence level meets a predetermined condition, which at least includes: the confidence level is greater than the predetermined threshold; The step of determining that the multi-channel simulation data whose confidence level meets the predetermined condition is the multi-channel simulation data matching the actual scene includes: The multi-channel simulation data having a confidence level greater than the predetermined threshold is determined to be the multi-channel simulation data matching the actual scene.
4. The speech recognition model training method according to claim 1, It is characterized in that Based on the first model, before determining the multi-channel simulation data that matches the actual scene from the acquired multi-channel simulation data, the method includes: Predetermining speech recognition conditions when performing data simulation; Based on the single-channel training data, the multi-channel simulation data generated under the speech recognition condition is simulated, wherein the speech recognition condition includes at least one of the following: The number of channels of the speech recognition model; The relative position of the audio output device to the audio input device; The sound source position is predetermined during data simulation; wherein the audio output device and the audio input device can both serve as input channels of the neural network model.
5. The speech recognition model training method according to claim 4, It is characterized in that The multi-channel simulation data at least includes: Reference channel data; the reference channel data is determined to be audio data output by the audio output device; Recording channel data; the recording channel data is determined to be audio data input by the audio input device, wherein the recording channel data includes at least audio data input by two recording channels; One of the audio input devices is used to form a recording channel.
6. The speech recognition model training method according to claim 2, It is characterized in that Determining the confidence of the multi-channel simulation data based on the first model at least includes: Based on the first model, the confidence level corresponding to the multi-channel simulation data is determined by judging the amplitude and phase of the audio signal in the multi-channel simulation data.
7. A speech recognition method, It is characterized in that include: Obtain the speech to be recognized; Based on a pre-trained neural network model, the text in the speech is recognized; wherein the neural network model is trained based on the speech recognition model training method according to claims 1 to 6; and the multi-channel simulation data is simulated by pre-determined single-channel training data; The single-channel training data at least includes the same text label as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data.
8. A speech recognition model training device, It is characterized in that include: A first processing unit is configured to train a preset neural network model based on predetermined multi-channel training data to obtain a first model, wherein the multi-channel training data is determined based on an actual scenario of speech recognition, the multi-channel training data at least includes a text label and a plurality of speech data corresponding to the text label, and one of the speech data corresponds to one input channel of the neural network model; a second processing unit, configured to determine, based on the first model, from the acquired multi-channel simulation data, the multi-channel simulation data that matches the actual scenario, wherein the multi-channel simulation data is simulated by predetermined single-channel training data, wherein the single-channel training data at least includes a text label that is the same as the multi-channel training data and a voice data corresponding to the text label, and the plurality of voice data of the multi-channel simulation data is simulated by the voice data of the single-channel training data; The third processing unit is used to train the first model based on the multi-channel training data and the multi-channel simulation data matching the actual scene to obtain a second model.
9. A speech recognition device, It is characterized in that include: A first processing unit, used for acquiring speech to be recognized; A second processing unit, configured to recognize text in the speech based on a pre-trained neural network model; wherein the neural network model is trained based on the speech recognition model training method according to claims 1 to 6; and the multi-channel simulation data is simulated by pre-determined single-channel training data; The single-channel training data at least includes the same text label as the multi-channel training data and a voice data corresponding to the text label, and the multiple voice data of the multi-channel simulation data are simulated by the voice data of the single-channel training data.
10. An electronic device, It is characterized in that include: A processor and a memory for storing a computer program that can be run on the processor, wherein the processor executes the steps of the method according to claims 1 to 7 when running the computer program.
