Headphone intelligent noise reduction method and device based on AIGC

Through the intelligent noise reduction method of headphones based on AIGC, deep learning algorithms are used to identify and process noise and important sounds, which solves the problem of being unable to distinguish sound sources in the existing technology and improves the noise reduction effect and user experience of headphones.

CN118338184BActive Publication Date: 2024-08-30GUANGDONG PLANNING & DESIGNING INST OF TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410757015.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-08-30
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

Existing noise-cancelling headphones cannot effectively distinguish different sound sources, which may result in important sounds being filtered as noise in a noisy environment, affecting the user experience.

Method used

The AIGC-based intelligent noise reduction method for headphones is used to realize intelligent identification and processing of noise and important sounds and generate output sound data by collecting sound data, data preprocessing, deep learning algorithm model training and intelligent noise reduction model generation.

Benefits of technology

It improves the intelligent filtering and noise reduction capabilities of noise, improves the user experience of using noise-cancelling headphones, and ensures that important sounds can be clearly identified in noisy environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118338184B
    Figure CN118338184B
Patent Text Reader

Abstract

The present invention discloses an intelligent noise reduction method and device for headphones based on AIGC, which is applied to intelligent headphones and relates to the AIGC technology and the field of intelligent noise reduction technology, including: collecting sound data, and performing data preprocessing operations on all collected sound data to obtain target sound data; based on the target sound data and a predetermined deep learning algorithm, performing a model training operation on a preset sound recognition model to generate an AIGC-based target recognition model, and generating an intelligent noise reduction model according to the target recognition model; through the intelligent noise reduction model, performing an intelligent noise reduction operation on the to-be-processed sound data obtained by the intelligent headphones to obtain output sound data. It can be seen that the implementation of the present invention can intelligently reduce the noise of the sound in the headphones, which is conducive to improving the intelligence of filtering and reducing noise, and further helps to improve the user experience of using noise reduction headphones.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of AIGC technology and intelligent noise reduction technology, and in particular to an AIGC-based headphone intelligent noise reduction method and device. Background Art

[0002] With the development of science and technology, artificial intelligence (AI) and machine learning (ML) are being used more and more widely. AIGC (Artificial Intelligence Generative Content) technology is a generative model based on deep learning that can automatically generate various types of content, such as images, videos, audio, etc. In the field of noise reduction equipment, noise reduction headphones are a device that can reduce the impact of ambient noise on users and improve the user's auditory experience. In the field of headphone manufacturing, wireless Bluetooth headphones have become a must-have for modern people due to their portability and ease of use.

[0003] In the prior art, noise-cancelling headphones mainly use physical methods, such as sound-isolating materials, active noise cancellation and other technologies, to reduce the impact of environmental noise on users; and, existing noise-cancelling headphones are usually unable to distinguish between different sound sources, so in a noisy environment, important sounds may also be considered as noise and filtered, affecting the user's experience. It can be seen that it is particularly important to provide a new headphone noise reduction method to improve the intelligence of headphone noise reduction and thus improve the user's experience. Summary of the invention

[0004] The present invention provides an intelligent noise reduction method and device for headphones based on AIGC, which can intelligently reduce the noise in the headphones, which is conducive to improving the intelligence of noise filtering and noise reduction, and further helps to improve the user experience of using noise reduction headphones. In short, voice enhancement technology is used for effective sounds; noise reduction processing is adopted for useless noise, and a two-pronged approach is adopted to obtain the best noise reduction effect.

[0005] In order to solve the above technical problems, the first aspect of the present invention discloses an intelligent noise reduction method for headphones based on AIGC, and the intelligent noise reduction method for headphones is applied to smart headphones. The method includes:

[0006] Collecting sound data, and performing data preprocessing operations on all the collected sound data to obtain target sound data;

[0007] Based on the target sound data and a predetermined deep learning algorithm, a model training operation is performed on a preset sound recognition model to generate an AIGC-based target recognition model, and an intelligent noise reduction model is generated according to the target recognition model;

[0008] Through the intelligent noise reduction model, an intelligent noise reduction operation is performed on the to-be-processed sound data acquired by the intelligent headset to obtain output sound data.

[0009] As an optional implementation, in the first aspect of the present invention, performing an intelligent noise reduction operation on the to-be-processed sound data acquired by the intelligent headset through the intelligent noise reduction model to obtain output sound data includes:

[0010] Inputting all the to-be-processed sound data acquired by the smart headset into the smart noise reduction model, so as to perform a data analysis operation on all the to-be-processed sound data through the smart noise reduction model to obtain a sound analysis result;

[0011] Based on the sound analysis result, output sound data is generated by the intelligent noise reduction model; wherein the output sound data at least includes target human voice data.

[0012] As an optional implementation, in the first aspect of the present invention, before generating the intelligent noise reduction model according to the target recognition model, the method further includes:

[0013] Performing a model evaluation operation on the target recognition model to obtain a model evaluation result, and determining whether the model evaluation result meets a preset model operation condition;

[0014] When it is determined that the model evaluation result meets the preset model operation condition, the operation of generating an intelligent noise reduction model according to the target recognition model is triggered;

[0015] When it is determined that the model evaluation result does not meet the preset model operating conditions, the target factors of the model evaluation result not meeting the preset model operating conditions are analyzed, and based on the target factors, an update operation is performed on the target recognition model to update the target recognition model, and trigger the execution of the operation of generating an intelligent noise reduction model based on the target recognition model.

[0016] As an optional implementation, in the first aspect of the present invention, performing an updating operation on the target recognition model based on the target factor to update the target recognition model includes:

[0017] Based on the target factor, determine a model update parameter of the target recognition model, wherein the model update parameter includes one or more of a model architecture update parameter, a model layer number update parameter, and a model function update parameter;

[0018] According to the model update parameters, the target recognition model is updated to obtain a backup recognition model, a predetermined test data set is input into the backup recognition model to obtain a model test result, and whether the model test result meets a preset model test condition is determined;

[0019] When it is determined that the model test result satisfies the preset model test condition, performing an update operation on the target recognition model based on the backup recognition model to update the target recognition model;

[0020] When it is determined that the model test result does not meet the preset model test conditions, the model update parameters are adjusted, and the operation of performing an update operation on the target recognition model according to the model update parameters to obtain a backup recognition model and inputting a predetermined test data set into the backup recognition model to obtain a model test result is retriggered to determine whether the model test result meets the preset model test conditions.

[0021] As an optional implementation manner, in the first aspect of the present invention, determining the model update parameter of the target recognition model based on the target factor includes:

[0022] Based on the target factor, determine whether the model architecture of the target recognition model meets the preset structural performance conditions; when it is determined that the model architecture of the target recognition model does not meet the preset structural performance conditions, analyze the model performance of the target recognition model, and generate the model architecture update parameters of the target recognition model based on the model performance, wherein the model architecture update parameters include one or more of LSTM unit number update parameters, neuron number update parameters, and connection weight update parameters; and / or,

[0023] Based on the target factor and a predetermined validation data set, a model validation operation is performed on the target recognition model to obtain a model validation result, and based on the model validation result, a model complexity of the target recognition model is determined, and based on the model complexity, a model layer number update parameter of the target recognition model is generated, wherein the model layer number update parameter includes one or more of a learning rate update parameter and a connection layer number update parameter; and / or,

[0024] Based on the target factor and a predetermined verification data set, a model testing operation is performed on the target recognition model to obtain a model testing result, and based on the model testing result, the parameters to be adjusted are determined, and the parameter update values ​​of the parameters to be adjusted are determined through a predetermined back propagation algorithm, and based on the parameter update values ​​of the parameters to be adjusted, the model function update parameters are generated.

[0025] As an optional implementation, in the first aspect of the present invention, generating output sound data by using the intelligent noise reduction model based on the sound analysis result includes:

[0026] The sound analysis result is input into the intelligent noise reduction model, so as to perform a sound data processing operation on all the sound data to be processed based on the sound analysis result through the intelligent noise reduction model to obtain a sound data processing result; wherein the sound data processing operation includes a sound feature extraction operation and / or a sound classification and recognition operation;

[0027] Based on the sound data processing result, to-be-output sound data matching the predetermined target output sound parameter is determined from all the to-be-processed sound data, and output sound data is generated based on all the to-be-output sound data.

[0028] As an optional implementation, in the first aspect of the present invention, after generating the intelligent noise reduction model according to the target recognition model, the method further includes:

[0029] Determining model operation parameters of the intelligent noise reduction model, and judging whether the model operation parameters meet preset model operation conditions;

[0030] When it is determined that the model operation parameters do not meet the preset model operation conditions, the target operation reasons why the model operation parameters do not meet the preset model operation conditions are analyzed, and based on the target operation reasons, model adjustment parameters for the intelligent noise reduction model are generated to adjust the intelligent noise reduction model; wherein the target operation reasons include model fitting reasons and / or model generalization reasons;

[0031] Wherein, when the target operation reason includes the model fitting reason, generating a model adjustment parameter for the intelligent noise reduction model based on the target operation reason to adjust the intelligent noise reduction model includes:

[0032] Determine a model loss function of the intelligent denoising model, determine a function adjustment parameter based on the model fitting reason and the model loss function, and perform a function adjustment operation on the model loss function based on the function adjustment parameter to update the model loss function and adjust the intelligent denoising model;

[0033] And, when the target operation reason includes the model generalization reason, generating a model adjustment parameter for the intelligent noise reduction model based on the target operation reason to adjust the intelligent noise reduction model includes:

[0034] Determine the target neuron corresponding to the intelligent denoising model, and determine the deactivation rate of the target neuron, generate a deactivation rate adjustment parameter based on the generalization reason of the model and the deactivation rate of the target neuron, and perform an adjustment operation on the deactivation rate of the target neuron based on the deactivation rate adjustment parameter to update the target neuron and adjust the intelligent denoising model.

[0035] The second aspect of the present invention discloses an AIGC-based intelligent noise reduction device for headphones, which is applied to smart headphones. The device includes:

[0036] A collection module, used for collecting sound data;

[0037] A processing module, used to perform data preprocessing operations on all the collected sound data to obtain target sound data;

[0038] A training module, configured to perform a model training operation on a preset sound recognition model based on the target sound data and a predetermined deep learning algorithm to generate an AIGC-based target recognition model;

