Vehicle-mounted human-computer interaction model optimization method and system based on voice data reflow
By receiving and processing voice data in the vehicle environment, collecting abnormal information and iteratively optimizing the speech model, the problem of insufficient efficiency in the use of speech recognition models in the vehicle environment is solved, and the user experience and system performance are improved.
Patent Information
- Application Number
- CN202410907444.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Existing speech recognition models are not efficient enough in using speech data in the vehicle environment, resulting in poor continuity of user experience, and background noise and complex driving scenarios reduce the accuracy and response speed of speech recognition.
By receiving in-car voice data, collecting abnormal information, analyzing and adjusting labeling rules, correcting the voice model, and iteratively optimizing until the output results reach the performance threshold, the performance of the voice model is improved.
Effectively utilize user feedback data to optimize speech models, improve the continuity and accuracy of in-vehicle human-computer interaction, and improve user experience and system performance.
Smart Images

Figure CN118447828B
Abstract
Description
Technical Field
[0001] The present application relates to the field of data model technology, and in particular to a method and system for optimizing a vehicle-mounted human-computer interaction model based on voice data reflow. Background Art
[0002] At present, artificial intelligence interaction systems based on data models are increasingly used in vehicle environments. These systems rely on voice information for human-computer information interaction and provide drivers with navigation, entertainment, vehicle control and other functions. In these existing intelligent voice interaction systems, the continuity of user human-computer interaction operations is often affected by the accuracy of system recognition and response. Specifically, the user's actual usage and feedback data, such as repeated questions, negative comments, non-voice interaction adjustments, etc., are often not fully utilized, which leads to a poor user experience of effective continuity based on operations. In addition, background noise and complex driving scenarios in the vehicle environment further reduce the accuracy and response speed of voice recognition. To this end, it is necessary to propose a vehicle-based human-computer interaction model optimization method and system based on voice data reflux to address the defect that the traditional voice recognition model has a poor user experience of continuity due to the inefficient use of voice data. Summary of the invention
[0003] Based on this, it is necessary to propose an in-vehicle human-computer interaction model optimization method and system based on voice data reflux to address the defect of traditional speech recognition models that the user's operation continuity experience is poor due to the inefficient use of voice data.
[0004] The present application provides a method for optimizing a vehicle-mounted human-computer interaction model based on voice data reflow, including:
[0005] Receive in-car voice data;
[0006] Based on the annotation rules, collect abnormal information in the voice data;
[0007] Analyze the abnormal information to obtain the characteristics of the abnormal information;
[0008] Adjust the annotation rules based on the characteristics of abnormal information;
[0009] Using the adjusted annotation rules, the abnormal information collection points in the entire speech data are corrected;
[0010] Evaluating the original speech model based on the original speech model and the user's feedback instruction information;
[0011] The corrected abnormal information is used as a sample;
[0012] Utilize the evaluation results to optimize the original speech model;
[0013] Input the sample into the optimized speech model to obtain the speech model output result;
[0014] Determine whether the output result of the speech model reaches the performance threshold;
[0015] If the output result of the speech model reaches the performance threshold, the optimized speech model is output;
[0016] If the output result of the speech model does not reach the performance threshold, the output result of the speech model is used as the speech data to be received in the received in-vehicle speech data until the output result of the speech model reaches the performance threshold;
[0017] The collecting of abnormal information in the voice data based on the annotation rules includes:
[0018] Based on the annotation rules, determine whether there is a touch interaction instruction between adjacent output data;
[0019] If there is a touch interaction instruction between adjacent output data, the output data before the touch interaction instruction is marked as abnormal information;
[0020] Select the next adjacent output data, and return to the method based on the marking rule to determine whether there is a touch interaction instruction between the adjacent output data, until all the adjacent output data are selected;
[0021] If there is no touch interaction instruction between adjacent output data, the next adjacent output data is selected, and the process returns to the marking rule to determine whether there is a touch interaction instruction between adjacent output data until all adjacent output data are selected.
[0022] The present application also provides an in-vehicle human-computer interaction model optimization system based on voice data reflow, including:
[0023] A server, used to execute the vehicle-mounted human-computer interaction model optimization method based on voice data reflow;
[0024] A voice collector is connected to the server for communication.
[0025] The present application relates to an optimization method and system for an in-vehicle human-computer interaction model based on voice data reflow, which realizes sample data collection for model optimization of voice data reflow by receiving voice data in the vehicle. Abnormal information in voice data is collected using annotation rules. Based on the abnormal information, the annotation rules and the original voice model are corrected at the same time, and the voice data is input into the corrected voice model to obtain the output result of the voice model. When the output result of the voice model reaches the performance threshold, it can be determined that the voice model has been optimized. When the output result of the voice model does not reach the performance threshold, the abnormal information of all voice data is collected using the corrected annotation rules, and the voice model is iteratively corrected until the output result of the voice model reaches the performance threshold, thereby improving the overall performance of the in-vehicle human-computer interaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The illustrative embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application.
[0027] Figure 1 A flowchart of a method for optimizing a vehicle-mounted human-computer interaction model based on voice data reflow provided in accordance with an embodiment of the present application.
[0028] Figure 2 A server operation flow chart of an in-vehicle human-computer interaction model optimization system based on voice data reflow provided in one embodiment of the present application.
[0029] Figure 3 This is a structural diagram of a data reflow collection module of an in-vehicle human-computer interaction model optimization system based on voice data reflow provided in one embodiment of the present application.
[0030] Figure 4 This is a structural diagram of the data automatic annotation module of the in-vehicle human-computer interaction model optimization system based on voice data reflow provided in one embodiment of the present application.
[0031] Figure 5 A structural diagram of a model effect optimization module of an in-vehicle human-computer interaction model optimization system based on voice data reflow provided in one embodiment of the present application.
[0032] Figure 6 A structural diagram of a model effect evaluation module of an in-vehicle human-computer interaction model optimization system based on voice data reflow provided in one embodiment of the present application.
[0033] Figure 7 A structural diagram of an in-vehicle human-computer interaction model optimization system based on voice data reflow provided in one embodiment of the present application.
[0034] Reference numerals:
[0035] 100-server; 200-voice collector. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0037] The present application provides a method for optimizing a vehicle-mounted human-computer interaction model based on voice data reflow.
[0038] like Figure 1 As shown, in one embodiment of the present application, a method for optimizing a vehicle-mounted human-computer interaction model based on voice data reflow includes:
[0039] S01, receiving in-vehicle voice data.
[0040] Specifically, voice interaction data is collected from end users, including users' repeated questions, negative feedback, and behavioral data on users adjusting their current interaction intentions through other means (such as touch interaction).
[0041] S02: Based on the annotation rules, abnormal information in the voice data is collected.
[0042] S03, analyzing the abnormal information to obtain characteristics of the abnormal information.
[0043] Specifically, the collected voice interaction data is automatically annotated to determine whether the following types of bad cases exist in the data:
[0044] (1) The identification was not recognized (missed recognition).
[0045] (2) Identification that should not be identified (false recognition).
[0046] (3) Poor response.
[0047] S04, adjusting the labeling rules based on the characteristics of the abnormal information.
[0048] S05, using the adjusted labeling rules, correcting the abnormal information collection points in the entire voice data.
[0049] Specifically, the labeling rules include criteria such as recognition success or failure, recognition accuracy, and answer effectiveness.
[0050] S06, evaluating the original speech model based on the original speech model and the user's feedback instruction information.
[0051] S07, taking the corrected abnormal information as a sample.
[0052] S08, optimizing the original speech model using the evaluation results.
[0053] Specifically, use labeled data to fine-tune and optimize existing models, including but not limited to BERT models and LORA and SFT fine-tuning of the GPT large model.
[0054] S09, input the sample into the optimized speech model to obtain the speech model output result.
[0055] S10, determining whether the output result of the speech model reaches a performance threshold.
[0056] S11: If the output result of the speech model reaches the performance threshold, the optimized speech model is output.
[0057] S12, if the output result of the speech model does not reach the performance threshold, the output result of the speech model is used as the speech data to be received in the received in-vehicle speech data until the output result of the speech model reaches the performance threshold.
[0058] Specifically, in a smart cockpit system, when a user repeats the same question multiple times, the system automatically records and marks it as missed recognition. If a user makes a negative comment on an answer of the system, it is marked as a poor response. When the user adjusts the system's interaction intention by touching the screen, the system records the behavior and marks it as an interaction method that needs to be improved. Finally, the report generated by the evaluation module shows that the system has a low recognition accuracy in certain specific scenarios, providing specific directions for improvement. Through this method, the present invention can effectively collect and utilize user feedback data, comprehensively evaluate and optimize the voice interaction model, and improve user experience and system performance.
[0059] The present application relates to a method for optimizing an in-vehicle human-computer interaction model based on voice data reflow, which realizes the sample data collection of the model optimization of voice data reflow by receiving voice data in the vehicle. Abnormal information in the voice data is collected using annotation rules. Based on the abnormal information, the annotation rules and the original voice model are corrected at the same time, and the voice data is input into the corrected voice model to obtain the output result of the voice model. When the output result of the voice model reaches the performance threshold, it can be determined that the voice model has been optimized. When the output result of the voice model does not reach the performance threshold, the abnormal information of all voice data is collected using the corrected annotation rules, and the voice model is iteratively corrected until the output result of the voice model reaches the performance threshold. This solves the defect that the traditional voice recognition model has a poor continuity experience of user operation due to the inefficient use of voice data.
[0060] In one embodiment of the present application, S01 includes:
[0061] S011, receiving input data for the speech model.
[0062] S012, output data based on the speech model.
[0063] S013, putting the input data and the output data into the voice data storage folder.
[0064] S014, returning to the step of receiving input data for the speech model until no more input data is received.
[0065] Specifically, the input data of the voice model can be the user's repeated questions, negative feedback, and behavior of adjusting the interaction intention through non-voice methods. It can also be the user's voice data collected in real time every time the user interacts with the voice interaction system.
[0066] The collected voice data and user behavior data are stored and associated with the interaction context for subsequent processing.
[0067] In fact, the voice data storage folder is the sample library storage unit in the entire voice model optimization process. In the subsequent optimization process, the data in the voice data storage folder will be used for iterative optimization.
[0068] In one embodiment of the present application, S02 includes:
[0069] S0201: Based on the marking rule, determine whether there is a touch interaction instruction between adjacent output data.
[0070] Specifically, the labeling rules actually consist of two parts. One part is that the things that should be recognized in the voice interaction data are not recognized, the things that should not be recognized are recognized, and the answer effect is not good.
[0071] The other part includes criteria such as recognition success, recognition accuracy, and answer effect. This part can be used to evaluate the annotation effect.
[0072] In this embodiment, judging whether there is a touch interaction instruction between adjacent output data is actually marking the content with poor answer effect or not being recognized.
[0073] Simply put, when the answer is not effective, the user may use manual input. When the information is not recognized, the user will also manually input information, that is, touch interaction instructions. In fact, the fact that users give up voice input information already shows that the actual use effect of the voice model is not good.
[0074] S0202: If there is a touch interaction instruction between adjacent output data, mark the output data before the touch interaction instruction as abnormal information.
[0075] S0203, selecting the next adjacent output data, and returning to the method based on the marking rule to determine whether there is a touch interaction instruction between the adjacent output data, until all the adjacent output data are selected.
[0076] S0204, if there is no touch interaction instruction between adjacent output data, select the next adjacent output data, and return to the marking rule to determine whether there is a touch interaction instruction between adjacent output data until all adjacent output data are selected.
[0077] This embodiment involves the annotation of touch interaction instructions. The touch interaction instructions reflect the information in the voice model that the user actually uses the voice model poorly. The voice model can be effectively optimized by using the information of touch interaction instructions. It provides valuable information for optimizing the model and improving the performance of the voice interaction system.
[0078] In one embodiment of the present application, S02 further includes:
[0079] S0211, call the negative feedback vocabulary.
[0080] Specifically, the negative feedback vocabulary may include negative words such as unwise and needs to be improved.
[0081] Generally speaking, negative user feedback will appear when a word is not recognized, something is recognized that should not be recognized, or the answer is not good.
[0082] Of course, there are also cases where the voice model answers correctly, but the user deliberately uses negative voice information to test or tease the voice model. In this case, it is necessary to use criteria such as recognition success, recognition accuracy, and answer effect, and use a comprehensive evaluation of all voice data to reduce the probability of incorrectly correcting the voice model.
[0083] S0212, select an input data.
[0084] S0213, determining whether the input data matches at least one negative word in the negative feedback word library.
[0085] S0214: If the input data matches at least one negative word in the negative feedback word library, then an output data before the input data is marked as abnormal information.
[0086] S0215, returning to the step of selecting an input data until all input data are selected.
[0087] S0216: If the input data does not match the negative words in the negative feedback word library, the process returns to selecting an input data until all input data are selected.
[0088] In one embodiment of the present application, S02 further includes:
[0089] S0221, select an input data.
[0090] Specifically, failure to recognize or poor answer results may cause the user to repeatedly input the same voice data.
[0091] S0222, determine whether the input data is the same as the adjacent input data.
[0092] S0223: If the input data is the same as the adjacent input data, mark the input data as abnormal information.
[0093] S0224, returning to the step of selecting an input data until all input data are selected.
[0094] S0225, if the input data is different from the adjacent input data, return to the step of selecting an input data until all the input data are selected.
[0095] Specifically, abnormal voice data mainly includes voice information that is incorrectly recognized by the voice model, voice information that is incorrectly answered by the voice model, and the voice model fails to extract valid correct information. Among them, the user's touch interaction instructions in the input information can more effectively express the part of the voice model to be corrected. It should be noted that several embodiments of S02 can exist at the same time to collect abnormal information in voice data more comprehensively and accurately based on annotation rules.
[0096] In one embodiment of the present application, S03 includes:
[0097] S0301, select an exception information.
[0098] S0302: Based on the entire voice data and the user's feedback instruction information, determine whether the abnormal information complies with the marking rules.
[0099] S0303: If the abnormal information meets the marking rule, it is determined that the part of the speech model needs to be optimized, and the process of selecting an abnormal information is returned until all the abnormal information is selected.
[0100] S0304: If the exception information does not comply with the marking rule, it is determined that the marking rule needs to be optimized, and the process of selecting an exception information is returned until all the exception information is selected.
[0101] Specifically, there are two uses for abnormal information: modifying annotation rules and modifying speech models. In fact, the usage is similar. Modifying the speech model mainly involves low-rank decomposition of the weight matrix in the model, thereby reducing the number of parameters and computational complexity while maintaining the expressiveness of the model. In this way, the efficiency of training and reasoning can be significantly improved without sacrificing performance.
[0102] Correcting the labeling rules can further train the existing pre-trained model on the labeled dataset of the labeling task to optimize the model and improve its performance on the labeling task. This method is suitable for tasks that require precise adjustment of the model to adapt to specific application scenarios.
[0103] It mainly includes two main stages: pre-training and fine-tuning. The pre-training stage is conducted on a large-scale general dataset, with the goal of allowing the model to learn common language or image features. The fine-tuning stage is conducted on a labeled dataset for a specific task, and by adjusting some parameters of the pre-trained model, the model is made more suitable for completing specific downstream tasks. This phased training method can effectively utilize the knowledge accumulated during pre-training, while making adjustments for specific tasks to improve the application effect and accuracy of the model.
[0104] S0305, assigning the first label to all parts of the speech model that need to be optimized.
[0105] S0306: assign a second label to all parts of the labeling rule that need to be optimized. The second label is a feature of the abnormal information.
[0106] S0307: Use all the second tags to adjust the labeling rules.
[0107] In one embodiment of the present application, S06 includes:
[0108] S0601, call the original speech model.
[0109] S0602, select a first tag.
[0110] S0603: negatively correct the original speech model corresponding to the first label.
[0111] Specifically, a low-rank matrix is introduced to reduce the number of parameter updates, thereby reducing computational costs and storage requirements.
[0112] For example, in the self-attention mechanism or feed-forward neural network layer, low-rank matrices are introduced to reduce the number of parameter updates.
[0113] S0604, returning to the step of selecting a first tag until all first tags are selected.
[0114] S0605, take all negative corrections as evaluation results.
[0115] Specifically, performance thresholds include speech recognition accuracy, user satisfaction, and interaction success rate. Verify the effect of the optimized model to ensure its performance improvement in real scenarios. Perform statistical analysis based on the automatically labeled data to evaluate the performance of the model in different scenarios.
[0116] The present application provides a vehicle-mounted human-computer interaction model optimization system based on voice data reflow.
[0117] like Figures 2 to 7 As shown, in one embodiment of the present application, a vehicle-mounted human-computer interaction model optimization system based on voice data reflow includes a server 100 and a voice collector 200.
[0118] The server 100 is used to execute the in-vehicle human-computer interaction model optimization method based on voice data reflow.
[0119] The voice collector 200 is connected to the server 100 for communication.
[0120] The server 100 includes a data backflow collection module, a data automatic labeling module, a model effect optimization module and a model effect evaluation module.
[0121] The data reflux collection module is communicatively connected with the data automatic labeling module.
[0122] The data automatic labeling module is communicatively connected with the model effect optimization module.
[0123] The model effect optimization module is communicatively connected with the model effect evaluation module.
[0124] The present embodiment relates to a vehicle-mounted human-computer interaction model optimization system based on voice data reflow. The server 100 realizes the sample data collection of the model optimization of the voice data reflow by receiving the voice data from the voice collector 200. Abnormal information in the voice data is collected using the annotation rules. Based on the abnormal information, the annotation rules and the original voice model are corrected at the same time, and the voice data is input into the corrected voice model to obtain the voice model output result. When the voice model output result reaches the performance threshold, it can be determined that the voice model has been optimized. When the voice model output result does not reach the performance threshold, the abnormal information of all voice data is collected using the corrected annotation rules, and the voice model is iteratively corrected until the voice model output result reaches the performance threshold. This solves the defect that the traditional voice recognition model has poor continuity experience of user operation due to inefficient use of voice data, and improves the overall performance of vehicle-mounted human-computer interaction.
[0125] The technical features of the above-described embodiments may be arbitrarily combined, and the execution order of the method steps is not limited. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0126] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow is characterized in that: include: Receive in-car voice data; Based on the annotation rules, collect abnormal information in the voice data; Analyze the abnormal information to obtain the characteristics of the abnormal information; Adjust the annotation rules based on the characteristics of abnormal information; Using the adjusted annotation rules, the abnormal information collection points in the entire speech data are corrected; Evaluating the original speech model based on the original speech model and the user's feedback instruction information; The corrected abnormal information is used as a sample; Utilize the evaluation results to optimize the original speech model; Input the sample into the optimized speech model to obtain the speech model output result; Determine whether the output result of the speech model reaches the performance threshold; If the output result of the speech model reaches the performance threshold, the optimized speech model is output; If the output result of the speech model does not reach the performance threshold, the output result of the speech model is used as the speech data to be received in the received in-vehicle speech data until the output result of the speech model reaches the performance threshold; The collecting of abnormal information in the voice data based on the annotation rules includes: Based on the annotation rules, determine whether there is a touch interaction instruction between adjacent output data; If there is a touch interaction instruction between adjacent output data, the output data before the touch interaction instruction is marked as abnormal information; Select the next adjacent output data, and return to the step of "determining whether there is a touch interaction instruction between adjacent output data based on the marking rule" until all adjacent output data are selected; If there is no touch interaction instruction between adjacent output data, the next adjacent output data is selected, and the process returns to the step of "determining whether there is a touch interaction instruction between adjacent output data based on the marking rule" until all adjacent output data are selected.
2. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to claim 1 is characterized in that: The receiving of in-vehicle voice data comprises: Receiving input data to a speech model; Output data based on the speech model; Put the input data and output data into the voice data storage folder; Return to the step of "receiving input data for the speech model" until no more input data is received.
3. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to claim 2 is characterized in that: The collecting of abnormal information in the voice data based on the annotation rules also includes: Call up the negative feedback lexicon; Select an input data; Determining whether the input data matches at least one negative word in the negative feedback vocabulary; If the input data matches at least one negative word in the negative feedback word library, an output data before the input data is marked as abnormal information; Return to the step of "Select an input data" until all input data are selected; If the input data does not match the negative words in the negative feedback word library, return to the step of "selecting an input data" until all the input data are selected.
4. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to claim 3 is characterized in that: The collecting of abnormal information in the voice data based on the annotation rules also includes: Select an input data; Determine whether the input data is the same as adjacent input data; If the input data is the same as the adjacent input data, the input data is marked as abnormal information; Return to the step of "Select an input data" until all input data are selected; If the input data is different from the adjacent input data, return to the step of "selecting an input data" until all the input data are selected.
5. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to claim 4 is characterized in that: The analyzing the abnormal information to obtain the characteristics of the abnormal information includes: Select an exception message; Based on the entire voice data and the user's feedback instruction information, determine whether the abnormal information meets the labeling rules; If the abnormal information meets the labeling rules, it is determined that the abnormal information part of the speech model needs to be optimized, and the process returns to the step of "selecting an abnormal information" until all the abnormal information is selected; If the exception information does not conform to the marking rule, it is determined that the marking rule needs to be optimized, and the process returns to the step of "selecting an exception information" until all the exception information is selected; Assign the first label to the parts of the speech model that need to be optimized; Assigning a second label to all parts of the labeling rule that need to be optimized; the second label is the feature of the abnormal information; The labeling rules are adjusted using all the second tags.
6. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to claim 5 is characterized in that: The evaluating the original voice model based on the original voice model and the user's feedback instruction information includes: Call the original voice model; Select a first tab; Negatively correcting the original speech model corresponding to the first label; Return to the step of "Select a first tag" until all first tags are selected; All negative corrections are considered as evaluation results.
7. The vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to claim 6 is characterized in that: The determination of whether the output result of the speech model reaches the performance threshold includes speech recognition accuracy, user satisfaction, and interaction success rate.
8. The vehicle-mounted human-computer interaction model optimization system based on voice data reflow is characterized by: include: A server, configured to execute the vehicle-mounted human-computer interaction model optimization method based on voice data reflow according to any one of claims 1 to 7; A voice collector is connected to the server for communication.
9. The vehicle-mounted human-computer interaction model optimization system based on voice data reflow according to claim 8, characterized in that: The server includes a data return collection module, a data automatic annotation module, a model effect optimization module and a model effect evaluation module; The data return collection module is communicatively connected with the data automatic annotation module; The data automatic annotation module is communicatively connected with the model effect optimization module; The model effect optimization module is communicatively connected with the model effect evaluation module.
