# KPConv: Flexible and Deformable Convolution for Point Clouds

KPConv applies grid-free convolution directly to point clouds using learned kernel points

Hugues Thomas, Charles R. Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui, François Goulette, Leonidas J. Guibas · arXiv · 2019-4-18

- **Problem** Image convolutions rely on a regular grid, and point clouds have no grid, so grid-based convolution cannot be transferred directly. Earlier point methods were inflexible or hard to train.
- **Method** KPConv places its kernel weights on points in 3D space and applies them to nearby input points. Its deformable variant learns shifts of those kernel points to fit the local geometry.
- **Results** Rigid KPConv reached 92.9 overall accuracy on ModelNet40 with points only, against 92.7 for deformable KPConv. Deformable KPConv reached 67.1 mIoU on S3DIS Area-5, against 65.4 for rigid KPConv.

## Why point convolutions need explicit kernels

Image convolution gathers a neighborhood from a regular grid, and the grid position of each neighbor selects the weight applied to it. A point cloud has no such grid. It is a set of coordinates with optional features and no fixed ordering, so the index of a point says nothing about where that point sits. What survives from the grid case is spatial localization.

Each feature is tied to a coordinate, so a point convolution can define its weights by position in space instead of by grid index.

Earlier approaches project points onto grids, process them with shared MLPs, or define convolutions directly on points. Grid projections are inflexible: sparse voxel kernels are restricted to 27 or 125 voxels, and a permutohedral lattice reduces the kernel to 15 lattices, a count that is still fixed. MLP-based kernels make the convolution harder to train, and k-nearest-neighbor neighborhoods are not robust to non-uniform sampling, as the authors take from prior work.

KPConv keeps the spatial-localization idea but places its kernel weights on a small set of points in 3D space. The number of these points is not fixed, and their positions can be learned, which is the basis of the deformable variant.

## How a kernel point convolution is computed

A point at location x gathers every input point within a radius r. With P the input coordinates and F their features, the output at x is the sum over those neighbors of the kernel function evaluated at the offset from x, multiplied by the neighbor's feature, as in \\(\\,(F \\ast g)(x)=\\sum\_{x\_i \\in N\_x} g(x\_i - x)\\, f\_i\\,\\) with \\(N\_x=\\{x\_i \\in P : \\\|x\_i-x\\\| \\leq r\\}\\).

The kernel function g is a weighted sum over K kernel points. Each kernel point carries a weight matrix that maps D\_in input features to D\_out, and each neighbor offset is weighted by its correlation with every kernel point. \\\[ g(y\_i)=\\sum\_{k\<K} h(y\_i,\\tilde{x}\_k)\\,W\_k \\\]

The correlation is linear, \\(h(y\_i,\\tilde{x}\_k)=\\max(0,\\,1-\\\|y\_i-\\tilde{x}\_k\\\|/\\sigma)\\), where \\(\\sigma\\) is the influence distance of the kernel points. It equals one at a kernel point and drops to zero at or beyond distance \\(\\sigma\\). The authors use this linear form instead of the Gaussian correlation of PCNN, because they expect the simpler form to ease gradient backpropagation when the kernel points move.

Radius neighborhoods define the domain of g as a ball of radius r. The authors cite prior work showing that k-nearest-neighbor neighborhoods are less robust under non-uniform sampling and that hand-crafted features are better computed on radius neighborhoods, and they take a consistent spherical domain as a basis for learning meaningful kernels.

## Placing the rigid kernel points

The rigid kernel must place its points regularly for any K, and the authors solve this as an optimization problem rather than by a fixed table of layouts. Each kernel point gets a repulsive potential \\(1/\\\|x-\\tilde{x}\_k\\\|\\) from the other points, and an attractive potential \\(\\\|x\\\|^2\\) keeps the points inside the sphere. One point is fixed at the center, and the total energy is minimized by gradient descent from random starts.

For some values of K the minimization converges to a single stable layout, which the authors describe as a regular polyhedron. The listed layouts include a tetrahedron for K = 5, an octahedron for K = 7, an icosahedron for K = 13, and a grouping of 1-6-6-1 for K = 15.

Kernel point positions are differentiable, so they can in principle be learned. The authors argue that one global learned set per layer would not add descriptive power over the fixed layout, and they instead learn shifts that depend on each convolution location.

## Learned shifts and the regularization loss

