potentialpaper

TabK: Amortized Bayesian Estimation of the Number of Clusters in Tabular Data

Mohammadreza Bakhtyari, Bogdan Mazoure, Renato Cordeiro de Amorim, Guillaume Rabusseau, Vladimir Makarenkov

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. TabK is a zero-shot, permutation-invariant transformer that estimates the number of clusters in tabular data in under a second on average, outperforming 17 competing methods on 50 real-world benchmarks.

Abstract. Estimating the number of clusters, kk, is a fundamental prerequisite for most clustering algorithms. Traditionally, this estimation has relied on computationally expensive grid searches over internal cluster validity indices (CVIs) or adaptive clustering algorithms, both constrained by specific statistical assumptions. We introduce TabK, a zero-shot, permutation-invariant transformer architecture that frames the estimation of kk as an amortized Bayesian inference problem for tabular data. TabK leverages a novel Quantile Feature Encoder (QFE) to extract position-free, content-derived representations from empirical marginal distributions. By learning a generalized structural bias over a diverse synthetic prior, TabK estimates the number of clusters in a single forward pass per ensemble member. Evaluated across 50 diverse real-world benchmarks, TabK outperforms all competing methods, achieving a mean absolute error (MAE) value of 1.04 compared to 2.14 for the closest competitor. TabK also achieves the lowest average inference time, producing estimates in less than one second on average and running 2×2\times faster than TabClustPFN and 30×30\times faster than traditional CVIs such as Silhouette and Calinski–Harabasz. Code is available at https://github.com/mrbakhtyari/TabK.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The authors present a method for estimating the number of clusters in a tabular dataset in a single forward pass, using a quantile feature encoder and a doubly permutation-invariant Transformer trained on a synthetic prior. Choosing the number of clusters is an important step in unsupervised data analysis in many tasks.

The method has merits: it is fast and works as a plug-and-play method; it improves performance compared with a related approach across fifty datasets. All reviewers rated the paper as a weak reject. Their shared concerns are a missing stronger baseline, the validity of the ground truth number of clusters (which could be subjective), and the restricted evaluation regime.

Current status, the paper is borderline, and several clarifications are needed to address the reviewers' concerns. To move this forward, I would prioritize a few questions. First, compare against deep self-supervised features (such as VIME, SCARF, or SubTab) combined with a classical validity index (see comment about "deep features + traditional CVI" ), which is what a practitioner would actually use. Second, address the validity of the ground truth: the number of clusters is taken from class labels, yet for some real datasets, more than one value could be valid, which raises an interesting question about the validation of results in downstream tasks. Scaling beyond the restricted range of n, m, and k is a fair limitation; if the authors could add larger examples, it would be great (but not a must). Addressing the hyperparameter question (see Reviewer YwFk). Also, a better explanation about the choice of datasets and their diversity is needed.

I hope these points help the authors decide how to move forward with the rebuttal.

Final justification

I read the reviews, the rebuttal, and the discussion. While some reviewers remain negative about this paper, I think most concerns have been addressed and that it makes a valuable contribution to the community. Specifically, the main concer which remains is about the validity of the ground truth of the number of clusters. And while I understand the concern, I see this as an inherent problem with the challenge being addressed. This challenge can only be addressed with better benchmarks and manually curating and annotating datasets (by practitioners). As ML researchers, I think it is well justified to evaluate the method on a proxy (the number of clusters). The authors should simply state this early in the paper. Overall, the paper presents a new useful method with extensive evaluations; I therefore recommend acceptance of the paper.

Area Chair UXwb · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The authors present a method for estimating the number of clusters in a tabular dataset in a single forward pass, using a quantile feature encoder and a doubly permutation-invariant Transformer trained on a synthetic prior. Choosing the number of clusters is an important step in unsupervised data analysis in many tasks.

The method has merits: it is fast and works as a plug-and-play method; it improves performance compared with a related approach across fifty datasets. All reviewers rated the paper as a weak reject. Their shared concerns are a missing stronger baseline, the validity of the ground truth number of clusters (which could be subjective), and the restricted evaluation regime.

Current status, the paper is borderline, and several clarifications are needed to address the reviewers' concerns. To move this forward, I would prioritize a few questions. First, compare against deep self-supervised features (such as VIME, SCARF, or SubTab) combined with a classical validity index (see comment about "deep features + traditional CVI" ), which is what a practitioner would actually use. Second, address the validity of the ground truth: the number of clusters is taken from class labels, yet for some real datasets, more than one value could be valid, which raises an interesting question about the validation of results in downstream tasks. Scaling beyond the restricted range of n, m, and k is a fair limitation; if the authors could add larger examples, it would be great (but not a must). Addressing the hyperparameter question (see Reviewer YwFk). Also, a better explanation about the choice of datasets and their diversity is needed.

I hope these points help the authors decide how to move forward with the rebuttal.

Final justification

I read the reviews, the rebuttal, and the discussion. While some reviewers remain negative about this paper, I think most concerns have been addressed and that it makes a valuable contribution to the community. Specifically, the main concer which remains is about the validity of the ground truth of the number of clusters. And while I understand the concern, I see this as an inherent problem with the challenge being addressed. This challenge can only be addressed with better benchmarks and manually curating and annotating datasets (by practitioners). As ML researchers, I think it is well justified to evaluate the method on a proxy (the number of clusters). The authors should simply state this early in the paper. Overall, the paper presents a new useful method with extensive evaluations; I therefore recommend acceptance of the paper.

1 comment
Authors · CommentOpenReview ↗

We thank the AC for providing the meta-review.


1. Comparison against deep self-supervised features (VIME, SCARF, and SubTab). As recommended, we evaluated the VIME, SCARF, and SubTab frameworks, each paired with the Silhouette and Calinski-Harabasz clustering validation indices (CVIs), across the set of 50 benchmarks. In this experiment, we utilized official model implementations, applying the same preprocessing, kk-means configuration, and candidate cluster count (kk) selection protocol used with the CVIs applied directly to the input features. SCARF+CH emerges as the strongest competitor in terms of MAE (mean absolute error), outperforming TabClustPFN (2.24) and CH (2.26); however, the introduced TabK model further reduces MAE by 51% (1.04 vs. 2.14; paired test, p=1.5×10−3p=1.5\times10^{-3}), increases the "Exact Match" rate from 28% to 50%, and proves to be more than 100 times faster. Furthermore, TabK requires neither target-dataset-specific representation training nor a search for the optimal value of kk. The corresponding results will be added to Table 1 in the revised manuscript.

See our detailed response to: (Reviewer ic9A, W4.)


