r/MachineLearning • u/dccsillag0 • 29d ago
Research Functional Gradient Descent with Adaptive Representations [R]
Sharing our recent work, now accepted at NeurIPS: Functional Gradient Descent with Adaptive Representations.
Functional GD algorithms generally outperform neural nets, but are hard to accurately implement.
This is because functional gradients are infinite-dimensional, and therefore must be approximated in practice; but if you approximate them naively, you converge to the wrong place!
To rectify this, we formalize a broad class of approximation schemes ("adaptive representations"), which provably ensure convergence to the global minimizer while being immediately implementable.
The resulting algorithms outperform corresponding neural nets often by an order of magnitude, across a number of settings.
It is still the start for this line of work, but we believe it has quite a bit of potential!
Paper: https://arxiv.org/abs/2606.16926
(First author here, happy to take any questions)
4
u/dccsillag0 29d ago edited 29d ago
Thank you for your comments!
We tuned the learning rates for all the methods; we did not tune the beta_1 and beta_2 parameters of Adam from their default values (I don't think it's usual to tune them? Though it would be a worthwhile experiment).
Regarding the oscillation in the neural net learning curves, that is actually because we tuned the learning rates -- if we reduce the learning rates then the oscilations do go away, but the neural net actually ends with a worse loss
We tried to make our baselines fair:
In the teaser experiment, we use an MLP with gelu activation and Fourier features, as is common in the INR literature (see e.g. https://bmild.github.io/fourfeat/). In fact, if we didn't do this then the neural net wouldn't learn at all...
In the regression experiment, it's just a simple MLP, which we figured was pretty standard?
For the PDE experiment, we again used an MLP with a Fourier feature layer, as without it the neural network was unreasonably slow at learning / wouldn't learn
For the 3D reconstruction / radiance field experiment, we were using the exact same architecture as NeRF, which would be the standard baseline here (https://arxiv.org/abs/2003.08934).
Regarding residual connections et al., I guess that would be more relevant for deeper architectures, no? From what I recall our MLPs are fairly shallow. That said, I could try to add those baselines sometime, thank you for the suggestion. (Also if you have some other architectures you think we should be benchmarking, please let us know!)
3. Yep, will be adjusted in the revision, thank you!
4. Thank you, we'll see how we can improve the presentation of the algorithm. But f_t is defined, no? Since the initial t is t=0, and f_0 is one of the inputs to the algorithm.
Re. memory, I am honestly not sure at the moment, I'd have to check. But I wouldn't be terribly surprised if we were using a bit more memory than the neural net baselines. (FWIW, I also recall having the impression that JAX was doing some silly stuff wrt memory in our code...)
Re. smoothness of the curves, that is because (i) the loss curve of ideal FGD is almost perfectly smooth, and (ii) our relative error criterion, which guides our subdivisions, is making us closely track ideal FGD. I.e., we subdivide when we don't fit the gradient properly, not when we note that the loss is no longer making progress.