A blind source separation method, device and medium based on NOODL algorithm
By combining MOD and online dictionary learning methods, and using the NOODL algorithm to dynamically update the dictionary, the problem of insufficient real-time and adaptability of blind source separation technology in dynamic signal processing is solved, and a more efficient and accurate blind source separation effect is achieved. Suitable for speech signal processing in complex environments.
Patent Information
- Application Number
- CN202410447707.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-04-15
AI Technical Summary
Existing blind source separation technology has poor real-time and adaptive performance when dealing with dynamically changing signals and complex noise backgrounds. It is especially inefficient when quickly adapting to dynamic signal changes, and traditional dictionary learning methods rely on fixed signal segment lengths. It is difficult to adapt to highly unstable and diverse real speech signals.
The MOD dictionary learning method and the online dictionary learning method are combined to construct an initial sparse dictionary, iteratively update the dictionary through the NOODL algorithm, dynamically adjust the dictionary elements to adapt to signal changes, and use the updated dictionary to perform sparse component analysis for blind source separation.
It improves the efficiency and accuracy of blind source separation, can better capture the structure and characteristics of mixed signals, enhances dynamic signal processing capabilities in complex environments, and is suitable for a wide range of application scenarios such as speech signal separation and biomedical signal processing. .
Smart Images

Figure CN118230753B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of acoustic signal processing, and in particular to a blind source separation method, device and medium based on the NOODL algorithm. Background Art
[0002] Blind source separation (BSS) technology refers to the technology of recovering the original signal from multiple mixed signals without knowing the source signal and the mixing process. BSS has a wide range of applications in many fields, including but not limited to speech recognition, biomedical signal processing, wireless communications, and audio and video signal processing. Blind source separation is of great significance for improving the efficiency and accuracy of signal processing, especially in scenarios where the location of the signal source is unknown or cannot be directly measured.
[0003] Traditional blind source separation methods include independent component analysis (ICA) and sparse component analysis (SCA), which rely on assumptions about specific statistical properties of the signal, such as signal independence or sparsity. However, in practical applications, these traditional methods often perform poorly when dealing with dynamically changing signals, complex noise backgrounds, and situations with high real-time requirements. This is because these methods are difficult to adapt to the rapid changes in signal characteristics and have limitations in computational efficiency and adaptability.
[0004] In recent years, with the enhancement of computing power and the development of optimization algorithms, blind source separation methods based on machine learning have gradually gained attention. In particular, blind source separation techniques using dictionary learning and deep learning methods have shown the potential to process dynamic signals in complex environments. These methods can automatically learn more complex and efficient signal representation models from data, thereby improving the accuracy and adaptability of blind source separation.
[0005] Compared with traditional blind source separation methods, blind source separation technology using dictionary learning and deep learning methods can better handle non-stationary signals and complex noise backgrounds, and has better performance in dynamic environments.
[0006] Although SCA and other dictionary learning-based methods have made some progress in the field of blind source separation, the existing technologies still have great limitations in real-time processing capabilities and dynamic signal adaptability when processing highly complex and changeable speech signals. In particular, traditional dictionary learning and sparse coding methods such as K-SVD and MOD have limited ability to adapt to dynamic signal changes and real-time processing. This is mainly because these methods usually assume that the signal segment length is fixed, which is not suitable for processing highly unstable and diverse actual speech signals.
[0007] Existing dictionary learning methods face challenges in improving blind source separation accuracy and processing efficiency. Although the Regularized Synchronous Codeword Optimization (SimCO) algorithm has made some progress in dictionary update speed and adaptive learning performance, its reliance on fixed signal segment length is still a bottleneck, and existing technologies lack the ability to flexibly adapt to signal changes.
[0008] On the one hand, the limitations of traditional dictionary learning technology are particularly prominent in terms of adaptability to dynamic signal changes, especially in terms of low efficiency in quickly adapting to dynamically changing signal characteristics. This limitation is mainly due to the fact that traditional methods rely too much on static signal assumptions during design, while ignoring the dynamic changes that signals may encounter in actual applications, resulting in insufficient performance when processing real-time or high-speed changing signals.
[0009] On the other hand, existing blind source separation techniques still need to be strengthened in terms of real-time and adaptive performance. These methods still face challenges in fully utilizing dynamic signal characteristics, especially in real-time updating of dictionaries to adapt to new signal conditions in frequently changing environments. The existence of these challenges limits the widespread deployment of blind source separation techniques in practical applications, especially in application scenarios with strict requirements on real-time and high adaptability. Summary of the invention
[0010] The purpose of the present invention is to provide a blind source separation method, device and medium based on the NOODL algorithm with real-time and high adaptability in order to solve the problem that the existing blind source separation technology has poor real-time and adaptive performance.
[0011] The above object of the present invention is achieved through the following technical solutions:
[0012] S1: Combine the MOD dictionary learning method and the online dictionary learning method to construct the initial sparse dictionary A () ;
[0013] S2: Build a signal data set; in each iteration, update the data samples y in the signal data set () The coefficient estimates of ;
[0014] S3: Through the initial sparse dictionary A () Replace the initial sparse dictionary in the NOODL algorithm; use the NOODL algorithm and the signal data set to replace the initial sparse dictionary A () Perform iterative updates to determine the sparse dictionary A () ;
[0015] S4: Using the updated sparse dictionary, perform sparse component analysis on the mixed acoustic signal for blind source separation.
[0016] Step S1 includes: obtaining an initial sparse dictionary A by using a MOD dictionary learning method and an online dictionary learning method () , A () To be close to the real dictionary A*, it needs to satisfy (∈ 0 ,2) proximity, where ∈ 0 represents a quantity indicating the degree of closeness, defining the upper bound of the similarity between the initial sparse dictionary and the true dictionary; is a constant factor.
[0017] Optionally, step S2 includes:
[0018] S21: At the beginning of each iteration, the initial coefficients of the data samples in the signal data set are estimated by the NOODL algorithm;
[0019] S22: In the iteration phase, the initial coefficients are continuously updated to determine the final sparse dictionary A () .
[0020] Optionally, step S21 includes:
[0021] The hard threshold based method is to use the sparse dictionary A () With data sample y () The inner product result is thresholded and each data sample y is calculated () The initial coefficient The estimates are as follows:
[0022]
[0023] in It is a hard threshold operator, used for data denoising or sparse representation; Represents a sparse dictionary A () The transpose of
[0024] The hard threshold operator sets a threshold and compares all values in the data sample with the threshold. Signal components less than the threshold are set to zero, and signal components greater than or equal to the threshold remain unchanged.
[0025] Optionally, step S22 includes:
[0026] The update formula for the coefficient estimate from the rth to the r+1th is as follows:
[0027]
[0028] in, is the learning rate for coefficient estimation, is the threshold used in the iteration, is the data sample y ()The r+1th coefficient estimate of is the data sample y () The r-th coefficient estimate of .
[0029] Optionally, step S3 includes:
[0030] S31: Calculate the empirical gradient of dictionary update by averaging the contribution of data samples in the signal dataset, as follows:
[0031] For each iteration t, the empirical gradient is calculated using the NOODL algorithm.
[0032]
[0033] in, is the coefficient estimate for the jth data sample at iteration t; y () is the jth data sample; p is the number of data samples processed in each iteration; the sign function is a symbol function used to extract the symbol information of the data; T represents the transpose operation of the matrix or vector;
[0034] S32: Update the initial sparse dictionary A by approximate gradient descent method () , the update formula is as follows:
[0035]
[0036] Among them, η A is the learning rate of dictionary update, which determines the size of the update step; is the experience gradient.
[0037] An electronic device comprises a processor, a memory, a user interface and a network interface, wherein the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device performs a blind source separation method based on the NOODL algorithm.
[0038] A computer-readable storage medium stores instructions. When the instructions are executed, a blind source separation method based on the NOODL algorithm is executed.
[0039] The beneficial effects brought by the technical solution provided by the present invention are:
[0040] A dynamic adaptive dictionary learning algorithm based on neural rational alternating optimization dictionary learning (NOODL algorithm) is designed to improve the efficiency and accuracy of blind source separation in complex audio environments. In the initial stage, MOD and online dictionary learning methods are combined to construct a high-precision initial sparse dictionary for subsequent blind source separation processing; the initial sparse dictionary is iteratively optimized by the NOODL algorithm, and the dictionary elements are fine-tuned in real time through a dynamic adjustment mechanism, resulting in a sparse dictionary that is more adaptable to complex environments and dynamic signal changes. Continuously and dynamically adjusting the sparse dictionary can better capture the structure and characteristics of the mixed signal and improve the accuracy of blind source separation. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0042] Figure 1 It is a step diagram of a blind source separation method based on NOODL algorithm in an embodiment of the present invention;
[0043] Figure 2 It is a schematic diagram of the structure of an electronic device of a blind source separation method based on the NOODL algorithm in an embodiment of the present invention. DETAILED DESCRIPTION
[0044] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.
[0045] An embodiment of the present invention provides a blind source separation method based on the NOODL algorithm.
[0046] Please refer to Figure 1 , Figure 1 : is a step diagram of a blind source separation method based on the NOODL algorithm in an embodiment of the present invention, comprising:
[0047] S1: Combine the MOD dictionary learning method and the online dictionary learning method to construct the initial sparse dictionary A () ;
[0048] Specifically, the MOD dictionary learning method is the MOD (Method of optimal directions) dictionary learning algorithm.
[0049] Step S1 includes: obtaining an initial sparse dictionary A by using a MOD dictionary learning method and an online dictionary learning method () , A () To be close to the real dictionary A*, it needs to satisfy (∈ 0 ,2) proximity, where ∈ 0represents a quantity indicating the degree of closeness, defining the upper bound of the similarity between the initial sparse dictionary and the true dictionary; is a constant factor.
[0050] S2: Build a signal data set; in each iteration, update the data samples y in the signal data set () The coefficient estimates of ;
[0051] Specifically, the signal data set includes an acoustic signal data set.
[0052] Step S2 includes:
[0053] S21: At the beginning of each iteration, the initial coefficients of the data samples in the signal data set are estimated by the NOODL algorithm;
[0054] S22: In the iteration phase, the initial coefficients are continuously updated to determine the final sparse dictionary A () .
[0055] Step S21 includes:
[0056] The hard threshold based method is to use the sparse dictionary A () With data sample y () The inner product result is thresholded and each data sample y is calculated () The initial coefficient The estimates are as follows:
[0057]
[0058] in It is a hard threshold operator, used for data denoising or sparse representation; Represents a sparse dictionary A () The transpose of
[0059] The hard threshold operator sets a threshold and compares all values in the data sample with the threshold. Signal components less than the threshold are set to zero, and signal components greater than or equal to the threshold remain unchanged.
[0060] Step S22 includes:
[0061] The update formula for the coefficient estimate from the rth to the r+1th is as follows:
[0062]
[0063] in, is the learning rate for coefficient estimation, is the threshold used in the iteration, is the data sample y () The r+1th coefficient estimate of is the data sample y () The r-th coefficient estimate of .
[0064] S3: Through the initial sparse dictionary A () Replace the initial sparse dictionary in the NOODL algorithm; use the NOODL algorithm and the signal data set to replace the initial sparse dictionary A () Perform iterative updates to determine the sparse dictionary A () ;
[0065] Step S3 includes:
[0066] S31: Calculate the empirical gradient of dictionary update by averaging the contribution of data samples in the signal dataset, as follows:
[0067] For each iteration t, the empirical gradient is calculated using the NOODL algorithm.
[0068]
[0069] in, is the coefficient estimate for the jth data sample at iteration t; y () is the jth data sample; p is the number of data samples processed in each iteration; the sign function is a symbol function used to extract the symbol information of the data; T represents the transpose operation of the matrix or vector;
[0070] S32: Update the initial sparse dictionary A by approximate gradient descent method () , the update formula is as follows:
[0071]
[0072] Among them, η A is the learning rate of dictionary update, which determines the size of the update step; is the experience gradient.
[0073] Specifically, experience gradient Reflects the current dictionary A () The difference between the data sample and the original data is used to guide the update direction of the dictionary. The sparse dictionary is continuously updated through iteration so that the updated dictionary A () It is closer to the real dictionary A* that can produce sparse representation. The NOODL algorithm can gradually adjust the dictionary to make it more suitable for the sparse representation of the data, thereby improving the performance of the entire dictionary learning process.
[0074] S4: Using the updated sparse dictionary, perform sparse component analysis on the mixed acoustic signal for blind source separation.
[0075] Specifically, the high flexibility and robust dictionary update mechanism of the NOODL algorithm are utilized to enhance the sparse representation capability of the dictionary, which is suitable for the processing needs of complex speech signals. It solves the problems of low blind source separation efficiency and poor dynamic signal separation capability of traditional dictionary learning technology in complex audio environments, and solves the limitations of slow speed and poor adaptability when processing dynamic signals.
[0076] Specifically, during the iterative optimization process of the NOODL algorithm, the goal is to accurately capture and characterize subtle changes in the signal. Each dictionary element is required to be carefully adjusted based on an in-depth analysis of the current signal characteristics to ensure that the dictionary can effectively express the dynamic changes of the signal. The optimization process evaluates the performance of the dictionary elements and adjusts them based on feedback to improve the quality of signal reconstruction and the accuracy of separation. Using the optimized dictionary, sparse component analysis is performed for blind source separation to separate the mixed signal into independent source signals, achieving excellent separation performance.
[0077] Here are a few key advantages of the algorithm:
[0078] 1. Dynamic signal adaptability: It can dynamically adapt to signal changes and optimize dictionary elements through continuous iteration to ensure that the sparse dictionary can accurately capture and reflect the current characteristics of the mixed signal. This is especially important for processing time-varying signals and can effectively cope with changing environmental and signal conditions.
[0079] 2. Efficient dictionary update mechanism: The adopted dictionary update mechanism is both fast and robust, and can adapt to new signal features in a short time, significantly improving the efficiency of blind source separation.
[0080] 3. Optimized sparse representation capability: By fine-tuning the dictionary elements, the NOODL algorithm enhances the sparse representation capability of the dictionary, enabling the algorithm to more accurately represent the signal with fewer dictionary elements.
[0081] 4. Wide range of applications: With excellent dynamic signal processing capabilities and efficient update mechanism, the blind source separation algorithm of the present invention is suitable for a wide range of application scenarios, including but not limited to speech signal separation, biomedical signal processing, and elimination of complex environmental noise.
[0082] The present invention also discloses an electronic device. Figure 2 , Figure 2 The electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .
[0083] The communication bus 502 is used to realize the connection and communication between these components.
[0084] The user interface 503 may include a display screen, and the optional user interface 503 may also include a standard wired interface or a wireless interface.
[0085] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0086] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.
[0087] The present invention is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A blind source separation method based on NOODL algorithm, characterized in that: The method comprises the following steps: S1: Combine the MOD dictionary learning method and the online dictionary learning method to construct the initial sparse dictionary A (0) ; S2: construct signal dataset; In each iteration, the data samples y in the signal dataset are updated (j) The coefficient estimates of ; S3: Through the initial sparse dictionary A (0) Replace the initial sparse dictionary in the NOODL algorithm; use the NOODL algorithm and the signal data set to replace the initial sparse dictionary A (0) Perform iterative updates to determine the sparse dictionary A (t) ; Step S3 includes: S31: Calculate the empirical gradient of dictionary update by averaging the contribution of data samples in the signal dataset, as follows: For each iteration t, the empirical gradient is calculated using the NOODL algorithm. in, is the coefficient estimate for the jth data sample at iteration t; y (j) is the jth data sample; p is the number of data samples processed in each iteration; the sign function is a symbol function used to extract the symbol information of the data; T represents the transpose operation of the matrix or vector; S32: Update the initial sparse dictionary A by approximate gradient descent method (0) , the update formula is as follows: Among them, η A is the learning rate of dictionary update, which determines the size of the update step; is the experience gradient; S4: Using the updated sparse dictionary, perform sparse component analysis on the mixed acoustic signal for blind source separation.
2. A blind source separation method based on NOODL algorithm as claimed in claim 1, characterized in that: Step S1 includes: obtaining an initial sparse dictionary A by using a MOD dictionary learning method and an online dictionary learning method (0) , A (0) To be close to the real dictionary A*, it needs to satisfy the proximity of (∈0,2), where ∈0 represents a quantity indicating the degree of closeness, defining the upper bound of the similarity between the initial sparse dictionary and the true dictionary; is a constant factor.
3. A blind source separation method based on NOODL algorithm as claimed in claim 1, characterized in that: Step S2 includes: S21: At the beginning of each iteration, the initial coefficients of the data samples in the signal data set are estimated by the NOODL algorithm; S22: In the iteration phase, the initial coefficients are continuously updated to determine the final sparse dictionary A (t) .
4. A blind source separation method based on NOODL algorithm as claimed in claim 3, characterized in that: Step S21 includes: The hard threshold based method is to use the sparse dictionary A (t) With data sample y (j) The inner product result is thresholded and each data sample y is calculated (j) The initial coefficient The estimates are as follows: in It is a hard threshold operator, used for data denoising or sparse representation; Represents a sparse dictionary A (t) The transpose of The hard threshold operator sets a threshold and compares all values in the data sample with the threshold. Signal components less than the threshold are set to zero, and signal components greater than or equal to the threshold remain unchanged.
5. A blind source separation method based on NOODL algorithm as claimed in claim 4, characterized in that: Step S22 includes: The update formula for the coefficient estimate from the rth to the r+1th is as follows: in, is the learning rate for coefficient estimation, is the threshold used in the iteration, is the data sample y (j) The r+1th coefficient estimate of is the data sample y (j) The r-th coefficient estimate of .
6. An electronic device, characterized in that: The electronic device (500) comprises a processor (501), a memory (505), a user interface (503) and a network interface (504), wherein the memory (505) is used to store instructions, the user interface (503) and the network interface (504) are used to communicate with other devices, and the processor (501) is used to execute the instructions stored in the memory (505) so that the electronic device (500) executes the method according to any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method steps according to any one of claims 1 to 5 are performed.
Citation Information
Patent Citations
Single-channel blind source separation method
CN108875824A
Cross-platform execution of cloud-based applications with NOODL programming
CN115280284A
Acoustic noise reduction method and device based on improved INMF
CN116778945A
System and Method For Designing of Dictionaries For Sparse Representation
US20080170623A1
