Manuscript Offprint
arXiv:2609.00923On-the-Fly3R: Towards Robust Online 3D Reconstruction with Feed-Forward 3R Models for Large-Scale UAV Scenarios
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Zhe Shen*, Liyuan Lou*, Yifei Yu, Guanbo Wang, Quanjian Ji, Xin Wang†, Zongqian Zhan†
School of Geodesy and Geomatics, Wuhan University, Wuhan 430079, China

Fig. 1: Visual reconstruction results on the GauU-Scenes SZIT scene.
Abstract— While feed-forward 3D reconstruction (3R) offers efficient end-to-end modeling, its application in large-scale UAV mapping is hindered by the prohibitive memory cost of Transformer attention. Current scalable streaming 3R methods assume temporally and spatially continuous inputs, rendering them ineffective for the weakly ordered or unordered image streams common in cross-strip UAV operations. To address this, we propose On-the-Fly3R, a training-free, progressive online 3D reconstruction framework for large-scale UAV images that upgrades various 3R backbones for large-scale UAV scenarios. Our method enables reconstruction from unordered inputs via retrieval-guided dynamic subset construction, which adaptively selects spatially relevant images. To further improve the robustness, a validation-rejection-retry mechanism is designed to guarantee global consistency, performing a pre-integration consistency check and automatically rejecting misaligned images and retrying with alternative subset. Finally, inspired by VSLAM, pose graph optimization based on the retrieval loop closure is employed to mitigate camera drift. Evaluations on several UAV benchmarks show that our On-the-Fly3R successfully scales various 3R models to over 5,000 images across square-kilometer UAV scenes, delivering substantially superior accuracy compared to several SOTA streaming 3R methods. Code is available at https://github.com/Sh1nZzz/On_the_Fly3R
I. INTRODUCTION
Recently, feed-forward 3D reconstruction (3R) methods, also recognized as 3D visual foundation models, have
emerged as a powerful paradigm in the field of computer vision and photogrammetry. Representative methods such as DUSt3R [1], MASt3R [2], and VGGT [3] can directly predict camera poses and dense 3D point clouds from uncalibrated images, offering a robust and efficient end-to-end pipeline from 2D observations to 3D scenes. However, scaling these methods to large-scale UAV scenarios remains a significant bottleneck. Built upon Transformer architectures, their global attention mechanisms cause computational and memory costs to scale quadratically with the number of input images. Consequently, on consumer-grade GPUs (e.g., a RTX 4090 with 24 GB VRAM), 3R methods frequently encounter out-of-memory failures when processing more than a few hundred images, severely limiting their practical deployment.
To improve the scalability of 3R methods, recent works generally fall into two categories: chunk-based and streaming reconstruction. Chunk-based methods [4], [5], [6], [7] partition long image sequences into local chunks and align them via overlapping frames. Conversely, streaming-based approaches [8], [9], [10], [11], [12], [13] manage global context to progressively update the scene representation. While effective for continuous sequences, these methods inherently rely on strict assumptions of input with strong spatiotemporal continuity and local overlap. In large-scale UAV mapping tasks, factors such as cross-strip observations, multi-camera acquisition, and multi-sortie data collection inevitably result in unordered or weakly ordered image streams. Under such
*Equal contribution. †Corresponding authors. (xwang, zqzhan)@sgg.whu.edu.cn.
realistic conditions, existing scalable 3R methods degrade significantly, as they cannot effectively handle the lack of sequential continuity. A comparison with SOTA scalable 3R methods on a UAV dataset is shown in Fig. 1.
Furthermore, current chunk-based methods typically accept the local chunk reconstructions produced by the feed-forward 3R model without explicit reliability verification. Under unordered or weakly ordered image conditions, a local chunk may contain images lacking effective co-visibility with the dominant scene. Such inconsistent observations can lead the model to hallucinate erroneous camera poses, scales, and 3D structures. Blindly integrating these anomalous local results into the global model, and subsequently using them as references for chunk alignment, triggers cascading error propagation. This not only causes incorrect registration and accumulated drift in subsequent chunks but ultimately catastrophically degrades the geometric consistency and robustness of the entire reconstruction.
How can we effectively leverage the capabilities of existing 3R models under limited computational resources and extend them to large-scale reconstruction from unordered or weakly ordered UAV images? We argue that the crux lies in two aspects: constructing geometrically consistent local contexts for the VFMs, and promptly detecting and correcting local failures during online progressive reconstruction.
Driven by this insight, we propose On-the-Fly3R, a training-free, progressive reconstruction framework that is compatible with diverse 3R models. Specifically, our method is first initialized with a small seed of images. Then, for each newly fly-in image, the co-visible images are retrieved from the reconstructed global map to dynamically construct a local subset, enabling the 3R models to perform feed-forward inference within a geometrically relevant local context. Each local prediction is then aligned to the global model via a confidence-weighted Sim(3) transformation. Crucially, we perform pose- and scale-based consistency checks before merging the local result into the global model. If the check fails, the framework automatically discards unreliable references and retries inference with a newly formed subset. Only newly added images and geometric results that pass validation are committed to the global map. Via this progressive pipeline, the proposed On-the-Fly3R can process unordered or weakly ordered UAV images under a bounded memory footprint while effectively suppressing error propagation.
Our main contributions are summarized as follows:
-
We propose On-the-Fly3R, a training-free, progressive feed-forward reconstruction framework, which can scale diverse 3R models to large scale UAV scenarios.
-
A retrieval-guided dynamic subset construction strategy is introduced, that adaptively selects spatially relevant images to form geometrically consistent local inputs, effectively bridging the gap between feed-forward 3R models and unordered or weakly ordered images.
-
A validation-rejection-retry mechanism is designed, explicitly verifying local reconstruction reliability prior to global integration. By automatically filtering out unreliable reference images upon consistency failure, this mechanism significantly enhances robustness and suppresses cascading error propagation.
A. Traditional 3D Reconstruction
Reconstructing 3D scenes from 2D images is a foundational problem in computer vision and photogrammetry. Traditional SfM systems, such as COLMAP [14], recover camera poses and 3D points via incremental pipelines involving feature matching, geometric verification, and bundle adjustment, etc. These methods offer good scalability and geometric interpretability for large-scale image collections. Similarly, SLAM systems focus on real-time tracking and pose-graph optimization, with recent works like On-the-Fly series [15], [16], [17] pushing incremental reconstruction toward near-real-time performance via online retrieval.
Despite their maturity, traditional methods heavily rely on feature matching and computationally intensive iterative optimization, making them vulnerable in weakly textured or wide-baseline scenarios. Our framework draws inspiration from the retrieval-based view selection and geometric verification inherent in traditional incremental pipelines. However, instead of relying on fragile feature matching and slow optimization, we replace them with a frozen 3R model as a robust local reconstructor, enabling a more flexible and efficient progressive feed-forward paradigm.
B. Feed-forward 3D Visual Foundation Models
Recent feed-forward 3R models have introduced a revolutionary end-to-end paradigm for 3D reconstruction. DUST3R [1] pioneered the formulation of image-pair reconstruction as pointmap regression, which was subsequently enhanced by MAST3R [2] through learned geometric matching. To handle more general multi-view inputs, VGGT [3] and Fast3R [18] extended this paradigm to improve multi-view inference efficiency. Further advancements include Pi3 [19], which bolsters robustness against input ordering and reference-view bias, and MapAnything [20], which advances unified foundation models for general metric 3D reconstruction. While these models exhibit strong geometric priors and powerful end-to-end prediction capabilities, their reliance on global Transformer attention imposes severe memory bottlenecks, as computational and memory costs scale quadratically with the number of input images. Consequently, they struggle to scale directly to the thousands of images required for large-scale UAV mapping. Rather than retraining or modifying the backbone architecture, this paper treats the 3R model as a frozen local reconstructor, significantly enhancing its large-scale applicability through an external progressive framework.
C. Scalable Feed-forward 3D Reconstruction
To overcome the scalability limits of 3R models, recent works generally fall into two categories: streaming-based and chunk-based methods. Streaming methods process long sequences by maintaining compact states or contextual memories. Examples include the spatial memory in Spann3R [8], recurrent state in CUT3R [9], causal attention in StreamVGGT [10] and Stream3R [21], test-time training in TTT3R [11], rolling memory in InfiniteVGGT [12], and SLAM-inspired geometric context in LingBot-Map [13]. However, the context construction in these methods inherently hinges on temporal order or sequential continuity, rendering them ineffective for unordered UAV image streams.
Alternatively, chunk-based methods adopt a divide-and-conquer strategy, partitioning sequences into local chunks followed by cross-chunk alignment. VGGT-Long [4] extends reconstruction to long sequences via overlapping alignment, while VGGT-SLAM [5] integrates VGGT predictions with a SLAM backend using SL(4) optimization. To address spatial inconsistencies, TALO [6] employs Thin Plate Spline alignment, and Scal3R [7] enhances long-range consistency via test-time global context memory. Notably, MERG3R [22] follows a divide-and-conquer strategy to handle large-scale unordered image collections and is one of the few related works that explicitly consider unordered inputs. More critically, existing chunk-based methods typically trust local reconstructions without explicit reliability verification. Under unordered conditions, local chunks may contain inconsistent observations, leading to erroneous poses and structures. Blindly integrating these anomalies triggers cascading error propagation, catastrophically degrading the global reconstruction.
In contrast, our On-the-Fly3R is a training-free progressive framework that fundamentally departs from fixed chunks or temporal dependencies. It dynamically constructs geometrically relevant local subsets through retrieval, natively supporting unordered image collections. Moreover, to prevent the cascading failures observed in existing pipelines, we introduce a strict validation–rejection–retry mechanism. By explicitly verifying local consistency before global integration and automatically discarding unreliable references upon failure, our framework ensures robust reconstruction and effectively suppresses error propagation.
III. METHODOLOGY
A. Overview
Given an image set , where , images arrive sequentially in an online fashion according to the capturing order. Our On-the-Fly3R aims to incrementally estimate camera poses and reconstruct a dense point cloud upon the arrival of each new image, while explicitly preventing unreliable local reconstructions from corrupting the established global map.
The pipeline operates progressively, as Fig. 2 shows. It first initializes the global coordinate system and state using a seed set of images (Sec. III-B). As new images fly in, a geometrically relevant local subset is dynamically constructed through image retrieval and fed into 3R model performs inference to obtain a local reconstruction (Sec. III-C). A confidence-weighted Sim(3) transformation is then estimated to register the local reconstruction into the global map (Sec. III-D). Crucially, a validation-retry mechanism verifies the registration consistency before merging; only validated results are incorporated into the global state (Sec. III-E). Finally, inspired by VSLAM, a pose graph optimization is applied to mitigate accumulated drift (Sec. III-F).
B. Initialization
Similar to [17], we initialize the framework with the first retrieval-connected images, following a retrieval procedure analogous to the query-subset construction described in (Sec. III-C). These images form the initialization subset, denoted as , and define as the initial accepted-frame set. To be compatible with various frozen 3R models , we design a lightweight adapter to unify its predictions into a standard representation:
where is the camera-to-world transformation, is the camera intrinsic matrix, and and are the per-pixel dense 3D point map and its confidence map, respectively. The coordinate system of this initial prediction serves as the global frame, from which we extract the initial global point cloud using high-confidence points.
To maintain a bounded memory footprint, retaining full dense point maps for all historical frames is infeasible. Instead, we construct a compact geometric reference for each accepted frame:
where is a pixel location, is the corresponding global 3D point, and is its confidence. Specifically, we partition each image into a regular grid and retain a fixed number of high-confidence points per cell, thereby controlling memory consumption while balancing geometric quality and spatial coverage. This compact representation later establishes geometric links between local reconstructions and the historical map.
Additionally, a frozen SupScene [23] encoder extracts an -normalized descriptor for retrieval. The per-frame state and the initialized global reconstruction state are formulated as
(3)
Finally, we estimate the characteristic scene spacing from the median 3D distance between adjacent high-confidence points. This metric captures the local geometric scale of the scene and is later used to derive a scale-adaptive translation threshold for validation.
C. Retrieval-Guided Dynamic Subset Construction
Since the online arrival order does not guarantee spatial continuity, a fixed sliding window may feed spatially disjoint images into local subset for 3R inference. To overcome this, we leverage the historical descriptors to dynamically

