Mamba Learns in Context: Structure-Aware Domain Generalization for Multi-Task Point Cloud Understanding
Organizations: Bournemouth University · Jilin University · The University of Western Australia · Hangzhou City University ·
Abstract
While recent Transformer and Mamba architectures have advanced point cloud representation learning, they are typically developed for single-task or single-domain settings. Directly applying them to multi-task domain generalization (DG) leads to degraded performance. Transformers effectively model global dependencies but suffer from quadratic attention cost and lack explicit structural ordering, whereas Mamba offers linear-time recurrence yet often depends on coordinate-driven serialization, which is sensitive to viewpoint changes and missing regions, causing structural drift and unstable sequential modeling. In this paper, we propose Structure-Aware Domain Generalization (SADG), a Mamba-based In-Context Learning framework that preserves structural hierarchy across domains and tasks. We design structure-aware serialization (SAS) that generates transformation-invariant sequences using centroid-based topology and geodesic curvature continuity. We further devise hierarchical domain-aware modeling (HDM) that stabilizes cross-domain reasoning by consolidating intra-domain structure and fusing inter-domain relations. At test time, we introduce a lightweight spectral graph alignment (SGA) that shifts target features toward source prototypes in the spectral domain without updating model parameters, ensuring structure-preserving test-time feature shifting. In addition, we introduce MP3DObject, a real-scan object dataset for multi-task DG evaluation. Comprehensive experiments demonstrate that the proposed approach improves structural fidelity and consistently outperforms state-of-the-art methods across multiple tasks including reconstruction, denoising, and registration.
Figures & tables
| Method | Setting | ModelNet | ShapeNet | ScanNet | ScanObjectNN | MP3DObject | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Rec. | Den. | Reg. | Rec. | Den. | Reg. | Rec. | Den. | Reg. | Rec. | Den. | Reg. | Rec. | Den. | Reg. | ||
| PointNet [ 62 ] | General | 20.56 | 27.15 | 17.19 | 19.84 | 32.99 | 19.57 | 23.73 | 30.27 | 19.49 | 21.74 | 33.97 | 21.62 | 22.63 | 35.24 | 23.17 |
| DGCNN [ 77 ] | General | 19.17 | 26.91 | 17.41 | 21.18 | 26.97 | 19.05 | 21.73 | 30.35 | 17.51 | 24.88 | 33.08 | 18.85 | 21.83 | 38.10 | 21.82 |
| PCT [ 17 ] | General | 16.98 | 25.10 | 14.50 | 18.39 | 24.59 | 15.28 | 18.76 | 27.03 | 16.99 | 19.50 | 29.98 | 15.71 | 18.91 | 28.74 | 16.49 |
| Point-MAE [ 60 ] | General | 14.77 | 21.53 | 13.42 | 16.82 | 23.91 | 14.36 | 16.16 | 24.54 | 16.79 | 19.27 | 28.69 | 15.74 | 20.39 | 27.28 | 17.13 |
| PointMamba [ 43 ] | General | 16.47 | 23.13 | 13.65 | 16.33 | 25.24 | 14.96 | 15.61 | 22.43 | 14.30 | 17.16 | 25.44 | 17.64 | 20.16 | 27.08 | 17.40 |
| Variant | Reconstruction | Denoising | Registration |
|---|---|---|---|
| Serialization Variants | |||
| Z-order Scanning | 7.32 | 12.47 | 6.29 |
| Hilbert Curve | 6.23 | 11.13 | 7.68 |
| w/o CDS | 4.75 | 10.69 | 6.17 |
| w/o GCS | 5.82 | 8.92 | 4.43 |
| Ours (full SAS) | 3.55 | 6.61 | 2.84 |
| Variant | NPR | Avg. CD | Runtime / batch |
|---|---|---|---|
| Naive BFS (CPU) | 1.00 | 4.27 | 2.22s |
| Spectral CDS (GPU, ours) | 0.97 | 4.33 | 0.75s |
| Method | Topo-NPR | Geo-NPR |
|---|---|---|
| Z-order | 0.59 | 0.48 |
| Hilbert curve | 0.62 | 0.48 |
| SAS (CDS+GCS, ours) | 0.69 | 0.67 |
| Variant | Reconstruction | Denoising | Registration |
|---|---|---|---|
| Naive FPS order | 7.73 | 13.64 | 7.54 |
| Random traversal | 8.17 | 12.92 | 7.24 |
| SAS (CDS+GCS, ours) | 3.55 | 6.61 | 2.84 |
| Kernel setting | Avg. CD | Comment |
|---|---|---|
| Fixed | 5.76 | too local, sensitive to noise |
| Fixed | 5.02 | tuned baseline |
| Fixed | 5.52 | overly smooth, loses detail |
| Adaptive (median-based, ours) | 4.33 | robust across categories |
| Variant | Reconstruction | Denoising | Registration |
|---|---|---|---|
| w/ concat | 5.40 | 7.11 | 4.23 |
| w/ interleave (ours) | 3.55 | 6.61 | 2.84 |
| Variant | Reconstruction | Denoising | Registration |
|---|---|---|---|
| No SGA | 11.95 | 17.38 | 9.43 |
| Simple feature shift | 7.62 | 12.56 | 7.96 |
| SGA (ours) | 3.55 | 6.61 | 2.84 |
| Setting | Avg. CD | Comment |
|---|---|---|
| (no SGA) | 12.92 | no alignment applied |
| (fixed) | 6.77 | improves over no alignment |
| (fixed) | 10.20 | over-alignment, less stable |
| Adaptive (cosine, ours) | 4.33 | similarity-based, best overall |
| Method | SAS (s) | Fwd. (s) | SGA (s) | Total (s) | FLOPs (G) | Params (M) |
|---|---|---|---|---|---|---|
| DG-PIC [ 28 ] | – | 0.94 | – | 0.94 | 21.07 | 27.57 |
| SADG (ours) | 0.33 | 0.25 | 0.17 | 0.75 | 14.89 | 18.87 |
| Dataset | Curvature | Missing | Noise | Orientation |
|---|---|---|---|---|
| ModelNet | low | low | low | low |
| ShapeNet | low–mid | low | low | low |
| ScanNet | mid | mid–high | mid | mid |
| ScanObjectNN | mid–high | high | high | high |
| MP3DObject | high | high | high | high |