---
title: 'Can3Tok: Scene-Level 3D Tokenization VAE'
url: https://www.emergentmind.com/topics/can3tok
type: topic
---

# Can3Tok: Scene-Level 3D Tokenization VAE

Searching arXiv for Can3Tok and closely related references to ground the article.
Can3Tok is the first variational autoencoder (VAE) that operates directly on scene-level 3D Gaussian Splatting (3DGS) representations, learning a compact, structured latent embedding that captures both semantic and spatial information for entire scenes. It introduces a canonical 3D tokenization scheme, a transformer-based encoder–decoder with cross-attention to compress tens of thousands of Gaussians, and a scene processing pipeline centered on scale normalization, allowing convergence and generalization on thousands of unbounded and scale-inconsistent scenes from DL3DV-10K. The learned latent supports feedforward generation, including text-to-3DGS and image-to-3DGS, by decoding canonical 3DGS and then de-canonicalizing to world coordinates [2508.01464].

## 1. Problem setting and motivation

Can3Tok is designed for scene-level 3D generation rather than the more common object-level setting. Object-level generative models assume bounded, canonical spaces, often a normalized unit cube with consistent scale, whereas scene-level 3DGS is unbounded, SfM-initialized, non-metric, and highly inconsistent in global scale across scenes. In addition, Gaussian primitives vary in scale, geometry, and appearance, and reconstructions contain floaters and hallucinations caused by limited views and distant content. These properties make unified latent representation learning difficult: without normalization, the encoder receives batches with radically different global scales and Gaussian radii; learned latents collapse or drift; self-attention over tens of thousands of Gaussians is computationally infeasible; and noise degrades high-frequency detail in reconstructions [2508.01464].

The method is motivated by empirical failures of prior 3D VAEs on this regime. PointNet VAE, PointTransformer, and L3DG fail to converge on even a few hundred scenes and exhibit zero generalization on DL3DV-10K, whereas Can3Tok converges across thousands and generalizes. This establishes the central problem Can3Tok addresses: scalable latent representation learning for unbounded scene-level 3DGS rather than bounded object-centric geometry [2508.01464].

At the representation level, a 3DGS scene is modeled as a set of anisotropic Gaussians with center $x \in \mathbb{R}^3$, orientation $r \in \mathbb{R}^4$ as a unit quaternion, anisotropic scale $s \in \mathbb{R}^3$, opacity $\alpha \in \mathbb{R}$, view-independent color $c \in \mathbb{R}^3$, and optionally view-dependent spherical harmonics coefficients $c_h \in \mathbb{R}^h$. The covariance is written as
$$
\Sigma_{3D} = R(r)\,\mathrm{diag}(s_1^2, s_2^2, s_3^2)\,R(r)^T.
$$
Under a pinhole camera, the projected mean and covariance follow
$$
\mu = \pi(x), \qquad \Sigma_{2D} = J \Sigma_{3D} J^T,
$$
and rendering proceeds by ordered alpha compositing,
$$
I(u) = \sum_i T_i(u)\, w_i(u)\, c_i,
$$
with per-Gaussian footprint and transmittance defined in the standard 3DGS manner [2508.01464].

## 2. Canonical 3D tokenization pipeline

The core preprocessing step is canonical normalization of scene geometry and scales. For Gaussian centers $\{x_i\}$, Can3Tok computes the scene center
$$
c = \frac{1}{n}\sum_i x_i
$$
and a global scale
$$
s = \frac{r}{\max_i \|x_i - c\|_2 \times 1.1}.
$$
It then applies the mapping
$$
x_i' = \frac{x_i - c}{s}, \qquad s_i' = \frac{s_i}{s}, \qquad T_i' = \frac{T_i - c}{s}.
$$
Rotations $r$, opacity $\alpha$, colors $c$, and spherical harmonics coefficients are kept unchanged. In the more general form with a canonical rotation $R$, the mapping becomes
$$
f(x) = \frac{R(x-c)}{s}, \qquad \Sigma_{3D}' = \frac{R \Sigma_{3D} R^T}{s^2}.
$$
Because cameras undergo the same similarity transform, rendering from the normalized 3DGS with transformed cameras produces the same images as rendering from the original scene [2508.01464].

Canonicalization is paired with semantic-aware filtering. Can3Tok runs LangSAM on a central frame to segment “the most salient region,” picks one Gaussian inside the mask, and grows a set via K-NN in 3D until reaching a fixed budget $N$, which is $40$K in practice. This suppresses floaters and noisy, poorly supervised regions while preserving clean and salient scene partitions [2508.01464].

