Simulation training methods and vehicles

By collecting and labeling voice data in the vehicle-mounted speech recognition system, and updating the model parameters, the problem of low voice data recognition accuracy in the vehicle-mounted speech recognition system is solved, and the recognition accuracy and user experience are improved.

CN115512696BActive Publication Date: 2024-09-13CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211145146.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-20
Publication Date
2024-09-13
Estimated Expiration
2042-09-20

AI Technical Summary

Technical Problem

In the existing technology, due to language diversity and the complexity of the driving environment, vehicle-mounted speech recognition systems have low speech data recognition accuracy, poor user driving experience, and lack of effective solutions.

Method used

A model training method is adopted to collect vehicle environment speech data, use the target speech recognition model for recognition and classification, label the speech data and update model parameters based on the recognition results, including using pseudo labels and artificial labels for data labeling, and generate training Data is used to improve the recognition accuracy of speech recognition models.

Benefits of technology

The recognition accuracy of the speech recognition system is improved, allowing the speech recognition system to recognize the user's language more accurately and improving the user's driving experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115512696B
    Figure CN115512696B
Patent Text Reader

Abstract

The present invention discloses a simulation training method and a vehicle. The method comprises: collecting first voice data in a vehicle environment; using a target voice recognition model to recognize the first voice data to obtain a first recognition result; determining a classification result of the first voice data based on the first recognition result; annotating the target voice data in the first voice data based on the classification result to obtain first training data; and updating the model parameters of the target voice recognition model based on the first training data. The present invention solves the technical problem of low recognition accuracy of voice data in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent vehicles, and in particular to a simulation training method and a vehicle. Background Art

[0002] At present, speech recognition technology is developing rapidly and is widely used in various fields. Human-computer interaction is an important part of intelligent driving. However, due to the diversity of languages ​​and the complexity of speech data, the training models and data in different fields cannot be universal. Moreover, due to the complexity of the driving environment, the interference to the user's voice is large, resulting in the inability of the in-vehicle voice system to effectively recognize sentences, which in turn leads to a poor driving experience for users.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a simulation training method and a vehicle to at least solve the technical problem of low recognition accuracy of voice data in the related art.

[0005] According to one aspect of an embodiment of the present invention, a model training method is provided, comprising: collecting first voice data in a vehicle environment; recognizing the first voice data using a target voice recognition model to obtain a first recognition result; determining a classification result of the first voice data based on the first recognition result, wherein the classification result is used to indicate the recognition accuracy of the first recognition result or whether the first voice data is recognized successfully; labeling target voice data in the first voice data based on the classification result to obtain first training data; and updating model parameters of the target voice recognition model based on the first training data.

[0006] Optionally, target voice data in the first voice data is labeled based on the classification result to obtain first training data, including: deleting first type data in the first voice data based on the classification result to obtain target voice data, wherein the first type data is used to represent voice data successfully recognized in the first voice data, and the recognition accuracy corresponding to the first type data is greater than or equal to a first preset threshold; obtaining a target label corresponding to the target voice data; labeling the target voice data based on the target label to generate a labeling result; and generating the first training data based on the target voice data and the labeling result.

[0007] Optionally, the target speech data includes: second type data, the target label includes: a target pseudo label, and obtaining the target label corresponding to the target speech data includes: when the target speech data is second type data, determining a first pseudo label corresponding to the second type data according to a first recognition result, wherein the second type data is used to represent speech data successfully recognized in the target speech data, and the recognition accuracy corresponding to the second type data is less than a first preset threshold; determining the target pseudo label according to the first pseudo label and the second pseudo labels of multiple speech data in the target database.

[0008] Optionally, the target voice data also includes: a third type of data, the target label also includes: a manual label, and obtaining the target label corresponding to the target voice data includes: when the target voice data is the third type of data, obtaining the manual label corresponding to the third type of data, wherein the third type of data is used to represent voice data that has not been successfully recognized in the target voice data.

[0009] Optionally, determining a target pseudo-label based on the first pseudo-label and the second pseudo-label of multiple voice data in a target database includes: comparing the second type of data with the multiple voice data in the target database to obtain the second voice data, wherein the second voice data is data among the multiple voice data whose similarity with the second type of data is greater than a similarity threshold; determining a third pseudo-label corresponding to the second voice data based on the second pseudo-label of the multiple voice data; obtaining a first label vector corresponding to the first pseudo-label and a second label vector corresponding to the third pseudo-label; and determining the target pseudo-label based on the average of the first label vector and the second label vector.

