GPU Frequent Pattern Mining via Block Partitioning and Memory Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing frequent itemset mining methods face challenges with slow performance, limited scalability, and high computational intensity due to the limitations of single-thread CPU processing and the small GPU memory, leading to inefficiencies in handling large datasets and workload skewness.

Innovation Solution

The proposed method involves generating blocks from bit vectors corresponding to frequent 1-itemsets, copying relative memory addresses of candidate k-itemsets to GPU device memories, and updating their supports by synchronizing partial calculations, utilizing a traversal from the first level (TFL) strategy to reduce memory usage and improve performance, and employing a hopping from intermediate level (HIL) strategy to handle long patterns efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If GPU-based methods are used to accelerate frequent pattern mining, then computational performance is improved, but the limited GPU memory capacity restricts the size of data that can be processed

Engineering Contradiction:
Improvecomputational performanceVSAvoiddata size
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent divides the large dataset into multiple blocks that can be processed in parallel across multiple GPUs. Each GPU handles a specific block of data, enabling the system to process datasets larger than the memory capacity of individual GPUs while maintaining high computational performance through parallel processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a distributed memory architecture across multiple GPUs, transitioning from a single-GPU memory constraint to a multi-GPU collective memory space. This dimensional expansion allows the system to handle larger datasets by distributing data across multiple memory devices while maintaining efficient access patterns through the proposed indexing mechanism.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Quantity of substance

If multiple GPUs are used to process larger datasets, then data processing capacity is improved, but workload skewness reduces efficiency

Engineering Contradiction:
Improvedata processing capacityVSAvoidprocessing efficiency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent implements a localized indexing mechanism where each GPU maintains an index for its assigned data block. This local quality approach ensures that each GPU can independently and efficiently access and process its local data without requiring synchronized access to global data structures, thereby eliminating workload skewness and improving parallel processing efficiency.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent performs preliminary data partitioning and index construction before the actual frequent pattern mining process. By pre-organizing data into balanced blocks with local indexes, the system ensures that workload is evenly distributed across multiple GPUs from the outset, preventing workload skewness during the mining process.

Inventive Principle:
Principle #10Preliminary action

3Speed

If intermediate data is kept at GPU memory level for fast access, then processing speed is improved, but memory capacity limits the amount of intermediate data that can be stored

Engineering Contradiction:
Improveprocessing speedVSAvoidintermediate data volume
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent introduces a hierarchical memory structure with GPU device memory as the fast intermediate storage and host memory as the bulk storage. Intermediate data that exceeds GPU memory capacity is automatically spilled to host memory through a managed memory mechanism, allowing the system to maintain fast access patterns for frequently used data while accommodating large volumes of intermediate data in the slower but larger host memory.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10872394B2Frequent pattern mining method and apparatus
Publication Date: 2020.12.22 DAEGU GYEONGBUK INSTITUTE OF SCIENCE AND TECHNOLOGY
  • US10872394B2 patent drawing
  • US10872394B2 patent drawing
  • US10872394B2 patent drawing

AI summary

Disclosed is a frequent pattern mining method and apparatus, the frequent pattern mining apparatus that may copy relative memory addresses of candidate itemsets, from a main memory to device memories of graphic processing units (GPUs), copy at least one same block required for calculating supports of the candidate itemsets, from the main memory to the device memories, and update the supports of the candidate itemsets by synchronizing partial supports processed by the GPUs.