[Paper Review] Implementation of Multi-channel Active Noise Control based on Back-propagation Mechanism
This paper proposes a novel implementation of multi-channel active noise control (ANC) using PyTorch's automatic differentiation to streamline the back-propagation process for McFxLMS and McFxNLMS algorithms. By treating filter coefficient updates as gradient-based optimization, the method enables efficient, flexible, and open-source deployment of multi-channel ANC systems with minimal manual derivation, validated through effective noise reduction on real-world aircraft, helicopter, and traffic noise signals.
Active noise control (ANC) systems can efficiently attenuate low-frequency noises by introducing anti-noises to combine with the unwanted noises. In ANC systems, the filtered-x least mean square (FxLMS) and filtered-X normalized least-mean-square (FxNLMS) algorithm are well-known algorithms for adaptively adjusting control filters. Multi-channel ANC systems are typically required to attenuate unwanted noises in a large space. However, open-source implementations of the multi-channel FxLMS (McFxLMS) and multi-channel FxNLMS (McFxNLMS) algorithm continue to be scarce. Therefore, this paper proposes a simple and effective implementation approach of the McFxLMS and McFxNLMS algorithm. Motivated by the back-propagation process during neural network training, the McFxLMS and McFxNLMS algorithm can be implemented via automatic derivation mechanism. We implemented the two algorithms using the automatic derivation mechanism in PyTorch and made the source code available on GitHub. This implementation method can improve the practicality of multi-channel ANC systems, which is expected to be widely used in ANC applications.
Motivation & Objective
- Address the lack of open-source implementations for multi-channel FxLMS (McFxLMS) and FxNLMS (McFxNLMS) algorithms in active noise control systems.
- Overcome the complexity of manually deriving and implementing adaptive filter updates in multi-channel ANC systems with multiple microphones and loudspeakers.
- Leverage PyTorch’s automatic differentiation to automate the back-propagation process for filter coefficient updates, reducing implementation burden.
- Enhance practicality and extensibility of multi-channel ANC systems by enabling easy configuration of microphone and loudspeaker counts.
- Provide a reusable, open-source codebase to accelerate research and development in multi-channel ANC applications.
Proposed method
- Formulate the McFxLMS and McFxNLMS algorithms as differentiable computational graphs within PyTorch’s automatic differentiation framework.
- Define the ANC system as a $J \times K \times M$ configuration with $J$ reference microphones, $K$ secondary sources (loudspeakers), and $M$ error microphones.
- Express the control filter matrix $\mathbf{W}(n)$ as learnable parameters, with each $\mathbf{w}_{kj}(n)$ representing the filter from the $j$-th reference to the $k$-th secondary source.
- Construct a cost function based on the sum of squared error signals $e_m(n)$ at the error microphones, which serves as the loss for optimization.
- Apply back-propagation to compute gradients $\nabla_{\mathbf{w}_{kj}} \mathcal{L}$, enabling automatic filter updates via standard optimizers like SGD or Adam.
- Derive the gradient update rule $\mathbf{w}_{kj}(n+1) = \mathbf{w}_{kj}(n) + \mu \sum_{m=1}^{M} e_m(n) \mathbf{x}'_{jkm}(n)$ using chain rule, where $\mathbf{x}'_{jkm}(n)$ is the filtered reference signal vector.
Experimental results
Research questions
- RQ1Can the back-propagation mechanism in deep learning frameworks be effectively repurposed to automate the derivation of adaptive filter updates in multi-channel ANC systems?
- RQ2How does the proposed automatic differentiation-based implementation compare in performance and convergence to traditional hand-coded McFxLMS/McFxNLMS algorithms?
- RQ3To what extent does this method improve the practicality and configurability of multi-channel ANC systems for real-world noise environments?
- RQ4Can the framework easily support additional constraints such as $L1$ or $L2$ regularization on filter coefficients?
- RQ5What is the noise reduction performance of the implementation on diverse real-world noise signals like aircraft, helicopter, and traffic noise?
Key findings
- The proposed implementation successfully achieves effective noise attenuation on real-world low-frequency noise signals, including aircraft (50–12,000 Hz), helicopter (50–9,800 Hz), and traffic noise (40–1,400 Hz).
- The McFxNLMS algorithm achieves slightly higher steady-state noise reduction levels than McFxLMS on aircraft and helicopter noise, though with slower convergence.
- The McFxLMS algorithm responds more quickly to transient components in traffic noise compared to McFxNLMS, indicating a trade-off between convergence speed and steady-state performance.
- The use of PyTorch’s automatic differentiation eliminates the need for manual derivation of gradient updates, significantly simplifying implementation and reducing error risk.
- The open-source codebase enables easy modification of system dimensions (e.g., number of microphones and loudspeakers), enhancing flexibility and reusability.
- The framework supports integration with standard deep learning optimizers (e.g., Adam, SGD) and allows for the application of regularization constraints on filter coefficients.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.