[0010] Optionally, the second type of data is labeled based on the target label to generate a labeling result, including: when the target label is a target pseudo-label and the target speech data is the second type of data, obtaining a first word vector for the second type of data and a second word vector for the second speech data; determining the third speech data based on the average of the first word vector and the second word vector; and labeling the third speech data based on the target pseudo-label to generate a labeling result.

[0011] Optionally, the method also includes: obtaining a first training data set and a second training data set, wherein the sample types in the first training data set and the second training data set are different; using the first training data set to train a first speech recognition model to obtain a second speech recognition model; and fine-tuning the second speech recognition model based on the second training data set to obtain a target speech recognition model.

[0012] Optionally, the first voice data is classified based on the first recognition result to obtain a classification result, including: displaying the first voice data and the first recognition result on an interactive interface; and responding to an operation instruction on the interactive interface to obtain a classification result corresponding to the first voice data.

[0013] Optionally, the method further includes: recognizing multiple voice data in the target database using the target voice recognition model based on a preset period to obtain a second recognition result; and updating second pseudo labels of the multiple voice data in the target database based on the second recognition result.

[0014] According to another aspect of an embodiment of the present invention, a processing device for a simulation training method is also provided, including: an acquisition module, used to use a target speech recognition model to recognize first speech data to obtain a first recognition result; a recognition module, used to determine a classification result of the first speech data based on the first recognition result, wherein the classification result is used to indicate the recognition accuracy of the first recognition result or whether the first speech data is successfully recognized; a determination module, used to determine the classification result of the first speech data based on the first recognition result, wherein the classification result is used to indicate the recognition accuracy of the first recognition result or whether the first speech data is successfully recognized; a labeling module, used to label the target speech data in the first speech data based on the classification result to obtain first training data; and an update module, used to update the model parameters of the target speech recognition model based on the first training data.

[0015] According to another aspect of an embodiment of the present invention, a target vehicle is also provided, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors execute the model training method of any one of the above embodiments.

[0016] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the model training method of any one of the above embodiments.

[0017] In an embodiment of the present invention, first voice data in a vehicle environment is collected; the first voice data is further recognized using a target voice recognition model to obtain a first recognition result; a classification result of the first voice data is further determined based on the first recognition result; the target voice data in the first voice data is further labeled based on the classification result to obtain first training data; and the model parameters of the target voice recognition model are further updated based on the first training data. It is easy to notice that, since the recognition accuracy of the target voice recognition model is limited, the first voice data can be classified based on the first recognition result, and part of the voice data can be screened out from the first voice data for re-labeling and used for updating the model parameters, thereby achieving the technical effect of improving the recognition accuracy of the target voice recognition model and enabling the voice recognition system to accurately recognize the user's language, thereby solving the technical problem of low recognition accuracy of voice data in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0019] Figure 1 is a flow chart of a model training method according to an embodiment of the present invention;

[0020] Figure 2 is a schematic diagram of an optional speech recognition system according to an embodiment of the present invention;

[0021] Figure 3 is a schematic diagram of a model training method processing device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] Example 1

[0025] According to an embodiment of the present invention, an embodiment of a model training method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] Figure 1is a flow chart of a model training method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0027] Step S102: collecting first voice data in a vehicle environment.

[0028] The vehicle environment may be the environment inside the vehicle or the environment outside the vehicle. The first voice data may be voice data generated by communication between users, or may be control voice issued by the user to the vehicle.

[0029] In an optional embodiment, when the vehicle is started, after obtaining the driver and passenger's permission for voice collection on the interactive interface, the voice data generated by communication between users is actively collected through the in-vehicle voice system, or the driver and passengers can activate a voice assistant and use the voice assistant to actively collect voice data generated by communication between users.

[0030] Step S104: using the target speech recognition model to recognize the first speech data to obtain a first recognition result.

[0031] The target speech recognition model can be a speech model that is fine-tuned and can recognize different local dialects. The first recognition result can be that the acquired user speech data is input into the target speech model, and the target speech model recognizes the user speech data to obtain a recognition result.

