<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Online Co-movement Patern Prediction in Mobility Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Andreas Tritsarolis</string-name>
          <email>andrewt@unipi.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Panagiotis Tampakis</string-name>
          <email>ptampak@unipi.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Machine Learning, Predictive Analytics, Co-movement Patterns,</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Eva Chondrodima</string-name>
          <email>evachon@unipi.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Aggelos Pikrakis</string-name>
          <email>pikrakis@unipi.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data Science Lab., Department of Informatics, University of Piraeus</institution>
          ,
          <addr-line>Piraeus</addr-line>
          ,
          <country country="GR">Greece</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Trajectory Prediction</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Predictive analytics over mobility data are of great importance since they can assist an analyst to predict events, such as collisions, encounters, trafic jams, etc. A typical example of such analytics is future location prediction, where the goal is to predict the future location of a moving object, given a look-ahead time. What is even more challenging is being able to accurately predict collective behavioural patterns of movement, such as comovement patterns. In this paper, we provide an accurate solution to the problem of Online Prediction of Co-movement Patterns. In more detail, we split the original problem into two sub-problems, namely Future Location Prediction and Evolving Cluster Detection. Furthermore, in order to be able to calculate the accuracy of our solution, we propose a co-movement pattern similarity measure, which facilitates the matching of the predicted clusters with the actual ones. Finally, the accuracy of our solution is demonstrated experimentally over a real dataset from the maritime domain.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        The vast spread of GPS-enabled devices, such as smartphones,
tablets and GPS trackers, has led to the production of large
amounts of mobility related data. By nature, this kind of data
are streaming and there are several application scenarios where
the processing needs to take place in an online fashion. These
properties have posed new challenges in terms of eficient
storage, analytics, and knowledge extraction out of such data. One
of these challenges is online cluster analysis, where the goal is
to unveil hidden patterns of collective behaviour from streaming
trajectories, such as co-movement patterns [
        <xref ref-type="bibr" rid="ref2 ref33 ref5 ref6 ref8">2, 5, 6, 8, 33</xref>
        ]. What
is even more challenging is predictive analytics over mobility
data, where the goal is to predict the future behaviour of moving
objects, which can have a wide range of applications, such as
predicting collisions, future encounters, trafic jams, etc. At an
individual level, a typical and well-studied example of such
analytics is future location prediction [
        <xref ref-type="bibr" rid="ref23 ref24 ref27 ref32">23, 24, 27, 32</xref>
        ], where the goal
is to predict the future location of a moving object, given a
lookahead time. However, prediction of future mobility behaviour
at a collective level and more specifically Online Prediction of
Co-movement Patterns, has not been addressed in the relevant
literature yet.
      </p>
      <p>
        Concerning the definition of co-movement patterns, there are
several approaches in the literature, such as [
        <xref ref-type="bibr" rid="ref2 ref5 ref6 ref8">2, 5, 6, 8</xref>
        ]. However,
all of the above are either ofline and/or operate at predefined
temporal snapshots that imply temporal alignment and uniform
sampling, which is not realistic assumptions. For this reason,
we adopt the approach presented in [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ], which, to the best of
our knowledge, is the first online method for the discovery of
co-movement patterns in mobility data that does not assume
temporal alignment and uniform sampling. The goal in [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] is
to discover co-movement patterns, namely Evolving Clusters, in
an online fashion, by employing a graph-based representation.
By doing so, the problem of co-movement pattern detection is
transformed to identifying Maximal Cliques (MCs) (for spherical
clusters) or Maximal Connected Subgraphs (MCSs) (for
densityconnected clusters). Figure 1 illustrates such an example, where
in blue we have the historical evolving clusters and in orange
the predicted future ones.
      </p>
      <p>Several mobility-related applications could benefit from such
an operation. In the urban trafic domain, predicting co-movement
patterns could assist in detecting future trafic jams which in turn
can help the authorities take the appropriate measures (e.g.
adjusting trafic lights) in order to avoid them. In the maritime domain,
a typical problem is illegal transshipment, where groups of
vessels move together "close" enough for some time duration and
with low speed. It becomes obvious that predicting co-movement
patterns could help in predicting illegal transshipment events.
Finally, in large epidemic crisis, contact tracing is one of the tools
to identify individuals that have been close to infected persons
for some time duration. Being able to predict these groups can
help avoid future contacts with possibly infected individuals.</p>
      <p>
        The problem of predicting the spatial properties of group
patters has only been recently studied [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. In more detail, the
authors in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] adopt a spherical definition of groups, where each
group consists of moving objects that are confined within a
radius  and their goal is to predict the centroid of the groups at the
next timeslice. However, this approach is ofline and cannot be
applied in an online scenario. Furthermore, the group definition
adopted in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is rather limited, since the identify only spherical
groups, as opposed to [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] where both spherical and
densityconnected clusters can be identified. Finally, the authors in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
predict only the centroids of the clusters and not the shape and
the membership of each cluster.
      </p>
      <p>Inspired by the above, the problem that we address in this
paper is the Online Prediction of Co-movement Patterns. Informally,
given a look-ahead time interval Δ , the goal is to predict the
groups, i.e. their spatial shape (spherical or density-connected),
temporal coverage and membership, after Δ time. In more detail,
we split the original problem into two sub-problems, namely
Future Location Prediction and Evolving Cluster Detection. The
problem of Online Prediction of Co-movement Patterns is quite
challenging, since, apart from the inherent dificulty of predicting
the future, we also need to define how the error between the
actual and the predicted clusters will be measured. This further
implies that a predicted cluster should be correctly matched with
the corresponding actual cluster which is not a straightforward
procedure. To the best of our knowledge, the problem of Online
Prediction of Co-movement Patterns, has not been addressed in
the literature yet. Our main contributions are the following:
• We provide an accurate solution to the problem of Online</p>
      <p>Prediction of Co-movement Patterns.
• We propose a co-movement pattern similarity measure,
which helps us “match” the predicted with the actual
clusters.
• We perform an experimental study with a real dataset
from the maritime domain, which verifies the accuracy of
our proposed methodology.</p>
      <p>The rest of the paper is organized as follows. Section 2
