Letting the Reconstruction Decide Which Cameras to Trust

When a system builds a 3D model of a room from many video frames, every point in space has to decide which frames actually saw it. Current learned systems make that decision by looking at image features and camera geometry alone. The partially built 3D model already knows that a sofa sits between camera 12 and the wall behind it, but this knowledge plays no part in the decision. We propose to close that loop. The current volumetric estimate (a 3D grid of predicted occupancy) computes, for every candidate camera, how much free space lies along the line of sight. That quantity then directly biases the attention weights that blend the cameras' features. The attention weight a view receives becomes "how well this view's appearance matches" multiplied by "how likely this view could see the point at all." Because the bias is differentiable, errors in the final surface also correct the occupancy estimates that controlled view selection.

This matters because the hardest failures in monocular scene reconstruction are occlusion failures. Examples are the incomplete, briefly glimpsed objects and the ghost geometry reported for TransformerFusion, and the uniform blending of occluded views in Atlas. These are exactly the cases where the scene's own geometry, not image similarity, is the reliable signal. The file's survey of the field names the missing coupling explicitly. Volumetric reasoning and cross-view selection are done in separate stages, so 3D context never steers which 2D views are used.

Core Claim

Cross-view attention for volumetric reconstruction should include a visibility term computed by ray-marching through the network's own evolving occupancy volume. Refining this term across coarse-to-fine levels should improve reconstruction most on surfaces that are occluded in many of the views that project onto them. Concretely, for a 3D query point $p$ and candidate view $i$, the attention score is

$$\ell_{p,i} = \frac{q_p^\top k_{p,i}}{\sqrt{d}} + \lambda \log T_i(p), \qquad T_i(p) = \prod_{x \in \mathcal{R}_i(p)} \big(1 - \alpha(x)\big),$$

where $q_p$ is the point's query feature, $k_{p,i}$ the key built from view $i$'s image feature at the projection of $p$, $d$ the feature width, and $\mathcal{R}_i(p)$ the voxel samples on the segment from camera $i$ to just in front of $p$. Here $\alpha(x)$ is the predicted occupancy at the current coarse level, and $\lambda$ is learned. With $\lambda = 1$, the softmax weight becomes proportional to $T_i(p)\exp(q_p^\top k_{p,i}/\sqrt d)$. That is the appearance-based attention, multiplied by the probability that the line of sight is unobstructed. This is the same transmittance product used in volume rendering, now reused as a routing prior.

What is new relative to the closest work is where visibility comes from. TransformerFusion gives each view token its projected depth, ray direction and a frustum-validity flag. The network must therefore infer occlusion from appearance, with no access to the scene geometry between camera and point. VPFusion alternates 3D U-Net layers with cross-view transformer layers on per-view volumes, so 3D context influences features but never enters the view-weighting computation itself. Its experiments are also on single objects in ShapeNet and Pix3D, not rooms. VolRecon has a view transformer and a ray transformer along the depth axis of the rendering ray, but its view weights again come only from feature consistency. 3D SDF Transformers (3D Former) attend over the volume after views are already merged. Our proposal adds no new network family. It changes one quantity, the view-attention logit, so that it depends on the volume.

Research Program

We would build on a TransformerFusion-style pipeline because it already has a coarse-to-fine volumetric hierarchy (30 cm coarse grid, 10 cm fine grid) and per-point view attention, and so provides the natural place to insert the term. At the coarse level, view attention runs as in the original, with $T_i \equiv 1$, and a coarse occupancy grid is predicted. Before the fine level, we ray-march each camera's segment to each fine query point through the coarse occupancy grid. Trilinear sampling at a fixed step keeps $T_i(p)$ differentiable. The bias then enters the fine-level attention. In a third pass, the fine level's own occupancy estimate recomputes $T$ and fusion is repeated once. This tests whether self-refinement helps or merely amplifies early mistakes.

Two cost concerns shape the design. First, ray-marching for every (point, view) pair is the expensive part. We restrict it to near-surface fine voxels, which TransformerFusion's coarse mask already provides. We also reuse TransformerFusion's attention-driven frame dropping, so only the retained frames per point are marched. Second, a wrong coarse surface could suppress the very views that would fix it. Two guards address this. The learned $\lambda$ can shrink the term. We also add a small floor, $T_i \leftarrow \max(T_i, \epsilon)$, so no view is fully silenced. Training uses ScanNet ground-truth meshes, as in TransformerFusion; we do not address the supervision dependency here.

The analysis is as important as the model. For every ground-truth surface point we use the ground-truth mesh to count how many frames that project onto it are actually occluded. We then report error as a function of this occlusion ratio. The claim predicts gains that grow with the occlusion ratio and vanish for points seen cleanly by every frame. We also record, per point, how much of the attention weight falls on truly occluded frames, which directly measures whether routing improved.

Baselines

