arXiv:2609.32409cs.LGSep 2026

Manuscript Offprint

arXiv:2609.32409

Recovery-Directed Symbolic Distillation of Neural Likelihoods

Kianté Fernandez, Xinwei Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Amortized neural likelihoods enable computationally expensive inference for models with analytically intractable or unspecified likelihoods, but their black-box nature limits interpretability. We introduce a symbolic distillation pipeline that converts trained neural likelihoods into explicit, interpretable expressions optimized for efficient parameter estimation. Our approach uses a recovery-directed objective to guide symbolic regression toward expressions that preserve parameter-recovery accuracy rather than merely approximating the likelihood function. Candidate expressions are evaluated on held-out datasets and selected using a criterion that jointly accounts for expression complexity, parameter-recovery performance, and distributional distance from the learned likelihood. We evaluate the pipeline on the diffusion decision model, a classical cognitive model, whose analytically tractable likelihood provides ground truth for controlled evaluation. The proposed recovery-directed objective improves parameter recovery over standard symbolic-regression objectives. The resulting symbolic likelihoods enable over 100 times faster parameter evaluation than both neural likelihoods and, when available, the exact likelihood, while maintaining a manageable loss in precision. We further demonstrate these computational benefits in Bayesian hierarchical inference on empirical data. Our pipeline provides a lightweight interface for integrating symbolic distillation with existing neural-likelihood estimation methods and can be adapted to a range of simulation-based inference settings.

1 Introduction

Cognitive science formalizes hypotheses about mental processes as mechanistic models (Kriegeskorte & Douglas, 2018). Such models specify an explicit generative process G(θ,ϵ)\bm{\mathcal{G}}(\bm{\theta},\bm{\epsilon}) (ϵ\bm{\epsilon} for stochastic noise) for observed behavior y\bm{y}, encoding substantive hypotheses of underlying operations and indexed by a small set of interpretable parameters θ\bm{\theta}. To further validate the hypotheses, the models are often fit to experimental data, which requires estimating the parameters from observed data, typically through the likelihood p(y∣θ)p(\bm{y}|\bm{\theta}). However, many cognitive models with richer and more realistic assumptions fail to have a tractable likelihood.

One popular class of cognitive models, sequential sampling models (SSMs), demonstrates this tension. SSMs posit that decisions arise from the noisy accumulation of evidence over time until reaching a decision threshold (Ratcliff, 1978; Forstmann et al., 2016). Under a forced-choice task with options C\mathcal{C}, each observation y=(RT,c)\bm{y}=(\mathrm{RT},c) therefore comprises a response time RT\mathrm{RT} and a chosen option c∈Cc\in\mathcal{C}. SSMs are widely adopted across domains, including perceptual decision-making and clinical research (Ratcliff et al., 2016), value-based and consumer choices (Clithero, 2018; Krajbich et al., 2026, for reviews, see), and moral dilemmas (Maksimenko et al., 2025, e.g.,). Nonetheless, only the simplest case of SSMs is analytically tractable in likelihood p(RT,c∣θ)p(\mathrm{RT},c|\bm{\theta}), such as the Navarro–Fuss series (Navarro & Fuss, 2009) for the classic drift-diffusion model (Ratcliff & McKoon, 2008, DDM,), whereas its scientifically interesting extensions (e.g., collapsing decision bounds and leaky accumulators) generally lack a closed-form likelihood.

Simulation-based inference (SBI) addresses the parameter estimation of cognitive models with infeasible likelihoods by using generative processes G\bm{\mathcal{G}} (Cranmer et al., 2020a, a review,). The amortized variants (e.g., likelihood approximation networks (Fengler et al., 2021, LANs;), neural density estimators (Boelts et al., 2022), and amortized Bayesian workflows (Radev et al., 2020; Radev et al., 2023)) have become particularly popular, owing to their reusability across datasets. That is, a neural network is trained only once on simulated data and can then be applied to any new dataset at negligible cost, without further simulation or retraining. Moreover, toolboxes like HSSM (Fengler et al., 2026) for SSMs have integrated pretrained likelihood approximations pϕ(y∣θ)p_{\bm{\phi}}(\bm{y}|\bm{\theta}) by amortized SBI into a standard probabilistic-programming interface. However, the learned likelihood pϕ(y∣θ)p_{\bm{\phi}}(\bm{y}|\bm{\theta}) is a black box, because the network weights ϕ\bm{\phi} carry no substantive interpretation. Consequently, the recovery analysis, approximation diagnosis, and structural insight into the likelihood must all be done numerically.

Symbolic regression (SR) may offer a way to open this black box. SR is a recently growing supervised learning approach that discovers symbolic mathematical expressions ff from data {(x,f0(x))}\left\{\big(\bm{x},f_{0}(\bm{x})\big)\right\} by searching the space of closed-form expressions F\mathcal{F}, trading off accuracy against expression complexity (Makke & Chawla, 2024, a review,). The resulting analytic alternatives f∈F∗f\in\mathcal{F}^{*} are not only inherently interpretable and auditable but also differentiable and cheap to calculate. Whatever the search technique, the canonical objective L(f,f0)\mathcal{L}(f,f_{0}) is to minimize the expected error between the candidate expression ff and the real value f0f_{0}. Although, from the perspective of SR, the probability density pp is simply another target function (i.e., f0(x)=log⁡p(y∣θ)f_{0}(\bm{x})=\log p(\bm{y}|\bm{\theta}) and x=(θ,y)\bm{x}=(\bm{\theta},\bm{y})), the standard objective L\mathcal{L} is misaligned with the purpose of obtaining closed-form approximations for the implicit cognitive models, namely efficient and accurate parameter estimation with an interpretable structure.

In this work, we propose a pipeline that distills analytical expressions from neural approximations to make parameter estimation easier (Section 2). First, the neural likelihood pϕp_{\bm{\phi}} is admitted only after a sequence of SBI diagnostic checks. Then the symbolic regression search is guided by a recovery-directed loss function Lλr(f,log⁡pϕ)\mathcal{L}_{\lambda}^{r}(f,\log p_{\bm{\phi}}) (Section 2.2), which substantially improves parameter recovery over the standard symbolic-regression objective (Section 4.2). Finally, each candidate expression on the Pareto front F∗\mathcal{F}^{*} is fit with a full Bayesian sampler and ranked by how well it recovers the parameters on held-out data. We evaluate it on the simplest DDM, whose exact likelihood permits direct assessment of approximation accuracy and helps identify the sources of estimation error. The resulting symbolic likelihoods are tens of times faster to evaluate than compiled exact and neural likelihoods at the size of one subject, and more than 100 times faster on large datasets, while maintaining a manageable loss in precision (Section 4.3).

References (31)