Weights & Caches: LLMs Can Program Tabular Foundation Models
Shi Bin Hoo, Magnus Buehler, Omar Swelam, Frank Hutter, Lennart Purucker
Abstract
Neural networks are typically programmed through optimization, rather than by explicitly specifying their computations. Recent work on weight-space programming suggests that large language models (LLMs) can instead reason about and manipulate neural-network weights directly. In this work, we show that LLMs can directly program statistical computations in tabular foundation models (TFMs), whose parameters enable inference across different datasets. We investigate three complementary settings using GPT-6 Astra, without gradient-based optimization. First, Astra directly programs nanoTabPFN from zero-initialized weights, achieving a mean ROC AUC of 0.849 across 20 TabArena datasets, compared to 0.876 for a pretrained baseline. Second, Astra diagnoses and repairs a signed-product regression failure in pretrained TabPFN-3.5, restoring near-perfect predictions on held-out synthetic datasets while preserving performance on TabArena-Lite, with only a 0.08% average relative increase in error. Third, it writes KV-cache-editing programs that steer TabPFN-3.5's predictions on unseen synthetic datasets, demonstrating transformations such as reversing linear trends and converting sine waves into approximate square waves, without modifying model weights. Together, our findings suggest that LLM-driven programming could complement gradient-based optimization across TFMs' development and usage, while offering a new way to investigate and intervene in their internal computations.
Create a lesson
Related papers
Weight-space programming for tractor guidance controller: large language models natively write neural network weights that steer a real tractor
Shared title terminologycs.LGTimo Oksanen
Can AI Mature a Model's Geometry? Training-Free Weight Baking in LLMs
Shared title terminologycs.LGAmin Golnari, Saeid Sanei
Same Fix, Different Weights: Replicating Weight-Space Programming with Claude
Shared title terminologycs.LGSubham Kundu
Tabular Foundation Models as Emulators for Forecasting Terrestrial Ecosystem Dynamics
Shared title terminologycs.LGZhihao Wang, Ruohan Li, Lei Ma et al.
CECAR: Cache & Expert Co-Aware Routing Accelerates On-Device Inference of MoE LLMs
Shared title terminologycs.LGByeongju Kim, Hoonki Lee, Byungjun Kim et al.
Two-Stage Post-Training for Flow-Based Embodied Foundation Models
Shared title terminologycs.LGJiaming Zhang, Yao Lyu, Haoning Wang et al.