ZEUS: Zero-shot Embeddings for Unsupervised Separation of Tabular Data
Patryk Marszałek, Tomasz Kuśmierczyk, Witold Wydmański, Jacek Tabor, Marek Śmieja
TL;DR
ZEUS addresses the challenge of clustering tabular data by learning zero-shot embeddings via a transformer pre-trained on synthetic datasets with latent clustering structure. In the embedding space, clustering probabilities follow $p_k(x) = \frac{\hat{\pi}_k \exp(-\|z(x)-\hat{c}_k\|^2)}{\sum_j \hat{\pi}_j \exp(-\|z(x)-\hat{c}_j\|^2)}$, enabling effective separation using simple methods like $k$-means without any fine-tuning. The model combines a probabilistic clustering objective, compactness and separation regularizers, and a Prior-Data Fitted Networks (PFN) perspective to approximate Bayesian inference through a learned embedding. Empirically, ZEUS achieves competitive or superior clustering performance across real OpenML data and synthetic datasets, while offering fast inference and reduced hyperparameter tuning. This work enables practical, zero-shot unsupervised clustering in tabular domains and provides a principled framework for synthetic-data priors and transformer-based embeddings.
Abstract
Clustering tabular data remains a significant open challenge in data analysis and machine learning. Unlike for image data, similarity between tabular records often varies across datasets, making the definition of clusters highly dataset-dependent. Furthermore, the absence of supervised signals complicates hyperparameter tuning in deep learning clustering methods, frequently resulting in unstable performance. To address these issues and reduce the need for per-dataset tuning, we adopt an emerging approach in deep learning: zero-shot learning. We propose ZEUS, a self-contained model capable of clustering new datasets without any additional training or fine-tuning. It operates by decomposing complex datasets into meaningful components that can then be clustered effectively. Thanks to pre-training on synthetic datasets generated from a latent-variable prior, it generalizes across various datasets without requiring user intervention. To the best of our knowledge, ZEUS is the first zero-shot method capable of generating embeddings for tabular data in a fully unsupervised manner. Experimental results demonstrate that it performs on par with or better than traditional clustering algorithms and recent deep learning-based methods, while being significantly faster and more user-friendly.
