An Adaptive CMSA for Solving the Longest Filled Common Subsequence Problem with an Application in Audio Querying
By: Marko Djukanovic , Christian Blum , Aleksandar Kartelj and more
Potential Business Impact:
Finds patterns in DNA and music faster.
This paper addresses the Longest Filled Common Subsequence (LFCS) problem, a challenging NP-hard problem with applications in bioinformatics, including gene mutation prediction and genomic data reconstruction. Existing approaches, including exact, metaheuristic, and approximation algorithms, have primarily been evaluated on small-sized instances, which offer limited insights into their scalability. In this work, we introduce a new benchmark dataset with significantly larger instances and demonstrate that existing datasets lack the discriminative power needed to meaningfully assess algorithm performance at scale. To solve large instances efficiently, we utilize an adaptive Construct, Merge, Solve, Adapt (CMSA) framework that iteratively generates promising subproblems via component-based construction and refines them using feedback from prior iterations. Subproblems are solved using an external black-box solver. Extensive experiments on both standard and newly introduced benchmarks show that the proposed adaptive CMSA achieves state-of-the-art performance, outperforming five leading methods. Notably, on 1,510 problem instances with known optimal solutions, our approach solves 1,486 of them -- achieving over 99.9% optimal solution quality and demonstrating exceptional scalability. We additionally propose a novel application of LFCS for song identification from degraded audio excerpts as an engineering contribution, using real-world energy-profile instances from popular music. Finally, we conducted an empirical explainability analysis to identify critical feature combinations influencing algorithm performance, i.e., the key problem features contributing to success or failure of the approaches across different instance types are revealed.
Similar Papers
A faster algorithm for efficient longest common substring calculation for non-parametric entropy estimation in sequential data
Data Structures and Algorithms
Finds patterns faster in data streams.
Space-Efficient and Output-Sensitive Algorithms for the Longest Common Bitonic Subsequence
Data Structures and Algorithms
Finds patterns that go up then down in data.
A Space-Efficient Algorithm for Longest Common Almost Increasing Subsequence of Two Sequences
Data Structures and Algorithms
Finds longest shared number list with a small difference.