TL;DR
This paper adapts group robustness techniques—specifically Just Train Twice (JTT) and Deep Feature Reweighting (DFR)—to the self-supervised pre-training phase of tabular neural networks. By training feature-specialized encoder-decoder models on reconstruction error sets or category-balanced validation subsets, the framework dynamically routes test samples to their most robust latent representations. This strategy boosts downstream classification AUROC by 14% on the Bank dataset and 25% on the Census dataset compared to standard Empirical Risk Minimization (ERM).
What Problem Does This Paper Address?
Standard machine learning models trained with Empirical Risk Minimization (ERM) often achieve high average accuracy while failing dramatically on specific subpopulations or feature slices (e.g., underrepresented demographic or occupational groups). While robust learning techniques (such as GroupDRO, JTT, and DFR) are widely used to address worst-group errors in supervised computer vision, they are rarely explored for tabular data, particularly in self-supervised representation learning.
Tabular self-supervised pre-training—typically performed by masking features and reconstructing them via an encoder-decoder network—struggles when features have severe category imbalances. Without explicit group labels at pre-training time, identifying and mitigating these "error slices" across multiple categorical features is non-trivial.
Methods
The authors propose a two-stage pre-training framework using an FT-Transformer encoder-decoder architecture:
- Stage 1 (ERM Pre-training): The model is trained to reconstruct masked categorical and continuous features using a standard Masked Language Modeling (MLM) reconstruction loss ($\mathcal{L}_{\text{MLM}}$).
- Stage 2 (Feature-Specific Robust Representation Learning): The framework creates specialized models for each categorical feature $j \in \{1, \dots, k\}$ using one of two strategies:
- Strategy 1: JTT-based pre-training. Identifies training instances where the model failed to reconstruct category $j$ ($x_j^i \ne \hat{x}_j^i$). It then fine-tunes the encoder and the decoder head for feature $j$ by up-weighting these error samples by a tuned factor $w_j^i$.
- Strategy 2: DFR-based pre-training. Constructs a balanced validation dataset $\mathcal{D}_{\text{bal}}^j$ that represents all categories of feature $j$ proportionally, then retrains only the decoder head $f_j$ while freezing the rest of the network.
- Inference via Dynamic Model Routing: For any input sample $x^*$, the system evaluates the reconstruction loss across all categorical feature heads. The feature $j^*$ that yields the maximum reconstruction error is identified: $$j^* = \arg\max_j \mathcal{L}_{\text{cat}}(f_j(h(x^*)), x^*_j)$$ The latent representation $h_{j^*}(x^*)$ from the model specialized in feature $j^*$ is then selected and fed into a downstream supervised classification head.
Input x ──> Feature-wise MLM Loss ──> Find Max-Loss Feature j* ──> Route to Specialized Model j* ──> Classifier
Datasets
The authors evaluate their approach on two standard tabular benchmark datasets from the UCI Machine Learning Repository:
- Bank Marketing Dataset: 41,188 instances and 10 categorical features. The task is predicting whether a client subscribes to a term deposit (4,640 positive minority instances treated as the target class).
- Census Income Dataset: 299,285 instances and 33 categorical features. The task is predicting whether an individual earns over $50K/year (18,568 positive minority instances).
Neither dataset used in the empirical evaluation contains continuous features or extreme high-cardinality features.
Key Insights and Ideas
- Reconstruction Failure as an Unsupervised Error Slice: In supervised learning, error slices are typically found via label misclassifications or predefined demographic metadata. In self-supervised tabular learning, high categorical reconstruction loss acts as an intrinsic indicator of vulnerable subpopulations without requiring ground-truth task labels.
- Dynamic "Worst-Case" Routing: Rather than relying on a single global encoder, the model creates an ensemble of feature-specialized representations. Routing a test sample to the model specialized in its worst-reconstructed feature ensures that the downstream classifier receives embeddings debiased against that sample’s primary point of failure.
- DFR Outperforms JTT in Tabular Self-Supervision: While JTT helps by upweighting difficult examples, DFR consistently yields stronger representations. Retraining on a balanced dataset avoids over-indexing on noisy outliers, whereas simple sample upweighting in JTT can reinforce existing dataset skew.
Key Results
- Overall Classification Performance: On downstream binary classification, DFR achieved 14% AUROC gains on Bank and 25% AUROC gains on Census compared to standard ERM pre-training. DFR consistently surpassed both ERM and JTT in Precision, Recall, and F1-score.
- Subgroup Fairness & Long-Tail Recovery: On slice-by-slice analyses of positive samples ($y = 1$), DFR delivered significant accuracy gains on underrepresented categories:
- Bank: Marked improvements in rare categories for
job(categories 6, 8, 9),education(category 6.0), anddefault. - Census: Substantial subgroup accuracy improvements on high-cardinality features like
occupationandeducation, mitigating typical long-tail degradation.
Limitations and Future Work
- Computational Overhead: Training a separate specialized model or decoder head for each categorical feature scales linearly with the number of categorical columns ($k$), which can become computationally expensive on wide tabular schemas.
- Evaluation Scope: Experiments were restricted to categorical-only subsets of two datasets, leaving continuous-heavy datasets and high-cardinality categorical features unaddressed.
- Statistical Significance: The authors note in their checklist that experiments were run on a single train/test split with a fixed random seed (seed 43), without reporting multi-run confidence intervals or error bars.
- Future Directions: The authors plan to extend the framework to handle more complex tabular datasets with extreme high-cardinality features.
Summary updated