Submanifold Hash Graphs in Learned Feature Space for Fast Dynamic Point-Cloud GNNs

Graph neural networks for point clouds, the networks that update each point by pooling messages from its neighbors, get much of their accuracy from rebuilding the neighbor graph at every layer. In early layers the graph comes from 3D position. In later layers it comes from learned features, so points that are far apart but semantically similar (two wing tips, two chair legs) end up connected. Rebuilding the graph is also where nearly all the time goes. On ModelNet40, the k-nearest-neighbor search inside EdgeConv-style dynamic GNNs takes upwards of 95% of GPU latency and almost 90% of CPU latency (Performance of Graph Neural Networks for Point Cloud Applications).

Submanifold sparse convolution is a sparse convolution whose outputs exist only at already-occupied grid cells, so features never spread into empty space. It finds neighbors in near-constant time per point by hashing grid coordinates into a lookup table and precomputing a "rule book" of input/output pairs (3D Semantic Segmentation With Submanifold Sparse Convolutional Networks). The same property has a cost: points farther apart than the kernel never exchange information. We propose to apply the submanifold lookup to a learned low-dimensional projection of each point's features rather than to its 3D coordinates. Each layer projects its features to a small learned space and snaps them onto a grid there. Points that land in the same or adjacent cells become neighbors, and the rule book replaces the quadratic-cost feature-space k-nearest-neighbor search.

Core Claim

The dynamic, feature-space graph is the part of a point-cloud GNN that a coordinate-grid sparse CNN cannot supply. It is also the part that costs almost all the latency. Our claim is that this graph can be rebuilt with submanifold hashing at close to sparse-CNN cost, and that doing so recovers the accuracy benefit of dynamic graphs on tasks that need long-range grouping. The claim is falsifiable in two directions. If a plain coordinate-grid submanifold network already matches dynamic GNN accuracy, then the feature-space graph is unnecessary and the latency question disappears. If exact feature-space neighbors are needed, then the hashed approximation fails to match them. We treat both outcomes as informative and design the experiments to tell them apart.

Mechanism

At layer $l$, point $i$ has features $h_i$. A learned linear map produces a low-dimensional code $z_i = W_l h_i \in \mathbb{R}^d$, with $d$ between 3 and 4 so that the $3^d$-cell neighborhood stays small.

The code is quantized to a cell $c_i = \lfloor z_i / s_l \rfloor$, where $s_l$ is a per-layer cell size. The cells are hashed exactly as in submanifold convolution. The neighbors of $i$ are the points in the $3^d$ cells around $c_i$, capped at a fixed maximum degree by random subsampling. The update is EdgeConv-style:

$$ h_i^{l+1} = \max_{j \in \mathcal{N}(i)} \phi\big(h_i,\; h_j - h_i,\; z_j - z_i\big), $$

where $\phi$ is a small shared network and $\mathcal{N}(i)$ is the hashed neighbor set.

The continuous offset $z_j - z_i$ serves two purposes. It restores the sub-cell geometry that quantization throws away, which addresses the discretization artifact listed as an open problem for submanifold methods. It also gives $W_l$ a gradient even though the cell assignment itself is discrete.

Outputs exist only at input points, so the submanifold invariant holds. The expected cost of graph construction is $O(N \cdot 3^d)$ hash probes rather than the $O(N^2)$ distance evaluations of brute-force k-nearest-neighbor search. That scaling follows directly from constant-time hash lookup over a fixed stencil. The cell size $s_l$ is set by a running estimate of the codes' spread, chosen so that average cell occupancy stays near a target degree. How much the method depends on this target is one of our ablations.

This design sits between two lines of work. Parikh's quasi-dynamic GNN freezes the graph in later layers to cut latency, but it still runs exact k-nearest-neighbor search early and loses feature-space regrouping late (Performance of Graph Neural Networks for Point Cloud Applications). We keep regrouping at every layer and make it cheap. MobileViGv2 removes graph construction by fixing each node to five grid neighbors (Scaling Graph Convolutions for Mobile Vision). That works because image patches are dense and contiguous, and it gives up content-dependent neighbors. We keep content dependence and drop the dense-grid assumption.

On the hardware side, ETHEREAL hides graph building with a custom ASIC and reports that irregular graph layers are memory-bound (ETHEREAL). The SEE eye-tracking system shows that submanifold networks with regular indexing reach sub-millisecond latency on an FPGA (Co-designing a Sub-millisecond Latency Event-based Eye Tracking System with Submanifold Sparse CNN). Together these two results motivate getting graph-like expressiveness out of hash-table indexing on commodity CPUs and GPUs.

Lattice-style filtering in learned feature spaces has precedents in the broader literature. None appears in this file, and we make no claim to have invented quantizing features for neighbor search. What we test is narrower: whether submanifold rule-book hashing can replace dynamic k-nearest-neighbor search in point-cloud GNNs specifically, and under what latency–accuracy trade-off.

Research Program

We will first build the hashed feature-graph layer on top of an existing sparse-convolution hash and rule-book engine. The rule book will be rebuilt per layer, since codes change from layer to layer.

