Papers
Topics
Authors
Recent
Search
2000 character limit reached

RWKV Seed Generator for Scene Completion

Updated 15 November 2025
  • 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 PinRN×3P_\text{in} \in \mathbb{R}^{N\times3} 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 PinRN×3P_\text{in}\in\mathbb{R}^{N\times3} F0RN×CfF_0\in\mathbb{R}^{N\times C_f}
PRWKV Stack (4 layers) F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f} FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}
Global Feature (SA) FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f} fRCgf\in\mathbb{R}^{C_g}
Query Generation [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)} qinRN×Cqq_{in}\in\mathbb{R}^{N\times C_q}
RWKV-ATTN Pin,qin,kinP_{in}, q_{in}, k_{in} PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}0
Deconvolution PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}1 PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}2
Rebuild Head PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}3 PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}4
Coarse Point Sampling PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}5 PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}6
Segment Head PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}7 PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}8

Following the preliminary feature extraction PinRN×3P_\text{in}\in\mathbb{R}^{N\times3}9 via a PointNet-style encoder, a four-layer PointRWKV (PRWKV) stack abstracts context from local and global neighborhoods, producing F0RN×CfF_0\in\mathbb{R}^{N\times C_f}0. Global context F0RN×CfF_0\in\mathbb{R}^{N\times C_f}1 is pooled from F0RN×CfF_0\in\mathbb{R}^{N\times C_f}2 and broadcast to each point to form queries F0RN×CfF_0\in\mathbb{R}^{N\times C_f}3 using an MLP. RWKV-ATTN fuses queries, keys, and spatial neighborhoods to estimate missing-region features F0RN×CfF_0\in\mathbb{R}^{N\times C_f}4, which are deconvolved and reparameterized as position offsets F0RN×CfF_0\in\mathbb{R}^{N\times C_f}5. Sampled coarse points F0RN×CfF_0\in\mathbb{R}^{N\times C_f}6 and their features F0RN×CfF_0\in\mathbb{R}^{N\times C_f}7 form the output, fed to a semantic segmentation head for coarse per-point class logits F0RN×CfF_0\in\mathbb{R}^{N\times C_f}8.

2. Core RWKV Mechanism and Equations

RWKV modules substitute the quadratic F0RN×CfF_0\in\mathbb{R}^{N\times C_f}9 softmax self-attention with linear-complexity “Receptance Weighted Key-Value” (RWKV) aggregation. For input point features F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}0:

  • P-Shift (per-channel local reordering):

F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}1

(F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}2, F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}3, F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}4 are learnable.)

  • Linear Projections:

F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}5

For output index F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}6,

F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}7

F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}8

where F0RN×CfF_{0}\in\mathbb{R}^{N\times C_f}9 are learnable scalars.

  • Receptance Gating:

FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}0

  • Output:

FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}1

Within RWKV-ATTN, a hybrid of global PRWKV output and local FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}2-NN attention is used: - Local values: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}3 - Gated: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}4 - Weights: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}5 - Output: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}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:

  1. Preliminary Feature Extraction: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}7.
  2. Contextual Abstraction: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}8 computed via four PRWKV layers.
  3. Global Context Gathering: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}9 pooled using Set Abstraction; combined per-point with FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}0 and processed to FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}1.
  4. Local and Global Feature Fusion: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}2 set to FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}3; RWKV-ATTN computes FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}4 per point within each FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}5-NN neighborhood.
  5. Missing Feature Deconvolution: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}6 upsampled to FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}7 through a Snowflake-style deconvolution.
  6. Coarse Completion: FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}8 is regressed; FinRN×CfF_{in}\in\mathbb{R}^{N\times C_f}9.
  7. Farthest Point Sampling: fRCgf\in\mathbb{R}^{C_g}0 and fRCgf\in\mathbb{R}^{C_g}1 sampled to fRCgf\in\mathbb{R}^{C_g}2 coarse points.
  8. Coarse Semantic Segmentation: Per-point logits fRCgf\in\mathbb{R}^{C_g}3 computed from fRCgf\in\mathbb{R}^{C_g}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 fRCgf\in\mathbb{R}^{C_g}5:

  • PointNet encoder: fRCgf\in\mathbb{R}^{C_g}641K parameters.
  • PRWKV stack (4 layers): fRCgf\in\mathbb{R}^{C_g}7M.
  • Query-generation MLP: fRCgf\in\mathbb{R}^{C_g}80.26M.
  • RWKV-ATTN internals: fRCgf\in\mathbb{R}^{C_g}90.40M.
  • Deconvolution: [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}00.15M.
  • Rebuild head: [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}10.03M.
  • Segment head: [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}20.6M.

Total: [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}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 [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}44M parameters—yielding a [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}5 reduction relative to the PointSSC baseline ([Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}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 [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}776.1% smaller than PointSSC.
  • Memory efficiency: Peak GPU memory reduced by [Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}827% (training, batch size 8, RTX3090).
  • Ablation study: Removal of RWKV-SG in SSC-PC increases Chamfer Distance from 0.265 to 0.353 ([Pinf]RN×(3+Cg)[P_{in}\Vert f]\in\mathbb{R}^{N\times(3+C_g)}9 worse) and lowers mean accuracy from 97.99% to 97.49%.
  • Qualitative output: qinRN×Cqq_{in}\in\mathbb{R}^{N\times C_q}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 qinRN×Cqq_{in}\in\mathbb{R}^{N\times C_q}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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to RWKV Seed Generator (RWKV-SG).