potentialpaper

On Computing Diverse Solutions in the Earth Movers Distance

Aritra Banik, Mayank Goswami, Abhishek Sahu

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. Algorithms and hardness results for the problem of finding a diverse collection of solutions, where diversity is measured in terms of the Earth Movers Distance between solutions.

Abstract. Classically used for image retrieval tasks in computer vision, the Earth Movers Distance (EMD), also called the Wasserstein distance, has found numerous applications in natural language processing (NLP) and machine learning (ML). In NLP it is used as a measure of distance between sets of embeddings, and in ML it has been used to understand training dynamics, distributionally robust optimization, and many other tasks under active research.

On the other hand, computing diverse solutions to optimization problems has also gained a lot of attention recently. In this DiverseX paradigm, one wants to develop algorithms that return a set of rr solutions that are maximally diverse; a common measure of diversity is the average or the minimum distance between the (r2)r\choose{2} pairs of solutions. This paradigm is useful in generating more choices for the user, in fairness, and in robustness and security applications.

In this work, we address the complexity of finding a diverse set of solutions in the EMD metric. Given an nn point metric space (X,d)(X,d) and integers k≥1k \geq 1 and r≥2r \geq 2, we consider the problem of computing rr many subsets of XX, each of cardinality kk, such that the minimum EMD between these sets is maximized. Motivated by applications from NLP, we also consider the problem of computing the farthest kk-subset (from a given kk-subset) in the EMD metric.

On the lower bound side, we first show that assuming the Maximum-Span Hypothesis, it is W[1]-hard (with parameters kk and rr) to obtain k/(log⁡k)O(1)k/(\log k)^{O(1)}-approximation for non-metric cost functions, and W[1]-hard to obtain a 2−o(1)2-o(1) approximation for metric spaces. We also show that the problem restricted to the Euclidean setting with ℓ2\ell_2 norm is W[1]-hard.

