AI engineering glossary · Calculus optimisation

What is projected gradient descent?

Projected gradient descent: A constrained version of gradient descent that takes an ordinary gradient step and then projects the result back to the nearest point in the feasible set. It suits simple constraints such as boxes or norm balls.

Level: advancedTopic: Calculus optimisation

Projected gradient descent: an example

To keep weights within [0, 1], take a step, then clip any value below 0 to 0 and above 1 to 1.

Related terms

More Calculus optimisation terms

Where you learn it

Projected gradient descent 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.