Skip to main content
QUICK REVIEW

[Paper Review] Theory and Implementation of Complex-Valued Neural Networks

José Agustín Barrachina, Chengfang Ren|arXiv (Cornell University)|Feb 16, 2023
Neural Networks and ApplicationsComputer Science12 citations
TL;DR

This paper presents the theory, mathematical foundations (Wirtinger calculus, complex backpropagation), and a Python CVNN toolbox implementation, including complex layers and activation functions, with experiments casting real data into the complex domain via the Hilbert Transform.

ABSTRACT

This work explains in detail the theory behind Complex-Valued Neural Network (CVNN), including Wirtinger calculus, complex backpropagation, and basic modules such as complex layers, complex activation functions, or complex weight initialization. We also show the impact of not adapting the weight initialization correctly to the complex domain. This work presents a strong focus on the implementation of such modules on Python using cvnn toolbox. We also perform simulations on real-valued data, casting to the complex domain by means of the Hilbert Transform, and verifying the potential interest of CVNN even for non-complex data.

Motivation & Objective

  • Explain the theory behind CVNNs and the role of Wirtinger calculus in training non-holomorphic functions.
  • Detail the implementation of complex-valued layers, activations, and weight initialization for CVNNs.
  • Demonstrate practical CVNN development in Python using the cvnn toolbox and compare against real-valued baselines.
  • Investigate the impact of appropriate complex-domain weight initialization and demonstrate CVNN applicability to non-complex data via Hilbert-transform casting.

Proposed method

  • Present the mathematical background of CVNNs, including Liouville’s theorem and Wirtinger calculus.
  • Describe the complex-valued backpropagation framework and the gradient definition used for real-valued loss with complex parameters.
  • Introduce complex-valued layers, activations, pooling, and upsampling within a TensorFlow-based CVNN toolbox.
  • Explain initialization, data types, and handling of real-valued losses and complex parameters during training.
  • Report the tooling and testing practices (pytest) to ensure quality and compatibility with RVNNs.
  • Discuss using Hilbert Transform to cast real data into the complex domain for CVNN experimentation.

Experimental results

Research questions

  • RQ1How can Wirtinger calculus be leveraged to train CVNNs with real-valued loss functions?
  • RQ2What are the practical considerations and implementations needed for complex-valued layers, activations, and pooling in CVNNs?
  • RQ3How does complex backpropagation differ from real-valued backpropagation in terms of gradient computation and layer updates?
  • RQ4Can CVNNs provide benefits when real-valued data are cast into the complex domain via the Hilbert Transform?
  • RQ5What is the impact of complex-domain weight initialization on CVNN performance?

Key findings

  • A theoretical framework for CVNNs based on Wirtinger calculus enables gradient-based training with real-valued losses.
  • A TensorFlow-based CVNN toolbox (CVNN) was implemented with complex layers, activations, and pooling, and tested against RVNNs to aid debugging.
  • The work highlights the necessity of adapting weight initialization to the complex domain for proper training.
  • Experiments show CVNN viability when casting real data to the complex domain via the Hilbert Transform.
  • The toolbox emphasizes user experience by mirroring TensorFlow APIs and providing PyTest-based testing to ensure reliability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.