Skip to main content
QUICK REVIEW

[Paper Review] Modeling Taxi Drivers' Behaviour for the Next Destination Prediction

Alberto Rossi, Gianni Barlacchi|arXiv (Cornell University)|Jul 21, 2018
Human Mobility and Location-Based AnalysisSocial Sciences46 references5 citations
TL;DR

This paper proposes a Long Short-Term Memory (LSTM) recurrent neural network with self-attention and location embeddings derived from Foursquare's Location-Based Social Network (LBSN) data to predict the exact GPS coordinates of a taxi’s next destination, treating the task as a regression problem rather than multiclass classification. The model achieves a 10.5% improvement in average error distance (0.355 km) over the ECML/PKDD 2015 competition winner, using only driver history and semantic location features.

ABSTRACT

In this paper, we study how to model taxi drivers' behaviour and geographical information for an interesting and challenging task: the next destination prediction in a taxi journey. Predicting the next location is a well studied problem in human mobility, which finds several applications in real-world scenarios, from optimizing the efficiency of electronic dispatching systems to predicting and reducing the traffic jam. This task is normally modeled as a multiclass classification problem, where the goal is to select, among a set of already known locations, the next taxi destination. We present a Recurrent Neural Network (RNN) approach that models the taxi drivers' behaviour and encodes the semantics of visited locations by using geographical information from Location-Based Social Networks (LBSNs). In particular, RNNs are trained to predict the exact coordinates of the next destination, overcoming the problem of producing, in output, a limited set of locations, seen during the training phase. The proposed approach was tested on the ECML/PKDD Discovery Challenge 2015 dataset - based on the city of Porto -, obtaining better results with respect to the competition winner, whilst using less information, and on Manhattan and San Francisco datasets.

Motivation & Objective

  • To improve next-destination prediction for taxi drivers by modeling their behavioral patterns using recent pick-up and drop-off points.
  • To reduce reliance on full GPS trajectories by focusing on driver history and semantic location features.
  • To enhance prediction accuracy by treating destination prediction as a regression task, outputting exact coordinates rather than selecting from a discrete set of locations.
  • To integrate geographical semantics from Location-Based Social Networks (LBSNs), such as Foursquare POI data, into the model for richer spatial representation.
  • To enable real-time, instantaneous predictions at trip start, supporting efficient fleet dispatching and urban mobility planning.

Proposed method

  • The model uses a Long Short-Term Memory (LSTM) network to encode the sequence of past pick-up and drop-off points as a driver's behavioral history.
  • Each location is embedded using a learned embedding layer, with input features including one-hot encoded zone identifiers (BOC) and Word2Vec-style embeddings (W2V) derived from Foursquare POI categories.
  • A self-attention mechanism is applied to the LSTM hidden states to weight the importance of different past locations in predicting the next destination.
  • The output layer performs regression to predict the exact latitude and longitude of the next drop-off point, rather than selecting from a predefined set of locations.
  • The model is trained end-to-end using mean squared error (MSE) loss on the predicted coordinates.
  • Semantic representations of urban zones are enriched using Foursquare POI data, including category types and spatial proximity, to improve embedding quality.

Experimental results

Research questions

  • RQ1Can modeling taxi drivers' behavior using only their recent pick-up and drop-off history improve next-destination prediction accuracy?
  • RQ2Does treating destination prediction as a regression problem (predicting exact coordinates) outperform traditional multiclass classification approaches?
  • RQ3To what extent do semantic features from Location-Based Social Networks (LBSNs) like Foursquare enhance prediction performance?
  • RQ4How does the model perform across diverse urban environments such as Porto, Manhattan, and San Francisco?
  • RQ5Can the model enable real-time, instantaneous predictions at the start of a trip, improving dispatching efficiency?

Key findings

  • The LSTM (BOC+W2V) model achieved a 10.5% relative improvement in average error distance (0.355 km) over the ECML/PKDD 2015 competition winner on the Porto dataset.
  • On the Manhattan dataset, the model reduced error distance by 18% compared to the MMLP baseline, demonstrating superior generalization.
  • In San Francisco, where trajectories are dense with GPS points, the MMLP baseline performed better due to its reliance on early and late trajectory points, but LSTM (BOC+W2V) still outperformed MMLP-SEQ by 17%.
  • The regression-based approach significantly outperformed multiclass classification in Manhattan, where coordinate precision matters more due to uneven spatial distribution.
  • The integration of Foursquare POI data and zone embeddings (W2V) improved prediction accuracy over the baseline LSTM model, confirming the value of semantic spatial features.
  • The model enables instantaneous predictions using only the driver’s recent history, making it suitable for real-time dispatching systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.