# FAST-LIO2: Fast Direct LiDAR-inertial Odometry

Raw LiDAR points can be registered directly to the map

Wei Xu, Yixi Cai, Dongjiao He, Jiarong Lin, Fu Zhang · arXiv · 2021-7-14

- **Problem** Feature extraction for LiDAR odometry weakens in structure-less scenes and with small field-of-view sensors.
- **Method** FAST-LIO2 registers every raw point to the map instead of extracting features. It runs in an iterated Kalman filter and keeps the map in an incremental k-d tree.
- **Results** On 19 benchmark sequences, FAST-LIO2 gives the best accuracy on 18 of 19, compared with LILI-OM, LIO-SAM and LINS.

## Why feature-based LiDAR odometry strains at scale

A LiDAR produces hundreds of thousands to millions of points per second, and odometry has to process them in real time on onboard computers with limited resources. Most LiDAR odometry pipelines reduce this load by extracting edge and plane features based on local smoothness, but the quality of those features depends on the surroundings. Structure-less scenes leave few usable features, and a small field of view makes the shortage worse, which is the situation of emerging solid-state sensors.

Because the scanning pattern and point density differ between spinning and solid-state units, the extraction rule has to be redesigned for each sensor, so a feature-based pipeline needs substantial hand-engineering. Motion distortion is a separate problem: points in one scan are sampled while the sensor moves, and an IMU can compensate for it but adds states such as bias and extrinsic parameters to estimate.

A long-range LiDAR returns sparse points spread over a large volume, so the map has to be large and dense, and it must answer correspondence queries while it is updated with new measurements. The work therefore asks two questions: whether raw points can be registered directly to the map without losing accuracy in small-FoV and structure-less settings, and whether a dense map can be kept incrementally and queried fast enough for real-time odometry.

## Registering raw points instead of features

FAST-LIO2 removes the feature extraction stage and registers every raw point of a scan to the map, which is what the authors call the direct method. Because each raw point is matched, a scan with no prominent edges or planes still gives constraints, which the authors expect to help when the sensor has a small field of view or the scene has little structure.

Dropping extraction also removes the per-sensor design work, so the same pipeline applies to different scanning patterns.

Direct registration only became affordable after the cost of each filter step was cut: the earlier FAST-LIO reduced the Kalman gain computation and could then register a scan to the map at every step, but its k-d tree rebuilding limited it to small environments. FAST-LIO2 addresses that bottleneck with a map structure that supports incremental updates, so the raw-point registration can run on the full map at odometry rate.

## How the iterated Kalman filter uses each scan

The estimator is a tightly-coupled iterated Kalman filter, inherited from FAST-LIO, that also estimates the LiDAR-IMU extrinsic online. The state lives on the manifold M, and its continuous IMU kinematic model is discretized at the IMU sampling period, with the LiDAR-IMU extrinsic given zero derivative in the dynamics. IMU samples arrive at 200 Hz while LiDAR scans come at 10 to 100 Hz, so several propagation steps usually run before each update.

Between scans, the state and its covariance are propagated with each IMU measurement from the fused estimate of the previous scan, with the process noise set to zero. Before the update, back-propagation estimates the pose of each point relative to the scan end time from the IMU data, so that all points can be treated as sampled at the scan end time.

For each point, the predicted pose projects it into the global frame, and its five nearest map points are used to fit a local plane with a normal vector and a centroid. The residual is the projection of the difference between the transformed point and the plane centroid onto the normal, written as \\\\(z\_{\\\\kappa j} = u\_j^T(\\\\hat{T}\_{\\\\kappa}\\\\, {}^{L}p\_j - q\_j)\\\\) in the paper's notation, with the linearization taken at the current iterate.

The Kalman gain is computed as \\\\(K = (H^T R^{-1} H + P^{-1})^{-1} H^T R^{-1}\\\\), so the matrix inverted has the size of the state rather than the size of the measurements. The authors state that this form is mathematically equivalent to the conventional gain, and they use it to cut the computation. The update repeats until the state change falls below a threshold, and then the transformed points are inserted into the map.

## Storing the map in an incremental k-d tree

The ikd-Tree is a binary search tree that stores a point at every node, both leaves and internal nodes, while many k-d tree implementations keep buckets of points only on leaves. The authors store points at internal nodes so that insertion and tree re-balancing are better supported.

