Manuscript Offprint
arXiv:2611.09584Extended Model-Based Learned Inertial Odometry
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Sasanka Kuruppu Arachchige¹ and Joni-Kristian Kämäräinen¹

Fig. 1: By using the dynamic model of the drone to derive body forces and torques and feeding them into the learned model, we are able to accurately track the trajectory of an autonomous racing drone using an IMU as the only sensor modality. Left: The autonomous drone [1] performs an agile maneuver. Middle: The trajectory estimated by our method. Right: Top view of a flight pattern never seen in training (public AI-IO dataset [2], the flight with the median improvement): ground truth (dashed), IMO [3] (blue) and our method (green).
Abstract—Inertial odometry is a compelling approach to state estimation for agile quadrotor flight due to its affordability, low weight, and robustness to perceptual degradation. However, relying only on integrated inertial measurements is impractical, as sensor errors and time-varying biases lead to significant pose drift. Although recent advances have enabled inertial odometry for drone racing, existing approaches show limited generalization to trajectories not seen during training. This work improves generalization by adopting a body-frame representation and incorporating body-frame torque dynamics into the learning pipeline. The learned model predicts short-horizon relative displacements, which are fused with IMU measurements in an Extended Kalman Filter. Experimental results show that the proposed method outperforms the previous state-of-the-art learned inertial odometry approach for quadrotor pose estimation on unseen trajectories. An additional evaluation on four public quadrotor datasets, with whole trajectory shapes held out of training, confirms a lower velocity error on every held-out set and shows that the torque input is most informative when it is derived from the rotor signals. Code, data pipeline and trained models are publicly available.
Index Terms—Aerial Systems: Perception and Autonomy; Aerial Systems: Applications; Deep Learning Methods
Multimedia Material— Code, data pipeline and trained models:
https://github.com/SasaKuruppuarachchi/Ex-IMO
I. INTRODUCTION
Agile autonomous flying robots, such as quadrotors, are used in time-critical missions including search and rescue,
aerial delivery, and reconnaissance [4]. Accurate state estimation is essential for enabling this autonomy. Inertial odometry (IO) is a promising state-estimation approach in resource-constrained systems because of its low computational and storage requirements. Moreover, IO is not affected by common visual-odometry failure modes such as motion blur, low-texture environments, and high-dynamic-range scenes. These conditions are common during agile flight maneuvers, where dedicated visual processing is often required [5]. Although 6-DoF poses can be estimated by integrating inertial measurements, commodity IMUs suffer from bias drift, noise, scale-factor errors, misalignment, and vibration-induced inaccuracies, which cause long-term estimation drift [6]. If reliable pose estimation can be achieved using only inertial sensing, robots can be made smaller and lighter, improving agility and operating range. Recently, deep learning has enabled progress in inertial odometry for state estimation. For example, [7] show that motion priors for pedestrians can be learned from IMU measurements, with accuracy comparable to recent visual-inertial odometry (VIO) methods.
Unlike pedestrian motion, quadrotor motion lacks a consistent prior that can be learned directly from IMU measurements. However, the quadrotor dynamics model can serve as a motion prior, which can then be corrected using onboard measurements (e.g., IMU data) and control outputs. Cioffi et al. [3] introduced a method that incorporates a quadrotor dynamics model and collective thrust to learn quadrotor translational motion for a given trajectory. The resulting relative position displacements are used to update an EKF propagated from IMU measurements. The method is accurate on known trajectories in the drone-racing context; however,
*This work was supported by the European Commission's Marie Skłodowska-Curie Action (MSCA) Project RAICAM (GA101072634) 2025. ¹Authors are with the Computing Sciences department at Tampere University, Finland sasa.kuruppuarachchi@gmail.com joni.kamarainen@tuni.fi its generalization to unseen trajectories remains unclear.
Our work adopts the general framework of Cioffi et al. [3]. We introduce two main modifications to improve its performance:
- We introduce body-frame torque dynamics into the learned inertial odometry pipeline, enabling the model to account for angular acceleration-induced effects that are otherwise absorbed as unmodeled noise.
- We reformulate the learning problem in the body frame, improving generalization and observability.
- We experimentally validate the model by integrating it into a state-of-the-art learning-based inertial odometry framework and comparing it with prior art, on Blackbird and DIDO and on four further public quadrotor datasets with held-out trajectory shapes.
The effectiveness of the proposed modifications is demonstrated on several widely used offline datasets, and the new model is deployed on a real drone. To facilitate fair comparisons, the code, the data pipeline and the trained models are publicly available at https://github.com/SasaKuruppuarachchi/Ex-IMO.
Visual-Inertial Odometry (VIO) is often the preferred choice, since accurate, low-drift pose estimation from visual input is essential for tasks ranging from stable hovering to fast maneuvers in complex environments. The main VIO approaches are filter-based and optimization-based methods. Filter-based methods belong to the multistage constraint Kalman filter (MSCKF) family derived from [8]. Optimization-based methods, such as OKVIS [9] and Kimera-VIO [10], are often found to be more accurate than filtering-based methods. Recently, hybrid filtering-optimization approaches have reported superior accuracy by combining the two approaches [11].
IMU-only odometry is beneficial over VIO in certain scenarios due to its robustness to visual degradation, lower computational demand, and independence from lighting and environmental conditions. IMU odometry works by measuring acceleration and angular velocity at very high rates, allowing real-time motion estimation even when cameras fail or the environment is visually ambiguous (e.g., darkness, featureless walls, smoke). This makes IMU odometry especially valuable for high-dynamic maneuvers and visually challenging environments as a complementary subsystem or short-term fallback for VIO.
Learning inertial odometry can substantially improve IMU-only odometry by addressing its core limitations, most notably sensor drift, non-linearity, and bias sensitivity. Deep learning can be used to estimate velocity and displacement from IMU data. Methods like IONet [12], A2DIO [13] and NILoc [14] treat inertial navigation as a sequential task by predicting relative motion. These predictions are
often integrated into EKF or optimization frameworks. To maintain consistency, many approaches transform IMU data into global coordinates such as a heading-agnostic coordinate frame (HACF) [15]. Most learning-based IO methods are designed for pedestrian datasets, making them less effective for UAVs with more complex motion dynamics. DIDO [16] estimates the thrust of the UAV using tachometer data and compensates for unmodeled forces with a neural network. IMO [3] extends this by integrating thrust and IMU data into an EKF but relies on additional control signals, which risk overfitting. The starting point for this work is the IMO method by Cioffi et al. [3]. We extend it with a richer dynamics model and replace the global-coordinate representation with a local body-frame representation, improving its suitability for diverse UAV maneuvers.
III. METHODOLOGY

