FoldDiff: Folding in Point Cloud Diffusion

Yuzhou Zhao, Juan Matias Di Martino, Amirhossein Farzam, Guillermo SapiroTMLR 2025

Abstract

Diffusion denoising has emerged as a powerful approach for modeling data distributions, treating data as particles with their position and velocity modeled by a stochastic diffusion process. While this framework assumes data resides in a fixed vector spaces (e.g., images as pixel-ordered vectors), point clouds present unique challenges due to their unordered representation. Existing point cloud diffusion methods often rely on voxelization to address this issue, but this approach is computationally expensive, with cubically scaling complexity. In this work, we investigate the misalignment between point cloud irregularity and diffusion models, analyzing it through the lens of denoising implicit priors. First, we demonstrate how the unknown permutations inherent in point cloud structures disrupt denoising implicit priors. To address this, we then propose a novel folding-based approach that reorders point clouds into a permutation-invariant grid, enabling diffusion to be performed directly on the structured representation. This construction is exploited both globally and locally. Globally, folded objects can represent point cloud objects in a fixed vector space (like images), therefore it enables us to extend the work of denoising as implicit priors to point clouds. Locally, the folded tokens are efficient and novel token representations that can improve existing transformer-based point cloud diffusion models. Our experiments show that the proposed folding operation integrates effectively with both denoising implicit priors as well as advanced diffusion architectures, such as UNet and Diffusion Transformers (DiTs). Notably, DiT with locally folded tokens achieves competitive generative performance compared to state-of-the-art models while significantly reducing training and inference costs relative to voxelization-based methods.

Introduction

Diffusion models have revolutionized generative AI, but they face a significant "structure" problem when applied to 3D data. While they excel at data residing in fixed vector spaces—like images, where every pixel has a specific neighbor—point clouds are inherently unordered sets of $(x, y, z)$ coordinates. If the order of two points in a list is swapped, the shape remains identical, but the mathematical "score" used in diffusion denoising breaks.

To address this, existing methods typically convert point clouds into voxels (3D grids). While voxels provide structure, they are computationally expensive, scaling cubically ($O(N^3)$) with resolution, and introduce quantization errors that can make generated shapes appear blocky. FoldDiff introduces a novel "folding" mechanism that reorders unordered 3D point clouds into structured, permutation-invariant 2D grids, allowing researchers to apply highly efficient 2D diffusion techniques like UNets and Transformers to 3D generation.

Methods: The FoldDiff Framework

The authors propose a two-stage framework that bridges the gap between irregular point clouds and structured diffusion models.

1. The Folding Stage

FoldDiff uses a modified FoldingNet to act as a reordering module. An encoder takes the irregular point cloud and maps it onto a predefined 2D grid, creating a "Geometry Image."

The FoldDiff folding architecture utilizes Sinkhorn Distance and cross-attention to map irregular point clouds to structured 2D grids.

Key innovations in this stage include:

  • Sinkhorn Distance: Unlike the original FoldingNet, FoldDiff uses the Sinkhorn Distance (based on optimal transport theory) as a loss function. This helps the network find a mathematically cleaner mapping from 3D points to the 2D grid.
  • Cross-Attention: A cross-attention mechanism is integrated to improve reconstruction quality while maintaining permutation invariance.

2. The Diffusion Stage

Once the points are folded into a structured 2D grid, diffusion is performed in this new space. The authors explore three variants:

  • UNet Denoising Implicit Priors: Using a standard 2D UNet to learn the underlying manifold.
  • UNet-based DDPM: Applying standard denoising diffusion probabilistic models to the global folded grid.
  • DiT-fold: Using a Diffusion Transformer (DiT) with "locally folded tokens." Instead of folding the whole object at once, small local patches are folded into tokens for transformer processing.

Key Insights and Ideas

The Permutation Problem

A core contribution of the paper is the formal analysis of why "naive" diffusion on raw point clouds often fails. The authors demonstrate that standard denoising residuals are only proportional to the true probability score if the data has a fixed, known permutation. Unknown permutations inherent in point cloud structures disrupt these denoising implicit priors.

Illustration of how unknown permutations (represented by Π) disrupt the alignment between point cloud coordinates and denoising priors.

Efficiency and Representation

  • 2D for 3D: By flattening the 3D surface into a 2D grid (similar to an atlas for a globe), the model leverages a decade of progress in 2D image architectures for 3D tasks.
  • Local vs. Global Folding: While global folding is effective, the "local folding" used in the DiT-fold variant is particularly powerful, allowing the model to learn a combinatorial distribution of patches for more diverse shape generation.
  • Linear Scaling: Because folding operates on the points themselves rather than a 3D volume, complexity scales linearly with the number of points, avoiding the cubic overhead of voxelization.

Key Results

The models were evaluated on the standard ShapeNet dataset (Chairs, Cars, and Airplanes) using 2,048 uniformly sampled points per object.

  • Competitive Performance: On the ShapeNet "Chair" category, DiT-fold-S achieved a 1-NNA (CD) of 55.48%, outperforming the popular PVD model (57.09%) and matching the much heavier DiT-3D.
  • Massive Speedup: FoldDiff is significantly more efficient. The DiT-fold-S(256/16) variant requires only 12.80 Gflops, compared to 81.12 Gflops for PVD—a roughly 6x reduction in computational cost.
  • Visual Quality: Generated shapes are qualitatively smoother and more detailed than voxel-based methods, which often suffer from "staircase" artifacts due to grid quantization.

Conclusion and Future Work

FoldDiff demonstrates that folding is a viable and efficient alternative to voxelization for point cloud diffusion. While the authors primarily tested "Small" versions of the Diffusion Transformer, they anticipate that scaling to larger architectures will yield even better results. Future work includes developing a "universal" tokenizer trained across all categories and extending the framework to handle meshes and texture information for complete 3D asset generation.

Summary updated

BibTeX
@article{zhao2025folddiff,
  author = {Yuzhou Zhao and Juan Matias Di Martino and Amirhossein Farzam and Guillermo Sapiro},
  title = {{FoldDiff: Folding in Point Cloud Diffusion}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=pmRabMH1JW},
}
Figure