stat.MLMar 2, 2026

TRAKNN: Efficient Trajectory Aware Spatiotemporal kNN for Rare Meteorological Trajectory Detection

Authors: Guillaume Coulaud, Davide Faranda

Organizations: UM, IROKO · University of Montpellier, Inria, CNRS, LIRMM, Montpellier, France · LMD, LSCE, ESTIMR · Laboratoire des Sciences du Climat et de l’Environnement, UMR 8212 CEA-CNRS-UVSQ, Université Paris-Saclay & IPSL, CEA Saclay l’Orme des Merisiers, 91191 Gif-sur-Yvette, France · London Mathematical Laboratory, 8 Margravine Gardens, London W6 8RH, UK · LMD/IPSL, ENS, Université PSL, École Polytechnique, Institut Polytechnique de Paris, Sorbonne Université, CNRS, Paris France

Abstract

Extreme weather events, such as windstorms and heatwaves, are driven by persistent atmospheric circulation patterns that evolve over several consecutive days. While traditional circulation-based studies often focus on instantaneous atmospheric states, capturing the temporal evolution, or trajectory, of these spatial fields is essential for characterizing rare and potentially impactful atmospheric behavior. However, performing an exhaustive similarity search on multi-decadal, continental-scale gridded datasets presents significant computational and memory challenges. In this paper, we propose TRAKNN (TRajectory Aware KNN), a fully unsupervised and data-agnostic framework for detecting geometrically rare short trajectories in spatio-temporal data with an exact kNN approach. TRAKNN leverages a recurrence-based algorithm that decouples computational complexity from trajectory length and efficient batch operations, maximizing computational intensity. These optimizations enable exhaustive analysis on standard workstations, either on CPU or on GPU. We evaluate our approach on 75 years of daily European sea-level pressure data. Our results illustrate that rare trajectories identified by TRAKNN correspond to physically coherent atmospheric anomalies and align with independent extreme-event databases.

Figures & tables

Explore similar work

CardsList
  1. Scalable Uncertainty Quantification for Extreme Weather Forecasting via Empirical Neural Tangent Kernels

    Jun 1, 2026Jose Marie Antonio Miñoza, Rex Gregor Laylo, Sebastian C. IbañezUncertainty QuantificationIndependent Component Analysis

  2. Hyperspectral Trajectory Image for Multi-Month Trajectory Anomaly Detection

    Mar 26, 2026Md Awsafur Rahman, Chandrakanth Gudavalli, Hardik Prajapati +1Anomaly LocalizationTransformer Attention

  3. STCAD: Scalable Trajectory Clustering and Anomaly Detection on Terabyte-Scale AIS Data

    Aug 10, 2026Bertram Hage, Alexander Schiøtz, Felix Thomsen +2Unsupervised Anomaly DetectionTime Series Clustering