ZEUS: Zero-shot Embeddings for Unsupervised Separation of Tabular Data

Patryk Marszałek, Tomasz Kuśmierczyk, Witold Wydmański, Jacek Tabor, Marek Śmieja

Introduction

Clustering tabular data remains one of the most challenging tasks in unsupervised learning. Unlike images or natural language, which possess intrinsic spatial or semantic structures, tabular data is highly heterogeneous. The definition of "similarity" between rows can shift dramatically from one dataset to another.

This heterogeneity creates a significant hurdle for deep clustering methods: they typically require extensive hyperparameter tuning to perform well. However, because the task is unsupervised, practitioners lack the ground-truth labels necessary to guide that tuning—a classic "Catch-22." As a result, many data scientists default to classical algorithms like k-means, which are easy to deploy but often fail to capture the complex, non-linear structures present in modern datasets. ZEUS (Zero-shot Embeddings for Unsupervised Separation) addresses this gap by providing a pre-trained transformer that generates highly clusterable embeddings out-of-the-box, requiring no per-dataset optimization.

The ZEUS Framework

ZEUS is built upon the paradigm of Prior-Data Fitted Networks (PFNs). Rather than learning from a specific target dataset, ZEUS is pre-trained once on an infinite stream of synthetic data and then frozen for inference.

Synthetic Pre-training

The model's strength lies in its training prior. The authors generate synthetic datasets using Gaussian Mixture Models (GMMs) that are subsequently "warped" using randomized neural networks. This process creates complex, non-linear cluster shapes and incorporates categorical variables, mimicking the messiness of real-world tabular data. Because the data is synthetic, the ground-truth cluster labels are known during pre-training, allowing the model to learn the fundamental geometry of what constitutes a "cluster."

Learning Objective and Regularization

ZEUS learns to map raw tabular inputs into a latent representation space where data points naturally form probabilistic clusters. The training objective maximizes the log-likelihood of correct cluster assignments, supplemented by two key regularizers:

  1. Centroid Pull ($L_{cp}$): This forces data points to cluster tightly around their respective centroids.
  2. Centroid Separation ($L_{sep}$): This ensures that different cluster centroids are pushed far apart in the embedding space.

This combination ensures that the resulting embeddings are not just informative, but specifically optimized for separation by simple algorithms like k-means or GMMs.

Zero-Shot Inference

When presented with a new, unseen tabular dataset, ZEUS operates in a single forward pass. There is no fine-tuning, no early stopping, and no hyperparameter search. The model processes the raw data and outputs rich embeddings. Because the model has already learned to "invert" the data generation process across thousands of synthetic variations, it can perform implicit Bayesian inference to identify cluster structures in real-world data instantly.

Experimental Results

The authors evaluated ZEUS against state-of-the-art deep clustering baselines (such as DEC) and classical methods across 34 real-world OpenML datasets and various synthetic benchmarks.

  • Superior Accuracy: ZEUS achieved the highest average Adjusted Rand Index (ARI) on real-world OpenML datasets (57.43) compared to the next best method, DEC (55.93). On complex synthetic datasets with non-linear boundaries, ZEUS outperformed DEC by a wider margin (86.33 vs. 79.94).
  • Efficiency: By eliminating the need for iterative training on new data, ZEUS clusters datasets in seconds. Its computational footprint scales similarly to k-means, making it orders of magnitude faster than deep learning methods that require per-dataset optimization.
  • Uncertainty Quantification: When used for soft clustering, ZEUS produces well-calibrated predictive probabilities. This allows the model to accurately communicate its uncertainty regarding specific data points, a rare feature in unsupervised pipelines.

Limitations and Future Directions

While ZEUS represents a significant step forward, it currently inherits the constraints of its underlying transformer architecture (TabPFN). It is optimized for datasets with up to 2,000 samples and 30 features. While dimensionality can be managed via PCA, the sample size limit remains a constraint for very large-scale applications.

Furthermore, the model’s performance is intrinsically linked to its synthetic prior. If a dataset's structure is fundamentally different from the GMM-based transformations seen during training, performance may degrade. Future work aims to scale the backbone architecture to handle larger datasets and expand the diversity of the synthetic priors to capture even more exotic data distributions.

Summary updated

BibTeX
@inproceedings{marszaek2025zeus,
  author = {Patryk Marszałek and Tomasz Kuśmierczyk and Witold Wydmański and Jacek Tabor and Marek Śmieja},
  title = {{ZEUS: Zero-shot Embeddings for Unsupervised Separation of Tabular Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=fjBsE0kKk4},
}
Figure