Trace2trace-A Feasibility Study on Neural Machine Translation Applied to Human Motion Trajectories

Sensors (Basel). 2020 Jun 21;20(12):3503. doi: 10.3390/s20123503.

Abstract

Neural machine translation is a prominent field in the computational linguistics domain. By leveraging the recent developments of deep learning, it gave birth to powerful algorithms for translating text from one language to another. This study aims to assess the feasibility of transferring the neural machine translation approach into a completely different context, namely human mobility and trajectory analysis. Building a conceptual parallelism between sentences (sequences of words) and motion traces (sequences of locations), we aspire to translate individual trajectories generated by a certain category of users into the corresponding mobility traces potentially generated by a different category of users. The experiment is inserted in the background of tourist mobility analysis, with the goal of translating the motion behavior of tourists belonging to a specific nationality into the motion behavior of tourists belonging to a different nationality. The model adopted is based on the seq2seq approach and consists of an encoder-decoder architecture based on long short-term memory (LSTM) neural networks and neural embeddings. The encoder turns an input location sequence into a corresponding hidden vector; the decoder reverses the process, turning the vector into an output location sequence. The proposed framework, tested on a real-world large-scale dataset, explores an effective attempt of motion transformation between different entities, arising as a potentially powerful source of mobility information disclosure, especially in the context of crowd management and smart city services.

Keywords: LSTM; encoder–decoder; motion behavior; neural networks; seq2seq; smart tourism; trajectories.

MeSH terms

  • Algorithms
  • Feasibility Studies
  • Human Activities*
  • Humans
  • Machine Learning*
  • Movement*
  • Neural Networks, Computer*