The deformable variant does not learn the kernel points directly. For each convolution location x, a rigid KPConv maps the input features to 3K values, which become K shifts \\(\\Delta\_k(x)\\), and the shifted kernel points enter the correlation. \\\[ g\_{deform}(y\_i,\\Delta(x))=\\sum\_{k\<K} h(y\_i,\\tilde{x}\_k+\\Delta\_k(x))\\,W\_k \\\] During training the offset branch uses a learning rate set to 0.1 times the global learning rate.

A direct adaptation of image deformable convolutions does not suit point clouds. Kernel points drift away from the input points, and when no neighbor lies within a kernel point's influence range the gradient of its shift is zero, so that point stays lost for similar shapes.

The regularization loss sums over convolution locations two terms. The fitting term penalizes, for each kernel point, the squared normalized distance to its closest input neighbor. The repulsive term penalizes squared correlations between pairs of kernel points whose areas overlap. \\\[ L\_{fit}(x)=\\sum\_{k\<K}\\min\_{y\_i}\\left(\\frac{\\\|y\_i-(\\tilde{x}\_k+\\Delta\_k(x))\\\|}{\\sigma}\\right)^2 \\qquad L\_{rep}(x)=\\sum\_{k\<K}\\sum\_{l\\neq k} h(\\tilde{x}\_k+\\Delta\_k(x),\\tilde{x}\_l+\\Delta\_l(x))^2 \\\] In KP-CNN training this loss is added to the output loss with a factor of 0.1.

With the regularization, the authors report that the learned shifts fit the local geometry of the input cloud and that more kernel points stay active near the floor in their example.

## Subsampling, layers and the two architectures

Each layer works on support points that are the barycenters of the input points in every non-empty grid cell, which keeps the point density of each layer under control. The cell size doubles at each pooling layer, and the pooled features come from a strided KPConv rather than from max-pooling.

Neighborhood indices are stored in a matrix padded to the largest neighborhood size, and the padded shadow entries are ignored during the convolution. Each layer with cell size dl\_j sets the influence distance \\(\\sigma\_j=\\Sigma \\times dl\_j\\). The rigid convolution radius is 2.5σ\_j, and the deformable radius is \\(r\_j=\\rho \\times dl\_j\\). The default setting uses K = 15, Σ = 1.0 and ρ = 5.0, and the cell size doubles from one layer to the next.

KP-CNN is a five-layer classification network. Each layer has two bottleneck ResNet-style blocks with a KPConv in place of the image convolution, batch normalization and leaky ReLU, and the first block is strided except in the first layer. After the last layer, a global average pooling feeds the fully connected and softmax layers. In the deformable version only the last five KPConv blocks use deformable kernels.

KP-FCNN keeps the KP-CNN encoder and adds a decoder that uses nearest upsampling and skip links, followed by a unary convolution that plays the role of a shared MLP.

## Object classification and part segmentation

ModelNet40 contains 12,311 meshed CAD models from 40 categories, and ShapenetPart contains 16,681 point clouds from 16 categories. For classification the first subsampling grid is 2 cm, each point receives a constant feature of 1, and normals are not used. A ModelNet40 object has 6,800 points on average, and the classifier processed 2.9 batches of 16 clouds per second on a Titan Xp.

On ModelNet40 with points only, rigid KPConv reached 92.9 overall accuracy and deformable KPConv reached 92.7. The authors attribute the slightly higher rigid score to the simplicity of the task: extra descriptive power from deformable kernels also adds network complexity, which can hinder convergence or cause overfitting on a simple task.

For part segmentation, KP-FCNN adds the point positions to the constant feature and trains one network with multiple heads, one per object class. Clouds average 2,300 points, and 4.1 batches of 16 shapes are processed per second. The authors read the segmentation result as evidence that deformable kernels help on the harder task.

## Scene segmentation on four real datasets

Scannet has 1,513 small training scenes and 100 test scenes with 20 classes. S3DIS covers six indoor areas with 273 million points and 13 classes, and is evaluated on Area-5 and on k-fold splits. Semantic3D is evaluated with the reduced-8 challenge, and Paris-Lille-3D has 160 million points with 10 classes.

Scenes are too large to process whole, so KP-FCNN segments spheres: training spheres are chosen at random, testing spheres are placed regularly so that each point is covered several times, and the predicted probabilities are averaged over these votes. The sphere radius is 50 times dl\_0, with dl\_0 set to 6 cm on Semantic3D and Paris-Lille-3D and to 4 cm on Scannet and S3DIS.

