一种同时感知结构和偏好的路径推荐算法

ROUTE RECOMMENDATION BASED ON STRUCTURE-AWARE AND PREFERENCE

  • 摘要: 针对基于轨迹的路径推荐算法过度依赖用户出行偏好,而忽略路网的结构特征的问题,提出一种同时感知结构和偏好的路径推荐算法。基于A*算法,通过多头自注意力机制和Node2vec将出行偏好和路网结构特征嵌入到每个节点的表示中;使用多层感知器对两个节点表示到它们之间的启发式代价h的映射进行建模;依据h启发式搜索符合用户偏好且最低代价的最优路径。实验结果表明,该方法在准确性和鲁棒性方面都优于其他路径推荐算法。

     

    Abstract: Aimed at the problem that the existing trajectory-based route recommendation algorithms overly rely on user travel preferences while ignoring the structural characteristics of the road network, a structure-aware and preference-based route recommendation algorithm (SPR2) is proposed. Based on the A* algorithm, SPR2 used a multi-head self-attention network and Node2vec to embed routing preference and network structural characteristics into the representation of each node, and used multi-layer perceptron to model the mapping from two node representations to the heuristic cost h between them. According to the heuristic search of h, the optimal path that met the user's preferences and had the lowest cost was searched. The test results show that SPR2 outperforms other route recommendation algorithms in terms of accuracy and robustness.

     

/

返回文章
返回