Designing a base

Equal effort was counted in steps

A circle-packing search required to be symmetric was found to beat a free search of the same effort, and the reason given was that a smaller space is easier to search. Past eleven discs the test gets sharp: the free search falls behind the best packings known, 0.13 per cent at ten discs and 6.07 at twenty, and a symmetric search leads it by as much as 4.18. But tighten the free search's packings to the arrangement they were heading for and most of that shortfall disappears — at twenty discs, all of it. Give the free search twice the steps and the lead reverses. The effort was equal in steps and unequal in what a step does: a symmetric search moves half as many coordinates, so each is moved twice as often.

Assumes The shapes the optimum has and When symmetry costs.

When symmetry costs required a circle packing — the first step of the tree method, where every flap of a model claims a disc of paper — to be its own mirror image, and compared it with a free search at the same effort. The shapes the optimum has ran the same comparison count by count to eleven discs, under a mirror, a half-turn and a quarter-turn, and found the result alternating with no pattern a designer could use. It also found the constrained search sometimes ahead, and explained that by dimension: a symmetric packing has about half as many coordinates, so the same restarts and steps cover a much smaller space.

It ended with two things. One was a test of that explanation: run the census past eleven discs, where the free search’s own shortfall grows, and see whether the constrained search’s advantage grows with it. The other was a doubt about its own reading — that a smaller space and a less rugged one could not be told apart by anything it had measured, and that “distinguishing them would need a search whose restarts and steps were varied independently, which is a straightforward experiment and is not this one”.

This is that experiment, and both explanations turn out to be beside the point.

Against the best packings known

Every comparison so far was between two searches, because the optimal packings were only listed to nine discs. They are known well beyond that. The best packings of equal circles in a square have been proved optimal case by case, by computer-assisted search, beyond twenty, and six of the values used here — eleven, twelve, fourteen, sixteen, eighteen and twenty discs — are reproduced to twelve figures by tightening one of the searches’ own packings, which is the strongest check available that the numbers are the ones they claim to be. None of the eleven is beaten by anything either search finds, and the figures stop if one ever is.

Both searches against the best packing knownFrom 10 to 20 discs, how far short of the best packing known the free search falls at 120 restarts, as a line, and how far the best of the three symmetric searches falls at the same effort, as dots coloured by the symmetry that did best. The free search falls steadily further behind; the symmetric searches mostly do not.how far each search is from the best packing knownboth at 120 restarts of 6,000 steps; nothing below zero is possible02461011121314151617181920discsshort of the best packing known, per centthe free searchbest: a mirrorbest: a half-turnbest: a quarter-turn
Fig. 1 From ten to twenty discs, how far the free search falls short of the best packing known at 120 restarts of 6,000 steps, as a line, and how far the best of the mirror, half-turn and quarter-turn searches falls at the same effort, as dots coloured by the symmetry that did best. The free search falls steadily behind; the best symmetric search mostly does not.

The free search, at the effort every earlier essay used, is 0.13 per cent short of the best known packing at ten discs and 6.07 per cent short at twenty, and the climb in between is steady with one exception: sixteen discs, where the best packing is the four-by-four grid and the search’s starting grid finds it at once. The best of the three symmetric searches is ahead of the free one at eight of the eleven counts, by as much as 4.18 per cent at twenty discs, where the half-turn does best.

So the prediction holds. The free search’s shortfall grows, and the symmetric searches’ advantage grows with it. The explanation the earlier essay offered is confirmed on its own terms, which is exactly the point at which it is worth asking what else the same numbers would confirm.

The lead is bounded by the miss

There is a ceiling on any constrained search’s advantage, and it is worth drawing before anything else. A symmetric packing is still a packing, so it can never beat the optimum; its lead over the free search can therefore never be larger than the free search’s own shortfall.

The lead is bounded by the missFor each count from 10 to 20 discs, how far the free search falls short of the best packing known, against how far the best of the three symmetric searches is ahead of it, at the same effort. No point can lie above the diagonal, because a constrained search cannot beat the optimum; the points near it are counts where the symmetric search found the optimum and the free one did not.what the symmetric search gains, against what the free search missedthe diagonal is the ceiling: a lead equal to the whole shortfall means the optimum was found050246free search's shortfall from the best known, per centbest symmetric search's lead over it, per cent201917181514131112
Fig. 2 For each count from ten to twenty discs, the free search’s shortfall from the best packing known against the best symmetric search’s lead over it, both in per cent and both at 120 restarts. The dashed diagonal is the ceiling; a point on it is a count where the symmetric search found the optimum and the free one did not.

