Lune

AAAI2022Top-tier venue

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

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ROI-Guided Point Cloud Geometry Compression Towards Human and Machine Vision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CvT: Introducing Convolutions to Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • CvT: Introducing Convolutions to Vision Transformers cites Training data-efficient image transformers & distillation through attention
  • CALLIC: Content Adaptive Learning for Lossless Image Compression cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Improving Dynamic HDR Imaging with Fusion Transformer cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Improving Dynamic HDR Imaging with Fusion Transformer cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Training data-efficient image transformers & distillation through attention cites Random Erasing Data Augmentation
  • Early Convolutions Help Transformers See Better cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Early Convolutions Help Transformers See Better cites Random Erasing Data Augmentation
  • Early Convolutions Help Transformers See Better cites CvT: Introducing Convolutions to Vision Transformers
  • Early Convolutions Help Transformers See Better cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. ROI-Guided Point Cloud Geometry Compression Towards Human and Machine VisionLiang Xie, Wei Gao, Huiming Zheng, Ge LiACM MM 2024 · 51 citations
  2. Improving Dynamic HDR Imaging with Fusion TransformerRufeng Chen, Bolun Zheng, Hua Zhang, Quan Chen et al.AAAI 2023 · 34 citations
  3. Non-Semantics Suppressed Mask Learning for Unsupervised Video Semantic CompressionYuan Tian, Guo Lu, Guangtao Zhai, Zhiyong GaoICCV 2023 · 29 citations
  4. CALLIC: Content Adaptive Learning for Lossless Image CompressionDaxin Li, Yuanchao Bai, Kai Wang, Junjun Jiang et al.AAAI 2025 · 8 citations
  5. msLPCC: A Multimodal-Driven Scalable Framework for Deep LiDAR Point Cloud CompressionMiaohui Wang, Runnan Huang, Hengjin Dong, Di Lin et al.AAAI 2024 · 7 citations

Builds on13

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  3. Random Erasing Data AugmentationZhun Zhong, Liang Zheng, Guoliang Kang, Shaozi Li et al.AAAI 2020 · 4,134 citations
  4. CvT: Introducing Convolutions to Vision TransformersHaiping Wu, Bin Xiao, Noel Codella, Mengchen Liu et al.ICCV 2021 · 2,397 citations
  5. Early Convolutions Help Transformers See BetterTete Xiao, Mannat Singh, Eric Mintun, Trevor Darrell et al.NeurIPS 2021 · 974 citations

Related papers

  1. Unified Visual Transformer CompressionShixing Yu, Tianlong Chen, Jiayi Shen, Huan Yuan et al.ICLR 2022 · 118 citations
  2. RegionViT: Regional-to-Local Attention for Vision TransformersChun-Fu Chen, Rameswar Panda, Quanfu FanICLR 2022 · 246 citations
  3. RGB No More: Minimally-Decoded JPEG Vision TransformersJeongsoo Park, Justin JohnsonCVPR 2023
  4. Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He et al.ICCV 2021 · 154 citations
  5. MG-ViT: A Multi-Granularity Method for Compact and Efficient Vision TransformersYu Zhang, Yepeng Liu, Duoqian Miao, Qi Zhang et al.NeurIPS 2023 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines