From Visualization to Association Rules: an automatic approach

Gwenael Bothorel, Mathieu Serrurier, Christophe HurterSCCG 2013

TL;DR

This paper introduces "Videam," a novel approach that bridges the gap between visual data mining (VDM) and automatic association rule extraction. By using visualizations to guide the Apriori algorithm, Videam allows specialists to discover locally relevant rules efficiently, overcoming the limitations of purely manual or purely algorithmic methods.

What Problem Does This Paper Address?

Data mining aims to extract valuable information from large datasets. Traditional methods fall into two camps: automatic algorithms (like Apriori for association rules) and visual data mining (VDM). Automatic methods can generate an overwhelming number of rules, making it hard to find the truly relevant ones. VDM, on the other hand, relies heavily on user expertise and can struggle with high-dimensional data or discovering unexpected patterns. This paper addresses the challenge of effectively combining the strengths of both approaches: the comprehensiveness of automatic rule extraction and the focused exploration capabilities of VDM, particularly for specialists who have a specific query in mind.

Methods

The core of this paper is the "Videam" platform, which integrates VDM with association rule mining. The key innovation lies in using the user's visualization as a guide for the Apriori algorithm. Here's how it works:

  • Visualization as a Constraint: Users build visualizations using tools like FromDaDy, mapping data attributes to visual variables (e.g., position, color, size). This visualization, along with user selections (like brushing or zooming), defines a "scene" and a subset of the data.
  • Attribute and Data Filtering: The choice of visual variables directly constrains the attributes considered by Apriori. Similarly, user selections filter the data, focusing the rule extraction on specific subsets.
  • Discretization on Visual Variables: Numerical data is discretized not on its original domain but on the range of its corresponding visual variable. This ensures that the extracted rules have a meaningful representation within the visualization.
  • Rule Representation: A novel "rule representation" method is proposed, using a new variable em to highlight data points that satisfy or violate a rule, allowing for visual emphasis of rule applications and errors.

Datasets

The paper evaluates the Videam platform on two datasets:

  • Aeronautical Database: This private dataset contains approximately 280,000 French air traffic records from August 2010, including flight and plane data.
  • 2012 KDD Cup Database: This public dataset describes a social network of microblogging users, focusing on user interactions and item following. The paper uses a subset of around 1.9 million propositions.

Key Insights and Ideas

  • Visualization as a "Smart Filter": The most significant insight is that a visualization isn't just for display; it can actively guide and constrain the data mining process, making it more efficient and targeted.
  • Discovering "Local" Rules: By focusing on visualized data subsets, Videam can uncover association rules that are relevant to specific parts of the dataset but might be missed by global analysis due to low overall support or confidence.
  • Bridging the Gap for Specialists: The approach caters to domain experts who have a specific question or hypothesis. They can build a visualization that reflects their understanding, and Videam helps them find the rules that support their view.
  • Computational Efficiency: By reducing the data and attributes considered, Videam significantly speeds up the Apriori algorithm, making it compatible with interactive VDM tools.
  • Meaningful Rule Representation: Discretizing based on visual variable ranges ensures that the extracted rules are directly interpretable within the context of the visualization.

Key Results

  • Significant Speedup: For the aeronautical dataset, a preliminary Apriori calculation on 16 attributes yielded 2.8 million rules in 35 minutes. With Videam, focusing on 4 visualized attributes and a subset of data, the calculation took only 3 seconds and found 41 rules.
  • Focus on Relevant Rules: The approach successfully extracts rules that are locally relevant and directly tied to the user's visualization. For example, a rule about medium altitude flights going to Europe was extracted from the aeronautical data.
  • Enhanced Information Extraction: The rule representation method allows for visual emphasis of rule applications and errors, making it easier to understand where and why rules apply or fail. This was demonstrated with the KDD Cup dataset, where specific patterns for accepted/refused propositions were highlighted.

Limitations and Future Work

  • Backward Link: The authors suggest future work on establishing a "backward link" from the rule mining space to the data visualization space, aiming to optimize data representation based on discovered rules.
  • Characterizing Visual Patterns: Further research is needed to determine which types of visual patterns can be effectively characterized by association rules.
  • Rule Complexity: While the approach reduces computation time, the complexity of understanding and interpreting the generated rules, especially when combining many, remains an area for exploration.
  • Visual Variable Limitations: The paper notes that some visual variables (like transparency) are harder to discriminate and thus primarily appear in the "head" of rules, suggesting potential for further investigation into their effective use.

Summary updated

BibTeX
@inproceedings{bothorel2013from,
  author = {Gwenael Bothorel and Mathieu Serrurier and Christophe Hurter},
  title = {{From Visualization to Association Rules: an automatic approach}},
  booktitle = {SCCG},
  year = {2013},
  doi = {10.1145/2508244.2508252},
}
Figure