Fig. 2: Block diagram of our system. The temporal convolution neural network (TCN) takes as input a buffer of collective thrust and gyroscope measurements and outputs relative 3-DoF positional displacements. These displacements are used to update an EKF, which is propagated using the IMU measurements
Our model is inspired by [3] to which we introduce two important changes, change of the global coordinate frame to the drone/IMU body coordinate frame and a new dynamics model. An overview of our system is shown in Fig. 2. The learning-based element is a temporal convolutional network (TCN) which we train to regress 3-DoF relative displacements from a buffer of length seconds containing mass-normalized collective thrust and gyroscope measurements. These displacements represent the distance traveled by the quadrotor in the time interval . We use the predictions of the network to update an Extended Kalman Filter (EKF), which is propagated using a kinematic motion model of the IMU.
A. IMU Coordinate Frame
- Canonical Body Coordinate Frame: The IMU accelerometer measures the net force per unit mass in the body frame, including translational acceleration caused by external forces and gravitational acceleration . The accelerometer reading at the timestamp i is
where is the drone attitude with respect to the world frame, and is gravity in that global frame.
- Global Coordinate Frame: If the drone pose is tracked in global coordinates, it can be convenient to convert the IMU measurements in the body frame (1) to measurements in the global or heading-agnostic coordinate frame (HACF) using an estimated rotation matrix .
Although Equations (1) and (2) describe the same physical quantities, they encode attitude differently. In the body frame model in Eq. 1, the attitude affects only the gravity component, forming a linear relationship. In the global frame model in Eq. 2, attitude couples with drone motion, requiring more complex modeling and inducing rotation matrix estimation errors to a component which is free of them in the body frame model. This makes body-frame data more favorable for learning-based estimation tasks due to simpler attitude-force coupling.
B. Learned Quadrotor Model
We use the same notation as Cioffi et al. [3] to make it easier to compare the two models. The reference frame is the fixed world frame with its z-axis aligned with gravity. The frame of the quadrotor body is denoted as and the IMU frame coincides with it. We denote by a superscript the reference frame of quantities. For example, is the position of the body frame at time in the world frame. For notational simplicity, the time instant is denoted just by the index . Similarly, is the linear velocity of the body frame, orientation velocity, and rotation.
- Quadrotor Model: The motion of the quadrotor is governed by the two equations [3]:
where is the mass-normalized collective thrust, and is the external force acting on the quadrotor in the body frame. Since the external forces are unknown, we assume .
More specifically, the control input to the system, , can be decomposed into the total thrust and the body torques , yielding two additional terms [17]:
where J represents the inertia tensor about the frame B and is a map from to the space of three-by-three skew-symmetric matrices ,
By integrating Equation 4 over a time interval , assuming constant thrust and no external force, we get the relative displacement:
Solving for the thrust yields
and solving for the torque yields
- Thrust and Torque Inputs: Eq. (9) contains the displacement and the velocity that the filter is estimating, so it cannot provide the thrust input at inference time. We use it only as the fitting target of a per-platform rotor map. With the signal of rotor k (rotor speed or motor command), the mass-normalized thrust is
where a and b are fitted by least squares on the training split. A motor delay and a battery-voltage scaling are added when the platform logs commands instead of rotor speeds. Mass and thrust coefficient are therefore not needed separately.
The inertia tensor J is rarely documented, so we normalize Eq. (10) by it,
so that only the inertia ratios enter. The torque input can be obtained in two ways. The gyro-derived torque evaluates Eq. (12) with a causal derivative of the gyroscope. It is a function of the gyroscope history that the network already receives, so it adds structure to the input but no new information. The rotor-derived torque is a linear allocation of the per-rotor thrusts of Eq. (11), with and fitted by least squares against the gyro-derived torque on the training split. It does not depend on the gyroscope, and the motor layout is learned rather than assumed. Section IV-D compares the two.
-
Role of Torque Dynamics in Translational Motion: In quadrotor systems, translational acceleration is determined not only by thrust magnitude but also by thrust direction, which depends on vehicle orientation. Consequently, rotational dynamics indirectly influence translational motion through the orientation-dependent thrust vector. During aggressive maneuvers, rapid angular accelerations produced by body torques can induce transient misalignment between thrust direction and instantaneous vehicle orientation. If torque dynamics are not explicitly modeled, these effects appear as unmodeled disturbances in the translational dynamics of Eq. (4). Learning-based inertial odometry methods must then implicitly compensate for these disturbances using data-driven priors, which can lead to trajectory-dependent representations and reduced generalization. By incorporating the torque dynamics described in Eq. (10), the proposed model exposes angular motion as a structured component of the system dynamics rather than treating it as latent noise. This allows the learning module to better separate translational motion induced by thrust from motion caused by rotational dynamics, improving robustness to aggressive maneuvers and generalization to unseen trajectories.
-
Neural Net Model: To enable a direct comparison with [3], we keep the remaining components unchanged and use the same Temporal Convolutional Network (TCN) architecture to learn positional displacements . TCNs have proven effective for temporal modeling and are more efficient to train and deploy than recurrent architectures.
The input to the TCN is a sequence of collective thrust and gyroscope measurements over the interval . In IMO, these measurements are rotated to the world frame using ground truth (for training) or EKF-estimated orientations (for inference), and the network predicts the world-frame displacement . In Ex-IMO, they stay in the body frame. The input at each step is
so that, as in Eq. (1), the attitude enters only through the gravity term. The target is the displacement expressed in the body frame at the start of the window, , which does not depend on the absolute heading. To improve generalization, we apply zero-mean Gaussian noise to orientation and gyroscope bias during training. The output of the network is the predicted relative displacement . The mean squared error (MSE) loss is used to train the model:
where N is the number of training samples.
- Filter Update: The EKF keeps a window of past states and uses the network output as a relative-position measurement between the states at and . For IMO, the measurement model is . For the body-frame prediction of Ex-IMO, it becomes
with Jacobians and, for the attitude error defined by , . Unlike the world-frame update, the body-frame update also corrects the attitude.
- Implementation: We train our model on a system running Ubuntu 20.04 with an Intel Core i9 CPU and an Nvidia RTX 4000 GPU. For real experiments, the trained model was deployed on an NVIDIA Jetson TX2 onboard the quadrotor. IMU and thrust measurements are sampled at 100 Hz, and the TCN receives a 0.5 s buffer as input. Network inference and EKF updates run at 20 Hz. With a history of 10 states, the system runs at 180 Hz on the Jetson TX2.
IV. EXPERIMENTS
A. Error metrics
Our model is evaluated against the original learning-based Inertial Model Odometry (IMO) in [3]. We report the two commonly used estimation error metrics, the absolute trajectory error (ATE) and the relative error (RE), calculated between a ground truth trajectory and the aligned estimated trajectory . The alignment of the estimated trajectory, , is computed as a similarity transformation [18]. For alignment and calculation of error metrics, we used the Python toolbox provided by the authors of [18]. For all experiments, we report the absolute and relative translation errors and . The relative error is less sensitive to failures in single trajectory segments and can therefore provide more detailed information about accuracy. The segment length parameter affects the relative error computation, and we rely on the default values of the provided evaluation code. To simplify the analysis, we do not report the orientation errors since we found them to accumulate into the translation error.
B. Datasets
The Blackbird dataset provides rotor speed measurements, IMU data, and synthetic images for aggressive quadrotor flights. We compute mass-normalized collective thrust using rotor speeds and evaluate on the five dataset trajectories: Clover, Egg, Half Moon, Star, and Winter, with peak speeds of 4–8 m/s. The dataset contains precise drone trajectories obtained by a Vicon motion capture system, and the sequences are trimmed to contain only agile flying. The DIDO dataset provides IMU measurements and ground-truth poses for dynamic quadrotor trajectories. We evaluate five trajectory types: Circle, Eight, Updown Circle, Updown Eight, and Random, with peak speeds ranging from 0.7 to 4.0 m/s. This dataset is more representative of real quadrotor flight than Blackbird because it contains longer human-piloted sequences with takeoff, hover, and landing. The datasets are split into 70% for training, 15% for validation, and 15% for testing. Both datasets also include additional sequences that are excluded from training and used only for evaluation as “unseen” trajectories to assess generalization.
C. Results
The Blackbird results are shown in Table I. The “seen” results are computed on test trajectories that were included during training, whereas “unseen” results are computed on hold-out trajectories not used in training. Figure 3 shows that our method performs consistently better on unseen trajectories. On average, our method improves by 28% in the unseen setting. Although the original IMO performs better on seen trajectories, our method generalizes better to unseen data, thanks to the proposed extended dynamics model.
Table III reports a factorial ablation on the Blackbird unseen split with four variants: the original global-frame formulation, global-frame prediction augmented with torques,

