FlexRank: Nested Low-Rank Knowledge Decomposition for Adaptive Model Deployment
Riccardo Zaccone, Stefanos Laskaridis, Marco Ciccone, Samuel Horváth
TL;DR
FlexRank addresses the rigidity of large pretrained models by learning an importance-ordered, nested low-rank decomposition that yields elastic submodels sharing weights. It initializes per-layer low-rank factors with DataSVD, then uses dynamic programming to identify nested configurations along a Pareto front, followed by distillation to refine performance without retraining from scratch. The approach achieves smoother accuracy degradation across budgets and demonstrates strong post-adaptation capabilities, enabling deployment across diverse hardware with minimal retraining. This framework significantly advances practical, cost-aware deployment of large models by enabling train-once, deploy-everywhere elasticity. $W_i = U_i V_i^ op$ and nested masks underpin the method, with distillation restoring performance after budget-driven pruning.
Abstract
The growing scale of deep neural networks, encompassing large language models (LLMs) and vision transformers (ViTs), has made training from scratch prohibitively expensive and deployment increasingly costly. These models are often used as computational monoliths with fixed cost, a rigidity that does not leverage overparametrized architectures and largely hinders adaptive deployment across different cost budgets. We argue that importance-ordered nested components can be extracted from pretrained models, and selectively activated on the available computational budget. To this end, our proposed FlexRank method leverages low-rank weight decomposition with nested, importance-based consolidation to extract submodels of increasing capabilities. Our approach enables a "train-once, deploy-everywhere" paradigm that offers a graceful trade-off between cost and performance without training from scratch for each budget - advancing practical deployment of large models.
