If you deploy automated guided vehicles in a factory, you have seen this happen: the IMU starts strong, but within minutes of operation, position estimates wander. By the time the AGV reaches its destination, the onboard attitude and position data have drifted meters away from ground truth.
This is not a sensor defect. This is the fundamental physics of inertial measurement: every micro-error in angular velocity or acceleration gets integrated forward in time. Over minutes of continuous motion, those micro-errors compound into macroscopic positioning failures.
Recent research on IMU-based state estimation for intelligent AGVs directly addresses this problem. The approach, called ML-UKF (Modulation Long Short-Term Memory — Unscented Kalman Filter), combines deep learning with traditional filtering to suppress IMU error accumulation during dynamic motion. The result: a 65.43% reduction in root mean square error compared to standard UKF, with position accuracy improving from 11.6 meters to 1.2 meters in x-axis RMSE.
Here’s how it works, why it matters, and what it tells us about combining neural networks with classical state estimation.
The Core Problem: Why IMU Errors Compound in Motion
In factory environments, AGVs operate under a fundamental constraint: external sensors cannot always be trusted. As the research states:
In factories, rapid scene changes caused by personnel walking and cargo placement lead to image misalignment and image matching failures in sensors such as LiDAR and vision systems, which then compromise the AGV’s state estimation capability. When vision and other sensors introduce larger errors due to environmental influences, obtaining accurate state estimation information becomes exceptionally difficult. Therefore, improving IMU’s own state estimation technology holds important research significance for intelligent AGV driving.
This is the AGV engineer’s dilemma: you cannot always count on GPS indoors, and vision/LiDAR can be degraded by dynamic factory environments. The IMU — compact, self-contained, independent of external signals — should be the reliable backbone. But the IMU has its own problem.

The research pinpoints the dynamic error mechanism precisely: When an AGV is in motion, IMU dynamic errors accumulate over time — errors at each time node affect all subsequent calculations, causing IMU dynamic state estimation to diverge.
This is the fundamental challenge. Every integration step in the inertial navigation chain — from angular velocity to attitude, from acceleration to velocity, from velocity to position — carries forward the errors of all previous steps.
The Real-World Impact on Industrial AGVs
For an AGV operating on a factory floor, IMU drift manifests as:
- Position offset: After several minutes of motion, the AGV’s estimated position can diverge by 5 to 20 meters from its true location
- Attitude error: Heading angle (yaw) drift is especially severe, degrading the vehicle’s ability to maintain a straight path
- Velocity uncertainty: Speed estimates become unreliable, affecting obstacle avoidance and docking precision
In testing, direct integration of IMU data without correction produced a clear result: the attitude, velocity, and position obtained by direct integration continuously diverged over time, causing severe deformation of trajectory data. Within just 4 seconds of motion initiation, accumulated errors had already made the estimates unreliable.
Why Traditional Kalman Filtering Isn’t Enough
The standard approach to IMU state estimation is the Kalman filter and its nonlinear variants. The Unscented Kalman Filter (UKF) has been the workhorse for decades because it avoids the linearization errors inherent in the Extended Kalman Filter (EKF). It works by selecting a set of “sigma points” around the current state estimate, propagating them through the nonlinear system model, and reconstructing the mean and covariance from the transformed points.
But UKF has two structural weaknesses that become acute in AGV applications:
1. The Virtual Sampling Point Problem
Traditional UKF generates sigma points mathematically — they are calculated values, not actual observations from the dataset. This becomes a critical limitation when you try to integrate deep learning models into the UKF pipeline.
The research identifies the issue directly: Traditional sampling methods obtain virtual sampling points through calculation and then use state and observation models for one-step prediction. However, these virtual sampling points do not exist in the deep learning dataset, making this sampling approach inapplicable to deep learning-improved UKF algorithms, which in turn causes instability in the system filtering process. In other words, if you want a neural network to learn the state transition model from real IMU data, you cannot feed it mathematical abstractions as input. You need actual sensor readings.
2. The Modeling Accuracy Gap
The second weakness is more fundamental: Establishing an accurate system dynamic model is the prerequisite for accurate IMU state estimation. However, IMU data contains noise with unknown characteristics, making it very difficult to build a precise system dynamic model. Traditional UKF relies on hand-crafted state transition and observation models. These models assume Gaussian noise distributions and linear(izable) relationships. Real IMU data — contaminated by temperature-dependent bias drift, vibration-induced noise, and nonlinear sensor responses — systematically violates these assumptions.
The ML-UKF Solution: Three Innovations
The ML-UKF method addresses both structural weaknesses through three interconnected innovations.
Innovation 1: Equidistant Sigma Sampling
Instead of generating virtual sigma points through mathematical calculation, the ML-UKF method samples actual observed data points around the current estimation moment: Equidistant Sigma sampling centers on observed values, selecting observation points around the current estimation moment from the dataset. This sampling approach avoids the traditional method of obtaining points through calculation and innovatively uses observed values as sampling points, preventing instability in the UKF filtering process.
The sampling rule is straightforward: for a system with dimensionality L, take 2L+1 points — L points before the current moment, L points after, and the current observation itself. This ensures that every sigma point fed into the deep learning state and observation models is a real IMU measurement, not a mathematical construct.
This seemingly simple change is what makes the entire deep learning integration possible. Without it, the neural network’s nonlinear mapping would operate on unrealistic inputs and produce unreliable outputs.
Innovation 2: Modulation LSTM Architecture
The second innovation addresses the sequence modeling challenge. Standard LSTM networks, while effective for many time-series tasks, have a known limitation: When LSTM neural networks predict overly long sequences, they often exhibit insufficient utilization of historical information. Gradient information must propagate through time steps, making gradient decay or explosion likely, which leads to unstable training or failure to converge.
The fix is a Modulation LSTM — a four-gate recurrent structure that adds a modulation gate to the standard three-gate (input, forget, output) LSTM architecture: The Modulation LSTM neural network introduces a modulation gate to evaluate the importance of historical information at different time points. It improves the traditional memory mechanism by using the summed mean of memories from the same time point across data segments as the standard memory, thereby enhancing the model’s ability to identify critical information and improving model interpretability.
The modulation gate works by summing the memory cell states across multiple data segments at the same time position and computing their mean, creating a “standard memory” reference. This reference serves as an additional regularization signal, preventing the memory from drifting toward noise and keeping it anchored to the most consistently relevant historical features.
Concretely, the modulation gate output is computed as:
C̃_k = E = Σ(C_k,m) / m
where m is the number of data segments and C_k,m is the standard memory at time k for segment m. This averaged memory then participates in the output gate computation, producing a hidden state that is more robust to sequence-length-dependent degradation.
Innovation 3: Neural Network State and Observation Models
With the sampling problem solved and the sequence modeling architecture in place, the third innovation is the substitution of the entire state and observation modeling pipeline:
- State model (netⅠ): Takes the equidistant sigma points from k-1 as input (19 dimensions: acceleration, angular velocity, magnetic field strength, and computed attitude/velocity/position), and predicts the state at time k (10 dimensional output: attitude quaternion, velocity, position)
- Observation model (netⅡ): Takes equidistant sigma points from time k as input (same 19-dimensional structure), and predicts the corresponding observation (same 10-dimensional output)

