Research
VeloBins: Learning Velocity and Its Uncertainty via Bins and Error-Conditioned Gaussian Labels for Aerial Inertial Odometry
Learning-based inertial odometry typically regresses a drone's velocity and separately regresses its uncertainty with a second decoder trained by a negative log-likelihood loss, which is hard to…

- arXiv
- 2608.29720 · Preprint · not peer-reviewed
- Published
- 2026-08-30
- Authors
- Maulana Bisyir Azhari, Seungwook Lee, Donghun Han, Sung Jun Park, David Hyunchul Shim
In plain words
Learning-based inertial odometry typically regresses a drone's velocity and separately regresses its uncertainty with a second decoder trained by a negative log-likelihood loss, which is hard to train and often produces over-confident covariance estimates.
AI summary
Overview
- Research area: Robotics — learning-based inertial odometry (IO) for unmanned aerial vehicles, with a focus on velocity estimation and calibrated uncertainty for sensor fusion.
- Technical level: Advanced. The paper assumes familiarity with extended Kalman filters, learned motion priors, and distributional losses, though the core idea (classification over bins instead of regression) is explained from first principles.
- Scope: The paper reformulates body-frame velocity estimation as a classification problem over discretized velocity bins, decodes both velocity and uncertainty from a single bin distribution, and supervises that distribution with Gaussian labels whose width is set by the network's own velocity error.
What This Paper Is About
Learning-based inertial odometry typically regresses a drone's velocity and separately regresses its uncertainty with a second decoder trained by a negative log-likelihood loss, which is hard to train and often produces over-confident covariance estimates. This paper asks whether treating velocity prediction as classification over a set of ordered bins instead of regression yields a more accurate velocity and a better-calibrated uncertainty without any separate uncertainty head. The goal is a single distribution that supplies both the EKF measurement and its covariance, improving both the raw velocity error and the fused trajectory.
Key Contributions
- VeloBins framework: An inertial odometry architecture that predicts velocity as a probability distribution over discretized bins per axis, decoding the velocity as the distribution's expectation over bin centers and the uncertainty as its variance around that expectation — no separate uncertainty decoder.
- Error-conditioned Gaussian labels: A supervision scheme where the target distribution is a Gaussian centered at the ground-truth velocity whose standard deviation equals the network's current absolute velocity error (detached from the gradient graph), then integrated over each bin's support and tilted so its expectation exactly matches the ground truth. This supervises the bin variance explicitly without an NLL loss.
- Learnable sine positional bin encoding: Each bin's classifier is built from a learnable sine positional encoding of its coordinate rather than an unconstrained linear layer, keeping the decoder's parameter count independent of the number of bins.
- Extensive aerial evaluation: Results on four aerial datasets spanning a 27 g nano-quadrotor to drone racing above 21 m/s, against five baselines (TLIO, EqNIO, IMO, AirIO, AI-IO), plus ablations on supervision strategy, encoding, and bin resolution, and a filter-consistency analysis using NEES.
Main Findings
- Lowest average errors on all four datasets: VeloBins achieves the best average AVE, RTE, and ATE on AI-IO, NanoBench, TII-RATM, and NeuroBEM. Relative to the strongest baseline (AI-IO), it reduces velocity error by 3–27%, relative trajectory error by 8–40%, and absolute trajectory error by 6–53%, with the largest gains on TII-RATM.
- Improvements are attributable to the reformulation: AI-IO and VeloBins share the same encoder, EKF, and training data, isolating the bin reformulation and its label supervision as the cause.
- Bins beat regression even with a plain loss: Using bins with only a Huber loss lowers the raw network AVE on all four datasets, by 2% on AI-IO up to 25% on NanoBench.
- Lowest NLL without ever optimizing NLL: The proposed Huber plus Gaussian-label variant attains the lowest NLL on all four datasets, even though the regression baseline, MLE variant, and MLE+Huber variant all explicitly optimize an NLL-style covariance objective.
- Best filter consistency: Median per-update velocity NEES is 3.08 against an ideal 2.37, with 73% of updates inside the 95% bounds — versus 64% for MLE+Huber with both variance sources, 61% for the regression baseline, and 49% for the Huber-only bin variant. Huber-only bins are under-confident and get partly discarded by the filter; the regression and MLE variants are over-confident.
- Ranking flips after fusion: The variant with the best raw network AVE does not produce the best fused trajectory — the ordering reverses after EKF fusion because the filter weights each update by the predicted uncertainty.
- Learnable sine positional encoding wins: It attains the lowest RTE on every dataset and the lowest NLL on three of four; on TII-RATM only this encoding improves NLL over the regression baseline. The margin is largest on TII-RATM, where the highest speeds give the widest bin range and the Gaussian label spans the fewest bins.
- Accuracy is insensitive to bin count, calibration is not: Sweeping bins from 16 to 2048, network AVE stays near the regression baseline at essentially any resolution, but NLL falls below the baseline only at 64 bins or more on three of four datasets and saturates at 512 bins.
- Modest computational cost: On a single Cortex-A78AE thread of an Orin NX, a forward pass takes 5.10 ms versus 4.36 ms for the regression baseline (17% overhead), dropping to 9% (4.73 ms) when the input-independent bin encodings are precomputed. The bin decoder adds 9.8% to the encoder's 69.8 k parameters.
Methodology in Plain English
Instead of asking a neural network to output one number for velocity, the authors split each velocity axis' operating range into a fixed grid of bins and ask the network to output a probability for each bin. The velocity is then the weighted average of bin centers, and the uncertainty is the spread of that probability mass around the average. This replaces two decoders (velocity and covariance) with one output.
To make the spread meaningful, they build a training target that is a bell curve centered on the true velocity. Its width is set to however far off the network currently is on that specific sample: a small error produces a narrow, sharp target, and a large error produces a broad one. That continuous bell curve is converted into per-bin probabilities by measuring how much of it falls inside each bin's range, and a small correction step ensures the target's average lands exactly on the ground-truth velocity. The network is trained to match this target distribution (a KL-divergence loss), plus a standard Huber loss on the decoded velocity to penalize a displaced mean directly.
The bin classifiers themselves are not a plain linear layer. Each bin center gets a learnable sinusoidal positional encoding, preserving the fact that neighboring bins are numerically close, and a query derived from the IMU/rotor-speed features is matched against these encodings. A transformer encoder processes a one-second window of 100 Hz accelerometer, gyroscope, and rotor speed or motor command data, and the EKF receives velocity updates at 20 Hz using the decoded variance directly as its measurement covariance, with no rescaling or innovation gating.
Why This Matters
Impact on research: The paper shows that a reformulation borrowed from monocular depth and human pose estimation transfers to inertial odometry, and that a classification-style objective can beat regression on a highly dynamic aerial platform. More importantly, it demonstrates that a well-shaped distributional label can produce better-calibrated uncertainty than an explicit likelihood loss, which is a useful counterexample to the assumption that NLL training is the natural route to filter-ready covariance.
Real-world applications:
- GPS-denied flight in low light, indoors, or through motion blur, where cameras degrade but IMUs do not.
- Drone racing and other aggressive maneuvers at speeds above 21 m/s, where the paper shows the largest trajectory improvements.
- Nano-scale platforms such as a 27 g Crazyflie, where payload and compute budgets rule out heavy sensing or large models.
- Any downstream system that fuses learned velocity into a probabilistic filter and is sensitive to over-confident covariance, such as delivery drones navigating cluttered spaces.
Industry relevance: The method runs at milliseconds per forward pass on embedded hardware with a small, bin-count-independent decoder, and it removes an entire decoder head from the model. Better-calibrated covariance reduces filter divergence risk, which matters for certification and safety arguments in commercial autonomous flight.
Future Directions
- Removing the fixed bin grid: The authors list as a limitation that the bin range is fixed per dataset with a known operational velocity envelope. Adaptive or learned bin placement, in the spirit of per-image bin widths in depth estimation, is a natural extension.
- Fixing label collapse at small errors: Once velocity error becomes small enough, the error-conditioned label collapses onto too few bins and under-supervises the variance, producing under-confident uncertainty. The authors note under-confidence is safer than over-confidence for fusion, but a floor or adaptive minimum width would address the root cause.
- Cross-platform generalization: The authors suggest the formulation could extend to humanoids, quadrupeds, ground vehicles, and underwater vehicles using their own platform-specific modalities, or be combined with cross-platform foundation-model approaches such as TartanIMU.
- Better uncertainty at high speeds: On TII-RATM and NeuroBEM the gains in calibration are the thinnest (on TII-RATM, NLL stays above the regression baseline until 512 bins), suggesting the label design needs refinement when the velocity range is widest.
Target Audience
Robotics researchers and graduate students working on learning-based state estimation, sensor fusion, and aerial autonomy; practitioners building GPS-denied navigation stacks who need per-sample uncertainty that a Kalman filter can actually trust; and machine learning researchers interested in how classification-over-bins objectives and distributional labels behave outside vision and reinforcement learning. Readers should be comfortable with EKF measurement updates and probabilistic losses, though the central idea is accessible to anyone who understands softmax classification.
Authors’ 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…
The full abstract on arXivRelated papers
- OccamView: Object-Conditioned View Selection for Frame-Budgeted Active 3D Gaussian Reconstruction 2026-08-17 · cs.RO · Key terms of the title in common
- Elevator-VIGS: Separating Elevator Motion from Robot Motion in Visual-Inertial Gaussian Splatting SLAM 2026-09-20 · cs.RO · Key terms of the title in common
- DAVIO: Dense Monocular-Inertial SLAM with Feed-Forward Initialization and Pose-Conditioned Mapping 2026-09-23 · cs.RO · Key terms of the title in common
- MultiFly: A Real-World Multimodal Aerial Dataset with Annotation-Efficient Label Transfer and Cross-Modal Semantic Consistency 2026-10-07 · cs.RO · Key terms of the title in common