# RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Clouds

RandLA-Net samples large point clouds randomly and recovers lost context

Qingyong Hu, Bo Yang, Linhai Xie, Stefano Rosa, Yulan Guo, Zhihua Wang and 2 more · arXiv · 2019-11-25

- **Problem** Networks that add rich local context were shown only on tiny point blocks, and their sampling steps stop scaling when a cloud holds millions of points.
- **Method** RandLA-Net randomly samples points to shrink each layer instead of costly point selection. A local feature aggregation module then restores the context that random sampling can drop.
- **Results** RandLA-Net reaches 77.4 mIoU on the Semantic3D reduced-8 split, ahead of KPConv.

## Why existing networks stall at scale

Networks built on shared MLPs compute per-point features cheaply, but each point sees too little surrounding context to capture local structure. Many later modules add that context through neighbour pooling, graph message passing, kernel convolution or attention, yet these were demonstrated on very small inputs such as about 4k points or 1 by 1 metre blocks.

Applying them to clouds of millions of points and up to 200 by 200 metres usually requires block partitioning first.

The authors trace this limit to three causes: the sampling operations are too costly in time or memory, local feature learners rely on kernelisation or graph construction, and their receptive fields are too small for scenes that contain hundreds of objects. Farthest point sampling is one example of the first cause, taking over 200 seconds to sample 10% of one million points on a single GPU.

Existing approaches for large clouds, such as SPG, FCPN and PCT, rely on superpoint graphs or voxelisation before the network runs. The authors argue that these preprocessing and voxelisation steps are too computationally heavy for real-time deployment.

## Random sampling as the downsampling choice

The design needs a downsampling step that is cheap in both time and memory, because the cloud must shrink layer by layer until it fits on current GPUs. The authors compare heuristic and learning-based samplers on this requirement before choosing one.

Farthest point sampling has quadratic complexity in the number of input points, and it takes up to 200 seconds on one GPU for a cloud of about one million points. Inverse density importance sampling has complexity approximately linear in the number of points and takes 10 seconds for one million points, but it is more sensitive to outliers.

Random sampling selects K points uniformly from N points at constant cost in N, and it takes 0.004 seconds for one million points.

Learning-based samplers do not fare better: generator-based sampling needs farthest point sampling at inference, which takes up to 1200 seconds to sample 10% of one million points. Continuous relaxation sampling would need more than 300 GB of memory for the same sampling task, and policy gradient sampling has an exploration space too large to learn reliably for large clouds.

The rest of the design therefore compensates for that loss rather than replacing random sampling.

## Local feature aggregation step by step

The local feature aggregation module runs on every point in parallel and combines three units: local spatial encoding, attentive pooling and a dilated residual block. Each point first finds its K nearest neighbours by Euclidean distance, which keeps the neighbour search simple.

For the centre point p\_i and each neighbour p\_ki, the relative position is encoded as r\_ki = MLP(p\_i ⊕ p\_ki ⊕ (p\_i − p\_ki) ⊕ \|\|p\_i − p\_ki\|\|), where ⊕ is concatenation and \|\|·\|\| is the Euclidean distance. The encoded position is concatenated with the neighbour's feature f\_ki, which gives the augmented feature \\hat{f}\_{ki}, so the neighbourhood set \\hat{F}\_i carries local geometry.

The authors note that a prior work also uses point positions, but there they only compute point scores, whereas here the positions augment the neighbouring features.

Attentive pooling replaces max or mean pooling, which the authors say hard-select or hard-combine neighbours and lose information. A shared MLP followed by a softmax produces one score per neighbour, s\_ki = g(\\hat{f}\_{ki}, W), where W holds the learnable MLP weights. The aggregated feature is the sum over the K neighbours of each augmented feature weighted by its score, \\tilde{f}\_i = \\sum\_{k=1}^{K} \\hat{f}\_{ki} \\cdot s\_{ki}.

The dilated residual block stacks two LocSE and attentive pooling units with a skip connection, which lets a point reach its two-hop neighbourhood, up to K^2 neighbours, after the second unit. The authors stop at two units because more units cost computation and risk overfitting.

Decoding layers upsample by nearest-neighbour interpolation and concatenate skip features before a shared MLP, and three fully connected layers with a dropout ratio of 0.5 output per-point class scores. The optimiser is Adam with an initial learning rate of 0.01 that decreases by 5% after each epoch, and K is set to 16.

