Diversity Maximization: Algorithms for Distant $k$-Subsets
Hamed Abdi, Ali Ahmadi, Shayan Chashm Jahan, MohammadTaghi Hajiaghayi, Javier Marinković
NeurIPS 2026
TL;DR. We give deterministic approximation algorithms and hardness results for finding two disjoint size-k subsets of a metric space that maximize their minimum cross-distance.
Abstract. Diversity maximization is a fundamental problem in combinatorial optimization with applications in fairness-aware machine learning, clustering, and data summarization, and has attracted significant attention in theoretical computer science. We study the Distant -Subsets Problem (DKSP): given a metric space with and an integer , find two disjoint subsets , each of size , maximizing . This problem arises as a subroutine in composable coresets for remote-pseudoforest diversity maximization. It also appears in practice: a variation was featured in the ICPC World Finals 2024. Mahabadi and Narayanan gave a -approximation for this subproblem when and . For any , we present a deterministic combinatorial algorithm achieving a -approximation under the same size condition. In particular, for , this yields a -approximation when ; the factor is optimal for general metrics unless . More generally, any polynomial-time -approximation for constant would imply a polynomial-time algorithm for the -Biclique problem, even though DKSP is polynomial-time solvable when . For -dimensional Euclidean metrics, we obtain improved guarantees: a -approximation when , and a -approximation when . In particular, for and , this gives a -approximation when . For fixed , increasing the constant makes the ratio arbitrarily close to , while the size requirement remains linear in with a constant that grows with .
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Contribution
This submission gives approximation algorithms and hardness results for the Distant -Subsets Problem: Given a metric space containing points and an integer , find two sets both of size maximizing . For general metric spaces, the submission gives a polynomial-time -approximation algorithm as long as for any (this improves upon a previous -approximation under the same condition). Note that the approximation is at best a 2-approximation. The submission also shows that achieving a -approximation for any constant is -hard. The submission also contains incomparable results about Euclidean metric spaces.
Overall Assessment
Reviewer 3BTB had serious doubts about the correctness of several technical claims. These need to be addressed in the rebuttal. Further, as raised by Reviewers 2jbh and 5cwR, the authors should address if the algorithms in the submission lead to concrete improvements to the downstream problems mentioned in the abstract (composable corsesets and remote matching).
Strengths
The reviewers agree that the problem studied is natural and, if correct, the submission makes a valuable contribution to the literature.
Weaknesses
The claims about correctness of Reviewer 3BTB need to be addressed. Similarly, it should be clarified what concrete improvements the submission obtains for downstream problems (Reviewers 2jbh and 5cwR).
Other, more minor, comments that should be addressed are:
- What happens for only linear in in general metric spaces (Reviewer 2jbh)
- Reviewer 2jbh also had some concerns about the clarity of the extension to -parts and unequal sizes.
- The paper would also benefit from a clearer technical overview (Reviewer 5cwR), in particular since the submission still has almost three more pages of space available in the main body.
Update After Author Rebuttal and Discussion
The main point of concern was the correctness issue raised by Reviewer 3BTB. I believe this is addressed sufficiently by the authors' response (Reviewer 3BTB did not comment). Since the other reviewers were positive about the submission and highlighted that it makes a good contribution to a natural problem I recommend acceptance.
Final justification
I updated my meta review.
- Final justification
- I updated my meta review.
Read meta-review
Meta-review
Contribution
This submission gives approximation algorithms and hardness results for the Distant -Subsets Problem: Given a metric space containing points and an integer , find two sets both of size maximizing . For general metric spaces, the submission gives a polynomial-time -approximation algorithm as long as for any (this improves upon a previous -approximation under the same condition). Note that the approximation is at best a 2-approximation. The submission also shows that achieving a -approximation for any constant is -hard. The submission also contains incomparable results about Euclidean metric spaces.
Overall Assessment
Reviewer 3BTB had serious doubts about the correctness of several technical claims. These need to be addressed in the rebuttal. Further, as raised by Reviewers 2jbh and 5cwR, the authors should address if the algorithms in the submission lead to concrete improvements to the downstream problems mentioned in the abstract (composable corsesets and remote matching).
Strengths
The reviewers agree that the problem studied is natural and, if correct, the submission makes a valuable contribution to the literature.
Weaknesses
The claims about correctness of Reviewer 3BTB need to be addressed. Similarly, it should be clarified what concrete improvements the submission obtains for downstream problems (Reviewers 2jbh and 5cwR).
Other, more minor, comments that should be addressed are:
- What happens for only linear in in general metric spaces (Reviewer 2jbh)
- Reviewer 2jbh also had some concerns about the clarity of the extension to -parts and unequal sizes.
- The paper would also benefit from a clearer technical overview (Reviewer 5cwR), in particular since the submission still has almost three more pages of space available in the main body.
Update After Author Rebuttal and Discussion
The main point of concern was the correctness issue raised by Reviewer 3BTB. I believe this is addressed sufficiently by the authors' response (Reviewer 3BTB did not comment). Since the other reviewers were positive about the submission and highlighted that it makes a good contribution to a natural problem I recommend acceptance.
- Rating
- 2/6
- Confidence
- 2/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This manuscript investigates DKSP, a fundamental problem in combinatorial optimization. The manuscript proposes deterministic approximation algorithms with theoretical guarantees in both general metric spaces and Euclidean spaces, and also provides hardness bounds. In general metric spaces, when the data size is , the algorithm achieves a -approximation. It is also proven that, under the assumption that , a 2-approximation is the optimal result achievable in polynomial time. Furthermore, for -dimensional Euclidean spaces and the special edge case where , the paper designs efficient constant-factor approximation algorithms and exact algorithms, respectively.
Strengths and weaknesses
Strengths:
- As a subproblem related to diversity maximization and composable coresets, DKSP is natural and well-motivated theoretically. The overall research direction is sound and of distinct value.
- The manuscript possesses a relatively solid theoretical foundation. Furthermore, it not only provides approximation algorithms for general metric spaces but also attempts a comprehensive structure combining algorithmic upper bounds, hardness lower bounds, and exact solutions for special cases, making the work quite complete.
- For a given threshold x, the construction of a close-edge graph , which requires each connected component to fall entirely on the same side, followed by the use of subset-sum DP to determine if a side of size k can be formed, is a natural and concise approach. Its correctness appears to be fundamentally sound. Additionally, the hardness construction approach is standard and promising.
Weaknesses:
- Theorem 5 claims to achieve a -approximation when . However, in the iterative construction of Case 2, the paper amortizes the size of the layers added to and the marked set M by claiming for every x points added, at most points are marked, thereby obtaining . This amortized argument is invalid. The added in each round might overlap heavily with the current , yet could still be very large. Therefore, the growth of the marked set M cannot be bounded by the number of newly added points to . The main result for general metrics is currently unproven.
- The result of Theorem 4 is interesting and very strong, but is generally not a pairwise distance in the original instance. If one only binary searches for over the original pairwise distances, the maximum successful candidate value might be far smaller than , which fails to imply an -approximation. Thus, there is a distinct flaw in its proof.
- The intuitive argument for Theorem 7 in the two-dimensional case is relatively reasonable, but its high-dimensional generalization suffers from severe geometric issues. In the proof, the selected hyperplanes are not guaranteed to be mutually orthogonal, nor is it guaranteed that they can be simultaneously transformed into coordinate hyperplanes via a coordinate transformation that preserves Euclidean distances. The statement and inductive proof of Lemma 24 are also unclear, with confusion even regarding the dimension, , and the strict inequality conditions. Therefore, I believe the proof of Theorem 7 for general d is flawed.
- The Euclidean space results in Theorem 6 require additional clarification regarding integer parameters, degenerate cases, and algorithmic details.
- Different expressions such as , , and for 2D, although somewhat unifiable through derivation, should ideally be explained clearly and consistently to improve readability. Additionally, the discussion on generalization in Section G reads like an incomplete idea.
Questions
- For Case 2 in Theorem 5, can a truly valid charging argument be provided?
- Please rewrite the integrality proof of Theorem 4, clarifying whether the binary search is performed on the guessed OPT value or on .
- Do the selected hyperplanes in the high-dimensional geometry section of Theorem 7 need to be orthogonal? If they are orthogonal, how is the point partitioning property guaranteed? If they are non-orthogonal, why do the opposite regions still have a distance lower bound of ?
- The current algorithms are mostly presented as proof-based descriptions, lacking clear input and output constructions. It would be highly beneficial to present the algorithms as executable pseudocode.
Limitations
Yes
Formatting concerns
No
2 comments
If you are satisfied with the rebuttal, we would be grateful if you would consider upgrading your score.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This submission studies how to select two equally sized groups of (data) points that are as far apart as possible, which is called the Distant k-Subsets problem. Given a set of points in a metric space, the goal is to select two disjoint subsets of size k that are far from each other. The broader motivation why this research is relevant for NEURIPS is fair subset selection, where we aim at a small but diverse summary of a dataset. The submission presents approximation algorithms for a d-dimensional metric space and provides guarantees relative to d.
Strengths and weaknesses
The paper addresses a well-defined theoretical problem. It improves an existing approximation guarantee by at least a factor of 2 as stated in the introduction. Although the paper is outside my main area of expertise (i.e., I was not able to assess the technical correctness of the approximation proofs), it appears to provide a rigorous theoretical contribution, and the authors include proofs for the main claims and supporting results. According to the reviewer guidelines, this is appropriate for a theory paper and empirical validation is not necessary.
Having said that my main concern is that the paper does not do enough to explain the significance or originality of the improvement. Much of the technical development is presented as a sequence of theorems and lemmas. I can see that the bound is an improvement over prior work but I find hard to understand why this improvement is possible. What was the insight that led to this improvement? Generally, I believe that a technical paper should provide a roadmap that explains why we need certain theorems and lemmas. It should also explain what the key insight is to overcome in this case the previous bound.
Another concern is that this submission states approximation guarantees but does not provide intuitions or shows precisely the relevance to ML applications. I also cannot find a major new insight that why the paper improves the previous approximation guarantee. Overall, the current presentation makes it difficult for me to evaluate this paper. The paper may very well contain a novel contribution, but the current writing does not make a convincing argument.
Furthermore, I appreciate clear pseudocode but the paper in the main text hides behind some prose. I acknowledge that more precise pseudocode appears in the appendix but I could not see any major new insights there. Just one example: on page 23, the authors show a dynamic programming algorithm. However, their Algorithm 2 looks like be a standard subset-sum dynamic programming algorithm. I find it difficult to see how this is novel without further explanations.
Since the authors cite one (closely related) NeurIPS paper on fair diversity coreset construction, I had a look at that paper too. It includes a clear algorithmic structure in the main text and empirical experiments to support the practical relevance of the coreset approach. Of course, not every theory paper has to follow this approach or have an experiment, but the current submission does not provide a lot of help for the broader NeurIPS audience to understand the algorithmic contribution and its importance for the field.
Questions
Can the authors add a high-level roadmap explaining why the main theorems and lemmas are needed, and how they fit together in the overall proof strategy?
Can the authors motivate more clearly why this paper is relevant to NeurIPS?
Can the authors highlight the main novelty of the submission? In its current form it is difficult to say whether the improvement comes from a new proof technique or a new observation/insight.
Why is it not possible to include clear pseudocode for the algorithm in the main part of the paper?
Can the authors explain why experiments are not useful? A theoretical guarantee does not always translate into an efficient practical approximation algorithm as the constant could be very large.
Limitations
Yes
Final justification
I have changed my recommendation to "borderline accept", and raised "clarity" and "significance" from 2 to 3.
The rebuttal addressed some of my concerns. The added pseudocode and roadmap make the algorithmic contribution much clearer. I still do not have a clear understanding of what insight made this possible. I am also happy to see that the authors acknowledged that the appendix subset-sum DP is a standard approach.
My confidence is low because I have to rely on expert reviewers (for the proofs).
Formatting concerns
I did not see any major issues.
2 comments
Rebuttal
Thank you. We separate what is new from what we inherit, and state the relevance at the right level.
Roadmap. The proof is a single chain: critical threshold, then discretized integer-band metric, then slow residual layer-growth, then the charging bound (fewer than points used), leaving at least points for . The metric-of-bands lemma underlies the reverse-triangle steps of Theorems 4 and 5; the integrality theorem is used only by the hardness result; the Euclidean and exact () results are independent branches. The revised overview opens with this roadmap.
Main-body pseudocode. We added executable pseudocode:
Input: metric (X,d), integer k, epsilon > 0, with n >= 2 k^{1+epsilon} + k
Output: two disjoint sets S, T with |S| = |T| = k
alpha = 1 + ceil(1/epsilon)
tau = largest distance r such that >= 2k vertices have degree >= k in TG_r
H = { v : degree of v in TG_tau is >= k }; delta = tau / alpha
Case 1. If some v in H has |F_{alpha-1}(v)| >= k:
return k points from F_{alpha-1}(v) as S, and k from D_{alpha+1}(v) as T.
Case 2. Otherwise set P = {}, M = {}; while |P| < k:
R = X \ P; choose v in H \ P
choose x in {0,...,alpha-2} with |F^R_{x+1}(v)| <= k^epsilon * |F^R_x(v)|
add F^R_x(v) to P and D^R_{x+1}(v) to M
return k points of P as S, and k points of X \ (P union M) as T.
Relevance to NeurIPS. Selecting a small subset that is both representative and diverse is a core primitive in machine learning: it underlies coresets and data summarization, active-learning batch selection, data pruning, and fair or coverage-constrained sampling. The canonical objective in all of these is max-min (dispersion) diversity maximization, and at ML scale it is realized through composable coresets that compose across streams and machines, a direction actively studied at ML venues (including the fair-diversity-coreset work we cite). Our problem is the bottleneck primitive inside that pipeline: building a composable coreset for the harder diversity measures reduces to finding two well-separated -subsets , which is exactly DKSP. By making this primitive deterministic and tight, with a better constant and a matching hardness, we strengthen a building block that scalable diversity methods rely on. The contribution to any single application is thus indirect but structural: we sharpen a shared subroutine rather than proposing a new end-to-end system.
Experiments. Ours is a theoretical result: worst-case guarantees with a matching lower bound. The approximation constants are explicit and small (the optimal in general metrics, in the plane), so no large hidden constant is at play. We report full construction times and can add a small synthetic check if the reviewer wishes.
On the appendix subset-sum DP. We agree it is standard, and now present it as folklore included only for the auxiliary exact case (it uses only the distance matrix, so it extends to general metrics); we also add predecessor tracking so it returns and , not just the value.
We hope these clarifications address your concerns. If so, we would be grateful if you would reconsider your score.
If you are satisfied with the rebuttal, we would be grateful if you would consider upgrading your score.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the Distant k-Subsets Problem, given a metric space with n points, find two disjoint size-k subsets maximizing their minimum cross-distance. The main contribution is a deterministic approximation for general metrics, substantially improving the prior approximation of Mahabadi and Narayanan. The paper also provides matching NP-hardness showing factor 2 is optimal, improved guarantees for Euclidean spaces, and exact algorithms for n ≈ 2k.
Strengths and weaknesses
Strengths
- Well-organized presentation.
- The approximation guarantee improves from 4/ε to 1+⌈1/ε⌉ under the same conditions, which is a substantial factor improvement.
- The NP-hardness result via reduction from k-BICLIQUE shows the 2-approximation is tight for general metrics, giving a complete characterization.
Weaknesses
- The 2-approximation requires n ≥ 2k² + k, meaning the dataset must be quadratically larger than k. In many practical diversity maximization scenarios, n/k is a small constant (e.g., selecting k=100 representatives from n=1000). The paper does not discuss how the algorithm performs when these conditions are not met.
- The t-part and unequal-sizes extensions are presented without rigorous proofs and feel incomplete—they would be better omitted or fully developed.
- The generalized algorithm (Section D) runs in O(n^{c+2} log n), but the relationship between c, the approximation ratio, and practical efficiency is not well articulated.
Questions
Can you explicitly state what approximation ratio improvements your results yield for the composable coreset framework and the remote-matching/pseudoforest problems? This work addresses the central challenge of improving DKSP as a subroutine, but the end-to-end implications should be made concrete.
Is there any evidence that factor 2 is not achievable in Euclidean spaces with linear conditions on n? Do you conjecture that the (2+√2) factor is tight, or is closing the gap to 2 possible?
Have you considered whether the DKSP can be formulated as an integer program and relaxed? This might yield better approximations without the large-n requirement and would contextualize the combinatorial approach.
Limitations
Yes
Formatting concerns
No
1 comment
Rebuttal
Large- requirement and runtime–approximation tradeoff. Thank you for highlighting this limitation. The general-metric -approximation requires . For and , the main theorem gives a -approximation; the generalized algorithm gives a -approximation with in time, while a -approximation requires and time. For fixed , the guarantee grows as . We have clarified this limitation, added a table showing the tradeoff, and identified a polynomial-time constant-factor approximation for general metrics with as an open problem, while noting our exact result for and constant-factor guarantees in fixed-dimensional Euclidean spaces.
Unproved extensions. The -part and unequal-size variants were intended only as future research directions. We have removed the unproved guarantees and technical sketches, retaining only a brief paragraph identifying these variants as open directions.
Implications for composable coresets. Thank you for requesting clarification. Under the same condition , our deterministic DKSP algorithm improves the previous randomized -approximation to
Equivalently, setting , for , the ratio improves from to . In the remote-pseudoforest coreset of Mahabadi and Narayanan, using our algorithm as an alternative to FindST can improve the constant for part of the parameter range, but it does not change the stated asymptotic approximation or the coreset size. Thus, we do not claim a new asymptotic end-to-end guarantee for remote-pseudoforest. Their remote-matching construction does not use FindST or DKSP, so our result yields no direct improvement for remote matching.
Euclidean approximation factor. We do not conjecture that is tight. Theorem~6 gives a -approximation for , approaching as the constant in the linear bound increases. We conjecture that no polynomial-time -approximation exists for fixed when is fixed, but we do not yet have a Euclidean hardness result; closing this gap remains open.
Integer-programming relaxation. Although integer programming is not our primary area of expertise, we considered the natural formulation and its LP relaxation. Rounding must preserve both separation and exact cardinality ; natural rounding may instead give sets of size approximately , which is only a bicriteria approximation. The basic LP also appears too weak to give a useful bound directly, although stronger LP or semidefinite relaxations remain worth investigating.
We hope these clarifications and revisions address your concerns. If so, we would be grateful if you would reconsider your score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Theorem 5: residual-set construction and charging. Thank you for identifying this ambiguity. Let H be the 2k high-degree vertices in the original threshold graph. Case(1) is tested for every v∈H on the original ground set. In Case(2), iteration i computes its layers on the residual set Ri=X∖Si−1. If Case~1 fails, ∣Fα−1X(v)∣<k for every v∈H, and this remains true after restricting to Ri. Let
then Ai∩Si−1=∅, so ∣Ai∣ is exactly the number of newly selected vertices, and the layer lemma gives
Marked vertices remain in the residual set, and overlaps can only decrease the growth of ∣S∪M∣. Summing over the iterations and using ∣S∣<2k gives ∣S∪M∣<2k1+ϵ, leaving at least k unselected and unmarked vertices for T. Since ∣H∣≥2k and ∣S∣<k before each iteration, an eligible center always exists. The remaining vertices lie at least two layers beyond every selected prefix, which gives the required cross-distance. We have made this construction and charging argument explicit in the proof and pseudocode.
Theorem 4: search domain and one-sided invariant. The search guesses an original pairwise distance ω and sets δ=ω/m, where m=⌊α⌋. Since OPT is an original pairwise distance, δ=OPT/m is included. Every ω≤OPT passes validation; larger candidates may pass or fail. The binary search uses only the one-sided invariant that a failure cannot discard the target before a passing index at least as large has been saved. Thus the returned candidate satisfies δ≥OPT/m. We have rewritten the proof accordingly and removed the incorrect full-monotonicity claim.
Theorem 7: orthogonal hyperplanes. The intended hyperplanes are coordinate-aligned:
where ℓi is a median of the i-th coordinates in the two retained opposite regions. If both regions contain m points, the split produces opposite pairs of sizes (a,a) and (m−a,m−a), so one pair retains at least m/2 points in each region. The hyperplanes are mutually orthogonal and intersect at ℓ=(ℓ1,…,ℓd). Translation by ℓ preserves distances, and opposite signs in every coordinate give
We have revised the construction and lemma to state these details.
Theorem 6: parameters, degeneracies, and notation. We have corrected the theorem to require c∈Z≥1. The general guarantee is 2+d/c; setting d=2 gives 2+2/c, and then c=1 gives 2+2. We have standardized these formulas, corrected 2r to 2,r, and removed the unintended c from the independent 2+2 proof. The geometric proof now states a standard general-position convention; deterministic symbolic tie-breaking and non-strict inequalities handle degeneracies. We have also clarified that the construction uses coordinate and radial sorting and returns the best candidate pair built in the proof.
Extensions and pseudocode. We have removed the unproved generalization sketches and retained only a concise future-directions paragraph. We have also added executable pseudocode for the main general-metric algorithm, including its input and output, threshold computation, two cases, residual-layer updates, marked vertices, and final construction of S and T.
We hope these corrected arguments and revisions address your concerns. If so, we would be grateful if you would reconsider your score.