English

Building Blocks for a Complex-Valued Transformer Architecture

Machine Learning 2023-06-19 v1 Computer Vision and Pattern Recognition Neural and Evolutionary Computing

Abstract

Most deep learning pipelines are built on real-valued operations to deal with real-valued inputs such as images, speech or music signals. However, a lot of applications naturally make use of complex-valued signals or images, such as MRI or remote sensing. Additionally the Fourier transform of signals is complex-valued and has numerous applications. We aim to make deep learning directly applicable to these complex-valued signals without using projections into R2\mathbb{R}^2. Thus we add to the recent developments of complex-valued neural networks by presenting building blocks to transfer the transformer architecture to the complex domain. We present multiple versions of a complex-valued Scaled Dot-Product Attention mechanism as well as a complex-valued layer normalization. We test on a classification and a sequence generation task on the MusicNet dataset and show improved robustness to overfitting while maintaining on-par performance when compared to the real-valued transformer architecture.

Keywords

Cite

@article{arxiv.2306.09827,
  title  = {Building Blocks for a Complex-Valued Transformer Architecture},
  author = {Florian Eilers and Xiaoyi Jiang},
  journal= {arXiv preprint arXiv:2306.09827},
  year   = {2023}
}

Comments

ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2023

R2 v1 2026-06-28T11:07:11.633Z