The tree supports point insertion with on-tree downsampling, box-wise deletion and nearest neighbor search. Downsampling runs during insertion through a box-wise search and delete, and the map is downsampled at a resolution of 0.5 m in the experiments.

When the balance criterion is violated, a sub-tree below the size Nmax is rebuilt in the main thread, while a larger one is rebuilt in a second thread. The second thread locks updates on the sub-tree, flattens its valid points into an array, unlocks it and builds a balanced replacement, while an operation logger records the updates that arrive meanwhile.

The logged updates are replayed on the new tree, and the swap happens under a short lock that blocks all access for only one instruction, so queries continue in the main thread.

## Bounding the map and searching it

Only map points inside a cube of side length L around the LiDAR are kept, and L is 1000 m in the default configuration. A detection ball with radius γR, where R is the LiDAR field-of-view range and γ is larger than 1, decides when the cube has to move. When the ball touches a boundary, the region is shifted by d = (γ − 1)R away from that boundary, and the points in the subtraction area are removed with a box-wise delete.

The nearest neighbor search keeps a priority queue of the k best candidates, and a node is skipped when the minimal distance from the query to its cuboid is no smaller than the largest distance in the queue. A distance threshold on the neighbors also prunes the search, because neighbors beyond the threshold are not used as inliers in the state estimation.

## What the complexity analysis claims

The analysis assumes low dimensions, which for FAST-LIO2 means three dimensions, and treats the tree size as n. Point insertion with on-tree downsampling is claimed to take O(log n), because the downsampling cube is small compared with the whole space, so the box-wise operations stay in the favourable range of the analysis.

Single-thread re-building costs O(n log n), while the double-thread version costs O(n) as seen from the main thread, since the build runs in the second thread. Nearest neighbor search is expected to take O(log n), because the tree height is kept below log base 1/α\_bal of n and the backtracking count does not depend on the tree size. These are asymptotic statements; the timing results are the empirical counterpart.

## Datasets and sequence selection

The accuracy benchmark covers 19 sequences from five open LiDAR datasets: lili, liosam, utbm, ulhk and nclt. The sequences were selected because they have a usable ground-truth trajectory or end at the starting position, since not all sequences have ground truth. The lili data come from a solid-state Livox Horizon with an 81.7 by 25.1 degree field of view at 10 Hz, with a 6-axis IMU at 200 Hz.

The liosam data use a VLP-16 at 10 Hz and a 9-axis IMU at 1000 Hz, while utbm and ulhk use 32-line Velodyne units with 100 Hz IMUs and nclt uses a 32-line unit with a 9-axis IMU. For nclt the IMU rate was raised from 50 to 100 Hz by zero-order interpolation so that LIO-SAM could run.

The implementation is in C++ and ROS, with the IKFOM toolbox, and the default configuration uses a 1000 m map and a 1:4 temporal downsampling of raw points. The experiments were run on the Manifold 2-C platform with an Intel processor, comparing FAST-LIO2 against LILI-OM, LIO-SAM, LINS and a feature-based variant.

## Accuracy against LIO baselines

The RMSE is the absolute translational error, and FAST-LIO2 or its variant gives the best result on 18 of the 19 sequences. The one exception is ulhk 4, where LILI-OM is slightly more accurate than FAST-LIO. On the sequences where the baselines run normally, the authors report large margins in favour of FAST-LIO2.

LILI-OM shows very large drift on utbm 9, nclt 4, nclt 6, nclt 8 and nclt 10, which the authors attribute to its sliding-window back-end failing as the map point count grows. LINS drifts badly on nclt 5, nclt 6, nclt 7 and nclt 10, and LIO-SAM drifts on nclt 4 and nclt 10 after its factor graph optimization fails over long, long-distance data.

The direct variant beats the feature-based variant of FAST-LIO2 on most sequences, and nclt 4 and nclt 6 are the two exceptions where the gap is tiny.

## Map size and end-to-end drift

Map sizes of 2000 m, 800 m and 600 m were run alongside the default 1000 m. Increasing the map size raised accuracy because new scans register to older points when the LiDAR returns to a place, but beyond 2000 m the gain was not consistent, which the authors attribute to drift causing false matches with very old map points.

The end-to-end error is used on sequences that return to the start, and FAST-LIO2 or its variants give the lowest drift on 5 of the 7 such sequences. LILI-OM has parameters tuned for each of its own lili sequences, while FAST-LIO2 keeps the same parameters for every sequence. LIO-SAM does well on liosam 2 and liosam 3 but not on ulhk, LINS performs worse than LIO-SAM on liosam and ulhk and fails on liosam 2, and the feature-based FAST-LIO matches the direct method on most sequences except lili 7.

