The present application relates to the field of recommendation
system, and discloses a point of interest recommendation method based on
tree representation trajectory and multi-
granularity contrast learning, comprising: obtaining user historical check-in
data set and preprocessing; dividing user check-in into day level, time period level and original check-in level node according to check-in time, and constructing multi-time
granularity trajectory
tree structure; constructing a
recommendation model integrating global enhancement and contrast learning, training and testing the model using the
data set, and obtaining the prediction result. In
feature extraction, a global graph is introduced for the trajectory
tree structure, and graph
convolution network is used to initialize the features of leaf nodes, so as to strengthen the model's ability to capture global dependency; contrast learning strategy is introduced at each
granularity node level, and the model is guided to learn semantic consistent trajectory representation through positive and
negative sample constraints. The present application balances local spatio-temporal constraints and global transfer rules while mining user multi-time granularity preferences, and significantly improves the accuracy and
personalization of point of interest recommendation.