- Rating
- 5
- Clarity
- 2
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
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 is the length of the diagonal in the square, in high dimensions it is . Moreover, the number of points outside the bounding box ios $2dk rather than . How do these affect the proof? Perhaps a factor of 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 : For r=2, max{\delta_x, \delta_y} \leq OPT/k. But when , 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
Paper formatting concerns
None
Final justification
The authors responded to my concerns about proof correctness.
1. 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 is the length of the diagonal in the square, in high dimensions it is d. Moreover, the number of points outside the bounding box is 2dk rather than 4k. How does this affect the proof? Perhaps a factor of d 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 becoming a d. This is why for higher dimensions we will use a finer grid (side length O(εδ/d)), so that the distance between any two points inside a cell is at most εδ/4, identical to the d=2 setting, and the rest of the proof goes through unchanged. We do mention that the runtime depends on d in Line 235, where we say runtime is f(k,d,ε). For more details, please see the end of our response to Point 3 (extension to d dimensions).
2. Proof of Lemma 4.3: Last sentence says that lifting (A∗,B∗) to (PA,PB) 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 216). Thus, during the last lifting, we will also lose an additive factor of kεδ. 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) with f(k,ε)=(k/ε)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.
We also extend g to all of P by putting g(p)=p for p outside B, and write g(S) for the multiset {g(p):p∈S}.
Lemma 4.2 now reads: for every p∈P, d(p,g(p))≤η:=εδ/4. The proof goes through verbatim. In Observation 4.2 the number of cells becomes 32/ε2, so ∣G∣=O(1/ε2) and f(k,ε) is unchanged asymptotically.
Lemma A: Let A,B⊆P with ∣A∣=∣B∣=k. Then EMD(g(A),g(B))−EMD(A,B)≤2kη.
Proof. Fix a bijection π:A→B. By the triangle inequality and Lemma 4.2, for every a∈A, d(a,π(a))−d(g(a),g(π(a)))≤d(a,g(a))+d(π(a),g(π(a)))≤2η, and summing over the k matched pairs, ∑a∈Ad(a,π(a))−∑a∈Ad(g(a),g(π(a)))≤2kη.(1) Pairing g(a) with g(π(a)) for every a∈A is a perfect matching between the multisets g(A) and g(B), which we call the matching induced by π; its weight is the second sum in (1). Conversely every perfect matching between g(A) and g(B) is induced by some bijection A→B.
Let π⋆ be the matching that attains EMD(A,B). Since EMD(g(A),g(B)) is the minimum weight of a perfect matching between g(A) and g(B), and the matching induced by π∗ is one such matching, applying (1) to π⋆ 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η.
Proof. Let (Aopt,Bopt) be an optimal solution, so EMD(Aopt,Bopt)=OPT, and let (A,B)=(g(Aopt),g(Bopt)) be the combinatorial solution it induces, which is realizable because it comes from an actual pair of disjoint k-subsets of P. By Lemma A applied to (Aopt,Bopt), EMD(A,B)≥OPT−2kη, and since (A,B) maximizes the objective over all realizable combinatorial solutions, EMD(A,B)≥EMD(A,B)≥OPT−2kη. Lifting does not preserve the objective, but it distorts it by a bounded amount. Since g(PA)=A and g(PB)=B as multisets, Lemma A applied to (PA,PB) gives EMD(PA,PB)≥EMD(A,B)−2kη≥OPT−4kη. Finally η≤εδ/4 gives 4kη≤kεδ, and Observation 4.1 gives δ≤OPT/k, so 4kη≤εOPT and EMD(PA,PB)≥(1−ε)OPT.
We thank the reviewer once again for this comment. It has definitely improved the presentation of this section.
3. For (k,r) diversity, when r<k. For r=2, max(δx,δy)≤OPT/k. But when r>2, then this is only ≤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>2 from r=2 case, we use a grid with k times more subdivisions in each coordinate. This changes only the parameter-dependent number of grid cells and enumerated configurations, while preserving the (1−ε)-approximation guarantee.
As you have correctly noticed, for r=2, we have the stronger bound δ≤OPT/k, and hence O(1/ε) subdivisions per coordinate suffice. For general r≤k, to retain the same approximation guarantee, we decrease the side length of each grid cell by a factor of k (new grid size becomes εδ/(42k)×εδ/(42k)). Equivalently, in the plane, the area of each cell decreases by a factor of k2, and hence the number of grid cells increases by a factor of k2. Accordingly, the new snapping radius is ρ:=εδ/(4k). Therefore, for every pair i=j, we have ∣OPT−EMD(Si,Sj)−OPT∣≤4kρ=εδ≤ε.OPT (proved in the earlier response). Since this holds for every pair i=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) (increasing by a k2 factor from r=2 case). There are at most 4rk input points outside the bounding box (compared to 4k points for r=2 case). For every one of the r sets, we enumerate its selected outside points and its multiplicity vector over G. The number of combinatorially distinct possibilities incease to (4rk+∣G∣)rkrrk. Since r≤k and ∣G∣=O(k2/ε2), this remains bounded by a function f(k,ε).
The extension to Rd is as follows. While the bounding box in the plane is the intersection of two coordinate slabs, in Rd it is the intersection of d coordinate slabs, each of width at most δ. We use cells of side length εδ/(4kd), ensuring that the Euclidean distance between any two points inside a cell is at most εδ/(4k)=ρ. Consequently, ∣G∣≤(⌈4kd/ε⌉+1)d. Since at most 2rk points lie outside each coordinate slab, at most 2drk points lie outside the bounding box. Hence, the number of combinatorially distinct solutions is at most (2drk+∣G∣)rkrrk=f(k,r,d,ε). Since r≤k, this is bounded by f(k,d,ε), giving running time f(k,d,ε)nO(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 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?
Response This is an interesting variant and we thank the reviewer for suggesting it! For r=2, it is easy to see that our algorithms will return disjoint sets, but for r>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 r sets in the partition) of the (2k) 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!