Giter VIP home page Giter VIP logo

Comments (4)

romanngg avatar romanngg commented on August 17, 2024

Sorry for the delay!

  1. [11] referred to https://arxiv.org/abs/1902.06720, sorry for the confusion - at some point we replaced references with inline links but missed this one, will fix.

  2. Yes, absolutely, you can parameterize your kernels and backprop through nt.predict functions, and, in general, most other nt functions.

  3. Same for NTK, with one caveat that interpreting NTK inference as a GP is a bit nuanced. Running gradient descent on an infinitely wide neural network yields a multivariate normal distribution as eq 16 in https://arxiv.org/pdf/1902.06720.pdf (the one you get by passing get="ntk" to

    def predict_fn(get: Optional[Get] = None,
    ), which is not the same as a GP posterior using an NTK kernel (the one you get by passing get="ntkgp"). I recommend @bobby-he's paper https://proceedings.neurips.cc/paper/2020/file/0b1ec366924b26fc98fa7b71a9c249cf-Paper.pdf for details on this.

Re MLE for NTK:

Btw https://arxiv.org/abs/2012.09943 seems to try something related - tune neural network parameters by optimizing the marginal likelihood of the respective NNGP.

Lmk if this helps, I'm not sure if I answered / understood everything correctly!

from neural-tangents.

yCobanoglu avatar yCobanoglu commented on August 17, 2024

Hi thanks for detailed answer i will look into the material. And a quick follow up so why don't we optimize $\sigma_{w}^{2}$ and $\sigma_{b}^{2}$. These are the variances of the weights and bias at initialization (which are set in advance, for example referred to as Standart NTK Parametrizatiion in the Code) ?

from neural-tangents.

romanngg avatar romanngg commented on August 17, 2024

I think https://arxiv.org/abs/2012.09943 looks into those. You're right it's possible to optimize these parameters and sometime ago I experimented with it a bit, but just didn't see much generalization improvement. I think the reason is that these are only 2 scalar parameters per layer, and good defaults for them already been been studied quite a lot (e.g. https://arxiv.org/pdf/1611.01232.pdf style papers), so I just don't think they provide enough flexibility to get a noticeable improvement. But if you parameterize your kernel with lots of parameters, I think it's much more promising. I believe this paper https://arxiv.org/abs/2102.03909 got improvement in meta-learning settings from optimizing the initialization parameters of a neural network by tuning them via the empirical (https://neural-tangents.readthedocs.io/en/latest/empirical.html) NTK, so in this setting parameters of the kernel = parameters of a finite width neural network.

from neural-tangents.

yCobanoglu avatar yCobanoglu commented on August 17, 2024

Thanks alot your answer was very helpful !

from neural-tangents.

Related Issues (20)

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.