cs.CVMar 26, 2026

Hyperspectral Trajectory Image for Multi-Month Trajectory Anomaly Detection

Authors: Md Awsafur Rahman, Chandrakanth Gudavalli, Hardik Prajapati, B. S. Manjunath

Organizations: UC Santa Barbara, USA

Abstract

Trajectory anomaly detection underpins applications from fraud detection to urban mobility analysis. Dense GPS preserves fine-grained evidence such as abnormal speeds and short-duration events, but its quadratic cost makes multi-month analysis intractable; sparse stay-point methods scale by discarding that evidence and require a separate modeling regime. We argue that this bottleneck is unnecessary: dense and sparse trajectories share a natural two-dimensional cyclic structure along within-day and across-day axes. TITAnD (Trajectory Image Transformer for Anomaly Detection) is the first framework to cast both in a single representation, a Hyperspectral Trajectory Image (HTI), a day ×\times time-of-day grid whose channels encode spatial, semantic, temporal, and kinematic information. Under this formulation, agent-level detection reduces to image classification and temporal localization to semantic segmentation. The Cyclic Factorized Transformer (CFT) models the two temporal axes directly, reducing attention cost by up to two orders of magnitude. With the HTI, multi-month dense anomaly detection becomes feasible for the first time, and CFT keeps it accurate and fast. Empirically, TITAnD matches or beats every evaluated baseline in AUC-PR on all four benchmarks. It surpasses vision models such as U-Net while using as few as 6.5M parameters, and it runs 11--75×\times faster than a capacity-matched flat Transformer on the same trajectory images.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Generalist Representation, Specialist Detection: TS-Router for Time-Series Anomaly Detection

    Oct 1, 2026Tian Lan, Yifei Gao, Yimeng Lu +6Time-Series Anomaly DetectionGraph Anomaly Detection

  2. VAN-AD: Visual Masked Autoencoder with Normalizing Flow For Time Series Anomaly Detection

    Mar 27, 2026PengYu Chen, Shang Wan, Xiaohou Shi +3Time-Series Anomaly DetectionUnsupervised Detection

  3. CARE: A Cascaded Framework for Efficient and Reliable Time Series Anomaly Detection

    Aug 3, 2026Zemin Chao, Qianhui Xu, Jianhe Cen +3Time-Series Anomaly DetectionDeep Learning