REVIEW 3 major objections 5 minor 2 cited by
This paper proposes the Assignment-Based Anticlustering (ABA) algorithm, a constructive heuristic that scales Euclidean anticlustering to millions of objects and hundreds of thousands of groups in seconds to minutes.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-03 11:26 UTC pith:IKQ3PSAB
load-bearing objection ABA is a genuinely new, fast constructive heuristic for Euclidean anticlustering, but the headline quality claim rests on tables only on GitHub; the in-paper K=5 data shows speed and balanced diversity, not quality gains. the 3 major comments →
A Fast and Effective Method for Euclidean Anticlustering: The Assignment-Based-Anticlustering Algorithm
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
On the paper's own terms, the central discovery is that the NP-hard Euclidean anticlustering objective can be attacked constructively rather than by local search. Because maximizing the sum of squared within-group distances is equivalent to maximizing each group's squared deviation from its own centroid (Fact 1), ABA can represent every group by its centroid and assign a batch of objects to groups by solving a linear assignment problem. The batches are not random: objects are sorted by squared distance to the global data centroid, so each batch contains objects from a similar radial band, and the paper's argument is that because group centroids end up near the global centroid, each group rec
What carries the argument
The load-bearing object is the sorted distance list (N↓) plus the repeated linear assignment solve. First every object's squared distance to the global centroid is computed and sorted descending; the list is cut into batches of size K, and each batch is assigned to the K anticluster centroids by maximizing total squared distance via the LAPJV assignment solver. Updating centroids after each batch keeps the assignment problems small (K×K) and the total running time at O(N(D + log N + K^2)). A hierarchical variant factors K into K1×K2×... so each level solves smaller assignment problems, reducing complexity to O(N L K^(2/L)), and a categorical variant forbids assignments that would break per-c
Load-bearing premise
The load-bearing premise, stated in Section 4, is that every anticluster centroid stays close to the global data centroid after each batch assignment; if that drifts, sorting objects by distance to the global centroid no longer guarantees balanced diversity, and the paper offers no approximation guarantee beyond experiments.
What would settle it
Run ABA on a heavily multimodal or skewed synthetic dataset (for instance, a mixture of well-separated Gaussians with very different diameters), with a large K, and compare its objective value and the spread of group diversities against a strong exchange-based heuristic with many exchange partners. If ABA's groups show high diversity imbalance or a lower total within-group sum of squares than the heuristic, the premise that centroid positions stay near the global centroid is contradicted.
If this is right
- Mini-batch generation for stochastic gradient descent can be done deterministically on million-image datasets in seconds to minutes instead of hours, with the resulting batches representative of the whole dataset.
- Cross-validation folds and participant groups can be constructed so that each fold matches the full dataset not only in mean but in spread and diversity, improving the reliability of model evaluation.
- The same routine solves balanced K-cut partitioning on tabular Euclidean data, producing perfectly balanced partitions with higher within-group sum than the leading graph-partitioning package at a fraction of the runtime.
- Categorical constraints—each category represented evenly in every group—can be enforced with a simple cost-matrix modification and no loss of scalability.
- The hierarchical decomposition lets users trade a small objective decrease for large runtime savings by choosing balanced factorizations of K, with quality loss under 0.03% in the paper's test.
Where Pith is reading between the lines
- A reader could test the implicit stratified-sampling interpretation: because ABA assigns one object from each distance band to each group, it is effectively a deterministic stratified sample; replacing the global mean with an alternative location estimate might handle skewed distributions where the mean is uninformative.
- The dependence on an exact assignment solver suggests a natural speed-quality frontier: swapping in a parallel auction algorithm would trade exactness for scalability, possibly enabling interactive, on-the-fly grouping for data-loading pipelines.
- The paper leaves open whether the distance-to-global-centroid ordering property transfers to non-Euclidean dissimilarities; a testable extension is to apply the same batch-and-assign template to cosine or Manhattan distances.
- Because ABA is deterministic and fast, it could serve as a high-quality initialization for exact or local-search methods, improving their starting points without adding much overhead.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes Assignment-Based Anticlustering (ABA), a constructive heuristic for Euclidean anticlustering. It sorts objects by distance to the global centroid, splits them into batches of size K, and iteratively solves linear assignment problems to assign each batch to anticluster centroids, updating centroids after each batch. A hierarchical decomposition speeds up large K; a categorical variant and an application to balanced k-cut are also presented. Experiments on datasets up to 6.3M objects and K up to 640,000 demonstrate large speedups over fast_anticlustering, comparable quality at K=5, improved quality for large K (reported in GitHub tables), and more balanced diversity across anticlusters.
Significance. If the claimed large-K quality advantage holds, ABA would be a practical breakthrough for large-scale Euclidean anticlustering, enabling mini-batch generation and fold construction at scales beyond existing heuristics. The algorithm is fully specified, code is available, Fact 1 is proven exactly in the appendix, and the runtime analysis is explicit. The balanced-diversity property is a useful and well-demonstrated advance. However, the in-paper evidence supports the speed claim and the balanced-diversity claim, but only parity in quality at K=5; the central 'outperforms in quality' claim rests on tables not included in the manuscript.
major comments (3)
- [Abstract; §5.3, Table 4] The abstract claims ABA 'outperforms existing anticlustering methods in both solution quality and running time.' The only in-paper quality comparison (Table 4, K=5) shows deviations from ABA's objective of 0.0000% for nearly all benchmark/algorithm pairs, with the largest difference -0.0048% (Adult vs. P-N5); the text itself states the methods achieve 'comparable solution quality.' The claimed quality advantage for larger K is deferred to tables on GitHub (§5.3). Without those tables or a representative subset in the paper, the central quality claim is unsubstantiated. Please either include the large-K tables (e.g., K=50, 500, 1000, 2000) or revise the claim to distinguish parity at small K from improvements at large K.
- [§4.4, Tables 5 and 7] The hierarchical decomposition parameters K1,...,KL are user-specified, and the experimental settings in Tables 5 and 7 are not justified by an a-priori rule. Figure 7 compares decomposition choices only on Imagenet32, and the same dataset is then used in Table 8 with the best-looking settings. This raises the risk of tuning on the test set. Please state a fixed rule (e.g., balanced factors of K, or K^{1/L} rounded) and verify that the reported large-K results are robust across datasets, or at least provide the analogous sensitivity analysis for one additional dataset.
- [§5.5, Table 11] The METIS comparison is performed on a graph with only p=30 randomly selected neighbors per node. For a complete Euclidean graph, this sparse random graph may severely handicap METIS, and the statement that larger p or weighted-neighbor selection 'did not improve' is not documented. Since METIS is a central benchmark for the balanced k-cut claim, please report results with denser graphs (e.g., p=100, or p=N-1 for the smaller datasets) so the comparison is evidently fair.
minor comments (5)
- [General] Typos and wording: 'argubly' -> 'arguably'; 'soutions' -> 'solutions'; 'bechmark' -> 'benchmark'; 'calculcated' -> 'calculated'; 'repored' -> 'reported'; 'adjecency' -> 'adjacency'; 'completness' -> 'completeness'; 'A VOC algorithm' -> 'AVOC algorithm'.
- [§4.5] The complexity expression O(N(D+logN+K^2)) is stated, but the following sentence says the running time is O(NK^2) because LAPJV dominates. This is only valid when K^2 is the dominant term; for small K the total complexity expression is more accurate. Please phrase this more carefully.
- [Algorithm 1] The pseudocode for update_centroid is inconsistent: the function signature takes a 'counter' argument, but the call site passes the object index i. The intended behavior (a per-cluster count) should be made explicit.
- [§4.3] The category-aware rearrangement in Section 4.3 is described only verbally and via Figure 3. A short pseudocode block or formal description of the alternating block construction would improve reproducibility.
- [Table 8 caption] The caption says 'for large values of k' but the parameter is K; also the sign convention for the 'Deviation [%]' column is not defined in the caption (it appears to be Rand relative to ABA).
Circularity Check
No significant circularity: the ABA derivation is constructive, Fact 1 is proven exactly, and the only self-citation is not load-bearing.
full rationale
Walking the derivation chain: the only mathematical bridge is Fact 1, which equates the within-antcluster pairwise squared-distance sum with |C_k| times the sum of squared distances to the antcluster centroid. That identity is proved exactly in the appendix, so using centroid-object distances in the assignment problems is legitimate rather than definitional. The ABA construction (sort by distance to the global centroid, solve assignment problems, update centroids) contains no fitted parameters that are later relabeled as predictions, and the reported comparisons are against external implementations (fast_anticlustering, METIS, AVOC-MILP, random) on public datasets. The one overlapping self-citation, Baumann et al. [2026], supports the small-anticluster variant's effectiveness, but this is not the load-bearing argument for the main algorithm; the paper's own large-K results are benchmarked against Rand in Table 8, and the central algorithm is evaluated independently. The paper's statement that antcluster centroids 'tend to be close to the global centroid' is an unproved heuristic premise, but the authors present it as intuition and do not reduce the quality claim to it by construction. The concern that Table 4 shows quality parity for K=5 and that larger-K tables are only on GitHub is an evidence/completeness issue about the strength of the empirical claim, not a circularity in the derivation. No step in the paper's derivation is equivalent to its input by definition, and no fitted parameter is renamed as a prediction. Therefore no circularity is found.
Axiom & Free-Parameter Ledger
free parameters (3)
- Hierarchical decomposition factors K1...KL =
e.g. Table 5: (40×125) for K=5000, N>50,000; Table 7: (16×200×200) for K=640,000
- Small-anticluster batch rearrangement choice =
unspecified
- METIS sparse neighbor count p and integer rounding =
p=30; rounded edge weights
axioms (6)
- standard math Fact 1: within-cluster sum of squared pairwise distances equals n_k times the sum of squared distances to the cluster centroid.
- standard math Anticlustering is NP-hard (the balanced 2-group case is at least as hard as balanced cut).
- domain assumption Batch-forming by global-centroid distance and greedy max-distance assignment yields near-optimal solutions and balanced diversity.
- domain assumption Hierarchical decomposition preserves objective quality.
- standard math LAPJV solves the assignment problems exactly and efficiently.
- domain assumption METIS with a p=30 random-neighbor rounded-weight graph is a fair proxy for balanced k-cut on the complete Euclidean graph.
read the original abstract
Anticlustering is an NP-hard combinatorial optimization problem that consists of partitioning a set of objects into equal-sized groups called anticlusters such that the objects in the same anticluster are as dissimilar as possible and thereby representative of the entire set of objects. Here we study the case where the dissimilarity metric is the squared Euclidean distance between the respective feature vectors. Applications of Euclidean anticlustering include social studies, cross-validation, creating mini-batches for stochastic gradient descent, and finding balanced K-cut partitions. In particular, machine-learning applications such as mini-batch generation involve million-scale datasets and very large values of K, making scalable anticlustering algorithms essential. We propose a new algorithm, the Assignment-Based Anticlustering (ABA) algorithm, that scales to instances with millions of objects and hundreds of thousands of anticlusters within seconds to minutes, which is far beyond what existing anticlustering methods can manage. We demonstrate here, via an extensive computational study, that our algorithm outperforms existing anticlustering methods in both solution quality and running time. This is so also for anticlustering with categories. For the related problem of balanced K-cut partitioning, our algorithm is superior to the well-known METIS method. The code of our algorithm is available on GitHub.
Figures
Forward citations
Cited by 2 Pith papers
-
Online Variance Reduction for Domain Adaptation on Streaming Data
ARROW is a new streaming algorithm that reduces minibatch variance for MMD and CORAL by reweighting each incoming batch to match an exponential moving average of alignment statistics.
-
Variance-reduced Domain Adaptation using Paired Sampling
PSDA pairs source-target examples into quadruplets via linear assignment problems, reducing the variance of MMD/CORAL minibatch gradient estimates and improving target-domain accuracy on Spawrious, Office-Home, and Humpbacks.
Reference graph
Works this paper leans on
-
[1986]
Strong bounds for large-scale minimum sum-of- squares clustering.arXiv preprint arXiv:2502.08397,
Anna Livia Croella, Veronica Piccialli, and Antonio M Sudoso. Strong bounds for large-scale minimum sum-of- squares clustering.arXiv preprint arXiv:2502.08397,
-
[2023]
Submodular batch selection for training deep neural networks.arXiv preprint arXiv:1906.08771,
KJ Joseph, Krishnakant Singh, Vineeth N Balasubramanian, et al. Submodular batch selection for training deep neural networks.arXiv preprint arXiv:1906.08771,
Pith/arXiv arXiv 1906
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.