2. Validity of the ground truth and downstream validation. We addressed the question of the true number of clusters using a standard approach, taking the number of clusters specified in the OpenML and UCI machine learning repositories as the ground truth; this is how the issue is handled in the vast majority of clustering studies. As noted in the manuscript, downstream utility is evaluated by providing the kk-means algorithm with the value of kk predicted by each method; TabK recovers 92.43% of the "oracle" ARI. Furthermore, Figure 3 shows that TabK's MAE remains bounded within the strata defined by the kk-means oracle ARI. To further investigate the issue of annotations, we conducted a sensitivity analysis; the results indicate that among the 20 datasets where labels are best aligned with the recoverable geometry (oracle ARI ≥0.30\geq 0.30), TabK ranks first with an MAE of 1.25 (compared to 2.25 for the next-best method). TabK also outperforms the other competing methods across all thresholds examined, ranging from 0.10 to 0.30. While this does not resolve the ambiguity regarding the true value of kk, it demonstrates that TabK's advantage does not stem from poorly aligned annotations.

See our detailed response to: (Reviewers YwfK, W3/Q2; yAiX, Q1.)


3. Scaling beyond the restricted range nn, mm, and kk. In accordance with your recommendation, we experimented with a new set of 25 large datasets from the OpenML-CC18 suite, distinct from both the primary benchmark set and the data used to estimate the marginal prior distributions, including tables with up to 96,320 rows, 1,776 features, and 6.66 million cells. Across these 25 datasets, TabK achieved an MAE of 1.56, compared to 2.60 for TabClustPFN. Ten datasets that exceeded the 500,000-cell maximum size defined for the synthetic prior distribution (by up to a factor of 13) were processed in full, without subsampling or truncation. On this subset exceeding the training scale, TabK achieved an MAE of 1.00, compared to 2.00 for TabClustPFN, while running approximately 6×6\times faster.

See our detailed response to: (Reviewers YwfK, W1/W2/Q1/Q3; ic9A, W2/W3.)


4. Hyperparameters and comparison fairness. No method was tuned per dataset or against the real-world test labels. The baseline methods employed official configurations recommended by the authors and fixed in advance, the same range of values for kk (k∈{2,…,15}k \in \{2, \ldots, 15\}), and identical preprocessing. To reduce initialization-related variance affecting the CVIs, the kk-means algorithm was run with 100 restarts, rather than the default of one used by scikit-learn. TabK's hyperparameters were selected solely using synthetic validation folds and then fixed prior to evaluation on real data.

See our detailed response to: (Reviewer YwfK, Q4.)


5. Dataset choice and diversity. Our original 50-dataset benchmark was deliberately constructed to cover a variety of object and feature dimensionalities, cluster counts, mixtures of numerical and categorical features, as well as missing data configurations. Overlapping or duplicate datasets, along with those used to define the prior marginal distributions, were excluded.

See our detailed response to: (Reviewer yAiX, Q1.)


Overall, TabK significantly outperforms the requested deep-CVI baselines, dominates both downstream and geometry-aligned analyses, and delivers strong performance well beyond the training scale, all within a documented and fixed protocol. We believe these new results address the concerns that led to the borderline assessment of our manuscript. Ambiguity in intrinsic kk, the supported kk range, and quadratic attention cost remain clearly stated limitations; we hope this strengthened version of the paper will warrant a favorable decision.

Reviewer YwfKOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a zero-shot estimator TabK to estimate the number of clusters in tabular data. It extracts marginal distribution signatures for each column using a quantile feature encoder and then estimates the number of clusters, kk, in a single forward pass by leveraging a doubly permutation-invariant Transformer and Deep Label Distribution Learning (DLDL). Evaluated on 50 real-world benchmarks, it achieves a Mean Absolute Error (MAE) of 1.04 and an exact match rate of 50%, with an inference time of under one second, making it 30 times faster than traditional methods.

Strengths and weaknesses

Strengths

  1. TabK condenses the estimation of the number of clusters from an iterative grid search into a single forward pass; with an average inference time of under one second, it is 30 times faster than traditional CVI methods and more than twice as fast as the comparable deep learning method TabClustPFN, thereby significantly reducing deployment costs.

  2. Utilizing a Quantile Feature Encoder (QFE) and a cross-column attention mechanism, TabK maintains theoretical invariance to both row and column permutations. This avoids positional bias, enabling robust handling of heterogeneous tabular data where feature ordering varies arbitrarily.

  3. The DLDL head outputs a probability distribution for kk rather than a point estimate; this approach encodes ordinal relationships between candidate values ​​and provides interpretable confidence levels, allowing the model to faithfully reflect uncertainty, rather than making blind guesses, on datasets with geometric ambiguity.

Weaknesses

  1. Experiments were conducted only on datasets with small values ​​for nn, mm, and kk; this fails to meet current requirements, as modern datasets typically involve large nn and mm values.

  2. The high computational complexity of the row-column bidirectional Transformer becomes a bottleneck as data scale increases; despite the use of FlashAttention and mixed-precision training, the architecture fundamentally limits the scalability of zero-shot inference.

  3. Relying on human-annotated category counts as the ground truth for the number of clusters is fundamentally flawed, which diminishes the persuasiveness of the experimental results.

Questions
  1. Although the paper conducts experiments on extensive datasets, the datasets actually used are quite small, characterized by low point counts, low dimensionality, and few categories. In contrast, modern datasets are typically large and feature complex distributions; the lack of comparison on larger-scale datasets makes it difficult to demonstrate the effectiveness of the proposed method.

  2. The paper notes that the ground truth itself may be flawed, a point with which I strongly agree. Much like in hierarchical clustering, multiple values ​​of kk can be valid and reasonable. However, this raises questions about the fairness of the comparisons made: other algorithms might have predicted a correct or reasonable number of clusters, yet they are deemed incorrect in this study. This significantly undermines the persuasiveness of the experimental results.

  3. The O(n2)O(n^2) complexity of Transformer attention limits its application to large-scale data. Since the paper lacks experiments on large-scale datasets, the method's scalability in such contexts remains unknown.

  4. Did the paper perform hyperparameter tuning for the baseline algorithms other than TabK? If not, is the comparison truly fair?

Limitations

yes

Final justification

The authors addressed some concerns in their response; however, they failed to effectively resolve the crucial problem of ground truth, which forms the basis of the paper's evaluation. Furthermore, the authors acknowledged in the paper that the ground truth is flawed. Without this assurance, the experiment cannot be convincing. The main argument of the rebuttal and paper comes from a paper that has not undergone peer review. Many papers have also shown that the current methodology is incorrect. The authors cited Iris as an example in their rebuttal, and I also responded with relevant papers using Iris as an example, hoping that this (and the papers) would help the authors improve their paper.

Additionally, the proposed method suffers from numerous limitations, such as poor scalability.

Formatting concerns

NA

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful assessment. We report a 25-dataset evaluation, including 10 tables beyond the prior’s maximum size, and clarify the computational scope, evaluation protocol, and baseline settings.


Q1 & W1 (evaluation scale): To address this directly, we added a stress test on a 25-dataset suite drawn from OpenML-CC18 [1], after removing overlap with the main benchmark and datasets used to estimate the training prior's (k,n,m)(k,n,m) marginals. Ten datasets exceed 500,000 cells (i.e. the maximum capacity of our training prior), and the suite reaches 96,320 rows, 1,776 features, and 6.66 million cells (38.5×38.5\times and 8.9×8.9\times the training ceilings for nn and mm). The complete preprocessed datasets are used, with no row or column truncation.

