Abstract
Representation of data on mixed variables, numerical and categorical types to get suitable feature map is a challenging task as important information lies in a complex non-linear manifold. The feature transformation should be able to incorporate marginal information of the individual variables and complex cross-dependence structure among the mixed type of variables simultaneously. In this work, we propose a novel nonlinear Deep Encoder-Decoder framework to capture the cross-domain information for mixed data types. The hidden layers of the network connect the two types of variables through various non-linear transformations to give latent feature maps. We encode the information on the numerical variables in a number of hidden nonlinear units. We use these units to recreate categorical variables through further nonlinear transformations. A separate and similar network is developed switching the roles of the numerical and categorical variables. The hidden representational units are stacked one next to the others and transformed into a common space using a locality preserving projection. The derived feature maps are used to explore the clusters in the data. Various standard datasets are investigated to show nearly the state of the art performance in clustering using the feature maps with simple K-means clustering.
Introduction
Most real-world datasets are "mixed," containing both continuous numerical values (e.g., age, income) and discrete categorical labels (e.g., occupation, city). These data types reside in fundamentally different mathematical spaces, making unified representation difficult. Standard approaches often rely on simplistic techniques like one-hot encoding or discretization, which frequently fail to capture the complex non-linear manifold where the true relationships between variables reside. This paper addresses the challenge of finding a dense, common representation that preserves both individual variable information and joint distributions in an unsupervised manner.
The Nonlinear Deep Encoder-Decoder Framework
The core contribution of this work is a novel dual-path architecture designed for cross-domain feature learning. Instead of a standard autoencoder that reconstructs its own input, this framework employs a "cross-reconstruction" strategy to capture dependencies between numerical and categorical domains.
Dual-Path Architecture
- Numerical-to-Categorical Path: This path takes numerical variables as input, encodes them into a latent space, and then uses a decoder to predict the categorical variables using a Softmax loss function.
- Categorical-to-Numerical Path: Conversely, this path encodes categorical variables to a latent space and uses a decoder to reconstruct the numerical variables, optimized via Mean Square Error (MSE) loss.
Latent Feature Fusion and Locality Preservation
The latent representations from both paths are concatenated, forcing the network to discover features in one domain that are predictive of the other. To ensure the resulting feature map preserves the original data geometry, a Locality Preserving Projection (LPP) is applied. This step ensures that data points proximal in the original mixed space remain close in the new dense feature space, making the representation "clustering-friendly."
Experimental Evaluation
The framework was evaluated on four standard UCI Machine Learning Repository datasets: Heart Disease, Credit Approval, German Credit, and the larger Adult dataset. The performance was measured using the Rand Index (RI) and Normalized Mutual Information (NMI).
Results and Comparative Analysis
The proposed method, referred to as KMFM, was compared against several state-of-the-art mixed-data clustering techniques, including Weighted K-Means (WKM), Entropy Weighted K-Means (EWKM), and Object-Cluster Similarity (OCIL/WOCIL).
As shown in the comparative results, the KMFM method consistently achieved higher RI and NMI scores across almost all datasets. Notably, the method demonstrated superior performance in discovering unequal-sized clusters, as indicated by the significantly higher NMI scores compared to traditional weighted linear methods. The results suggest that by learning a high-quality representation, simple K-means clustering can outperform more complex, specialized mixed-data algorithms.
Conclusion
This research demonstrates that capturing non-linear cross-dependencies between mixed variables is essential for robust data representation. The proposed encoder-decoder framework effectively bridges the gap between numerical and categorical domains. By combining cross-domain supervision with locality preservation, the model extracts dense feature maps that significantly improve unsupervised clustering performance on complex, real-world datasets.
Summary updated