A New Algorithm based on Extent Bit-array for Computing Formal Concepts

Jianqin Zhou, Sichun Yang, Xifeng Wang, Wanquan LiuarXiv 2021

Introduction

Formal Concept Analysis (FCA) is a mathematical framework used to extract meaningful patterns from data by identifying groups of objects that share common attributes. These groups, known as formal concepts, form a hierarchical structure called a concept lattice. While FCA is a powerful tool for data mining, the computational cost of generating all concepts can be prohibitive, especially as the number of concepts can grow exponentially with the size of the dataset.

The Challenge of Scalability

The primary bottleneck in FCA algorithms is the efficiency of identifying "closed" concepts and managing the search space. Existing state-of-the-art algorithms, such as the In-Close family, utilize horizontal bit-arrays to represent data. However, these methods often process objects individually during intersection operations and suffer from high memory overhead due to the use of local queues in recursive calls. This often leads to memory exhaustion on high-dimensional or transposed datasets.

A formal context G representing the relationship between objects and attributes.

In-Close5: Architectural Innovations

To address these limitations, researchers developed In-Close5. This algorithm introduces several key optimizations:

  1. Vertical Bit-array Storage: By storing both the context and the concept "extents" (sets of objects) as vertical bit-arrays, In-Close5 leverages hardware-level bitwise AND operations. This allows the CPU to process 32 or 64 objects simultaneously in a single cycle, significantly speeding up intersection calculations.
  2. Global Queue Optimization: In-Close5 replaces the memory-intensive local queues of previous versions with a single global queue. This drastically reduces the space complexity and prevents the memory overhead associated with deep recursive calls.
  3. Inheritance and Closure: The algorithm ensures a concept is fully formed before exploring its descendants. This allows child concepts to inherit attributes from their parents, minimizing redundant computations.
A search tree illustrating the hierarchical relationship and inheritance between formal concepts.

Performance Evaluation

The algorithm was benchmarked against the UCI Mushroom and Nursery datasets. In-Close5 demonstrated superior performance:

  • Speed: On the Mushroom dataset, In-Close5 was nearly twice as fast as its predecessor, In-Close4.
  • Memory Efficiency: It required only 4.9 MB of memory for extents, compared to over 20 MB for horizontal bit-array methods.
  • Robustness: Unlike previous versions, In-Close5 successfully processed transposed datasets with high attribute counts, where older algorithms failed due to memory constraints.

Conclusion

In-Close5 represents a significant advancement in FCA by aligning algorithmic logic with modern hardware capabilities. By utilizing vertical bit-arrays and a global queue, it achieves high performance and memory efficiency, making it a robust choice for large-scale data mining tasks. Future work will focus on extending these techniques to more complex structures like Object-Oriented Concept Lattices.

Summary updated

BibTeX
@misc{zhou2021new,
  author = {Jianqin Zhou and Sichun Yang and Xifeng Wang and Wanquan Liu},
  title = {{A New Algorithm based on Extent Bit-array for Computing Formal Concepts}},
  year = {2021},
  eprint = {2111.00003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.00003},
}
Figure