arXiv:2610.11857cs.CVOct 2026

Manuscript Offprint

arXiv:2610.11857

Pose-Free Feed-Forward 3D Inpainting via Learnable Mask Attention and Support Token Refinement

Jingyi Pan, Dan Xu, Qiong Luo

Abstract

3D scene inpainting aims to recover missing or occluded regions in edited 3D scenes, while ensuring geometric and textural consistency. Existing approaches, however, typically require accurately calibrated camera poses, which restricts their applicability in casual, in-the-wild scenarios and introduces additional preprocessing overhead. To overcome this limitation, we present FreeInpaint, a novel feed-forward framework that generates complete and 3D-consistent scenes directly from unposed multi-view images with masked regions. At its core, FreeInpaint extends a 3D foundation model to propagate masked regions from a reference view to other unposed views, bridging 3D reconstruction and scene inpainting while preserving the model's native ability to recover camera poses and scene geometry. Our method addresses two key challenges in adapting feed-forward 3D foundation models to masked inputs. First, masked regions can corrupt cross-view correspondence reasoning, degrading pose estimation and geometry recovery. To address this, we introduce a Learnable Mask Attention mechanism that preserves the spatial anchoring of reliable observations while allowing masked regions to progressively absorb useful context in deeper layers. Second, under severe occlusions, a single forward pass often lacks sufficient appearance evidence for high-fidelity completion. Therefore, we propose a Support Token Refinement strategy, which injects diffusion-generated support evidence as confidence-weighted auxiliary tokens to refine under-observed regions while preserving the original spatial anchor. Extensive experiments across diverse datasets demonstrate that FreeInpaint achieves superior inpainting quality, eliminating the reliance on pre-computed camera poses while keeping a fast inference speed. The project page is https://rorisis.github.io/FreeInpaint/.

1 Introduction

The increasing demand for 3D content creation in virtual reality, augmented reality, and interactive gaming has stimulated growing interest in 3D scene editing. Among various editing tasks, 3D scene inpainting aims to remove unwanted objects or complete missing regions while preserving geometric and textural consistency across multiple views. Compared with 2D inpainting, which operates on a single image, 3D inpainting must maintain multi-view consistency in both appearance and geometry, making it substantially more challenging.

Despite recent progress, existing 3D scene inpainting approaches [27, 26, 39, 21, 17, 7, 29, 41, 10, 46] suffer from a challenge: they rely on precisely calibrated camera poses. Typically, obtaining these

∗^{*}Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: FreeInpaint takes a single reference image and multiple unposed masked source images as inputs. It jointly estimates the camera parameters and reconstructs a high-fidelity, multi-view consistent 3D Gaussian field.

poses requires running off-the-shelf Structure-from-Motion (SfM) [33], such as COLMAP, as a pre-processing step. However, this multi-stage approach is inherently time-consuming, restricting the efficiency and interactivity expected in user-facing inpainting applications. Furthermore, the reliance on SfM introduces a practical bottleneck for casual, in-the-wild captures. SfM pipelines are brittle and frequently fail when presented with common real-world conditions, such as sparse view collections, large untextured regions, or masked observations. If this initial pose estimation step fails to register cameras or yields inaccurate calibrations, the downstream 3D inpainting methods are fundamentally compromised, inevitably producing visual artifacts or distorted geometry.

To address this limitation, we present FreeInpaint, a novel feed-forward, reference-based framework that generates complete, 3D-consistent scenes directly from unposed image collections containing user-defined masked regions, as shown in Fig. 1. At its core, our method builds upon the architecture of a 3D foundation model [18], and adapts it for inpainting by conditioning on masked, unposed views while preserving the backbone's strong geometric priors.

However, adapting a reconstruction-oriented foundation model for inpainting introduces two primary technical challenges. First, masked regions can disrupt the multi-view correspondences essential for accurate pose and geometry estimation. If processed without constraints, these masked areas inevitably corrupt the spatial anchoring of the surrounding valid context. Second, a single feedforward pass is often insufficient for handling severe occlusions where masked regions lack visual cues from the reference view, i.e., blind spots. In such cases, forcing the network to inpaint highly ambiguous regions in one step typically results in blurry or degraded textures.

To tackle these challenges, FreeInpaint introduces two complementary components. First, to prevent the corruption of pose estimation and geometry recovery under masked inputs, we introduce a Learnable Mask Attention mechanism. In the early layers of the network, masked regions carry little meaningful information; thus, valid tokens should not attend to them during the self-attention process. However, as the network deepens, these masked regions gradually aggregate contextual information from the reference view and surrounding tokens, eventually becoming useful for global reasoning. To model this dynamic transition, we apply a learnable mask bias term to the attention logits associated with masked tokens within each self-attention block, allowing the network to adaptively regulate how masked regions participate in cross-view reasoning at different depths. Second, we propose a Support Token Refinement strategy to improve blind-spot completion at inference time. When a single feed-forward pass remains under-confident in severely occluded regions, we inject generated support evidence as confidence-weighted support tokens. This allows the model to refine under-observed regions with complementary appearance cues while preserving the original reference-driven structure and multi-view consistency. Extensive experiments on SPInNeRF [27], 360-USID [41], and LLFF [24] datasets demonstrate that FreeInpaint achieves superior performance in both forward-facing and 360-degree scenes, all without requiring camera poses.

In summary, our key contributions are: (i) We propose FreeInpaint, a feed-forward framework capable of performing 3D scene inpainting directly from unposed, masked image collections. (ii) We introduce a Learnable Mask Attention mechanism that prevents masked regions from corrupting the foundation model's native pose and geometry estimation. (iii) We introduce a Support Token Refinement strategy that injects diffusion-generated support evidence as auxiliary tokens for blind-spot inpainting. (iv) We demonstrate the effectiveness of our method through extensive experiments on diverse datasets, highlighting its ability to eliminate the reliance on pre-computed camera poses.

References (47)