[Paper Review] Complex-Valued Neural Networks for Data-Driven Signal Processing and Signal Understanding
This paper introduces complextorch, a lightweight PyTorch-based framework that enables efficient implementation of complex-valued neural networks (CVNNs) for data-driven signal processing and signal understanding. By providing optimized, PyTorch-integrated layers—including linear, convolutional, attention, normalization, and manifold-based operations—along with complex backpropagation and loss functions, the framework accelerates research in radar, communications, and RF signal processing with improved computational efficiency via Gauss' multiplication trick and proper complex gradient handling.
Complex-valued neural networks have emerged boasting superior modeling performance for many tasks across the signal processing, sensing, and communications arenas. However, developing complex-valued models currently demands development of basic deep learning operations, such as linear or convolution layers, as modern deep learning frameworks like PyTorch and Tensor flow do not adequately support complex-valued neural networks. This paper overviews a package built on PyTorch with the intention of implementing light-weight interfaces for common complex-valued neural network operations and architectures. Similar to natural language understanding (NLU), which as recently made tremendous leaps towards text-based intelligence, RF Signal Understanding (RFSU) is a promising field extending conventional signal processing algorithms using a hybrid approach of signal mechanics-based insight with data-driven modeling power. Notably, we include efficient implementations for linear, convolution, and attention modules in addition to activation functions and normalization layers such as batchnorm and layernorm. Additionally, we include efficient implementations of manifold-based complex-valued neural network layers that have shown tremendous promise but remain relatively unexplored in many research contexts. Although there is an emphasis on 1-D data tensors, due to a focus on signal processing, communications, and radar data, many of the routines are implemented for 2-D and 3-D data as well. Specifically, the proposed approach offers a useful set of tools and documentation for data-driven signal processing research and practical implementation.
Motivation & Objective
- Address the lack of native complex-valued operations in mainstream deep learning frameworks like PyTorch and TensorFlow.
- Enable rapid development of data-driven signal processing models using complex-valued tensors by providing a lightweight, PyTorch-compatible wrapper.
- Support advanced CVNN components such as complex-valued attention, normalization, and manifold-based convolutions to improve modeling efficiency and performance.
- Facilitate research in RF Signal Understanding (RFSU) by combining signal mechanics with data-driven deep learning.
- Improve computational efficiency through Gauss’ multiplication trick and proper Wirtinger-based complex backpropagation.
Proposed method
- Implement complex-valued linear and convolutional layers using real and imaginary component decomposition, with efficient computation via Gauss’ multiplication trick to reduce four operations to three.
- Integrate complex-valued activation functions (e.g., CReLU, CSELU), batchnorm, layernorm, and dropout by applying operations independently to real and imaginary parts.
- Support manifold-based wFM convolutions that are equivariant to phase shifts and amplitude scaling, enabling parameter-efficient modeling in complex domains.
- Implement complex-valued loss functions including magnitude-phase split losses (e.g., weighted sum of magnitude and phase errors), CVQuadError, CVFourthPowError, and PerpLossSSIM.
- Ensure compatibility with PyTorch’s computational graph by leveraging native complex tensor support and Wirtinger calculus for gradient computation.
- Provide open-source, well-documented implementations for 1D, 2D, and 3D data to support diverse signal processing applications in radar and communications.
Experimental results
Research questions
- RQ1How can complex-valued neural networks be efficiently implemented in modern deep learning frameworks that lack native support for complex tensors?
- RQ2What is the impact of using Gauss’ multiplication trick on the computational efficiency of complex-valued operations in deep learning?
- RQ3Can manifold-based complex convolutions (wFM) reduce model size while maintaining or improving performance in signal processing tasks?
- RQ4How do magnitude-phase split loss functions compare to standard complex-valued losses in terms of modeling accuracy for RF signal understanding?
- RQ5To what extent can complex-valued normalization and attention layers improve performance in data-driven signal processing tasks?
Key findings
- The complextorch framework successfully enables efficient, PyTorch-native implementation of complex-valued deep learning operations, including linear, convolutional, attention, and normalization layers.
- Gauss’ multiplication trick reduces the number of required operations in complex-valued linear and convolutional layers from four to three, significantly improving computational efficiency.
- Manifold-based wFM convolutions are implemented and shown to offer parameter efficiency and potential performance gains, particularly in small-model regimes.
- Complex-valued loss functions such as magnitude-phase split losses and CVQuadError demonstrate improved modeling accuracy by separately optimizing for magnitude and phase components.
- The framework supports end-to-end training with proper complex backpropagation via Wirtinger calculus, ensuring stable gradients and convergence.
- The open-source implementation has been widely adopted in academic research, including in multiple Ph.D. dissertations and signal processing applications.
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.