The matrix a constraint makes

A shift that certifies a saddle

On a constrained problem whose Hessian has four negative eigenvalues, a saddle-point matrix is quasi-definite only once H + δI is positive definite — past δ = 5.08 here. Its pivot signs then count the curvature of ZᵀHZ + δI rather than of ZᵀHZ, so a saddle with a negative curvature of −1 is certified a minimum from δ = 1.05 on, and every saddle shallower than δ goes the same way. Iterative refinement against the unregularised matrix keeps the second-order test the count gave up: it contracts on the minimum at δ/(μ + δ), 0.980 a step at δ = 5, and on the saddle it grows at exactly 1.25.

Worth reading first: The regularisation that legalises every order · The zero that is not a missing entry · An eigenvalue count that cannot be slightly wrong.

A minimum the Hessian cannot see found the second-order test for a constrained minimum inside one factorisation. A Hessian with four negative eigenvalues can sit at a constrained minimum, because the negative curvature points in directions the constraint forbids, and the signs of the pivots of the saddle-point matrix say so: ten positive and four negative means the reduced Hessian ZᵀHZ is positive definite, whatever H is, without a basis Z ever being formed. The essay ended on a question it could not answer from where it stood. Sparse codes perturb the two blocks of that matrix in opposite directions so that every ordering is legal, which changes the matrix whose signs are being counted. How far can that perturbation go before the count stops meaning what the test needs it to mean?

The perturbation that does the work found the answer’s first half without looking for it. On a positive definite H the whole of the quasi-definite guarantee is bought by the zero block’s perturbation γ, and the perturbation of H is almost free. On an indefinite H that stops being true. The theorem needs positive definiteness of H + δI, so δ has to pass the most negative eigenvalue of H, and on a Lagrangian’s Hessian that is not a small number.

At that δ the count certifies nothing about the problem that was posed. It certifies the problem with δ added to the curvature, and every saddle shallower than δ becomes a minimum. What survives the regularisation is not the count but the refinement run beside it, whose rate of convergence turns out to be the second-order test in another form.

The count of positive pivots after regularising by δ, on a minimum and on a saddleThe number of positive pivots in the natural-order factorisation of the saddle-point matrix with H + δI and −10⁻⁸I in its blocks, against δ from 0 to 7, for a constrained minimum (reduced curvatures 0.1 to 5) and a saddle on the same constraint (one reduced curvature −1). The minimum's true count is 10 and it is read correctly at every δ. The saddle's true count is 9; it is read correctly below δ = 1 and as 10, a minimum's, from δ = 1.05 on. The quasi-definite guarantee needs δ past −λmin(H): 4.67 for the minimum and 5.08 for the saddle.01234567910δ added to Hpositive pivots−λmin(H) = 4.67|μ| = 1minimumsaddlewhat the signs are countingminimum, true count10saddle, true count9saddle read as minimum from1.1guarantee needs δ past5.1the signs count ZᵀHZ + δInot the curvature the problem has
Fig. 1 The number of positive pivots in the factorisation of the saddle-point matrix with H + δI and −10⁻⁸I in its blocks, against δ, for a constrained minimum and for a saddle built on the same constraint. The minimum’s count is its true 10 at every δ. The saddle’s true count is 9, and it is read as 10 — a minimum’s — from δ = 1.05 on. The quasi-definite guarantee needs δ past 4.67 for the minimum’s Hessian and 5.08 for the saddle’s.

Two problems on one constraint

The construction is the saddle-point essay’s. The constraint matrix A has four rows and ten columns and a condition number of 10. H is built in an orthonormal basis split into the range of ATA^{\mathsf T} and the null space of A: in the range of ATA^{\mathsf T} it has four negative curvatures between −3 and 0, in the null space it has the reduced Hessian’s eigenvalues, and a random block couples the two.

For the minimum, the reduced Hessian’s eigenvalues are 0.1, 1, 2, 3, 4 and 5 — positive, so the point is a constrained minimum — and H has four negative eigenvalues, the most negative −4.67. For the saddle, one reduced eigenvalue is −1 instead of 1, so there is a feasible direction of descent, and the most negative eigenvalue of H is −5.08. The saddle-point matrix of the minimum has ten positive and four negative eigenvalues; the saddle’s has nine and five. Those are the counts the test is for.

Both matrices are unmistakably not quasi-definite at δ = 0. And the first finding is that, in floating point, that does not matter for whether they factorise.

