Figure 1.
End-to-end pipeline of the proposed framework. ESKF fusion feeds GNSS-aided positioning during availability and falls back to heading-constrained IMU dead reckoning at outage; the resulting feature window drives four sequence models (LSTM, TF-Base, MGTR, TAMS), and the Delayed-Switch strategy layer selects per-segment between TF-Base in the first s and MGTR/TAMS afterwards.
Figure 1.
End-to-end pipeline of the proposed framework. ESKF fusion feeds GNSS-aided positioning during availability and falls back to heading-constrained IMU dead reckoning at outage; the resulting feature window drives four sequence models (LSTM, TF-Base, MGTR, TAMS), and the Delayed-Switch strategy layer selects per-segment between TF-Base in the first s and MGTR/TAMS afterwards.
Figure 2.
Architecture of MGTR, a Motion-Guided Transformer with Tail-aware Readout. The top row shows the end-to-end data flow: MGTR inherits the input and embedding and the Post-LN Transformer encoder stack from TF-Base (blue-shaded), and inserts two enhancement modules between the encoder and the regression head, replacing the GAP readout. The bottom-left panel details TF-MG, a residual motion-guided gating module: three motion channels, namely the gyroscope z-axis angular rate , the cumulative heading change, and the dead reckoning speed , feed a two-layer MLP (FC, ReLU, FC, sigmoid) that produces a per-step gating signal . The encoder output is modulated by with , so that approaches 1 on dynamic steps and 0 on smooth steps, where the latter degenerates to an identity-like mapping . The bottom-right panel details TF-TR, a tail-aware readout that concatenates the last time step with the average of the last steps , replacing the global average pooling of TF-Base to emphasize the most recent motion state during late-outage phases. In the figure, blue, green, and purple boxes mark components inherited from TF-Base, TF-MG-specific components, and TF-TR-specific components, respectively; in the gating illustration, green and red squares denote high and low per-step gating values on dynamic (turning) and smooth (straight) steps.
Figure 2.
Architecture of MGTR, a Motion-Guided Transformer with Tail-aware Readout. The top row shows the end-to-end data flow: MGTR inherits the input and embedding and the Post-LN Transformer encoder stack from TF-Base (blue-shaded), and inserts two enhancement modules between the encoder and the regression head, replacing the GAP readout. The bottom-left panel details TF-MG, a residual motion-guided gating module: three motion channels, namely the gyroscope z-axis angular rate , the cumulative heading change, and the dead reckoning speed , feed a two-layer MLP (FC, ReLU, FC, sigmoid) that produces a per-step gating signal . The encoder output is modulated by with , so that approaches 1 on dynamic steps and 0 on smooth steps, where the latter degenerates to an identity-like mapping . The bottom-right panel details TF-TR, a tail-aware readout that concatenates the last time step with the average of the last steps , replacing the global average pooling of TF-Base to emphasize the most recent motion state during late-outage phases. In the figure, blue, green, and purple boxes mark components inherited from TF-Base, TF-MG-specific components, and TF-TR-specific components, respectively; in the gating illustration, green and red squares denote high and low per-step gating values on dynamic (turning) and smooth (straight) steps.
![Mathematics 14 02423 g002 Mathematics 14 02423 g002]()
Figure 3.
Architecture of TAMS for inertial drift correction. TAMS inherits the input and embedding and the Post-LN Transformer encoder stack from TF-Base (blue-shaded). After the encoder produces , three mechanisms redesign the readout and prediction stages. Temporal attention pooling computes softmax weights via a single learnable projection vector , intentionally not MHSA in order to limit readout parameters, and aggregates a global representation . Short-window mean pooling averages the last steps (the most recent 2 s at 5 Hz) into , a recent-scale branch complementary to the global attention pooling. The two are concatenated into a dim. dual-scale representation and fed into dual-head residual prediction: the main head FC, ReLU, FC produces that fits the dominant drift trend, while the residual head FC, ReLU, FC produces , which is scaled by and added to obtain . The bottom Adaptive Attention Insight panel illustrates the learned adaptive behavior of : tail-focused on dynamic segments such as turns or accelerations and near-uniform on steady paths. In the figure, blue, purple, and green boxes mark components inherited from TF-Base, TAMS-specific components, and the short-window mean-pooling branch, respectively; the circled plus denotes the residual summation, and the colored cells in the Adaptive Attention Insight panel depict the learned per-step attention weights .
Figure 3.
Architecture of TAMS for inertial drift correction. TAMS inherits the input and embedding and the Post-LN Transformer encoder stack from TF-Base (blue-shaded). After the encoder produces , three mechanisms redesign the readout and prediction stages. Temporal attention pooling computes softmax weights via a single learnable projection vector , intentionally not MHSA in order to limit readout parameters, and aggregates a global representation . Short-window mean pooling averages the last steps (the most recent 2 s at 5 Hz) into , a recent-scale branch complementary to the global attention pooling. The two are concatenated into a dim. dual-scale representation and fed into dual-head residual prediction: the main head FC, ReLU, FC produces that fits the dominant drift trend, while the residual head FC, ReLU, FC produces , which is scaled by and added to obtain . The bottom Adaptive Attention Insight panel illustrates the learned adaptive behavior of : tail-focused on dynamic segments such as turns or accelerations and near-uniform on steady paths. In the figure, blue, purple, and green boxes mark components inherited from TF-Base, TAMS-specific components, and the short-window mean-pooling branch, respectively; the circled plus denotes the residual summation, and the colored cells in the Adaptive Attention Insight panel depict the learned per-step attention weights .
![Mathematics 14 02423 g003 Mathematics 14 02423 g003]()
Figure 4.
Three-panel structure of the Delayed-Switch inference-time strategy. The main panel illustrates the parallel inference of TF-Base, MGTR, and TAMS together with the switching decision, where the first stage
is fixed to TF-Base and the second stage chooses between MGTR and TAMS via the lasso classifier
with threshold
. The lower panel illustrates the two-stage offline determination procedure. The right panel lists the lasso non-zero features and the decision rule. See
Section 3.5 for details.
Figure 4.
Three-panel structure of the Delayed-Switch inference-time strategy. The main panel illustrates the parallel inference of TF-Base, MGTR, and TAMS together with the switching decision, where the first stage
is fixed to TF-Base and the second stage chooses between MGTR and TAMS via the lasso classifier
with threshold
. The lower panel illustrates the two-stage offline determination procedure. The right panel lists the lasso non-zero features and the decision rule. See
Section 3.5 for details.
Figure 5.
Stage-one selection of on DS2-dev: the oracle-guided upper bound is swept over s. (a) Mean 2D-RMSE. (b) Mean m. The three curves correspond to fixing the second stage to MGTR, fixing it to TAMS, and selecting per segment by the oracle. The vertical dashed line marks the selected s.
Figure 5.
Stage-one selection of on DS2-dev: the oracle-guided upper bound is swept over s. (a) Mean 2D-RMSE. (b) Mean m. The three curves correspond to fixing the second stage to MGTR, fixing it to TAMS, and selecting per segment by the oracle. The vertical dashed line marks the selected s.
Figure 6.
Lasso coefficients of the 18 online features for the Delayed-Switch classifier (trained after z-score normalization, ranked top to bottom by ). Bars to the right (positive) favor TAMS while bars to the left (negative) favor MGTR. After lasso sparsification, only six dimensions are non-zero and twelve are shrunk to zero. The sign stability and the mechanistic interpretation appear in the main text.
Figure 6.
Lasso coefficients of the 18 online features for the Delayed-Switch classifier (trained after z-score normalization, ranked top to bottom by ). Bars to the right (positive) favor TAMS while bars to the left (negative) favor MGTR. After lasso sparsification, only six dimensions are non-zero and twelve are shrunk to zero. The sign stability and the mechanistic interpretation appear in the main text.
Figure 7.
Collection overviews of the two real-vehicle datasets in geographic coordinates on a satellite basemap. (a) Dataset 1: full GPS measured track and RTK reference. (b) Dataset 2: subsampled GPS fixes and RTK reference trajectory.
Figure 7.
Collection overviews of the two real-vehicle datasets in geographic coordinates on a satellite basemap. (a) Dataset 1: full GPS measured track and RTK reference. (b) Dataset 2: subsampled GPS fixes and RTK reference trajectory.
Figure 8.
Comprehensive comparison of baseline compensation performance. (a) Trajectory comparison of RTK, GPS, IMU, LSTM, and TF-Base on the three fixed outage segments of Dataset 1 (10/20/30 s). (b) Mean RMSE with standard deviation on MC 24 (same domain) and CV 24 (cross domain). (c) Segment-level 2D-RMSE box plot on the CV 24 segments of Dataset 2. (d) Substitution times m and m on the fixed segments of Dataset 1.
Figure 8.
Comprehensive comparison of baseline compensation performance. (a) Trajectory comparison of RTK, GPS, IMU, LSTM, and TF-Base on the three fixed outage segments of Dataset 1 (10/20/30 s). (b) Mean RMSE with standard deviation on MC 24 (same domain) and CV 24 (cross domain). (c) Segment-level 2D-RMSE box plot on the CV 24 segments of Dataset 2. (d) Substitution times m and m on the fixed segments of Dataset 1.
Figure 9.
Transformer ablation results on Dataset 2 CV 24 segments: mean 2D-RMSE (left) and m (right) for TF-Base, TF-TR, TF-MG, and MGTR.
Figure 9.
Transformer ablation results on Dataset 2 CV 24 segments: mean 2D-RMSE (left) and m (right) for TF-Base, TF-TR, TF-MG, and MGTR.
Figure 10.
Scenario-conditional comparison of TF-Base and MGTR on the 24 held-out CV segments of Dataset 2. (a) Mean 2D-RMSE grouped by scenario type (straight versus turning, threshold °/s). (b) m grouped by scenario type. The red numbers above the bars give the percentage change of MGTR over TF-Base.
Figure 10.
Scenario-conditional comparison of TF-Base and MGTR on the 24 held-out CV segments of Dataset 2. (a) Mean 2D-RMSE grouped by scenario type (straight versus turning, threshold °/s). (b) m grouped by scenario type. The red numbers above the bars give the percentage change of MGTR over TF-Base.
Figure 11.
Aggregate performance of TF-Base, MGTR, and TAMS on the 24 held-out CV segments of Dataset 2. (a) Grouped bar chart of three 2D-RMSE metrics (mean, median, P90). (b) Bar chart of m.
Figure 11.
Aggregate performance of TF-Base, MGTR, and TAMS on the 24 held-out CV segments of Dataset 2. (a) Grouped bar chart of three 2D-RMSE metrics (mean, median, P90). (b) Bar chart of m.
Figure 12.
Segment-level 2D-RMSE distributions of the neural algorithms on the 24 CV segments of Dataset 2 (logarithmic vertical axis). Inside each violin, the black line marks the median and the open circle marks the mean, while the gray dots are the original per-segment values; the median RMSE in meters is annotated on top of each violin as med. The IMU baseline is omitted to preserve the resolution of the inter-network comparison.
Figure 12.
Segment-level 2D-RMSE distributions of the neural algorithms on the 24 CV segments of Dataset 2 (logarithmic vertical axis). Inside each violin, the black line marks the median and the open circle marks the mean, while the gray dots are the original per-segment values; the median RMSE in meters is annotated on top of each violin as med. The IMU baseline is omitted to preserve the resolution of the inter-network comparison.
Figure 13.
Agreement between the Delayed-Switch selector and the oracle on the CV 24 segments. (a) Per-segment decision alignment, where the horizontal axis is sorted by TF-Base RMSE in ascending order, filled circles are the selector decisions, and open triangles are the oracle decisions; pink shading marks the disagreeing segments. (b) confusion matrix where each cell shows the segment count and percentage in parentheses, and the title reports the overall agreement rate.
Figure 13.
Agreement between the Delayed-Switch selector and the oracle on the CV 24 segments. (a) Per-segment decision alignment, where the horizontal axis is sorted by TF-Base RMSE in ascending order, filled circles are the selector decisions, and open triangles are the oracle decisions; pink shading marks the disagreeing segments. (b) confusion matrix where each cell shows the segment count and percentage in parentheses, and the title reports the overall agreement rate.
Figure 14.
Delayed-Switch selection strategy visualization on Dataset 2 CV 24 segments. (a) Per-segment RMSE heatmap for TF-Base, MGTR, and TAMS with the best-algorithm indicator. (b) Best-algorithm frequency, the segment count selected per algorithm.
Figure 14.
Delayed-Switch selection strategy visualization on Dataset 2 CV 24 segments. (a) Per-segment RMSE heatmap for TF-Base, MGTR, and TAMS with the best-algorithm indicator. (b) Best-algorithm frequency, the segment count selected per algorithm.
Figure 15.
Bar comparison of cross-domain mean 2D-RMSE for TF-Base, MGTR, and Delayed-Switch on the 24 held-out segments, corresponding to the cross-domain section of
Table 8. The bars are annotated with the relative improvement over TF-Base. The complete four-metric comparison across all models appears in
Table 8.
Figure 15.
Bar comparison of cross-domain mean 2D-RMSE for TF-Base, MGTR, and Delayed-Switch on the 24 held-out segments, corresponding to the cross-domain section of
Table 8. The bars are annotated with the relative improvement over TF-Base. The complete four-metric comparison across all models appears in
Table 8.
Figure 16.
Representative failure segment T4-S2 (33 s), where pure IMU dead reckoning is the most accurate. The RTK reference (black) advances about 170 m, while every learned compensator falls short and deviates; pure IMU (35.50 m) is therefore closer to the reference than TF-Base (43.26 m), TAMS (41.52 m), or MGTR (48.77 m). On this segment, the learned corrections overshoot, pushing the trajectory past the reference. Per-segment results for all 24 segments are listed in
Table A1. The green dot marks the outage onset, the common starting point of all trajectories.
Figure 16.
Representative failure segment T4-S2 (33 s), where pure IMU dead reckoning is the most accurate. The RTK reference (black) advances about 170 m, while every learned compensator falls short and deviates; pure IMU (35.50 m) is therefore closer to the reference than TF-Base (43.26 m), TAMS (41.52 m), or MGTR (48.77 m). On this segment, the learned corrections overshoot, pushing the trajectory past the reference. Per-segment results for all 24 segments are listed in
Table A1. The green dot marks the outage onset, the common starting point of all trajectories.
Table 1.
Summary of representative works on GNSS/IMU outage compensation.
Table 1.
Summary of representative works on GNSS/IMU outage compensation.
| Category | Representative Works | Core Idea | Main Limitations Relative to This Paper |
|---|
| Conventional integrated navigation and aided sensors | Groves et al. [9]; Gao et al. [10]; Wang et al. [11] | Improve outage robustness with multi-sensor fusion, motion constraints, integrity monitoring, or auxiliary sensors. | Rely on additional hardware, platform-specific assumptions, or complex system configurations rather than purely learning-based compensation that consumes IMU sequences directly. |
| Early learning-based compensation | Sharaf et al. [29]; Tan et al. [30]; Shen et al. [32] | Learn pseudo-GNSS position or velocity corrections from inertial signals via RBF, SVR, or shallow neural-network/filter hybrids. | Shallow models or hand-crafted hybrids with limited capacity for complex vehicle temporal dynamics. |
| RNN/LSTM/GRU predictors | Fang et al. [34]; Liu et al. [18]; Zhao et al. [19]; Wang et al. [20] | Predict pseudo measurements or GNSS increments via recurrent networks coupled to EKF or factor-graph back ends. | Centered on a single predictor, with little dedicated treatment of late-outage drift or hard-segment scenarios. |
| Transformer and stronger sequence models | Wang et al. [25]; Guyard et al. [27]; Kuang and Yan [26]; Wang et al. [28] | Improve multivariate temporal modeling through Transformer encoders, frequency-domain enhancement, or dual-domain learning. | Show stronger sequence modeling capacity but mostly optimize a single predictor, rarely studying how different improvement methods complement or fuse under a common policy. |
Table 2.
Group 1 features (motion and IMU statistics, 8 dim.) used by the Delayed-Switch classifier. All features are computed over the first seconds and depend only on online signals.
Table 2.
Group 1 features (motion and IMU statistics, 8 dim.) used by the Delayed-Switch classifier. All features are computed over the first seconds and depend only on online signals.
| No. | Symbol | Physical Meaning | Definition |
|---|
| 1 | | Upper quantile of angular-rate magnitude | 95th percentile of |
| 2 | | Mean rotation magnitude | Mean of |
| 3 | | Mean speed | Mean DR speed |
| 4 | | Speed fluctuation | Standard deviation of DR speed |
| 5 | | Net heading change | over the window |
| 6 | | Horizontal acceleration activity | Mean horizontal IMU magnitude |
| 7 | | Lateral acceleration peak | 95th percentile of |
| 8 | | Longitudinal acceleration peak | 95th percentile of |
Table 3.
Groups 2 and 3 features (inter-model disagreement, 10 dim.) used by the Delayed-Switch classifier. All features are computed over the first seconds and depend only on online signals.
Table 3.
Groups 2 and 3 features (inter-model disagreement, 10 dim.) used by the Delayed-Switch classifier. All features are computed over the first seconds and depend only on online signals.
| No. | Symbol | Physical Meaning | Definition |
|---|
| (2) MGTR/TAMS positional disagreement (4 dim.) |
| 9 | | Mean inter-model distance | Mean Euclidean distance between MGTR and TAMS trajectories |
| 10 | | Maximum inter-model distance | Maximum instantaneous distance |
| 11 | | Distance trend | Mean over second half minus mean over first half |
| 12 | | Net displacement difference | MGTR net displacement minus TAMS net displacement over |
| (3) TF-Base vs. enhanced models (6 dim.) |
| 13 | | Mean TF-Base/MGTR distance | Mean Euclidean distance |
| 14 | | TF-Base/MGTR distance at | Instantaneous distance at |
| 15 | | TF-Base/MGTR last-3 s slope | Linear regression slope over the last 3 s |
| 16 | | Mean TF-Base/TAMS distance | Same as #13 with TAMS replacing MGTR |
| 17 | | TF-Base/TAMS distance at | Same as #14 with TAMS replacing MGTR |
| 18 | | Difference of the two mean distances | |
Table 4.
Configuration of the compared algorithms. All Transformer variants use four-head MHSA and a position-wise feed-forward network with . Parameter counts come from the MATLAB analyzeNetwork measurement.
Table 4.
Configuration of the compared algorithms. All Transformer variants use four-head MHSA and a position-wise feed-forward network with . Parameter counts come from the MATLAB analyzeNetwork measurement.
| Model | Architecture | Layers | Hidden dim. | Readout | Special Module | Parameters |
|---|
| LSTM | Single-layer LSTM + MLP head | 1 | 64 | Last step | – | ∼22K |
| TF-Base | Transformer encoder | 2 | 64 | GAP | – | ∼102K |
| TF-TR | Transformer encoder | 2 | 64 | Last +
TailMean | – | ∼110K |
| TF-MG | Transformer encoder | 2 | 64 | GAP | Residual motion gating | ∼106K |
| MGTR | Transformer encoder | 2 | 64 | Last + TailMean | Residual motion gating | ∼114K |
| TAMS | Transformer encoder | 2 | 64 | Attn + ShortMean | Dual-head residual prediction | ∼114K |
Table 5.
Data split and usage.
Table 5.
Data split and usage.
| Split | Source | Segments | Usage |
|---|
| Training set | Dataset 1 trajectory, excluding the validation segments and their 10 s buffers | – | Training all neural networks |
| Validation set | Three fixed segments of Dataset 1 | 3 | Same-domain model selection |
| MC stress test | Pre-sampled fixed segments of Dataset 1 | 24 | Same-domain stress testing |
| Cross-domain dev | Non-test development segments of Dataset 2 | 20 | Delayed-Switch selector calibration |
| Cross-domain eval | Seeded random held-out segments of Dataset 2 | 24 | Held-out cross-domain evaluation |
Table 6.
Summary of baseline compensation performance for IMU, LSTM, and TF-Base.
Table 6.
Summary of baseline compensation performance for IMU, LSTM, and TF-Base.
| Evaluation Tier | Model | Mean RMSE (m) | Median RMSE (m) | P90 (m) | Improvement (vs. IMU) | m (s) |
|---|
| Fixed 3 segments | IMU | 8.41 | 5.88 | 14.80 | – | 13.7 |
| LSTM | 3.85 | 2.62 | 6.75 | 54.2% | 14.7 |
| TF-Base | 3.75 | 2.42 | 6.63 | 55.5% | 18.0 |
| MC 24 segments | IMU | 16.27 | 12.25 | 34.20 | – | 14.0 |
| LSTM | 5.75 | 4.77 | 10.64 | 64.7% | 19.5 |
| TF-Base | 4.30 | 3.71 | 7.74 | 73.6% | 21.8 |
| CV 24 segments | IMU | 40.02 | 38.06 | 70.00 | – | 4.4 |
| LSTM | 34.97 | 32.75 | 55.62 | 12.6% | 6.3 |
| TF-Base | 33.52 | 31.21 | 65.41 | 16.3% | 6.1 |
Table 7.
Transformer ablation results (cross-domain evaluation, Dataset 2 CV 24 segments).
Table 7.
Transformer ablation results (cross-domain evaluation, Dataset 2 CV 24 segments).
| Model | Mean RMSE (m) | Median RMSE (m) | P90 (m) | m (s) | vs. TF-Base |
|---|
| TF-Base | 33.52 | 31.21 | 65.41 | 6.1 | – |
| TF-TR | 33.06 | 33.40 | 62.29 | 6.0 | +1.4% |
| TF-MG | 32.71 | 34.48 | 54.65 | 5.8 | +2.4% |
| MGTR | 31.43 | 30.85 | 52.12 | 5.6 | +6.2% |
Table 8.
Final model comparison across the three evaluation tiers.
Table 8.
Final model comparison across the three evaluation tiers.
| Evaluation Tier | Model | Mean RMSE (m) | Median RMSE (m) | P90 (m) | m (s) | vs. TF-Base |
|---|
| Same-domain validation (3 fixed seg.) | TF-Base | 3.75 | 2.42 | 6.63 | 18.0 | – |
| MGTR | 6.45 | 4.94 | 11.86 | 13.3 | −72.2% |
| Same-domain stress test (MC 24) | TF-Base | 4.30 | 3.71 | 7.74 | 21.8 | – |
| MGTR | 5.14 | 3.85 | 8.82 | 20.6 | −19.4% |
| Cross-domain evaluation (CV 24) | TF-Base | 33.52 | 31.21 | 65.41 | 6.1 | – |
| MGTR | 31.43 | 30.85 | 52.12 | 5.6 | +6.2% |
| TAMS | 31.73 | 29.15 | 54.73 | 6.3 | +5.3% |
| Delayed-Switch | 30.32 | 29.23 | 53.99 | 6.2 | +9.5% |
Table 9.
Recent learning-based baselines reproduced under the identical protocol (cross-domain evaluation, Dataset 2 CV 24 segments). Same-domain values are mean 2D-RMSE on the Dataset 1 validation segments.
Table 9.
Recent learning-based baselines reproduced under the identical protocol (cross-domain evaluation, Dataset 2 CV 24 segments). Same-domain values are mean 2D-RMSE on the Dataset 1 validation segments.
| Model | Parameters | Same-Domain Val. (m) | Mean RMSE (m) | Median RMSE (m) | P90 (m) | m (s) |
|---|
| LSTM | ∼22K | 3.85 | 34.97 | 32.75 | 55.62 | 6.3 |
| TF-Base | ∼102K | 3.75 | 33.52 | 31.21 | 65.41 | 6.1 |
| AT-LSTM | ∼24K | 9.75 | 36.42 | 32.99 | 62.39 | 4.6 |
| CNN-GRU | ∼32K | 2.96 | 32.70 | 32.43 | 58.68 | 5.6 |
| MGTR | ∼114K | 6.45 | 31.43 | 30.85 | 52.12 | 5.6 |
| TAMS | ∼114K | 3.97 | 31.73 | 29.15 | 54.73 | 6.3 |
| Delayed-Switch | – | – | 30.32 | 29.23 | 53.99 | 6.2 |
Table 10.
Paired statistical analysis on the 24 held-out segments: per-segment 2D-RMSE differences (negative favors A), two-sided Wilcoxon signed-rank p-values with Holm correction over the ten comparisons, and paired bootstrap 95% CIs of the mean difference. * marks .
Table 10.
Paired statistical analysis on the 24 held-out segments: per-segment 2D-RMSE differences (negative favors A), two-sided Wilcoxon signed-rank p-values with Holm correction over the ten comparisons, and paired bootstrap 95% CIs of the mean difference. * marks .
| Pair (A vs. B) | Mean Δ (m) | Median Δ (m) | p | | 95% CI (m) | Sig. |
|---|
| TF-Base vs. LSTM | | | 0.103 | 0.620 | | |
| MGTR vs. TF-Base | | | 0.549 | 1.000 | | |
| TAMS vs. TF-Base | | | 0.775 | 1.000 | | |
| AT-LSTM vs. TF-Base | | | 0.052 | 0.468 | | |
| CNN-GRU vs. TF-Base | | | 1.000 | 1.000 | | |
| Delayed-Switch vs. TF-Base | | | 0.067 | 0.540 | | |
| Delayed-Switch vs. MGTR | | | 0.199 | 0.993 | | |
| Delayed-Switch vs. TAMS | | | 0.587 | 1.000 | | |
| Delayed-Switch vs. AT-LSTM | | | 0.002 | 0.017 | | * |
| Delayed-Switch vs. CNN-GRU | | | 0.072 | 0.540 | | |
Table 11.
Computational cost on the experimental platform (MATLAB, single CPU thread): parameter count, FP32 model weights, measured per-step latency of the full online pipeline, and the margin to the 0.2 s (5 Hz) sampling interval.
Table 11.
Computational cost on the experimental platform (MATLAB, single CPU thread): parameter count, FP32 model weights, measured per-step latency of the full online pipeline, and the margin to the 0.2 s (5 Hz) sampling interval.
| Model | Parameters | Weights (MB) | Latency (ms/Step) | Real-Time Margin |
|---|
| LSTM | ∼22K | 0.09 | 2.9 | 69× |
| TF-Base | ∼102K | 0.41 | 5.4 | 37× |
| AT-LSTM | ∼24K | 0.10 | 3.6 | 56× |
| CNN-GRU | ∼32K | 0.13 | 3.2 | 64× |
| MGTR | ∼114K | 0.46 | 6.9 | 29× |
| TAMS | ∼114K | 0.46 | 7.1 | 28× |
| Delayed-Switch (first ) | three backbones | ∼1.33 | 19.4 | 10× |