Machine Learning at Facebook: Understanding Inference at the Edge

Carole-Jean Wu, David Brooks, Kevin Chen, Douglas Chen, Sy Choudhury, Marat Dukhan, Kim Hazelwood, Yangqing Jia, Bill Jia, Tommer Leyvand,

2019 · 439 citations · 49 references

Concepts

TL;DR

Facebook’s machine learning powers a wide range of user‑experience features such as post ranking, content understanding, AR/VR object detection, and speech and text translation. The paper investigates opportunities and design challenges for deploying machine‑learning inference on smartphones and other edge devices. It uses a data‑driven analysis of Facebook’s experience to identify opportunities and design challenges for local inference on edge platforms. Deploying inference at the edge reduces latency, lessens network dependence, and unlocks new deep‑learning applications that rely on edge‑only features.

Abstract

At Facebook, machine learning provides a wide range of capabilities that drive many aspects of user experience including ranking posts, content understanding, object detection and tracking for augmented and virtual reality, speech and text translations. While machine learning models are currently trained on customized data-center infrastructure, Facebook is working to bring machine learning inference to the edge. By doing so, user experience is improved with reduced latency (inference time) and becomes less dependent on network connectivity. Furthermore, this also enables many more applications of deep learning with important features only made available at the edge. This paper takes a data-driven approach to present the opportunities and design challenges faced by Facebook in order to enable machine learning inference locally on smart phones and other edge platforms.

References

49