The naive reference is static averaging. Atlas back-projects features into a voxel grid with a running average and lets a 3D CNN resolve contradictions. TransformerFusion reports Atlas at 7.38 cm Chamfer distance on ScanNet. Recurrent fusion is represented by NeuralRecon, which uses sparse 3D convolutions and a convolutional recurrent unit across video fragments. It has a reported F-score of 0.562, and TransformerFusion reports its Chamfer distance as 7.11 cm. We cite both from their papers rather than retrain, because neither is the comparison that decides the claim.

The strongest competitor on this specific question is TransformerFusion itself, which reports 6.89 cm Chamfer distance and an F-score of 0.655 on ScanNet. It is the strongest because it already conditions view attention on ray geometry and depth, so it is the system most likely to have learned occlusion reasoning implicitly. We will retrain it ourselves from the released recipe, with the same backbone, voxel sizes, training scenes, iterations and evaluation script as our model. This guards against a gain that comes from recipe drift. Beating it means a lower Chamfer distance and higher F-score on our own retrained numbers, with the gap concentrated in the high-occlusion bins. A uniform gain spread across all bins would point to extra compute rather than visibility. 3D Former reports 0.032 m mesh accuracy, a different metric under its own protocol. We report it for context but do not treat it as directly comparable.

Three ablations isolate the key ingredient, and all use the identical training budget and the same retained frames. The first is a hard-mask variant: a binary depth test against the coarse surface, with occluded views removed before ordinary attention. The second is a depth-token variant: TransformerFusion with an additional token feature, the depth at which the coarse surface is hit along the camera ray, but no logit bias. The third is a stop-gradient variant: our model with gradients blocked through $T$, which tests whether letting surface errors correct the visibility estimate matters. Our claim survives only if the full model beats all three in the high-occlusion bins. Losing to the depth-token variant would mean the gain comes from information, not structure.

Why not just…?

Why not just mask occluded views with a depth test against the coarse reconstruction, then pool? This is the classical move, and it may capture much of the gain. Its weakness is that at 30 cm coarse resolution the depth test is hard and often wrong near thin or briefly seen geometry. Those are the failure cases TransformerFusion documents for chair legs and fleetingly observed objects, and a wrong hard mask cannot be undone. The hard-mask ablation settles this directly. If it matches the soft bias, we should report that the simple method suffices and drop the claim that soft, differentiable visibility matters.

Why not just give TransformerFusion the rendered coarse depth as one more input feature? This is the most serious threat, because the attention network could learn the multiplicative visibility prior from that feature on its own. We think the explicit log-transmittance bias helps because it fixes the right functional form and works when training data contain few heavily occluded examples. That is a hypothesis, not established. The depth-token ablation is the deciding experiment. If it matches the full model, the contribution reduces to "feed the volume back into view selection." That would still be a useful finding, but a smaller one, and we would frame it that way.

Why not just stack a stronger volumetric network after fusion, as 3D Former does? Post-fusion 3D reasoning can fill holes from context such as floor flatness. But once an occluded view's features have been averaged into a voxel, the contamination cannot be separated out. 3D Former's own limitation, as summarized in the file, is that cross-view routing stays disconnected from its 3D attention. We test the two as complementary rather than competing. We add the visibility bias in front of a sparse-window 3D attention refinement and check whether gains persist. If the refinement erases them, the bias is not worth its cost.

Proposed Experiments

The main experiment is ScanNet surface reconstruction with the standard train and test splits. We report Chamfer distance, accuracy, completeness and F-score, overall and stratified by ground-truth occlusion ratio. We also report the fraction of attention mass placed on truly occluded frames, and frames per second against TransformerFusion's reported 7 FPS. The decisive check is the occlusion-stratified comparison against retrained TransformerFusion and the depth-token ablation. A consistent improvement in the top occlusion bins, absent in the clean bins, and larger than the depth-token variant's, would confirm the claim. No improvement there falsifies it, whatever the aggregate number says.

A second check tests self-refinement. We compare one versus two visibility passes, and measure how often the second pass recovers surface the coarse level missed versus deletes true surface. Generalization runs zero-shot on TUM-RGBD, ICL-NUIM and 7-Scenes, where 3D Former claims gains over Atlas and NeuralRecon. There is no reported number on Lacuna for TUM-RGBD, ICL-NUIM or 7-Scenes, so all models there are run by us under one protocol. As a secondary, sparse-view test of whether the idea transfers beyond video, we insert the bias into VolRecon's view transformer on three-view DTU. VolRecon reports a 30% Chamfer improvement over SparseNeuS there but no absolute value in our file, so we again retrain the baseline ourselves.

We exclude transparent surfaces and penetrating-ray imaging such as SAX-NeRF. Occupancy-based transmittance is the wrong visibility model for glass and X-rays, and we expect the bias to hurt on glass. We will report the glass-containing ScanNet scenes separately so that this limitation is measured rather than hidden.