Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: So what about the neural network? #1

Open
ryanpeach opened this issue Jan 11, 2018 · 5 comments
Open

Question: So what about the neural network? #1

ryanpeach opened this issue Jan 11, 2018 · 5 comments

Comments

@ryanpeach
Copy link

So this seems to be an implementation of the tree as described in the paper, however, how then do we distill the knowledge from a neural network into the tree?

Thanks

@kimhc6028
Copy link
Owner

Hello,
are you asking that "how neural network formulates into tree, and how to train that?"
If so, a neural network outputs probability of choosing left or right node (which are also same neural network). Following this chain of probability, the last node outputs deterministic probability of class expectation.
When you back propagate this, probability links between nodes so that you can differentiate chain of nodes which are chosen.
Thank you.

@Airconaaron
Copy link

@kimhc6028 I think the issue @ryanpeach bought up was that the paper was mainly concerned about the distillation aspect.

This project currently trains a novel decision tree that uses a convolutional filter to make its decision. The labels you use are based off of the MNIST data rather than the outputs of a NN.

Happy to submit a PR next week to rectify this issue and add some argument parsing in a bit.

@jnclayiii
Copy link

If it's not too late, I would be interested in seeing such a PR.

@benediktwagner
Copy link

Would be interested too.

@lmartak
Copy link

lmartak commented Sep 10, 2018

@jnclayiii @benbetze if still relevant, see my recent implementation that includes distillation as well as visualization of learned parameters and follows the paper exactly in every detail: https://github.com/lmartak/distill-nn-tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants