MM-Path: Multi-modal, Multi-granularity Path Representation Learning

Ronghui Xu, Hanyin Cheng, Chenjuan Guo, Hongfan Gao, Jilin Hu, Sean Bin Yang, Bin Yang 0002

Abstract

Path representation learning is a fundamental task in intelligent transportation systems, transforming sequences of road segments into dense vectors for downstream applications. Traditional methods primarily rely on road network topology, which often fails to capture the rich environmental context surrounding a route. We present MM-Path, a novel framework that integrates road network graphs with remote sensing imagery. By employing a multi-granularity alignment strategy and a graph-based cross-modal residual fusion mechanism, MM-Path effectively bridges the gap between topological structures and visual information. Extensive evaluations on real-world datasets from Aalborg and Xi’an demonstrate that MM-Path significantly outperforms state-of-the-art models in travel time estimation and path quality ranking.

Introduction

In the domain of intelligent transportation, representing a path mathematically is essential for tasks like navigation, traffic prediction, and urban planning. Historically, researchers have focused on the topology of the road network—the "skeleton" of nodes and edges. However, topology alone is insufficient. A road segment passing through a dense commercial district behaves differently from a similar segment in a rural area, even if their connectivity is identical. Remote sensing imagery provides the necessary "flesh" to this skeleton, offering context such as road width, surrounding infrastructure, and complex features like roundabouts.

Bridging Topology and Imagery

The integration of road networks and satellite imagery faces two primary hurdles: granularity discrepancy and structural heterogeneity. A road node is a discrete point in a graph, whereas a satellite image is a continuous 2D grid of pixels. Fusing these disparate data types requires a sophisticated alignment strategy.

Figure 1: Comparison of road network topology and remote sensing imagery. (a) Map view with road segments, (b) Graph representation with nodes v1-v8, and (c) Satellite imagery providing environmental context.

As shown in Figure 1, the topological view (b) simplifies the complex physical reality (c) into a series of nodes. MM-Path addresses this by treating path representation as a multi-modal pre-training task, ensuring that the visual features of the environment are mapped directly onto the topological features of the road.

The MM-Path Framework

The core of MM-Path lies in its dual-Transformer architecture designed for multi-granularity alignment across three scales:

  1. Fine-grained: Individual road nodes are matched to specific image patches.
  2. Medium-grained: "Sub-paths" (groups of nodes) are aligned with the image segments they traverse.
  3. Coarse-grained: The entire path sequence is matched to the full sequence of images.

To facilitate this, images are processed through a patching and flattening pipeline to create visual tokens that can be processed alongside graph nodes.

Figure 6: The image patching and tokenization process in MM-Path. Images are divided into patches, flattened, and converted into tokens for alignment with road nodes.

Following alignment, the model employs a Graph-based Cross-modal Residual Fusion mechanism. A directed graph is constructed where road nodes and image patches are connected based on spatial proximity. A Graph Convolutional Network (GCN) then allows information to flow between the visual and topological domains, while residual connections preserve the integrity of the original features.

Experimental Evaluation

MM-Path was evaluated using large-scale datasets from Aalborg, Denmark (~48k paths) and Xi’an, China (~200k paths). The model demonstrated superior performance across several key metrics:

  • Travel Time Estimation: MM-Path achieved a 6.6% to 12.9% improvement in Mean Absolute Error (MAE) compared to the best-performing baselines in Aalborg.
  • Path Ranking: The model showed an 11.4% to 12.2% improvement in ranking accuracy (Spearman’s $\rho$) across both test cities.
  • Contextual Awareness: A case study on roundabouts revealed that while single-modal models struggle with topological ambiguity, MM-Path uses visual context to correctly identify complex intersections that impact travel speed.

Conclusion

MM-Path represents a significant step forward in path representation by successfully fusing topological and visual data. The multi-granularity alignment approach ensures that the model learns semantic relationships at every level of the road network. Future work will focus on integrating real-time traffic dynamics and exploring the potential for zero-shot transfer learning between different urban environments.

Summary updated

BibTeX
@inproceedings{xu2025mm,
  author = {Ronghui Xu and Hanyin Cheng and Chenjuan Guo and Hongfan Gao and Jilin Hu and Sean Bin Yang and Bin Yang},
  title = {{MM-Path: Multi-modal, Multi-granularity Path Representation Learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2025},
  doi = {10.1145/3690624.3709209},
}
Figure