[0039] A generation module, used to generate an intelligent noise reduction model according to the target recognition model;

[0040] The noise reduction module is used to perform an intelligent noise reduction operation on the to-be-processed sound data acquired by the intelligent headset through the intelligent noise reduction model to obtain output sound data.

[0041] The third aspect of the present invention discloses another headphone intelligent noise reduction device based on AIGC, the device comprising:

[0042] A memory storing executable program code;

[0043] a processor coupled to the memory;

[0044] The processor calls the executable program code stored in the memory to execute the AIGC-based headphone intelligent noise reduction method disclosed in the first aspect of the present invention.

[0045] The fourth aspect of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the AIGC-based headphone intelligent noise reduction method disclosed in the first aspect of the present invention.

[0046] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0047] In the embodiment of the present invention, sound data is collected, and data preprocessing operations are performed on all the collected sound data to obtain target sound data; based on the target sound data and a predetermined deep learning algorithm, a model training operation is performed on a preset sound recognition model to generate an AIGC-based target recognition model, and an intelligent noise reduction model is generated according to the target recognition model; through the intelligent noise reduction model, an intelligent noise reduction operation is performed on the unprocessed sound data obtained by the smart headset to obtain output sound data. It can be seen that the implementation of the present invention can intelligently reduce the noise of the sound in the headset, which is conducive to improving the intelligence of noise filtering and noise reduction, and further helps to improve the user experience of using noise reduction headphones. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1 It is a flowchart of an AIGC-based headphone intelligent noise reduction method disclosed in an embodiment of the present invention;

[0050] Figure 2 It is a flowchart of another AIGC-based headphone intelligent noise reduction method disclosed in an embodiment of the present invention;

[0051] Figure 3 It is a structural schematic diagram of an AIGC-based intelligent noise reduction device for headphones disclosed in an embodiment of the present invention;

[0052] Figure 4 It is a structural schematic diagram of another AIGC-based intelligent noise reduction device for headphones disclosed in an embodiment of the present invention;

[0053] Figure 5 It is a structural schematic diagram of another AIGC-based headphone intelligent noise reduction device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0054] 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 are within the scope of protection of the present invention.

[0055] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0056] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0057] The present invention discloses an intelligent noise reduction method and device for headphones based on AIGC, which can intelligently reduce the noise of the sound in the headphones, which is conducive to improving the intelligence of noise filtering and noise reduction, and further helps to improve the user experience of using noise reduction headphones. The following are detailed descriptions.

[0058] Embodiment 1

[0059] See also Figure 1 , Figure 1 : is a flowchart of an AIGC-based headphone intelligent noise reduction method disclosed in an embodiment of the present invention. Figure 1 The AIGC-based headphone intelligent noise reduction method described can be applied to an AIGC-based headphone intelligent noise reduction device, and can also be applied to smart headphones, wherein the AIGC-based headphone intelligent noise reduction device can be integrated in a cloud server or a local server, which is not limited in the embodiments of the present invention. Figure 1 As shown, the AIGC-based headphone intelligent noise reduction method may include the following operations:

[0060] 101. Collect sound data, and perform data preprocessing operations on all collected sound data to obtain target sound data.

[0061] In the embodiment of the present invention, optionally, the sound data may be collected in real time, or may be collected periodically according to a preset time period, or may be collected when the model needs to be trained, which is not specifically limited in the embodiment of the present invention.

[0062] In the embodiment of the present invention, the collected sound data may optionally include one or more of the sound data of the target user, the sound data of the family members corresponding to the target user, and the environmental sound data, which is not specifically limited in the embodiment of the present invention. Further, the environmental sound data may include one or more of the sound data of traffic, the sound data of music, and the like.

[0063] In the embodiment of the present invention, optionally, performing a data preprocessing operation on all collected sound data to obtain target sound data may include:

[0064] Performing a data preprocessing operation on all collected sound data to obtain preprocessed sound data, wherein the data preprocessing operation includes one or more of a data cleaning operation, a data labeling operation, and a data segmentation operation;

[0065] Determine whether the pre-processed sound data meets the preset data training conditions;

[0066] When it is determined that the pre-processed sound data meets the preset data training condition, all the pre-processed sound data are determined as target sound data;

[0067] When it is determined that the preprocessed sound data does not meet the preset data training conditions, the data preprocessing operation is re-triggered to perform on all the collected sound data, the operation of obtaining the preprocessed sound data and the operation of determining whether the preprocessed sound data meets the preset data training conditions.

[0068] In the embodiment of the present invention, further optionally, the above-mentioned determination of whether the pre-processed sound data meets the preset data training condition may include:

[0069] Determining the sound data quality of the preprocessed sound data, and judging whether the sound data quality is greater than or equal to a preset training data quality threshold;

[0070] When it is determined that the sound data quality is greater than or equal to the preset training data quality threshold, it is determined that the preprocessed sound data meets the preset data training conditions; when it is determined that the sound data quality is less than the preset training data quality threshold, it is determined that the preprocessed sound data does not meet the preset data training conditions.

[0071] In the embodiment of the present invention, optionally, the data cleaning operation includes processing the original data to remove or repair errors, incompleteness, duplication and inconsistency therein, so as to make the data more accurate, consistent and available, wherein the data cleaning operation includes one or more of quality verification operation, missing value processing operation, outlier processing operation, data consistency processing operation, data type conversion operation, and repeated data processing operation; the data labeling operation includes the process of providing labeled training data for machine learning and artificial intelligence algorithms, which is the process of manually processing the original data set, by labeling each data point with a corresponding label or annotation so that the algorithm can understand and learn specific patterns or information, wherein the data labeling operation may include one or more of target detection labeling, semantic segmentation labeling, key point labeling, 3D point cloud labeling, and target tracking labeling; the data segmentation operation refers to dividing a logically unified data set into smaller, independently manageable physical units for storage, so as to facilitate reconstruction, reorganization and recovery, and improve the efficiency of data processing, wherein the data segmentation operation may include one or more of horizontal segmentation operation, vertical segmentation operation, and compound segmentation operation, which is not specifically limited in the embodiment of the present invention.

[0072] 102. Based on the target sound data and a predetermined deep learning algorithm, a model training operation is performed on a preset sound recognition model to generate an AIGC-based target recognition model, and an intelligent noise reduction model is generated according to the target recognition model.

[0073] In an embodiment of the present invention, optionally, the preset sound recognition model may include a convolutional neural network model (CNN), a recurrent neural network model (RNN), and a long short-term memory network model (LSTM); further, the preset sound recognition model may be a long short-term memory network model (LSTM), wherein the long short-term memory network model (LSTM, Long Short-Term Memory) is a special recursive neural network (RNN) structure, which is mainly used to process sequence data, such as text, time series, etc. LSTM effectively solves the gradient vanishing problem in traditional RNN by introducing a "gate" structure, so that the network can learn dependencies over a longer time range.

[0074] In the embodiment of the present invention, optionally, the above-mentioned performing a model training operation on a preset sound recognition model based on the target sound data and a predetermined deep learning algorithm to generate an AIGC-based target recognition model may include:

[0075] Based on the target sound data and the predetermined deep learning algorithm, setting training parameters corresponding to the preset sound recognition model, and performing a model training operation on the preset sound recognition model based on the training parameters, the target sound data and the predetermined deep learning algorithm to generate an AIGC-based target recognition model;

[0076] The training parameters include one or more of batch size training parameters, iteration training number parameters, learning rate adjustment parameters, and model validation parameters.

[0077] In an embodiment of the present invention, optionally, when the training parameters include batch size training parameters, before the model training starts, an appropriate batch size (Batch Size) needs to be set. The batch size determines the number of data samples used to update the model parameters in each iteration. The appropriate batch size can achieve a balance between training speed and model performance; when the training parameters include an iterative training number parameter, during the training process, the model will randomly extract samples from the data set for training according to the set batch size. In each iteration, the model calculates the loss function based on the extracted samples and updates the model parameters through the back-propagation algorithm. This process is repeated until the preset training round (Epoch) is reached or other stopping conditions are met. When the training parameters include the learning rate adjustment parameters, the learning rate is an important hyperparameter in the batch training process. It controls the step size of the model parameter update. As the training progresses, the learning rate may need to be adjusted to adapt to different training stages. For example, a larger learning rate can be used in the early stage of training to accelerate convergence, while in the later stage of training, the learning rate may need to be reduced to avoid oscillation near the optimal solution. When the training parameters include model validation parameters, the performance of the model needs to be evaluated regularly during the training process. This is usually done by testing the model on a validation set. The validation set is a set of data independent of the training set and is used to evaluate the performance of the model on unseen data. By comparing the validation results of different iterations, the best performing model can be selected.

[0078] In the embodiment of the present invention, optionally, generating the intelligent noise reduction model according to the target recognition model may include: determining the target recognition model as the intelligent noise reduction model.

[0079] 103. Perform an intelligent noise reduction operation on the unprocessed sound data obtained by the smart headset through the intelligent noise reduction model to obtain output sound data.

[0080] In an embodiment of the present invention, the output sound data may optionally include target human voice data, wherein the target human voice data may include human voice data of family members corresponding to the user currently using the smart headset. For example, if the sound data to be processed acquired by the smart headset includes external TV sound data and conversation sound data of family members, the external TV sound data is subjected to noise reduction, and conversation sound data of family members is generated and output to the smart headset, so that the user using the smart headset can know the conversation information of family members while shielding the external TV sound data, thereby realizing intelligent noise reduction of the smart headset.

[0081] It can be seen that implementation Figure 1 The described AIGC-based headphone intelligent noise reduction method can collect sound data and perform data preprocessing operations on all collected sound data to obtain target sound data, perform model training operations on a preset sound recognition model based on the target sound data and a deep learning algorithm to generate an AIGC-based target recognition model, and generate an intelligent noise reduction model based on the target recognition model, and perform intelligent noise reduction operations on the unprocessed sound data obtained by the intelligent headphone through the intelligent noise reduction model to obtain output sound data. By collecting sound data and performing preprocessing, it is possible to effectively remove noise, hum and other interferences in the original audio, making the audio clearer and more recognizable, which is conducive to improving the accuracy and performance of subsequent training of the sound recognition model, and the target recognition model obtained by training based on the deep learning algorithm can accurately identify and distinguish targets in the audio. Sound and background noise, and then customized noise reduction processing can be performed according to different environments and user needs, providing clearer and purer audio output, and the intelligent noise reduction model can perform noise reduction operations on the unprocessed sound data obtained by the smart headset in real time, ensuring that users get a smooth and high-quality auditory experience when talking, listening to music or watching videos. The efficient performance of the deep learning model makes the noise reduction processing faster, reduces delays and waiting time, and is conducive to improving the user experience and comfort of using smart headsets, and then the intelligent noise reduction model can perform intelligent noise reduction operations on the sound data collected by the smart headset, which can provide high-quality audio processing and noise reduction functions for the smart headset, which is conducive to improving the intelligence and accuracy of the smart headset in performing noise reduction operations, and thus is also conducive to improving the user experience and satisfaction of using smart headsets.

