Phase and Magnitude: Better AI Models for Signal Processing

- Home
- Case studies
- Phase and Magnitude: Better AI Models for Signal Processing
Problem
Many of the signals businesses work with, such as audio, radio, sensor readings and telecom transmissions, are naturally described by two quantities at every frequency: how strong the signal is (magnitude) and where it is in its cycle (phase). Mathematically, both are captured together by complex numbers.
Yet almost all deep learning is built on real numbers. The standard building blocks, techniques and architectures assume real-valued operations, so models often keep only the magnitude of a signal or split the complex values into two unrelated parts. Information about phase, which matters for how audio sounds and how signals line up, is weakened or lost. The paper notes that complex-valued deep networks had been marginalised largely because the basic components needed to build them did not exist.
Also applicable to
- Speech recognition and audio processing: models that work with the full frequency content of sound.
- Music technology: transcription and analysis of recorded music.
- Telecommunications: processing radio and communication signals, which are complex-valued by nature.
- Gaming and entertainment: audio pipelines for interactive media.
- Sensing and monitoring: vibration, radar and other wave-based sensor data.
Solution / Approach
The Elementera team's research on complex-valued deep learning appears in Deep Complex Networks, a paper co-authored by Elementera co-founder Soroush Mehri with researchers at Mila and collaborators including Yoshua Bengio and Christopher Pal, presented at ICLR 2018.
The paper provides the key atomic components needed to build complex-valued deep neural networks and train them end to end:
- Complex convolutions: convolution operations that act on complex numbers, keeping magnitude and phase together.
- Complex batch normalisation: a way to keep training stable when activations are complex-valued.
- Complex weight initialisation: strategies for setting starting weights so complex networks train well.
With these pieces, the authors built complex-valued versions of convolutional feed-forward networks and convolutional LSTMs. The motivation, according to the paper, is that earlier theory and work on recurrent networks suggest complex numbers could have richer representational capacity and support memory retrieval that still works when the signal is noisy.
Why this matters for a company using AI: when your data is a signal, a model that can represent it in its natural form does not have to throw information away before it starts learning. That is especially relevant for products built on audio, speech and communications data.
Impact
According to the paper, complex-valued models built from these components are competitive with their real-valued counterparts, and they achieved state-of-the-art performance on the audio-related tasks tested: music transcription on the MusicNet dataset and speech spectrum prediction on the TIMIT dataset. The authors also tested the models on several computer vision tasks. The implementation is available as open-source code.
For businesses, this research means:
- Better use of signal data: phase and magnitude are modelled together instead of one being discarded.
- Reusable building blocks: the same components can be dropped into convolutional and recurrent architectures.
- Stronger audio models: state-of-the-art results on music and speech tasks show the approach works where signals matter most.
- Relevant expertise: the Elementera team helped build the foundations of complex-valued deep learning and understands where it pays off.
Technologies
- Complex-valued neural networks: representing magnitude and phase in one number.
- Convolutional networks and convolutional LSTMs: architectures adapted to complex inputs.
- Complex batch normalisation and initialisation: techniques for stable training.
- Signal processing: frequency-domain representations of audio and other waveforms.
Read the paper: Deep Complex Networks (ICLR 2018). Code: github.com/ChihebTrabelsi/deep_complex_networks.

Ex-Microsoft. 10+ years of experience in AI/ML, MSc from Université de Montréal (Mila). US patent holder.

AI/ML scientist with 20+ years of research & industry experience. Ex-Google DeepMind, MIT, Harvard, Mila. McGill-Mila PhD.
