Building domain knowledge into a model
· 68 min read · Updated Nov 2, 2026
Digests are written primarily by LLMs with only readability edits by me. If this one reads like slop, please shoot me an email at max.zhuang@berkeley.edu.
McCoy and colleagues trained neural networks on two kinds of example from a small English grammar: statements to copy unchanged, and statements to turn into questions. In the training questions, the auxiliary verb that moves to the front was always both the first auxiliary in the sentence and the auxiliary of the main clause: “the zebra does chuckle” becomes “does the zebra chuckle?”. Two rules fit every training question, “move the first auxiliary” and “move the main clause’s auxiliary”. The test sentences were ones where the rules disagree. From “your zebras that don’t dance do chuckle”, the main-clause rule gives “do your zebras that don’t dance chuckle?” and the first-auxiliary rule gives “don’t your zebras that dance do chuckle?”.
A network that reads the words in order, a sequential recurrent network, got 88% of held-out examples of the training kind exactly right. It put the main-clause auxiliary first in 3% of the sentences that separate the rules. A second network was given each sentence’s correct parse tree along with the sentence, and its encoder and decoder follow that tree. It got 96% and 99%. All four numbers are medians over 100 training runs. The figure below draws both rules on these sentences, with the four numbers beneath them. McCoy, Frank and Linzen
Nothing in the training questions chose between the two rules. The architecture chose, together with the parses the tree network was given. On the test set of the training kind, the share of questions exactly right told the two networks apart by 8 points, while on the sentences outside it, the share with the main-clause auxiliary first split them by 96.
Choices with no evident relation to sentence structure changed the outcome too. Given an attention mechanism that picks where to look by position alone, the same sequential network put the main-clause auxiliary first 78% of the time instead of almost never. Of the networks tested, only the tree network also followed sentence structure on a second task, making each verb agree with its grammatical subject rather than the nearest noun. The first section below shows that the training objective and the length of training changed the choice as well.
Whatever decides which function training returns, out of the many that fit the training data, is called the model’s inductive bias. Building domain knowledge into a model, also called injecting an empirical bias, means choosing that bias on purpose, from a regularity that is known or observed about the domain. A designer can build a symmetry into the architecture, train on rotated copies of each example, add a physics equation to the loss, write numbers so that each digit carries its place value, or pretrain on data that carry a structure.
This digest asks what each of these buys, what it costs, and when scale makes it unnecessary. The McCoy case already shows where to look: the two networks differed far more where only the bias could choose than where both rules give the same answer. The short answers below follow the order of the sections. They start with what a correct bias saves and a wrong one costs, and what held-out error can and cannot show about either. They end with how the way a bias is put in decides where it holds, and what scale and pretraining change.
- A correct bias saves data, because it rules out wrong functions before any example does. For kernel ridge regression, a symmetry with g transformations is worth g times the data in the limit, but at affordable sample sizes the saving depends on how the transformations act: in a simulation, cyclic shifts of the coordinates (the symmetry of a convolution) saved at least their full number, while all orderings of a few coordinates saved a small fraction of theirs, because most of the orderings’ saving lies among complicated functions that only large samples pin down.
- A wrong bias costs in one of three ways: an error that more data cannot remove, if it excludes part of the true function; lost information, if the label ignores a transformation but the data do not, as when a benchmark stores its shapes upright and which way is up becomes a clue to its class; or extra data, if it only prefers the wrong functions. In linear regression, a symmetry slightly stricter than the true one, imposed exactly, beats both the true symmetry and no constraint with little data, and loses to both with more.
- Held-out error, measured on inputs like the training inputs, can understate what a bias does, because a bias decides the answer mainly where the training data are silent: on longer inputs, new kinds of input, long simulations. As data grew it separated biases less in the image and text comparisons here, but in several comparisons of physical models, some with large datasets, it still separated them widely.
- Off the training data, on this digest’s reading, a bias helps only if the task there needs the regularity it assumes. A fixed preference for recent tokens kept a language model’s perplexity steady on inputs 30 times the training length, scoring about as a model reading only the last 512 tokens would; copying needs tokens farther back than training showed, and a copying model with the same preference, trained on sequences of up to 20 tokens, got about 2% of 28-token sequences right.
- Built into a model, a symmetry holds at every input; learned from augmented copies, only where the copies reached, which on this digest’s reading decides what it does off the training data. On inputs like the training inputs, augmentation came close to a built-in symmetry in some studies and fell short in others.
- A penalty in the loss is imposed only at the points where it is evaluated, and a physics penalty can be hard to optimize. The practical pattern in the examples here is to build in what can be built in exactly, such as boundary values or incompressibility, and penalize only what cannot.
- A structured model can work through a different property from the one it is named for: in Hamiltonian networks written as a kinetic plus a potential energy, on systems in Cartesian coordinates, making position change through velocity did most of the work for long-run prediction accuracy, not energy conservation. Telling which needs an experiment that removes one property at a time.
- With the same training recipe on both sides (everything about training except the architecture), a convolutional network, which builds in a strong bias toward locality, and a vision transformer, which keeps a weak one, came within about a point of each other on ImageNet alone (the convolutional network ahead, in the one such comparison here). In the matched-recipe comparisons at 300 million images and 1.28 billion image-and-text pairs they were within about two points, and in one comparison across papers at billions of images within 0.1 point.
- A built-in preference for recent tokens lost its perplexity advantage at the training length in a 1.3-billion-parameter model trained on a much larger corpus, yet kept a large lead at twice that length.
- For the symmetries of physical systems, whether large models without them have caught up is contested: some matched held-out accuracy at several times the speed, while both scaling studies that count operations favour the symmetric models.
- A bias can also be put in through data, by pretraining on samples from a generator that has the regularity. In the comparisons here that changed only the generator, what transferred was a computation the target task needed, such as pairing tokens at a distance in the bracket-language comparisons, which is not always the regularity the designer had in mind.
What a bias is
A bias is what lets a learner go beyond its examples; with none, it can only look them up. Since no bias wins on every problem, each one is a claim about the domain. A bias either excludes functions or only ranks them, and it can enter at five places, of which the architecture is one.
Mitchell defined a learner’s bias in 1980 as “any basis for choosing one generalization over another, other than strict consistency with the observed training instances”. He showed that a learner with no bias can do no better than look up the examples it has seen. A bias is useful because it rules things out, and it can rule out almost everything.
A count shows how much. With 5 yes-or-no features there are 32 possible inputs and 232, about 4.3 billion, ways to label them. A learner that considers only conjunctions, rules of the form “feature 1 is yes and feature 4 is no”, can express 243 of them. Each feature can be required to be yes, required to be no, or left out, and 35 is 243. That is about one labelling in 18 million, which is why such a learner can generalize from a handful of examples. Mitchell
No bias is better than another averaged over every possible problem: averaged uniformly over every way of labelling the inputs, every learner has the same error on inputs outside its training set, one half for two labels. Whatever a bias gains on some problems it gives back on others, so its value is a claim about which problems the world presents. Wolpert, Sterkenburg and Grünwald
Biases come in two strengths. A constraint removes functions from the model’s reach, so no amount of data can bring them back. A preference only ranks the functions the model can reach, so enough data can override it.
A bias can enter at five places, listed in the table below with the examples this digest uses. They differ in where the regularity then holds, which the sections on built-in symmetry and on penalties take up.
| Where it enters | Examples in this digest | Where the regularity then holds |
|---|---|---|
| The data | augmentation (training on rotated copies), number tokens that carry place value, synthetic datasets drawn from a designed generator, noise added to training inputs | on the inputs the data and the transformations reach |
| The model class | convolution, layers that respect rotations, forces computed as the gradient of an energy, a network of lookup tables built to be monotone | at every input, when the class excludes the alternatives |
| The objective | a penalty on how far a physics equation is violated, a monotonicity penalty, which tokens the loss asks the model to predict | approximately, at the points where it is imposed |
| The starting point and the training procedure | pretraining, pretraining first on a formal language, an initialization that starts attention as convolution, how long training runs | as far as it survives training |
| Prediction time | averaging predictions over rotations, rotating each input to a standard pose, removing net force and torque from predicted forces | at every input, at a cost per prediction: exactly for a finite set of transformations or a standard pose, approximately when averaging over sampled rotations |
Model, objective and training length in the grammar task
Three of these entry points show up in the grammar task from the opening. The tree network’s bias sits in the model class, and a bias there can still be a preference. Trained on data that required the first-auxiliary rule, McCoy’s tree network learned that rule: its structure ranked the main-clause rule first without excluding the other. McCoy, Frank and Linzen
The training objective also decides which rule a network learns. Usually such a network is an encoder-decoder trained to produce only the output, the question or the copy, from the statement. A transformer trained instead to predict every word of the statement and the output put the main-clause auxiliary first on 76% of the separating sentences, against about 4% for the encoder-decoder (read off a figure). The 76% is an average over five runs, some of which reached 100%. The difference also depended on the data: the training set included statements to copy that had the test sentences’ shape, and without them the share fell sharply. Both models are transformers, but the layout is not what differed: a recurrent network trained each way split the same way. On the paper’s other tasks, a single decoder trained on only the output also did much worse than whole-sequence training. Ahuja et al.
So does the length of training. Under that whole-sequence objective, a six-layer transformer, averaged over ten runs, put the main-clause auxiliary first on about 33% of the separating sentences when its accuracy on the training kind of sentence stopped improving. After much longer training the share was about 92% (both read off a figure). So whether this architecture is biased toward rules based on sentence structure was never a property of the architecture alone. Murty et al.
What a correct bias saves
When a bias’s claim about the domain is right, it saves data: it rules out wrong functions that examples would otherwise have to rule out. For kernel ridge regression, an exact symmetry with finitely many transformations is worth that many times the data in the limit; how much arrives at affordable sample sizes depends on how the transformations act.
Each training example rules out the functions that get it wrong. A bias rules out a whole family at once, before any example arrives. If the truth is not among the functions it rules out, the bias saves the examples that would otherwise be spent ruling them out.
A preference for few features
Ng compared two penalties on a problem where the saving can be seen. A logistic regression predicts a yes-or-no label from many input features, and only the first feature matters: the label is drawn from a logistic function of feature 1 alone. Each model gets 100 examples, 30 of them held out to choose the penalty’s strength. One is fitted with an L1 penalty, which prefers solutions with few nonzero weights. The other is fitted with an L2 penalty, which shrinks all weights alike and treats every direction in the input space the same way. As the total number of features grew to 1,000, L1’s error stayed near 6% while L2’s climbed to about 43%, close to the 50% of guessing (read off Ng’s figure).
A rerun of this setup for this digest adds a rotated version. With the features as given, the rerun gave errors of 10.7% for L1 and 46.1% for L2 at 1,000 features; the best possible classifier errs on 5.5%. Its L1 error is higher than Ng’s, for reasons the chart’s caption gives.
Then the inputs were rotated at random before training, so that the one relevant direction was spread across all the features; the labels do not change. L2 gave exactly the same errors, because it never preferred any direction. L1’s error at 1,000 features rose to 49.5%, worse than L2. The chart below shows both versions. A preference for few features saves data when the domain’s relevant directions are the features as given, and costs data when they are not.
Ng proved the general version. L1-regularized logistic regression needs a number of examples that grows with the logarithm of the number of irrelevant features. Any learner that treats all directions alike needs, on some problems, a number that grows at least linearly with it. The theorem sets a worst-case lower bound for a class of learners against an upper bound for one method. The upper bound is stated only up to an unspecified polynomial factor, so it cannot predict a real sample size. It says how the requirement scales, not how many examples to collect. Ng
Symmetries in theory
A symmetry saves data in a related way. A model is invariant to a transformation if transforming the input leaves the output unchanged, as a shape’s class is unchanged by rotating the shape. It is equivariant if the output transforms along with the input, as predicted forces rotate with a molecule. This digest says a model respects rotations when it is either. If rotating an input never changes its label, every training example also gives the label of every rotated copy, so each example stands for its whole set of copies.
For a finite set of transformations, the theory says the saving approaches the number of transformations as the sample grows. Tahmasebi and Jegelka proved it for kernel ridge regression, a flexible regression method whose behaviour can be worked out exactly. Their conditions are a smooth target that is exactly invariant and inputs from a bounded smooth space. If there are g transformations, building the invariance into the kernel gives the error that the non-invariant method would reach with g times as much data. On the hardest target of this kind, no method can beat that rate by more than a constant factor. Tahmasebi and Jegelka
A continuous symmetry, such as rotation through any angle, does more. It removes a dimension from the problem: a function on the sphere that does not change under rotation about the vertical axis depends only on latitude. How fast error falls as data grow depends on dimension, so the symmetry changes the rate at which error falls, where a finite symmetry changes only a constant factor.
On the sphere the difference can be computed. For a target with two square-integrable derivatives, the error falls like n−2/3 without the symmetry and n−4/5 with it, where n is the number of samples. By this digest’s arithmetic, with constants set to one, reaching an error of 10−2 then takes about 1,000 samples against 316, a ratio of 3.2. An error of 10−3 takes about 31,600 against 5,600, a ratio of 5.6, and 10−4 a ratio of 10. The saving grows with the accuracy demanded.
The rates behind these numbers
For a target with s square-integrable derivatives on a d-dimensional input space, the best achievable squared error with n samples falls like
Tahmasebi and Jegelka’s theorem, which assumes s larger than half of d, shows that if the target is exactly invariant to a set of transformations, d is replaced by the dimension of the space of orbits. An orbit is the set of points the transformations carry a given point to. That dimension is the input dimension, minus the dimension of the set of transformations, plus the dimension of the transformations that leave a point fixed, taken at the point where that dimension is smallest.
The last term is zero when some point is left fixed by only finitely many transformations, as for rotation about one axis acting on points of the sphere away from the poles. A finite set of transformations has dimension zero and changes only the constant, by the factor described above. On the sphere example, d falls from 2 to 1 and, with s = 2, the exponent rises from 4/6 to 4/5. The sample sizes in the text solve n−exponent = error for each exponent. The molecule example below uses the same formula outside the theorem’s smoothness condition, as the classical rate for less smooth targets.
Symmetries at affordable sample sizes
The saving of g times the data is reached only in the limit. At sample sizes anyone can afford, what the transformations are matters as much as how many there are. The set of all orderings of a few coordinates gives far less than its size. In Bietti and colleagues’ experiment, a kernel averaged over all 720 orderings of six coordinates matched the plain kernel’s error at 5,000 samples with about 100, a saving of about 50 (read off their figure). A simulation run for this digest with all 120 orderings of five coordinates saved between 10.8 and 12.5 times from 16 to 128 samples. Bietti, Venturi and Bruna
Cyclic shifts of the coordinates, the symmetry a convolution builds in, reach their saving from the smallest samples on, and at the smallest exceed it: with 5 shifts, the same simulation saved 8.8 times at 16 samples, falling to 5.4 at 256. The 120 orderings saved more in absolute terms, but a small fraction of their number.
A count shows why. With few samples, a kernel method can pin down only the simplest parts of a function, its low-degree parts. For inputs on a sphere these are harmonic polynomials of the coordinates, and the saving at that sample size is roughly how many times fewer of them the symmetry leaves possible. Bietti and colleagues’ analysis rests on this ratio, taken degree by degree. Among linear functions of the coordinates, only their sum is unchanged by every cyclic shift, and likewise by every ordering, so both symmetries cut the count by the number of coordinates. For the shifts that is already their full number; for the orderings it is a small fraction of it.
At higher degrees the two part ways. By this digest’s count for five coordinates, cyclic shifts cut the count by about 5 at every degree from 1 to 10 except degree 2, where they cut it by 7; the simulation’s 8.8 at 16 samples is more than this count accounts for. All 120 orderings cut it by 5 at degree 1, 18 at degree 4 and 42 at degree 10: most of their saving lies among complicated functions that only very large samples pin down. Bietti and colleagues trace the difference to what each transformation leaves in place. Most orderings keep some coordinates where they were, 76 of the 120 here, and a function of only those coordinates is unchanged by such an ordering, so that ordering places no constraint on it. Every cyclic shift other than doing nothing moves every coordinate.
For the d cyclic shifts of d coordinates, Bietti and colleagues show that the saving approaches d fast, even when d is large, and for all d! orderings that it approaches its limit slowly. Mei, Misiakiewicz and Montanari prove a saving of order d for cyclic shifts in a high-dimensional regime, and their experiment with 30 coordinates matched that prediction, up to constant factors. Bietti, Venturi and Bruna, Mei, Misiakiewicz and Montanari
In linear regression the saving is set by how many parameters the symmetry removes, not by how many transformations it has. Least squares with p free weights, standard normal inputs and unit noise has expected excess error p divided by (n − p − 1). For a target that depends only on the sum of 20 features, the set of orderings has 20!, about 2.4 × 1018, members, but it reduces 20 weights to 1. At 100 samples the full fit’s error is 20/79.
The symmetry can be used in two ways here. Fitting all 20 weights and then replacing each by their average, which projects the fit onto the symmetric solutions, keeps the full fit’s denominator and gives 1/79. Fitting the one shared weight directly gives 1/98. By this digest’s arithmetic, the full fit needs about 1,600 samples to match the projected fit and about 2,000 to match the one-weight fit, savings of 16 and about 20. As samples grow both tend to 20, the number of weights the symmetry turns into one. The chart below collects the savings from this subsection, each beside the saving its symmetry gives in the limit of many samples. Elesedy and Zaidi
Continuous symmetries of large inputs
The sphere example removed one dimension from two. When a continuous symmetry acts on large inputs, the gain in rate is small in relative terms, because a few dimensions are being removed from many. The positions of 20 atoms are 60 numbers, and moving or rotating the whole molecule accounts for 6 of them. For a target with two derivatives, as in the sphere example, removing those 6 raises the rate at which error falls by about 10%. In samples, a learner with the symmetry and 10,000 examples then matches one without it given about 26,000, and with a million examples, one given about 4.2 million. For 100 atoms the factors are 1.2 and 1.3. All of this is this digest’s arithmetic, with the formula used outside its smoothness condition, and smoother targets give smaller changes.
The molecule arithmetic in full
With s = 2 derivatives in the rate n−2s/(2s+d) from the first details block, d = 60 input dimensions give an exponent of 4/64, or 0.0625, and d = 54 give 4/58, or 0.069, a rise of about 10%. For 100 atoms the dimensions are 300 and 294, and the rise is about 2%. As in the sphere example, the factor grows with the accuracy demanded. At an error of 0.1 it is about 32 for 20 atoms and for 100 alike, but reaching that error takes about 3 × 1014 samples with the symmetry for 20 atoms, and far more for 100.
Symmetry and compute
A small gain in rate is not the whole gain. The rate says how fast error falls as data grow, and a symmetry can also lower the error by a roughly constant factor at every size, which the rate does not register. Brehmer and colleagues found a gain of that kind in a scaling study built to isolate a symmetry, measured against compute rather than samples. On predicting colliding rigid bodies one frame ahead, they compared a standard transformer with one whose every layer respects rotations, translations and reflections.
The symmetric model reached about half the loss at every compute budget tested, from 1016 to 1019 operations, with unlimited data. Its fitted scaling exponent, the slope of loss against compute on logarithmic axes, was 0.236 against the standard transformer’s 0.268, and the two agreed within their uncertainty. The fitted laws put the gap at 2.3 times at the smallest budget and 1.8 at the largest, as the chart below draws. The authors describe the advantage as roughly constant over that range and make no claim beyond it.
These exponents are for the best loss reachable at each compute budget, so they do not measure the gain in rate described above. The authors’ attempt to fit an existing law for repeated, limited data did not agree with their runs; the section on augmentation returns to what fewer distinct examples did. Brehmer et al.
Brehmer’s advantage was counted in nominal operations, which count arithmetic rather than time. The symmetric model’s implementation, made of many small operations, used the hardware less fully, and the authors found that runs with equal operation counts could differ by up to tenfold in real training time. Their conclusion is conditional: if the symmetric model ran as many operations per second as the standard one, it could outperform it even with large data and compute. Standard models may be easier to run fast, though, in which case “it remains to be seen which architecture is more efficient”. Brehmer et al.
When the bias is wrong
A wrong bias costs, by its kind, an error more data cannot remove, lost information, or extra data. A slightly wrong constraint imposed exactly can win with little data, because it leaves fewer numbers to estimate, and lose once its fixed error dominates; imposed softly, it also won with little data and then fell back to the unconstrained model’s error.
A bias is an assumption that the domain has a regularity, and there are three ways for that assumption to be wrong, one for each of the first three subsections below. The fourth takes an augmentation that is wrong only for some inputs, a cost that an average over inputs can hide, and the last asks whether a bias’s strength can be learned from the data.
A constraint that excludes part of the true function
The first kind is a constraint that excludes part of the true function. Huang, Levie and Villar worked out its cost exactly for linear regression, and the example below uses their formula with a target chosen for this digest.
Take a linear map from three inputs to three outputs, with inputs drawn from a standard normal distribution and noise of variance 1/64 on each output. Here a symmetry means that permuting the inputs permutes the outputs the same way. The true map has that symmetry for inputs 1 and 2, and almost has it for input 3: every off-diagonal entry is 0.5, and the diagonal entries are 1, 1 and 1.05.
Averaging a fitted map over a symmetry replaces each entry by the mean of the entries the symmetry says must be equal. Three learners fit the map by least squares from n examples and then average the fit over the symmetry they assume, which is the method Huang and colleagues analyse:
- no constraint, with all 9 entries to estimate;
- the true symmetry, inputs 1 and 2 interchangeable, which ties the 9 entries down to 5 free numbers;
- an over-strict symmetry, all three inputs interchangeable, which leaves 2: one value on the diagonal and one off it. It cannot represent the 0.05 difference. Averaging the diagonal 1, 1 and 1.05 gives about 1.0167, leaving deviations of −0.0167, −0.0167 and +0.0333, so the part of the true map it forbids has squared size 2 × 0.052/3, about 0.00167.
Each learner’s expected excess error is its count of free numbers times the noise variance divided by n − 4, plus the part it forbids; the 4 is the number of inputs plus one. The first term is the price of estimating numbers from noisy data and shrinks as data grow. The second is what the learner can never represent, and it stays.
So the over-strict learner beats the one with the true symmetry while (5 − 2) × (1/64)/(n − 4) exceeds 0.00167, which holds up to n = 32. It beats no constraint at all while (9 − 2) × (1/64)/(n − 4) exceeds 0.00167, below n = 70. At 1,000 examples it has nearly stopped improving, at 0.00170 against 0.000078 for the true symmetry, 22 times worse. In the paper’s own example, with a different target, the first crossover is near 35. Huang, Levie and Villar
A soft version of the same wrong belief behaves differently. Instead of forcing all three inputs to be interchangeable, penalize the part of the fitted map that breaks that symmetry, with a weight fixed in advance. In a simulation run for this digest, at 10 examples this learner’s error is 0.0052, lower than all three hard choices, and it stays ahead of the true symmetry up to about 50 examples. It has no floor: at 1,000 examples it is at 0.000137, next to the unconstrained learner’s 0.000141, because the data have outweighed the penalty. But because it does not impose the true symmetry either, with plenty of data it is estimating all nine numbers and stays above the true symmetry’s 0.000078. The chart below follows all four learners from 6 to 1,000 examples.
Deep-network experiments with broken or wrong symmetries are consistent with this, but each was run at one training-set size, so none shows the crossover itself. Finzi and colleagues predicted the inertia matrix of five point masses from 1,000 training examples, a quantity that rotates exactly with the masses. They compared three networks: one built to respect rotations, one with a soft preference for them and one unconstrained. Each was tested on the exact task, on a version with an added term that breaks the symmetry, and with the network built around the wrong set of transformations. The table gives median mean squared test errors, read off their figure.
| Task | Built to respect the symmetry | Soft preference | Unconstrained |
|---|---|---|---|
| Symmetry exact | about 0.16 | about 0.28 | about 3.7 |
| Symmetry broken by an added term | about 1.15 | about 0.43 | about 4.8 |
| Wrong set of transformations built in | about 30 | about 3.9 | about 3.7 |
The strict network wins when the symmetry is exact, and the soft one when it is broken. With the wrong transformations, the strict network is eight times worse than no constraint, while the soft one falls back to the unconstrained level. Finzi, Benton and Wilson
Soft versions are also called relaxed. A relaxed network beating a strict one does not by itself show that the data’s symmetry is approximate, because relaxing a symmetry has also helped on problems whose symmetry is exact. A relaxed network was best at predicting simulated turbulence on a fine grid from a coarse one, in isotropic flow, where a rotated flow is another flow the system could produce. A network trained first without the constraint, then tightened until it was exactly symmetric, beat the same network trained strictly from the start. One group conjectures and the other argues that relaxing makes optimization easier. Wang, Walters and Yu, Wang et al., Manolache, Chamon and Niepert
A constraint the dataset contradicts
The second kind of wrong bias is a constraint that is right about the labels and wrong about the data: the label ignores a transformation, but the dataset does not. A three-dimensional shape’s class does not change when it is rotated, so a classifier that ignores rotation looks correct. But the ModelNet40 benchmark stores its shapes aligned, upright, so the way a shape is turned is itself a clue to its class: the shape alone fixes the class, but a model that can see the orientation can use how it correlates with the class. A classifier that ignores rotation must give up that clue, because it has to answer the same for a shape and for that shape on its side. Lawrence and colleagues measured the clue. Predicting the class from a shape’s orientation alone was right 12.5% of the time, against 8.9% with the orientations scrambled, 3.6 points higher.
Giving up the clue went with a large loss of accuracy on the upright test shapes. A graph transformer scored 78.1% trained without rotation augmentation and 62.0% with it. Made to ignore rotation by averaging its predictions over rotations, it scored 61.9%. On rotated test shapes the augmented network scored 62.4% and the unaugmented one 16.9%. On this benchmark the paper does not separate the lost clue from the other costs of making a network handle every orientation, so the orientation-only measurement does not say how much of the 16 points the clue explains. The authors suggest the loss comes from augmentation destroying useful orientation information; the molecular dataset below, where orientation carries almost no information, fits that suggestion without testing it. Lawrence et al.
QM9, a molecular dataset stored even more consistently oriented, went the other way. The same measurement shows why ignoring orientation cost little there: for the three properties tested, predicting them from orientation alone gave errors only 2% to 5% lower than with orientations scrambled. Training the graph transformer on rotated copies, or averaging its predictions over rotations, helped or did no significant harm for nearly every property.
A separate network built to respect rotations beat the graph transformer trained without augmentation on 7 of the 12 properties, though on the four energy targets it had about twice that model’s error, with a wide spread across seeds. Why augmentation and built-in symmetry help on a dataset this consistently oriented is, in the authors’ words, currently unexplained. In these datasets, which bias was right tracked whether orientation in the test data carried information about the label, not whether the physics of the label respects rotation. Lawrence et al.
A preference that points the wrong way
The third kind is a wrong preference that excludes nothing. The lower bound in Ng’s theorem, in the previous section, covers learners that treat all directions alike, and which learners those are matters here. Ng proves that L2 logistic regression does. He states without proof that support vector machines with the usual kernels do too, and so do neural networks trained by plain gradient descent when their random starting weights treat all directions alike. An optimizer such as Adam, which scales each coordinate separately, falls outside that class, so for a network trained that way whether the preference applies is an empirical question, which the tabular experiments below test for one network. Ng
Tables of named columns are a domain where treating all input directions alike is wrong: individual columns mean something, and many are irrelevant. Grinsztajn and colleagues rotated the inputs of tabular datasets with about 10,000 training rows at random. They report a test score normalized per dataset against the other methods. Gradient-boosted trees, which split on one column at a time, dropped from about 0.94 to about 0.67. A residual network stayed near 0.75: its results did not change under rotation, so it behaves like a learner that treats all directions alike. Rotation reversed the ranking: the trees’ preference for single columns, an advantage on the columns as given, became a handicap once the columns were mixed.
In a separate experiment, adding as many uninformative columns as each dataset had dropped the network from about 0.70 to about 0.44, and the trees from about 0.92 to about 0.81 (all read off figures). The network can represent functions of single columns; its training procedure is what fails to prefer them. On Ng’s account the cost is then extra data rather than a floor. The network fits that account by its measured behaviour, not by construction, and these experiments ran at one sample size, so they do not measure how the required data grow with the number of irrelevant columns. Grinsztajn, Oyallon and Varoquaux
An augmentation that is wrong for some inputs
An augmentation asserts a regularity through the data, and like a constraint it can be right for most inputs and wrong for some. Training on cropped images claims that cropping never changes the label. Balestriero and colleagues found that stronger random cropping raised a ResNet-50’s average ImageNet accuracy from about 70% to about 77% (read off their figure). Meanwhile the class “academic gown”, one of the examples the authors show, fell from 62% to 40%. An average over classes can rise while some classes fall by 20 points.
Uneven costs across classes are not special to biases that encode domain knowledge. Weight decay, which encodes nothing about images, also moved classes in opposite directions. Its largest drops for single classes came at settings stronger than the one that maximized average accuracy. Balestriero, Bottou and LeCun
Learning how strong a bias should be
Since a bias can be wrong by degree, one response is to learn its strength from the data instead of fixing it. That needs something other than the training loss. A flexible model never fits its training data better by becoming more invariant, so training fit alone gives no reason to choose any invariance. Methods that work choose the degree in one of three ways. One is a penalty, whose weight then decides the answer. Another is the marginal likelihood, which scores how well the model predicts each training example from the ones before it. The third is held-out data. van der Wilk et al., Immer et al.
Relaxed and penalty-based methods recovered which symmetries hold more reliably than how strongly. A relaxed network trained on data with a known amount of symmetry violation learned a violation only 35% to 42% as large. One penalty-based method, tested on data with a known amount of rotation, learned no invariance with penalty weight 0.01, twice the true amount with 0.1, and diverged with 1 (both read off figures). The marginal likelihood did better where the amounts were known: on handwritten digits transformed by known amounts, a small fully connected network learned both which transformations were present and how much of each. Wang, Walters and Yu, Benton et al., Immer et al.
What held-out error misses
Most savings and costs above were measured as held-out error, on examples like the training data. Where those data are dense they decide much of the answer, so held-out error can understate what a bias does, or rank two biases the wrong way. The largest effects showed on new kinds of input, on longer inputs and in long simulations.
Held-out error is measured on examples set aside from the same distribution as the training data, and a bias decides the answer mainly where those data are silent, as the grammar networks of the opening showed.
Held-out error does not always understate a bias: it separated the symmetric and standard rigid-body models above at every budget tested, and it separates two force-model designs on one molecular dataset below. What it does not measure is what a bias does where the training data do not reach.
Long simulations
Long simulations show the difference most plainly, because a model’s outputs become its next inputs. Consider two models of a frictionless oscillator, constructed for this digest, that circles once every 2π time units at radius 1. Each model is wrong by 1% of the state at every point. One model’s error always points outward. The other model moves exactly like an oscillator whose frequency is 1% too high, so its error always runs along the orbit and it conserves energy exactly. A test of the predicted rate of change scores them identically, and a one-step test almost identically.
Run forward, their errors are within about 5% of each other at time 10. By time 100 the first has gained 639% energy and the second none, and the first is nearly twice as far from the true state as the second. The figure below draws the two errors at one state, then follows both runs to time 100. Conserving energy rules out a kind of error, not a size of error.
- Outward error: the state leaves its orbit and energy grows.
- Error along the orbit: the model runs 1% fast and its energy stays the same.
- The ring marks the true state.
- Both errors are 1% of the state at every point.
The circle is the true orbit, which the fast model never leaves; the grey spiral is the outward model's path. Each arrow is that model's error, enlarged: 1% of its own state, so the outward arrow lengthens as that model spirals out.
Greydanus and colleagues trained two identical networks on a mass-spring system, one predicting the time derivative directly and one predicting an energy from which the dynamics follow, a Hamiltonian neural network. Their held-out losses on the predicted time derivatives were 37 and 36. Integrated forward, the mean squared error in the plain network’s energy was 170 against the Hamiltonian network’s 0.38 (all in units of 10−3). A later section returns to what may have produced that difference. Greydanus, Dzamba and Yosinski
Models of atomic forces show the same thing. Their forces should be the gradient of an energy; a model whose forces are computed that way is called conservative, because its forces then conserve its own energy in exact dynamics. In a simulation with finite time steps, conserving energy also needs that energy to vary smoothly.
Fu and colleagues changed one design choice at a time: predicting forces directly instead of as the gradient of an energy, capping the number of neighbours each atom sees, and removing the smooth fade-out of interactions at the cutoff distance. On a dataset of inorganic materials, the three changes moved held-out force error by −0.8% (direct forces) to +1.7%. Each broke energy conservation in 100-picosecond simulations of systems outside the training data. On a molecular dataset, by contrast, held-out error did separate them: predicting forces directly raised it by 73%. Fu et al.
Where held-out error does rank two designs correctly, it can still give no sense of the difference in simulation. Bigi and colleagues found that a direct-force model of liquid water, with a held-out force error about 30% worse than a conservative one, heated the water in a constant-energy simulation at a rate of about 7 trillion kelvin per second. A conservative model that did not respect rotations was stable. Models that respected rotations but predicted forces directly drifted. The structure the simulation needed was conservation, not rotational symmetry, a separation the subsection on symmetries of physical systems takes up later. Bigi, Langer and Ceriotti
Longer inputs
One position scheme for language models helped on longer inputs in one task and failed in another, and the two results together show what a bias needs in order to help off the training data.
ALiBi is a position scheme for transformers that subtracts from each attention score a penalty proportional to the distance between the two tokens, a fixed preference for recent tokens. A language model trained on 512-token inputs kept its perplexity steady on inputs up to 30 times longer, where the three other schemes compared, sinusoidal, rotary and the learned relative bias of the T5 model, broke down.
That steadiness does not show the model using the longer context. At every length Press and colleagues report, by this digest’s arithmetic, a model that could use no more than 512 tokens would score within 0.3 perplexity of the measured numbers. From about five times the training length on, the measured perplexity is slightly worse than that prediction. Press and colleagues’ own appendix reaches the same conclusion. The prediction falls as inputs lengthen because long inputs are scored in chunks, and in a longer chunk a smaller share of the predictions start with little context. The chart below shows the four position schemes on longer inputs, and ALiBi’s numbers beside what a model using at most 512 tokens would score. Press, Smith and Lewis
The arithmetic behind the comparison
The dashed line in the chart above comes from this arithmetic. Long inputs are scored in non-overlapping chunks. In a chunk of L tokens, the first 512 predictions see as little context as in a 512-token chunk, and the rest each see at least 512 tokens. If the model uses no more than 512 tokens, those later predictions cost what a full 512-token window costs, which Press and colleagues measured as perplexity 17.98; a 512-token chunk scores 19.73. The predicted perplexity of an L-token chunk is then 19.73512/L × 17.981−512/L. Press and colleagues report the same model on 35 input lengths up to 15,512 tokens. At every one, the measured perplexity is between 0.12 below and 0.27 above this prediction; at 15,512 tokens the prediction is 18.04 against a measured 18.31.
On tasks that need a distant token, the same preference is a liability. Trained to copy sequences of up to 20 tokens, an ALiBi model copied about 2% of 28-token sequences correctly, against about 98% for the same model with no explicit position encoding (read off a figure). On a benchmark of long documents, with every model fine-tuned on inputs of 8,192 tokens, ALiBi scored lowest of the seven position schemes compared, at both model sizes. Kazemnejad et al., Li et al.
What each task needs from far back separates the two results. For predicting the next token of the text Press and colleagues used, the last 512 tokens gave about the perplexity the model reached, so attending near was enough to keep perplexity steady on longer inputs. Copying a 28-token sequence needs tokens farther back than any the model copied from in training, and the same preference failed. On this digest’s reading, then, a bias helps off the training data only if the task there needs the regularity it assumes.
Training on the states the data lack
Building a bias in is not the only way to fix behaviour where the data are silent. The other is to put the missing states into training. A graph-network simulator trained on one-step predictions is fed its own slightly wrong outputs at test time, states its training data never contained. On one of its datasets, adding small random noise to the training inputs roughly doubled its one-step mean squared error and cut its error over long simulations about fivefold. Making the same model use relative rather than absolute positions, a correct translation symmetry, improved one-step error about 1.5-fold and long-run error about 6-fold (both read off a figure). The one-step metric pointed the wrong way on noise and understated the symmetry. Sanchez-Gonzalez et al.
Whether a regularity is better put into the model or into the training data is the question the next section takes up for symmetries.
Built-in symmetry and augmentation
On this digest’s reading, what a symmetry does off the training data depends on where it holds: built into the model, at every input; learned from augmented copies, where the copies reached. On inputs like the training inputs, augmentation came close to a built-in symmetry in some studies and fell short in others.
Two models can both be said to have a symmetry and still behave differently away from the training data, and a point-cloud classifier shows the difference in its simplest form.
Augmentation against a built-in symmetry
A point-cloud classifier trained with shapes rotated only about the vertical axis scored 90.3% on test shapes rotated the same way and 33.8% on shapes rotated arbitrarily. What it learned from the copies held only for the rotations the copies covered. The same network rebuilt to respect all rotations, trained on the same vertical-axis rotations, scored 89.5% on both, because the symmetry held at inputs it had never seen. Augmentation can still cover a bounded set of transformations. Training the original network on arbitrary rotations brought it to 88.6%, close to the rebuilt network’s 90.2% under the same training. The set of rotations is bounded and low-dimensional, so augmentation can sample all of it. Deng et al. as reprinted by Kaba et al.
Building a symmetry into the model and training on transformed copies meet on data like the training data, but they are not the same thing. For kernel ridge regression with a finite set of transformations and a kernel that the transformations leave unchanged, training on every transformed copy of every example gives exactly the predictor of the invariant kernel. For other learners, augmentation averages the loss over the copies while the model stays free to treat them differently. That lowers the variance of the fit but does not make a network invariant. Mei, Misiakiewicz and Montanari, Chen, Dobriban and Lee, Lyle et al.
On data like its training data, an augmented network still comes close to being symmetric. Shen and colleagues split an augmented model’s held-out loss into two parts: the loss of its predictions averaged over rotations, and the extra loss from the model not being symmetric, which that averaging would remove. By the end of training the second part was at most about 6% for generative models of proteins and molecules that build in no rotations at all. It fell to about 0.1% for a model of atomic forces whose layers already respect rotations except the last, which says more about that architecture than about augmentation. This measures how close a network is to its own rotation-averaged version, not how close it comes to a network with the symmetry built in. Shen et al.
In Brehmer’s study, whether augmentation caught up depended on what was scarce. At a fixed budget of 1018 operations with few distinct examples, each reused many thousands of times, the model sees each example in many orientations, so augmentation supplies the copies the symmetric model gets for free. There augmentation brought the standard transformer to the symmetric model’s loss.
With plentiful data, the budget rather than the data limits both models, and toward the largest set each example is seen only once, so augmentation has no repeated copies to vary. There the augmented transformer did no better than the one trained without augmentation. The symmetric model’s loss was about 1.7 to 1.8 times lower than the augmented transformer’s (read off their figure), in line with its advantage per operation in the compute chart earlier. The chart below spends the fixed 1018 operations on more or fewer unique examples, with and without augmentation. Brehmer et al.
A 2026 study of blood-flow simulations found augmentation falling short. Rygiel and colleagues compared a transformer built to respect rotations, translations and reflections with one that has the same number of blocks and tokens, but different widths and no symmetry, trained on rotated copies. On three benchmarks, the largest with about 8,500 training simulations, the augmented network’s error on the original test sets was 9% to 40% higher. The symmetric network took 2 to 11 times longer to train, and giving the other more training made it no better. Rygiel et al. 2026
Longer molecules and calculations that assume the symmetry
In one study, a learned symmetry weakened on inputs unlike the training inputs. A transformer model of molecular forces, trained with rotation augmentation, respected rotations closely on its own test set and less closely on longer chain molecules outside its training distribution. Part of that loss came from rounding error, which also affected a model with exact symmetry.
The model is also not conservative: it predicts forces directly rather than from an energy, and in simulation the errors added up. Its constant-energy simulations drifted in energy more as the molecules grew. Running it in double precision stabilized six of the eight molecules tested. Adding, on top of double precision, a random rotation of the input at every step, which applies the symmetry at prediction time, stabilized all eight. The authors read the rotation as keeping a systematic error in one direction, left by the imperfect symmetry, from adding up over steps. On their account that error mattered alongside the rounding error and the lack of an energy. Eissler et al.
A missing symmetry also shows when a downstream calculation assumes it. A model of atomic forces that does not respect rotations gave a thermal-conductivity error score of 0.222, where lower is better, when the calculation did all the work. It gave 0.868 when the calculation used the crystal’s symmetry to skip work. A model built to respect rotations gave 0.412 either way. The two models differ in more than the symmetry, so the gap between 0.222 and 0.412 does not price it; what building the symmetry in changed is that the score no longer depended on how the calculation was run. The first model retrained with a penalty for breaking rotation invariance gave 0.232 and 0.365: the penalty narrowed the gap without closing it. Rhodes et al.
Penalties in the loss
A penalty in the loss imposes a regularity through the objective rather than the data, and only at the points where it is evaluated. A physics penalty can also be hard to optimize, because its differential operator makes the loss far steeper in some directions than others. The examples here favour building in what can be built in exactly.
Away from those points, a penalty holds only as far as the network generalizes from them; the evidence for this below comes from monotonicity constraints, and a limb-symmetry study shows that imposing constraints harder at the sampled points did not help. The best-known penalties are physics-informed: a physics-informed neural network is trained to make a differential equation’s residual small at sampled points, alongside fitting any boundary values and data. They are the subject of the second problem, optimization.
Where a penalty holds
A penalty leaves the constraint broken wherever training did not impose it. A monotonicity penalty asks predictions to move one way as a feature rises. On a census income dataset it left 14.4% of data points where, with the other features held fixed, the prediction fell somewhere as that feature rose across its range; on an airline pricing dataset, where the prediction should not rise with price, 1.5% broke the constraint. A network of lookup tables built to be monotone had none on either. Gupta et al. 2019, Gupta et al. 2016
In one pose-estimation study, imposing constraints harder at sampled points did not fix this. Márquez-Neila and colleagues enforced six limb-symmetry constraints on a pose-estimation network as hard constraints over each training batch, with a Lagrangian method. It did no better than a penalty and did not satisfy the constraints even on the training data. It also ran 10 to 100 times slower. Márquez-Neila, Salzmann and Fua
Lagrangian methods have done better elsewhere. On a monotonicity constraint for a small network trained on 200 to 800 examples, one cut violations below both a fixed-weight penalty and no constraint, without removing them. In a physics-informed design problem, another brought the equation’s residual loss at the sampled points below 10−4 without the loss of design quality that a steadily growing penalty caused. Neither showed the constraint holding at every input. Fioretto et al., Lu et al.
Why a physics penalty can be hard to optimize
Penalties have a second problem besides where they hold: they can be hard to optimize. A small calculation done for this digest shows why. Solve u″ = f on the interval from 0 to 1, for any f, with boundary values u(0) = 1 and u(1) = 2. Write u as a straight line plus 10 sine waves, each zero at both ends and scaled to the same size. The loss adds two terms: the squared residual of the equation at sampled points, and a penalty on the boundary values.
Each term sees only part of the model. The straight line, which carries the boundary values, has no second derivative and is invisible to the residual; only the boundary penalty sees it. The sine waves are zero at both ends, so only the residual sees them. Differentiating twice multiplies the k-th wave by (kπ)2, and squaring the residual squares that, so the loss’s curvature along the tenth wave is (10π)4, about 974,000, against about 2.6 and 0.4 along the line’s two directions, two mixtures of its intercept and slope.
Gradient descent must take steps small enough for the most curved direction, so it barely moves along the least curved. Starting from zero, 20,000 such steps bring the interior most of the way to its fit, and the residual is then as small as in a model with the boundary values built in. But the penalized model’s boundary values are 0.06 and 0.10 instead of 1 and 2. The figure below shows the curvature along each direction, then runs both models through those steps.
A direction needs about 974,091 divided by its curvature steps to get 63% of the way to its fitted value: each step closes the same fraction of the remaining gap, and after that many steps about 1/e, or 37%, remains.
The curvature arithmetic
The squared residual’s curvature in the k-th wave’s coefficient is (kπ)4: 97 for the first wave and 974,091 for the tenth. In the plane of the line’s two numbers, its intercept and slope, the boundary penalty’s curvature at unit weight is 2.618 in one direction and 0.382 in the other. With a step of one over the largest curvature, those two directions move about 372,000 and 2.55 million times more slowly than the fastest wave, and 20,000 steps cover about 5% and under 1% of the way along them.
Rathore and colleagues measured this kind of ill-conditioning in real physics-informed networks. After training, the loss was steep in a few directions and nearly flat in many: the curvature had outlying eigenvalues above 103 to 105 across three equations. The residual term, which carries the differential operator, was its worst-conditioned part. Its consequences depend on how the network is trained. Rathore et al.
On a convection equation with a convection coefficient of 40, Krishnapriyan and colleagues’ network, trained by one standard procedure, had a relative error of 96%. Warm-started through a curriculum of increasing coefficients, it had 5.3%. Krishnapriyan et al.
Rathore and colleagues trained the same penalty with Adam followed by a second-order optimizer, wider networks and a larger budget, and reached 0.4% in the best run over several widths and five seeds. So the 96% failure belongs to a training procedure that the penalty makes hard, not to what the penalty can reach. Rathore et al.
Building the constraint in
Better optimization is one fix. Building the knowledge in is the other, and where it is possible the difference can be large. In a lid-driven cavity flow, a penalty for incompressibility left errors of 75% to 78% under every training variant tried. Defining the velocity from a stream function, which makes the flow incompressible by construction, gave 27% with plain training and 3.4% with the best variant, in a single configuration. Wang, Teng and Perdikaris
The practical pattern is to build in what can be built in exactly, such as boundary values or incompressibility, and penalize only what cannot. The first physics-informed papers already built incompressibility in through a stream function, though they penalized boundary values. Raissi, Perdikaris and Karniadakis, part I, part II
Which part of a structure does the work
When a structured model beats a plain one, the property it is named for is not always what helped. In Hamiltonian networks written as a kinetic plus a potential energy, on systems in Cartesian coordinates, making position change through velocity did most of the work for long-run prediction accuracy, not energy conservation; in convolutions on CIFAR-10, locality outweighed weight sharing.
A structural model changes several things at once. Giving a network the usual Hamiltonian form, a kinetic plus a potential energy, does four things. It makes the network predict derivatives, makes position change only through velocity, conserves a learned energy, and makes its dynamics symplectic. Symplectic dynamics, among other things, preserve volumes in the space of positions and momenta. Gruver and colleagues separated these. Gruver et al.
Hamiltonian networks
Gruver and colleagues call the property of making position change only through velocity second-order structure. A plain network predicts how both positions and velocities change. A network with second-order structure is told that the rate of change of position is the velocity, and models only how velocities change, as in mechanics.
Second-order structure did most of the work for systems written in Cartesian coordinates. Adding it alone to a plain network cut its long-run error on a two-link spring pendulum from about 0.032 to 0.012, close to the full Hamiltonian network’s 0.010. In the authors’ direct comparison on spring pendulums, the gap between the two vanished or even favoured the plain network with second-order structure. On a simulated swimming robot, the largest gain of the three robots tested, it left the two-step training error unchanged and cut 200-step error from about 0.36 to 0.047 (read off figures). For systems written in joint angles, a further advantage for the Hamiltonian network remained, which the authors attribute to the energy being a simpler function than the motion in those coordinates. Gruver et al.
On Gruver’s systems, energy conservation was not what produced the gain. If it were, a Hamiltonian network should break the true energy less than a plain network that tracks the motion equally well. Gruver and colleagues compared the two at equal long-run error in the motion, not at equal held-out loss as Greydanus did, and found they violated the true energy by the same amount. The authors conclude that the Hamiltonian networks’ better long-run predictions cannot be put down to conserving energy better. The energy a Hamiltonian network conserves is its own learned one, not the true energy. Lower energy error there went with lower long-run error rather than causing it. Conserving a learned energy keeps that energy from drifting, the failure Greydanus’s long run measured, though Gruver’s result does not show that conservation never helps. Gruver et al.
For the Greydanus result in the held-out section, the question of which part worked stays open. Greydanus’s network outputs a general energy rather than a kinetic plus a potential term, so it lacks second-order structure. Gruver’s experiments do not say which part of its structure produced its advantage, and Greydanus and colleagues credit the conserved learned energy. Symplecticity was tested only as a penalty, which gave no consistent gain. Gruver et al.
Convolutions and models of molecules
The same separation recurs in vision. A convolution builds in two things: it looks only at nearby pixels, which is locality, and it shares the same weights across positions. In Neyshabur’s networks with a single convolutional layer, locality was worth 7.2 points of CIFAR-10 accuracy over a fully connected layer, and weight sharing a further 1.2; in deeper networks the split was 22.5 and 3.7 points. Neyshabur
ConvNeXt, a modernized convolutional network, improved on a 2015 ResNet-50 by 5.8 points. Of those, 2.7 came from the training recipe alone, meaning everything about training except the architecture (the optimizer, its schedule, augmentation and regularization), and most of the rest from changes unrelated to locality. So a modern convolutional network’s lead over an old one says little about what locality is worth; the training recipe returns in the section on scale. Liu et al.
Comparisons of models of molecules have the same problem. Steeper learning curves reported for models that respect rotations compare architectures that differ in much more than the symmetry, such as depth and tuning. One often cited, for the force model NequIP, compares versions that all respect rotations exactly; what differs is whether the features inside are numbers that rotation leaves unchanged, such as distances, or quantities that rotate with the molecule.
AlphaFold 3 replaced AlphaFold 2’s structure module, which worked with a frame for each amino acid, with a module that has no rotational frames or processing that respects rotations. Its authors report that the architecture did not need them, without an ablation that measures what dropping them cost.
It supplied rotation invariance in other ways. Its template inputs do not change under rotation, and the reference structure for each molecule is given at a random rotation. Training uses 48 randomly rotated copies of each structure and a loss that aligns structures before comparing them, and sampling applies a random rotation at every step. So the best-known case of dropping a built-in symmetry cannot say what the symmetry was worth: the invariance moved into the inputs, the training data and the sampling procedure. Ngo and Ravanbakhsh, Batzner et al., Abramson et al.
A claim that a model works because it conserves energy, or because it respects a symmetry, needs an experiment that removes that property alone.
What scale does to a built-in bias
A built-in bias supplies a regularity that data can also supply. In the image and text comparisons here its held-out advantage shrank as data grew, as when a soft locality bias’s lead fell from 13 points at 5% of ImageNet to 1.5 on all of it. Off the training data an advantage could stay, and for physical symmetries the question is contested.
Locality in images
As data grow, they supply more of what a built-in bias supplies, and the bias’s advantage on held-out accuracy should shrink. In vision, d’Ascoli and colleagues tested this directly. ConViT is a vision transformer whose first ten attention layers start out as convolutions, with a learned gate per head that lets each one stop attending by position. It was trained with the same recipe as a plain vision transformer of similar size on growing slices of ImageNet. It led by 13.0 points of accuracy at 5% of the data, about 64 images per class, and by 1.5 points on all of it. The chart below shows the lead at each slice. This is a soft locality bias, since the gates can switch it off. d’Ascoli et al.
The comparison holds the training recipe fixed, but ConViT differs from the plain transformer in more than its starting point. In the authors’ ablation on a larger ConViT, with 48 million parameters, at 10% of the data, the positional attention layers alone, with neither the convolutional start nor trainable gates, gave 6.8 of the 11.9 points. The convolutional start with its gates gave the rest. d’Ascoli et al.
Comparisons between separate architectures say the same once training recipes are matched. Dosovitskiy and colleagues used one recipe for both models and every dataset size, with no extra regularization on the smaller subsets. They measured each model by a linear classifier fitted on its features from five labelled images per class. A ResNet beat a vision transformer of similar speed when both were pretrained on 9 million images, about 52.7% against 41.9%. From 90 million on, up to the full set of 300 million, the transformer was ahead, by about two points at 300 million (read off the paper’s figure). Dosovitskiy et al.
On ImageNet alone, a stronger recipe raised the transformer’s accuracy. Given strong augmentation and regularization, the same transformer architecture trained on ImageNet’s 1.28 million images alone went from 77.9% under the original recipe to 83.1%, at 384-pixel resolution. At 224 pixels, a convolutional network of similar size under that recipe led a comparable transformer by about a point, 82.9% against 81.8%. Touvron et al.
At billions of images the two stayed within about two points in the comparisons available, one of them across papers. A convolutional NFNet pretrained on 4 billion images reached 90.3% on ImageNet, against a reported 90.2% for a vision transformer pretrained on 3 billion images at similar compute, a comparison across papers. Trained with one image-and-text recipe on 1.28 billion samples, a ConvNeXt was within 0.3 points of a vision transformer in ImageNet zero-shot accuracy at small and base sizes. It was 1.7 points behind at the large size, a gap the authors read as the transformer scaling better. Smith et al., Chen et al.
Where the gap does stay within a point or two once recipes are matched, this digest’s reading is that convolution excludes little that vision tasks need. In the first section’s terms it is a constraint, and a constraint costs only what it rules out. Stacked layers and pooling let a convolutional network compute functions of the whole image.
The same constraint is costly where images are not local. Trained on images whose pixels were all shuffled by one fixed permutation, which destroys locality but keeps the information, a ResNet lost about 75% of its five-example-per-class accuracy. An MLP-Mixer, a network of fully connected layers applied across image patches that builds in less, lost about 45%. Tolstikhin et al.
The transformer, given enough data, learns part of the bias itself. In a vision transformer pretrained on 300 million images, the most local first-layer attention heads look about 23 pixels away on average, against about 116 pixels, by this digest’s arithmetic, for attention spread evenly over the image. The same architecture trained on ImageNet alone, with the original recipe that came before the stronger augmentation and regularization above, had no first-layer head below about 92 pixels (read off figures). What it learns is not a convolution, since other heads in the same layer keep attending across the whole image. Raghu et al.
Position and number formats in sequences
Sequence models show the same shrinking on held-out data, with a different result off it. At the training length, a 247-million-parameter model with ALiBi, trained and tested on 2,048-token inputs from a small corpus, reached perplexity 17.91 against 18.87 with the original sinusoidal position scheme. At 1.3 billion parameters, trained on a much larger corpus at the same input length, the perplexity advantage vanished: 8.84 for ALiBi against 8.83. On inputs twice the training length, where the sinusoidal scheme breaks down, the larger ALiBi model kept a large lead, 9.30 against 37.05.
Model size and corpus both changed between these two comparisons, so they do not separate the effect of more data from that of a larger model. The advantage also looked different by another measure. In another group’s controlled comparison at 1.3 billion parameters, ALiBi was about two points ahead of learned or rotary position schemes in average zero-shot accuracy on downstream tasks. At that size, then, the advantage vanished on perplexity against one scheme and not on downstream accuracy against others. Press, Smith and Lewis, Le Scao et al.
Writing numbers so that each digit carries its place value, as in “8 10e2 3 10e1 2 10e0”, shows the same shrinking on held-out data. It let a fine-tuned T5 add 30-digit numbers with about 63% accuracy from 1,000 examples, where digits alone scored zero (read off a figure). With 10 million examples every format exceeded 99.9%, except numbers split into subword tokens, which still erred 2.1% of the time.
Numbers longer than any seen in training were another matter. With place values written in, models trained on numbers of up to 15 digits scored zero on 20-digit ones, at each of the three sizes reported, from 220 million to 3 billion parameters. Trained on up to 50 digits, the largest added 60-digit numbers 99% of the time and the smaller ones far less reliably. No other format was tried in these extrapolation tests, so they compare no biases. They show that a representation suited to the task did not by itself carry these models past the lengths they were trained on, so suiting the task did not suffice off the training data. The cases above suggest it is also needed. Nogueira, Jiang and Lin
Structure in language
In language, pretraining supplied a structural preference that the same encoder-decoder, trained from random weights on the question data, lacked. Pretrained T5 and mT5 models, fine-tuned on the ambiguous question data, moved the main-clause auxiliary 87% and 99% of the time. The same architecture with random weights moved it at most 50% of the time and almost never produced a fully correct question. Pretraining is not the only route. The transformers in the first section, trained from random weights on the question data alone, acquired the preference when trained to predict every word, given statements of the test sentences’ shape to copy, and more of it with longer training. Mueller et al.
How much text pretraining needs depends on the text. RoBERTa models pretrained on up to a billion words still preferred surface features, such as word position, over grammatical ones on ambiguous tasks, and only the released model, trained on about 30 billion words, preferred linguistic features with some regularity. A T5 with eight encoder and eight decoder layers, pretrained on 5 million words of speech addressed to children, put the main-clause auxiliary first 73% of the time, against 27% after 100 million words of Wikipedia. Warstadt et al., Mueller and Linzen
On this digest’s reading, in language the need for designed structural biases has been met mostly without building them into the architecture: by pretraining, or by the training objective and how long training runs. In vision, more labelled images and designed augmentation did most of the same work. The section on biases learned from data asks how far the pretraining route can be designed.
Symmetries of physical systems
For the symmetries of physical systems, the question is contested. Some large models of atomic forces without equivariant layers match models with them on held-out accuracy at several times the speed. On a large catalyst benchmark, a 146-million-parameter model of this kind reached a test force error of 13.19 against 13.80 meV per ångström for an equivariant model of similar size, while training about nine times as fast. A 317-million-parameter version reached 12.65 at about four and a half times the speed. Its inputs and internal features do not change under rotation by construction; only its force output carries direction. Qu and Krishnapriyan
A second comparison is mixed. On molecules whose compositions were held out of training, a billion-parameter transformer on raw coordinates, trained with rotation augmentation at roughly matched training operations, had a 41% higher force error than a 6-million-parameter equivariant model. It had a 9% lower energy error and trained faster in wall-clock time, and its authors read the comparison as a match. Kreiman et al.
Against these, both scaling studies that count operations favour the symmetric models: one built to isolate the symmetry, on rigid bodies, and one on atomic forces whose networks differ in more than the symmetry. The second also measured wall-clock training time on identical hardware and found the same ordering of scaling exponents, but its model without the symmetry was a plain message-passing network, not one built for speed. Brehmer et al., Ngo and Ravanbakhsh
Most of these models kept other structure in place of built-in rotations: inputs that do not change under rotation, net force and torque removed from predictions, or forces computed as the gradient of an energy. Of these, only energy-gradient forces conserve energy, which long constant-energy simulations need, and the direct-force models among them are of the kind that drifted in those simulations. For most of them, what was dropped is one expensive way of building rotations in. Neumann et al., Rhodes et al., Bigi, Langer and Ceriotti
Sutton’s essay
Sutton’s essay “The Bitter Lesson” is the usual reference for this question. It argues that “general methods that leverage computation are ultimately the most effective, and by a large margin”, that building in knowledge “always helps in the short term” but “in the long run it plateaus and even inhibits further progress”. It names “space, objects, multiple agents, or symmetries” among the things that “are not what should be built in”. The same essay notes that modern vision networks “use only the notions of convolution and certain kinds of invariances”.
Its evidence is four historical episodes, chess, Go, speech and vision, with no comparison at equal compute, and part of the mechanism it gives is where researchers spend their time. The controlled comparisons above are the evidence the essay does not supply.
On this digest’s reading, in vision they fit its short-term claim, with the bias helping most when data are few. They do not settle its long-run claim. The convolutional networks ended within a point or two of the transformers. They were ahead in some comparisons and behind in the two matched-recipe comparisons at the largest scales, 300 million labelled images and 1.28 billion image-and-text pairs. In one of those the authors read the gap as the transformer scaling better. For physical symmetries the controlled comparisons do not yet decide it. Sutton
Biases learned from data
A regularity with no architectural form can be put in by pretraining on data from a generator that has it. In the comparisons here that changed only the generator, what transferred was a computation the target task needed, such as pairing tokens at a distance in the bracket-language comparisons here; whether the designer’s prior itself transfers is contested.
Some regularities have no architectural form: a preference for simple grammars, or the kinds of relationships found in real tables. They can still be built in, by training first on data drawn from a generator that has the regularity.
Priors that can be checked
Prior-fitted networks make this checkable. A prior, here, is a probability distribution over possible datasets, written down before any real data are seen. A transformer is trained to predict held-out points of datasets drawn from a designed prior, given the rest of each dataset. For a Gaussian process prior, for example, each training dataset is made by drawing inputs at random from a unit cube and drawing their labels jointly from the process. The network sees part of each dataset and learns to predict the labels of the rest.
The best possible network for that objective outputs the Bayesian posterior prediction under the prior, so the injected bias can be checked against the specified one. For a Gaussian process, whose posterior is known exactly, the held-out negative log-likelihood at about 1,900 observed points, where lower is better, was about −3.0 for the exact posterior. A network trained on 4 million sampled datasets reached about −2.85, and one trained on 500,000 about −2.2 (read off a figure). Müller et al.
TabPFN applies this to tables, and shows that the design has moved into the generator rather than disappeared. Its second version was trained once on about 130 million synthetic tables from a hand-built mixture of random causal graphs, small random networks, decision trees, missing values and warped features. The generator’s settings were chosen against real development datasets. On 29 classification datasets of up to 10,000 rows, its mean ROC AUC was 0.932 against 0.920 for CatBoost, a gradient-boosted tree method, tuned for four hours, and it was higher on 25 of the 29. Against AutoGluon, an ensemble tuned for four hours, it was 0.932 against 0.926 and higher on 16 of the 29. Both comparisons were computed for this digest from the paper’s supplementary table. Hollmann et al. 2025
TabPFN’s two versions fit the reading that the bias follows what the generator generates, but they do not isolate it. They also bear on the uninformative columns that cost the residual network in the section on wrong biases. Its first version had a generator that rarely produced uninformative columns, and adding such columns cost it about 0.03 in ROC AUC against about 0.008 for gradient-boosted trees. The second version’s generator produces them, and with 90% uninformative columns its normalized score fell only from about 0.93 to 0.90, against 0.84 to 0.69 for CatBoost (all read off figures). Hollmann et al. 2023, Hollmann et al. 2025
The second version also changed the architecture, from one token per row to one per table cell, with attention across columns as well as rows. A 2026 study trained small models of both layouts on the same synthetic regressions in which only a few inputs matter. The newer layout came much closer to the best possible prediction, and the gap nearly vanished when every input mattered. So part of the second version’s tolerance of uninformative columns plausibly comes from its architecture. Zhao et al. 2026
Pretraining on a formal language
A brief first stage of training on structured data can also give a language model a bias. Hu and colleagues trained a 160-million-parameter transformer on 30 million tokens of a bracket language, in which every opening bracket is later closed by its partner, before 665 million tokens of English web text. Its final validation loss was 3.741, against 3.780 without the bracket stage, and it was lower on 99.8% of validation documents. Spending the same steps on more English gave 3.754, lower on 99.2% of documents, so on loss alone the bracket stage’s margin over more English is within the paper’s stated uncertainties of 0.014 to 0.018. Hu et al.
Against no first stage at all, the controls show that the bracket structure, not the token statistics, made the gain. Corpora with the same token statistics as the bracket language but no pairing gave about 3.88 to 3.92 (read off a figure). A language that copies tokens, which also links tokens at a distance but without nested or interleaved brackets, gave 3.792, and random strings 3.798 to 3.810. All of these are worse than the 3.780 with no first stage. At 1 billion parameters, the bracket stage reached the plain model’s final loss with 33% fewer tokens.
On judging which of two sentences is grammatical, none of the first stages made a measurable difference. All four formal languages tested, three bracket languages and the copy language, gave accuracies from 0.714 to 0.719 against 0.710 with no first stage. More English left it at 0.710, and random strings gave 0.712. Those differences are within the ±0.011 the paper gives for the model with no first stage. Hu et al.
What the model acquires is a computation the target needs, which can be narrower than the regularity the designer meant to inject. Papadimitriou and Jurafsky trained recurrent networks on bracket corpora, froze them, and retrained only the word embeddings on Spanish. Their nested corpus nested its pairs so that they never cross, as in ( [ ] ); their flat corpus placed each pair independently of the others, so that pairs can cross, as in ( [ ) ]. After nested brackets the Spanish perplexity was 171.0, after flat crossing pairs 170.0, and after random words drawn with natural word frequencies 493.2. Pairing brackets at a distance mattered; nesting added nothing measurable. Papadimitriou and Jurafsky
Whether the designer’s prior transfers
Whether such training transmits the designer’s prior itself is contested. McCoy and Griffiths meta-trained a recurrent network on 25,000 formal languages sampled from a prior favouring simple grammars, so that it would start from weights that learn such languages quickly. Each held-out language was scored by an F-score from 0 to 1. It combines how many of the network’s 25 most probable strings belong to the language with how many of the language’s 25 most probable strings the network produces.
From 10 examples the meta-trained network reached an F-score of about 0.66, against 0.30 for the same network from random weights and 0.76 for a Bayesian learner. By 10,000 examples all three were near 0.92 to 0.95. Leaving recursion out of the meta-training prior removed much of the advantage on eight test languages that need it, about 0.52 against 0.78 from 10 examples (both read off figures). The authors take that as evidence that the network carries the specified bias within that family of languages. McCoy and Griffiths
Two later papers dispute that reading. One argues that what transfers is a reusable mechanism, such as a counter, rather than the prior’s preference for simplicity. With its own family of grammars, it found that a prior favouring complex grammars gave the same gain as one favouring simple ones. Meta-training on a single context-free or context-sensitive language, which needs memory that grows with the string, such as a counter, gave as large a gain as meta-training on 5,000 languages. A single regular language, which needs no such memory, gave little or none. Goodale, Mascarenhas and Lakretz
The other argues that the procedure installs no prior in the usual sense, only a favourable starting point, and that the network does well because of that starting point and training that is stopped early. It tested strings made of n copies of one symbol followed by n of another, a language in which a Bayesian learner that has found the grammar is right for every n. One of McCoy and Griffiths’ released networks placed the end of the string correctly only up to n of between 38 and 51 at every training-set size from 10 to 100,000 strings, with no consistent upward trend. Its F-score was perfect from 1,000 strings on.
The two measures disagree because the F-score checks only the 25 most probable strings, and the network’s failure lay beyond them: it has the blind spot of held-out error in the earlier section, scoring where the data are dense. More data did not move the network’s limit. On a companion language with a third block of symbols the limit did rise, from 21 to 82 over the same range, but stayed finite. Both limits were above the largest n among the training strings at every size, so the network went some way past its examples without finding the rule. Well and colleagues read this as falling short of the Bayesian learner it was meant to approximate. Well et al.
What further training does to a learned bias
Further training on the target task can do two different things to a learned bias. It can make the bias redundant, meaning the data alone now reach the same accuracy, or erase it, meaning the computation it installed is gone from the trained network.
A learned bias is soft, and its advantage on overall accuracy shrinks as downstream data grow. Object detectors trained from scratch, for longer, on 10,000 images matched ones initialized from ImageNet, 25.9 against 26.0 average precision; at 1,000 images the initialization mattered, 3.5 against 9.9. That shows the bias becoming redundant, not whether it is erased. He, Girshick and Dollár
Where the bias itself was probed, it persisted: the attention heads that implemented the bracket language were still in use after 665 million tokens of English. Hu et al.
A learned starting point can also leave a cost. Hernandez and colleagues fine-tuned small pretrained language models on code and compared them with a model of the same size trained on code from scratch. The from-scratch model comes within 1% of its best loss at some amount of code; the fine-tuned models, given 10 to 100 times that amount, still ended above its loss. The runs were not tuned for fine-tuning, and the authors did not test whether tuning would recover the gap. Hernandez et al.
Whether further training can erase a learned bias has no direct test here. One result is suggestive, though it measures loss rather than probing the computation. Without early stopping, the meta-trained grammar network’s test loss on a new language rose as training on that language continued. Well and colleagues read that overfitting pattern as its success coming from the starting point combined with training cut short; if so, training for longer undoes part of what the starting point gave. A designed starting point can be overridden in a similar way: ConViT’s gates switched off positional attention almost entirely in its later layers. Well et al., d’Ascoli et al.
Probes of the computation itself come so far from synthetic tasks with ordinary pretraining rather than a designed bias. Fine-tuning with a small learning rate left pretrained computations in place behind a few neurons that pruning removed, while after fine-tuning with a large one they could not be revived. Jain et al.
The cost of learning a bias
Learning a bias also has an up-front cost, in tasks or data. Baxter’s theory covers a feature map with W weights shared across T related tasks, each with k parameters of its own. It bounds the examples needed per task by order k + W/T, against k if the shared features were known, and needs a number of tasks that grows with W. Baxter
In a direct comparison with a symmetry, meta-learned weight sharing trained on 400 tasks of 20 examples each matched a convolution on exactly translation-symmetric problems. With 2 examples per task it fell short, 0.07 against 0.00 in mean squared error. Trained on 800 tasks, it beat the convolution on two partly symmetric problems, 0.07 and 0.16 against 0.43 and 0.41. There the convolution is a symmetry the data only partly have, imposed exactly, the kind of wrong constraint the section on wrong biases priced in a linear model. Zhou, Knowles and Finn
Deciding how to build a regularity in
The sections above suggest five steps. Check the regularity on labelled data and decide where it must hold; impose exact regularities exactly and approximate ones softly; test by removing each property alone at several data sizes; and write regularities with no architectural form as generators. This is this digest’s synthesis, not a tested method.
- State the regularity as a claim about the labels, and check it on labelled data. Rotation does not change a molecule’s energy; it does change a handwritten 6 into a 9, and on an upright benchmark it discards information the inputs carry.
- Decide where the regularity must hold. If it matters only on inputs like the training inputs, augmentation is usually the simplest to add. In some studies here it came close to a built-in symmetry, on point clouds and on rigid bodies with few distinct examples; in others it did not, on rigid bodies with plentiful data and on blood-flow simulations. A penalty can fall short if it is hard to optimize. If the regularity must hold off the training data, on longer inputs, larger systems, long simulations or in downstream tools that assume it, build it into the model or apply it at prediction time.
- Impose an exact regularity exactly. If the exact model trains badly, try relaxing it: relaxing a symmetry has helped even on exactly symmetric problems, which its authors conjecture or argue is because it makes optimization easier. Impose an approximate regularity softly, and let held-out data or the marginal likelihood set its strength, because training fit cannot. Relaxed and penalty-based methods found which regularities hold more reliably than how strongly; the marginal likelihood recovered the amounts on transformed digits, where they were known.
- Test by removing the property alone, at two or more data sizes, and evaluate where the training data are silent. A single comparison on a test set like the training set shows at most whether a bias helps at that size. It cannot show whether the bias is becoming redundant, whether it costs a floor, or what it does where the data are silent.
- If the regularity has no architectural form, write it as a generator and pretrain on it. Check what was injected against the specified prior where possible, and test outside the generator’s range.
What is settled, what is interpretation, what is open
Settled here are measurements and theorems under narrow conditions: what a bias saves or costs in kernel and linear models, where held-out error and penalties fall short, and which part of a structure did the work. That where a bias holds decides what it does off the training data is this digest’s reading. Four questions stay open.
Settled, under the conditions stated in each section:
- For kernel ridge regression with an exactly invariant target, building in a finite symmetry is worth as many times the data as the symmetry has transformations, in the limit of large samples, and on the hardest such target no estimator beats that rate by more than a constant factor. A continuous symmetry makes error fall faster by lowering the effective dimension.
- For kernel methods at affordable sample sizes, how close the saving came to the number of transformations depended on how they act: all orderings of a few coordinates saved a small fraction of their number, while cyclic shifts of the coordinates, in the simulation, saved at least theirs (8.8 down to 5.4 over 16 to 256 samples).
- In linear regression, a symmetry slightly stricter than the true one, imposed exactly, estimates fewer numbers but carries a fixed error at every sample size. It beats the true symmetry below a crossover (32 samples in the example) and no constraint below another (70), and loses to both above them, once the fixed error dominates.
- Imposed softly, a wrong symmetry fell back to the unconstrained model’s error in the two tests here, the linear simulation and a network predicting an inertia matrix. Built strictly around the wrong transformations, the network was about eight times worse than no constraint.
- A constraint right about the labels and wrong about the data cost accuracy: on a benchmark that stores its shapes upright, making a classifier ignore rotation lowered its accuracy from 78.1% to 61.9%, which the authors read as lost orientation information, a clue to the class.
- Augmentation and a built-in symmetry give the same predictor for kernel ridge regression trained on every transformed copy, when the transformations are finite in number and leave the kernel unchanged, and not in general.
- Held-out error on inputs like the training inputs can understate a bias: models with nearly equal held-out error differed far more in long simulations and on inputs unlike the training inputs. The gap it shows does not always close with data: a rigid-body simulator built with a symmetry kept about half the loss of a standard one at every compute budget tested, from 1016 to 1019 operations, even with unlimited data.
- In models of atomic forces, predicting forces directly rather than as an energy gradient changed held-out force error by between about −1% and +73% across the datasets tested. Whether forces are an energy gradient, together with other choices that keep the energy smooth, decided whether long constant-energy simulations conserved energy.
- A penalty is imposed only at the points where it is evaluated, and none of the penalty or Lagrangian methods here made a constraint hold at every input. How well a physics penalty fits depended on training: on one convection problem the error was 96% under one standard procedure and 0.4% in the best run of a stronger one.
- In the cases here, a structured model’s advantage came from a different part of its structure than the one in its name: mostly making position change through velocity, not energy conservation, for long-run prediction accuracy in Hamiltonian networks written as a kinetic plus a potential energy, on systems in Cartesian coordinates, and mostly locality rather than weight sharing in convolutions on CIFAR-10.
- In vision, with the same modern recipe on both sides and ImageNet alone as data, a convolutional network and a vision transformer of similar size ended within about a point of each other, the convolutional network ahead, in the one such comparison here.
Interpretation, this digest’s own:
- That where a bias holds, at every input or only where training imposed it, decides whether it acts beyond the training data, and that whether the task there needs the regularity decides whether it helps. The studies reviewed for this digest fit that reading, but no theorem here covers extrapolation.
- That for continuous symmetries of large inputs, such as molecules, the gain in rate is small in relative terms. This is this digest’s arithmetic, using the formula outside the theorem’s smoothness condition, and it says nothing about a constant factor, the kind of gain the rigid-body scaling study found.
- That in language, the need for designed structural biases has been met mostly without building them into the architecture: by pretraining, or by the training objective and how long training runs. In vision, more labelled images and designed augmentation did most of the same work.
- That what pretraining on a generator transfers is a computation the target task needs, which is not always the regularity the designer had in mind.
- That the practical pattern for constraints is to build in what can be built in exactly, such as boundary values or incompressibility, and penalize only what cannot. The largest difference behind it, in a lid-driven cavity flow, comes from a single configuration.
- That convolutional networks and vision transformers stay within about two points at billions of images. This rests on one comparison across papers and one study whose authors read its gap as the transformer scaling better. The reading of Sutton’s essay that follows from it, that the vision results fit its short-term claim and do not settle its long-run one, is this digest’s too.
Open, with the cheapest experiment that would settle each:
- Whether the crossover for a nearly true symmetry appears in deep networks: no paper found here varied training-set size. Sweeping it from hundreds to tens of thousands of examples on a synthetic task with a known symmetry violation, with several seeds, would show it.
- For the symmetries of physical systems, whether large models without them have caught up. One study found the symmetric models scaling better in wall-clock training time as well as in counted operations, against a plain message-passing network. The cheapest test is to repeat that comparison against a non-symmetric model engineered for speed and tuned with equal effort, across several scales.
- Whether a bias injected by pretraining is ever erased by long fine-tuning, as opposed to made redundant. The nearest evidence is a meta-trained network whose test loss rose as training continued, and synthetic tasks in which fine-tuning with a small learning rate left pretrained computations in place while a large one did not. Probing the installed computations over a long fine-tuning run would answer it for injected biases.
- Whether meta-training transmits the designer’s prior or only a favourable starting point, which McCoy and Griffiths, Goodale and colleagues, and Well and colleagues dispute. Repeating Well and colleagues’ length test on networks meta-trained from priors that differ only in their preference for simple grammars would show whether that preference carries over.