Subset Method Latency (s) ↓\downarrow MAE ↓\downarrow Exact Match (%) ↑\uparrow ±1\pm1 Accuracy (%) ↑\uparrow
All 25 TabK 0.700 1.56 44.0 60.0
TabClustPFN 4.309 2.60 40.0 56.0
>500k cells (10) TabK 1.664 1.00 60.0 80.0
TabClustPFN 9.883 2.00 50.0 70.0

On the large-scale subset, TabK halves MAE from 2.00 to 1.00, raises both Exact Match and ±1\pm1 accuracy by 10 percentage points, and runs roughly 6×6\times faster than TabClustPFN (the closest competing method). It also improves all four reported metrics on the full 25-dataset suite, where the MAE improvement is statistically significant (one-sided Wilcoxon signed-rank test, p=0.034p=0.034). Together with the original benchmark, our real-world evaluation now spans 75 datasets, with nn from 57 to 96,320 and mm from 3 to 1,776 (i.e. roughly three orders of magnitude in both dimensions). Cluster cardinality remains an explicit limitation: the current checkpoint supports k∈[2,15]k\in[2,15], and we do not claim extrapolation beyond this range. Extending it requires expanding the prior and output head and retraining, rather than changing the inference formulation.


W2 & Q3 (computational scalability): We agree that quadratic attention is a real constraint, and it is worth being precise about where TabK sits relative to other tabular PFNs. Because TabK never attends jointly over all nmnm cell tokens, but instead attends once over the mm QFE signatures and once over the nn row embeddings, its attention cost is O(m2+n2)\mathcal{O}(m^2+n^2), against O(nm2+n2m)\mathcal{O}(nm^2+n^2m) for TabPFN [3] and O(nm2+n2)\mathcal{O}(nm^2+n^2) for TabICL [2], whose encoder design TabClustPFN and ZEUS adopts [4, 5]. Row and feature attention nevertheless remain quadratic, so we claim no asymptotically linear scalability; as stated in the paper, we mitigate the practical cost with FlashAttention and mixed-precision computation, and adapting linear-attention Transformers to the tabular setting remains future work.

Whether that quadratic term becomes prohibitive at relevant dataset sizes is an empirical question. Over the evaluated range, it did not prevent full-dataset inference, and TabK remained faster than TCP. The ten stress-test datasets exceeding 500,000 cells are the following, all processed in full with no row or column truncation.

Dataset Rows Features Cells
DNA 3,186 180 573,480
CNAE-9 1,080 856 924,480
Splice 3,190 347 1,106,930
Numerai28.6 96,320 21 2,022,720
Bank Marketing 45,211 60 2,712,660
Nomao 34,465 118 4,066,870
Internet Advertisements 3,279 1,558 5,108,682
Adult 48,842 113 5,519,146
HAR 10,299 561 5,777,739
Bioresponse 3,751 1,776 6,661,776

Across these ten datasets, TabK averages 1.66s against 9.88s for TCP, and is faster on every individual dataset. Both methods are measured on identical hardware (NVIDIA RTX 3060 Ti) under identical conditions, and TabK's latency includes all five ensemble members.


W3 & Q2: We agree that these points identify the same fundamental limitation: for real-world classification datasets, the annotated class cardinality k∗k^{\ast} is an operational evaluation target, not necessarily a unique intrinsic number of clusters. Multiple resolutions may be geometrically meaningful, particularly for hierarchical data. Accordingly, our reported MAE and Exact Match measure agreement with this annotation-derived target; they should not be interpreted as declaring every different prediction incorrect. Evaluating every method against the same held-out annotations makes this a controlled comparison for that target, but does not eliminate the target's construct-validity limitation. This convention is nevertheless widely used in clustering evaluations, including the seminal comparative study of cluster validity indices by Arbelaitz et al. [6], and recent zero-shot tabular clustering work, ZEUS [5] and TabClustPFN [4].

Crucially, TabK's comparative advantage is not confined to datasets whose labels are poorly aligned with geometric structure. We use oracle ARI as a sensitivity measure of that alignment. Restricting evaluation to the 20 datasets with oracle ARI ≥0.30\geq0.30, TabK obtains an MAE of 1.25, versus 2.25 for the next-best method, and it remains rank-1 for every threshold examined from 0.10 to 0.30. Because oracle ARI is itself kk-means-specific, we treat this as a sensitivity analysis rather than filtering the main benchmark.

We also report absolute performance against generator-defined cardinalities on the synthetic hold-out, avoiding the human-annotation ambiguity, and explicitly discuss counterexamples such as Smartphone: although k∗=6k^{\ast}=6, TabK and four baselines select the meaningful coarser partition k=2k=2. We count this as an error under the benchmark while acknowledging that it may represent a valid resolution. This is also where TabK's distributional output is most useful in practice: in the geometrically ambiguous examples analyzed in the paper, the DLDL head returns a near-flat posterior rather than an overconfident point estimate. TabK also attains a lower negative log-likelihood than TCP (2.26 versus 2.97) with a monotone risk-coverage curve, providing a useful signal that an estimate should be validated against domain knowledge.


Q4: We did not perform per-dataset hyperparameter optimization for the baselines, and we note that most of them expose essentially no tunable hyperparameters beyond the candidate range: the four internal CVIs are parameter-free functions of the data-label pair, and the remaining methods were evaluated with their official implementations and author-recommended configurations, all selected before examining the 50 real-world test labels. All grid-search methods used the same search range k∈{2,…,15}k\in\{2,\ldots,15\} and the same preprocessing. Where a configuration choice was available, we resolved it in the baselines' favour: the CVI pipeline uses kk-means with init='k-means++' and n_init=100, compared with one run under scikit-learn's current n_init='auto' default for kk-means++ initialization. These 100 restarts reduce initialization variability and avoid penalising the CVIs for unlucky seeds. In the revision, we will expand Appendix G to report these settings.

TabK's architectural and training hyperparameters were selected exclusively using validation folds from the synthetic prior and were then frozen before evaluation on the 50 real-world datasets. Thus, no method used the real-world annotations for model or hyperparameter selection. Per-dataset tuning against those annotations would provide oracle access to the evaluation target and would no longer represent the zero-shot unsupervised setting considered here.


Planned revisions: We will incorporate the 25-dataset stress test and its selection and isolation criteria into the paper; explicitly scope the generalization claim to the evaluated ranges of nn and mm and the supported range k∈[2,15]k\in[2,15]; retain the quadratic-attention limitation; consistently describe real-world k∗k^{\ast} as annotated class cardinality; qualify the corresponding comparative claims; and clarify that ARI remains annotation-dependent.


We hope the new scale evidence and these clarifications address the concerns about practical scope, computational cost, and evaluation protocol.


References

[1] Bischl et al. OpenML Benchmarking Suites. NeurIPS Datasets and Benchmarks, 2021.

[2] Qu et al. TabICL: A Tabular Foundation Model for In-Context Learning on Large Data. ICML, 2025.

[3] Hollmann et al. Accurate Predictions on Small Data with a Tabular Foundation Model. Nature, 2025.