Both models are trained on 800,000 data samples collected from an Xsens Mti30 9-axis IMU, with GNSS/IMU integrated navigation data (centimeter-level accuracy) serving as ground truth.
The training configuration: a single LSTM layer with 128 hidden nodes, followed by a 0.25 dropout layer and a fully connected output layer. Training ran for 500 iterations using the Adam optimizer with an initial learning rate of 0.01 and mean squared error as the regression loss function. After 150 iterations, both the state model and observation model stabilized, with R² values reaching 0.9983 and 0.996 respectively.
Experimental Results: What the Numbers Show
ML-UKF was tested against three alternative methods on a self-developed intelligent AGV platform:
- UKF — Standard Unscented Kalman Filter
- ACKF — Adaptive Cubature Kalman Filter (a more recent nonlinear filter variant)
- CNN — A convolutional neural network approach for IMU state estimation
The test dataset contained 12,000 samples from real AGV operation. Ground truth came from a GNSS/IMU integrated navigation system providing attitude accuracy of 0.1°, velocity accuracy of 0.02 m/s, and position accuracy of 5 cm.
Position Accuracy
The most dramatic improvements appeared in position estimation. The standard UKF produced an x-axis RMSE of 11.6 meters — functionally useless for precision docking or narrow-aisle navigation. ML-UKF reduced this to 1.20 meters — an 83.21% improvement.
| Algorithm | X Position RMSE (m) | Y Position RMSE (m) | Z Position RMSE (m) |
|---|---|---|---|
| UKF | 11.6 | 5.91 | 2.31 |
| ACKF | 8.56 | 6.94 | 0.76 |
| CNN | 19.10 | 4.49 | 0.82 |
| ML-UKF | 1.20 | 1.13 | 0.99 |

