Publication:

Machine Learning in the Browser

Loading...
Thumbnail Image

Date

2017-07-14

Published Version

Published Version

Journal Title

Journal ISSN

Volume Title

Publisher

The Harvard community has made this article openly available. Please share how this access benefits you.

Research Projects

Organizational Units

Journal Issue

Citation

Abstract

The past decade has seen the rise of rich, dynamic Web applications, and it has also seen the popularization of machine learning. Despite this, we have not seen web applications that evaluate machine learning models in the browser because of technical limitations that make it difficult to do so quickly. I motivate and present a machine learning library for the web, which interoperates with one of the most popular machine learning libraries and is capable of evaluating such models quickly. I further discuss the new classes of features and products enabled by such a library, including: privacy, offline mode, and self-contained demos. The library runs within an order of magnitude of the speed that the native, single-threaded equivalent runs in. For example, one popular image recognition model, Inception, ran in 0.67 seconds natively and as fast as 2.59s on commodity browsers by leveraging emerging web technologies. I also discuss the challenges of building and some of the use cases of such a library.

Description

Other Available Sources

Research Data

Keywords

Computer Science

Terms of Use

This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service

Endorsement

Review

Supplemented By

Related Stories