{"id":"aad2f91f-de86-424c-8726-20e9b704baef","arxiv_id":"2610.06580","paper_version":1,"verdict":"ACCEPT","confidence":"MODERATE","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":7,"one_line_summary":"A transformer trained on synthetic spike-and-slab data returns posterior inclusion probabilities, effect estimates, and predictive distributions for linear models with interactions in one forward pass, with exact-posterior agreement where enumeration is possible.","lead":"LinearPFN is a neural network trained once on synthetic data; a single pass over a new dataset returns for every variable and interaction a probability of being active, an estimated coefficient, and a predictive distribution. It offers researchers a fast Bayesian-style variable-selection step for linear models with interactions, without running per-dataset MCMC.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"PIP calibration for 6≤p≤30 is not verified by the paper's own six criteria: those are scored only at p≤5, and the p>5 ECE evidence comes from a grid-truncated benchmark where even the exact posterior is miscalibrated (0.063).","rationale":"The reader's weakest_assumption — fidelity beyond p=5 rests on 300 MCMC comparisons plus in-prior benchmark data — is the same gap I identify, sharpened: the paper's own six criteria are never scored beyond p≤5, and the one p>5 calibration number (ECE 0.009, G.3) is measured on a grid-truncated benchmark where the authors concede the exact posterior is itself miscalibrated (0.063), so it cannot anchor a calibration claim. I weighed whether this flips the verdict. It does not: the exact-posterior validation at p≤5 meets all six a-priori thresholds; the 300-dataset MCMC comparison shows only small gaps (AUC -0.008, RMSE +0.009) against an independently specified conjugate reference that is itself anchored by the quadrature checks of Appendix D.1; the outside-prior variants (fixed-magnitude coefficients, many large interactions, heavy-tailed noise) preserve the selection lead; and the paper is unusually scrupulous in disclosing the in-prior benchmark, the grid truncation (b459, b505), the collinearity failure mode, and coefficient parity. The remaining question is evidentiary, not demonstrative: whether the reported degradation at p>5 stays within tolerance is open, but the magnitude of the observed gaps and the positive real-outcome correlations (0.972 pooled, with 5/7 MPMs identical) make actual failure unlikely. The abstract's unrestricted phrasing ('a single forward pass over a new dataset returns posterior inclusion probabilities') outruns the verification only in the p>5 regime, and my concrete test is exactly what a referee should request; it is a fillable gap, not a refutation, so ACCEPT with moderate confidence remains the right verdict.","tokens_in":32094,"tokens_out":6956,"duration_ms":52726,"concrete_test":"On the existing 300 benchmark datasets of Appendix G.2, re-score LinearPFN against the MCMC reference restricted to the 93.0% of runs meeting convergence, computing per p-bin (6-10, 11-20, 21-30) the ECE gap and the Murphy resolution ratio against the MCMC posterior, with the Table 1 thresholds (ECE gap≤0.01, resolution≥0.90/0.85). Also report the 7% non-converged runs separately to confirm they do not concentrate at high p. Holding thresholds at every p-bin establishes the amortized-posterior claim across the operating range; degradation with p would require scoping the claim.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The central promise is that one forward pass returns spike-and-slab posterior inclusion probabilities and posterior-mean coefficients over the full operating range of up to p=30, amortizing inference beyond enumeration reach. That promise is rigorously anchored at p≤5: Appendix E scores all six fixed criteria (AUC gap, ECE gap, resolution ratio, headroom, coverage, coefficient correlation) on the exact cells, and Table 1 confirms all thresholds. But for 6≤p≤30, the same criteria are not applied. Coverage is pooled across all cells (a weak average), and the five sharper criteria use the exact cells only. The p>5 evidence reduces to (i) 300 MCMC comparisons of Appendix G.2, where only 93.0% of runs meet convergence criteria and the reported F1 difference to the sampler is -0.050 [-0.064, -0.036], and (ii) an ECE of 0.009 on the main benchmark reported in G.3. That ECE is not an anchor: the benchmark's 5x5 grid rejection-samples the prior (19.1% of mass, all low-density/low-R2 draws discarded), and the authors state in G.3 (b505) that even the exact posterior is not calibrated there, with ECE 0.063 on the control. So comparing LinearPFN's 0.009 to the exact posterior's 0.063 is confounded by the grid construction and cannot support a calibration claim at p>5. The seven real-outcome tables help (pooled PIP correlation 0.972), but the declared collinearity stress case bodyfat (p=13) shows only 0.780 correlation, so large-p fidelity is mixed. If amortization error grows with p, the returned PIPs are not the specified posterior for most of the claimed range; the available evidence is consistent with mild degradation but does not eliminate that possibility.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper introduces LinearPFN, a prior-data fitted transformer that amortizes spike-and-slab variable selection for linear models with main effects and pairwise interactions. The network is pretrained on synthetic datasets drawn from an explicitly specified conjugate prior and returns, in one forward pass, per-effect posterior inclusion probabilities, posterior-mean coefficients, and a bar posterior predictive distribution. The prior is fully specified (Section 3.1, Appendix B, Table 3). Where the exact posterior can be enumerated (p ≤ 5), the outputs are validated against it on six criteria whose thresholds were fixed before training and are all met (Table 1, Appendix E). The main benchmark combines 383 real predictor matrices from social-science R packages with outcomes drawn from the training prior, stratified into 10,000 datasets over a 5×5 density–R2 grid; LinearPFN attains the highest per-dataset selection AUC and F1 relative to five classical baselines, with paired bootstrap intervals (Tables 2 and 6), and the lead is preserved under three out-of-prior outcome variants (Table 7). Agreement with an MCMC sampler targeting the same posterior is reported on 300 benchmark datasets and on seven real-outcome tables (Appendix G, Table 8).","tokens_in":32528,"tokens_out":9022,"duration_ms":54726,"significance":"If the results hold, LinearPFN is a practically useful amortized variable-selection tool: inclusion probabilities and coefficient means for models with up to p = 30 predictors (up to 465 candidate effects) at sub-second GPU latency, versus a median of roughly 57 seconds for an MCMC reference on the same datasets. The strongest elements are methodological hygiene: the conjugate prior makes an exact posterior available inside the training distribution, the six validation criteria are effectively pre-registered (thresholds fixed before training), the main benchmark uses paired bootstrap intervals and discloses the grid construction, and code plus trained weights are released for reproduction. The manuscript is also unusually candid about its limitations, including that the headline benchmark draws outcomes from the training prior, that the rejection grid makes even the exact posterior miscalibrated inside the benchmark, and that collinear predictors break the MPM rule. The remaining risk concentrates in the fidelity claim for p > 5, discussed below; that risk is real but fixable within the manuscript's scope.","major_comments":[{"comment":"The six exact-posterior criteria are scored only on the exact cells (p ≤ 5), and the coverage criterion that pools all cells is a weak average that does not check posterior fidelity at larger p. For the stated operating range p = 6 to 30, the posterior-fidelity claim rests on (i) an MCMC comparison on 300 benchmark datasets that are drawn 'at random over all pℓ' and are reported only pooled, and (ii) the seven real-outcome tables. Because the pooled F1 deficit to the sampler is −0.050 [−0.064, −0.036], which is systematic in the statistical sense, the manuscript should (a) report how many of the 300 datasets have p > 5, (b) stratify the AUC/F1/RMSE gaps and the PIP agreement by p-bands (for example 6–10, 11–20, 21–30), and (c) either show that fidelity does not degrade with p or restrict the posterior-fidelity claim to the range in which it is actually checked. The selection margins at p > 5 in Figure 4 are practical evidence of ranking accuracy, but they are not evidence that the outputs equal the spike-and-slab posterior, which is the paper's central promise.","section":"Appendix E and Appendix G.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The paper's own declared collinearity stress test shows the largest disagreement in the real-outcome comparison (main-effect PIP correlation 0.780, maximum PIP difference 0.600 on a candidate effect), yet the text reports only the pooled correlation 0.972 and does not discuss this outlier beyond listing the table as a stress test. Since Section 5's collinearity discussion concerns the MPM rule rather than PIP agreement itself, the manuscript should explain whether the bodyfat disagreement reflects amortization error at p = 13, posterior sensitivity to collinearity, or sampler behavior, and, if it is amortization error, state what this implies for fidelity at larger p. A minimal fix is to comment on the per-table main-effect and interaction correlations in the discussion of Table 8 rather than only in the appendix.","section":"Table 8, bodyfat row","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The title uses 'LinearPFN' while the body text consistently uses 'LINEARPFN'; pick one capitalization for consistency.","section":"Title and body","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The sentence reporting the pooled F1 deficit to the MCMC sampler (−0.050 [−0.064, −0.036]) should include a sentence of interpretation, because as written the interval can be read as either validation or unexplained degradation.","section":"Section 4, MCMC paragraph","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The Figure 7 caption notes that a variant's R2 can lie outside its bin; the same caveat should be stated for how the R2 slices in Figure 4 are drawn for the in-prior benchmark, since the grid there also reweights the prior.","section":"Figure 7 caption and Figure 4","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Reporting coverage per p-band and per nominal level in addition to the pooled value would strengthen the weak-average caveat that the pooled criterion is admitted to be.","section":"Appendix E, coverage criterion","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The manuscript correctly states (sentence b505) that the benchmark ECE compares methods without testing calibration because even the exact posterior is miscalibrated there; consider surfacing that caveat in Section 4 as well, so a casual reader does not read the reported ECE of 0.009 as calibration evidence at p > 5.","section":"Appendix G.3 and Section 4","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Worth your time. This is the first PFN that returns posterior inclusion probabilities rather than just predictive distributions, and the authors handle interactions sensibly by assembling pooled cell representations instead of a dedicated product column. The backbone is forked from nanoTabPFN and the losses combine a PFN predictive term with supervised BCE and MSE heads — a clean multi-head recipe.\n\nThe strongest part is the validation culture. Because the prior is conjugate, the exact spike-and-slab posterior is enumerable at p≤5, and they score all six pre-fixed criteria against it: AUC gap −0.0026, coefficient correlation 0.9931, ECE gap 0.0034. Thresholds fixed in advance. That is real evidence, not hand-waving. The main benchmark uses 383 real predictor matrices, 10,000 draws with a disclosed 5×5 grid, paired bootstrap intervals, and LinearPFN beats five baselines on selection AUC and F1 in every slice. The outside-prior variants (fixed-magnitude coefficients, many large interactions, heavy-tailed noise) hold up. The ablation showing the predictive loss helps the other heads is a nice touch.\n\nNow the soft spots, in proportion. The headline benchmark draws outcomes from the same prior used for pretraining, so the margins partly measure in-domain performance — the authors disclose this, and the outside-prior variants blunt it, but it is real. The bigger issue is fidelity across the claimed operating range p=6–30. The six sharp criteria only apply at p≤5; beyond that, you have 300 MCMC comparisons where only 93% of runs converge and F1 trails the sampler by −0.050 [−0.064, −0.036]. The p>5 ECE of 0.009 is not an anchor: the grid truncates the prior and the authors state in G.3 (b505) that even the exact posterior is miscalibrated there (ECE 0.063). Notably, on the within-enumeration-reach subset of that truncated benchmark, LinearPFN's ECE is 0.081 against the exact 0.063 — so the degradation is measurable where you can measure it, and at p=13 the bodyfat stress table shows PIP correlation of only 0.780. None of this is fatal, and most of it is disclosed, but a referee should ask for a sharper p>5 story than \"MCMC says it's close.\" Coefficient error only matches the best baseline, which they acknowledge.\n\nFor a reader doing amortized Bayesian inference or applied sparse interaction modeling, this is a solid, honest contribution that deserves a serious referee — mostly for revision, not desk reject. It cleared my bar.","headline":"A genuinely careful PFN paper: exact-posterior validation at p≤5 is the core contribution, the evaluation is honest and well-disclosed, and the real open question is fidelity across p=6–30 where only MCMC anchors exist.","tokens_in":33163,"tokens_out":2310,"duration_ms":18833},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"LinearPFN argues that a single deterministic forward pass of a transformer, pretrained on synthetic datasets from an explicit conjugate spike-and-slab prior, returns full Bayesian variable-selection output — posterior inclusion…","keywords":["spike-and-slab regression","amortized Bayesian inference","prior-data fitted network","variable selection","pairwise interactions","posterior inclusion probability","median probability model","transformer"],"falsifier":"Take predictor matrices with 6 to 30 predictors and generate outcomes by a process outside the training prior — for instance a known active set with coefficients drawn from a heavy-tailed slab, or an interaction included without both parents — and compare the network's selected set against the known truth, or against an MCMC sampler run to stricter convergence (largest split Rhat below 1.05) on the same data. If per-dataset selection F1 or AUC drops toward baseline level in that regime, the claim that one forward pass approximates the spike-and-slab posterior over the full stated operating range is refuted.","tokens_in":33498,"feed_emoji":"🎯","tokens_out":4771,"duration_ms":25923,"temperature":0.7,"pith_summary":"The paper tries to establish that Bayesian variable selection, whose exact posterior grows exponentially with the number of candidate effects and normally demands a fresh MCMC run per dataset, can be amortized into one forward pass of a pretrained transformer. The network is trained once on synthetic data drawn from an explicitly specified spike-and-slab prior over main effects and pairwise interactions, and at inference a single pass returns inclusion probabilities, posterior-mean coefficients, and a full predictive distribution. Wherever the exact posterior can still be enumerated, up to five predictors, the outputs meet all six validation criteria fixed before training. On 10,000 benchmark datasets built on real social-science predictor matrices it attains higher per-dataset selection AUC and F1 than five classical baselines, and the selection lead survives when the coefficients, the interactions, or the noise depart from the training prior.","feed_headline":"Bayesian variable selection in one forward pass","feed_subtitle":"A pretrained transformer returns inclusion probabilities and beats five classic methods on 10,000 datasets.","key_machinery":"The carrier is the conjugate spike-and-slab prior over the expanded predictor matrix $Z=[1,X,(x_j\\odot x_k)_{j<k}]$, where every candidate effect — intercept, main effect, or pairwise interaction — holds an inclusion indicator $\\gamma_e$ and, if active, a slab coefficient $\\beta_e\\sim N(0,v_e\\sigma^2)$; because every slab variance is proportional to $\\sigma^2$, each model's marginal likelihood has a closed form, the property that allows exact enumeration at small p and a defined reference beyond it. The second piece is the read-out structure built on a shared transformer backbone: three heads pool the final cell representations, averaging context cells for main effects and using combine-then-mean products $h_{jk}$ and $h_{jky}$ (which are symmetric in the two predictors) for interactions, while a fourth regression head outputs a bar distribution. The selection head is trained by binary cross-entropy against the simulated active sets, the coefficient head by MSE against the simulated coefficients, and the regression head by negative log-likelihood whose expected minimizer is the posterior predictive distribution; at inference the median probability model rule, which selects every effect whose PIP exceeds one half, converts the PIPs into a hard selection.","core_discovery":"The central claim is that a transformer, pretrained on a conjugate spike-and-slab prior, can amortize Bayesian model averaging over main effects and pairwise interactions so completely that one forward pass supplies the posterior marginalization that MCMC would otherwise require. The prior is conjugate by design — every slab variance is proportional to the noise variance — so each candidate model has a closed-form marginal likelihood, which makes the exact posterior enumerable at small p and gives a simulator-free reference. The network is verified against that exact posterior on six pre-fixed criteria and meets all six; at p≤5 the PIPs sit 0.0026 below the exact posterior's AUC and the posterior-mean coefficients correlate at 0.9931. Beyond enumeration reach, on 7 published tables with real outcomes the network's PIPs correlate at 0.972 with an MCMC sampler targeting the same posterior, and on 10,000 real-matrix benchmark datasets its selection F1 and AUC lead every classical baseline in every reported slice. Exact-posterior validation exists only for p≤5, so the stated operating range up to p=30 rests on the MCMC comparisons and on benchmark datasets whose outcomes are drawn from the same prior used to train the network.","pith_inferences":["An untested but direct extension, which the paper names, is conditioning the network on the prior's hyperparameters so a user could state their own effect-size, heredity, and noise assumptions without retraining; nothing in the architecture prevents a hyperparameter-conditioned embedding.","The benchmark's learning signal is partly self-confirming: outcomes drawn from the training prior measure fidelity to that prior as much as selection skill, so the strongest evidence of real-world utility would be a comparison where the true active set is known but the data-generating process lies outside the training prior.","The collinearity failure the authors acknowledge implies a concrete stress test: on deliberately near-duplicate predictors the network should report both PIPs below one half, and a credible-set mechanism analogous to the SuSiE baseline is the natural repair it currently lacks.","Because the combine-then-mean summaries $h_{jk}$ and $h_{jky}$ are symmetric in the two predictors, the architecture is built around strong heredity; lifting heredity would require a different input construction, which the paper does not attempt."],"forward_implications":["Amortization turns a per-dataset MCMC run (57.43 seconds median on one CPU thread) into a single GPU forward pass (0.03 seconds median), making Bayesian model averaging with interactions feasible where selection must be repeated many times.","Where the posterior can be enumerated (p≤5) the network matches the exact posterior within the six pre-fixed thresholds, providing a fast cross-check on small problems.","The selection lead over five classical baselines persists under three violations of the outcome model — fixed-magnitude coefficients, many large interactions, and heavy-tailed noise — so the result is not brittle to those departures from the training prior.","The regression head's negative log-likelihood loss is not decorative: retraining without it lowers selection AUC and F1 and raises coefficient error, which the paper demonstrates by ablation.","In coefficient error the network only matches the best baseline, and under many large interactions its coefficient RMSE falls behind three baselines, so the claim of leadership is specifically about selection, not estimation."],"supporting_citations":[{"why":"Supplies the spike-and-slab prior that defines the model class the network is trained to approximate.","marker":"(Mitchell & Beauchamp, 1988)"},{"why":"Gives the prior-data fitted network paradigm and the loss whose expected minimizer is the posterior predictive distribution.","marker":"(Müller et al., 2021)"},{"why":"Provides the lightweight transformer architecture from which LinearPFN is forked.","marker":"(Pfefferle et al., 2025)"},{"why":"Supplies the amortized binary cross-entropy training scheme that makes the selection head target posterior inclusion probabilities.","marker":"(Lorch et al., 2022)"},{"why":"Provides the median probability model rule that converts PIPs into a hard selected set.","marker":"(Barbieri & Berger, 2004)"},{"why":"Defines the model-space MCMC sampler used as the reference beyond enumeration reach.","marker":"(Madigan et al., 1995)"},{"why":"Supplies SuSiE, the closest baseline, whose credible sets the method is compared against and which it lacks.","marker":"(Wang et al., 2020)"}],"fun_headline_variants":["One forward pass replaces spike-and-slab MCMC","Transformer amortizes Bayesian variable selection","LinearPFN beats five baselines on 10,000 datasets","Pretrained transformer returns inclusion probabilities in one pass","Amortized variable selection for linear interactions"],"cache_read_input_tokens":0,"weakest_assumption_plain":"Fidelity for p>5 is not verified against the exact posterior: the claim that outputs still approximate the spike-and-slab posterior in the stated range up to p=30 rests on a few hundred MCMC comparisons and on benchmark datasets whose outcomes are drawn from the very prior used to train the network, so if the learned approximation degrades beyond enumeration reach, the amortized-posterior claim is unsupported for most of the claimed range.","fun_headline_variants_meta":{"raw":{"variants":["One forward pass replaces spike-and-slab MCMC","Transformer amortizes Bayesian variable selection","LinearPFN beats five baselines on 10,000 datasets","Pretrained transformer returns inclusion probabilities in one pass","Amortized variable selection for linear interactions"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000306,"raw_usage":{"cost":0.00030604,"is_byok":false,"cost_details":{"upstream_inference_cost":0.00030604,"upstream_inference_prompt_cost":0.00017808,"upstream_inference_completions_cost":0.00012796},"total_tokens":1729,"prompt_tokens":1272,"completion_tokens":457,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":399}},"tokens_in":1272,"tokens_out":457,"cost_source":"openrouter_usage","duration_ms":6744,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":399,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-06T10:04:10.756869+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Take predictor matrices with 6 to 30 predictors and generate outcomes by a process outside the training prior — for instance a known active set with coefficients drawn from a heavy-tailed slab, or an interaction included without both parents — and compare the network's selected set against the known truth, or against an MCMC sampler run to stricter convergence (largest split Rhat below 1.05) on the same data. If per-dataset selection F1 or AUC drops toward baseline level in that regime, the claim that one forward pass approximates the spike-and-slab posterior over the full stated operating range is refuted.","supporting_citations":[{"cited_title":"Amortized inference for causal structure learning","cited_arxiv_id":null,"evidence_quote":"Supplies the amortized binary cross-entropy training scheme that makes the selection head target posterior inclusion probabilities."},{"cited_title":"A simple new approach to variable selection in regression, with application to genetic fine-mapping","cited_arxiv_id":null,"evidence_quote":"Supplies SuSiE, the closest baseline, whose credible sets the method is compared against and which it lacks."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}