Moving Deep Learning into Web Browser: How Far Can We Go?

01/27/2019
by   Yun Ma, et al.
0

Recently, several JavaScript-based deep learning frameworks have emerged, making it possible to perform deep learning tasks directly on browsers. However, there are debates on the necessity and efficiency of deep learning on browsers. On one hand, advocators think that given the cross-platform feature, the browser is an ideal platform to realize client-side machine learning, which can preserve the data privacy, increase the user personalization, as well as lower the backend workload. On the other hand, objectors think that deep learning on browsers is impractical due to the poor performance of JavaScript and constraints imposed by browsers. To make a first step towards consensus, in this paper, we conduct an empirical study of deep learning on browsers. We first survey 7 most popular JavaScript-based deep learning frameworks, investigating to what extent deep learning tasks have been supported so far. Then we investigate the performance of different frameworks when running different deep learning tasks. Finally, we dig out the performance gap between deep learning on browsers and on native platform by comparing the performance of TensorFlow.js and TensorFlow in Python. Our findings could help to improve the efficiency of deep learning on browsers.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/07/2017

Development of JavaScript-based deep learning platform and application to distributed training

Deep learning is increasingly attracting attention for processing big da...
research
03/19/2020

TF-Coder: Program Synthesis for Tensor Manipulations

The success and popularity of deep learning is on the rise, partially du...
research
02/26/2021

Swift for TensorFlow: A portable, flexible platform for deep learning

Swift for TensorFlow is a deep learning platform that scales from mobile...
research
10/23/2018

nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically Encrypted Data

Homomorphic encryption (HE)--the ability to perform computations on encr...
research
11/12/2018

Focusing on the Big Picture: Insights into a Systems Approach to Deep Learning for Satellite Imagery

Deep learning tasks are often complicated and require a variety of compo...
research
04/03/2018

Designing a Micro-Benchmark Suite to Evaluate gRPC for TensorFlow: Early Experiences

Remote procedure call (RPC) is the backbone of many modern distributed s...
research
09/17/2019

Ludwig: a type-based declarative deep learning toolbox

In this work we present Ludwig, a flexible, extensible and easy to use t...

Please sign up or login with your details

Forgot password? Click here to reset