TL;DR
While foundation models have revolutionized text and vision, structured tabular data has remained trapped in isolated, dataset-specific silos due to mismatched schemas and arbitrary column orderings. ASPIRE (Arbitrary Set-based Permutation-Invariant Reasoning Engine) bridges this divide by combining text-grounded feature descriptions with hierarchical, permutation-invariant Set Transformers. It enables zero-shot, few-shot, and cost-aware active feature prediction across completely unseen tabular schemas without task-specific retraining.
What Problem Does This Paper Address?
In domains like healthcare, finance, and scientific discovery, tabular data dominates. Yet machine learning on tables remains largely fragmented:
- Schema Heterogeneity: Every table defines its own columns, types, and semantics. A column representing age might be called
"Age","patient_age", or"Age (years)". - Lack of Order Invariance: Tables have no natural column ordering. Standard architectures (including autoregressive LLMs) often produce inconsistent outputs if columns are permuted.
- Rigid Conditioning: Standard supervised learning maps a fixed set of input features to a predetermined target, failing when features are missing or when arbitrary variables need to be predicted at test time.
Existing tabular foundation models (like TabPFN or CM2) either train on synthetic data without real-world semantics or flatten tables into sequential strings without guaranteeing permutation invariance.
Methods
ASPIRE introduces a Universal Neural Inference (UNI) framework built on four primary stages:
[Feature Name & Metadata] --> BERT Encoding --\
+--> AtomMLP --> Set-to-Set Transformer --> Cross-Instance Aggregator --> Output Head
[Value: Numeric/Cat/Empty] --> Fourier / BERT --/
- Semantic Feature Grounding: Embeds column names, descriptions, and metadata using a pretrained language model (BERT-base), combined with learnable data-type embeddings. This projects disparate schemas into a shared semantic space.
- Feature-Value "Atom" Processing: Converts each entry into an contextualized atom. Numerical values are mapped via single-token Fourier feature embeddings (spanning frequencies 1–256), categorical values are embedded via BERT, and missing values receive a shared learnable token $e_\emptyset$. An AtomMLP fuses value and feature embeddings so identical values (e.g.,
32) are interpreted conditionally on context (e.g.,Agevs.BMI). - Set-Based Instance Representation: Rows are treated as unordered sets of atoms. Rather than collapsing a row into a single vector, stacked permutation-equivariant Set Transformer layers allow features within a row to interact without imposing artificial order.
- Hierarchical Universal Inference: Aggregates tokens across query instances, optional support examples (0- to 5-shot in-context learning), and dataset description tokens via inter-instance Set Transformers tagged with learnable type markers.
- Flexible Heads & Conditioning: Trained with random feature masking via Monte Carlo sampling. Targets are predicted via a Mixture of Gaussians head (for continuous variables) or dot-product attention against candidate class embeddings (for categorical variables).
- Active Feature Acquisition (AFA): Because ASPIRE models arbitrary conditional distributions, it greedily selects the next most informative feature to acquire under cost constraints using an information reward based on KL divergence.
Datasets
- Pretraining: 1,400 tabular datasets curated from OpenTabs, enriched with extracted natural language descriptions and metadata.
- Evaluation: 20 diverse downstream benchmarks from UCI Machine Learning Repository, OpenML, and Kaggle across healthcare, finance, and science (spanning 10 to 500 features and 1,000 to 1,000,000 samples).
- Classification: Breast Cancer, Diabetes, Vehicle, Satimage, Sick, Pc1, Adult, Phishing, Cylinder-bands, MiceProtein, Car, Segment, Amazon, etc.
- Regression: Elevators, House Sales, Diamonds, Yprop, Topo, SAT11, Porto-seguro.
Key Insights and Ideas
- Tabular Data is Inherently a Set of Sets: Features inside an instance and instances within a support set have no canonical sequence. Enforcing mathematical permutation equivariance throughout the architecture avoids sequence-order artifacts common to LLMs.
- Natural Language Provides Cross-Table Alignment: Without language grounding, models cannot reliably transfer knowledge between distinct schemas. When dataset descriptions were ablated, 5-shot classification performance dropped substantially (F1 fell from $0.722$ to $0.598$).
- Zero-Shot Beats Prior Few-Shot: ASPIRE’s 0-shot classification F1 ($0.484$) surpassed the 5-shot performance of CM2 ($0.480$), indicating genuine semantic knowledge transfer across disparate domains.
Key Results
- Few-Shot Classification (5-shot): ASPIRE achieved an average F1 score of 0.722, outperforming TabPFN (0.459), CM2 (0.480), and LLaMA-3.1-8B-Instruct (0.418) — representing a 50%–57% relative improvement.
- Few-Shot Regression (5-shot): ASPIRE achieved an average RMSE of 0.333, compared to CM2’s 0.867 (a 72% error reduction) and LLaMA-3.1-8B's 0.624.
- Full-Supervision Finetuning: When finetuned with full training data, ASPIRE reached an average F1 of 0.922 on classification tasks (surpassing XGBoost at 0.800 and CM2 at 0.863) and an average RMSE of 0.157 on regression (outperforming XGBoost at 0.557).
- Active Feature Acquisition: In sequential acquisition experiments, ASPIRE reached high F1 scores in fewer steps than dataset-specific baselines (EDDI / Partial VAE) and CM2, even in 5-shot settings.
Limitations and Future Work
- Dependence on Text Metadata: The framework requires reasonable natural language descriptions or schema metadata; performance on tables with completely obfuscated, anonymized feature headers (e.g.,
feat_01,feat_02) remains a challenge. - Model Size & Computational Overhead: At ~140M parameters, ASPIRE is $2.6\times$ larger than CM2. Running multi-level Set Transformers over sets of atoms across multiple support rows increases memory and compute relative to tree-based models.
- Support Set Capacity: Experiments were limited to small support sets (0–5 shots); scaling hierarchical set attention to handle hundreds or thousands of in-context tabular examples is an open direction.
Summary updated