PU-Transformer: Point Cloud Upsampling Transformer

Shi Qiu, Saeed Anwar, Nick Barnes

TL;DR

PU-Transformer is the first transformer-based architecture designed specifically for point cloud upsampling. By introducing a novel Shifted Channel Multi-head Self-Attention (SC-MSA) and a Positional Fusion block, it generates dense, high-fidelity 3D point clouds from sparse inputs, significantly outperforming existing CNN and GAN-based methods on major benchmarks.

What Problem Does This Paper Address?

3D scanners and LiDAR sensors often produce "sparse" and "irregular" point clouds. This lack of density creates a bottleneck for downstream AI tasks like autonomous driving (object detection) and robotics (segmentation), where fine-grained structural details are crucial.

While image super-resolution is a mature field, point cloud upsampling is harder because point clouds are unordered sets of coordinates in 3D space, unlike the neat grid of pixels in a 2D image. Previous state-of-the-art (SOTA) methods relied on Multi-Layer Perceptrons (MLPs) or Graph Convolutional Networks (GCNs). However, these often struggle to capture long-range dependencies or require complex, multi-stage generative strategies to produce new points.

Methods

The authors propose PU-Transformer, which follows a simple "Head-Body-Tail" pipeline but replaces standard convolutional layers with specialized transformer components:

  1. Positional Fusion (PosFus): Standard transformers use positional encodings to tell the model where "words" are. In 3D, the authors replace this with a block that uses $k$-nearest neighbors (kNN) to aggregate local geometric and feature context. This ensures the model understands local 3D relationships before the global attention mechanism takes over.
  2. Shifted Channel Multi-head Self-Attention (SC-MSA): This is the "secret sauce." In standard Multi-head Self-Attention (MSA), each head is independent. SC-MSA introduces an overlap in channels between consecutive heads. This forces the model to learn relationships across the feature dimensions, which is vital for the final upsampling step.
  3. The "Tail" (Upsampling): Instead of complex generative math, the model uses PixelShuffle (a periodic shuffling operation borrowed from 2D image super-resolution). It reforms the rich channel-wise features learned by the SC-MSA into new 3D coordinates, effectively "expanding" the point set.

Datasets

The model was evaluated on several key benchmarks:

  • PU1K: A large-scale dataset containing 1,020 training meshes and 127 testing meshes (covering 50 object categories from ShapeNetCore).
  • PU-GAN Dataset: A smaller, earlier benchmark used to test 4× and 16× upsampling scales.
  • Real-world Data: To test robustness, the authors used data from ScanObjectNN, S3DIS, ScanNet, and SemanticKITTI, which contain noisy, real-world scans of rooms and streets.

Key Insights and Ideas

  • Self-Attention as a Set Operator: The authors realized that self-attention is inherently a "set operator"—it calculates dependencies regardless of the order of the input. This makes it a more natural fit for unordered point clouds than traditional CNNs.
  • Channel-Wise Connectivity: Most attention mechanisms focus on point-to-point relations. By shifting channels in the MSA, the authors found they could better prepare the feature map for "shuffling" into new points.
  • Efficiency: Despite the "Transformer" name (often associated with massive compute), PU-Transformer is relatively light (<1M parameters) and can be trained on a single consumer-grade GPU (like a 2080 Ti) in just a few hours.

Key Results

PU-Transformer achieved SOTA results across multiple metrics:

  • Quantitative: On the PU1K benchmark, it reduced the Hausdorff Distance (HD)—a measure of how far the farthest point is from the ground truth—by nearly 50% compared to the previous SOTA (PU-GCN), dropping from 7.577 to 3.843.
  • Qualitative: Visual results show that PU-Transformer produces significantly fewer outliers. While other models often create "stray points" in empty space, PU-Transformer maintains clean contours and uniform distributions, especially on complex shapes like chairs or animal figures.
  • Robustness: The model maintained high performance even when 0.5% to 2% random noise was added to the input data.

Limitations and Future Work

  • Parameter Count: While "light" for a transformer, it still uses more parameters than some ultra-compact CNN models (e.g., PU-GCN uses ~76k vs. PU-Transformer's ~970k).
  • Fixed Scale: The current architecture is optimized for fixed-scale upsampling (e.g., exactly 4× or 16×). The authors suggest that future work could involve a "multi-functional tail" to handle arbitrary upsampling scales or even combine upsampling with denoising and point cloud completion.
  • Inference Speed: It is slightly slower than the simplest MLP-based models due to the complexity of the attention blocks, though it remains practical for real-time applications.

Summary updated

BibTeX
@inproceedings{qiu2022pu,
  author = {Shi Qiu and Saeed Anwar and Nick Barnes},
  title = {{PU-Transformer: Point Cloud Upsampling Transformer}},
  booktitle = {ACCV},
  year = {2022},
  url = {https://openreview.net/forum?id=e4oqmrioES},
}
Figure