Picasso: A CUDA-Based Library for Deep Learning Over 3D Meshes

Huan Lei, Naveed Akhtar, Ajmal Mian

Introduction

Deep learning on 3D data has traditionally focused on point clouds due to their simplicity. However, point clouds lack the rich structural and topological information—such as surfaces and connectivity—inherent in 3D meshes. Processing meshes presents two major hurdles: the irregularity of facet shapes and the computational bottleneck of hierarchical downsampling (decimation), which typically relies on slow, CPU-based algorithms.

Picasso is a CUDA-based library designed to overcome these challenges. By moving mesh processing to the GPU, Picasso enables fast, geometrically "aware" deep learning, achieving significant speedups in preprocessing and competitive performance on large-scale semantic segmentation tasks.

GPU-Accelerated Mesh Decimation

A core contribution of Picasso is its GPU-accelerated mesh decimation algorithm. Traditional methods like Quadric Error Metrics (QEM) are sequential and difficult to parallelize. Picasso re-imagines this process by grouping vertex pairs into isolated clusters that can be contracted in parallel. This approach allows for "on-the-fly" mesh resolution reduction during both training and inference.

Comparison of mesh decimation methods: Picasso (Ours) achieves a significant speedup over standard QEM while maintaining visual fidelity.

As shown in the figure above, Picasso's decimation is approximately 30x faster than standard QEM, processing meshes with up to 1 million facets per second. While global QEM is mathematically optimal for simplification, Picasso’s local, cluster-based contraction proves "good enough" for deep learning features while being drastically more efficient.

Geometric Convolution Modules

Unlike methods that treat meshes as generic graphs, Picasso leverages the underlying geometry—vertices and facets—through three novel convolution modules:

  1. Facet2Vertex: This module aggregates information from adjacent facets to a vertex. It employs a "fuzzy" mechanism using Gaussian mixtures defined on a unit sphere to weight facet normals, making the filters robust to inconsistent triangulation.
  2. Vertex2Facet: This propagates features from a facet's corners to the facet itself using barycentric interpolation.
  3. Facet2Facet: Specifically designed for textured meshes, this allows for convolution directly over rendered surface details.

These modules are integrated into PicassoNet, a U-Net-style architecture that utilizes GPU decimation for downsampling and barycentric interpolation for upsampling (unpooling).

Experimental Results

The library was evaluated on the S3DIS (Stanford Large-scale 3D Indoor Spaces) dataset. To test Picasso's ability to handle real-world, unstructured data, the authors triangulated the S3DIS point clouds into meshes.

On the S3DIS Area 5 benchmark, PicassoNet achieved a mean Intersection over Union (mIoU) of 64.6%. This performance outperforms several established point-cloud and mesh-based methods (such as SegGCN and DCM-Net) and remains competitive with state-of-the-art models like KPConv. The "efficient" block configuration in PicassoNet allows the model to maintain high accuracy while significantly reducing computational overhead.

Conclusion and Future Work

Picasso demonstrates that prioritizing geometric intuition (facet orientation and area) over pure topology (graph connectivity) leads to more robust 3D features. By shifting the decimation bottleneck to the GPU, it enables end-to-end mesh processing pipelines that are viable for real-time applications.

Current limitations include a lack of full rotation invariance, as Facet2Vertex relies on global coordinate normals. Additionally, the initial grouping of vertex pairs still occurs on the CPU. Future work aims to address these bottlenecks and extend the library to tasks such as 3D object detection and shape generation.

Summary updated

BibTeX
@inproceedings{lei2021picasso,
  author = {Huan Lei and Naveed Akhtar and Ajmal Mian},
  title = {{Picasso: A CUDA-Based Library for Deep Learning Over 3D Meshes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01364},
}
Figure