[0032] In an optional embodiment, the collected user voice data is input into a target voice recognition model, that is, a voice model for different local dialects obtained after fine-tuning. The target voice recognition model recognizes the user voice data acquired in real time and returns the recognition result to obtain a first recognition result.

[0033] It should be noted that the target speech recognition model involved in the present invention can be a speech recognition model such as Chinese-BERT (Chinese-Bidirectional Encoder Representation from Transformers), GMM-HMM (Gaussian Mixture Model-Hidden Markov Models), DNN-HMM (Deep Neural Networks-Hidden Markov Models), etc. These speech recognition models can train and recognize the acquired speech data.

[0034] Step S106, determining a classification result of the first voice data based on the first recognition result, wherein the classification result is used to indicate whether the first recognition result is accurate or whether the first voice data is successfully recognized.

[0035] The above classification results can be divided into but are not limited to: simple data, that is, the voice data can be recognized by the target voice recognition model, and the first recognition result obtained is accurate, that is, the user is satisfied with the first recognition result; inaccurate data, that is, the voice data can be recognized by the target voice recognition model, but the first recognition result obtained is inaccurate, that is, the user is not satisfied with the first recognition result; difficult data, that is, the voice data cannot be recognized by the target voice recognition model.

[0036] In an optional embodiment, the first voice data and the first recognition result are displayed on an interactive interface of the vehicle, and the user judges the first voice data and the first recognition result according to the operation instructions displayed on the interactive interface to determine whether the first recognition result is accurate, and further classifies the data according to the user's judgment result to obtain the classification result of the first voice data.

[0037] In another optional embodiment, while the first recognition result is identified by the target speech recognition model, the first speech data can be recognized again by a speech recognition model such as ASR (Automatic Speech Recognition) to obtain another recognition result. By comparing the two recognition results, it can be determined whether the first recognition result is accurate.

[0038] It should be noted that since the training samples of the speech recognition model in the in-vehicle voice system are limited and cannot cover voice data of all language types and dialects, the model recognition accuracy is limited, and thus all language information cannot be recognized, resulting in certain errors in the recognition results. The speech recognition model recognizes the voice data, and the recognition results obtained may not be consistent with the user's original meaning. Moreover, the amount of Mandarin voice data in the current database is large, and there is a lot of annotated data. Therefore, the current speech model training samples usually use Mandarin voice data. However, the model trained only with Mandarin cannot serve the general public, resulting in the inability to accurately recognize user voice data, and thus the inability of the vehicle operating system to make accurate operations, thereby reducing the user's driving experience.

[0039] Step S108: annotate the target speech data in the first speech data based on the classification result to obtain first training data.

[0040] Since the first recognition result of simple data is accurate, in order to save model training time, the above-mentioned target voice data can be the voice data obtained after deleting the simple data in the first voice data, wherein the target voice data may include but is not limited to: inaccurate data and difficult data.

[0041] In an optional embodiment, based on the classification result, simple data can be deleted to obtain the target speech data, and the actual recognition result corresponding to the target speech data can be obtained by manually marking the correct label or re-recognizing it through other speech recognition models, which is used as the target label of the target speech data, and then the target speech data marked with the target label is used as the final first training data. Among them, for inaccurate data in the target speech data, the first pseudo-label corresponding to the inaccurate data can be determined according to the first recognition result. For example, the label of data in the inaccurate data with an identification accuracy less than a preset accuracy can be determined as the label of data with a higher similarity to the first recognition result, that is, the first pseudo-label, and the inaccurate data is compared with multiple speech data in the target database, wherein the target database can be the labeled speech data in the speech system model, and the data with a high similarity to the inaccurate data in the multiple speech data in the target database is determined as the second speech data, and the third pseudo-label corresponding to the second speech data is determined according to the second pseudo-labels of the multiple speech data, and the label vectors of the first pseudo-label and the third pseudo-label and the average of the two label vectors are obtained, and the target pseudo-label is determined by using the average value, that is, the accuracy of the pseudo-label can be improved, thereby generating the final target label, and the unlabeled data can be labeled with the pseudo-label with higher accuracy to give an approximate label. When the target label is a target pseudo-label and the target speech data is inaccurate data, the word vectors of the second type of data and the second speech data and the average of the two word vectors are obtained, the speech data corresponding to the average is determined according to the average, and is classified as the third speech data, the third speech data is annotated with the target pseudo-label, annotating results are generated, and the annotated speech data is used as part of the first training data; for difficult data in the target speech data, artificial labels are obtained manually, the speech data is annotated, annotating results are generated, and the annotated speech data is used as part of the first training data.