Colors are added as features next to the constant feature of 1.

The authors place the architecture second on Scannet, and they note that the rigid version is better on Scannet and Semantic3D.

On S3DIS Area-5 deformable KPConv reaches 67.1 mIoU against 65.4 for rigid KPConv, and on the S3DIS k-fold split it reaches 70.6 against 69.6.

Compared with other point convolution architectures, the authors report gains of 19 mIoU points on Scannet and 9 mIoU points on S3DIS. The authors link the smaller deformable gain on Semantic3D to its lack of object diversity, since most of its points are ground, building and vegetation. Scannet has more varied objects, yet the authors note that their validation results are not reflected in its test scores.

## Reducing the number of kernel points

Restricted to 4 kernel points, deformable KPConv loses 1.5% mIoU and rigid KPConv loses 3.5% mIoU. The comparison keeps the earlier Scannet parameters and changes only the kernel point count and whether the kernel is deformable.

The authors read the smaller loss for deformable kernels as a sign of greater descriptive power per kernel point. With 15 kernel points, deformable KPConv also scored higher than rigid KPConv on several validation sets and on S3DIS, but not on the Scannet test set.

## What the learned features and receptive fields show

The authors trained rigid KP-CNN on ModelNet40 with random rotations around the vertical axis and displayed the inputs that most activate each learned feature. The first layer responds to planes, linear structures and corners, and later layers respond to shapes such as balls and stairs. This view did not separate rigid from deformable KPConv, so the authors used a second measure for that comparison.

The effective receptive field is the gradient of a layer's response at a location with respect to the input point features, and it shows how strongly each input point influences that response. For layer 4 of KP-FCNN trained on Scannet, the rigid receptive field has a fairly consistent range across objects. The deformable one changes with the object: centered on a bed it covers the whole bed and concentrates on the chair more than the surrounding floor, and on a flat surface it mostly ignores the surroundings.

The authors conclude that deformable kernels adapt to the geometry of scene objects and explain the better indoor results. The analysis is qualitative and uses a set of selected receptive field centers.

## Limitations

Deformable gains are not uniform. Rigid KPConv scores higher on Scannet and Semantic3D, and the authors attribute the smaller deformable result on Semantic3D to dataset diversity.

The kernel-count ablation uses one dataset, the Scannet validation set, and one reduced setting of 4 kernel points. On shape classification the deformable variant is not better, so the advantage depends on the task.

A direct adaptation of image deformable convolutions pulls kernel points away from the input points, and the regularization loss is needed to prevent this. The authors state that PCNN's convolution cost grows quadratically with the number of points because it uses no neighborhood. This is a statement about the design, and no timing for PCNN is given here.

Speed numbers come from different GPUs: the main text uses a Titan Xp and the supplementary model statistics use an RTX 2080Ti. Running speed also depends on the number of points in a batch and on the maximum neighborhood size.

The authors name object detection, lidar flow computation and point cloud completion as tasks where deformable convolutions could help, and the paper does not test them.

## Paper info

