Rarity-Gated Context Conditioning for Offline Imitation Learning-Based Maritime Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
Contextual anomaly detection aims to identify abnormal behavior conditional on context variables, but practical deployments often face highly imbalanced context distributions where rare regimes can be critical information. Under such frequency bias, context-conditioned models can produce unstable decisions and excessive false alarms in rare contexts. We propose Rarity-Gated Feature-wise Linear Modulation (RGFiLM), a rarity-aware conditioning module that combines feature-wise modulation (i.e., context-conditioned scaling and shifting of hidden features) with a gate controlled by a data-driven rarity score. The rarity score is estimated from the empirical distribution of context variables and regulates how strongly context modulates intermediate representations: the gate becomes more decisive under rare contexts while remaining conservative under frequent contexts. We evaluate RGFiLM on maritime trajectory anomaly detection using AIS motion sequences with ERA5 environmental context in an environment-sensitive detour scenario. When instantiated in a sequential anomaly scoring pipeline, RGFiLM achieves the best mean F1--False Positive Rate (FPR) trade-off among the compared context-agnostic and context-conditioned methods. These results suggest that explicitly accounting for context rarity is an effective approach for reducing false alarms in context-sensitive anomaly detection.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 6 of its 19 references that are in the map. First posted on arXiv 11 Jun 2026.
Builds on
6 of 19 references.
References · 6
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,333
- 2020Sequential Anomaly Detection using Inverse Reinforcement Learningcited by 20
- 2016Robust Contextual Outlier Detection: Where Context Meets Sparsitycited by 11
- 2023Explainable Contextual Anomaly Detection using Quantile Regression Forestscited by 10
- 2022User-Conditioned Neural Control Policies for Mobile Roboticscited by 4
- 2024DualDynamics: Synergizing Implicit and Explicit Methods for Robust Irregular Time Series Analysiscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Anomalous Decision Discovery using Inverse Reinforcement Learning
- 2025Towards Foundation Models for Zero-Shot Time Series Anomaly Detection: Leveraging Synthetic Data and Relative Context Discrepancy
- 2024OIL-AD: An Anomaly Detection Framework for Sequential Decision Sequences
- 2025Spatio-Temporal Graphs Beyond Grids: Benchmark for Maritime Anomaly Detection
- 2025Towards Physics-informed Diffusion for Anomaly Detection in Trajectories
- 2024Angel or Devil: Discriminating Hard Samples and Anomaly Contaminations for Unsupervised Time Series Anomaly Detection
- 2025Calibrated Unsupervised Anomaly Detection in Multivariate Time-series using Reinforcement Learning
- 2026CoReVAD: A Contextual Reasoning Framework for Training-Free Video Anomaly Detection