[0042] It should be noted that the target label can be the labeling result obtained by labeling the speech data, including but not limited to: labels and pseudo-labels; pseudo-labeling technology is a process of using a model trained on labeled data to make predictions on unlabeled data, screening samples based on the prediction results, and re-entering the model for training. This type of technology is generally a semi-supervised learning algorithm, which does not require manual labeling of unlabeled data in imprecise data. It only needs to give an approximate label based on the technology of labeled data, that is, combining the labeled data and the newly generated pseudo-labeled data as new training data.

[0043] In addition, the current pseudo-label and the previously stored pseudo-label are averaged to determine the target pseudo-label, which can improve the accuracy of the pseudo-label.

[0044] Step S110, updating the model parameters of the target speech recognition model based on the first training data.

[0045] In an optional embodiment, after the first training data is generated, the target speech recognition model can be retrained using the first training data, and the model parameters of the target speech recognition model can be updated to improve the recognition accuracy of the target speech recognition model. Inaccurate data is obtained by taking the time as the recognition point and regularly re-participating in the training of the model. As the model is continuously trained, data with earlier time points may generate new pseudo labels, which can better serve the training of the model.

[0046] It should be noted that since model training takes a certain amount of time, if the model parameters of the target speech recognition model are updated every time the target speech data appears, it will affect the normal use of the target speech recognition model. In order to reduce the impact on the target speech recognition model, the model parameters of the target speech recognition model can be updated according to the update cycle set in advance by the user.

[0047] Through the above steps, it is possible to collect the first voice data in the vehicle environment; further use the target voice recognition model to recognize the first voice data to obtain a first recognition result; further determine the classification result of the first voice data based on the first recognition result; further label the target voice data in the first voice data based on the classification result to obtain first training data; and further update the model parameters of the target voice recognition model based on the first training data. It is easy to notice that, since the recognition accuracy of the target voice recognition model is limited, the first voice data can be classified based on the first recognition result, and some voice data can be screened out from the first voice data for re-labeling and used to update the model parameters, thereby achieving the technical effect of improving the recognition accuracy of the target voice recognition model and enabling the voice recognition system to accurately recognize the user's language, thereby solving the technical problem of low recognition accuracy of voice data in related technologies.

[0048] In the above embodiment of the present invention, target voice data in the first voice data is labeled based on the classification result to obtain first training data, including: deleting first type data in the first voice data based on the classification result to obtain target voice data, wherein the first type data is used to represent voice data successfully recognized in the first voice data, and the recognition accuracy corresponding to the first type data is greater than or equal to a first preset threshold; obtaining a target label corresponding to the target voice data; labeling the target voice data based on the target label to generate a labeling result; and generating the first training data based on the target voice data and the labeling result.

[0049] The above-mentioned labeling results can be the results used to represent the category of voice data; the first type of data can be simple data, that is, data that can be easily recognized after the user inputs voice and returns accurate results; the recognition accuracy can be the accuracy of the comparison result when compared with the voice data; the first preset threshold can be the pre-set minimum value of the recognition accuracy; the labeling result can be the result obtained by labeling the target voice data with the target tag, wherein the labeling result can be divided into successful labeling and unsuccessful labeling.

[0050] Specifically, based on the classification results, simple data in the first speech data is deleted to obtain target speech data containing only inaccurate data and difficult data, and then the correct recognition result corresponding to the target speech data is obtained by manually marking the correct label or recognizing through other speech recognition models, so that the target speech data is further labeled to obtain the target label of the target speech data, and the target speech data marked with the target label is used as the final first training data.

[0051] Furthermore, the target speech data includes: second type data, the target label includes: a target pseudo label, and obtaining the target label corresponding to the target speech data includes: when the target speech data is second type data, determining a first pseudo label corresponding to the second type data according to a first recognition result, wherein the second type data is used to represent speech data successfully recognized in the target speech data, and the recognition accuracy corresponding to the second type data is less than a first preset threshold; determining the target pseudo label according to the first pseudo label and the second pseudo labels of multiple speech data in the target database.