## ikd-Tree against other dynamic data structures

The ikd-Tree is compared with octree, R\*-tree and nanoflann k-d tree on 18 dataset sequences of different sizes. The authors conclude that the ikd-Tree achieves the best overall performance among these structures for kNN search in LiDAR odometry. The comparison is summarized as overall performance, so the margin against each structure is not quantified in the text.

## Processing time and the cost of FAST-LIO

For the baselines, the odometry and mapping times are summed before the comparison. The reported ratios are that FAST-LIO2 is x8 faster than LILI-OM, x10 faster than LIO-SAM and x6 faster than LINS. Its odometry plus mapping time is almost the odometry time of LIO-SAM, x3 faster than LILI-OM and over x2 faster than LINS. Across map sizes the time barely changes, which the authors read as the mapping and kNN search being insensitive to map size.

With 756 points per scan, FAST-LIO2 takes 1.82 ms on the Intel processor and 5.23 ms on the ARM processor for odometry and mapping together. With the default 1000 m map on the Khadas VIM3 ARM computer, FAST-LIO2 reaches 10 Hz real-time performance.

On the ARM processor the per-scan time occasionally exceeds the 10 ms sampling period, but rarely, and the average stays well below it. On the Intel processor FAST-LIO2 stays below the sampling period, while the time of FAST-LIO rises above it as its map point count grows. The authors explain this by complexity: FAST-LIO rebuilds a static k-d tree at every step with cost O(n log n) in the points of the current FoV, while ikd-Tree incremental updates cost O(log n).

## Platforms for the real-world tests

The real-world tests use three platforms: a 280 mm wheelbase quadrotor with a forward-facing Livox Avia, a handheld platform, and a 750 mm wheelbase quadrotor with a down-facing Livox Avia. All three carry the same DJI Manifold-2C computer, and the Livox Avia has a built-in IMU, a 70.4 by 77.2 degree circular field of view and a non-repetitive scan pattern.

Unless stated otherwise, the runs use the default configuration, the direct method with a 1000 m map, and a 100 Hz scan rate.

## Handheld mapping over 650 m

A handheld sequence collected at 100 Hz in a large outdoor-indoor hybrid scene returns to its starting position after about 650 m. The map built in real time shows a drift of 0.14 m and agrees with satellite maps.

The timing comparison uses FAST-LIO on the Intel computer and FAST-LIO2 on both the Intel and ARM computers, and the preprocessing step is identical across the methods.

## UAV flip and fast handheld motion

A small quadrotor carrying the Livox Avia hovers at 1.2 m, performs a quick flip, and returns to hover under an on-manifold model predictive controller that takes its state from FAST-LIO2. The authors report that the estimated pose agrees well with the actual UAV pose and that FAST-LIO2 takes 2.01 ms per scan on average.

In the fast-motion handheld run the sensor is rushed back and forth on a footbridge, with velocity reaching 7 m/s and angular velocity around ±100 deg/s. The run starts and ends at the same point, and the end-to-end error is less than 0.06 m over an 81 m trajectory.

## Aerial mapping over vegetation

GPS and IMU of the UAV were used only for flight navigation, while FAST-LIO2 used data from the LiDAR alone. The authors report that tree crowns, lane marks and road curbs can be seen in the map, and that the trajectories visually agree with the onboard GPS/IMU estimates. Average processing time per scan is 19.6 ms, 23.9 ms and 23.7 ms across the three environments, and LILI-OM fails in all three because it extracts too few features when facing the ground.

## Limitations

The accuracy benchmark uses 19 of the 37 sequences, because the others lack a usable ground truth and do not end at the start position. The tuning differs between methods: LILI-OM has per-sequence parameters, FAST-LIO2 keeps one set, and liosam 1 is a sequence the LIO-SAM work tuned. The accuracy gain from a larger map does not persist beyond 2000 m, and the authors attribute this to drift causing false matches.

The ARM run occasionally exceeds the 10 ms sampling period, which the authors note is short enough for the IMU-propagated state to cover. The aerial flights have no quantitative trajectory error, because GPS trajectories were not available for evaluation. The flip and fast-motion runs are single sequences, and the flip pose is judged by visual agreement rather than a numerical error.

