Paper deep dive
Cycle-Aware Autoencoder with Cross-SignalConsistency for Railway Door Anomaly Detection
Ammar Bouketta, Smail Niar, Hamza Ouarnoughi, Eva Mutuzo Brindle
Intelligence
Status: not_run | Model: - | Prompt: - | Confidence: 0%
Entities (0)
Relation Signals (0)
No relation signals yet.
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Passenger access doors are safety-critical subsystems in railway vehicles, yet detecting abnormal door behavior in real operation is challenging because faults are rare, diverse, and often unlabeled. This paper addresses railway door condition monitoring as a cycle-level unsupervised anomaly detection problem, where each complete opening-dwell-closing cycle is treated as a single monitoring unit. We propose the Temporal Cycle-Aware Attention Autoencoder with Cross-Signal Consistency (TCAA-CS), trained exclusively on nominal cycles. It combines a dual-stream encoder that processes continuous physical measurements (position, current, voltage) and binary logical states (door-closed, door-locked) through separate 1D-CNN branches, an LSTM encoder with temporal attention pooling, and a triple hybrid anomaly score fusing reconstruction error, latent-space deviation, and phase-aware cross-signal consistency. The consistency term helps identify cases where individual signals appear plausible but their inter-signal relationships become physically or logically inconsistent. On real industrial data from a passenger train in commercial service, TCAA-CS achieves 93.8% recall, 97.3% precision, and a 0.5% false-alarm rate, outperforming representative unsupervised baselines. System-level evaluation on an NVIDIA Jetson AGX Xavier supports the feasibility of real-time onboard deployment.
Tags
Links
- Source: https://arxiv.org/abs/2609.39035v1
- Canonical: https://arxiv.org/abs/2609.39035v1
Trouble viewing inline? Open PDF directly â
Full Text
41,036 characters extracted from source content.
Expand or collapse full text
Cycle-Aware Autoencoder with Cross-Signal Consistency for Railway Door Anomaly Detection Ammar Bouketta13 Smail Niar2 Hamza Ouarnoughi24 Eva Mutuzo Brindle3 Affiliation: 1UniversitĂ© Polytechnique Hauts-de-France, LAMIH CNRS UMR 8201, Valenciennes, France Affiliation: 2UniversitĂ© Polytechnique Hauts-de-France, LAMIH CNRS UMR 8201, INSA Hauts-de-France, Valenciennes, France Affiliation: 3Alstom, Crespin, France Affiliation: 4Computer Science Department, College of Computing and Informatics, University of Sharjah, Sharjah, UAE Affiliation: Emails: 12firstname.lastname@uphf.fr; 3 eva.mutuzo-brindle@alstomgroup.com Abstract Passenger access doors are safety-critical subsystems in railway vehicles, yet detecting abnormal door behavior in real operation is challenging because faults are rare, diverse, and often unlabeled. This paper addresses railway door condition monitoring as a cycle-level unsupervised anomaly detection problem, where each complete openingâdwellâclosing cycle is treated as a single monitoring unit. We propose the Temporal Cycle-Aware Attention Autoencoder with Cross-Signal Consistency (TCAA-CS), trained exclusively on nominal cycles. It combines a dual-stream encoder that processes continuous physical measurements (position, current, voltage) and binary logical states (door-closed, door-locked) through separate 1D-CNN branches, an LSTM encoder with temporal attention pooling, and a triple hybrid anomaly score fusing reconstruction error, latent-space deviation, and phase-aware cross-signal consistency. The consistency term helps identify cases where individual signals appear plausible but their inter-signal relationships become physically or logically inconsistent. On real industrial data from a passenger train in commercial service, TCAA-CS achieves 93.8% recall, 97.3% precision, and a 0.5% false-alarm rate, outperforming representative unsupervised baselines. System-level evaluation on an NVIDIA Jetson AGX Xavier supports the feasibility of real-time onboard deployment. Index Terms: Railway door, unsupervised anomaly detection, cycle-level monitoring, temporal attention autoencoder, dual-stream encoding, cross-signal consistency, embedded deployment I Introduction Passenger access doors are safety-critical subsystems in railway vehicles. Abnormal door behavior can compromise passenger safety, reduce service availability, and increase maintenance costs. Reliable monitoring is therefore essential to support preventive maintenance and dependable railway operation. In this work, monitoring is treated as an onboard condition-monitoring function for maintenance support, rather than a certified safety-control function. Safety-critical door control remains handled by certified train systems. Monitoring passenger doors under real operating conditions is challenging. Onboard data predominantly reflect nominal behavior, while faults are rare, diverse, and generally unlabeled. Door operation is also inherently structured: each passenger access corresponds to a complete door operation cycle, composed of opening, dwell, and closing phases governed by coupled mechanical, electrical, and logical components. Moreover, the monitored signals are heterogeneous, combining continuous physical measurements, such as motor position, current, and supply voltage, with binary logical states, such as door-closed and door locked. Treating these signals uniformly may obscure signal-specific patterns and weaken the learned representation of normal behavior. Abnormal behavior may not appear as an isolated signal deviation, but as an inconsistency across signals during a full door cycle. For example, a door may report a locked state while the position signal still indicates motion. Such inconsistencies are difficult to capture with methods that evaluate signals independently, rely only on reconstruction error, or operate on short windows instead of complete door cycles. To address these challenges, we propose TCAA-CS, a cycle-level unsupervised anomaly detection framework tailored to railway door monitoring. The method combines signal-type-aware encoding, attention-based temporal representation learning, and hybrid anomaly scoring to detect both signal-level deviations and cross-signal inconsistencies. Contributions: The main contributions of this work are: âą We formulate railway door monitoring as a cycle-level unsupervised anomaly detection problem, where each openingâdwellâclosing operation is treated as one monitoring unit. âą We propose TCAA-CS, a domain-tailored attention autoencoder that combines dual-stream physical/logical encoding with temporal attention pooling. âą We introduce a hybrid anomaly score combining reconstruction error, latent-space deviation, and phase-aware cross-signal consistency to detect both signal-level deviations and inter-signal inconsistencies. âą We validate TCAA-CS on real industrial railway door data, compare it with representative unsupervised baselines, and assess embedded deployment feasibility in terms of latency, memory, and energy consumption. I Related Work I-A Fault Detection in Railway Door Systems Railway passenger doors account for a substantial share of railway vehicle malfunctions [1], making their monitoring an important reliability and maintenance issue. Early studies mainly relied on model-based methods, such as parameter estimation from motor current signals [2] and Bond Graph modeling for fault detection and isolation [3]. These approaches are interpretable, but require accurate system models and can be sensitive to modeling assumptions. Recent work has explored data-driven diagnosis. Ham et al. [4] compare handcrafted features with convolutional neural networks (CNNs) applied to motor current signals, while Sun et al. [5] use acoustic signals with empirical mode decomposition and support vector machines (SVMs). In the unsupervised setting, Shimizu et al. [6] combine deep autoencoders with a one-class SVM trained on nominal data, with follow-up work addressing transfer learning and generative adversarial network (GAN)-based domain adaptation across door types [1]. Despite this progress, three limitations remain. Existing methods often rely on a single signal modality, analyze samples or short windows rather than complete openingâdwellâclosing cycles, and generally use a single detection criterion without explicitly assessing consistency between physical measurements and logical states. I-B Anomaly Detection in Multivariate Time Series Unsupervised anomaly detection in multivariate time series is commonly addressed using reconstruction-based autoencoders trained on nominal data [7]. More advanced methods introduce additional criteria, such as adversarial reconstruction in UnSupervised Anomaly Detection (USAD) [8], latent density estimation in the Deep Autoencoding Gaussian Mixture Model (DAGMM) [9], and association discrepancy in the Anomaly Transformer [10]. Although effective on general benchmarks, these methods usually process fixed-length windows, treat input variables as homogeneous channels, and do not explicitly evaluate phase-wise consistency between continuous physical measurements and binary logical states. I-C Positioning of This Work TCAA-CS addresses these gaps by aligning anomaly detection with railway door operation. It performs cycle-level detection, processes physical and logical signals through separate encoding streams, and combines reconstruction error, latent-space deviation, and phase-aware cross-signal consistency. The framework is evaluated on real industrial door data and assessed for onboard deployment feasibility in terms of latency, memory footprint, and energy consumption. I Dataset Overview The dataset was collected from onboard monitoring systems of a Regio 2N passenger train operating in regular commercial service. The train, manufactured by Alstom, consists of 5 cars equipped with 16 automatic passenger access doors. In this study, we use data recorded over 30 operating days. The dataset covers multiple doors, cars, and operating days, and therefore includes natural variability induced by real commercial service. The data predominantly reflect normal behavior, while fault events are rare and not systematically annotated. A small number of abnormal door operation cycles corresponding to real operational issues were identified through expert analysis, but they do not constitute exhaustive fault labeling. The dataset is industrial and proprietary. To improve transparency and reproducibility, we provide a precise description of the data organization, and cycle segmentation procedure. I-A Cycle-Based Data Representation Each door-day recording is segmented into door operation cycles. A cycle corresponds to one complete openingâdwellâclosing operation, from the onset of door opening to the end of the subsequent closing phase. This cycle represents the natural operational unit of passenger door systems and constitutes the atomic sample used for anomaly detection. Each extracted cycle captures the mechanical, electrical, and logical behavior of the door during a single passenger access event. The five synchronized signals are acquired at a fixed sampling rate of 50 Hz and processed at the cycle level. Figure 1 illustrates the transformation from raw door-day recordings to cycle-level samples used as model input. Fig. 1: Cycle-level data representation. Left: segmentation of a day-long door recording into individual door operation cycles. Right: example of a temporally normalized cycle (T=256T=256) showing continuous signals and logical states aligned with opening and closing phases. Temporal resampling Door operation cycles have variable durations due to real operating conditions. To enable batch training and consistent cycle-level comparison, each cycle is temporally resampled to a fixed length of T=256T=256 samples, while preserving the temporal ordering of the opening, dwell, and closing phases. Amplitude scaling Continuous signals, namely door position, motor current, and supply voltage, are independently normalized to a common numerical range to ensure balanced learning across features. Binary logical state signals, namely door-closed and door-locked, are kept in their original representation 0,1\0,1\, where 0 indicates the door is open or unlocked, respectively. After segmentation and normalization, each door operation cycle is represented as a multivariate sequence Xââ256Ă5X ^256Ă 5, capturing the synchronized temporal evolution of three continuous physical variables and two binary logical states. Each cycle is also associated with metadata, including operating day, door identifier, and original duration. These metadata are used only for traceability and result analysis, and are not provided to the model during training. I-B Dataset Statistics Table I summarizes the main characteristics of the dataset after cycle segmentation and temporal normalization. TABLE I: Main characteristics of the railway door operation dataset. Days Cars Doors Cycles Features (F) Cycle length (T) Freq. (Hz) 30 5 16 4 960 5 256 50 IV Methodology This section presents the proposed anomaly detection framework for railway passenger door monitoring. Following the cycle-based representation introduced in Section I, detection is performed at the cycle level: each complete door operation constitutes one monitoring instance and produces one anomaly score and one decision. IV-A Problem Setting Each door operation cycle is represented as a fixed-length multivariate time series XââTĂF,X ^TĂ F, (1) where T=256T=256 is the normalized cycle length and F=5F=5 is the number of synchronized signals, including three continuous physical signals and two binary logical states. Fault labels are generally unavailable in real operation, and abnormal events are rare. The model is therefore trained exclusively on nominal cycles. Given an unseen test cycle XjX_j, the objective is to compute a scalar anomaly score SâĄ(Xj)S(X_j) that measures its deviation from nominal behavior. This score is compared with a threshold Ï calibrated on nominal validation data, and the cycle is declared anomalous when SâĄ(Xj)>ÏS(X_j)>Ï. IV-B Model Overview Figure 2 provides a high-level overview of the proposed TCAA-CS framework. During training, each door operation cycle is processed by a dual-stream signal encoding stage, which separates continuous physical measurements from binary logical states. The resulting representation is then passed to an attention-based autoencoder, which compresses the cycle into a compact latent representation and reconstructs the original sequence. The model is trained on nominal cycles only by minimizing reconstruction error. At inference time, TCAA-CS assigns one anomaly score to each complete door operation cycle. This score combines three complementary criteria: signal fidelity, measured by reconstruction error; latent-space deviation, which quantifies how far the cycle representation deviates from nominal latent behavior; and cross-signal consistency, which evaluates whether phase-wise inter-signal relationships remain coherent with nominal operation. These criteria are fused into a single triple hybrid anomaly score and compared against a calibrated threshold. Fig. 2: High-level overview of the TCAA-CS framework. Nominal cycles are used to train the reconstruction model, while inference combines signal fidelity, latent-space deviation, and cross-signal consistency into one anomaly decision per cycle. Figure 3 presents the detailed TCAA-CS architecture. The upper part shows dual-stream encoding, temporal modeling with LSTM and attention pooling, and reconstruction through an LSTM decoder. The lower part shows the triple hybrid scoring mechanism derived from the input cycle X, the reconstructed cycle X X, and the latent representation z. Fig. 3: Detailed architecture of TCAA-CS for cycle-level railway door anomaly detection. The upper part shows dual-stream signal encoding, attention-based reconstruction, and latent representation learning. The lower part shows the triple hybrid anomaly scoring mechanism. IV-C Dual-Stream Signal Encoding The five input signals have different statistical properties. Motor position, motor current, and supply voltage are continuous measurements that describe mechanical and electrical dynamics, whereas door-closed and door-locked are binary logical states. Processing all signals through the same initial representation treats them as homogeneous channels and may obscure signal-type-specific patterns. To preserve this distinction, TCAA-CS separates the input cycle into physical and logical streams, denoted by XphysââTĂ3X^phys ^TĂ 3 and XlogââTĂ2X^log ^TĂ 2. Each stream is processed by a dedicated temporal convolutional branch: Hphys=CNNphysâ(Xphys),Hlog=CNNlogâ(Xlog),H^phys=CNN_phys(X^phys), H^log=CNN_log(X^log), where both outputs are in âTĂdcR^TĂ d_c and dc=32d_c=32. The physical branch learns local position, current, and voltage patterns, while the logical branch learns state-transition patterns. The two encoded streams are concatenated as Hin=[Hphysâ„Hlog]ââTĂ2âdc.H^in=[H^phys\,\|\,H^log] ^TĂ 2d_c. (2) This produces a unified TĂ64TĂ 64 feature sequence while preserving the distinction between physical and logical behavior before joint temporal modeling. IV-D LSTM Encoder with Temporal Attention Pooling The fused feature sequence HinH^in is processed by a two-layer LSTM encoder with hidden dimension d=128d=128, producing hidden states (h1,âŠ,hT)(h_1,âŠ,h_T), where each htââdh_t ^d represents the temporal context at timestep t. A standard LSTM autoencoder often represents the full sequence using only the final hidden state hTh_T. This can be limiting for railway door cycles because informative events may occur at different phases of the operation, such as motion onset, phase transitions, closing impact, or lock engagement. TCAA-CS instead constructs the cycle-level representation using additive temporal attention pooling. A relevance score is computed for each hidden state: et=vâ€âtanhâĄ(Wâht+b),e_t=v (Wh_t+b), (3) where W, v, and b are learnable parameters. The scores are normalized with a softmax function: αt=expâĄ(et)âk=1TexpâĄ(ek). _t= (e_t) _k=1^T (e_k). (4) The latent representation of the full cycle is then obtained as z=ât=1Tαtâhtââd.z= _t=1^T _th_t ^d. (5) The attention weights αt _t allow the model to emphasize informative parts of the openingâdwellâclosing operation while reducing the influence of less informative segments. IV-E Decoder and Training Objective The latent representation z is passed to a symmetric two-layer LSTM decoder, which reconstructs the complete multivariate sequence: X^=DecoderâĄ(z)ââTĂF. X=Decoder(z) ^TĂ F. The model is trained using nominal cycles only by minimizing the mean squared reconstruction error: âtrain=1Nââi=1NMSEâĄ(Xi,X^i),L_train= 1N _i=1^NMSE(X_i, X_i), (6) where N is the number of nominal training cycles, XiX_i denotes the i-th nominal training cycle, and X^i X_i is its reconstruction. The MSE is computed over all timesteps and signal dimensions. After training, deviations from learned nominal behavior are quantified through the triple hybrid anomaly score. IV-F Triple Hybrid Anomaly Scoring At inference time, TCAA-CS evaluates each test cycle XjX_j using three complementary anomaly indicators. Reconstruction error captures signal-level deviations, latent-space deviation captures global cycle-level abnormality, and cross-signal consistency captures violations of expected relationships between heterogeneous signals. IV-F1 Reconstruction Error The first component measures how accurately the model reconstructs the observed test cycle: ârecâ(Xj)=MSEâĄ(Xj,X^j).L_rec(X_j)=MSE(X_j, X_j). (7) This score captures deviations that alter the expected shape or amplitude of one or more signals, such as abnormal current peaks or distorted motion profiles. IV-F2 Latent-Space Deviation (Cycle-Level Abnormality) The second component measures whether the latent representation of a test cycle is consistent with nominal cycle behavior. The nominal latent center is computed from the training cycles: ÎŒ=1Nââi=1Nzi.ÎŒ= 1N _i=1^Nz_i. (8) Here, ziz_i is the latent representation of the i-th nominal training cycle XiX_i. For a test cycle XjX_j with latent representation zjz_j, the latent-space deviation is defined as latâ(Xj)=âzjâÎŒâ22.D_lat(X_j)=\|z_j-ÎŒ\|_2^2. (9) This term captures cycles whose global temporal structure differs from nominal behavior, including unusual timing, abnormal phase durations, or atypical overall dynamics. IV-F3 Phase-Aware Cross-Signal Consistency The third component evaluates whether relationships between door signals remain consistent with nominal operation. During normal opening and closing, physical measurements and logical states evolve in coordinated ways. A cycle may therefore be abnormal even when individual signals appear locally plausible, if their inter-signal relationships become physically or logically inconsistent. Each cycle is divided into opening and closing phases based on the position trajectory after temporal normalization. For each phase kâopen,closekâ\open,close\, we compute a pairwise Pearson correlation matrix Rkâ(Xj)ââFĂFR_k(X_j) ^FĂ F, where each entry measures how two signals co-vary during that phase. For each phase, a nominal reference matrix is estimated from the nominal training cycles as RÂŻk=1Nââi=1NRkâ(Xi). R_k= 1N _i=1^NR_k(X_i). (10) The cross-signal consistency score is then defined as crossâ(Xj)=âkâopen,closeâRkâ(Xj)âRÂŻkâF2.C_cross(X_j)= _kâ\open,\,close\ \|R_k(X_j)- R_k \|_F^2. (11) A high value indicates that the relationships between signals during opening or closing deviate from nominal behavior. This term is particularly useful for detecting physical or logical inconsistencies, such as the door-locked signal being active while the position signal still indicates motion. IV-F4 Score Normalization and Fusion The three anomaly components have different numerical scales. Before fusion, each component is standardized using statistics computed on nominal validation data: Q~â(Xj)=QâĄ(Xj)âÎŒQÏQ+Ï”, Q(X_j)= Q(X_j)- _Q _Q+Δ, (12) where Q denotes any score component, ÎŒQ _Q and ÏQ _Q are computed on the nominal validation set, and ϔΔ is a small constant for numerical stability. The final anomaly score is defined as STCAA-CSâ(Xj)=λ1ââ~recâ(Xj)+λ2â~latâ(Xj)+λ3â~crossâ(Xj),S_TCAA-CS(X_j)= _1 L_rec(X_j)+ _2 D_lat(X_j)+ _3 C_cross(X_j), (13) where λ1,λ2,λ3â„0 _1, _2, _3â„ 0 and λ1+λ2+λ3=1 _1+ _2+ _3=1. The weights control the relative contribution of each anomaly component and are selected through the sensitivity analysis reported in Section V-D. IV-G Decision Rule The decision threshold Ï is calibrated exclusively on nominal validation data as a high percentile of the nominal validation score distribution: Ï=Percentilepâ(STCAA-CSâ(Xm)Xmâval),Ï=Percentile_p (\S_TCAA-CS(X_m)\_X_m _val ), where XmX_m denotes a nominal validation cycle and p controls the tolerated false-alarm level. A test cycle XjX_j is classified as y^j=1,if âSTCAA-CSâ(Xj)>Ï,0,otherwise, y_j= cases1,&if S_TCAA-CS(X_j)>Ï,\\ 0,&otherwise, cases (14) where y^j=1 y_j=1 denotes an anomalous cycle and y^j=0 y_j=0 denotes a nominal cycle. This formulation produces one decision per complete door operation cycle and requires only nominal data for training and calibration. V Experimental Evaluation This section evaluates the proposed TCAA-CS framework on real-world railway door operation data. All experiments follow a fixed and reproducible protocol. We first describe the evaluation setup, then report detection results against representative unsupervised baselines. We then present ablation studies to justify the main design choices, followed by system-level deployment experiments and qualitative analysis of real abnormal cycles. V-A Experimental Protocol V-A1 Dataset Split The dataset contains 4 960 door operation cycles collected over 30 operating days from 16 doors across 5 cars. To evaluate generalization across operating conditions, a day-wise split is adopted: all cycles from a given day are assigned to the same subset, and no day appears in more than one split. Table I reports the resulting split and the final test-set composition after test-time anomaly injection. TABLE I: Day-wise train/validation/test split and final test-set composition used for evaluation. Days Cycles Nominal Anomalous Training 20 3 179 3 179 0 Validation 4 620 620 0 Test 6 1 161 969 192 Expert-identified abnormal cycles are excluded from the training and validation subsets and retained only for test evaluation. Consequently, the training and validation sets contain nominal cycles only. The validation set is used for early stopping, score normalization, and threshold calibration. Anomalous cycles are used exclusively in the test set. V-A2 Test-Time Anomaly Construction Real abnormal door cycles are present but remain limited compared with nominal operation. Over the 30 operating days, 12 abnormal cycles were identified and confirmed through expert analysis. Since these events alone are insufficient for class-level quantitative evaluation, additional anomalies are introduced through controlled injection at test time only. The injection mechanisms reproduce fault patterns derived from documented maintenance records and expert observations of real operational failures. Each anomaly class corresponds to a known failure mode encountered in railway door systems. The injection parameters and resulting signal profiles were validated by domain engineers to ensure physical and operational plausibility. Table I summarizes the injected anomaly classes. TABLE I: Abnormal cycle classes used for test-time evaluation. Class Type Description A Energy / Load Increased or biased motor current and/or voltage during opening or closing, simulating friction. B Temporal/ Transient Local stretching or compression of motion phases, short spikes, dropouts, or sensor noise. C Logical Inconsistent signals, e.g., door locked active while the door is moving. From the nominal portion of the test set, 180 cycles are selected using a fixed random seed, with 60 cycles assigned to each injected anomaly class. These cycles are replaced by perturbed versions, each containing exactly one injected anomaly. Together with the 12 real expert-confirmed abnormal cycles, the final test set contains 192 anomalous cycles and 969 nominal cycles. Injected anomalies are never used during training, validation, early stopping, score normalization, or threshold calibration. V-A3 Evaluation Metrics Performance is assessed using recall, precision, F1-score, and false-alarm rate (FAR). Recall is the primary metric because missed anomalies correspond to abnormal door operations that remain undetected. FAR is computed on nominal test cycles only and reflects the proportion of nominal cycles incorrectly flagged as anomalous, which directly affects maintenance workload. V-A4 Compared Methods The proposed method is compared against unsupervised baselines representing complementary modeling paradigms: âą LSTM-AE: recurrent autoencoder using the final hidden state as cycle representation, with reconstruction error as anomaly score [7]. âą GRU-AE: recurrent autoencoder using GRU units instead of LSTM units [11]. âą TCN-AE: temporal convolutional autoencoder [12]. âą OC-SVM: one-class SVM trained on handcrafted cycle-level features [13]. âą Anomaly Transformer: transformer-based anomaly detection model using association discrepancy [10]. For fair comparison, it is trained and evaluated on the same fixed-length cycle representation, and timestep-level anomaly scores are aggregated to produce one score per cycle. All methods are trained on nominal data only, use comparable training budgets with early stopping, and produce one anomaly score per cycle. Thresholds are calibrated using the same percentile-based rule on nominal validation data. V-B TCAA-CS Configuration Architecture The dual-stream encoder uses two 1D-CNN branches, each with two convolutional layers, kernel size 5, output dimension dc=32d_c=32, ReLU activation, and batch normalization. The LSTM encoder and decoder each have two layers with hidden dimension d=128d=128. Dropout of 0.15 is applied between recurrent layers. Training The model is trained by minimizing reconstruction error using AdamW, with batch size 64 and a maximum of 120 epochs. Early stopping is applied based on nominal validation loss. Scoring weights The triple hybrid score weights are fixed to λ1=0.6 _1=0.6, λ2=0.1 _2=0.1, and λ3=0.3 _3=0.3 based on the sensitivity analysis reported in Section V-D. The decision threshold is set at the p=95p=95-th percentile of the nominal validation score distribution. This percentile was selected to favor high recall while keeping the false-alarm rate low; it can be adjusted depending on the maintenance operatorâs tolerance to false alarms. V-C Main Detection Results Table IV summarizes detection performance on the test set, which contains 192 anomalous cycles, including 12 real expert-confirmed anomalies and 180 injected anomalies, together with 969 nominal cycles. TABLE IV: Cycle-level anomaly detection results. FAR is computed on nominal test cycles only. Method TâPTP FâNFN FâPFP TâNTN Recall Prec. F1 FAR LSTM-AE [7] 145 47 22 947 0.755 0.868 0.808 0.023 GRU-AE [11] 163 29 20 949 0.849 0.891 0.870 0.021 TCN-AE [12] 136 56 16 953 0.708 0.895 0.791 0.017 OC-SVM [13] 120 72 30 939 0.625 0.800 0.702 0.031 Transformer [10] 158 34 18 951 0.823 0.898 0.859 0.019 TCAA-CS 180 12 5 964 0.938 0.973 0.955 0.005 The baseline methods achieve competitive performance, confirming that standard unsupervised sequence models capture a substantial part of abnormal door-cycle behavior. GRU-AE provides the strongest baseline, with 84.9% recall and an F1-score of 0.870, followed by the Anomaly Transformer with 82.3% recall and an F1-score of 0.859. TCN-AE shows high precision but lower recall, suggesting a more conservative detection behavior, while OC-SVM remains less competitive because it relies on handcrafted cycle-level features rather than learned temporal representations. TCAA-CS achieves the best overall performance, with 93.8% recall, 97.3% precision, an F1-score of 0.955, and a false-alarm rate of 0.5%. Compared with the strongest baseline, GRU-AE, TCAA-CS improves recall by 8.9 percentage points and F1-score by 8.5 percentage points under the same threshold calibration protocol. This improvement suggests that dual-stream signal encoding and triple hybrid scoring capture anomaly patterns that are not fully addressed by reconstruction-based recurrent baselines. Out of 192 anomalous cycles, TCAA-CS correctly detects 180 and misses 12. Notably, all 12 expert-confirmed real operational anomalies are detected, whereas none of the baseline methods detects all of them. The 12 missed detections correspond to low-magnitude controlled perturbations with amplitudes close to nominal variability. The method produces 5 false alarms on 969 nominal cycles, mainly arising from rare but valid operational events such as passenger-triggered reopening commands or atypical but non-faulty cycle timing. V-D Ablation Study To justify the main design choices, we perform a systematic ablation study. Starting from the full TCAA-CS model, we individually remove key components and measure the impact on detection performance. When a scoring component is removed, the remaining score weights are renormalized to sum to one, and the decision threshold is recalibrated on nominal validation scores using the same percentile rule. V-D1 Component Ablation Table V reports the effect of removing each key component from the full model. TABLE V: Component ablation. Each row removes one component from the full TCAA-CS model; âw/oâ denotes âwithoutâ. Configuration Recall Prec. F1 FAR Full TCAA-CS 0.938 0.973 0.955 0.005 w/o dual-stream 0.906 0.946 0.925 0.012 w/o attention (hTh_T only) 0.880 0.939 0.909 0.014 w/o crossC_cross 0.891 0.950 0.920 0.011 w/o latD_lat 0.917 0.941 0.929 0.014 ârecL_rec only 0.781 0.926 0.847 0.015 Removing any single component degrades performance, confirming that each contributes to overall detection. The largest drop occurs when temporal attention is removed, with recall decreasing from 93.8% to 88.0%. This indicates that the attention-based cycle representation is important for capturing informative phases of the door operation. Removing the cross-signal consistency term reduces recall to 89.1%, with the loss concentrated on logical anomalies where individual signals appear plausible but their relationships are inconsistent. Removing dual-stream encoding reduces recall to 90.6%, confirming that separate processing of physical and logical signals improves the learned representation. Using reconstruction error alone reduces recall to 78.1%, demonstrating the necessity of combining complementary anomaly indicators. V-D2 Score Weight Sensitivity We evaluate the sensitivity of the triple hybrid score to the choice of weights using a grid with increments of 0.1 under the constraint λ1+λ2+λ3=1 _1+ _2+ _3=1. The selected configuration λ1=0.6 _1=0.6, λ2=0.1 _2=0.1, and λ3=0.3 _3=0.3 achieved the best F1-score, with recall 0.938, precision 0.973, F1-score 0.955, and FAR 0.005. Neighboring configurations remained competitive, such as (0.5,0.2,0.3)(0.5,0.2,0.3) with F1-score 0.952 and (0.7,0.1,0.2)(0.7,0.1,0.2) with F1-score 0.950, indicating limited sensitivity to small weight variations. In contrast, single-component settings were less effective, with reconstruction only (1,0,0)(1,0,0) reaching F1-score 0.847, latent deviation only (0,1,0)(0,1,0) reaching 0.474, and cross-signal consistency only (0,0,1)(0,0,1) reaching 0.456. These results support the use of a reconstruction-dominant but complementary hybrid score. V-E System-Level Evaluation Beyond detection accuracy, onboard deployment requires low inference latency, limited memory usage, and feasible energy consumption. We therefore evaluate the computational cost of the final TCAA-CS model during cycle-by-cycle inference. Each measurement includes the complete inference pipeline for one completed door cycle: forward pass, anomaly score computation, and decision rule. Latency is measured after a warm-up phase and averaged over repeated inference runs to reduce initialization effects. Table VI reports the results on three execution environments: an Intel i7-8850H CPU, an NVIDIA Quadro P2000 desktop GPU, and an NVIDIA Jetson AGX Xavier embedded platform. In the table, mean lat. denotes the average inference latency per cycle, p95 lat. denotes the 95th percentile latency, max lat. denotes the maximum observed latency, and GPU mem. denotes peak GPU memory usage during inference. TABLE VI: System-level performance of TCAA-CS under cycle-by-cycle inference. Platform Mean lat. (ms) p95 lat. (ms) Max lat. (ms) GPU mem. (MB) Energy Intel i7-8850H CPU 8.52 10.41 14.8 â â Quadro P2000 GPU 5.21 6.08 8.23 32.7 â Jetson AGX Xavier 4.98 6.52 8.92 32.7 8â12 W On the embedded target, Jetson AGX Xavier, TCAA-CS achieves a mean inference latency of 4.98 ms per cycle, with a p95 latency of 6.52 ms and maximum latency of 8.92 ms. Since a complete door operation typically lasts several seconds, this latency is negligible compared with the physical duration of the monitored process. The small gap between mean and p95 latency also indicates stable execution under cycle-by-cycle inference. Across GPU-based platforms, peak memory usage remains below 34 MB, which is consistent with the compact model size of approximately 560k trainable parameters and leaves margin for a shared onboard monitoring unit to supervise multiple doors or run additional onboard modules. Energy consumption on the Jetson platform is approximately 8â12 W under inference load. These results support the feasibility of real-time onboard deployment for cycle-level railway door monitoring. V-F Qualitative Analysis on Real Anomalies Figure 4 presents one nominal cycle and three anomalous cycles illustrating distinct fault mechanisms. Each column shows a complete door cycle with observed signals in blue and TCAA-CS reconstruction in red. Fig. 4: Representative door cycles: one nominal cycle and three anomalous cycles illustrating load-related, kinematic, and logical inconsistency fault mechanisms. Blue: observed signals. Red: TCAA-CS reconstruction. Red dashed boxes: anomaly regions. Nominal cycle The reconstruction closely matches the observed behavior across all signals, indicating that TCAA-CS captures normal cycle dynamics. Load-related anomaly The opening phase is abnormally slow, with stalled motion visible in the position signal. The reconstruction predicts a normal trajectory, producing a large mismatch also reflected in current and voltage signals. Kinematic anomaly The door reverses before reaching the fully open position. The reconstruction follows the expected trajectory, highlighting the missing motion. Logical inconsistency The door-closed and door-locked signals activate while the position signal indicates ongoing motion. Each signal individually appears plausible, but their relationship is physically inconsistent. The reconstruction preserves nominal logical timing, exposing the inconsistency. This fault is primarily captured by crossC_cross, illustrating the value of the cross-signal consistency term. Overall, the qualitative analysis shows that the three scoring components complement each other, supporting a unified framework rather than separate handcrafted checks for each failure mode. VI Conclusion This paper presented TCAA-CS, a cycle-level unsupervised anomaly detection framework for railway passenger door monitoring. By combining dual-stream signal encoding, temporal attention pooling, and a triple hybrid anomaly score, the model detects both signal-level deviations and inter-signal inconsistencies across complete door operation cycles. Experiments on real industrial data show 93.8% recall, 97.3% precision, and a 0.5% false-alarm rate, with all expert-confirmed anomalies detected. System-level evaluation on an NVIDIA Jetson AGX Xavier confirms real-time onboard deployment feasibility with millisecond-level latency and limited memory usage. Future work will focus on validation across larger multi-fleet datasets, additional door types, and adaptive consistency models that account for varying operating conditions while preserving low computational cost. Acknowledgment The authors would like to thank Alstom for providing access to the operational railway door data used in this study. The authors also thank Eddy Doba and Nordine Saim from Alstom for their guidance and support throughout this work. References [1] M. Shimizu, Y. Zhao, and N. P. Avdelidis (2023) A fault detection approach based on one-sided domain adaptation and generative adversarial networks for railway door systems. Sensors 23 (24), p. 9688. Cited by: §I-A, §I-A. [2] H. Dassanayake, C. Roberts, C. Goodman, and A. Tobias (2009) Use of parameter estimation for the detection and diagnosis of faults on electric train door systems. Proceedings of the Institution of Mechanical Engineers, Part O: Journal of Risk and Reliability 223 (4), p. 271â278. Cited by: §I-A. [3] L. Cauffriez, S. Grondel, P. Loslever, and C. Aubrun (2016) Bond graph modeling for fault detection and isolation of a train door mechatronic system. Control Engineering Practice 49, p. 212â224. Cited by: §I-A. [4] S. Ham, S. Han, S. Kim, H. J. Park, K. Park, and J. Choi (2019) A comparative study of fault diagnosis for train door system: traditional versus deep learning approaches. Sensors 19 (23), p. 5160. Cited by: §I-A. [5] Y. Sun, Y. Cao, and L. Ma (2020) A fault diagnosis method for train plug doors via sound signals. IEEE Intelligent Transportation Systems Magazine 13 (3), p. 107â117. Cited by: §I-A. [6] M. Shimizu, S. Perinpanayagam, and B. Namoano (2022) A real-time fault detection framework based on unsupervised deep learning for prognostics and health management of railway assets. IEEE Access 10, p. 96442â96458. Cited by: §I-A. [7] P. Malhotra, A. Ramakrishnan, G. Anand, L. Vig, P. Agarwal, and G. Shroff (2016) LSTM-based encoder-decoder for multi-sensor anomaly detection. arXiv preprint arXiv:1607.00148. Cited by: §I-B, 1st item, TABLE IV. [8] J. Audibert, P. Michiardi, F. Guyard, S. Marti, and M. A. Zuluaga (2020) Usad: unsupervised anomaly detection on multivariate time series. In Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining, p. 3395â3404. Cited by: §I-B. [9] B. Zong, Q. Song, M. R. Min, W. Cheng, C. Lumezanu, D. Cho, and H. Chen (2018) Deep autoencoding gaussian mixture model for unsupervised anomaly detection. In International conference on learning representations, Cited by: §I-B. [10] J. Xu, H. Wu, J. Wang, and M. Long (2022) Anomaly transformer: time series anomaly detection with association discrepancy. International Conference on Learning Representations. Cited by: §I-B, 5th item, TABLE IV. [11] X. Gong, S. Liao, F. Hu, X. Hu, and C. Liu (2022) Autoencoder-based anomaly detection for time series data in complex systems. In 2022 IEEE Asia Pacific Conference on Circuits and Systems (APCCAS), p. 428â433. Cited by: 2nd item, TABLE IV. [12] M. Thill, W. Konen, H. Wang, and T. BĂ€ck (2021) Temporal convolutional autoencoder for unsupervised anomaly detection in time series. Applied Soft Computing 112, p. 107751. Cited by: 3rd item, TABLE IV. [13] B. Schölkopf, J. C. Platt, J. Shawe-Taylor, A. J. Smola, and R. C. Williamson (2001) Estimating the support of a high-dimensional distribution. Neural computation 13 (7), p. 1443â1471. Cited by: 4th item, TABLE IV.