Fig. 2: Overview of the proposed On-the-Fly3R framework.
select shared context for newly fly-in images. For a candidate query frame , the SupScene [23] encoder produces a corresponding descriptor . Its cosine similarity to an accepted historical frame is
Given the current global state , the top- historical reference set for is:
To process images in batches, the dynamic query subset expands sequentially. For a candidate frame , we evaluate its compatibility with the current query set using two metrics: the reference-overlap count and the maximum visual similarity to existing queries:
where is the dominant reference set aggregated from . A candidate is admitted to if and only if:
This condition ensures that a newly arrived image is both visually coherent with the current batch and shares sufficient geometric support with it. Expansion halts when the next image is incompatible or when the batch reaches its maximum capacity , yielding the final query set .
We then aggregate the retrieval results of all frames in , prioritizing historical frames supported by multiple queries with high similarity, to form the reference subset . The final local subset fed to the 3R model is:
Applying the same adapter as in initialization, we obtain the unified local reconstruction:
D. Confidence-Weighted Sim(3) Estimation
The reference frames occur in both the current local reconstruction and the historical global state, serving as geometric links between the two coordinate systems. For the compact geometric reference of a reference frame , we utilize its stored pixel locations to sample the current local 3D points from the point map, pairing them with the historical global points . The correspondence weight is defined as the geometric mean of their confidences:
After collecting all valid correspondences across all reference frames , we estimate the similarity transformation to register the -th local reconstruction to the global map:
where is a Huber robust loss. We solve this via a two-stage pipeline: initializing with a confidence-weighted closed-form solution, followed by Iteratively Reweighted Least Squares (IRLS) to suppress outlier correspondences.
E. Validation-Retry Mechanism and Global Update
The reliability of local registration is inherently vulnerable to two factors. On the one hand, 3R models' predictions for the same reference image are inconsistent under different contexts. On the other hand, appearance-based retrieval may introduce historical references that are visually similar but spatially unrelated. Both can yield a numerically estimable but geometrically spurious Sim(3). Therefore, to prevent error propagation, before updating the global state, we enforce a strict validation-retry protocol before global integration.
Specifically, the local camera poses of the reference frames are transformed into the global frame via the estimated Sim(3) and compared against the camera poses stored in the global state. For each reference frame , the translation and rotation residuals are:
(12)
The system jointly evaluates these residuals and verifies that the estimated scale is physically plausible. The translation threshold is adaptively scaled by the characteristic scene spacing estimated during initialization:
If the initial validation fails, the system triggers a two-stage retry mechanism:
• Geometric Pruning: We estimate an independent Sim(3) for each reference frame and analyze their consistency to identify and remove anomalous historical references. The system then re-estimates and validates using the remaining references without re-running the 3R model inference.
• Contextual Pruning: Inspired by the observation in [24] that register tokens can capture global information, we use them when geometric pruning fails. We compare the 3R model register tokens of the reference and query frames to identify semantically incompatible references. These are discarded, and the 3R model inference, registration, and validation are repeated once with the pruned subset.
Only local results passing either the initial check or a retry stage are committed to the global state. Let denote the points fused from the new query frames in the k-th update. The global state updates as:
Each newly accepted frame state contains its global camera pose, intrinsics, retrieval descriptor, and compact geometric reference. If both retry stages fail, the entire local subset is rejected and , effectively isolating the unreliable reconstruction and preventing cascading errors.
F. Pose Graph Optimization
While the validation mechanism ensures local reliability, successive local-to-global registrations may still accumulate drift. To enforce global consistency, we construct a pose graph for pose refinement. The node set corresponds to all accepted frames, and each node is associated with an optimizable camera pose . The edge set consists of three types of constraints:
Here, connects historical reference frames to current query frames (acting as loop closures for large temporal gaps); connects query frames within the same local 3R reconstruction; and connects temporally adjacent arriving images that satisfy retrieval-association and motion-plausibility checks. Edge weights in are dynamically assigned based on alignment robustness (inlier ratio and residual magnitude).
The final camera poses are optimized on SE(3) via robust least squares:
(16)
where is the relative-pose observation on an edge, is the edge information matrix encoding constraint reliability, and is a Huber robust kernel.
IV. EXPERIMENT
A. Datasets and Evaluation Metrics
We evaluate On-the-Fly3R on two large-scale UAV benchmarks and one popular indoor dataset to assess both domain-specific performance and cross-domain generalization. GauU-SceneV2 [25] features four weakly ordered scenes ranging from 424 to 1,500 images, providing high-quality LiDAR ground truth and reference camera poses. UrbanScene [26] comprises two massive scenes, Residence (2,582 images) and Campus (5,871 images), with dense reference point clouds generated by the commercial software - iTwin. Collectively, these datasets present significant real-world challenges, including multi-strip flight patterns, varying viewing angles, repetitive structures, and substantial scale variations. Additionally, we include the 7Scenes [27] to examine our generalization capability of indoor environments.
For camera pose evaluation, we report four standard root-mean-square error (RMSE) metrics: Absolute Translation Error (ATE, in meters) and Absolute Rotation Error (ARE, in degrees) measure global discrepancies; Relative Translation Error (RTE) quantifies the angular deviation between the predicted and ground-truth translation vectors of consecutive frames; and Relative Rotation Error (RRE, in degrees) measures their relative rotational discrepancy. For dense reconstruction, we report accuracy (Acc.), completeness (Comp.), and Chamfer distance (CD) against the referenced point clouds.
B. Implementation details
All experiments are executed on a machine equipped with dual Intel Xeon Gold 6133 CPUs and a single NVIDIA RTX 4090 GPU (24 GB VRAM) running Ubuntu 22.04. Consistent with our training-free design, all 3R models are kept strictly frozen without any fine-tuning; Pi3x [19] serves as the default backbone unless otherwise specified. Regarding the settings of hyperparameters, we initialize the global map with images. During progressive reconstruction, each dynamic batch admits up to new query images, retrieves historical references, and requires a minimum of 3 valid references to ensure robust local-to-global alignment. To strictly bound memory consumption, we retain up to 5,000 compact geometric reference points per accepted frame. Final camera poses are globally refined using a pose-graph optimization backend implemented in GTSAM.
To ensure a strictly fair comparison, all baseline methods share identical input images, ground-truth references, and evaluation protocols. Runtime is normalized per input image, and peak GPU memory is recorded over the entire reconstruction pipeline.
C. Comparison with other SOTA 3R Methods
We compare On-the-Fly3R against eleven state-of-the-art scalable 3R methods, encompassing both streaming-based (LingBot-Map [13], StreamVGGT [10], CUT3R [9], TTT3R [11], InfiniteVGGT [12]) and chunk-based (Scal3R [7], VGGT-SLAM [5], VGGT-Long [4], TALO [6], FastVGGT [28], MERG3R [22]) paradigms. All methods are fed the identical complete image sequences. Since our validation mechanism may reject unreliable local updates to prevent cascading errors, we report both the returned-pose metrics (evaluating only the poses the method successfully outputs) and the coverage rate. To ensure a strictly fair comparison free from selective output bias, we further evaluate all methods on a common frame set consisting of the 11,595 images (95.39% of the total 12,155 inputs) successfully accepted by On-the-Fly3R (Pi3x) across the six outdoor UAV scenes.
Table I reports the per-scene ATE and the overall pose coverage. Methods like FastVGGT and InfiniteVGGT suffer from Out-Of-Memory (OOM) errors on larger scenes, highlighting the severe memory bottleneck of native global inference. TALO fails to complete most scenes (21.24% coverage). In contrast, all three variants of On-the-Fly3R maintain high coverage (89%–96%) while achieving significantly lower errors. Notably, On-the-Fly3R (Pi3x) achieves the most stable and comprehensive performance across all scenes, while the VGGT-Omega variant attains the highest coverage and excels in specific large-scale scenes like Campus.
Table II presents the macro-average results on the common frame set. By controlling for the evaluation mask, we eliminate the bias of selective reporting. On-the-Fly3R (Pi3x) drastically reduces the ATE from 124.42 m (the strongest baseline, MERG3R) to 18.56 m, while simultaneously achieving superior ARE, RTE, and RRE. This confirms that our retrieval-guided context and validation mechanism significantly resolve the catastrophic drifts inherent in existing scalable methods.
To verify that our progressive framework is not strictly limited to large-scale outdoor UAV imagery, we evaluate its generalization capability on the indoor 7Scenes dataset.
TABLE I: Per-scene ATE (m) and pose coverage (%) across six outdoor scenes. Coverage denotes the ratio of successfully reconstructed poses. Best and second-best errors are highlighted in bold and underlined, respectively. “-” indicates failure to reconstruct, and “OOM” denotes out-of-memory.
| Method | HAV424 | SMBU563 | SZIT1215 | SZTU1500 | Residence2582 | Campus5871 | Coverage(%) |
|---|---|---|---|---|---|---|---|
| LingBot-Map | 180.43 | 135.55 | 295.06 | 176.75 | 73.04 | 404.43 | 100.00 |
| StreamVGGT | 263.77 | 269.30 | 384.35 | 470.77 | 134.32 | 499.33 | 100.00 |
| CUT3R | 210.17 | 260.63 | 365.24 | 461.85 | 133.19 | 480.23 | 100.00 |
| TTT3R | 123.59 | 207.09 | 313.12 | 468.26 | 115.58 | 458.93 | 100.00 |
| Scal3R | 51.21 | 40.77 | 168.44 | 211.59 | 44.76 | 349.00 | 100.00 |
| VGGT-SLAM | 115.28 | 103.24 | 87.25 | 241.94 | 16.49 | 470.09 | 100.00 |
| VGGT-Long | 54.16 | 185.47 | 166.04 | 367.10 | 44.38 | 336.06 | 100.00 |
| TALO | 103.92 | 21.24 | |||||
| FastVGGT | OOM | OOM | OOM | OOM | OOM | OOM | 0.00 |
| InfiniteVGGT | 216.15 | 167.83 | 310.41 | 382.03 | OOM | OOM | 30.46 |
| MERG3R | 50.02 | 9.80 | 145.13 | 55.33 | 5.74 | 492.95 | 100.00 |
| On-the-Fly3R (Pi3) | 7.73 | 17.22 | 23.72 | 47.18 | 3.28 | 42.29 | 89.81 |
| On-the-Fly3R (Pi3x) | 4.20 | 14.47 | 29.27 | 28.82 | 1.65 | 32.95 | 95.39 |
| On-the-Fly3R (VGGT-Omega) | 3.64 | 93.54 | 5.22 | 97.46 | 1.25 | 16.00 | 96.26 |
TABLE II: Six-scene macro-average pose errors evaluated on the common frame set accepted by On-the-Fly3R (Pi3x). Methods that failed to reconstruct the common set are omitted.
| Method | ATE (m)↓ | ARE (°)↓ | RTE (°)↓ | RRE (°)↓ |
|---|---|---|---|---|
| LingBot-Map | 205.62 | 26.02 | 43.01 | 5.76 |
| StreamVGGT | 328.54 | 126.41 | 74.52 | 15.81 |
| CUT3R | 311.52 | 88.16 | 46.25 | 13.29 |
| TTT3R | 270.91 | 47.44 | 48.32 | 13.81 |
| Scal3R | 142.88 | 29.23 | 18.11 | 3.01 |
| VGGT-SLAM | 187.12 | 29.22 | 22.78 | 6.49 |
| VGGT-Long | 187.88 | 50.10 | 22.78 | 8.20 |
| MERG3R | 124.42 | 26.29 | 54.11 | 22.89 |
| On-the-Fly3R (Pi3x) | 18.56 | 2.78 | 10.85 | 1.52 |
As shown in Table III, On-the-Fly3R with VGGT-Omega achieves the lowest ATE across all seven scenes, reducing the scene-averaged ATE from 5.32 cm (MERG3R) to an impressive 2.30 cm. The Pi3 and Pi3x variants also remain highly competitive with the strongest baselines. This demonstrates the plug-and-play nature of our framework, which can seamlessly upgrade diverse 3R models for robust indoor reconstruction.
Table IV evaluates the trade-off between dense reconstruction quality, runtime, and peak GPU memory. On-the-Fly3R (Pi3x) achieves a mean Chamfer Distance (CD) of 3.85 m, which is substantially lower than the best complete baseline (MERG3R at 16.41 m) and the fastest baseline (LingBot-Map at 18.07 m). While LingBot-Map is faster (0.38 s/frame), its reconstruction accuracy is severely compromised. In contrast, our method maintains a highly competitive runtime (0.72–0.81 s/frame), comparable to streaming methods and significantly faster than chunk-based approaches, while strictly operating within the 24 GB GPU memory budget. A visual comparison result can be found in Fig. 3, showing our point cloud is the most consistent with the ground truth. This demonstrates a Pareto-optimal trade-off, delivering massive accuracy gains with only a marginal computational overhead.
TABLE III: ATE (cm) on 7Scenes(sequence 01, temporal stride 5). Best and second-best results are highlighted in bold and underlined, respectively.
| Method | Chess | Fire | Heads | Office | Pumpkin | Kitchen | Stairs | Avg. |
|---|---|---|---|---|---|---|---|---|
| LingBot-Map | 3.93 | 3.49 | 3.16 | 10.48 | 13.82 | 5.49 | 14.39 | 7.82 |
| StreamVGGT | 59.49 | 56.65 | 26.45 | 50.79 | 56.66 | 40.66 | 79.30 | 52.86 |
| CUT3R | 59.51 | 9.72 | 19.09 | 32.03 | 38.64 | 20.98 | 31.73 | 30.24 |
| TTT3R | 7.63 | 4.48 | 5.42 | 11.31 | 18.30 | 7.10 | 8.23 | 8.93 |
| Scal3R | 4.81 | 3.29 | 1.79 | 10.40 | 14.09 | 5.48 | 1.95 | 5.97 |
| VGGT-SLAM | 4.00 | 2.80 | 3.66 | 9.53 | 15.08 | 5.00 | 2.17 | 6.04 |
| VGGT-Long | 4.93 | 3.20 | 2.18 | 9.41 | 14.86 | 4.51 | 4.49 | 6.23 |
| TALO | 30.30 | 7.68 | 4.11 | 13.71 | 14.84 | 3.97 | 2.58 | 11.03 |
| FastVGGT | 4.09 | 3.18 | 1.91 | 11.24 | 15.43 | 5.55 | 3.40 | 6.40 |
| InfiniteVGGT | 7.40 | 3.50 | 4.56 | 14.75 | 14.08 | 8.61 | 30.09 | 11.86 |
| MERG3R | 3.84 | 2.63 | 1.85 | 8.29 | 13.94 | 3.91 | 2.76 | 5.32 |
| On-the-Fly3R (Pi3) | 3.90 | 3.38 | 3.80 | 8.19 | 13.42 | 3.38 | 2.95 | 5.57 |
| On-the-Fly3R (Pi3x) | 4.04 | 3.73 | 3.55 | 8.11 | 14.23 | 3.33 | 2.38 | 5.62 |
| On-the-Fly3R (VGGT-Omega) | 1.64 | 2.02 | 1.72 | 2.38 | 4.80 | 1.97 | 1.58 | 2.30 |
TABLE IV: Dense reconstruction quality, runtime, and peak-memory on the six outdoor UAV scenes. Point-cloud metrics and runtime are macro-averaged across completed scenes; memory is the maximum recorded peak. "↓" denotes an incomplete point-cloud result.
| Method | PC scenes | Acc. | Comp. | CD | Time (s/frame) | Peak (GB) |
|---|---|---|---|---|---|---|
| LingBot-Map | 6/6 | 18.12 | 18.02 | 18.07 | 0.382 | 18.40 |
| StreamVGGT | 5/6 | 47.80 | 46.24 | 47.02 | 0.787 | 13.78 |
| CUT3R | 6/6 | 37.78 | 57.84 | 47.81 | 0.776 | 3.58 |
| TTT3R | 6/6 | 30.80 | 41.84 | 36.32 | 0.725 | 6.20 |
| Scal3R | 6/6 | 20.39 | 30.68 | 25.54 | 2.272 | 14.38 |
| VGGT-SLAM | 6/6 | 17.07 | 9.81 | 13.44 | 1.602 | 21.46 |
| VGGT-Long | 6/6 | 19.64 | 18.31 | 18.97 | 2.328 | 19.87 |
| MERG3R | 6/6 | 24.69 | 8.12 | 16.41 | 0.959 | 16.36 |
| On-the-Fly3R (Pi3) | 6/6 | 5.47 | 5.77 | 5.62 | 0.736 | 9.90 |
| On-the-Fly3R (Pi3x) | 6/6 | 4.47 | 3.22 | 3.85 | 0.814 | 17.56 |
| On-the-Fly3R (VGGT-Omega) | 6/6 | 7.26 | 2.44 | 4.85 | 0.723 | 9.90 |