300 random symmetric orderings of a saddle-point matrix whose Hessian is indefinite, and what each factorisation reproducesThe saddle-point matrix with H + δI and −γI on its diagonal and A and its transpose off it, with δ = 10⁻⁸ and γ = 10⁻⁸, on a Hessian with four negative eigenvalues. H + δI is not positive definite, so the matrix is not quasi-definite and no theorem promises a factorisation under every ordering; 300 of 300 orderings factorise here anyway, against 67.0 per cent with the zero block left at zero. Each bar counts the orderings whose factorisation left a relative residual ‖PKPᵀ − LDLᵀ‖/‖K‖ in that decade, with the tallest holding 84 of the 300. They span 3.19·10⁻¹⁶ to 0.00359 — 13 orders — and the growth factor across them runs from 3.04 to 1.131·10⁷.-18-15-12-9-6-300log₁₀ ‖PKPᵀ − LDLᵀ‖ / ‖K‖share of orderingsbestworstexistence and stabilityfactorise1unregularised0.67worst growth1.1·10⁷growth × γ0.11the ordering is free to chooseand not free of consequence
Fig. 2 Three hundred random orderings of the minimum’s saddle-point matrix with δ = γ = 10⁻⁸ — not quasi-definite, since H + δI has four negative eigenvalues. All 300 factorise anyway, against 67 per cent with the zero block at zero; the worst growth is 1.1·10⁷ and the worst residual 3.6·10⁻³.

With the zero block perturbed by 10⁻⁸ and H left indefinite, all three hundred orderings factorise. No theorem promises it, and the reason it happens is the one the perturbation that does the work found: an unpivoted factorisation fails on an exactly zero pivot, and it is the zero block that supplies exact zeros. Remove them and a matrix with generic entries meets a zero pivot with probability zero. What it meets instead are small ones, and the worst of three hundred grows by 1.1·10⁷ with a residual of 3.6·10⁻³. The guarantee δ would buy is a guarantee against coincidence, not against the orderings a sample finds, and its price is what the rest of this essay measures.

The count reads the shifted curvature

The saddle-point essay’s count rests on a theorem of Gould’s: the inertia of K is the inertia of the reduced Hessian plus m positive and m negative eigenvalues. Adding δ times the identity to H adds δ to every eigenvalue of ZᵀHZ, so the regularised matrix’s pivots count the inertia of ZᵀHZ + δI.

The hero figure is that sentence drawn. The minimum’s reduced curvatures are all positive, adding δ keeps them positive, and its count reads ten at every δ from 0 to 7. The saddle’s negative curvature is −1, and shifted by δ it sits at δ − 1 in ZᵀHZ + δI: negative below δ = 1, positive above. Its count reads nine at every δ up to 0.95 and ten from 1.05 on. From that point the factorisation reports the inertia of a minimum, on a problem with a direction of descent, and nothing in the factorisation’s residual, growth or pivots distinguishes it from the genuine minimum’s.

The δ the quasi-definite guarantee needs is past the most negative eigenvalue of H: 4.67 for the minimum and 5.08 for the saddle. At any such δ the count certifies every saddle whose negative reduced curvature is shallower than δ, which on this construction is every saddle it can build. The regularisation that makes the ordering free has made the second-order test into a test of a different problem.

That is not an accident of this construction but the arithmetic of where the negative curvature lives. A Lagrangian’s Hessian at a constrained minimum is indefinite precisely in the directions the constraint forbids, and those directions can have curvature of any size. The most negative eigenvalue of H — the number δ has to pass — is a fact about those forbidden directions. The negative curvature a saddle needs to be caught — the number δ must not pass — is a fact about the allowed ones. Nothing links the two, and on this construction the first is five times the second.

What an inertia-correcting loop does with the same count

Codes that minimise with a constraint already use this arithmetic on purpose. An inertia-correcting loop factorises K, reads the count, and if it is not n positive and m negative adds a multiple of the identity to H and factorises again, until it is. On the minimum the loop stops at δ = 0. On the saddle it stops at the first δ past 1, and the step it then computes is a step for a convexified problem, which is exactly what the loop exists to produce: a direction of descent from a point that is not a minimum.

The loop reads the count as a question — is this point a minimum? — and adds δ only when the answer is no. Quasi-definite regularisation adds δ before asking, for a different reason, and at a δ five times larger than any saddle here needs to hide. The two uses of one perturbation give opposite readings of the same pivot signs, and a code that does both has to keep the count from before the regularisation if it wants the test.