## Sampling cost at growing point counts

At small scale all approaches have similar time and memory costs, so the choice matters little there. At about one million points, farthest point sampling, inverse density sampling, generator-based, continuous relaxation and policy gradient sampling are either very slow or memory-costly, while random sampling has the best time and memory efficiency overall.

In Figure 5 the dashed lines are estimates, because the GPU memory limit prevented direct measurement for some cases.

The authors connect this to why many existing networks have only been trained on small blocks, since their sampling operations are expensive. On that basis they adopt random sampling for RandLA-Net.

## Speed on SemanticKITTI sequence 08

The timing runs on sequence 08 of SemanticKITTI, which has 4071 scans, with 81920 points fed from each scan to every network. All runs use the same AMD 3700X CPU and NVIDIA RTX2080Ti GPU.

RandLA-Net takes 185 seconds in total, compared with 9831 seconds for PointNet++ (SSG), 8142 seconds for PointCNN, 43584 seconds for SPG and 717 seconds for KPConv.

The authors attribute the speed mainly to random sampling combined with an MLP-only aggregator, and they report roughly 22 FPS when the 185 seconds is averaged over the 4071 frames. The authors note that SPG has the fewest parameters but the longest time, because of its geometric partitioning and super-graph construction.

## Benchmark accuracy across three datasets

Semantic3D reduced-8 has 15 point clouds for training and 15 for online testing, and the results use mIoU and OA. On this split RandLA-Net reaches 77.4 mIoU and 94.8 OA, compared with 74.6 mIoU and 92.9 OA for KPConv, the strongest compared method in that table. The authors report that RandLA-Net is also best on six of the eight classes, with low vegetation and scanning art being the exceptions.

On SemanticKITTI the score is mIoU over 19 categories, with sequences 00 to 07 and 09 to 10 for training and sequence 08 for validation. The authors say the gap to projection-based methods is not large, because RangeNet++ is much better on the small traffic-sign category. They also state that RandLA-Net has 40 times fewer parameters than RangeNet++ and avoids projection pre- and post-processing.

Most of the baselines in this table train on small blocks, while RandLA-Net takes whole rooms as input, which is a different protocol.

## What the ablations separate

The ablations train on sequences 00 to 07 and 09 to 10 and test on sequence 08 of SemanticKITTI. Each variant removes or replaces one piece: local spatial encoding, the pooling type, or the chaining of the dilated residual block.

Removing local spatial encoding lowers mIoU to 49.8, from 57.1 for the full framework in the same table, so keeping the unit supports the higher score. Replacing attentive pooling with max, mean or sum pooling gives 55.2, 53.4 and 54.3, all below 57.1. Using one aggregation unit per block gives 48.8 in Table 5, and the authors read the largest drop as coming from removing the chained units.

A second table varies the spatial inputs to LocSE, from position of p\_i only up to the full unit with p\_i, p\_ki, p\_i minus p\_ki and the distance, which reaches 54.3. Varying the number of units in a block gives 49.8 with one unit, 51.1 with three and 54.3 with the standard two.

## Limits of the evidence

The model fails on several minority classes, including bicycle, motorcycle, bicyclist and motorcyclist, which the authors attribute to strongly imbalanced point counts. Other-vehicle points are often labelled as car, since uncoloured partial scans are hard to separate for the two similar classes.

Random sampling may drop points that matter, and the authors note it does not guarantee that any particular set of points survives. Small objects are a weak point, since RangeNet++ scores higher on traffic-sign.

The full framework is given as 57.1 mIoU in Table 5 but as 54.3 in Tables 6 and 7 on the same SemanticKITTI validation setting, and the text does not reconcile the two values. The ablations are run only on SemanticKITTI, so their conclusions are not tested on Semantic3D or S3DIS.

The authors leave extensions to end-to-end 3D instance segmentation and real-time dynamic point cloud processing as future work.

## Paper info

