Manuscript Offprint
arXiv:2610.27418TokenFlow: Latent Token Rectified Flow Matching for 3D Point Cloud Generation
Abstract
3D point clouds generation requires capturing both part-level layout and surface detail while preserving permutation equivariance. Existing latent generative models often encode an entire shape into a single vector, which limits their ability to retain part-level structure. We propose TokenFlow, a hierarchical flow matching framework that represents each shape as a set of latent tokens and couples a rectified flow over these tokens with a conditional flow over points. A bottleneck of learnable tokens aggregates global context through cross-attention at cost. On ShapeNet, TokenFlow achieves the best MMD and coverage across airplane, car, and chair, while obtaining 1-NNA comparable to the strongest baselines. On ModelNet, its learned latent set reaches the best reported linear-evaluation accuracy on ModelNet10. These results show that representing a shape as a set of latent tokens, aggregated at cost, provides an effective representation for 3D point cloud generation.
1. Introduction
A 3D shape is more than a collection of points. Although a point cloud is represented as an unordered set of coordinates, its identity is largely determined by how parts are organized and how their surfaces are formed. A chair, for example, requires the seat, back, and legs to occupy a coherent spatial configuration, while each individual leg must still exhibit a well-defined local surface. These two requirements are fundamentally different: global structure determines where parts should be and how they relate to one another, whereas local geometry determines how those parts are realized at the point level. A useful generative model must capture both while remaining permutation-equivariant.
Point cloud generation has progressed substantially along several directions. Early GAN- and VAE-based approaches [1, 15, 27, 30, 51] directly generate point sets and optimize set distances such as Chamfer Distance (CD) and Earth Mover's Distance (EMD) [14]. Continuous normalizing flows (CNFs), including PointFlow [60], SoftFlow [26], and DPF-Net [28], instead model point clouds through continuous transformations of distributions. More recently, diffusion models [22, 35, 47, 67] have improved generation quality, while latent representations [29, 38, 47, 63] and flow matching [32, 33] have emerged as effective ways to improve the scalability and efficiency of generative modeling. Despite these advances, most existing models still treat the generation process as a single prediction problem: one representation and one generative field are responsible for both global organization and local surface formation.
This design creates a less obvious bottleneck. Consider a rectified transport path
At an early time , the current state contains little information about the target shape; later in the trajectory, the target geometry becomes increasingly identifiable. Thus, the useful signal available for predicting the target is not uniform throughout the transport process. Global structure and local geometry are also not equally informative at the same time, and the two types of information cannot be expected to share a single representation.
The representation used by latent generative models makes this problem more pronounced. Recent approaches such as LION [47] and 3DShape2VecSet [63] avoid operating directly on all points by first mapping a shape into a latent representation. However, compressing an entire shape into a single global vector makes part-level structure difficult to preserve explicitly. A natural alternative is to retain a set of latent tokens, so that different tokens can encode different aspects of the shape while remaining permutation-invariant as a whole. The challenge is then to connect this latent representation back to N points without resorting to full point-to-point attention, whose complexity becomes costly as the point resolution grows.
These observations suggest a simple question: where should the boundary between global organization and local geometry lie? We answer this question with TokenFlow, a hierarchical flow matching framework that places the two roles at different levels while allowing them to interact throughout the transport process. TokenFlow represents a shape as a set of latent tokens rather than a single global code. These tokens provide a compact global state from which part-level organization can be modeled, while cross-attention connects the global representation back to individual points at cost.
Collectively, these components yield a generative model that disentangles shape semantics from surface geometry across different levels, while maintaining their coupling via the flow. We additionally conduct controlled experiments to isolate the effect of the representation.
Our contributions are summarized as follows:
• We introduce TokenFlow, a latent-set rectified flow framework for 3D point cloud generation that separates global shape organization from point-level detail in its representation.
• We propose context bottleneck aggregation. Placing it after point-wise feature extraction means cross-attention learns only a grouping rather than a metric, and using asymmetric query/key versus value widths keeps the attention map low-dimensional while the carried information stays high-dimensional.
• We evaluate TokenFlow on ShapeNet and ModelNet datasets, demonstrating superior performance compared with previous state-of-the-art methods.
2.1. Point Cloud Generation
Early point cloud generators directly model an point matrix with GANs [1, 30, 51], VAEs [15, 27], and adversarial autoencoders [36, 62]. These methods typically use a fixed number of output points and rely on set distances such as Chamfer Distance and Earth Mover's Distance [14]. FoldingNet [61] and AtlasNet [19] instead generate surfaces by deforming 2D patches. PointFlow [60] introduced a continuous normalizing flow formulation that models both the shape distribution and the conditional point distribution, allowing density estimation and variable point counts. SoftFlow [26], DPF-Net [28], and ShapeGF [4] further explored continuous distributional formulations.
Diffusion models subsequently became a dominant paradigm for point cloud generation [35, 40, 67] and latent 3D generation [29, 34, 38, 47]. Recent work has extended diffusion to unified point cloud processing [13], joint geometry-semantic generation [44], and state-space architectures [64]. Autoregressive models have also shown competitive performance through coarse-to-fine next-scale prediction [37]. Beyond generation, diffusion features have been distilled for point cloud representation learning [9]. Our work instead separates the two at the level of representation: a set of latent tokens carries global shape organization, while a conditional flow resolves local geometry.
2.2. Continuous-Time Generative Modeling
Continuous-time generative models provide a principled framework for transporting a simple reference distribution to the data distribution. Diffusion models [22] perform this transformation through a predefined noise schedule, but typically require many denoising steps at inference. Flow matching [32] directly learns a velocity field along a prescribed probability path, while rectified flow [33] uses straight interpolation paths that enable efficient Euler sampling. Optimal-transport couplings [46] further improve path straightness, and consistency models [43] reduce the number of required sampling steps.
These formulations have recently been applied to 3D generation. TripoSG [31] uses a large-scale rectified-flow transformer for image-to-3D synthesis, while ShapeR [42] conditions rectified flow on sparse SLAM points, posed images, and text. Related approaches target dynamic meshes [58] and 3D Gaussian objects [52]. Hierarchical Flow Matching [50] factorizes point cloud generation into a latent flow and a conditional point flow. Other recent studies have revisited transport design and evaluation for point cloud generation [3, 23, 49].
TokenFlow is closest to hierarchical flow-based formulations, but differs in how the shape is represented and how the conditional field is conditioned. It aggregates context through a bottleneck of latent tokens, which condition a point-level rectified flow at cost.
2.3. Latent Shape Representations
The choice of representation strongly affects how well a generative model preserves 3D structure. Global latent vectors [35, 60] provide compact shape representations but compress part-level information into a single code. Voxel-and grid-based representations preserve spatial locality but incur rapidly increasing memory costs with resolution.
Latent sets provide an alternative by representing a shape with multiple learned tokens. LION [47] models a latent point cloud obtained from a hierarchical VAE, while 3DShape2VecSet [63] represents shapes as sets of latent vectors and applies a diffusion transformer for unconditional, category-, text-, and image-conditioned generation. Part-aware representations have also been explored in SPAGHETTI [21] and SALAD [29]. Autoregressive approaches instead discretize latent representations and generate them sequentially [7, 10, 45]. At the scene level, class-partitioned VQ-VAEs have recently been combined with latent flow matching for multi-object point cloud generation.