The regularised answer is not usable either. At δ = 5 the solve of the minimum’s regularised system in the natural order is wrong by 111 per cent: a perturbation of H by more than the size of H’s own eigenvalues moves the solution by more than the solution. Refinement is where the answer, and the test, come back.

Refinement contracts on the minimum

Refinement against K forms the residual with the unregularised matrix and solves the correction with the regularised factorisation. The perturbation that does the work found that on a positive definite H its error is multiplied each step by δ/(μ + δ), with μ the reduced Hessian’s smallest eigenvalue. On an indefinite H the same algebra holds eigenvalue by eigenvalue, and the factor is |δ/(μ + δ)| for every reduced curvature μ. When every μ is positive, every factor is below one, however large δ is.

Refinement against the unregularised matrix on the minimum, with H regularised by δ = 5The relative error after each step of iterative refinement on the minimum, the residual formed with K and the correction solved with the factorisation of the matrix with H + 5I, on a logarithmic axis. Its pivot signs report 10 positive against a true 10. The error falls by 0.9804 a step between steps 100 and 300; the largest |δ/(μ + δ)| over the reduced curvatures μ predicts 0.9804, drawn dashed. After 300 steps the error is 0.00214.05010015020025030010⁻³10⁻²10⁻¹1refinement steprelative errorthe minimum, δ = 5positive pivots10true count10measured rate0.98predicted rate0.98the count says minimumand refinement agrees
Fig. 3 Refinement on the minimum with H regularised by δ = 5, past nothing a saddle here needs. The count is right. The error falls by 0.9804 a step between steps 100 and 300; the slowest reduced curvature, 0.1, predicts 5/5.1 = 0.9804. After 300 steps the error is 2.1·10⁻³.

On the minimum at δ = 5 the error falls by 0.9804 a step, and 5/(0.1 + 5) is 0.9804. At δ = 2 it falls by 0.952, and 2/2.1 is 0.952. The rate is slow — three hundred steps take the error from 111 per cent to 0.2 per cent — because the slowest direction has curvature 0.1 against a shift of 5, and a refinement that removes a large regularisation is a proximal-point iteration taking small steps. It converges, at a rate set entirely by the smallest positive reduced curvature, and that rate is itself a statement that the smallest curvature is positive.

And diverges on the saddle

On the saddle the same algebra gives a factor of |δ/(δ − 1)| along the negative direction, which is above one for every δ past a half.

Refinement against the unregularised matrix on the saddle, with H regularised by δ = 5The relative error after each step of iterative refinement on the saddle, the residual formed with K and the correction solved with the factorisation of the matrix with H + 5I, on a logarithmic axis. Its pivot signs report 10 positive against a true 9. The error grows by 1.2500 a step between steps 50 and 90; the largest |δ/(μ + δ)| over the reduced curvatures μ predicts 1.2500, drawn dashed. After 90 steps the error is 1.36·10⁸.0102030405060708090110¹10²10³10⁴10⁵10⁶10⁷10⁸refinement steprelative errorthe saddle, δ = 5positive pivots10true count9measured rate1.3predicted rate1.3the count says minimumrefinement says otherwise
Fig. 4 Refinement on the saddle at the same δ = 5. The count reports ten positive pivots — a minimum. The error grows by 1.2500 a step between steps 50 and 90; the negative curvature −1 predicts 5/(5 − 1) = 1.25. After 90 steps the error is 1.4·10⁸.

At δ = 5 the saddle’s refinement error grows by 1.2500 a step, and 5/(5 − 1) is 1.25. At δ = 2 it grows by 2.000, which is 2/(2 − 1). The factorisation behind both runs reports a minimum. The refinement run beside it reports a direction along which the regularised solve overshoots the true one by a growing factor, and that direction exists because ZᵀHZ has a negative eigenvalue.

So the second-order test has moved from the pivots to the iteration. The count was an integer read once and blinded by δ. The refinement rate is a real number read over steps, and δ shifts it without hiding its sign: below one when every reduced curvature is positive, above one when one is negative and δ has passed half its size.

The band where refinement warns before the count goes wrong

Between δ = |μ|/2 and δ = |μ| the two readings disagree in the other direction: the count is still right and refinement is already diverging.

