Abstract
The Multiple Longest Common Subsequence (MLCS) problem is a cornerstone of bioinformatics, essential for identifying conserved regions in DNA and protein sequences. However, traditional dynamic programming (DP) approaches face the "curse of dimensionality," with complexity scaling exponentially as $O(n^d)$. This paper presents Quick-DP, a novel sequential algorithm, and Quick-DPPAR, its parallel implementation. By employing a fast divide-and-conquer technique to identify "dominant points" within the search space, these algorithms achieve speedups of up to 1,000x over previous state-of-the-art methods like FAST-LCS. Experimental evaluations on both synthetic and biological datasets demonstrate near-linear scalability and significant computational efficiency.
Introduction
Finding the Longest Common Subsequence (LCS) of two strings is a standard problem in computer science. However, extending this to multiple sequences (MLCS) is significantly more complex. In biological contexts, such as comparing DNA or protein sequences across multiple species, the number of sequences ($d$) and their lengths ($n$) can make standard $O(n^d)$ DP approaches computationally infeasible.
Methodology: The Power of Dominant Points
The primary innovation of this work is the focus on dominant points. In a multi-dimensional DP table, the vast majority of entries are redundant and do not contribute to the optimal solution. Dominant points represent the minimal set of matches that could potentially form part of an LCS.
Quick-DP identifies these points level by level using a novel divide-and-conquer technique. By partitioning points into independent subsets, the algorithm avoids the redundant comparisons that hindered earlier dominant-point-based methods.
Parallelization with Quick-DPPAR
To further enhance performance, the authors developed Quick-DPPAR. This parallel version utilizes a master-slave architecture to distribute the calculation of dominant points. Unlike previous parallel MLCS algorithms that were limited by alphabet size (e.g., only 4 threads for DNA), Quick-DPPAR parallelizes the internal nodes of the divide-and-conquer tree, allowing it to scale effectively across many processors regardless of the alphabet.
Experimental Evaluation
The algorithms were benchmarked using synthetic sequences (random strings with alphabet sizes $|\Sigma|=4$ and $|\Sigma|=20$) and real-world biological data, specifically 11 protein sequences from the melanin-concentrating hormone receptors (MCHR) family.
Key Results
The performance gains were most dramatic as sequence length and the number of sequences increased. As shown in the figure below, Quick-DP maintains near-zero execution time while competing algorithms like FAST-LCS and Hakata and Imai’s C algorithm experience exponential growth in processing time.
Specifically, on random DNA sequences of length 140, Quick-DP was over 1,000 times faster than FAST-LCS. For real-world biological data involving 11 MCHR proteins, the parallel Quick-DPPAR reduced computation time from 939 seconds (sequential) to just 185 seconds using 8 threads, demonstrating near-linear speedup.
Conclusion
Quick-DP and Quick-DPPAR represent a significant advancement in solving the MLCS problem. By intelligently pruning the search space to dominant points and leveraging a highly parallelizable divide-and-conquer strategy, these algorithms overcome the traditional bottlenecks of multi-sequence alignment. Future work may address memory constraints in extremely high-dimensional spaces and explore performance across more diverse sequence similarity profiles.
Summary updated