paper-with-me

Papers

DiffRate : Differentiable Compression Rate for Efficient Vision Transformers

2023-05-29 · ICCV 2023 1 · Mengzhao Chen, Wenqi Shao, Peng Xu, Mingbao Lin, Kaipeng Zhang, Fei Chao, Rongrong Ji, Yu Qiao, Ping Luo

Token compression aims to speed up large-scale vision transformers (e.g. ViTs) by pruning (dropping) or merging tokens. It is an important but challenging task. Although recent advanced approaches achieved great success, they need to carefully handcraft a compression rate (i.e. number of tokens to remove), which is tedious and leads to sub-optimal performance. To tackle this problem, we propose Differentiable Compression Rate (DiffRate), a novel token compression method that has several appealing properties prior arts do not have. First, DiffRate enables propagating the loss function's gradient onto the compression ratio, which is considered as a non-differentiable hyperparameter in previous work. In this case, different layers can automatically learn different compression rates layer-wisely without extra overhead. Second, token pruning and merging can be naturally performed simultaneously in DiffRate, while they were isolated in previous works. Third, extensive experiments demonstrate that DiffRate achieves state-of-the-art performance. For example, by applying the learned layer-wise compression rates to an off-the-shelf ViT-H (MAE) model, we achieve a 40% FLOPs reduction and a 1.5x throughput improvement, with a minor accuracy drop of 0.16% on ImageNet without fine-tuning, even outperforming previous methods with fine-tuning. Codes and models are available at https://github.com/OpenGVLab/DiffRate.

📄 PDF Abstract BibTeX arXiv:2305.17997

Code (1)

opengvlab/diffrate 공식 구현 pytorch

Tasks

Efficient ViTs

Methods 이 논문이 사용한 방법론

Pruning 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Layer- and Timestep-Adaptive Differentiable Token Compression Ratios for Efficient Diffusion Transformers

2024-12-22 · CVPR 2025 1 · Haoran You, Connelly Barnes, Yuqian Zhou, Yan Kang 외

Diffusion Transformers (DiTs) have achieved state-of-the-art (SOTA) image generation quality but suffer from high latency and memory inefficiency, making them difficult to deploy on resource-constrained devices. One majo…

DenoisingImage Generation

See What Matters: Differentiable Grid Sample Pruning for Generalizable Vision-Language-Action Model

2026-05-12 · Yixu Feng, Zinan Zhao, Yanxiang Ma, Chenghao Xia 외 arxiv

Vision-Language-Action (VLA) models have shown remarkable promise in robotics manipulation, yet their high computational cost hinders real-time deployment. Existing token pruning methods suffer from a fundamental trade-o…

Adaptive Token Sampling For Efficient Vision Transformers

2021-11-30 · Mohsen Fayyaz, Soroush Abbasi Koohpayegani, Farnoush Rezaei Jafari, Sunando Sengupta 외

While state-of-the-art vision transformer models achieve promising results in image classification, they are computationally expensive and require many GFLOPs. Although the GFLOPs of a vision transformer can be decreased…

Efficient ViTsimage-classificationImage ClassificationVideo Classification

Knowledge Distillation in Vision Transformers: A Critical Review

2023-02-04 · Gousia Habib, Tausifa Jan Saleem, Brejesh lall

In Natural Language Processing (NLP), Transformers have already revolutionized the field by utilizing an attention-based encoder-decoder model. Recently, some pioneering works have employed Transformer-like architectures…

Decoderimage-classificationImage ClassificationKnowledge Distillation+5

Learned JPEG Compression for DNN Vision

2026-06-15 · Kaixiang Zheng, Ahmed H. Salamah, Siyu Chen, En-Hui Yang arxiv

JPEG, a lossy image compression technique designed for human viewers, has maintained its dominance for decades. However, in the era of artificial intelligence (AI), a substantial portion of image data, often compressed b…

Image Compression