Refinement against the unregularised matrix on the saddle, with H regularised by δ = 0.45The relative error after each step of iterative refinement on the saddle, the residual formed with K and the correction solved with the factorisation of the matrix with H + 0.45I, on a logarithmic axis. Its pivot signs report 9 positive against a true 9. The error falls by 0.8182 a step between steps 20 and 60; the largest |δ/(μ + δ)| over the reduced curvatures μ predicts 0.8182, drawn dashed. After 60 steps the error is 6.22·10⁻⁶.010203040506010⁻⁵10⁻⁴10⁻³10⁻²10⁻¹1refinement steprelative errorthe saddle, δ = 0.45positive pivots9true count9measured rate0.82predicted rate0.82the count says minimumrefinement says otherwise
Fig. 5 Refinement on the saddle at δ = 0.45, below half its curvature. The count is right, nine positive pivots. The error falls by 0.8182 a step, which is |0.45/(0.45 − 1)|, and after 60 steps it is 6.2·10⁻⁶.

At δ = 0.45 the factor along the saddle’s direction is |0.45/(0.45 − 1)| = 0.818, and the refinement error falls by exactly that, to 6.2·10⁻⁶ in sixty steps, with the count reading nine. At δ = 0.55 the factor is 1.22: the count still reads nine and the refinement error has grown to 4.3·10⁴ after sixty steps. At δ = 0.75 it is 3, and the error is 2.6·10²⁸. At δ = 1.05 the count flips to ten and the factor is 21.

The band is not a curiosity. An inertia-correcting loop that overshoots the curvature it is correcting by less than a factor of two lands in it: its count is right, and a refinement run to recover the unregularised step diverges. Reading the two together says more than either: a divergent refinement with a correct count means a saddle whose curvature lies between δ and 2δ, and a divergent refinement with a count reading minimum means one shallower than δ.

Every saddle diverges, and the shallow ones slowly

The remaining question is how reliable a warning that arrives as a rate can be, and it depends on how deep the saddle is.

How fast refinement gives a saddle away, at δ = 7, over saddles of every depthFor saddles whose one negative reduced curvature μ runs from −0.01 to −4.5, all built on one constraint and regularised by δ = 7, past −λmin(H) for every one: the per-step growth of the refinement error minus one, measured between steps 200 and 400, against |μ| on logarithmic axes, with |μ|/(δ − |μ|) drawn as the curve. The pivot signs report a minimum at every depth. At μ = −0.01 the error grows by 1.0014 a step and takes 485 steps to double; at μ = −4.5 it grows by 2.800. On the minimum at the same δ it contracts by 0.9859.10⁻²10⁻¹110⁻³10⁻²10⁻¹1depth of the saddle, |μ|growth per refinement step, minus oneδ = 7count at every depth10true count9steps to double, |μ| = 0.01485minimum's rate0.99every saddle is read as a minimumand every one diverges, the shallow ones slowly
Fig. 6 Saddles whose negative reduced curvature runs from −0.01 to −4.5, all regularised by δ = 7, which is past the most negative eigenvalue of H for every one. The count reports a minimum at every depth. The dots are the measured growth of the refinement error per step, minus one; the curve is |μ|/(δ − |μ|). At −0.01 the error grows by 1.0014 a step and takes 485 steps to double; at −4.5 by 2.8. On the minimum at δ = 7 it contracts by 0.9859.

At δ = 7 every one of the seven saddles is certified a minimum, and every one diverges under refinement at |μ|/(7 − |μ|) above one: 1.0014 a step at μ = −0.01, 1.014 at −0.1, 1.17 at −1, 1.75 at −3 and 2.8 at −4.5, each measured between steps 200 and 400 and matching its prediction to three places. The deep saddles give themselves away in a handful of steps. The shallowest takes 485 steps for its error to double, while the minimum at the same δ contracts by 0.9859 a step — and at those rates, over the first hundred steps, the two histories look alike.

That is the honest limit of the test. A saddle whose negative curvature is a hundredth of the regularisation is detected only by a refinement run long enough to see a growth rate of 1.0014 separate from a contraction of 0.986, and that is hundreds of steps of a solve that was supposed to be a correction. The count, for all its blindness, was one factorisation. What the regularisation has done is convert a sign read once into a rate read over time, and the rate’s resolution is worst exactly where the curvature is smallest — which is where a minimum the Hessian cannot see found the count’s own floating-point blind band as well.

What the regularisation changes about the second-order test

Set beside the unregularised count, the quasi-definite regularisation of an indefinite problem changes three things.

The count answers a shifted question. Its pivots count ZᵀHZ + δI, and the δ the guarantee needs is set by the most negative eigenvalue of H, which is a fact about forbidden directions. A saddle is hidden whenever its allowed negative curvature is shallower than that, and nothing prevents that being every saddle.

