The thread: Claims that can fail — page 9
Unique, and not determined
Kruskal's condition says a CP decomposition is unique, and it says it as a yes or a no. Turn two columns of one factor of a 4 × 4 × 4 rank-three tensor toward each other and the condition keeps saying yes at every angle above zero, by one to spare. What it does not say is how well the unique decomposition is determined. The Jacobian of the map from factors to tensor loses its smallest singular value in proportion to the angle, and the true decomposition of a tensor perturbed by one part in 10⁸ moves by 1.6 parts at θ = 0.1 and by 200 at θ = 10⁻³. Alternating least squares, started at the exact answer, finds the moved decomposition while the angle is large, slows by ten times or more on the way to θ = 0.1, and below θ = 0.03 never arrives: at θ = 10⁻³ its own stopping test fires after 11 to 65 sweeps with its terms 200 to 420 perturbations from the answer and its residual within a per cent of the answer's.
Neither sparse nor denseEach halving reads its own width
A hierarchical matrix's cheapest leaf is found by halving it while the blocks the halving creates have rank below a quarter of the leaf. The proposal was to probe only the near blocks of one compression at a leaf of 8, predicted to do at least as well as the whole compression. It does worse: twelve cells of fifteen against thirteen, every miss naming 16 where 32 is cheapest, because the decision between 32 and 16 turns on whether a block reaches rank 8 and an 8-wide block cannot exceed it. Read each halving off the blocks of its own width instead and the probe names the cheapest leaf on all fifteen oscillatory cells and all thirty cells of six kernels, beating even the rule with every leaf compressed, from eighteen small blocks at under one per cent of the work of the compression it replaces.
The matrix a constraint makesA tolerance is not an accuracy
A fixed perturbed block predicted what an inexact inner solve would do to a triangularly preconditioned saddle-point system: a two-step residual growing like the inner tolerance, a constant a few times the model's, and a step rule exact to one step on nine runs in ten. A real inner iteration under flexible GMRES delivers something else. Conjugate gradients stopped at a residual tolerance hands back errors ten to a billion times smaller than it was asked for, the outer residual follows that error with a slope near one and a constant ten to a hundred times the model's, the rule counts four runs in five — and the real solve still costs no more outer steps, while loosening it never once saved inner work.
Eigenvalues, singular values, rankA problem with no answer
If two matrices share a null vector then det(A − λB) is identically zero and every λ is an eigenvalue, which means none of them is. Perturb such a pencil by a ten-billionth and a solver returns six numbers with residuals below 10⁻⁹. Change the seed and it returns six different numbers, spread over forty-four, with residuals just as small.
Iterating, instead of factorisingThe zero that means it is finished
Every Krylov method ends by dividing by a number the previous step produced, and when that number is zero the recurrence stops. In Arnoldi the stop is the answer — the subspace has closed, the solution is inside it, and the residual is at the unit roundoff. The literature calls it a lucky breakdown, and the adjective is doing real work.
Randomised, and the guarantee that changes kindA drift put back at the table's price
A trace estimator that carries its spread from the trace before loses one step of drift, and the drift is visible in the spreads themselves, so the repair proposed was to multiply the carried spread by the ratio of the last two. Over 400 drifting sequences it works: averaged over the third to sixteenth traces it covers 67.8 to 68.9 per cent at one standard error at every drift, where the plain carry falls to 65.4 and the table says 68.3. It costs what the table says closing that gap costs — 10.5 per cent more products at the fastest drift against a price of 11.9 — so at that drift it spends more than a fresh pilot every trace. Its factor is noisy, scattering the spread it uses two and a half times as widely as the plain carry does, and on a sequence that does not drift that noise costs nothing at all. And the single-trace comparison the proposal named turned out to be smaller than its own draw noise.
Two errors, and whose fault they areA basis that has to know where the roots are
Wilkinson's polynomial loses its roots in the third figure at degree twenty when they are computed from its monomial coefficients, and the repair offered was to change the basis: in Chebyshev coefficients, with the colleague matrix, the conditioning 'does not degrade exponentially with degree'. Expanded exactly in that basis and rounded once, the integers' roots come back ten orders better at degree twenty — 4.4·10⁻¹³ against 7.6·10⁻³ — and still degrade exponentially, at a third of a decade a degree, to 2.8·10⁻⁴ at forty. Place the same number of roots at the interval's Chebyshev points instead and they stay at 10⁻¹⁴ at every degree, while the monomial route loses them as fast as the integers. The basis does not repair the problem; it has to match where the roots are.
The matrix that is a graphNo subtraction, and no waiting
The power iteration keeps a positive vector's small entries correct because it never subtracts, and it pays for that in steps. On a Markov chain made of two clusters joined by a coupling ε it needs about 7/ε of them — 6,900 at ε = 10⁻³, 69,000 at 10⁻⁴ — and then stalls at a fixed point of its own rounded arithmetic about u/(4ε) from the answer; at ε = 10⁻⁶ it is still 45 per cent wrong after 200,000. Gaussian elimination needs no waiting and subtracts: on the same chains its error grows like 1/ε, and on a chain whose entries fall to 10⁻¹⁸⁴ it returns the small ones as noise, eight of them negative. The Grassmann–Taksar–Heyman elimination does neither. Every entry of every chain comes back to a relative 10⁻¹⁵, in a third of n³ operations, because the stationary vector is well conditioned under the perturbations it makes.
The answer that depends on the machineA floor the error has not reached
The residual a reduced-precision conjugate-gradient run stops on, recomputed in double, has a floor, and the floor can be predicted: on sixty runs of three problems it sits within a factor of 3.3 of a constant times u·‖|A||x|‖/‖b‖. The prediction was that the unit roundoff and the grid would be enough. They are not — adding the grid's size or κ(A) makes the prediction worse than u alone — and the quantity that works reads the solution. Nor is the floor a signal to stop. When the residual first comes within four times its own floor, the error is still a median 4.6 to 12.6 times its least, and on the slowest problem the least error arrives a median 76 steps later. A clause that stops there stops some run of every problem at three times its least error or more. What the floor can do is tell a run when to start checking often: switching to five-step checks within four times it keeps the error within a tenth of its least on both Laplacian problems and cuts the rate-set clause's overrun from 1,661 steps to 198.
Orthogonality, measuredLong loops pay before the factor starts
The least-resistance spanning tree makes a network's loop equations well conditioned and its loops long, and the question left was what a direct solver pays for the length, and whether a tree reading the resistances only coarsely buys the conditioning back for less. Counted symbolically under minimum-degree ordering, the least tree's factor costs a median 1.2 to 2.0 times the breadth-first tree's on grids of 4 to 12 points a side, and the loop formulation goes from cheaper than the node equations at 4 × 4 to 3.8 times dearer at 12 × 12, for a conditioning two to three orders better. The price is paid in the loop matrix itself: on every network measured its factor fills in fewer entries than the breadth-first tree's. And no tree between them is a bargain. Kruskal on resistances rounded into bands pays nearly all the extra work until one band holds three quarters of the spread, and by then the conditioning has gone too.
The eigenvalue problem that is not linearA guarantee paid for in digits
A hyperbolic quadratic has a real spectrum, but the route that computed it so far, a companion linearisation and a nonsymmetric Schur form, only happens to return one. The theory offers a route on which it cannot do otherwise: a symmetric linearisation that is a definite pencil, reduced by a Cholesky to a symmetric eigenproblem. Near the class's boundary that guarantee is the expensive route. On a damped chain at damping β*(1 + ε) the definite pencil's Crawford number — what its Cholesky divides by — vanishes like 0.228ε, every combination of the pencil shrinking with it, while the colliding pair the companion route has to resolve separates like 0.98√ε. At ε = 10⁻¹² the definite route keeps two or three digits and the companion route eight or nine. And on twenty rotated chains the companion route returns no complex pair at any margin from 10⁻⁴ to 10⁻¹², only on the boundary itself.
Regularisation, and the answer that is chosenFour folds feed one rule
GCV's guard failed when told a noise level estimated from one held-out quarter of the samples, and the proposal was four folds: hold out each quarter in turn, so the estimate rests on every sample. The prediction was that the guard would then refuse about as many dips as it does told the true noise, three of 45, and that the discrepancy principle's worst draw would fall below four. The second half holds and then some: the four-fold estimate is never below the true noise on any of 960 draws, and the discrepancy principle told it never misses by more than 1.19 times the oracle — the same as told the truth. The first half fails. The guard refuses no dips at the 1% threshold and 44 of 45 at 10%, along with 520 real minima, because the ratio it reads moves against the true one: at the real minima the guard's ρ̂ is confined between 0.38 and 1.01 and anti-correlated with the ρ̂ the true noise gives. The one held-out quarter was anti-correlated the same way.
Elimination, and the swapA doubling that arrives two steps late
A pivot rule that looks one elimination ahead chooses Wilkinson's growth row for row, because the doubling it sets up arrives one step later; looking two ahead escapes it. The argument said a matrix whose damage arrives two steps late would defeat the two-step rule the same way. It exists, and it is two Wilkinson matrices interleaved: W ⊗ I₂. Every look-ahead of depth one or two reproduces the greedy rule's growth on it exactly, 4 to 64 from n = 6 to 14, and depth three gives 2. Three copies defeat depth three and yield to four. The growth each depth is held to is 2^(n/d − 1): a fixed depth stretches the exponential and never removes it, at a cost that rises by a factor of about n for every step it looks.
Least squares, and the road not to takeA unit is a statement about the noise
Total least squares minimises one Frobenius norm over every column of [A b], so the unit a column is written in is a claim about how noisy it is. On a 60-row fit with two measured regressors, rewriting one column in units from 10⁻⁴ to 10⁴ times the recorded ones leaves ordinary least squares exactly where it was and moves total least squares by half again, continuously, between two estimators with their own names: the reverse regression of that column on the others, and the fit that treats it as exact. Its correction is split among the columns as the squares of the coefficients, which the units set and the noise never enters. Dividing each column by its noise level makes every unit give one answer, the best of five estimators on all three placements of the noise tried, and two replicate readings a column are enough to get most of the way there when the recorded units were badly wrong.
Neither sparse nor denseA class is no longer one matrix
On a uniform grid every off-diagonal block of one width and one offset is the same matrix, so a probe that compresses one block of each class reads the whole partition's ranks and names a hierarchical matrix's cheapest leaf. On scattered points that stops being true, and the prediction was that the ranks inside a class would spread by at most one, that three blocks a class would still name the leaf everywhere, and that the probe would fail first at the highest frequency. The ranks spread by up to four. Three blocks a class still name the cheapest leaf on all thirty cells of two draws — so does one — and nothing fails at the highest frequency. The decision survives because no mean the rule compares sits close to its threshold, and scattering moved no cheapest leaf at all.
Reduction, and what a model is forA pole between the samples
A Loewner model needs a check on its error, and the one predicted to be cheap is four points chosen where the model disagrees most with the model one order higher. With exact samples it is better than predicted: on four systems the true error at those four points is the model's error within two per cent at every order, and the disagreement alone, with no sample at all, within three per cent at every order but the last. With noisy samples the checks keep working on every model that has no pole between the samples, and seventeen of thirty-two models do. Past the order the noise allows, the projection puts a real pole inside the sampled interval, so the error is infinite at one point and small a few per cent of a gap away, and every finite set of checks reports a number between 130 and 49,000 times too small. The test that catches every such model costs nothing: the model's own poles.
Where the flop count stopped predicting the timeCount the upper half, read the lower
Moving a contour's centre off the real axis was predicted never to pay for a count closed under conjugation: one member of each pair comes closer, the other goes away, and the slower one always gets slower. For one circle the prediction holds at every offset measured, from 52 points on the axis to 567 three units above it. But one circle is not the only way to count a set like that. On the delay problem, the four real eigenvalues on a circle of their own and each band's upper cluster on a small circle of its own cost 55 points against 52 for one band, 68 against 97 for two, and 115 against 275 for six. What pays is the mirror: for a problem with real coefficients the count about the conjugate centre is the conjugate of the count already made, equal to 1.6·10⁻¹⁵, so the lower half of the plane costs nothing.
When the index is a tupleThe iteration pays the square
A rank-three tensor whose third factor has two columns at an angle θ is unique by Kruskal's condition at every angle above zero, and its decomposition moves by about 1/θ perturbations when the tensor is perturbed. Alternating least squares was predicted to need sweeps growing like 1/θ² to follow it — between twenty and a hundred thousand at θ = 0.01. It does: each sweep closes a fraction between 0.49θ² and 1.3θ² of the remaining distance, and at θ = 0.01 the three tensors need 35,720, 73,020 and 40,640 sweeps, twelve to twenty-four times the cap the earlier measurement used. The count is the logarithm of the starting distance over that fraction, to within fifteen per cent, so the angle sets both. And the iteration's own stopping test fires first: at θ = 0.01 its residual stops changing at 14,227 to 26,859 sweeps, with the factors still three to nine perturbations from the decomposition.
The matrix a constraint makesThe multipliers were a set
A crossover that solves the equality problem an interior-point iterate's diagonal suggests, then certifies the answer, refuses a guess with more active rows than unknowns — which a degenerate vertex produces as a matter of course. The two remedies a simplex code and a regularised solver would reach for, choosing a basis or regularising the extra rows, both return the right point from the first or second iterate, and both fail the certificate on most programmes, at almost every iterate. The point is never what fails. The certificate checks the one multiplier vector a solve happens to return, and at a degenerate vertex the multipliers are a set; asking whether the set holds a nonnegative vector certifies the same point at once.
Iterating, instead of factorisingThe same zero, and nothing was found
Change the recurrence by two lines and the divisor stops being a norm. It becomes an inner product of two vectors from two different sequences, and an inner product of two different vectors is zero on a whole hyperplane — with neither vector anywhere near zero, nothing invariant, and nothing converged. The arithmetic event is identical and the meaning is opposite.
Elimination, and the swapThe doubling is in the row already
Interleave d copies of Wilkinson's matrix and every pivot rule that looks up to d eliminations ahead walks into growth 2^(n/d − 1); escaping costs a look one step deeper, and a deeper look multiplies its trial eliminations. Rook pivoting looks no further than the present step and escapes every one of them — growth exactly 2 at every deferral and every size — for 3.2 times partial pivoting's comparisons whatever the deferral. The doubling a look-ahead hunts for in the future is already visible in the row in front of it. And the leak that was supposed to let the two-step rule escape was placed where no pivot is ever chosen: at every size up to one, it changes nothing.
Least squares, and the road not to takeThe weights the fit chooses for itself
Total least squares needs each column's noise level, and the tempting shortcut is to read it off the fit: weight, fit, take each column's correction as its noise, reweight, repeat. The prediction was that this converges, to weights that depend on where it starts. It does not converge at all. Each step multiplies every weight by its own column's share of the smallest singular vector, the one self-consistent weighting is unstable — a departure from it doubles every step — and every run leaves for the edge in two to seven steps, landing on the reverse regression or on ordinary least squares by which side it started. The self-consistent weights are nearly the same whatever the noise is: they describe the fit's geometry, and only replicate readings describe the noise.
Orthogonality, measuredThe budget cannot finish the tree
The least-resistance spanning tree makes a network's loop equations well conditioned and its loops long, and the long loops cost a direct solver up to twice the breadth-first tree's factor work. A tree that refused any arc whose loop would run past a budget — 24 arcs, twice the breadth-first tree's longest — was predicted to keep the conditioning within twice the least tree's and save a third of the extra work. It keeps the conditioning and saves nothing. Every budget that binds leaves parts of the network it cannot join, the arcs it refused are needed to finish the tree, and they close loops as long as the least tree's. Half the least tree's loops are already as short as the property behind its conditioning allows; the slack is in the other half, and a greedy budget cannot reach it.
The eigenvalue problem that is not linearReal or complex by the sign of an error
A hyperbolic quadratic has only real eigenvalues, and an unstructured solver that knows nothing of the class returned a complex pair for one only at the boundary. The prediction was that the first complex pair would appear at a margin between 10⁻¹⁶ and 10⁻¹⁴ above the boundary, where the colliding pair's separation shrinks to the solver's own perturbation of it, and never at 10⁻¹³ or above. Both hold. Below 10⁻¹⁵ the solver returns a complex pair on almost exactly half of a hundred rotated chains — the same at the boundary itself — because its error in the pair's squared separation has the same size at every margin and either sign, and that one distribution, read at the boundary, predicts the whole curve. The structured route that guarantees a real answer loses every digit first.
Randomised, and the guarantee that changes kindPromotion buys rank, not safety
A range finder that grows its basis from cheap sparse probes and certifies it with dense ones was made safe on a coherent matrix by promoting a refusing dense probe into the basis — ten promotions for ten coherent directions, none for none. On matrices mixed between the two, the promotions fade as predicted: ten at the coherent end, nine at a mixture angle of 0.1, none from 0.8. But the danger they guard against does not fade with them. It is gone at an angle of 0.05, where the rule that never promotes already certifies every draw correctly. What promotion buys there is rank — a basis of 30 columns instead of 38 — for four fifths more probe work, and the threshold that decides it is a price, not a safety margin.
Regularisation, and the answer that is chosenThe excess is what the fit spent
A noise level estimated by four-fold cross-validation was never below the true noise, and its upward bias was put down to each fit training on three quarters of the samples. More folds should then shrink it, and leave-one-out, the limit, was predicted to bring the median under 1.1 times the noise everywhere. It does not: at 1.25 samples per unknown leave-one-out reads 1.27 to 1.52, within four per cent of four folds on every cell, because the bias was never the folds'. It is the degrees of freedom the fit spends — the median matches the square root of m over m minus the hat matrix's trace to within five per cent on all twelve cells. Taking that share out gives an estimate within 1.08 of the noise that is below it on 344 of 960 draws, and the discrepancy principle told it does exactly as well as told the truth.
The answer that depends on the machineA later look is a worse stop
Every stopping test for reduced-precision conjugate gradients had read the residual, and the residual flattens tens of steps before the error stops falling. The method carries a cheap lower bound on its own energy error — the sum of each step's step length times its squared residual over a window of steps that follow — and a clause that stops when that bound falls below the working precision's share of the iterate stops twenty runs on the scaled Laplacian within 1.22 times their least error, a third of the residual clause's overrun. The prediction that it would stop within thirty steps of the least on the median run misses by three. And the window turns out to be a pure delay: in reduced precision the error creeps back up after its least, so the longer the window waits, the worse the stop.
Where the flop count stopped predicting the timeThe prefix sits further down
A beam over contraction orders cuts twice at every level — once among the pairings out of each partial order, ranked by the size of their result, and once among the partial orders that survive, ranked by their cost so far — and one tolerance had been widening both. Measured separately, the exhaustive order's pairing is the size ranking's first choice on 34 of 60 seven-tensor networks; its prefix sits a median factor of 2.3 above the cheapest prefix on offer, and needs more room than its pairing on 49. So the width belongs at the order cut, as predicted. What was not predicted is the other half: widening the pairing cut alone is worse than not widening at all, because it hands the cost-so-far ranking more chances to choose a cheap-first prefix.