discusses related work. In Section 3, we formally define the problem
of Online Prediction of Co-movement Patterns. Subsequently, in
Section 4 we propose our two-step methodology and in Section 5,
we introduce a co-movement pattern similarity measure along
with the cluster “matching” algorithm. Section 6, presents our
experimental findings and, finally, in Section 7 we conclude the
paper and discuss future extensions.
2</p>
    </sec>
    <sec id="sec-2">
      <title>RELATED WORK</title>
      <p>The work performed in this paper is closely related to three topics,
(a) trajectory clustering and more specifically co-movement
pattern discovery, (b) future location prediction and (c) co-movement
pattern prediction.</p>
      <p>
        Co-movement patterns. One of the first approaches for
identifying such collective mobility behaviour is the so-called flock
pattern [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], which identifies groups of at least  objects that
move within a disk of radius  for at least  consecutive
timepoints. Inspired by this, several related works followed, such as
moving clusters [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], convoys [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], swarms [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], platoons [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ],
traveling companion [
        <xref ref-type="bibr" rid="ref30">30</xref>
        ] and gathering pattern [
        <xref ref-type="bibr" rid="ref38">38</xref>
        ]. Even though
all of these approaches provide explicit definitions of several
mined patterns, their main limitation is that they search for
specific collective behaviours, defined by respective parameters. An
approach that defines a new generalized mobility pattern is
presented in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. In more detail, the general co-movement pattern
(GCMP), is proposed, which includes Temporal Replication and
Parallel Mining, a method that, as suggested by its name, splits
a data snapshot spatially and replicates data when necessary to
ensure full coverage, and Star Partitioning and ApRiori
Enumerator, a technique that uses graph pruning in order to avoid the
data replication that takes place in the previous method. In [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ],
the authors propose a frequent co-movement pattern (f-CoMP)
definition for discovering patterns at multiple spatial scales, also
exploiting the overall shape of the objects’ trajectories, while
at the same time it relaxes the temporal and spatial constraints
of the seminal works (i.e. Flocks, Convoys, etc.) in order to
discover more interesting patterns. The authors in [
        <xref ref-type="bibr" rid="ref2 ref6">2, 6</xref>
        ], propose
a two-phase online distributed co-movement pattern detection
framework, which includes the clustering and the pattern
enumeration phase, respectively. During the clustering phase for
timestamp  , the snapshot  is clustered using Range-Join and
DBSCAN.
      </p>
      <p>
        Another line of research, tries to discover groups of either
entire or portions of trajectories considering their routes. There
are several approaches whose goal is to group whole
trajectories, including T-OPTICS [
        <xref ref-type="bibr" rid="ref18 ref19">18, 19</xref>
        ], that incorporates a trajectory
similarity function into the OPTICS algorithm. However,
discovering clusters of complete trajectories can overlook significant
patterns that might exist only for portions of their lifespan. To
deal with this, another line of research has emerged, that of
Subtrajectory Clustering[
        <xref ref-type="bibr" rid="ref20 ref21 ref28 ref29">20, 21, 28, 29</xref>
        ], where the goal is to partition
a trajectory into subtrajectories, whenever the density or the
composition and its neighbourhood changes “significantly”, then
form groups of similar ones, while, at the same time, separate
the ones that fit into no group, called outliers.
      </p>
      <p>
        Another perspective into co-movement pattern discovery, is to
reduce cluster types into graph properties and view them as such.
In [
        <xref ref-type="bibr" rid="ref31 ref33">31, 33</xref>
        ], the authors propose a novel co-movement pattern
definition, called evolving clusters, that unifies the definitions
of flocks and convoys and reduces them to Maximal Cliques
(MC), and Connected Subgraphs (MCS), respectively. In addition,
the authors propose an online algorithm, that discovers several
evolving cluster types simultaneously in real time using Apache
Kafka®, without assuming temporal alignment, in constrast to
the seminal works (i.e. flocks, convoys).
      </p>
      <p>
        In the proposed predictive model, we will use the definition
of evolving clusters [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] for co-movement pattern discovery. The
reason why is this the most appropriate, is that we can predict
the course of several pattern types at the same time, without the
need to call several other algorithms, therefore adding redundant
computational complexity.
      </p>
      <p>
        Future Location Prediction. The fact that the Future
Location Prediction (FLP) problem has been extensivelly studied
brings up its importance and applicability in a wide range of
applications. Towards tackling the FLP problem, one line of work
includes eforts that take advantage of historical movement
patterns in order to predict the future location. Such an approach is
presented in [
        <xref ref-type="bibr" rid="ref32">32</xref>
        ], where the authors propose MyWay, a hybrid,
pattern-based approach that utilizes individual patterns when
available, and when not, collective ones, in order to provide more
accurate predictions and increase the predictive ability of the
system. In another efort, the authors in [
        <xref ref-type="bibr" rid="ref23 ref24">23, 24</xref>
        ] utilize the work
done by [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ] on distributed subtrajectory clustering in order to
be able to extract individual subtrajectory patterns from big
mobility data. These patterns are subsequently utilized in order to
predict the future location of the moving objects in parallel.
      </p>
      <p>A diferent way of addressing the FLP problem includes
machine learning approaches.</p>
      <p>
        Recurrent Neural Network (RNN) -based models [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]
constitute a popular method for trajectory prediction due to their
powerful ability to fit complex functions, along with their ability of
adjusting the dynamic behaviour as well as capturing the
causality relationships across sequences. However, research in the
maritime domain is limited regarding vessel trajectory prediction
and Gated Recurrent Units (GRU) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] models, which constitute
the newer generation of RNN.
      </p>
      <p>
        Suo et.al. [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] presented a GRU model to predict vessel
trajectories based on a) the Density-Based Spatial Clustering of
Applications with Noise (DBSCAN) algorithm to derive main
trajectories and, b) a symmetric segmented-path distance approach
to eliminate the influence of a large number of redundant data
and to optimize incoming trajectories. Ground truth data from
AIS raw data in the port of Zhangzhou, China were used to train
and verify the validity of the proposed model.
      </p>
      <p>
        Liu et.al. [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] proposed a trajectory classifier called
SpatioTemporal GRU to model the spatio-temporal correlations and
irregular temporal intervals prevalently presented in spatio-temporal
trajectories. Particularly, a segmented convolutional weight
mechanism was proposed to capture short-term local spatial
correlations in trajectories along with an additional temporal gate
to control the information flow related to the temporal interval
information.
      </p>
      <p>
        Wang et.al. [
        <xref ref-type="bibr" rid="ref34">34</xref>
        ] aiming at predicting the movement trend of