Fig. 3: Blackbird dataset evaluation for the unseen cases. Relative translation errors achieved by IMO, and our extended IMO (Ex-IMO). The quantity on the x-axis is the percentage traveled corresponding to 5, 10, 15, and 20% of the total distance traveled.

Fig. 4: DIDO dataset evaluation for the unseen cases. Relative translation errors achieved by IMO and our extended IMO (Ex-IMO). The quantity on the x-axis is the percentage traveled, corresponding to 5, 10, 15, and 20% of the total distance traveled.
TABLE I: Blackbird dataset evaluation. ATE and RE values in meters. In bold is the best value.
| Method | IMO [3] | Our | ||
|---|---|---|---|---|
| Trajectory | ||||
| Seen trajectories | ||||
| Clover | 0.381 | 0.681 | 0.902 | 2.014 |
| Egg | 1.153 | 0.828 | 1.007 | 1.398 |
| HalfMoon | 0.761 | 0.240 | 1.496 | 1.008 |
| Star | 2.130 | 3.066 | 2.713 | 3.796 |
| Winter | 0.219 | 0.206 | 0.801 | 0.991 |
| Avg. | 0.929 | 1.004 | 1.384 | 1.841 |
| Unseen trajectories | ||||
| Ampersand | 17.664 | 10.039 | 9.517 | 6.887 |
| Sid | 9.967 | 6.992 | 7.693 | 5.009 |
| Oval | 5.670 | 2.863 | 5.012 | 2.397 |
| Sphinx | 5.629 | 5.395 | 4.891 | 4.598 |
| BentDice | 6.143 | 4.519 | 5.301 | 3.913 |
| Avg. | 9.015 | 5.962 | 6.483 | 4.561 |
body-frame prediction without torques, and the full body-frame-plus-torques model. This protocol isolates the effect of each design choice and clarifies how they interact.
The ablation shows that the body-frame reformulation is the dominant source of improvement. Averaged over the unseen Blackbird trajectories, switching from the global
TABLE II: DIDO dataset evaluation. ATE and RE values in meters. In bold is the best value.
| Method | IMO [3] | Our | ||
|---|---|---|---|---|
| Trajectory | ||||
| Seen trajectories | ||||
| Circle | 5.451 | 2.720 | 4.045 | 1.325 |
| Eight | 4.916 | 3.816 | 3.511 | 2.023 |
| Updown Circle | 5.069 | 3.131 | 2.735 | 1.110 |
| Avg. | 5.145 | 3.222 | 3.430 | 1.486 |
| Unseen trajectories | ||||
| Updown Eight | 6.2312 | 4.990 | 3.677 | 2.337 |
| Random | 12.1707 | 3.944 | 7.901 | 1.173 |
| Avg. | 9.201 | 4.467 | 5.789 | 1.755 |
frame to the body frame reduces from 9.015 to 6.610 m even without torque inputs, whereas adding torques in the global frame yields a smaller reduction from 9.015 to 8.290 m. Adding torques on top of the body-frame model further improves the average from 6.610 to 6.483 m, and gives the best result on four of the five sequences. The only exception is Ampersand, where the body-frame-only variant is slightly better than the full model. Overall, the results indicate that the two modifications are complementary rather than redundant: the body-frame representation provides most of the gain, while the torque terms provide an additional refinement once the prediction target is expressed in the body
TABLE III: Factorial ablation on Blackbird unseen trajectories using the four-way protocol of global/body-frame prediction with and without torque inputs. Values are in meters. In bold is the best value.
| Seq. | Global | Global + torques | Body | Body + torques |
|---|---|---|---|---|
| Ampersand | 17.664 | 14.487 | 9.245 | 9.517 |
| Sid | 9.967 | 8.984 | 7.678 | 7.693 |
| Oval | 5.670 | 5.571 | 5.078 | 5.012 |
| Sphinx | 5.629 | 5.784 | 5.266 | 4.891 |
| BentDice | 6.143 | 6.626 | 5.784 | 5.301 |
| Avg. | 9.015 | 8.290 | 6.610 | 6.483 |
frame.
The DIDO results are shown in Table II. DIDO is more representative of real agile quadrotor flight because it includes longer sequences and behaviors such as takeoff, hovering, and landing. As shown in Table II, our method performs significantly better in both seen and unseen cases. In unseen sequences, our method improves by 37% and by 61%. For example, on the Random trajectory sequence, IMO performance deteriorates substantially due to multiple hover maneuvers.
More detailed error and variance trends are shown in Figures 3 and 4. Together with the factorial ablation in Table III, these results show that the largest improvement comes from expressing the learning target in the body frame, while the torque dynamics provide a smaller but still consistent gain in the stronger body-frame formulation. This is particularly evident on novel trajectories not present in the training set.
D. Evaluation on Public Quadrotor Datasets
To test whether these findings carry over to other platforms, we repeated the comparison with the released implementation on four further public quadrotor datasets, under a stricter protocol: several seeds, model selection on validation data only, and whole trajectory shapes held out of training.
Datasets. AI-IO [2] (34 min, rotor speeds) contains manual flights and patterned flights (circle, eight, updown circle, updown eight, random, at two speeds) that are never used in training. NanoBench [19] (57 min) was recorded with a 41 g nano-quadrotor that logs motor PWM commands. TII-RATM [1] (33 min) is the autonomous racing drone of Fig. 1 and logs motor commands and battery voltage. NeuroBEM [20] (75 min, rotor speeds) contains aggressive flights of a quadrotor of about 0.76 kg. Duplicate recordings, samples with interpolated ground truth and ground-truth gaps were removed, and all data were resampled to 100 Hz, so the numbers are not directly comparable with those reported on the original files. The thrust map of Eq. (11) explains 84–95% of the variance of the inverse-dynamics thrust on the validation flights of AI-IO, TII-RATM and NeuroBEM, and 15% on NanoBench, whose gentle flights have nearly constant thrust.
Protocol. Each model is trained with three seeds (Adam, learning rate , early stopping on validation loss). The EKF noise parameters, the measurement update rate and the torque source of Ex-IMO are chosen on validation flights only (105 filter settings per model), and the test flights are evaluated once. For the held-out experiment, each fold removes one group of trajectory shapes from training, validation and the physics fits: the ellipse, lemniscate and race track tracks of TII-RATM, the crossing (figure-8, star, trefoil) and round (circle, oval, helix) shapes of NanoBench, and the circles and lemniscate and CPC flights of NeuroBEM. Together with AI-IO's patterned flights, this gives eight held-out sets. Since IMU-only odometry has metric scale, we align the trajectories with an SE(3) transformation and report together with the RMSE of the filter's velocity estimate, the quantity the network learns. Differences are tested with a paired t-test across seeds.
TABLE IV: Public datasets, trajectories of the training shapes (test split) and AI-IO's patterned flights. Velocity RMSE in m/s, in meters, mean of 3 seeds. In bold is the best value; *: different from IMO with .
| Method Dataset | IMO [3] | Our, gyro | Our, rotor | |||
|---|---|---|---|---|---|---|
| vel. | vel. | vel. | ||||
| Seen trajectory shapes | ||||||
| TII-RATM | 0.516 | 1.302 | 0.773* | 1.428 | 0.721* | 1.153 |
| NanoBench | 0.479 | 1.756 | 0.458* | 1.801 | 0.378* | 1.551* |
| NeuroBEM | 0.895 | 2.946 | 1.012* | 3.252 | 0.838 | 2.725 |
| AI-IO | 1.384 | 4.322 | 1.420 | 5.244* | 0.519* | 1.206* |
| Unseen trajectories | ||||||
| AI-IO patterned | 1.082 | 14.57 | 1.114 | 5.957* | 0.461* | 2.897* |
TABLE V: Public datasets, held-out trajectory shapes: each row is a fold whose shapes were excluded from training, validation and the physics fits. Velocity RMSE in m/s, and in meters, mean of 3 seeds. In bold is the best value; *: .
| Method Held-out shapes | IMO [3] | Our, rotor | ||||
|---|---|---|---|---|---|---|
| vel. | vel. | |||||
| NeuroBEM | ||||||
| Circles | 0.777 | 2.389 | 2.260 | 0.522* | 1.205* | 1.275* |
| Lemniscate, CPC | 1.111 | 4.114 | 4.370 | 0.718* | 2.759* | 2.821* |
| NanoBench | ||||||
| Figure-8, star, trefoil | 0.609 | 1.928 | 2.023 | 0.569 | 1.806 | 1.841 |
| Circle, oval, helix | 0.557 | 1.325 | 1.436 | 0.470* | 1.634 | 1.668 |
| TII-RATM | ||||||
| Ellipse | 5.728 | 4.965 | 6.823 | 2.185* | 8.436* | 8.172* |
| Lemniscate | 6.547 | 10.43 | 8.855 | 1.836* | 9.613 | 6.736* |
| Race track | 8.456 | 16.89 | 14.93 | 4.808* | 20.00 | 17.40 |
Results on seen trajectory shapes. Table IV compares IMO with the two torque sources of Ex-IMO. With the gyro-derived torque, Ex-IMO is not better than IMO on the training shapes: its velocity error is lower only on NanoBench and higher on TII-RATM and NeuroBEM. On AI-IO's patterned flights, however, it reduces from 14.57 to 5.96 m. Since the gyro-derived torque adds no information, this gain comes from the body-frame formulation, consistent with the Blackbird ablation in Table III. With the rotor-derived torque, which the validation data selected on all four datasets, Ex-IMO has the lowest error on three of the four datasets and reduces velocity RMSE and on AI-IO by 63% and 72%. On TII-RATM, IMO keeps the lowest velocity error, while Ex-IMO has the lower .

