Concept and Attribute Reduction Based on Rectangle Theory of Formal Concept

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

Abstract

Formal Concept Analysis (FCA) provides a robust mathematical framework for data mining and knowledge discovery. However, the practical utility of FCA is often hindered by the exponential growth and redundancy of concept lattices. This paper presents a novel approach to concept and attribute reduction leveraging "rectangle theory" and bit-array optimization. By interpreting formal concepts as maximal rectangles of 1s within a binary matrix, we establish simplified mathematical proofs for identifying redundant data. Additionally, we introduce a high-speed attribute reduction algorithm that utilizes low-level bitwise operations. Experimental evaluations on the Mushroom and Nursery datasets from the UCI repository demonstrate significant improvements in computational efficiency and implementation simplicity.

Introduction

In Formal Concept Analysis (FCA), data is typically represented as a formal context—a triple $(G, M, I)$ where $G$ is a set of objects, $M$ is a set of attributes, and $I$ is a binary relation between them. A formal concept is a pair $(X, A)$ such that $X$ is the set of all objects sharing all attributes in $A$, and $A$ is the set of all attributes shared by all objects in $X$. Collectively, these concepts form a concept lattice.

While powerful, concept lattices can become excessively large and redundant, complicating knowledge discovery. Reduction is therefore essential. This involves two main tasks: concept reduction, which identifies essential "core" concepts, and attribute reduction, which removes redundant attributes without altering the underlying concept structure. Traditional reduction methods often face high computational costs and complex implementation requirements.

Methodology

Rectangle Theory and Redundancy

The authors propose viewing formal concepts through the lens of "rectangle theory." In a binary matrix representing a formal context, a formal concept corresponds to a closed rectangle of 1s. This geometric perspective allows for the development of "judgment theorems" that simplify the identification of redundant concepts.

Figure 1: A formal context represented as a binary matrix with objects G and attributes a1 through a5.

A concept is considered unnecessary if its information is already fully represented by a combination of "core" concepts or "side-covered" concepts. For instance, if a concept's rectangle can be entirely reconstructed by the union of other essential rectangles, it does not contribute unique structural information to the lattice.

Figure 2: The set of formal concepts C0 through C10 derived from the context in Figure 1.

Bit-Array Optimization

To address the computational "explosion" associated with large datasets, the paper introduces a bit-array technique. Instead of processing object sets using standard set operations, data is stored as bit-arrays (e.g., 32-bit or 64-bit unsigned integers). This enables the use of high-speed CPU bitwise AND and OR operations, allowing the algorithm to process multiple data points in a single cycle. This optimization is the primary driver behind the algorithm's high performance.

Fast Attribute Reduction Algorithm

The proposed attribute reduction algorithm is "lattice-free," meaning it does not require the construction or traversal of the entire concept lattice. Instead, it iteratively evaluates whether an attribute can be deleted while preserving the "extensions" (object sets) of the concepts. By focusing on the technical property $X^{**} = X$, the algorithm remains computationally efficient and straightforward to implement.

Experimental Results

The effectiveness of the bit-array approach was validated using benchmark datasets from the UCI Machine Learning Repository:

  • Mushroom Dataset (8,124 objects, 115 attributes): The algorithm reduced the attribute set by 19 columns while maintaining the extensions for 512 concepts. The entire reduction process was completed in just 4.218 seconds.
  • Nursery Dataset (12,960 objects, 30 attributes): The algorithm successfully removed 2 redundant attributes in 0.582 seconds.

These results underscore the practical utility of the bit-array optimization, especially for large-scale data mining tasks where traditional FCA methods might fail due to time or memory constraints.

Conclusion

This research provides a streamlined mathematical framework and a high-performance algorithmic solution for reduction in FCA. By combining the intuitive geometric insights of rectangle theory with the raw speed of bit-array processing, the authors have made concept and attribute reduction more accessible and scalable. Future work will focus on extending these techniques to more complex structures, such as Object-Oriented and Attribute-Oriented Concept Lattices.

Summary updated

BibTeX
@misc{zhou2021concept,
  author = {Jianqin Zhou and Sichun Yang and Xifeng Wang and Wanquan Liu},
  title = {{Concept and Attribute Reduction Based on Rectangle Theory of Formal Concept}},
  year = {2021},
  eprint = {2111.00005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.00005},
}
Figure