Anatomizing Deep Learning Inference in Web Browsers
Not on the map. Why?
Abstract (arXiv)
Web applications have increasingly adopted Deep Learning (DL) through in-browser inference, wherein DL inference performs directly within Web browsers. The actual performance of in-browser inference and its impacts on the quality of experience (QoE) remain unexplored, and urgently require new QoE measurements beyond traditional ones, e.g., mainly focusing on page load time. To bridge this gap, we make the first comprehensive performance measurement of in-browser inference to date. Our approach proposes new metrics to measure in-browser inference: responsiveness, smoothness, and inference accuracy. Our extensive analysis involves 9 representative DL models across Web browsers of 50 popular PC devices and 20 mobile devices. The results reveal that in-browser inference exhibits a substantial latency gap, averaging 16.9 times slower on CPU and 4.9 times slower on GPU compared to native inference on PC devices. The gap on mobile CPU and mobile GPU is 15.8 times and 7.8 times, respectively. Furthermore, we identify contributing factors to such latency gap, including underutilized hardware instruction sets, inherent overhead in the runtime environment, resource contention within the browser, and inefficiencies in software libraries and GPU abstractions. Additionally, in-browser inference imposes significant memory demands, at times exceeding 334.6 times the size of the DL models themselves, partly attributable to suboptimal memory management. We also observe that in-browser inference leads to a significant 67.2% increase in the time it takes for GUI components to render within Web browsers, significantly affecting the overall user QoE of Web applications reliant on this technology
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 33 of its 105 references that are in the map. First posted on arXiv 8 Feb 2024.
Builds on
33 of 105 references.
References · 33
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,852
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2015SSD: Single Shot MultiBox Detectorcited by 3,130
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2019Searching for MobileNetV3cited by 1,994
- 2018ESRGAN: Enhanced Super-Resolution Generative Adversarial Networkscited by 1,254
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,020
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 971
21 more
- 2019Towards Federated Learning at Scale: System Designcited by 832
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2018LaSOT: A High-quality Benchmark for Large-scale Single Object Trackingcited by 429
- 2019Exploring Object Relation in Mean Teacher for Cross-Domain Detectioncited by 137
- 2015Flowing ConvNets for Human Pose Estimation in Videoscited by 55
- 2020A Survey on Deep Learning for Software Engineeringcited by 38
- 2019Scaling Video Analytics on Constrained Edge Nodescited by 36
- 2019An Empirical Study towards Characterizing Deep Learning Development and Deployment across Different Frameworks and Platformscited by 35
- 2021An Empirical Study on Deployment Faults of Deep Learning Based Mobile Applicationscited by 20
- 2023LUT-NN: Empower Efficient Neural Network Inference with Centroid Learning and Table Lookupcited by 20
- 2022DeepPerform: An Efficient Approach for Performance Testing of Resource-Constrained Neural Networkscited by 17
- 2019ReQA: An Evaluation for End-to-End Answer Retrieval Modelscited by 16
- 2022SqueezeNeRF: Further factorized FastNeRF for memory-efficient inferencecited by 16
- 2019Moving Deep Learning into Web Browser: How Far Can We Go?cited by 14
- 2021Understanding Performance Problems in Deep Learning Systemscited by 12
- 2022Benchmarking of DL Libraries and Models on Mobile Devicescited by 12
- 2023Objects do not disappear: Video object detection by single-frame object location anticipationcited by 7
- 2020Interpreting Cloud Computer Vision Pain-Points: A Mining Study of Stack Overflowcited by 6
- 2022Towards Understanding the Faults of JavaScript-Based Deep Learning Systemscited by 6
- 2023Empowering In-Browser Deep Learning Inference on Edge Devices with Just-in-Time Kernel Optimizationscited by 4
- 2019Not So Fast: Analyzing the Performance of WebAssembly vs. Native Codecited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025DejAIvu: Identifying and Explaining AI Art on the Web in Real-Time with Saliency Mapscited by 0
- 2026In-Browser Agents for Search Assistancecited by 0
- 2026Decentralized Direct Volume Rendering: A Browser-Native GPU Architecture for MRI Digital Twins in Resource-Constrained Settingscited by 0
- 2026As We May Searchcited by 0
- 2026Privacy-Friendly Cohort Determination: Sealed, CSP-Independent In-Browser ML Inference of Professional Segments for Identity-Less Advertisingcited by 0
- 2026GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inferencecited by 0
- 2026GPU Goldmines: Tunable WebGPU Kernels for Edge LLM Inference12 Oct 2026
- 2026Privacy-Friendly Cohort Determination: Sealed, CSP-Independent In-Browser ML Inference of Professional Segments for Identity-Less Advertising28 Sep 2026
- 2026As We May Search28 Jun 2026
- 2026Decentralized Direct Volume Rendering: A Browser-Native GPU Architecture for MRI Digital Twins in Resource-Constrained Settings19 May 2026
- 2026In-Browser Agents for Search Assistance14 Jan 2026
- 2025DejAIvu: Identifying and Explaining AI Art on the Web in Real-Time with Saliency Maps12 Feb 2025