RGB No More: Minimally-Decoded JPEG Vision Transformers
Abstract
Most neural networks for computer vision are designed to infer using RGB images. However, these RGB images are commonly encoded in JPEG before saving to disk; decoding them imposes an unavoidable overhead for RGB networks. Instead, our work focuses on training Vision Transformers (ViT) directly from the encoded features of JPEG. This way, we can avoid most of the decoding overhead, accelerating data load. Existing works have studied this aspect but they focus on CNNs. Due to how these encoded features are structured, CNNs require heavy modification to their architecture to accept such data. Here, we show that this is not the case for ViTs. In addition, we tackle data augmentation directly on these encoded features, which to our knowledge, has not been explored in-depth for training in this setting. With these two improvements -ViT and data augmentation -we show that our ViT-Ti model achieves up to 39.2% faster training and 17.9% faster inference with no accuracy loss compared to the RGB counterpart.
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.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Faster Vision Transformers with Adaptive Patches cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- EfficientFormer: Vision Transformers at MobileNet Speed cites Training data-efficient image transformers & distillation through attention
- EfficientFormer: Vision Transformers at MobileNet Speed cites MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer
- EfficientFormer: Vision Transformers at MobileNet Speed cites Swin Transformer V2: Scaling Up Capacity and Resolution
- Wavelet-Driven Masked Image Modeling: A Path to Efficient Visual Representation cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer cites Training data-efficient image transformers & distillation through attention
- Swin Transformer V2: Scaling Up Capacity and Resolution cites Training data-efficient image transformers & distillation through attention
Cited by top-tier papers7
- Faster Vision Transformers with Adaptive PatchesRohan Choudhury, JungEun Kim, Jinhyung Park, Eunho Yang et al.ICLR 2026 · 8 citations
- Proxy Compression for Language ModelingLin Zheng, Li Xinyu, Qian Liu, Xiachong Feng et al.ICML 2026 · 3 citations
- Wavelet-Driven Masked Image Modeling: A Path to Efficient Visual RepresentationWenzhao Xiang, Chang Liu, Hongyang Yu, Xilin ChenAAAI 2025 · 3 citations
- Uncover Treasures in DCT: Advancing JPEG Quality Enhancement by Exploiting Latent CorrelationsJing Yang, Qunliang Xing, Mai Xu, Minglang QiaoICCV 2025
- JPEG Processing Neural Operator for Backward-Compatible CodingWoo Kyoung Han, Yongjun Lee, Byeonghun Lee, Sanghyun Park et al.ICCV 2025
Builds on16
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
- MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision TransformerSachin Mehta, Mohammad RastegariICLR 2022 · 2,162 citations
- Swin Transformer V2: Scaling Up Capacity and ResolutionZe Liu, Han Hu, Yutong Lin, Zhuliang Yao et al.CVPR 2022 · 2,138 citations
- EfficientFormer: Vision Transformers at MobileNet SpeedYanyu Li, Geng Yuan, Yang Wen, Ju Hu et al.NeurIPS 2022 · 742 citations
Related papers
- 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
- Towards End-to-End Image Compression and Analysis with TransformersYuanchao Bai, Xu Yang, Xianming Liu, Junjun Jiang et al.AAAI 2022 · 68 citations
- Understanding Robustness of Transformers for Image ClassificationSrinadh Bhojanapalli, Ayan Chakrabarti, Daniel Glasner, Daliang Li et al.ICCV 2021 · 501 citations
- Incorporating Convolution Designs into Visual TransformersKun Yuan, Shaopeng Guo, Ziwei Liu, Aojun Zhou et al.ICCV 2021 · 581 citations
- Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetLi Yuan, Yunpeng Chen, Tao Wang, Weihao Yu et al.ICCV 2021 · 2,462 citations
