最长公共子序列解服务中的最长公共子串:一种新型超启发式方法
Longest Common Substring in Longest Common Subsequence's Solution Service: A Novel Hyper-Heuristic
AI总结:
针对LCS求解器难以适配不同字符串集合且现有超启发式效率不足的问题,本文提出基于相似性分类的$S^2D$算法及新型超启发式,以自动选择最佳启发式,并在基准数据集上提升解质量与运行效率。
摘要:
最长公共子序列(LCS)问题是指在一组字符串中寻找一个子序列,该子序列具有两个特性:对所有字符串都是公共的,并且是最长的。LCS在计算生物学、文本编辑等众多领域都有应用。由于一般最长公共子序列问题具有NP困难性,研究者提出了大量启发式算法和求解器,以便针对不同字符串集合给出尽可能好的解。但没有任何一种方法能在所有类型的集合上都取得最佳性能。此外,目前也不存在一种能够判定给定字符串集合类型的方法。除此之外,现有超启发式方法在现实应用中求解该问题时还不够高效和快速。本文提出一种新型超启发式方法来求解最长公共子序列问题,该方法采用一种新的准则,根据字符串集合的相似性对其进行分类。为此,我们提供了一个通用随机框架,用于识别给定字符串集合的类型。随后,我们基于该框架介绍了集合相似性二分器($S^2D$)算法,该算法将集合类型划分为两类。该算法在本文中首次提出,为超越当前LCS求解器开辟了一条新途径。接着,我们提出一种新型超启发式方法,它利用$S^2D$以及集合的一个内部属性,从一组启发式方法中选择最匹配的启发式方法。我们在基准数据集上将所得结果与最佳启发式方法和超启发式方法进行了比较。结果表明,我们提出的超启发式方法在解的质量和运行时间两方面都具有更高性能。
英文摘要:
The Longest Common Subsequence (LCS) is the problem of finding a subsequence among a set of strings that has two properties of being common to all and is the longest. The LCS has applications in computational biology and text editing, among many others. Due to the NP-hardness of the general longest common subsequence, numerous heuristic algorithms and solvers have been proposed to give the best possible solution for different sets of strings. None of them has the best performance for all types of sets. In addition, there is no method to specify the type of a given set of strings. Besides that, the available hyper-heuristic is not efficient and fast enough to solve this problem in real-world applications. This paper proposes a novel hyper-heuristic to solve the longest common subsequence problem using a novel criterion to classify a set of strings based on their similarity. To do this, we offer a general stochastic framework to identify the type of a given set of strings. Following that, we introduce the set similarity dichotomizer ($S^2D$) algorithm based on the framework that divides the type of sets into two. This algorithm is introduced for the first time in this paper and opens a new way to go beyond the current LCS solvers. Then, we present a novel hyper-heuristic that exploits the $S^2D$ and one of the internal properties of the set to choose the best matching heuristic among a set of heuristics. We compare the results on benchmark datasets with the best heuristics and hyper-heuristics. The results show a higher performance of our proposed hyper-heuristic in both quality of solutions and run time factors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。