[Paper Review] Rethinking Data Augmentation for Tabular Data in Deep Learning
The paper proposes a novel tabular data augmentation called Mask Token Replacement (MTR) for Transformer-based tabular models, shows it competitive with existing augmentations across 13 datasets in supervised and self-supervised settings, and analyzes when it is most effective.
Tabular data is the most widely used data format in machine learning (ML). While tree-based methods outperform DL-based methods in supervised learning, recent literature reports that self-supervised learning with Transformer-based models outperforms tree-based methods. In the existing literature on self-supervised learning for tabular data, contrastive learning is the predominant method. In contrastive learning, data augmentation is important to generate different views. However, data augmentation for tabular data has been difficult due to the unique structure and high complexity of tabular data. In addition, three main components are proposed together in existing methods: model structure, self-supervised learning methods, and data augmentation. Therefore, previous works have compared the performance without comprehensively considering these components, and it is not clear how each component affects the actual performance. In this study, we focus on data augmentation to address these issues. We propose a novel data augmentation method, $ extbf{M}$ask $ extbf{T}$oken $ extbf{R}$eplacement ($ exttt{MTR}$), which replaces the mask token with a portion of each tokenized column; $ exttt{MTR}$ takes advantage of the properties of Transformer, which is becoming the predominant DL-based architecture for tabular data, to perform data augmentation for each column embedding. Through experiments with 13 diverse public datasets in both supervised and self-supervised learning scenarios, we show that $ exttt{MTR}$ achieves competitive performance against existing data augmentation methods and improves model performance. In addition, we discuss specific scenarios in which $ exttt{MTR}$ is most effective and identify the scope of its application. The code is available at https://github.com/somaonishi/MTR/.
Motivation & Objective
- Assess the effectiveness of various data augmentation methods for tabular data when using Transformer-based models.
- Introduce a new augmentation, Mask Token Replacement (MTR), tailored to column-wise token embeddings.
- Compare MTR with existing augmentations across diverse datasets in supervised and self-supervised settings.
- Identify scenarios and dataset characteristics where MTR offers the most benefits and its limitations.
Proposed method
- Represent tabular input as a sequence of column embeddings via a Tokenizer and a [cls] token in a Transformer.
- Introduce MTR by replacing part of the embedding sequence with a learnable [mask] token according to a Bernoulli mask p_m.
- Train and evaluate using FTTransformer as the base model with standard data preprocessing (quantile transform for numerics, ordinal encoding for categoricals).
- Compare MTR against w/o DA, Manifold Mixup, Cutmix, SCARF, and HiddenMix in both supervised and self-supervised (contrastive) settings.
- In supervised experiments, apply 50% augmentation probability; in self-supervised experiments, perform contrastive pre-training with two views and NT-Xent loss.
Experimental results
Research questions
- RQ1Does MTR improve performance relative to existing tabular data augmentation methods across a diverse set of datasets?
- RQ2In which scenarios (dataset characteristics, such as feature redundancy or column dependency) is MTR particularly advantageous or detrimental?
- RQ3How does MTR perform in supervised vs. self-supervised (contrastive) learning settings for tabular data?
- RQ4What are the practical considerations and ablations that affect MTR’s effectiveness (e.g., placement relative to bias in Tokenizer, masking probability)?
Key findings
- MTR achieves competitive performance with existing augmentations and, on average, the best rank in supervised experiments across 13 datasets.
- MTR shows strong performance on high-feature-count datasets (e.g., PH) and is robust to higher masking probabilities compared to some baselines.
- SCARF and HiddenMix can outperform MTR on certain datasets, especially with multi-class labels or where label-mixing provides greater diversity.
- In self-supervised learning, MTR often yields the best mean ranks, though SCARF and HiddenMix also show strong performance on several datasets.
- Ablation suggests applying MTR after bias in the Tokenizer is as effective as before bias, with lower implementation cost.
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.