Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LLM Sparsity Prior for Robust Feature Selection

About

Large language models (LLMs) offer a scalable mechanism to elicit domain-informed prior information for high-dimensional variable selection. However, existing methods such as LLM-Lasso are sensitive to weight quality, with performance degrading substantially when LLM-generated weights are inaccurate. To address this challenge, we first introduce a framework for quantifying the quality of LLM-generated weights, enabling rigorous evaluation of LLM-informed methods across varying weight regimes. We then propose the LLM Sparsity Prior (LSP), which integrates LLM-generated weights into the prior inclusion probabilities of Spike-and-Slab and Spike-and-Slab Lasso models via two interpretable hyperparameters governing global sparsity and weight concentration. Hierarchical hyperpriors on these parameters allow the model to dynamically discount uninformative or misleading weights, improving robustness without sacrificing gains when weights are accurate. Finally, we develop principled prompt engineering strategies and validate the method on a private medical dataset studying Acute Kidney Injury. LSP improves prediction accuracy and identifies clinically relevant features missed by the baselines, with robustness to prompt variation and particular effectiveness in low-data regimes.

Caleb Skinner, Yihan Guo, Meng Li• 2026

Related benchmarks

TaskDatasetResultRank
Acute Kidney Injury PredictionAKI clinical dataset Elderly Patients
Out-of-Sample MSE0.0379
7
Acute Kidney Injury PredictionAKI clinical dataset Female Smokers
Out-of-Sample MSE (x 10^2)0.0704
7
Acute Kidney Injury PredictionAKI clinical dataset Black Men
Out-of-Sample MSE0.0615
7
Acute Kidney Injury PredictionAKI clinical dataset Liver Disease
Out-of-Sample MSE (x 10^2)3.49
7
Acute Kidney Injury PredictionAKI clinical dataset Compromised
Out-of-Sample MSE (x 10^2)0.1369
7
Showing 5 of 5 rows

Other info

Follow for update