From Deep to Shallow: Unconstrained and Efficient Layer Merging Strategy
Not on the map. Why?
Abstract (arXiv)
Although Deep Neural Networks have become foundational in many areas of Machine Learning, high computational demands limit their application in resource-constrained environments. To address this issue, depth compression methods have been proposed to identify and linearize redundant activation functions, thereby allowing for the merging of layers without intermediate non-linearities. However, these methods face two key challenges: they cannot be directly applied to convolutions with padding due to the absence of an analytical solution for merging these layers, and they typically increase the kernel size of merged layers, thus limiting speed-up gains. To overcome these limitations, we propose an efficient strategy that enables merging of layers without an existing analytical solution, and also without increasing kernel size. We validate our approach across multiple architectures and datasets, and measure inference speed-up gains on real embedded platforms. We publicly released the code at https://github.com/ShulzhenkoPetr/deep-to-shallow.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 25 of its 32 references that are in the map. First posted on arXiv 4 Sep 2026.
Builds on
25 of 32 references.
References · 25
- 2015Deep Residual Learning for Image Recognitioncited by 51,950
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,223
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,321
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,111
- 2015Distilling the Knowledge in a Neural Networkcited by 10,180
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,476
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,786
- 2014Going Deeper with Convolutionscited by 4,239
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,836
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,315
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,017
- 2018SNIP: Single-shot Network Pruning based on Connection Sensitivitycited by 809
13 more
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 602
- 2018Efficient Attention: Attention with Linear Complexitiescited by 368
- 2016Trained Ternary Quantizationcited by 208
- 2023Structured Pruning for Deep Convolutional Neural Networks: A surveycited by 122
- 2023LLMCarbon: Modeling the end-to-end Carbon Footprint of Large Language Modelscited by 71
- 2020An Overview of Neural Network Compressioncited by 59
- 2023Can Unstructured Pruning Reduce the Depth in Deep Neural Networks?cited by 20
- 2020LOss-Based SensiTivity rEgulaRization: towards deep sparse neural networkscited by 19
- 2022DepthShrinker: A New Compression Paradigm Towards Boosting Real-Hardware Efficiency of Compact Neural Networkscited by 19
- 2021Layer Folding: Neural Network Depth Reduction using Activation Linearizationcited by 14
- 2021SeReNe: Sensitivity based Regularization of Neurons for Structured Sparsity in Neural Networkscited by 12
- 2024LayerMerge: Neural Network Depth Compression through Layer Pruning and Mergingcited by 7
- 2024The Simpler The Better: An Entropy-Based Importance Metric To Reduce Neural Networks' Depthcited by 3
Built on by
Not cited yet.