[4] Zhao et al. TabClustPFN: A Prior-Fitted Network for Tabular Data Clustering. arXiv:2601.21656, 2026.

[5] Marszałek et al. ZEUS: Zero-shot Embeddings for Unsupervised Separation of Tabular Data. NeurIPS, 2025.

[6] Arbelaitz et al. An Extensive Comparative Study of Cluster Validity Indices. Pattern Recognition, 2013.

Reviewer YwfK · CommentOpenReview ↗

Thank you for the author's reply. The response addressed my concerns regarding question 4, assuming that other algorithms, as the author claims, do not have parameters to tune. However, my other concerns remain unresolved. Such as, regarding large numbers of points, dimensions, and large kk, the author conducted additional experiments. These experiments would be better if they could demonstrate the results for each dataset. The current results also fail to demonstrate how time and performance change with the number of points, point dimensions, and k. Furthermore, these experiments only included high-dimensional datasets. As for the number of points, the largest datasets did not exceed 100,000, while current clustering algorithms have long been solving clustering problems with tens of millions of points [1]. Other concerns, such as the issue of real cluster labels, which the authors also acknowledge, remain and are a prerequisite for the paper's evaluation to be valid. Therefore, I tend to keep my score, but if the author cannot answer question 2 well (I previously expected the author to provide a convincing response to this, and I hope my example of hierarchical clustering trees will help the author understand my question), I will lower my score, because if this question cannot be answered, then all the experiments in this paper are unconvincing.

[1] Huang D, Wang C D, Wu J S, et al. Ultra-scalable spectral clustering and ensemble clustering[J]. IEEE Transactions on Knowledge and Data Engineering, 2019, 32(6): 1212-1226.

Authors · CommentOpenReview ↗

We thank the reviewer for the follow-up.


Question 2

Regarding your Question 2, we believe there is a misunderstanding. Our validation on the real-world benchmarks was conducted on the datasets where the true number of clusters (i.e. the ground truth number of clusters in each of the originally considered OpenML and UCI benchmarks) was known and unambiguous. For example, it is a well-established fact that the actual number of classes in the Iris dataset (ID 61 in our Table 5) is 3. These classes correspond to exactly 3 different species of iris flowers: Iris setosa, Iris versicolor, and Iris virginica. This dataset has been used in thousands of studies across various fields, and no ambiguity regarding the number of classes has been noted. The same applies to the vast majority of the 49 other validation benchmarks considered in our original manuscript: they all originate from different practical application domains and show no discrepancy regarding the ground truth number of clusters (i.e. they are validated against domain knowledge).

This evaluation convention is not specific to our work. In fact, the paper suggested by the reviewer in this follow-up [1] explicitly states that "the true number of classes on each dataset (taken from the UCI repository) is used as the number of clusters for all the test methods". The same evaluation protocol has been widely used to estimate the number of clusters in a number of recent studies, including DeepDPM (CVPR 2022) [2], UEQMS (AAAI 2023) [3], IDC (ICML 2024) [4], ZEUS (NeurIPS 2025) [5], our closest competitor TabClustPFN [6], as well as seminal comparative studies on cluster validity indices [7,8].

It is worth emphasizing that this is primarily a matter of trust in the benchmark datasets provided by the OpenML and UCI machine learning repositories; if we cannot rely on them, then none of the numerous cluster recovery methods, whether aimed at recovering cluster structure or the number of clusters, that used these benchmarks for evaluation can be considered reliable.

Please note that a general limitation described in Supplementary Material of our manuscript concerns training and validation of new clustering methods on the labelled data that are not carefully validated against domain knowledge. Moreover, your interesting example of hierarchical clustering (though this can also apply to partitioning methods) - where multiple values of kk can be relevant - can easily be accommodated in an extended version of our method by adopting a training and validation protocol that considers multiple valid values of kk as possible outcomes. The main challenge here will be to find a sufficient number of real-world benchmark datasets to validate the method, given that widely used machine learning repositories, such as OpenML and UCI, are limited to datasets associated with a single ground truth number of clusters.

[1] D. Huang, C.-D. Wang, J.-S. Wu, J.-H. Lai, and C.-K. Kwoh. “Ultra-Scalable Spectral Clustering and Ensemble Clustering.” IEEE Transactions on Knowledge and Data Engineering, 2020.

[2] M. Ronen, S. E. Finder, and O. Freifeld. “DeepDPM: Deep Clustering With an Unknown Number of Clusters.” CVPR, 2022.

[3] Kumar, Abhishek, Swagatam Das, and Rammohan Mallipeddi. "UEQMS: UMAP embedded quick mean shift algorithm for high dimensional clustering." AAAI, 2023.

[4] Svirsky, Jonathan, and Ofir Lindenbaum. "Interpretable deep clustering for tabular data." ICML, 2024.

[5] P. Marszałek, T. Kuśmierczyk, W. Wydmański, J. Tabor, and M. Śmieja. “ZEUS: Zero-shot Embeddings for Unsupervised Separation of Tabular Data.” NeurIPS, 2025.

[6] T. Zhao, G. Wang, Y. S. Tan, and Q. Zhang. “TabClustPFN: A Prior-Fitted Network for Tabular Data Clustering.” arXiv:2601.21656, 2026.

[7] O. Arbelaitz, I. Gurrutxaga, J. Muguerza, J. M. Pérez, and I. Perona. “An Extensive Comparative Study of Cluster Validity Indices.” Pattern Recognition, 46(1):243–256, 2013.

[8] Moulavi, Davoud, Pablo A. Jaskowiak, Ricardo JGB Campello, Arthur Zimek, and Jörg Sander. "Density-based clustering validation." SIAM, 2014.

Reviewer ic9AOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents the TabK model, which aims to automatically estimate the number of clusters kk for tabular data. This method introduces a quantile feature encoder to handle heterogeneous tabular features and utilizes amortized Bayesian inference to convert the calculation of kk values into a single forward propagation task. Through this design, TabK acts as an independent pre-processing module that is completely decoupled from the specific downstream clustering algorithms. It can directly achieve efficient zero-shot prediction on new datasets without the need for grid search.

Strengths and weaknesses

Strength

S1: The author has provided the code.

S2: This model adopts a "plug-and-play" design and can complete zero-sample prediction within 1 second through a single forward propagation.

S3: The topic of the article, automatic determination of k, is very sound.

Weakness

W1: TabK is mainly composed of a quantile feature encoder, permutation-invariant transformer, PMA pooling, and DLDL head. Most of these components are already available. The paper does not fully explain that the combination of these modules brings essential new insights compared to the existing set transformer or tabular PFN methods. The statement of "amortized Bayesian inference" is also somewhat exaggerated, in fact, it is more like a supervised prediction model based on a synthetic prior.

W2: The main experiment in the paper is restricted to (n ≤ 10,000), (m ≤ 200), and (k* ∈ [2, 15]). This range does not represent a more general tabular clustering scenario. In practical applications, larger-scale, higher-dimensional, sparser, and more-clustered data are commonly encountered. Achieving superiority only under this restricted setting is insufficient to support the conclusion of general-purpose tabular (k)-estimation.