Figure 1. TokenFlow pipeline. The prior flow transports Gaussian noise to a set of latent tokens over a Transformer encoder with several layers whose output is rescaled by a time-conditioned . The conditional point flow then decodes those tokens into a point cloud. A shared per-point MLP embeds each point and feeds two separately projected branches that are added, a code path in which the pooled token set and the time embedding give the scale and shift of an adaptive layer normalization over the point features, and a token path that cross-attends from the points to the latent tokens.
[12].
TokenFlow also adopts a latent set, but uses it as explicit global context for a conditional point flow rather than as the input to a single monolithic denoiser. This separation allows coarse layout and point-level detail to be modeled at different levels of the transport process.
2.4. Context Aggregation and Scalability on Point Sets
Global context is essential for point cloud modeling, but direct point-to-point interaction scales poorly with the number of points. PointNet [39] uses symmetric pooling to obtain permutation invariance with negligible interaction cost, but the resulting global representation is not explicitly adaptive to individual points. Transformer-based architectures, including PCT [20] and Point Transformer [56, 66], model point-to-point relations through attention, with full attention requiring time and memory. Local attention [66] reduces the interaction range but remains dependent on the point resolution.
A different strategy is to introduce a smaller set of latent tokens as an information bottleneck. Perceiver [24] cross-attends from a small array of learned latents to a large input and then processes the latents with self-attention, avoiding any map. Hierarchical masked autoencoders [65] and 3DShape2VecSet [63] adopt the same recipe for 3D shapes. TokenFlow follows this bottleneck design and aggregates N point features into context tokens through cross-attention, reducing the interaction cost to . Our contribution here is not the bottleneck itself, which is established, but its placement and parametrisation: we place it after point-wise feature extraction, where cross-attention has to learn only a grouping rather than a metric, and we make the query/key and value widths asymmetric so that the attention map is constructed in a low-dimensional space. Neither choice is analysed in the works above; we quantify the resulting cost against global, local and linear attention in Tab. 1.
3. Preliminaries
3.1. Continuous Normalizing Flows
A continuous normalizing flow (CNF) [8, 18] transports a noise sample to the data space by integrating an ODE
where f is a learned vector field. Exact densities are available through the change-of-variables identity, but training pays for them three times over: the Jacobian trace must be estimated at every step, f is confined to tractable forms such as affine couplings, and gradients must flow through the ODE solver itself. These costs are why point cloud generators built on CNFs [26, 28, 60] have largely given way to simulation-free training.


Figure 2. Qualitative comparisons against previous state-of-the-art methods.
3.2. Rectified Flow Matching
Flow matching [32] takes the opposite bargain: give up exact densities, and in exchange train by plain regression. Given data and noise , define the straight interpolation
and regress a network on the constant velocity along the segment,
Sampling integrates from to 1. Since each path has constant velocity, trajectories stay close to straight lines, and a handful of Euler steps is enough [33, 46]. Nothing needs to be invertible, so can be any network; in our case it is a permutation-equivariant one. Conditioning is free: a context simply enters as another argument of , and Eq. (3) becomes regression on given .
3.3. Two-Level Generation
A point cloud is itself a set of samples, which motivates the hierarchy of PointFlow [60]: a shape code is drawn from a prior , and the points are drawn conditionally, . Training maximizes the ELBO
We keep this hierarchy and change both of its ingredients: becomes a set of tokens rather than one vector, and both levels are learned by the regression of Eq. (3) instead of by CNF likelihoods.
| Context module | Time | Memory |
|---|---|---|
| Transformer [48] | ||
| PointTransformer [66] | ||
| Performer [11] | ||
| CBA (ours) |
Table 1. Complexity of context aggregation over points with channels. CBA uses latent tokens, so both time and memory are linear in .
4. Method
4.1. Overview
A point cloud is denoted as , where , and a shape is represented by a compact set of tokens , where and . TokenFlow jointly trains two components (Fig. 1): a latent-set autoencoder , which maps the input point cloud to a compact token set and reconstructs the point cloud from it (Sec. 4.2), and two rectified flow models, including a prior over the token set and a conditional flow that generates point coordinates conditioned on (Secs. 4.3 and 4.4). The overall training objective is described in Sec. 4.5.
4.2. Latent-Set Shape Encoder
Point-wise geometry embedding. Each point is independently embedded by a shared convolution, , with . This operation is permutation equivariant with complexity but captures no inter-point interactions, which are introduced by the bottleneck below.
Context Bottleneck Aggregation. Transformer self-attention over all points costs time and memory. We instead aggregate through learnable tokens that cross-attend to the point features. Each block (Fig. 4) computes