vessels in the crowded port water of Tianjin port, proposed a
vessel berthing trajectory prediction model based on bidirectional
GRU (Bi-GRU) and cubic spline interpolation.
      </p>
      <p>
        Co-movement pattern prediction. The most similar work
to ours has only been recently presented in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. More specifically,
the authors in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], divide time into time slices of fixed step size
and adopt a spherical definition of groups, where each group
consists of moving objects that are confined within a radius 
and their goal is to predict the centroid of the groups at the
next timeslice. However, this approach is ofline and cannot be
applied in an online scenario. Furthermore, the group definition
adopted in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is rather limited, since the identify only spherical
groups, as opposed to [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ] where both spherical and
densityconnected clusters can be identified. Finally, the authors in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
predict only the centroids of the clusters and not the shape and
the membership of each cluster.
      </p>
    </sec>
    <sec id="sec-3">
      <title>PROBLEM DEFINITION</title>
      <p>As already mentioned, we divide the problem into two
subproblems, namely Future Location Prediction and Evolving
Clusters Detection. Before proceeding to the actual formulation of the
problem, let us provide some preliminary definitions.
timestamp  =  + Δ .</p>
      <p>Definition 3.1. (Trajectory) A trajectory  = {1, . . .  } is
considered as a sequence of timestamped locations, where  is
the latest reported position of  . Further,  = {, ,  }, with
1 ≤  ≤ .</p>
      <p>Definition 3.2. (Future Location Prediction). Given an input
dataset  = {1, . . . , | | } of trajectories and a time interval
Δ , our goal is ∀ ∈  to predict  = { ,  } at</p>
      <p>
        An informal definition regarding group patterns could be: “a
large enough number of objects moving close enough to each
other, in space and time, for some time duration”. As already
mentioned, in this paper we adopt the definition provided in [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ].
      </p>
      <p>Definition 3.3. (Evolving Cluster). Given: a set  of
trajectories, a minimum cardinality threshold , a maximum distance
threshold  , and a minimum time duration threshold , an
Evolving Cluster ⟨,  ,  , ⟩ is a subset  ∈  of the moving
objects’ population, | | ≥ , which appeared at time point 
and remained alive until time point  (with  −  ≥ )
during the lifetime [ ,  ] of which the participating
moving objects were spatially connected with respect to distance 
and cluster type .</p>
      <p>Definition 3.4. (Group Pattern Prediction Online). Given: a
set  of trajectories,  of co-movement patterns up to timeslice
  and a look-ahead threshold Δ , we aim to predict all the
valid co-movement patterns  ′ ∈ (  ,   + Δ ].</p>
      <p>Figure 1 provides an illustration of Definition 3.4. More
specifically, we know the movement of nine objects from  1 until  3
and via EvolvingClusters with  = 3 and  = 2 that they form four
evolving clusters 1 = {, , , , ,  , , ℎ,  }, 2 = {, , , ,  },
3 = {, ,  }, 4 = {, , ,  }, 5 = {, ℎ,  }. Our goal is to predict
their respective locations until  5. Running EvolvingClusters
with the same parameters for the predicted timeslices, reveals us
(with high probability) that 2, 3, 4, 5 will continue to exist as
well as the creation of a new pattern 6 = { , , ℎ,  }.
4</p>
    </sec>
    <sec id="sec-4">
      <title>METHODOLOGY</title>
      <p>In this section we present the proposed solution to the problem
of Online Prediction of Co-movement Patterns, composed of two
parts: a) the FLP method, and b) the Evolving Cluster Discovery
algorithm. Also, an example is presented illustrating the approach
operation.
4.1</p>
    </sec>
    <sec id="sec-5">
      <title>Overview</title>
      <p>Figure 2 illustrates the architecture of our proposed methodology.
First we split the problem of Online Prediction of Co-movement
Patterns into two parts, the FLP, and the Evolving Cluster
Discovery. The FLP method is, also, divided to two parts: a) the
FLP-ofline part, where the training procedure of the model is
taking place, and b) the FLP-online part, where the trained FLP
model is applied to streaming GPS locations to predict the next
objects’ location.</p>
      <p>Thus, our proposed approach is further divided in the ofline
phase and the online one. Particularly, at the ofline phase, we
EvolvingClusters</p>
      <p>
        Future Location
Prediction (FLP) Model
train our FLP model by using historic trajectories. Afterwards, at
the online phase we receive the streaming GPS locations in order
to use them to create a bufer for each moving object. Then, we
use our trained FLP model to predict the next objects’ location
and apply EvolvingClusters to each produced timeslice.
Trajectories can be considered as time sequence data [
        <xref ref-type="bibr" rid="ref37">37</xref>
        ] and
thus are suited to be treated with techniques that are capable
of handling sequential data and/or time series [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ]. Over the
past two decades, the research interest on forecasting time series
has been moved to RNN-based models, with the GRU
architecture being the newer generation of RNN, which has emerged
as an efective technique for several dificult learning problems
(including sequential or temporal data -based applications) [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
Although, the most popular RNN-based architecture is the
wellknown Long Short-Term Memory (LSTM) [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], GRU present some
interesting advantages over the LSTM. More specifically, GRU
are less complicated, easier to modify and faster to train. Also,
GRU networks achieve better accuracy performance compared
to LSTM models on trajectory prediction problems on various
domains, such as on maritime [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ], on aviation [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] and on land
trafic [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Hence, this work follows this direction and employs a
GRU-based method.
      </p>
      <p>
        GRU includes internal mechanisms called gates that can
regulate the flow of information. Particularly, the GRU hidden layer
include two gates, a reset gate which is used to decide how much
past information to forget and an update gate which decides what
information to throw away and what new information to add.
We briefly state the update rules for the employed GRU layer.
For more details, the interested reader is referred to the original
publications [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Also, details for the BPTT algorithm, which was
employed for training the model, can be found in [
        <xref ref-type="bibr" rid="ref35">35</xref>
        ].
z =  (Wp˜  · p˜ + Wℎ · h−1 + b )
r =  (W p˜ · p˜  + Wℎ · h−1 + b )
h˜ = tanh(Wp˜ℎ · p˜  + Wℎℎ · (r ∗ h−1) + bℎ ) (3)
h = z ⊙ h−1 + (1 − z ) ⊙ h˜  (4)
where z and r represent the update and reset gates,
respectively, h˜ and h represent the intermediate memory and output,
respectively. Also, in these equations, the W∗ variables are the
weight matrices and the b∗ variables are the biases. Moreover,
p˜ represents the input, which is composed of the diferences in
space (longitude and latitude), the diference in time and the time
horizon for which we want to predict the vessel’s position; the
(1)
(2)
diferences are computed between consecutive points of each
vessel.
      </p>
      <p>
        In this work, a GRU-based model is employed to solve the
future location prediction problem. The proposed GRU-based
network architecture is composed of the following layers: a) an
input layer of four neurons, one for each input variable, b) a single
GRU hidden layer composed of 150 neurons, c) a fully-connected
hidden layer composed of 50 neurons, and d) an output layer
of two neurons, one for each prediction coordinate (longitude
and latitude). A schematic overview of the proposed network
architecture is presented in Figure 3. Also, details for the
Backward Propagation Through Time algorithm and for the Adam
approach, which were employed for the NN learning purposes,
can be found in [
        <xref ref-type="bibr" rid="ref36">36</xref>
        ] and [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], respectively.