W3: The synthetic prior and real evaluations of the paper were both constructed based on OpenML-style tabular datasets, which may cause the model to learn the statistical patterns of a specific benchmark family. The paper lacks external datasets for verification that are sufficiently isolated from the prior source.

W4: The paper mainly compares TabK with traditional clustering validity indices (CVIs) that act directly on the original features, ignoring the common pre-training paradigm in current deep learning. In practical applications, modern clustering processes typically first utilize self-supervised learning (such as VIME, SCARF, or SubTab) to extract deep semantic features of the table, and then combine CVIs to evaluate the optimal number of clusters. The lack of a head-on confrontation with this "deep features + traditional CVI" strong baseline may exaggerate the actual performance advantage of the TabK architecture in the context of modern deep table representation learning.

Questions

N/A

Limitations

yes

Final justification

The authors addressed most of my questions, but they did not provide the results of clustering performance for datasets with more than 15 clusters, so I maintained my initial scores.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed reading. We report a 25-dataset suite, including 10 tables beyond the prior’s maximum size, and all six requested deep-CVI pipelines.


W1: We agree that Transformer blocks, PMA [1], and DLDL [6] are established components, and the paper cites them as such. The contribution is not the components but how they are composed, so that one model can process variable-schema tables within its supported scale and kk range without feature positions or names, while preserving row and column permutation symmetries.

QFE builds row-order-invariant, content-derived descriptors for columns; column attention contextualizes those descriptors equivariantly; value-identity fusion and symmetric feature aggregation produce column-invariant row representations; row attention followed by PMA produces the final row-invariant dataset representation. The complete construction satisfies fθ(ΠrXΠc)=fθ(X)f_\theta(\Pi_r\mathbf X\Pi_c)=f_\theta(\mathbf X) without positional or schema-specific column identifiers (Theorem 1). Set Transformer [1] supplies general-purpose set operators, but neither a representation of variable-schema columns nor this two-stage table factorization. The design also performs column-context attention once per dataset at O(m2)\mathcal O(m^2) rather than once per row at O(nm2)\mathcal O(nm^2), as in cell-token feature-attention architectures [3]. TabK separately retains O(n2)\mathcal O(n^2) row attention, which we state in our limitations.

The formulation also differs substantively from existing clustering PFNs. ZEUS learns representations but requires kk to be supplied for downstream clustering [4]. TabClustPFN estimates cardinality through assignment matrices PKP_K computed for every candidate kk, followed by their Gram-matrix summaries [5]. TabK instead estimates a dataset-level distribution over kk directly, with no assignment head and no candidate-kk loop, and its estimate is independent of the downstream clustering algorithm. The ablations show these choices are consequential: replacing QFE with parametric moments raises MAE from 1.04 to 1.82, removing column attention gives 1.48, replacing PMA with mean pooling gives 1.38, and replacing DLDL with categorical classification gives 1.40.

On terminology, training an inference network on samples from a synthetic joint distribution is the mechanism of prior-data fitted and simulation-based inference [2], not an alternative to it. The generator defines pprior(X,k)=pprior(k) pprior(X∣k)p_{\mathrm{prior}}(\mathbf X,k)=p_{\mathrm{prior}}(k)\,p_{\mathrm{prior}}(\mathbf X\mid k), with generator families and nuisance parameters integrated into pprior(X∣k)p_{\mathrm{prior}}(\mathbf X\mid k). DLDL makes the target slightly more specific: if qσ(k~∣k)q_\sigma(\tilde k\mid k) is the normalized Gaussian target around kk, the population optimum of the expected KL objective is

f∗(k~∣X)=∑kqσ(k~∣k) pprior(k∣X),f^*(\tilde k\mid\mathbf X)=\sum_k q_\sigma(\tilde k\mid k)\,p_{\mathrm{prior}}(k\mid\mathbf X),

so TabK approximates the ordinally smoothed posterior predictive distribution induced by the specified prior, with qσq_\sigma acting as an ordinal observation kernel on the latent cardinality. We do not claim a distribution-free posterior or Bayesian validity outside that prior, and we will state this qualification explicitly in Section 3.2.


W2: We assembled a 25-dataset suite from OpenML-CC18 [8], removing every dataset that appears in the main benchmark and every dataset used to estimate the prior's (n,m,k)(n,m,k) marginals. The suite spans n=500n=500 to 96,32096{,}320 and m=5m=5 to 1,7761{,}776, that is 6,996 to 6,661,776 cells. TabK's largest prior table contains 2,500×200=500,0002{,}500\times200=500{,}000 cells, so the 10 datasets above 500,000 cells constitute a strict test beyond the maximum table capacity seen during training.

Subset Method MAE$\downarrow$ Exact Match (%)↑\uparrow ±1\pm1 Accuracy (%)↑\uparrow Brier$\downarrow$ NLL$\downarrow$ Latency (s)↓\downarrow
>500>500k cells (10) TabK 1.00 60.0 80.0 0.542 1.238 1.66
TabClustPFN 2.00 50.0 70.0 0.904 6.180 9.88
All 25 TabK 1.56 44.0 60.0 0.718 2.106 0.70
TabClustPFN 2.60 40.0 56.0 0.897 5.274 4.31

On the 10 datasets that exceed the prior's table capacity, by up to 13×13\times, TabK improves every reported metric over TabClustPFN, while running roughly 6×6\times faster on these larger datasets. All predictions are single full dataset forward passes with no subsampling and no row or column truncation; mixed precision and FlashAttention keep the largest tables within memory. The 10 datasets that make up this subset are listed, with their row, feature, and cell counts, in our response to Reviewer YwFk (W2 & Q3).

Two datasets in CC18 fall outside TabK's current support and were excluded: letter and isolet have k=26k=26, beyond the [2,15][2,15] range of the present checkpoint. Four image datasets were also excluded because full attention over them exceeds 20 GB of VRAM: CIFAR-10 (184.32M cells), Devnagari Script (94.21M), and Fashion-MNIST and MNIST-784 (54.88M each). This is the quadratic attention cost we identify as a limitation in Appendix A, and it bounds dataset size rather than the inference formulation.

On the scope of the primary benchmark, the bounds n≤10,000n\leq10{,}000, m≤200m\leq200, and k∗∈[2,15]k^*\in[2,15] are stated in Section 4.1 and represent a deliberate operating window rather than a claim of unbounded support. TabPFN reports that 76% of datasets on OpenML contained fewer than 10,000 rows at the time of writing [3]. Extending beyond k=15k=15 requires enlarging the prior and the output head and retraining, not changing the inference formulation. For context, TabPFN was evaluated up to n=1,000n=1{,}000, m=100m=100, k=10k=10 [7]; TabClustPFN trains on n∈[500,1,000]n\in[500,1{,}000], m∈[2,64]m\in[2,64], k∈[2,10]k\in[2,10] [5]; and ZEUS uses k∈[2,10]k\in[2,10], maps inputs to 30 features, and evaluates at most 2,000 samples per dataset [4]. TabK's prior is broader at n≤2,500n\leq2{,}500, m≤200m\leq200, k∈[2,15]k\in[2,15], and the results above show that it holds well past that prior. We should also note that the paper makes no general-purpose claim anywhere: the operating window is stated in Section 4.1, the constraints behind it in Appendix A.


