paper-with-me

홈 › Papers

Thinking in Granularity: Dynamic Quantization for Image Super-Resolution by Intriguing Multi-Granularity Clues

2024-09-22 · Mingshen Wang, Zhao Zhang, Feng Li, Ke Xu, Kang Miao, Meng Wang

Dynamic quantization has attracted rising attention in image super-resolution (SR) as it expands the potential of heavy SR models onto mobile devices while preserving competitive performance. Existing methods explore layer-to-bit configuration upon varying local regions, adaptively allocating the bit to each layer and patch. Despite the benefits, they still fall short in the trade-off of SR accuracy and quantization efficiency. Apart from this, adapting the quantization level for each layer individually can disturb the original inter-layer relationships, thus diminishing the representation capability of quantized models. In this work, we propose Granular-DQ, which capitalizes on the intrinsic characteristics of images while dispensing with the previous consideration for layer sensitivity in quantization. Granular-DQ conducts a multi-granularity analysis of local patches with further exploration of their information densities, achieving a distinctive patch-wise and layer-invariant dynamic quantization paradigm. Specifically, Granular-DQ initiates by developing a granularity-bit controller (GBC) to apprehend the coarse-to-fine granular representations of different patches, matching their proportional contribution to the entire image to determine the proper bit-width allocation. On this premise, we investigate the relation between bit-width and information density, devising an entropy-to-bit (E2B) mechanism that enables further fine-grained dynamic bit adaption of high-bit patches. Extensive experiments validate the superiority and generalization ability of Granular-DQ over recent state-of-the-art methods on various SR models. Code and supplementary statement can be found at \url{https://github.com/MmmingS/Granular-DQ.git}.

📄 PDF Abstract BibTeX arXiv:2409.14330

Code (1)

mmmings/granular-dq 공식 구현 pytorch

Tasks

Image Super-ResolutionQuantizationSuper-Resolution

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Soft then Hard: Rethinking the Quantization in Neural Image Compression

2021-04-12 · Zongyu Guo, Zhizheng Zhang, Runsen Feng, Zhibo Chen

Quantization is one of the core components in lossy image compression. For neural image compression, end-to-end optimization requires differentiable approximations of quantization, which can generally be grouped into thr…

Image CompressionQuantization

HoloRec: Holistic Encoding and Interleaved Reasoning for Generative Recommendation

2026-06-13 · Shuqi Zhao, Jingsong Su, Xiang Liu, Xingzhi Yao 외 arxiv

Generative recommendation models that formulate the task as sequence generation overcome the objective fragmentation problem of traditional cascade architectures, yet existing approaches still suffer from flat semantic r…

Dynamic Granularity Matters: Rethinking Vision Transformers Beyond Fixed Patch Splitting

2025-11-24 · Qiyang Yu, Yu Fang, Tianrui Li, Xuemei Cao 외 arxiv

Vision Transformers (ViTs) have demonstrated strong capabilities in capturing global dependencies but often struggle to efficiently represent fine-grained local details. Existing multi-scale approaches alleviate this iss…

Computational Efficiency

Towards Accurate Image Coding: Improved Autoregressive Image Generation with Dynamic Vector Quantization

2023-05-19 · CVPR 2023 1 · Mengqi Huang, Zhendong Mao, Zhuowei Chen, Yongdong Zhang

Existing vector quantization (VQ) based autoregressive models follow a two-stage generation paradigm that first learns a codebook to encode images as discrete codes, and then completes generation based on the learned cod…

Image GenerationPositionQuantization

MGRQ: Post-Training Quantization For Vision Transformer With Mixed Granularity Reconstruction

2024-06-13 · Lianwei Yang, Zhikai Li, Junrui Xiao, Haisong Gong 외

Post-training quantization (PTQ) efficiently compresses vision models, but unfortunately, it accompanies a certain degree of accuracy degradation. Reconstruction methods aim to enhance model performance by narrowing the …

Quantization