4.3
      </p>
    </sec>
    <sec id="sec-6">
      <title>Evolving Clusters Discovery</title>
      <p>After getting the predicted locations for each moving object, we
use EvolvingClusters in order to finally present the predicted
co-movement patterns. Because the sampling rate may vary for
each moving object, we use linear interpolation to temporally
align the predicted locations at a common timeslice with a stable
sampling (alignment) rate  .</p>
      <p>Given a timeslice   , EvolvingClusters works in a nutshell,
as follows:
• Calculates the pairwise distance for each object within
  , and drop the locations with distance less than  ;
• Creates a graph based on the filtered locations, and extract
its Maximal Connected Subgraphs (MCS) and Cliques (MC)
with respect to ;
• Maintains the currently active (and inactive) clusters, given
the MCS and MC of   and the recent (active) pattern
history; and
• Outputs the eligible active patterns with respect to ,  and
 .</p>
      <p>The output of EvolvingClusters, and by extension of the whole
predictive model, is a tuple of four elements, the set of objects
 that form an evolving cluster, the starting time  , the ending
time  , and the type  of the group pattern, respectively. For
instance, the final output of the model at the example given at
Section 3 would be a set of 4-element tuples, i.e., {(2,  1,  5, 2),
(3,  1,  5, 1), (4,  1,  4, 1), (5,  1,  5, 1)} Ð{(4,  1,
 5, 2), (6,  4,  5, 1)}, where  = 1(2) corresponds to MC
(respectively, MCS). We observe that, the first four evolving
clusters are maintained exactly as found in the historic dataset. In
addition to those, we predict (via the FLP model) the following:
where 1 + 2 + 3 = 1,  ∈ (0, 1) ,  ∈ {1, 2, 3}.</p>
      <p>This further implies that a predicted cluster should be correctly
matched with the corresponding actual cluster which is not a
straightforward procedure. Our methdology for matching each
predicted co-movement pattern  with the corresponding
actual one  is depicted in Algorithm 1.</p>
      <p>Algorithm 1: ClusterMatching. Matches the
predicted with the actual evolving clusters
Input: Evolving Clusters disovered using the predicted
 ; and actual  data-points; Measures’
weights ,  ∈ {1, 2, 3}</p>
      <p>Output: “Matched” Evolving Clusters 
1  ← {}
2 for predicted patern  ∈  do
3 _ ← {}
4  = 0
5 for actual patern  ∈  do
6 calculate ∗ ( ,  )
if ∗ ( ,  ) ≥  then
 = ∗ ( ,  )
• 4 becomes inactive at timeslice  5, but it remains active
as an MCS at timeslice  5
• A new evolving cluster 6 is discovered at timeslice  5
In the Sections that will follow, we define the evaluation
measure we use in order to map, each discovered evolving cluster
from the predicted to the respective ones in the actual locations,
as well present our preliminary results.
5</p>
    </sec>
    <sec id="sec-7">
      <title>EVALUATION MEASURES</title>
      <p>The evaluation of a co-movement pattern prediction approach
is not a straightforward task, since we need to define how the
error between the predicted and the actual co-movement patterns
will be quantified. Intuitively, we try to match each predicted
co-movement pattern with the most similar actual one. Towards
this direction, we need to define a similarity measure between
co-movement patterns. In more detail, we break down this
problem into three subproblems, the spatial similarity, the temporal
similarity and the membership similarity. Concerning the spatial
similarity this defined as follows:
 ( ,  ) =
 ( ) Ñ  ( )
 ( ) Ð  ( )
where  ( ) ( ( )) is the Minimum Bounding
Rectangle of the predicted co-movement pattern (actual co-movement
pattern, respectively). Regarding the temporal similarity:
 ( ,  ) =
  ( ) Ñ   ( )
  ( ) Ð   ( )
where  ( ) (  ( )) is the time interval when
the the predicted co-movement pattern was valid (actual
comovement pattern, respectively). As for the membership
similarity, we adopt the Jaccard similarity:
 ( ,  ) =
| Ñ  |
| Ð  |
Finally, we define the co-movement pattern similarity as:
 1 · +


 2 · +
∗ ( ,  ) =  3 ·





 0

 &gt; 0</p>
      <p>In more detail, we “match” each predicted co-movement
pattern  with the most similar actually detected pattern  .
After all predicted clusters get traversed we end up with 
wich holds all the “matchings”, which subsequently will help us
in evaluate the prediction procedure by quantifuing the error
between the predicted and the actual co-movement patterns.
6</p>
    </sec>
    <sec id="sec-8">
      <title>EXPERIMENTAL STUDY</title>
      <p>In this section, we evaluate our predictive model on a real-life
mobility dataset from the maritime domain, and present our
preliminary results.
6.1</p>
    </sec>
    <sec id="sec-9">
      <title>Experimental Setup</title>
      <p>All algorithms were implemented in Python3 (via Anaconda31
virtual environments). The experiments were conducted using
Apache Kafka® with 1 topic for the transmitted (loaded from
a CSV file) and predicted locations, as well as 1 consumer for
1https://www.anaconda.com/
FLP and evolving cluster discovery, respectively. The machine
we used is a single node with 8 CPU cores, 16 GB of RAM and
256 GB of HDD, provided by okeanos-knossos2, an IAAS service
for the Greek Research and Academic Community.
6.2</p>
    </sec>
    <sec id="sec-10">
      <title>Dataset</title>
      <p>
        It is a well-known fact that sensor-based information is prone to