W3: We respectfully disagree that the synthetic training data are “OpenML-style.” No OpenML rows, feature values, labels, empirical feature distributions, or fitted generator parameters enter training. OpenML informs only the coarse marginal frequencies of (k,n,m)(k,n,m); conditional on them, all 200,000 training datasets are newly sampled from five synthetic geometry generators (Section 3.2). Datasets used to estimate these marginals, and duplicates, are excluded from evaluation suites. OpenML is also a repository of heterogeneous original sources, not one data-generating family [8].

We additionally evaluate on the 10 Graves 2D synthetic datasets from ClustBench, which were not used in prior estimation or training [9]. TabK vs. TabClustPFN: MAE 2.40 vs. 4.90; exact match 30.0% vs. 0.0%; Brier 0.850 vs. 1.160; NLL 2.243 vs. 4.991; latency 0.106 vs. 0.485 s. We will add these source-isolated results to the appendix.


W4: We agree this is the right baseline to confront, and evaluated all six requested deep-CVI pipelines on the 50 benchmarks using the authors' official implementations. For each learned representation we applied the same Silhouette and Calinski-Harabasz selection routine and the same kk-means setting used for the raw-feature baselines, as detailed in Appendix G.

Method MAE$\downarrow$ ARI$\uparrow$ EM (%)↑\uparrow τ≤1\tau\leq1 (%)↑\uparrow Latency (s)↓\downarrow pp-value
TabK 1.04 0.232 50.0 80.0 0.67 --
SCARF+CH 2.14 0.218 28.0 52.0 71.3 1.5×10−31.5 \times 10^{-3}
TCP 2.24 0.210 38.0 56.0 1.5 6.5×10−36.5 \times 10^{-3}
CH 2.26 0.207 38.0 62.0 20.5 1.7×10−21.7 \times 10^{-2}
SubTab+Sil 2.38 0.214 40.0 58.0 35.2 1.3×10−21.3 \times 10^{-2}
SCARF+Sil 2.50 0.200 36.0 54.0 72.9 3.6×10−33.6 \times 10^{-3}
VIME+Sil 2.98 0.230 34.0 58.0 28.9 3.9×10−33.9 \times 10^{-3}
VIME+CH 3.08 0.190 42.0 56.0 27.4 7.1×10−37.1 \times 10^{-3}
Sil 3.34 0.202 42.0 52.0 21.3 2.0×10−32.0 \times 10^{-3}
SubTab+CH 3.72 0.211 32.0 52.0 33.9 8.0×10−48.0 \times 10^{-4}

Deep representations do help, but the strongest deep-CVI pipeline still falls well short of TabK: MAE 2.14 against 1.04, Exact Match 28.0% against 50.0%, and ±1\pm1 accuracy 52.0% against 80.0%. The gains are also uneven across pairings: all three representations improve Silhouette, whereas only SCARF improves Calinski-Harabasz, so the practitioner must select an encoder-CVI combination without labels to guide that choice. TabK requires no target-dataset fitting and no candidate-kk search, and is over 106×106\times faster than SCARF+CH. We will add these methods to Table 1.


We hope these results and the clarified scope address the reviewer’s concerns.


References

[1] Lee et al. Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks. ICML, 2019.

[2] Müller et al. Transformers Can Do Bayesian Inference. ICLR, 2022.

[3] Hollmann et al. Accurate Predictions on Small Data with a Tabular Foundation Model. Nature, 2025.

[4] Marszałek et al. ZEUS: Zero-shot Embeddings for Unsupervised Separation of Tabular Data. NeurIPS, 2025.

[5] Zhao et al. TabClustPFN: A Prior-Fitted Network for Tabular Data Clustering. arXiv, 2026.

[6] Gao et al. Deep Label Distribution Learning with Label Ambiguity. IEEE TIP, 2017.

[7] Hollmann et al. TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Second. ICLR, 2023.

[8] Bischl et al. OpenML Benchmarking Suites. NeurIPS Datasets and Benchmarks, 2021.

[9] Gagolewski et al. A Benchmark Suite for Clustering Algorithms: Version 1.1.0. 2022.

Reviewer ic9A · CommentOpenReview ↗

Thank you for the detailed rebuttal and additional experiments. However, the current model is still restricted to k ≤ 15, which limits its applicability to datasets with more clusters. If the authors provide additional experiments beyond this range, I may consider increasing my score.

Authors · CommentOpenReview ↗

Thank you for the suggestion. We have now extended TabK beyond its original k≤15k\leq15 support and evaluated the extended model throughout k∈[16,30]k\in[16,30].

Extension of the model

Importantly, this does not require changing TabK's backbone or inference formulation. Starting from the original checkpoint, we enlarged only the final DLDL head from k∈[2,15]k\in[2,15] to k∈[2,30]k\in[2,30]. The learned parameters corresponding to k≤15k\leq15 were retained, while the newly introduced logits were initialized with zero weights and a large negative bias. We then continued training with the same DLDL objective and synthetic generators, extending the prior to k≤30k\leq30.

Real-world datasets with k>15k>15

We first evaluated the extended model on five real-world datasets from OpenML whose ground-truth number of clusters kk lies in the range [16,30][16,30]. All CVIs and deep-CVI baselines were rerun over the same candidate range k∈[2,30]k\in[2,30]. In the table below, we present the details of the experiment, indicating the dataset dimensions, the ground truth kk, and the value of kk predicted by each competing method.

Dataset nn mm ground truth kk TabK CH Sil VIME+CH VIME+Sil SCARF+CH SCARF+Sil SubTab+CH SubTab+Sil
isolet 7,797 613 26 25 2 2 2 2 3 3 2 2
letter 20,000 16 26 17 2 2 3 2 2 2 2 5
collins 1,000 19 30 25 2 2 2 2 4 4 2 2
kr-vs-k 28,056 6 18 30 2 3 2 2 4 5 2 2
primary-tumor 339 42 21 25 2 13 2 29 5 2 3 2

Across these five datasets, TabK provides an MAE of 6.20, compared with 19.8 to 22.2 for the evaluated baselines. TabClustPFN was not included in this comparison because its output is restricted to k≤10k\le10.

Controlled evaluation over k∈{16,…,30}k\in\{16,\ldots,30\}

To test the entire newly supported range of kks, we additionally generated 150 unseen sklearn.make_blobs datasets: 10 independently generated test datasets for each k∈{16,…,30}k\in\{16,\ldots,30\}. Each dataset contains n=2,500n=2{,}500 observations and m=16m=16 features, and none of them was used during the training phase.

Range MAE ↓\downarrow
k=16k=16–2020 3.52 ±\pm 0.90
k=21k=21–2525 5.08 ±\pm 0.53
k=26k=26–3030 2.72 ±\pm 0.48
k=16k=16–3030 3.77 ±\pm 0.39

