Representation-Agnostic Shape Fields

Xiaoyang Huang, Jiancheng Yang, Yanjun Wang, Ziyu Chen, Linguo Li, Teng Li, Bingbing Ni, Wenjun Zhang

This mini-paper explores the ICLR 2022 paper "Representation-Agnostic Shape Fields" (RASF), which introduces a universal, highly efficient method to boost the performance of 3D deep learning models.

The Challenge of 3D Data Fragmentation

3D data is notoriously fragmented. Depending on the application, you might work with point clouds (LiDAR for self-driving cars), meshes (computer graphics and animation), or voxels (medical imaging like MRI). Consequently, most deep learning backbones are "format-locked"—PointNet is designed for points, MeshCNN for meshes, and VoxNet for voxels.

Furthermore, most of these models take raw coordinates as input. The problem is that raw $(x, y, z)$ coordinates lack local geometric context. A single point doesn't "know" if it sits on a flat plane, a sharp edge, or a spherical corner until the neural network processes it through multiple layers. The authors argue that by providing better "input features" that already encode this geometry, we can significantly ease the burden on the backbone network.

Introducing Representation-Agnostic Shape Fields (RASF)

To solve this, the authors introduce RASF, a "plug-and-play" module that provides rich geometric context to 3D deep learning models, regardless of their underlying data format.

Detailed pipeline of RASF showing how it extracts shape embeddings and applies to point clouds, meshes, and voxels.

Here is how the RASF pipeline operates:

  1. The Learnable Grid: RASF is essentially a 3D grid (tensor) of size $R \times R \times R \times C$. Each "cell" in this grid stores a $C$-dimensional feature representing a specific type of local geometry.
  2. Coordinate Indexing: To get a feature for a specific point, the system looks at that point's $K$-nearest neighbors. It normalizes their relative positions to fit the grid's scale and uses trilinear interpolation (similar to Spatial Transformer Networks in 2D AI) to "pluck" features from the learnable grid.
  3. Max-Pooling: These neighbor features are max-pooled into a single "Shape Embedding" (SE) vector. This vector is then concatenated to the raw coordinates and fed into any standard 3D backbone.
  4. Self-Supervised Pre-training: The grid is pre-trained using self-supervised tasks like shape reconstruction (trying to rebuild the object from the embeddings) or normal estimation. This teaches the grid to recognize fundamental geometric structures (edges, planes, etc.) before it ever sees a specific downstream task.

Key Insights

  • Geometry as a Universal Prior: The most striking insight is that local geometry is universal. A "sharp corner" looks the same whether it's represented by a cluster of points or a set of mesh edges. By pre-training the grid, RASF acts as a geometric "dictionary" that any model can consult.
  • Orthogonality of Features and Capacity: Improving the input features is "orthogonal" to the capacity of the backbone. Even state-of-the-art models like KPConv or DGCNN see a boost when given RASF features, suggesting that backbones aren't currently capturing all available local geometric information on their own.
  • Visualizing the "Brain": When visualizing the grid channels, the authors found that different channels specialized. Some responded exclusively to high-curvature areas (edges), while others focused on flat surfaces—the 3D equivalent of finding "edge detectors" in a 2D Convolutional Neural Network.

Key Results and Efficiency

The researchers validated RASF across a massive range of benchmarks, including object classification (ModelNet10/40), part segmentation (ShapeNetPart), semantic segmentation (S3DIS), and mesh analysis (SHREC, HUMAN).

Performance vs. Latency graph demonstrating that RASF improves accuracy and mIOU across multiple architectures with negligible computational cost.

RASF proved to be a universal performance booster:

  • Accuracy Gains: It improved PointNet by +2.14% on ModelNet40. More impressively, it pushed MeshCNN to a perfect 100% accuracy on the SHREC10 and SHREC16 mesh datasets.
  • Minimal Latency: Because trilinear interpolation is highly optimized in modern deep learning frameworks, the latency overhead is negligible. For MeshCNN, adding RASF only increased computation time by 0.9%.
  • Seamless Integration: It requires very little code modification. Developers simply increase the input channel dimension of their first layer to accommodate the new shape embedding.

Limitations and Future Work

While highly effective, RASF has a few limitations to consider:

  • The KNN Bottleneck: While the grid lookup is fast, finding $K$-Nearest Neighbors (KNN) is the most computationally expensive part of the pipeline ($O(N^2)$). Utilizing optimized libraries like Faiss is recommended to mitigate this.
  • Hyperparameter Sensitivity: The resolution of the grid ($R$) and the number of channels ($C$) must be carefully tuned. If the grid is too low-res, it loses detail; if it's too high-res, it overfits and performance drops.
  • Fixed vs. Fine-tuned Weights: Interestingly, the authors found that fixing the pre-trained RASF weights worked better than fine-tuning them during downstream tasks. Fine-tuning led to unstable results, suggesting that the general geometric "priors" learned during pre-training are more robust than task-specific adjustments.

Summary updated

BibTeX
@inproceedings{huang2022representation,
  author = {Xiaoyang Huang and Jiancheng Yang and Yanjun Wang and Ziyu Chen and Linguo Li and Teng Li and Bingbing Ni and Wenjun Zhang},
  title = {{Representation-Agnostic Shape Fields}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=-ngwPqanCEZ},
}
Figure