cs.LGSep 4, 2026

From Deep to Shallow: Unconstrained and Efficient Layer Merging Strategy

Authors: Petro Shulzhenko, Gabriele Spadaro, Enzo Tartaglione

Organizations: LTCI, Télécom Paris, Institut Polytechnique de Paris, Palaiseau, France · University of Turin, Italy

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.

Figures & tables

Explore similar work

CardsList
  1. ANCRe: Adaptive Neural Connection Reassignment for Efficient Depth Scaling

    Feb 9, 2026Yilang Zhang, Bingcong Li, Niao He +1Residual LearningNeural Network Optimization

  2. Deep Microcompression: Structured Pruning and Bit-packed Quantization for Microcontrollers

    Sep 4, 2026Opegbemi Matthias Busoye, Tolulope Matthew Busoye, Eghonghon-aye EigbeNeural Network CompressionOn-Device Inference

  3. HASTE: A Framework for Training-Free, Dynamic, and Steerable Compression of Pre-Trained Convolutional Neural Networks

    Jun 29, 2026Lukas Meiner, Jens Mehnert, Alexandru Paul ConduracheEfficient Neural Network InferenceConvolutional Neural Networks