Skip to main content
QUICK REVIEW

[Paper Review] SuperTML: Two-Dimensional Word Embedding for the Precognition on Structured Tabular Data

Baohua Sun, Lin Yang|arXiv (Cornell University)|Feb 26, 2019
Digital Media Forensic DetectionComputer Science33 references9 citations
TL;DR

SuperTML proposes a novel two-dimensional word embedding approach that transforms tabular data into image-like representations using character and numerical digit embeddings, enabling state-of-the-art performance on tabular classification tasks by fine-tuning pre-trained 2D CNNs such as ResNet and SE-Net without requiring numerical preprocessing or handling of missing values.

ABSTRACT

Tabular data is the most commonly used form of data in industry. Gradient Boosting Trees, Support Vector Machine, Random Forest, and Logistic Regression are typically used for classification tasks on tabular data. DNN models using categorical embeddings are also applied in this task, but all attempts thus far have used one-dimensional embeddings. The recent work of Super Characters method using two-dimensional word embeddings achieved the state of art result in text classification tasks, showcasing the promise of this new approach. In this paper, we propose the SuperTML method, which borrows the idea of Super Characters method and two-dimensional embeddings to address the problem of classification on tabular data. For each input of tabular data, the features are first projected into two-dimensional embeddings like an image, and then this image is fed into fine-tuned two-dimensional CNN models for classification. Experimental results have shown that the proposed SuperTML method had achieved state-of-the-art results on both large and small datasets.

Motivation & Objective

  • Address the challenge of applying deep learning to structured tabular data, which traditionally relies on tree-based models like XGBoost.
  • Overcome limitations of one-dimensional embeddings (e.g., word2vec, fastText) in capturing structural and visual patterns in tabular features.
  • Enable end-to-end classification of tabular data using pre-trained 2D CNNs by transforming features into image-like representations.
  • Eliminate the need for manual preprocessing such as one-hot encoding or numerical imputation for categorical and missing values.
  • Explore the potential of two-dimensional embeddings—inspired by the Super Characters method—for tabular data learning, treating feature values as visual shapes.

Proposed method

  • Map each tabular sample into a 2D image by placing feature values as text or digit sequences at specific spatial locations (e.g., top-left for categorical, top-right for numerical).
  • Represent categorical features as full words (e.g., 'blue') or shortened forms (e.g., 'b') directly written as pixel values in the image grid.
  • Encode numerical features as digit strings (e.g., '55', '17') and place them in designated image regions, preserving their visual form.
  • Handle missing values by writing the word 'missing' as text in a predefined location within the 2D image.
  • Fine-tune pre-trained 2D CNN models (e.g., ResNet, SE-Net, PolyNet) on the generated image representations for end-to-end classification.
  • Use image naming conventions (e.g., 'Sunny_0001.jpg') to map image files to class labels during training.

Experimental results

Research questions

  • RQ1Can two-dimensional word embeddings effectively represent tabular data for classification, outperforming traditional one-dimensional embeddings?
  • RQ2To what extent can pre-trained 2D CNNs transfer knowledge from image classification to tabular data classification via image-like feature representation?
  • RQ3How does the SuperTML method handle categorical features and missing values without explicit preprocessing or embedding layers?
  • RQ4Does the visual similarity of digit shapes (e.g., 6.01 vs. 5.999) negatively impact model generalization, and how does the model perform on such ambiguous cases?
  • RQ5Can the SuperTML framework achieve state-of-the-art performance on both small and large tabular datasets across diverse benchmark environments?

Key findings

  • SuperTML achieved state-of-the-art performance on both large-scale Kaggle competitions and the top three UCI tabular datasets, outperforming traditional models like XGBoost and one-dimensional embedding methods.
  • The method successfully classifies tabular data without requiring numerical conversion, one-hot encoding, or imputation for missing values, treating all features as visual text patterns.
  • Error analysis revealed that the model's classification is sensitive to the visual shape of decimal digits—e.g., a '6.0' and '5.999' may appear visually similar, leading to misclassification despite numerical proximity.
  • In the Iris dataset, a virginica sample with values (6.0, 2.2, 5.0, 1.5) was misclassified as versicolor because its visual representation more closely resembled a training versicolor sample with similar digit shapes.
  • The model's reliance on visual appearance rather than numerical value enables it to learn implicit patterns in digit shapes, but this also introduces challenges when numerically close values have dissimilar visual forms.
  • The approach demonstrates strong potential for deployment on low-power edge devices using domain-specific CNN accelerators, combining high accuracy with low inference cost.

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.