Skip to content
Tactiverge

Perception and intelligence · also Mathematics

Optimisation and gradient descent

Optimisation means finding the best setting of some variables according to an objective function, a single number that measures how good a choice is, such as total error or energy used. For a few variables, a brute-force search can try every combination on a grid. Gradient descent is more efficient for many variables: it repeatedly takes a small step in the direction that decreases the objective fastest. It can get stuck in a local minimum, a point better than its neighbours but not the best overall. Many machine-learning methods are trained by variants of gradient descent.

Why it mattersAutomatically adjusting a robot's controller gains to minimise tracking error is an optimisation problem.

Learn it

  1. 1Optimisation basicsComputational Engineering · Engineering algorithms