The guarantee was not what made the orderings legal. With γ = 10⁻⁸ and δ = 0 every one of three hundred orderings factorised. The guarantee protects against an exactly zero pivot arising by coincidence, and it costs the test.

The test survives as a rate. Refinement against K contracts at δ/(μ + δ) on every positive curvature and grows at |δ/(μ + δ)| on a negative one once δ is past half of it, measured to three and four figures here. It is slower and less decisive than a count, and it is still a test.

Two readings of one shift

The count and the refinement rate look like two different tests. They are two functions of the same shifted curvatures, and that is why they disagree exactly where they do and why, between them, they miss nothing.

The count reads the sign of μ + δ for each reduced curvature μ. An eigenvalue count that cannot be slightly wrong made the case for reading signs: an integer from a factorisation is right or wrong, never nearly right. Shifting every curvature by δ keeps the integer exact and changes the question it answers, and nothing about its exactness warns that the question has changed. It is wrong for every saddle whose curvature lies between −δ and 0.

The refinement rate reads |δ/(μ + δ)|, which exceeds one for every curvature between −2δ and 0. So it catches every saddle the count misses, and more: it also diverges for curvatures between −2δ and −δ, where the count is still right, which is the band measured above. Below −2δ it converges, and there the count is right. The two cover the line between them. What neither covers well is a curvature close to zero, and there the problem is not the sign but the resolution: the rate is 1 + |μ|/δ, and for a saddle a hundred times shallower than the shift that is a number a run has to watch for hundreds of steps to tell from one.

The regularisation that legalises every order read refinement as a repair. It found refinement removing the perturbation until δ reached the matrix’s smallest singular value, and called the limit a cliff. On an indefinite problem the cliff is no longer a limit on how much regularisation can be taken back. It is the second-order test, and falling off it is the result.

That reading has a relative in the accuracy that is thrown away, where an outer loop decides what an inner solve’s accuracy is worth; here refinement’s history decides what the regularisation cost. It also names the way to lose the test. A run stopped after the few steps a residual test allows once the correction looks small — the kind of test a stopping test is a race describes — reads the rate over too few steps to see a growth of 1.0014, and returns the regularised answer with the count’s blindness intact.

None of this touches the count taken before δ is added. On the unregularised matrix the signs are the second-order test exactly, as the zero that is not a missing entry and its successors established, and the pivoting that factorises that matrix stably with no perturbation is the one when symmetry is not enough describes. The blindness belongs to what was added. A code that wants both the free ordering and the test can count once, on a factorisation it does not reuse, and regularise after.

What was not measured

Two problems, one constraint, one coupling between the range and null-space blocks. The most negative eigenvalue of H depends on that coupling as well as on the range-space curvatures, and a problem whose Hessian is indefinite only in the null space — where every negative eigenvalue of H is a saddle’s — would make the guarantee’s δ and the saddle’s curvature the same number. Refinement here runs in the natural order with γ = 10⁻⁸; in a poor ordering the factorisation’s own residual adds an error refinement also has to remove, and whether that masks the rate on a shallow saddle is not measured.

The refinement rate is read off the error, which needs the true solution. A code has the residual, and the residual’s rate is the same product seen through K; how cleanly the residual’s history shows a growth of 1.0014 against a contraction of 0.986 is what a practical test would have to establish.

Still open: can the rate be read from the residual, and how small a regularisation keeps the count?

The residual’s rate. The error was the quantity measured here because it was available. The residual history of the same refinement runs is what a solver sees, and whether a least-squares fit of its logarithm over a few dozen steps separates a shallow saddle from a minimum at the resolution the curvature sweep needs is the direct continuation.

A δ that keeps the count. The count is right for every δ below the shallowest negative curvature a problem has, and the orderings factorise with γ alone. A regularisation that takes δ = 0 and relies on γ gives up the guarantee and keeps the test; the measurement is how often, over orderings a fill-reducing heuristic actually produces, a pivot small enough to matter appears when H is indefinite.

Negative curvature confined to the null space. On a construction whose Hessian is negative only in allowed directions, the guarantee’s δ and the saddle’s depth coincide, and the count flips exactly where quasi-definiteness begins. Whether real Lagrangians look more like that construction or like this one is a question about optimisation problems rather than about matrices, and it decides how much of this essay a practitioner meets.

What links here

Computed from the collection, not written here: the essays that point at this one.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A flat tag is an object no other essay names yet.

CertificateConstrained minimisationIndefinite matrixInertiaIterative refinementLDLᵀ factorisationQuasi-definite matrixReduced hessianSaddle-point systems