Use the LagrangianThe Lagrange multiplier equations areFeasibility makes , so . The second equation becomes , forcing and then . The constraint gradient is nonzero on the feasible set, so the multiplier calculation has no missing singular feasible point.
To verify the global minimum rather than just stationarity, eliminate :Equality holds exactly at or , with minimum value .
If , the objective is zero at every feasible point, so every point of the ellipsoid is a minimizer. Suppose now . A minimum cannot be interior: a sufficiently small step in direction would remain feasible and decrease the objective. The boundary is active.
Forstationarity gives . A positive-definite symmetric matrix is invertible, and the minimizing sign has . Enforcing the boundary gives
For global optimality, use the inner product . The Cauchy-Schwarz inequality givesThe proposed point attains the negative of this bound. Thus the minimum is , and equality in the Cauchy-Schwarz inequality, together with the sign and boundary conditions, makes this minimizer unique when .
Use a column gradient. By the multivariable chain rule,The scalar coefficients multiply the constant vectors . In particular , although explicit differentiation of is not required.
Differentiating the gradient term by term gives the Hessian matrixTake row of to be . ThenIndeed, entry of this product is , exactly the entry of the displayed sum of outer products. Explicitly,These coefficients may have either sign, so a positive-definite Hessian matrix cannot be assumed. This is an instance of the Hessian of a sum of functions of linear forms.
At , gradient descent and full BFGS are practical candidates; a dense Newton method can also be feasible, but its extra work and indefinite curvature need attention. The number of examples , data sparsity and conditioning still matter.
For dense , a gradient evaluation costs arithmetic, with working storage beyond the data and accumulation buffers. Gradient descent is inexpensive per iteration and, with an appropriate line search, follows a descent direction, but poor conditioning can make it slow.
Forming the Hessian matrix explicitly costs arithmetic, and a dense Newton method solve costs . A -square double-precision matrix uses about MB, so storage alone is manageable, but repeated factorization may be expensive. Because the Hessian matrix can be indefinite or singular, an unmodified Newton step need not decrease the loss; a modified Hessian, damping or a trust region is appropriate.
Full BFGS uses gradients and an curvature approximation, avoiding explicit second derivatives. Its rank-two updates and direction calculation cost per step and require roughly the same matrix storage. A positive-definite initial approximation with safeguarded curvature updates and a suitable line search preserves descent directions. For this scale it is often a good compromise, without guaranteeing a global minimum.[ref]
Quasi-Newton Methods by NEOS Guide. Secant condition, positive-definite updating, and quadratic per-step operation/storage costs
At , gradient descent remains a plausible large-scale choice; dense Newton method and full-memory BFGS are generally impractical. A dense double-precision matrix alone contains entries, about TB. Dense factorization also has order arithmetic work. Full BFGS avoids factorization but retains quadratic storage and update work, so it does not solve that scaling problem.
Gradient descent uses linear working storage in , though the cost of reading the data and evaluating the gradient is still for dense . Sparsity or streaming can be important. Limited-memory BFGS, a distinct limited-memory variant, stores only a fixed number of recent update pairs and uses storage and update work, making it a realistic alternative to full BFGS.[ref]
Quasi-Newton Methods by NEOS Guide. Final paragraphs: implicit inverse-Hessian products and stored-pair limited-memory methods
The available Hessian matrix factorization also permits a matrix-free Hessian-vector product:It costs for dense data without forming . A suitable iterative, safeguarded Newton method can exploit this structure, so the conclusion rules out the dense implementation rather than every possible second-order algorithm.
These methods seek a local solution and require convergence checks appropriate to nonconvex optimization. The formula does not even ensure a finite minimizer exists: with one positive coefficient and nonzero , the positive exponential loss approaches zero along an unbounded direction without attaining it. Dimension alone cannot supply a convergence guarantee.
Articles by others on the same topic
There are currently no matching articles.