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

Can we efficiently use neural tangent kernel? #13

Open
breuderink opened this issue Apr 26, 2021 · 1 comment
Open

Can we efficiently use neural tangent kernel? #13

breuderink opened this issue Apr 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@breuderink
Copy link
Owner

breuderink commented Apr 26, 2021

Can we use neural tangent kernel [1] to get the benefits of new neural net architectures while using the budgeted kernel machines? See also the paper on the path kernel [2].

The kernel needs to compute the dot product of the gradient of a neural network fed with two different inputs. Perhaps we can efficiently compute this dot product?

[1] Jacot, Arthur, Franck Gabriel, and Clément Hongler. "Neural tangent kernel: Convergence and generalization in neural networks." arXiv preprint arXiv:1806.07572 (2018).
[2] Domingos, Pedro M.. “Every Model Learned by Gradient Descent Is Approximately a Kernel Machine.” ArXiv abs/2012.00152 (2020): n. pag.

@breuderink breuderink added the enhancement New feature or request label Apr 26, 2021
@breuderink
Copy link
Owner Author

breuderink commented May 18, 2021

To use the neural tangent kernel, we need to compute the dot product of the gradients of a neural network with on different inputs. Perhaps we can use k(a, b) = Tr(AB) = Tr(BA), where A is the product of the Jacobians for the neural net with input a, and B for input b. That way, we might be able to compute the kernel layer by layer without storing all gradients.

@breuderink breuderink changed the title Can we use neural tangent kernel? Can we efficiently use neural tangent kernel? May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant