TL;DR
This paper introduces a novel algorithm, Relational Topological Clustering (RTC), for simultaneously clustering and selecting relevant features in categorical datasets. RTC leverages a combination of Self-Organizing Maps (SOM) principles and Relational Analysis to create a topological map of the data, enabling both visualization and automatic feature identification without requiring pre-defined parameters.
What Problem Does This Paper Address?
Clustering and feature selection are crucial for understanding high-dimensional datasets. However, these tasks become particularly challenging with categorical data due to the lack of inherent ordering in attribute values. Existing methods often struggle with this, requiring manual parameter tuning or transforming categorical data in ways that can distort its original structure. This paper aims to bridge this gap by proposing an automatic, integrated approach for clustering and feature selection specifically designed for categorical data, facilitating both a natural partition of the data and the identification of the most informative features for each cluster.
Methods
The core of the proposed method is the Relational Topological Clustering (RTC) algorithm. RTC builds upon the principles of Kohonen's Self-Organizing Maps (SOM) for topological organization and visualization, but adapts them for categorical data using Relational Analysis.
Here's a breakdown of the key methodological components:
- Relational Analysis: This framework is used to represent data as pairwise comparisons between objects. It transforms the dataset into similarity and dissimilarity matrices, which are then used to define an objective function based on a modified Condorcet criterion.
- Topological Clustering: Inspired by SOM, RTC creates a 2D map where similar data points are grouped into neighboring cells. This map preserves the topological structure of the data, meaning clusters that are close on the map represent observations that are similar in the original data space.
- Objective Function: The RTC algorithm optimizes a novel objective function that combines the classical Relational Analysis criterion (for compact clustering) with a regularization term that enforces topological constraints. This ensures that the clustering respects the neighborhood relationships on the map.
- Iterative Algorithm: RTC employs an iterative process with two alternating phases:
- Assignment Step: Each data point is assigned to the neuron (cluster) that maximizes its contribution, considering the topological neighborhood.
- Maximization Step: The prototypes (representative vectors) for each neuron are updated to better represent the assigned data points.
- Automatic Feature Selection (Scree Test): After the clustering and topological map are formed, the Cattell Scree Test is applied to each prototype vector. This statistical method, originally used for principal component analysis, is adapted here to identify the most relevant features (modalities) that characterize each cluster without requiring any manual parameter settings. It works by analyzing the "elbow" in a plot of feature values, indicating where the relevance of features drops off.
Datasets
The proposed RTC algorithm and feature selection method were validated on several real-world datasets:
- Zoo Dataset: Contains 101 animals described by 16 qualitative variables (15 binary, 1 with 6 possible values), classified into 7 classes.
- Nursery Database: A large dataset (12960 observations) with 8 variables, used for ranking nursery school applications.
- Car Evaluation Database: A dataset with 1728 observations and 6 variables, originally designed for hierarchical decision models.
- Postoperative Patient Data: A dataset of 90 observations and 8 variables, related to body temperature measurements after surgery.
- SPECTF Heart Dataset: A dataset of 267 instances with 23 binary attributes, used for diagnosing cardiac conditions.
The paper does not introduce new benchmark datasets but utilizes publicly available ones from the UCI Machine Learning Repository.
Key Insights and Ideas
- Bridging Categorical Data and Topology: The most significant insight is the successful integration of Relational Analysis with SOM principles to handle categorical data. This overcomes a major limitation of traditional SOMs, which are primarily designed for numerical data.
- Simultaneous Clustering and Feature Selection: The paper demonstrates that clustering and feature selection can be performed concurrently and automatically. This is a powerful combination, as identifying relevant features can improve the interpretability and accuracy of the clusters.
- Parameter-Free Feature Selection: The use of the Scree Test for feature selection is a key innovation. It allows for the automatic identification of important features for each cluster without the need for manual parameter tuning, which is a common bottleneck in many machine learning algorithms.
- Topological Preservation for Categorical Data: RTC effectively preserves the topological structure of categorical data, allowing for intuitive visualization and understanding of relationships between clusters. This is crucial for exploratory data analysis.
- Improved Cluster Purity: The experimental results show that RTC consistently achieves higher cluster purity compared to classical Relational Analysis, indicating a more accurate and meaningful partitioning of the data.
Key Results
- High Cluster Purity: The RTC algorithm achieved significantly higher cluster purity compared to the classical Relational Analysis approach across all tested datasets. For example, on the Zoo dataset, purity increased from 69.08% to 97.84%.
- Effective Feature Selection: The Scree Test successfully identified relevant features for characterizing each cluster. For instance, on the Zoo dataset, the paper shows examples of selected features for different cells (clusters), which align with biological classifications.
- Dimensionality Reduction: The feature selection process effectively reduces the dimensionality of the data by identifying and eliminating noisy or irrelevant features. This was demonstrated by re-building the map after feature removal, leading to an increase in accuracy.
- Map Size Impact: Experiments showed that smaller map sizes (e.g., 4x4 vs. 5x5) led to the elimination of more features but also resulted in a decrease in the accuracy index. This suggests a trade-off between map complexity and feature selection effectiveness.
- Improved Observation Distribution: The RTC map showed a better distribution of observations across cells compared to the initial Relational Analysis initialization, highlighting the benefit of incorporating topological information.
Limitations and Future Work
- Parameter Dependence (Partially Addressed): While the feature selection is parameter-free, the RTC algorithm itself still relies on a similarity threshold (α) and a temperature parameter (T) that influences the trade-off between clustering compactness and topological preservation. The authors mention that future work could aim to escape these parameters.
- Computational Cost: The complexity of the clustering characterization procedure is noted as O(C×N×d + C×d log d), where C is the map size, N is the number of observations, and d is the number of variables. While linear with respect to variables, it can be significant for large datasets and map sizes.
- Future Work: The authors propose extending the model to eliminate the need for parameters like α and T. They also suggest validating the feature selection for each cell using computed contributions during the learning step. Further research could explore the application of this method to larger and more complex datasets, as well as investigate its performance against other state-of-the-art categorical clustering and feature selection techniques.
Summary updated