Structure, and the solver that cannot see it

The slopes were in the symbols

A separable BTTB kernel with a small isotropic part ε, preconditioned by the separable part's symbol circulant alone, has sixty-four eigenvalues at one that spread as ε grows — 13 times ε wide and shifted 7.7 times ε — while the mixture's own symbol spreads them only 1.7 times ε. Both slopes were predicted to follow, to five per cent, from first-order perturbation of that sixty-four-dimensional eigenspace: the shift as the mean of the perturbation's eigenvalues on it, the width as their spread. The widths come out at 13.372 and 1.732, matching the measurements to four digits. The shift does not come out as the mean, which is 5.77; it comes out as the midpoint of the extremes, 7.671, because that is what the measurement reads. And the decomposition says what the cheap preconditioner costs: the circulant part of the isotropic correction, which the separable symbol leaves in, carries ninety-nine per cent of its width. What looked like first order failing at a hundredth was the tread's centre moving, not its eigenvalues.

Worth reading first: A limit the matrix never reaches · A preconditioner that changes sign.

The part a circulant can cancel compared two preconditioners for a kernel that is almost separable. The matrix is the BTTB matrix of (1−ε)ρ∣k1∣+∣k2∣+ερk12+k22(1-\varepsilon)\rho^{|k_1|+|k_2|} + \varepsilon\rho^{\sqrt{k_1^2+k_2^2}} on a square grid: a separable kernel, whose symbol circulant turns its spectrum into a staircase of six treads, and a small isotropic part ε\varepsilon that breaks the separability. The mixture’s own symbol circulant was compared with the separable part’s alone — the cheaper one, which keeps the Kronecker structure. On conjugate-gradient counts the two agreed to ε=10−3\varepsilon = 10^{-3}, and the spectrum said why they then parted: under the separable symbol the tread at one, sixty-four of the hundred eigenvalues on the 10×1010 \times 10 grid, widens as 13ε13\varepsilon and shifts as 7.7ε7.7\varepsilon, while under the mixture’s symbol it widens as 1.7ε1.7\varepsilon.

Its closing section asked for those slopes from the symbols rather than from the spectrum. “First-order perturbation of the separable operator’s sixty-four-dimensional eigenspace at one by Cs−1EC_s^{-1}E gives both: the shift as the mean of that block’s eigenvalues and the width as their spread. The prediction with a sign is that both computed slopes match the measured ones to within five per cent, and that the same computation with EE minus its circulant gives the mixture’s 1.7.”

The widths match to four digits. The shift matches too, but not as the mean.

Sixty-four eigenvalues at one, perturbed

The computation is the textbook one. Precondition symmetrically: S(ε)=C−1/2T(ε)C−1/2S(\varepsilon) = C^{-1/2}T(\varepsilon)C^{-1/2}, with T(ε)=Ts+εET(\varepsilon) = T_s + \varepsilon E, E=Tiso−TsE = T_{\mathrm{iso}} - T_s the BTTB matrix of the isotropic kernel minus the separable one, and CC the separable part’s symbol circulant. At ε=0\varepsilon = 0 the matrix S0S_0 has an eigenvalue one of multiplicity sixty-four, with an orthonormal basis UU of its eigenspace. To first order in ε\varepsilon those sixty-four eigenvalues move to 1+εμk1 + \varepsilon\mu_k, where the μk\mu_k are the eigenvalues of the 64×6464 \times 64 compression UTC−1/2EC−1/2UU^{\mathsf T}C^{-1/2}EC^{-1/2}U. For the mixture’s own symbol the preconditioner moves with ε\varepsilon too, C(ε)=C+εCEC(\varepsilon) = C + \varepsilon C_E with CEC_E the circulant of EE’s symbol, and the compression is of C−1/2(E−CE)C−1/2C^{-1/2}(E - C_E)C^{-1/2} — the prediction’s “EE minus its circulant”.

