NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VisTabNet: Adapting Vision Transformers for Tabular Data

Witold Wydmanski, Ulvi Movsum-zada, Jacek Tabor, Marek Smieja

Introduction

Tabular data remains a cornerstone of data science in fields like finance, medicine, and industrial analytics. Despite the sweeping success of deep learning in computer vision and natural language processing, tabular tasks are still dominated by "shallow" gradient-boosted decision trees (GBDTs) like XGBoost and LightGBM. This preference stems from the lack of spatial or sequential structure in tables and the challenge of overfitting on the small datasets common in these domains. VisTabNet addresses this gap by introducing a cross-modal transfer learning approach that repurposes pre-trained Vision Transformers (ViT) for tabular classification.

Methodology: Cross-Modal Transfer

VisTabNet bridges the divide between images and spreadsheets through a specialized Adaptation Layer. Instead of the standard patch embedding layer used in vision tasks, VisTabNet employs a custom network of feed-forward projections. This layer maps a single row of tabular data into a sequence of embeddings that function as "virtual patches" for the Transformer.

The model leverages a frozen Transformer Encoder backbone from a ViT pre-trained on ImageNet. By training only the adaptation layer and a final Multi-Layer Perceptron (MLP) classification head, VisTabNet significantly reduces the number of trainable parameters. This strategy allows the model to inherit complex feature-dependency patterns learned from visual data while remaining robust against overfitting on small tabular datasets.

Experimental Evaluation

The researchers evaluated VisTabNet across 20 diverse tabular datasets, primarily sourced from the UCI Machine Learning Repository and OpenML. These datasets were intentionally selected for their small scale (mostly under 1,000 samples) to test the model's robustness. Additionally, the model was benchmarked in "N-shot" scenarios, where training data was limited to as few as 1 to 10 examples per class.

Key Results and Insights

VisTabNet consistently outperformed traditional ensemble methods and specialized tabular deep learning models. It achieved the highest average Matthews Correlation Coefficient (MCC) and the best average rank (3.93) across all 20 datasets, surpassing Random Forest (4.04), XGBoost (4.39), and FT-Transformer (4.24).

The Few-Shot Advantage

One of the most significant findings is VisTabNet’s performance in data-scarce environments. While GBDTs perform reasonably well at 1-shot learning, VisTabNet’s performance scales more effectively as the number of training examples increases.

Layer-Wise Representation

The study also revealed that the middle layers of the ViT backbone (starting from layer 5) provide the most effective representations for tabular data. While early layers are specialized for low-level visual features like edges, the middle layers capture abstract dependencies that translate effectively to non-visual domains like medical diagnosis or financial risk assessment.

Conclusion and Future Work

VisTabNet demonstrates that cross-modal transfer from vision to tabular data is not only possible but highly competitive, particularly for small-scale datasets. While the computational overhead of a large Transformer backbone is greater than that of a simple decision tree, the model's stability and superior performance in few-shot scenarios offer a compelling alternative for complex tabular tasks. Future research will focus on optimizing the architecture for larger datasets and exploring similar cross-modal adaptations for NLP-based backbones.

Summary updated

BibTeX
@inproceedings{wydmanski2025vistabnet,
  author = {Witold Wydmanski and Ulvi Movsum-zada and Jacek Tabor and Marek Smieja},
  title = {{VisTabNet: Adapting Vision Transformers for Tabular Data}},
  booktitle = {SDM},
  year = {2025},
  url = {https://openreview.net/forum?id=LLorHPHIao},
}
Figure