Figure 3. Interpolation and extrapolation in the latent space.

Figure 4. Illustration of CBA block. "TE" means token embeddings while "PE" represents point embeddings.
where CBA( ) denotes a stack of bottleneck blocks. Inside each block, point features are first aggregated into latent tokens by a cross-attention layer,
followed by a self-attention layer,
then a second cross-attention in which the updated tokens re-read the point features for calibration,
and finally a feed-forward network,
The block output is , and every sublayer applies layer normalization after adding its residual. Here are the learnable latent tokens and denotes layer normalization [2].
Two design choices are important. First, we apply the bottleneck after the point-wise embedding rather than directly to the raw coordinates. Each point therefore already has a C-dimensional feature that captures local geometry, allowing the cross-attention to focus on grouping points instead of learning low-level geometric relations from scratch. Second, we use asymmetric projection dimensions. Following [48], the query and key dimensions are set to C/8, while the value dimension remains C. This keeps the attention map low-dimensional while preserving the full feature dimension for information propagation.
Tab. 1 summarizes the cost. At and the pairwise interactions fall from to , over an order of magnitude, and attention memory becomes linear in .
| Method | Chair | Airplane | Car | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MMD ↓ | COV(%) ↑ | JSD ↓ | MMD ↓ | COV(%) ↑ | JSD ↓ | MMD ↓ | COV(%) ↑ | JSD ↓ | |||||||
| CD | EMD | CD | EMD | - | CD | EMD | CD | EMD | - | CD | EMD | CD | EMD | - | |
| r-GAN | 2.57 | 12.80 | 33.99 | 9.97 | 11.50 | 0.261 | 5.47 | 42.72 | 18.02 | 7.44 | 1.27 | 8.74 | 15.06 | 9.38 | 12.80 |
| l-GAN (CD) | 2.46 | 8.91 | 41.39 | 25.68 | 4.59 | 0.239 | 4.27 | 43.21 | 21.23 | 4.62 | 1.55 | 6.25 | 38.64 | 18.47 | 4.43 |
| l-GAN (EMD) | 2.61 | 7.85 | 40.79 | 41.69 | 2.27 | 0.269 | 3.29 | 47.90 | 50.62 | 3.61 | 1.48 | 5.43 | 39.20 | 39.77 | 2.21 |
| PVD | 2.62 | - | 48.84 | 50.60 | - | 0.224 | - | 48.88 | 52.09 | - | 1.10 | - | 41.19 | 50.56 | - |
| GET3D | - | - | 43.36 | 42.77 | - | - | - | - | - | - | - | - | 15.04 | 18.38 | - |
| DPF-Net | 2.54 | - | 44.71 | 48.79 | - | 0.264 | - | 46.17 | 48.89 | - | 1.13 | - | 45.74 | 49.43 | - |
| SoftFlow | 2.53 | - | 41.39 | 47.43 | - | 0.231 | - | 46.91 | 47.90 | - | 1.19 | - | 42.90 | 44.60 | - |
| PointFlow | 2.42 | 7.87 | 46.83 | 46.98 | 1.74 | 0.217 | 3.24 | 46.91 | 48.40 | 4.92 | 0.91 | 5.22 | 44.03 | 46.59 | 0.87 |
| PC-GAN | 2.75 | 8.20 | 36.50 | 38.98 | 3.90 | 0.287 | 3.57 | 36.46 | 40.94 | 4.63 | 1.12 | 5.83 | 23.56 | 30.29 | 5.85 |
| MeshDiffusion | - | - | 46.00 | 46.71 | - | - | - | 47.34 | 42.15 | - | - | - | 34.07 | 25.85 | - |
| TokenFlow (ours) | 2.35 | 7.63 | 51.28 | 51.37 | 1.51 | 0.211 | 3.07 | 52.91 | 52.72 | 4.52 | 0.88 | 5.12 | 49.75 | 52.76 | 0.75 |
Table 2. Generation results using MMD, COV and JSD ( as marked). MMD-CD and MMD-EMD are scaled by and ; JSD by . “-” marks unreported entries.
| Model | MN10 (%) | MN40 (%) |
|---|---|---|
| SPH | 68.2 | 79.8 |
| LFD | 75.5 | 79.9 |
| T-L Network | 74.4 | - |
| Vconv-DAE | 75.5 | 80.5 |
| PointGrow | 85.7 | - |
| 3D-GAN | 83.3 | 91.0 |
| PointFlow | 86.8 | 93.7 |
| DPM | 87.6 | 94.2 |
| DualGAN | 87.6 | 94.1 |
| TGN | 87.7 | 94.2 |
| TokenFlow (ours) | 87.9 | 93.9 |
Table 3. Classification results on ModelNet10 (MN10) and ModelNet40 (MN40) datasets. Missing entries are denoted as “-”.
Latent distribution and decoding. A linear head turns each token into the parameters of a diagonal Gaussian.
The latent tokens are sampled using the reparameterization trick [35, 60]. For decoding, we initialize and integrate the conditional flow in Sec. 4.4 conditioned on , yielding the reconstructed point cloud . Since the encoder consists only of point-wise operations and permutation-invariant aggregation, is invariant to point ordering, while the decoder remains permutation equivariant.
4.3. Prior Rectified Flow Matching
Both levels of Eq. (4) are trained by the regression of Sec. 3.2 rather than by CNF likelihoods. The first level is a rectified flow over the latent token set, which supplies the shape-level representation that the second level is conditioned on.
Flow over the latent set. Take from the encoder posterior and . Along we regress
where is a permutation-equivariant transformer over the tokens, conditioned by adaptive layer normalization on .
Optimal-transport coupling. Trajectory straightness, and hence the number of Euler steps needed at inference, depends on how is paired with . Following [46], we compute an optimal-transport plan between noise and data tokens within each minibatch, minimizing , and draw training pairs from it. This lowers the variance of the regression target and straightens the flows.
4.4. Conditional Rectified Flow Matching
The second level generates the coordinates themselves, conditioned on the latent set. They come from a conditional rectified flow starting at :
trained by
It remains to specify , which is a per-point network conditioned on the latent set. A shared MLP embeds each point, a cross-attention layer lets it read part-level information from the tokens , and the pooled shape code enters every point through adaptive layer normalization together with :
| Method | Airplane | Car | Chair | |||
|---|---|---|---|---|---|---|
| CD | EMD | CD | EMD | CD | EMD | |
| r-GAN | 98.40 | 96.79 | 94.46 | 99.01 | 83.69 | 99.70 |
| l-GAN (CD) | 87.30 | 93.95 | 66.49 | 88.78 | 68.58 | 83.84 |
| l-GAN (EMD) | 89.49 | 76.91 | 71.16 | 66.19 | 71.90 | 64.65 |
| PC-GAN | 94.35 | 92.32 | 92.19 | 90.87 | 76.03 | 78.37 |
| PointFlow | 75.68 | 70.74 | 60.65 | 62.36 | 62.84 | 60.57 |
| SoftFlow | 76.05 | 65.80 | 62.35 | 54.48 | 59.21 | 60.05 |
| DPF-Net | 75.18 | 65.55 | 62.35 | 54.48 | 62.00 | 58.53 |
| SetVAE | 76.54 | 67.65 | 59.95 | 59.94 | 58.84 | 60.57 |
| SPAGHETTI | 78.20 | 77.00 | 72.30 | 71.00 | 70.70 | 69.00 |
| DPM | 76.42 | 86.91 | 68.89 | 79.97 | 60.05 | 74.77 |
| Shape-GF | 80.00 | 76.17 | 63.20 | 56.53 | 68.96 | 65.48 |
| CanonicalVAE | 80.15 | 76.27 | 63.23 | 61.56 | 62.78 | 61.05 |
| PVD | 73.82 | 64.81 | 54.55 | 53.83 | 56.26 | 53.32 |
| LION | 67.41 | 61.23 | 53.41 | 51.14 | 53.70 | 52.34 |
| PointGPT | 74.85 | 65.61 | 55.91 | 54.24 | 57.24 | 55.01 |
| PSF | 71.11 | 61.09 | 57.19 | 56.07 | 58.92 | 54.45 |
| SALAD | 73.90 | 71.10 | 59.20 | 57.20 | 57.80 | 58.40 |
| NSOT | 68.64 | 61.85 | 59.66 | 53.55 | 55.51 | 57.63 |
| DiPT | - | 74.32 | - | 60.26 | - | 64.47 |
| TokenFlow (ours) | 66.65 | 60.55 | 53.44 | 50.87 | 54.26 | 52.21 |
Table 4. Generation results on Airplane, Car, and Chair compared with baselines using 1-NNA as the metric. Lower is better. For clarity, the table is divided into two splits: the bottom corresponds to results from the past three years while the top corresponds to the earlier methods.
where
with , layer normalization [2] and a sinusoidal time embedding, as is standard in diffusion transformers [38, 63]. The adaptive-normalization term carries the shape code into all points, so the field stays globally consistent, while the cross-attention term recovers the part-level detail that the pooled code does not retain.
4.5. Objective Function
All parameters are trained jointly. We keep the two-level ELBO of Eq. (4) but swap PointFlow's exact-likelihood terms [60] for the regressions of Eqs. (12) and (14), retaining its entropy term:
where
keeps the geometry needed to rebuild the shape and anchors the code, and align the aggregated posterior with a standard Gaussian so sampling is possible, and stops the posterior collapsing onto isolated codes, which would destroy diversity. Alg. 1 lists the operations of one training step.
4.6. Complexity and Inference
Asymptotic cost. CBA cross-attention is the only one super-linear operation in the encoder at time and memory, against and for Transformer self-attention (Tab. 1). Self-attention among the tokens adds , negligible when . The prior flow acts on tokens and so is independent of , and the conditional flow is point-wise in its input, so generation cost is linear in the number of points requested.
Inference. Sampling is a two-stage integration. The prior flow is integrated first, from to the latent set using Euler steps of size at the left endpoints. The conditional flow is then integrated from an independently drawn conditioned on , using steps of the same scheme. Both step counts are set to 20, which is enough because the paths are trained to be straight. Alg. 2 summarizes this sampling procedure.

