[Paper Review] k-medoids and p-median clustering are solvable in polynomial time for a 2d Pareto front
This paper proves that k-medoids and p-median clustering on a 2D Pareto front are solvable in polynomial time using a dynamic programming algorithm. The key contribution is an O(N³) time and O(KN) space algorithm for K ≥ 3, with O(N²) for K=2, leveraging a novel characterization of optimal clusters via interval clustering and cost monotonicity properties.
This paper examines a common extension of k-medoids and k-median clustering in the case of a two-dimensional Pareto front, as generated by bi-objective optimization approaches. A characterization of optimal clusters is provided, which allows to solve the optimization problems to optimality in polynomial time using a common dynamic programming algorithm. More precisely, having $N$ points to cluster in $K$ subsets, the complexity of the algorithm is proven in $O(N^3)$ time and $O(K.N)$ memory space when $K\geqslant 3$, cases $K=2$ having a time complexity in $O(N^2)$. Furthermore, speeding-up the dynamic programming algorithm is possible avoiding useless computations, for a practical speed-up without improving the complexity. Parallelization issues are also discussed, to speed-up the algorithm in practice.
Motivation & Objective
- To address the challenge of selecting K representative solutions from a large set of non-dominated solutions in bi-objective optimization.
- To prove that k-medoids and p-median clustering on a 2D Pareto front are solvable in polynomial time, despite being NP-hard in general.
- To develop an efficient dynamic programming algorithm that computes the global optimal solution for this special case.
- To provide practical speedups through pruning strategies and parallelization without altering the asymptotic complexity.
- To lay foundations for future heuristics and approximation algorithms for higher-dimensional Pareto fronts.
Proposed method
- The authors introduce a unified formulation of k-medoids and p-median clustering on 2D Pareto fronts, using a cost function fα that generalizes both problems.
- They prove that optimal clusters in a 2D Pareto front must be contiguous intervals in the sorted order of points, enabling dynamic programming.
- A dynamic programming recurrence is defined over the number of clusters K and the number of points N, with state M_{k,i} representing the minimum cost to cluster the first i points into k clusters.
- The algorithm uses a key property: the cost function fα is monotonic in the cluster boundaries, allowing early stopping in inner loops.
- Pruning strategies are applied using bounds derived from Lemma 7 and Lemma 8 to avoid unnecessary cost computations.
- Parallelization is enabled by identifying independent computations in inner loops, particularly in the cost computation phases, using frameworks like OpenMP.
Experimental results
Research questions
- RQ1Can k-medoids and p-median clustering on a 2D Pareto front be solved in polynomial time, despite their NP-hardness in general planar cases?
- RQ2What structural properties of 2D Pareto fronts allow for a dynamic programming solution?
- RQ3How can the dynamic programming algorithm be optimized in practice without improving its asymptotic complexity?
- RQ4What are the tightest bounds on the optimal cluster separation index that allow early termination of computations?
- RQ5Can the algorithm be efficiently parallelized to improve practical runtime on large Pareto fronts?
Key findings
- The k-medoids and p-median clustering problems on a 2D Pareto front are solvable in polynomial time using dynamic programming.
- The time complexity is O(N³) for K ≥ 3 and O(N²) for K = 2, with space complexity O(KN).
- The algorithm leverages the interval clustering property, proving that optimal clusters are contiguous in the sorted order of the Pareto front.
- Pruning strategies based on upper and lower bounds on the optimal cluster separation index reduce the number of costly fα computations.
- Parallelization of inner loops in the cost computation phase is feasible and effective, especially for large N, without changing the asymptotic complexity.
- For K=1 and α>1, the problem can be solved in O(N log N) time when the 2D Pareto front is convex or concave.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.