errors due to device malfunctioning. Therefore, a necessary step
before any experiment(s) is that of pre-processing. In general,
pre-processing of mobility data includes data cleansing (e.g. noise
elimination) as well as data transformation (e.g. segmentation,
temporal alignment), tasks necessary for whatever analysis is
going to follow [
        <xref ref-type="bibr" rid="ref22">22</xref>
        ].
      </p>
      <p>In the experiments that will follow, we use a real-life mobility
dataset3 from the maritime domain. The dataset, as product of
our preprocessing pipeline, consists of 148,223 records from 246
ifshing vessels organized in 2,089 trajectories moving within the
Aegean Sea. The dataset ranges in time and space, as follows:
• Temporal range: 2nd June, 2018 – 31st August, 2018 (approx.</p>
      <p>3 months)
• Spatial range: longitude in [23.006, 28.996]; latitude in
[35.345, 40.999]</p>
      <p>During the preprocessing stage, we drop erroneous records (i.e.
GPS locations) based on a speed threshold  as well as
stop points (i.e. locations with speed close to zero); afterwards we
organize the cleansed data into trajectories based on their
pairwise temporal diference, given a threshold  . Finally, in order
to discover evolving clusters, we need a stable and temporally
aligned sampling rate. For the aforementioned dataset, we set
the following thresholds:  = 50,  = 30., and
alignment rate equal to 1.</p>
      <p>The rationale behind these thresholds stems from the
characteristics of the dataset which were unveiled after a statistical
analysis of the distribution of the  and  between succesive
points of the same trajectory.
6.3</p>
    </sec>
    <sec id="sec-11">
      <title>Preliminary Results</title>
      <p>In this section, we evaluate the prediction error of the proposed
model with respect to the “ground truth”. We define as “ground
truth”, the discovered evolving clusters on the actual GPS
locations. For the pattern discovery phase, we tune  ,
using  = 3 vessels,  = 3 timeslices, and  = 1500 meters. For the
following experimental study, we focus – without loss of
generality – on the MCS output of EvolvingClusters (density-connected
clusters).</p>
      <p>Figure 4 illustrates the distribution of the three cluster
similarity measures, namely  ,  , and  , as
well as the overall similarity ∗. We observe that the majority
of the predicted clusters are very close to their “ground truth”
values, with the median overall similarity being almost 88%. This
is expected however, as the quality of EvolvingClusters’ output
is determined by two factors; the selected parameters; and the
input data. Focusing on the latter4, we observe that the algorithm
is quite insensitive to prediction errors, as deviations from the
actual trajectory has minor impact to  .</p>
      <p>
        Figure 5 illustrates the previous discussion. More specifically,
for the predicted and corresponding actual MCS with similarity
2https://okeanos-knossos.grnet.gr/home/
3Kindly provided to us by MarineTrafic.
4The parameter sensitivity of EvolvingClusters is out of the scope of this paper. For
more details see [
        <xref ref-type="bibr" rid="ref33">33</xref>
        ]
close to the median, we visualize the trajectory of each
participating object on the map, as well as the MBRs for each respective
timeslice, in order to visualize the clusters’ temporal and
spatial similarity. It can be observed that deviations from the actual
trajectories resulted in minor changes in the area of the points’
MBR, and consequently to the overall similarity.
      </p>
      <p>Finally, Table 1 presents the metrics on the Kafka Consumers
used for the online layer of our predictive model, namely, Record
Lag and Consumption Rate. Observing the Record Lag, we deduce
that our algorithm can keep up with the data-stream in a timely
manner, while looking at Consumption Rate (i.e., the average
number of records consumed per second) we conclude that our
proposed solution can process up to almost 77 records per second,
which is compliant with the online real-time processing scenario.</p>
    </sec>
    <sec id="sec-12">
      <title>CONCLUSIONS AND FUTURE WORK</title>
      <p>In this paper, we proposed an accurate solution to the problem
