Table2Vec: Automated Universal Representation Learning to Encode All-round Data DNA for Benchmarkable and Explainable Enterprise Data Science

Longbing Cao, Chengzhang ZhuarXiv 2021

Abstract

Enterprise data typically involves multiple heterogeneous data sources and external data that record business activities, transactions, customer demographics, and interactions. A critical challenge in enterprise data science is enabling effective whole-of-enterprise data understanding and decision-making on this "all-round enterprise DNA." We introduce Table2Vec, a neural encoder for automated universal representation learning of entities from enterprise data. By integrating automated data characteristics analysis and quality augmentation, Table2Vec generates representative and benchmarkable enterprise data genomes. These universal representations support both enterprise-wide and domain-specific learning tasks, significantly outperforming existing shallow, boosting, and deep learning methods. We illustrate Table2Vec's efficacy in characterizing customer data DNA on complex multi-relational big tables, providing a foundation for automated, all-purpose, and ethical machine learning in the enterprise.

The Problem: Analytical Silos and the 80/20 Dilemma

In a typical enterprise, data is scattered across heterogeneous databases. When a business unit wants to predict customer churn or detect fraud, analysts usually build a specific "big table," perform custom cleaning, and handcraft features for that single task. This creates several systemic issues:

  1. The 80/20 Dilemma: Data scientists spend 80% of their time on repetitive data preparation and only 20% on actual modeling.
  2. Analytical Silos: Models built for one task (e.g., marketing) cannot easily be compared or reused for another (e.g., risk management) because the underlying feature engineering is task-specific.
  3. Data Complexity: Enterprise data is notoriously "dirty," characterized by extreme sparsity, mixed types (categorical/numerical), and complex temporal dynamics.

The Table2Vec Framework

Table2Vec addresses these challenges by moving toward "whole-of-enterprise" data science. It uses an end-to-end neural framework to automate the transition from raw tables to universal vectors, effectively creating a "Data DNA" that serves as a benchmarkable foundation for all downstream tasks.

The Table2Vec workflow integrates siloed data into a universal representation for various learning tasks.

Key components of the architecture include:

  • Automated Recognizers: The NC-Recognizer distinguishes between numerical and categorical features, while the SD-Recognizer identifies static (e.g., gender) versus dynamic (e.g., transaction history) features.
  • Universal Transformer: To capture the behavioral sequence of customers over time, Table2Vec employs a Transformer architecture to model dynamic embeddings.
  • Max Concatenation Layer: To handle extreme sparsity and "structural missingness" (where the absence of an interaction is itself a signal), the model uses a max-pooling approach to extract significant patterns from high-dimensional feature sets.
  • Interpretation Module (IM): To ensure explainability, Table2Vec maps latent representations back to observable features, allowing business users to understand the drivers behind specific predictions.

Addressing Enterprise Data Characteristics

Most standard classifiers struggle with the full spectrum of enterprise data challenges. While methods like XGBoost or standard Deep Neural Networks (DNNs) handle mixed features or heterogeneity well, they often falter when faced with inconsistency, complex dynamics, or severe data quality issues.

Table 1: Comparison of how different classifiers handle enterprise data characteristics.

As shown in the comparison above, Table2Vec is specifically designed to address these issues simultaneously, treating data imperfections not just as noise to be cleaned, but as structural signals to be encoded.

Experimental Results

The authors evaluated Table2Vec on two large-scale datasets: a private banking dataset (47,314 customers, 1,208 features) and a public Kaggle churn dataset (14 million records). Table2Vec demonstrated superior performance across the board:

  • Banking Data: It achieved an AUC of 0.90 and an F-Score of 0.66, representing a gain of up to 18.9% in AUC over traditional baselines like Decision Trees.
  • Kaggle Data: It reached an AUC of 0.87, outperforming XGBoost (0.83) and standard DNNs (0.81). On this set, Table2Vec improved weighted accuracy by 22.5% over the second-best method.
  • Explainability: The Interpretation Module successfully identified "transaction cancellation history" and "payment method history" as top drivers for churn, providing actionable insights for retention strategies.

Conclusion and Future Work

Table2Vec represents a significant step toward automated, enterprise-wide representation learning. By encoding the "Data DNA" of an organization, it eliminates redundant engineering and breaks down analytical silos. Future research will focus on integrating unstructured data (text and imagery) directly into the pipeline and building explicit privacy-preserving mechanisms to ensure ethical AI deployment in sensitive enterprise environments.

Summary updated

BibTeX
@misc{cao2021table,
  author = {Longbing Cao and Chengzhang Zhu},
  title = {{Table2Vec: Automated Universal Representation Learning to Encode All-round Data DNA for Benchmarkable and Explainable Enterprise Data Science}},
  year = {2021},
  eprint = {2112.01830},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.01830},
}
Figure