Coder Social home page Coder Social logo

trellixvulnteam / model-extraction-self-supervision_kbet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alright-code/model-extraction-self-supervision

0.0 0.0 0.0 261 KB

Query Efficient Model Extraction with Self-Supervised Contrastive Learning

License: Apache License 2.0

Python 100.00%

model-extraction-self-supervision_kbet's Introduction

Query Efficient Model Extraction with Self-Supervised Contrastive Learning

This repository contains the code and presentation materials for the final project for the Spring 2022 Trustworthy Machine Learning course at RPI. The goal of this project was to show how we can use self-supervised learning to enhance a extraction attack on a target model. This work is an extension of High "Accuracy and High Fidelity Extraction of Neural Networks" https://arxiv.org/abs/1909.01838. We demonstrate experiments using the ImageNet models from "Billion-scale Semi-Supervised Learning for Image Classification" https://arxiv.org/abs/1905.00546 as a target.

Methodology

First use src/extract_oracle_logits.py to compute all output logits of the target model. We next obtain pretrained self-supervision models from https://github.com/open-mmlab/mmselfsup/blob/master/docs/en/model_zoo.md. The self-supervised models are then finetuned using src/train.py, and evaluated using src/test.py. See the presentation slides for the specific training protocols we follow for each experiment, and additional methodology specifics.

model-extraction-self-supervision_kbet's People

Contributors

alright-code avatar trellixvulnteam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.