paper-with-me

Papers

Fractional Skipping: Towards Finer-Grained Dynamic CNN Inference

2020-01-03 · Jianghao Shen, Yonggan Fu, Yue Wang, Pengfei Xu, Zhangyang Wang, Yingyan Lin

While increasingly deep networks are still in general desired for achieving state-of-the-art performance, for many specific inputs a simpler network might already suffice. Existing works exploited this observation by learning to skip convolutional layers in an input-dependent manner. However, we argue their binary decision scheme, i.e., either fully executing or completely bypassing one layer for a specific input, can be enhanced by introducing finer-grained, "softer" decisions. We therefore propose a Dynamic Fractional Skipping (DFS) framework. The core idea of DFS is to hypothesize layer-wise quantization (to different bitwidths) as intermediate "soft" choices to be made between fully utilizing and skipping a layer. For each input, DFS dynamically assigns a bitwidth to both weights and activations of each layer, where fully executing and skipping could be viewed as two "extremes" (i.e., full bitwidth and zero bitwidth). In this way, DFS can "fractionally" exploit a layer's expressive power during input-adaptive inference, enabling finer-grained accuracy-computational cost trade-offs. It presents a unified view to link input-adaptive layer skipping and input-adaptive hybrid quantization. Extensive experimental results demonstrate the superior tradeoff between computational cost and model expressive power (accuracy) achieved by DFS. More visualizations also indicate a smooth and consistent transition in the DFS behaviors, especially the learned choices between layer skipping and different quantizations when the total computational budgets vary, validating our hypothesis that layer quantization could be viewed as intermediate variants of layer skipping. Our source code and supplementary material are available at \link{https://github.com/Torment123/DFS}.

📄 PDF Abstract BibTeX arXiv:2001.00705

Code (1)

Torment123/DFS 공식 구현 pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruning

2026-07-30 · Haozhe Hu, Hao Wu, Peiran Yin, Chao Han 외 arxiv

Pruning is a promising approach for improving the efficiency of LLMs. Existing static structured pruning methods are hardware-friendly and can deliver practical throughput gains, but their input-agnostic computation allo…

FineRMoE: Dimension Expansion for Finer-Grained Expert with Its Upcycling Approach

2026-03-09 · Ning Liao, Xiaoxing Wang, Xiaohan Qin, Junchi Yan arxiv

As revealed by the scaling law of fine-grained MoE, model performance ceases to be improved once the granularity of the intermediate dimension exceeds the optimal threshold, limiting further gains from single-dimension f…

Dynamic layer selection in decoder-only transformers

2024-10-26 · Theodore Glavas, Joud Chataoui, Florence Regol, Wassim Jabbour 외

The vast size of Large Language Models (LLMs) has prompted a search to optimize inference. One effective approach is dynamic inference, which adapts the architecture to the sample-at-hand to reduce the overall computatio…

DecoderText Generation

SmartBERT: A Promotion of Dynamic Early Exiting Mechanism for Accelerating BERT Inference

2023-03-16 · Boren Hu, Yun Zhu, Jiacheng Li, Siliang Tang

Dynamic early exiting has been proven to improve the inference speed of the pre-trained language model like BERT. However, all samples must go through all consecutive layers before early exiting and more complex samples …

Contrastive LearningLanguage ModellingRTEWNLI

CTC Blank Triggered Dynamic Layer-Skipping for Efficient CTC-based Speech Recognition

2024-01-04 · JunFeng Hou, Peiyao Wang, Jincheng Zhang, Meng Yang 외

Deploying end-to-end speech recognition models with limited computing resources remains challenging, despite their impressive performance. Given the gradual increase in model size and the wide range of model applications…

Knowledge Distillationspeech-recognitionSpeech Recognition