Manuscript Offprint
arXiv:2610.21950SelectPFN: Amortized Bayesian Variable Selection for Sparse Nonlinear Regression with Prior-Data Fitted Networks
Abstract
Tabular foundation models based on prior-data fitted networks (PFNs) predict on a new data set in a single forward pass, but they cannot report which inputs their predictions depend on. We propose SelectPFN, a PFN that performs Bayesian variable selection and prediction jointly for sparse nonlinear regression , in which the response depends on a small active set of the inputs, . Given a training set, SelectPFN returns posterior inclusion probabilities for every variable and predictive draws, each computed from a sampled subset only, so that excluded variables provably cannot affect the prediction. We show that this selection-restricted prediction is exactly what the Bayesian model prescribes. The network is pretrained once on synthetic tasks from a meta-prior built around a group spike-and-slab sparse-input neural network and needs no data-set-specific fitting. The column-permutation equivariance of the architecture, combined with a random interleaving of original and knockoff columns, yields knockoff statistics with exact finite-sample false discovery rate control even when the meta-prior is wrong. We also develop theory for what amortization can and cannot guarantee: a Bayes-regret bound for the amortized median probability model; a two-sided characterization showing that the information index (sample size times the squared signal strength of the variable, divided by the noise variance) needed to detect a variable grows like , where is the prior weight of structures able to use the variable as the truth does and is an efficiency; and a negative result showing that average-case training does not transfer to frequentist guarantees at a fixed truth. On out-of-prior nonlinear designs with up to 500, SelectPFN improves the area under the precision-recall curve by 0.23–0.28 over the lasso, BART, DART, LassoNet and a group-penalized sparse neural network, and by 0.16 over TabPFN with permutation importance (all Holm-adjusted ), at a false discovery proportion of about 0.07, in 0.04 seconds per data set (more than 300 times faster than DART). With real covariate matrices from four public data sets the advantage persists (0.17–0.26). With real responses, it selects about two variables, of which only 11% are known nulls, against 28–60% for competing methods. The theory is also borne out: giving interaction-only structures weight in the meta-prior, as the prior-weight law prescribes, raises detection of variables that act only through an interaction from 0.06 to 0.36, and to 0.52 with a larger network; in a controlled sweep of this prior weight alone, detection rises monotonically with it while the false-selection rate stays unchanged.
Keywords: amortized inference; Bayesian variable selection; high-dimensional regression; sparse nonlinear regression; prior-data fitted networks; tabular foundation models; model-X knockoffs; posterior inclusion probabilities.
1 Introduction
Identifying which of many candidate variables drive a response is a basic task of modern data analysis. It arises whenever the number of candidate predictors is comparable to or exceeds the sample size : in genomics, where thousands of gene-expression or genotype measurements are screened for association with a disease (Golub et al., 1999; Wu et al., 2009; Guan and Stephens, 2011); in medical imaging, where voxel-level or radiomic features are related to clinical outcomes (Grosenick et al., 2013; Lambin et al., 2017); in biomedical research more broadly, where high-dimensional covariates enter survival and risk models (Tibshirani, 1997); and in economics, where a few relevant controls must be chosen from many (Belloni et al., 2014). Given with , the goal is both accurate prediction and the identification of a small subset of variables that carries the information about the response. The statistical theory of this regime is by now mature for linear models (Fan and Lv, 2008, 2010; Bühlmann and van de Geer, 2011; Hastie et al., 2015; Wainwright, 2019), and it has more recently been extended to nonlinear models: sparse additive models (Ravikumar et al., 2009; Meier et al., 2009), nonparametric regression with variable selection (Lafferty and Wasserman, 2008; Yang and Tokdar, 2015; Jiang and Tokdar, 2021), and sparse-input neural networks (Liang et al., 2018; Sun et al., 2022; Luo and Halabi, 2025). In applications, a selection method has to meet three needs at once. It must be flexible enough to capture nonlinear and interaction effects, because a variable that acts only through an interaction carries no linear signal. It must be fast and free of expert tuning, so that it can be applied routinely and to many data sets. And it must come with guarantees on false selections, so that the selected variables can be trusted.
Existing methods meet these needs only in part (Section 2). Penalized and Bayesian selection for linear models (Tibshirani, 1996; Fan and Li, 2001; Zhang, 2010; George and McCulloch, 1993; Ročková and George, 2018) is fast and well understood, but a variable that acts only through a nonlinear or interaction effect carries no linear signal and is missed. Sparse additive models (Lin and Zhang, 2006; Ravikumar et al., 2009), Bayesian regression trees (Chipman et al., 2010; Linero, 2018) and sparse neural networks (Lemhadri et al., 2021; Luo and Halabi, 2025; Sun et al., 2022) capture such effects, but each solves a new, tuning-sensitive optimization or sampling problem for every data set, which is slow when p is large and gives no finite-sample error control. Knockoffs (Barber and Candès, 2015; Candès et al., 2018) supply such control, but their power rests on a feature statistic that must itself be fitted to each data set. Tabular foundation models built on prior-data fitted networks (PFNs; Müller et al., 2022), such as TabPFN (Hollmann et al., 2023, 2025), remove per-data-set fitting altogether and predict in a single forward pass, but they use every column and cannot say which variables a prediction depends on, and the first amortized selectors (Alrawkan et al., 2026; Schiekiera et al., 2026) are restricted to linear models, and LinearPFN to few variables. What is missing is a selector for sparse nonlinear regression that is amortized, integrated with prediction, and equipped with guarantees that do not depend on how well the network was trained.
We propose SelectPFN, a PFN that performs Bayesian variable selection and prediction jointly. Selection in SelectPFN is integrated rather than post hoc: the predictor has the form for a test point , where keeps only the columns in , so a variable outside the selected set cannot influence the prediction. The network is pretrained once on synthetic regression tasks drawn from a sparse nonlinear meta-prior, built around a group spike-and-slab sparse-input neural network. For a new data set, one forward pass returns posterior inclusion probabilities (PIPs) for all variables. Subsets of variables are then drawn from these PIPs, a second pass predicts from the columns of each subset only, and the predictions are averaged over the subsets, which is Bayesian model averaging (BMA). This restriction is exactly what the Bayesian model prescribes, because given the active set the posterior predictive depends on the data only through the active columns. A knockoff mode adds exact finite-sample control of the false discovery rate (FDR) that holds whatever the network has learned. Because a trained network is a fixed map from data sets to PIPs, its analysis becomes a question about amortization: what a small training loss guarantees for selection, which variables can be found at all, and what cannot be guaranteed for a fixed truth. We answer these questions and evaluate the method in extensive simulations and on real data.
-
Exact error control. With random interleaving of original and knockoff columns, the knockoff statistic , where and are the network's inclusion probabilities for and its knockoff, yields exact finite-sample FDR control for any network weights and any meta-prior (Theorem 1).
-
Theory of amortized selection. The selection loss decomposes into a Bayes floor plus an amortization gap, which bounds the Bayes regret of the amortized median probability model. The information needed to detect a variable grows like , where is the prior weight of structures that can use the variable as the truth does and is an efficiency, which explains why the meta-prior must give explicit weight to interaction-only structures, as an ablation confirms. Average-case training cannot by itself deliver frequentist selection consistency (Section 4).
-
Numerical evidence. In simulations from nonlinear designs that are not part of the meta-prior, SelectPFN selects variables more accurately than fifteen penalized, Bayesian, sparse-neural-network and foundation-model methods, at a fraction of their cost; its inclusion probabilities are close to an exactly enumerable posterior; and a controlled study confirms that the prior weight governs detection as the theory predicts (Section 5). The advantage carries over to real covariate matrices and real responses (Section 6).
Section 2 reviews related work. Section 3 describes the method, Section 4 develops the theory, Section 5 reports simulation studies, Section 6 analyzes real data, and Section 7 discusses extensions. Implementation details, proofs and additional results are in the appendices.
2 Related work
2.1 Penalized and Bayesian selection in linear models
Variable selection in linear models has been studied for three decades, along two complementary lines: penalized regression, which selects variables by shrinking some coefficients exactly to zero, and Bayesian variable selection, which places a prior on which variables are active and reports posterior probabilities. In the first line, the lasso (Tibshirani, 1996) estimates and selects simultaneously through an penalty, but it shrinks large coefficients and is selection-consistent only under restrictive irrepresentability conditions (Zhao and Yu, 2006). The adaptive lasso (Zou, 2006) reweights the penalty to recover the oracle property, and the nonconvex SCAD (Fan and Li, 2001) and MCP (Zhang, 2010) penalties remove the bias directly; the elastic net (Zou and Hastie, 2005) stabilizes selection among correlated predictors, and the group lasso (Yuan and Lin, 2006) selects predefined groups of variables. When , sure independence screening (Fan and Lv, 2008) reduces the dimension before any of these is applied. The second line, Bayesian variable selection, places a prior on inclusion indicators (Mitchell and Beauchamp, 1988; George and McCulloch, 1993) and reports posterior inclusion probabilities , which quantify uncertainty about each variable and lead to the median probability model (Barbieri and Berger, 2004). Stochastic search over the models is slow and mixes poorly, and the spike-and-slab lasso (Ročková and George, 2018) recovers fast posterior modes by optimization, at the price of the full posterior. All of these methods assume that the response is linear in the covariates: a variable that affects the response only through a nonlinear function or through an interaction with another variable can have no linear association with the response at all, and is then missed, and each analysis must be refitted and returned for every new data set.
2.2 Selection in nonlinear models
To capture nonlinear and interaction effects, selection has been extended beyond linear models along three lines of increasing flexibility: sparse additive models, which allow each variable its own nonlinear effect; tree ensembles, which also capture interactions; and sparse neural networks, which can represent general nonlinear functions. Each line has penalized and Bayesian versions. In the first line, COSSO (Lin and Zhang, 2006) and sparse additive models (Ravikumar et al., 2009) fit a smooth function for each variable and set whole functions to zero, but by construction they cannot detect a variable that matters only through an interaction with another variable. Model-free screening by distance correlation (Li et al., 2012) or HSIC (Yamada et al., 2014) relaxes the additive assumption and detects general dependence, but it only ranks variables and provides no fitted model or selected set. The second line, tree ensembles, captures interactions automatically. Random forests (Breiman, 2001) rank variables by importance scores computed after fitting, which have no probabilistic meaning; BART (Chipman et al., 2010) places a prior on a sum of trees, and DART (Linero, 2018) adds a sparsity-inducing prior on how often each variable is used for splitting, so that the posterior indicates which variables are included. The third line makes neural networks sparse in their inputs. On the penalized side, a group penalty on all outgoing weights of an input removes that input from the network: LassoNet (Lemhadri et al., 2021) does so through a hierarchical skip connection, and concave group penalties (Luo and Halabi, 2025) avoid the over-shrinkage that leads the group lasso to retain unimportant variables. On the Bayesian side, spike-and-slab or horseshoe priors on the weights or hidden units give sparse Bayesian neural networks (Ghosh et al., 2019; Bai et al., 2020), with selection-consistency guarantees for spike-and-slab priors on the input layer (Liang et al., 2018; Sun et al., 2022). All three lines are flexible, but every method in them solves a new nonconvex optimization or Markov chain Monte Carlo problem for each data set, with tuning parameters chosen by cross-validation; the cost grows quickly with p, samplers over inclusion indicators mix poorly when , and none of these methods controls false selections in finite samples.
2.3 Finite-sample error control with knockoffs
Finite-sample control of false selections is provided by the knockoff framework. Fixed-design knockoffs (Barber and Candès, 2015) control the FDR in linear Gaussian models with ; model-X knockoffs (Candès et al., 2018) remove the model assumption by requiring knowledge of the covariate distribution instead, and then accept any feature statistic that is antisymmetric in swapping a variable with its knockoff. Deep knockoffs (Romano et al., 2020) construct knockoffs for non-Gaussian covariates, DeepPINK (Lu et al., 2018) uses a neural network as the feature statistic, and derandomization (Ren et al., 2023) reduces the variability that comes from a single knockoff draw. Validity in this framework does not depend on the model, but power depends entirely on the feature statistic. Flexible statistics such as DeepPINK must be trained for every data set, and no statistic computed in a single pass of a pretrained network has been available.
2.4 Amortized inference and prior-data fitted networks
Amortized inference replaces per-data-set computation by a network trained once on simulated data. In simulation-based inference (Cranmer et al., 2020), networks such as BayesFlow (Radev et al., 2022) learn the posterior of the parameters of a fixed simulator. Prior-data fitted networks (Müller et al., 2022) go further and train a transformer across data sets drawn from a meta-prior, so that one forward pass approximates the posterior predictive for a new data set D and test point . TabPFN (Hollmann et al., 2023, 2025) showed that this approach is competitive with tuned gradient boosting on small and medium tabular problems. On the theory side, Nagler (2023) analyzed the bias and variance of PFN predictions, and Melnychuk et al. (2026) showed that the prior need not be washed out by the data. Relevance can be extracted from a PFN only after the fact, by Shapley values (Lundberg and Lee, 2017) or by a second network trained to predict attributions zero-shot (Fonseca and Stoyanovich, 2026), and Zhao et al. (2026) studied how transformers trained on sparse linear priors suppress irrelevant features internally. A PFN nevertheless attends to every column: post-hoc relevance does not restrict the prediction to the variables it reports, and it comes with neither inclusion probabilities nor error guarantees.
2.5 Amortized variable selection
Only very recently has selection itself been amortized. Alrawkan et al. (2026) train a classifier on simulated linear models to label predictors as active from least-squares summaries, and Maceda et al. (2026) estimate PIPs for sparse linear regression with an amortized network. LinearPFN (Schiekiera et al., 2026) is pretrained on a spike-and-slab prior over main effects and pairwise interactions and returns PIPs, coefficients and predictions in one pass, for up to p = 30 variables. PACE (Qin et al., 2026) places a frozen tabular-foundation-model column encoder in front of an existing screening statistic, so the selection rule itself is not learned. Beyond regression, amortized causal discovery (Lorch et al., 2022) learns edge probabilities for nonlinear structural models with few variables, and amortized model comparison (Radev et al., 2023) returns posterior probabilities over a small, fixed set of models. These methods are linear, limited to few variables or to a fixed set of models, or do not couple selection to prediction, and none comes with theory for the amortized posterior. SelectPFN is designed to close this gap for sparse nonlinear regression.
3 Method
3.1 Problem setup
Let , , be a training set and a test covariate. For write for the subvector indexed by and for the data restricted to the columns in . Let be inclusion indicators and . We consider the sparse nonlinear model
where f is an unknown, possibly highly nonlinear function of the active variables that may contain interactions of any order.
3.2 Background: prior-data fitted networks
Objective. Let be a prior over data-generating processes (for example , with the law of the covariates), and let a task consist of a training set and a query pair drawn independently from given . The Bayesian posterior predictive is
where is the conditional density of given under and is the posterior distribution of given . It is intractable for flexible priors. A prior-data fitted network (PFN; Müller et al., 2022) is a parametric map from a training set and a query covariate to a probability density over , trained by minimizing the prior-averaged log loss
where the expectation in the second form is over the prior predictive law of and does not depend on . The loss is therefore minimized, over all measurable maps, by . In practice (2) is minimized by stochastic gradient descent over batches of tasks drawn afresh from . Once trained, is fixed, and for a new data set the approximate posterior predictive is computed by a single evaluation of the network; the cost of inference is paid once, in training, and amortized over all future data sets.
Architecture. The network operates on the data table. Write for the number of training and query rows, with m the number of query rows, and p for the number of columns. Each cell is embedded as
where are learned maps and is a learned token marking an unknown response; one additional column of response cells is read out for prediction. For a set of tokens , multi-head attention (MHA) computes, for each head, with learned matrices and weights , and concatenates the heads. Each layer applies, with layer normalization and residual connections,
so that each cell first combines information across the variables of its row and then across the training observations of its column. Neither operation depends on the order of the rows or of the columns, so the network is equivariant to permutations of both. The predictive density of a query row is a bar distribution: with fixed bin edges and logits read from the response cell of row ,
with half-normal tails beyond the outer bins (Müller et al., 2022). TabPFN (Hollmann et al., 2023, 2025) uses this construction with a broad prior over tabular prediction problems.
SelectPFN. SelectPFN keeps the architecture and the training principle but changes the targets. Because the inclusion indicators are known for every simulated task, a second output head is trained by the log loss on , so that, by the same argument as for (2), its minimizer is the vector of posterior inclusion probabilities; and the predictive density is computed from the selected columns only. The meta-prior, the two passes and the joint objective are specified next.
3.3 Meta-prior
A PFN is defined by the prior over data sets on which it is trained. Each synthetic task is generated hierarchically: (i) task size , ; (ii) active set from a Beta-Bernoulli prior, , , with the mean sparsity and concentration drawn at random; (iii) covariate rows , collected in , from a family covering independent, autoregressive, block-equicorrelated and latent-factor dependence with non-Gaussian marginals through a Gaussian copula, independent of ; (iv) a regression function that depends only on the active variables; (v) responses with random signal-to-noise ratio, Gaussian, or heteroscedastic noise. The meta-prior is used only to simulate training tasks; SelectPFN never fits directly but learns to compute the posterior that this prior implies. The function prior is a mixture of families: for each task one family is drawn according to its weight, and is then drawn from that family using the active variables only. The family with the largest weight is a group spike-and-slab sparse-input neural network: a random network with first-layer weights and
with slab variance (Appendix A) and random depth, width, activations and deeper weights. This family belongs to the Bayesian sparse neural networks (Liang et al., 2018; Sun et al., 2022; Ghosh et al., 2019; Bai et al., 2020), but whereas those priors sparsify individual weights or hidden units, it places one spike-and-slab indicator on all outgoing weights of each input, so that inclusion is defined for variables rather than weights. It is also the Bayesian counterpart of penalized sparse-input networks that remove an input by penalizing its outgoing weights as a group (Lemhadri et al., 2021; Luo and Halabi, 2025). A random network of this kind can in principle approximate a wide range of functions, but it places little prior weight on several structures that are common in practice and that Section 4 shows a selector must be given weight to detect. The mixture therefore also contains, as separate families with their own weights, additive functions, main effects with pairwise interactions, trees and step functions, Gaussian-process draws, linear functions, and an interaction-only family in which pairs or triples of variables enter only through functions that are odd in each argument (for example , , , ), so that, apart from optional weak main effects (Table 14), a variable has no marginal effect. Section 4 explains why such a family is needed, and the ablation in Section 5.4.4 confirms it. Table 14 in Appendix A lists all components and weights.
Meaning of the inclusion indicators. For to mean “ is used by ”, each active variable should have a non-negligible effect on the response. The generator therefore estimates the total effect of every active variable by Monte Carlo and redraws when one falls below a small threshold; if this repeatedly fails, the weak variables are set to zero and labelled inactive (Table 14). Even so, the data cannot always tell which variables are active. When several covariates are strongly correlated, they carry nearly the same information about the response, and the posterior naturally spreads its inclusion probability among them rather than committing to one. Because SelectPFN approximates this posterior, a group of moderate PIPs on correlated variables is best read as evidence that at least one variable of the group matters.
3.4 Inferential targets
The targets are the PIPs and the joint posterior . Predicting from the selected variables alone is justified when the covariates themselves carry no information about which function generated the response, which we state as follows.
Assumption 1. are independent of ; given and the covariates, the responses are conditionally independent with , where is the density of ; and does not depend on the covariates.
Assumption 1 is the standard random-design regression model of Bayesian variable selection. It holds for spike-and-slab linear regression with independent coefficient priors, for Gaussian-process priors, and for every family of our meta-prior, in all of which f is drawn independently of the covariates and the noise is additive. It excludes priors that depend on the observed design, such as Zellner's g-prior, whose covariance is proportional to , and noise whose distribution depends on inactive covariates. Small departures in our task generator are listed in Appendix A.
3.5 Model
SelectPFN uses the table transformer of Section 3.2, denoted , with alternating row and column attention and no embedding of column identity. Because it is equivariant to column permutations, it has no notion of “variable 3” and must judge each variable from its values and their relation to the response. The same network is used in two passes.
Selection pass. The training set (with responses) is encoded; each feature's representation is pooled across rows (mean and attention pooling, concatenated with the pooled response representation and a global token that carries and ), and a head outputs , where is the pooled representation of column . The test covariate is not used, so is a function of alone, matching .
Prediction pass. Given a subset S, the excluded columns are removed from the training data and the test covariate, and the network is applied to to produce a discretized predictive distribution over standardized y (a “bar distribution”; Müller et al., 2022). Because excluded columns never enter the computation,
(4) holds exactly. Zeroing a column instead of removing it would not guarantee this, because a zeroed column still takes part in the attention over training rows. The two passes share the backbone, with a learned pass-indicator token.
3.6 Training objective and procedure
Tasks. A training task is drawn from the meta-prior of Section 3.3: are the inclusion indicators, the data-generating quantities of Section 3.2 other than , the training rows and the query rows, obtained by splitting the simulated rows at random. Write for the output of the selection pass and for the predictive density returned by the prediction pass on the columns in (Section 3.5). We write also for the induced law of .
Training kernel. The prediction pass is trained on subsets drawn from a kernel that mixes three sources,
where returns the true active set (teacher forcing); drops each element of independently with probability 0.1 and adds a Poisson(1) number of inactive variables chosen uniformly; and the last term samples a subset from the current selection head, with sg denoting that no gradient flows through the sampling (self-sampling). The corrupted and self-sampled subsets expose the prediction pass to the imperfect subsets it receives at inference.
Objective. With per-variable and per-query averages, the training objective is
where weights the prediction loss and is the binary log loss. Both terms are prior-averaged log losses of the form (2): the first for the labels , the second for the query responses.
Optimization. The objective is minimized by stochastic gradient descent. At step , a batch of tasks is drawn afresh from , one subset is drawn per task, and is updated, with learning rate , along the gradient of the Monte Carlo estimate
in which the sampled subsets are held fixed, as indicated by sg in the kernel. Because every batch is newly simulated, no task is seen twice, and the network can only learn a rule that maps data sets to inclusion probabilities and predictions. Self-sampling is switched on after 10% of training, when the selection head has become informative; before that the kernel uses its first two components only, renormalized. All tasks in a batch share , and the maximal number of variables increases
Algorithm 1 SelectPFN training
Require: meta-prior , kernel , weight , number of steps , batch size , learning rates
1: for do
2: draw tasks , new tasks at every step
3: selection pass on all columns
4: draw
5: compute for prediction pass on the columns in
6:
7: end for
during training (from 50 to 200 to 500). Algorithm 1 summarizes the procedure, and the optimizer settings are listed in Appendix A. After training, is fixed and used unchanged for every analysis in this paper.
The prediction pass sees only the selected columns. The following elementary fact, which is used in Proposition 1(b), shows that this restriction is exactly what the Bayesian model prescribes.
Lemma 1 (Selection-restricted prediction). Under Assumption 1, for every with , . Consequently .
The proof is in Appendix B.1. The posterior over active sets depends on all columns, which is what makes selection non-trivial; given the active set, however, the predictive is exactly the Bayesian predictive computed from the active columns alone, and uncertainty about the active set is handled by averaging such predictions over the posterior of . SelectPFN implements this decomposition.
The next result shows that this objective targets the right quantities: at its population minimum, the two heads return the exact Bayesian inclusion probabilities and the exact subset-conditional predictive.
Proposition 1 (Population minimizers). Suppose both heads can represent any measurable function of their inputs, and that depends on only through and is exchangeable in the active variables, so that the subset-conditional predictive does not depend on the original column indices or on . (a) The minimizer of is . (b) Under teacher forcing, and assuming finite expected log loss, the minimizer of (over predictive densities; for the bar-distribution head, its bin probabilities) is , which by Lemma 1 equals . (c) For a general kernel that does not depend on , the minimizer is the Bayes predictive of given the information available to the prediction pass, , and depends only on the columns in .
The proof is in Appendix B.1. The exchangeability condition holds whenever the prior treats the active variables symmetrically, as do spike-and-slab priors with a common slab, Gaussian processes with independently and identically distributed length-scales, and every family of our meta-prior, which assigns the active variables to their roles at random. The proposition implies that any gap between SelectPFN and the exact posterior comes from finite capacity and imperfect training, not from the objective. Because the selection head is supervised directly by , no sparsity penalty on network weights and no continuous relaxation of the gates (Jang et al., 2017; Louizos et al., 2018) is needed, and both terms are proper, so affects only how capacity is shared. Lemma 2 in Section 4 quantifies the gap between the trained network and the Bayes optimum.
Algorithm 2 SelectPFN inference
Require: training data , test covariates , number of draws
1: one forward pass; PIPs
2: for do
3:
4: prediction pass on the selected columns only
5: end for
6: return ; pairs ;
3.7 Inference
After pretraining, a new data set needs no optimization (Algorithm 2). The outputs are the PIPs; paired draws, each attached to the subset that produced it, whose mixture approximates Bayesian model averaging (BMA); and a single reported model, the median probability model (MPM) (Barbieri and Berger, 2004). The subsets are drawn once per data set and shared by all test points, each prediction pass processes all test points at once, and it is cached per distinct subset; distinct subsets are few when the posterior is concentrated. The BMA samples subsets from the product of marginals; capturing posterior dependence between inclusions (“ or , but rarely both”) would require an autoregressive selection head (Section 7).
3.8 Knockoff mode: exact finite-sample FDR control
PIPs are calibrated only to the extent that the meta-prior resembles the data. For a guarantee that does not depend on the prior, we combine SelectPFN with model-X knockoffs (Candès et al., 2018). The FDR guarantee itself is the standard one; what is new is a construction that makes a pretrained network a valid knockoff statistic without per-data-set training, in contrast to neural statistics such as DeepPINK (Lu et al., 2018), which are fitted to each data set. Let and let be a knockoff copy of : , and swapping any subset of columns between and leaves the law of unchanged.
Training. Exact knockoffs are cheap for synthetic tasks, whose is known (Gaussian knockoffs for the latent Gaussian copula). The network receives the 2p columns in a random order, with responses, and the selection head is supervised with for original columns and 0 for knockoff columns. No input marks which columns are knockoffs.
Inference. Draw a uniformly random permutation of the 2p columns independently of the data, apply the network, map the outputs back, and set , where is the output for the knockoff copy of ; then apply the knockoff+ threshold at level (Barber and Candès, 2015). Theorem 1 shows that the false discovery rate is at most in finite samples, for any network weights and whether or not the meta-prior is correct, provided the knockoffs are valid. Exact column equivariance in finite-precision arithmetic is not required: the random interleaving makes the flip-sign property hold in distribution. On real data, knockoffs are constructed approximately (second-order or deep knockoffs; Romano et al., 2020), and the guarantee holds to the extent that the approximation is accurate.
3.9 Scaling to large p
Training cost grows with the number of cells, and feature attention is quadratic in p. We therefore pretrain at and, for larger p, (1) screen: randomly partition the variables into blocks of size at most , compute q within each block, and average over R random partitions; (2) refine: run one joint pass on the top-k variables. Column equivariance means block assignment introduces no ordering artifacts. A variable that acts only through an interaction with a variable placed in another block can be missed in a single partition; repeated partitions mitigate this. This scheme is implemented but not yet validated beyond p = 500 (Section 7).
4 Theory
A trained PFN is a fixed function q that maps a data set to a vector of inclusion probabilities. Training controls only an average over the meta-prior of how far q is from the exact posterior . This section asks what that average buys, and what it cannot buy. Four results answer the question.
• Section 4.1: the training loss controls the Bayes risk of the reported model.
-
Section 4.2: knockoff mode gives exact finite-sample FDR control whatever the network has learned.
-
Section 4.3: the meta-prior’s weight on the right function class sets the sample size at which a variable is found. This explains why the meta-prior must contain interaction-only structures, as the ablation in Section 5.4.4 confirms.
-
Section 4.4: frequentist selection consistency for a fixed truth requires a uniform amortization assumption that the training loss cannot certify.
Every numbered result is proved analytically in Appendix B. A few published results are used as tools and are marked cited where they enter. Numerical computations appear only as illustrations, in paragraphs labelled as such, and are never a step of a proof. Results that rest on assumptions we do not verify state those assumptions explicitly.
Status of the assumptions
• Knockoff mode (Theorem 1) assumes only exact model-X knockoffs, the standard requirement of Candès et al. (2018); it assumes nothing about the network, the meta-prior or training.
-
The regret bound (Proposition 2) needs no assumption for (i)–(ii); (iii) adds a standard margin condition.
-
The detection theory uses Gaussian noise with known variance and a fixed covariate law (Assumption 2), the usual setting of posterior-contraction theory; the likelihood factorizes, so the covariate law cancels from the posterior of the regression function (it enters only through the definitions of the effect of a variable and of the norm); for a random covariate law this requires the regression function to be a priori independent of it. The conditions linking labels to functions hold by construction of the meta-prior, and the sieve condition is verified for most of its families. The one high-level condition is Assumption 3, a Bayes-factor bound on spurious structures. It is used only for the lower bound in terms of the informative weight: the upper bound (Theorem 2(i)) does not use it, and with the trivial partition, which counts every structure that uses a variable as informative, Assumption 3 holds trivially, so the lower bound of Corollary 1(i) holds in terms of the total prior weight of structures that use the variable; the sharper constant of Theorem 2(ii) additionally needs a clipped-gap hypothesis for that class.
-
Consistency composes Bayesian selection consistency (Assumption 4), known for several priors, with uniform amortization (Assumption 5). The latter is not a convenience: Proposition 5 shows that it cannot be derived from the training loss, and identifying it is a result of this section.
Setting. A task drawn from the meta-prior consists of , labels and a data set . Write for the induced law of (the prior predictive), for the exact posterior inclusion probabilities, and for the output of the selection pass. The selection term of (5), averaged over variables, is with . Here is the effective training distribution, which includes the curriculum over . Let be its marginal probability of size . Because is a function of , reweighting by leaves unchanged. We first relate this training loss to the exact posterior.
Lemma 2 (Bayes floor plus amortization gap). Let Ent be the Bernoulli entropy and kl the Bernoulli Kullback–Leibler divergence. Then
With the same quantity conditional on size , .
The first term does not depend on the network, so is the part of the selection loss that training can reduce. The identity is the selection analogue of the basis of PFN training (Müller et al., 2022) and of supervised amortized structure learning (Lorch et al., 2022). Because the training objective is joint, the network need not minimize within its class. All results below are therefore stated in terms of the achieved , whatever produced it. In particular, every reduction of the training loss is a reduction of the average Kullback–Leibler gap between the network and the exact posterior; the next subsection converts this gap into a guarantee for the selected model.
4.1 The training loss controls the Bayes risk of the reported model
Let and be the median probability models (MPMs) of and . Under the per-variable Hamming loss , is the Bayes rule (see also Barbieri and Berger, 2004, for its predictive optimality). Write and , let be the event that and lie on different sides of (with the value counted on the exclusion side), let be the Bayes risk of a selection rule , and let average over and uniform on . The following result bounds how much worse the network's median probability model can be than the exact one.
Proposition 2 (Bayes regret of the amortized MPM). , and .
(ii) .
(iii) Suppose the margin condition holds for (this forces ), and let . Then the regret is at most .
(iv) for every .
The margin condition in (iii) asks that few variables have a posterior inclusion probability close to ; it is the analogue for selection of the margin condition of Tsybakov (2004) in classification. It holds with whenever the distribution of has a bounded density near , and it is mild in practice: on the exact-posterior tasks of Section 5.4.5, only 5% of variables have . Each step of the proof is classical: plug-in classification, log-loss calibration and margin conditions. What the proposition adds is the interpretation of the exact-posterior comparison in Section 5.4.5. A disagreement between and can occur only where the amortization error exceeds the distance of from . Its cost, , is then at most . Disagreements at near-ties are therefore cheap, and an exact-set-match statistic overstates their importance. On those tasks, the measured regret (0.015 per variable for the longer-trained model) is well below the refined bound (ii) (0.031). Near-ties make up 5% of variables but 44% of disagreements (Appendix B.3; these figures are a numerical illustration, not part of the proof). A cost-weighted version, with false-inclusion cost , replaces the factor 2 in (i)-(ii) by . We claim (iii)-(iv) only for . In short, a network that is close to the exact posterior on average reports, on average, a model that is nearly as good as the exact Bayes rule, and the guarantee improves as training reduces .
4.2 Exact finite-sample FDR control in knockoff mode
Candès et al. (2018, Section 5.2.2) already observe that the difference of Bayesian inclusion probabilities computed on is a valid knockoff statistic when the computation is exactly equivariant to swapping columns. A trained network is not exactly equivariant in floating point. On our knockoff model, relying on equivariance alone produced sign-flip deviations of order (Appendix B.4). We therefore randomize the column order and prove that this restores exact validity for any map , whatever it has learned.
The only assumption is that exact model-X knockoffs are available. This is the standard requirement of the knockoff framework (Candès et al., 2018): it holds when the covariate distribution is known, for example for Gaussian covariates, as in our training tasks and in the experiments of Section 5.4.7, and it is met approximately when the covariate distribution is estimated. Rows are i.i.d. Let be the null set, where denotes a generic observation, let be an exact model-X knockoff copy of the design matrix , and let . The procedure in Section 3.8 has four steps.
-
Draw a permutation of uniformly at random, independently of .
-
Apply the selection pass to the permuted table . Here is any internal randomness, independent of ; a deterministic is the case of constant .
-
Undo the permutation to obtain scores .
-
Set and apply the knockoff+ threshold (Barber and Candès, 2015).
The procedure controls the FDR whatever the network computes, as the following theorem shows.
Theorem 1 (Exact FDR control for any network). For any F as above:
(i) for every , , where changes the sign of the coordinates in ;
(ii) conditionally on and on , the signs of the nonzero null statistics are i.i.d. uniform on ;
(iii) knockoff+ at level has in finite samples, and the knockoff filter satisfies , where and are the numbers of false and total rejections.
The theorem means that a user can apply a pretrained SelectPFN off the shelf and control the false discovery rate at any chosen level without trusting the network, the meta-prior or the training: these affect only how many true variables are found.
The proof rests on a pointwise identity (Lemma 5). Swapping a null column with its knockoff, while composing the random permutation with the same swap, feeds F the identical tensor. The exchangeability lemma of Candès et al. (2018) and the supermartingale argument of Barber and Candès (2015) are cited; the interleaving identity is ours. Validity uses no property of F, of the meta-prior, or of training; power depends on all three. Two requirements matter in practice.
-
The permutation must be drawn independently of the data and afresh for each analysis. Reusing a data-dependent permutation voids the guarantee.
-
The knockoffs must be exact. With estimated second-order knockoffs, control is approximate.
Averaging Q over several independent interleavings preserves (i)–(iii) and reduces the extra randomness (Appendix B.4).
4.3 Which variables are found: prior weight sets the detection threshold
We now ask, for a fixed truth , how much data the exact posterior needs before it includes a relevant variable, and how the meta-prior affects that amount. We work in an idealized regression setting.
Assumption 2 (Gaussian regression with a fixed covariate law). (a) with and known.
(b) is known and common to all f.
These are the standard conditions of posterior-contraction theory for nonparametric regression (Ghosal et al., 2000; van der Vaart and van Zanten, 2008). Assumption 2(a) covers any regression with Gaussian errors of known variance; heavy-tailed noise and an unknown are not covered here. Assumption 2(b) is mild, because the covariates are ancillary: their distribution cancels from the posterior of , and it enters only through the definitions of and of the norm below. Let be the functions that ignore , and the norm. The conditional effect of and the information index are
The infimum is attained at . Note that is possible when , as for ; marginal screening then fails (Fan and Lv, 2008).
Structured priors. In this subsection denotes the induced prior on . Let be a mixture over structures, where is carried by functions that use exactly the variables (in the -a.s. sense: , and for every , where is the set of functions of alone), and . Write for the structures that use . Partition them into informative structures , which can represent how uses , and spurious ones . Let be the informative weight. Write for when varies, for the law of under , and . Write , where is the joint density of
under Assumption 2 with regression function , and . The lower bounds below must rule out that is included through structures that use it in the wrong way; we state this as an assumption.
Assumption 3 (Spurious-inclusion control). There are and such that, with -probability at least ,
Assumption 3 bounds the posterior odds of “ included, but used the wrong way” against “ excluded”. It is a nested-model Bayes-factor statement under misspecification. We do not prove it; Jiang and Tokdar (2021) handle the correctly specified Gaussian-process case. Because Assumption 3 bounds a Bayes factor by a constant, it can hold only for zero-gain spurious structures, that is, those whose support fits no better than does. Any structure that fits better must be counted as informative. Two examples satisfy it. The trivial partition satisfies Assumption 3 with , at the price of counting every structure that uses as informative. More interestingly, when uses only through an odd interaction and the covariates are independent, an additive term in fits no better than a function that ignores ; Assumption 3 then says that the Bayesian Occam factor penalizes such a useless component, which is the behaviour expected of nested Bayesian model comparison, although we do not prove it in this generality. We can now state when the exact posterior detects a variable.
Proposition 3 (Information floor and structural-weight converse). (a) (Prior-free; uses Assumption 2, and .) For any selection rule , .
(b) (Uses Assumption 2 and Assumption 3 and the structured setup.) Fix and , and let , with . Let and . For every and , with -probability at least ,
Part (a) says that no procedure, Bayesian or not, can detect reliably unless is of order one. Part (b) says that the exact posterior misses while : the data must overcome the prior odds against the informative structures. With and , is missed for every with probability at least . Two further non-asymptotic statements are given in Appendix B.5: a sparsity-prior ceiling (the trivial-partition case of (b)), and a detection bound based on Le Cam–Birgé tests (cited) for sup-norm-bounded priors. Together, (a) and (b) identify two separate barriers to detection: the information in the data, which limits every method, and the prior weight of the right kind of structure, which no amount of signal can overcome when it is zero.
Part (b) suggests that the information needed for detection grows with . To make this precise, we vary the informative weight while keeping everything else fixed.
To isolate the role of , fix a reference structured prior with informative weight . For , let rescale the informative structures to total weight and all others to , keeping proportions within each group. Vary the information index only through , and let
be the smallest information index at which is detected at least half of the time under . Let be the informative gap, where is the normalized informative part of the prior and the support is taken in . Let be the efficiency of the informative structures.
Corollary 1 (Linear dependence on the log prior weight). (i) If , the moment condition (M4) holds (prior draws have finite fourth moments under : for -almost every ), Assumption 3 holds under with and , and lies in the -support of restricted to , then .
(ii) Let , , , and let be the constant of a cited test construction (Lemma 4). Assume, under : (U1) all prior draws lie in one class with ; (U2) the set is covered by finitely many Hellinger balls of radius centred at densities with in that set; (U3) is approximable by the informative structures: gives positive mass to , for every . If moreover implies , -a.s. (Assumption 6(a)), then , and as .
Taken together, (i) and (ii) show that the detection threshold grows linearly in : for small , each tenfold reduction of the informative prior weight raises the information needed for detection by roughly a constant amount. Apart from Assumption 3, the conditions of (i) hold for Gaussian-process priors with bounded kernels and for the parametric families of our meta-prior with Gaussian weights, whenever the prior restricted to can approximate . The constants in (i) and (ii) differ by a factor of about seven, and (ii) excludes Gaussian-process priors. The next theorem removes both limitations. It replaces the tests by a uniform upper bound on the integrated likelihood (Lemma 8). That bound is in the spirit of Shalizi (2009) and of the Bayes-factor asymptotics of Chatterjee et al. (2018), but is proved directly. The device that removes every sup-norm assumption is to clip both and at a level , which can only shrink each residual. The theorem uses, besides the moment condition (M4) of Corollary 1(i), two conditions on a set of functions and a radius , stated in full in Appendix B.5: a clipped population gap ( ), that after clipping and at a large level and restricting to a large cube, every has expected squared residual at least up to an arbitrarily small tolerance; and a sieve condition ( ), that the prior restricted to puts all but mass , for some , on sets whose clipped versions have sup-norm covering numbers on cubes of order . By Lemma 10, ( ) holds for finite mixtures of Gaussian processes with, for example, squared-exponential kernels, and of parametric families such as neural networks with Gaussian weights, linear models and random-feature expansions, provided kernels and architectures range over finitely many values. Families whose draws are discontinuous in their parameters (trees with random split points) and Gaussian processes with continuously distributed length-scales are not covered.
Theorem 2 (Sharp detection threshold). Assume Assumption 2, and .
(i) (Upper half; no Assumption 3, no sup-norm bound.) If and the prior restricted to satisfies the sieve condition with and , then .
(ii) (Lower half.) Assume Assumption 3 as in Corollary 1(i) and the support condition on . If , then . If , assume in addition the clipped-gap hypothesis: the informative part is carried by a set satisfying with . Then (read if ).
Consequently, under (i) and (ii), .
The theorem identifies the constant. When the informative structures can represent how uses ( ), detection requires an information index of about for small ; when they can only approximate it ( ), the requirement is inflated by the factor , and a variable whose effect they cannot capture better than by ignoring it ( ) is not detected once is small. The moment condition (M4) holds for Gaussian processes with bounded kernels, for bounded function classes, and for neural networks with Lipschitz activations when .
The log p scale as a special case. The prior-weight law contains the familiar dimension dependence of high-dimensional selection. The informative structures for all have , so , which equals the mean sparsity under the Beta-Bernoulli prior of Section 3.3. If the prior is calibrated so that , Proposition 3(b) shows that the exact posterior misses unless, up to the lower-order terms there, . For a linear truth, , so this is the beta-min condition of sparse linear regression, recovered for nonlinear effects with in place of and with an explicit constant.
The clipped-gap hypothesis requires (U#1), which holds when the informative structures are saturated, meaning that some minimizing structure contains in its support (Lemma 9), and (U#2) on the informative part, which holds for finite mixtures of Gaussian processes and of smooth parametric families (Lemma 10). It need not hold for restricted informative classes, and Appendix B.5 gives a counterexample in which the gap is not the quantity that governs the evidence. The theorem is asymptotic in and gives no explicit rate in ; the test-based Corollary 1(ii) remains as a non-asymptotic statement with explicit constants. For an exactly enumerable Gaussian-process toy prior with the truth , the theorem gives without Assumption 3, and limit 2 under Assumption 3 (Corollary 2).
What this predicts for SelectPFN. The theorem concerns the exact posterior, and the network approximates it. It nevertheless gives a sharp qualitative prediction. A variable that acts only through a function class carrying little meta-prior weight needs an information index of about before it is detected, however strong its effect. When that class has no weight, the variable is never detected. A meta-prior in which every interacting variable also has a main effect gives odd interactions such as , whose variables have no marginal effect, almost no informative weight; the interaction-only family of Section 3.3 gives them substantial weight. The ablation in Section 5.4.4 confirms the prediction: without the interaction-only family, in design C are included in 0.06 of the data sets at (averaged over the two variables), against 0.36 for SelectPFN and 0.52 for SelectPFN-L, and in a controlled study in which only the weight of the family varies, detection rises monotonically with the weight. For the exact posterior on the toy prior, grows linearly in , with the ratio falling from 7.4 to 4.0 and staying above 2 (Appendix B.5; a numerical illustration).
4.4 What amortization can and cannot guarantee for a fixed truth
Fix a truth with active set and indicator , and let , with allowed to grow. Consistency of the amortized selector needs two assumptions, one about the exact posterior and one about the trained network.
Assumption 4 (Bayesian selection consistency with margin). for some .
Assumption 5 (Uniform amortization, sign version). With -probability tending to one, for all .
Assumption 4 is known for specific priors: linear spike-and-slab models under beta-min conditions, Gaussian-process regression (Jiang and Tokdar, 2021), and sparse deep networks (Sun et al., 2022). For a mixture meta-prior it must still be verified. Assumption 5 concerns the trained network at the truth. It holds, for example, whenever the network's inclusion probabilities stay within a fixed distance of the exact ones on data sets that are typical under , since under Assumption 4 the exact probabilities are then far from . Under these two assumptions, consistency of the amortized selector is immediate.
Proposition 4 (Frequentist consistency of the amortized MPM). Under Assumption 4 and Assumption 5, .
No growth condition on is imposed beyond Assumption 4: the admissible rate is that of the exact-posterior result at hand, for linear spike-and-slab priors typically together with a beta-min condition, the scale identified after Theorem 2. Assumption 5 concerns the trained network, which is pretrained for ; larger is handled by the block-wise procedure of Section 3.9, which the proposition does not cover.
The proposition shows that an amortized selector inherits the consistency of the Bayesian procedure it approximates, provided the approximation is accurate at the truth. The composition is elementary; the content lies in Assumption 5. One might hope that a small training loss implies Assumption 5. The next result shows that it does not. The reason is that training certifies on data sets that are typical under the prior predictive , and these can carry little -mass near a fixed truth. The construction uses the sieve-and-test condition (Assumption 7) of Appendix B.6: there are sieves on which for some , and radii such that the tests of Lemma 4 separate from with vanishing error. It is the standard condition of posterior-contraction theory (Ghosal et al., 2000), which holds for smooth parametric families and for bounded nonparametric classes with polynomial entropy (Lemma 11).
Proposition 5 (Average-case training does not transfer to a fixed truth). Work in the regression model of Assumption 2 with a joint prior on , at fixed size .
(1) (Construction.) Assume Assumption 4, and the sieve-and-test condition (Assumption 7) of Appendix B.6. Assume . Then there are events with , and maps (which may depend on ) such that with -probability tending to one, while . Here is arbitrary, and are the sieves and radii of Assumption 7, and with , b the sup-norm bound of Assumption 7, and . In a parametric model of dimension satisfying the conditions of Lemma 11(b), for every is compatible with failure of Assumption 5. When the prior mass of -balls around decays faster than every power of (Lemma 11(a)), so does .
(2) (Lower bound.) If is an event on which and , then for every , every set of functions with and (as in Lemma 3), and every ,
Part (2) shows that a training error below the prior-mass level does rule out sign flips on -typical data. Part (1) shows that errors only slightly above do not. Assumption 5 must therefore come from structure (the architecture and its approximation properties), not from the loss alone. This is the selection analogue of the observation that the prior is not washed out in PFNs (Melnychuk et al., 2026). A constructive route to Assumption 5 for linear spike-and-slab priors at fixed is sketched in Appendix B.6. We state it as a conjecture. It needs the network to know , which SelectPFN's selection readout receives through its global token.
Related theory. Nagler (2023) shows that the bias of a PFN need not vanish without locality. Melnychuk et al. (2026) show that PFN treatment-effect posteriors can be frequentist-inconsistent. Frazier et al. (2024) study the concentration of neural posterior estimators, and Wakayama and Suzuki (2026) give non-asymptotic Bayes-gap bounds for in-context learning. In-context learning theory covers the Lasso (Bai et al., 2023), minimax nonparametric regression (Kim et al., 2024), and single-index targets with low-dimensional structure (Oko et al., 2024). Maceda et al. (2026) compare neural inclusion probabilities with MCMC. LinearPFN (Schiekiera et al., 2026) trains a PFN on a linear spike-and-slab prior with interactions and gives no theory. To our knowledge, none of these works gives selection guarantees for an amortized posterior, a detection threshold in terms of prior structural weight, or finite-sample FDR control for a floating-point network.
5 Simulation studies
We evaluate SelectPFN in simulations that address four questions: how accurately it selects variables in nonlinear models that it never saw during training, how closely its amortized inclusion probabilities track the exact Bayesian posterior, whether restricting prediction to the selected variables costs accuracy, and whether knockoff mode controls the false discovery rate. Section 6 then turns to real covariate matrices and real responses.
5.1 Simulation setup
SelectPFN models. SelectPFN is trained on the meta-prior of Section 3.3 (Table 14) at two sizes: SelectPFN, with , 6 layers and 1.9M parameters, trained for 80k steps (4.9 GPU-hours on one RTX 4090), and SelectPFN-L, with , 8 layers and 9.5M parameters, trained for 120k steps (17.8 GPU-hours). Training is done once; no model is retrained or tuned for any data set below. For specific studies we also train a model on a Gaussian-process prior whose posterior can be enumerated exactly, a knockoff model ( , 8 layers) on 2p-column tables containing exact Gaussian knockoffs, and the ablation models of Section 5.4.4. Implementation details are in Appendix A.
Data-generating models. None of the following designs is drawn from the meta-prior. Covariates are AR(1) Gaussian with correlation , transformed to uniform margins for design A, and the active set is placed at random positions. The response is with Gaussian noise of variance and signal-to-noise ratio SNR = Varf/ .
• A (Friedman; Friedman, 1991): .
• B (additive): .
- C (interactions and a threshold): . Here and affect the response only through , so neither has a marginal association with .
• D (neural network): a two-hidden-layer tanh network (widths 16 and 8) on 8 inputs with a linear output, whose weights are Gaussian with variance 1/fan-in and biases , drawn once and kept fixed across replicates.
• L and L10 (sparse linear): , and with equally spaced from 1 to 0.3.
- L20 and B20 ( ): with equally spaced from 1 to 0.3, and with the five centred components of design B, , , , and , each applied to four variables.
The main study crosses , , the three values of and , with 50 replicates per setting: 7,200 data sets. Further studies use the following settings.
• Support recovery: n up to 800, plus the sparse linear designs L and L10; 30 replicates.
-
Low-dimensional slice: p = 20 and otherwise the main grid, so that LinearPFN, which accepts at most 30 predictors, can be compared on the same data sets.
-
Exact posterior: 2,000 tasks from a Gaussian-process subset prior with , a shared squared-exponential kernel and hyperparameters on a 27-point grid, for which the posterior is computed by enumeration (Appendix C).
• Calibration: 10,000 held-out tasks from the meta-prior, about 1.06 million variable-task pairs.
-
Knockoffs: , , (Gaussian margins also for design A), and 200 replicates, for designs A–D and the designs L20 and B20 with .
-
Ablation: design C, and for the prior-weight study design C with , , and , 100 replicates (Section 5.4.4).
5.2 Evaluation metrics
• Ranking accuracy: the area under the precision–recall curve (AUPRC) of the variable scores against , our primary metric because active variables are few, and the area under the ROC curve (AUROC).
-
Selected set: the true positive rate (TPR), the false discovery proportion (FDP), and exact recovery, . The selected set of SelectPFN is the median probability model (MPM), ; the other methods use their default or cross-validated rule.
-
Posterior accuracy: the mean absolute difference between amortized and exact PIPs, the agreement of their MPMs, and the realized Bayes regret of Proposition 2; for calibration, the expected calibration error (ECE) and the largest deviation of the reliability curve.
• Prediction: the held-out RMSE, reported as a ratio to TabPFN fitted on all columns.
- Knockoff mode: the empirical FDR and power of knockoff+ at levels .
• Computation: wall-clock time per data set.
All intervals are 95% percentile bootstrap intervals over data sets, with 2,000 bootstrap resamples. Paired comparisons use the same data sets for all methods; they are tested with the two-sided Wilcoxon signed-rank test, with Holm-adjusted p-values within each table.
5.3 Competing methods
We compare SelectPFN with fifteen methods that cover every family reviewed in Section 2.
• Penalized regression: the lasso, elastic net, SCAD and MCP (Tibshirani, 1996; Zou and Hastie, 2005; Fan and Li, 2001; Zhang, 2010), with penalties chosen by cross-validation.
• Model-free screening: DC-SIS (Li et al., 2012) and HSIC-Lasso (Yamada et al., 2014), which rank variables only.
• Gaussian-process regression with automatic relevance determination (GP-ARD).
• Tree ensembles: BART and DART (Chipman et al., 2010; Linero, 2018). Their PIP is the fraction of posterior draws that use a variable; DART ranks variables by this PIP and BART by its average share of splits (Bleich et al., 2014).
• Sparse neural networks: LassoNet (Lemhadri et al., 2021), a lightweight group-MCP sparse-input network in the spirit of GCRNet (Luo and Halabi, 2025), and a sparse Bayesian network with a spike-and-slab prior on every weight , after Sun et al. (2022).
• Foundation models: TabPFN v2 (Hollmann et al., 2025) with permutation importance, and with SHAP (Lundberg and Lee, 2017) on the low-dimensional slice.
• Amortized selection: LinearPFN (Schiekiera et al., 2026), the closest amortized competitor, on the low-dimensional slice.
marks our own implementations: the sparse Bayesian network has no public code, and the group-MCP network is a fast, simplified version of GCRNet that fits the full benchmark at low cost; it is not tuned as in Luo and Halabi (2025). For the sparse Bayesian network the sparsity level is chosen on a validation split; at these sample sizes it still selects conservatively, so its results are best read as a lower bound for the method. PACE (Qin et al., 2026) has no public implementation. For knockoff mode, the SelectPFN statistic , with the inclusion probability of the knockoff of , is compared with the lasso coefficient-difference and random-forest importance statistics, using exact or second-order knockoffs (Gaussian, with a Ledoit–Wolf covariance estimate; Ledoit and Wolf, 2004).
5.4 Results
5.4.1 Variable selection in nonlinear models
Table 1 summarizes selection over the 7,200 data sets of the main study, Table 2 gives paired comparisons, and Figure 1 breaks AUPRC down by design.
Both SelectPFN models rank variables more accurately than every competing method. SelectPFN-L reaches AUPRC 0.771, and SelectPFN 0.754, against 0.543 for the best competitor evaluated on all 7,200 data sets (LassoNet); its paired advantage over the competitors ranges from 0.16 to 0.41, with every Holm-adjusted , and it is 0.16 ahead of TabPFN with permutation importance. The advantage holds in every design (Figure 1), and SelectPFN beats DART in 100% of the correlated settings and is never below it. Its selected sets are also far more reliable. The MPM of SelectPFN-L has FDP 0.070, against 0.632 for DART and 0.38–0.92 for the other methods with a selection rule (the sparse Bayesian network has a lower FDP only because it selects almost no variables), and it recovers the active set exactly in 21.5% of the data sets, against at most 1.2% for any competitor.
Table 1: Variable selection on designs A–D (, , , ; 50 replicates). TPR, FDP and exact recovery refer to each method's selected set: the MPM for SelectPFN, cross-validated or default selection for the others. Methods with fewer than 7,200 data sets were run on a subset of replicates; compare them through the paired results in Table 2. Our implementation. Bold: best value in each of the AUPRC, AUROC and exact-recovery columns.
| Method | data sets | AUPRC | AUROC | TPR (MPM) | FDP (MPM) | exact recovery |
|---|---|---|---|---|---|---|
| SelectPFN | 7200 | 0.754 [0.748, 0.759] | 0.922 [0.919, 0.924] | 0.612 [0.605, 0.619] | 0.070 [0.066, 0.073] | 0.192 [0.183, 0.202] |
| SelectPFN-L | 7200 | 0.771 [0.765, 0.776] | 0.929 [0.926, 0.931] | 0.633 [0.625, 0.640] | 0.070 [0.066, 0.073] | 0.215 [0.205, 0.224] |
| DART | 7200 | 0.499 [0.491, 0.506] | 0.775 [0.771, 0.780] | 0.539 [0.530, 0.547] | 0.632 [0.626, 0.639] | 0.012 [0.009, 0.014] |
| BART | 7200 | 0.538 [0.530, 0.545] | 0.804 [0.800, 0.808] | 0.835 [0.829, 0.842] | 0.916 [0.915, 0.918] | 0.000 [0.000, 0.000] |
| Lasso | 7200 | 0.512 [0.507, 0.518] | 0.767 [0.764, 0.771] | 0.524 [0.518, 0.531] | 0.648 [0.642, 0.653] | 0.000 [0.000, 0.000] |
| Elastic net | 7200 | 0.490 [0.485, 0.496] | 0.769 [0.766, 0.772] | 0.566 [0.560, 0.573] | 0.756 [0.751, 0.762] | 0.000 [0.000, 0.000] |
| SCAD | 7200 | 0.513 [0.507, 0.519] | 0.763 [0.759, 0.766] | 0.500 [0.493, 0.506] | 0.570 [0.563, 0.577] | 0.000 [0.000, 0.001] |
| MCP | 7200 | 0.509 [0.503, 0.515] | 0.750 [0.747, 0.754] | 0.451 [0.445, 0.458] | 0.375 [0.368, 0.382] | 0.000 [0.000, 0.001] |
| DC-SIS | 7200 | 0.499 [0.494, 0.505] | 0.834 [0.831, 0.837] | - | - | - |
| HSIC-Lasso | 7200 | 0.520 [0.515, 0.526] | 0.809 [0.806, 0.811] | - | - | - |
| GP-ARD | 7200 | 0.503 [0.496, 0.510] | 0.835 [0.832, 0.837] | - | - | - |
| Group-MCP NN | 7200 | 0.486 [0.480, 0.492] | 0.763 [0.760, 0.767] | 0.671 [0.665, 0.676] | 0.870 [0.867, 0.873] | 0.000 [0.000, 0.000] |
| LassoNet | 7200 | 0.543 [0.536, 0.549] | 0.805 [0.802, 0.808] | 0.573 [0.566, 0.581] | 0.628 [0.621, 0.634] | 0.000 [0.000, 0.001] |
| Sparse BNN | 7200 | 0.358 [0.352, 0.365] | 0.691 [0.687, 0.695] | 0.039 [0.036, 0.041] | 0.004 [0.003, 0.005] | 0.000 [0.000, 0.000] |
| TabPFN + perm. imp. | 1440 | 0.603 [0.588, 0.618] | 0.809 [0.801, 0.818] | - | - | - |
Table 2: Paired AUPRC differences on matched data sets. Holm adjustment is over all paired comparisons in Table 15.
| Comparison | matched | ΔAUPRC [95% CI] | Wilcoxon p | Holm p |
|---|---|---|---|---|
| SelectPFN-L – DART | 7200 | 0.271 [0.266, 0.277] | ||
| SelectPFN-L – BART | 7200 | 0.233 [0.228, 0.237] | ||
| SelectPFN-L – Lasso | 7200 | 0.259 [0.254, 0.263] | ||
| SelectPFN-L – Elastic net | 7200 | 0.280 [0.276, 0.285] | ||
| SelectPFN-L – SCAD | 7200 | 0.257 [0.252, 0.262] | ||
| SelectPFN-L – MCP | 7200 | 0.261 [0.256, 0.266] | ||
| SelectPFN-L – DC-SIS | 7200 | 0.271 [0.267, 0.275] | ||
| SelectPFN-L – HSIC-Lasso | 7200 | 0.250 [0.246, 0.254] | ||
| SelectPFN-L – GP-ARD | 7200 | 0.267 [0.262, 0.272] | ||
| SelectPFN-L – Group-MCP NN | 7200 | 0.284 [0.280, 0.289] | ||
| SelectPFN-L – LassoNet | 7200 | 0.228 [0.224, 0.232] | ||
| SelectPFN-L – Sparse BNN | 7200 | 0.412 [0.406, 0.418] | ||
| SelectPFN-L – TabPFN + perm. imp. | 1440 | 0.164 [0.156, 0.172] | ||
| SelectPFN-L – SelectPFN | 7200 | 0.017 [0.016, 0.018] |
Two features of the method explain these gains. First, SelectPFN's inclusion probabilities average over all structures in a broad nonlinear meta-prior, so a variable is credited whether it acts additively, through an interaction or through a threshold; penalized and screening methods credit mainly the effects they model. Second, the MPM thresholds posterior probabilities rather than tuning a penalty for prediction, which is why its false discovery proportion is five to thirteen times lower than those of the cross-validated competitors. The larger network adds a further +0.017 [0.016, 0.018] in AUPRC, mostly on design C, whose interaction-only variables are the subject of Sections 5.4.3 and 5.4.4.
5.4.2 Comparison with an amortized linear selector
On the low-dimensional slice (; Tables 3 and 20), every method can be compared with LinearPFN, which models main effects and pairwise products explicitly. Averaged over the four designs, SelectPFN outperforms it: AUPRC 0.916 and 0.923 for SelectPFN and SelectPFN-L,

Figure 1: Mean AUPRC by design with 95% bootstrap intervals; most intervals are narrower than the markers. The two SelectPFN models are shades of one hue. Numerical values are in Table 16.
Table 3: Low-dimensional slice: , designs A–D, , three values of , two SNRs, 50 replicates (2,400 data sets; TabPFN+SHAP 20 replicates). For LinearPFN, the variable score is the maximum PIP over the variable's main effect and all interactions involving it. Bold: best value in the AUPRC and per-design columns.
| Method | data sets | AUPRC | TPR (MPM) | FDP (MPM) | A | B | C | D |
|---|---|---|---|---|---|---|---|---|
| SelectPFN | 2400 | 0.916 [0.911, 0.920] | 0.756 [0.747, 0.766] | 0.070 [0.065, 0.075] | 0.956 | 0.934 | 0.892 | 0.881 |
| SelectPFN-L | 2400 | 0.923 [0.919, 0.927] | 0.779 [0.770, 0.789] | 0.068 [0.063, 0.073] | 0.958 | 0.938 | 0.910 | 0.886 |
| LinearPFN | 2400 | 0.866 [0.861, 0.871] | 0.684 [0.674, 0.693] | 0.113 [0.106, 0.120] | 0.891 | 0.802 | 0.895 | 0.876 |
| TabPFN + SHAP | 960 | 0.825 [0.815, 0.835] | - | - | 0.913 | 0.831 | 0.739 | 0.818 |
| DART | 2400 | 0.743 [0.734, 0.751] | 0.684 [0.670, 0.698] | 0.397 [0.385, 0.410] | 0.869 | 0.742 | 0.635 | 0.724 |
| Lasso | 2400 | 0.719 [0.712, 0.725] | 0.632 [0.621, 0.643] | 0.442 [0.433, 0.451] | 0.846 | 0.676 | 0.532 | 0.821 |
| BART | 2400 | 0.736 [0.728, 0.744] | 1.000 [1.000, 1.000] | 0.700 [0.698, 0.703] | 0.871 | 0.743 | 0.619 | 0.711 |
| Group-MCP NN | 2400 | 0.766 [0.760, 0.772] | 0.853 [0.845, 0.861] | 0.574 [0.566, 0.581] | 0.847 | 0.708 | 0.686 | 0.822 |
| Sparse BNN | 2400 | 0.640 [0.630, 0.649] | 0.286 [0.274, 0.297] | 0.126 [0.117, 0.136] | 0.764 | 0.593 | 0.454 | 0.748 |
against 0.866 for LinearPFN, a paired advantage of 0.050 [0.046, 0.054] and 0.057 [0.054, 0.061]. The advantage comes from the designs that are not products of variables. On design C, where and near the origin suit LinearPFN's explicit product terms, the two are comparable (0.892 for SelectPFN and 0.895 for LinearPFN), and SelectPFN-L is ahead (0.910). SelectPFN's selected set is also more conservative (FDP 0.068–0.070, against 0.113 for LinearPFN). Among the remaining methods, TabPFN with SHAP comes closest (0.825); both SelectPFN models exceed it (Holm-adjusted ) and exceed every non-amortized method by at least 0.13 in mean AUPRC.
5.4.3 Support recovery and interaction-only variables
Table 4 reports exact recovery and the false-negative rate (FNR; fraction of active variables missed) of the MPM as grows; the full grid is in Table 18. Exact recovery improves steadily with , and false positives are rare throughout: the false-positive rate (FPR; fraction of inactive variables selected) is at most 0.012 in every design and at every , so the remaining errors are almost all misses of weak effects.
Design C is the most demanding case, because and act only through and have
Table 4: Exact recovery of by the MPM and its false-negative rate (FNR) (30 replicates per setting, averaged over , and SNR). The full grid is in Table 18.
| Design | SelectPFN exact | SelectPFN FNR | SelectPFN-L exact | SelectPFN-L FNR | |
|---|---|---|---|---|---|
| C | 300 | 0.07 | 0.38 | 0.15 | 0.32 |
| C | 800 | 0.24 | 0.22 | 0.41 | 0.16 |
| D | 300 | 0.02 | 0.35 | 0.04 | 0.34 |
| D | 800 | 0.23 | 0.16 | 0.36 | 0.13 |
| L10 | 300 | 0.28 | 0.16 | 0.33 | 0.16 |
| L10 | 800 | 0.53 | 0.05 | 0.59 | 0.05 |
no marginal association with . Even so, SelectPFN includes them in 0.36 of the data sets at (averaged over and ), and SelectPFN-L in 0.52, with exact recovery on design C of 0.24 and 0.41. The next subsection shows that this ability comes from the interaction-only family of the meta-prior.
5.4.4 Ablation: what the meta-prior must contain
Theorem 2 predicts that a variable can be detected only if the meta-prior gives weight to the kind of structure through which it acts. We test this prediction with two ablations at .
Removing the interaction-only family. We trained SelectPFN on a meta-prior without the interaction-only family and the weak-effect regime, in which every interacting variable of the pairwise family also has a main effect and the remaining families are reweighted (Table 14). This model essentially never finds the interaction-only variables of design C (Table 5, Figure 2): it includes in 0.06 of the data sets at , against 0.36 for SelectPFN, and recovers the active set of design C exactly in 0.01 of them, against 0.24. Over all designs, the interaction-only family adds +0.026 [0.024, 0.027] in AUPRC, almost entirely on design C, without lowering accuracy on the other designs.
Varying the prior weight. Because this ablation changes more than one aspect of the meta-prior, we also trained nine models for 40k steps that differ only in the weight of the interaction-only family (two training seeds for each ), and evaluated each on 3,000 data sets from design C. Detection of is summarized by the information index of Theorem 2 and by , the index at which detection reaches one half (Table 6 and fig. 3).
Detection rises monotonically with the prior weight, as the theory predicts. At and SNR 5, the seed-averaged detection is 0.01, 0.06, 0.12, 0.57 and 0.82 for ; at the largest index in the grid it is 0.09, 0.30, 0.40, 0.99 and 1.00. With the variables are essentially never found, at any sample size or SNR, as Proposition 3(b) predicts. The threshold lies beyond the grid for , and falls to 536–622 at and to 275–394 at . The extra power costs nothing in false selections: null variables enter the MPM at a rate of 0.003–0.005 for every , and AUPRC on design C rises from 0.795 to 0.895.
The trained networks' threshold grows faster as falls than the logarithmic rate that Theorem 2 gives for the exact posterior. An amortized model must also learn to recognize a structure from the training tasks, and rarely generated structures are learned less well. For an amortized selector, the weight of a structure in the meta-prior therefore matters at least as much as the theory for the
Table 5: Ablation of the interaction-only family (; main simulation study, low-dimensional slice and support-recovery study). Detection: how often the MPM includes , which act only through in design C. Bold: better of the two models.
| Model (d=128) | AUPRC, all designs | AUPRC, design C | AUPRC, design C, p=20 | detection of , C, n=800 | exact recovery, C, n=800 |
|---|---|---|---|---|---|
| SelectPFN (full meta-prior) | 0.754 [0.748, 0.759] | 0.609 | 0.892 | 0.36 | 0.24 |
| SelectPFN, no interaction-only family | 0.728 [0.722, 0.734] | 0.503 | 0.823 | 0.06 | 0.01 |

Figure 2: Design C: how often the MPM includes the interaction-only variables (average of the two; band: 95% bootstrap interval over data sets). Without the interaction-only family the meta-prior gives such structures no weight, and the variables are essentially never found, as Corollary 1 and Theorem 2 predict.
exact posterior indicates, and the meta-prior should give substantial weight to every structure one wants to detect, as SelectPFN's does.
5.4.5 Accuracy of the amortized posterior
Agreement with an exact posterior. On the Gaussian-process subset prior the posterior can be enumerated, so the amortized PIPs can be compared with the exact ones (Table 7). The amortized posterior is close to the exact one and approaches it steadily as training compute grows. The mean absolute PIP error is 0.047 after 25k training steps, 0.037 after 100k steps and 0.028 for the larger model (, 8 layers), and the gap in predictive log loss to the exact posterior falls from 0.036 to 0.024 and 0.016. The selected sets agree exactly with the exact MPM on 0.820 of the tasks for the model and on 0.846 for the larger one, and on 0.942 of the tasks without a near-tie. The remaining disagreements are cheap. Agreement is an exact-match statistic over all variables of a task, and it falls as the true support grows even though of individual variables agree. The disagreements concentrate on near-ties: the of variables with account for of them, and there the choice hardly matters for the Bayes risk. Indeed, the realized Bayes regret of the amortized MPM is 0.0095 per variable for the larger model, within the bound 0.021 of Proposition 2. DART and GP-ARD, which estimate the same quantities by per-data-set inference, are much further from the exact posterior.
Calibration. On 10,000 held-out meta-prior tasks (Table 8, Figure 4), the inclusion probabilities are very well calibrated: the ECE is 0.0005 for SelectPFN and 0.0009 for SelectPFN-L, and the

Figure 3: Models that differ only in the prior weight of the interaction-only family. Left: detection of , (acting only through in design C) against the information index , seeds pooled. Right: detection at two fixed ; dots are training seeds, lines their mean.
reliability curve stays within in every stratum defined by an observable quantity or the dependence type). Within strata defined by latent quantities, such as the true number of active variables, calibration is not expected even of the exact posterior, which we confirmed on the exact-posterior tasks; per-stratum results are in Table 17.
5.4.6 Prediction from the selected variables
Restricting prediction to the selected variables does not cost accuracy. Over the 144 settings of the main study, the model-averaged prediction of SelectPFN is more accurate than TabPFN fitted on all p columns, with geometric-mean RMSE ratios 0.946 for SelectPFN and 0.950 for SelectPFN-L (Table 9). For SelectPFN the ratio stays below 1.05 in every setting. Discarding irrelevant columns removes noise that a model using all columns must learn to ignore, which is why selection can improve prediction at these sample sizes. Relative to an oracle that is given the true active set, predicting from the MPM costs 8.7% in RMSE, and averaging over sampled subsets reduces this to 7.3%. For SelectPFN-L, accuracy drops on design B at n = 300 and SNR = 5 in the oracle-subset prediction as well, so the loss lies in the prediction pass rather than in selection; about half of it comes from extrapolation to extreme responses (Table 19). We therefore use SelectPFN (d = 128) for prediction.
5.4.7 False discovery rate control in knockoff mode
With exact knockoffs, the FDR is at or below the nominal level for every statistic and design (Table 10, Figure 5), as Theorem 1 guarantees. Among valid statistics, SelectPFN is the most powerful. On the designs with its power at is 0.47, against 0.33 for the lasso statistic, with FDR 0.061; at its power is 0.64, with FDR 0.163. On designs A–D at its power is 0.49, against 0.18 for the lasso statistic. With only five to eight active variables, knockoff+ at cannot reach its threshold, which requires at least ten rejections, so power at that level is near zero for every statistic. With second-order knockoffs the FDR rises slightly, to 0.08 at , consistent with the guarantee holding to the extent that the knockoffs are valid.
Table 6: Prior-weight study on design C (, ; 3,000 data sets per model). : information index at which detection () reaches one half, from a logistic fit in with a bootstrap 95% CI over data sets; “not reached”: beyond the grid; < 56: detection exceeds one half already at the smallest index. Det.: detection of at the stated (, SNR). “Reference” models are the main models, which differ in more than .
| Model | det. , , SNR 5 | det. , , SNR 20 | AUPRC | ||
|---|---|---|---|---|---|
| , seed 0 | not reached | 91 [79, 99] | 0.01 | 0.09 | 0.795 |
| , seed 0 | not reached | 111 [101, 121] | 0.04 | 0.30 | 0.810 |
| , seed 1 | not reached | 96 [87, 105] | 0.09 | 0.30 | 0.814 |
| , seed 0 | not reached | 92 [81, 101] | 0.12 | 0.32 | 0.823 |
| , seed 1 | not reached | 86 [76, 94] | 0.11 | 0.48 | 0.825 |
| , seed 0 | 536 [513, 562] | 60 | 0.61 | 0.99 | 0.870 |
| , seed 1 | 622 [591, 655] | 61 | 0.53 | 0.99 | 0.873 |
| , seed 0 | 275 [262, 289] | < 56 | 0.89 | 1.00 | 0.901 |
| , seed 1 | 394 [376, 415] | < 56 | 0.74 | 1.00 | 0.888 |
| no interaction-only family (reference) | not reached | 86 [77, 94] | 0.01 | 0.04 | 0.791 |
| SelectPFN-L (reference) | 158 [149, 166] | < 56 | 0.99 | 1.00 | 0.924 |
| SelectPFN (reference) | 249 [236, 262] | < 56 | 0.97 | 1.00 | 0.905 |
| SelectPFN, seed 1 (reference) | 405 [386, 427] | 57 | 0.76 | 1.00 | 0.888 |
| SelectPFN, seed 2 (reference) | 354 [338, 373] | 58 | 0.80 | 1.00 | 0.894 |
Table 7: Amortized vs. exact posterior on 2,000 Gaussian-process subset tasks. MPM agreement: exact match of and on a task. No near-ties: tasks with all . Exact plus random errors of the network's size (sign-randomized , permuted within the task). NLL – exact: mean predictive negative log-likelihood minus that of the exact posterior. *GP-ARD, fitted by type-II maximum likelihood (ML-II), has no PIP; its selected set is the variables with ARD length-scale . Bold: best value in each column, excluding the reference column.
| Method | mean |q - π| | MPM agreement | agreement, no near-ties | reference | NLL – exact |
|---|---|---|---|---|---|
| SelectPFN, d=128, 25k steps | 0.047 [0.046, 0.049] | 0.780 [0.762, 0.799] | 0.875 [0.860, 0.891] | 0.832 [0.816, 0.848] | 0.036 |
| SelectPFN, d=128, 100k steps | 0.037 [0.036, 0.039] | 0.820 [0.803, 0.837] | 0.916 [0.903, 0.928] | 0.861 [0.846, 0.875] | 0.024 |
| SelectPFN, d=256, 8 layers, 80k steps | 0.028 [0.027, 0.030] | 0.846 [0.831, 0.862] | 0.942 [0.931, 0.953] | 0.884 [0.871, 0.898] | 0.016 |
| DART | 0.335 | 0.156 | 0.167 | - | 0.180 |
| GP-ARD (ML-II)* | - | 0.271 | 0.307 | - | 0.117 |
5.4.8 Computation time and robustness to training randomness
SelectPFN needs no fitting, tuning or convergence diagnostics for a new data set. At its selection pass takes 0.037 s per data set for SelectPFN (0.042 s for SelectPFN-L), against 15.4 s for DART, a speed-up of . A model-averaged prediction over 64 sampled subsets adds 0.21 s, because predictions are cached for each distinct subset. All times were measured on one RTX 4090.
The results do not depend on a lucky training run. Over three independent training seeds of SelectPFN, the AUPRC of the main study has standard deviation 0.0033, an order of magnitude below the effect of the interaction-only family (+0.026; Table 11).
5.5 Summary
Across 7,200 simulated data sets from nonlinear designs that it never saw during training, SelectPFN ranks variables more accurately than every penalized, tree-based, sparse-network and foundation-model competitor, by 0.23–0.28 in AUPRC over the established methods, and its selected sets have an FDP near 0.07 against 0.38–0.92 for the competitors (except the sparse Bayesian network, which selects almost nothing). It does so in a few hundredths of a second per data set, without tuning. Its inclusion probabilities are close to the exact Bayesian posterior and well calibrated, and their
Table 8: Calibration of on 10,000 held-out meta-prior tasks (equal-mass bins). The last column counts the strata, defined by , or the dependence type, in which the reliability curve stays within . Max dev.: largest absolute deviation of the reliability curve from the diagonal.
| Model | ECE | max dev. | AUPRC | strata within |
|---|---|---|---|---|
| SelectPFN | 0.0005 | 0.0034 | 0.691 | 10/10 |
| SelectPFN-L | 0.0009 | 0.0035 | 0.706 | 10/10 |

