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

[Feature Request] Levenberg Marquardt #293

Open
mizu-bai opened this issue Nov 17, 2022 · 1 comment
Open

[Feature Request] Levenberg Marquardt #293

mizu-bai opened this issue Nov 17, 2022 · 1 comment

Comments

@mizu-bai
Copy link

Feature

Implementation of Levenberg Marquardt optimizer.

Motivation

In MATLAB, the feedforwardnet supports many optimizers, and some are not implemented in PyTorch, such as trainlm (Levenberg Marquardt). From tests from our gourp and others, Levenberg Marquardt performs much better and needs less epochs to coverage than first-order optimizers (Adam, SGD with Momentum) on regression model. Some issues in PyTorch issue list hope for a implementation of Levenverg Marquardt algorithm, but there are no more reponse. It will be helpful to implement the Levenberg Marquardt optimizer and I am willing to help test.

Addition

Here are some helpful information and codes.

@f-dangel
Copy link
Owner

Hi,

interesting suggestion. Do you have a specific use case where first-order methods don't work for example? BackPACK certainly provides the functionality to implement such an optimizer, and I would be happy to help out in case of issues.

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