PTaRL: Prototype-based Tabular Representation Learning via Space Calibration

Hangting Ye, Wei Fan, Xiaozhuang Song, Shun Zheng, He Zhao, Dan dan Guo, Yi Chang

Introduction

While deep learning has revolutionized computer vision and natural language processing, tabular data remains a challenging frontier. Standard deep neural networks often struggle to match the performance of gradient-boosted decision trees (GBDTs) on spreadsheets and databases. This performance gap is frequently attributed to the inherent nature of tabular features and how deep models represent them.

PTaRL (Prototype-based Tabular Representation Learning) is a novel, model-agnostic framework designed to bridge this gap. By projecting data samples into a calibrated "P-Space" defined by global data prototypes, PTaRL effectively untangles overlapping representations and captures global data structures that standard minibatch training often misses.

The Challenges of Tabular Deep Learning

Deep learning models for tabular data typically face two significant hurdles:

  1. Representation Entanglement: The internal latent representations created for different classes often overlap significantly. This lack of clear separation makes it difficult for the model to establish robust decision boundaries, leading to higher error rates in classification and regression tasks.
  2. Representation Localization: Deep models are usually trained using small minibatches of data. Because the model only observes a tiny slice of the dataset at any given time, it often fails to grasp the global statistical structure of the entire dataset. This "localized" view hinders the model's ability to generalize to unseen data.

PTaRL serves as a universal "wrapper" for existing deep tabular architectures, forcing them to learn more distinct, globally-aware representations.

The PTaRL Framework

PTaRL introduces a two-stage pipeline that can be integrated with any existing deep tabular architecture, such as ResNet, SNN, or FT-Transformer.

Stage 1: Prototype Generation

The process begins by training a standard "backbone" model on the dataset. Once initial training is complete, the framework applies K-Means clustering to the resulting feature space to identify $K$ global "prototypes." These prototypes act as representative landmarks for the entire dataset, capturing its global geometry.

Stage 2: Prototype Projection and Space Calibration

In the second stage, the model is re-initialized, and samples are projected into a new P-Space (Prototype Space). In this space, every data point is represented not just by its raw features, but by its relationship to the global prototypes identified in Stage 1. To ensure this new space is effective, the authors implement several key mechanisms:

  • Optimal Transport (OT): To prevent the loss of core information during the transition to P-Space, Optimal Transport is used to align the original latent distribution with the new prototype-based distribution.
  • Coordinates Diversifying Constraint: Inspired by contrastive learning, this constraint pushes samples from different classes toward different prototypes. This ensures that the coordinates in P-Space are spread out and highly discriminative.
  • Matrix Orthogonalization: This mathematical constraint ensures that the prototypes themselves remain independent (orthogonal) of one another. This prevents the projection space from collapsing and ensures the model utilizes the full capacity of the representation space.

Experimental Evaluation

The authors evaluated PTaRL across six diverse tabular benchmarks, including binary classification, multiclass classification, and regression tasks:

  • Adult (AD): Income prediction.
  • Higgs (HI): Particle physics.
  • Helena (HE) & Jannis (JA): AutoML challenge datasets.
  • ALOI (AL): Image-derived tabular data.
  • California Housing (CA): Real estate price prediction.

Key Results

The results demonstrated that PTaRL consistently improves the performance of various baseline models, including MLP, ResNet, SNN, DCNV2, AutoInt, and FT-Transformer.

  • Performance Gains: The framework achieved improvements of over 4% in several settings. For example, on the Adult dataset, the FT-Transformer's accuracy increased from 0.827 to 0.871 when enhanced with PTaRL.
  • Visual Evidence: T-SNE visualizations confirm the theoretical goals of the paper. While standard models often produce entangled clouds of data points, PTaRL-enhanced models produce distinct, tight clusters corresponding to their actual labels.
  • Statistical Significance: Using the Wilcoxon signed-rank test, the authors confirmed that these improvements are statistically significant at a 95% confidence level.

Conclusion and Future Work

PTaRL addresses the fundamental issues of representation entanglement and localization in tabular deep learning by introducing global landmarks (prototypes) and a calibrated projection space. By forcing the model to define data points in relation to the global structure of the dataset, PTaRL provides a significant boost to generalization and accuracy.

While the two-stage training process increases total computation time and requires careful selection of the number of prototypes ($K$), the consistent performance gains across diverse datasets make it a powerful tool for tabular data analysis. Future research may explore adapting this prototype-based approach to streaming data environments where the global structure of the data evolves over time.

Summary updated

BibTeX
@inproceedings{ye2024ptarl,
  author = {Hangting Ye and Wei Fan and Xiaozhuang Song and Shun Zheng and He Zhao and Dan dan Guo and Yi Chang},
  title = {{PTaRL: Prototype-based Tabular Representation Learning via Space Calibration}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=G32oY4Vnm8},
}
Figure