Figure 5. Multi-class results generated by TokenFlow.
Algorithm 1 One training step of TokenFlow.
Require: point cloud X, token count M, weights
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15: Backpropagate
5. Experiment
The experiment section has four parts. Sec. 5.1 introduces the experimental setup, including baselines, evaluation metrics, configuration and implementation details. Sec. 5.2 reports the generation results against prior state-of-the-art methods. Sec. 5.3 evaluate the representation learning ability of the proposed autoencoders, and Sec. 5.4 ablates the proposed modules.
5.1. Experimental Setup
Baselines. we compare with a variety of previous methods published on top conferences or journals. For generation task: r-GAN [1], l-GAN (CD/EMD) [1], PC-GAN [30], PointFlow [60], SoftFlow [26], DPF-Net [28], SetVAE [27], DPM [35], Shape-GF [4], CanonicalVAE [10], PVD [67], GET3D [16], SPAGHETTI [21], MeshDiffusion [34], PSF [55], LION [47], PointGPT [7], SALAD [29],
Algorithm 2 Sampling.
Require: Euler steps , , point count , trained fields ,
Ensure: point cloud
1:
2: for to do
3:
4: end for
5:
6: for to do
7:
8: end for
9: return Y
NSOT [23], and DiPT [3]. For representation learning task, we compare with: SPH [25], LFD [6], T-L Network [17], Vconv-DAE [41], PointGrow [45], 3D-GAN [54], PointFlow [60], DPM [35], DualGAN [53], and TGN [59].
Evaluation Metrics. We employ COV (coverage), MMD (minimum matching distance), JSD (Jensen-Shannon divergence), and 1-NNA (1-nearest neighbor accuracy) using Chamfer Distance (CD) and Earth Mover's Distance (EMD) as base metrics, following prior works [28, 60]. COV detects mode collapse, MMD evaluates fidelity, JSD compares marginal distributions, and 1-NNA is a more robust measure for both diversity and quality [60].
Configuration. For the generation task, we follow previous works [4, 26, 28, 60, 67] and select three classes from ShapeNet dataset [5]: airplane, chair, and car. Each class in ShapeNet contains 15,000 sampled points. We sample 2,048 points for training and testing for each shape and preprocess the point cloud data following the steps outlined in [60].
For the classification evaluation of our auto-encoders, we implement ModelNet40 and ModelNet10 datasets [57], which contain 3D models of 40 and 10 categories, respectively.
Implementation Details. All experiments are conducted on 4 NVIDIA A800 80G GPUs. The point-wise embedding uses channels, and the CBA bottleneck uses learnable tokens of width , blocks and four attention heads. The conditional point field has a hidden width of 128, and the latent velocity field is a four-layer Transformer. We optimize with Adam at a learning rate of , with , and no weight decay, for 4000 epochs at a batch size of 128. The learning rate stays constant over the first half of training and then decays linearly to zero. All four weights in Eq. (17) are set to 1, and the minibatch optimal-transport coupling is enabled for the prior flow. Sampling uses Euler steps.
5.2. Point Cloud Generation
Qualitative comparisons Fig. 2 compares samples from our model with those of prior methods. We also train our model on all 55 different categories from the ShapeNet dataset. Fig. 5 shows multi-class point clouds generated by TokenFlow to demonstrate its generalizability.
Quantitative comparisons We compare against prior state-of-the-art methods using the metrics of Sec. 5.1. Results are given in Tab. 2 (MMD, COV, JSD) and Tab. 4 (1-NNA). On the distributional metrics (Tab. 2), TokenFlow attains almost the best results across all three categories.
On 1-NNA (Tab. 4) TokenFlow achieves the best on Aiplane-CD/EMD, Car-EMD and Chair-EMD, while Car-CD and Chair-CD results are comparable with LION [47], which is a strong baseline.
We note that fewer comparisons are reported in Tab. 2, as several methods do not provide official results for MMD, COV or JSD. In contrast, 1-NNA has recently become a more widely adopted metric as shown in Tab. 4.
5.3. Unsupervised Representation Learning
To additionally evaluate the representation learning ability of auto-encoders, we conduct classification experiments following previous methods [35, 59, 60]. We first train TokenFlow with the full ShapeNet dataset and then train a linear SVM with extracted latent representations for classification. The classification results are summarized in Tab. 3. Our method achieves the best performance on ModelNet10 dataset, while demonstrating competitive results on the ModelNet40 dataset. Further, we visualize the interpolation and extrapolation in the latent codes shown in Fig. 3.
| Context module | 1-NNA-CD ↓ | 1-NNA-EMD ↓ |
|---|---|---|
| Transformer [48] | 72.43 | 68.91 |
| PointTransformer [66] | 71.54 | 67.96 |
| Performer [11] | 76.23 | 75.60 |
| CBA (ours) | 66.65 | 60.55 |
Table 5. Context module ablation on the Airplane category, reported as 1-NNA (%). Lower is better. Only the context module of the encoder is replaced, and everything else is held fixed.
| Latent Tokens | 1-NNA-CD ↓ | 1-NNA-EMD ↓ |
|---|---|---|
| M = 1 | 81.59 | 80.72 |
| M = 8 | 76.57 | 73.68 |
| M = 32 | 72.30 | 67.84 |
| M = 64 | 66.65 | 60.55 |
| M = 128 | 70.03 | 66.49 |
Table 6. Effect of the number of latent tokens on the Airplane category, reported as 1-NNA (%). Lower is better. is the default used in the main results.
5.4. Ablation Study
We ablate the two core designs, the context module of the encoder and the number of latent tokens .
Context Module. Tab. 5 replaces the context module while the rest of the encoder and both flows stay unchanged. CBA improves on all three alternatives. PointTransformer is the closest competitor and still trails by 4.89 points on 1-NNA-CD and 7.41 points on 1-NNA-EMD. Transformer self-attention trails by 5.78 and 8.36 points, and Performer trails by 9.58 and 15.05 points.
The ranking follows from the way each module turns points into a shape code. Transformer self-attention mixes all point pairs and then has to pool the resulting features into one vector, which discards the assignment of points to parts. The conditional flow then has to recover that structure from noise, which is the hardest part of the problem. CBA keeps the assignment because its softmax is taken with learned queries over all points, so each token is a content-adaptive summary rather than a fixed average.
PointTransformer does better than full attention because it retains local geometry, but its neighbourhood graph is built on Euclidean distance in the input coordinates. Parts are frequently not proximal, so the four legs of a chair are never placed in one group.
Performer fails for a different reason. The kernel replaces the exponential, so attention mass spreads over many points and no cluster is selected. Its tokens then summarise diffuse second-order statistics instead of distinct parts.
The costs of the four modules are listed in Tab. 1. CBA replaces an attention map with an one, which is 32 times smaller at and . Performer builds no such map and is therefore the only module with a smaller memory footprint, but it is also the least accurate here, so the saving is paid for in fidelity rather than obtained for free.
Latent Tokens. Tab. 6 varies M. Accuracy improves from M = 1 to M = 64 and then degrades again at M = 128. At M = 1 the token self-attention becomes an identity, so the encoder degenerates into the single vector code used by earlier two-level models.
Small values of M in general under-resolve the shape, because too few tokens cannot cover all parts. At M = 128 the opposite failure appears. Tokens beyond the number of parts are redundant, and the latent prior must model a higher dimensional token set from the same training data, so the aggregated posterior drifts further from the Gaussian prior and sampling quality drops. The KL term is summed over every token coordinate, so its magnitude grows with M as well. M = 64 balances the two effects and is the value used in the main results.
6. Conclusion
We proposed TokenFlow, a hierarchical rectified flow matching framework that represents a shape as a set of latent tokens and couples a rectified flow over these tokens with a conditional flow over points. We found that existing models compress a shape into a single global vector, leaving part-level structure implicit. To address this, we introduced a context bottleneck that aggregates global information at cost and conditions a point-level rectified flow. Experiments on ShapeNet demonstrate that our method achieves superior fidelity and diversity, with competitive transferable latent representations for ModelNet classification. Future work will extend the framework to large-scale scene-level point clouds and multimodal conditional generation.
References
[1] Panos Achlioptas, Olga Diamanti, Ioannis Mitliagkas, and Leonidas Guibas. Learning representations and generative models for 3d point clouds. In International conference on machine learning, pages 40–49. PMLR, 2018. 1, 2, 8
[2] Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. 5, 7
[3] Matteo Bastico, David Ryckelynck, Laurent Corté, Yannick Tillier, and Etienne Decencière. Rethinking metrics and diffusion architecture for 3d point cloud generation. In 2026 International Conference on 3D Vision (3DV), pages 1380–1391. IEEE, 2026. 2, 8
[4] Ruojin Cai, Guandao Yang, Hadar Averbuch-Elor, Zekun Hao, Serge Belongie, Noah Snavely, and Bharath Hariharan. Learning gradient fields for shape generation. In European Conference on Computer Vision, pages 364–381. Springer, 2020. 2, 8
[5] Angel X Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, et al. Shapenet:
An information-rich 3d model repository. arXiv preprint arXiv:1512.03012, 2015. 8
[6] Ding-Yun Chen, Xiao-Pei Tian, Yu-Te Shen, and Ming Ouhyoung. On visual similarity based 3d model retrieval. In Computer graphics forum, pages 223–232. Wiley Online Library, 2003. 8
[7] Guangyan Chen, Meiling Wang, Yi Yang, Kai Yu, Li Yuan, and Yufeng Yue. Pointgpt: Auto-regressively generative pretraining from point clouds. Advances in Neural Information Processing Systems, 36:29667–29679, 2023. 2, 8
[8] Ricky TQ Chen, Yulia Rubanova, Jesse Bettencourt, and David K Duvenaud. Neural ordinary differential equations. Advances in neural information processing systems, 31, 2018. 3
[9] Yiyang Chen, Shanshan Zhao, Lunhao Duan, Changxing Ding, and Dacheng Tao. Harnessing text-to-image diffusion models for point cloud self-supervised learning. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pages 26156–26166. IEEE, 2025. 2
[10] An-Chieh Cheng, Xueting Li, Sifei Liu, Min Sun, and Ming-Hsuan Yang. Autoregressive 3d shape generation via canonical mapping. In European Conference on Computer Vision, pages 89–104. Springer, 2022. 2, 8
[11] Krzysztof Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song, Andreea Gane, Tamas Sarlos, Peter Hawkins, Jared Davis, Afroz Mohiuddin, Lukasz Kaiser, et al. Rethinking attention with performers. arXiv preprint arXiv:2009.14794, 2020. 4, 9
[12] Dasith de Silva Edirimuni and Ajmal Saeed Mian. Class-partitioned vq-vae and latent flow matching for point cloud scene generation. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 3542–3550, 2026. 3
[13] Yi Du, Zhipeng Zhao, Shaoshu Su, Sharath Golluri, Haoze Zheng, Runmao Yao, and Chen Wang. Superpc: A single diffusion model for point cloud completion, upsampling, denoising, and colorization. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 16953–16964. IEEE, 2025. 2
[14] Haoqiang Fan, Hao Su, and Leonidas J Guibas. A point set generation network for 3d object reconstruction from a single image. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 605–613, 2017. 1, 2
[15] Matheus Gadelha, Rui Wang, and Subhransu Maji. Multiresolution tree networks for 3d point cloud processing. In European conference on computer vision, pages 105–122. Springer, 2018. 1, 2
[16] Jun Gao, Tianchang Shen, Zian Wang, Wenzheng Chen, Kangxue Yin, Daiqing Li, Or Litany, Zan Gojcic, and Sanja Fidler. Get3d: A generative model of high quality 3d textured shapes learned from images. Advances in neural information processing systems, 35:31841–31854, 2022. 8
[17] Rohit Girdhar, David F Fouhey, Mikel Rodriguez, and Abhinav Gupta. Learning a predictable and generative vector representation for objects. In European conference on computer vision, pages 484–499. Springer, 2016. 8
[18] Will Grathwohl, Ricky TQ Chen, Jesse Bettencourt, Ilya Sutskever, and David Duvenaud. Ffjord: Free-form con-tinuous dynamics for scalable reversible generative models. arXiv preprint arXiv:1810.01367, 2018. 3
[19] Thibault Groueix, Matthew Fisher, Vladimir G Kim, Bryan C Russell, and Mathieu Aubry. A papier-mâché approach to learning 3d surface generation. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pages 216–224. IEEE, 2018. 2
[20] Meng-Hao Guo, Jun-Xiong Cai, Zheng-Ning Liu, Tai-Jiang Mu, Ralph R Martin, and Shi-Min Hu. Pct: Point cloud transformer. Computational visual media, 7(2):187–199, 2021. 3
[21] Amir Hertz, Or Perel, Raja Giryes, Olga Sorkine-Hornung, and Daniel Cohen-Or. Spaghetti: Editing implicit shapes through part aware generation. ACM Transactions on Graphics (TOG), 41(4):1–20, 2022. 2, 8
[22] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020. 1, 2
[23] Ka-Hei Hui, Chao Liu, Chi-Wing Fu, Arash Vahdat, et al. Not-so-optimal transport flows for 3d point cloud generation. In International Conference on Learning Representations, pages 98748–98771, 2025. 2, 8
[24] Andrew Jaegle, Felix Gimeno, Andy Brock, Oriol Vinyals, Andrew Zisserman, and Joao Carreira. Perceiver: General perception with iterative attention. In International conference on machine learning, pages 4651–4664. PMLR, 2021. 3
[25] Michael Kazhdan, Thomas Funkhouser, and Szymon Rusinkiewicz. Rotation invariant spherical harmonic representation of 3 d shape descriptors. In Symposium on geometry processing, pages 156–164, 2003. 8
[26] Hyeongju Kim, Hyeonseung Lee, Woo Hyun Kang, Joun Yeop Lee, and Nam Soo Kim. Softflow: Probabilistic framework for normalizing flow on manifolds. Advances in Neural Information Processing Systems, 33:16388–16397, 2020. 1, 2, 3, 8
[27] Jinwoo Kim, Jaehoon Yoo, Juho Lee, and Seunghoon Hong. Setvae: Learning hierarchical composition for generative modeling of set-structured data. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 15054–15063. IEEE, 2021. 1, 2, 8
[28] Roman Klokov, Edmond Boyer, and Jakob Verbeek. Discrete point flow networks for efficient point cloud generation. In European Conference on Computer Vision, pages 694–710. Springer, 2020. 1, 2, 3, 8
[29] Juil Koo, Seungwoo Yoo, Minh Hieu Nguyen, and Minhyuk Sung. Salad: Part-level latent diffusion for 3d shape generation and manipulation. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 14395–14405. IEEE, 2023. 1, 2, 8
[30] Chun-Liang Li, Manzil Zaheer, Yang Zhang, Barnabas Poczos, and Ruslan Salakhutdinov. Point cloud gan. arXiv preprint arXiv:1810.05795, 2018. 1, 2, 8
[31] Yangguang Li, Zi-Xin Zou, Zexiang Liu, Dehu Wang, Yuan Liang, Zhipeng Yu, Xingchao Liu, Yuan-Chen Guo, Ding Liang, Wanli Ouyang, et al. Triposg: High-fidelity 3d shape synthesis using large-scale rectified flow models. IEEE
Transactions on Pattern Analysis and Machine Intelligence, 2025. 2
[32] Yaron Lipman, Ricky TQ Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. arXiv preprint arXiv:2210.02747, 2022. 1, 2, 4
[33] Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003, 2022. 1, 2, 4
[34] Zhen Liu, Yao Feng, Michael J Black, Derek Nowrouzezahrai, Liam Paull, and Weiyang Liu. Meshdiffusion: Score-based generative 3d mesh modeling. arXiv preprint arXiv:2303.08133, 2023. 2, 8
[35] Shitong Luo and Wei Hu. Diffusion probabilistic models for 3d point cloud generation. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2836–2844. IEEE, 2021. 1, 2, 6, 8, 9
[36] Alireza Makhzani, Jonathon Shlens, Navdeep Jaitly, Ian Goodfellow, and Brendan Frey. Adversarial autoencoders. arXiv preprint arXiv:1511.05644, 2015. 2
[37] Ziqiao Meng, Qichao Wang, Zhiyang Dou, Zixing Song, Zhipeng Zhou, Irwin King, and Peilin Zhao. Pointnsp: Autoregressive 3d point cloud generation with next-scale level-of-detail prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 31450–31461, 2026. 2
[38] Shentong Mo, Enze Xie, Ruihang Chu, Lanqing Hong, Matthias Niessner, and Zhenguo Li. Dit-3d: Exploring plain diffusion transformers for 3d shape generation. Advances in neural information processing systems, 36:67960–67971, 2023. 1, 2, 7
[39] Charles R Qi, Hao Su, Kaichun Mo, and Leonidas J Guibas. Pointnet: Deep learning on point sets for 3d classification and segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 652–660, 2017. 3
[40] Zhiyuan Ren, Minchul Kim, Feng Liu, and Xiaoming Liu. Tiger: Time-varying denoising model for 3d point cloud generation with diffusion process. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9462–9471. IEEE, 2024. 2
[41] Abhishek Sharma, Oliver Grau, and Mario Fritz. Vconv-dae: Deep volumetric shape learning without object labels. In European conference on computer vision, pages 236–250. Springer, 2016. 8
[42] Yawar Siddiqui, Duncan Frost, Samir Aroudj, Armen Avetisyan, Henry Howard-Jenkins, Daniel DeTone, Pierre Moulon, Qirui Wu, Zhengqin Li, Julian Straub, et al. Shaper: Robust conditional 3d shape generation from casual captures. arXiv preprint arXiv:2601.11514, 2026. 2
[43] Yang Song, Prafulla Dhariwal, Mark Chen, and Ilya Sutskever. Consistency models. arXiv preprint arXiv:2303.01469, 2023. 2
[44] Gunner Stone, Sushmita Sarker, and Alireza Tavakkoli. Guided and unguided conditional diffusion mechanisms for structured and semantically-aware 3d point cloud generation. In 2025 International Conference on Machine Learning and Applications (ICMLA), pages 802–807. IEEE, 2025. 2
[45] Yongbin Sun, Yue Wang, Ziwei Liu, Joshua Siegel, and Sanjay Sarma. Pointgrow: Autoregressively learned point cloud generation with self-attention. In Proceedings of the IEEE/CVF winter conference on applications of computer vision, pages 61–70, 2020. 2, 8
[46] Alexander Tong, Kilian Fatras, Nikolay Malkin, Guillaume Huguet, Yanlei Zhang, Jarrid Rector-Brooks, Guy Wolf, and Yoshua Bengio. Improving and generalizing flow-based generative models with minibatch optimal transport. arXiv preprint arXiv:2302.00482, 2023. 2, 4, 6
[47] Arash Vahdat, Francis Williams, Zan Gojcic, Or Litany, Sanja Fidler, Karsten Kreis, et al. Lion: Latent point diffusion models for 3d shape generation. Advances in neural information processing systems, 35:10021–10039, 2022. 1, 2, 8, 9
[48] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017. 4, 5, 9
[49] Nicolas Vercheval, Remco Royen, Adrian Munteanu, and Aleksandra Pižurica. Pcgen: a fully parallelizable point cloud generative model. Sensors, 24(5):1414, 2024. 2
[50] Linhao Wang, Qichang Zhang, Ye Su, and Hao Wang. Hierarchical flow matching for 3d point cloud generation. arXiv preprint arXiv:2608.05557, 2026. 2
[51] Xiangyang Wang, Jiale Chen, and Rui Wang. Dpr-gan: Dual-stream progressive refinement for adversarial 3d point cloud generation. Neural Processing Letters, 56(2):70, 2024. 1, 2
[52] Yizhao Wang, Jingbo Wang, and Guantao Zhang. Fusion-aware direct 3d gaussian generation with structured patch latent flows. arXiv preprint arXiv:2609.27779, 2026. 2
[53] Cheng Wen, Baosheng Yu, and Dacheng Tao. Learning progressive point embeddings for 3d point cloud generation. In 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10261–10270. IEEE, 2021. 8
[54] Jiajun Wu, Chengkai Zhang, Tianfan Xue, Bill Freeman, and Josh Tenenbaum. Learning a probabilistic latent space of object shapes via 3d generative-adversarial modeling. Advances in neural information processing systems, 29, 2016. 8
[55] Lemeng Wu, Dilin Wang, Chengyue Gong, Xingchao Liu, Yunyang Xiong, Rakesh Ranjan, Raghuraman Krishnamoorthi, Vikas Chandra, and Qiang Liu. Fast point cloud generation with straight flows. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9445–9454. IEEE, 2023. 8
[56] Xiaoyang Wu, Yixing Lao, Li Jiang, Xihui Liu, and Hengshuang Zhao. Point transformer v2: Grouped vector attention and partition-based pooling. Advances in neural information processing systems, 35:33330–33342, 2022. 3
[57] Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3d shapenets: A deep representation for volumetric shapes. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1912–1920, 2015. 9
[58] Zijie Wu, Lixin Xu, Puhua Jiang, Sicong Liu, Chunchao Guo, and Xiang Bai. R-dmesh: Video-guided 3d animation
via rectified dynamic mesh flow: R-dmesh. In Proceedings of the Special Interest Group on Computer Graphics and Interactive Techniques Conference Conference Papers, pages 1–11, 2026. 2
[59] Rui Xu, Le Hui, Yuehui Han, Jianjun Qian, and Jin Xie. Transformer-based point cloud generation network. In Proceedings of the 31st ACM International Conference on Multimedia, pages 4169–4177, 2023. 8, 9
[60] Guandao Yang, Xun Huang, Zekun Hao, Ming-Yu Liu, Serge Belongie, and Bharath Hariharan. Pointflow: 3d point cloud generation with continuous normalizing flows. In 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pages 4540–4549. IEEE, 2019. 1, 2, 3, 4, 6, 7, 8, 9
[61] Yaoqing Yang, Chen Feng, Yiru Shen, and Dong Tian. Foldingnet: Point cloud auto-encoder via deep grid deformation. In 2018 IEEE/CVF conference on computer vision and pattern recognition, pages 206–215. IEEE, 2018. 2
[62] Maciej Zamorski, Maciej Zieba, Rafał Nowak, Wojciech Stokowiec, and Tomasz Trzcinski. Adversarial autoencoders for generating 3d point clouds. arXiv preprint arXiv:1811.07605, 2(3), 2018. 2
[63] Biao Zhang, Jiapeng Tang, Matthias Niessner, and Peter Wonka. 3dshape2vecset: A 3d shape representation for neural fields and generative diffusion models. ACM Transactions On Graphics (TOG), 42(4):1–16, 2023. 1, 2, 3, 7
[64] Daopeng Zhang and Li Yu. Enhancing 3d point cloud generation via mamba-based time-varying denoising diffusion. Journal of Visual Communication and Image Representation, page 104657, 2025. 2
[65] Renrui Zhang, Ziyu Guo, Peng Gao, Rongyao Fang, Bin Zhao, Dong Wang, Yu Qiao, and Hongsheng Li. Point-m2ae: multi-scale masked autoencoders for hierarchical point cloud pre-training. Advances in neural information processing systems, 35:27061–27074, 2022. 3
[66] Hengshuang Zhao, Li Jiang, Jiaya Jia, Philip HS Torr, and Vladlen Koltun. Point transformer. In Proceedings of the IEEE/CVF international conference on computer vision, pages 16259–16268, 2021. 3, 4, 9
[67] Linqi Zhou, Yilun Du, and Jiajun Wu. 3d shape generation and completion through point-voxel diffusion. In 2021 IEEE/CVF International Conference on Computer Vision (ICCV), pages 5806–5815. IEEE, 2021. 1, 2, 8