Explore modules

Polyak Optimal-Value Step

Compare an optimal-value step with exact line search and a fixed learning rate.

Free theory article

Compare an optimal-value step with exact line search and a fixed learning rate.

Concept & interpretation

The Polyak optimal-value step determines the learning rate dynamically based on the known minimum value of the objective function. It aims to take steps that reach the optimal contour without requiring knowledge of the optimum's coordinates.

Experiment

To observe the behavior of the Polyak step compared to exact line search, you can interact with the module.

  1. Set the Condition ratio to 4.
  2. Set the Start point to Diagonal.
  3. Select the Rule as Exact line search. Notice how the step sizes differ significantly from the Polyak rule because exact line search minimizes along the gradient ray.
  4. Adjust the Steps to 2 and observe the trajectory on the canvas. Switch back to Polyak and compare the steps and objective values.
Read the full free theory article