Metraipolis › archive › dc_3f5274ec088b
Your Transformer Is Secretly Elastic — arXiv:2610.20588
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.20588
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T14:20:58.161Z
- SHA-256 of the archived text
66ff075622df5148e98c3a017879c777124d0e91c3a186490a72d750c977b3ab- Stable URL of this page
https://metraipolis.com/documento/dc_3f5274ec088b
How to cite
Your Transformer Is Secretly Elastic — arXiv:2610.20588 — arXiv (en), https://arxiv.org/abs/2610.20588 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3f5274ec088b (Metraipolis archive dc_3f5274ec088b, sha256 66ff075622df5148e98c3a017879c777124d0e91c3a186490a72d750c977b3ab)
BibTeX
@misc{dc3f5274ec088b,
title = {Your Transformer Is Secretly Elastic — arXiv:2610.20588},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.20588},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3f5274ec088b; sha256 66ff075622df5148e98c3a017879c777124d0e91c3a186490a72d750c977b3ab},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.20588. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Scaling up transformers has produced models with broad capabilities, deployed across heterogeneous hardware and fluctuating workloads. Yet, model families offer only a few fixed sizes (e.g., S, B, L), forcing users to commit to a model based on hardware and latency constraints. This rigidity is often suboptimal under varying query loads. We introduce a retraining-free method that elastifies pre-trained transformers into a single model that adapts on-the-fly across a continuum of computational budgets. Our key contribution is a differentiable relaxation of the functional unit-ranking problem: unlike prior work, which optimizes a single importance weight per MLP block or attention head, we rank every individual MLP neuron and attention head jointly, on a common scale, by minimizing the model's loss under soft pruning across many sparsity targets, all at once. Across 27 vision and text transformer encoders ranging from 22M to 8B parameters, our method yields smooth degradation up to 60% sparsity and outperforms one-shot baselines under deep pruning. For example, pruning DINOv3 ViT-H+/16 to 50% sparsity removes 427M parameters while reducing ImageNet-1k linear-probing accuracy by only 0.8%, without the need for weight correction or retraining. At 60% sparsity, a pruned AugReg ViT-B/16 model achieves up to $1.80\times$ higher throughput and $1.26\times$ lower single-query latency on an A100 GPU. Elastic models are produced in minutes, with construction time scaling sub-linearly with parameter count. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno). Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2610.20588 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T13:53:35.784Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).