aiqbench analysis
This research introduces a novel layer merging strategy that overcomes limitations in depth compression, specifically addressing convolutional layers with padding and kernel size constraints to improve inference efficiency on embedded devices. By enabling the linearization of redundant activation functions without increasing computational overhead, the method offers a practical pathway for deploying large models in resource-constrained environments.
From Deep to Shallow: Unconstrained and Efficient Layer Merging Strategy
From arXiv
Full textAlthough 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 this https URL.
Full text under the publisher's open licence · 143 words