Figure 4: Reliability on held-out meta-prior tasks: observed frequency of activity minus mean in bins of width 0.1, with 95% binomial intervals. The shaded band is .
accuracy improves with training compute. Predictions that use only the selected variables are as accurate as a foundation model that sees every column. In knockoff mode the FDR is controlled exactly, with the highest power among the statistics compared. Finally, the controlled prior-weight study confirms the main theoretical prediction: what the meta-prior contains determines which variables can be found, and giving weight to a structure makes the variables that use it detectable at no cost in false selections.
6 Real data analysis
The simulations use Gaussian or Gaussian-copula covariates. Real covariate matrices are harder: their columns are strongly dependent, often skewed, heavy-tailed or discrete, and their dependence is not of the form used in the meta-prior. We therefore evaluate SelectPFN on the design matrices of four public OpenML data sets from different domains: superconductivity of materials (superconduct, ), community crime rates (us_crimc, ), near-infrared spectra of meat samples (tecator, ) and molecular descriptors (topo_2_1, ).
6.1 Setup
We kept numeric columns without missing values and rows with an observed response, removed constant columns and near-duplicates (), dropped columns that are constant in a training sample, and standardized the columns. The remaining columns are strongly dependent: the median, over columns, of the largest absolute correlation with another column ranges from 0.70 (tecator)
Table 9: Prediction on the 144 settings of the main study (geometric means of RMSE ratios over settings; 95% bootstrap interval over settings). BMA: SelectPFN's model-averaged prediction over 64 sampled subsets; TabPFN-all: TabPFN fitted on all columns; settings > 1.05 and worst: number of settings with BMA/TabPFN-all ratio above 1.05, and the largest such ratio. MPM/oracle subset: prediction from the MPM relative to prediction from the true active set. Oracle subset/TabPFN- compares SelectPFN's prediction pass with TabPFN when both are given the true active set. BMA CRPS: mean continuous ranked probability score of the BMA predictive distribution.
| Model | BMA/TabPFN-all (geo-mean) | settings > 1.05 | worst | MPM/oracle subset | oracle subset/TabPFN- | BMA CRPS |
|---|---|---|---|---|---|---|
| SelectPFN | 0.946 [0.936, 0.955] | 0/144 | 1.039 | 1.087 | 0.974 | 1.228 |
| SelectPFN-L | 0.950 [0.936, 0.963] | 7/144 | 1.229 | 1.087 | 0.981 | 1.216 |

