When Does Self-Supervised Pretraining Help Tabular Models? A Study of Label Scarcity and Missing Data
Organizations: Faculty of Mathematics and Computer Science, Kharazmi University
Abstract
In this work, we conduct an empirical study on self-supervised learning (SSL) for tabular data. Our experiments examine limited label regimes (that is, 1%, 5%, 10%, and 20% of the labels) and highlight limitations and opportunities in current tabular SSL. Contrary to what is expected, our mask-and-recover approach shows its largest improvements for datasets that have little to no recorded numeric missingness, whereas it more often leads to degradation on datasets that are characterized by native numeric missingness (post hoc split). Random Forest achieves an average AUC of 0.9015 across the 14 tasks for the 10% labels setting, whereas SSL shows a performance of ~0.8954 (RF: 1 draw; SSL: 3-draw mean). Moreover, the gain of SSL compared to training from scratch exhibits a high variance across tasks and is not significant (1 run; Wilcoxon p = 0.626, Holm-adjusted p = 1.000, for both the 5% and 10% settings). On the other hand, we observe that SSL-pretrained models achieve a higher average AUC when MNAR and MCAR missingness were injected at test-time. In comparison to models trained from scratch, our SSL-pretrained models show an improvement of +0.0245 (MCAR) and +0.0418 AUC (MNAR) under test-time missingness (single seed), with 11 (MCAR; plus one tie) and 8 (MNAR) positive results across the 14 tasks. However, after Holm-Bonferroni correction neither improvement is significant (Holm-adjusted p = 0.118 for MCAR and 0.518 for MNAR). Finally, when comparing mask-and-recover with three other approaches, namely, simplified VIME, SCARF and SubTab implementations using an identical encoder, we observe no significant difference in performance (Holm-adjusted p = 0.459 for VIME, 1.000 for SCARF, 1.000 for SubTab).
Figures & tables
| Method | Avg AUC @ 10% labels |
|---|---|
| Random Forest | 0.9015 |
| SSL Pretrained (Ours) | 0.8954 |
| Scratch (No Pretrain) | 0.8899 |
| LightGBM | 0.8875 |
| XGBoost | 0.8819 |
| Logistic Regression | 0.8266 |
| Method | Avg AUC @ 10% | Ours baseline | Adj. |
|---|---|---|---|
| Ours (mask-and-recover) | 0.8954 | — | — |
| VIME ( Yoon et al., 2020 ) | 0.8978 | 0.459 | |
| SCARF ( Bahri et al., 2022 ) | 0.8943 | 1.000 | |
| SubTab ( Ucar et al., 2021 ) | 0.8913 | 1.000 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Num. missing(%) | SSL 1% | Scr 1% | SSL 5% | Scr 5% | SSL 10% | Scr 10% | SSL 20% | Scr 20% |
|---|---|---|---|---|---|---|---|---|---|
| 2079 | 4.305 | 0.554 | 0.560 | 0.742 | 0.767 | 0.796 | 0.807 | 0.848 | 0.869 |
| 3021 | 22.216 | 0.938 | 0.872 | 0.934 | 0.930 | 0.957 | 0.948 | 0.970 | 0.970 |
| 14954 | 5.258 | 0.594 | 0.680 | 0.738 | 0.759 | 0.780 | 0.806 | 0.799 | 0.830 |
| 146800 | 1.732 | 0.688 | 0.685 | 0.881 | 0.912 | 0.943 | 0.956 | 0.987 | 0.992 |
| 2 | 0.000 | 0.700 | 0.594 | 0.864 | 0.776 | 0.976 | 0.923 | 0.991 | 0.982 |
| 15 | 0.247 | 0.993 | 0.988 | 0.991 | 0.985 | 0.987 | 0.989 | 0.987 | 0.983 |
| Task | Num. missing(%) | 10% | MCAR | Shift |
|---|---|---|---|---|
| 2079 | 4.3051 | -0.0071 | -0.0223 | -0.0113 |
| 3021 | 22.2157 | 0.0085 | 0.0267 | -0.0185 |
| 14954 | 5.2583 | -0.0456 | -0.0000 | 0.0063 |
| 146800 | 1.7316 | -0.0133 | -0.0203 | -0.0466 |
| 2 | 0.0000 | 0.1100 | 0.1551 | 0.1954 |
| 15 | 0.2473 | 0.0109 | 0.0154 | -0.0018 |
| Task | Dataset | Features | Classes | Labels @ 1% | ||
|---|---|---|---|---|---|---|
| 2079 | Eucalyptus | 662 | 74 | 19 | 5 | 6 |
| 3021 | Sick | 3394 | 378 | 29 | 2 | 33 |
| 14954 | Cylinder Bands | 486 | 54 | 37 | 2 | 4 |
| 146800 | MiceProtein | 972 | 108 | 77 | 8 | 9 |
| 2 | Anneal | 808 | 90 | 38 | 5 | 8 |
| 15 | Breast-W | 629 | 70 | 9 | 2 | 6 |
Self-Supervised Pre-Training
Self-supervised pre-training learns transferable representations from unlabeled data to reduce the labels needed for downstream tasks.
See all 247 papers