ArticlePublisher preview available

ATTD and ATDS detecting abnormal trajectory detection for urban traffic data

Authors:
To read the full-text of this research, you can request a copy directly from the authors.

Abstract and Figures

Abnormal trajectory detection is pivotal for ensuring safety and optimizing operations in urban traffic management. Despite the progress in this field, current anomaly detection methods, such as the Spatial-Temporal Relationship (STR) algorithm, face limitations including high computational complexity due to simultaneous model calculations, delayed anomaly detection, and an inability to estimate anomalies in the remaining route during online detection. These limitations can lead to inefficiencies and reduced safety in real-world applications. In this paper, we address these limitations by introducing two novel algorithms: Anomaly Trajectory Detection based on Temporal model (ATTD) and Abnormal Trajectory Detection based on Dual Standards (ATDS). The ATTD algorithm simplifies the detection process by integrating a unified spatio-temporal model, which reduces computational complexity and accelerates the detection of anomalies. Furthermore, the ATDS algorithm introduces a proactive approach to anomaly detection that not only identifies anomalies in real-time but also predicts potential deviations in the remaining trajectory, thus providing a more comprehensive and timely detection mechanism. Through extensive experiments on real taxi trajectory datasets, we demonstrate that our algorithms significantly outperform the STR algorithm and other existing methods in terms of detection accuracy and computational efficiency. Our work contributes to the field by providing a more robust and efficient approach to anomaly trajectory detection.
This content is subject to copyright. Terms and conditions apply.
Applied Intelligence (2025) 55:693
https://doi.org/10.1007/s10489-025-06370-z
ATTD and ATDS detecting abnormal trajectory detection for urban
traffic data
Xi-Te Wang1·Zheng Xu1·Xiao-Yue Liao1·Mei Bai1·Qian Ma1
Accepted: 14 February 2025
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2025
Abstract
Abnormal trajectory detection is pivotal for ensuring safety and optimizing operations in urban traffic management. Despite
the progress in this field, current anomaly detection methods, such as the Spatial-Temporal Relationship (STR) algorithm, face
limitations including high computational complexity due to simultaneous model calculations, delayed anomaly detection, and
an inability to estimate anomalies in the remaining route during online detection. These limitations can lead to inefficiencies
and reduced safety in real-world applications. In this paper, we address these limitations by introducing two novel algorithms:
Anomaly Trajectory Detection based on Temporal model (ATTD) and Abnormal Trajectory Detection based on Dual Standards
(ATDS). The ATTD algorithm simplifies the detection process by integrating a unified spatio-temporal model, which reduces
computational complexity and accelerates the detection of anomalies. Furthermore, the ATDS algorithm introduces a proactive
approach to anomaly detection that not only identifies anomalies in real-time but also predicts potential deviations in the
remaining trajectory, thus providing a more comprehensive and timely detection mechanism. Through extensive experiments
on real taxi trajectory datasets, we demonstrate that our algorithms significantly outperform the STR algorithm and other
existing methods in terms of detection accuracy and computational efficiency. Our work contributes to the field by providing
a more robust and efficient approach to anomaly trajectory detection.
Keywords Taxi trajectory ·Abnormal detection ·Spatio-temporal model ·Online detection
1 Introduction
In today’s world, anomaly detection plays a pivotal role
across a multitude of domains. Zero-Shot Anomaly Detec-
tion (ZSAD) algorithm [2] utilizes temporal derivatives and
Grassmann product space projections for detecting anoma-
lies in visual data without the need for labeled training data.
The Stochastic Autoregressive Variational Inference for 3D
BZheng Xu
13583940159@163.com
Xi-Te Wang
wangxite@dlmu.edu.cn
Xiao-Yue Liao
18041563736@163.com
Mei Bai
baimei@dlmu.edu.cn
Qian Ma
maqian@dlmu.edu.cn
1School of information science and technology, Dalian
Maritime University, Dalian 116000, Liaoning, China
Human Motion Generation (SAVI-3D) approach [2] utilizes
a fully differentiable, end-to-end, block-based autoregres-
sive recurrent neural network (RNN) to generate 3D human
motions, incorporating variable auto-conditioning length and
probabilistic variational inference to regulate stochasticity.
With the development of intelligent sensing technology
and the popularity of GPS mobile devices, a large amount
of trajectory data is generated every day. Trajectory data
is spatio-temporal data obtained by sampling the motion
process of moving objects (such as animals, pedestrians,
cars, etc.), including the location information of sampling
points, time labels, movement speed, etc. Trajectory data can
describe the movement behavior of moving objects within a
specific temporal and spatial range, and objectively reflect
the motion laws of moving objects, providing important data
support for related research on urban transportation.
The trajectory data generated by a moving object during
its movement that deviates from the normal mode is called
an abnormal trajectory. Abnormal trajectories often indicate
safety hazards in road traffic, such as fraudulent detours
by passenger drivers. As shown in Fig. 1, the figure shows
0123456789().: V,-vol 123
Content courtesy of Springer Nature, terms of use apply. Rights reserved.
ResearchGate has not been able to resolve any citations for this publication.
Article
Full-text available
To perform anomaly detection for trajectory data, we study the Sequential Hausdorff Nearest-Neighbor Conformal Anomaly Detector (SHNN-CAD) approach, and propose an enhanced version called SHNN-CAD+. SHNN-CAD was introduced based on the theory of conformal prediction dealing with the problem of online detection. Unlike most related approaches requiring several not intuitive parameters, SHNN-CAD has the advantage of being parameter-light which enables the easy reproduction of experiments. We propose to adaptively determine the anomaly threshold during the online detection procedure instead of predefining it without any prior knowledge, which makes the algorithm more usable in practical applications. We present a modified Hausdorff distance measure that takes into account the direction difference and also reduces the computational complexity. In addition, the anomaly detection is more flexible and accurate via a re-do strategy. Extensive experiments on both real-world and synthetic data show that SHNN-CAD+ outperforms SHNN-CAD with regard to accuracy and running time.
Article
Full-text available
Anomalous taxi trajectories are those chosen by a small number of drivers that are different from the regular choices of other drivers. These anomalous driving trajectories provide us an opportunity to extract driver or passenger behaviors and monitor adverse urban traffic events. Because various trajectory clustering methods have previously proven to be an effective means to analyze similarities and anomalies within taxi GPS trajectory data, we focus on the problem of detecting anomalous taxi trajectories, and we develop our trajectory clustering method based on the edit distance and hierarchical clustering. To achieve this objective, first, we obtain all the taxi trajectories crossing the same source–destination pairs from taxi trajectories and take these trajectories as clustering objects. Second, an edit distance algorithm is modified to measure the similarity of the trajectories. Then, we distinguish regular trajectories and anomalous trajectories by applying adaptive hierarchical clustering based on an optimal number of clusters. Moreover, we further analyze these anomalous trajectories and discover four anomalous behavior patterns to speculate on the cause of an anomaly based on statistical indicators of time and length. The experimental results show that the proposed method can effectively detect anomalous trajectories and can be used to infer clearly fraudulent driving routes and the occurrence of adverse traffic events.
Article
Full-text available
With the rapid proliferation of GPS-equipped devices, a myriad of trajectory data representing the mobility of various moving objects in two-dimensional space have been generated. This paper aims to detect the anomalous trajectories with the help of the historical trajectory dataset and the popular routes. In this paper, both of spatial and temporal abnormalities are taken into consideration simultaneously to improve the accuracy of the detection. Previous work has developed a novel time-dependent popular routes based algorithm named TPRO. TPRO focuses on finding out all outliers in the historical trajectory dataset. But in most cases, people do not care about which trajectory in the dataset is abnormal. They only yearn for the detection result of a new trajectory that is not included in the dataset. So this paper develops the the upgrade version of TPRO, named TPRRO. TPRRO is a real-time outlier detection algorithm and it contains the off-line preprocess step and the on-line detection step. In the off-line preprocess step, TTI (short for time-dependent transfer index) and hot TTG (short for time-dependent transfer graph) cache are constructed according to the historical trajectory dataset. Then in the on-line detection step, TTI and hot TTG cache are used to speed up the detection progress. The experiment result shows that TPRRO has a better efficiency than TPRO in detecting outliers.
Article
Researchers have proposed many novel methods to detect abnormal taxi trajectories. However, most of the existing methods usually adopt a counting-based strategy, which may cause high false positives due to imprecisely identifying diverse trajectories as anomalies and therefore, they need the support of large-scale historical trajectories to work properly. To improve detection precision and efficiency, in this article, we propose STR, an online abnormal taxi trajectory detection method based on spatio-temporal relations. The basic principle behind STR is that given the displacement from the source point to a testing point, if the driving time and driving distance are not within the normal ranges, the point is identified as anomalous. To learn the two normal ranges for driving time and driving distance, STR defines two spatio-temporal models which characterize the relationship between displacement and driving distance/driving time. To improve detection efficiency, STR reduces the number of models that need to be learned by making full use of the similarity of transportation modes in different time periods and neighboring areas. The effectiveness and performance of STR are evaluated on real-world taxi trajectories. The experiment results show that compared with counting-based methods, STR achieves greater precision by reducing false positives. Furthermore, STR is more efficient than its counterparts and is suitable for online detection.
Chapter
Detecting anomalies from trajectory data is an important task in video surveillance. However, it is difficult to give a precise definition of this term since trajectory data obtained from different camera views may vary in shape, direction, and spatial distribution. In this paper, we propose trajectory distance metrics based on a recurrent neural network to measure similarities and detect anomalies from trajectory data. First, we use an autoencoder to capture the dynamic features of a trajectory. The distance between two trajectories is defined by the reconstruction errors based on the learned models. We then detect anomalies based on the nearest neighbors using the proposed metric. As such, we can deal with various kinds of anomalies in different scenes and detect anomalous trajectories in either a supervised or unsupervised manner. Experiments show that the proposed algorithm performs favorably against the state-of-the-art anomaly detections on the benchmark datasets.
Chapter
Anomalous trajectory detection which plays an important role in taxi fraud detection and trajectory data preprocessing is a crucial task in trajectory mining fields. Traditional anomalous trajectory detection methods which utilize density and isolation approaches mainly focus on the differences of a new trajectory and the historical trajectory dataset. Although these methods can capture the particular characteristics of trajectories, they still suffer from the following two disadvantages. (1) These methods cannot capture the sequential information of the trajectory well. (2) These methods only concentrate on the given source and destination which may lead to data sparsity issues. To overcome above shortcomings, we propose a novel method called Anomalous Trajectory Detection using Recurrent Neural Network (ATD-RNN) which characterizes the trajectory by learning the trajectory embedding. The trajectory embedding can capture the sequential information of the trajectory and depict the internal characteristics between anomalous and normal trajectory. To address the potential data sparsity problem, we enlarge the dataset between a source and a destination by taking the relevant trajectories into consideration. Extend experiments on real-world datasets validate the effectiveness of our method.
Article
As taxi service is supervised by certain electronic equipment (e.g., GPS equipment) and network technique (e.g., cab reservation through Uber in USA or DIDI in China), taxi business is a typical electronic commerce mode. For a long time, taxi service is facing a typical challenge, i.e., passengers may be detours overcharged by some unethical taxi drivers, especially when traveling in unfamiliar cities. As a result, it is important to detect taxi drivers’ misbehavior through taxi’s GPS big data analysis in a real-time manner for enhancing the quality of taxi services. In view of this challenge, an online anomalous trajectory detection method, named OnATrade (pronounced ‘on a trade’, which means activities in a taxi trade on the fly), is investigated in this paper for improving taxi service using GPS big data. The method mainly consists of two steps: route recommendation and online detection. In the first step, route candidates are generated by using a route recommendation algorithm. In the second step, an online anomalous trajectory detection approach is presented to find taxis that have driving anomalies. Experiments evaluate the validity of our method on large-scale, real world taxi GPS trajectories. Finally, several value-added applications benefiting from big data analysis over taxi’s GPS datasets are discussed for potential commercial applications.