Skip to main content
QUICK REVIEW

[Paper Review] The GatedTabTransformer. An enhanced deep learning architecture for tabular modeling

Radostin Cholakov, Todor Kolev|arXiv (Cornell University)|Jan 1, 2022
Machine Learning and Data ClassificationComputer Science14 citations
TL;DR

This paper proposes the GatedTabTransformer, an enhanced deep learning architecture for tabular data that replaces the standard MLP head in TabTransformer with a gated MLP (gMLP) block to improve performance. By incorporating linear projections and spatial gating units, the model achieves 0.5% to 1.1% higher AUROC on three binary classification datasets compared to the original TabTransformer, with gains up to 3.1% over baseline models.

ABSTRACT

There is an increasing interest in the application of deep learning architectures to tabular data. One of the state-of-the-art solutions is TabTransformer which incorporates an attention mechanism to better track relationships between categorical features and then makes use of a standard MLP to output its final logits. In this paper we propose multiple modifications to the original TabTransformer performing better on binary classification tasks for three separate datasets with more than 1% AUROC gains. Inspired by gated MLP, linear projections are implemented in the MLP block and multiple activation functions are tested. We also evaluate the importance of specific hyper parameters during training.

Motivation & Objective

  • To improve the performance of TabTransformer on binary classification tasks for tabular data.
  • To investigate whether replacing the standard MLP head with a gated MLP (gMLP) improves generalization and feature representation.
  • To optimize key hyperparameters such as learning rate, hidden dimension, and activation functions for better model convergence and performance.
  • To evaluate the impact of architectural modifications on model robustness and scalability across diverse tabular datasets.

Proposed method

  • Replace the final multilayer perceptron (MLP) head in TabTransformer with a gated MLP (gMLP) block that uses spatial gating units for cross-token interaction.
  • Implement linear projections (U and V) along the channel dimension in the gMLP block to enhance feature transformation.
  • Use a spatial gating unit defined as s(Z) = Z * f_{W,b}(Z), where f_{W,b}(Z) = WZ + b, enabling learnable, channel-wise attention.
  • Apply ReLU activation and initialize weights with near-zero values and biases as ones to stabilize training.
  • Optimize hyperparameters including learning rate, hidden dimension size, and depth of the gMLP and Transformer stacks through systematic ablation.
  • Concatenate normalized continuous features with column-embedded categorical features before feeding into the gMLP head for final prediction.

Experimental results

Research questions

  • RQ1Does replacing the standard MLP head in TabTransformer with a gated MLP (gMLP) improve performance on binary classification tasks for tabular data?
  • RQ2How do different activation functions (ReLU, GELU, SELU, LeakyReLU) affect the performance of the final classification head?
  • RQ3What is the optimal hidden dimension size for the gMLP block in terms of AUROC performance and model scalability?
  • RQ4How does the learning rate schedule influence convergence and final AUROC in the GatedTabTransformer architecture?
  • RQ5To what extent do architectural modifications such as linear projections and spatial gating improve generalization compared to the original TabTransformer?

Key findings

  • The GatedTabTransformer achieves a mean AUROC gain of 1.0% over the original TabTransformer on the bank_marketing dataset.
  • On the 1995_income dataset, the model improves AUROC by 0.7% compared to TabTransformer and 2.5% over baseline MLPs.
  • The blastchar dataset shows a 0.5% AUROC improvement over TabTransformer and 1.6% over MLPs, demonstrating consistent gains across diverse tabular data.
  • The gMLP block outperforms standard MLPs in deeper architectures, with performance increasing steadily with hidden dimension size, unlike standard MLPs which plateau.
  • LeakyReLU with negative slope values between 0.01 and 0.05 and standard ReLU yielded the highest performance, with ReLU selected for simplicity and consistency.
  • Hyperparameter tuning revealed that increasing hidden dimension size beyond 32 consistently improved gMLP performance, while standard MLPs showed diminishing returns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.