The width of the tread of sixty-four eigenvalues at one, divided by ε, as the mixture's isotropic share ε grows, under the separable part's symbol circulant and under the mixture's own, with the widths first-order perturbation givesSeparable symbol: 13.372 at 0.000001, 13.371 at 0.00001, 13.362 at 0.0001, 13.270 at 0.001, 12.414 at 0.01, 10.857 at 0.03, 7.263 at 0.1; first order 13.372. Mixture's symbol: 1.732 at 0.000001, 1.732 at 0.00001, 1.732 at 0.0001, 1.724 at 0.001, 1.656 at 0.01, 1.525 at 0.03, 1.202 at 0.1; first order 1.732.10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹110¹isotropic share εtread width over εseparable, 13.37mixture, 1.73dashed: first order · dots: measured, 10 × 10four digits from the symbols
Fig. 1 The tread’s width divided by ε\varepsilon, against ε\varepsilon, under the separable symbol (red) and the mixture’s (blue); the dashed lines are the widths first order gives, μmax⁡−μmin⁡\mu_{\max} - \mu_{\min}.

The first-order widths are 13.372 for the separable symbol and 1.732 for the mixture’s. The measured widths over ε\varepsilon at ε=10−6\varepsilon = 10^{-6} are 13.372 and 1.732. They agree to a part in ten thousand, and at 10−510^{-5} and 10−410^{-4} the measured values are 13.371 and 13.362: the prediction’s five per cent was generous by three orders of magnitude. The width of the crowded tread is a first-order quantity, and the first-order quantity is computable from the two symbols and the eigenspace without running anything.

A shift that is the midpoint

The prediction said the shift would be the mean of the sixty-four μk\mu_k.

The shift of the unit tread's midpoint, divided by ε, under the separable part's symbol, against ε, with the first-order block's midpoint and its meanMeasured: 7.671 at 0.000001, 7.671 at 0.00001, 7.671 at 0.0001, 7.671 at 0.001, 7.671 at 0.01, 7.671 at 0.03, 7.287 at 0.1. First order: midpoint of the extremes 7.671, mean of the sixty-four 5.770.10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹456789isotropic share εshift over εmidpoint, 7.67mean, 5.77separable symbol, 10 × 10the midpoint, not the mean
Fig. 2 The shift of the tread’s centre divided by ε\varepsilon under the separable symbol, against ε\varepsilon, with the midpoint of the extreme first-order slopes (dashed) and their mean (dotted).

The mean is 5.770. The measured shift is 7.671 at every ε\varepsilon from 10−610^{-6} to 0.030.03, and 7.29 at 0.1. The two are not close; the measured one is a third larger. But 7.671 is exactly (μmin⁡+μmax⁡)/2=(0.985+14.357)/2(\mu_{\min} + \mu_{\max})/2 = (0.985 + 14.357)/2, to a part in ten thousand, and that is because of how the earlier essays measured a tread: its centre as the midpoint of its lowest and highest eigenvalue, its width as their difference over that centre. A tread’s midpoint moves with its two ends, and first order gives the ends. The prediction named the right object and the wrong statistic of it.

The difference between the two statistics is not a technicality. It says the sixty-four slopes are not symmetric about their midpoint: the mean sits a quarter below it, so more of the eigenvalues lie in the lower half of the spread than the upper. The question it bears on is the one the earlier essay asked next — whether a scalar correction on the eigenspace, dividing by the tread’s mean, would bring the cheap preconditioner level with the expensive one. A scalar correction moves every eigenvalue in the tread by the same factor; it can put the midpoint, or the mean, back at one, and it cannot change the spread. First order puts the spread at 13.37ε13.37\varepsilon and the shift at 7.67ε7.67\varepsilon. The error is mostly spread, and conjugate gradients pays for spread.

It pays for spread relative to the cluster’s own size, and that is the decisive point. The steps conjugate gradients spends resolving a cluster depend on the ratio of the cluster’s width to its distance from zero, because its polynomial has to be small across the cluster while equal to one at zero. Dividing every eigenvalue in the cluster by the same number leaves that ratio exactly where it was. A scalar correction on the eigenspace therefore changes where the tread sits, which matters only for how it lines up with the other five, and changes nothing about what it costs to resolve. First order says the separable symbol’s tread has a relative spread of 13.37ε13.37\varepsilon whatever is done to its centre; only a correction that acts differently on different directions in the eigenspace can narrow it.

What the sixty-four slopes look like