[0082] Embodiment 2

[0083] See also Figure 2 , Figure 2 : is a flowchart of an AIGC-based headphone intelligent noise reduction method disclosed in an embodiment of the present invention. Figure 2The AIGC-based headphone intelligent noise reduction method described can be applied to an AIGC-based headphone intelligent noise reduction device, and can also be applied to smart headphones, wherein the AIGC-based headphone intelligent noise reduction device can be integrated in a cloud server or a local server, which is not limited in the embodiments of the present invention. Figure 2 As shown, the AIGC-based headphone intelligent noise reduction method may include the following operations:

[0084] 201. Collect sound data, and perform data preprocessing operations on all collected sound data to obtain target sound data.

[0085] 202. Based on the target sound data and a predetermined deep learning algorithm, a model training operation is performed on a preset sound recognition model to generate an AIGC-based target recognition model, and an intelligent noise reduction model is generated according to the target recognition model.

[0086] In the embodiment of the present invention, for the detailed description of step 201-step 202, please refer to the other descriptions of step 101-step 102 in the first embodiment, and the embodiment of the present invention will not be repeated.

[0087] 203. Input all the to-be-processed sound data acquired by the smart headset into the smart noise reduction model, so as to perform a data analysis operation on all the to-be-processed sound data through the smart noise reduction model to obtain a sound analysis result.

[0088] In the embodiment of the present invention, optionally, the data analysis operation includes one or more of a sound feature extraction operation and a sound classification and recognition operation.

[0089] In the embodiment of the present invention, optionally, the sound analysis result may include a sound category corresponding to each sound data included in the sound data to be processed.

[0090] 204. Based on the sound analysis result, output sound data is generated through an intelligent noise reduction model.

[0091] In the embodiment of the present invention, the output sound data at least includes target human voice data.

[0092] In an embodiment of the present invention, optionally, for example, if the sound analysis result is used to indicate that the sound data to be processed includes background sound data and target human voice data, a noise reduction operation is performed on the background sound data through an intelligent noise reduction model to obtain output sound data that only contains the target human voice data after noise reduction.

[0093] It can be seen that implementation Figure 2The described AIGC-based headset intelligent noise reduction method can input all the sound data to be processed acquired by the intelligent headset into the intelligent noise reduction model, so as to perform data analysis operations on all the sound data to be processed through the intelligent noise reduction model to obtain sound analysis results, and generate output sound data including target human voice data through the intelligent noise reduction model based on the sound analysis results, and can perform intelligent noise reduction operations on the sound data to be processed through analysis and processing by the intelligent noise reduction model, which can effectively remove or reduce background noise, make the target human voice data clearer, and can realize targeted and intelligent noise reduction of sound data, which is very important for scenarios such as making calls, voice assistant interactions or audio recording in noisy environments, and The intelligent noise reduction model can be adaptively adjusted according to different noise environments and user habits to achieve the best noise reduction effect. This flexibility enables smart headphones to provide effective noise reduction functions in various scenarios, and can achieve intelligent noise reduction without affecting the normal use and normal communication of users of the smart headphones, which is beneficial to improving the intelligence, comfort and experience of users using smart headphones. Furthermore, the intelligent noise reduction model can perform intelligent noise reduction operations on the sound data collected by the smart headphones, and can provide high-quality audio processing and noise reduction functions for the smart headphones, which is beneficial to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and further helps to improve the user experience and satisfaction of using smart headphones.

[0094] In an optional embodiment, before generating the intelligent noise reduction model according to the target recognition model, the method further includes:

[0095] Performing a model evaluation operation on the target recognition model to obtain a model evaluation result, and determining whether the model evaluation result meets the preset model operation conditions;

[0096] When it is determined that the model evaluation result meets the preset model operation conditions, the operation of generating an intelligent noise reduction model according to the target recognition model is triggered;

[0097] When it is determined that the model evaluation result does not meet the preset model operating conditions, the target factors of the model evaluation result not meeting the preset model operating conditions are analyzed, and based on the target factors, an update operation is performed on the target recognition model to update the target recognition model and trigger the operation of generating an intelligent noise reduction model based on the target recognition model.

[0098] In this optional embodiment, optionally, performing a model evaluation operation on the target recognition model to obtain a model evaluation result may include:

[0099] The model evaluation operation is performed on the target recognition model through the predetermined verification data set, the data verification result corresponding to the ticket verification data set is obtained, the data matching rate of the data verification result is determined, and the model evaluation result is generated based on the data matching rate.

[0100] In this optional embodiment, optionally, the above-mentioned determination of whether the model evaluation result meets the preset model operation condition may include:

[0101] Based on the model evaluation results, determining model performance parameters of the target recognition model, wherein the model performance parameters include the operating accuracy of the target recognition model;

[0102] Determine whether the running accuracy of the target recognition model is greater than or equal to the running accuracy threshold corresponding to the preset model running condition;

[0103] When it is determined that the operating accuracy of the target recognition model is greater than or equal to the operating accuracy threshold corresponding to the preset model operating conditions, it is determined that the model evaluation result meets the preset model operating conditions; when it is determined that the operating accuracy of the target recognition model is less than the operating accuracy threshold corresponding to the preset model operating conditions, it is determined that the model evaluation result does not meet the preset model operating conditions.

[0104] In this optional embodiment, further optionally, after updating the target recognition model, the method may further include:

[0105] Perform a model evaluation operation on the updated target recognition model to obtain a model evaluation result, and determine whether the model evaluation result meets the preset model operating conditions; if so, generate an intelligent noise reduction model based on the updated target recognition model; if not, re-perform an update operation on the target recognition model based on the target factor to update the target recognition model, and re-trigger the execution of the model evaluation operation on the updated target recognition model to obtain a model evaluation result, and determine whether the model evaluation result meets the preset model operating conditions, until it is determined that the model evaluation result meets the preset model operating conditions.

[0106] It can be seen that the implementation of this optional embodiment can perform a model evaluation operation on the target recognition model to obtain a model evaluation result, and determine whether the model evaluation result meets the preset model operation conditions. If so, an intelligent denoising model is generated according to the target recognition model. If not, the target factor that the model evaluation result does not meet the model operation conditions is analyzed, and an update operation is performed on the target recognition model based on the target factor to update the target recognition model and trigger the execution of an operation to generate an intelligent denoising model according to the target recognition model. Through the model evaluation operation, it can be ensured that the target recognition model meets certain performance standards before operation, thereby ensuring the quality and effect of the generated intelligent denoising model. When the model does not meet the preset operation conditions, the target recognition model is updated, and the intelligent denoising model is generated after the target recognition model is updated. This can avoid problems caused by poor model performance. The system instability or malfunction caused by the intelligent noise reduction model can be prevented, and by updating the target recognition model, targeted optimization can be performed based on the target factors that do not meet the conditions in the evaluation results, thereby improving the accuracy of target recognition, which is beneficial to improving the noise reduction effect of the intelligent noise reduction model. By continuously evaluating and updating the target recognition model, the model parameters and structure can be adaptively adjusted according to changes in the actual environment and usage conditions to adapt to different noise reduction needs, thereby ensuring the stability of the operation of the intelligent noise reduction model, and improving the noise reduction effect of the smart headphones based on the intelligent noise reduction model. Further, it can provide high-quality audio processing and noise reduction functions for the smart headphones, which is beneficial to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and thus is beneficial to improving the user experience and satisfaction of using the smart headphones.

[0107] In another optional embodiment, based on the target factor, performing an update operation on the target recognition model to update the target recognition model includes:

[0108] Based on the target factor, determine the model update parameters of the target recognition model, wherein the model update parameters include one or more of a model architecture update parameter, a model layer number update parameter, and a model function update parameter;

[0109] According to the model update parameters, the target recognition model is updated to obtain a backup recognition model, a predetermined test data set is input into the backup recognition model, a model test result is obtained, and whether the model test result meets the preset model test conditions is determined;

[0110] When it is determined that the model test result meets the preset model test condition, an update operation is performed on the target recognition model based on the backup recognition model to update the target recognition model;

[0111] When it is determined that the model test result does not meet the preset model test conditions, the model update parameters are adjusted, and the operation of updating the target recognition model according to the model update parameters is re-triggered to obtain the operation of the backup recognition model and input the predetermined test data set into the backup recognition model to obtain the model test result and determine whether the model test result meets the preset model test conditions.

[0112] In this optional embodiment, the predetermined test data set may optionally include a plurality of test data and a sound test result corresponding to each test data.

[0113] In this optional embodiment, optionally, the above-mentioned determination of whether the model test result meets the preset model test condition may include:

[0114] Based on the model test results, determine the model operation parameters of the target recognition model, wherein the model operation parameters include one or more of the recognition accuracy parameter and the recognition efficiency parameter of the target recognition model;

[0115] Analyze the parameter difference value between the model operation parameter and the predetermined operation benchmark parameter, and determine whether the parameter difference value is greater than or equal to a preset parameter difference threshold;

[0116] When it is determined that the parameter difference value is greater than or equal to the preset parameter difference threshold, it is determined that the model test result does not meet the preset model test conditions; when it is determined that the parameter difference value is less than the preset parameter difference threshold, it is determined that the model test result meets the preset model test conditions.

[0117] In this optional embodiment, optionally, the above adjustment of the model update parameters may include:

[0118] Analyze the target test reasons why the model test results do not meet the preset model test conditions, and based on the target test reasons, determine at least one target update parameter that matches the target test reasons in a predetermined update parameter library, and based on all target update parameters, generate a model adjustment factor, and adjust the model update parameters based on the model adjustment factor.

