Maximizing Diversity in (near-)Median String Selection
Diptarka Chakraborty, Rudrayan Kundu, Nidhi Purohit, Aravinda Kanchana Ruwanpathirana
TL;DR
This work initiates a systematic study of generating diverse near-optimal Hamming medians. It provides an exact diameter-focused algorithm to yield two maximally diverse medians, and develops approximation schemes for sum dispersion, including a PTAS, as well as bi-criteria and LP-based approaches for min dispersion to produce multiple diverse near-medians. By exploiting the structure of the Hamming median space and linking to error-correcting codes, the results offer practical methods for robust, diverse consensus strings. The findings have potential applications in motifs discovery, prototype design, and robust decision-making where solution diversity matters.
Abstract
Given a set of strings over a specified alphabet, identifying a median or consensus string that minimizes the total distance to all input strings is a fundamental data aggregation problem. When the Hamming distance is considered as the underlying metric, this problem has extensive applications, ranging from bioinformatics to pattern recognition. However, modern applications often require the generation of multiple (near-)optimal yet diverse median strings to enhance flexibility and robustness in decision-making. In this study, we address this need by focusing on two prominent diversity measures: sum dispersion and min dispersion. We first introduce an exact algorithm for the diameter variant of the problem, which identifies pairs of near-optimal medians that are maximally diverse. Subsequently, we propose a $(1-ε)$-approximation algorithm (for any $ε>0$) for sum dispersion, as well as a bi-criteria approximation algorithm for the more challenging min dispersion case, allowing the generation of multiple (more than two) diverse near-optimal Hamming medians. Our approach primarily leverages structural insights into the Hamming median space and also draws on techniques from error-correcting code construction to establish these results.
