Hierarchical Pattern Mining with the Automata Processor

被引:4
|
作者
Wang, Ke [1 ]
Sadredini, Elaheh [1 ]
Skadron, Kevin [1 ]
机构
[1] Univ Virginia, Dept Comp Sci, 85 Engineers Way, Charlottesville, VA 22904 USA
基金
美国国家科学基金会;
关键词
Data mining; Automata Processor; Sequential pattern mining; Disjunctive rule mining; Finite automaton; SEQUENTIAL PATTERNS; PARALLEL; ALGORITHMS; EFFICIENT;
D O I
10.1007/s10766-017-0489-y
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Mining complex patterns with hierarchical structures becomes more and more important to understand the underlying information in large and unstructured databases. When compared with a set-mining problem or a string-mining problem, the computation complexity to recognize a pattern with hierarchical structure, and the large associated search space, make hierarchical pattern mining (HPM) extremely expensive on conventional processor architectures. We propose a flexible, hardware-accelerated framework for mining hierarchical patterns with Apriori-based algorithms, which leads to multi-pass pruning strategies but exposes massive parallelism. Under this framework, we implemented two widely used HPM techniques, sequential pattern mining (SPM) and disjunctive rule mining (DRM) on the Automata Processor (AP), a hardware implementation of non-deterministic finite automata (NFAs). Two automaton-design strategies for matching and counting different types of hierarchical patterns, called linear design and reduction design, are proposed in this paper. To generalize automaton structure for SPM, the linear design strategy is proposed by flattening sequential patterns to plain strings to produce automaton design space and to minimize the overhead of reconfiguration. Up to 90 and 29 speedups are achieved by the AP-accelerated algorithm on six real-world datasets, when compared with the optimized multicore CPU and GPU GSP implementations, respectively. The proposed CPU-AP solution also outperforms the state-of-the-art PrefixSpan and SPADE algorithms on a multicore CPU by up to 452 and 49 speedups. The AP advantage grows further with larger datasets. For DRM, the reduction design strategy is adopted by applying reduction operation of AND, with on-chip Boolean units, on several parallel sub-structures for recognizing disjunctive items. This strategy allows implicit OR reduction on alternative items within a disjunctive item by utilizing bit-wise parallelism feature of the on-chip state units. The experiments show up to 614 speedups of the proposed CPU-AP DRM solution over a sequential CPU algorithm on two real-world datasets. The experiments also show significant increase of CPU matching-and-counting time when increasing d-rule size or the number of alternative items. However, in practical cases, the AP solution runs hundreds of times faster in matching and counting than the CPU solution, and keeps constant processing time despite the increasing complexity of disjunctive rules.
引用
收藏
页码:376 / 411
页数:36
相关论文
共 50 条
  • [21] RHPTree-Risk Hierarchical Pattern Tree for Scalable Long Pattern Mining
    Liu, Danlu
    Li, Yu
    Baskett, William
    Lin, Dan
    Shyu, Chi-Ren
    ACM TRANSACTIONS ON KNOWLEDGE DISCOVERY FROM DATA, 2022, 16 (04)
  • [22] Programming Techniques for the Automata Processor
    Roy, Indranil
    Srivastava, Ankit
    Aluru, Srinivas
    PROCEEDINGS 45TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING - ICPP 2016, 2016, : 205 - 210
  • [23] Automata Processing: The Memory Is the Processor!
    Stan, Mircea
    Skadron, Kevin
    IEEE MICRO, 2016, 36 (01) : 7 - 8
  • [24] Interval stabbing on the Automata Processor
    Roy, Indranil
    Srivastava, Ankit
    Grimm, Matt
    Aluru, Srinivas
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2020, 135 : 234 - 245
  • [25] Toward Dynamic Scene Understanding by Hierarchical Motion Pattern Mining
    Song, Lei
    Jiang, Fan
    Shi, Zhongke
    Molina, Rafael
    Katsaggelos, Aggelos K.
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2014, 15 (03) : 1273 - 1285
  • [26] Generator of Synthetic Datasets for Hierarchical Sequential Pattern Mining Evaluation
    Sebek, Michal
    Zendulka, Jaroslav
    INFORMATICS 2013: PROCEEDINGS OF THE TWELFTH INTERNATIONAL CONFERENCE ON INFORMATICS, 2013, : 289 - 292
  • [27] Translator of hierarchical state machine from UML statechart to the event processor pattern
    Romaniuk, P.
    MIXDES 2007: Proceedings of the 14th International Conference on Mixed Design of Integrated Circuits and Systems:, 2007, : 684 - 687
  • [28] Cellular Automata Based Dynamic Pattern Classifying Machine For Distributed Data Mining
    Meshkboo, Behnaz
    Kangavari, Mohammadreza
    COMPLEXITY IN ARTIFICIAL AND NATURAL SYSTEMS, PROCEEDINGS, 2008, : 128 - 133
  • [29] Design Pattern Mining Using Distributed Learning Automata and DNA Sequence Alignment
    Esmaeilpour, Mansour
    Naderifar, Vahideh
    Shukur, Zarina
    PLOS ONE, 2014, 9 (09):
  • [30] Pattern expressions and pattern automata
    Câmpeanu, C
    Yu, S
    INFORMATION PROCESSING LETTERS, 2004, 92 (06) : 267 - 274