[0119] In this optional embodiment, optionally, performing an update operation on the target recognition model based on the backup recognition model to update the target recognition model may include: updating the backup recognition model to the target recognition model to update the target recognition model.

[0120] It can be seen that the implementation of this optional embodiment can determine the model update parameters of the target recognition model based on the target factor, perform an update operation on the target recognition model according to the model update parameters to obtain a backup recognition model, and input the test data set into the backup recognition model to obtain a model test result, and judge whether the model test result meets the preset model test condition. If it meets the condition, the target recognition model is updated based on the backup recognition model to update the target recognition model. If it does not meet the condition, the model update parameters are adjusted and the execution of the update operation on the target recognition model according to the model update parameters to obtain a backup recognition model and the test data set is input into the backup recognition model to obtain a model test result and judge whether the model test result meets the preset model test condition can be re-triggered. By determining the model update parameters (including model architecture, number of layers and functions, etc.) according to the target factor, great flexibility is provided for model optimization, and the target recognition model can be customized according to specific needs and performance bottlenecks. Before, testing the backup recognition model with a test data set can ensure that the performance of the updated model meets the preset conditions, effectively avoid unnecessary waste of resources, and improve the efficiency of model optimization. In addition, by determining the target factor to determine the model update parameters and updating the target recognition model through the target factor, the target recognition model can be updated in a targeted manner, which is beneficial to improving the accuracy and reliability of updating the target recognition model, as well as improving the intelligence and efficiency of updating the target recognition model, and is also beneficial to improving the flexibility, efficiency and controllability of updating the target recognition model, thereby further improving the subsequent generation of the intelligent noise reduction model and ensuring the stability of the operation of the intelligent noise reduction model, and can also improve the noise reduction effect of the smart headset based on the intelligent noise reduction model, and further can provide high-quality audio processing and noise reduction functions for the smart headset, which is beneficial to improving the intelligence and accuracy of the smart headset in performing noise reduction operations, and is also beneficial to improving the user experience and satisfaction of using the smart headset.

[0121] In yet another optional embodiment, determining a model update parameter of the target recognition model based on the target factor includes:

[0122] Based on the target factor, determine whether the model architecture of the target recognition model meets the preset structural performance conditions; when it is determined that the model architecture of the target recognition model does not meet the preset structural performance conditions, analyze the model performance of the target recognition model, and generate the model architecture update parameters of the target recognition model based on the model performance, wherein the model architecture update parameters include one or more of the LSTM unit number update parameters, the neuron number update parameters, and the connection weight update parameters; and / or,

[0123] Based on the target factor and a predetermined validation data set, a model validation operation is performed on the target recognition model to obtain a model validation result, and based on the model validation result, a model complexity of the target recognition model is determined, and based on the model complexity, a model layer number update parameter of the target recognition model is generated, wherein the model layer number update parameter includes one or more of a learning rate update parameter and a connection layer number update parameter; and / or,

[0124] Based on the target factor and a predetermined validation data set, a model testing operation is performed on the target recognition model to obtain a model testing result, and based on the model testing result, the parameters to be adjusted are determined, and the parameter update values ​​of the parameters to be adjusted are determined through a predetermined back propagation algorithm, and based on the parameter update values ​​of the parameters to be adjusted, the model function update parameters are generated.

[0125] In this optional embodiment, optionally, judging whether the model architecture of the target recognition model meets the preset structural performance conditions based on the target factor may include:

[0126] Based on the target factor and the target recognition model, determine the LSTM model performance of the target recognition model, and judge whether the LSTM model performance meets the preset performance conditions;

[0127] When it is determined that the performance of the LSTM model meets the preset performance conditions, it is determined that the model architecture of the target recognition model meets the preset structural performance conditions; when it is determined that the performance of the LSTM model does not meet the preset performance conditions, it is determined that the model architecture of the target recognition model does not meet the preset structural performance conditions.

[0128] In this optional embodiment, optionally, the method of determining the LSTM model performance of the target recognition model can be to evaluate it through a validation data set, and the validation data set can be used to identify possible performance bottlenecks and possible deficiencies of the target recognition model.

[0129] In this optional embodiment, optionally, the LSTM unit number update parameter is used to adjust the number of LSTM units in the target recognition model, the neuron number update parameter is used to adjust the number of neurons in each layer of the target recognition model, and the connection weight update parameter is used to adjust the connection weight parameters of each level in the target recognition model. Further optionally, the LSTM unit number update parameter, the neuron number update parameter, and the connection weight update parameter can be verified and optimized by one or more methods of cross-validation and grid search.

[0130] In this optional embodiment, for example, the performance of the existing LSTM model is evaluated using a validation data set to identify possible performance bottlenecks or deficiencies, and a new network structure is designed based on the performance analysis results. This may involve changing the connection mode between LSTM units, introducing other types of network layers (such as convolutional layers, fully connected layers, etc.), or adopting other advanced LSTM variants (such as GRU, Peephole LSTM, etc.), implementing the newly designed network structure into the model, and testing it using a validation data set. Compare the performance difference between the new structure and the original structure to obtain the test results. According to the test results, the network structure is continuously adjusted and optimized until the best performance structure configuration is found. During the network structure adjustment process, the parameters that may need to be adjusted include the number of LSTM units, the number of neurons in each layer, the connection weights, etc. These parameters can be optimized by cross-validation, grid search, and other methods.

[0131] In this optional embodiment, optionally, the above-mentioned process of performing a model verification operation on the target recognition model based on the target factor and a predetermined verification data set to obtain a model verification result can be a process of performing a model verification operation on the target recognition model based on the verification data set. Further, if the model performs poorly on the verification data set, it may be due to insufficient model complexity (underfitting) or excessive complexity (overfitting). Increasing the number of layers can increase model complexity, and reducing the number of layers can reduce complexity.

[0132] In this optional embodiment, optionally, for example, according to the corresponding requirements of model verification, the number of LSTM layers is gradually increased or decreased, and the verification data set is used for testing, and the performance changes of the target recognition model are observed to find the optimal layer configuration, and according to the optimal layer configuration, the number of layers of the target recognition model is adjusted. When adjusting the number of layers, it is necessary to pay close attention to whether the model is overfitting or underfitting, and take corresponding measures to deal with it (such as regularization, increasing data diversity, etc.). When adjusting the number of layers, it may also be necessary to simultaneously adjust the number of neurons in each layer, the learning rate and other parameters to maintain the stability and performance of the model.

[0133] In this optional embodiment, optionally, the learning rate update parameter is used to adjust and update the training learning rate of the target recognition model; the connection layer number update parameter is used to adjust and update the number of connection layers of the target recognition model.

[0134] In this optional embodiment, optionally, the parameters to be adjusted may include activation function adjustment parameters, wherein the activation function may include one or more of a ReLU activation function, a Tanh activation function, and a Sigmoid activation function; further, the activation function may also include one or more of a Leaky ReLU activation function and a PReLU activation function, which is not specifically limited in the embodiment of the present invention.

[0135] In this optional embodiment, for example, a suitable activation function is selected according to the characteristics of the LSTM model and the performance of the validation data set. Common activation functions include ReLU, Tanh, Sigmoid, etc. You can also try to use other advanced activation functions (such as Leaky ReLU, PReLU, etc.), apply the selected activation function to the LSTM model, and use the validation data set for testing to obtain test results, and compare the effects of different activation functions on model performance based on the test results. According to the test results, select the activation function with the best performance. When changing the activation function, it may be necessary to adjust the relevant parameters, such as the slope and intercept of the activation function. These parameters can be automatically adjusted by the back propagation algorithm, or manually adjusted to find the best configuration. In this way, the target recognition model can be optimized and adjusted by evaluating and optimizing the model, wherein model evaluation and optimization is an iterative process, and parameters and structures need to be continuously adjusted to find the best model configuration. During the adjustment process, pay close attention to the performance of the validation data set to avoid overfitting or underfitting, so as to improve the intelligence and efficiency of model training, thereby facilitating the improvement of the accuracy and reliability of the target recognition model obtained by training and the intelligent noise reduction model.

