Complex-valued Neural Networks with Non-parametric Activation Functions.

Simone Scardapane, Steven Van Vaerenbergh, Amir Hussain, Aurelio Uncini

Abstract

Complex-valued Neural Networks (CVNNs) are essential for processing signals in domains like telecommunications and medical imaging. However, the design of effective activation functions (AFs) is constrained by Liouville’s theorem. This paper introduces the first fully complex, non-parametric activation functions for CVNNs. By employing kernel expansion techniques, neurons can learn optimal activation shapes directly from data. Experimental results across channel identification, wind prediction, and complex-valued MNIST classification demonstrate that these learnable functions significantly outperform traditional fixed-function CVNNs.

Introduction

While real-valued neural networks benefit from a wide array of flexible activation functions, the complex-valued domain has remained limited. Complex-valued data is prevalent in fields such as acoustics and telecommunications, yet designing suitable AFs is mathematically challenging. Liouville’s theorem dictates that any complex function that is both analytic and bounded must be constant. Consequently, researchers typically resort to "split" functions or "phase-amplitude" functions, which are often fixed and lack the adaptability required for diverse datasets. This work addresses this limitation by proposing a data-driven framework for learnable AFs in CVNNs.

Methodology: Kernel Activation Functions

The authors propose Kernel Activation Functions (KAFs), where the activation is represented as a kernel expansion rather than a fixed formula. A KAF is a weighted sum of kernel functions (e.g., Gaussians) centered at a predefined "dictionary" of points.

Dictionary of points in the complex plane used for kernel expansion.

Two primary architectures are introduced:

  1. Split-KAF: Processes the real and imaginary components of the input using two independent, real-valued KAFs. This approach is computationally efficient and compatible with standard vectorized hardware.
  2. Fully-complex KAF: Defines the activation directly in the complex domain. The "Independent Kernel," which constructs a complex kernel from real-valued ones, was found to be the most effective implementation.

Training is facilitated by CR-calculus (Wirtinger’s calculus), allowing for gradient computation of non-analytic functions without manual decomposition into real and imaginary parts.

Experimental Evaluation

The proposed methods were evaluated on three benchmarks:

  • Channel Identification: Predicting the output of nonlinear communication channels with varying signal circularity.
  • Wind Prediction: Modeling 2D wind vectors as complex numbers using a real-world hourly intensity dataset.
  • Complex-valued MNIST: A version of the MNIST dataset transformed into the complex domain via a 2D Fast Fourier Transform (FFT), retaining the 100 most significant coefficients.

Results and Discussion

The KAF-based models consistently outperformed standard CVNNs and real-valued counterparts. In the MNIST task, the Split-KAF CVNN achieved a test accuracy of 97.21%, surpassing the ModReLU-based CVNN (95.92%) and standard real-valued NNs (92.39%). For wind prediction, the KAF-NN reached an $R^2$ of 0.444, compared to 0.438 for standard CVNNs.

Visualization of a learned complex-valued activation function showing absolute value and phase.

Key insights include:

  • Flexibility is Paramount: The ability of an AF to adapt its shape is often more critical than its adherence to strict complex-domain properties like holomorphicity.
  • Independent Kernel Efficacy: The "Independent Kernel" approach proved superior to naive complex Gaussian kernels by more effectively managing the interaction between real and imaginary components.
  • Computational Efficiency: Since the dictionary is fixed, KAFs can be implemented as matrix multiplications, leveraging modern GPU acceleration.

Conclusion

This paper presents a significant advancement in CVNNs by introducing learnable, non-parametric activation functions. These functions provide the necessary flexibility to handle complex-valued data more effectively than traditional fixed methods. Future work will explore extending these functions to Convolutional Neural Networks (CNNs) and implementing "widely linear" layers to better accommodate non-circular signals.

Summary updated

Abstract

Complex-valued neural networks (CVNNs) are a powerful modeling tool for domains where data can be naturally interpreted in terms of complex numbers. However, several analytical properties of the complex domain (e.g., holomorphicity) make the design of CVNNs a more challenging task than their real counterpart. In this paper, we consider the problem of flexible activation functions (AFs) in the complex domain, i.e., AFs endowed with sufficient degrees of freedom to adapt their shape given the training data. While this problem has received considerable attention in the real case, a very limited literature exists for CVNNs, where most activation functions are generally developed in a split fashion (i.e., by considering the real and imaginary parts of the activation separately) or with simple phase-amplitude techniques. Leveraging over the recently proposed kernel activation functions (KAFs), and related advances in the design of complex-valued kernels, we propose the first fully complex, non-parametric activation function for CVNNs, which is based on a kernel expansion with a fixed dictionary that can be implemented efficiently on vectorized hardware. Several experiments on common use cases, including prediction and channel equalization, validate our proposal when compared to real-valued neural networks and CVNNs with fixed activation functions.
BibTeX
@article{scardapane2020complex,
  author = {Simone Scardapane and Steven Van Vaerenbergh and Amir Hussain and Aurelio Uncini},
  title = {{Complex-valued Neural Networks with Non-parametric Activation Functions.}},
  journal = {IEEE Trans. Emerg. Top. Comput. Intell.},
  year = {2020},
  doi = {10.1109/tetci.2018.2872600},
}
Figure