HW/SW Co-Design for a Variational AutoEncoder Targeting Anomaly Detection on FPGA
Variational AutoEncoder (VAE) is a generative model based on autoencoders, utilizing a latent space with a probabilistic distribution to generate new data. VAE is applied in various fields, such as image generation, data compression, and text generation. This paper proposes a VAE-based anomaly detection system implemented on an FPGA. The design applies co-design techniques, optimizing the model in software and accelerating the whole model in hardware using High-Level Synthesis. Our proposed model reduces the model size by a factor of 10, with a slight accuracy drop when compared to the reference model in [1]. The proposed model is then retrained with a 16-bit fixed-point representation instead of a 32-bit floating-point. The hardware implementation results on the Pynq-Z2 development board show that the proposed VAE accelerator runs 10 times faster than the software-only version running on a laptop computer while occupying a small area of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{2 5, 0 0 0}$</tex> slices on the programmable logic.
Authors
- Xuan‐Tu Tran (ORCID: https://orcid.org/0000-0003-4259-9579)
- Duy-Hieu Bui (ORCID: https://orcid.org/0000-0001-6114-5391)
- Thanh Minh Nguyen (ORCID: https://orcid.org/0000-0002-5813-4437)
- Thi Nuong Tran (ORCID: https://orcid.org/0009-0002-5588-3288)
- Tu Bao Ho (ORCID: https://orcid.org/0000-0001-5951-643X)
Publication Details
- Published
- 2025-06-16
- DOI
- https://doi.org/10.1109/icdv66179.2025.11135144
- Primary Topic
- Radiation Effects in Electronics
- Type
- article
- Field-Weighted Citation Impact
- 0.00