Learning Graph Representation via Formal Concept Analysis

Yuka Yoneda, Mahito Sugiyama, Takashi WashioarXiv 2018

Abstract

Traditional hierarchical clustering methods often oversimplify multivariate data by forcing disjoint, tree-like structures. This paper introduces a novel approach that leverages Formal Concept Analysis (FCA) to extract overlapping clusters and hierarchical relationships, representing them as a complex graph (concept lattice). By transforming continuous data through nearest-neighbor binarization, the method captures "multi-inheritance" patterns, outperforming standard hierarchical agglomerative clustering in dendrogram purity across various benchmarks.

Introduction

In machine learning, understanding how data points relate to one another is fundamental for relational reasoning. Traditionally, hierarchical clustering is used to build a "dendrogram" (a tree structure). However, these trees assume clusters are disjoint, which often fails to reflect real-world scenarios where a single data point might belong to multiple groups simultaneously. Standard hierarchical methods force a binary tree structure, potentially oversimplifying complex relationships. This research addresses this gap by proposing a method that represents data as a graph rather than a tree, allowing for a more flexible and realistic representation of overlapping and nested clusters.

Methodology

The proposed method utilizes a two-stage pipeline to bridge the gap between continuous spatial data and discrete lattice theory:

  1. Nearest Neighbor-based Binarization: Since Formal Concept Analysis (FCA) requires binary data, the authors first transform continuous numerical data. For every data point $d_i$, they identify its $k$-nearest neighbors. A binary vector is created where a "1" indicates that another point $d_j$ is among the top $k$ neighbors of $d_i$. This effectively turns spatial relationships into a "transaction" database.
  2. Formal Concept Analysis (FCA): This mathematical framework identifies "concepts"—groups of objects sharing the same attributes. In this context, a concept represents a cluster. The resulting structure is a concept lattice (visualized as a Hasse diagram). Unlike a tree, this graph allows nodes to have multiple parents and children, representing overlapping clusters.
Transformation of a spatial dataset (a) into a complex graph structure (b) using Formal Concept Analysis.

To maintain computational efficiency, the authors employ the LCM (Linear time Closed itemset Miner) algorithm and apply pruning to remove insignificantly small clusters.

Experimental Setup

The method was evaluated against Hierarchical Agglomerative Clustering (HAC) with Ward’s method using both synthetic and real-world benchmarks from the UCI Repository, including parkinsons, vertebral, breast_cancer, and wine_red. The primary metric used was Dendrogram Purity (DP), which measures how well the learned hierarchy aligns with ground-truth classes.

Key Results and Insights

The FCA-based approach demonstrated several advantages over traditional methods:

  • Superior Accuracy: The proposed method outperformed the HAC baseline on almost all datasets. For instance, on the vertebral dataset, the DP reached 0.872 compared to HAC's 0.686.
  • Granularity and Multi-inheritance: The graph representation generates significantly more clusters than the standard $2n-1$ clusters found in a binary tree. This allows the model to capture "multi-inheritance" where a group of points belongs to multiple higher-level categories simultaneously.
  • Stability: While HAC's performance can fluctuate, the FCA-based approach showed a steady plateau of high purity once the neighborhood size $k$ reached a sufficient threshold (typically around half the dataset size).
Comparison of Dendrogram Purity between the proposed method and HAC across different values of k for Synthetic and Parkinsons datasets.

Conclusion

While the graph representation is superior for capturing complex data structures, it introduces higher computational complexity. For example, on the wine_red dataset, the method identified over 24 million potential overlapping clusters. Future work will focus on more effective pruning strategies to reduce the number of clusters without losing structural information and applying these graph representations to downstream relational reasoning tasks in deep learning.

Summary updated

BibTeX
@misc{yoneda2018learning,
  author = {Yuka Yoneda and Mahito Sugiyama and Takashi Washio},
  title = {{Learning Graph Representation via Formal Concept Analysis}},
  year = {2018},
  eprint = {1812.03395},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.03395},
}
Figure