The points sit below the diagonal, as they must, and two of them sit almost on it. At thirteen discs the quarter-turn search recovers nearly all of the free search’s 1.13 per cent; at eighteen the half-turn recovers nearly all of its 3.08. Elsewhere the lead is a fraction of the miss, and at ten and eleven discs it is negative — the free search is nearly at the optimum there and the optimum is not symmetric, so a symmetric search can only lose.

Read this way, a symmetric search’s lead is a measurement of the free search’s failure, filtered through whether the optimum happens to be symmetric. That is what the smaller-space account says too. What it does not say is what kind of failure the free search is having, and that is where the two readings part.

The free search had found the arrangement

A search like these has two ways to fall short. It can settle into the wrong arrangement — a local optimum, a different packing of the same discs — or it can find the right arrangement and fail to finish tightening it, leaving every disc a little short of the contacts it was heading for. A smaller space helps the first kind: fewer places to get stuck. The second kind is about something else.

They can be told apart directly. The flap nobody holds built a procedure that takes a packing and moves its discs only until every near-contact is an exact contact: it cannot change the arrangement, only finish it. Applied to a search’s output, it returns the local optimum the search was in, so whatever shortfall survives is the wrong arrangement and whatever disappears was unfinished work.

The free search had found the arrangementFor eleven to twenty discs, how far the free search's packing falls short of the best packing known as the search returned it, and after tightening it to the exact arrangement it was heading for, beside the best symmetric search's packing tightened the same way. Most of the free search's shortfall is arrangement found and not finished.how far short of the best packing known each search's packing is, before and after tighteningboth searches at 120 restarts of 6,000 steps; tightening moves discs only until their contacts are exactdiscsfree, as foundfree, tightenedbest symmetric, tightenedby100.13%0.01%0.29%a half-turn110.29%0.00%1.38%a half-turn120.29%0.00%0.00%a half-turn131.13%0.01%0.01%a quarter-turn141.17%0.00%0.89%a half-turn151.59%1.22%1.47%a mirror160.00%0.00%0.00%a mirror173.10%0.17%1.10%a mirror183.08%0.40%0.00%a half-turn193.19%0.75%1.77%a half-turn206.07%0.00%1.86%a half-turn
Fig. 3 For ten to twenty discs, how far the free search’s packing falls short of the best packing known as the search returned it and after tightening it to the arrangement it had found, beside the best symmetric search’s packing tightened the same way, and which symmetry that was.

Tightened, the free search is within 0.2 per cent of the best packing known at eight of the eleven counts, and its tightened packing is at least as good as every symmetric search’s tightened packing at nine. At twenty discs the free search’s packing, 6.07 per cent short as returned, tightens to the best known packing exactly — to twelve figures — and that packing is its own mirror image and not its own half-turn, so the half-turn search, the one that led, could never have reached it. At eleven and fourteen discs the free search’s packing also tightens onto the optimum, and neither optimum is its own mirror image across the sheet’s vertical centre line, its own half-turn or its own quarter-turn — the three symmetries searched for.

Most of the free search’s shortfall, in other words, was not a wrong arrangement. It was the right arrangement, unfinished. And unfinished work is not what a smaller space makes easier to avoid. It is what a larger budget of moves makes easier to finish.

What a step moves

Both searches were given the same restarts and the same steps, and the comparison was called equal effort. A step in these searches picks one disc and nudges it. In the free search the disc is any of the nn, and its two coordinates are moved together. In a mirror or half-turn search the step picks one of about n/2n/2 generators, and the symmetric partner follows. So at equal steps, each coordinate of a mirror search is moved twice as often as each coordinate of the free search, and a quarter-turn search’s four times as often.

The search’s own schedule says how much that matters. A step’s move is drawn from a range that starts at a fifth of the sheet and shrinks as the square of the steps remaining, down to a floor of 0.0015. Finishing a packing — turning near-contacts into contacts — needs moves much smaller than a disc, and only the last fifth of a restart’s steps have a range under 0.01, about a tenth of a disc’s radius at twenty discs. At 6,000 steps a restart that fine end gives each of the free search’s twenty discs about sixty moves, most of them rejected because they would shrink the radius. It gives each of the half-turn search’s ten generators about a hundred and twenty. A packing of twenty discs settles by every disc finding its contacts with its neighbours, and a disc with sixty chances in the fine end of the schedule is far likelier to stop short than one with a hundred and twenty.

That is not a smaller space; it is a larger share of the budget for each thing being searched. And it makes a prediction the smaller-space account does not: give the free search more steps, and the lead should go away, even where the optimum is symmetric.

