[Paper Review] Evaluation of Complex-Valued Neural Networks on Real-Valued Classification Tasks
This paper evaluates complex-valued neural networks (CVNNs) on real-valued classification tasks using comparable model capacities. It finds that CVNNs perform equal to or slightly worse than real-valued networks when parameter counts are matched, due to challenges in weight initialization and gradient flow, suggesting CVNNs are most beneficial when data or noise naturally resides in the complex plane.
Complex-valued neural networks are not a new concept, however, the use of real-valued models has often been favoured over complex-valued models due to difficulties in training and performance. When comparing real-valued versus complex-valued neural networks, existing literature often ignores the number of parameters, resulting in comparisons of neural networks with vastly different sizes. We find that when real and complex neural networks of similar capacity are compared, complex models perform equal to or slightly worse than real-valued models for a range of real-valued classification tasks. The use of complex numbers allows neural networks to handle noise on the complex plane. When classifying real-valued data with a complex-valued neural network, the imaginary parts of the weights follow their real parts. This behaviour is indicative for a task that does not require a complex-valued model. We further investigated this in a synthetic classification task. We can transfer many activation functions from the real to the complex domain using different strategies. The weight initialisation of complex neural networks, however, remains a significant problem.
Motivation & Objective
- To fairly compare complex-valued neural networks (CVNNs) with real-valued networks on real-valued classification tasks by matching model capacity.
- To investigate the impact of activation functions, depth, width, and parameter budget on CVNN performance.
- To identify conditions under which CVNNs offer advantages over real-valued models for real-valued data.
- To examine the role of weight initialization and gradient flow in CVNN training stability and performance.
- To determine whether complex-valued models can effectively learn from real-valued inputs when the task does not inherently require complex representations.
Proposed method
- Proposes two strategies for fair comparison: fixing the number of real-valued neurons per layer and fixing the total number of real-valued parameters.
- Employs a complex-valued multi-layer perceptron (MLP) architecture with complex weights, biases, and inputs, using Wirtinger calculus for backpropagation.
- Applies various activation functions by separately processing real and imaginary parts, including ReLU and complex-differentiable variants.
- Uses the weight initialization method from Trabelsi et al. [26] to mitigate training instability, though it remains a significant challenge.
- Employs multiple random initializations per experiment to reduce variance and assess training sensitivity.
- Conducts experiments on MNIST, CIFAR-10, CIFAR-100, and Reuters-21578, with additional synthetic tasks to analyze weight dynamics.
Experimental results
Research questions
- RQ1How do complex-valued neural networks perform on real-valued classification tasks when compared to real-valued networks of equivalent parameter count?
- RQ2What is the impact of different activation functions on the training stability and performance of complex-valued networks?
- RQ3To what extent do the real and imaginary parts of network weights diverge during training on real-valued data?
- RQ4Does the use of complex numbers provide a performance advantage when the input data is inherently real-valued?
- RQ5How does weight initialization affect the convergence and reliability of complex-valued neural network training?
Key findings
- When model capacity is matched via real-valued parameter count, complex-valued MLPs perform equal to or slightly worse than real-valued MLPs on real-valued classification tasks.
- The imaginary parts of weights in CVNNs trained on real-valued data closely follow the real parts, indicating no benefit from complex representation.
- The ReLU activation function, applied component-wise to real and imaginary parts, yields the most stable training and best performance among tested functions.
- Weight initialization remains a significant challenge, with the Trabelsi et al. [26] method reducing but not eliminating sensitivity to initialization.
- Numerical instability arises from unbounded activation functions, especially in deeper networks, and can be mitigated by using bounded or component-wise ReLU-like functions.
- Tasks that benefit from complex-valued models are identifiable by asymmetric or divergent behavior between real and imaginary weight components during training.
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.