Detection of Anomalous Vehicular Traffic and Sensor Failures Using Data Clustering Techniques

Davide Moretti, Elia Onofri, Emiliano Cristiani
4/1/2025
cs.LG

No confident code implementation found for this paper.

Abstract

The increasing availability of traffic data from sensor networks has created new opportunities for understanding vehicular dynamics and identifying anomalies. In this study, we employ clustering techniques to analyse traffic flow data with the dual objective of uncovering meaningful traffic patterns and detecting anomalies, including sensor failures and irregular congestion events. We explore multiple clustering approaches, i.e partitioning and hierarchical methods, combined with various time-series representations and similarity measures. Our methodology is applied to real-world data from highway sensors, enabling us to assess the impact of different clustering frameworks on traffic pattern recognition. We also introduce a clustering-driven anomaly detection methodology that identifies deviations from expected traffic behaviour based on distance-based anomaly scores. Results indicate that hierarchical clustering with symbolic representations provides robust segmentation of traffic patterns, while partitioning methods such as k-means and fuzzy c-means yield meaningful results when paired with Dynamic Time Warping. The proposed anomaly detection strategy successfully identifies sensor malfunctions and abnormal traffic conditions with minimal false positives, demonstrating its practical utility for real-time monitoring. Real-world vehicular traffic data are provided by Autostrade Alto Adriatico S.p.A.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{moretti2025detection,
  title  = {Detection of Anomalous Vehicular Traffic and Sensor Failures Using Data Clustering Techniques},
  author = {Davide Moretti and Elia Onofri and Emiliano Cristiani},
  year   = {2025},
  eprint = {2504.00881},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.00881v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.00881.svg)](https://codeofpaper.com/paper/2504.00881)

Discussion