Figure 5: Knockoff mode: FDR (left; whiskers s.e.; dashed: nominal level) and power (right) of knockoff+ with exact knockoffs on the designs L20 and B20 (, ; 1,600 data sets).
to 0.95 (topo_2_1). Two studies are run on these matrices.
-
Known truth on real covariates. The response is generated from designs A–D applied to randomly chosen real columns (clipped at , rank-transformed to for design A, with noise variance set from the empirical Var and the SNR), with ( only for tecator), and 25 replicates: 1,400 data sets. The metrics and competitors are those of Section 5.
-
Real responses with known null variables. Both and are real, so the true active set is unknown. To create variables that are known to be irrelevant, we append columns that are independent row permutations of real columns; they are independent of and of all other columns, so any selected permuted column is a false selection. We record the number of selected variables, the share of permuted columns among them, and the held-out RMSE (, 50 replicates).
6.2 Results
Known truth on real covariates. SelectPFN keeps its advantage on real covariate matrices (Table 12). SelectPFN-L reaches AUPRC 0.535, against 0.365 for the best competitor (LassoNet), and it is ahead on every design and every data set. Its paired advantage over the competitors ranges from 0.17 to 0.26 (Holm-adjusted over the seven comparisons, ). Strong
Table 10: Knockoff+ FDR (standard error) and power at levels and 0.2 (@0.1, @0.2); reps: number of data sets. With , knockoff+ at cannot reach its threshold, so power at is near zero for every statistic. Bold: highest power within each block of designs and knockoff type.
| Designs | knockoffs | Statistic | FDR@0.1 (se) | power@0.1 | FDR@0.2 (se) | power@0.2 | reps |
|---|---|---|---|---|---|---|---|
| (A-D) | exact | SelectPFN (knockoff mode) | 0.018 (0.002) | 0.148 (0.004) | 3200 | ||
| (A-D) | exact | Lasso coef. diff. | 0.008 (0.001) | 0.01 | 0.086 (0.003) | 0.18 | 3200 |
| (A-D) | exact | RF importance diff. | 0.012 (0.001) | 0.02 | 0.126 (0.004) | 0.21 | 3200 |
| (A-D) | 2nd-order | SelectPFN (knockoff mode) | 0.015 (0.002) | 0.03 | 0.143 (0.004) | 3200 | |
| (A-D) | 2nd-order | Lasso coef. diff. | 0.010 (0.001) | 0.02 | 0.094 (0.003) | 0.20 | 3200 |
| (A-D) | 2nd-order | RF importance diff. | 0.038 (0.003) | 0.234 (0.005) | 0.33 | 3200 | |
| (L20, B20) | exact | SelectPFN (knockoff mode) | 0.061 (0.002) | 0.163 (0.004) | 1600 | ||
| (L20, B20) | exact | Lasso coef. diff. | 0.044 (0.002) | 0.33 | 0.140 (0.004) | 0.47 | 1600 |
| (L20, B20) | exact | RF importance diff. | 0.039 (0.002) | 0.09 | 0.149 (0.004) | 0.29 | 1600 |
| (L20, B20) | 2nd-order | SelectPFN (knockoff mode) | 0.080 (0.003) | 0.194 (0.004) | 1600 | ||
| (L20, B20) | 2nd-order | Lasso coef. diff. | 0.059 (0.003) | 0.36 | 0.169 (0.004) | 0.49 | 1600 |
| (L20, B20) | 2nd-order | RF importance diff. | 0.086 (0.004) | 0.17 | 0.230 (0.005) | 0.38 | 1600 |
Table 11: Training-seed variability of SelectPFN (; seed 0 is the model reported elsewhere).
| Seed | AUPRC | exact recovery | AUPRC, design C | ECE | exact recovery, C, |
|---|---|---|---|---|---|
| 0 | 0.754 | 0.192 | 0.609 | 0.0005 | 0.244 |
| 1 | 0.747 | 0.179 | 0.589 | 0.0007 | 0.187 |
| 2 | 0.749 | 0.185 | 0.594 | 0.0005 | 0.176 |
| mean SD |
dependence makes selection harder for every method, but much less so for SelectPFN: its FDP is 0.23, against 0.74–0.92 for the competitors' selected sets. As a Bayesian procedure, SelectPFN shares inclusion probability among near-collinear columns (Section 3.3) instead of selecting all of them, which keeps its selected sets small.
Real responses. With real responses, SelectPFN selects parsimonious models with few false selections (Table 13). SelectPFN-L selects 2.0 variables on average, and only 0.110 of them are permuted nulls. The competitors select many more variables and many more nulls: the null share is 0.276 for LassoNet (28.2 variables selected), 0.390 for the lasso and 0.499 for BART. Parsimony does not necessarily cost predictive accuracy. On superconduct, SelectPFN-L predicts better than the penalized and network competitors (RMSE 0.59 against 0.64–0.67) using 1–4 variables, against 15–35 for the lasso. Averaged over data sets its RMSE is 30–33% above that of TabPFN on all columns (22–25% for the lasso, SCAD and LassoNet); most of this difference comes from tecator, whose response is spread over many correlated spectral columns, a dense structure that the sparse meta-prior does not generate.
6.3 Summary
On real covariate matrices from four domains, SelectPFN identifies the variables that generate the response far more accurately than the competing methods, with gaps of 0.17–0.26 in AUPRC and an FDP a quarter to a third of theirs. With real responses it returns small models in which permuted noise variables are rare, and its predictions remain competitive where the signal is sparse.
Table 12: Known truth on real covariates: selection with real covariate matrices and responses from designs A–D on randomly chosen columns (1,400 data sets). Per-data-set columns are mean AUPRC. FDP: false discovery proportion of each method's selected set. Bold: best value in the AUPRC and per-data-set columns.
| Method | data sets | AUPRC | superconducting | us_crimc | tecator | topo_2_1 | FDP |
|---|---|---|---|---|---|---|---|
| SelectPFN | 1400 | 0.517 [0.506, 0.530] | 0.490 | 0.613 | 0.694 | 0.361 | 0.21 [0.19, 0.22] |
| SelectPFN-L | 1400 | [0.522, 0.547] | 0.23 [0.21, 0.25] | ||||
| LassoNet | 1400 | 0.365 [0.354, 0.375] | 0.331 | 0.428 | 0.563 | 0.236 | 0.81 [0.80, 0.82] |
| BART | 1400 | 0.352 [0.340, 0.365] | 0.332 | 0.423 | 0.537 | 0.210 | 0.92 [0.91, 0.92] |
| DART | 1400 | 0.331 [0.318, 0.344] | 0.307 | 0.417 | 0.540 | 0.163 | 0.78 [0.77, 0.79] |
| Lasso | 1400 | 0.279 [0.269, 0.288] | 0.260 | 0.296 | 0.513 | 0.164 | 0.81 [0.80, 0.82] |
| SCAD | 1400 | 0.270 [0.261, 0.279] | 0.250 | 0.287 | 0.504 | 0.155 | 0.74 [0.73, 0.75] |
| Group-MCP NN | 1400 | 0.310 [0.300, 0.321] | 0.286 | 0.335 | 0.549 | 0.191 | 0.85 [0.85, 0.86] |
| HSIC-Lasso | 1400 | 0.276 [0.267, 0.285] | 0.252 | 0.301 | 0.510 | 0.158 | - |
Table 13: Real responses with appended permuted null columns (350 data sets). “Selected” is the mean size of the selected set, and the next two columns count permuted nulls in it. RMSE/TabPFN is the geometric mean, over data sets, of the held-out RMSE ratio to TabPFN fitted on all columns. Bold: lowest null share and lowest RMSE ratio.
| Method | data sets | selected | permuted nulls selected | share of selection that is null | RMSE / TabPFN |
|---|---|---|---|---|---|
| SelectPFN | 350 | 1.6 | 0.31 | 0.116 [0.087, 0.145] | 1.325 [1.266, 1.391] |
| SelectPFN-L | 350 | 2.0 | 0.22 | [0.080, 0.140] | 1.299 [1.239, 1.367] |
| LassoNet | 350 | 28.2 | 13.06 | 0.276 [0.248, 0.303] | 1.245 [1.205, 1.290] |
| BART | 350 | 142.1 | 70.89 | 0.499 [0.497, 0.501] | 1.361 [1.281, 1.451] |
| DART | 350 | 20.6 | 8.65 | 0.401 [0.375, 0.425] | 1.347 [1.272, 1.431] |
| Lasso | 350 | 18.9 | 9.13 | 0.390 [0.364, 0.417] | 1.225 [1.172, 1.292] |
| SCAD | 350 | 11.6 | 5.43 | 0.317 [0.289, 0.343] | [1.177, 1.272] |
| Group-MCP NN | 350 | 42.4 | 26.81 | 0.602 [0.582, 0.623] | 1.649 [1.508, 1.819] |
7 Discussion
SelectPFN shows that variable selection can be amortized for a broad class of sparse nonlinear regression models. It does so without giving up the two properties that distinguish integrated selection from post-hoc importance: predictions that provably use only the selected variables, and, in knockoff mode, exact finite-sample FDR control that does not depend on the meta-prior. On out-of-prior designs it recovers active sets markedly better than penalized, Bayesian-tree and sparse-neural-network methods, at a small fraction of their cost.
What the theory says about the prior. Theorem 2 turns a modelling intuition into a quantitative statement. A variable is detected once its information index exceeds about , where is the prior weight of structures that can use the variable as the truth does. Breadth of the meta-prior therefore matters, and it matters logarithmically: a structure the prior never generates () is essentially never found, whatever the sample size. Raising its weight from negligible to moderate shifts the detection threshold by a computable amount. Our ablations confirm this mechanism: without interaction-only structures in the meta-prior, variables that act only through an interaction are essentially never found, and in a controlled sweep of their weight detection rises monotonically with the weight, at no cost in false selections (Section 5.4.4). For a trained network the effect is even stronger than for the exact posterior, because rarely generated structures are also learned less well. It also gives a principled way to decide which families a foundation prior for selection must contain.
What amortization cannot give for free. Training minimizes an average over the prior. Proposition 5 shows that such average-case guarantees do not transfer to a fixed truth, so frequentist selection consistency of an amortized posterior requires a uniform-amortization assumption that training does not certify. Knockoff mode sidesteps this for error control. For power and calibration at a fixed truth, the assumption remains the main open problem.
Limitations
-
Exactness. The median probability model agrees exactly with that of an enumerable posterior on 0.846 of the tasks for the larger model; the remaining disagreements concentrate at near-ties, which cost little Bayes risk (Proposition 2), and agreement improves steadily with training compute (Section 5.4.5).
-
Factorized selection head. Model averaging samples subsets from the product of the marginal PIPs and ignores posterior dependence between inclusions. An autoregressive selection head would remove this.
-
Scale. All experiments use . The block-wise scheme of Section 3.9 is implemented but not validated beyond that.
-
Prior coverage. Like any pretrained model, SelectPFN reflects what its meta-prior contains. Dense signals, such as spectra, are not generated by the current prior (Section 6); by Theorem 2, adding dense and low-rank families is the way to cover them.
-
Baselines. PACE has no public code. LinearPFN supports only and is compared on a slice. The spike-and-slab sparse neural network is our own implementation of Sun et al. (2022); with it selects conservatively, and a tuned implementation by its authors could do better.
-
Prediction at the larger size. The larger model (width with 8 layers) improves selection but regresses in prediction on one design. About half of the regression comes from extrapolation to extreme responses, and the rest is unexplained (Section 5.4.6). We use the smaller model for prediction.
Extensions. Binary and time-to-event responses require only a different likelihood in the meta-prior and a different prediction head. Test-point-specific selection and group-level inclusion for correlated blocks are natural next targets. On the theory side, the remaining open problems are spurious-inclusion control (assumption Assumption 3) for nonparametric priors, an explicit second-order term in the detection threshold, and conditions under which training provably achieves uniform amortization.
AI Use Statement
We used generative AI tools, including coding assistants, to write and debug experiment code, run and aggregate experiments, search and summarize related literature, assist with mathematical derivations, and draft and edit the manuscript. The research question, methods, mathematical formulations, and final claims were determined by the authors. All AI-assisted code was tested; reported results were verified against experiment logs and code; mathematical derivations and proofs were independently checked by the authors; citations were checked against their sources;
and all text was reviewed by the authors. The authors take responsibility for the final content, including the text, claims, and artifacts produced with the aid of generative AI.
References
Alrawkan, R., Boone, E., Ghanam, R., and Westveld, A. (2026). Linear models, variable selection, artificial intelligence. arXiv preprint arXiv:2604.27191.
Aronszajn, N. (1950). Theory of reproducing kernels. Transactions of the American Mathematical Society, 68(3):337–404.
Bai, J., Song, Q., and Cheng, G. (2020). Efficient variational inference for sparse deep learning with theoretical guarantee. In Advances in Neural Information Processing Systems, volume 33.
Bai, Y., Chen, F., Wang, H., Xiong, C., and Mei, S. (2023). Transformers as statisticians: Provable in-context learning with in-context algorithm selection. In Advances in Neural Information Processing Systems, volume 36.
Barber, R. F. and Candès, E. J. (2015). Controlling the false discovery rate via knockoffs. The Annals of Statistics, 43(5):2055–2085.
Barber, R. F., Candès, E. J., and Samworth, R. J. (2020). Robust inference with knockoffs. The Annals of Statistics, 48(3):1409–1431.
Barbieri, M. M. and Berger, J. O. (2004). Optimal predictive model selection. The Annals of Statistics, 32(3):870–897.
Belloni, A., Chernozhukov, V., and Hansen, C. (2014). Inference on treatment effects after selection among high-dimensional controls. The Review of Economic Studies, 81(2):608–650.
Birgé, L. (1983). Approximation dans les espaces métriques et théorie de l'estimation. Zeitschrift für Wahrscheinlichkeitstheorie und verwandte Gebiete, 65:181–237.
Bleich, J., Kapelner, A., George, E. I., and Jensen, S. T. (2014). Variable selection for BART: An application to gene regulation. The Annals of Applied Statistics, 8(3):1750–1781.
Borell, C. (1975). The Brunn–Minkowski inequality in Gauss space. Inventions Mathematicae, 30:207–216.
Breiman, L. (2001). Random forests. Machine Learning, 45(1):5–32.
Bühlmann, P. and van de Geer, S. (2011). Statistics for High-Dimensional Data: Methods, Theory and Applications. Springer, Berlin.
Candès, E., Fan, Y., Janson, L., and Lv, J. (2018). Panning for gold: ‘model-X’ knockoffs for high dimensional controlled variable selection. Journal of the Royal Statistical Society: Series B, 80(3):551–577.
Chatterjee, D., Maitra, T., and Bhattacharya, S. (2018). A short note on almost sure convergence of Bayes factors in the general set-up. The American Statistician, 72(1):17–20.
Chipman, H. A., George, E. I., and McCulloch, R. E. (2010). BART: Bayesian additive regression trees. The Annals of Applied Statistics, 4(1):266–298.
Cranmer, K., Brehmer, J., and Louppe, G. (2020). The frontier of simulation-based inference. Proceedings of the National Academy of Sciences, 117(48):30055–30062.
Fan, J. and Li, R. (2001). Variable selection via nonconcave penalized likelihood and its oracle properties. Journal of the American Statistical Association, 96(456):1348–1360.
Fan, J. and Lv, J. (2008). Sure independence screening for ultrahigh dimensional feature space. Journal of the Royal Statistical Society: Series B, 70(5):849–911.
Fan, J. and Lv, J. (2010). A selective overview of variable selection in high dimensional feature space. Statistica Sinica, 20(1):101–148.
Fonseca, J. and Stoyanovich, J. (2026). ExplainerPFN: Towards tabular foundation models for model-free zero-shot feature importance estimations. arXiv preprint arXiv:2601.23068.
Frazier, D. T., Kelly, R., Drovandi, C., and Warne, D. J. (2024). The statistical accuracy of neural posterior and likelihood estimation. arXiv preprint arXiv:2411.12068.
Friedman, J. H. (1991). Multivariate adaptive regression splines. The Annals of Statistics, 19(1):1–67.
George, E. I. and McCulloch, R. E. (1993). Variable selection via Gibbs sampling. Journal of the American Statistical Association, 88(423):881–889.
Ghosal, S., Ghosh, J. K., and van der Vaart, A. W. (2000). Convergence rates of posterior distributions. The Annals of Statistics, 28(2):500–531.
Ghosal, S., Lember, J., and van der Vaart, A. (2008). Nonparametric Bayesian model selection and averaging. Electronic Journal of Statistics, 2:63–89.
Ghosh, S., Yao, J., and Doshi-Velez, F. (2019). Model selection in Bayesian neural networks via horseshoe priors. Journal of Machine Learning Research, 20(182):1–46.
Golub, T. R., Slonim, D. K., Tamayo, P., Huard, C., Gaasenbeek, M., Mesirov, J. P., Coller, H., Loh, M. L., Downing, J. R., Caligiuri, M. A., Bloomfield, C. D., and Lander, E. S. (1999). Molecular classification of cancer: Class discovery and class prediction by gene expression monitoring. Science, 286(5439):531–537.
Grosenick, L., Klingenberg, B., Katovich, K., Knutson, B., and Taylor, J. E. (2013). Interpretable whole-brain prediction analysis with GraphNet. NeuroImage, 72:304–321.
Guan, Y. and Stephens, M. (2011). Bayesian variable selection regression for genome-wide association studies and other large-scale problems. The Annals of Applied Statistics, 5(3):1780–1815.
Hastie, T., Tibshirani, R., and Wainwright, M. (2015). Statistical Learning with Sparsity: The Lasso and Generalizations. CRC Press, Boca Raton, FL.
Hoeffding, W. (1963). Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30.
Hollmann, N., Müller, S., Eggensperger, K., and Hutter, F. (2023). TabPFN: A transformer that solves small tabular classification problems in a second. In International Conference on Learning Representations.
Hollmann, N., Müller, S., Purucker, L., Krishnakumar, A., Körfer, M., Hoo, S. B., Schirrmeister, R. T., and Hutter, F. (2025). Accurate predictions on small data with a tabular foundation model. Nature, 637:319–326.
Jang, E., Gu, S., and Poole, B. (2017). Categorical reparameterization with Gumbel-softmax. In International Conference on Learning Representations.
Jiang, S. and Tokdar, S. T. (2021). Variable selection consistency of Gaussian process regression. The Annals of Statistics, 49(5):2491–2505.
Kim, J., Nakamaki, T., and Suzuki, T. (2024). Transformers are minimax optimal nonparametric in-context learners. In Advances in Neural Information Processing Systems, volume 37.
Lafferty, J. and Wasserman, L. (2008). Rodeo: Sparse, greedy nonparametric regression. The Annals of Statistics, 36(1):28–63.
Lambin, P., Leijenaar, R. T. H., Deist, T. M., Peerlings, J., de Jong, E. E. C., van Timmeren, J., Sanduleanu, S., Larue, R. T. H. M., Even, A. J. G., Jochems, A., et al. (2017). Radiomics: The bridge between medical imaging and personalized medicine. Nature Reviews Clinical Oncology, 14(12):749–762.
Le Cam, L. (1986). Asymptotic Methods in Statistical Decision Theory. Springer, New York.
Ledoit, O. and Wolf, M. (2004). A well-conditioned estimator for large-dimensional covariance matrices. Journal of Multivariate Analysis, 88(2):365–411.
Lemhadri, I., Ruan, F., Abraham, L., and Tibshirani, R. (2021). LassoNet: A neural network with feature sparsity. Journal of Machine Learning Research, 22(127):1–29.
Li, R., Zhong, W., and Zhu, L. (2012). Feature screening via distance correlation learning. Journal of the American Statistical Association, 107(499):1129–1139.
Liang, F., Li, Q., and Zhou, L. (2018). Bayesian neural networks for selection of drug sensitive genes. Journal of the American Statistical Association, 113(523):955–972.
Lin, Y. and Zhang, H. H. (2006). Component selection and smoothing in multivariate nonparametric regression. The Annals of Statistics, 34(5):2272–2297.
Linero, A. R. (2018). Bayesian regression trees for high-dimensional prediction and variable selection. Journal of the American Statistical Association, 113(522):626–636.
Lorch, L., Sussex, S., Rothfuss, J., Krause, A., and Schölkopf, B. (2022). Amortized inference for causal structure learning. In Advances in Neural Information Processing Systems, volume 35.
Louizos, C., Welling, M., and Kingma, D. P. (2018). Learning sparse neural networks through regularization. In International Conference on Learning Representations.
Lu, Y. Y., Fan, Y., Lv, J., and Noble, W. S. (2018). DeepPINK: Reproducible feature selection in deep neural networks. In Advances in Neural Information Processing Systems, volume 31.
Lundberg, S. M. and Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems, volume 30.
Luo, B. and Halabi, S. (2025). Sparse-input neural network using group concave regularization. Transactions on Machine Learning Research. arXiv:2307.00344.
Maceda, E., Hector, E. C., Lenzi, A., and Reich, B. J. (2026). Demonstrating the power and flexibility of variational assumptions for amortized neural posterior estimation in environmental applications. Environmetrics, 37(1):e70074.
Meier, L., van de Geer, S., and Bühlmann, P. (2009). High-dimensional additive modeling. The Annals of Statistics, 37(6B):3779–3821.
Melnychuk, V., Balazadeh, V., Feuerriegel, S., and Krishnan, R. G. (2026). Frequentist consistency of prior-data fitted networks for causal inference. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research.
Mitchell, T. J. and Beauchamp, J. J. (1988). Bayesian variable selection in linear regression. Journal of the American Statistical Association, 83(404):1023–1032.
Müller, S., Hollmann, N., Pineda Arango, S., Grabocka, J., and Hutter, F. (2022). Transformers can do Bayesian inference. In International Conference on Learning Representations.
Nagler, T. (2023). Statistical foundations of prior-data fitted networks. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 25660–25676.
Oko, K., Song, Y., Suzuki, T., and Wu, D. (2024). Pretrained transformer efficiently learns low-dimensional target functions in-context. In Advances in Neural Information Processing Systems, volume 37.
Qin, Q., Li, E., Wei, T., Huang, Z., Qin, Z., Wang, W., and Sun, Y. (2026). PACE: Plug-and-play contextual embedding for feature screening with pretrained tabular foundation models. arXiv preprint arXiv:2609.23574.
Radev, S. T., D'Alessandro, M., Mertens, U. K., Voss, A., Köthe, U., and Bürkner, P.-C. (2023). Amortized Bayesian model comparison with evidential deep learning. IEEE Transactions on Neural Networks and Learning Systems, 34(8):4903–4917.
Radev, S. T., Mertens, U. K., Voss, A., Ardizzone, L., and Köthe, U. (2022). BayesFlow: Learning complex stochastic models with invertible neural networks. IEEE Transactions on Neural Networks and Learning Systems, 33(4):1452–1466.
Ravikumar, P., Lafferty, J., Liu, H., and Wasserman, L. (2009). Sparse additive models. Journal of the Royal Statistical Society: Series B, 71(5):1009–1030.
Ren, Z., Wei, Y., and Candès, E. (2023). Derandomizing knockoffs. Journal of the American Statistical Association, 118(542):948–958.
Romano, Y., Sesia, M., and Candès, E. (2020). Deep knockoffs. Journal of the American Statistical Association, 115(532):1861–1872.
Ročková, V. and George, E. I. (2018). The spike-and-slab LASSO. Journal of the American Statistical Association, 113(521):431–444.
Schiekiera, L., Zimmer, M., Roux, C., Arnold, M., Pokutta, S., and Günther, F. (2026). LinearPFN: Amortized variable selection for linear models with interactions. arXiv preprint arXiv:2610.06580.
Shalizi, C. R. (2009). Dynamics of Bayesian updating with dependent data and misspecified models. Electronic Journal of Statistics, 3:1039–1074.
Steinwart, I. and Christmann, A. (2008). Support Vector Machines. Springer, New York.
Sun, Y., Song, Q., and Liang, F. (2022). Consistent sparse deep learning: Theory and computation. Journal of the American Statistical Association, 117(540):1981–1995.
Tibshirani, R. (1996). Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society: Series B, 58(1):267–288.
Tibshirani, R. (1997). The lasso method for variable selection in the Cox model. Statistics in Medicine, 16(4):385–395.
Tsybakov, A. B. (2004). Optimal aggregation of classifiers in statistical learning. The Annals of Statistics, 32(1):135–166.
van der Vaart, A. W. and van Zanten, J. H. (2008). Reproducing kernel Hilbert spaces of Gaussian priors. In Pushing the Limits of Contemporary Statistics: Contributions in Honor of Jayanta K. Ghosh, volume 3 of IMS Collections, pages 200–222.
van der Vaart, A. W. and van Zanten, J. H. (2009). Adaptive Bayesian estimation using a Gaussian random field with inverse Gamma bandwidth. The Annals of Statistics, 37(5B):2655–2675.
Wainwright, M. J. (2019). High-Dimensional Statistics: A Non-Asymptotic Viewpoint. Cambridge University Press, Cambridge.
Wakayama, T. and Suzuki, T. (2026). In-context learning is provably Bayesian inference: A generalization theory for meta-learning. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 124318–124351.
Wu, T. T., Chen, Y. F., Hastie, T., Sobel, E., and Lange, K. (2009). Genome-wide association analysis by lasso penalized logistic regression. Bioinformatics, 25(6):714–721.
Yamada, M., Jitkrittum, W., Sigal, L., Xing, E. P., and Sugiyama, M. (2014). High-dimensional feature selection by feature-wise kernelized lasso. Neural Computation, 26(1):185–207.
Yang, Y. and Tokdar, S. T. (2015). Minimax-optimal nonparametric regression in high dimensions. The Annals of Statistics, 43(2):652–674.
Yuan, M. and Lin, Y. (2006). Model selection and estimation in regression with grouped variables. Journal of the Royal Statistical Society: Series B, 68(1):49–67.
Zhang, C.-H. (2010). Nearly unbiased variable selection under minimax concave penalty. The Annals of Statistics, 38(2):894–942.
Zhao, P. and Yu, B. (2006). On model selection consistency of lasso. Journal of Machine Learning Research, 7:2541–2563.
Zhao, T., Zhuang, T., Duan, S., Wang, G., Tan, Y. S., and Zhang, Q. (2026). Architecture alignment with sparse priors in tabular foundation models. arXiv preprint arXiv:2609.36883.
Zou, H. (2006). The adaptive lasso and its oracle properties. Journal of the American Statistical Association, 101(476):1418–1429.
Zou, H. and Hastie, T. (2005). Regularization and variable selection via the elastic net. Journal of the Royal Statistical Society: Series B, 67(2):301–320.
A Implementation details
Table 14: Meta-prior of SelectPFN. LU(a, b) is log-uniform on . The ablation model of Section 5.4.4 uses the same meta-prior without the interaction-only family, the weak-effect regime and interaction-only variables in the pairwise family, with family weights MLP 0.40, additive 0.15, pairwise 0.15, tree 0.10, GP 0.10 and linear 0.10.
| Component | Distribution |
|---|---|
| Sample size | rows per task; a fraction are training (context) rows, the remaining are query rows |
| Dimension | with curriculum in thirds of training |
| Sparsity | Beta-Bernoulli, , , ; ; an empty is redrawn w.p. 0.9 |
| Dependence | independent; AR(1); block equicorrelation; latent factor (equal weights). Active variables at random positions |
| Marginals | Gaussian copula with per-column transform: identity, uniform, log-normal skew, Tukey-h heavy tails (), discretized; columns standardized |
| Function family | sparse-input MLP with group spike-and-slab first layer, eq. (3) (0.30); additive (0.12); additive + pairwise, with no main effect for a variable w.p. 0.3 (0.12); trees/step functions (0.10); GP with ARD kernel, length-scales LU(0.3, 2.5) (0.10); linear (0.14); interaction-only pairs/triples through functions odd in each argument (a single active variable gets a main effect), plus weak main effects w.p. 0.3 (0.12) |
| Effect sizes | w.p. 0.5, magnitudes (weak-effect regime); otherwise |
| Effect-size check | permutation estimate of each active variable's total effect, , on 256 draws; redraw if any is below the threshold 0.01; after 4 failures freeze weak variables at 0 and relabel them inactive. GP draws skip the check |
| Noise | SNR = ; Gaussian (0.6), (0.2), heteroscedastic (0.2) |
| Response | standardized with context-set statistics |
Function families. Each family builds from the active covariates only, and is evaluated on standardized covariates. Several families use random one- and two-dimensional Fourier-feature functions,
with for and for , and frequencies , where the bandwidth is for and for ; every component is centred and scaled to unit variance on a reference sample from the task’s covariate law. The overall scale of f does not matter, because the noise level is then set from Varf and the SNR. Effect magnitudes are drawn as in Table 14, and is log-uniform. Integer ranges below are uniform.
-
Sparse-input network. A fully connected network with 1–3 hidden layers of width 8–64. First-layer weights follow eq. (3): rows of inactive inputs are zero and rows of active inputs are with , the first hidden width; deeper weights are and biases . Each hidden layer draws its activation from , and its pre-activations are standardized on the reference sample so that the network neither saturates nor collapses.
-
Additive. , a sum of independent random smooth functions, one per active variable.
-
Pairwise. The additive part plus 1 to s randomly chosen pairs, each entering through either a random or a plain product (probability each), with weights LU(0.5, 1.5). Each variable loses its main effect with probability 0.3 and is then given at least one interaction partner.
-
Interaction-only. The active variables are split at random into pairs and occasional triples. A pair enters through a function that is odd in each argument, chosen from , , and with ; a triple multiplies such a function of by . (In rare cases a leftover fourth variable joins a triple without entering it; the effect-size check of Table 14 then removes it from the active set.) Group weights are . With probability 0.3 every variable also receives a weak main effect of weight . With symmetric covariates, a variable without a main effect then has no marginal association with . If , the single variable enters through .
-
Trees and step functions. A sum of trees of depth 1–4 each. The number of trees is drawn from 1–5, and further trees are added until every active variable has been used as a split variable; thresholds are values of the split variable in the reference sample, and the leaf values of a depth-r tree are .
-
Gaussian process. f is drawn jointly at the task’s rows from a zero-mean Gaussian process with unit variance and squared-exponential ARD kernel on the active variables, with length-scales LU(0.3, 2.5) drawn independently for each variable.
• Linear. with random signs.
Architecture. Cell encoder: each standardized value is mapped to by a small MLP; the response embedding is added to every cell of a training (context) row, and each row also has a dedicated target cell (the response embedding, or a learned missing-response token for query rows), read by the prediction head. Backbone: pre-LayerNorm transformer layers alternating feature attention within rows and row attention within features (rows attend to context rows only), MLP ratio 4. Main models: , 6 layers, 4 heads (1.9M parameters), and , 8 layers, 8 heads (9.5M parameters). Selection readout: mean and attention pooling over context rows, concatenated with the pooled response column and a global token carrying ( , ), then an MLP. Prediction readout: 256-bin bar distribution with half-normal tails.
Training. Objective eq. (5) with and ; self-sampling after 10% of training; self-sampled subsets capped at 64 columns. AdamW, learning rate , , weight decay 0.01, 2% warm-up, cosine decay, gradient clipping at 1, bf16 autocast, gradient checkpointing for large tables. All tasks in a step share , and the batch size adapts to keep about cells per step. Tasks are generated on the fly by parallel CPU data-loader workers, so no task is seen twice. Main models: 80k steps (4.9–5.1 h, ) and 120k steps (17.8 h, width with 8 layers) on one RTX 4090. Knockoff models: 50–60k steps on 2p interleaved columns. GP-subset model (Section 5.4.5): , training rows, 25k + 75k warm-started steps.
Relation to Assumption 1. The generator departs from Assumption 1 in minor ways. The function is rescaled to unit variance and its effect sizes are checked on reference rows drawn from the same task distribution , so depends on the task-level parameters of (but not on the observed rows), and columns are standardized jointly over the observed and reference rows. The noise standard deviation is set from the sample variance of over the rows of the task and the drawn SNR, so the rows are not exactly conditionally independent given the covariates; since this variance depends on the covariates only through the active columns, the likelihood still depends on the data only through and , and the conclusion of Lemma 1 is unaffected. In addition, with label relabelling after freezing switched off (the default), heteroscedastic noise can depend on a variable that was frozen and labelled inactive, and a variable whose only interaction partner was frozen remains labelled active. They affect only the training targets, not the knockoff guarantee of Section 3.8, which holds for any network weights.
Exactness tests. Unit tests verify eq. (4) (the prediction is bit-identical when excluded columns are changed), invariance to padding, and column-permutation equivariance of q.
Software. The PyTorch implementation, task generators, trained weights and all evaluation scripts will be released publicly.
B Proofs
Every result in this appendix is proved analytically under its stated assumptions. The proofs are self-contained except for the following published results, which are marked cited where they are used:
-
the model-X exchangeability lemma and the knockoff+ supermartingale argument (Candès et al., 2018; Barber and Candès, 2015);
-
the existence of tests against convex Hellinger sets (Le Cam, 1986; Birgé, 1983; Ghosal et al., 2008);
-
a group of facts about Gaussian processes, used only to verify the hypotheses of Theorem 2 for Gaussian-process priors (Borell, 1975; van der Vaart and van Zanten, 2008, 2009; Aronszajn, 1950; Steinwart and Christmann, 2008).
Paragraphs headed Numerical illustration report computations from the accompanying code. They are not part of any proof.
B.1 Proofs for Section 3
Proof of Lemma 1. Fix and write .
Step 1 (average over ). By the law of total probability, and because under Assumption 1 the response is conditionally independent of the training responses given and the covariates,
Step 2 (the likelihood of uses only active coordinates). Under Assumption 1, , so , which does not involve .
Step 3 (the posterior of f uses only active columns). By Bayes' rule,
By Assumption 1, the covariates are independent of and does not depend on them, so the factor does not involve and cancels on normalization. The remaining factors involve the data only through and . Hence .
Conclusion. Substituting Steps 2 and 3 into Step 1,
which proves the first statement. The second follows from .
Proof of Proposition 1. Step 1 (pointwise minimization). Each loss term has the form
where Z is the input of a head, T its target and its output. Since each head can represent any measurable function of its input, the expected loss is minimized by minimizing the conditional expectation separately for every value z of Z.
Step 2 (selection head). Here and . For fixed ,
with . Since with equality only at , the minimizer is , which proves (a).
Step 3 (prediction head). Here . For fixed , , which is finite by assumption and is minimized uniquely by . For the bar-distribution head, the same argument applied to the bin of shows that the minimizing bin probabilities are those of .
Step 4 (identifying the input). Under teacher forcing, with . The prediction pass sees these columns without their original indices; by the exchangeability condition, the conditional law of given the columns does not depend on which indices they carry, so the minimizer of Step 3 is . By Lemma 1 this equals , which proves (b). For a general kernel, ; because the kernel does not depend on , the joint law of is fixed during minimization, and Step 3 gives the minimizer , which by construction depends only on the columns in . This proves (c).
B.2 Two tools: an evidence lower bound and tests
Consider , , with and fixed. Write for the density of one observation , , , and for the norm. is the law of i.i.d. observations under , , and , denote expectation and variance under .
Lemma 3 (Evidence lower bound). Let be a set of functions with and for all , and ; we call the radius of . Then for every ,
Proof. Let and . By Jensen, . The observations are i.i.d., so by Fubini . The variance of an average is at most the average of the variances (Cauchy–Schwarz), so . By Chebyshev, .
This is the centred-variance form of Ghosal et al. (2000, Lemma 8.1). For Gaussian regression, . Hence and
since the cross term vanishes because .
Lemma 4 (Tests). Let be a set of functions with , and let with .
(a) The squared Hellinger distance satisfies for .
(b) (Cited.) With , for every there are tests with
Here is the number of Hellinger balls of radius , with centres in the set, needed to cover .
Proof. (a) . Since , and on by concavity, .
(b) By (a), implies . For each cover centre , the Hellinger ball of radius around , taken over all densities, is convex, because is concave. By the triangle inequality its distance from is at least . For a convex set of densities, there is a test with both error probabilities at most (cited: Le Cam, 1986; Birgé, 1983; Ghosal et al., 2008, Lemma 6.1). This gives the exponent , that is . Cover balls of radius lie inside these balls. Take the maximum of the tests over the cover. Converting a randomized test into costs a factor 2, by Markov.
B.3 Proofs for Section 4.1
Proof of Lemma 2. Given , , so . Average over and . The decomposition over sizes is the law of total expectation.
Proof of Proposition 2. (i) Given , the two rules differ only on , where the posterior expected Hamming loss differs by . On , and straddle , so .
(ii) On , . Then use Pinsker's inequality and Jensen.
(iii) Split on . The first part is at most by Cauchy-Schwarz. The second is at most , since on we have . Balancing at gives the bound. If the bound equals and is trivially true. Taking in the margin condition gives .
(iv) and Chebyshev.
Cost-weighted variant. With false-inclusion cost and false-exclusion cost , the Bayes threshold is . Set . The regret weight on is , so in (i)-(ii) the factor becomes . We do not claim (iii)-(iv) for .
Numerical illustration (not part of the proof). On the exact-posterior tasks of Section 5.4.5 (GP-subset prior; 17,961 variables pooled over tasks):
• The regret (i) is 0.0222 for the 25k-step model and 0.0154 for the 100k-step model.
- The refined bound (ii) is 0.041 and 0.031; is 0.094 and 0.074; and is 0.290 and 0.242.
• Every disagreement satisfies .
• Near-ties ( ) make up 4.9% of variables but 36% and 44% of disagreements.
- The mean on disagreements is 0.22 and 0.18. Disagreements are enriched at near-ties but not confined to them.
Pooling variables gives a p-weighted average, whereas R and weight by 1/p per task; every inequality holds under either weighting.
Model averaging. The BMA samples , a product of marginals even when . In addition, the prediction pass targets the predictive under the training kernel, not the exact restricted predictive. A regret statement for the BMA would have to address both points, and we make none.
B.4 Proofs for Section 4.2
Setting. Rows are i.i.d. and . is an exact model-X knockoff: for all , and . Let , and let be the permutation of that exchanges and for .
Procedure
-
Draw uniformly from the permutations of , independently of .
-
Compute . is the trained selection pass, including the standardization of , and the input carries no marker of which columns are knockoffs. is any internal randomness, independent of , with a law that does not depend on them.
-
Map back: .
-
Set , and write .
-
Select with the knockoff+ threshold at level ( if the set is empty). Zero statistics are never selected, and ties among nonzero are broken by an independent uniform order.
Lemma 5 (Pointwise swap identity). For all Z, y, S, u and permutations , .
Proof. Let . Since is an involution, . So receives an identical input with the same , and returns an identical output . Then , i.e. . Hence for and otherwise.
Proof of Theorem 1. (i) Fix . By the exchangeability lemma (Candès et al., 2018, Lemma 3.2) (cited), . Because is independent of , . Because is uniform and independent of , . Hence
where the middle equality is Lemma 5.
(ii) Let be uniform and independent of everything else, and let flip the null coordinates with . Applying (i) for each fixed and mixing gives . In , the signs of the nonzero null coordinates are i.i.d. uniform and independent of and of the non-null coordinates. Equality in distribution transfers this to .
(iii) Given (ii), the supermartingale argument of Barber and Candès (2015), as used in Candès et al. (2018, Theorem 3.4), applies verbatim (cited).
Remarks
-
Fresh, data-independent randomization. The guarantee averages over , so must not depend on the data and must be redrawn for each analysis. In our experiments the permutation seed is the replicate index. That is independent of the data, which are seeded separately, and it varies across replicates.
-
Pair swaps suffice. Draw , with each independently with probability , feed , and map back by ; write for the resulting statistic. These swaps commute and , so pointwise. Also has the same law as , independently of . The proof of (i) goes through unchanged.
-
Derandomization. Averaging Q over K i.i.d. uniform interleavings, with internal randomness i.i.d. and independent of , preserves (i). Lemma 5 holds for each interleaving simultaneously, and jointly and independently of . See also derandomized knockoffs (Ren et al., 2023).
-
Approximate knockoffs. With estimated second-order knockoffs, control is approximate (Barber et al., 2020).
Numerical illustration (not part of the proof). On the trained knockoff network (bf16; 20 tables with ):
-
the forward pass is bit-reproducible, and under the compensating permutation of Lemma 5, ;
-
without interleaving, relying on equivariance alone, the deviation from an exact sign flip is .
B.5 Full statements and proofs for Section 4.3
Standing assumptions. In addition to Assumption 2, the results below use some of the following conditions.
Assumption 6 (Labels and sieve). (a) Labels to functions: -a.s.
(b) Functions to labels: -a.s.
(c) A sieve with on .
The moment condition (M4) is: for -almost every , with prior draws in , where is the reference prior of Section 4.3. The structured setup of Section 4.3 implies Assumption 6(a) and (b). Each result below uses only the conditions it names. Proposition 3(a)–(b) and Lemma 6 need only moment conditions (at most fourth moments), so unbounded truths and prior draws are allowed.
Gap between this setting and the implementation. The implementation differs from this setting in several ways:
• is unknown, y is standardized, and is random;
• 40% of tasks have non-Gaussian noise;
• Gaussian-process and MLP prior draws are unbounded.
Standardization replaces by and by , where and . This leaves invariant but changes the prior mass around the truth. In the generator, Assumption 6(a) holds exactly. Assumption 6(b) holds except on an event of small prior probability, created by a fallback that freezes weak variables without re-checking their partners. A flag in the generator removes this event, and Remark 1 shows how its probability enters the bounds. Numerical illustration: in about 114,000 simulated non-GP tasks, one violation was found, giving (approximate 95% upper bound ).
Proof of Proposition 3(a). Let , and let be the law of observations with regression function . by Pinsker, and .
Lemma 6 (Sparsity-prior ceiling). Assume Assumption 2, and let be as in Proposition 3(b) with . For every and , with -probability at least ,
Under Assumption 6(b), , so is missed whenever the right-hand side is negative.
Proof. The posterior odds equal . Numerator: by Fubini, , so by Markov the numerator is at most with probability at least . Denominator: , and Jensen with gives with . For , and . By the moment formulas after Lemma 3, and . Chebyshev gives with probability at least . Finish with a union bound.
holds whenever lies in the -support of restricted to and prior draws have almost surely. This follows for all large , by continuity of measure.
Remark 1 (When Assumption 6(b) fails on a small event). Let Assumption 6(b) hold outside an event with . Then:
• Lemma 6 holds with replaced by and by ;
- Proposition 3(b) holds with replaced by and by , provided Assumption 3 is restated with denominator .
Proof. Outside , and . By Fubini, , and Markov applies to the enlarged numerator. The denominators are bounded below over as before.
Lemma 7 (Prior-mass detection bound). Assume Assumption 2 and Assumption 6(a),(c). Let B be a set as in Lemma 3 with , let , and let be the covering number of Lemma 4(b) at on . For every ,
Proof. By Assumption 6(a), . Every satisfies . Let be the test of Lemma 4(b) for at . Since , its errors are and . Let be the event of Lemma 3. Then . On the denominator is at least . By Fubini, the numerator satisfies . Take expectations.
Matching bound. If , then . So , and is found once exceeds by a margin.
Which partitions can satisfy Assumption 3. If some has , its Bayes factor against grows exponentially in (cited: Chatterjee et al., 2018, Theorem 2). In that theorem the two models are and restricted to , and the divergence rate of is ; under its regularity conditions on both priors, which we do not verify here, times the log Bayes factor converges almost surely to the difference of the smallest rates of the two priors, which is at least . Such a structure must be placed in . This happens for additive-in- structures whenever depends on , for example under correlated . For with , every additive-in- structure and every wrong-partner pair , , has projection , and so is zero-gain.
Proof of Proposition 3(b). Each with gives zero mass to , and each with is carried by . Hence
The first term is at most on the event of Assumption 3. By Fubini, for every , so the second numerator has mean and is at most with probability at least . As in Lemma 6, with probability at least . Finish with a union bound.
Proof of Corollary 1. Invariances. Under , every structure outside has times its weight under . Hence for . The ratio in Assumption 3 does not depend on , because its numerator and denominator scale by the same factor, so and , with as in Assumption 3, do not depend on .
(i) Fix ; then for large by the support argument after Lemma 6. Choose and with . Write and with , and let . By Proposition 3(b), every whose satisfies has . So , the positive root of the corresponding equation. Since , and neither nor Assumption 3 depends on , let .
(ii) Precisely, assume for : (U1) for a set with ; (U2) the covering number of Lemma 4(b) at on is finite; (U3) for every , with the maximal set of Lemma 3. These hold for every , since all share support and within-group proportions. Fix and with . With , Lemma 7 and the matching bound give
By Markov, . Each term is at most once , with independent of . Consecutive values of differ by . Hence , and gives . With , as .
B.5.1 A uniform bound on the integrated likelihood
Notation.
• For , , so .
•
-
, and is the covering number of a set of functions with centres in .
-
is the normalized informative part, which under does not depend on .
Lemma 8 (Uniform upper bound on the integrated likelihood). Assume Assumption 2. Let A be a measurable set of functions, with jointly measurable, a measure with , and . Assume:
(clipped population gap) for every there are with ;
(sieve) there is such that for all , and there are measurable sets (possibly depending on ) with for large and .
Then for every , .
Proof. Step 1 (clipping). Write . For Gaussian errors, . Since is 1-Lipschitz, . Dropping the indices with ,
Every function now involved is bounded by c, so unbounded , prior draws and are allowed.
Step 2 (tolerances). Given , choose with and . Take from (U#1), and from (U#2) for these .
Step 3 (cover). Let be a -cover of in , with and . If then . By the triangle inequality for the seminorm , with .
Step 4 (concentration). is an average of i.i.d. terms in with mean at least , by (U#1). Hoeffding's inequality (Hoeffding, 1963) and a union bound give . By the law of large numbers, .
Step 5 (inside the sieve). Outside these two events, Steps 1–3 and the choice in Step 2 give , hence . The integral is measurable by joint measurability of , the same standing assumption that defines the posterior. The exceptional event is defined through and .
Step 6 (outside the sieve). By Fubini, . By Markov, except on an event of probability at most . Since , .
Lemma 9 (The population gap is automatic for coordinate classes). Assume Assumption 2 and . If , then holds with . In particular, satisfies with . If , a finite union with , holds with .
Proof. Write , with both factors cubes, and use regular conditional distributions given . For , is a function of , hence a constant given . So
and the right-hand side does not depend on . The function inside the infimum is , with , and . So , with if . Let . Since and a.s., dominated convergence gives , and , so . Since , which is integrable, , using Assumption 2(a). For a finite union, take the largest of the finitely many thresholds .
Lemma 10 (Sufficient conditions for the sieve). Each of the following implies , for every .
(a) is carried by a measurable set with for every and ; for example, a parametric family with compact and continuous in for every .
(b) is a finite mixture , , of centred Gaussian processes with continuous sample paths. A degenerate component is allowed. For every , the unit ball of the RKHS of restricted to satisfies .
(c) is the law of with , for a parametric family , where has sub-Gaussian tails, for all , and which is locally Lipschitz in with polynomial growth: for every there are and with .
(d) , a finite sum with , and each satisfying (a), (b) or (c).
Condition (c) covers fully connected networks of fixed architecture with Gaussian weights and biases and activations satisfying up to a constant and (tanh, ReLU, sine, GELU, softplus), with at most the number of hidden layers : by induction over layers, on the -th hidden layer is bounded by and each partial derivative of in by (almost everywhere, for ReLU), and integrating along the segment from to gives the bound. It also covers linear models and random-feature expansions with Gaussian frequencies, and random weight scales in a bounded range (the parameter is then a bounded scale mixture of Gaussians, still sub-Gaussian). With (d), it covers a spike-and-slab mixture over active sets and over finitely many architectures. Gaussian-process components are covered by (b) only for finitely many kernels, not for continuously distributed length-scales. Families whose draws are discontinuous in , such as trees with random split points, are not covered. For networks with unbounded activations, holds if , since for each , . (Cited.) The entropy condition in (b) holds for squared-exponential kernels, with entropy for inputs (van der Vaart and van Zanten, 2009, Lemma 4.5). That lemma is stated on ; an affine rescaling of only changes the constant. It also holds for sums of such kernels, whose RKHS unit ball lies in the sum of the unit balls (Aronszajn, 1950), and for kernels with a finite-dimensional RKHS.
Proof. (a) Take . Clipping is a contraction, so it does not increase covering numbers: a -cover with arbitrary centres gives a -cover with centres in the set.
(b) Fix and a component . A degenerate component is carried by ; take . Otherwise write , and view the restricted process as a Gaussian random element of the separable Banach space .
- Let . Then , because a centred Gaussian measure on a separable Banach space charges every ball around 0 (cited: van der Vaart and van Zanten, 2008, Lemma 5.1).
• By Borell's inequality (cited: Borell, 1975; van der Vaart and van Zanten, 2008, Theorem 5.1), for , where is the unit ball of and the standard normal distribution function. With and for , this is at most .
• Let and . Then . Each is closed (a compact set plus a closed ball), so is measurable.
- A -cover of is a -cover of . Clipping preserves this, and passing to centres in doubles the radius. So .
• Since , the hypothesis makes this .
(c) Let and , so . On the ball the map is Lipschitz into with constant . A Euclidean -net of the ball, of size at most , therefore gives a /4-cover of ; clipping preserves it, and passing to centres in doubles the radius. Hence .
(d) Let with the sets constructed for . Then , and covering numbers of a finite union add, so the logarithm increases by at most .
Full hypotheses of Theorem 2. Work in the structured setup with the parametrization , and assume (M4).
• Part (i) assumes , and that satisfies with and ; then holds automatically, by Lemma 9.
• Part (ii) assumes Assumption 3 under with and , and that lies in the -support of .
• For , part (ii) also assumes that is carried by a set satisfying with . If these hold only with some , the same proof gives .
By Lemma 9, the clipped-gap hypothesis holds when with , finitely many , and the saturation condition holds. It need not hold for restricted informative classes, for example additive-in- structures under correlated . The hypothesis sets of Theorem 2(i) and Corollary 1(ii) are not nested: the theorem replaces (U1)–(U3) by (U#2) on the part, (M4) and the support condition.
Proof of Theorem 2. From the proof of Proposition 3(b), , and with . Also , which lies between and for . Throughout, .
(i)
- Prior mass at the gap. Fix . Some has , and . By (M4) and continuity of measure, , has for large .
• Numerator. By the argument of Lemma 6 with , with probability at least , , where .
-
Denominator. Fix . By Lemma 9 and Lemma 8, with probability at least , where does not depend on .
-
Combine. Choose with for . For , with probability at least , , where for small , and .
-
Threshold. Let be the largest root of . Every with has . So , and . Let .
(ii), case .
- By Lemma 8 with , and , with probability at least , .
• As in Lemma 6, with probability at least .
-
On these events and the event of Assumption 3, . Here and . This is below 1 when , with .
-
Choose and with for , with as above (not the tolerance ). The finitely many have for small , by Proposition 3(b) at fixed .
-
Hence with . Let . If , which can happen only when , the condition of the third step holds for all large once is small, so for small , consistent with reading .
(ii), case : this is Corollary 1(i).
Remark 2 (The gap is not intrinsic when ). The clipped-gap hypothesis cannot be dropped.
- Construction. For , let be disjoint sets with , let , and let , with the normalizing constant.
• The gap. and for , so .
• The sieve holds. (U#2) holds for every , with for some .
- The evidence does not see the gap. With probability at least , no sample point falls in , and then . Taking gives .
So, under the hypotheses of Theorem 2(i) on the part, the true slope is 2, not , and (U#1) holds only with . In general, the governing quantity is the exponential rate of the informative evidence, which (U#1) at identifies with .
Corollary 2 (An exactly enumerable toy prior). Let and . Inclusion is i.i.d. Bernoulli(0.3). Given , the structure is either an additive squared-exponential GP over , or that GP plus one product-kernel term on a pair in . Kernel hyperparameters are fixed (unit length-scale and fixed variances), so the prior is a finite mixture of Gaussian processes and Lemma 10 applies. Let , , and let consist of the structures containing the pair term (1, 2). Then , without Assumption 3. If Assumption 3 holds under with and uniformly in , the limit is 2.
Proof. Apply Theorem 2 with .
- Structured setup. For a structure with active set and , is a centred Gaussian element of with non-zero covariance, because the kernel term in is non-degenerate. Some linear functional of it is therefore a non-degenerate normal variable, so : each structure uses exactly its variables, and Assumption 6(a)–(b) hold.
• Sieve. is a finite mixture of centred GPs whose kernels are sums of one-dimensional squared-exponential kernels plus at most one product of two of them. A product of two one-dimensional SE kernels is a two-dimensional SE kernel, so Lemma 10(b) applies.
-
. By Fubini, , with the kernel of the structure, since the kernels are bounded; and .
-
and the support of (cited). The -support of a centred GP with is the closure of its RKHS in (van der Vaart and van Zanten, 2008, Lemma 5.1 and Section 2). The RKHS of a sum kernel is the sum of the RKHSs (Aronszajn, 1950). Gaussian RKHSs are dense in for every finite Borel measure (Steinwart and Christmann, 2008, Theorem 4.63).
-
Hence and are -limits of RKHS elements of the -product and components, so . Similarly, lies in the support of the structure .
☐
Numerical illustration (not part of any proof). The toy prior of Corollary 2 has 304 structures, enumerated exactly.
- Design. The grid is and , with 60 replicates per cell and . is obtained from a logistic fit of detection on . This varies through as well as .
• Results. As increases over 3.9, 5.6, 7.2, 8.8, 10.4, 12.0, 13.6, takes the values 29.2, 35.1, 40.1, 44.2, 48.8, 51.2, 54.9. The ratio falls from 7.4 to 4.0 and stays above 2.
• Fit. A fit with the slope fixed at 2, , gives RMSE 0.82, against 0.99 for a free straight line. The form is a heuristic suggested by the Chebyshev term; the theorem gives no rate. A fit with free slope is not identified on this range.
• Assumption 3. The fraction of data sets with ratio in Assumption 3 below is 0.78 for every ; the invariance in is guaranteed by the proof and so checks only the code. This pooled figure cannot establish Assumption 3 for each n.
For the trained networks on design C of Section 5, (in ) and (in ) have similar (0.275 and 0.249) and zero marginal covariance with Y. Yet at and SNR 1, the ablation network without the interaction-only family (Section 5.4.4) detects in 98% of data sets and in none. Information alone (Proposition 3(a)) cannot explain this contrast. A difference in informative weight can, because threshold interactions are covered by the tree family and odd products are not covered by any family of that meta-prior. The controlled prior-weight study of Section 5.4.4 tests this mechanism directly.
B.6 Full statements and proofs for Section 4.4
Proof of Proposition 4. On the intersection of the Assumption 4 and Assumption 5 events, which has probability tending to one, once .
Setting for Proposition 5. The regression model of Appendix B.2, with a joint prior on , , and fixed. This idealizes the meta-prior, in which are also random. The size is fixed, and statements are made about ; by Lemma 2 they transfer to with the factor .
Assumption 7 (Sieve and tests). There are sets with on , and radii with , in the notation of Lemma 4.
Lemma 11 (Rates for Proposition 5(1)). (a) (Nonparametric.) Suppose for small , , and uniformly in . Then for with , Assumption 7 holds and , which is smaller than every power of . The same conclusion holds if the small-ball condition is weakened to , which covers the polylogarithmic small-ball exponents of squared-exponential Gaussian processes.
(b) (Parametric.) Let in a family with compact, , , and . Let the prior density be bounded by , and take . Then Assumption 7 holds for with any , and . Hence for every does not imply Assumption 5.
Proof of Proposition 5 and Lemma 11. Let be the tests of Lemma 4(b) at radius on , and .
(1), mass of . . Split into , where this is at most 1; , where it is at most 1; and , where Lemma 4(b) bounds it by . So , where is the prior predictive law of at size . Also .
(1), construction. Fix . Let off , and for every on ; at all other sizes let . Off the divergence is 0. On , . So , and the bound on follows from
Lemma 2. On the Assumption 4 event no equals , and the clip moves every coordinate to the other side of . So .
Lemma 11(a). when , so . The three terms of follow by substitution. Under the weakened condition the first term decays faster than every power of , and the other two are unchanged.
Lemma 11(b). forces , so , with the volume of the unit ball of . A Euclidean -net of is an -net in . The Hellinger distance is at most , since in the formula of Lemma 4(a). So for a constant depending only on , and , and an external net converts to an internal one at twice the radius. Finally, for every .
(2). On some has and on opposite sides of , with . So , and Pinsker gives . Hence . Gaussian likelihoods are mutually absolutely continuous, so and . Let . By Lemma 3, , so
Interpretation and open problems. Parts (1) and (2) bracket the prior-predictive mass of -typical data sets: it is at least , and it can be as small as . We have not shown that the two sides match in the nonparametric case. For a parametric family with prior density bounded below at , both sides are heuristically of BIC order up to ; we do not prove this. Assumption 5 must therefore come from the architecture.
Conjecture (linear spike-and-slab, fixed p). Under a g-prior, is an explicit function of , which row attention can compute. For an active the log-odds grow like . For a null they are , so the network must resolve statistics at scale and represent the penalty. That penalty requires as an input, which SelectPFN's selection readout receives through its global token. We conjecture that such a construction exists with width independent of (of order ) and depth polylogarithmic in , building on in-context least squares (Bai et al., 2023). Whether training finds such weights is open.
Assumption 4 for the mixture meta-prior is also open. A route through Ghosal et al. (2008), with the model index taken as (family, structure), appears feasible for linear and Gaussian-process families. With several nonparametric families approximating at similar rates it is harder, because small-ball upper bounds are not known for neural-network priors.
C Additional experimental results
Gaussian-process subset prior. The exact-posterior study (Section 5.4.5) uses 2,000 tasks from the following prior, under which the posterior can be enumerated over all subsets and the hyperparameter grid. Each task has uniform on and uniform on . The inclusion indicators are with . The covariates are, with probability each, independent or Gaussian with correlation , standardized. Given , on the active coordinates ( is constant if ), and with . The hyperparameters are uniform on the 27-point grid .
Reproducibility. Every number in Section 5 and this appendix is regenerated from the stored per-data-set results:
• manuscript/make_tables.py regenerates the tables and inline numbers;
• manuscript/make_figures.py regenerates the figures;
• experiments/report_1c.py produces the summary report.
Data sets are generated deterministically: each one is seeded by a hash of its design, n, p, , SNR and replicate index. Paired comparisons therefore use identical data for every method.
Implementation choices that affect the comparisons
-
TabPFN. TabPFN is ranked by permutation importance on a 30% split of the training data, and only on 10 replicates per setting, because KernelSHAP at is infeasible for thousands of data sets. TabPFN+SHAP (permutation SHAP with evaluations per explained row, 20 background rows and 30 explained rows) is run only on the slice.
-
DART. DART is BART::wbart with sparse=TRUE. Its PIP is the fraction of posterior draws in which the variable is used; variables are ranked by this PIP, with ties broken by the posterior splitting probability.
• GP-ARD. GP-ARD ranks variables by inverse length-scale.
• HSIC-Lasso. HSIC-Lasso uses 30,000 subsampled kernel pairs and ranks variables only.
-
LassoNet. LassoNet ranks variables by the penalty level at which each one leaves the regularization path. Variables that never leave the path before it stops are ranked by the magnitude of their skip-connection weights. An earlier version left them tied at ; those results were discarded.
-
Sparse BNN. The sparse Bayesian network is fitted by MAP with an annealed spike variance and pruned at a weight inclusion probability of . The prior inclusion probability is chosen from on a 20% validation split.
-
Group-MCP network. The group-MCP network is a simplified version of GCRNet (Luo and Halabi, 2025) (proximal gradient over a 10-value penalty path, no ridge tuning); it selects its penalty on a 20% validation split.
-
BART. BART is BART::wbart with sparse=FALSE, which fixes the splitting probabilities at 1/p. Variables are ranked by their average share of splits (Bleich et al., 2014), and the selected set is . An earlier version ranked by the fixed splitting probabilities, which tie across variables; those results were discarded.
Numerical verification of the prior-weight theory (not part of any proof). Figure 6 uses a structured GP prior on variables (304 structures) with truth , for which posteriors can be computed exactly. Here is the prior weight of the informative structures for , the pair term (1, 2), and is the information index at which is detected half the time.
• The threshold grows linearly in , as Corollary 1 predicts.
-
The ratio falls from 7.4 to 4.0 across the range, consistent with the limiting slope 2 of Corollary 2 being approached from above.
-
The fitted curve , with , is a heuristic. The theorem proves only .
Table 15: Main simulation study: all paired AUPRC comparisons (Holm-adjusted over this table).
| Comparison | matched | ΔAUPRC [95% CI] | Wilcoxon p | Holm p |
|---|---|---|---|---|
| SelectPFN - DART | 7200 | 0.254 [0.250, 0.259] | < 10-300 | < 10-300 |
| SelectPFN - BART | 7200 | 0.216 [0.211, 0.220] | < 10-300 | < 10-300 |
| SelectPFN - Lasso | 7200 | 0.242 [0.237, 0.246] | < 10-300 | < 10-300 |
| SelectPFN - Elastic net | 7200 | 0.263 [0.258, 0.268] | < 10-300 | < 10-300 |
| SelectPFN - SCAD | 7200 | 0.240 [0.236, 0.245] | < 10-300 | < 10-300 |
| SelectPFN - MCP | 7200 | 0.244 [0.239, 0.249] | < 10-300 | < 10-300 |
| SelectPFN - DC-SIS | 7200 | 0.254 [0.250, 0.258] | < 10-300 | < 10-300 |
| SelectPFN - HSIC-Lasso | 7200 | 0.233 [0.230, 0.237] | < 10-300 | < 10-300 |
| SelectPFN - GP-ARD | 7200 | 0.250 [0.245, 0.256] | < 10-300 | < 10-300 |
| SelectPFN - Group-MCP NN† | 7200 | 0.267 [0.263, 0.272] | < 10-300 | < 10-300 |
| SelectPFN - LassoNet | 7200 | 0.211 [0.207, 0.216] | < 10-300 | < 10-300 |
| SelectPFN - Sparse BNN† | 7200 | 0.395 [0.389, 0.401] | < 10-300 | < 10-300 |
| SelectPFN - TabPFN + perm. imp. | 1440 | 0.147 [0.140, 0.155] | 1.2 × 10-183 | 2.3 × 10-183 |
| SelectPFN-L - DART | 7200 | 0.271 [0.266, 0.277] | < 10-300 | < 10-300 |
| SelectPFN-L - BART | 7200 | 0.233 [0.228, 0.237] | < 10-300 | < 10-300 |
| SelectPFN-L - Lasso | 7200 | 0.259 [0.254, 0.263] | < 10-300 | < 10-300 |
| SelectPFN-L - Elastic net | 7200 | 0.280 [0.276, 0.285] | < 10-300 | < 10-300 |
| SelectPFN-L - SCAD | 7200 | 0.257 [0.252, 0.262] | < 10-300 | < 10-300 |
| SelectPFN-L - MCP | 7200 | 0.261 [0.256, 0.266] | < 10-300 | < 10-300 |
| SelectPFN-L - DC-SIS | 7200 | 0.271 [0.267, 0.275] | < 10-300 | < 10-300 |
| SelectPFN-L - HSIC-Lasso | 7200 | 0.250 [0.246, 0.254] | < 10-300 | < 10-300 |
| SelectPFN-L - GP-ARD | 7200 | 0.267 [0.262, 0.272] | < 10-300 | < 10-300 |
| SelectPFN-L - Group-MCP NN† | 7200 | 0.284 [0.280, 0.289] | < 10-300 | < 10-300 |
| SelectPFN-L - LassoNet | 7200 | 0.228 [0.224, 0.232] | < 10-300 | < 10-300 |
| SelectPFN-L - Sparse BNN† | 7200 | 0.412 [0.406, 0.418] | < 10-300 | < 10-300 |
| SelectPFN-L - TabPFN + perm. imp. | 1440 | 0.164 [0.156, 0.172] | 1.8 × 10-190 | 5.5 × 10-190 |
| SelectPFN-L - SelectPFN | 7200 | 0.017 [0.016, 0.018] | 6.1 × 10-133 | 6.1 × 10-133 |
Table 16: Main simulation study: mean AUPRC by design [95% bootstrap interval]. Bold: best method in each design.
| Design | SelectPFN | SelectPFN-L | DART | Lasso | HSIC-Lasso | Group-MCP NN† | TabPFN + perm. imp. |
|---|---|---|---|---|---|---|---|
| A | 0.89 [0.88, 0.90] | 0.89 [0.88, 0.90] | 0.78 [0.77, 0.79] | 0.74 [0.73, 0.74] | 0.69 [0.68, 0.70] | 0.69 [0.68, 0.70] | 0.78 [0.76, 0.81] |
| B | 0.84 [0.83, 0.85] | 0.85 [0.84, 0.86] | 0.55 [0.53, 0.56] | 0.47 [0.46, 0.48] | 0.65 [0.64, 0.66] | 0.43 [0.42, 0.44] | 0.67 [0.64, 0.69] |
| C | 0.61 [0.60, 0.62] | 0.65 [0.64, 0.67] | 0.22 [0.21, 0.24] | 0.23 [0.22, 0.24] | 0.30 [0.29, 0.31] | 0.26 [0.25, 0.26] | 0.41 [0.38, 0.44] |
| D | 0.68 [0.67, 0.69] | 0.69 [0.68, 0.70] | 0.44 [0.43, 0.45] | 0.61 [0.60, 0.62] | 0.45 [0.44, 0.46] | 0.57 [0.56, 0.58] | 0.56 [0.54, 0.58] |

Figure 6: Exact-posterior toy problem: detection threshold against , with the line of slope 2 (the limit in Corollary 2) and a heuristic fit. This is a numerical verification and is not used in any proof.
Table 17: Calibration: maximum reliability deviation by stratum. A stratum is observable if it is defined by , or the dependence type, and latent otherwise. null denotes tasks with .
| Stratum | type | pairs | SelectPFN | SelectPFN-L |
|---|---|---|---|---|
| dependence=ar1 | obs. | 269,745 | 0.004 | 0.009 |
| dependence=block | obs. | 264,496 | 0.006 | 0.008 |
| dependence=factor | obs. | 256,654 | 0.014 | 0.012 |
| dependence=indep | obs. | 269,412 | 0.005 | 0.007 |
| n=100-299 | obs. | 390,579 | 0.007 | 0.004 |
| n=i100 | obs. | 372,394 | 0.011 | 0.009 |
| n=≥300 | obs. | 297,334 | 0.006 | 0.011 |
| p=101-500 | obs. | 851,714 | 0.002 | 0.007 |
| p=21-100 | obs. | 174,132 | 0.011 | 0.009 |
| p=5-20 | obs. | 34,461 | 0.025 | 0.015 |
| SNR=1-5 | latent | 355,221 | 0.021 | 0.021 |
| SNR=i1 | latent | 324,855 | 0.021 | 0.017 |
| SNR=≥5 | latent | 303,142 | 0.046 | 0.047 |
| SNR=null | latent | 77,089 | 0.183 | 0.174 |
| family=additive | latent | 115,683 | 0.012 | 0.010 |
| family=gp | latent | 101,376 | 0.041 | 0.043 |
| family=interact | latent | 112,441 | 0.026 | 0.022 |
| family=linear | latent | 143,692 | 0.013 | 0.008 |
| family=mlp | latent | 293,708 | 0.032 | 0.028 |
| family=null | latent | 77,089 | 0.183 | 0.174 |
| family=pairwise | latent | 119,322 | 0.013 | 0.014 |
| family=tree | latent | 96,996 | 0.009 | 0.010 |
| latent | 77,089 | 0.183 | 0.174 | |
| latent | 620,794 | 0.060 | 0.057 | |
| latent | 187,803 | 0.022 | 0.021 | |
| latent | 174,621 | 0.101 | 0.096 |
Table 18: Support recovery: exact recovery, false-negative rate (FNR) and false-positive rate (FPR) of the MPM, by design and .
| Design | n | SelectPFN exact | SelectPFN FNR | SelectPFN FPR | SelectPFN-L exact | SelectPFN-L FNR | SelectPFN-L FPR |
|---|---|---|---|---|---|---|---|
| A | 100 | 0.21 | 0.35 | 0.004 | 0.23 | 0.35 | 0.005 |
| A | 300 | 0.62 | 0.07 | 0.003 | 0.65 | 0.07 | 0.002 |
| A | 800 | 0.94 | 0.00 | 0.001 | 0.96 | 0.00 | 0.000 |
| B | 100 | 0.07 | 0.47 | 0.004 | 0.11 | 0.44 | 0.004 |
| B | 300 | 0.51 | 0.11 | 0.002 | 0.53 | 0.10 | 0.002 |
| B | 800 | 0.85 | 0.02 | 0.001 | 0.85 | 0.02 | 0.001 |
| C | 100 | 0.00 | 0.73 | 0.004 | 0.01 | 0.68 | 0.005 |
| C | 300 | 0.07 | 0.38 | 0.004 | 0.15 | 0.32 | 0.004 |
| C | 800 | 0.24 | 0.22 | 0.002 | 0.41 | 0.16 | 0.001 |
| D | 100 | 0.00 | 0.67 | 0.005 | 0.00 | 0.66 | 0.005 |
| D | 300 | 0.02 | 0.35 | 0.006 | 0.04 | 0.34 | 0.005 |
| D | 800 | 0.23 | 0.16 | 0.003 | 0.36 | 0.13 | 0.003 |
| L | 100 | 0.44 | 0.21 | 0.006 | 0.47 | 0.20 | 0.005 |
| L | 300 | 0.82 | 0.01 | 0.002 | 0.87 | 0.01 | 0.002 |
| L | 800 | 0.92 | 0.00 | 0.001 | 0.97 | 0.00 | 0.000 |
| L10 | 100 | 0.01 | 0.51 | 0.013 | 0.02 | 0.49 | 0.012 |
| L10 | 300 | 0.28 | 0.16 | 0.008 | 0.33 | 0.16 | 0.007 |
| L10 | 800 | 0.53 | 0.05 | 0.004 | 0.59 | 0.05 | 0.002 |
Table 19: Support recovery: test RMSE relative to the noise floor, RMSE/ (geometric mean). BMA: SelectPFN model average. Oracle: SelectPFN's prediction pass given the true . OLS oracle: least squares on the true . The SelectPFN-L regression in design B appears in the oracle column as well, so it lies in the prediction pass.
| Design | SelectPFN BMA | SelectPFN oracle | SelectPFN-L BMA | SelectPFN-L oracle | OLS oracle | |
|---|---|---|---|---|---|---|
| A | 100 | 1.280 | 1.180 | 1.268 | 1.173 | 1.326 |
| A | 300 | 1.104 | 1.093 | 1.091 | 1.079 | 1.298 |
| A | 800 | 1.056 | 1.056 | 1.043 | 1.043 | 1.290 |
| B | 100 | 1.364 | 1.253 | 1.366 | 1.276 | 1.658 |
| B | 300 | 1.143 | 1.131 | 1.261 | 1.252 | 1.622 |
| B | 800 | 1.091 | 1.089 | 1.268 | 1.266 | 1.600 |
| C | 100 | 1.589 | 1.358 | 1.536 | 1.298 | 1.853 |
| C | 300 | 1.307 | 1.213 | 1.303 | 1.216 | 1.804 |
| C | 800 | 1.219 | 1.157 | 1.229 | 1.187 | 1.785 |
| D | 100 | 1.424 | 1.279 | 1.414 | 1.274 | 1.337 |
| D | 300 | 1.224 | 1.178 | 1.212 | 1.170 | 1.294 |
| D | 800 | 1.141 | 1.127 | 1.127 | 1.117 | 1.281 |
| L | 100 | 1.130 | 1.059 | 1.137 | 1.068 | 1.031 |
| L | 300 | 1.033 | 1.029 | 1.051 | 1.048 | 1.010 |
| L | 800 | 1.020 | 1.020 | 1.038 | 1.038 | 1.004 |
| L10 | 100 | 1.266 | 1.090 | 1.248 | 1.090 | 1.061 |
| L10 | 300 | 1.068 | 1.041 | 1.074 | 1.049 | 1.019 |
| L10 | 800 | 1.031 | 1.026 | 1.044 | 1.039 | 1.007 |
Table 20: Low-dimensional slice (): paired AUPRC differences on matched data sets (Holm-adjusted over this table).
| Comparison | matched | AUPRC [95% CI] | Wilcoxon | Holm |
|---|---|---|---|---|
| SelectPFN – LinearPFN | 2400 | 0.050 [0.046, 0.054] | ||
| SelectPFN – TabPFN + SHAP | 960 | 0.090 [0.083, 0.096] | ||
| SelectPFN – DART | 2400 | 0.173 [0.166, 0.181] | ||
| SelectPFN – Lasso | 2400 | 0.197 [0.191, 0.204] | ||
| SelectPFN-L – LinearPFN | 2400 | 0.057 [0.053, 0.061] | ||
| SelectPFN-L – TabPFN + SHAP | 960 | 0.098 [0.091, 0.105] | ||
| SelectPFN-L – DART | 2400 | 0.181 [0.173, 0.188] | ||
| SelectPFN-L – Lasso | 2400 | 0.204 [0.198, 0.211] |