Token construction then attaches structured features to each Gaussian. For each primitive, the input concatenates Fourier positional encodings of the Gaussian center and the nearest canonical voxel center,
$$
\gamma(x_i),\ \gamma(v_i),
$$
together with raw parameters
$$
[r_i, s_i', \alpha_i, c_i, c_{h,i}].
$$
The input volume resolution is $V = 40$, and the positional encoding uses $L_B = 51$ Fourier channels per position. The per-Gaussian token therefore has dimension $2L_B + C$, and the full scene becomes a matrix
$$
G \in \mathbb{R}^{N \times (2L_B + C)}.
$$
This “dual positional encoding” injects structured anchors into the irregular 3D continuum and improves detail reconstruction [2508.01464].

A plausible implication is that Can3Tok’s notion of tokenization is not merely serialization of scene primitives; it is a canonicalization-and-anchoring procedure that makes irregular 3DGS data compatible with transformer latent modeling.

## 3. Encoder, decoder, and variational objective

The encoder receives $G \in \mathbb{R}^{N \times D}$, where $D = 2L_B + C$, and first maps it to keys and values with a linear layer. Compression is achieved by cross-attention with a learnable canonical query
$$
Q \in \mathbb{R}^{M \times (P + Qd)},
$$
where $M = 256$. The query is initialized as regular voxel grids plus descriptors, so the compressed tokens inherit geometric priors. Eight self-attention blocks, using multi-head attention with $12$ heads of dimension $64$ and FlashAttention, operate on the compressed representation. Two linear layers then produce the bottleneck mean $\mu$ and log-variance $\log \sigma^2$, with the latent tensor shaped like Stable Diffusion’s latent, namely $64 \times 64 \times 4$ [2508.01464].

The VAE reparameterization is
$$
z = \mu + \epsilon \cdot \exp\!\left(\tfrac{1}{2}\log \sigma^2\right), \qquad \epsilon \sim \mathcal{N}(0, I).
$$
The decoder expands $z$ with a linear layer, applies $16$ self-attention blocks, and uses an MLP tail to map back into continuous 3DGS parameter space, producing an output that corresponds index-wise to the input Gaussian set [2508.01464].

The training objective combines parameter-space reconstruction and standard VAE regularization. Let $\theta_i$ denote the full Gaussian parameters used as input channels. The reconstruction term is
$$
\mathrm{Dist} = \frac{1}{N}\sum_i \|\theta_i^{pred} - \theta_i^{gt}\|_2^2,
$$
and the complete objective is
$$
L_{VAE} = \mathrm{Dist} + \lambda \cdot KL(\mathcal{N}(\mu,\sigma^2)\,\|\,\mathcal{N}(0,I)),
$$
with
$$
\lambda = 1 \times 10^{-6},
$$
and
$$
KL = \tfrac{1}{2}\sum_k \left(\mu_k^2 + \sigma_k^2 - \log \sigma_k^2 - 1\right).
$$
No additional regularizers are required if the data pipeline is used; training relies on canonicalization, semantic filtering, and random $SO(3)$ rotations for augmentation [2508.01464].

The architectural constraint is computational as much as statistical. Self-attention on $N=40$K tokens is $O(N^2)$ and infeasible, so Can3Tok compresses $N \rightarrow M$ by cross-attention with cost $O(NM)$, then applies self-attention on the compressed sequence at cost $O(M^2)$. This compression mechanism is critical both for convergence and for memory feasibility [2508.01464].

## 4. Latent structure and downstream generation

Can3Tok’s latent is intended to preserve spatial structure rather than act as a purely semantic code. The paper reports that t-SNE embeddings under continuous $SO(3)$ rotations form closed loops, indicating rotation-consistent latent organization. Latents for different croppings of the same scene are close, while different scenes are well separated [2508.01464].

This latent enables two downstream generation pathways. In text-to-3DGS, each scene’s middle frame is captioned with BLIP, and a UNet diffusion model is trained to denoise
$$
z_T \sim \mathcal{N}(0, I)
$$
to $z_0$ conditioned on text. The decoded output is a canonical 3DGS that is rendered after de-canonicalization. In image-to-3DGS, an image encoder is trained to regress directly to $z$ using an $\ell_2$ loss between the predicted latent and the latent produced by the Can3Tok encoder [2508.01464].

After generation, geometry is returned to world coordinates by the inverse normalization:
$$
x_i = s x_i' + c, \qquad s_i = s \cdot s_i', \qquad T_i = s T_i' + c.
$$
Rotations and appearance remain unchanged. Rendering then uses standard 3DGS differentiable splatting with projected Gaussian means and covariances, followed by ordered alpha blending; if spherical harmonics are used, the color term can be replaced by a view-dependent evaluation $SH(\hat{v}; c_{h,i})$ [2508.01464].

A notable quantitative result is that text-to-3DGS generation achieves FID $28.32$ on rendered views, compared with $153.76$ for PointTransformer. This result is presented as evidence that the latent is usable for feedforward generation rather than only reconstruction [2508.01464].

## 5. Empirical validation, ablations, and efficiency

Can3Tok is evaluated on DL3DV-10K with a $6{:}1$ train/test split. The pipeline runs 3DGS per video and filters each scene to $N=40$K tokens. Training uses $8 \times$ A100 GPUs and takes approximately $5$ days. A single forward pass, including encode and decode, takes approximately $0.06$ s per scene, and training iteration speed is approximately $1.1$ s/iter versus approximately $11.3$ s/iter for L3DG [2508.01464].

The main quantitative comparison on the DL3DV-10K test set with filtering is summarized below.

| Method | L2 | Failure rate |
|---|---:|---:|
| L3DG | 1200.4 | 100% |
| PointNet VAE | 1823.0 | 100% |
| PointTransformer | 230.7 | 70% |
| Can3Tok | 30.1 | 2.5% |

These metrics use parameter-space $\mathrm{Dist}$ over Gaussian features, with failure defined by $\mathrm{Dist} > 1000$ on a scene. Qualitatively, the reported behavior is that baselines fail to reconstruct global layout and local details, while Can3Tok preserves both and generalizes to novel scenes [2508.01464].

Ablation results isolate the role of each component. Without the learnable query, replacing cross-attention with self-attention leads to divergence and out-of-memory behavior even with $80$GB GPUs, with $\mathrm{L2} \sim 10^{25}$ and failure $100\%$. Without normalization, $\mathrm{L2} = 1889.7$ and failure is $100\%$. Without voxel coordinate appending, $\mathrm{L2} = 50.5$ and failure is $4.3\%$. Without semantic filtering, $\mathrm{L2} = 73.3$ and failure is $6.1\%$. Without augmentation, $\mathrm{L2} = 53.3$ and failure is $4.6\%$. These ablations show that scale canonicalization, learnable-query compression, dual positional encoding, semantic filtering, and random $SO(3)$ augmentation all contribute materially to stability and accuracy [2508.01464].

This evidence supports a narrow but important conclusion: the model’s performance is inseparable from its preprocessing pipeline. The VAE architecture alone is not presented as sufficient.

## 6. Scope, limitations, and nomenclature

Can3Tok is specifically tied to scene-level 3DGS. The reported limitations are that success is not $100\%$ because low-quality 3DGS reconstructions, including motion blur and skewed view distributions, degrade latent discriminability; the method is sensitive to canonicalization errors if cameras or centers are misestimated; and domain biases in DL3DV-10K may persist in the latent. Proposed future directions include improved text and image conditioning, multi-view consistency constraints in the latent, hierarchical tokenization for larger unbounded scenes, and better open-world scale recovery via depth priors [2508.01464].

A recurrent source of confusion is nomenclature. The label “Can3Tok” is used consistently in the scene-level 3DGS paper for canonical 3D tokenization and latent modeling of 3D Gaussian scenes [2508.01464], but related documents use similar wording for unrelated tokenization paradigms. In one case, ACTT is described as realizing a three-stage CAN payload understanding scheme—tokenization, translation, and packing/selection—under a “Can3Tok” interpretation for automotive Controller Area Network data [1811.07897]. In another, ChannelTok is described as “also referred to as Can3Tok” in the context of channel-wise flexible-length vision tokenization, where each latent channel is treated as a visual token and stochastic tail-dropping induces a coarse-to-fine ordering [2606.04461].

For technical usage, the most precise meaning of Can3Tok is therefore the scene-level 3DGS VAE introduced for DL3DV-10K. Unlike CaTok’s one-dimensional causal image tokenizer for autoregressive vision modeling [2603.06449] or ChannelTok’s channel-wise image tokenizer [2606.04461], Can3Tok addresses unbounded scene-level 3D Gaussian representations through canonical normalization, semantic filtering, cross-attention compression, and VAE latent modeling.

Source: https://www.emergentmind.com/topics/can3tok