AI engineering glossary · Calculus optimisation

What is L-BFGS?

L-BFGS (also called Limited-memory BFGS): A limited-memory version of BFGS that stores only the last handful of parameter and gradient changes, rather than a full matrix, to implicitly represent curvature. It scales to many variables and is used for classical models like logistic regression.

Level: advancedTopic: Calculus optimisation

L-BFGS: an example

scikit-learn's LogisticRegression uses the "lbfgs" solver by default, keeping perhaps 10 recent updates.

Related terms

More Calculus optimisation terms

Where you learn it

L-BFGS is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.