[Paper Review] SCARF: Self-Supervised Contrastive Learning using Random Feature Corruption
SCARF introduces a simple self-supervised contrastive pre-training for tabular data by creating views through random feature corruption drawn from empirical marginals, improving supervised performance, robustness to label noise, and semi-supervised learning on OpenML-CC18 datasets.
Self-supervised contrastive representation learning has proved incredibly successful in the vision and natural language domains, enabling state-of-the-art performance with orders of magnitude less labeled data. However, such methods are domain-specific and little has been done to leverage this technique on real-world tabular datasets. We propose SCARF, a simple, widely-applicable technique for contrastive learning, where views are formed by corrupting a random subset of features. When applied to pre-train deep neural networks on the 69 real-world, tabular classification datasets from the OpenML-CC18 benchmark, SCARF not only improves classification accuracy in the fully-supervised setting but does so also in the presence of label noise and in the semi-supervised setting where only a fraction of the available training data is labeled. We show that SCARF complements existing strategies and outperforms alternatives like autoencoders. We conduct comprehensive ablations, detailing the importance of a range of factors.
Motivation & Objective
- Motivate and develop a self-supervised, domain-agnostic pre-training approach for tabular data.
- Form views by corrupting a random subset of features using empirical marginals.
- Demonstrate improved downstream classification performance in fully supervised, label-noise, and semi-supervised settings.
- Show robustness to hyperparameters and ablate design choices to establish Scarf’s effectiveness.
Proposed method
- Generate a corrupted view by randomly selecting a subset of features and replacing each with a random draw from its empirical marginal distribution.
- Pass both original and corrupted views through an encoder f and a pre-training head g to obtain z and z~.
- Train with InfoNCE loss to align z and z~ while distinguishing negatives from other samples.
- Fine-tune by attaching a classifier head h to the encoder f and train end-to-end on labeled data.
- Optionally use early stopping on the validation InfoNCE loss to determine pre-training duration.
Experimental results
Research questions
- RQ1Does Scarf pre-training improve downstream classification accuracy on tabular data in fully supervised settings?
- RQ2Is Scarf robust to label noise and beneficial in semi-supervised regimes?
- RQ3How does Scarf interact with other regularization or augmentation techniques and with varying hyperparameters?
- RQ4Are alternative corruption schemes or losses less effective than Scarf’s proposed approach for tabular data?
- RQ5What ablations reveal about the importance of view construction and corruption strategy?
Key findings
- Scarf pre-training improves performance over non-pre-trained baselines across 69 OpenML-CC18 tabular datasets.
- Scarf also boosts performance under label noise and when only a fraction of training data is labeled (semi-supervised setting).
- Combining Scarf with other methods (e.g., mixup, label smoothing, distillation, dropout) yields additional gains, indicating complementary benefits.
- Ablations show Scarf’s marginal sampling corruption is more effective and robust to feature scaling than alternative corruptions.
- Scarf is relatively insensitive to batch size, corruption rate, and softmax temperature, with reasonable defaults (e.g., c ≈ 0.6) working well.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.