Enhancing Split Computing and Early Exit Applications through Predefined Sparsity
Luigi Capogrosso, Enrico Fraccaroli, Giulio Petrozziello, Francesco Setti, Samarjit Chakraborty, Franco Fummi, Marco Cristani
TL;DR
The paper tackles the challenge of running large DNNs on edge devices by integrating predefined sparsity with Split Computing (SC) and Early Exit (EE). It formalizes structured predefined sparsity with per-junction out-degrees $d^{out}_{i}$ and in-degrees $d^{in}_{i}$, yielding edge counts $|W_i|=N_{i-1}d^{out}_{i}=N_i d^{in}_{i}$ and densities $\rho_i=|W_i|/(N_{i-1}N_i)$, with densities constrained by $\rho_i=k/\gcd(N_{i-1},N_i)$. The approach applies the sparsity pattern before training and keeps it fixed throughout, enabling hardware-agnostic reductions in compute, storage, and energy. Experimental results on MNIST-like tasks show sparse head/tail configurations achieve high accuracy with substantially fewer parameters and benefit from reduced communication via EE, achieving over $4\times$ reductions in storage and computation while maintaining performance. This work paves the way for efficient, edge-amenable deployments of complex models across SC and EE frameworks.
Abstract
In the past decade, Deep Neural Networks (DNNs) achieved state-of-the-art performance in a broad range of problems, spanning from object classification and action recognition to smart building and healthcare. The flexibility that makes DNNs such a pervasive technology comes at a price: the computational requirements preclude their deployment on most of the resource-constrained edge devices available today to solve real-time and real-world tasks. This paper introduces a novel approach to address this challenge by combining the concept of predefined sparsity with Split Computing (SC) and Early Exit (EE). In particular, SC aims at splitting a DNN with a part of it deployed on an edge device and the rest on a remote server. Instead, EE allows the system to stop using the remote server and rely solely on the edge device's computation if the answer is already good enough. Specifically, how to apply such a predefined sparsity to a SC and EE paradigm has never been studied. This paper studies this problem and shows how predefined sparsity significantly reduces the computational, storage, and energy burdens during the training and inference phases, regardless of the hardware platform. This makes it a valuable approach for enhancing the performance of SC and EE applications. Experimental results showcase reductions exceeding 4x in storage and computational complexity without compromising performance. The source code is available at https://github.com/intelligolabs/sparsity_sc_ee.
