DocuMeow
Inducing Semi-Structured Sparsity by Masking for Efficient Model Inference in Convolutional Networks cover Inducing Semi-Structured Sparsity by Masking for Efficient Model Inference in Convolutional Networks

Inducing Semi-Structured Sparsity by Masking for Efficient Model Inference in Convolutional Networks

David A. Danhofer

CC-BY-4.0 EnglishOpen Tech Books4,953 words32 min listenShort read

The crucial role of convolutional models, both as standalone vision models and backbones in foundation models, necessitates effective acceleration techniques. This paper proposes a novel method to learn semi-structured sparsity patterns for convolution kernels in the form of maskings enabling the utilization of readily available hardware accelerations. The approach accelerates convolutional models more than two-fold during inference without decreasing model performance. At the same time, the original model weights and structure remain unchanged keeping the model thus easily updatable. Beyond the immediate practical use, the effect of maskings on prediction is easily quantifiable. Therefore, guarantees on model predictions under maskings are derived showing stability bounds for learned maskings even after updating the original underlying model.

arxivopen-accesspapercs.LGcs.AIcs.CVcs.NEcs.PF

Chapter 1

The crucial role of convolutional models, both as standalone vision models and backbones in foundation models, necessitates effective acceleration techniques. This paper proposes a novel method to learn semi-structured sparsity patterns for convolution kernels in the form of maskings enabling the utilization of readily available hardware accelerations. The approach accelerates convolutional models more than two-fold during inference without decreasing model performance. At the same time, the original model weights and structure remain unchanged keeping the model thus easily updatable. Beyond the immediate practical use, the effect of maskings on prediction is easily quantifiable. Therefore, guarantees on model predictions under maskings are derived showing stability bounds for learned maskings even after updating the original underlying model. 1 1 1 Code available at github.com/ddanhofer/Semi-Structured-Sparsity-CNNs

Edition & License

License
CC-BY-4.0
Source
arXiv (CC-BY)
First published
2024
Catalog ID
arxiv:2411.00288

More in English

Browse all →