Fig. 3: Qualitative comparison of dense reconstruction.
D. Comparison with Vanilla 3R Methods
To quantify the accuracy cost of scaling, we compare On-the-Fly3R against the native joint inference of various 3R models. Under the 24 GB memory constraint, we restrict the input to 58 images to ensure all backbones can complete native inference without OOM. As shown in Table V, replacing global joint inference with our progressive local updates introduces only a marginal accuracy gap. On-the-Fly3R even outperforms native inference in 7 out of 10 model-scene combinations. This proves that our retrieval-guided context and validation mechanism successfully preserve the powerful geometric priors of the frozen VFMs while extending their capacity to massive scenes.
TABLE V: Comparison between vanilla 3R methods joint inference and On-the-Fly3R using an identical 58-image input. Bold indicates cases where On-the-Fly3R outperforms native inference.
| Backbone | Mode | SZIT | Residence | SZIT | Residence |
|---|---|---|---|---|---|
| ATE | ATE | CD | CD | ||
| MapAnything | Vanilla | 5.73 | 3.62 | 1.90 | 1.82 |
| On-the-Fly3R | 5.68 | 2.42 | 2.24 | 2.14 | |
| Pi3 | Vanilla | 3.38 | 1.92 | 1.41 | 1.79 |
| On-the-Fly3R | 7.81 | 2.30 | 2.50 | 2.02 | |
| Pi3x | Vanilla | 2.17 | 1.34 | 1.32 | 1.33 |
| On-the-Fly3R | 3.17 | 1.20 | 1.63 | 1.35 | |
| VGGT | Vanilla | 5.88 | 8.46 | 1.81 | 2.60 |
| On-the-Fly3R | 3.60 | 2.56 | 1.74 | 1.50 | |
| VGGT-Omega | Vanilla | 2.19 | 1.74 | 1.47 | 1.34 |
| On-the-Fly3R | 2.11 | 1.13 | 1.61 | 1.21 |
TABLE VI: Ablation study with VGGT-Omega on HAV and Residence. Dyn.: Dynamic batching; V&R: Validation & Retry; PGO: Pose Graph Optimization.
| Case | Dyn. | V&R | PGO | HAV | Residence | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ATE | ARE | RTE | RRE | ATE | ARE | RTE | RRE | ||||
| (1) | ✗ | ✗ | ✗ | 208.76 | 85.49 | 37.03 | 43.009 | 3.37 | 0.90 | 7.63 | 0.516 |
| (2) | ✓ | ✗ | ✗ | 193.51 | 60.14 | 24.03 | 30.970 | 2.40 | 0.81 | 4.11 | 0.344 |
| (3) | ✗ | ✓ | ✗ | 30.94 | 10.34 | 19.40 | 13.291 | 3.20 | 0.83 | 7.43 | 0.348 |
| (4) | ✓ | ✓ | ✗ | 4.51 | 1.57 | 8.40 | 0.590 | 2.34 | 0.79 | 4.10 | 0.337 |
| (5) | ✓ | ✓ | ✓ | 3.64 | 1.18 | 10.03 | 0.680 | 1.25 | 0.52 | 1.58 | 0.220 |
E. Ablation Study
We conduct ablations with VGGT-Omega as backbone 3R model on HAV and Residence to isolate the contributions of three core components: retrieval-guided dynamic batching (Dyn.), validation with reference-pruning retry (V&R), and pose graph optimization (PGO). Table VI reports the four pose RMSE metrics under five cases, and a corresponding qualitative result is illustrated by Fig. 4.
Impact of Dynamic Batching and V&R: Dynamic batching alone provides moderate improvement by ensuring spatial overlap, but fails to prevent catastrophic local failures on HAV (ATE drops only from 208.76 to 193.51 m). In contrast, V&R is the primary driver of robustness; even without dynamic batching, it reduces HAV ATE to 30.94 m by actively rejecting inconsistent references. Their combination yields a synergistic effect, plummeting the ATE to 4.51 m. This confirms that constructing geometrically consistent contexts (Dyn.) and explicitly gating reliability (V&R) are complementary and both indispensable.
Role of Pose Graph Optimization: PGO further reduces the absolute ATE to 3.64 m on HAV and from 2.34 to 1.25 m on Residence. Interestingly, on HAV, while ATE and ARE improve, RTE and RRE increase slightly. This is a theoretically expected behavior in SLAM: PGO optimizes the global trajectory to minimize absolute drift (ATE/ARE) by distributing errors across the graph, which can occasionally slightly compromise local relative consistency (RTE/RRE) if the local VFM predictions were already highly coherent. Nevertheless, the overall global geometric consistency is significantly enhanced, as evidenced by the uniform metric improvements on the longer Residence scene.

