Joint Representation Learning for Multi-Modal Transportation Recommendation

Hao Liu, Ting Li, Renjun Hu, Yanjie Fu, Jingjing Gu, Hui Xiong

Introduction

Modern navigation applications excel at finding the optimal route once a transportation mode is selected. However, recommending the most appropriate mode itself—whether it be walking, cycling, taking a bus, or hailing a taxi—remains a significant challenge. This decision is influenced by a complex interplay of transport heterogeneity (cost vs. time), implicit user feedback (clicks vs. actual travel), and extreme geo-spatial sparsity (users frequenting only a few locations).

To address these challenges, researchers have developed Trans2Vec, a joint representation learning framework designed to provide personalized transportation mode recommendations. By modeling the problem as a heterogeneous graph, Trans2Vec captures the latent relationships between users, their origins and destinations (OD), and the available modes of transport.

The Trans2Vec Framework

The core of the Trans2Vec system is the Multi-modal Transportation Graph (MMTG). This graph structure integrates three distinct types of nodes: Users, OD pairs, and Transport Modes.

The Multi-modal Transportation Graph (MMTG) structure, illustrating the connections between users, transport modes, and origin-destination pairs.

The framework operates through a multi-stage pipeline as shown in the architecture below:

  1. MMTG Construction: Edges are established based on historical travel events, such as a specific user taking a bus for a particular trip.
  2. Anchor Embedding: Standard network embedding techniques often fail in this context because a small number of transport modes act as "hubs," causing user embeddings to collapse and lose discriminative power. Trans2Vec solves this by pre-calculating mode-mode relevance and fixing transport mode vectors as "anchors" in the latent space.
  3. Regularized Joint Learning: To combat data sparsity, the model incorporates side information. User relevance (demographics) and OD relevance (POI distributions and distance) act as regularizers, ensuring that similar users or similar trip types are mapped to nearby points in the embedding space.
The high-level architecture of the Trans2Vec framework, from data extraction to online recommendation.

Key Insights and Results

Experimental evaluation was conducted on two massive datasets from Baidu Maps, covering over a million travel events in Beijing and Shanghai.

Performance and Deployment

Trans2Vec significantly outperformed traditional baselines like Logistic Regression and LambdaMart. In the Beijing dataset, it achieved a high NDCG@5 of 0.893 and an F1-score of 0.711. The inclusion of user and OD regularization was critical; models without these components showed markedly lower accuracy. Beyond theoretical success, the system has been deployed within Baidu Maps, serving hundreds of millions of users daily.

Understanding Transport Dynamics

The learned embeddings revealed fascinating patterns in urban mobility. Transport modes naturally clustered into two categories: "Motorized" (Car, Taxi, Bus) and "Active/Public" (Bus, Walk, Bike). Interestingly, the Bus serves as a bridge between these clusters, sharing characteristics with both. Furthermore, the researchers found that the nature of the trip (OD relevance) is often a stronger predictor of transport choice than user demographics alone. For instance, a remote industrial destination might force a "business user" and a "student" to choose the same mode regardless of their personal profiles.

Limitations and Future Outlook

While Trans2Vec represents a major step forward, it currently relies on static features. Future iterations could benefit from incorporating dynamic contexts such as real-time weather conditions and traffic fluctuations. Additionally, while regularization helps with sparsity, the "cold-start" problem for new cities remains an area for further exploration.

Summary updated

BibTeX
@inproceedings{liu2019joint,
  author = {Hao Liu and Ting Li and Renjun Hu and Yanjie Fu and Jingjing Gu and Hui Xiong},
  title = {{Joint Representation Learning for Multi-Modal Transportation Recommendation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33011036},
}
Figure