These experiments show that k=15k=15 is not a fundamental limitation of TabK's backbone: the same pretrained backbone and single-forward-pass approach can be extended to substantially larger cluster cardinalities by enlarging the DLDL support and continuing training under an extended prior.

Finally, inference does not require a candidate-kk search. Enlarging the supported range only increases the dimensionality of the final prediction layer; the backbone is evaluated once regardless of the true or predicted kk.

We will add the results of these experiments to the revised manuscript.

Reviewer yAiXOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces TabK, a novel method for estimating the number of clusters kk in tabular datasets. Unlike dataset-specific optimization procedures or heuristic approaches, TabK leverages transformer models to directly approximate the probability distribution p(k∣X)p(k \mid X) for a given dataset XX in a single forward pass, enabling zero-shot cluster number estimation. To achieve this, the model is pre-trained on an expressive prior that covers a diverse range of cluster structures and data characteristics, using a Deep Label Distribution Learning (DLDL) objective. The proposed method is evaluated on 50 real-world datasets from the OpenML repository. Experimental results demonstrate that TabK achieves state-of-the-art performance in estimating the number of clusters, outperforming a range of baseline methods across multiple evaluation metrics, including Mean Absolute Error (MAE).

Strengths and weaknesses

Strengths:

  • First, TabK proposes a novel pretraining idea for unsupervised zero-shot learning that separates global cluster-count estimation from local cluster assignment prediction.
  • Moreover, the method achieves strong performance on a comprehensive benchmark consisting of 50 real-world datasets and 11 baselines, outperforming prior approaches across multiple evaluation criteria.
  • Finally, the proposed approach supports both numerical and categorical data.

Weaknesses:

  • However, the paper could do a better job of communicating and motivating the proposed approach. At times, it reads more like a technical report than a research paper. In particular, the introduction could more clearly motivate the importance of clustering and the problem being addressed. The main paper would also benefit from a more detailed description of the prior data generation process, an explicit definition of the pretraining objective, and a concise presentation of the training and inference protocols.
  • According to the appendix, the reported method is actually an ensemble of five models whose predictions are averaged. I think this is an important implementation detail that should be more clearly highlighted in the main paper, as it likely contributes to the reported performance gains. Since the final method relies on ensembling, it would also be valuable to include an ablation study showing how performance changes as the number of ensemble members increases.
  • While Figure 4a offers a useful calibration analysis, I would also like to see a quantitative calibration metric, such as the Brier score, reported for all compared methods. This would provide a more direct comparison of calibration quality across approaches. For methods that do not produce probabilistic outputs, one could assume full confidence in the predicted number of clusters when computing this metric.
  • Finally, I would have liked to see a more extensive ablation study of the different priors used during pretraining. While the paper evaluates several configurations, it would be informative to include additional variants that systematically remove individual priors (e.g., without Prior I, without Prior II, etc.) to better understand their respective contributions. I would also be interested in an ablation study of the quantile binning component, as I am not sure how important a role this component plays in the overall performance of the method.
Questions
  • What was the criterion for selecting the 50 benchmark datasets? The failure-case analysis is interesting and suggests that some of the evaluated datasets may not exhibit a meaningful underlying cluster structure, but rather correspond to standard classification tasks. This raises the question of whether all selected datasets are equally suitable for evaluating methods that estimate the number of clusters. It may be worth considering a more careful dataset selection procedure.
  • It is not entirely clear to me why TabK performs well on datasets containing categorical features. As far as I understand, the pretraining prior does not explicitly model such features. It would therefore be helpful to better explain why the method generalizes well to datasets containing categorical variables.
  • Could the authors clarify what the Oracle ARI bins in Figure 3 represent and how they were constructed?
  • I would also be curious to see an evaluation of TabK's robustness to datasets containing anomalies, out-of-distribution samples, or noisy features.
Limitations

yes

Final justification

Due to the improved evaluation and the resolution of my concerns, I have increased my score. In my opinion, the scalability limitations mentioned by the other reviewers could reasonably be considered as future work.

Formatting concerns

No formatting issues.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed and constructive review, and we address each point below.


W1 (Presentation and Motivation): In the revision, we will strengthen the motivation for why clustering and the choice of kk matter in practice, and bring a concise account of the prior generation process (from Appendix B), the pretraining objective (from Appendix C.2), and the training and inference protocol (from Appendix C.3) into Section 3.


W2 (Ensemble Inference): We will state the 5-fold ensemble explicitly in Section 3. We ran the requested ablation on the 50 benchmarks, averaging over all (5m)\binom{5}{m} subsets of the five checkpoints for each ensemble size mm:

Members 1 2 3 4 5
MAE ↓\downarrow 2.06 1.69 1.52 1.32 1.04

Ensembling materially improves performance, reducing mean MAE from 2.06 for a single member to 1.04 with all five members. The m=1m=1 result is also conservative because each checkpoint is trained on only 80% of the synthetic training split. Crucially, even a single member remains below every evaluated baseline in mean MAE, and exceeds them in ±1\pm1 tolerance (65.2% vs. 62.0%), showing that TabK's advantage does not depend solely on ensembling. Finally, the reported 0.67s latency includes all five forward passes, so the speed comparisons in Table 1 already charge the full ensemble cost.


W3 (Brier Score): We computed the multiclass Brier score on all 50 benchmarks, using posterior for TabK and TCP and a one-hot vector at the predicted kk otherwise, as suggested. For one-hot predictions, the Brier score reduces exactly to 2(1 − EM), so the ranking of the ten non-probabilistic baselines restates their exact-match accuracy; the only comparison carrying genuine calibration information is TabK vs. TabClustPFN.

Method TabK TCP Sil CH CNAK Dunn DB Gap X-Means IMWk GMM-BIC UNSEEN
Brier ↓\downarrow 0.790 0.803 1.160 1.240 1.320 1.400 1.440 1.680 1.680 1.720 1.880 1.920

Both probabilistic models sit roughly 0.35 ahead of the best non-probabilistic baseline, but two properties of the metric are worth noting. First, Brier score is distance-blind, penalizing mass on k∗±1k^*\pm1 as heavily as mass on a distant kk, which is why Silhouette (MAE 3.34) outranks CH (MAE 2.26) here, and it is exactly the ordinal structure DLDL is designed to exploit. Second, the two models are not scored over a common hypothesis space: TabClustPFN's posterior is structurally capped at k≤10k\leq10, whereas TabK assigns probability over k∈[2,15]k\in[2,15], and 48 of the 50 benchmarks have k∗≤10k^*\leq10. TabK's unadjusted score is 0.8116, charged for the 0.19 average mass it places on k∈[11,15]k\in[11,15], a region realized in only two cases, whereas TabClustPFN cannot be charged for that error at all. The table therefore reports the equalized comparison, zeroing TabK's k>10k>10 entries and renormalizing. Under either reading, the result agrees with the calibration evidence already in the paper: TabK attains a lower NLL (2.26 vs. 2.97) and a monotone risk-coverage curve, whereas TabClustPFN's fluctuates even at high confidence (Section 4.3).


