Cache Telepathy: Leveraging Shared Resource Attacks to Learn DNN Architectures

By Mengjia Yan, Christopher W. Fletcher, Josep Torrellas. 2018

289 citations recorded by the source corpus.

Deep Neural Networks (DNNs) are fast becoming ubiquitous for their ability to attain good accuracy in various machine learning tasks. A DNN's architecture (i.e., its hyper-parameters) broadly determines the DNN's accuracy and performance, and is often confidential. Attacking a DNN in the cloud to obtain its architecture can potentially provide major commercial value. Further, attaining a DNN's architecture facilitates other, existing DNN attacks. This paper presents Cache Telepathy: a fast and accurate mechanism to steal a DNN's architecture using the cache side channel. Our attack is based on the insight that DNN inference relies heavily on tiled GEMM (Generalized Matrix Multiply), and that DNN architecture parameters determine the number of GEMM calls and the dimensions of the matrices used in the GEMM functions. Such information can be leaked through the cache side channel. This paper uses Prime+Probe and Flush+Reload to attack VGG and ResNet DNNs running OpenBLAS and Intel MKL libraries. Our attack is effective in helping obtain the architectures by very substantially reducing the search space of target DNN architectures. For example, for VGG using OpenBLAS, it reduces the search space from more than $10^{35}$ architectures to just 16.

Subfields: Artificial Intelligence, Electrical and Electronic Engineering

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Praneeth Vepakomma
  2. Abhishek Singh
  3. Ramesh Raskar
  4. Hadi Esmaeilzadeh
  5. David E. Evans
  6. Fatemehsadat Mirshghallah
  7. Vinod Ganapathy
  8. Michel A. Kinsy

In Electrical and Electronic Engineering

  1. Hadi Esmaeilzadeh
  2. David E. Evans
  3. Ramesh Raskar
  4. Fatemehsadat Mirshghallah
  5. Abhishek Singh
  6. Bargav Jayaraman
  7. Aditya Kanade
  8. Mohammadkazem Taram

Citations in the corpus