arrow
返回

Anatomizing Deep Learning Inference in Web Browsers

delete2025-01-21
delete0
delete
OA
AI
Q
Qipeng Wang
S
Shiqi Jiang *
陈
陈震鹏 (Zhenpeng Chen) *
X
Xu Cao
Y
Yuanchun Li
Y
Yun Ma *
T
Ting Cao
X
Xuanzhe Liu
DOI:10.1145/3688843delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Deep learning
Web browser
measurement

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

M
Microsoft Research Asia
学者数:
421
论文数: 407
被引数: 2
P
peking university
学者数:
11.9W
论文数: 8.7W
被引数: 146
M
Microsoft
学者数:
3.0K
论文数: 2.7K
被引数: 7
M
microsoft china
学者数:
130
论文数: 112
被引数: 0
学者 查看更多机构
引用论文

引用论文

Client ahead‐of‐time compiler for embedded Java platforms
err2008-08-05
err0
PREAI
errSunghyun Hong; Jin‐Chul Kim; Soo‐Mook Moon; Jin Woo Shin; Jaemok Lee; Hyeong‐Seok Oh; Hyung‐Kyu Choi
err分享
err收藏
Effects of Left Ventricular Assist Device (LVAD) Placement on Myocardial Oxidative Stress Markers
err2012-09-01
err0
PREAI
errD.L. Templeton; K.H.H. Mosser; C.N. Chen; M.D. Stone; R. John; D.R. Dengel; L.V. Thompson
err分享
err收藏
err分享
err收藏
An Integrated Cloud-Edge-Device Adaptive Deep Learning Service for Cross-Platform Web
err2023-04-01
err7
PREAI
errHuang, Yakun; Qiao, Xiuquan; Tang, Jian; Ren, Pei; Liu, Ling; Pu, Calton; Chen, Junliang
err分享
err收藏
The use of benzodiazepines in schizophrenia: a review
err2020-04-16
err0
PREAI
errPM Llorca; MA Wolf; JP Estorges
err分享
err收藏
Progressive Supranuclear Palsy
err1984-08-01
err0
PREAI
errJoseph Jankovic
err分享
err收藏
A self-organized biomechanical network drives shape changes during tissue morphogenesis
err2015-07-27
err0
PREAI
errAkankshi Munjal; Jean-Marc Philippe; Edwin Munro; Thomas Lecuit
err分享
err收藏
学者 查看更多内容