RWKV Seed Generator for Scene Completion
- RWKV-SG is a specialized module that transforms partial 3D point clouds into coarse, feature-rich outputs using a linear RWKV-based mechanism.
- It employs a modular architecture—with PointNet encoding, PRWKV stacks, and RWKV-ATTN—to effectively fuse local and global features while enhancing computational efficiency.
- Empirical evaluations demonstrate that RWKV-SG improves completion accuracy by about 25% in Chamfer Distance and significantly reduces model size compared to conventional baselines.
The RWKV Seed Generator (RWKV-SG) constitutes a specialized module for generating coarse, feature-rich point clouds from partial input data within the context of point cloud semantic scene completion. It is central to the architecture of RWKV-PCSSC, leveraging the Receptance Weighted Key Value (RWKV) mechanism to improve parameter and memory efficiency while delivering competitive or superior accuracy. RWKV-SG operates exclusively on geometry, eschewing auxiliary modalities such as color or normal vectors.
1. Architectural Overview
RWKV-SG transforms an input partial point cloud into a coarse, completed point set with associated semantic logits and features. The module is highly modular, with each sub-block processing tensors of defined shape:
| Stage | Input Shape/Type | Output Shape/Type |
|---|---|---|
| PointNet Encoding | ||
| PRWKV Stack (4 layers) | ||
| Global Feature (SA) | ||
| Query Generation | ||
| RWKV-ATTN | 0 | |
| Deconvolution | 1 | 2 |
| Rebuild Head | 3 | 4 |
| Coarse Point Sampling | 5 | 6 |
| Segment Head | 7 | 8 |
Following the preliminary feature extraction 9 via a PointNet-style encoder, a four-layer PointRWKV (PRWKV) stack abstracts context from local and global neighborhoods, producing 0. Global context 1 is pooled from 2 and broadcast to each point to form queries 3 using an MLP. RWKV-ATTN fuses queries, keys, and spatial neighborhoods to estimate missing-region features 4, which are deconvolved and reparameterized as position offsets 5. Sampled coarse points 6 and their features 7 form the output, fed to a semantic segmentation head for coarse per-point class logits 8.
2. Core RWKV Mechanism and Equations
RWKV modules substitute the quadratic 9 softmax self-attention with linear-complexity “Receptance Weighted Key-Value” (RWKV) aggregation. For input point features 0:
- P-Shift (per-channel local reordering):
1
(2, 3, 4 are learnable.)
- Linear Projections:
5
- Bidirectional Linear Attention (Bi-WKV):
For output index 6,
7
8
where 9 are learnable scalars.
- Receptance Gating:
0
- Output:
1
Within RWKV-ATTN, a hybrid of global PRWKV output and local 2-NN attention is used: - Local values: 3 - Gated: 4 - Weights: 5 - Output: 6
This structure enables global context aggregation with linear complexity and maintains spatial discrimination through local attention.
3. Feature Aggregation Workflow
The processing steps of RWKV-SG are as follows:
- Preliminary Feature Extraction: 7.
- Contextual Abstraction: 8 computed via four PRWKV layers.
- Global Context Gathering: 9 pooled using Set Abstraction; combined per-point with 0 and processed to 1.
- Local and Global Feature Fusion: 2 set to 3; RWKV-ATTN computes 4 per point within each 5-NN neighborhood.
- Missing Feature Deconvolution: 6 upsampled to 7 through a Snowflake-style deconvolution.
- Coarse Completion: 8 is regressed; 9.
- Farthest Point Sampling: 0 and 1 sampled to 2 coarse points.
- Coarse Semantic Segmentation: Per-point logits 3 computed from 4.
This pipeline delivers plausible coarse geometry and features filling input holes, while maintaining efficiency through linear mechanisms.
4. Learnable Parameters and Model Efficiency
RWKV-SG is parameterized for compactness and speed. For typical feature dimensionality 5:
- PointNet encoder: 641K parameters.
- PRWKV stack (4 layers): 7M.
- Query-generation MLP: 80.26M.
- RWKV-ATTN internals: 90.40M.
- Deconvolution: 00.15M.
- Rebuild head: 10.03M.
- Segment head: 20.6M.
Total: 32.5M parameters, accounting for 50–60% of the full RWKV-PCSSC network. The linear-complexity RWKV structure enables the entire model (RWKV-SG + RWKV-PD) to remain 44M parameters—yielding a 5 reduction relative to the PointSSC baseline (617M).
5. Empirical Performance and Impact
RWKV-SG and its accompanying network modules offer significant improvements in parameter and memory efficiency over softmax-attention-based dense architectures:
- Parameter reduction: Full model size 776.1% smaller than PointSSC.
- Memory efficiency: Peak GPU memory reduced by 827% (training, batch size 8, RTX3090).
- Ablation study: Removal of RWKV-SG in SSC-PC increases Chamfer Distance from 0.265 to 0.353 (9 worse) and lowers mean accuracy from 97.99% to 97.49%.
- Qualitative output: 0 clouds generated by RWKV-SG already reconstruct large missing areas plausibly.
- Downstream effect: RWKV-PD refinements act primarily on edges; RWKV-SG provides the structural estimate.
- Overall effect: RWKV-SG improves completion by 125% in Chamfer Distance over non-RWKV baselines while preserving or exceeding state-of-the-art SSC accuracy.
A plausible implication is that the majority of completion accuracy and efficiency gains in RWKV-PCSSC can be attributed directly to the design of RWKV-SG.
6. Context and Significance within Point Cloud Completion
RWKV-SG exemplifies a new paradigm in 3D point cloud completion, replacing resource-intensive attention with a linear, context-aware mechanism. By forgoing auxiliary cues (color, normals) and reducing overparameterization, it delivers competitive semantic scene completion on both standard datasets (SSC-PC, NYUCAD-PC, PointSSC) and new benchmarks (NYUCAD-PC-V2, 3D-FRONT-PC), as developed in "RWKV-PCSSC: Exploring RWKV Model for Point Cloud Semantic Scene Completion" (He et al., 13 Nov 2025). This suggests further investigation of RWKV-style mechanisms is warranted for scalable 3D scene understanding in memory- and compute-constrained environments.