AI Paper Atlas

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

EMNLP 2023Architectures and efficiency › RNNs and normalizationapproach: Neural scaling laws23 citations (OpenAlex)

Carnegie Mellon University · Meta

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
5improved
2no clear effect
4hurt

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

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 changedWhereMeasuredEffect
use ONNX runtime instead of eager PyTorchBERT-Base · batch size 1, FP16latency: 71.38% speedupImproved
use TorchScript instead of eager PyTorchBERT-Base · batch size 1, FP16latency: 34.16% speedupImproved
use CUDA GraphsPyTorch BERT-Base · batch size 1latency (ms): 10.54 -> 2.82Improved
use sparse tensor optimizations instead of static CUDA graphsBERT-Base · batch size 128, variable-length inputslatency: 80.56% reductionImproved
increase model widthBERT / ResNet · low batch sizeslatency: 0.0136 vs 0.0134 (SA dim 768 vs 1536, batch 1)No clear effect
increase model depth (add layers)BERT / ResNet · all batch sizeslatencyHurt
use Funnel Transformer (42% fewer MACs) instead of BERTBERT · inference latencylatencyHurt
use mobile operations (grouped convolutions, inverted bottlenecks)transformer architectures · inference latencylatencyHurt
run FNet in PyTorch vs BERT in ONNX RTFNet · batch size 1latency: 10.31% speedupImproved
use A100 instead of V100 GPUBERT · single-example inferencelatency: 2.75x peak throughputHurt
increase batch size above 16models and runtimes · latency across frameworkslatencyNo clear effect

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy