Research
TIO-Former: Ultra-Lightweight 6-Directional ToF-Inertial Odometry for Nano-UAVs via a Streaming Causal Transformer
Nano-UAVs (gram-scale quadrotors) cannot carry cameras or LiDAR, and the lightweight alternatives they can carry — downward optical flow and inertial-only estimation — fail over low-texture surfaces…

- arXiv
- 2609.17198 · Preprint · not peer-reviewed
- Published
- 2026-09-15 · revised · 2026-09-17
- Authors
- Yang Liu, Yifan He, Wenhao Zhao, Xiangyu Mo, Yang Xu, Hao Wei, Mingze Ma, Huan Li, Yifan Wu, Fei Gao, Zipeng Dai, Xin Zhou
In plain words
Nano-UAVs (gram-scale quadrotors) cannot carry cameras or LiDAR, and the lightweight alternatives they can carry — downward optical flow and inertial-only estimation — fail over low-texture surfaces or drift over time.
AI summary
Overview
Research area: Robot perception and state estimation for micro aerial vehicles — specifically, learned range-inertial odometry using ultra-sparse multi-zone time-of-flight (ToF) sensing and inertial measurement.
Technical level: Advanced. The paper assumes familiarity with SE(3) pose parameterization, attention mechanisms, key–value caching, and embedded deployment constraints.
Scope: The paper presents TIO-Former, a camera-free, optical-flow-free, mapless 6-DoF odometry system that estimates nano-UAV motion from a 200 Hz IMU and six orthogonal 8×8 ToF arrays (15 g total payload), using a streaming causal Transformer with bounded memory, and validates it on real flights and an edge RISC-V computer.
What This Paper Is About
Nano-UAVs (gram-scale quadrotors) cannot carry cameras or LiDAR, and the lightweight alternatives they can carry — downward optical flow and inertial-only estimation — fail over low-texture surfaces or drift over time. This paper asks whether an extremely sparse range sensor (six 8×8 ToF arrays producing only 384 range measurements per frame) can, combined with an IMU and a learned temporal model, support continuous standalone 6-DoF odometry with no camera, no optical flow, and no prior map. The goal is accurate dead reckoning at 15 Hz on a low-power embedded computer with fixed, flight-duration-independent memory and latency.
Key Contributions
-
A camera-free, optical-flow-free, mapless 6-DoF range-inertial odometry framework driven solely by an IMU and six orthogonal 8×8 ToF arrays with a total ToF sensor mass of 15 g, enabling continuous metric localization.
-
A reliability-gated range frontend (causal imputation plus a bilateral gated difference that multiplies the reliability masks at both temporal endpoints) and an IMU-guided directional cross-attention module in which inertial features query the six directional ToF tokens, coupled with a two-tier streaming Transformer (uncompressed Local KV cache plus compressed Chunk-FIFO memory) that keeps per-step inference cost and memory footprint bounded independent of flight duration.
-
Multi-horizon trajectory supervision on the SE(3) manifold — step-wise relative pose regression combined with multi-horizon position and rotation constraints, a path-length scale term, and a residual smoothness term.
-
Full-stack onboard deployment and a real-flight benchmark (>4.5 km over four distinct indoor scenes) demonstrating real-time edge execution on a low-power RISC-V SoC while outperforming commercial optical flow and learned inertial baselines.
Main Findings
-
Large open-loop accuracy gain over baselines: TIO-Former achieves 0.118 ± 0.007 m position ATE, 0.0039 ± 0.0001 m RPE_p, 0.504 ± 0.001 deg RPE_R, and 7.18 ± 0.37 % EDR. This is a 54.4 % reduction relative to Crazyflie Flow (0.259 m ATE) and 66.4 %–89.1 % relative to the learned inertial baselines TLIO (1.084 ± 0.011 m) and AirIO (0.351 ± 0.050 m).
-
Adding range sensors naively is not enough: A "Naive ToF+IMU" baseline with static channel concatenation reaches 0.462 ± 0.075 m ATE and 28.46 ± 3.47 % EDR, worse than AirIO on ATE, indicating that directional fusion and temporal context — not merely extra inputs — are what extract value from the range data.
-
Best accuracy in all four environments: TIO-Former records 0.142 ± 0.009 m (corridor), 0.158 ± 0.012 m (office), 0.091 ± 0.006 m (pantry), and 0.114 ± 0.007 m (meeting room), versus 0.345–0.443 m for AirIO, 0.985–1.241 m for TLIO, and 0.412–0.531 m for Naive ToF+IMU. Crazyflie Flow is omitted from this table because of frequent tracking divergence on low-texture surfaces.
-
Cross-attention degrades gracefully as views disappear: Under nominal sensing it reduces ATE by 7.8 % (0.118 m vs. 0.128 m) relative to concatenation. Across one to five missing views, the average relative ATE increase is limited to 57.19 % for cross-attention versus 151.84 % for concatenation. With five of six sensors masked, cross-attention retains 0.307 m ATE and a 22.12 % failure rate, versus 0.569 m and 53.31 % for concatenation.
-
Learnable attention is motion-correlated: Averaged over heads, time, and three seeds, horizontal translation produces the highest attention weights on views aligned with the motion direction (a diagonal pattern across front, back, left, right), while vertical maneuvers concentrate attention on the downward sensor.
-
Degradation augmentation prevents catastrophic divergence: With training-time corruption, ATE is 0.154 m at 30 % missing pixels and 0.174 m at 50 %; at the withheld 70 % out-of-distribution condition the augmented model holds 0.245 m ATE with a 12.0 % failure rate, while the unaugmented baseline diverges to 0.760 m ATE and a 74.3 % failure rate.
-
Both modalities and lateral coverage matter: The IMU-only baseline reaches 0.816 ± 0.023 m ATE and 39.48 ± 1.53 % EDR; ToF-only reaches 0.156 ± 0.009 m and 8.76 ± 0.13 %. Downward-only sensing collapses to 0.937 ± 0.003 m and 47.52 ± 1.92 %, whereas four lateral views nearly match the six-view result (0.129 ± 0.002 m, 7.29 ± 0.28 %).
-
Range representation and gating matter: A single-frame input gives 0.306 ± 0.004 m ATE; a metric pair [D_{t-1}, D_t] gives 0.158 ± 0.004 m; adding causal imputation and the bilateral gated difference reduces ATE by a further 25.3 %.
-
Loss design contributes: Single-step-only training gives 0.159 ± 0.005 m ATE and 9.39 ± 0.72 % EDR; multi-horizon supervision improves ATE by 25.8 % over single-step training, and removing the scale and residual terms gives 0.132 ± 0.004 m.
-
Two-tier memory beats both recurrent and plain KV caches: Memoryless scores 0.525 ± 0.125 m ATE; GRU2 scores 0.206 ± 0.083 m; KV8 scores 0.134 ± 0.008 m; KV32 scores 0.130 ± 0.007 m; KV8+FIFO4 with simple averaging of evicted tokens scores 0.129 ± 0.006 m; the full learned-summary version (KV8+FIFO4, Ours) reaches 0.118 ± 0.007 m and 7.18 ± 0.37 % EDR at only 12 tokens over 24 frames of history.
-
Real-time embedded execution: On an edge RISC-V companion computer (LicheeRV Nano with SG2002 SoC), the system achieves P95 latency of 10.466 ms and peak resident memory of 6.324 MiB, under 5 % of system RAM, with streaming inference at 15 Hz. (The paper content supplied is truncated inside Table IV(b), which would list reference-model latency and memory; those additional rows are not reported here.)
Methodology in Plain English
Sensing setup. Six tiny 8×8 ToF sensors are mounted to look front, right, back, down, left, and up. Each frame yields 6 × 64 = 384 distances, sampled at 15 Hz, alongside a 200 Hz IMU stream resampled into an 8 × 6 window. Ranges are converted from millimeters to meters so they share SI units with the inertial data.
Handling bad measurements. ToF pixels often fail — shiny surfaces, out-of-range targets, multi-path reflections. Rather than zero-filling (which fabricates false motion across validity transitions), the authors build a per-pixel reliability mask: valid returns inside 0.015–4.0 m get weight 1; newly acquired targets get weight 0.5; everything else gets 0. Missing pixels are filled in causally from valid neighbors and past frames, but their weights stay zero so the network knows these are guesses.
Explicit range-change channel. Each sensor's input is a three-channel grid: the previous filled range grid, the current filled grid, and their difference — but the difference is multiplied by the reliability masks at both time steps. If either endpoint is unreliable, the difference is suppressed. This "bilateral gated difference" gives the network a clean first-order motion cue instead of making convolutions numerically differentiate noisy sparse data.
Per-view encoding, then directional fusion. One small CNN is shared across all six views (local geometry physics is the same regardless of mounting direction), with learnable view identity embeddings added afterward. A cross-view Transformer lets the six views exchange context. Then the IMU feature acts as a query attending to the six directional tokens, so that views aligned with current motion get up-weighted and degenerate ones are suppressed. The residual connection keeps an inertial path alive if all range views are useless.
Bounded temporal memory. Instead of storing all past keys and values (which grows with flight time) or a fixed sliding window (which throws away history), each layer keeps an uncompressed Local KV cache of capacity C = 8 plus a FIFO of compressed summary tokens of capacity S = 4; when the local cache fills, the oldest G = 4 pairs are averaged and passed through a small projection MLP before being enqueued. This covers 24 frames (about 1.6 s at 15 Hz) while attending to only 12 retrieval tokens per step, so cost stays flat. Strict causal masking prevents looking into the future.
Training. Training pairs step-wise Smooth L1 pose regression with multi-horizon loss terms over horizons {4, 8, 16, 32} frames for position and {4, 8, 16} for rotation, plus a path-length scale term and a residual smoothness term, combined with weights 0.02 and 0.005. Training sequences are deliberately corrupted with probability 0.6 using discrete, spatial-patch, or temporal-burst masks at missing ratios 0.1/0.3/0.5, and retained returns get autoregressive colored noise (γ = 0.9, σ = 0.01 m).
Evaluation. A Crazyflie nano-UAV with a custom deck flies a benchmark of 9,492.01 s and 2,195.22 m total trajectory length (20 % canonical shapes, 80 % random flights, split 70:15:15), with test sequences standardized to 4–7 m. A second dataset of 2,362 m on an extended-endurance platform covers four scenes: office 1,368 m, pantry 524 m, corridor 194 m, meeting room 276 m. Ground truth comes from motion capture, and trajectories are integrated open-loop without alignment. Metrics are position ATE, relative pose error at 66.7 ms, and Endpoint Drift Rate.
Why This Matters
Impact on research. The paper shows that an extremely low-information exteroceptive signal — 384 ranges per frame, no images at all — can anchor inertial drift well enough to beat both a commercial optical-flow solution and learned inertial baselines. It also offers a general recipe for streaming Transformers under hard SWaP-C limits: two-tier KV memory with learned summaries, validated against GRU and flat-KV alternatives rather than asserted.
Real-world applications:
- Indoor inspection and search-and-rescue by palm-sized drones in GPS-denied, low-light, or textureless spaces (warehouses, crawl spaces, collapsed structures) where cameras and optical flow fail.
- Swarm robotics, where per-agent cost, mass, and compute budget must stay minimal and range-only sensing avoids camera bandwidth and privacy issues.
- Consumer micro-drones needing drift-resistant position hold without a downward camera and IR-lock setup.
- Operation near reflective or repetitive surfaces (tile floors, corridors) where the pantry and corridor experiments specifically test specular and geometrically degenerate conditions.
Industry relevance. The demonstration runs on a RISC-V SoC using under 5 % of RAM at a P95 latency of 10.466 ms — the kind of margin that makes a perception stack viable on sub-$50 companion hardware. The reliability masking, gauge-aware gating, and bounded-cache design patterns transfer to any embedded multimodal estimator.
Future Directions
- Closing the loop to control. All results here are open-loop odometry; integrating TIO-Former into a full flight controller for autonomous waypoint flight and closed-loop disturbance rejection is the natural next step.
- Wider sensing geometry and modalities. The ablations show downward-only sensing collapses to 0.937 m ATE and four lateral views nearly match six; how the design extends to different sensor counts, non-orthogonal layouts, or added barometry/magnetometry is unexplored.
- Longer-horizon memory semantics. The FIFO summaries are fixed-capacity averages passed through an MLP; whether learned eviction, hierarchical summaries, or content-addressable compression can extend effective history beyond the reported 24 frames (≈1.6 s) without breaching latency budgets remains open.
- Generalization beyond motion capture rooms and speed envelopes. Evaluation is confined to indoor scenes with external motion-capture ground truth; performance under outdoor illumination, aggressive aerobatics, and long-duration drift accumulation is not reported.
Target Audience
Graduate students and researchers in aerial robotics, embedded perception, and learned state estimation; engineers building SWaP-C-constrained autonomous platforms; and practitioners interested in efficient streaming Transformer architectures for edge deployment. Readers should already be comfortable with SE(3) pose composition, attention mechanics, and inertial odometry evaluation metrics, since the paper uses these without introduction.
Authors’ abstract
Autonomous nano-UAV navigation requires accurate ego-motion estimation under stringent size, weight, power, and computing (SWaP-C) constraints, where visual sensors and LiDARs exceed payload limits, optical flow degrades in low-texture scenes, and inertial-only state estimation is susceptible to accumulated drift. While multi-zone time-of-flight (ToF) arrays provide a lightweight metric complement, 6-DoF estimation from merely 384 ranges per frame is challenged by invalid…
The full abstract on arXivRelated papers
- OmniRisk: Omnidirectional Trajectory-Risk Learning for Agile Quadrotor Dynamic Avoidance 2026-09-16 · cs.RO · Also by Fei Gao, Mingze Ma +5
- Imperfection for Precision: Upcycling Imperfect Data for High-Precision Robotic Manipulation 2026-09-22 · cs.RO · Also by Hao Wei, Yang Liu
- NavGen: Visual Generative Models as a Scalable Data Engine for Embodied 3D Navigation 2026-09-25 · cs.RO · Also by Fei Gao, Xin Zhou
- DiffWAM: A Fast and Efficient Navigation World Action Model 2026-09-30 · cs.RO · Also by Fei Gao, Xin Zhou
- A Hierarchical Onboard Vision-Language-Navigation Framework for Aerial Robots in Complex Environments 2026-11-18 · cs.RO · Also by Fei Gao, Xin Zhou