Abstract
The Longest Common Subsequence (LCS) problem is a fundamental challenge in computer science with broad applications in computational biology, text processing, and data compression. While finding the LCS of two strings is computationally efficient, the Multi-LCS problem—finding the LCS of an arbitrary number of sequences—is NP-complete. Previous research established that Multi-LCS is hard to approximate within an $n^{1-\delta}$ factor, but these results relied on an alphabet size proportional to the string length ($\Omega(n)$). This paper addresses the gap in complexity theory regarding sub-linear alphabet sizes. By providing a polynomial-time reduction from the Densest $k$-Subgraph problem, we demonstrate that Multi-LCS remains hard to approximate even over small alphabets. Specifically, assuming the Exponential Time Hypothesis (ETH), no polynomial-time algorithm can achieve an $n^{-o(1)}$-factor approximation for Multi-LCS over an alphabet of size $n^{o(1)}$.
Introduction
The Longest Common Subsequence (LCS) problem is a cornerstone of string algorithms, famously utilized in tools like diff and in biological sequence alignment. In its basic form, the problem asks for the longest string that is a subsequence of all input strings. For two strings of length $n$, the problem is solvable in $O(n^2)$ time. However, when the number of input strings is arbitrary (Multi-LCS), the problem becomes NP-complete.
In approximation theory, the goal is to determine how closely a polynomial-time algorithm can estimate the optimal solution. Jiang and Li (1995) proved that Multi-LCS is as hard to approximate as Max-Clique, implying a hardness factor of $n^{1-\delta}$. However, their reduction required an alphabet size nearly as large as the strings themselves. In practice, many applications involve small alphabets (e.g., the four bases of DNA or binary code). Until this work, it was unknown whether Multi-LCS remained difficult to approximate under these constraints, especially since a simple $1/|\Sigma|$-factor approximation is always achievable.
Methodology: Bridging Graphs and Strings
To prove hardness for small alphabets, this research employs a sophisticated two-step polynomial-time reduction that translates graph-theoretic density into string similarity.
1. From Max-Clique to Multi-LCS
The reduction begins with the framework established by Jiang and Li, where a clique of size $k$ in a graph corresponds to an LCS of length $k$ in a set of strings. In this high-alphabet setting, each vertex in the graph is represented by a unique symbol.
2. Alphabet Reduction via Synchronization Strings
To shrink the alphabet, the authors replace each unique symbol $a_i$ with a "block" $S_i$ constructed over a much smaller alphabet $\Sigma'$. The primary challenge in this replacement is "accidental matching": parts of a block $S_i$ might inadvertently match parts of $S_j$, creating a long common subsequence that does not reflect the original graph structure.
To mitigate this, the authors utilize long-distance synchronization strings. These sequences are engineered such that the LCS between any two distinct blocks $S_i$ and $S_j$ is bounded by a small constant $\alpha$ relative to the block length $m$. This ensures that any significant common subsequence must primarily consist of matches between identical blocks.
3. Mapping to Densest $k$-Subgraph (DkS)
Because small alphabets inevitably introduce some "noise" (minor overlaps between different blocks), a direct reduction from Max-Clique is insufficient. Instead, the authors reduce from the Densest $k$-Subgraph problem. They prove that a sufficiently long common subsequence in the constructed strings must correspond to a subgraph with high edge density. By leveraging the known hardness of DkS, they establish the hardness of Multi-LCS.
Key Results
The paper provides two primary theoretical contributions:
- Theorem 1.1: Under the Exponential Time Hypothesis (ETH), there is no polynomial-time algorithm that can provide an $n^{-o(1)}$-factor approximation for Multi-LCS over an alphabet of size $n^{o(1)}$.
- Theorem 1.2: The authors establish a formal reduction showing that a $2\gamma$-approximation for Multi-LCS over an alphabet of size $O(1/\beta^6)$ would imply a $(\gamma^2/4)$-approximation for the Densest $k$-Subgraph problem.
These results effectively rule out the existence of efficient poly-logarithmic factor approximation algorithms for Multi-LCS on sub-linear alphabets, significantly tightening the known lower bounds for this problem.
Conclusion and Future Work
This work represents a significant advancement in understanding the complexity of string problems. By proving that Multi-LCS is hard to approximate even with small alphabets, the authors close a long-standing gap between theoretical hardness and practical instances.
However, two major challenges remain. First, while the paper covers $n^{o(1)}$ alphabets, proving similar hardness for fixed constant alphabets (such as binary) remains an open problem. Second, there is still a gap between the best known approximation algorithm ($1/|\Sigma|$) and the hardness limits established here. Future research into the hardness of DkS may provide the tools necessary to bridge these remaining gaps.
Summary updated