PaperScope
LIVE · 2026-09-07 05:40 UTC

From Deep to Shallow: Unconstrained and Efficient Layer Merging Strategy

Petro Shulzhenko, Gabriele Spadaro, Enzo Tartaglione

Latestcs.CLcs.LGcs.AIcs.CV
arXiv ID
2609.04881 v1
Category
Submitted
2026-09-04

Abstract

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.

Comment: 13 pages, 3 figures, accepted at the ITEM Workshop at ECML PKDD 2026

arXiv abs page · PDF · same-day batch