arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 1604.01166cs.DBcs.AI
收藏

基于约束规划的频繁序列挖掘算法

An Efficient Algorithm for Mining Frequent Sequence with Constraint Programming

UCLouvain(鲁汶天主教大学);KU Leuven(荷语鲁汶大学)

John O. R. Aoga, Tias Guns, Pierre Schaus

摘要:

用于序列模式挖掘(SPM)的约束编程(CP)方法的主要优点是它们的模块化,其中包括添加新约束(正则表达式,长度限制等)的能力。目前SPM的最佳CP方法使用全局约束(模块)来计算投影数据库并强制执行最小频率;它使用类似于PrefixSpan方法的过滤算法来实现这一点。然而,最终的系统不像一些最先进的采矿系统,如Zaki的cSPADE那样可扩展。我们展示了如何使用技术从数据采掘和CP,可以使用一个通用的约束求解器,但优于现有的专业系统。这主要是由于计算投影频率的模块中的两个改进:首先,可以通过预先计算符号可能变得不被序列支持的位置来加速计算投影数据库,从而避免每次扫描整个序列;第二,从CP求解器中使用的跟踪中获得灵感,设计了一个回溯-感知数据结构,允许快速增量存储和恢复投影数据库。详细的实验显示了这种方法如何优于现有的CP以及SPM的专用系统,并且效率的提高直接转化为其他设置的效率提高,例如使用正则表达式进行挖掘。

英文摘要:

The main advantage of Constraint Programming (CP) approaches for sequential pattern mining (SPM) is their modularity, which includes the ability to add new constraints (regular expressions, length restrictions, etc). The current best CP approach for SPM uses a global constraint (module) that computes the projected database and enforces the minimum frequency; it does this with a filtering algorithm similar to the PrefixSpan method. However, the resulting system is not as scalable as some of the most advanced mining systems like Zaki's cSPADE. We show how, using techniques from both data mining and CP, one can use a generic constraint solver and yet outperform existing specialized systems. This is mainly due to two improvements in the module that computes the projected frequencies: first, computing the projected database can be sped up by pre-computing the positions at which an symbol can become unsupported by a sequence, thereby avoiding to scan the full sequence each time; and second by taking inspiration from the trailing used in CP solvers to devise a backtracking-aware data structure that allows fast incremental storing and restoring of the projected database. Detailed experiments show how this approach outperforms existing CP as well as specialized systems for SPM, and that the gain in efficiency translates directly into increased efficiency for other settings such as mining with regular expressions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