VASC: Value-Aware Sparse Attention with Cross-Layer Memory for Efficient 3D Reconstruction
Organizations: Shanghai Jiao Tong University
Abstract
Feed-forward 3D vision models such as VGGT have achieved remarkable progress, unifying camera estimation and dense scene reconstruction in a single pass. However, their quadratic global attention makes long image sequences expensive, while existing sparse methods may favor highly attended yet value-redundant regions. To address these limitations, we introduce VASC, a training-free sparse attention method combining value-aware block selection and execution-aware cross-layer memory. Our value-aware block selection integrates pooled query--key relevance with neighboring value contrast, reducing redundancy while preserving query-relevant and distinctive content. Cross-layer memory tracks unserved demand across layers and updates this state according to actual execution, enabling previously underserved blocks to compete under a fixed computation budget. Experiments on 7Scenes and NeuralRGB-D with VGGT and demonstrate improved pose estimation and reconstruction quality compared with FasterVGGT, together with up to faster inference than dense VGGT. Code is available at https://github.com/kosakayamahoo-design/VASC.
Figures & tables
| Method | Sparsity (%) | Stride | 7Scenes | NeuralRGB-D | ||||||||||
| ATE | RPE-t | RPE-r | Acc | Comp | NC | ATE | RPE-t | RPE-r | Acc | Comp | NC | |||
| VGGT | ||||||||||||||
| Dense | 0 | 10 | 0.069 | 0.031 | 0.859 | 0.017 | 0.028 | 0.652 | 0.030 | 0.016 | 0.179 | 0.014 | 0.015 | 0.908 |
| FasterVGGT | 65 | 10 | 0.081 | 0.035 | 0.960 | 0.017 | 0.029 | 0.647 | 0.059 | 0.026 | 0.427 | 0.034 | 0.024 | 0.832 |
| VASC | 65 | 10 | 0.073 | 0.033 | 0.911 | 0.018 | 0.028 | 0.650 | 0.044 | 0.019 | 0.239 | 0.018 | 0.017 | 0.880 |
| FasterVGGT | 75 | 10 | 0.084 | 0.038 | 1.080 | 0.018 | 0.028 | 0.646 | 0.073 | 0.030 | 0.503 | 0.041 | 0.027 | 0.798 |
| GPU | Sparsity (%) | Dense (s) | FasterVGGT (s) | VASC (s) | Speedup | Overhead |
|---|---|---|---|---|---|---|
| A6000 | 75 | 23.849 | 11.981 | 12.239 | 2.150% | |
| 85 | 23.849 | 10.506 | 10.739 | 2.220% | ||
| RTX 4090 | 75 | 15.631 | 7.256 | 7.446 | 2.620% | |
| 85 | 15.631 | 6.650 | 6.822 | 2.600% |
| Backbone | Dataset | Setting | ATE | RPE-t | RPE-r | Acc | Comp | NC |
|---|---|---|---|---|---|---|---|---|
| VGGT | 7Scenes | FasterVGGT | 0.084 | 0.038 | 1.080 | 0.018 | 0.028 | 0.646 |
| Value-aware only | 0.078 | 0.034 | 0.957 | 0.018 | 0.028 | 0.649 | ||
| Faster+memory | 0.078 | 0.035 | 0.975 | 0.018 | 0.028 | 0.648 | ||
| Full VASC | 0.074 | 0.034 | 0.963 | 0.018 | 0.028 | 0.649 | ||
| VGGT | NRGBD | FasterVGGT | 0.073 | 0.030 | 0.503 | 0.041 | 0.027 | 0.798 |
| Value-aware only | 0.045 | 0.020 | 0.278 | 0.020 | 0.018 | 0.871 |
| Host | Dataset | Configuration | Acc | Comp | NC1 | NC2 |
|---|---|---|---|---|---|---|
| FastVGGT | 7Scenes | Official | 0.018 | 0.027 | 0.616 | 0.648 |
| Memory adapter | 0.018 | 0.027 | 0.617 | 0.650 | ||
| AVGGT-R | 7Scenes | w/o memory | 0.018 | 0.028 | 0.647 | 0.650 |
| w/ memory | 0.017 | 0.027 | 0.646 | 0.651 | ||
| AVGGT-R | NRGBD | w/o memory | 0.020 | 0.018 | 0.844 | 0.841 |
| w/ memory | 0.019 | 0.018 | 0.849 | 0.842 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Region | Keys | Retained | Mean attention percentile | Mean V cosine |
|---|---|---|---|---|
| A | 45 | 9 | 54.500 | 0.610 |
| B | 32 | 26 | 83.400 | 0.810 |
| C | 42 | 8 | 43.900 | 0.660 |
| Dataset | Method | S | ATE | RPE-t | RPE-r | Acc | Comp | NC | Gain |
|---|---|---|---|---|---|---|---|---|---|
| 7Scenes | Dense VGGT | 0 | 0.069 | 0.031 | 0.859 | 0.017 | 0.028 | 0.652 | – |
| FasterVGGT | S55 | 0.079 | 0.033 | 0.922 | 0.017 | 0.028 | 0.650 | – | |
| VASC | S55 | 0.071 | 0.032 | 0.895 | 0.018 | 0.028 | 0.650 | (5/6) | |
| FasterVGGT | S65 | 0.081 | 0.035 | 0.960 | 0.017 | 0.029 | 0.647 | – | |
| VASC | S65 | 0.073 | 0.033 | 0.911 | 0.018 | 0.028 | 0.650 | (5/6) | |
| FasterVGGT | S75 | 0.084 | 0.038 | 1.080 | 0.018 | 0.028 | 0.646 | – |
| Dataset | Method | S | ATE | RPE-t | RPE-r | Acc | Comp | NC | Gain |
|---|---|---|---|---|---|---|---|---|---|
| 7Scenes | FasterVGGT | S55 | 0.080 | 0.024 | 0.650 | 0.016 | 0.027 | 0.611 | – |
| VASC | S55 | 0.072 | 0.022 | 0.609 | 0.016 | 0.027 | 0.612 | (4/6) | |
| FasterVGGT | S65 | 0.081 | 0.024 | 0.682 | 0.016 | 0.027 | 0.610 | – | |
| VASC | S65 | 0.073 | 0.023 | 0.623 | 0.016 | 0.027 | 0.612 | (5/6) | |
| FasterVGGT | S75 | 0.084 | 0.027 | 0.757 | 0.017 | 0.027 | 0.608 | – | |
| VASC | S75 | 0.075 | 0.024 | 0.670 | 0.017 | 0.027 | 0.611 | (6/6) |
| Method | ATE | RPE-t | RPE-r | ARE | Chamfer |
|---|---|---|---|---|---|
| Dense VGGT | 0.092 | 0.055 | 1.206 | 3.950 | 0.441 |
| FasterVGGT, S75 | 0.119 | 0.077 | 1.590 | 5.012 | 0.447 |
| VASC, S75 | 0.102 | 0.066 | 1.303 | 4.253 | 0.447 |
| VASC wins vs. FasterVGGT | 46/50 | 48/50 | 50/50 | 42/50 | 23/50 |
| Method | Stride | 7Scenes | NeuralRGB-D | ||||
|---|---|---|---|---|---|---|---|
| Acc Med | Comp Med | NC Med | Acc Med | Comp Med | NC Med | ||
| FastVGGT | 0.008 | 0.010 | 0.716 | 0.011 | 0.010 | 0.793 | |
| VASC (S65) | 10 | 0.007 | 0.010 | 0.733 | 0.011 | 0.007 | 0.974 |
| VASC (S75) | 0.007 | 0.009 | 0.732 | 0.012 | 0.008 | 0.969 | |
| FastVGGT | 0.008 | 0.010 | 0.709 | 0.012 | 0.010 | 0.790 | |
| VASC (S65) | 5 | 0.006 | 0.008 | 0.674 | 0.018 | 0.008 | 0.945 |
| GPU | Dataset | S | Dense (s) | FasterVGGT (s) | VASC (s) | Speedup | Overhead (%) |
|---|---|---|---|---|---|---|---|
| A6000 | 7Scenes | 55 | 14.865 | 9.951 | 10.124 | 1.470 | 1.740 |
| A6000 | 7Scenes | 65 | 14.865 | 9.175 | 9.347 | 1.590 | 1.870 |
| A6000 | 7Scenes | 75 | 14.865 | 8.373 | 8.528 | 1.740 | 1.850 |
| A6000 | NRGBD | 55 | 23.849 | 14.830 | 15.076 | 1.580 | 1.660 |
| A6000 | NRGBD | 65 | 23.849 | 13.402 | 13.666 | 1.750 | 1.970 |
| A6000 | NRGBD | 75 | 23.849 | 11.981 | 12.239 | 1.950 | 2.150 |
| S | Variant | ATE | RPE-t | RPE-r | Acc | Comp | NC |
|---|---|---|---|---|---|---|---|
| 55 | Value-aware only | 0.075 | 0.032 | 0.886 | 0.017 | 0.028 | 0.650 |
| Faster+memory | 0.070 | 0.031 | 0.873 | 0.017 | 0.028 | 0.650 | |
| Full VASC | 0.071 | 0.032 | 0.895 | 0.018 | 0.028 | 0.650 | |
| 65 | Value-aware only | 0.076 | 0.033 | 0.910 | 0.017 | 0.028 | 0.649 |
| Faster+memory | 0.074 | 0.033 | 0.927 | 0.018 | 0.028 | 0.649 | |
| Full VASC | 0.073 | 0.033 | 0.911 | 0.018 | 0.028 | 0.650 |
| S | Variant | ATE | RPE-t | RPE-r | Acc | Comp | NC |
|---|---|---|---|---|---|---|---|
| 55 | Value-aware only | 0.036 | 0.018 | 0.228 | 0.017 | 0.016 | 0.888 |
| Faster+memory | 0.038 | 0.018 | 0.212 | 0.016 | 0.016 | 0.884 | |
| Full VASC | 0.036 | 0.018 | 0.203 | 0.016 | 0.016 | 0.888 | |
| 65 | Value-aware only | 0.041 | 0.019 | 0.254 | 0.018 | 0.017 | 0.880 |
| Faster+memory | 0.043 | 0.020 | 0.253 | 0.020 | 0.019 | 0.871 | |
| Full VASC | 0.044 | 0.019 | 0.239 | 0.018 | 0.017 | 0.880 |
| S | Variant | ATE | RPE-t | RPE-r | Acc | Comp | NC |
|---|---|---|---|---|---|---|---|
| 55 | Value-aware only | 0.060 | 0.025 | 0.801 | 0.024 | 0.025 | 0.755 |
| Faster+memory | 0.059 | 0.025 | 0.774 | 0.021 | 0.024 | 0.795 | |
| Full VASC | 0.058 | 0.024 | 0.774 | 0.021 | 0.024 | 0.800 | |
| 65 | Value-aware only | 0.061 | 0.025 | 0.811 | 0.025 | 0.025 | 0.746 |
| Faster+memory | 0.063 | 0.026 | 0.803 | 0.023 | 0.025 | 0.768 | |
| Full VASC | 0.060 | 0.025 | 0.789 | 0.022 | 0.025 | 0.786 |
| S | Variant | ATE | RPE-t | RPE-r | Acc | Comp | NC |
|---|---|---|---|---|---|---|---|
| 55 | Value-aware only | 0.042 | 0.016 | 0.194 | 0.036 | 0.026 | 0.852 |
| Faster+memory | 0.042 | 0.015 | 0.160 | 0.026 | 0.022 | 0.918 | |
| Full VASC | 0.037 | 0.014 | 0.154 | 0.025 | 0.021 | 0.927 | |
| 65 | Value-aware only | 0.054 | 0.017 | 0.217 | 0.040 | 0.028 | 0.836 |
| Faster+memory | 0.056 | 0.017 | 0.196 | 0.034 | 0.025 | 0.869 | |
| Full VASC | 0.046 | 0.015 | 0.173 | 0.029 | 0.024 | 0.900 |
| Variant | Acc | Comp | NC1 | NC2 |
|---|---|---|---|---|
| Official, mean | 0.018 | 0.027 | 0.616 | 0.648 |
| Adapted, mean | 0.018 | 0.027 | 0.617 | 0.650 |
| Official, median | 0.008 | 0.010 | 0.682 | 0.750 |
| Adapted, median | 0.008 | 0.010 | 0.684 | 0.754 |