[0136] It can be seen that the implementation of this optional embodiment can determine whether the model architecture of the target recognition model meets the structural performance conditions based on the target factor. If not, the model performance of the target recognition model is analyzed and the model architecture update parameters are generated, and / or, based on the target factor and the verification data set, a model verification operation is performed on the target recognition model to obtain a model verification result and determine the model complexity, and the model layer number update parameters of the target recognition model are generated based on the model complexity, and / or, based on the target factor and the verification data set, a model test operation is performed on the target recognition model to obtain a model test result and determine the parameters to be adjusted, and the parameter update values ​​of the parameters to be adjusted are determined by the back propagation algorithm to generate the model function update parameters. By analyzing the target factors and model performance, the system can dynamically adjust the architecture and parameters of the model to adapt to the ever-changing environment and needs. The dynamic adaptability enables the model to maintain its accuracy and efficiency, and by updating the model architecture (such as adjusting the number of LSTM units, neurons The system can optimize the performance of the model, including improving recognition accuracy, reducing overfitting, enhancing model generalization ability, etc., and update the parameters of the model layers by adjusting the learning rate and the number of connection layers, so as to control the complexity of the model and avoid overfitting, while ensuring that the model has sufficient fitting ability, and intelligently determine the parameters to be adjusted and the parameter update values ​​through the verification data set and test results, which is conducive to improving the intelligence and accuracy of model training, and through the dynamic adjustment of the model architecture and parameters, it is conducive to improving the accuracy and intelligence of intelligent data processing based on the target recognition model, reducing the phenomenon of data recognition errors due to misjudgment of the target recognition model, thereby helping to improve the performance, adaptability and robustness of the model, and further providing high-quality audio processing and noise reduction functions for smart headphones, which is conducive to improving the intelligence and accuracy of smart headphones in performing noise reduction operations, and further helping to improve the user experience and satisfaction of using smart headphones.

[0137] In yet another optional embodiment, based on the sound analysis result, output sound data is generated by an intelligent noise reduction model, including:

[0138] The sound analysis result is input into the intelligent noise reduction model, so as to perform a sound data processing operation on all the sound data to be processed based on the sound analysis result through the intelligent noise reduction model to obtain a sound data processing result; wherein the sound data processing operation includes a sound feature extraction operation and / or a sound classification and recognition operation;

[0139] Based on the sound data processing result, to-be-output sound data matching the predetermined target output sound parameter is determined from all the to-be-processed sound data, and output sound data is generated based on all the to-be-output sound data.

[0140] In this optional embodiment, optionally, the above-mentioned inputting the sound analysis result into the intelligent noise reduction model so as to perform a sound data processing operation on all the sound data to be processed based on the sound analysis result through the intelligent noise reduction model to obtain the sound data processing result may include:

[0141] Inputting the sound analysis result into the intelligent noise reduction model, so as to perform real-time data processing operation on the sound analysis result through the intelligent noise reduction model to obtain sound data processing information, wherein the sound data processing information includes one or more of the sound category corresponding to the sound data to be processed and the sound feature corresponding to the sound data to be processed;

[0142] Based on the sound data processing information, a sound data processing result is determined.

[0143] In this optional embodiment, optionally, the above-mentioned determining, based on the sound data processing result, the sound data to be output that matches the predetermined target output sound parameter from all the sound data to be processed, and generating the output sound data based on all the sound data to be output, may include:

[0144] Based on the sound data processing result, a first output requirement parameter is determined, and based on the predetermined target output sound parameter, a second output requirement parameter is determined, and the target output requirement parameter is generated based on the first output requirement parameter and the second output requirement parameter, and the sound data to be output that matches the target output requirement parameter is determined from all the sound data to be processed, and the output sound data is generated based on all the sound data to be output.

[0145] In this optional embodiment, for example, the predetermined target output sound parameters may include one or more of dialogue output sound parameters and human voice output sound parameters. For example, when the user of the noise reduction headset is a primary school student and is doing homework, the predetermined target output sound parameters include the conversation sound of the primary school student's parents, so that the primary school student can do homework while intelligently reducing noise to shield external sounds, and can also hear the conversation sound of his parents, so that intelligent noise reduction can be achieved and the corresponding output sound data can be output in a targeted manner.

[0146] It can be seen that the implementation of this optional embodiment can input the sound analysis result into the intelligent noise reduction model, so that the intelligent noise reduction model can perform sound data processing operations on the sound data to be processed based on the sound analysis result to obtain the sound data processing result, determine the sound data to be output that matches the target output sound parameters from all the sound data to be processed based on the sound data processing result, and then generate output sound data based on the sound data to be output. The sound data can be processed by the intelligent noise reduction model, and interference factors such as background noise and echo can be effectively removed or reduced, thereby significantly improving the sound quality of the smart headset performing noise reduction operations and outputting sound. In the sound feature extraction and sound classification and recognition operations, the intelligent noise reduction model can It can highlight the key features in the sound and reduce the interference of non-key features, which is conducive to improving the subsequent sound recognition or classification algorithm to more accurately identify the target sound and improve the recognition accuracy. Furthermore, the intelligent noise reduction model can be customized and adjusted according to the actual application scenarios and needs. By adding or adjusting the algorithms and parameters in the model, the noise reduction effect can be further optimized and the processing performance can be improved. It can also improve the noise reduction effect of smart headphones based on the intelligent noise reduction model. Further, it can also provide high-quality audio processing and noise reduction functions for smart headphones, which is conducive to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and thus It is also beneficial to improve the user experience and satisfaction of using smart headphones.

[0147] In yet another optional embodiment, after generating the intelligent noise reduction model according to the target recognition model, the method further includes:

[0148] Determine the model operation parameters of the intelligent noise reduction model, and judge whether the model operation parameters meet the preset model operation conditions;

[0149] When it is determined that the model operation parameters do not meet the preset model operation conditions, the target operation reasons why the model operation parameters do not meet the preset model operation conditions are analyzed, and based on the target operation reasons, model adjustment parameters for the intelligent noise reduction model are generated to adjust the intelligent noise reduction model; wherein the target operation reasons include model fitting reasons and / or model generalization reasons;

[0150] Wherein, when the target operation reason includes a model fitting reason, based on the target operation reason, a model adjustment parameter for the intelligent noise reduction model is generated to adjust the intelligent noise reduction model, including:

[0151] Determine a model loss function of the intelligent denoising model, determine a function adjustment parameter based on the model fitting reason and the model loss function, and perform a function adjustment operation on the model loss function based on the function adjustment parameter to update the model loss function and adjust the intelligent denoising model;

[0152] And, when the target operation reason includes a model generalization reason, based on the target operation reason, generating a model adjustment parameter for the intelligent noise reduction model to adjust the intelligent noise reduction model, including:

[0153] Determine the target neuron corresponding to the intelligent denoising model, and determine the deactivation rate of the target neuron. Based on the generalization reason of the model and the deactivation rate of the target neuron, generate a deactivation rate adjustment parameter, and perform an adjustment operation on the deactivation rate of the target neuron based on the deactivation rate adjustment parameter to update the target neuron and adjust the intelligent denoising model.

[0154] In this optional embodiment, optionally, the function adjustment operation includes a regularization processing operation; the inactivation rate adjustment parameter is used to adjust the proportion of randomly inactivated neurons during the model training process.

[0155] In this optional embodiment, optional, regularization is a technique for reducing model overfitting by modifying the loss function. It penalizes the complexity of the model by adding a regularization term to the loss function, thereby preventing the model from overfitting the training data; Dropout is a technique for randomly inactivating some neurons during the neural network training process, which can prevent the model from being too dependent on certain specific neurons, thereby improving the generalization ability of the model.

[0156] In this optional embodiment, for example, when the target operation reason includes the model fitting reason, the problem of model overfitting is reduced by modifying the loss function, wherein the regularization type is first selected: common regularization methods include L1 regularization, L2 regularization, or a combination thereof (Elastic Net). In the speech LSTM model, L2 regularization is usually more commonly used, so the regularization parameter is set. The regularization parameter λ (lambda) controls the weight of the regularization term in the loss function. A larger λ value will lead to a stronger regularization effect, but it may also cause the model to be underfitted. It is usually necessary to determine the best λ value through cross-validation, and modify the loss function to add the regularization term to the original loss function. For L2 regularization, the regularization term is the sum of the squares of the model weights multiplied by λ, and the modified loss function is used to train the LSTM model. During the training process, the regularization term guides the model to select a smaller weight value, thereby reducing the complexity of the model; wherein, λ (lambda): regularization parameter, the best value needs to be determined through experiments or cross-validation. The usual value range is between 0.001 and 1, but the specific value depends on the dataset and model structure.

[0157] In this optional embodiment, for example, when the target operation reason includes the model generalization reason, the proportion of randomly inactivated neurons is adjusted. First, the dropout rate is set: the dropout rate determines the proportion of randomly inactivated neurons in each training iteration, where the common dropout rate value is between 0.2 and 0.5; and dropout is applied after each hidden layer of the LSTM model (or after certain specific layers), which means that during each forward propagation process, a part of neurons will be randomly selected and their outputs will be set to 0. The model with dropout is used for training. Since a part of neurons will be randomly inactivated in each iteration, the model will not be overly dependent on specific neurons or features. In the test phase, dropout is usually not used, but the output of all neurons is used for prediction. This is to ensure that the model can make full use of all learned information during testing; wherein, the Dropout rate: is usually set between 0.2 and 0.5. The specific value depends on the data set, model structure, and task complexity. A higher dropout rate can increase the robustness of the model, but it may also make the training process more difficult.

[0158] It can be seen that the implementation of this optional embodiment can determine the model operation parameters of the intelligent denoising model and determine whether the model operation parameters meet the preset model operation conditions. If not, the target operation reasons are analyzed and model adjustment parameters are generated to adjust the intelligent denoising model. If the target operation reasons include model fitting reasons, the model loss function of the intelligent denoising model is determined, and the function adjustment parameters are determined based on the model fitting reasons and the model loss function, and the function adjustment operation is performed to update the model loss function and adjust the intelligent denoising model. If the target operation reasons include model generalization reasons, the target neurons corresponding to the intelligent denoising model are determined and the deactivation rate of the target neurons is determined. Based on the model generalization reasons and the deactivation rate of the target neurons, the deactivation rate adjustment parameters are generated and the adjustment operation is performed to update the target neurons and adjust the intelligent denoising model. By determining the model operation parameters of the intelligent denoising model and judging whether these parameters meet the preset model operation conditions, it can be ensured that the model runs in the best state. When the model operation parameters do not meet the preset conditions, by analyzing the specific reasons for not meeting the conditions (such as model fitting reasons or model generalization reasons), targeted model adjustment parameters can be generated, which is conducive to improving the accuracy and reliability of generating model adjustment parameters. It is also helpful to improve the intelligence and efficiency of adjusting parameters of the generation model. When the target reason includes the model fitting reason, by adjusting the loss function of the model, the fitting ability of the model can be optimized, which can help the model better capture the patterns and structures in the data, thereby helping to improve the noise reduction effect. When the target reason includes the model generalization reason, by adjusting the inactivation rate of the target neuron, the generalization ability of the model can be enhanced, and the risk of overfitting can be reduced. By constantly checking the model operation parameters, analyzing the reasons for not meeting the conditions and adjusting the model accordingly, the continuous improvement of the model performance can be achieved, and the model can be continuously adapted to new environments and data, and the stability and efficiency of its noise reduction effect can be maintained. By optimizing the intelligent noise reduction model, the performance of applications or devices using the model for noise reduction processing can be significantly improved, which can directly improve the user experience, so that the user can obtain a higher quality noise reduction effect, and can further optimize the noise reduction effect and improve the processing performance. It can also improve the noise reduction effect of smart headphones based on the intelligent noise reduction model, and further provide high-quality audio processing and noise reduction functions for smart headphones, which is conducive to improving the intelligence and accuracy of smart headphones in performing noise reduction operations, and thus is also conducive to improving the user experience and satisfaction of using smart headphones.

[0159] Embodiment 3

[0160] See also Figure 3 , Figure 3 Schematic diagram of the structure of an AIGC-based headphone intelligent noise reduction device disclosed in an embodiment of the present invention. Figure 3As shown, the AIGC-based intelligent noise reduction device for headphones can be applied to smart headphones, wherein the AIGC-based intelligent noise reduction device for headphones can include:

[0161] The acquisition module 301 is used to acquire sound data;

[0162] The processing module 302 is used to perform data preprocessing operations on all collected sound data to obtain target sound data;

[0163] A training module 303 is used to perform a model training operation on a preset sound recognition model based on target sound data and a predetermined deep learning algorithm to generate an AIGC-based target recognition model;

[0164] A generation module 304 is used to generate an intelligent noise reduction model according to the target recognition model;

[0165] The noise reduction module 305 is used to perform an intelligent noise reduction operation on the to-be-processed sound data acquired by the intelligent headset through an intelligent noise reduction model to obtain output sound data.

[0166] It can be seen that the implementation Figure 3 The described device is capable of collecting sound data and performing data preprocessing operations on all the collected sound data to obtain target sound data, performing model training operations on a preset sound recognition model based on the target sound data and a deep learning algorithm to generate a target recognition model based on AIGC, and generating an intelligent noise reduction model based on the target recognition model, and performing an intelligent noise reduction operation on the unprocessed sound data obtained by the smart headset through the intelligent noise reduction model to obtain output sound data. By collecting sound data and performing preprocessing, it is possible to effectively remove noise, hum and other interference in the original audio, making the audio clearer and more recognizable, which is conducive to improving the accuracy and performance of subsequent training of the sound recognition model, and the target recognition model obtained by training based on the deep learning algorithm can accurately identify and distinguish the target sound and background in the audio. Noise, and then customized noise reduction processing can be performed according to different environments and user needs, providing clearer and purer audio output, and the intelligent noise reduction model can perform noise reduction operations on the unprocessed sound data obtained by the smart headset in real time, ensuring that users get a smooth and high-quality auditory experience when talking, listening to music or watching videos. The efficient performance of the deep learning model makes the noise reduction processing faster, reduces delays and waiting time, which is conducive to improving the user experience and comfort of using smart headsets, and then the intelligent noise reduction model can perform intelligent noise reduction operations on the sound data collected by the smart headset, which can provide high-quality audio processing and noise reduction functions for the smart headset, which is conducive to improving the intelligence and accuracy of the smart headset in performing noise reduction operations, and then it is also conducive to improving the user experience and satisfaction of using smart headsets.

[0167] In an optional embodiment, if Figure 3 As shown, the noise reduction module 305 performs an intelligent noise reduction operation on the to-be-processed sound data acquired by the smart headset through the intelligent noise reduction model, and the specific method of obtaining the output sound data includes:

[0168] Input all the sound data to be processed acquired by the smart headset into the smart noise reduction model, so as to perform data analysis operations on all the sound data to be processed through the smart noise reduction model to obtain sound analysis results;

[0169] Based on the sound analysis results, output sound data is generated through an intelligent noise reduction model; wherein the output sound data at least includes target human voice data.

[0170] It can be seen that the implementation Figure 3 The described device can input all the sound data to be processed acquired by the smart headset into the intelligent noise reduction model, so as to perform data analysis operations on all the sound data to be processed through the intelligent noise reduction model to obtain sound analysis results, and generate output sound data including target human voice data through the intelligent noise reduction model based on the sound analysis results. Through the analysis and processing of the intelligent noise reduction model, the sound data to be processed can be subjected to intelligent noise reduction operations, which can effectively remove or reduce background noise, make the target human voice data clearer, and can realize targeted and intelligent noise reduction of sound data, which is very important for scenarios such as making calls, voice assistant interactions or audio recording in noisy environments, and through the intelligent noise reduction model The model can be adaptively adjusted according to different noise environments and user habits to achieve the best noise reduction effect. This flexibility enables smart headphones to provide effective noise reduction functions in various scenarios, and can achieve intelligent noise reduction without affecting the normal use and normal communication of users of smart headphones, which is beneficial to improving the intelligence, comfort and experience of users using smart headphones, and then can perform intelligent noise reduction operations on the sound data collected by the smart headphones through the intelligent noise reduction model, and can provide high-quality audio processing and noise reduction functions for smart headphones, which is beneficial to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and then also helps to improve the user experience and satisfaction of using smart headphones.

[0171] In another optional embodiment, Figure 4 As shown, the device also includes:

[0172] The evaluation module 306 is used to perform a model evaluation operation on the target recognition model to obtain a model evaluation result before the generation module 304 generates an intelligent noise reduction model according to the target recognition model;

[0173] The judgment module 307 is used to judge whether the model evaluation result meets the preset model operation conditions; when it is judged that the model evaluation result meets the preset model operation conditions, the generation module 304 is triggered to perform the operation of generating an intelligent noise reduction model according to the target recognition model;

[0174] The analysis module 308 is used to analyze the target factor of the model evaluation result not meeting the preset model operation condition when the judgment module 307 judges that the model evaluation result does not meet the preset model operation condition;

[0175] The updating module 309 is used to perform an updating operation on the target recognition model based on the target factor to update the target recognition model, and trigger the generating module 304 to perform an operation of generating an intelligent noise reduction model according to the target recognition model.

[0176] It can be seen that implementation Figure 4 The described device can perform a model evaluation operation on a target recognition model to obtain a model evaluation result, and determine whether the model evaluation result meets the preset model operation conditions. If so, an intelligent noise reduction model is generated according to the target recognition model. If not, the target factor of the model evaluation result not meeting the model operation conditions is analyzed, and an update operation is performed on the target recognition model based on the target factor to update the target recognition model and trigger the execution of an operation to generate an intelligent noise reduction model according to the target recognition model. Through the model evaluation operation, it can be ensured that the target recognition model meets certain performance standards before operation, thereby ensuring the quality and effect of the generated intelligent noise reduction model. When the model does not meet the preset operation conditions, the target recognition model is updated, and the intelligent noise reduction model is generated after the target recognition model is updated, which can avoid system errors caused by poor model performance. The system is unstable or malfunctions, and by updating the target recognition model, targeted optimization can be performed based on the target factors that do not meet the conditions in the evaluation results, thereby improving the accuracy of target recognition, which is beneficial to improving the noise reduction effect of the intelligent noise reduction model, and by continuously evaluating and updating the target recognition model, the model parameters and structure can be adaptively adjusted according to changes in the actual environment and usage conditions to adapt to different noise reduction needs, thereby ensuring the stability of the operation of the intelligent noise reduction model, and improving the noise reduction effect of smart headphones based on the intelligent noise reduction model. Further, it can provide high-quality audio processing and noise reduction functions for smart headphones, which is beneficial to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and thus is beneficial to improving the user experience and satisfaction of using smart headphones.

[0177] In yet another optional embodiment, Figure 4 As shown, the updating module 309 performs an updating operation on the target recognition model based on the target factor, and the specific manner of updating the target recognition model includes:

[0178] Based on the target factor, determine the model update parameters of the target recognition model, wherein the model update parameters include one or more of a model architecture update parameter, a model layer number update parameter, and a model function update parameter;

[0179] According to the model update parameters, the target recognition model is updated to obtain a backup recognition model, a predetermined test data set is input into the backup recognition model, a model test result is obtained, and whether the model test result meets the preset model test conditions is determined;

[0180] When it is determined that the model test result meets the preset model test condition, an update operation is performed on the target recognition model based on the backup recognition model to update the target recognition model;

[0181] When it is determined that the model test result does not meet the preset model test conditions, the model update parameters are adjusted, and the operation of updating the target recognition model according to the model update parameters is re-triggered to obtain the operation of the backup recognition model and input the predetermined test data set into the backup recognition model to obtain the model test result and determine whether the model test result meets the preset model test conditions.

[0182] It can be seen that the implementation Figure 4The described device can determine the model update parameters of the target recognition model based on the target factor, perform an update operation on the target recognition model according to the model update parameters to obtain a backup recognition model, and input the test data set into the backup recognition model to obtain the model test result, and judge whether the model test result meets the preset model test condition. If so, perform an update operation on the target recognition model based on the backup recognition model to update the target recognition model; if not, adjust the model update parameters and re-trigger the execution of the operations of performing an update operation on the target recognition model according to the model update parameters to obtain the backup recognition model and input the test data set into the backup recognition model to obtain the model test result and judge whether the model test result meets the preset model test condition. By determining the model update parameters (including model architecture, number of layers and functions, etc.) according to the target factor, great flexibility is provided for model optimization, and the target recognition model can be customized according to specific needs and performance bottlenecks. Before updating the model, By testing the backup recognition model through the test data set, it can be ensured that the performance of the updated model meets the preset conditions, which can effectively avoid unnecessary waste of resources and improve the efficiency of model optimization. In addition, by determining the target factor to determine the model update parameters and updating the target recognition model through the target factor, the target recognition model can be updated in a targeted manner, which is conducive to improving the accuracy and reliability of updating the target recognition model, as well as improving the intelligence and efficiency of updating the target recognition model, and is also conducive to improving the flexibility, efficiency and controllability of updating the target recognition model, and can further improve the subsequent generation of intelligent noise reduction models and ensure the stability of the operation of the intelligent noise reduction model, and can also improve the noise reduction effect of smart headphones based on the intelligent noise reduction model, and further can provide high-quality audio processing and noise reduction functions for smart headphones, which is conducive to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and is also conducive to improving the user experience and satisfaction of using smart headphones.

[0183] In yet another optional embodiment, Figure 4 As shown, the specific manner in which the updating module 309 determines the model updating parameters of the target recognition model based on the target factor includes:

[0184] Based on the target factor, determine whether the model architecture of the target recognition model meets the preset structural performance conditions; when it is determined that the model architecture of the target recognition model does not meet the preset structural performance conditions, analyze the model performance of the target recognition model, and generate the model architecture update parameters of the target recognition model based on the model performance, wherein the model architecture update parameters include one or more of the LSTM unit number update parameters, the neuron number update parameters, and the connection weight update parameters; and / or,

[0185] Based on the target factor and a predetermined validation data set, a model validation operation is performed on the target recognition model to obtain a model validation result, and based on the model validation result, a model complexity of the target recognition model is determined, and based on the model complexity, a model layer number update parameter of the target recognition model is generated, wherein the model layer number update parameter includes one or more of a learning rate update parameter and a connection layer number update parameter; and / or,

[0186] Based on the target factor and a predetermined validation data set, a model testing operation is performed on the target recognition model to obtain a model testing result, and based on the model testing result, the parameters to be adjusted are determined, and the parameter update values ​​of the parameters to be adjusted are determined through a predetermined back propagation algorithm, and based on the parameter update values ​​of the parameters to be adjusted, the model function update parameters are generated.

[0187] It can be seen that implementation Figure 4 The described device can determine whether the model architecture of the target recognition model meets the structural performance conditions based on the target factor. If not, the model performance of the target recognition model is analyzed and the model architecture update parameters are generated, and / or, based on the target factor and the verification data set, a model verification operation is performed on the target recognition model to obtain a model verification result and determine the model complexity, and the model layer number update parameters of the target recognition model are generated based on the model complexity, and / or, based on the target factor and the verification data set, a model test operation is performed on the target recognition model to obtain a model test result and determine the parameters to be adjusted, and the parameter update values ​​of the parameters to be adjusted are determined by the back propagation algorithm to generate the model function update parameters. By analyzing the target factor and the model performance, the system can dynamically adjust the architecture and parameters of the model to adapt to the ever-changing environment and needs. The dynamic adaptability enables the model to maintain its accuracy and efficiency, and by updating the model architecture (such as adjusting the number of LSTM units, the number of neurons, Connection weights, etc.), the system can optimize the performance of the model, including improving recognition accuracy, reducing overfitting, enhancing model generalization ability, etc., and by adjusting the learning rate and the number of connection layers and other model layer update parameters, it can control the complexity of the model to avoid overfitting, while ensuring that the model has sufficient fitting ability, and intelligently determine the parameters to be adjusted and the parameter update values ​​through the verification data set and test results, which is conducive to improving the intelligence and accuracy of model training, and through the dynamic adjustment of the model architecture and parameters, it is conducive to improving the accuracy and intelligence of intelligent data processing based on the target recognition model, reducing the phenomenon of data recognition errors due to misjudgment of the target recognition model, which can also help to improve the performance, adaptability and robustness of the model, and further can provide high-quality audio processing and noise reduction functions for smart headphones, which is conducive to improving the intelligence and accuracy of smart headphones in performing noise reduction operations, and further helps to improve the user experience and satisfaction of using smart headphones.

[0188] In yet another optional embodiment, Figure 4 As shown, the specific manner in which the noise reduction module 305 generates output sound data through the intelligent noise reduction model based on the sound analysis result includes:

[0189] The sound analysis result is input into the intelligent noise reduction model, so as to perform a sound data processing operation on all the sound data to be processed based on the sound analysis result through the intelligent noise reduction model to obtain a sound data processing result; wherein the sound data processing operation includes a sound feature extraction operation and / or a sound classification and recognition operation;

[0190] Based on the sound data processing result, to-be-output sound data matching the predetermined target output sound parameter is determined from all the to-be-processed sound data, and output sound data is generated based on all the to-be-output sound data.

[0191] It can be seen that implementation Figure 4 The described device can input the sound analysis result into the intelligent noise reduction model, so that the intelligent noise reduction model can perform sound data processing operations on the sound data to be processed based on the sound analysis result to obtain the sound data processing result, determine the sound data to be output that matches the target output sound parameters from all the sound data to be processed based on the sound data processing result, and then generate output sound data based on the sound data to be output. The sound data can be processed by the intelligent noise reduction model, and interference factors such as background noise and echo can be effectively removed or reduced, thereby significantly improving the sound quality of the intelligent headset performing noise reduction operations and outputting sound. In the sound feature extraction and sound classification and recognition operations, the intelligent noise reduction model can highlight The key features in the sound can reduce the interference of non-key features, which is conducive to improving the subsequent sound recognition or classification algorithm to more accurately identify the target sound and improve the recognition accuracy. Furthermore, the intelligent noise reduction model can be customized and adjusted according to the actual application scenarios and needs. By adding or adjusting the algorithms and parameters in the model, the noise reduction effect can be further optimized and the processing performance can be improved. It can also improve the noise reduction effect of smart headphones based on the intelligent noise reduction model, and further provide high-quality audio processing and noise reduction functions for smart headphones, which is conducive to improving the intelligence and accuracy of the smart headphones in performing noise reduction operations, and thus It is also beneficial to improve the user experience and satisfaction of using smart headphones.

[0192] In yet another optional embodiment, Figure 4 As shown, the device also includes:

[0193] The determination module 310 is used to determine the model operation parameters of the intelligent denoising model after the generation module 304 generates the intelligent denoising model according to the target recognition model;

[0194] The judging module 307 is also used to judge whether the model operation parameters meet the preset model operation conditions;

[0195] The analysis module 308 is further used to analyze the target operation reason why the model operation parameters do not meet the preset model operation conditions when the judgment module 307 judges that the model operation parameters do not meet the preset model operation conditions;

[0196] The generating module 304 is further used to generate a model adjustment parameter for the intelligent noise reduction model based on the target operation reason, so as to adjust the intelligent noise reduction model; wherein the target operation reason includes a model fitting reason and / or a model generalization reason;

[0197] When the target operation reason includes a model fitting reason, the generation module 304 generates a model adjustment parameter for the intelligent noise reduction model based on the target operation reason, and the specific manner of adjusting the intelligent noise reduction model includes:

[0198] Determine a model loss function of the intelligent denoising model, determine a function adjustment parameter based on the model fitting reason and the model loss function, and perform a function adjustment operation on the model loss function based on the function adjustment parameter to update the model loss function and adjust the intelligent denoising model;

[0199] Furthermore, when the target operation reason includes a model generalization reason, the generation module 304 generates a model adjustment parameter for the intelligent noise reduction model based on the target operation reason, and the specific manner of adjusting the intelligent noise reduction model includes:

[0200] Determine the target neuron corresponding to the intelligent denoising model, and determine the deactivation rate of the target neuron. Based on the generalization reason of the model and the deactivation rate of the target neuron, generate a deactivation rate adjustment parameter, and perform an adjustment operation on the deactivation rate of the target neuron based on the deactivation rate adjustment parameter to update the target neuron and adjust the intelligent denoising model.

[0201] It can be seen that the implementation Figure 4The described device can determine the model operation parameters of the intelligent noise reduction model and judge whether the model operation parameters meet the preset model operation conditions. If not, the target operation reasons are analyzed and model adjustment parameters are generated to adjust the intelligent noise reduction model. If the target operation reasons include model fitting reasons, the model loss function of the intelligent noise reduction model is determined, and the function adjustment parameters are determined based on the model fitting reasons and the model loss function, and the function adjustment operation is performed to update the model loss function and adjust the intelligent noise reduction model. If the target operation reasons include model generalization reasons, the target neurons corresponding to the intelligent noise reduction model are determined and the inactivation rate of the target neurons is determined. Based on the model generalization reasons and the inactivation rate of the target neurons, the inactivation rate adjustment parameters are generated and the adjustment operation is performed to update the target neurons and adjust the intelligent noise reduction model. By determining the model operation parameters of the intelligent noise reduction model and judging whether these parameters meet the preset model operation conditions, it can be ensured that the model runs in the best state. When the model operation parameters do not meet the preset conditions, by analyzing the specific reasons for not meeting the conditions (such as model fitting reasons or model generalization reasons), targeted model adjustment parameters can be generated, which is conducive to improving the accuracy and reliability of generating model adjustment parameters, and is conducive to In order to improve the intelligence and efficiency of adjusting parameters of the generative model, when the target reason includes the model fitting reason, by adjusting the loss function of the model, the fitting ability of the model can be optimized, which can help the model better capture the patterns and structures in the data, thereby helping to improve the noise reduction effect. When the target reason includes the model generalization reason, by adjusting the inactivation rate of the target neuron, the generalization ability of the model can be enhanced, and the risk of overfitting can be reduced. By constantly checking the model operation parameters, analyzing the reasons for not meeting the conditions and adjusting the model accordingly, the continuous improvement of the model performance can be achieved, and the model can be continuously adapted to new environments and data, and the stability and efficiency of its noise reduction effect can be maintained. By optimizing the intelligent noise reduction model, the performance of applications or devices using the model for noise reduction processing can be significantly improved, which can directly improve the user experience, so that the user can obtain a higher quality noise reduction effect, and the noise reduction effect can be further optimized and the processing performance can be improved. In addition, the noise reduction effect of the smart headset based on the intelligent noise reduction model can be improved, and further high-quality audio processing and noise reduction functions can be provided for the smart headset, which is conducive to improving the intelligence and accuracy of the smart headset in performing noise reduction operations, and thus it is also conducive to improving the user experience and satisfaction of using the smart headset.

[0202] Embodiment 4

[0203] See also Figure 5 , Figure 5 FIG. 1 is a schematic diagram of the structure of another AIGC-based intelligent noise reduction device for headphones disclosed in an embodiment of the present invention. Figure 5 As shown, the AIGC-based headphone intelligent noise reduction device may include:

[0204] A memory 401 storing executable program codes;

[0205] a processor 402 coupled to the memory 401;

[0206] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the AIGC-based headphone intelligent noise reduction method described in Embodiment 1 of the present invention or Embodiment 2 of the present invention.

[0207] Embodiment 5

[0208] An embodiment of the present invention discloses a computer storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps in the AIGC-based headphone intelligent noise reduction method described in Embodiment 1 or Embodiment 2 of the present invention.

[0209] Embodiment 6

[0210] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the AIGC-based headphone intelligent noise reduction method described in Example 1 or Example 2.

[0211] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0212] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0213] Finally, it should be noted that the AIGC-based headphone intelligent noise reduction method and device disclosed in the embodiment of the present invention discloses only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for intelligent noise reduction of headphones based on AIGC, characterized in that: The headset intelligent noise reduction method is applied to a smart headset, and the method comprises: Collecting sound data, and performing data preprocessing operations on all the collected sound data to obtain target sound data; Based on the target sound data and a predetermined deep learning algorithm, a model training operation is performed on a preset sound recognition model to generate an AIGC-based target recognition model, and an intelligent noise reduction model is generated according to the target recognition model; By using the intelligent noise reduction model, an intelligent noise reduction operation is performed on the to-be-processed sound data acquired by the intelligent headset to obtain output sound data; Before generating the intelligent noise reduction model according to the target recognition model, the method further includes: Performing a model evaluation operation on the target recognition model to obtain a model evaluation result, and determining whether the model evaluation result meets a preset model operation condition; When it is determined that the model evaluation result meets the preset model operation condition, the operation of generating an intelligent noise reduction model according to the target recognition model is triggered; When it is determined that the model evaluation result does not meet the preset model operation condition, analyzing the target factor for which the model evaluation result does not meet the preset model operation condition, and based on the target factor, performing an update operation on the target recognition model to update the target recognition model, and triggering the operation of generating an intelligent noise reduction model according to the target recognition model; The performing an updating operation on the target recognition model based on the target factor to update the target recognition model includes: Based on the target factor, determine a model update parameter of the target recognition model, wherein the model update parameter includes one or more of a model architecture update parameter, a model layer number update parameter, and a model function update parameter; According to the model update parameters, the target recognition model is updated to obtain a backup recognition model, a predetermined test data set is input into the backup recognition model to obtain a model test result, and whether the model test result meets a preset model test condition is determined; When it is determined that the model test result satisfies the preset model test condition, performing an update operation on the target recognition model based on the backup recognition model to update the target recognition model; When it is determined that the model test result does not meet the preset model test condition, the model update parameter is adjusted, and the operation of performing the update operation on the target recognition model according to the model update parameter to obtain the backup recognition model and the operation of inputting the predetermined test data set into the backup recognition model to obtain the model test result and determine whether the model test result meets the preset model test condition is retriggered; The step of determining a model update parameter of the target recognition model based on the target factor includes: Based on the target factor, determine whether the model architecture of the target recognition model meets the preset structural performance conditions; when it is determined that the model architecture of the target recognition model does not meet the preset structural performance conditions, analyze the model performance of the target recognition model, and generate the model architecture update parameters of the target recognition model based on the model performance, wherein the model architecture update parameters include one or more of LSTM unit number update parameters, neuron number update parameters, and connection weight update parameters; and / or, Based on the target factor and a predetermined validation data set, a model validation operation is performed on the target recognition model to obtain a model validation result, and based on the model validation result, a model complexity of the target recognition model is determined, and based on the model complexity, a model layer number update parameter of the target recognition model is generated, wherein the model layer number update parameter includes one or more of a learning rate update parameter and a connection layer number update parameter; and / or, Based on the target factor and a predetermined validation data set, a model test operation is performed on the target recognition model to obtain a model test result, and based on the model test result, a parameter to be adjusted is determined, and a parameter update value of the parameter to be adjusted is determined by a predetermined back propagation algorithm, and a model function update parameter is generated based on the parameter update value of the parameter to be adjusted; After generating the intelligent noise reduction model according to the target recognition model, the method further includes: Determining model operation parameters of the intelligent noise reduction model, and judging whether the model operation parameters meet preset model operation conditions; When it is determined that the model operation parameters do not meet the preset model operation conditions, the target operation reasons why the model operation parameters do not meet the preset model operation conditions are analyzed, and based on the target operation reasons, model adjustment parameters for the intelligent noise reduction model are generated to adjust the intelligent noise reduction model; wherein the target operation reasons include model fitting reasons and / or model generalization reasons; Wherein, when the target operation reason includes the model fitting reason, generating a model adjustment parameter for the intelligent noise reduction model based on the target operation reason to adjust the intelligent noise reduction model includes: Determine a model loss function of the intelligent denoising model, determine a function adjustment parameter based on the model fitting reason and the model loss function, and perform a function adjustment operation on the model loss function based on the function adjustment parameter to update the model loss function and adjust the intelligent denoising model; And, when the target operation reason includes the model generalization reason, generating a model adjustment parameter for the intelligent noise reduction model based on the target operation reason to adjust the intelligent noise reduction model includes: Determine the target neuron corresponding to the intelligent denoising model, and determine the deactivation rate of the target neuron, generate a deactivation rate adjustment parameter based on the generalization reason of the model and the deactivation rate of the target neuron, and perform an adjustment operation on the deactivation rate of the target neuron based on the deactivation rate adjustment parameter to update the target neuron and adjust the intelligent denoising model.

