The fundamental challenge in 3D deep learning is the trade-off between geometric fidelity and computational efficiency. While Transformers excel at capturing global relationships in point clouds, their self-attention mechanism scales quadratically with the number of points. Conversely, voxel-based methods often struggle with sparsity or memory overhead.
A rapidly emerging research direction addresses this by serializing 3D data into 1D sequences using space-filling curves (SFCs). By mapping high-dimensional spatial data into a linear order that preserves local neighborhoods, researchers are enabling linear-complexity models—like State Space Models (SSMs) and auto-regressive Transformers—to process complex 3D geometry with unprecedented efficiency.
The Locality Bottleneck in 3D Analysis
Standard 3D data structures are either unordered sets (point clouds) or sparse grids (voxels). To process these with sequence models, they must be "flattened." However, a naive flattening—such as a simple raster scan—destroys spatial locality. Points that are physically adjacent in 3D space often end up thousands of tokens apart in a 1D sequence, making it nearly impossible for a causal model to learn local geometric features.
To bridge this gap, researchers like Dingkang Liang and Xin Zhou in PointMamba argue that the serialization strategy is the most critical component of 3D sequence modeling. The goal is to ensure that the "causal" flow of the sequence mirrors the physical "flow" of the 3D surface.
Preserving Topology via Space-Filling Curves
The primary tools for this preservation are Hilbert curves and Morton (Z-order) curves. These mathematical constructs provide a mapping from $n$-dimensional space to 1D that minimizes the distance between points in the sequence if they are close in physical space.
- Hilbert Curves: These are preferred for their superior locality preservation. In Voxel Mamba, Guowen Zhang and colleagues demonstrate that using Hilbert curves to serialize voxels allows a model to capture 3D topology without the need for expensive window-based grouping.
- Morton Curves: Often used in tree-based structures like octrees. OctFormer uses Morton ordering to organize point clouds into a linear array, allowing 3D attention to be executed using standard, highly optimized tensor operators instead of custom CUDA kernels.
- Spiral Traversals: For irregular structures like meshes, Isaak Lim and Leif Kobbelt propose spiral patterns that traverse concentric rings of vertices, preserving the intrinsic manifold structure of the mesh without resampling it onto a grid.
Linearizing 3D for State Space Models
The recent rise of Mamba (Selective State Space Models) has accelerated this direction. Unlike Transformers, Mamba scales linearly with sequence length, but it requires a meaningful sequential order to function.
In Point Cloud Mamba, Tao Zhang and Xiangtai Li introduce "Consistent Traverse Serialization." They found that random ordering fails, but processing the same points through multiple coordinate permutations ensures that any two spatially adjacent points will be proximal in at least one of the 1D sequences. This multi-perspective approach allows the SSM to "see" the 3D structure from different angles while maintaining linear complexity.
Similarly, OccMamba by Heng Li and Yuenan Hou applies this to semantic occupancy prediction. They use a height-prioritized 2D Hilbert expansion, which groups voxels vertically before applying the curve horizontally. This encodes a strong inductive bias: in outdoor driving scenes, the vertical axis (height) is often the most informative dimension for identifying objects like cars or pedestrians.
Generative and Compression Applications
The utility of SFC-based serialization extends beyond classification and detection:
- Generative Modeling: PointGPT by Guangyan Chen treats point cloud patches as "words" in a sentence. By ordering these patches with a Morton curve, they enable standard auto-regressive Transformers to "predict the next patch," effectively bringing the power of LLMs to 3D shape generation.
- Compression: In Compressed 3D Gaussian Splatting, Simon Niedermayr uses Morton curves to ensure that physically close Gaussian primitives are stored adjacently in memory. This significantly boosts the efficiency of entropy encoding, leading to 31× smaller file sizes.
- Signal Processing: The Generalized Tree-Based Wavelet Transform by Idan Ram and Michael Elad uses a hierarchical tree to solve a variation of the traveling salesman problem, creating the "smoothest" possible 1D path through high-dimensional data for denoising.
Why It Works: The Intuition of Adjacency
The success of this direction rests on the principle that geometric context is local. By using space-filling curves, we transform the problem of "finding neighbors in 3D" (which requires complex KD-trees or ball queries) into "finding neighbors in a 1D array" (which is a simple index offset).
As shown in HilbertNet by Wanli Chen, this dimensionality reduction allows even standard 2D convolutional layers to process 3D geometry effectively. When the sequence preserves the spatial topology, the model's filters naturally learn to recognize geometric patterns, proving that complex graph-based operations are not always necessary for high-performance 3D vision.