groundy
Infrastructure & Runtime

TabPFN vs Symbolic Regression: When Tabular Data Follows a Rule

TabularMath results show TabPFN v2.5 fits trends but fails exact out-of-range queries, favoring symbolic regression for deterministic rules.

Published 8 references
On this page12 sections

When every label is a program’s output and answers must remain exact outside the training range, median R² should not gate a release. On the new TabularMath benchmark, TabPFN v2.5 reports a median R² of 0.999 in-distribution and 0.76 when nearly every answer exceeds the training range, yet its exact-answer accuracy falls from 39.5% to 7.8%. These are author-reported abstract results, not independently reproduced measurements. The available abstract does not specify the evaluation harness, split definitions, baseline configurations, identities of the nine tabular methods, or symbolic-regression implementation. They are a reason to change validation and inspect the full paper, not a settled production ranking.

The practical choice is nevertheless clear. If a pricing calculation, billing rule, or simulator already has a deterministic implementation, keep it as the reference. If the rule is unknown but recoverable, symbolic regression deserves the first attempt. A tabular foundation model can still be useful for interpolation or noisy outcomes, but a strong aggregate fit is not evidence that it has recovered the computation.

Is your label a statistic or a program?

This distinction matters more than the model family.

A historical insurance claim table records noisy outcomes. Two otherwise similar policies can produce different claims, so a close probabilistic prediction may be the appropriate goal. A table generated by a financial formula or physical simulation is different: each row has one correct answer, and another row can be checked by executing the same computation.

TabularMath targets the second case. It contains 114 deterministic computations and 233,472 rows, compiled from GSM8K and AIME problems into verified programs. By construction, every label is the program’s output on that row’s inputs, and the authors say the training rows typically suffice to recover the program.

That construction gives symbolic regression a fair opportunity, but it also limits the conclusion. A result on programs derived from math problems does not establish how any method will behave on a real pricing portfolio. Conversely, good performance on noisy claims does not show that a model can reproduce an exact calculator.

The benchmark’s final v2 was posted on November 20, 2026, following a preliminary version at the ICML 2026 AI4Math Workshop. The underlying question is more durable than that release: are you validating a statistical approximation, or attempting to recover a rule?

A positive out-of-range R² can conceal unusable answers

TabPFN v2.5 is the regression-metric winner in the abstract’s account. With 128 training rows, its median R² is 0.999 in-distribution. Out of range, it is the only evaluated tabular method whose median R² remains positive, at 0.76.

The exact-answer results describe a different model. Accuracy drops to 7.8% out of distribution, and TabPFN answers no query correctly in 70 of 100 GSM8K tasks. A dashboard gated on R² could therefore approve a model that fails every exact query on most of those tasks.

There is no contradiction between those measurements. R² summarizes error across rows; exactness asks whether each individual answer is acceptable. Small residuals can leave an aggregate score looking strong while still producing wrong calculated outputs. For an approximate forecast, that tradeoff may be reasonable. For a deterministic invoice or pricing formula, the acceptable error is defined by the calculation, not by the average behavior of the validation set.

The authors summarize the problem as an inductive-bias gap: tabular foundation models “fit the trend but miss the computation.” That is their interpretation of this benchmark, not a universal law about neural networks. It is, however, a precise warning about what a regression metric cannot certify.

Buying more rows did not buy the rule

The data-scaling result strengthens that warning. According to the TabularMath abstract, sixteen times more rows raise TabPFN v2.5’s out-of-distribution exact accuracy by only 0.4 percentage points.

This does not prove that additional data can never help another architecture, checkpoint, or task. It does undermine a specific and expensive response to the failure: assuming that a larger sample from the same generating process will eventually turn interpolation into program recovery.

Before expanding a training pipeline, run the scaling experiment on the actual calculation. If exactness remains nearly flat while aggregate error improves, more rows are improving the approximation rather than establishing the rule.

Why symbolic regression wins on many of these tasks

Symbolic regression searches for an explicit expression rather than only a flexible mapping from inputs to outputs. If that expression matches the generating program, evaluating it on new inputs can preserve the computation beyond the observed range.

