cs.AINov 3, 2026

Amortized Nonlinear Variable Selection with Prior-Data Fitted Networks

Authors: Jin Zhu, Junxian Zhu

Abstract

Variable selection is an important task for interpreting potentially complex systems in fields such as biology, business, and sociology. The importance of variable selection has attracted considerable attention in statistics and machine learning. In this paper, we are mainly interested in model-agnostic variable selection for identifying variables that have general nonlinear dependence on the response. We propose MambaPFN, short for Model-Agnostic Markov BlAnket selection with Prior-data Fitted Networks, which is built upon the Transformer, a building block of many popular large language models. Specifically, we consider a functional-mapping perspective on variable-selection learning, in which the Transformer is treated as a learnable mapping from a dataset to its relevant variables. To learn this mapping, MambaPFN introduces three new components: (i) a faithful, rich, and scalable scheme for generating pretraining data, (ii) an objective that targets each variable's posterior inclusion probability, and (iii) a modified Transformer architecture tailored to variable selection. Once pretrained, MambaPFN is applied to new datasets without parameter updates. Empirically, MambaPFN achieves desirable variable-selection performance in simulation studies and exhibits a scaling law---more pretraining datasets and larger models can continuously improve its performance. Applied to a Facebook comments dataset, MambaPFN selects the fewest variables and achieves the highest computational efficiency and predictive performance, improving upon the best baselines by about 20%.

Figures & tables

Explore similar work

CardsList
  1. LinearPFN: Amortized Variable Selection for Linear Models with Interactions

    Oct 5, 2026Louis Schiekiera, Max Zimmer, Christophe Roux +3Model SelectionPrior-Data Fitted Networks

  2. Linear Models, Variable Selection, Artificial Intelligence

    Apr 29, 2026By Riyadh Alrawkan, Edward Boone, Ryad Ghanam +1Model SelectionLinear Regression