The first-order slopes of the sixty-four eigenvalues in the tread at one: under the separable part's symbol, for the circulant part of the isotropic correction alone, and under the mixture's own symbolseparable symbol: 0.99 to 14.36, mean 5.77; circulant part alone: 1.05 to 14.34, mean 5.84; mixture's symbol: -1.17 to 0.56, mean -0.07.−202468101214separable symbolcirculant part alonemixture's symbolfirst-order slope of each of the sixty-four eigenvalues10 × 10 grid, ρ = 0.9the width is the circulant's
Fig. 3 The sixty-four first-order slopes μk\mu_k under the separable symbol, for the circulant part of the isotropic correction alone, and under the mixture’s own symbol.

Under the separable symbol they run from 0.985 to 14.357 and are spread across the whole range in clumps — quartiles at 2.6, 5.5 and 8.1, fifteen of the sixty-four below 2 and thirteen above 10. Under the mixture’s symbol they are almost all at zero: the middle half lie between −0.02-0.02 and 0.010.01, and the spread of 1.73 comes from a few outliers, the lowest at −1.17-1.17 and the highest at 0.560.56. The mixture’s symbol does not narrow the tread uniformly; it pins most of it in place and leaves a handful of eigenvalues to move.

The middle strip says where the difference comes from. Split EE into its circulant part CEC_E — the part a symbol circulant can represent — and the remainder E−CEE - C_E. The mixture’s symbol subtracts CEC_E exactly, which is why its block is the remainder’s. The separable symbol subtracts none of it. Compress the circulant part alone onto the eigenspace and its slopes run from 1.05 to 14.34, a width of 13.29: ninety-nine per cent of the separable symbol’s 13.37, with the remainder contributing the rest and part of the mixture’s outliers. So the cheap preconditioner’s cost on this tread is almost exactly the isotropic correction’s circulant part, which it could have represented and did not. The circulant the problem did not contain found a circulant preconditioner helping a problem with no circulant structure; here the problem has circulant structure in its correction, and leaving it out is the whole cost.

Rank by rank

The width and shift are two numbers; first order predicts sixty-four.

The sixty-four eigenvalues of the tread at one under the separable symbol at ε = 10 to the minus 2, as their distance from one over ε, rank by rank, against the first-order slopesThe largest difference between a measured eigenvalue's slope and its first-order one is 0.2 per cent of the first-order width at this ε. Measured: 0.99, 1.43, 2.96, 3.37, 5.70, 7.92, 10.45, 14.35 at every ninth rank; first order 0.99, 1.43, 2.98, 3.39, 5.70, 7.94, 10.44, 14.36.separable symbol, 10 × 10ε0.01largest departure, share of width0.001708162432404856640246810121416rank in the tread(λ − 1)/εmeasureddashed: first orderrank by rankfirst order, until a hundredth
Fig. 4 The tread’s sixty-four eigenvalues under the separable symbol, as (λ−1)/ε(\lambda - 1)/\varepsilon in ascending order (dots), against the first-order slopes in the same order (dashed). The dial sets ε\varepsilon.

At ε=10−2\varepsilon = 10^{-2} every one of the sixty-four sits on its first-order slope: the largest departure is 0.17 per cent of the first-order width. At 10−410^{-4} it is 0.0017 per cent, at 0.030.03 half a per cent. Only at a tenth does the tread bend visibly, with the top eigenvalues falling below their slopes by up to 11 per cent of the width. The staircase of clumps the strip figure showed is reproduced in the measured eigenvalues step for step, which is the strongest form the prediction could have taken: not two summary numbers but the whole distribution.

Six treads, both symbols

The tread at one is the crowded one, but the staircase has six, and the same computation applies to each: take the eigenspace of S0S_0 at that tread’s value vv, compress the perturbation onto it, and read the spread. For the mixture’s symbol the compression is of C−1/2(E−vCE)C−1/2C^{-1/2}(E - vC_E)C^{-1/2}, because the preconditioner’s own derivative enters multiplied by the eigenvalue it perturbs.

