Dynamic Local Feature Aggregation for Learning on Point Clouds

Zihao Li, Pan Gao, Hui Yuan, Ran WeiarXiv 2023 · DOI

Abstract

Point cloud learning has traditionally relied on fixed spatial relationships to aggregate local information. However, spatial proximity does not always correlate with semantic similarity. This paper introduces Dynamic Local Feature Aggregation (DFA), a novel architecture that constructs local graphs in the feature domain rather than the spatial domain. By dynamically updating these graphs between layers, the model aggregates information from points that are semantically related, regardless of their physical distance. Experimental results demonstrate that DFA achieves state-of-the-art performance on classification and segmentation benchmarks while maintaining high computational efficiency.

Introduction

Point clouds, consisting of unstructured 3D coordinates, are the primary data format for representing 3D environments in robotics, autonomous driving, and augmented reality. Processing these irregular structures requires deep learning models to capture local geometric patterns. Most existing methods, such as PointNet++ and DGCNN, rely on the $k$-nearest neighbors ($k$-NN) algorithm within the Euclidean $(x, y, z)$ space to define local neighborhoods.

While effective for capturing local geometry, this spatial-centric approach has a fundamental limitation: spatial proximity is a poor proxy for semantic similarity. For instance, in a point cloud of an airplane, a point on a wing may be physically close to a point on the fuselage, yet they belong to distinct functional components. Conversely, points on opposite wings share identical semantic features but are separated by significant spatial distance. To address this, we propose Dynamic Local Feature Aggregation (DFA), which shifts the focus from where a point is to what a point represents.

Methodology

The core of our approach is the Dynamic Feature Aggregation (DFA) module, which redefines how local neighborhoods are constructed and processed throughout the network.

Feature-Domain Graph Construction

Unlike traditional methods that fix the graph structure based on initial 3D coordinates, DFA identifies neighbors in a high-dimensional feature space. By calculating distances between feature vectors, the model groups points that exhibit similar latent characteristics. This ensures that the information aggregation process is "homogeneous," meaning the model primarily exchanges information between points likely to belong to the same semantic class.

Semantic Feature Encoding (SFE)

To capture the nuances of these feature-domain neighborhoods, the SFE component encodes the relationship between a central point and its neighbors. It concatenates the point's own feature vector with the difference vectors between itself and its $k$-nearest neighbors. This allows the model to learn fine-grained local variations within the feature space.

Relative Position Encoding (RPE)

While feature-domain grouping is powerful, discarding spatial information entirely would lead to a loss of geometric context. The RPE module compensates for this by encoding the relative 3D coordinates and Euclidean distances of the neighbors identified in the feature space. This hybrid approach allows the model to understand the semantic context ("what") while remaining grounded in the physical geometry ("where").

Dynamic Graph Updating

A key innovation of DFA is that the $k$-NN graph is not static. Between successive DFA layers, the neighborhood relationships are recomputed based on the updated features. As the network goes deeper and features become more abstract, the neighborhoods evolve to capture increasingly complex global relationships, effectively expanding the receptive field without requiring dense global computations.

Experimental Results

We evaluated the DFA architecture across three standard benchmarks to test its versatility in classification and segmentation tasks.

Object Classification (ModelNet40)

On the ModelNet40 dataset, DFA achieved an Overall Accuracy (OA) of 93.6% using 1,024 points and reached 94.0% when increased to 2,048 points. This performance surpasses established models like PointNet++, DGCNN, and PointCNN, validating the effectiveness of feature-domain aggregation.

Semantic and Part Segmentation (ShapeNet & S3DIS)

In part segmentation (ShapeNet), DFA demonstrated superior ability in identifying complex structural details, such as the intricate components of chairs and airplanes. For large-scale indoor scene segmentation (S3DIS), the model effectively distinguished between semantically similar objects in cluttered environments, outperforming many heavier architectures.

Computational Efficiency

DFA is designed to be lightweight. With only 1.1M parameters and 2.17G FLOPs, it is significantly more efficient than the Point Cloud Transformer (PCT), which utilizes 2.9M parameters and 2.32G FLOPs to achieve lower accuracy. This efficiency makes DFA a viable candidate for real-time applications on edge devices.

Discussion and Insights

Our ablation studies highlight several critical insights into point cloud learning:

  1. Feature vs. Spatial Domains: Feature-domain grouping consistently outperforms spatial-domain grouping by reducing the noise introduced by semantically unrelated but spatially close points.
  2. The Necessity of Geometry: Removing the Relative Position Encoding (RPE) led to a performance drop from 94.0% to 93.3% on ModelNet40, proving that spatial context remains essential even when using semantic grouping.
  3. Aggregation Functions: While we tested various methods including sum and mean pooling, max pooling proved to be the most effective aggregation function, as it successfully isolates the most salient features within a neighborhood.

Conclusion

Dynamic Local Feature Aggregation represents a shift toward more adaptive and semantically-aware point cloud processing. By dynamically constructing graphs in the feature space and maintaining geometric context through relative position encoding, DFA achieves a potent balance of high accuracy and low computational overhead. Future work will explore the integration of DFA modules into hybrid transformer architectures and investigate its robustness against sensor noise and outliers.

Summary updated

BibTeX
@misc{li2023dynamic,
  author = {Zihao Li and Pan Gao and Hui Yuan and Ran Wei},
  title = {{Dynamic Local Feature Aggregation for Learning on Point Clouds}},
  year = {2023},
  eprint = {2301.02836},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.02836},
}
Figure