The lead is a step budget20 discs packed by the free search and by the search held to a half-turn, at 30 restarts and 3,000 to 48,000 steps a restart, each measured by how far it falls short of the best packing known. With few steps the free search is far behind; with more, it closes on the best known and passes the symmetric search, which stops improving.20 discs: both searches against the best packing known, as each restart gets more stepsthe gap between the two lines is the symmetric search's lead, while it has one0510steps in each restart, doublingshort of the best packing known, per cent3,0006,00012,00024,00048,000every centre freeheld to a half-turn
Fig. 4 Twenty discs packed by the free search and by the half-turn search, at thirty restarts and 3,000 to 48,000 steps a restart, each measured by how far it falls short of the best packing known. The half-turn search stops improving early; the free search closes on the best known packing and passes it.

At twenty discs and thirty restarts, the half-turn search leads by 8.39 per cent at 3,000 steps a restart and by 4.43 at 6,000. At 12,000 steps the lead is 0.13 per cent. At 24,000 it has reversed, and the free search leads by 1.62 per cent; at 48,000 by 1.71, with the free search 0.15 per cent short of the best packing known and the half-turn search stuck near 1.9. The same sweep at seventeen discs under a mirror reverses at 12,000 steps.

Restarts were not the effort that mattered. At seventeen discs, raising the restarts from 15 to 480 at a fixed 6,000 steps shrinks the mirror search’s lead from 2.07 to 0.41 per cent, slowly, because more restarts give the free search more chances to draw a run that happens to converge. Doubling the steps does the same in one move, because it lets every run converge.

Equal effort, counted per coordinate

The cleanest version of the comparison gives each search the same number of moves for each coordinate it has. For a mirror or a half-turn, whose generators are half as many as the free search’s discs, that means the free search gets twice the steps.

Equal effort, counted per coordinateFor ten to twenty discs, the lead of the better of a mirror and a half-turn search over the free search when both get the same steps, and when the free search gets twice the steps — the same moves for each coordinate, since the symmetric searches move half as many generators. The first lead reaches several per cent; the second is under one per cent everywhere and mostly below zero.the symmetric lead, at equal steps and at equal moves per coordinateboth at 30 restarts; below the line the free search is ahead-2.5002.5051011121314151617181920discsbest symmetric search's lead over the free one, per centequal stepsequal moves a coordinate
Fig. 5 For ten to twenty discs, the lead of the better of a mirror and a half-turn search over the free search when both get 6,000 steps a restart, and when the free search gets 12,000 — the same moves for each coordinate. Both at thirty restarts. Below the line the free search is ahead.

At equal steps, the better symmetric search leads by as much as 4.43 per cent. At equal moves per coordinate, no symmetric search leads by more than 0.56 per cent at any count from ten to twenty, and the free search leads at eight of the eleven. The largest remaining lead is at eighteen discs, where the best known packing is itself both a mirror image and a half-turn of itself, so the symmetric search is searching for exactly the right thing and the free search is not told it.

That is the residue a symmetry genuinely buys, and it is small: when the optimum has the symmetry imposed, the constrained search finds it a little more reliably at the same moves per coordinate. Everywhere else, the constraint costs what when symmetry costs first said it would — the arrangements it excludes — and the apparent gains were the free search being starved of moves.

The census, continued

The count-by-count reading the earlier essay made to eleven discs is worth extending in its own terms, because a designer choosing a symmetry for a twelve- or twenty-flap model still faces it at whatever effort their software uses.

Where the requirement costs and where it paysHow much worse the best arrangement is when it is required to be its own mirror image, flap count by flap count, against a free search given the same number of restarts and the same number of steps. Below the line the constraint is winning.101214161820-6-4-20246flapshow much the requirement costs, per cent0.22.7-0.2-1.1-0.13.60.1-1.6-3.0-1.2-4.2
Fig. 6 The half-turn census from ten to twenty discs at 120 restarts of 6,000 steps: how much worse the best half-turn packing is than the free search’s, count by count. Below the line the half-turn search is ahead; most of the counts past twelve are below it.

Under a half-turn at the earlier effort, the constraint matches or beats the free search at seven of eleven counts and costs more than one per cent at two. Past twelve discs the bars sit mostly below the line, and the earlier essay’s “no pattern anybody could use” has become a pattern: at the effort design software ordinarily spends, a symmetric layout is more often ahead than behind once the flaps are many. The figures above say why, and the why changes what to do about it. A designer who wants the better packing should spend more steps, not impose a symmetry, unless the symmetry is wanted for its own sake.

20 discs, free and symmetricThe same number of discs packed twice at the same search effort: once with every centre free, once with the arrangement required to be a mirror image of itself. The discs are the flaps a design would be asking for, and the radius is how long they can be.every centre freeradius 0.10462symmetric (c2)radius 0.10899the two searches land within 4.18% of each other here
Fig. 7 Twenty discs packed at 120 restarts of 6,000 steps, once with every centre free and once required to be its own half-turn. The free packing is 6.07 per cent short of the best known and the half-turn one 2.15; tightened, the free one reaches the best known packing exactly and the half-turn one does not move past 1.86.

