DyCE: Dynamically Configurable Exiting for deep learning compression and real-time scaling
Conventional deep learning (DL) model compression methods affect all input samples equally. However, as samples vary in difficulty, a dynamic model that adapts computation based on sample complexity offers a novel perspective for compression and scaling. Despite this potential, existing dynamic techniques are typically monolithic and have model-specific implementations, limiting their generalizability as broad compression and scaling methods. Additionally, most deployed DL systems are fixed, and unable to adjust once deployed. This paper introduces DyCE, a dynamically configurable system that can adjust the performance-complexity trade-off of a DL model at runtime without needing re-initialization or re-deployment. DyCE achieves this by adding exit networks to intermediate layers, thus allowing early termination if results are acceptable. DyCE also decouples the design of exit networks from the base model itself, enabling its easy adaptation to new base models. We also propose methods for generating optimized configurations and determining exit network types and positions for dynamic trade-offs. By enabling simple configuration switching, DyCE enables fine-grained performance-complexity tuning in real-time. We demonstrate the effectiveness of DyCE through image classification tasks using deep convolutional neural networks (CNNs). DyCE significantly reduces computational complexity by 26.2% for ResNet 152 , 26.6% for ConvNextv2 tiny and 32.0% for DaViT base on ImageNet validation set, with accuracy reductions of less than 0.5%. • Effectively compress the computational complexity of deep learning models. • Dynamically Scale any AI model and select a complexity-performance tradeoff point for the model in run-time. • Enable early exiting on any existing deep learning models by attaching tiny exits. • Generates the best early-exit configuration in a multi-exit system for various trade-off preferences.
Authors
- Deepu John (ORCID: https://orcid.org/0000-0002-6139-1100)
- Benoît Larras (ORCID: https://orcid.org/0000-0003-2501-8656)
- Antoine Frappé (ORCID: https://orcid.org/0000-0002-0977-549X)
- Qingyuan Wang (ORCID: https://orcid.org/0000-0002-7879-4328)
- Barry Cardiff (ORCID: https://orcid.org/0000-0003-1303-8115)
Institutions
- University College Dublin (IE)
- Centre National de la Recherche Scientifique (FR)
- Université de Lille (FR)
- Institut d'Electronique, de Microélectronique et de Nanotechnologie (FR)
- Université Polytechnique Hauts-de-France (FR)
- École Centrale de Lille (FR)
Publication Details
- Journal
- Future Generation Computer Systems
- Published
- 2025-04-09
- DOI
- https://doi.org/10.1016/j.future.2025.107837
- Citations
- 3
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 3.83
Funders
- Science Foundation Ireland