Our first main algorithmic result is an f(k,d,ε)n(O(1)f(k, d, \varepsilon)n^{(O(1)} time (1−ε)(1-\varepsilon) approximation algorithm for the dd-dimensional Euclidean setting, which is tight in view of the above hardness results. Using different techniques, we also present a similar result for the farthest point problem in arbitrary metric spaces. Our second main algorithmic result is geared towards the search for polynomial time algorithms, where we present an O(d)O(d) approximation for the Euclidean setting in poly(n,k,d)\text{poly}(n,k,d) time when r=2r=2. Finally, we present FPT(k)FPT(k) time, 2-approximate algorithms for arbitrary metric spaces when r=2r=2. Since the class of problems we study requires to find diverse solutions in the EMD metric, our results use a combination of various geometric techniques that deviate from the techniques used to compute the EMD metric between a given pair of solutions, and may be of independent interest.

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
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

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

This paper focused on the problem of finding diverse solutions. The reviewers found the studied problem setting interesting and in general find the contribution of the paper technically strong. The authors have address most of the concerns. While I am recommending the paper to be accepted, I think it would be wise for authors to revise the manuscript that takes into account their response to Reviewer XNMH.

Final justification

Meta-review is updated.

Area Chair nzSg · Meta-reviewOpenReview ↗
Final justification
Meta-review is updated.
Read meta-review
Meta-review

This paper focused on the problem of finding diverse solutions. The reviewers found the studied problem setting interesting and in general find the contribution of the paper technically strong. The authors have address most of the concerns. While I am recommending the paper to be accepted, I think it would be wise for authors to revise the manuscript that takes into account their response to Reviewer XNMH.

1 comment
Authors · CommentOpenReview ↗

Extension to higher dimensions

Thank you for summarizing the main concern from Reviewer XNMH. We understand that their main concern is regarding extending our d=2d=2 results to higher dd. We have verified again that our results do indeed extend to higher dd. For our results in Section 4.1, see our response (to Reviewer XNMH) to point 1, and for Section 4.2 please see our response to point 3.

Summary: We already mentioned that the runtime would depend naturally on dd (line 235), and have added more details on the extension in our response to Reviewer XNMH. The crux of the argument is that once we construct the grid (whether in 2 or higher dimensions, with the appropriate grid-cell size), the points inside a cell become indistinguishable for our purposes (since we allow an ε\varepsilon-fraction loss), and the runtime depends only on the grid-size, which has no dependence on nn, and is only a function of (k,r,d,ε)(k,r,d,\varepsilon). Hence the runtime is f(k,r,d,ε)nO(1)f(k,r,d,\varepsilon)n^{O(1)}. We hope this clarifies the extension issue, and are happy to answer any further questions.

Reviewer XNMHOpenReview ↗
Rating
5/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 paper proposes the problem of finding diverse solutions with respect to Earth Mover Distance (EMD). The (k,, r)-diversity problem is: Given a set of points P, find sets S_1 \cdots S_r \subseteq P (each of size k) such that the pairwise EMD is maximized. This work provides fixed-parameter hardness results for general metrics as well as Euclidean metric spaces. Provide approximation algorithms for the cases (k, 2)-Diversity and (k, r) diversity (r < k).

Strengths and weaknesses

Strengths

The problem of computing diverse solutions wrt a distance measure is natural and interesting. The paper provides a reasonable motivation for why standard diversity metrics such as Hamming or Euclidean distance may not be the most appropriate metrics in NLP/ML settings. The paper is pretty comprehensive, considering several variants. General metrics, Euclidean, r= 2, r < k. The lowerbound result in the form of fixed parameter intractacibility complement the algorithmic results.

Weakness. The main weakness I find is the presentation of the proofs. For (k, 2), the athors provide proof for d =2 and say with minor modifucations it generalizes to high dimensions. However, with high dimensions, proofs could often get tricky. For example, in the proof 2\sqrt{2} is the length of the diagonal in the square, in high dimensions it is d\sqrt{d}. Moreover, the number of points outside the bounding box ios $2dk rather than 4k4k. How do these affect the proof? Perhaps a factor of dd might creep into the runtime. I would like to see more details before I am convinced of correctness.

Proof of Lemma 4.3: Last sentence says that lifting (A*, B*) to (P_A, P_B) preserves the distances. I do not see this. Can you provide a formal proof?

For (k, r) diversity, when r<kr < k: For r=2, max{\delta_x, \delta_y} \leq OPT/k. But when r>2r > 2, then this is only \leq OPT. Given this, it is not clear how the grid snapping and discretizing will affect the final proof. Extending thsi for high dimensions may furthur compound the proofs. Again, would like to see more detailed proofs.

Questions

Please see the weakness.

Another natural formulation of diverse solutions is to partition the set P into sets of size (approximately) n/r so that the pairwise distances are maximized. Could you comment on how your formulation compares to this partition-based variant? Is one more natural in certain applications?

Limitations

Yes

Final justification

The authors responded to my concerns about proof correctness.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. For (k,2)(k, 2), the athors provide proof for d=2d =2 and say with minor modifucations it generalizes to high dimensions. However, with high dimensions, proofs could often get tricky. For example, in the proof 2\sqrt{2} is the length of the diagonal in the square, in high dimensions it is d\sqrt{d}. Moreover, the number of points outside the bounding box is 2dk2dk rather than 4k4k. How does this affect the proof? Perhaps a factor of dd might creep into the runtime. I would like to see more details before I am convinced of correctness.

Response Yes, you are right about the 2\sqrt{2} becoming a d\sqrt{d}. This is why for higher dimensions we will use a finer grid (side length O(εδ/d)O(\varepsilon\delta/\sqrt d)), so that the distance between any two points inside a cell is at most εδ/4\varepsilon\delta/4, identical to the d=2d=2 setting, and the rest of the proof goes through unchanged. We do mention that the runtime depends on dd in Line 235, where we say runtime is f(k,d,ε)f(k,d,\varepsilon). For more details, please see the end of our response to Point 3 (extension to dd dimensions).

2. Proof of Lemma 4.3: Last sentence says that lifting (A∗,B∗)(A*, B*) to (PA,PB)(P_A, P_B) preserves the distances. I do not see this. Can you provide a formal proof?

Response

Thank you for the careful read and for pointing this out. Note that by the triangle inequality and Lemma 4.2 we can claim $ |d(g(p),g(q))-d(p,q)|\leq \varepsilon\delta$ (an extension of the claim in line 216216). Thus, during the last lifting, we will also lose an additive factor of kεδk\varepsilon\delta. We can simply absorb this loss by starting with a grid that is finer by a factor of two, which will take care of both losses. The running time stays f(k,ε)⋅nO(1)f(k,\varepsilon)\cdot n^{O(1)} with f(k,ε)=(k/ε)O(k)f(k,\varepsilon)=(k/\varepsilon)^{O(k)}, and the other statements of the paper remain unaffected. To make things clear, we can replace our existing proof with a more elaborate proof with the following changes.

  1. Finer grid. We use cells of size εδx42×εδy42\frac{\varepsilon\delta_x}{4\sqrt{2}}\times\frac{\varepsilon\delta_y}{4\sqrt{2}} in place of εδx22×εδy22\frac{\varepsilon\delta_x}{2\sqrt{2}}\times\frac{\varepsilon\delta_y}{2\sqrt{2}}.

We also extend gg to all of PP by putting g(p)=pg(p)=p for pp outside B\mathcal{B}, and write g(S)g(S) for the multiset {g(p):p∈S}\{g(p):p\in S\}.

Lemma 4.2 now reads: for every p∈Pp\in P, d(p,g(p))≤η:=εδ/4d(p,g(p))\le\eta:=\varepsilon\delta/4. The proof goes through verbatim. In Observation 4.2 the number of cells becomes 32/ε232/\varepsilon^2, so ∣G∣=O(1/ε2)|G|=O(1/\varepsilon^2) and f(k,ε)f(k,\varepsilon) is unchanged asymptotically.

  1. A distortion lemma. We isolate the following statement and use it twice, once when we pass to the grid and once when we lift back. We hope this also makes the argument easier to follow than the earlier one-line claim.

Lemma A: Let A,B⊆PA,B\subseteq P with ∣A∣=∣B∣=k|A|=|B|=k. Then

∣EMD(g(A),g(B))−EMD(A,B)∣≤2kη.\bigl|\mathrm{EMD}(g(A),g(B))-\mathrm{EMD}(A,B)\bigr|\le2k\eta.

Proof. Fix a bijection π:A→B\pi:A\to B. By the triangle inequality and Lemma 4.2, for every a∈Aa\in A,

∣d(a,π(a))−d(g(a),g(π(a)))∣≤d(a,g(a))+d(π(a),g(π(a)))≤2η,\bigl|d(a,\pi(a))-d(g(a),g(\pi(a)))\bigr|\le d(a,g(a))+d(\pi(a),g(\pi(a)))\le 2\eta,

and summing over the kk matched pairs,

∣∑a∈Ad(a,π(a))−∑a∈Ad(g(a),g(π(a)))∣≤2kη.(1)\Bigl|\sum_{a\in A}d(a,\pi(a))-\sum_{a\in A}d(g(a),g(\pi(a)))\Bigr|\le2 k\eta.\qquad (1)

Pairing g(a)g(a) with g(π(a))g(\pi(a)) for every a∈Aa\in A is a perfect matching between the multisets g(A)g(A) and g(B)g(B), which we call the matching induced by π\pi; its weight is the second sum in (1). Conversely every perfect matching between g(A)g(A) and g(B)g(B) is induced by some bijection A→BA\to B.

Let π⋆\pi^{\star} be the matching that attains EMD(A,B)\mathrm{EMD}(A,B). Since EMD(g(A),g(B))\mathrm{EMD}(g(A),g(B)) is the minimum weight of a perfect matching between g(A)g(A) and g(B)g(B), and the matching induced by π∗\pi^{*} is one such matching, applying (1) to π⋆\pi^{\star} gives

\begin{aligned} \mathrm{EMD}(g(A),g(B)) &\le \sum_{a\in A} d\left(g(a),g(\pi^{\star}(a))\right) &\le \sum_{a\in A} d(a,\pi^{\star}(a)) + 2k\eta &= \mathrm{EMD}(A,B) + 2k\eta, \end{aligned}

Similarly one can show that EMD(A,B)≤EMD(g(A),g(B))+2kη\mathrm{EMD}(A,B) \le\mathrm{EMD}(g(A),g(B))+ 2k\eta.

  1. We present Lemma 4.3 with updated proof. Lemma 4.3. EMD(PA,PB)≥(1−ε)OPT\mathrm{EMD}(P_A,P_B)\ge(1-\varepsilon)\mathrm{OPT}.

Proof. Let (Aopt,Bopt)(A_{opt},B_{opt}) be an optimal solution, so EMD(Aopt,Bopt)=OPT\mathrm{EMD}(A_{opt},B_{opt})=\mathrm{OPT}, and let (A^,B^)=(g(Aopt),g(Bopt))(\widehat{A},\widehat{B})=(g(A_{opt}),g(B_{opt})) be the combinatorial solution it induces, which is realizable because it comes from an actual pair of disjoint kk-subsets of PP. By Lemma A applied to (Aopt,Bopt)(A_{opt},B_{opt}),

EMD(A^,B^)≥OPT−2kη,\mathrm{EMD}(\widehat{A},\widehat{B})\ge\mathrm{OPT}-2k\eta,

and since (A,B)(A^{},B^{}) maximizes the objective over all realizable combinatorial solutions,

EMD(A,B)≥EMD(A^,B^)≥OPT−2kη.\mathrm{EMD}(A^{},B^{})\ge \mathrm{EMD}(\widehat{A},\widehat{B})\ge \mathrm{OPT}-2k\eta.

Lifting does not preserve the objective, but it distorts it by a bounded amount. Since g(PA)=Ag(P_A)=A^{} and g(PB)=Bg(P_B)=B^{} as multisets, Lemma A applied to (PA,PB)(P_A,P_B) gives

EMD(PA,PB)≥EMD(A,B)−2kη≥OPT−4kη.\mathrm{EMD}(P_A,P_B)\ge\mathrm{EMD}(A^{},B^{})-2k\eta\ge\mathrm{OPT}-4k\eta.

Finally η≤εδ/4\eta\le\varepsilon\delta/4 gives 4kη≤kεδ4k\eta\le k\varepsilon\delta, and Observation 4.1 gives δ≤OPT/k\delta\le\mathrm{OPT}/k, so 4kη≤ε OPT4k\eta\le\varepsilon\,\mathrm{OPT} and EMD(PA,PB)≥(1−ε)OPT\mathrm{EMD}(P_A,P_B)\ge(1-\varepsilon)\mathrm{OPT}.

We thank the reviewer once again for this comment. It has definitely improved the presentation of this section.

3. For (k,r)(k, r) diversity, when r<kr<k. For r=2r=2, max⁡(δx,δy)≤OPT/k\max{(\delta_x, \delta_y)} \leq OPT/k. But when r>2r>2, then this is only ≤OPT\leq OPT. Given this, it is not clear how the grid snapping and discretizing will affect the final proof. Extending this for high dimensions may furthur compound the proofs. Again, would like to see more detailed proofs.

Response To clarify the extension to r>2r>2 from r=2r=2 case, we use a grid with kk times more subdivisions in each coordinate. This changes only the parameter-dependent number of grid cells and enumerated configurations, while preserving the (1−ε)(1-\varepsilon)-approximation guarantee.

As you have correctly noticed, for r=2r=2, we have the stronger bound δ≤OPT/k\delta\leq OPT/k, and hence O(1/ε)O(1/\varepsilon) subdivisions per coordinate suffice. For general r≤kr\leq k, to retain the same approximation guarantee, we decrease the side length of each grid cell by a factor of kk (new grid size becomes εδ/(42k)×εδ/(42k)\varepsilon\delta/(4\sqrt{2}k) \times \varepsilon\delta/(4\sqrt{2}k)). Equivalently, in the plane, the area of each cell decreases by a factor of k2k^2, and hence the number of grid cells increases by a factor of k2k^2. Accordingly, the new snapping radius is ρ:=εδ/(4k)\rho:=\varepsilon\delta/(4k). Therefore, for every pair i≠ji\neq j, we have ∣OPT−EMD(Si,Sj)−OPT∣≤4kρ=εδ≤ε.OPT|OPT-EMD(S_i,S_j)-\mathrm{OPT}|\leq 4k\rho=\varepsilon\delta\leq\varepsilon.OPT (proved in the earlier response). Since this holds for every pair i≠ji\neq j, it also holds after taking the minimum over all pairs, which is precisely our diversity objective.

In the plane, the number of grid points/cells satisfies ∣G∣=O(k2/ε2)|G|=O(k^2/\varepsilon^2) (increasing by a k2k^2 factor from r=2 case). There are at most 4rk4rk input points outside the bounding box (compared to 4k points for r=2 case). For every one of the rr sets, we enumerate its selected outside points and its multiplicity vector over GG. The number of combinatorially distinct possibilities incease to (4rk+∣G∣)rkrrk{(4rk+|G|)}^{rk} r^{rk}. Since r≤kr\leq k and ∣G∣=O(k2/ε2)|G|=O(k^2/\varepsilon^2), this remains bounded by a function f(k,ε)f(k,\varepsilon).

The extension to Rd\mathbb{R}^d is as follows. While the bounding box in the plane is the intersection of two coordinate slabs, in Rd\mathbb{R}^d it is the intersection of dd coordinate slabs, each of width at most δ\delta. We use cells of side length εδ/(4kd)\varepsilon\delta/(4k\sqrt d), ensuring that the Euclidean distance between any two points inside a cell is at most εδ/(4k)=ρ\varepsilon\delta/(4k)=\rho. Consequently, ∣G∣≤(⌈4kd/ε⌉+1)d|G|\leq(\lceil 4k\sqrt d/\varepsilon\rceil+1)^d. Since at most 2rk2rk points lie outside each coordinate slab, at most 2drk2drk points lie outside the bounding box. Hence, the number of combinatorially distinct solutions is at most (2drk+∣G∣)rkrrk=f(k,r,d,ε)(2drk+|G|)^{rk}r^{rk}=f(k,r,d,\varepsilon). Since r≤kr\leq k, this is bounded by f(k,d,ε)f(k,d,\varepsilon), giving running time f(k,d,ε)nO(1)f(k,d,\varepsilon)n^{O(1)}.

We thank the reviewer for raising this point and will elaborate on these details in the final version of the paper.

4. Another natural formulation of diverse solutions is to partition the set PP into sets of size (approximately) n/rn/r so that the pairwise distances are maximized. Could you comment on how your formulation compares to this partition-based variant? Is one more natural in certain applications?

Response This is an interesting variant and we thank the reviewer for suggesting it! For r=2r=2, it is easy to see that our algorithms will return disjoint sets, but for r>2r>2 our problem formulation may not enforce a partition. While we don't immediately see an application that requires a partition to be enforced, we find that a similar graph-partitioning-based dispersion problem motivated by VLSI design was studied in [3,4], where the goal is to maximize the sum (over the rr sets in the partition) of the (k2){k \choose 2} inter-partition-point distances. With your permission, we will add this variant to our section on open problems! (Line 154, where we also pose other variants)

[3] Feo, Thomas A., and Mallek Khellaf. "A class of bounded approximation algorithms for graph partitioning.'' Networks 20.2 (1990): 181-195.

[4] Hassin, Refael, Shlomi Rubinstein, and Arie Tamir. ''Approximation algorithms for maximum dispersion.'' Operations research letters 21.3 (1997): 133-137.

Kindly let us know if we answered your questions satisfactorily and whether that helps you see our submission in a more positive light. We thank you for taking the time to review our work, and are happy to continue discussions if you have any other comments or suggestions!

Reviewer XNMH · CommentOpenReview ↗

Thank you for the detailed response; it definitely helps. I am now convinced of the correctness. My suggestion is to add some of these details to the proof of Lemma 4.3, subject to space constraints. I am increasing my score.

Authors · CommentOpenReview ↗

Thank you very much for the careful verification, and for updating the score!

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

They study the following problem: Given n points and integers k, r, find r subsets of size k maximizing the minimum pairwise EMD. Also, there is a Furthest k-Set variant: given one k-set, find the farthest one. They call the problem diversity. They study this problem in two distance settings: earth mover's distance/ Wasserstein-1 cacluclated on general/metric or Euclidean in d dimensions.

They have a hardness result for the problem. It is W[1] hard in the Euclidean setting. The furthest k-set variant is NP-hard. They prove this by reduction to the k-biclique problem.

Regarding algorithms: for the Euclidean setting, they give a (1-eps)-approximation of the problem in f(k,d,ϵ)nO(1)f(k,d,\epsilon)n^{O(1)} where f can be a polynomial; the point is that in small kk and dd, the answer is a small polynomial in n.

The main difficulty is that there are roughly nkn^k candidate subsets; they are far too many to enumerate. The idea is to argue that you don't need the exact points, only their approximate locations, and a few of these points can help. They build a way to group points and use one distance calculation to approximate the distance between the groups.

We know that computing EMD between a fixed pair is a matching problem; the result of the paper is that computing diverse EMD solutions relies on the underlying geometry, and the techniques look quite different as a result.

Strengths and weaknesses

Strengths: The problem is new. Studying the diversity for EMD is well motivated, for example, for finding contradictory texts.

Weaknesses: There are some typos in the paper that need fixing.

Questions

1- Lemma F.2: I do not understand how proving the statement for vector 1^k can be generalized. Can you explain?

2- Although the study of EMD is well motivated, the question is why this particular variant?

Limitations

no

Final justification

I will keep my initial rating.

Formatting concerns

no

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Lemma F.2: I do not understand how proving the statement for vector 1k1^k can be generalized. Can you explain?

Response Sure. The argument indeed works for any repeated binary vector υ∈{0,1}k\upsilon \in \{0,1\}^k, not necessarily the all-ones vector 1k1^k. In particular, for each coordinate ii, if υ(i)=1\upsilon(i)=1, we use pip_i, and otherwise we use qiq_i in the construction of PaP_a, while PbP_b consists of the corresponding kk points in RR sharing the same vector.

Thus, for every ii and every ρj∈Pb\rho_j \in P_b, the chosen point (either pip_i or qiq_i ) satisfies the required lower bound of w(pi,qi)/2w(p_i,q_i)/2. Hence, the argument holds for any vector υ\upsilon, and assuming the all-ones vector is without loss of generality. We will elaborate on this point in the revision.

2. Although the study of EMD is well motivated, the question is why this particular variant?

Response Thank you for this question. In lines 81-109 we present arguments as to why Hamming or Euclidean distances do not suffice for NLP and ML applications, and motivate the diversity problem in EMD metrics. We believe our formulation is the simplest and most natural diversity variant on EMD spaces in the discrete setting. First, it is a generalization of the well-studied [1,2,3,4] max-sum dispersion problem (k=1k=1 case of our problem); second, in the EMD metric space, points correspond to sets, and so finding diverse points correspond to finding diverse sets.

There are other important generalizations that we remarked on that seems very interesting. One could replace sets by probability distributions on the given metric space PP (Line 72). The Wasserstein distance in this case is defined by the optimal transport map. As we remarked, one must lower bound the entropy of such distributions (as otherwise the diameter of the metric space is a trivial solution). We believe this setting also makes sense when PP is a continuous metric space, but requires further techniques than the ones we presented in this work. Other variants where some structure is imposed on each set (matroid constraints, etc.), can be found in our future directions section (Line 154).

[1] Borodin, Allan, et al. "Max-sum diversification, monotone submodular functions, and dynamic updates." ACM Transactions on Algorithms (TALG) 13.3 (2017): 1-25.

[2] Gao, Jie, et al. "Obtaining approximately optimal and diverse solutions via dispersion." Latin American Symposium on Theoretical Informatics. Cham: Springer International Publishing, 2022.

[3] Feo, Thomas A., and Mallek Khellaf. "A class of bounded approximation algorithms for graph partitioning.'' Networks 20.2 (1990): 181-195.

[4] Hassin, Refael, Shlomi Rubinstein, and Arie Tamir. ''Approximation algorithms for maximum dispersion.'' Operations research letters 21.3 (1997): 133-137.

Kindly let us know if we answered your questions satisfactorily and whether that helps you see our submission in a more positive light. We thank you for taking the time to review our work, and are happy to continue discussions if you have any other comments or suggestions!

Reviewer 17qo · CommentOpenReview ↗

Thanks for the rebuttal.

Authors · CommentOpenReview ↗

Thanks for engaging in the discussions. If there are any questions or comments we could clarify to help you view our work in a more positive light, please do not hesitate to reach out!

Authors · CommentOpenReview ↗

Dear Reviewer 17qo

We appreciate the detailed review. The author-reviewer discussion period ends soon. If there are no further weaknesses/concerns to address, we will really appreciate it if you can reconsider your assessment in light of our rebuttals.

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

The paper addresses the problem of diversity maximization under the Earth Mover's Distance (EMD). The diversity maximization problem consists of finding a subset of k input points that maximizes the pairwise distance among them, and it has been studied under various distance functions. EMD is a distance measure for vectors that, unlike the Euclidean distance, allows vectors to be permuted in order to reduce their respective distance. The paper motivates the relevance of this problem to the machine learning community and addresses it from a theoretical perspective.

The main technical contribution of the paper is a set of approximate solutions to the diversity maximization problem, achieving running time that is polynomial in k (the number of coordinate in the vector), d (the dimension of each point of the vector), and r (the number of vectors in the final output). The main result builds a kind of epsilon-net over the input points and then performs an exhaustive search over the points of this net. Other results rely on projecting the d-dimensional problem into d separate 1-dimensional problems.

Strengths and weaknesses

Although I have verified only a few of the technical claims, the paper appears technically sound. Diversity maximization has been extensively studied, but this paper addresses a distance measure (i.e., EMD) that has not previously been considered in this context. The proposed solutions build on known techniques (e.g., epsilon-nets), but the results nonetheless appear novel and interesting.

The major weakness is that the running times are never stated explicitly. While the algorithms are claimed to run in polynomial time, the exponents are hidden behind big-O notation: it is unclear whether n^O(1) means n^2 or n^100, and this distinction clearly matters in practice. Similarly, the term depending on k, r, and d is only expressed abstractly as a function of these parameters, without an explicit bound. For instance, given the curse of dimensionality, one would expect this term to depend exponentially on the dimension d, but the paper's bound does not make this dependency explicit.

Questions

I think the paper would benefit from a clear, explicit statement of the running times in the main text.

Other minor points:

  • The related work section is very short. I acknowledge that several references are already given in the introduction; my suggestion is either to move (or recall) some of them into the related work section, or to remove the "Related Work" section heading altogether.
  • Furthest k-Set is proven to be NP-hard. Unless I missed it in the paper, has the DIV problem also been shown to be NP-hard?
  • Line 121: what does X refer to in the block defining diversity maximization?
  • Line 297: what do A and B represent? Do they denote the pair achieving the maximum diversity?
Limitations

yes

Formatting concerns

none

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

1. Running times are never stated explicitly. It is unclear whether nO(1)n^O(1) means n2n^2 or n100n^{100}.

Response We thank the reviewer for requesting explicit running times and agree that stating them will make the practical dependence of our algorithms clearer. As summarized below, perhaps surpisingly, the dependence on nn is near-linear for our Euclidean algorithms and Furthest kk-Set, and near-quadratic for the metric color-coding algorithms! You are correct, of course, about the unfortunately-exponential dependence on the dimension dd. We will add the following explicit bounds to the corresponding theorem statements and summary table in the final version.

Let g2=(⌈4d/ε⌉+1)dg_2=(\lceil 4\sqrt{d}/\varepsilon\rceil+1)^d and gk=(⌈4kd/ε⌉+1)dg_k=(\lceil 4k\sqrt{d}/\varepsilon\rceil+1)^d. An upper bound on the running time of the Euclidean EPAS for r=2r=2 is O(dnlog⁡n+(2dk+g2)2k22k(k3+dk2))O(dn\log n+(2dk+g_2)^{2k}2^{2k}(k^3+dk^2)) and for r≤kr\leq k is O(dnlog⁡n)+(2drk+gk)rkrrk+2(dk2+k3)O(dn\log n)+ (2drk+g_k)^{rk}r^{rk+2}(dk^2+k^3).

While improving the dependence on dd is an important avenue, we remark that for constant dd this is an EPAS, while if dd is high we can apply dimension reduction techniques and reduce dd to O(log⁡n/(ε/k)2)O(\log n/ (\varepsilon/k)^2).

A practical highlight of our paper, the projection-based dd-approximation runs in O(dnlog⁡n)O(dn\log n) time.

For metric Furthest kk-Set, grouping points by rounded distance signatures gives running time O(nk+2k(k+ηk)k3)O(nk+2^k\binom{k+\eta}{k}k^3), where η=k(⌈2/ε⌉+2)k\eta=k(\lceil 2/\varepsilon\rceil+2)^k. An upper bound for the randomized metric 22-approximation is O(2O(k2)+ke2kn2)O(2^{O(k^2)}+ke^{2k}n^2). Using a 2k2k-perfect hash family gives a deterministic running time of O(2O(k2)+e2kk2k+O(log⁡k)n2log⁡n)O(2^{O(k^2)}+e^{2k}k^{2k+O(\log k)}n^2\log n).

2. We agree with your suggestions about the related work section, and will update accordingly.

3. Furthest k-Set is proven to be NP-hard. Unless I missed it in the paper, has the DIV problem also been shown to be NP-hard?

Response Yes; already the case when k=1k=1 and rr is arbitrary is the well-studied max-sum dispersion problem, known to be NP-complete [1]. In fact, obtaining a polynomial (in nn and rr) time (2−ε)(2-\varepsilon) approx. for this variant is unlikely assuming the inapproximability of the densest subgraph problem, that can also be deduced from the Exponential Time Hypothesis [1,2]. We will highlight this fact that our problem is a generalization of the max-sum dispersion problem.

[1] Borodin, Allan, et al. "Max-sum diversification, monotone submodular functions, and dynamic updates." ACM Transactions on Algorithms (TALG) 13.3 (2017): 1-25.

[2] Gao, Jie, et al. "Obtaining approximately optimal and diverse solutions via dispersion." Latin American Symposium on Theoretical Informatics. Cham: Springer International Publishing, 2022.

4. Line 121: what does XX refer to in the block defining diversity maximization?

Response We intended for (X,d)(X,d) to be the ambient space containing PP, but our results are for X=PX=P; we will clarify this.

5. Line 297: what do A and B represent? Do they denote the pair achieving the maximum diversity?

Response Yes.

Kindly let us know if we answered your questions satisfactorily and whether that helps you see our submission in a more positive light. We thank you for taking the time to review our work, and are happy to continue discussions if you have any other comments or suggestions!

Reviewer 3Wh8 · CommentOpenReview ↗

Thanks for the rebuttal.

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

Missing a submission?

Loading the discussion…