W4 (Prior and Quantile Binning Ablation):

Leave-one-prior-out. We retrained TabK from scratch once per generator, removing that generator from the prior mixture while keeping the total number of synthetic datasets, the architecture, and the training and inference protocol fixed, and evaluated on the same 50 benchmarks:

Prior removed MAE ↓\downarrow Δ\Delta
none (full prior, reported model) 1.04 --
w/o networked manifolds [14] 1.70 +0.66
w/o concentric shells 1.84 +0.80
w/o anisotropic ellipsoids [34] 1.84 +0.80
w/o globular Gaussians [25] 1.86 +0.82
w/o elongated line-supported [7] 3.56 +2.52

Every variant yields a higher MAE than the full model. Four generators produce comparable degradations (+0.66 to +0.82), supporting the value of geometric diversity in the mixture, while removing the elongated line-supported generator has the largest effect (+2.52). Together with the keep-one-only configurations in Table 2, these results characterize each generator from complementary directions.

Quantile binning. The principal ablation is already reported as "w/o QFE" in Table 2, which replaces the non-parametric quantile representation with parametric moments (mean and standard deviation) while retaining the rest of the architecture. This increases MAE from 1.04 to 1.82, the largest degradation among the architectural ablations, showing the importance of distributional quantile information. We separately evaluated sensitivity to quantile resolution during hyperparameter selection over 25, 50, and 100 bins, which selected 50 as the best performance-efficiency trade-off (Appendix C.5, Table 4).


Q1 (Benchmark Difficulty): We agree the labels are often semantic rather than geometric (Appendix A). However, any criterion for "has real structure" is itself a clustering result, so we report performance as a function of difficulty rather than removing datasets. We characterize difficulty by oracle ARI, the ARI obtained by kk-means when supplied with the ground-truth k∗k^*; Figure 3 stratifies by this measure and shows that TabK's error remains bounded across the spectrum. As a sensitivity analysis, restricting evaluation to datasets with oracle ARI ≥0.30\geq 0.30 (n=20n=20) gives an MAE of 1.25 for TabK versus 2.25 for the next-best method; TabK also remains rank-1 across the thresholds examined between 0.10 and 0.30. The downstream-utility view agrees: supplying TabK's predicted kˉ\bar{k} to kk-means recovers 92.43% of the oracle ARI, the highest among all evaluated methods. Our aim was a heterogeneous collection spanning different numbers of clusters, objects, and features, including datasets with missing values and categorical features; the construction process, size and dimensionality constraints, deduplication, and measures against prior leakage are described in Appendix B.1.


Q2 (Categorical Generalization): The reviewer is correct that the prior does not explicitly generate categorical variables. We attribute the transfer to the shared preprocessing representation and the distributional design of the QFE, not to the model learning categorical semantics. Categorical features are one-hot encoded and standardized, so each encoded category reaches the network as a sparse two-level marginal distribution. The QFE samples evenly spaced order statistics from this distribution, producing a step-like signature whose transition location reflects the empirical category frequency, and the column transformer contextualizes these signatures jointly with the other features at the table level. Categorical columns are therefore presented through the same numerical, distributional interface as all other columns, allowing the model to process them without a separate categorical input mechanism. This matches our stratified analysis (Figure 7), in which TabK maintains low error on both categorical-only datasets and datasets containing categorical features together with missing values.


Q3 (Oracle ARI Bins): For a dataset dd, oracle ARI is defined as ARI⁡(k-means(Xd,kd∗),yd)\operatorname{ARI}\left(k\text{-means}(\mathbf{X}_d,k_d^*),\mathbf{y}_d\right), namely the ARI obtained by kk-means when supplied with the annotated number of clusters. It is independent of the evaluated methods and measures how closely the annotated labels align with geometry recoverable by kk-means. A low value means this alignment is weak even when k∗k^* is known; it does not imply that every clustering algorithm must fail. To construct Figure 3, we assign the 50 datasets to nine oracle-ARI groups using thresholds 0.0,0.1,…,0.80.0,0.1,\ldots,0.8: the first group contains values below 0.10.1, the intermediate groups [0.1,0.2),…,[0.7,0.8)[0.1,0.2),\ldots,[0.7,0.8), and the final group values ≥0.8\geq 0.8. For each method, a marker shows its mean MAE over the datasets in that group; the connecting curves are visual interpolation only.


Q4 (Perturbation Robustness): We evaluated TabK under controlled noisy-feature and diffuse anomaly/OOD perturbations on all 50 benchmarks, averaging each nonzero level over five seeds. The perturbations are designed not to introduce a coherent additional cluster, so the annotated k∗k^* remains the target. For noisy features we append independent standard Gaussian columns equal to 25%, 50%, or 100% of the original feature count; for diffuse contamination we append points equal to 1%, 5%, or 15% of the sample size, drawn independently per feature from an empirical hyperrectangle extended 25% beyond the observed range on either side. Each perturbed dataset is then standardized. We report MAE and agreement with TabK's clean prediction:

Perturbation Level MAE ↓\downarrow Agreement (%) ↑\uparrow
none (clean) -- 1.04 100.0
noise features +25% of mm 1.43 86.8
noise features +50% of mm 1.56 85.6
noise features +100% of mm 1.94 76.8
anomalies/OOD points 1% of nn 1.30 80.4
anomalies/OOD points 5% of nn 1.43 68.0
anomalies/OOD points 15% of nn 1.61 67.6

Degradation is graceful throughout. Under the most severe setting tested, doubling the feature count with purely uninformative columns, TabK still attains an MAE of 1.94, which remains below the clean-data MAE of all eleven baselines in Table 1 (best competitor: 2.24); the same holds after adding diffuse anomalies equal to 15% of the sample size (MAE 1.61). These give a controlled evaluation of robustness to irrelevant features and diffuse OOD contamination, though not every anomaly or distribution-shift mechanism.


We hope these additions address the clarity and limited-evaluation concerns underlying the rating.

Reviewer yAiX · CommentOpenReview ↗

I would like to thank the authors for their detailed and thoughtful response. My concerns have been satisfactorily addressed, and I will therefore increase my overall score to 4.

In my opinion, the scalability limitations mentioned by the other reviewers could reasonably be considered as future work. While addressing them would certainly strengthen the paper, I do not believe they are essential to resolve at this stage.

Nevertheless, given the current level of clarity of the paper and the fact that these limitations exist, I do not feel comfortable assigning an overall score of 5.

Authors · CommentOpenReview ↗

We thank the reviewer for this thoughtful assessment and for increasing the overall score.

Regarding the mentioned scalability limitation, we would like to note that we have conducted additional experiments specifically addressing this point: scaling with respect to dataset size, dimensionality, and the supported range of kk, including extending TabK from k∈[2,15]k\in [2, 15] to k∈[2,30]k \in [2, 30]. For further details, we kindly refer to our responses to Reviewers ic9A and YwfK, where these experiments are discussed in detail.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…