2. The headphone intelligent noise reduction method based on AIGC according to claim 1, characterized in that: The intelligent noise reduction model is used to perform an intelligent noise reduction operation on the sound data to be processed acquired by the intelligent headset to obtain output sound data, including: Inputting all the to-be-processed sound data acquired by the smart headset into the smart noise reduction model, so as to perform a data analysis operation on all the to-be-processed sound data through the smart noise reduction model to obtain a sound analysis result; Based on the sound analysis result, output sound data is generated by the intelligent noise reduction model; wherein the output sound data at least includes target human voice data.

3. The headphone intelligent noise reduction method based on AIGC according to claim 2, characterized in that: The step of generating output sound data based on the sound analysis result by using the intelligent noise reduction model includes: The sound analysis result is input into the intelligent noise reduction model, so as to perform a sound data processing operation on all the sound data to be processed based on the sound analysis result through the intelligent noise reduction model to obtain a sound data processing result; wherein the sound data processing operation includes a sound feature extraction operation and / or a sound classification and recognition operation; Based on the sound data processing result, to-be-output sound data matching the predetermined target output sound parameter is determined from all the to-be-processed sound data, and output sound data is generated based on all the to-be-output sound data.

4. An AIGC-based headphone intelligent noise reduction device, characterized in that: The intelligent noise reduction device for headphones is applied to intelligent headphones, and the device comprises: A collection module, used for collecting sound data; A processing module, used to perform data preprocessing operations on all the collected sound data to obtain target sound data; A training module, configured to perform a model training operation on a preset sound recognition model based on the target sound data and a predetermined deep learning algorithm to generate an AIGC-based target recognition model; A generation module, used to generate an intelligent noise reduction model according to the target recognition model; A noise reduction module, configured to perform an intelligent noise reduction operation on the to-be-processed sound data acquired by the intelligent headset through the intelligent noise reduction model to obtain output sound data; The device also includes: An evaluation module, used for performing a model evaluation operation on the target recognition model to obtain a model evaluation result before the generation module generates an intelligent noise reduction model according to the target recognition model; A judgment module, used to judge whether the model evaluation result meets the preset model operation condition; when it is judged that the model evaluation result meets the preset model operation condition, trigger the generation module to perform the operation of generating an intelligent noise reduction model according to the target recognition model; An analysis module, configured to analyze a target factor for which the model evaluation result does not meet the preset model operation condition when the judgment module judges that the model evaluation result does not meet the preset model operation condition; An updating module, configured to perform an updating operation on the target recognition model based on the target factor to update the target recognition model, and trigger the generating module to perform the operation of generating an intelligent noise reduction model according to the target recognition model; The updating module performs an updating operation on the target recognition model based on the target factor, so that the specific manner of updating the target recognition model includes: Based on the target factor, determine a model update parameter of the target recognition model, wherein the model update parameter includes one or more of a model architecture update parameter, a model layer number update parameter, and a model function update parameter; According to the model update parameters, the target recognition model is updated to obtain a backup recognition model, a predetermined test data set is input into the backup recognition model to obtain a model test result, and whether the model test result meets a preset model test condition is determined; When it is determined that the model test result satisfies the preset model test condition, performing an update operation on the target recognition model based on the backup recognition model to update the target recognition model; When it is determined that the model test result does not meet the preset model test condition, the model update parameter is adjusted, and the operation of performing the update operation on the target recognition model according to the model update parameter to obtain the backup recognition model and the operation of inputting the predetermined test data set into the backup recognition model to obtain the model test result and determine whether the model test result meets the preset model test condition is retriggered; The specific manner in which the updating module determines the model updating parameters of the target recognition model based on the target factor includes: Based on the target factor, determine whether the model architecture of the target recognition model meets the preset structural performance conditions; when it is determined that the model architecture of the target recognition model does not meet the preset structural performance conditions, analyze the model performance of the target recognition model, and generate the model architecture update parameters of the target recognition model based on the model performance, wherein the model architecture update parameters include one or more of LSTM unit number update parameters, neuron number update parameters, and connection weight update parameters; and / or, Based on the target factor and a predetermined validation data set, a model validation operation is performed on the target recognition model to obtain a model validation result, and based on the model validation result, a model complexity of the target recognition model is determined, and based on the model complexity, a model layer number update parameter of the target recognition model is generated, wherein the model layer number update parameter includes one or more of a learning rate update parameter and a connection layer number update parameter; and / or, Based on the target factor and a predetermined validation data set, a model test operation is performed on the target recognition model to obtain a model test result, and based on the model test result, a parameter to be adjusted is determined, and a parameter update value of the parameter to be adjusted is determined by a predetermined back propagation algorithm, and a model function update parameter is generated based on the parameter update value of the parameter to be adjusted; The device also includes: A determination module, configured to determine a model operation parameter of the intelligent denoising model after the generation module generates the intelligent denoising model according to the target recognition model; The judging module is further used to judge whether the model operation parameters meet the preset model operation conditions; The analysis module is further configured to analyze the target operation reason why the model operation parameter does not meet the preset model operation condition when the judgment module judges that the model operation parameter does not meet the preset model operation condition; The generating module is further used to generate a model adjustment parameter for the intelligent noise reduction model based on the target operation reason, so as to adjust the intelligent noise reduction model; wherein the target operation reason includes a model fitting reason and / or a model generalization reason; Wherein, when the target operation reason includes the model fitting reason, the generation module generates the model adjustment parameter for the intelligent noise reduction model based on the target operation reason, and the specific manner of adjusting the intelligent noise reduction model includes: Determine a model loss function of the intelligent denoising model, determine a function adjustment parameter based on the model fitting reason and the model loss function, and perform a function adjustment operation on the model loss function based on the function adjustment parameter to update the model loss function and adjust the intelligent denoising model; Furthermore, when the target operation reason includes the model generalization reason, the generation module generates a model adjustment parameter for the intelligent noise reduction model based on the target operation reason, and the specific manner of adjusting the intelligent noise reduction model includes: Determine the target neuron corresponding to the intelligent denoising model, and determine the deactivation rate of the target neuron, generate a deactivation rate adjustment parameter based on the generalization reason of the model and the deactivation rate of the target neuron, and perform an adjustment operation on the deactivation rate of the target neuron based on the deactivation rate adjustment parameter to update the target neuron and adjust the intelligent denoising model.

5. An AIGC-based headphone intelligent noise reduction device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the AIGC-based headphone intelligent noise reduction method according to any one of claims 1 to 3.

6. A computer storage medium, characterized in that: The computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the AIGC-based headphone intelligent noise reduction method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Intelligent earphone noise reduction method and system

    CN113411711A

  • Self-adaptive noise reduction method and device and computer equipment

    CN116597855A