[0052] The above-mentioned target pseudo-label can be a pseudo-label for classifying and labeling unlabeled speech data, or it can be a pseudo-label that is the average of the first label vector and the second label vector; the speech data can be the collected speech data; the second type of data can be inaccurate data, that is, speech data that can be easily recognized by the system, and data that the user is dissatisfied with the recognition result after the result is returned to the user; the first pseudo-label can be the target class after classifying the unlabeled data in the inaccurate data; the second pseudo-label can be the label of speech data in the target database that has a high similarity with the speech data in the first pseudo-label.

[0053] Specifically, when the target speech data is inaccurate data, the label of the data in the inaccurate data whose recognition accuracy is less than the preset accuracy is determined as the label corresponding to the data with the accurate first recognition result, that is, the first pseudo-label; at the same time, the first pseudo-label is compared with the speech data marked in the target database, and the label of the data with high similarity to the data marked in the target database is determined as the first pseudo-label, that is, recorded as the second pseudo-label, thereby obtaining the target pseudo-label.

[0054] Furthermore, the target voice data also includes: a third type of data, and the target label also includes: a manual label, and obtaining the target label corresponding to the target voice data includes: when the target voice data is the third type of data, obtaining the manual label corresponding to the third type of data, wherein the third type of data is used to represent voice data that has not been successfully recognized in the target voice data.

[0055] The third type of data mentioned above may be difficult data, that is, speech data that cannot be recognized by the system; and the manual labels may be labels obtained by manually annotating and classifying the speech data.

[0056] Specifically, when the voice data system cannot successfully recognize the data, experts are asked to sort out the difficult data, label the data, and upload the labeled data to the system. Relevant staff will then modify and improve the in-vehicle voice system based on the data, so that the system can directly obtain the manual labels manually labeled by experts for training.

[0057] It should be noted that not all difficult data require manual labeling by experts. Based on system feedback, speech data that is too vague or has incomplete sentences are deleted, and a portion of the remaining difficult data is randomly selected for experts to manually label. The manually labeled speech data is then put into the model for training. The training results are then compared with the remaining difficult data for training, and the corresponding labels are marked based on the higher similarity.

[0058] Optionally, determining a target pseudo-label based on the first pseudo-label and the second pseudo-label of multiple voice data in a target database includes: comparing the second type of data with the multiple voice data in the target database to obtain the second voice data, wherein the second voice data is data among the multiple voice data whose similarity with the second type of data is greater than a similarity threshold; determining a third pseudo-label corresponding to the second voice data based on the second pseudo-label of the multiple voice data; obtaining a first label vector corresponding to the first pseudo-label and a second label vector corresponding to the third pseudo-label; and determining the target pseudo-label based on the average of the first label vector and the second label vector.

[0059] The above-mentioned second speech data can be a data set with high similarity by comparing the inaccurate data set with multiple speech data in the target database; the third pseudo-label can be the label of the speech data in the second speech data that has high similarity with the second pseudo-label data; the first label vector can be the similarity between the speech data in the first pseudo-label; the second label vector can be the similarity between the speech data in the third pseudo-label.

[0060] Specifically, the inaccurate data is compared with multiple speech data in the target database, and the data in the inaccurate data whose similarity is greater than the similarity threshold is determined as the second speech data, and the second speech data is compared with multiple speech data in the second pseudo-label, and the data label with a higher similarity to the second pseudo-label speech data is determined as the third pseudo-label, and the speech data in the first pseudo-label and the third pseudo-label are put into the training model for mutual comparison to obtain the first label vector and the second label vector, and the average value between the first label vector and the second label vector is obtained at the same time, and the label of the speech data corresponding to the average value is determined according to the average value, that is, it is determined as the target pseudo-label.

[0061] Furthermore, the second type of data is labeled based on the target label to generate a labeling result, including: when the target label is a target pseudo-label and the target speech data is the second type of data, obtaining a first word vector of the second type of data and a second word vector of the second speech data; determining the third speech data based on the average value of the first word vector and the second word vector; and labeling the third speech data based on the target pseudo-label to generate a labeling result.