Next we will profile where the time goes, splitting it into projection, hashing, rule-book construction, gathering, and $\phi$. This is the same breakdown Parikh used for EdgeConv, and it lets us check directly that graph construction no longer dominates.

Finally we will study three knobs: the code dimension $d$, the degree cap, and the occupancy target. Each is swept on validation splits, and each is reported as a curve rather than a single chosen value.

Baselines

The do-nothing reference is the full dynamic EdgeConv network with $k=20$, profiled exactly as Parikh reports. On ModelNet40 with 1,024 points it reaches 90.5% accuracy at 45.49 ms on an RTX A6000 and 109.50 ms on a Threadripper CPU (Performance of Graph Neural Networks for Point Cloud Applications). We will re-run it on our own hardware so that all latency comparisons use a single measurement protocol.

The strongest latency-reduction baseline in the file is qDGNN with two static layers: 90.6% accuracy at 19.12 ms on GPU and 34.37 ms on CPU on ModelNet40. Beating it means matching its accuracy within 0.3 points at lower latency on both devices.

The strongest accuracy-per-FLOP competitor is a coordinate-only submanifold sparse CNN in the style of Graham et al. It reports 85.98% average IoU on ShapeNet part segmentation, and 64.1% accuracy at 1.09 GFLOPs on NYU Depth v2 (3D Semantic Segmentation With Submanifold Sparse Convolutional Networks). We found no reported ModelNet40 result on Lacuna for a submanifold sparse CNN, so we will train one ourselves. It will use the same voxel resolution, matched parameter count, and the same tuning budget as our model: a fixed number of hyperparameter trials, the same number of epochs, and the same augmentation.

A distilled per-point MLP student, following the GNN-to-MLP recipe of SA-MLP, is the lower bound on latency.

Three ablations isolate the key ingredient. The first applies the hashed graph to xyz coordinates only, with no feature projection. This tells us whether learned feature space matters or hashing alone does the work. The second replaces the learned $W_l$ with a fixed random projection. The third runs exact k-nearest-neighbor search in the same learned $d$-dimensional code space. This separates the error introduced by hashing from the error introduced by compressing features to $d$ dimensions.

All models are trained from scratch under the same compute budget and evaluated with the same batch size. We report median latency over 1,000 runs, after warm-up, at batch size 1.

Why not just…?

Why not just freeze the graph, as qDGNN does? Freezing removes graph construction only from later layers. By Parikh's own profile, the 19.12 ms that remains is still dominated by the early k-nearest-neighbor searches. Freezing also removes exactly the feature-space regrouping that motivates dynamic graphs. Our qDGNN comparison measures this directly. We would count qDGNN as winning if it lands on or above our latency–accuracy curve on both ModelNet40 and ShapeNet.

Why not just use a coordinate-grid submanifold sparse CNN? This is the real threat. It is fast, well engineered, and strong on ShapeNet at 85.98% IoU. If it matches dynamic GNN accuracy on our tasks, the proposal reduces to "use sparse CNNs" and we will say so. The xyz-hash ablation and the matched SSCN baseline settle the question. The feature-space graph earns its place only if it beats both by a clear margin on part and scene segmentation, where grouping distant parts of an object matters. On ModelNet40 classification we expect the gap to be small, and a small gap there does not count as evidence either way.

Why not just use a faster approximate k-nearest-neighbor search, or hash xyz neighbors inside the existing network? Hashing 3D coordinates is effectively the xyz-hash ablation, and it cannot find feature-space neighbors. Approximate search in the full feature dimension still pays a per-query cost that grows with feature width. The exact search in the learned code space tells us whether our gain comes from the hash or from the low-dimensional projection. If exact search in that space is equally fast at our point counts, the contribution shrinks to the projection alone, and we will report it that way.

Why not just distill into an MLP? MLP students remove all neighbor access at runtime and give 828–978× speedups on OGB-Products (VQGraph, SA-MLP). However, SA-MLP and MuGSI both note that such students are structure-blind when features carry no topological cues. That describes raw point coordinates. The MLP baseline puts a number on this accuracy loss.

Proposed Experiments

We will evaluate on ModelNet40 at 1,024 points to compare directly with Parikh's numbers, on ShapeNet part segmentation for mean IoU, and on NYU Depth v2 for scene-scale point counts. Scene-scale inputs are where the quadratic cost of k-nearest-neighbor search should hurt most.

The first decisive check is a latency-versus-point-count curve from 1k to 100k points on GPU and CPU. It should show that our graph construction grows roughly linearly while dynamic k-nearest-neighbor search grows quadratically, and that our graph-construction share of total time drops far below Parikh's 95%.

The second check is accuracy. On ShapeNet and NYU, the learned-feature hash graph should outperform both the xyz-hash ablation and the matched submanifold CNN, and come within half a point of full dynamic EdgeConv.

The third check is a direct comparison of the hashed neighbor sets against exact code-space k-nearest-neighbor sets. It measures how much of the dynamic graph the hash recovers, using neighbor-set overlap and the resulting accuracy.

If the second check fails while the first succeeds, the conclusion is that dynamic feature graphs are not needed on these benchmarks. That negative result would itself refocus effort toward plain submanifold networks.