I. Introduction
The increasing number of vehicles in urban areas has led to a rise in driving risks and the occurrence of traffic accidents. Consequently, ensuring traffic safety has become a paramount concern. Detecting abnormal trajectories and promptly notifying nearby drivers represent a potential solution to mitigate these risks. Anomaly trajectory detection, a critical research area within the broader field of anomaly detection, focuses on identifying uncommon trajectory patterns within urban environments. Within the domain of traffic management, the detection of abnormal trajectories assumes a pivotal role in the identification and prediction of atypical traffic events that have the potential to result in accidents or severe congestion.