On TabularMath, symbolic regression using the numbers alone recovers every out-of-distribution answer in 72 of 100 GSM8K tasks. The contrast with TabPFN’s zero-correct result in 70 tasks is the central method-choice finding.

It is not a blanket victory. Symbolic regression did not perfectly recover the remaining 28 GSM8K tasks, and the competition-level AIME tasks remain open for every evaluated method. Nor does a returned expression prove recovery merely because it fits the training rows.

Independent symbolic-regression literature supports both sides of that judgment. A review of symbolic regression in the physical sciences argues that recovering even an approximation of the true functional form can provide an extrapolation advantage over local interpolation, while explicitly urging caution. It also notes that the search remains formally NP-hard even with constrained operators or bounded expression complexity.

Search reliability is a separate problem. An exhaustive-search and minimum-description-length paper argues that stochastic searches have an unknown probability of missing better functions, making their results untrustworthy without principled model selection. Runtime also belongs in the selection process: a multi-view physics evaluation found orders-of-magnitude differences in computing time between implementations under equal evaluation budgets.

For simulation teams, the payoff can still justify that work. In one particle-physics application, symbolic expressions used as emulators reduced CMSSM global-fit CPU time by two orders of magnitude while remaining interpretable. That is a domain-specific result, but it demonstrates the useful endpoint: not a neural surrogate that usually agrees, but an expression that can be inspected, checked, and executed cheaply.

Where GPT-OSS-120B fits

In-context learning with GPT-OSS-120B answers 39.2% of out-of-distribution queries. That exceeds TabPFN v2.5’s reported 7.8%, but it is not equivalent to symbolic regression’s task-level result of perfect recovery in 72 of 100 tasks. The percentages and perfect-task counts answer different questions and should not be collapsed into one leaderboard.

On this evidence, in-context learning is a possible source of candidate reasoning or a second opinion during rule discovery. It is not a sufficient basis for replacing a deterministic calculator. A 39.2% answer rate leaves most out-of-range queries unanswered correctly, and the abstract provides no recovered program artifact that could be independently executed and verified.

Choose by provenance and failure cost

Data and requirementMethod to start withEvidence and principal riskRelease condition
The source program or calculation engine is availableKeep the deterministic implementationReplacing it adds approximation risk without needing rule discoveryRegression-test the implementation against independently calculated cases and boundary conditions
Labels are noisy observations, and predictions are primarily in-rangeCompare established baselines with tabular neural modelsTabPFN has not consistently beaten GLM or tree-based baselines in independent evaluations; distribution shift remains a riskValidate on the real data, including shift probes, latency, and deployment constraints
Labels are deterministic, the program is unknown, and exact extrapolation is requiredTry symbolic regression while retaining the original generator as the test oracleTabularMath favors program recovery, but search can fail, runtimes vary, and AIME-level tasks defeat every methodRequire per-row exactness on fresh out-of-range rows and scrutinize the selected expression
A language model is being considered for direct answers or rule discoveryUse in-context learning as an auxiliary candidate generatorGPT-OSS-120B’s reported OOD accuracy is 39.2%, not an exactness guaranteeVerify any proposed rule by execution; do not route unverified answers directly into billing

This table is a decision inference from the cited evidence, not a measured production workflow. In particular, TabularMath’s TabPFN result should not be silently assigned to every boosting model. The abstract does not provide the per-method results needed for that claim. As summarized in a tabular distribution-shift study, the WhyShift benchmark finds that the gap between in-distribution and OOD performance persists across methods, while an open-environments evaluation of TabPFN v2 reports limitations under feature decrements and distribution shifts and finds tree-based models stronger for general tabular tasks. Those results justify testing the actual stack, not declaring one family universally exact or universally unsafe.

Add program-recovery probes to the release gate

