cs.LGMar 3, 2026

Learning Unified Distance Metric for Heterogeneous Attribute Data Clustering

Authors: Yiqun Zhang, Mingjie Zhao, Yizhou Chen, Yang Lu, Yiu-ming Cheung

Organizations: School of Computer Science and Technology, Guangdong University of Technology, Guangzhou, 510006, Guangdong, China · Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University, Xiamen, 361102, Fujian, China · Department of Computer Science, Hong Kong Baptist University, Hong Kong SAR, China

Abstract

Datasets composed of numerical and categorical attributes (also called mixed data hereinafter) are common in real clustering tasks. Differing from numerical attributes that indicate tendencies between two concepts (e.g., high and low temperature) with their values in well-defined Euclidean distance space, categorical attribute values are different concepts (e.g., different occupations) embedded in an implicit space. Simultaneously exploiting these two very different types of information is an unavoidable but challenging problem, and most advanced attempts either encode the heterogeneous numerical and categorical attributes into one type, or define a unified metric for them for mixed data clustering, leaving their inherent connection unrevealed. This paper, therefore, studies the connection among any-type of attributes and proposes a novel Heterogeneous Attribute Reconstruction and Representation (HARR) learning paradigm accordingly for cluster analysis. The paradigm transforms heterogeneous attributes into a homogeneous status for distance metric learning, and integrates the learning with clustering to automatically adapt the metric to different clustering tasks. Differing from most existing works that directly adopt defined distance metrics or learn attribute weights to search clusters in a subspace. We propose to project the values of each attribute into unified learnable multiple spaces to more finely represent and learn the distance metric for categorical data. HARR is parameter-free, convergence-guaranteed, and can more effectively self-adapt to different sought number of clusters kk. Extensive experiments illustrate its superiority in terms of accuracy and efficiency.

Figures & tables

Explore similar work

CardsList
  1. GRACE: LLM-Grounded Semantic Metric Spaces for Scalable Mixed-Data Clustering

    Aug 8, 2026Zihua Yang, Zhencheng Xie, Junyang Chen +4ClusteringUnsupervised Clustering

  2. Bridge the Gaps: Heterogeneous Attributed Graph Clustering via Quaternion Representation Learning

    Jun 22, 2026Xinxi Chen, Junyang Chen, Yiqun Zhang +2Graph Structure LearningGraph Neural Networks