A tangent kernel for a function F(w)=yF(w)=y, where w∈Rmw \in \mathbb{R}^m and y∈Rny \in \mathbb{R}^n. A tanget kernel is a matrix K∈Rn×nK \in \mathbb{R}^{n \times n} is:

K(w)=∇F(w)⋅∇F(w)TK(w) = \nabla F(w) \cdot \nabla F(w)^T

Essential, it is gradient of the function FF at ww multiplied with its transpose.

One important conclusion is if we can get the minimum eigen-value of the tangent kernel is greater than μ\mu, then we satisfy the μ\mu-strong Polyak-Lojasiewicz inequality

Proof:

Let us assume λmin⁡(K(w))≥μM\lambda_{\min}(K(w)) \geq \mu_M on BB

L(w)=12∣∣F(w)−y∣∣2L(w) = \frac{1}{2} ||F(w) - y||^2

Let us assume that our loss function L(w)L(w) expressed as the squared norm of the difference between a function F(w)F(w) and some target yy.

Let us consider the gradient of the loss function( derivative of the loss function with respect to the weights)

12∣∣∇L(w)∣∣2=12∣∣(F(w)−y)T∇F(w)∣∣2=12(F(w)−y)T∇F(w)∇F(w)T(F(w)−y)\frac{1}{2} ||\nabla L(w) ||^2 = \frac{1}{2} ||(F(w) - y)^\mathrm{T} \nabla F(w) ||^2 = \frac{1}{2} (F(w) - y)^\mathrm{T} {\color{blue} \nabla F(w) \nabla F(w)^\mathrm{T}} (F(w) - y)

We know that:

K=∇F(w)∇F(w)TK = \nabla F(w) \nabla F(w)^\mathrm{T}

So, we can rewrite the above equation as:

12∣∣∇L(w)∣∣2=12(F(w)−y)TK(F(w)−y)=K⋅12∣∣(F(w)−y)∣∣2=K⋅L(w)\frac{1}{2} ||\nabla L(w) ||^2 = \frac{1}{2} (F(w) - y)^\mathrm{T} K (F(w) - y) = K \cdot \frac{1}{2} || (F(w) - y) ||^2 = K \cdot L(w)

Therefore the gradiant of the loss function is the tangent kernel multiplied by the loss function.

If we use the initial conditions, we can rewrite the above equation as:

12∣∣∇L(w)∣∣2≥λmin⁡(K(w))⋅L(w)\frac{1}{2} ||\nabla L(w) ||^2 \geq \lambda_{\min}(K(w)) \cdot L(w)

If we see the kernel function, the smallest eigenvalue of the kernel function is λmin⁡(K)\lambda_{\min}(K). If λmin⁡(K)≥μM\lambda_{\min}(K) \geq \mu_M, then we have the μM\mu_M-strong Polyak-Lojasiewicz inequality. This translates to high convergence of the optimization algorithm.

This is a very important result as it shows that the minimum eigenvalue of the tangent kernel is a key factor in the convergence of the optimization algorithm. If the minimum eigenvalue of the tangent kernel is greater than a certain threshold, then the optimization algorithm will converge exponentially fast. This is a very useful result in practice, as it allows us to analyze the convergence properties of optimization algorithms and design algorithms that converge faster.

Now a natural question is how we measure the convergence. Read more about in condition number

Search notes
Graph View