Velocity Accuracy
Velocity RMSE across all three axes showed consistent improvement:
| Algorithm | Vx RMSE (m/s) | Vy RMSE (m/s) | Vz RMSE (m/s) |
|---|---|---|---|
| UKF | 0.39 | 0.38 | 0.08 |
| ACKF | 0.55 | 0.37 | 0.04 |
| CNN | 0.37 | 0.32 | 0.033 |
| ML-UKF | 0.10 | 0.11 | 0.03 |
Attitude Accuracy
Heading angle (yaw) — historically the most error-prone dimension — showed the largest relative gain:
| Algorithm | Roll RMSE (°) | Pitch RMSE (°) | Yaw RMSE (°) |
|---|---|---|---|
| UKF | 0.91 | 1.35 | 25.45 |
| ACKF | 1.51 | 1.21 | 21.43 |
| CNN | 0.62 | 1.35 | 21.58 |
| ML-UKF | 0.50 | 0.30 | 3.28 |
The yaw RMSE dropped from 25.45° to 3.28°, a reduction of 87.1%. This is particularly significant for AGVs that must maintain heading accuracy for aisle navigation and docking maneuvers.
Aggregate Performance
The results are clear: Compared to UKF, ACKF, and CNN algorithms, the ML-UKF algorithm achieved notable error reduction — overall RMSE decreased by 65.43% and 75.05% respectively, and overall MAE decreased by 59.78% and 76.87%. The violin error plots from the study further show that ML-UKF’s error distribution is concentrated near zero, while competing algorithms exhibit wider dispersion and longer tails.
What This Means on a Factory Floor
GPS-Denied Indoor Operation
Factories and warehouses are GPS-denied environments. UWB or LiDAR-based localization infrastructure helps, but it adds cost, complexity, and maintenance burden. An IMU that can hold meter-level position accuracy using only its own sensors cuts that infrastructure dependency.
Resilience When the Environment Shifts
Forklifts cross the AGV’s path. Pallets get rearranged. Lighting changes. Vision and LiDAR systems degrade when this happens. The IMU has to bridge those moments. With ML-UKF holding 1.2-meter position accuracy on inertial-only data, the AGV keeps navigating through environmental disturbances that would otherwise force a safety stop.
Less Pressure on Sensor Fusion
Multi-sensor fusion — IMU + camera + LiDAR + wheel odometry — works, but it introduces synchronization headaches, calibration drift, and computational load. When the IMU-only baseline is stronger, the fusion system can run lower-gain corrections from auxiliary sensors. A single sensor failure hurts less.
The Questions Engineers Actually Ask
When industrial automation engineers evaluate IMUs, two questions come up repeatedly:
- “How stable is your sensor’s output over long operating periods?” — ML-UKF shows that algorithm design can push accuracy far beyond what raw sensor specs suggest.
- “How do you ensure consistent measurement accuracy across operating conditions?” — The modulation LSTM’s robustness to sequence-length degradation means performance holds across short runs and long ones.
Practical Considerations for Implementation
If you are considering ML-UKF for your own platform, here is what you need to know:
Training data requirements. The method requires paired IMU and ground truth data (800,000 samples in the research setup). For initial deployment, this means instrumenting an AGV with a high-accuracy reference system (GNSS/IMU integrated navigation or a motion capture system) during the data collection phase.
Computational requirements. The research team ran experiments on an Intel Core i5-6200U CPU with 8 GB of RAM. The modulation LSTM network with 128 hidden nodes and a single LSTM layer is lightweight enough for embedded deployment, though real-time performance on target hardware would need verification.
Generalization across IMU grades. The research used an Xsens Mti30 industrial-grade MEMS IMU (gyro bias 18°/h). The method should theoretically apply to any IMU grade, but performance gains may vary. Higher-grade IMUs with lower intrinsic drift would see smaller relative improvements, while lower-cost consumer MEMS might benefit even more dramatically from the error suppression.
Frequently Asked Questions
Q: How is ML-UKF different from a standard deep learning approach to IMU state estimation?
A: ML-UKF does not replace the Kalman filter with a neural network. Instead, it uses the modulation LSTM to build better state transition and observation models within the UKF framework. The Kalman gain computation, covariance propagation, and state update steps remain intact. This hybrid approach combines the neural network’s ability to learn complex nonlinear mappings from data with the Kalman filter’s optimal Bayesian estimation properties.
Q: Does ML-UKF require retraining for each AGV platform?
A: In principle, yes — the state and observation models are learned from platform-specific data. However, the network architecture (modulation LSTM with 128 hidden nodes) and training procedure are transferable. A new platform would require its own data collection run with a reference system.
Q: Can ML-UKF work in real time on an embedded processor?
A: The research used a laptop-grade i5 CPU, not embedded hardware. Real-time performance depends on inference latency of the modulation LSTM models and the dimensionality of the state vector. Optimizations such as model quantization and reduced hidden layer sizes could make embedded deployment feasible.
Q: How does this compare to adding an external correction source like UWB or LiDAR SLAM?
A: ML-UKF improves the inertial-only baseline. It does not replace external correction — it makes the IMU less dependent on it. In a well-instrumented facility with reliable external positioning, the benefit is reduced but still meaningful. In environments where external sensors are unreliable or unavailable, the benefit is decisive.
The Bottom Line
The ML-UKF method shows a practical path forward for AGV inertial navigation: classical filtering theory combined with modern deep learning, each addressing the other’s structural limits. Equidistant sigma sampling solves the interface problem between UKF and neural networks. The modulation gate architecture solves the long-sequence degradation problem in standard LSTM. Together, they push position accuracy from 11.6 meters to 1.2 meters — not by adding more sensors, but by pulling more information from the IMU that is already onboard.
For industrial AGV engineers, the takeaway is straightforward: algorithm matters as much as hardware. A mid-range industrial MEMS IMU with ML-UKF-style processing can beat a higher-spec sensor running traditional UKF. Better sensors help. Better signal processing helps more.
