Skip to content

berradakech/Machine-Learning-model-stealing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Prediction-as-a-Service Model Stealing

Description

This code demonstrates two ways to steal a linear regression model from SecureHealth’s Prediction-as-a-Service API. The code uses Paillier encryption to extract the model parameters via two methods: weight-by-weight extraction and solving a linear equation. In the weight-by-weight approach, the program queries the API by providing a vector of zeros and then sends unitary vectors one by one to extract each weight. In the linear equation approach, the program generates 11 random vectors and solves a linear equation to extract all 11 model parameters.

Languages Used

  • Python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages