Structured Priors: An Algebra for Data Recipes, and a Failed Test
A structured prior — a data recipe written as named component priors joined by operators, where an operator is an action that lets recipes be added, scaled and composed like numbers — matters because its laws can be proved before any network is trained, not because it is another way to tune weights; and the paper itself draws the line by reporting a pre-registered test (one whose claim and decision rule are fixed before running) of one-network-per-component averaging that failed.
On this page
An engineer who builds tabular forecasts has a dozen near-identical spreadsheets on her desk: the same business, different months, the same columns, different row counts. By Friday her team must settle one question: how should the fake tables used for training be made? The easy route is to throw several ways of making them into a single program and fix, by hand, how much each one contributes; change a fraction and the only way to see the effect is to run the whole training again, and even when the number improves, nobody can say which of the ingredients earned it. That setup invites two quiet mistakes: assuming that piling on more ingredients and finer fractions must make the model better, and assuming that editing the setup costs nothing more than one more run. Paper [1] takes both assumptions apart, and it is candid about the step where its own idea did not work.
The Hand-Built Generator: Every Edit Costs a Full Rerun
A prior-data fitted network, or PFN, is a transformer (a network architecture built to infer from examples) trained on synthetic datasets sampled from a prior over data-generating processes [1]. In plainer words: a program invents thousands of fake tables, a model learns from them, and once trained it can be shown a few rows of a real table and predict the rest without refitting on that table. The prior is the distribution of the function that the generator produces — the rule governing which kinds of tables get made and how often, a recipe above the recipe. The line of work started in 2022, became practical for small tabular classification through TabPFN, and later reached a Nature tabular foundation model reported in volume 637, pages 319 to 326 [1].
Trouble begins when the recipe has more than one ingredient. TabICL, TabForestPFN, Mitra and TabICLv2 all add tree-based and other components to the generator, and combine them either with a categorical mixture (pick one component at random with fixed probabilities) or with an ad hoc composition, always using manually specified weights [1]. Figure 1 of the paper contrasts the two: on the left, components are glued inside a single program and the effect of a change is known only after a training run; on the right is what the paper proposes instead. Even a successful run does not tell you which component, or which weight, did the work.
So tuning weights becomes slow trial and error. The only judgment available is that last time this set of weights scored well, so nudge it again, while adding or editing an ingredient is priced as one more training run. Paper [1] starts from the opposite premise: if the relations between ingredients could be written down like numbers, with laws proved before training, then changing an ingredient would mean editing one part of an expression rather than gambling on a training job.
Writing the Recipe as a Term: Named Components and Five Operators
The proposal is a structured prior: instead of one large program, keep a small set of named component priors (each a standalone program you can sample from to make tables) and link them with operators into a term [1]. An operator is simply an action allowed on a recipe — adding two recipes together, scaling one by a factor, or feeding one into another, much as you would with numbers. The whole expression is called a term, so modifying the prior means modifying one part of a term, and the rules each action obeys are proved in advance rather than discovered after a run.
The abstract names five operators: mixture, convolution, amplitude scaling, local transform and projection [1]. In Section 3 and Table 1 the paper groups them into four for the proofs — convolution with amplitude scaling as one, local transform with composition as another — so the body text speaks of four operators and Figure 2 draws four columns. The difference is grouping, not contradiction; both counts appear in the paper and should not be read as two different systems. All operators are implemented as classes or functions in the author's Python package macl2l, described as an in-context-learning framework for Apple silicon that is still an unpublished manuscript [1].
In one sentence each: mixture picks a component at random by a weight vector and hedges between alternatives, with a cost bounded by log(1/w_i) per component for weight w_i. Convolution adds independent draws from several priors, combining labels as a times one vector plus b times another on shared rows, and for Gaussian processes (a family of models that describe distributions over functions with a kernel) the kernels simply add. Amplitude scaling multiplies a source of structure by a factor to set how strongly it speaks. A local transform fits a data-driven teacher (a standard model fitted on reference rows) to a prior's draws, and teachers can be stacked, so a teacher can be fitted to another teacher's output. Projection, given a basis of named priors, finds the mixture closest to a target prior, where closeness is measured by the Maximum Mean Discrepancy, a way of scoring how far apart two distributions look [1].
| Operator group | What it does | Law proved | Purpose |
|---|---|---|---|
| Mixture | Picks one component at random by weights | Dataset density is the weighted sum; the predictive combines components by posterior weight (Bayesian model average); cost at most log(1/w_i) per component | Hedge between alternatives; make component inference explicit |
| Convolution and amplitude scaling | Adds independent draws and sets each source's size | Forms a commutative semiring with mixture; scaling acts as an endomorphism (a self-map of the structure preserving its operations); Gaussian-process kernels add | Add independent sources of structure |
| Local transform and composition | Fits a teacher to draws; teachers compose | Monoid under composition (a family closed under composition, with an identity); additive and positively homogeneous (scaling carries through), so it distributes over mixtures | Reach priors outside the semiring |
| Projection onto a basis | Explains a target by a mixture of named priors | Unique minimiser of Maximum Mean Discrepancy over the weight simplex (vectors whose entries are non-negative and sum to one); fixes every mixture of the basis; non-expansive | Find weights by computation and drop zero-weight parts |
One property recurs down Table 1: every output is again a realisable prior, that is, a program you can actually sample from, so operators nest and the structured prior is a term of an algebra, which the main theorem collects [1]. Table 2 is the notation list: Pi for a prior, R for the set of realisable priors, M for the cone of realisable measures, w for a weight vector over K components living in the simplex Delta_K, and m_Pi for the dataset density, each tagged with its type.
The Laws Settled Before Training: Cone, Semiring and the Averaging Theorem
The paper is organised around five research questions, RQ1 to RQ5, and the first two are pure mathematics. RQ1 asks what counts as a prior; the answer is the distribution of the function a generator produces, these realisable priors form a cone (a set closed under addition and non-negative scaling), and the training objective of a PFN is minimised by the posterior predictive of its prior (the predictive distribution over unseen rows after conditioning on the observed ones) [1]. The point is that every object in the theory can be sampled and the target of training is known, so nothing has to be inferred backwards from a finished run.
RQ2 asks which operations keep a result inside the family of priors and what rules they follow. Mixture and convolution turn the cone into a commutative semiring, an addition-and-multiplication structure where both operations commute and multiplication distributes over addition; amplitude scaling acts through endomorphisms (self-maps preserving the operations) of that semiring; local transforms form a monoid (a family closed under composition, with an identity) of additive maps that distribute over mixtures; and projection onto a basis is the metric projection onto the convex hull (the set of all mixtures of the basis) of the embedded basis with respect to Maximum Mean Discrepancy [1]. Editing a recipe acquires a checkable grammar instead of being only runnable code.
Each operator also carries an exact law for the dataset law and the predictive of its result: mixture gives a weighted density and a Bayesian model average as its predictive; under convolution the kernels of Gaussian processes add; a local transform satisfies Pi tau_a = S_a Pi, so transforming by amplitude a equals scaling the measure by a [1]. The most consequential result is the averaging theorem: if each component network is the Bayes predictor for its own prior (the prediction rule minimising expected loss under a known prior), then averaging those networks by their prequential likelihoods — likelihood scores accumulated in the order the data arrive — gives exactly the Bayes predictor for the mixture, and when the component networks fall short, the theorem still bounds the cumulative excess risk (the loss accumulated above the ideal predictor) of the averaged predictor by the weighted average of the component risks [1]. A corollary carries the construction through convolution, scaling, transform and the projection used to derive the weights.
- How a changed component or weight alters the term and the dataset density is settled by proof before any training run;
- Every operator returns a samplable generator, so combinations nest without re-justifying each new layer;
- The averaging theorem is conditional, holding exactly when component networks are already Bayes predictors, and otherwise only bounding risk;
- The laws govern terms and distributions, not what a particular trained network actually learned, which has to be checked separately.
What the Experiments Show: Seven Tables, a Ninth of the Budget, One Failed Test
Three experiments were pre-registered, meaning their claims and decision rules were fixed before running: labelled N1, N2 and N4 — the paper skips N3 and names only these three [1]. N1 asks whether the implemented generators reproduce the algebraic identities; they do, within the resolution of a permutation test (a check that recomputes a statistic after shuffling to see whether a gap exceeds random noise), and the distributive law (the rule that composition distributes over mixture) survives training [1]. N2 tests the one-network-per-component construction, with the outcome described below. N4 asks whether pruning by projection depends on the dataset kernel (a kernel is a function measuring how similar two datasets are), and it does: projection prunes a basis of teachers at no measurable cost on the same two tables, yet it does not predict what adding a component gains, and which teachers it admits depends on the dataset kernel [1].
The hardest numbers come from RQ5. A combination of real windows (blocks of rows cut from the table at hand) and small teacher priors performs as well as or better than any individual component on 7 of 8 open regression tables [1]. On two of those tables, a structured prior reaches a level of error using only one-ninth of the data budget that a generic random-function prior fails to reach even with the full budget [1]. It matters to report only what the paper reports: it gives the count 7 of 8, the words two of these tables and one-ninth of the budget, and this extended abstract lists neither the names of the eight tables nor per-table error values. There is no leaderboard to reproduce and no average gain to compute.
A second figure concerns the cost of pruning. Section 5 states that on 8 of 8 comparisons, the arm trained with the two admitted teachers was at most one seed spread above the arm with all five, where seed spread is the spread between runs with different random seeds [1]. Dropping three teachers therefore cost no more than run-to-run variation. Together with the three pre-registered experiments and the five research questions, that is the full set of quantified claims in this version; there is nothing further to extrapolate.
N2 deserves its own paragraph because it is the most honest part of the paper. In theory the averaging theorem says that component networks averaged by prequential likelihood form the mixture's Bayes predictor, but the pre-registered test with actually trained component networks failed, because those networks identify the generating component too rarely to set the averaging weights correctly [1]. The paper does not bury the failure; it concludes that one network per component, averaged at use, is not yet practical, and names the first remedy to try as a density head, an output that gives a distribution over the label rather than a single predicted value.
| Claim | Number the paper gives | What the paper does not give |
|---|---|---|
| Combination vs single components | As good as or better on 7 of 8 open regression tables | Names of the 8 tables; per-table errors |
| Data budget | On two of those tables, one-ninth of the budget reaches an error level | The generic prior's exact error with the full budget |
| Projection pruning cost | 8 of 8 comparisons; two admitted teachers vs all five; at most one seed spread | Scores for individual comparisons |
| Pre-registered tests | Three: N1, N2, N4; N2 failed | Any account of N3 |
| Research questions | Five: RQ1 to RQ5 | Not applicable |
Where It Stops: The Questions This Method Cannot Answer
Section 5 states the costs plainly. Every family of tables needs training from scratch, whereas an already trained model needs at most one fine-tuning run (a short additional training pass on an existing model) per family [1] — an engineering price that writing the prior as a term does not remove. The studies ran one regression recipe on public tables, so classification and other recipes are untested [1], and the 7-of-8 result is bounded by that single recipe and those regression tables; it does not carry over to classification.
The most elegant theoretical result also remains unredeemed. The averaging theorem assumes each component network is the Bayes predictor for its prior, and N2 failed precisely because the trained networks could not tell which component generated a table; the paper says one network per component, averaged at use, is not yet practical, with a density head as the first remedy [1]. The complete proofs, the full experimental protocol and the list of excluded candidates are promised for a later version of this working paper (a preprint not yet finalised), dated 2 November 2026 as version 1 [1].
- It governs how to combine table-generating recipes, not which components a given family of tables should use — that stays a human design choice;
- It proves laws for terms and distributions, but does not guarantee a trained network obeys them; after training only the distributive law was checked;
- It reports counts and a budget fraction on eight regression tables, with no table names, no per-table values and no classification tasks;
- Its averaging theorem is conditional, and the condition that component networks be Bayes predictors did not hold in the test;
- Complete proofs, the full protocol and the excluded-candidate list are absent from this version.
In one line: this method applies when you have already decided to train specifically for a family of related tables and are willing to write the generating recipe as a composable term. If you want an off-the-shelf cross-task model, a guarantee on classification, or a way to skip a training run by averaging component networks, paper [1] has no answer for you; changing the evaluation setup or the engineering route matters more than adding one more operator to the term.