A useful validation suite can keep ordinary regression metrics while adding checks that answer the deployment question directly:

  1. Record label provenance. Identify whether rows come from observed outcomes, an executable program, or a mixture. If an executable generator exists, preserve it as the oracle.
  2. Define exactness before training. Specify the per-row equality or tolerance rule appropriate to the calculation. Report the proportion of exact rows and the number of tasks with no exact answers, alongside R² or RMSE.
  3. Hold out ranges, not only random rows. Create probes whose correct answers exceed the training range, then compare every output with the generator. Random splits can leave interpolation performance looking reassuring while missing the deployment risk.
  4. Test recovered expressions on fresh executions. A symbolic candidate should be checked on newly generated inputs, including relevant boundaries. Training fit alone does not establish functional equivalence.
  5. Measure whether more data changes exactness. Repeat training at several row counts. TabularMath’s 0.4-point gain makes this experiment preferable to assuming that data volume will solve the problem.
  6. Check operational fit. Measure inference latency and resource use, verify capacity limits, and review the license for the exact checkpoint being deployed.
  7. Keep a deterministic fallback for critical paths. Until the candidate passes the exactness probes, discrepancies should not silently become customer-facing calculations.

This protocol is a bounded recommendation derived from the aggregate-versus-exact divergence. No cited study validates this checklist as a certification method.

Real pricing data complicates a simple anti-TabPFN verdict

An independent motor insurance pricing study found that TabPFN fell behind a GLM on claim frequency, was competitive on claim severity where data were scarcer, and had substantially longer inference times. TabPFN v2.6 also beat XGBoost on RMSE on the Belgian frequency dataset, where v3 performed worse than the other models. The useful conclusion is not that TabPFN is unsuitable for tabular data; it is that performance depends on the dataset and problem setting.

That study also exposes version and deployment issues outside TabularMath. It reports capacity of up to 100,000 samples and 2,000 features for TabPFN v2.6, and up to 1,000,000 samples for v3 when features remain below 200. On frequency data, v2.6’s performance was non-monotonic in context size, worsening from 2,000 to 10,000 policies and improving only slightly at 100,000.

Licensing can decide the architecture before accuracy does. The study states that TabPFN code is Apache 2.0, while the v2.6 and v3 weights were under Prior Labs’ non-commercial licenses at the time of writing, permitting research and evaluation but not commercial or production use. A team considering those releases for a pricing service needs to check the applicable current terms rather than inferring permission from the code license.

Nor should TabularMath’s v2.5 measurements be presented as results for v2.6 or v3. Capacity and licensing changes do not establish whether computational extrapolation has improved. Those versions need their own exact-answer evaluation.

What the benchmark cannot settle

The largest limitation is transfer. TabularMath’s tasks come from GSM8K and AIME math problems, not production business tables, and its detailed harness and baseline configurations still need checking in the full text. The results show a serious mismatch between aggregate fit and exact computation in this constructed setting; they do not quantify how often that mismatch will appear in a particular pricing engine.

Symbolic recovery also has a hard ceiling here: AIME remains open for every method. A failed search therefore cannot be answered with confident claims that a longer run or a more attractive expression must be correct.

I would keep deterministic code or a verified recovered expression on billing and pricing paths, and use TabPFN or another regressor where approximation is explicitly acceptable. For an unknown deterministic rule, start with symbolic recovery, test the result by executing fresh out-of-range cases, and treat in-context learning as assistance rather than authority. The release question is no longer whether the model follows the trend. It is which individual answers it can get wrong, and whether the system can tolerate them.

Frequently Asked Questions

How does symbolic regression perform on TabularMath compared to TabPFN?

On TabularMath, symbolic regression using the numbers alone recovers every out-of-distribution answer in 72 of 100 GSM8K tasks. The contrast with TabPFN’s zero-correct result in 70 tasks is the central method-choice finding.

What are the licensing restrictions for TabPFN v2.6 and v3 weights?

The study states that TabPFN code is Apache 2.0, while the v2.6 and v3 weights were under Prior Labs’ non-commercial licenses at the time of writing, permitting research and evaluation but not commercial or production use.

References

Follow the links in the article for context. The supporting material is collected here for further reading.

  1. TabularMath benchmarkarxiv.orgAccessed
  2. Multi-view physics evaluationarxiv.orgAccessed
  3. Particle-physics applicationarxiv.orgAccessed
  4. Tabular distribution-shift studyarxiv.orgAccessed
  5. Open-environments evaluation of TabPFN v2arxiv.orgAccessed
  6. Motor insurance pricing studyarxiv.orgAccessed

Join the discussion

Share a useful perspective or ask a question about this article.

Discussion guidelinesComments privacy