Adversarial Partitions for Testing Composable Coresets

A composable coreset is a small summary that each machine computes from its own share of the data. The promise is that the union of these summaries is still good enough to solve the original problem. For diversity-style problems, such as picking $k$ items that are as different from one another as possible, the theory guarantees this for every possible way the data might be split. The guarantees carry factors like $O(k)^{3k}$ or $d^{O(d)}$, where $d$ is the vector dimension. Every empirical check we know of tests something much weaker. Experiments split the data randomly or by recency, run the algorithm once, and report a small loss.

This note proposes to test the worst case the theory actually covers. The idea is to search, on real data, for the splits that make a given composable coreset fail worst. Searching over data splits plays the same role that searching over candidate solutions plays in adversarial distortion testing for k-means coresets. The output is a certified empirical lower bound on each algorithm's composable approximation factor on real datasets. This makes it possible to say how far real data sits from the worst-case bounds and which algorithms are actually fragile.

Core Claim

In composable coresets the adversary is the partition, not the query. An Empirical Evaluation of k-Means Coresets showed two things about k-means coresets. Judging a coreset by the final cost of one optimizer hides failures. A k-means++-driven search for the candidate centers that maximize distortion exposes them, and it even reversed the theoretical ranking of Sensitivity versus Group Sampling. That work studied static, centralized summaries that must preserve the cost of every candidate set of centers.

Composable coresets for determinant maximization and diversity maximization are a different object. They do not preserve every query. They promise that the union of the per-machine summaries contains a near-optimal solution, whatever the split. The quantity to stress is therefore the composability ratio. Let $V(\cdot)$ be the objective, for example the log-volume spanned by $k$ vectors. Let $P$ be the full dataset, $\pi = (P_1,\dots,P_s)$ a split into $s$ machines, and $C(P_i)$ the coreset built on machine $i$. The ratio is

$$R(\pi) = V^*(P) - V^*\Big(\bigcup_i C(P_i)\Big),$$

measured in log-volume, so it is the log of the multiplicative loss. We will estimate $\max_\pi R(\pi)$ by search.

Our hypothesis has two parts. First, random splits, which are the only ones reported for greedy determinant coresets and for fair-diversity coresets, understate the worst case on real data by a wide margin. Second, the ranking of greedy, local search, and peeling under adversarial splits differs from their ranking under random splits. The second part is the analogue of the Sensitivity-versus-Group-Sampling reversal.

Research Program

We build an adversary that takes three inputs: a dataset, a coreset rule, and a number of machines. It returns a split, with a fixed part size so the adversary cannot trivially starve a machine.

The search starts from structure. We take a strong full-data solution $S^*$. Each of its points is placed on a machine together with points that locally dominate it, meaning points that a greedy volume rule would select first but that combine poorly across machines. From there, a local search moves batches of points between machines. Each move is scored by recomputing only the affected machines' coresets, which is cheap because each coreset is small. Re-solving the small union is also cheap. A second mode attacks merge-and-reduce trees. In that mode the adversary also chooses which summaries get merged and reduced together at each level of the hierarchy, which matters because intermediate summaries must keep solutions that only become optimal after merging.

The coreset rules under test come from three papers:

We will also implement the peeling algorithm of Composable Coresets for Constrained Determinant Maximization and Beyond. It gives coresets for partition and laminar matroids, which restrict how many items may come from each group, and for the $k>d$ regime. It has no empirical evaluation at all, so our implementation will be its first. We will record its numerical behavior in log-determinant arithmetic alongside its quality.

For the reported ratio to be a valid lower bound, the union must be solved well. The union is small, so we solve it with heavy multi-restart local search. The full dataset is solved with the best result from many runs. Solving the union too weakly would overstate the ratio, so we report the same ratio under several union-solver budgets and require it to be stable.

We will also test one explanatory link. If greedy's empirical swap stability (below 1.5) is what keeps real-data composition benign, then datasets and settings of $k$ with larger measured swap gains should show larger adversarial ratios. We will check this correlation directly.

Baselines