[0062] The above-mentioned first word vector may be the similarity between words in the inaccurate data; the second word vector may be the similarity between words in the second speech data; and the third speech data may be speech data based on the average value of the first word vector and the second word vector.

[0063] Specifically, when the target pseudo-label annotates the imprecise data, the imprecise data and the second speech data are placed in the supervised training model to obtain the first word vector and the second word vector, and the average value of the first word vector and the second word vector is calculated at the same time, and the speech data corresponding to the average value of the first word vector and the second word vector is determined as the third speech data, so that the target pseudo-label annotates the third speech data to obtain the annotation result.

[0064] Optionally, the method also includes: obtaining a first training data set and a second training data set, wherein the sample types in the first training data set and the second training data set are different; training a first speech recognition model using the first training data set to obtain a second speech recognition model; and fine-tuning the second speech recognition model based on the second training data set to obtain a target speech recognition model.

[0065] The first training data set mentioned above may be a large-scale Chinese speech data; the second training data set may be a speech data set of different local dialects; the first speech recognition model may be a pre-trained model; and the second speech recognition model may be a fine-tuning model.

[0066] Specifically, the vehicle can download a large amount of Chinese speech data sets and different local dialect data sets from the Internet of Vehicles and save them to the on-board voice system, put the large amount of collected Chinese data into the pre-training model for training to obtain a fine-tuning model, and then put the obtained different local dialect data sets into the fine-tuning model to fine-tune the fine-tuning model to obtain the target speech recognition model.

[0067] Optionally, the first voice data is classified based on the first recognition result to obtain a classification result, including: displaying the first voice data and the first recognition result on an interactive interface; and responding to an operation instruction on the interactive interface to obtain a classification result corresponding to the first voice data.

[0068] The above-mentioned operation instruction may be an instruction to guide the user to confirm the recognition result.

[0069] Specifically, the first voice data and the first recognition result are displayed on the vehicle-mounted touch screen, and the user confirms the recognition result of the first voice data by clicking the recognition success button and the recognition failure button on the touch screen to obtain the classification result; the recognition result can also be confirmed by the user's gesture, for example, using the gesture OK to indicate successful recognition and using gesture 1 to indicate failed recognition.

[0070] It should be noted that when the vehicle detects that the user is in the vehicle and not driving, it can prompt the user whether to confirm the voice recognition result, or the recognition result can be sent to the user's mobile phone, and the user can confirm the recognition result at any time.

[0071] Optionally, the method further includes: recognizing multiple voice data in the target database using the target voice recognition model based on a preset period to obtain a second recognition result; and updating second pseudo labels of the multiple voice data in the target database based on the second recognition result.

[0072] The above-mentioned preset period may be a recognition period preset by a user; the second recognition result may be a result obtained by recognizing a plurality of speech data in a target database using a target speech recognition model within the period.

[0073] Specifically, after generating the first training data, the target speech recognition model can be trained again using the first training data. The inaccurate data can be used as the recognition point at the time of acquisition and regularly re-involved in the training of the model, thereby updating the model parameters in the target speech recognition model, thereby improving the accuracy of model recognition and making it more in line with the driver's language habits.

[0074] Combine the following Figure 2 A preferred embodiment of the present invention is described in detail. Figure 2 As shown, the training method specifically includes pre-training, fine-tuning, active learning and incremental learning, wherein the vehicle uses the Internet of Vehicles to download a large amount of Chinese voice data 21 and different local dialect data sets 22, puts the collected large amount of Chinese data into the pre-training model for training to obtain a fine-tuning model, and then puts the obtained different local dialect data sets into the fine-tuning model to fine-tune the fine-tuning model to obtain a target speech recognition model; the active learning module can obtain user voice data through the vehicle voice system after obtaining permission to collect user voice data 23, or after the driver and passengers activate the voice assistant, collect user voice data in real time through the voice assistant, and then use the target voice recognition model in the vehicle voice recognition system to recognize the user voice data to obtain a first recognition result, and display the user voice data and the first recognition result through an interactive interface, and use The user confirms the recognition result through the operation instructions on the interactive interface to determine the classification result, and no longer trains the simple data in the first voice data, and further trains the remaining imprecise data and difficult data. If the target label corresponds to imprecise data, pseudo-label annotation is performed. If the target label corresponds to difficult data, a part is selected for experts to manually annotate and obtain the corresponding manual label; these data are further trained, and then the remaining voice data are annotated to obtain the annotation results, generate the first training data, set the update cycle according to the needs, use the first training data to train the target voice recognition model again, and update the model parameters in the target voice recognition model, thereby improving the accuracy of voice recognition. In the process of training the voice recognition model, various annotations generated can be used for other tasks.

