Improving Variational Autoencoder using Random Fourier Transformation: An Aviation Safety Anomaly Detection Case-Study
Ata Akbari Asanjan, Milad Memarzadeh, Bryan Matthews, Nikunj Oza
TL;DR
This work tackles spectral bias in autoencoders and variational autoencoders by incorporating Random Fourier Transformations (RFT) and a trainable Fourier variant (TFT). It demonstrates that RFT/TFT enable simultaneous learning of low- and high-frequency components, accelerating convergence and improving reconstruction-based anomaly detection, particularly on a high-dimensional aviation safety dataset (Dashlink). While Fourier methods generally outperform vanilla networks, training the Fourier parameters (TFT) yields modest gains over the random variant, indicating limited benefits of gradient-based tuning in this setting. The findings suggest Fourier-domain augmentations meaningfully enhance representation learning and anomaly detection, with practical implications for aviation safety analytics and similar high-dimensional time-series domains.
Abstract
In this study, we focus on the training process and inference improvements of deep neural networks (DNNs), specifically Autoencoders (AEs) and Variational Autoencoders (VAEs), using Random Fourier Transformation (RFT). We further explore the role of RFT in model training behavior using Frequency Principle (F-Principle) analysis and show that models with RFT turn to learn low frequency and high frequency at the same time, whereas conventional DNNs start from low frequency and gradually learn (if successful) high-frequency features. We focus on reconstruction-based anomaly detection using autoencoder and variational autoencoder and investigate the RFT's role. We also introduced a trainable variant of RFT that uses the existing computation graph to train the expansion of RFT instead of it being random. We showcase our findings with two low-dimensional synthetic datasets for data representation, and an aviation safety dataset, called Dashlink, for high-dimensional reconstruction-based anomaly detection. The results indicate the superiority of models with Fourier transformation compared to the conventional counterpart and remain inconclusive regarding the benefits of using trainable Fourier transformation in contrast to the Random variant.
