Learning Enhanced Representation for Tabular Data via Neighborhood Propagation

Kounianhua Du, Weinan Zhang, Ruiwen Zhou, Yangkun Wang, Xilong Zhao, Jiarui Jin, Quan Gan, Zheng Zhang, David P. WipfNeurIPS 2022

TL;DR

PET (Propagation to Enhance Tabular data) moves beyond treating tabular rows as isolated "islands" by constructing a hypergraph of similar data instances. By propagating information—both features and labels—from retrieved neighbors to a target row, the model creates "label-enhanced" representations that significantly outperform traditional GBDT and deep learning baselines in click-through rate and recommendation tasks.

What Problem Does This Paper Address?

Most machine learning models for tabular data (like XGBoost or DeepFM) operate under the assumption that data rows are Independent and Identically Distributed (IID). They look at a single row, extract features, and make a prediction. However, this ignores the rich "cross-row" patterns found in real-world data.

Comparison of tabular prediction paradigms

While some recent "retrieval-based" methods try to look at neighboring rows for context, they often treat these neighbors as static extra inputs. They fail to fully integrate the neighbors' labels and features to directly refine the target row's representation. The challenge PET tackles is: How can we use the relationships between similar data instances to "sharpen" our understanding of a specific target row before making a prediction?

Methods

The authors introduce PET, which stands for Propagate and Enhance Tabular data. The workflow consists of three main stages:

PET Architecture and Workflow
  1. Relevant Instance Retrieval: For any target row, the model uses a BM25-like metric (via ElasticSearch) to find the $K$ most similar rows from the training set.
  2. Hypergraph Construction: The target row and its $K$ neighbors are modeled as a hypergraph. In this setup, each distinct feature value (e.g., "Occupation: unemployed") is a node, and each data row is a hyperedge connecting its constituent feature nodes. To make this computationally tractable, they perform a "star expansion," turning it into a bipartite graph where "data instance nodes" connect to "feature value nodes."
  3. Message Passing & Interaction: This is the core innovation. PET performs multiple rounds of GNN-style message passing:
  4. Label Integration: The labels of the retrieved neighbors are embedded and used to initialize the data nodes and edges.
  5. Interactive Propagation: Messages are generated using Hadamard products (element-wise multiplication) between edge and node representations. This captures high-order interactions between features and labels.
  6. Attention-based Aggregation: The model uses an attention mechanism to decide which neighboring features are most relevant to the target prediction.
  7. Refinement: After propagation, the target row’s representation is "enhanced" by the labels and features of its neighbors.

Key Insights and Ideas

  • Labels as Features: One of the most powerful ideas here is treating the labels of neighboring rows as a signal to adjust the feature space of the target row. If five similar users all clicked an ad, that "label flow" provides a much stronger hint than the raw features alone.
  • Locality-Aware Interactions: Standard models learn global feature interactions (e.g., "Age" x "Gender"). PET learns interactions that are specific to the local neighborhood of the data point, making the representation much more specialized.
  • Overcoming IID Limitations: By using a hypergraph, PET explicitly models "cross-row" and "cross-column" patterns simultaneously, which is something traditional tree-based models or standard MLPs struggle to do.

Datasets and Key Results

The model was evaluated on five large-scale datasets across two distinct tasks: CTR Prediction (Tmall, Taobao, and Alipay) and Top-n Recommendation (Movielens-1M and LastFM).

PET consistently outperformed nine strong baselines, including GBDT, DeepFM, and other recent graph-based models like TabGNN and RIM.

  • Accuracy Boost: On the Alipay dataset, PET achieved a 10.44% relative improvement in AUC over the best-performing baseline.
  • Statistical Significance: The improvements over RIM (a state-of-the-art retrieval model) were statistically significant at a 95% confidence level, proving that the propagation mechanism is doing more work than simple retrieval.
  • Feature Visualization: Using t-SNE visualizations, the authors showed that PET creates much more distinct clusters for positive and negative samples compared to models that don't use neighborhood propagation.

Limitations and Future Work

  • Graph Density: In datasets with a very large number of fields (columns), the constructed hypergraph can become extremely dense. This risks "oversmoothing," where all node representations start looking the same. The authors suggest using feature selection (e.g., picking the top 10 most mutual-information-heavy fields) to mitigate this.
  • Computational Overhead: While the authors provide a complexity analysis showing the model is scalable, the retrieval step (ElasticSearch) and the GNN propagation add more latency than a simple GBDT inference. Future work could involve optimizing the retrieval-prediction pipeline for real-time industrial serving.
  • Continuous Features: The current version focuses on discrete data. While continuous features can be discretized, a native way to handle numerical values within the hypergraph could be a promising next step.

Summary updated

BibTeX
@inproceedings{du2022learning,
  author = {Kounianhua Du and Weinan Zhang and Ruiwen Zhou and Yangkun Wang and Xilong Zhao and Jiarui Jin and Quan Gan and Zheng Zhang and David P. Wipf},
  title = {{Learning Enhanced Representation for Tabular Data via Neighborhood Propagation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=T2NnGDMboX},
}
Figure