ResearchResearch paperEfficiency & Inference · Training & Scaling · Large Language Models2 sources · Oct 14, 2026

Your Transformer Is Secretly Elastic

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.

Key points

  • Scaling up transformers has produced models with broad capabilities, deployed across heterogeneous hardware and fluctuating workloads.
  • 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.
  • 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.

Sources (2)

  • [1]Your Transformer Is Secretly Elastic
    arXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 14, 05:58 PM
    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.
    Scaling up transformers has produced models with broad capabilities, deployed across heterogeneous hardware and fluctuating workloads.
  • [2]Your Transformer Is Secretly Elastic
    Hugging Face Daily Papers · Oct 14, 12:00 AM · same content

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 13, 2026Dyna-2: General Purpose Physical Agents with Hour-Long Autonomy — Jason Ma, Dyna Robotics
  2. Oct 13, 2026Run fast, private agents on-device with LFM2.5-24B-A2B
  3. Oct 13, 2026Gemini 4 Argon: Built to solve your hardest problems
  4. Oct 13, 2026black-forest-labs/flux-3-image-klein-comfy
  5. Oct 13, 2026Scaling Vision Transformers Without Training: Prune-and-Merge Token Compression
  6. Oct 13, 2026Copy-Paste Language Models

Related