Autoencoder
An autoencoder is a type of deep neural network trained to reconstruct its input, typically by compressing the input into a lower-dimensional latent representation and then decoding it back. Autoencoders form the basis for several variants used across machine learning research, including the Variational Autoencoder (VAE) and convolutional autoencoders.
Variants mentioned in the evidence
- Variational Autoencoder (VAE) – used alongside standard autoencoders for unsupervised anomaly detection on insider-threat data. In evaluations on the CERT r4.2 insider-threat benchmark, the VAE was reported to outperform the standard autoencoder on detection accuracy while keeping a reasonable false-positive rate.
- Convolutional autoencoder – applied as a single-layer denoising module to recover object-detection performance degraded by adversarial perturbations (e.g., Perlin-noise attacks on vehicle images from the COCO dataset). The defense was evaluated with a YOLOv5 detector and improved bbox mAP@50 from 0.2780 to 0.3080 without retraining the detector.
Applications supported by the evidence
Cybersecurity – insider threat detection
Autoencoders and Variational Autoencoders have been investigated as fully-automated defenses against insider attacks, which are difficult to detect because they originate from inside the perimeter. Their unsupervised reconstruction-error signal makes them suited to spotting malicious activity without human-labeled examples.
Adversarial robustness for object detection
A single-layer convolutional autoencoder can be inserted in front of an object detector as a denoising pre-processor. On COCO vehicle images attacked with Perlin noise, the YOLOv5 detector's bbox mAP dropped from 0.2890 to 0.1640 under attack; adding the autoencoder defense partially restored performance (bbox mAP 0.1700, bbox mAP@50 0.3080).
Neural Program Optimization
Autoencoders have been incorporated into neural program optimization (NPO) systems that use CMA-ES to search for programs expressed over continuous parameters. The GENESYS work notes that NPO's reliance on an autoencoder, combined with the absence of a restart policy, leads to poor problem formulation and convergence to local minima.
Limitations noted in the evidence
- When used as the embedding component of a program-synthesis search, an autoencoder can cause the surrounding optimizer to converge to local minima because the learned latent space does not match the structure of the discrete search problem.
- As a denoising defense, autoencoder-based recovery is partial: it does not fully restore clean-data accuracy and does not eliminate the need for other defenses or model retraining.
Related concept
- Neural Program Optimization – a tool that uses autoencoders as part of its program-synthesis pipeline.