## Paper info

- **Authors**: Wei Xu, Yixi Cai, Dongjiao He, Jiarong Lin, Fu Zhang
- **Venue**: arXiv · Preprint
- **First published**: 2021-7-14
- **Added**: 2026-11-12
- **Updated**: 2021-7-14
- **Version**: v1
- **arXiv**: 2107.06829
- **Category**: cs.RO
- **Original paper terms**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/2107.06829v1) · [PDF ↗](https://arxiv.org/pdf/2107.06829v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Wei Xu, Yixi Cai, Dongjiao He, Jiarong Lin, Fu Zhang (2021). FAST-LIO2: Fast Direct LiDAR-inertial Odometry. arXiv:2107.06829v1. https://arxiv.org/abs/2107.06829v1

**BibTeX**

```
@misc{xu2021fast,
  title = {{FAST-LIO2: Fast Direct LiDAR-inertial Odometry}},
  author = {Wei Xu and Yixi Cai and Dongjiao He and Jiarong Lin and Fu Zhang},
  year = {2021},
  eprint = {2107.06829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.06829v1}
}
```

## Other paper commentary

- [Learning Dexterous In-Hand Manipulation](https://refivu.com/en/papers/8f01a51e-a6e2-4461-a855-c35b36cbc49e-learning-dexterous-in-hand-manipulation.md)
- [Learning Hand-Eye Coordination for Robotic Grasping with Deep Learning and Large-Scale Data Collection](https://refivu.com/en/papers/7027eeb7-fc1d-48f5-a7af-9efbaa9ad813-learning-hand-eye-coordination-for-robotic-grasping-with.md)
- [Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware](https://refivu.com/en/papers/8d8af879-da03-4506-b5c4-b0f829b285cf-learning-fine-grained-bimanual-manipulation-with-low-cost.md)
- [LIO-SAM: Tightly-coupled Lidar Inertial Odometry via Smoothing and Mapping](https://refivu.com/en/papers/8fa3265c-e57e-4469-8761-2a9bfc47279e-lio-sam-tightly-coupled-lidar-inertial-odometry-via.md)
- [A Survey of Motion Planning and Control Techniques for Self-driving Urban Vehicles](https://refivu.com/en/papers/24bd6bbc-d317-4d2c-a94f-ea5736e3e9a2-a-survey-of-motion-planning-and-control-techniques.md)
- [RT-1: Robotics Transformer for Real-World Control at Scale](https://refivu.com/en/papers/d447dd76-427e-4b3d-bfd8-faa140c2da78-rt-1-robotics-transformer-for-real-world-control.md)
- [Learning both Weights and Connections for Efficient Neural Networks](https://refivu.com/en/papers/f86825de-2cbc-432f-bed0-b6b664200688-learning-both-weights-and-connections-for-efficient-neural.md)
- [Deep Learning Face Representation by Joint Identification-Verification](https://refivu.com/en/papers/1824448e-2edd-4d03-a6b5-1fbd92b71da3-deep-learning-face-representation-by-joint-identification.md)
- [Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translation](https://refivu.com/en/papers/0924ecf7-d413-4972-9e1d-36ae4961169c-google-s-multilingual-neural-machine-translation-system.md)
- [Understanding Neural Networks Through Deep Visualization](https://refivu.com/en/papers/a476f0b3-a482-45fe-9135-826b92cf7a73-understanding-neural-networks-through-deep-visualization.md)
- [Dilated Residual Networks](https://refivu.com/en/papers/26273fe8-0291-4f6b-b987-719425d5caea-dilated-residual-networks.md)
- [An Empirical Study of Training Self-Supervised Vision Transformers](https://refivu.com/en/papers/a0c6f9f9-f1cc-461c-b80e-9c2d8a5e1c32-an-empirical-study-of-training-self-supervised-vision.md)

## Terms in this paper

- [RMSE](https://refivu.com/en/terms/ad2579cf164a-rmse)
- [back-propagation](https://refivu.com/en/terms/31aece3f37f7-back-propagation)
- [direct method](https://refivu.com/en/terms/29b9a3750e9d-direct-method)
- [LIO-SAM](https://refivu.com/en/terms/ef035392a532-lio-sam)
- [LOAM](https://refivu.com/en/terms/83b69d608f3b-loam)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/401ff61a-2475-494b-b01d-b01a805546db-fast-lio2-fast-direct-lidar-inertial-odometry)