Uniform reference. The do-nothing reference point is uniform random subsampling of the same size on each machine, evaluated under both random and adversarial splits. For k-means on KDD with $k=100$, Scalable and Distributed Clustering via Lightweight Coresets reports 195.1% relative error for uniform sampling versus 18.5% for lightweight coresets. The question here is whether a comparable gap holds for volume objectives, and whether it survives adversarial splits.

Strongest existing practice. The strongest competitor is the existing evaluation protocol itself, applied to the strongest coresets. This means greedy determinant coresets on MNIST and GENES under random splits, and Seed-and-Neighbor fair-diversity coresets on Reddit and MovieLens under random and recency splits. Core-sets for Fair and Diverse Data Summarization reports diversity loss under 1.5% on Reddit, with 0% loss on Min-Pairwise. Composable Coresets for Determinant Maximization: Greedy is Almost Optimal reports empirical single-swap improvement almost always below 1.5 at $k=300$ on MNIST, against a theoretical allowance of about 17. For peeling, no reported result was found on Lacuna.

We reproduce these protocols with identical coreset sizes, machine counts, and solvers. The adversary counts as beating the protocol if it finds splits whose loss exceeds the random-split loss by a multiple that is stable across seeds. Concretely, the Reddit diversity loss would need to rise well above 1.5%, or the greedy log-volume loss on MNIST would need to grow meaningfully beyond what random splits show, and either result must replicate.

Structured splits. These are partitions by class label, by k-means cluster, by sorted principal coordinate, and by recency. All are cheap to generate, and any of them might already be near-worst. We give the structured-split baselines and the search the same evaluation budget, counted as number of coreset recomputations.

Ablation. One ablation removes the $S^*$-guided initialization and starts the adversary from random splits. This isolates whether knowing the full-data optimum is the key ingredient.

Why not just…?

Why not just keep evaluating random splits, as prior work does? Random splits answer a different question: the average case. Randomized composable coresets such as Randomized Composable Coresets for Matching and Vertex Cover explicitly assume random partitioning. The determinant and diversity guarantees do not, and practical splits by time, region, or topic are not random. Reporting random-split loss as validation of a worst-case guarantee is exactly the evaluation flaw that An Empirical Evaluation of k-Means Coresets identified for queries.

Why not just use structured splits by label or cluster instead of a search? This is a real threat. On real data, cluster-aligned splits may already be close to the worst case. That is why they are a baseline with a matched budget. If the search fails to beat them, the contribution narrows to a recommendation that those structured splits become the standard stress benchmark. That is still a concrete correction to current practice, and we would report it as such.

Why not just tighten the theory instead? Theory gives upper bounds. The open gap between $O(k)^{3k}$ and the $\tilde{O}(k)^k$ lower bound is about constructed worst-case inputs, not real data. An adversarial empirical lower bound tells theorists which bounds are loose on realistic inputs and which algorithm behaviors a refined analysis must explain. The swap-gain observation in Composable Coresets for Determinant Maximization: Greedy is Almost Optimal is an example of the kind of measured quantity such an analysis can use.

Proposed Experiments

Datasets. We use MNIST ($n=60{,}000$, $d=784$) and GENES ($n\approx 8{,}000$) for unconstrained determinant maximization. Digit labels supply partition-matroid groups. We use Reddit BERT embeddings and MovieLens for fair diversity, with Sum-of-Pairwise, Sum-NN, and Min-Pairwise objectives. We use low-dimensional projections of these sets to probe the $k>d$ regime, where peeling is the only method with guarantees.

Settings. We vary $k$ over values including 300, and we use machine counts from 4 to 256. We test both single-round composition and multi-level merge-and-reduce trees.

Metrics. We report three things: the adversarial composability ratio in log-volume and in percent diversity loss, the gap between that ratio and the random-split ratio, and, for peeling, the rate of numerical failure in log-determinant computation.

Decisive checks. Three outcomes would settle the main questions. First, the adversarial loss should be both much larger than random-split loss and reproducible. Second, the ranking of greedy, local search, and peeling should change between random and adversarial splits. Third, measured swap gains should correlate with adversarial loss across datasets. If adversarial loss stays close to random-split loss everywhere, that is a useful negative result: it would mean the worst-case factors are practically irrelevant on these data.