The six values are 0.118, 0.343, 1, 2.233, 6.513 and 42.42, holding one, sixteen, sixty-four, two, sixteen and one eigenvalue. Three of them cannot spread at first order: a tread of one eigenvalue has no width, and the pair at 2.233 moves together, with a first-order width of zero under both symbols. The other three spread, and first order predicts every one of them. Under the separable symbol the relative widths over ε\varepsilon are 0.547 at 0.343, 13.372 at one and 0.749 at 6.513; measured at ε=10−4\varepsilon = 10^{-4} they are 0.547, 13.362 and 0.749. Under the mixture’s symbol they are 0.213, 1.732 and 7.016, measured 0.212, 1.732 and 7.011.

That last number is the trade the mixture’s symbol makes, and the earlier essay had seen its effect without its size. Subtracting the isotropic correction’s circulant narrows the tread at one by a factor of 7.7 and widens the tread at 6.5 by a factor of 9.4, from 0.75 to 7.02. The mixture’s symbol does not remove the correction’s effect on the spectrum; it moves it from the tread of sixty-four eigenvalues to a tread of sixteen. For conjugate gradients, whose cost depends on how many separate clusters it has to resolve and how wide each is, that is a good trade — the crowded tread is the one whose width costs steps — and it is a trade rather than a removal, which is why at ε=0.1\varepsilon = 0.1 and beyond the counts under both symbols rise. The staircase a separable kernel builds found the step count nearly independent of the correlation because the staircase’s treads stay six whatever ho ho does; a correction moves the treads’ widths, and first order says which.

Two dimensions, and the cluster that thins and four orders of conditioning, and four steps are the essays where this staircase was first measured, and where the count of distinct eigenvalue groups, rather than the condition number, was found to set conjugate gradients’ work. The six first-order widths are that idea made quantitative for a perturbed kernel: the count is still six, and the work added by the correction is the sum of what each tread’s width costs, which is now computable before the solve. A limit the matrix never reaches is the reminder that a symbol is an asymptotic object and a finite section approaches it slowly; here the symbols are exact descriptions of the finite circulants, and nothing asymptotic is being claimed.

The centre, not the eigenvalues

The earlier essay’s table showed the separable symbol’s width over ε\varepsilon falling as ε\varepsilon grew — 13.27 at 10−310^{-3}, 12.41 at 10−210^{-2}, 7.26 at 0.1 — and that reads like first order failing from a thousandth. It is not.

Under the separable part's symbol, how far the tread's width over its centre departs from first order, and how far its sixty-four eigenvalues depart from their first-order slopes rank by rank, as shares of the first-order width, against εWidth over centre: 3.4e-6 at 0.000001, 7.7e-5 at 0.00001, 7.7e-4 at 0.0001, 7.7e-3 at 0.001, 7.2e-2 at 0.01, 1.9e-1 at 0.03, 4.6e-1 at 0.1. Rank by rank: 9.2e-6 at 0.000001, 2.0e-6 at 0.00001, 1.7e-5 at 0.0001, 1.7e-4 at 0.001, 1.7e-3 at 0.01, 5.2e-3 at 0.03, 1.1e-1 at 0.1. Floored at a millionth.10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹1isotropic share εdeparture from first orderwidth over its centreeigenvalues, rank by rankseparable symbol, floored at 10⁻⁶the centre, not the eigenvalues
Fig. 5 Under the separable symbol: how far the tread’s width over its centre departs from the first-order width, and how far its sixty-four eigenvalues depart from their first-order slopes, as shares of the first-order width, against ε\varepsilon.

The width the essays measured is relative: the spread divided by the centre. The centre is 1+7.67ε1 + 7.67\varepsilon, so the relative width is the spread divided by a number that grows linearly in ε\varepsilon, and it falls below the first-order spread by 7.67ε7.67\varepsilon to first order — 0.8 per cent at 10−310^{-3}, seven at 10−210^{-2} — for no reason but its own definition. Multiply the measured relative width at 10−210^{-2} back by its centre and it is within 0.1 per cent of first order. The eigenvalues themselves follow first order to 0.17 per cent of the width at 10−210^{-2} and 0.5 per cent at 0.030.03; the departure rises like ε\varepsilon, as a second-order term over a first-order one should, and only past a few hundredths does it matter.