Fig. 4: Visual results of ablation studies.
V. CONCLUSION
In this paper, we introduced On-the-Fly3R, a training-free progressive reconstruction framework designed to scale feed-forward 3D visual foundation models to large-scale, unordered UAV imagery. Our approach addresses the memory bottlenecks and strict spatiotemporal assumptions of existing methods through two key components: retrieval-guided dynamic subset construction for geometrically consistent local context, and a validation-rejection-retry mechanism to actively suppress cascading error propagation. Extensive evaluations across diverse indoor and outdoor benchmarks confirm that On-the-Fly3R can process thousands of images and square-kilometer UAV scenes within a bounded GPU memory budget, matching the accuracy of offline global inference. Moving forward, we plan to investigate semantic-assisted retrieval for challenging textures and explore fully incremental backend optimization to enable true real-time dynamic scene reconstruction.
REFERENCES
[1] S. Wang, V. Leroy, Y. Cabon et al., "DUSt3R: Geometric 3D vision made easy," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 20697–20709. [2] V. Leroy, Y. Cabon, and J. Revaud, "Grounding image matching in 3D with MAS3R," in European Conference on Computer Vision (ECCV). Springer, 2024, pp. 71–91. [3] J. Wang, M. Chen, N. Karaev et al., "VGGT: Visual geometry grounded transformer," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 5294–5306. [4] K. Deng, Z. Ti, J. Xu et al., "VGGT-Long: Chunk it, loop it, align it—pushing VGGT's limits on kilometer-scale long RGB sequences," in IEEE International Conference on Robotics and Automation (ICRA), 2026. [5] D. Maggio, H. Lim, and L. Carlone, "VGGT-SLAM: Dense RGB SLAM optimized on the SL(4) manifold," in Advances in Neural Information Processing Systems (NeurIPS), vol. 38, 2025. [6] F. Zhang, T. Zhang, K. Khosoussi et al., "TALO: Pushing 3D vision foundation models towards globally consistent online reconstruction," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026, pp. 21 870–21 879. [7] T. Xie, P. Yang, Y. Jin et al., "Scal3R: Scalable test-time training for large-scale 3D reconstruction," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026, pp. 21 760–21 771. [8] H. Wang and L. Agapito, "3D reconstruction with spatial memory," in 2025 International Conference on 3D Vision (3DV). IEEE, 2025, pp. 78–89. [9] Q. Wang, Y. Zhang, A. Holynski et al., "Continuous 3D perception model with persistent state," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 10 510–10 522.
[10] D. Zhuo, W. Zheng, J. Guo et al., "Streaming visual geometry transformer," in International Conference on Learning Representations (ICLR), 2026. [11] X. Chen, Y. Chen, Y. Xiu et al., "TTT3R: 3D reconstruction as test-time training," in International Conference on Learning Representations (ICLR), 2026. [12] S. Yuan, Y. Yang, X. Yang et al., "InfiniteVGGT: Visual geometry grounded transformer for endless streams," arXiv preprint arXiv:2601.02281, 2026. [13] L.-Z. Chen, J. Gao, Y. Chen et al., "Geometric context transformer for streaming 3D reconstruction," arXiv preprint arXiv:2604.14141, 2026. [14] J. L. Schönberger and J.-M. Frahm, "Structure-from-motion revisited," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 4104–4113. [15] Z. Zhan, Y. Yu, R. Xia et al., "Sfm on-the-fly: A robust near real-time sfm for spatiotemporally disordered high-resolution imagery from multiple agents," ISPRS Journal of Photogrammetry and Remote Sensing, vol. 224, pp. 202–221, 2025. [16] L. Lou, W. Li, W. Gan et al., "On-the-fly feedback structure from motion: Online explore-and-exploit unmanned aerial vehicle photogrammetry with incremental mesh quality-aware indicator and predictive path planning," IEEE Geoscience and Remote Sensing Magazine, vol. 14, pp. 219–239, 2026. [17] Y. Xu, X. Wang, Y. Yu et al., "A-tdom: Active tdom via on-the-fly 3dgs," International Journal of Computer Vision, vol. 134, 2026. [18] J. Yang, A. Sax, K. J. Liang et al., "Fast3R: Towards 3D reconstruction of 1000+ images in one forward pass," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2025, pp. 21 924–21 935. [19] Y. Wang, J. Zhou, H. Zhu et al., "π³: Permutation-equivariant visual geometry learning," in International Conference on Learning Representations (ICLR), 2026. [20] N. Keetha, N. Müller, J. Schönberger et al., "MapAnything: Universal feed-forward metric 3D reconstruction," in International Conference on 3D Vision (3DV). IEEE, 2026, pp. 499–509. [21] Y. Lan, Y. Luo, F. Hong et al., "Stream3R: Scalable sequential 3D reconstruction with causal transformer," in International Conference on Learning Representations (ICLR), 2026. [22] L. K. Cheng, A. Shaikh, R. Liang et al., "MERG3R: A divide-and-conquer approach to large-scale neural visual geometry," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026, pp. 28 969–28 978. [23] X. Shi, M. Wang, Y. Peng et al., "SupScene: Scene-structured overlap supervision for image retrieval in unconstrained SfM," arXiv preprint arXiv:2601.11930, 2026. [24] J. Wang, M. Chen, S. Zhang et al., "VGGT-Ω," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026, pp. 21 486–21 499. [25] B. Xiong, N. Zheng, J. Liu et al., "GauU-Scene V2: Assessing the reliability of image-based metrics with expansive LiDAR image dataset using 3DGS and NeRF," arXiv preprint arXiv:2404.04880, 2024. [26] L. Lin, Y. Liu, Y. Hu et al., "Capturing, reconstructing, and simulating: The UrbanScene3D dataset," in European Conference on Computer Vision (ECCV). Springer, 2022, pp. 93–109. [27] J. Shotton, B. Glocker, C. Zach et al., "Scene coordinate regression forests for camera relocalization in RGB-D images," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2013, pp. 2930–2937.
[28] Y. Shen, Z. Zhang, Y. Qu et al., “FastVGGT: Fast visual geometry transformer,” in International Conference on Learning Representations (ICLR), 2026.