arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.09300cs.CVeess.IV
收藏

基于Transformers的端到端图像压缩与分析

Towards End-to-End Image Compression and Analysis with Transformers

Harbin Institute of Technology(哈尔滨工业大学);Peng Cheng Laboratory(鹏城实验室);Tsinghua University(清华大学);Peking University(北京大学)

Yuanchao Bai, Xu Yang, Xianming Liu, Junjun Jiang, Yaowei Wang, Xiangyang Ji, Wen Gao

摘要:

针对基于云的图像分类应用,提出了一种基于Transformers的端到端图像压缩与分析模型。我们的目标是重新设计视觉Transformer(ViT)模型,以从压缩特征执行图像分类,并利用来自Transformer的长期信息促进图像压缩,而不是将现有的基于Transformer的图像分类模型直接放置在图像编解码器之后。具体来说,我们首先替换补丁化茎(即,图像分割和嵌入)与由卷积神经网络建模的轻量级图像编码器。由图像编码器生成的压缩特征被注入卷积电感偏置,并被馈送到Transformer以绕过图像重建进行图像分类。同时,我们提出了一个特征聚合模块,将压缩后的特征与Transformer的中间特征进行融合,并将聚合后的特征输入到解卷积神经网络进行图像重建。聚合特征可以从Transformer的自注意力机制中获得长期信息,提高压缩性能。最终通过两步训练策略解决了率失真精度优化问题。实验结果表明,该模型在图像压缩和分类任务的有效性。

英文摘要:

We propose an end-to-end image compression and analysis model with Transformers, targeting to the cloud-based image classification application. Instead of placing an existing Transformer-based image classification model directly after an image codec, we aim to redesign the Vision Transformer (ViT) model to perform image classification from the compressed features and facilitate image compression with the long-term information from the Transformer. Specifically, we first replace the patchify stem (i.e., image splitting and embedding) of the ViT model with a lightweight image encoder modelled by a convolutional neural network. The compressed features generated by the image encoder are injected convolutional inductive bias and are fed to the Transformer for image classification bypassing image reconstruction. Meanwhile, we propose a feature aggregation module to fuse the compressed features with the selected intermediate features of the Transformer, and feed the aggregated features to a deconvolutional neural network for image reconstruction. The aggregated features can obtain the long-term information from the self-attention mechanism of the Transformer and improve the compression performance. The rate-distortion-accuracy optimization problem is finally solved by a two-step training strategy. Experimental results demonstrate the effectiveness of the proposed model in both the image compression and the classification tasks.

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

↑