- **Authors**: Qingyong Hu, Bo Yang, Linhai Xie, Stefano Rosa, Yulan Guo, Zhihua Wang, Niki Trigoni, Andrew Markham
- **Venue**: arXiv · Preprint
- **First published**: 2019-11-25
- **Added**: 2026-11-12
- **Updated**: 2020-5-1
- **Version**: v3
- **arXiv**: 1911.11236
- **Category**: cs.CV · cs.LG · eess.IV
- **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/1911.11236v3) · [PDF ↗](https://arxiv.org/pdf/1911.11236v3)

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

Qingyong Hu, Bo Yang, Linhai Xie, Stefano Rosa, Yulan Guo, Zhihua Wang, Niki Trigoni, Andrew Markham (2019). RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Clouds. arXiv:1911.11236v3. https://arxiv.org/abs/1911.11236v3

**BibTeX**

```
@misc{hu2019randla,
  title = {{RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Clouds}},
  author = {Qingyong Hu and Bo Yang and Linhai Xie and Stefano Rosa and Yulan Guo and Zhihua Wang and Niki Trigoni and Andrew Markham},
  year = {2019},
  eprint = {1911.11236},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.11236v3}
}
```

## Other paper commentary

- [Pre-Trained Image Processing Transformer](https://refivu.com/en/papers/8475de2d-12d6-41b5-8348-16c772598a34-pre-trained-image-processing-transformer.md)
- [Soft-NMS -- Improving Object Detection With One Line of Code](https://refivu.com/en/papers/d6a13a67-cb33-4ee3-8420-05da2f2b5960-soft-nms-improving-object-detection-with-one-line.md)
- [Identifying the Best Machine Learning Algorithms for Brain Tumor Segmentation, Progression Assessment, and Overall Survival Prediction in the BRATS Challenge](https://refivu.com/en/papers/a75a6487-afcf-4dd0-8b85-09a24d21da45-identifying-the-best-machine-learning-algorithms-for-brain.md)
- [Deep Learning for Person Re-identification: A Survey and Outlook](https://refivu.com/en/papers/d4bdc05a-ddac-43ad-93f5-95986e1858a4-deep-learning-for-person-re-identification-a-survey.md)
- [EMNIST: an extension of MNIST to handwritten letters](https://refivu.com/en/papers/c0f15d57-13ab-41d2-b5f0-6b120e9504c7-emnist-an-extension-of-mnist-to-handwritten-letters.md)
- [PV-RCNN: Point-Voxel Feature Set Abstraction for 3D Object Detection](https://refivu.com/en/papers/698bbbfa-a9d9-4163-aa75-907d42df6ab3-pv-rcnn-point-voxel-feature-set-abstraction-for.md)
- [Practical recommendations for gradient-based training of deep architectures](https://refivu.com/en/papers/0f41024c-5358-4bc2-be1e-7190db5f4d0c-practical-recommendations-for-gradient-based-training-of.md)
- [TinyBERT: Distilling BERT for Natural Language Understanding](https://refivu.com/en/papers/b5b68df2-5d79-42e6-8e82-c8fdbf0e3a3d-tinybert-distilling-bert-for-natural-language-understanding.md)
- [Self-Refine: Iterative Refinement with Self-Feedback](https://refivu.com/en/papers/f8f8d11b-268b-4988-84b8-c616a701e2ba-self-refine-iterative-refinement-with-self-feedback.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)
- [SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient](https://refivu.com/en/papers/29153239-a1df-4102-9df1-abd1ba2a9c96-seqgan-sequence-generative-adversarial-nets-with-policy.md)

## Terms in this paper

- [Semantic segmentation](https://refivu.com/en/terms/00dfce7ec404-semantic-segmentation)
- [mIoU](https://refivu.com/en/terms/901dcc5384c2-miou)
- [Receptive Field](https://refivu.com/en/terms/4d2bf4d526a5-receptive-field)
- [PointNet++](https://refivu.com/en/terms/a7559416f91f-pointnet)
- [KPConv](https://refivu.com/en/terms/641d4d25393d-kpconv)
- [farthest point sampling](https://refivu.com/en/terms/30971755e265-farthest-point-sampling)
- [overall accuracy (OA)](https://refivu.com/en/terms/e25191e5c6cb-overall-accuracy-oa)
- [SemanticKITTI](https://refivu.com/en/terms/81cf1e20b631-semantickitti)
- [mean Intersection-over-Union (mIoU)](https://refivu.com/en/terms/3c06f443a9d6-mean-intersection-over-union-miou)
- [random sampling](https://refivu.com/en/terms/e0753bb8efa8-random-sampling)
- [Semantic3D](https://refivu.com/en/terms/7a2bcf9d1783-semantic3d)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/5d37c138-f524-49a6-ba5e-e9ff9f584cdd-randla-net-efficient-semantic-segmentation-of-large-scale)
