## Compact mathematical formulas speed up cognitive parameter estimation

URL: https://theprimary.com/science/2026-11-28/symbolic-distillation-parameter-estimation
Published: 2026-11-28T01:55:31.511Z
Updated: 2026-11-28T01:55:31.888Z
Category: Science

Replacing black-box neural likelihoods with distilled equations cuts computational time by over a hundredfold while preserving the accuracy of latent psychological measurements.

When cognitive scientists try to understand how the human brain chooses between alternatives, they often study internal traits that cannot be directly observed. A person deciding whether a flashing image represents an animal or an inanimate object relies on underlying mental mechanisms, such as baseline processing speed, hesitation thresholds, and biases toward particular answers. Researchers routinely recreate these psychological dynamics on computers through simulated trials, yet translating real-world reaction times into precise mental parameters has long remained a difficult computational puzzle.

Deducing those hidden human traits requires evaluating a likelihood, the mathematical function that calculates the exact probability of observing a specific set of choices given a trial set of internal cognitive parameters. In many detailed cognitive and biological models, writing out that mathematical likelihood in closed algebraic form is impossible. Scientists in simulation-based inference have increasingly relied on amortized neural likelihoods, training deep artificial networks to approximate those elusive probability distributions from simulated data. While these machine-learning surrogates make previously impossible statistical calculations feasible, their internal connections act as black boxes that conceal the mathematical relationships governing the choices and consume heavy computational resources during large-scale data analysis.

To address this computational bottleneck, Kianté Fernandez and Xinwei Li developed a technique called symbolic distillation to translate opaque neural likelihood networks into compact, readable mathematical equations. In a preprint posted on September 29, 2026, to the arXiv preprint server, Fernandez and Li demonstrated an approach that converts trained neural models into explicit algebraic expressions without sacrificing the accuracy of the recovered scientific parameters. In addition to the paper, Fernandez's website is https://www.kiantefernandez.com/.

## Why does inferring hidden mechanisms from observations become so slow?

Scientific investigations of decision-making often stall because calculating the mathematical probability of every observed human reaction across thousands of hypothetical mental settings demands enormous computational power. To deduce an individual's hidden cognitive characteristics from observed response times, a statistical routine must repeat a multi-step sequence. First, the researcher specifies a candidate combination of latent traits, such as processing rate and decision boundaries. Next, the underlying generative model simulates what behavioral choices those traits would produce. Finally, an inference algorithm checks how probable the participant's actual choices are under that candidate setting, repeating the trial across millions of iterations to map out the most credible psychological parameters.

When an exact mathematical formula is unavailable, running a deep neural network at every step of that sampling cycle becomes prohibitively sluggish. Evaluating hundreds of artificial neural layers for every single subject across thousands of statistical samples creates a computing backlog, especially in population-wide studies that analyze diverse participants simultaneously. The neural network also offers no structural insight into why particular combinations of parameters generate specific behavioral distributions.

## How can algebraic formulas replace black-box neural networks?

Symbolic regression searches through mathematical building blocks to assemble concise algebraic equations that mimic the predictions of a complex model. Standard symbolic regression algorithms typically optimize for curve-fitting, prioritizing mathematical candidate formulas that match the raw likelihood values produced by the neural network as closely as possible across every coordinate. Fernandez and Li argued that this standard objective misses the primary goal of cognitive modeling, where researchers care far more about recovering the true underlying parameters than replicating minor fluctuations in the likelihood surface.

The researchers introduced a recovery-directed objective that steers the symbolic search toward formulas that preserve parameter-recovery accuracy. Under this pipeline, candidate mathematical expressions are tested on held-out datasets and selected using an evaluation criterion that balances three distinct properties: the algebraic complexity of the expression, its parameter-recovery performance, and its distributional distance from the learned neural likelihood. The search systematically discards unwieldy expressions that match the neural surface perfectly in favor of simpler formulas that reliably pinpoint the correct underlying cognitive parameters.

Balancing those three selection criteria required the authors to examine trade-offs across competing mathematical candidates. Kianté told Primary that the team "ended up looking at complexity over a range of possible levels" and from the Pareto frontier "selected candidate formulas which sat at the highest level of performance on parameter recovery for a given level of complexity." Kianté added that when testing how heavily to weight parameter recovery in the objective function, "Almost surprisingly, it ended up not being a monotonic, where if you overemphasize recovery on the loss function, the result ended up being expressions that were less recoverable, which is kind of unintuitive at first."

## What explains the hundredfold speed gain in practice?

Evaluations on a benchmark cognitive framework revealed that the recovered mathematical formulas executed parameter calculations more than 100 times faster than the neural models they were trained to replace. Fernandez and Li tested their pipeline on the diffusion decision model, a classical cognitive framework whose analytically tractable likelihood provided an exact ground truth for controlled comparisons. According to the preprint, the recovery-directed objective improved parameter-recovery accuracy compared to standard symbolic-regression training objectives.

The resulting symbolic likelihood expressions delivered over 100 times faster parameter evaluation than the amortized neural likelihoods, and also ran over 100 times faster than the exact mathematical formula of the diffusion decision model, while maintaining a manageable loss in precision. Fernandez and Li further showed that these computational benefits carried over to Bayesian hierarchical inference when applied to empirical experimental data, allowing complex multi-level models to converge far more rapidly.

The mathematical structure of the classical decision model explains why an approximating algebraic equation can outrun the analytical formula. Kianté told Primary that "Part of the answer for the speed boost lies in the initial approximations for the analytical first passage of time probability density function in the first place, which ultimately has an infinite series in it." By contrast, evaluating likelihoods from the distilled expressions avoids computing that infinite series entirely; Kianté explained that "it ends up just being a lot of addition and multiplication, which is quite faster than current state."

## What are the limits of distilling unknown models?

The findings come with specific limitations. The results appear in a preprint that has been posted to arXiv and has not yet completed formal peer review. While the diffusion decision model provides a reliable baseline because its analytical likelihood is known, validating the pipeline on models where no exact mathematical solutions exist will require further testing. The distillation process also incurs a minor trade-off in precision compared to full numerical exactness, meaning researchers must weigh the manageable loss in precision against their need for evaluation speed.

Venturing beyond tractable ground-truth equations introduces new architectural hurdles for formula discovery. Kianté told Primary that the current study serves as an instance where "we can verify the discovered expressions with respect to an analytical one that we have that is known." Moving toward models with collapsing decision boundaries adds additional dimensions to the search space, and Kianté noted that "The challenges with working with models with many more parameters makes the search much more difficult, and so we're still working on solutions to deal with that."

For researchers working in simulation-based inference, the distillation pipeline provides a lightweight interface designed to connect directly with existing neural-likelihood estimation workflows. Kianté told Primary that the authors hope to produce "an open-source implementation of the symbolic distillation procedure that complements some of the current state for simulation-based inference workflows." Kianté noted that future software integration with packages such as BayesFlow and hierarchical modeling tools would seek "to provide not only the speed benefits of course, but unlock that level of interpretation that can come with having access to an analytical expression."