[0075] Example 2

[0076] According to another aspect of an embodiment of the present invention, a control device for a simulation training method is also provided. The device can execute the control method for the autonomous driving vehicle in the above embodiment. The specific implementation method and preferred application scenario are the same as those in the above embodiment and will not be described in detail here.

[0077] Figure 3 is a control device for a simulation training method according to an embodiment of the present invention, such as Figure 3 As shown, the device includes the following parts: an acquisition module 30 , an identification module 32 , a determination module 34 , a labeling module 36 , and an update module 38 .

[0078] The acquisition module 30 is used to collect first voice data in the vehicle environment;

[0079] The recognition module 32 is used to recognize the first speech data using the target speech recognition model to obtain a first recognition result;

[0080] A determination module 34, configured to determine a classification result of the first voice data based on the first recognition result, wherein the classification result is used to indicate the recognition accuracy of the first recognition result or whether the first voice data is successfully recognized;

[0081] A labeling module 36, configured to label the target speech data in the first speech data based on the classification result to obtain first training data;

[0082] The updating module 38 is used to update the model parameters of the target speech recognition model based on the first training data.

[0083] Optionally, the labeling module includes: a first acquisition unit, used to delete the first type of data in the first voice data based on the classification result to obtain the target voice data, wherein the first type of data is used to represent the voice data successfully recognized in the first voice data, and the recognition accuracy corresponding to the first type of data is greater than or equal to a first preset threshold; a second acquisition unit, used to obtain a target label corresponding to the target voice data; a first labeling unit, used to label the target voice data based on the target label to generate a labeling result; a first generation unit, used to generate first training data based on the target voice data and the labeling result.

[0084] Optionally, the labeling module further includes: a first determining unit, used to determine, when the target speech data is the second type of data, a first pseudo label corresponding to the second type of data according to the first recognition result, wherein the second type of data is used to represent speech data that has been successfully recognized in the target speech data, and the recognition accuracy corresponding to the second type of data is less than a first preset threshold; a second determining unit, used to determine the target pseudo label according to the first pseudo label and the second pseudo labels of the plurality of speech data in the target database;

[0085] Optionally, the labeling module also includes: a third acquisition unit, which is used to acquire a manual label corresponding to the third type of data when the target voice data is the third type of data, wherein the third type of data is used to represent voice data that has not been successfully recognized in the target voice data.

[0086] Optionally, the second determination unit includes: a comparison subunit, used to compare the second type of data with multiple voice data in the target database to obtain second voice data, wherein the second voice data is data among the multiple voice data whose similarity with the second type of data is greater than a similarity threshold; a first determination subunit, used to determine the third pseudo-label corresponding to the second voice data based on the second pseudo-labels of the multiple voice data; a first acquisition subunit, used to acquire a first label vector corresponding to the first pseudo-label and a second label vector corresponding to the third pseudo-label; and a second determination subunit, used to determine the target pseudo-label based on the average of the first label vector and the second label vector.

[0087] Optionally, the first labeling unit includes: a second acquisition subunit, used to obtain the first word vector of the second type of data and the second word vector of the second speech data when the target label is a target pseudo label and the target speech data is the second type of data; a third determination subunit, used to determine the third speech data based on the average value of the first word vector and the second word vector; and a first generation subunit, used to label the third speech data based on the target pseudo label and generate a labeling result.

[0088] Optionally, the acquisition module includes: a fourth acquisition unit, used to acquire a first training data set and a second training data set, wherein the sample types in the first training data set and the second training data set are different; a training unit, used to train a first speech recognition model using the first training data set to obtain a second speech recognition model; and a fine-tuning unit; used to fine-tune the second speech recognition model based on the second training data set to obtain a target speech recognition model.