- **Authors**: Hugues Thomas, Charles R. Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui, François Goulette, Leonidas J. Guibas
- **Venue**: arXiv · Preprint
- **First published**: 2019-4-18
- **Added**: 2026-11-12
- **Updated**: 2019-8-19
- **Version**: v2
- **arXiv**: 1904.08889
- **Category**: cs.CV
- **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/1904.08889v2) · [PDF ↗](https://arxiv.org/pdf/1904.08889v2)

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

Hugues Thomas, Charles R. Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui, François Goulette, Leonidas J. Guibas (2019). KPConv: Flexible and Deformable Convolution for Point Clouds. arXiv:1904.08889v2. https://arxiv.org/abs/1904.08889v2

**BibTeX**

```
@misc{thomas2019kpconv,
  title = {{KPConv: Flexible and Deformable Convolution for Point Clouds}},
  author = {Hugues Thomas and Charles R. Qi and Jean-Emmanuel Deschaud and Beatriz Marcotegui and François Goulette and Leonidas J. Guibas},
  year = {2019},
  eprint = {1904.08889},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.08889v2}
}
```

## Related papers

- [RandLA-Net: Efficient Semantic Segmentation of Large-Scale Point Clouds](https://refivu.com/en/papers/5d37c138-f524-49a6-ba5e-e9ff9f584cdd-randla-net-efficient-semantic-segmentation-of-large-scale.md)
- [Dynamic Graph CNN for Learning on Point Clouds](https://refivu.com/en/papers/a7ba9236-fc2d-445b-bae5-b02e11ac4255-dynamic-graph-cnn-for-learning-on-point-clouds.md)
- [Deep Learning for 3D Point Clouds: A Survey](https://refivu.com/en/papers/ac14ada0-64c3-463e-b921-6ac08239ba22-deep-learning-for-3d-point-clouds-a-survey.md)
- [PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space](https://refivu.com/en/papers/34b11e2b-6f2e-4cbb-88e2-1045aeb46f06-pointnet-deep-hierarchical-feature-learning-on-point-sets.md)
- [PointConv: Deep Convolutional Networks on 3D Point Clouds](https://refivu.com/en/papers/c9a5b52f-78bd-452f-b508-b85a37101523-pointconv-deep-convolutional-networks-on-3d-point-clouds.md)
- [PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation](https://refivu.com/en/papers/32f5bf3e-2e75-485a-9ff0-75d33b188297-pointnet-deep-learning-on-point-sets-for-3d.md)

## Other paper commentary

- [RandAugment: Practical automated data augmentation with a reduced search space](https://refivu.com/en/papers/8b56147c-5b9a-4e55-85b2-0f0992053956-randaugment-practical-automated-data-augmentation-with-a.md)
- [MnasNet: Platform-Aware Neural Architecture Search for Mobile](https://refivu.com/en/papers/9898212b-ee8e-448d-817e-c0047d43e15a-mnasnet-platform-aware-neural-architecture-search-for-mobile.md)
- [What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?](https://refivu.com/en/papers/6f981a48-48a7-46de-b89d-79c37884de4f-what-uncertainties-do-we-need-in-bayesian-deep.md)
- [FaceForensics++: Learning to Detect Manipulated Facial Images](https://refivu.com/en/papers/715249f5-5289-4880-bf0c-b3dbd3630c47-faceforensics-learning-to-detect-manipulated-facial-images.md)
- [Efficient Multi-Scale 3D CNN with Fully Connected CRF for Accurate Brain Lesion Segmentation](https://refivu.com/en/papers/5fa28c90-a21c-4b80-9a3e-409a47ddd061-efficient-multi-scale-3d-cnn-with-fully-connected.md)
- [Segment Anything in Medical Images](https://refivu.com/en/papers/505368c7-a7cf-4cc6-b939-a8043e6cf7cd-segment-anything-in-medical-images.md)
- [InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Nets](https://refivu.com/en/papers/9891b5b5-2ddd-42e7-a5df-4b7e02d593dc-infogan-interpretable-representation-learning-by-information.md)
- [Robust Recovery of Subspace Structures by Low-Rank Representation](https://refivu.com/en/papers/14c27646-6e22-4f5b-b820-67e75508bf84-robust-recovery-of-subspace-structures-by-low-rank.md)
- [Self-Attention Generative Adversarial Networks](https://refivu.com/en/papers/819d5b11-1213-4c83-93af-58db3c44b12f-self-attention-generative-adversarial-networks.md)
- [MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models](https://refivu.com/en/papers/f07e6e3f-3ab5-42dc-98c8-a32fe7d8820d-minigpt-4-enhancing-vision-language-understanding-with.md)
- [Multi-view Convolutional Neural Networks for 3D Shape Recognition](https://refivu.com/en/papers/80b8aedd-6f52-4a73-bc81-a80322e5e37c-multi-view-convolutional-neural-networks-for-3d-shape.md)

## Terms in this paper

- [mIoU](https://refivu.com/en/terms/901dcc5384c2-miou)
- [overall accuracy](https://refivu.com/en/terms/f4aafa1d8f93-overall-accuracy)
- [ModelNet40](https://refivu.com/en/terms/555f2682f629-modelnet40)
- [Scannet](https://refivu.com/en/terms/bef8b5634a3a-scannet)
- [effective receptive field](https://refivu.com/en/terms/6c98eb295c30-effective-receptive-field)
- [KPConv](https://refivu.com/en/terms/641d4d25393d-kpconv)
- [PCNN](https://refivu.com/en/terms/04736474d47d-pcnn)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/aadc9ee6-ee0e-485d-ae5a-841bc5fcdfb3-kpconv-flexible-and-deformable-convolution-for-point-clouds)
