arXiv:2608.29720cs.ROAug 2026

Manuscript Offprint

arXiv:2608.29720

VeloBins: Learning Velocity and Its Uncertainty via Bins and Error-Conditioned Gaussian Labels for Aerial Inertial Odometry

Maulana Bisyir Azhari, Seungwook Lee, Donghun Han, Sung Jun Park, David Hyunchul Shim

Maulana Bisyr Azhari, Seungwook Lee, Donghun Han, Sung Jun Park, and David Hyunchul Shim

Abstract—Inertial odometry (IO) is critical for aerial robots, where aggressive maneuvers and poor lighting degrade visual sensors. Recent learning-based IO methods improve traditional integration-based approaches by learning motion priors from IMU and platform-specific sensors, then fusing the predictions within an extended Kalman filter. However, learning velocity through regression is difficult, while jointly estimating uncertainty with a separate decoder and negative log-likelihood (NLL) loss further complicates training and can lead to over-confident estimates. We introduce VeloBins, which reformulates velocity regression as classification over discretized velocity bins. We decode both the velocity from the bin distribution's expectation and the uncertainty from its variance, removing the need for a separate uncertainty decoder. We further supervise the uncertainty explicitly using an error-conditioned Gaussian label centered at the ground-truth velocity, with a standard deviation set to the velocity error. We evaluate VeloBins on four aerial datasets, ranging from free-form aggressive flights and a 27g nano-quadrotor to drone racing at over 21 m/s. VeloBins achieves the lowest average errors on all four datasets, reducing velocity, relative trajectory, and absolute trajectory errors by 3–27%, 8–40%, and 6–53%, respectively, compared with the strongest baseline. Notably, the proposed supervision achieves the lowest NLL and best filter consistency despite never optimizing an NLL loss. The code will be released upon acceptance.

Supplementary Video: https://youtu.be/QkZY0So3myw

I. INTRODUCTION

Inertial Odometry (IO) estimates a robot's trajectory using an Inertial Measurement Unit (IMU), a sensor that is ubiquitous, cost-effective, and lightweight[1]. Unlike vision, it is unaffected by poor lighting, motion blur, or textureless scenes[2], [3], [4], [5]. These properties make IO critical for aerial robots, which must estimate their state through aggressive maneuvers and low light, both of which degrade visual sensing[5], [6]. However, traditional IO directly integrates raw IMU measurements, where the inherent noise and biases accumulate unboundedly. This "curse of drift"[7] renders the estimate unusable within seconds.

Learning-based IO overcomes this by learning a motion prior that maps a window of IMU data to a displacement or velocity[2], [3], [7]. The prediction is fused with IMU propagation in an extended Kalman filter (EKF), where each update is weighted by a per-sample uncertainty that the

Figure

Fig. 1: Top: Prior IO method [8] regresses the velocity and its uncertainty from two separate decoders, supervised by an NLL loss. VeloBins predicts a distribution over velocity bins, decoding the velocity as its expectation and the uncertainty as its variance, supervised with our error-conditioned Gaussian labels, yielding more accurate and better-calibrated estimates. Bottom: EKF-fused trajectories on a 21 m/s racing flight, where VeloBins follows the ground truth closely while the regression baseline drifts.

network also predicts[3], [5]. Yet this formulation has two limitations. First, existing IO methods regress the velocity or displacement directly[2], [5], [8], and scalar regression losses can be difficult to train[9], [10]. Velocity regression is even harder for aerial robots, whose highly dynamic and nonlinear flight differs from the pedestrian motion on which most learned priors are trained[5], [6]. Second, the measurement covariance comes from a separate uncertainty decoder trained by a negative log-likelihood (NLL) loss[3], [5], [8], an objective that is difficult to optimize and may yield over-confident variances[11] that degrade filter consistency[12].

Both stem from representing the velocity and its uncertainty as point estimates, so we explore reformulating velocity regression as classification over velocity bins (Fig. 1). Such bin-based formulations outperform direct regression in computer vision tasks such as monocular depth estimation[13], [14] and human pose estimation[15], [16].

This research was financially supported by the Institute of Civil Military Technology Cooperation funded by the Defense Acquisition Program Administration, and the Ministry of Trade, Industry, and Energy of Korean Government under Grant UM22206RD3.

All authors are with the Unmanned Systems Research Group (USRG), School of Electrical Engineering, Korea Advanced Institute of Science and Technology (KAIST), Daejeon 34141, South Korea. {mbazhari, seungwook1024, donghun.han, sjpark, hcshim}@kaist.ac.kr

The same reformulation improves value-based reinforcement learning[17], [18]. The advantage is attributed to the classification objective, which provides more stable gradients and higher-entropy feature representations than a scalar error loss[9], [10]. In this study, we investigate whether the same advantage holds for inertial odometry, where a network must predict the body-frame velocity of a dynamic platform.

Additionally, the bin distribution potentially offers the velocity uncertainty through its variance, which removes the need for a separate uncertainty decoder. However, a velocity target alone supervises the distribution only through its expectation[14], [19], leaving the variance unconstrained and therefore the uncertainty measure unreliable. Prior work supervises the distribution explicitly with a maximum-likelihood objective that again needs a separate decoder[16], or with a Gaussian label of fixed standard deviation that cannot reflect the per-sample uncertainty[9], [20], [21]. We therefore condition the label width on the current velocity error, so the supervision reflects the per-sample uncertainty.

To summarize, our contributions are:

  • VeloBins, a novel inertial odometry framework that predicts velocity as a distribution over discretized bins, decoding both the velocity and its uncertainty from the same distribution.
  • An error-conditioned Gaussian label whose standard deviation is the current velocity error, supervising the velocity uncertainty explicitly without a separate uncertainty decoder or NLL loss.
  • An extensive evaluation on four aerial datasets, from a 27g nano-quadrotor to 21 m/s drone racing, where VeloBins achieves the lowest average errors against five baselines and better filter consistency than the regression and likelihood-supervised variants.

References (39)