of Online Prediction of Co-movement Patterns, which is divided
into two phases: Future Location Prediction and Evolving Cluster
Detection. The proposed method is based on a combination of
GRU models and Evolving Cluster Detection algorithm and is
evaluated through a real-world dataset from the maritime domain
taking into account a novel co-movement pattern similarity
measure, which is able to match the predicted clusters with the actual
ones. Our study on a real-life maritime dataset demonstrates
the eficiency and efectiveness of the proposed methodology.
Thus, based on the potential applications, as well as the
quality of the results produced, we believe that the proposed model
can be a valuable utility for researchers and practitioners alike.
In the near future, we aim to develop an online co-movement
pattern prediction approach that, instead of breaking the
problem at hand into two disjoint sub-problems without any specific
synergy (i.e. first predict the future location of objects and then
detect future co-movement patterns), will combine the two steps
in a unified solution that will be able to directly predict the future
co-movement patterns.</p>
    </sec>
    <sec id="sec-13">
      <title>ACKNOWLEDGMENTS</title>
      <p>This work was partially supported by projects i4Sea (grant
T1EDK03268) and Track&amp;Know (grant agreement No 780754), which
have received funding by the European Regional Development
Fund of the EU and Greek national funds (through the
Operational Program Competitiveness, Entrepreneurship and
Innovation, under the call Research-Create-Innovate) and the EU
Horizon 2020 R&amp;I Programme, respectively.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Benterki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Judalet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Choubeila</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Boukhnifer</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Long-Term Prediction of Vehicle Trajectory Using Recurrent Neural Networks</article-title>
          .
          <source>In IECON 2019 - 45th Annual Conference of the IEEE Industrial Electronics Society</source>
          , Vol.
          <volume>1</volume>
          .
          <fpage>3817</fpage>
          -
          <lpage>3822</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Lu</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Yunjun</given-names>
            <surname>Gao</surname>
          </string-name>
          , Ziquan Fang, Xiaoye Miao, Christian S. Jensen, and
          <string-name>
            <given-names>Chenjuan</given-names>
            <surname>Guo</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Real-time Distributed Co-Movement Pattern Detection on Streaming Trajectories</article-title>
          .
          <source>Proc. VLDB Endow</source>
          .
          <volume>12</volume>
          ,
          <issue>10</issue>
          (
          <year>2019</year>
          ),
          <fpage>1208</fpage>
          -
          <lpage>1220</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Kyunghyun</given-names>
            <surname>Cho</surname>
          </string-name>
          , Bart van Merriënboer,
          <string-name>
            <surname>Caglar Gulcehre</surname>
            , Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and
            <given-names>Yoshua</given-names>
          </string-name>
          <string-name>
            <surname>Bengio</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation</article-title>
          .
          <source>In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          .
          <article-title>Association for Computational Linguistics</article-title>
          , Doha, Qatar,
          <fpage>1724</fpage>
          -
          <lpage>1734</lpage>
          . https://doi.org/10.3115/v1/
          <fpage>D14</fpage>
          -1179
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>R.</given-names>
            <surname>Dey</surname>
          </string-name>
          and
          <string-name>
            <given-names>F. M.</given-names>
            <surname>Salem</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>Gate-variants of Gated Recurrent Unit (GRU) neural networks</article-title>
          .
          <source>In 2017 IEEE 60th International Midwest Symposium on Circuits and Systems (MWSCAS)</source>
          .
          <volume>1597</volume>
          -
          <fpage>1600</fpage>
          . https://doi.org/10.1109/MWSCAS.
          <year>2017</year>
          .8053243
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Qi</given-names>
            <surname>Fan</surname>
          </string-name>
          , Dongxiang Zhang, Huayu Wu, and
          <string-name>
            <surname>Kian-Lee Tan</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>A General and Parallel Platform for Mining Co-Movement Patterns over Large-scale Trajectories</article-title>
          .
          <source>Proc. VLDB Endow</source>
          .
          <volume>10</volume>
          ,
          <issue>4</issue>
          (
          <year>2016</year>
          ),
          <fpage>313</fpage>
          -
          <lpage>324</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Ziquan</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Yunjun</given-names>
            <surname>Gao</surname>
          </string-name>
          , Lu Pan, Lu Chen, Xiaoye Miao, and
          <string-name>
            <surname>Christian</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Jensen</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>CoMing: A Real-time Co-Movement Mining System for Streaming Trajectories</article-title>
          .
          <source>In SIGMOD</source>
          <year>2020</year>
          ,
          <string-name>
            <given-names>David</given-names>
            <surname>Maier</surname>
          </string-name>
          , Rachel Pottinger, AnHai Doan,
          <string-name>
            <surname>Wang-Chiew</surname>
            <given-names>Tan</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Abdussalam</given-names>
            <surname>Alawini</surname>
          </string-name>
          , and
          <string-name>
            <surname>Hung</surname>
            <given-names>Q.</given-names>
          </string-name>
          <string-name>
            <surname>Ngo</surname>
          </string-name>
          (Eds.). ACM,
          <volume>2777</volume>
          -
          <fpage>2780</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Han</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and J.</given-names>
            <surname>Yang</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Real-time Short- Term Trajectory Prediction Based on GRU Neural Network</article-title>
          .
          <source>In 2019 IEEE/AIAA 38th Digital Avionics Systems Conference (DASC)</source>
          .
          <article-title>1-8</article-title>
          . https://doi.org/10.1109/DASC43569.
          <year>2019</year>
          .9081618
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Shahab</given-names>
            <surname>Helmi</surname>
          </string-name>
          and Farnoush Banaei Kashani.
          <year>2020</year>
          .
          <article-title>Multiscale Frequent Comovement Pattern Mining</article-title>
          .
          <source>In 36th IEEE International Conference on Data Engineering</source>
          ,
          <string-name>
            <surname>ICDE</surname>
          </string-name>
          <year>2020</year>
          . IEEE, Washington, DC,
          <fpage>829</fpage>
          -
          <lpage>840</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Sepp</given-names>
            <surname>Hochreiter</surname>
          </string-name>
          and
          <string-name>
            <given-names>Jürgen</given-names>
            <surname>Schmidhuber</surname>
          </string-name>
          .
          <year>1997</year>
          .
          <article-title>Long Short-Term Memory</article-title>
          .
          <source>Neural Computation</source>
          <volume>9</volume>
          ,
          <issue>8</issue>
          (
          <year>1997</year>
          ),
          <fpage>1735</fpage>
          -
          <lpage>1780</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Hoyoung</surname>
            <given-names>Jeung</given-names>
          </string-name>
          ,
          <source>Man Lung Yiu</source>
          , Xiaofang Zhou, Christian S. Jensen, and Heng Tao Shen.
          <year>2008</year>
          .
          <article-title>Discovery of convoys in trajectory databases</article-title>
          .
          <source>PVLDB 1</source>
          ,
          <issue>1</issue>
          (
          <year>2008</year>
          ),
          <fpage>1068</fpage>
          -
          <lpage>1080</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Panos</surname>
            <given-names>Kalnis</given-names>
          </string-name>
          , Nikos Mamoulis, and
          <string-name>
            <given-names>Spiridon</given-names>
            <surname>Bakiras</surname>
          </string-name>
          .
          <year>2005</year>
          .
          <article-title>On Discovering Moving Clusters in Spatio-temporal Data</article-title>
          .
          <source>In SSTD</source>
          .
          <volume>364</volume>
          -
          <fpage>381</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Sameera</surname>
            <given-names>Kannangara</given-names>
          </string-name>
          , Hairuo Xie, Egemen Tanin, Aaron Harwood, and
          <string-name>
            <given-names>Shanika</given-names>
            <surname>Karunasekera</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>Tracking Group Movement in Location Based Social Networks</article-title>
          .
          <source>In SIGSPATIAL '20: 28th International Conference on Advances in Geographic Information Systems. ACM</source>
          ,
          <volume>251</volume>
          -
          <fpage>262</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>P. D.</given-names>
            <surname>Kingma</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Ba</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Adam: A Method for Stochastic Optimization</article-title>
          .
          <source>In International Conference on Learning Representations (ICLR).</source>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>Patrick</surname>
            <given-names>Laube</given-names>
          </string-name>
          , Stephan Imfeld, and
          <string-name>
            <given-names>Robert</given-names>
            <surname>Weibel</surname>
          </string-name>
          .
          <year>2005</year>
          .
          <article-title>Discovering relative motion patterns in groups of moving point objects</article-title>
          .
          <source>IJGIS 19</source>
          ,
          <issue>6</issue>
          (
          <year>2005</year>
          ),
          <fpage>639</fpage>
          -
          <lpage>668</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>Yuxuan</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>James</given-names>
            <surname>Bailey</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Lars</given-names>
            <surname>Kulik</surname>
          </string-name>
          .
          <year>2015</year>
          .
          <article-title>Eficient mining of platoon patterns in trajectory databases</article-title>
          .
          <source>Data Knowl. Eng</source>
          .
          <volume>100</volume>
          (
          <year>2015</year>
          ),
          <fpage>167</fpage>
          -
          <lpage>187</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>Zhenhui</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Bolin</given-names>
            <surname>Ding</surname>
          </string-name>
          , Jiawei Han, and
          <string-name>
            <given-names>Roland</given-names>
            <surname>Kays</surname>
          </string-name>
          .
          <year>2010</year>
          .
          <article-title>Swarm: Mining Relaxed Temporal Moving Object Clusters</article-title>
          .
          <source>PVLDB 3</source>
          ,
          <issue>1</issue>
          (
          <year>2010</year>
          ),
          <fpage>723</fpage>
          -
          <lpage>734</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>H.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Sun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and I.</given-names>
            <surname>Lee</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Spatio-Temporal GRU for Trajectory Classification</article-title>
          .
          <source>In 2019 IEEE International Conference on Data Mining (ICDM)</source>
          .
          <volume>1228</volume>
          -
          <fpage>1233</fpage>
          . https://doi.org/10.1109/ICDM.
          <year>2019</year>
          .00152
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>Mirco</given-names>
            <surname>Nanni</surname>
          </string-name>
          and
          <string-name>
            <given-names>Dino</given-names>
            <surname>Pedreschi</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Time-focused clustering of trajectories of moving objects</article-title>
          .
          <source>J. Intell. Inf. Syst</source>
          .
          <volume>27</volume>
          ,
          <issue>3</issue>
          (
          <year>2006</year>
          ),
          <fpage>267</fpage>
          -
          <lpage>289</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Nikos</surname>
            <given-names>Pelekis</given-names>
          </string-name>
          , Stylianos Sideridis, Panagiotis Tampakis, and
          <string-name>
            <given-names>Yannis</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Simulating Our LifeSteps by Example</article-title>
          .
          <source>ACM Trans. Spatial Algorithms Syst. 2</source>
          ,
          <issue>3</issue>
          (
          <year>2016</year>
          ),
          <volume>11</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>11</lpage>
          :
          <fpage>39</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Nikos</surname>
            <given-names>Pelekis</given-names>
          </string-name>
          , Panagiotis Tampakis, Marios Vodas, Christos Doulkeridis, and
          <string-name>
            <given-names>Yannis</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>On temporal-constrained sub-trajectory cluster analysis</article-title>
          .
          <source>Data Min. Knowl. Discov</source>
          .
          <volume>31</volume>
          ,
          <issue>5</issue>
          (
          <year>2017</year>
          ),
          <fpage>1294</fpage>
          -
          <lpage>1330</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <surname>Nikos</surname>
            <given-names>Pelekis</given-names>
          </string-name>
          , Panagiotis Tampakis, Marios Vodas, Costas Panagiotakis, and
          <string-name>
            <given-names>Yannis</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>In-DBMS Sampling-based Sub-trajectory Clustering</article-title>
          .
          <source>In EDBT</source>
          .
          <volume>632</volume>
          -
          <fpage>643</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>Nikos</given-names>
            <surname>Pelekis</surname>
          </string-name>
          and
          <string-name>
            <given-names>Yannis</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2014</year>
          .
          <article-title>Mobility Data Management and Exploration</article-title>
          . Springer.
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <surname>Petros</surname>
            <given-names>Petrou</given-names>
          </string-name>
          , Panagiotis Nikitopoulos, Panagiotis Tampakis, Apostolos Glenis, Nikolaos Koutroumanis,
          <string-name>
            <surname>Georgios M. Santipantakis</surname>
          </string-name>
          , Kostas Patroumpas, Akrivi Vlachou,
          <string-name>
            <surname>Harris</surname>
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Georgiou</surname>
          </string-name>
          , Eva Chondrodima, Christos Doulkeridis, Nikos Pelekis, Gennady L. Andrienko, Fabian Patterson, Georg Fuchs, Yannis Theodoridis, and
          <string-name>
            <surname>George</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Vouros</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>ARGO: A Big Data Framework for Online Trajectory Prediction</article-title>
          .
          <source>In Proceedings of the 16th International Symposium on Spatial and Temporal Databases</source>
          ,
          <string-name>
            <surname>SSTD</surname>
          </string-name>
          <year>2019</year>
          , Vienna, Austria,
          <source>August 19-21</source>
          ,
          <year>2019</year>
          .
          <fpage>194</fpage>
          -
          <lpage>197</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <surname>Petros</surname>
            <given-names>Petrou</given-names>
          </string-name>
          , Panagiotis Tampakis,
          <string-name>
            <surname>Harris</surname>
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Georgiou</surname>
            , Nikos Pelekis, and
            <given-names>Yannis</given-names>
          </string-name>
          <string-name>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Online Long-Term Trajectory Prediction Based on Mined Route Patterns</article-title>
          . In MASTER@ECML-PKDD
          <year>2019</year>
          .
          <volume>34</volume>
          -
          <fpage>49</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>A.</given-names>
            <surname>Rossi</surname>
          </string-name>
          , G. Barlacchi,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bianchini</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Lepri</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>Modelling Taxi Drivers' Behaviour for the Next Destination Prediction</article-title>
          .
          <source>IEEE Transactions on Intelligent Transportation Systems</source>
          <volume>21</volume>
          ,
          <issue>7</issue>
          (
          <year>2020</year>
          ),
          <fpage>2980</fpage>
          -
          <lpage>2989</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <surname>David</surname>
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Rumelhart</surname>
            ,
            <given-names>Geofrey E.</given-names>
          </string-name>
          <string-name>
            <surname>Hinton</surname>
            , and
            <given-names>Ronald J.</given-names>
          </string-name>
          <string-name>
            <surname>Williams</surname>
          </string-name>
          .
          <year>1986</year>
          .
          <article-title>Learning representations by back-propagating errors</article-title>
          .
          <source>Nature</source>
          <volume>323</volume>
          (
          <year>1986</year>
          ),
          <fpage>533</fpage>
          -
          <lpage>536</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <surname>Yongfeng</surname>
            <given-names>Suo</given-names>
          </string-name>
          , Wenke Chen, Christophe Claramunt, and
          <string-name>
            <given-names>Shenhua</given-names>
            <surname>Yang</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>A Ship Trajectory Prediction Framework Based on a Recurrent Neural Network</article-title>
          .
          <source>Sensors</source>
          <volume>20</volume>
          ,
          <issue>18</issue>
          (
          <year>2020</year>
          ). https://doi.org/10.3390/s20185133
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <surname>Panagiotis</surname>
            <given-names>Tampakis</given-names>
          </string-name>
          , Nikos Pelekis,
          <string-name>
            <surname>Natalia</surname>
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Andrienko</surname>
            , Gennady L. Andrienko, Georg Fuchs, and
            <given-names>Yannis</given-names>
          </string-name>
          <string-name>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>Time-Aware SubTrajectory Clustering in Hermes@PostgreSQL</article-title>
          . In ICDE.
          <volume>1581</volume>
          -
          <fpage>1584</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <surname>Panagiotis</surname>
            <given-names>Tampakis</given-names>
          </string-name>
          , Nikos Pelekis, Christos Doulkeridis, and
          <string-name>
            <given-names>Yannis</given-names>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>Scalable Distributed Subtrajectory Clustering</article-title>
          .
          <source>In 2019 IEEE International Conference on Big Data (Big Data)</source>
          . IEEE,
          <fpage>950</fpage>
          -
          <lpage>959</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>Lu</given-names>
            <surname>An</surname>
          </string-name>
          <string-name>
            <given-names>Tang</given-names>
            , Yu Zheng, Jing Yuan, Jiawei Han, Alice Leung,
            <surname>Chih-Chieh Hung</surname>
          </string-name>
          , and
          <string-name>
            <surname>Wen-Chih Peng</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>On Discovery of Traveling Companions from Streaming Trajectories</article-title>
          . In ICDE.
          <volume>186</volume>
          -
          <fpage>197</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <surname>George</surname>
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Theodoropoulos</surname>
            , Andreas Tritsarolis, and
            <given-names>Yannis</given-names>
          </string-name>
          <string-name>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2019</year>
          .
          <article-title>EvolvingClusters: Online Discovery of Group Patterns in Enriched Maritime Data</article-title>
          .
          <source>In MASTER@PKDD/ECML (Lecture Notes in Computer Science</source>
          , Vol.
          <volume>11889</volume>
          ). Springer,
          <fpage>50</fpage>
          -
          <lpage>65</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <surname>Roberto</surname>
            <given-names>Trasarti</given-names>
          </string-name>
          , Riccardo Guidotti, Anna Monreale, and
          <string-name>
            <given-names>Fosca</given-names>
            <surname>Giannotti</surname>
          </string-name>
          .
          <year>2017</year>
          .
          <article-title>MyWay: Location prediction via mobility profiling</article-title>
          .
          <source>Inf. Syst</source>
          .
          <volume>64</volume>
          (
          <year>2017</year>
          ),
          <fpage>350</fpage>
          -
          <lpage>367</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <surname>Andreas</surname>
            <given-names>Tritsarolis</given-names>
          </string-name>
          ,
          <string-name>
            <surname>George-Stylianos Theodoropoulos</surname>
            , and
            <given-names>Yannis</given-names>
          </string-name>
          <string-name>
            <surname>Theodoridis</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>Online discovery of co-movement patterns in mobility data</article-title>
          .
          <source>International Journal of Geographical Information Science 0</source>
          ,
          <issue>0</issue>
          (
          <year>2020</year>
          ),
          <fpage>1</fpage>
          -
          <lpage>27</lpage>
          . https://doi.org/10.1080/13658816.
          <year>2020</year>
          .1834562
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>C.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Ren</surname>
          </string-name>
          , and
          <string-name>
            <given-names>H.</given-names>
            <surname>Li</surname>
          </string-name>
          .
          <year>2020</year>
          .
          <article-title>Vessel trajectory prediction based on AIS data and bidirectional GRU</article-title>
          .
          <source>In 2020 International Conference on Computer Vision, Image and Deep Learning (CVIDL)</source>
          .
          <volume>260</volume>
          -
          <fpage>264</fpage>
          . https://doi.org/10.1109/ CVIDL51233.
          <year>2020</year>
          .
          <volume>00</volume>
          -
          <fpage>89</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>P. J.</given-names>
            <surname>Werbos</surname>
          </string-name>
          .
          <year>1990</year>
          .
          <article-title>Backpropagation through time: what it does and how to do it</article-title>
          .
          <source>Proc. IEEE</source>
          <volume>78</volume>
          ,
          <issue>10</issue>
          (
          <year>1990</year>
          ),
          <fpage>1550</fpage>
          -
          <lpage>1560</lpage>
          . https://doi.org/10.1109/5.58337
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>P. J.</given-names>
            <surname>Werbos</surname>
          </string-name>
          .
          <year>1990</year>
          .
          <article-title>Backpropagation through time: what it does and how to do it</article-title>
          .
          <source>Proc. IEEE</source>
          <volume>78</volume>
          ,
          <issue>10</issue>
          (
          <year>1990</year>
          ),
          <fpage>1550</fpage>
          -
          <lpage>1560</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>H.</given-names>
            <surname>Xue</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. Q.</given-names>
            <surname>Huynh</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Reynolds</surname>
          </string-name>
          .
          <year>2018</year>
          .
          <article-title>SS-LSTM: A Hierarchical LSTM Model for Pedestrian Trajectory Prediction</article-title>
          .
          <source>In 2018 IEEE Winter Conference on Applications of Computer Vision</source>
          . 1186-
          <fpage>1194</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <surname>Kai</surname>
            <given-names>Zheng</given-names>
          </string-name>
          , Yu Zheng, Nicholas Jing Yuan, and
          <string-name>
            <given-names>Shuo</given-names>
            <surname>Shang</surname>
          </string-name>
          .
          <year>2013</year>
          .
          <article-title>On discovery of gathering patterns from trajectories</article-title>
          .
          <source>In ICDE</source>
          .
          <volume>242</volume>
          -
          <fpage>253</fpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>