Source-linked AI summary

PointFlow: 3D Point Cloud Generation with Continuous Normalizing Flows

Guandao Yang, Xun Huang, Zekun Hao, Ming-Yu Liu, Serge Belongie, Bharath Hariharan

arXiv:1906.12320v3cs.CVcs.LG

TL;DR

Generating point clouds is difficult because point sets have hierarchical, distribution-of-distributions structure and fixed-dimensional representations impose practical limitations. PointFlow models shapes and points with two continuous normalizing flows trained through variational inference, achieving reported improvements over prior generative models while supporting reconstruction and unsupervised representation learning.

  • Problem

    Point-cloud generation is challenging because a shape is a distribution of points, while shapes themselves come from a distribution of shapes; fixed-dimensional representations also restrict point counts and ignore permutation invariance.

  • Method

    PointFlow models the distribution of shapes and the conditional distribution of points using two continuous normalizing flows, with invertibility enabling likelihood computation and variational-inference training.

  • Results

    PointFlow outperforms previous state-of-the-art point-cloud generative models and achieves compelling point-cloud reconstruction and unsupervised representation-learning results.

  • Takeaways & Limitations

    The framework provides a probabilistic approach to point-cloud generation that can sample shapes and points through likelihood-based training rather than GAN training or hand-crafted set-distance objectives.

  • Takeaways & Limitations

    Fixed-dimensional point-cloud representations generate a fixed number of points and ignore point-set permutation invariance, while common evaluation metrics can fail to assess quality or detect low-quality generations.

Abstract

from arXiv · show

As 3D point clouds become the representation of choice for multiple vision and graphics applications, the ability to synthesize or reconstruct high-resolution, high-fidelity point clouds becomes crucial. Despite the recent success of deep learning models in discriminative tasks of point clouds, generating point clouds remains challenging. This paper proposes a principled probabilistic framework to generate 3D point clouds by modeling them as a distribution of distributions. Specifically, we learn a two-level hierarchy of distributions where the first level is the distribution of shapes and the second level is the distribution of points given a shape. This formulation allows us to both sample shapes and sample an arbitrary number of points from a shape. Our generative model, named PointFlow, learns each level of the distribution with a continuous normalizing flow. The invertibility of normalizing flows enables the computation of the likelihood during training and allows us to train our model in the variational inference framework. Empirically, we demonstrate that PointFlow achieves state-of-the-art performance in point cloud generation. We additionally show that our model can faithfully reconstruct point clouds and learn useful representations in an unsupervised manner. The code will be available at https://github.com/stevenygd/PointFlow.

1. Introduction

PointFlow addresses the challenge of generating point clouds by modeling both the distribution of shapes and the distribution of points given a shape. Continuous normalizing flows provide an invertible, likelihood-based framework that supports principled training and strong generation, reconstruction, and representation-learning results.

  • Point clouds offer higher resolution than voxel grids and support synthesis tasks including reconstruction and super-resolution.
  • Generating a point cloud requires modeling a distribution of distributions: points sampled from a shape-specific distribution, with shapes sampled from a category distribution.
  • PointFlow models shape distributions and conditional point distributions using invertible transformations of prior distributions, implemented with continuous normalizing flows.
  • Invertibility enables probability-density estimation and variational-inference training, avoiding GAN training complexity and hand-crafted set-distance objectives.
  • Experiments report that PointFlow outperforms previous state-of-the-art point-cloud generators and achieves compelling reconstruction and unsupervised feature-learning results.

2. Related work

Earlier point-cloud generators commonly represent point sets as fixed-dimensional matrices and optimize heuristic set distances. These choices restrict point counts, ignore permutation invariance, weaken probabilistic interpretations, and often model points without modeling shape distributions.

  • Prior synthesis methods include autoencoders, adversarial models, and autoregressive models for point-cloud generation and reconstruction.
  • Fixed-dimensional matrix representations restrict models to a pre-defined number of generated points and ignore point-set permutation invariance.
  • Chamfer and Earth Mover’s distances are heuristic generative objectives; exact EMD is slow, approximations can produce biased or noisy gradients, and CD can favor concentrated clouds.
  • Cascade and mixture decoders can overcome fixed point counts but still rely on heuristic set distances and generally model points per shape rather than the distribution of shapes.
  • Existing generative models mostly learn fixed-dimensional variables, while learning distributions of sets remains underexplored.

3. Overview

