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

Guys, how can use your method let's say for NN model? #2

Open
diff7 opened this issue Jan 29, 2021 · 4 comments
Open

Guys, how can use your method let's say for NN model? #2

diff7 opened this issue Jan 29, 2021 · 4 comments

Comments

@diff7
Copy link

diff7 commented Jan 29, 2021

Hi,
I was looking at your method and let's say I want to apply for NN. But I have not figured out how to construct matrix Phi ( A in the code ).

Any tips and directions will be appreciated!

@jackyzyb
Copy link
Owner

Hi,
Thanks for asking! Our method can be applied to Bayesian NNs. Here's a good reference to construct Phi and Bayesian coresets on Bayesian NNs: this work (https://github.com/rpinsler/active-bayesian-coresets) uses a resnet with Bayesian final layer, and the matrix Phi can be sampled from the posterior. They use the FW method (https://papers.nips.cc/paper/2019/file/84c2d4860a0fc27bcf854c444fb8b400-Paper.pdf) to construct Bayesian coresets, which also needs to construct the same matrix Phi.

@diff7
Copy link
Author

diff7 commented Feb 1, 2021

Thank you!

If you do not mind I will keep the issue open, I am slowly digging into it and may have more questions ))

By the way, do you refer to equation 16 in the paper?

image

@jackyzyb
Copy link
Owner

Hi! Sorry I must be too busy around Feb 1 so that I missed all your comments...
Yes it is. The \hat{L}_n here corresponds to the n^th column in the matrix Phi.
Feel free to ask more questions!

@diff7
Copy link
Author

diff7 commented Mar 15, 2021

Got it, thanks!

@diff7 diff7 closed this as completed Mar 15, 2021
@diff7 diff7 reopened this Mar 15, 2021
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

2 participants