cs.LGFeb 17, 2026

Extracting and Analyzing Rail Crossing Behavior Signatures from Videos using Tensor Methods

Authors: Dawon Ahn, Het Patel, Aemal Khattak, Jia Chen, Evangelos E. Papalexakis

Organizations: Department of Computer Science and Engineering, UC Riverside, Riverside, USA · Department of Civil and Environmental Engineering, University of Nebraska-Lincoln, Lincoln, USA · Department of Electrical and Computer Engineering, UC Riverside, Riverside, USA

Abstract

Railway crossings present complex safety challenges where driver behavior varies by location, time, and conditions. Traditional approaches analyze crossings individually, limiting the ability to identify shared behavioral patterns across locations. We propose a multi-view tensor decomposition framework that captures behavioral similarities across three temporal phases: Approach (warning activation to gate lowering), Waiting (gates down to train passage), and Clearance (train passage to gate raising). We analyze railway crossing videos from multiple locations using TimeSformer embeddings to represent each phase. By constructing phase-specific similarity matrices and applying non-negative symmetric CP decomposition, we discover latent behavioral components with distinct temporal signatures. Our tensor analysis reveals that crossing location appears to be a stronger determinant of behavior patterns than time of day, and that approach-phase behavior provides particularly discriminative signatures. Visualization of the learned component space confirms location-based clustering, with certain crossings forming distinct behavioral clusters. This automated framework enables scalable pattern discovery across multiple crossings, providing a foundation for grouping locations by behavioral similarity to inform targeted safety interventions.

Figures & tables

Explore similar work

CardsList
  1. Multi-modal Rail Crossing Safety Analysis

    Jul 1, 2026Paimon Goulart, Chansong Lim, Nícolas Roque dos Santos +4Multimodal ClassificationMultimodal Fusion

  2. A Two-stage Transformer Framework for Temporal Localization of Distracted Driver Behaviors

    Mar 22, 2026Gia-Bao Doan, Nam-Khoa Huynh, Minh-Nhat-Huy Ho +3Driver MonitoringTemporal Video Understanding

  3. Enhancing Road Safety Through Multi-Camera Image Segmentation with Post-Encroachment Time Analysis

    Nov 15, 2025Shounak Ray Chaudhuri, Arash Jahangiri, Christopher PaoliniIntelligent Transportation Systems