Skip to main content
QUICK REVIEW

[Paper Review] TabKANet: Tabular Data Modeling with Kolmogorov-Arnold Network and Transformer

Weihao Gao, Zheng Gong|arXiv (Cornell University)|Sep 13, 2024
Neural Networks and ApplicationsComputer Science3 citations
TL;DR

This paper proposes TabKANet, a novel transformer-based architecture for tabular data that integrates a Kolmogorov-Arnold Network (KAN)-based numerical embedding module to enhance representation of continuous features. The model achieves state-of-the-art performance across binary classification, multi-class classification, and regression tasks, outperforming both standard neural networks and matching or surpassing gradient boosted decision tree (GBDT) models on multiple public datasets.

ABSTRACT

Tabular data is the most common type of data in real-life scenarios. In this study, we propose the TabKANet model for tabular data modeling, which targets the bottlenecks in learning from numerical content. We constructed a Kolmogorov-Arnold Network (KAN) based Numerical Embedding Module and unified numerical and categorical features encoding within a Transformer architecture. TabKANet has demonstrated stable and significantly superior performance compared to Neural Networks (NNs) across multiple public datasets in binary classification, multi-class classification, and regression tasks. Its performance is comparable to or surpasses that of Gradient Boosted Decision Tree models (GBDTs). Our code is publicly available on GitHub: https://github.com/AI-thpremed/TabKANet.

Motivation & Objective

  • Address the performance gap between neural networks and gradient boosted decision trees (GBDTs) in tabular data modeling, particularly in handling numerical features.
  • Overcome the limitation of existing transformer-based models that treat numerical and categorical features asymmetrically, often underrepresenting continuous values.
  • Develop a unified framework that integrates KAN-based numerical embedding with a Transformer encoder to enable joint, high-fidelity encoding of both numerical and categorical tabular features.
  • Demonstrate that KAN-based numerical feature mapping, especially when combined with batch normalization, significantly improves model stability and performance on diverse tabular benchmarks.

Proposed method

  • Design a KAN-based Numerical Embedding Module to replace traditional MLPs for mapping continuous numerical features, enabling flexible, learnable activation functions that better capture complex functional relationships.
  • Integrate the KAN module with a standard Transformer encoder to jointly process numerical and categorical features within a single, unified attention mechanism.
  • Replace Layer Normalization with Batch Normalization in the numerical feature stream to improve early feature representation learning, especially for skewed or heavy-tailed distributions.
  • Apply end-to-end training with cross-entropy and mean squared error loss for classification and regression tasks, respectively, using standard optimization protocols.
  • Use positional encoding to preserve feature order and enable attention mechanisms to learn long-range dependencies across tabular columns.
  • Conduct ablation studies comparing Batch Normalization vs. Layer Normalization and evaluate performance across multiple tabular datasets to validate design choices.

Experimental results

Research questions

  • RQ1Can a KAN-based numerical embedding module significantly improve the representation of continuous features in tabular data compared to standard MLPs?
  • RQ2Does integrating KAN with a Transformer architecture lead to more stable and superior performance across diverse tabular tasks compared to existing neural network baselines?
  • RQ3How does the use of Batch Normalization instead of Layer Normalization affect the learning of numerical features in tabular models?
  • RQ4To what extent can a neural network-based model match or exceed the performance of gradient boosted decision trees (GBDTs) on standard tabular benchmarks?
  • RQ5Can the proposed architecture generalize across different types of tabular data, including datasets with heavy-tailed or skewed numerical distributions?

Key findings

  • TabKANet outperforms standard MLPs, KANs, TabTransformer, and TabNet across all 12 benchmark datasets in binary and multi-class classification and regression tasks.
  • On the BA dataset, TabKANet with Batch Normalization achieved 93.21% accuracy, significantly outperforming TabTransformer (89.25%) and TabKANet with Layer Normalization (91.97%).
  • On the ON dataset, TabKANet with Batch Normalization reached 91.95% accuracy, surpassing TabKANet-LN (88.41%) and TabTransformer (72.16%), demonstrating strong gains in numerical feature sensitivity.
  • In the BL dataset, where numerical features are less discriminative, TabKANet-BN maintained performance (82.84%) comparable to TabKANet-LN (82.83%), indicating robustness to feature distribution shifts.
  • The ablation study confirms that Batch Normalization improves performance on numerical-heavy tasks, while not degrading performance on datasets where numerical features are less critical.
  • TabKANet achieves performance on par with or better than GBDT models (XGBoost, CatBoost) across all datasets, indicating that neural networks can effectively compete with tree-based ensembles in tabular learning when properly designed.

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.