Research map / Architectures and efficiency / RNNs and normalization
The Framework Tax: Disparities Between Inference Efficiency in NLP Research and Deployment
Jared Fernandez, Jacob Kahn, Clara Na, Yonatan Bisk, Emma Strubell
Carnegie Mellon University · Meta
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.
This paper tried a common change: Larger batch size
increase batch size above 16 · latency across frameworks · latency No clear effect
What 848 accepted papers report for this change
- 490 improved
- 116 no clear effect
- 57 mixed
- 185 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use ONNX runtime instead of eager PyTorch | BERT-Base · batch size 1, FP16 | latency: 71.38% speedup | Improved |
| use TorchScript instead of eager PyTorch | BERT-Base · batch size 1, FP16 | latency: 34.16% speedup | Improved |
| use CUDA Graphs | PyTorch BERT-Base · batch size 1 | latency (ms): 10.54 -> 2.82 | Improved |
| use sparse tensor optimizations instead of static CUDA graphs | BERT-Base · batch size 128, variable-length inputs | latency: 80.56% reduction | Improved |
| increase model width | BERT / ResNet · low batch sizes | latency: 0.0136 vs 0.0134 (SA dim 768 vs 1536, batch 1) | No clear effect |
| increase model depth (add layers) | BERT / ResNet · all batch sizes | latency | Hurt |
| use Funnel Transformer (42% fewer MACs) instead of BERT | BERT · inference latency | latency | Hurt |
| use mobile operations (grouped convolutions, inverted bottlenecks) | transformer architectures · inference latency | latency | Hurt |
| run FNet in PyTorch vs BERT in ONNX RT | FNet · batch size 1 | latency: 10.31% speedup | Improved |
| use A100 instead of V100 GPU | BERT · single-example inference | latency: 2.75x peak throughput | Hurt |
| increase batch size above 16 | models and runtimes · latency across frameworks | latency | No clear effect |
Closest papers by meaning
- Scaling Inference-Efficient Language Models (ICML 2025 · similarity 0.89)
- Scaling Laws Meet Model Architecture: Toward Inference-Efficient LLMs (ICLR 2026 · similarity 0.88)
- TimeBill: Time-Budgeted Inference for Large Language Models (AAAI 2026 · similarity 0.87)
- Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference (NeurIPS 2025 · similarity 0.87)
- Algorithmic progress in language models (NeurIPS 2024 · similarity 0.86)
- Do Language Models Use Their Depth Efficiently? (NeurIPS 2025 · similarity 0.86)
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.
