arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04832cs.CVcs.AI
收藏

基于知识蒸馏与混合量化的轻量级嵌入式FPGA部署的可学习图像压缩

Lightweight Embedded FPGA Deployment of Learned Image Compression with Knowledge Distillation and Hybrid Quantization

Télécom Paris(巴黎电信学院);Institut Polytechnique de Paris(巴黎综合理工学院);Università di Torino(都灵大学);Télécom SudParis(南巴黎电信学院)

Alaa Mazouz, Sumanta Chaudhuri, Marco Cagnanzzo, Mihai Mitrea, Enzo Tartaglione, Attilio Fiandrotti

AI总结:

提出一种将硬件调优负担转移至模型维度调整的LIC部署范式,通过知识蒸馏和混合量化实现轻量级FPGA部署,在保持RD效率的同时超越现有FPGA实现。

摘要:

可学习图像压缩(LIC)在率失真(RD)效率方面展现出超越标准化视频编解码器的潜力,从而推动了硬件友好型实现的研究。现有的大多数LIC硬件实现优先考虑延迟与RD效率,并通过对硬件设计空间进行广泛探索来实现。我们提出了一种新颖的设计范式,将针对特定硬件平台调整设计的负担转移到模型维度调整上,同时不牺牲RD效率。首先,我们设计了一个框架,从参考教师模型中蒸馏出更精简的学生LIC模型:通过调整单个模型超参数,我们可以在无需复杂硬件设计探索的情况下满足不同硬件平台的约束。其次,我们提出了一种硬件友好的广义除法归一化(GDN)激活实现,即使在参数量化后也能保持RD效率。第三,我们设计了一种流水线FPGA配置,通过利用并行处理和优化资源分配,充分利用可用的FPGA资源。我们使用最先进的LIC模型进行的实验表明,我们超越了所有现有的FPGA实现,同时性能非常接近原始模型。

英文摘要:

Learnable Image Compression (LIC) has shown the potential to outperform standardized video codecs in RD efficiency, prompting the research for hardware-friendly implementations. Most existing LIC hardware implementations prioritize latency to RD-efficiency and through an extensive exploration of the hardware design space. We present a novel design paradigm where the burden of tuning the design for a specific hardware platform is shifted towards model dimensioning and without compromising on RD-efficiency. First, we design a framework for distilling a leaner student LIC model from a reference teacher: by tuning a single model hyperparameters, we can meet the constraints of different hardware platforms without a complex hardware design exploration. Second, we propose a hardware-friendly implementation of the Generalized Divisive Normalization - GDN activation that preserves RD efficiency even post parameter quantization. Third, we design a pipelined FPGA configuration which takes full advantage of available FPGA resources by leveraging parallel processing and optimizing resource allocation. Our experiments with a state of the art LIC model show that we outperform all existing FPGA implementations while performing very close to the original model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