Applied Sciences (Mar 2025)
Human Clustering Based on Graph Embedding and Space Functions of Trajectory Stay Points on Campus
Abstract
Spatial big data about human mobility have been employed intensively in understanding human spatial activity patterns, which is a central topic in many applications. Available research on spatial clustering patterns of human activities has been investigated mainly based on similarities of locations and temporal attributes of spatial trajectories. These methods are not effective in revealing human groups who move among spaces at different locations but with the same functions. Function, as one semantic attribute of spaces, is a major driver of most human movements. This work investigates human clustering based on space functions of trajectory stay points in human mobility data using graph embedding. Firstly, typical functions of spaces are categorized into 35 types in our research area, which is a university campus. Human trajectories based on Wi-Fi networks were collected as test data. Then, human networks are built among human individuals. Each individual is taken as a node in the network, and an edge is built between two nodes if the corresponding individuals stay in spaces of the same type of function longer than a specific time duration. The graph embedding algorithm is used to calculate feature vector representations of nodes in the network, which can capture complex relationships among nodes through biased random walks. K-means clustering is applied to classify the feature vectors, which reveals potential behavioral pattern similarities of individuals concerning the functions of their staying spaces. The elbow method and silhouette score of clusters are used to determine an appropriate number of clusters. Three scenarios were designed based on three specific time durations, and random walk-biased parameters were fine-tuned to improve the clustering performance. Results reveal typical clusters and correlation between clusters and typical space functions.
Keywords