[0089] Optionally, the determination module includes: a display unit, used to display the first voice data and the first recognition result on the interactive interface; and a fifth acquisition unit, used to respond to an operation instruction acting on the interactive interface and acquire a classification result corresponding to the first voice data.

[0090] Optionally, the update module includes: a recognition unit, used to recognize multiple voice data in the target database using a target voice recognition model based on a preset period to obtain a second recognition result; an update unit, used to update the second pseudo labels of the multiple voice data in the target database based on the second recognition result.

[0091] Example 3

[0092] According to another aspect of an embodiment of the present invention, a target vehicle is also provided, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors execute the model training method of any one of the above embodiments.

[0093] Example 4

[0094] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the model training methods in the above embodiments.

[0095] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0096] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0097] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0098] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0099] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0101] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A model training method, characterized in that: include: Collecting first voice data in a vehicle environment; Recognize the first speech data using a target speech recognition model to obtain a first recognition result; Determining a classification result of the first voice data based on the first recognition result, wherein the classification result is used to indicate the recognition accuracy of the first recognition result or whether the first voice data is successfully recognized; Annotating target speech data in the first speech data based on the classification result to obtain first training data; Updating model parameters of the target speech recognition model based on the first training data; Among them, labeling the target voice data in the first voice data based on the classification result to obtain the first training data includes: deleting the first type of data in the first voice data based on the classification result to obtain the target voice data, wherein the first type of data is used to represent the voice data successfully recognized in the first voice data, and the recognition accuracy corresponding to the first type of data is greater than or equal to a first preset threshold; obtaining the target label corresponding to the target voice data; labeling the target voice data based on the target label to generate a labeling result; generating the first training data based on the target voice data and the labeling result; Wherein, the target voice data includes: second type data, the target label includes: target pseudo label, and obtaining the target label corresponding to the target voice data includes: when the target voice data is the second type data, determining the first pseudo label corresponding to the second type data according to the first recognition result, wherein the second type data is used to represent the voice data successfully recognized in the target voice data, and the recognition accuracy corresponding to the second type data is less than the first preset threshold; determining the target pseudo label according to the first pseudo label and the second pseudo labels of multiple voice data in the target database; Wherein, determining the target pseudo-label according to the first pseudo-label and the second pseudo-label of multiple voice data in the target database includes: comparing the second type of data with multiple voice data in the target database to obtain second voice data, wherein the second voice data is data among the multiple voice data whose similarity with the second type of data is greater than a similarity threshold; determining a third pseudo-label corresponding to the second voice data according to the second pseudo-label of the multiple voice data; obtaining a first label vector corresponding to the first pseudo-label and a second label vector corresponding to the third pseudo-label; and determining the target pseudo-label according to the average value of the first label vector and the second label vector.

2. The method according to claim 1, characterized in that The target voice data further includes: third type data, the target label further includes: artificial label, and obtaining the target label corresponding to the target voice data includes: In a case where the target voice data is the third type of data, an artificial label corresponding to the third type of data is obtained, wherein the third type of data is used to represent voice data that has not been successfully recognized in the target voice data.

3. The method according to claim 1, characterized in that: The second type of data is labeled based on the target label to generate a labeling result, including: When the target label is the target pseudo label and the target speech data is the second type of data, obtaining a first word vector of the second type of data and a second word vector of the second speech data; Determine third speech data according to an average value of the first word vector and the second word vector; The third speech data is labeled based on the target pseudo-label to generate the labeling result.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire a first training data set and a second training data set, wherein the sample types in the first training data set and the sample types in the second training data set are different; Using the first training data set to train the first speech recognition model to obtain a second speech recognition model; The second speech recognition model is fine-tuned based on the second training data set to obtain the target speech recognition model.

5. The method according to claim 1, characterized in that Classifying the first voice data based on the first recognition result to obtain a classification result includes: Displaying the first voice data and the first recognition result on an interactive interface; In response to an operation instruction acting on the interactive interface, the classification result corresponding to the first voice data is obtained.

6. The method according to claim 2, characterized in that The method further comprises: Recognize the plurality of speech data in the target database using the target speech recognition model based on a preset period to obtain a second recognition result; The second pseudo labels of the plurality of speech data in the target database are updated based on the second recognition result.

7. A target vehicle, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors execute the model training method described in any one of claims 1 to 6.