Security and Real-time FPGA integration for Learned Image Compression
Alaa Mazouz, Carl De Sousa Tria, Sumanta Chaudhuri, Attilio Fiandrotti, Marco Cagnanzzo, Mihai Mitrea, Enzo Tartaglione
TL;DR
This work tackles the challenge of real-time, secure Learned Image Compression (LIC) on FPGA hardware by proposing an integrated workflow that combines iterative channel pruning, quantization, and a novel Quantization Aware Watermarking (QAW) technique with a Digital Rights Management (DRM) scheme. By embedding the watermark during quantization and encrypting the watermarked weights, the approach achieves robust traceability with negligible impact on rate–distortion performance and energy, enabling secure deployment on two FPGA platforms. Empirical results demonstrate real-time encoding across HD to UHD resolutions with favorable latency and power characteristics, while a detailed layer-wise analysis reveals that watermarking is most challenging in the final layer, with Layer 2 offering the best RD/robustness trade-off. The framework is implemented via Xilinx Vitis-AI and AES-256, and is designed to be adaptable to other accelerators, supporting practical secure LIC deployment at the edge.
Abstract
Learnable Image Compression (LIC) has proven capable of outperforming standardized video codecs in compression efficiency. However, achieving both real-time and secure LIC operations on hardware presents significant conceptual and methodological challenges. The present work addresses these challenges by providing an integrated workflow and platform for training, securing, and deploying LIC models on hardware. To this end, a hardware-friendly LIC model is obtained by iteratively pruning and quantizing the model within a standard end-to-end learning framework. Notably, we introduce a novel Quantization-Aware Watermarking (QAW) technique, where the model is watermarked during quantization using a joint loss function, ensuring robust security without compromising model performance. The watermarked weights are then public-key encrypted, guaranteeing both content protection and user traceability. Experimental results across different FPGA platforms evaluate real-time performance, latency, energy consumption, and compression efficiency. The findings highlight that the watermarking and encryption processes maintain negligible impact on compression efficiency (average of -0.4 PSNR) and energy consumption (average of +2%), while still meeting real-time constraints and preserving security properties.