That changes the reading of the earlier essays’ counts. Six steps were six eigenvalues found that conjugate gradients needed more steps than treads as soon as the treads widened, and that the tolerance decided how many; with first order holding to a few hundredths, the count at any ε\varepsilon in that range is a function of the symbols alone, through the sixty-four slopes. A preconditioner designer can compute, before running anything, that the separable symbol will cost the tread about eight times the mixture’s width at every small ε\varepsilon, and that the factor is the isotropic correction’s circulant part.

How much of the width is the grid’s

The first-order computation is cheap enough to repeat on other grids, and it answers a question the measurements on one grid could not: whether the cheap preconditioner’s cost on the crowded tread is a property of the kernel or of the grid. On grids of 6, 8, 10, 12 and 14 the middle tread holds 16, 36, 64, 100 and 144 eigenvalues — (m−2)2(m-2)^2 — and its first-order width under the separable symbol is 10.50, 12.34, 13.37, 14.13 and 14.59. It grows with the grid, by 1.84, 1.03, 0.76 and 0.47 at each step, so it is converging, but not fast, and on any grid an engineer would use it is above the 10 × 10 value. The midpoint shift falls as the width rises, from 8.10 to 7.33. The circulant part’s share of the width rises from 88 per cent on the 6 × 6 grid to 99.8 per cent on the 14 × 14, so the larger the grid, the more completely the cheap preconditioner’s cost is the circulant it leaves out. The mixture’s width barely moves: 1.58, 1.59, 1.73, 1.75 and 1.79.

So the ratio between the two preconditioners on this tread grows with the grid too, from 6.6 to 8.2 over these five grids, and that is a statement about the kernel and the grid together that no single-grid measurement could have made. It is the reason the prediction’s five per cent would have been the wrong tolerance for a law across grids: the first-order computation is exact on each grid, and the grids differ.

What the prediction got right

Everything it asked for in substance. Its numbers — 13, 7.7 and 1.7 — were the measurements, and its method reproduces them; it was right that the mixture’s symbol corresponds to subtracting EE’s circulant, and right that the eigenspace at one is the place to look. What it had wrong was the summary statistic, and the earlier essay’s apparent first-order failure was the same kind of mistake in the other direction: a relative width read as an absolute one. The symbol that builds the staircase found that the separable kernel’s symbol circulant produces the staircase exactly; this essay finds that the symbols produce its first-order deformation exactly too, and the only things standing between the symbols and the spectrum were two definitions.

What five grids do not show

The spectra are measured on the 10×1010 \times 10 grid only, at ρ=0.9\rho = 0.9; first order is computed on five grids, and on the other four it is checked against nothing but its own convergence. The tread at one is computed on all five and the other treads on one. Every claim about conjugate gradients here is an inference from the eigenvalues — first order describes the spectrum, not the count, which depends on it through a polynomial that first order does not touch — and the one count that would test the inference, the separable symbol’s steps on the 14×1414 \times 14 grid against the mixture’s, is not made. A different ρ\rho would change both symbols and every number above, and whether the circulant part’s share of the width approaches one at every correlation is the kind of statement five grids at one ρ\rho can suggest and not settle.

Still open: the grid’s limit, and a correction that is not scalar

The limit of the width. The first-order width under the separable symbol grows by less at each step of the grid — 1.84, 1.03, 0.76, 0.47. The prediction with a sign is that it converges, that on a 30 × 30 grid it is between 15.5 and 16.5, and that its limit is the spread of the isotropic correction’s symbol divided by the separable symbol’s, taken over the frequencies where the separable symbol equals its middle value — a number computable from the two kernels with no matrix at all.

A correction of rank sixteen. If the mixture’s symbol pins all but a handful of the tread and the separable symbol leaves the circulant part spread across all sixty-four, the cheapest repair is not a scalar but a low-rank correction on the eigenspace’s top directions. The prediction is that projecting out the sixteen largest first-order slopes and correcting them by their own values brings the separable symbol’s tread width to within a factor of two of the mixture’s, at a cost of sixteen inner products a step, up to ε=10−2\varepsilon = 10^{-2}.

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.

Circulant preconditionerClustered spectrumKronecker productPreconditioningSeparabilitySymbolToeplitz matrix