The overview formulates each shape as a distribution of points and aims to learn the distribution over such shapes. PointFlow uses two continuous normalizing flows and variational inference to generate arbitrary-sized clouds and learn useful representations.

  • Each shape is modeled as a point distribution, while shapes themselves are samples from a distribution over shapes.
  • The model aims to sample both shapes and an arbitrary number of points from each shape.
  • A conditional continuous normalizing flow transforms samples from a generic prior into points distributed according to a given shape.
  • A latent variable parameterizes the point-generating flow, reducing shape-distribution modeling to modeling the latent-variable distribution.
  • PointFlow contains two continuous normalizing flows: one for shape distributions and one for points conditioned on shapes.
  • Variational inference uses an inference network and the flows’ invertibility to enable end-to-end likelihood-based training and unsupervised point-cloud representations.

4. Background

The background introduces normalizing flows as invertible transformations from simple priors to complex distributions, including continuous-time dynamics. It also describes VAEs, which train latent-variable models with an inference network using a likelihood lower bound.

  • A normalizing flow composes invertible mappings that transform a known latent distribution into a more complex output distribution.
  • The inverse flow recovers the latent variable from an output, while suitable architectures make Jacobian determinants tractable for density computation.
  • Continuous normalizing flows replace discrete mapping sequences with continuous-time neural-network dynamics.
  • An ODE solver can estimate continuous-flow outputs and input gradients.
  • A VAE models observations through a latent variable, a prior, a decoder, and an inference model trained jointly to maximize a log-likelihood lower bound.
  • The VAE inference distribution is commonly parameterized as a diagonal Gaussian and sampled through reparameterization.

5. Model

PointFlow models point clouds with an encoder, a learnable prior over shape representations, and a conditional flow-based distribution of points given each shape. It trains these components end-to-end with an ELBO and can generate point clouds with arbitrary sizes.

  • Model components: PointFlow uses an encoder Qφ(z|X), a prior Pψ(z) over shapes, and a decoder Pθ(X|z) for points conditioned on shape representations.Both the shape prior and point generator use continuous normalizing flows.
  • Flow-based point generation: The conditional CNF transforms points from a 3-D Gaussian prior into points distributed according to a shape representation z.The inverse flow enables computation of the reconstruction likelihood for each point.
  • Flow-based prior over shapes: A second CNF transforms a simple Gaussian into a learnable prior Pψ(z) over shape representations, avoiding the restrictions of a fixed Gaussian prior.The inverse of this flow supports computing the prior log probability.
  • Final training objective: The ELBO combines the prior term, reconstruction likelihood, and posterior entropy, and the model maximizes it end-to-end over the training point sets.The prior and reconstruction expectations are estimated with Monte Carlo sampling, while the posterior uses the reparameterization trick.
  • Sampling: At test time, PointFlow samples a shape from its Gaussian-transformed prior, then samples any requested number of points from a Gaussian and transforms them conditioned on that shape.Repeating the point-generation step produces a point cloud of size M̃.

6. Experiments

The experiments evaluate PointFlow with established and proposed generation metrics, then assess generation, reconstruction, and unsupervised representation learning. PointFlow outperforms baselines on 1-NNA across airplane, chair, and car categories, while also achieving strong reconstruction and representation results.

  • 6.1. Evaluation metrics: JSD measures marginal point distributions and can reward an average shape, whereas COV detects mode collapse without evaluating generated-shape quality.MMD complements coverage by measuring quality, but can overlook low-quality generated clouds that are unlikely to be matched.
  • 6.1. Evaluation metrics: The evaluation combines JSD, COV, and MMD with 1-NNA, a distributional metric intended to capture both diversity and quality.1-NNA approaches 50% when generated and reference sets come from the same distribution; nearest neighbors use CD or EMD.
  • 6.2. Generation: The generation study trains raw-GAN, latent-GAN, PC-GAN, and PointFlow on ShapeNet airplane, chair, and car point clouds, using 2048 points per shape.PointFlow can sample an arbitrary number of points, while the reported training and testing convention uses 2048.
  • 6.2. Generation: PointFlow outperforms all baselines across the three categories according to 1-NNA and achieves the best score in most cases under the other metrics.The comparison also reports parameter counts, with PointFlow using the fewest parameters among the compared models; generated examples cover airplanes, chairs, and cars.
  • 6.3. Auto-encoding: In auto-encoding, PointFlow achieves the best EMD score despite not being trained with EMD, exceeding l-GAN trained with EMD and AtlasNet with more than 40 times more parameters.The reconstruction evaluation samples 4096 points per shape, splitting them into 2048-point input and reference sets for CD or EMD comparison.
  • 6.4. Unsupervised representation learning: For unsupervised representation learning, PointFlow is 1.5% and 0.9% more accurate than matched l-GAN variants on ModelNet10, while ModelNet40 performance is very close.Representations are learned on ShapeNet and evaluated with off-the-shelf SVMs on ModelNet10 and ModelNet40; comparisons are made using the same encoder and data.

