Research map / Label-efficient and robust learning / Knowledge distillation
Modular Transformers: Compressing Transformers into Modularized Layers for Flexible Efficient Inference
Wangchunshu Zhou, Ronan Le Bras, Yejin Choi
ETH Zurich · Allen Institute for AI · University of Washington
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use Modular Transformers instead of KD (best baseline), size-first 6-6 | T5-base · CNN/DM | ROUGE-1: 41.26 -> 41.71 | Improved |
| use Modular Transformers instead of KD, speed-first 12-3 | T5-base · CNN/DM | ROUGE-1: 41.52 -> 41.75 | Improved |
| use Modular Transformers instead of KD, size-first 12-12 | T5-large · CNN/DM | ROUGE-1: 41.62 -> 41.92 | Improved |
| use Modular Transformers instead of KD, speed-first 24-6 | T5-large · WMT14 En-De | BLEU-4: 30.3 -> 30.3 | No clear effect |
| add random module replacing during training (ablation) | Modular Transformers · CNN/DM size-first | ROUGE-1: 41.25 -> 41.53 | Improved |
| add curriculum replacing (fine-to-coarse granularity schedule) instead of uniform sampling (ablation) | Modular Transformers · CNN/DM size-first | ROUGE-1: 41.35 -> 41.53 | Improved |
| add knowledge distillation to module replacing (ablation) | Modular Transformers · CNN/DM size-first | ROUGE-1: 41.42 -> 41.53 | Improved |
| use the proposed deterministic assembling instead of random assembling (ablation) | Modular Transformers · CNN/DM (Figure) | ROUGE | Improved |
| use LayerDrop instead of other compression methods at large layer-drop ratios | T5-base · CNN/DM | ROUGE-1: 41.71 -> 37.45 (vs Modular Transformers, 6-6) | Hurt |
| use 12-3 (speed-first) instead of 6-6 layers | Modular Transformers T5-base · CNN/DM | ROUGE-1: 41.71 -> 41.75 | Improved |
| add quantization to KD | T5-base · speed-up | speed-up ratio: size ratio 3.9x but speed-up only 1.1x | Mixed |
Open problems in few-shot and metric distillation
Does limited-data distillation still work beyond image classification, on larger models, and at a lower cost?
- The method adds training time, memory or storage cost. · 11 papers state it
- Tested mainly on classification, with other tasks and modalities untested. · 8 papers state it
- Students still trail the teacher or stronger baselines. · 7 papers state it
Closest papers by meaning
- MoDeGPT: Modular Decomposition for Large Language Model Compression (ICLR 2025 · similarity 0.87)
- Distilling Sequential Computation in Transformer Language Models (NeurIPS 2026 · similarity 0.87)
- How Transformers Learn Structured Data: Insights From Hierarchical Filtering (ICML 2025 · similarity 0.87)
- LoRAP: Transformer Sub-Layers Deserve Differentiated Structured Compression for Large Language Models (ICML 2024 · similarity 0.87)
- Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRA (ICLR 2025 · similarity 0.86)
- Separations in the Representational Capabilities of Transformers and Recurrent Architectures (NeurIPS 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.