Fig. 5: Public datasets, held-out trajectory shapes. Per-flight velocity RMSE (top) and (bottom) achieved by IMO and our extended IMO (Ex-IMO, rotor-derived torque), each flight averaged over 3 seeds. AI-IO's patterned flights are never used in training; every other panel is a fold whose shapes were excluded from training.
Results on held-out shapes. On trajectory shapes that were never seen in training (Table V and Fig. 5), Ex-IMO lowers the velocity error in all eight held-out sets, seven of them with , by up to 72%. The position error is lower in five of the eight sets, significantly on AI-IO () and on both NeuroBEM folds ( and ). NeuroBEM, with more than 100 training segments per fold, is the clearest case: Ex-IMO is better on every metric. TII-RATM has only six training flights per fold, and neither model generalizes across its tracks. There, Ex-IMO's velocity error is much lower, but its is higher on the ellipse and race track folds.
Why the rotor-derived torque helps. A linear regression from the rotor-derived torque alone explains 94% and 71% of the variance of the longitudinal and lateral body-frame displacement on AI-IO's validation flights, and 80% and 78% on NeuroBEM, while the gyro-derived torque explains almost none. Shuffling the rotor-derived torque between windows of the same flight, or delaying it by 1 s, removes the gain. The rotor differentials therefore carry information about the velocity, not only about the angular acceleration. A plausible explanation is that the rotors trim against aerodynamic moments that grow with airspeed [20], but we have not verified this. The torque term of Eq. (10) is thus most useful when it is measured through the rotors rather than reconstructed from the gyroscope.
Heading dependence. The world-frame formulation can memorize the headings of the training tracks. On TII-RATM, rotating the validation flights by in yaw raises the velocity error of IMO's network from 0.34 to 5.8 m/s, whereas the body-frame networks are unaffected. This supports the analysis of Section III-A.
V. DISCUSSION
The experimental results indicate that the proposed Ex-IMO framework consistently outperforms the original IMO method on the unseen trajectories of Blackbird and DIDO,
while achieving comparable or slightly lower accuracy on trajectories observed during training. The factorial ablation further clarifies that this improvement is driven primarily by the body-frame formulation, with torque dynamics contributing an additional gain once the prediction problem is expressed in body coordinates. This behavior suggests a bias-variance trade-off introduced by the more structured representation. While the original IMO formulation can implicitly overfit to motion patterns present in the training dataset, the body-frame target and explicit modeling of rotational dynamics constrain the learned representation to follow more physically meaningful relationships.
The slightly weaker performance on some seen trajectories likely reflects this trade-off rather than a flaw in the proposed priors. In our view, the gap is due to a combination of stronger regularization and limited model capacity, rather than the priors being overly restrictive.
The evaluation on four public datasets refines this picture. The body-frame formulation removes the dependence on the absolute heading, which is what limits IMO on flight patterns with new headings. The value of the torque input depends on how it is obtained. Reconstructed from the gyroscope, it adds structure but no information, and it gives at most a small refinement (Table III) or none (Table IV). Measured through the rotors, it carries information about the velocity and gives the largest gains we observed, with lower velocity error on all eight held-out sets.
Limitations: Despite these improvements, the proposed approach still depends on learned priors and may degrade in scenarios that deviate significantly from the training distribution. On small training sets, such as the six flights per fold of TII-RATM, neither model generalizes across tracks, and the lower velocity error of Ex-IMO does not always translate into a lower position error. The rotor-derived torque requires rotor signals and a per-platform fit, and the public datasets were recorded indoors: in wind, airspeed and ground speed differ, which may weaken the velocity information it carries.
Explicitly incorporating torque dynamics also introduces sensitivity to inaccuracies in the inertial parameters of the quadrotor, which we reduce by using only the inertia ratios. Finally, the body-frame update makes the heading appear observable through the current-estimate Jacobian, which can make the filter over-confident in yaw.
Future work: To further enhance generalization, future work will focus on training the model to estimate velocities by encoding drone rotational dynamics and leveraging neural system identification, on modeling the aerodynamic origin of the rotor-torque information explicitly, and on consistent (first-estimate) Jacobians for the body-frame update.
VI. CONCLUSION
This work presented Ex-IMO, a learned inertial odometry framework for quadrotors that improves trajectory generalization by combining a body-frame representation with an extended dynamics model incorporating body-frame torque dynamics. The system integrates a Temporal Convolutional Network predicting short-horizon relative displacements with an EKF that propagates IMU measurements. Experimental results, including a factorial ablation, show that the body-frame formulation accounts for most of the improvement on previously unseen trajectories, while torque dynamics provide an additional complementary gain. An additional evaluation on four public quadrotor datasets, with trajectory shapes held out of training, confirms a lower velocity error on every held-out set and shows that the torque information is most useful when it is derived from the rotor signals. These results suggest that expressing the learning problem in physically meaningful coordinates, and then enriching it with rotational dynamics, can improve robustness and generalization in IMU-only state estimation. Future work will explore joint learning of velocity and inertial parameters to further enhance performance in highly dynamic flight regimes.
REFERENCES
[1] M. Bosello, D. Aguiari, Y. Keuter, E. Pallotta, S. Kiade, G. Caminati, F. Pinzarrone, J. Halepota, J. Panerati, and G. Pau, "Race against the machine: A fully-annotated, open-design dataset of autonomous and piloted high-speed flight," IEEE Robotics and Automation Letters, vol. 9, no. 4, pp. 3799–3806, 2024.
[2] J. Cui, F. Yu, L. Zhang, Y. Hu, and D. Zou, "AI-IO: An aerodynamics-inspired real-time inertial odometry for quadrotors," arXiv preprint arXiv:2603.00597, 2026.
[3] G. Cioffi, L. Bauersfeld, E. Kaufmann, and D. Scaramuzza, “Learned inertial odometry for autonomous drone racing,” in IEEE Robotics and Automation Letters (RA-L), 2023.
[4] S. Watkins, J. Burry, A. Mohamed, M. Marino, S. Prudden, A. Fisher, N. Kloet, T. Jakobi, and R. Clothier, “Ten questions concerning the use of drones in urban environments,” Building and Environment, vol. 167, p. 106458, 2020.
[5] S. Kuruppu Arachchige and K. Lee, “Robust navigation based on an interacting multiple-model filtering framework using multiple tracking cameras,” in AIAA SCITECH 2024 Forum, p. 1175, 2024.
[6] Y. Yang, P. Geneva, X. Zuo, and G. Huang, “Online imu intrinsic calibration: Is it necessary?,” 2020 Robotics: Science and Systems, 2020.
[7] W. Liu, D. Caruso, E. Ilg, J. Dong, A. I. Mourikis, K. Daniilidis, V. Kumar, and J. Engel, “Tlio: Tight learned inertial odometry,” IEEE Robotics and Automation Letters, vol. 5, no. 4, pp. 5653–5660, 2020.
[8] A. I. Mourikis and S. I. Roumeliotis, “A multi-state constraint kalman filter for vision-aided inertial navigation,” in International Conference on Robotics and Automation (ICRA), 2007.
[9] S. Leutenegger, S. Lynen, M. Bosse, R. Siegwart, and P. Furgale, “Keyframe-based visual-inertial odometry using nonlinear optimization,” International Journal of Robotics Research, vol. 34, no. 3, 2015.
[10] A. Rosinol, M. Abate, Y. Chang, and L. Carlone, “Kamera: An open-source library for real-time metric-semantic localization and mapping,” in International Conference on Robotics and Automation (ICRA), 2020.
[11] O. Seiskari, P. Rantalankila, J. Kannala, J. Yilammi, E. Rahtu, and A. Solin, “HybVIO: Pushing the limits of real-time visual-inertial odometry,” in IEEE Winter Conference on Applications of Computer Vision (WACV), 2022.
[12] C. Chen, X. Lu, A. Markham, and N. Trigoni, “IONet: Learning to cure the curse of drift in inertial odometry,” in The Thirty-Second AAAI Conference on Artificial Intelligence (AAAI), 2018.
[13] Y. Wang, H. Cheng, and M. Q.-H. Meng, “A2dio: Attention-driven deep inertial odometry for pedestrian localization based on 6d imu,” in International Conference on Robotics and Automation (ICRA), pp. 819–825, 2022.
[14] S. Herath, D. Caruso, C. Liu, Y. Chen, and Y. Furukawa, “Neural inertial localization,” in Conf. on Computer Vision and Pattern Recognition (CVPR), 2022.
[15] S. Herath, H. Yan, and Y. Furukawa, “Ronin: Robust neural inertial navigation in the wild: Benchmark, evaluations, & new methods,” in IEEE International Conference on Robotics and Automation (ICRA), 2020.
[16] K. Zhang, C. Jiang, J. Li, S. Yang, T. Ma, C. Xu, and F. Gao, “Dido: Deep inertial quadrotor dynamical odometry,” IEEE Robotics and Automation Letters, vol. 7, no. 4, pp. 9083–9090, 2022.
[17] J. Pinto, B. J. Guerreiro, and R. Cunha, “Planning parcel relay manoeuvres for quadrotors,” in 2021 International Conference on Unmanned Aircraft Systems (ICUAS), pp. 137–145, IEEE, 2021.
[18] Z. Zhang and D. Scaramuzza, “A tutorial on quantitative trajectory evaluation for visual-(inertial) odometry,” in IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2018.
[19] S. I. Ullah and J. Baca, “NanoBench: A multi-task benchmark dataset for nano-quadrotor system identification, control, and state estimation,” arXiv preprint arXiv:2603.09908, 2026.
[20] L. Bauersfeld, E. Kaufmann, P. Foehn, S. Sun, and D. Scaramuzza, “NeuroBEM: Hybrid aerodynamic quadrotor model,” in Robotics: Science and Systems (RSS), 2021.