7. Conclusion and future works

PointFlow is a point-cloud generative model with two levels of continuous normalizing flows trained using variational inference. The paper identifies single-image reconstruction as a future application and discusses additional analyses and failure cases in the appendix.

  • PointFlow models point clouds with two levels of continuous normalizing flows trained using variational inference.
  • Future work includes applying PointFlow to point-cloud reconstruction from a single image.
  • The appendix covers hyperparameters, architectures, additional baseline comparisons, limitations, failure cases, and latent-space and flow visualizations.

B. Training details

The training details specify permutation-invariant encoding, continuous-flow priors and decoders, invertible normalization, and optimization settings for PointFlow.

  • Encoder: The encoder processes points independently, applies max pooling to obtain a 512-dimensional permutation-invariant feature, and maps it to a latent representation.
  • CNF prior: The CNF prior models Pψ(z) with three concatsquash layers, hidden dimension 256, and Tanh nonlinearities.
  • Moving Batch Normalization: The prior uses invertible moving batch normalization before and after the CNF, with trainable scale and shift parameters and running batch statistics.
  • CNF decoder: The CNF decoder models Pθ(X|z) using a conditional concatsquash architecture, with four layers, hidden dimension 512, Tanh nonlinearities, and moving batch normalization.
  • Optimization: Training uses Adam with initial learning rate 0.002, β1 = 0.9, β2 = 0.999, linear decay from epoch 2000 through epoch 4000, and a learned integration time.

C. Additional comparisons

Additional comparisons evaluate PointFlow against Neural Statistician and latent-space GAN baselines, with ablations emphasizing the role of a flexible CNF prior.

  • Baselines: The additional comparison uses Neural Statistician as a set-generative baseline, adapting its 2D coordinate model to generate 3D point-cloud coordinates.
  • Baselines: A second baseline trains a WGAN in the latent space of a pretrained autoencoder, using multilayer perceptrons for the generator and discriminator.
  • Results: Neural Statistician learns the marginal point distribution but fails to learn the correct shape distribution, despite achieving the best marginal JSD.
  • Table 4: Table 4 reports ablation metrics with higher-is-better or lower-is-better directions and applies scaling factors to MMD-CD, MMD-EMD, and JSD values.
  • Results: Ablation results support using a CNF prior over a simple Gaussian prior or a latent GAN prior requiring two-stage training.

D. Limitation and failure cases

PointFlow is limited by costly continuous-flow integration and struggles with rare shapes or shapes containing many thin structures. These constraints slow convergence and reduce reconstruction quality in difficult cases.

  • Computational limitations: Repeated neural-network evaluations during each integration limit model size and make convergence slow.The number of function evaluations tends to increase as the learned dynamics become more complex.
  • Failure cases: Rare shapes and shapes with many thin structures are difficult for PointFlow to reconstruct or generate in high quality.These cases are identified as typical failure cases and are illustrated in Figure 5.
  • Mitigation: Weight decay does not alleviate the integration issue in the authors’ experiments because it tends to hurt performance.The paper notes that future advances in invertible models such as CNFs may help address the problem.

F. Interpolation

PointFlow interpolates between two shapes by moving their posterior-derived latent representations into prior space, interpolating there, and decoding intermediate vectors into shapes. The paper visualizes these transformations and generated intermediate shapes.

  • Latent representations: Interpolation starts from the posterior means of two shapes, μ1 and μ2, as their latent representations.The means are obtained using Qθ(z|X) for shapes X1 and X2.
  • Prior-space interpolation: The two latent representations are transformed back to prior space before interpolation.The inverse transformation Fψ^-1 maps μ1 and μ2 to corresponding prior-space vectors w1 and w2.
  • Generated shapes: Spherical interpolation between w1 and w2 produces vectors wi that the CNF prior and decoder convert into intermediate shapes Xi.Figure 7 shows examples, with endpoint shapes sampled from scratch and intervening shapes generated through interpolation.
  • Flow visualization: Additional visualizations show the flow transformation from a Gaussian prior to different point-cloud shapes.These examples are presented in Figure 8.
Loading 1906.12320v3…