The two twenty-disc packings, side by side, make the point visible. The free packing at that effort is loose: the right arrangement, with discs that have not finished pushing their neighbours away. The half-turn packing is tight and wrong — a symmetric arrangement fully converged, which is a different packing from the optimum and cannot become it.

A sweep, not a step

The accounting mistake here has a name in a neighbouring field. A Markov chain Monte Carlo sampler that updates one coordinate at a time is compared with another by sweeps — one update of every coordinate — rather than by single updates, because a sampler on a hundred coordinates that is given as many updates as a sampler on ten has given each coordinate a tenth of the attention. The searches here are of exactly that kind: annealed coordinate moves, one disc at a time, with a step size that shrinks on a schedule. Counted in sweeps, the free and the symmetric searches were never given equal effort.

The same caution runs through the folding searches elsewhere. A failure teaches a schedule nothing found that the unit in which a restart schedule is written decides most of what it costs, and stopping is cheaper than finishing priced a search by a cutoff in nodes. In each case the comparison is only as fair as its unit, and the unit that looks natural — a node, a restart, a step — is the one that has to be checked against what it actually does to the thing being searched.

What the earlier accounts got right

The smaller-space account was right that the comparison was between two searches and not two optima, and right that a constrained search can win. It was right that its two explanations — a smaller volume to cover, and a less rugged landscape — could not be separated by what it had measured. Both were explanations of a search finding the wrong arrangement less often. What the tightening shows is that the free search was mostly not finding the wrong arrangement at all.

Getting close instead of getting it right made the general version of the point long before any of this: a search’s answer is a report about the search as much as about the problem. Here the report was about the search’s step budget, and it was being read as a report about symmetry.

What tightening cannot settle

Whether a better search would close every gap. At fifteen, seventeen and nineteen discs the tightened free packing is still 0.17 to 1.22 per cent short, so at those counts the free search did sometimes settle into the wrong arrangement. More restarts, or a better search, would presumably find the optimum; nothing here shows that the gap closes rather than shrinks.

Unequal discs. Every packing here has equal discs, which is the case the optimum is known for and not the case a real design presents. With unequal flaps the optimum is not known, and the yardstick that made this experiment possible does not exist.

Whether the best packings for these counts are as published. Six of the eleven are reproduced to twelve figures from the searches’ own packings and none is beaten; the other five are taken from the literature, with the figures required to stop if anything ever beats them.

The search, named

An annealed coordinate search. Each restart starts from random centres (the first from a grid) and makes a fixed number of steps; each step moves one disc, or one generator of a symmetric arrangement, by a random amount that shrinks as the steps run out, and keeps the move if the radius does not fall. The radius of a packing is half the closest distance between centres, limited by the walls. Tightening moves discs only to turn near-contacts into exact ones and cannot move a packing to a different arrangement.

Nothing may beat the best known

Every packing is held to the best known one. Free, symmetric and tightened packings alike are required not to exceed the best known radius for their count, and a figure that found one exceeding it would stop rather than draw.

The lead is required to stay under the shortfall at every count, which no correct search can violate; the tightened free packing is required to be within 0.2 per cent of the best known at half the counts or more and at least as good as every symmetric search’s tightened packing at more than half; the step sweep is required to start with the symmetric search ahead by more than two per cent and end with it behind; and the equal-moves comparison is required to show the lead above three per cent at equal steps and under one per cent everywhere at equal moves per coordinate.

Still open: what a symmetry is for

With the step budget accounted for, the case for imposing a symmetry on a packing is no longer about search. It is about the design. The symmetry the letters cannot keep found that a symmetric drawing does not guarantee a symmetric folded object, and the symmetry a gluing adds found a symmetry that comes free with a periodic sheet. A symmetric packing is worth its price only if the model’s symmetry survives every later stage — the crease pattern built from the packing, its lettering, its folded layers — and that chain has not been followed for a single packing.

The other open question is the residue. At eighteen discs, where the optimum has the symmetry imposed, the symmetric search kept a lead of about half a per cent at equal moves per coordinate. Whether that is a smaller landscape genuinely being easier, or one more accounting effect not yet found, is the experiment the earlier essay wanted, now with the step budget out of the way: hold the moves per coordinate fixed, vary the restarts, and see whether the symmetric search’s success rate per restart is higher where the optimum is symmetric.

The habit worth carrying is about effort. Before comparing two searches at equal effort, count what one unit of effort does in each. A step was the same unit in both searches and moved twice as much of one of them, and every lead the comparison reported past eleven discs was that factor of two, read as a fact about the space being searched.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

Every essay whose body links to this one.

The objects this essay names

Each one links to every other essay that touches it.

Circle packingConstraintOptimalityPacking efficiencySymmetry