Machine Learning as a Service (MLaaS) is a popular and convenient way to access a trained machine learning (ML) model trough an API. However, if the user's input is sensitive, sending it to the server is not an option. Equally, the service provider does not want to share the model by sending it to the client for protecting its intellectual property and pay-per-query business model. As a solution, we propose MLCapsule, a guarded offline deployment of MLaaS. MLCapsule executes the machine learning model locally on the user's client and therefore the data never leaves the client. Meanwhile, we show that MLCapsule is able to offer the service provider the same level of control and security of its model as the commonly used server-side execution. Beyond protecting against direct model access, we demonstrate that MLCapsule allows for implementing defenses against advanced attacks on machine learning models such as model stealing, reverse engineering and membership inference.
History
Preferred Citation
Lucjan Hanzlik, Yang Zhang, Kathrin Grosse, Ahmed Salem, Maximilian Augustin, Michael Backes and Mario Fritz. MLCapsule: Guarded Offline Deployment of Machine Learning as a Service. In: European Conference on Computer Vision (ECCV). 2021.
Primary Research Area
Trustworthy Information Processing
Name of Conference
European Conference on Computer Vision (ECCV)
Legacy Posted Date
2021-06-21
Open Access Type
Gold
BibTeX
@inproceedings{cispa_all_3435,
title = "MLCapsule: Guarded Offline Deployment of Machine Learning as a Service",
author = "Hanzlik, Lucjan and Zhang, Yang and Grosse, Kathrin and Salem, Ahmed and Augustin, Maximilian and Backes, Michael and Fritz, Mario",
booktitle="{European Conference on Computer Vision (ECCV)}",
year="2021",
}