Code Monkey home page Code Monkey logo

kegnet's Introduction

KegNet

This project is a PyTorch implementation of Knowledge Extraction with No Observable Data (NeurIPS 2019). This paper proposes a novel approach that extracts the knowledge of a deep neural network without any given data.

Prerequisites

Usage

You can run the demo script by bash demo.sh, which simply runs src/main.py. It trains five generators based on the pretrained LeNet5 model of pretrained/mnist.pth.tar and then uses it to train a student network from its extracted knowledge. You can change the dataset, pretrained model, and number of generators by modifying src/main.py. It is also possible to modify directly our model package such to change the hyperparameters such as learning rates, network structures, sampling distributions, and so on.

The following figure visualizes artificial images for the SVHN dataset, generated from our five generators. The digits are clearly recognizable despite the noises, representing that our generators are capable of capturing essential properties of the data distribution given a trained teacher network.

Reference

You can download this bib file or copy the following information:

@incollection{NIPS2019_8538,
title = {Knowledge Extraction with No Observable Data},
author = {Yoo, Jaemin and Cho, Minyong and Kim, Taebum and Kang, U},
booktitle = {Advances in Neural Information Processing Systems 32},
editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett},
pages = {2701--2710},
year = {2019},
publisher = {Curran Associates, Inc.},
url = {http://papers.nips.cc/paper/8538-knowledge-extraction-with-no-observable-data.pdf}
}

kegnet's People

Contributors

jaeminyoo avatar snudatalab avatar

Stargazers

Zheng Qu avatar alighazal avatar Jingrong Xie avatar Ritchie avatar  avatar wnma avatar Jong-eun-Lee avatar Olivia-fsm avatar ZNinggggg avatar  avatar roryshao avatar Shubham Pachori avatar  avatar Jiho Choi avatar Sangyeon Kim avatar N!no avatar Shiwei Wang avatar  avatar  avatar  avatar  avatar Ingu Kang avatar youngornever avatar  avatar  avatar IronMan avatar Jiacong Fang avatar ASTONE avatar Yulhwa Kim avatar  avatar i-aztec avatar  avatar Wonjae Kim avatar HAKBINKIM avatar  avatar Jinhong Jung avatar Chen Yuanqi avatar HoTaek Joo avatar zedoul avatar  avatar Hyunsik Jeon avatar  avatar

Watchers

 avatar IronMan avatar  avatar paper2code - bot avatar

kegnet's Issues

until now some bug appear

Sincerely,l found some bug in your code cause the update of official package of tucker.In src/kegnet/utils/tucker.py line 91,you shall change the auguement 'ranks' to 'rank'.And ,this will be work successful

Poster link

Can you add a link to the poster?
Thanks.

About the accuracy on SVHN dataset

Thanks for the good work. I try to reproduce the paper results. I have achieved similar accuracy on MNIST dataset but failed on SVHN dataset. Anything is the same but dataset = 'mnist' to dataset = 'svhn' in main.py, which gives accuracy around 52.06%. I want to ask if there is anything else that should be changed to reach the paper accuracy. Thanks again.

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.