TabClustPFN: A Prior-data Fitted Network for Tabular Data Clustering

Tianqi Zhao, Guanyang Wang, Yan Shuo Tan, Qiong Zhang
1/29/2026
cs.LG

Official code: Tianqi-Zhao/TabClustPFN (7 stars, Python, last commit 2026-10-17).

Abstract

Prior-data Fitted Networks (PFNs) have reframed supervised tabular learning as single-pass in-context inference without per-dataset optimization. Extending this paradigm to clustering is appealing yet fundamentally more challenging, due to absent supervision, unknown cluster cardinality, and label switching inherent to partition outputs.

Show full abstract

Existing PFN-based clustering methods address these challenges only partially, either requiring known cardinality as input or relying on unstable label-ordering conventions and overly restrictive synthetic priors. We introduce TabClustPFN, a clustering PFN that resolves all challenges jointly through co-designed prior, objective, and architecture. Our hybrid pretraining prior captures heterogeneous real-tabular geometry; our decoupled partition inference network--cardinality inference network architecture jointly infers cluster assignments and cardinality in a single pass; and our SoftARI training objective is permutation-invariant by construction, eliminating the need for any label-ordering convention. On a 44 curated real-world tabular benchmark, TabClustPFN achieves state-of-the-art clustering performance against classical, deep, and amortized baselines, with runtime comparable to efficient baselines. Code is available at https://github.com/Tianqi-Zhao/TabClustPFN.

View on arXivView PDF

Code Implementations(1)

This repository contains the implementation for TabClustPFN

72Python, ShellJan 29, 20261 months ago

Similar Papers

Cite this paper

@article{zhao2026tabclustpfn,
  title  = {TabClustPFN: A Prior-data Fitted Network for Tabular Data Clustering},
  author = {Tianqi Zhao and Guanyang Wang and Yan Shuo Tan and Qiong Zhang},
  year   = {2026},
  eprint = {2601.21656},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.21656v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.21656.svg)](https://codeofpaper.com/paper/2601.21656)

Discussion