Manuscript Offprint

arXiv:2608.24381

When Does Self-Supervised Pretraining Help Tabular Models? A Study of Label Scarcity and Missing Data

Sahand Mazrouei

Abstract

Self-supervised learning (SSL) has emerged as a promising approach for tabular data, yet its efficacy under extreme label scarcity and test-time missingness remains under-explored. In this paper, we evaluate a mask-and-recover SSL pretraining objective against training from scratch and classical baselines across 14 diverse classification tasks. First, while SSL outperforms training from scratch on average and remains competitive with state-of-the-art tree ensembles (achieving ∼\sim0.8954 AUC vs. Random Forest's 0.9015 at 10% labels), the SSL-vs-scratch gains exhibit high inter-task variance and lack significance (p = 0.626 at both 5% and 10% labels). Second, contrary to the hypothesis that missing-value imputation objectives universally benefit datasets with native missingness, SSL yields the most reliable improvements on clean datasets, while frequently degrading performance on datasets with high inherent missingness. Third, despite this training variance, SSL-pretrained models achieve a higher average AUC than scratch-trained models under both test-time missingness completely at random (MCAR) injection (+0.0245 AUC, positive on 11 of 14 tasks) and structured missingness shifts (MNAR, +0.0418 AUC, positive on 8 of 14 tasks), though neither difference remains statistically significant after Holm-Bonferroni correction for multiple comparisons (adjusted p = 0.118 and p = 0.518, respectively). Fourth, comparing our mask-and-recover objective against three established tabular SSL baselines (VIME, SCARF, SubTab) under an identical encoder architecture, we find no significant difference from any of them (adjusted p = 0.459, p = 1.000, p = 1.000), indicating our findings reflect general properties of tabular SSL rather than idiosyncrasies of one particular pretext task.

Keywords: Tabular Data, Self-Supervised Learning, Missing Data, Label Scarcity, Robustness

1 Introduction

Tabular data remains the ubiquitous format for storing heterogeneous information in domains ranging from healthcare to financial forecasting. Despite the dominance of deep learning in vision and natural language processing, tree-based ensembles such as Random Forest and Gradient Boosted Trees frequently outperform deep neural networks on tabular tasks. This performance gap widens in real-world scenarios characterized by two distinct challenges: label scarcity, where annotating examples is costly or slow, and feature missingness, where data is lost due to sensor failures, privacy restrictions, or irregular reporting.

Self-supervised learning (SSL) provides a compelling framework to address these limitations. By optimizing a reconstruction or contrastive objective on abundant unlabeled features, a deep tabular encoder can learn the underlying data manifold before fine-tuning on a small labeled subset. Recent tabular SSL architectures typically employ a “mask, corrupt, and recover” paradigm. However, the existing literature primarily benchmarks these methods on fully observed, clean datasets. The interaction between SSL reconstruction objectives and datasets that natively contain missing values—as well as the model’s robustness when missingness distributions shift at test time—remains an open empirical question.

In this work, we present a comprehensive evaluation of tabular SSL under realistic constraints. We compare an SSL-pretrained tabular encoder against the exact same architecture trained from scratch, as well as against classical machine learning baselines, across a curated suite of OpenML classification tasks. Our experimental design explicitly tests the limits of SSL by enforcing label scarcity fractions of 1%, 5%, 10%, and 20%, and by evaluating resilience to test-time missingness injection.

Our analysis moves beyond aggregate leaderboards to uncover the dataset-dependent dynamics of tabular SSL. Our key contributions are as follows:

• Benchmarking under Label Scarcity: We demonstrate that SSL pretraining is highly competitive with classical baselines, achieving average AUC-ROC scores within roughly 0.006 of Random Forest at the 10% label fraction despite far less inductive bias. However, we show that the delta between SSL and scratch training exhibits high inter-task variance and is not itself statistically significant.

• The Missing vs. Clean Paradox: We uncover a nuanced interaction between SSL and missing data. While reconstruction objectives inherently learn imputation, our results show that SSL yields the most consistent downstream classification improvements on clean datasets. On datasets with high native missingness, SSL performance is highly dataset-dependent.

• Robustness to Test-Time Degradation: We show that SSL-pretrained models retain higher accuracy than scratch-trained models under input degradation at inference time. Under Missing Completely At Random (MCAR) injection (+30% missingness) and Missing Not At Random (MNAR) structured shifts, SSL models degrade more gracefully than models trained from scratch, though this advantage does not reach significance once corrected for multiple comparisons across our four primary hypothesis tests.

• Ablation of Tabular SSL Components: We ablate the consistency loss, group masking, and mask-visibility across four native-missingness datasets. An initial single-seed comparison suggested a large, consistent effect of removing the consistency loss; however, once we re-ran each variant across three independent pretraining seeds—a stricter protocol than elsewhere in this paper—this effect collapsed to statistical noise (mean ΔAUC=+0.0031\Delta AUC = +0.0031, p = 0.625). None of the three ablated components show a reliable, generalizable effect within our four-task sample, underscoring the risk of drawing conclusions from single-seed ablation comparisons in small-sample tabular SSL studies.

• Comparison Against Prior Tabular SSL Objectives: Using the identical encoder architecture, we compare our mask-and-recover objective against three established tabular SSL pretext tasks—VIME, SCARF, and SubTab—at 10% labels across all 14 tasks. None of the three baselines differ significantly from our method (Wilcoxon p=0.153p = 0.153, p=0.670p = 0.670, and p=0.502p = 0.502; all remain non-significant after Holm-Bonferroni correction), indicating that our objective is empirically competitive with, rather than distinguishable from, existing tabular SSL formulations under a controlled, architecture-matched comparison.

References (25)

  • XGBoost: A scalable tree boosting system
  • & Liu, T. Y
  • Random forests
  • TabNet: Attentive interpretable tabular learning
  • Revisiting deep learning models for tabular data
  • SAINT: Improved neural networks for tabular data via row attention and contrastive pre-training (opens arXiv in a new tab)
  • Why do tree-based models still outperform deep learning on typical tabular data? Advances in Neural Information Processing Systems, 35
  • On embeddings for numerical features in tabular deep learning
  • TabTransformer: Tabular data modeling using contextual embeddings (opens arXiv in a new tab)
  • Self-attention between datapoints: Going beyond individual input-output pairs in deep learning
  • Deep neural networks and tabular data: A survey
  • VIME: Extending the success of self-and semi-supervised learning to tabular domain
  • SCARF: Self-supervised contrastive learning using random feature corruption
  • SubTab: Subsetting features of tabular data for self-supervised representation learning
  • OpenML: Networked science in machine learning
  • & Duchesnay, E
  • BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
  • Masked autoencoders are scalable vision learners
  • Statistical analysis with missing data (2nd ed.)
  • Statistical comparisons of classifiers over multiple data sets
  • & Altman, R. B
  • mice: Multivariate imputation by chained equations in R. Journal of Statistical Software, 45(3), 1–67
  • GAIN: Missing data imputation using generative adversarial nets
  • MissForest—non-parametric missing value imputation for mixed-type data
  • Decoupled weight decay regularization