UniQuery4R: Unified 4D Scene Reconstruction from a Single Query
Abstract
Reconstructing dynamic 4D scenes requires jointly estimating correspondence, geometry, object motion, and camera motion. Existing feed-forward methods typically predict dense task-specific maps or independently process source–target pairs, leading to unnecessary computation for sparse queries and limited feature reuse across different frame pairs. We present UniQuery4R, a query-conditioned framework that encodes a multi-frame clip once and selects the source view, target view, and continuous source-image coordinate only at decoding time via source-to-target cross-attention. Each query jointly predicts target correspondence, target-time 3D position, and scene flow, along with source depth, while camera parameters are estimated per view. This design allows the encoded clip to be reused across arbitrary source–target selections and supports both sparse inference and dense reconstruction through batched queries, without learned temporal embeddings tied to a fixed clip length. We further introduce a direction–magnitude parameterization of scene flow with separate supervision for moving and static points. Among the evaluated methods, UniQuery4R achieves the best macro-average results on WorldTrack for both scene-flow estimation and dynamic-point reconstruction.
1 Introduction
Estimating scene geometry, object motion, and camera motion from video is a fundamental problem in dynamic scene understanding. Classical SfM, SLAM, and MVS pipelines are effective for static scenes (30; 43), but their reliance on scene rigidity and iterative optimization limits their applicability to unconstrained dynamic videos.
Recent feed-forward methods predict different combinations of dynamic geometry, object motion, and camera pose (15; 41). Many of them produce dense outputs or construct global scene representations, which are well suited to full-scene reconstruction but incur unnecessary computation when only a small set of points is queried. Moreover, correspondence, geometry, and motion are often handled by task-specific or sequential modules rather than a shared point-level representation.
We instead formulate dynamic reconstruction around a continuous source-pixel query. Tracking datasets annotate 2D trajectories with floating-point image coordinates; dense per-pixel prediction on an integer grid quantizes these labels and loses sub-pixel information, whereas a continuous query reads the requested location directly. Given a source-image coordinate and a target view, the model predicts the point’s target correspondence, target-time 3D position, and scene flow from a shared query representation. These quantities describe the same physical point across space and time and can therefore be estimated from common visual evidence. Camera parameters, by contrast, are view-level quantities and are predicted separately from per-frame representations.
We introduce UniQuery4R, which jointly encodes the input clip independently of the query ; the source view, target view, and source-image coordinate are used only by the query decoder (Figure 1). In D4RT (45) (Table 1), each query attends to a global scene representation comprising patches from all input frames. Because this interaction alone does not identify the requested target frame, D4RT specifies the target time through a learned temporal embedding in the query, tying the model to a predefined 48-frame horizon. UniQuery4R instead samples a query token at the specified coordinate from the selected source features and lets it attend only to the selected target features. The target frame is thus specified by feature selection rather than a learned temporal code, avoiding fixed-index target-time embeddings and enabling variable-length clips.
| Method | Input Clip Length | Query Source | Key / Value | Supported Output |
|---|---|---|---|---|
| V-DPM | Variable | N/A | N/A | Dense |
| D4RT | Fixed (48 frames) | Input embedding | All-frame patches | Sparse / Dense |
| UniQuery4R (ours) | Variable | Sampled from | patches | Sparse / Dense |
Our contributions are summarized as follows:
- •
We formulate feed-forward 4D reconstruction as continuous source-pixel queries over a jointly encoded, variable-length clip. Each query is formed from the selected source features and interacts only with the selected target features, avoiding temporal embeddings tied to a fixed set of frame indices. The resulting point-level representation jointly predicts correspondence, geometry, and motion, while source depth and per-view camera parameters are decoded separately.
- •
We introduce a direction–magnitude parameterization of scene flow, consisting of an -normalized direction vector and a non-negative magnitude. It is trained with objectives for log-space displacement, moving-point direction, and static-point magnitude, and empirically outperforms direct Cartesian regression in our ablations.
- •
We evaluate UniQuery4R on four datasets under the WorldTrack protocol. Among the evaluated methods, it achieves the best four-dataset macro-average results for both scene flow and dynamic-point tracking.
2 Related Work
Feed-Forward 3D and 4D Reconstruction
Classical 3D reconstruction is grounded in multi-view geometry. SfM and SLAM estimate camera motion together with scene structure, whereas MVS recovers dense geometry from calibrated views (30; 43). Learned feature matching and differentiable optimization have further improved the robustness and accuracy of these pipelines (29; 17; 34). Despite these advances, most classical reconstruction pipelines assume a static scene and retain iterative optimization, limiting their applicability to dynamic videos.
Feed-forward models instead infer geometry and camera parameters directly from images. DUSt3R showed that dense pointmaps can be recovered from unposed pairs without SfM (38), and MUSt3R/MASt3R-SfM extended this to multi-view and unconstrained settings (2; 3); VGGT unified camera, depth, point-map, and point-track prediction in one pass (36), later scaled by VGGT- (37) and extended to online SLAM (22), while MonST3R generalized pointmaps to dynamic videos (46).
For dynamic scenes, Dynamic Point Maps (DPM) and V-DPM introduced temporally consistent pointmaps that jointly model static and dynamic geometry over time (32; 31), and D2USt3R folded temporal correspondence into 4D pointmaps (8). Recent feed-forward frameworks recover different combinations of geometry, motion, correspondence, and appearance for dynamic reconstruction (14; 15; 4; 41; 45; 21; 9); related foundation models such as Dens3R focus instead on static 3D geometry prediction (5). Most of these systems construct dense full-scene representations. Two conditional designs are closest to ours. D4RT answers point-level spatiotemporal queries that specify source time, target time, and camera reference, but identifies the target through a learned temporal embedding over a fixed frame horizon (45). 4RC exposes a conditional interface that selects a target time from a reconstructed 4D representation and decodes dense geometry and motion (21). In contrast, we jointly encode a variable-length clip, select source and target only at decoding time, and answer each continuous pixel query by source-to-target cross-attention, with per-frame cameras decoded separately as in VGGT (36). Related continuous decoding appears in InfiniDepth, which also uses a feature-pyramid decoder, but for single-image depth rather than multi-frame source-to-target queries (44).
3D Point Tracking
Tracking establishes consistent cross-frame correspondences and underpins dynamic scene understanding. Recent feed-forward methods differ mainly in how they couple trajectories with geometry. SpatialTrackerV2 jointly estimates depth and camera motion, then refines tracks and poses by differentiable joint optimization that decomposes world motion into geometry, ego-motion, and object motion (40). St4RTrack predicts paired pointmaps in a shared world frame and chains anchored pairs for long-range correspondence (6). Trace Anything forms a dense trajectory field by predicting per-pixel B-spline control points for continuous-time 3D trajectories in one pass (19). Track4World globally encodes the video and estimates dense pairwise 2D/3D flow to obtain world-centric all-pixel trajectories (20). Reconstruction-oriented variants include TrajVG, which couples sparse camera-frame 3D trajectories with local pointmaps (23), and Uni4D, which combines pretrained depth, tracking, and segmentation in multi-stage optimization (42). These works emphasize full trajectories or scene-level reconstruction; we instead answer a continuous source-pixel query at a chosen target by jointly decoding correspondence, target-time 3D geometry, and scene flow.
Scene Flow and Dense 4D Motion
Scene flow is the 3D displacement of scene points between observations and links dynamic geometry to tracking. MoVieS models time-varying motion of pixel-aligned Gaussians for view synthesis, geometry, and zero-shot scene flow (15); Any4D predicts dense metric per-pixel geometry and motion over multiple frames (14); and 4RC encodes once then conditionally decodes dense geometry and motion to arbitrary target times (21). Track4World estimates dense pairwise 2D/3D flow from a globally encoded video (20). Other representations encode motion differently: V-DPM predicts time-variant and time-synchronized dynamic pointmaps from which per-point 3D motion can be recovered (31), while OmniX parameterizes dense trajectory fields with compact dynamic tokens that separate dynamic from static geometry (9). Flow4R treats camera-space scene flow as the central quantity, predicting per-pixel point, flow, pose weight, and confidence from each image pair and processing sequences as independent anchor–frame pairs (26), so each pair needs a new two-view pass rather than reusing one jointly encoded multi-view clip.
3 Method
Overview
Given a clip , UniQuery4R first jointly encodes all views into multi-view-contextualized feature pyramids. A continuous query selects source and target only at decoding time. Multi-scale sampling from the selected source yields , which attends to all tokens of the selected target to form for correspondence, geometry, and motion; source features provide depth, while per-frame tokens predict cameras (Figure 2). Source and target views are selected from the encoded features only at decoding time, allowing the backbone computation to be reused across different choices. The query decoder represents temporal relations through source-to-target feature interaction rather than a learned temporal embedding indexed by a predefined frame set.
The query interface preserves sub-pixel coordinates through differentiable sampling. At a fixed target resolution, decoding cost scales with the requested number of points, so sparse on-demand inference and dense reconstruction share the same model, with the latter obtained by batching a grid of queries. Because one query-conditioned representation drives correspondence, geometry, and motion, these outputs can exploit common evidence instead of being reconstructed by isolated task pipelines.
Query Formulation and Outputs
| Output | Sym. | Q? | Description |
| Local, per-query — from | |||
| Dynamic point | Y | target-time pos. (ref.-cam.) | |
| Scene flow | Y | displ. (ref.-cam.) | |
| 2D corresp. | Y | target-image coordinate | |
| Conf./prec. | Y | point and correspondence | |
| Local, per-query — from | |||
| Depth/conf. | Y | source depth and confidence | |
| Global, per-view — camera tokens | |||
| Camera | N | extrinsics + intrinsics | |
A query specifies a pixel in source view and a target view . UniQuery4R predicts
| (1) |
together with query-independent per-view camera parameters . We fix view , rather than the source view, as the reference. In this frame, is the target-time location of the queried source point and is its scene flow. Pixel coordinates are mapped to for sampling. The correspondence is directly regressed as the absolute target coordinate in this normalized system; its linear output is not hard-clipped to . The supervised auxiliary outputs are point confidence , four correspondence confidence/precision logits , and depth confidence (Table 2). Finally, contains per-view translation, quaternion rotation, and FoVs ordered as vertical then horizontal .
Coordinate and Scale Convention.
All 3D outputs and camera translations share the view- coordinate system and scale. During training, valid ground-truth geometry is divided by the clip-level mean point-to-view--origin distance. At inference this label-derived scale is unavailable, so predictions are up to a global scale. Following WorldTrack, point maps and scene flow are independently aligned using the same median-based procedure: for each output type, the global scale is the ratio of the median ground-truth Euclidean magnitude to the median predicted Euclidean magnitude. The m moving/static threshold is applied after restoring each sample’s metric scale, whereas displacement regression operates in the normalized space.
Multi-Scale Source-to-Target Attention
UniQuery4R uses an internal multi-view 3D foundation model initialized from DA3-Giant (16). It jointly processes so that each view’s tokens are contextualized by the other input views. Tokens from four encoder stages are linearly projected and pixel-shuffled with stage-dependent upsampling factors :
| (2) |
The resulting multi-scale feature pyramid combines fine localization from shallow stages with semantic and multi-view context from deeper stages. Source and target pyramids are selected from this shared representation only after encoding; further encoder details are provided in the supplementary material.
Given a query , we bilinearly sample each level of the source pyramid at the continuous location, preserving sub-pixel coordinates without quantization. We order the sampled features from the shallowest/finest to the deepest as . Starting from the finest sampled feature, we progressively inject deeper semantics through learned gates:
| (3) | ||||
Here projects the accumulated feature to the current level, and the gate adaptively retains fine localization while incorporating progressively deeper semantic and multi-view context. The fused feature is the continuous source query representation.
For source–target interaction, the query indices select two feature hierarchies from the already encoded clip, and attends to the entire target feature map . We apply a stack of Pre-LN cross-attention blocks in which is the query and provides keys and values, followed by a linear readout to the query-conditioned representation . Crucially, we do not sample the target at the same : correspondence emerges from attending over the full target field. The module uses neither local windows, predefined matches, nor a temporal embedding. Thus, is a decoding choice rather than an input-pair choice, and different source–target relations can be queried from the same jointly encoded clip.
Geometry and Correspondence Heads
Shallow task-specific MLPs decode , , , point confidence, and correspondence confidence/precision from , while produces depth and its confidence. We use an inverse-log parameterization for and an exponential map for depth; is a linear absolute target coordinate rather than a displacement from the source query. Separate supervision with shared query representations encourages the tasks to exploit common spatiotemporal evidence. Cameras are predicted per view by a VGGT-style token head (36) and supervised with reference-normalized relative on translation, quaternion (canonicalized to ), and FoV, following the relative-pose supervision principle of (39).
Direction–Magnitude Scene Flow and Supervision
Rather than directly regressing the three Cartesian components of scene flow, we factorize the displacement into an -normalized direction vector and a non-negative magnitude:
| (4) | ||||
Here and are predicted from and . Because of the stabilizing , is not constrained to have exactly unit norm. This four-parameter representation separates motion orientation from motion magnitude, guarantees a non-negative magnitude, and lets the two factors receive complementary supervision.
For scene-flow supervision, let denote the ground-truth displacement and define the stable radial log transform
| (5) |
where . This transform preserves the displacement direction while compressing its dynamic range, preventing large motions from overwhelming small ones. We classify a valid query as moving when the metric ground-truth magnitude exceeds m, yielding dynamic and static sets and . The displacement term is
| (6) | ||||
Here controls the relative emphasis on moving points; we use during training. If one set is empty, only the available term is used. We further supervise orientation on moving points and suppress spurious motion on static points:
| (7) | ||||
Thus, the composed displacement is constrained globally in log space, while its direction and near-zero static magnitude are each explicitly regularized.
Training Objectives
UniQuery4R is trained with a multi-task objective that supervises the full set of query outputs and camera parameters:
| (8) | ||||
where and are confidence-weighted losses on the 3D point and source depth; balances static and dynamic regions; supervises moving-point direction and suppresses the magnitude on static points; is a confidence-aware 2D matching loss; and supervises reference-normalized camera parameters. Dataset-dependent reweighting disables unavailable supervision and reduces the point-loss weight on sparse-reconstruction data. Additional implementation details are provided in the supplementary material.
4 Experiments
| Method | PStudio | PO | DR | ADT | Macro Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| EPE | EPE | EPE | EPE | EPE | ||||||
| SpatialTrackerV2 (40) | 8.78 | 0.4095 | 15.08 | 0.3089 | 13.09 | 0.2707 | 34.40 | 0.2054 | 17.84 | 0.2986 |
| St4RTrack (6) | 27.45 | 0.2259 | 37.24 | 0.219 | 75.69 | 0.0858 | 55.76 | 0.1481 | 49.04 | 0.1697 |
| TraceAnything (19) | 23.94 | 0.2456 | 64.33 | 0.1173 | 83.83 | 0.0495 | 79.98 | 0.0839 | 63.02 | 0.1241 |
| Any4D (14) | 25.08 | 0.2406 | 70.43 | 0.094 | 85.94 | 0.0451 | 88.25 | 0.0562 | 67.43 | 0.109 |
| V-DPM (31) | 58.99 | 0.1152 | 82.91 | 0.0563 | 88.98 | 0.0381 | 88.75 | 0.0559 | 79.91 | 0.0664 |
| 4RC (21) | 53.88 | 0.1255 | 86.66 | 0.0466 | 94.13 | 0.0213 | 88.14 | 0.0633 | 80.70 | 0.0642 |
| OpenD4RT (27) | 38.25 | 0.1772 | 76.62 | 0.0784 | 90.45 | 0.0289 | 88.23 | 0.0627 | 73.39 | 0.0868 |
| UniQuery4R (ours) | 56.75 | 0.1137 | 82.52 | 0.0541 | 91.54 | 0.0275 | 95.10 | 0.0167 | 81.48 | 0.0530 |
| Method | PStudio | PO | DR | ADT | Macro Avg. | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| APD | EPE | APD | EPE | APD | EPE | APD | EPE | APD | EPE | |
| SpatialTrackerV2 (40) | 49.93 | 0.4639 | 53.45 | 0.5173 | 54.34 | 0.4368 | 69.39 | 0.2764 | 56.78 | 0.4236 |
| St4RTrack (6) | 70.80 | 0.2479 | 67.38 | 0.314 | 74.24 | 0.2594 | 72.90 | 0.2958 | 71.33 | 0.2793 |
| TraceAnything (19) | 70.86 | 0.278 | 39.37 | 1.0462 | 60.89 | 0.5642 | 75.69 | 0.2515 | 61.70 | 0.535 |
| Any4D (14) | 74.72 | 0.2361 | 65.99 | 0.3783 | 76.72 | 0.3463 | 78.09 | 0.2378 | 73.88 | 0.2996 |
| V-DPM (31) | 78.95 | 0.1757 | 80.82 | 0.1857 | 75.29 | 0.2438 | 85.47 | 0.1725 | 80.13 | 0.1944 |
| 4RC (21) | 69.08 | 0.259 | 79.81 | 0.2353 | 84.65 | 0.1667 | 84.16 | 0.177 | 79.43 | 0.2095 |
| OpenD4RT (27) | 78.63 | 0.1811 | 66.03 | 0.3398 | 76.78 | 0.2407 | 69.91 | 0.2966 | 72.84 | 0.2646 |
| UniQuery4R (ours) | 84.64 | 0.1333 | 83.74 | 0.1604 | 80.00 | 0.2078 | 87.17 | 0.1387 | 83.89 | 0.1601 |
![[Uncaptioned image]](2608.17283v1/figures/Compare_300dpi.jpg)
Training Data and Setup
UniQuery4R is trained on a mixture of synthetic and real-world dynamic datasets, including Kubric-4D (35; 7), PointOdyssey (48), Hypersim (28), DL3DV (18), CoTracker3Kubric (12), Stereo4D (10), Virtual KITTI 2 (1), Waymo (33), and an internal dynamic-scene collection. Together they supervise depth, camera pose, optical flow, scene flow, and 2D/3D trajectories. All data follow a unified coordinate convention. Training clips contain – views with varied baselines and motion magnitudes; for each clip, we sample ordered source–target pairs , including self-pairs, for query supervision. The main model is trained for k iterations on NVIDIA H20 GPUs; optimizer settings and full hyperparameters are in the supplementary material.
Evaluation Protocol
We follow the WorldTrack protocol (6) on PointOdyssey (PO) (48), Panoptic Studio (PStudio) (11), Dynamic Replica (DR) (13), and Aria Digital Twin (ADT) (24), with qualitative long-sequence tracking on DAVIS (25). Quantitative runs use the first frames with global median scale alignment before metric computation; macro-averages are unweighted over the four datasets. Table captions detail source–target sampling, validity masks, and thresholds. Although trained on –-frame clips, UniQuery4R jointly encodes all evaluation frames in one encoder pass, and source–target queries reuse those features without sliding windows or cross-window fusion. All entries labeled D4RT use OpenD4RT (27), an unofficial reimplementation, and should not be read as results of the original model (45).
Scene Flow Evaluation
Table 3 reports and EPE with unweighted four-dataset macro-averages. UniQuery4R attains the best macro-average on both metrics and the best ADT scores, ranks second on DR, and trails V-DPM/4RC on individual PStudio/PO dataset–metric combinations. The direction–magnitude design in Sec. 3 balances static/dynamic supervision so large displacements do not dominate training (Table 8).
Dynamic Point Evaluation
Table 4 evaluates world-coordinate 3D tracking of queried dynamic source points via Average Percentage of Points within Distance (APD) and EPE after global median scale alignment. UniQuery4R leads the four-dataset macro-average and ranks first on PStudio, PO, and ADT, while 4RC is strongest on DR. The dynamic-point and scene-flow heads decode from the shared query representation , providing a common representation for correspondence, geometry, and motion. Figure 3 qualitatively shows less drift and fragmentation under occlusion and non-rigid deformation.
| Method | ADT | NRGBD | Sintel | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A5 | A30 | ATE | Rt | Rr | A5 | A30 | ATE | Rt | Rr | A5 | A30 | ATE | Rt | Rr | |
| VGGT (36) | 0.134 | 0.724 | 0.219 | 0.269 | 3.457 | 0.676 | 0.926 | 0.047 | 0.071 | 0.994 | 0.212 | 0.475 | 0.100 | 0.050 | 0.588 |
| DA3-Giant (16) | 0.145 | 0.741 | 0.160 | 0.223 | 2.221 | 0.772 | 0.944 | 0.034 | 0.045 | 0.848 | 0.214 | 0.495 | 0.065 | 0.044 | 0.373 |
| VGGT- (37) | 0.446 | 0.851 | 0.087 | 0.091 | 2.107 | 0.704 | 0.933 | 0.040 | 0.059 | 1.008 | 0.286 | 0.583 | 0.028 | 0.022 | 0.230 |
| Any4D (14) | 0.070 | 0.597 | 0.346 | 0.432 | 4.566 | 0.348 | 0.833 | 0.105 | 0.163 | 2.247 | 0.034 | 0.290 | 0.144 | 0.104 | 2.226 |
| V-DPM (31) | 0.400 | 0.861 | 0.076 | 0.103 | 2.374 | 0.664 | 0.925 | 0.045 | 0.066 | 1.113 | 0.175 | 0.505 | 0.082 | 0.054 | 0.520 |
| 4RC (21) | 0.571 | 0.906 | 0.046 | 0.064 | 1.647 | 0.753 | 0.942 | 0.035 | 0.050 | 0.932 | 0.240 | 0.488 | 0.089 | 0.046 | 0.493 |
| UniQuery4R (ours) | 0.608 | 0.903 | 0.036 | 0.079 | 1.446 | 0.708 | 0.951 | 0.031 | 0.080 | 1.460 | 0.359 | 0.603 | 0.031 | 0.059 | 1.199 |
Depth and Camera Evaluation
| Method | ADT | Sintel | ScanNet++ | |||
|---|---|---|---|---|---|---|
| Rel | Rel | Rel | ||||
| VGGT | 0.0814 | 0.9286 | 0.2420 | 0.6747 | 0.0379 | 0.9765 |
| DA3-Giant | 0.0649 | 0.9735 | 0.2906 | 0.6357 | 0.0343 | 0.9757 |
| VGGT- | 0.0638 | 0.9763 | 0.0982 | 0.9163 | 0.0379 | 0.9727 |
| Any4D | 0.0999 | 0.9553 | 0.2514 | 0.6468 | 0.0614 | 0.9666 |
| V-DPM | 0.0564 | 0.9727 | 0.2207 | 0.6819 | 0.0461 | 0.9678 |
| 4RC | 0.0681 | 0.9514 | 0.2388 | 0.6608 | 0.0255 | 0.9789 |
| UniQuery4R | 0.0433 | 0.9769 | 0.1033 | 0.8689 | 0.0549 | 0.9622 |
Tables 5 and 6 summarize depth and camera results. UniQuery4R leads ADT depth and ADT AUC@5/ATE/RPEr; 4RC is stronger on AUC@30/RPEt. On Sintel, AbsRel is close to VGGT- with stronger pose AUC but weaker trajectory RPE. On NRGBD, it leads AUC@30 and ATE but trails DA3-Giant/4RC in relative RPE; on ScanNet++, depth remains below 4RC and reconstruction-oriented backbones.
Runtime and Memory Scaling
| Component | Scaling variable | Marginal latency |
|---|---|---|
| Encoder | One additional view | ms |
| Encoder | MP per clip | s |
| Decoder | k queries | ms |
Table 7 summarizes encode/decode marginal cost: encoding grows with views and resolution and is nearly -independent, while decoding scales with query count; chunking reduces peak memory at large . Detailed sweeps are in the supplementary material.
Ablation Study
| Supervised tasks | APD | Point | Point EPE | |
|---|---|---|---|---|
| Dynamic points + scene flow | 77.66 | 39.56 | 0.2161 | |
| + 2D correspondence | 78.22 | 42.04 | 0.2109 | |
| + local depth (ref.) | 78.78 | 42.93 | 0.2060 | |
| Flow parameterization | Flow | Flow EPE | ||
| Cartesian vector | 73.71 | 0.0794 | ||
| Direction + magnitude | 76.48 | 0.0663 | ||
| Source pyramid | CA blocks | APD | Point | Point EPE |
| w/o multi-scale | 4 | 74.71 | 35.64 | 0.2531 |
| multi-scale | 1 | 76.78 | 39.39 | 0.2255 |
| multi-scale | 2 | 76.89 | 39.77 | 0.2261 |
| multi-scale (ref.) | 4 | 78.78 | 42.93 | 0.2060 |
Table 8 shows that correspondence and local depth improve dynamic-point metrics; direction–magnitude raises flow from to and lowers flow EPE from to , with four multi-scale CA blocks performing best.
Discussion and Limitations
Figure 3 suggests improved long-horizon stability in the shown examples relative to feed-forward baselines, and direction–magnitude supervision is central (Table 8). Performance can still degrade under severe occlusion and large rotations; with fast motion or flipping articulations, left–right hand/foot associations are particularly prone to identity swaps. Encode cost also grows with clip length (Table 7), so longer videos need temporal windowing; cross-window fusion is left open.
5 Conclusion
UniQuery4R queries continuous source pixels over a jointly encoded clip with direction–magnitude scene flow (Sec. 3), achieving the best WorldTrack macro-average scene-flow and dynamic-point results among evaluated methods, with competitive depth and camera metrics. Ablations confirm gains from correspondence, local depth, direction–magnitude flow, and a multi-scale source pyramid.
References
- Virtual KITTI 2. External Links: 2001.10773 Cited by: §4.
- MUSt3R: multi-view network for stereo 3D reconstruction. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 1050–1060. Cited by: §2.
- MASt3R-SfM: a fully-integrated solution for unconstrained structure-from-motion. In Int. Conf. 3D Vis. (3DV), pp. 1–10. Cited by: §2.
- MoRe: motion-aware feed-forward 4D reconstruction transformer. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 28914–28924. Cited by: §2.
- Dens3R: a foundation model for 3D geometry prediction. In Int. Conf. Learn. Represent. (ICLR), Cited by: §2.
- St4RTrack: simultaneous 4D reconstruction and tracking in the world. In Int. Conf. Comput. Vis. (ICCV), pp. 8503–8513. Cited by: §2, Table B.3, §4, Table 3, Table 4, §4, §4.
- Kubric: a scalable dataset generator. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 3749–3761. Cited by: §4.
- Enhancing 3D reconstruction for dynamic scenes. In Adv. Neural Inform. Process. Syst. (NeurIPS), Cited by: §2.
- OmniX: any-view and any-time 4D reconstruction via feed-forward trajectory fields. In Eur. Conf. Comput. Vis. (ECCV), Cited by: §2, §2.
- Stereo4D: learning how things move in 3D from internet stereo videos. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 10497–10509. Cited by: §4.
- Panoptic Studio: a massively multiview system for social motion capture. In Int. Conf. Comput. Vis. (ICCV), pp. 3334–3342. Cited by: §4.
- CoTracker3: simpler and better point tracking by pseudo-labelling real videos. In Int. Conf. Comput. Vis. (ICCV), pp. 6013–6022. Cited by: §4.
- DynamicStereo: consistent dynamic depth from stereo videos. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 13229–13239. Cited by: §4.
- Any4D: unified feed-forward metric 4D reconstruction. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 14578–14589. Cited by: §2, §2, Table B.3, Table 5, §4, §4.
- MoVieS: motion-aware 4D dynamic view synthesis in one second. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 295–306. Cited by: §1, §2, §2.
- Depth Anything 3: recovering the visual space from any views. In Int. Conf. Learn. Represent. (ICLR), Cited by: §A, §B, Table B.2, §3, Table 5.
- LightGlue: local feature matching at light speed. In Int. Conf. Comput. Vis. (ICCV), pp. 17627–17638. Cited by: §2.
- DL3DV-10K: a large-scale scene dataset for deep learning-based 3D vision. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 22160–22169. Cited by: §4.
- Trace anything: representing any video in 4D via trajectory fields. In Int. Conf. Learn. Represent. (ICLR), Cited by: §2, Table B.3, §4, §4.
- Track4World: feedforward world-centric dense 3D tracking of all pixels. In Eur. Conf. Comput. Vis. (ECCV), Cited by: §2, §2.
- 4RC: 4D reconstruction via conditional querying anytime and anywhere. In Int. Conf. Mach. Learn. (ICML), Cited by: §2, §2, Table B.3, Table 5, §4, §4.
- VGGT-SLAM: dense RGB SLAM optimized on the SL(4) manifold. In Adv. Neural Inform. Process. Syst. (NeurIPS), Cited by: §2.
- TrajVG: 3D trajectory-coupled visual geometry learning. In ACM SIGGRAPH, Cited by: §2.
- Aria digital twin: a new benchmark dataset for egocentric 3D machine perception. In Int. Conf. Comput. Vis. (ICCV), pp. 20133–20143. Cited by: §4.
- A benchmark dataset and evaluation methodology for video object segmentation. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 724–732. Cited by: §4.
- Flow4R: unifying 4D reconstruction and tracking with scene flow. In Eur. Conf. Comput. Vis. (ECCV), Cited by: §2.
- OpenD4RT: an unofficial PyTorch implementation of D4RT for 4D reconstruction and tracking. Note: https://github.com/Lijiaxin0111/Open-d4rtUnofficial open-source reimplementation of D4RT; accessed July 23, 2026 Cited by: Table B.3, §4, Table 3, Table 4, §4, §4.
- Hypersim: a photorealistic synthetic dataset for holistic indoor scene understanding. In Int. Conf. Comput. Vis. (ICCV), pp. 10912–10922. Cited by: §4.
- SuperGlue: learning feature matching with graph neural networks. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 4938–4947. Cited by: §2.
- Structure-from-Motion Revisited. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 4104–4113. Cited by: §1, §2.
- V-DPM: 4D video reconstruction with dynamic point maps. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 14502–14511. Cited by: §2, §2, Table B.3, Table 5, §4, §4.
- Dynamic point maps: a versatile representation for dynamic 3D reconstruction. In Int. Conf. Comput. Vis. (ICCV), pp. 7295–7305. Cited by: §2.
- Scalability in perception for autonomous driving: Waymo open dataset. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 2443–2451. Cited by: §4.
- DROID-SLAM: deep visual SLAM for monocular, stereo, and RGB-D cameras. In Adv. Neural Inform. Process. Syst. (NeurIPS), pp. 16558–16569. Cited by: §2.
- Generative camera dolly: extreme monocular dynamic novel view synthesis. In Eur. Conf. Comput. Vis. (ECCV), pp. 313–331. Cited by: §4.
- VGGT: visual geometry grounded transformer. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 5294–5306. Cited by: §A, §2, §2, §3, Table 5.
- VGGT-. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 21486–21499. Cited by: §2, §B, Table B.2, Table 5.
- DUSt3R: geometric 3D vision made easy. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 20697–20709. Cited by: §2.
- : permutation-equivariant visual geometry learning. In Int. Conf. Learn. Represent. (ICLR), Cited by: §A, §3.
- SpatialTrackerV2: advancing 3D point tracking with explicit camera motion. In Int. Conf. Comput. Vis. (ICCV), pp. 6726–6737. Cited by: §2, Table B.3, §4, §4.
- NeoVerse: enhancing 4D world model with in-the-wild monocular videos. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 40340–40351. Cited by: §1, §2.
- Uni4D: unifying visual foundation models for 4D modeling from a single video. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 1116–1126. Cited by: §2.
- MVSNet: depth inference for unstructured multi-view stereo. In Eur. Conf. Comput. Vis. (ECCV), pp. 767–783. Cited by: §1, §2.
- InfiniDepth: arbitrary-resolution and fine-grained depth estimation with neural implicit fields. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 26920–26930. Cited by: §2.
- Efficiently reconstructing dynamic scenes one D4RT at a time. In IEEE Conf. Comput. Vis. Pattern Recog. (CVPR), pp. 7382–7392. Cited by: §1, §2, §4.
- MonST3R: a simple approach for estimating geometry in the presence of motion. In Int. Conf. Learn. Represent. (ICLR), Cited by: §2.
- SynthVerse: a large-scale diverse synthetic dataset for point tracking. In ACM SIGGRAPH Conference Papers, pp. 1–10. External Links: Document, Link Cited by: §B.
- PointOdyssey: a large-scale synthetic dataset for long-term point tracking. In Int. Conf. Comput. Vis. (ICCV), pp. 19855–19865. Cited by: §4, §4.
UniQuery4R: Unified 4D Scene Reconstruction from a Single Query
Supplementary Material
A Implementation Details
Coordinate Frame and Scale
All 3D outputs and camera translations use the view- reference frame. During training, geometry is normalized by the clip-level mean point-to-origin distance
| (A.1) |
computed over valid depth pixels ; metric labels are restored by multiplying by . At evaluation, WorldTrack applies median-based global scale alignment separately to each output type:
| (A.2) |
Camera losses average relative-pose terms over all reference views.
Multi-View Backbone
The encoder is an internal multi-view ViT-G ( width, blocks, patches) with joint multi-view attention, initialized from DA3-Giant (16) and further pretrained on an internal mixture (corpus and schedule not released). Section B compares alternative initializations. During UniQuery4R training the backbone uses the learning rate of newly added modules. We extract -D tokens from blocks , project each stage, and PixelShuffle with factors to build the four-level pyramid fed to the query decoder. Rotary positional encoding and query/key normalization start at block .
Query Decoder
The query decoder operates at width . Source coordinates are mapped to for continuous bilinear sampling; up to k queries are supported per forward pass. We use four Pre-LN source–target cross-attention blocks ( heads, head width , FFN, GELU, no dropout). At training time, queries follow dataset annotations when available and otherwise use a dense integer grid; at inference, queries may be placed continuously on the source image.
Prediction Heads
Two-layer ReLU MLPs (hidden ) decode the outputs listed in Table A.1.
| Output | From | Ch. | Act. | Notes |
|---|---|---|---|---|
| 3 | inv-log | target-time 3D | ||
| 1 | — | logit | ||
| dir.–mag. | ||||
| 2 | identity | abs. UV | ||
| 4 | — | logits | ||
| /— | source depth |
Target-time 3D points and source depth use
| (A.3) |
Camera Head
Losses
The full objective combines , , , , scene-flow terms, and dataset-dependent reweighting. Table A.2 lists the verified weights used for the final model (outer multipliers: depth/motion , camera ).
| Term | Default | Dataset overrides |
|---|---|---|
| Source depth | DL3DV/Waymo: ; VKITTI2/Stereo4D: | |
| Target point | DL3DV: ; Waymo/VKITTI2: ; Stereo4D: | |
| Displacement | Waymo/VKITTI2/Stereo4D: | |
| Direction/static magnitude | none | |
| 2D correspondence | PointOdyssey: | |
| Camera | outer multiplier |
Depth and 3D point.
Confidence-weighted residuals are
| (A.4) |
with outliers above discarded (and the top when more than valid points remain). With logit , confidence enters as .
2D correspondence.
The matching error is in normalized , combined with a robust kernel
| (A.5) |
plus visibility and one-pixel BCE terms (weight ); source-valid but target-occluded tracks keep weight .
Scene flow.
Supervision uses the direction–magnitude parameterization with separate dynamic and static terms; transformed residuals above are rejected.
Data and Optimization
Table A.3 lists the training mixture (relative weights need not sum to one).
| Source | #samples | Weight |
|---|---|---|
| PointOdyssey | 111 | 0.4 |
| Kubric-4D | 12,928 | 1.0 |
| CoTracker3Kubric | 5,827 | 1.0 |
| Internal dataset | 2,596 | 1.0 |
| Hypersim | 758 | 0.1 |
| DL3DV | 54,903 | 0.1 |
| Waymo | 5,497 | |
| Virtual KITTI 2 | 1,144 | |
| Stereo4D | 163,924 |
Clips use – temporally sorted frames; for an -view clip we sample ordered pairs including self-pairs. SynthVerse is excluded from the main zero-shot checkpoint. Images keep aspect ratio (max side ), normalize by , and use photometric / blur / compression augmentation without horizontal flip.
Table A.4 lists the optimizer, learning-rate schedule, and related hyperparameters of the final 16-GPU run.
| Setting | Value |
|---|---|
| Hardware | NVIDIA H20 |
| Iterations | k |
| Numerical precision | bfloat16 |
| Batch size (per GPU / global) | / |
| Backbone learning rate | |
| Other-module learning rate | |
| AdamW | |
| AdamW / weight decay | / |
| Warmup | 1k iterations, linear |
| Schedule | cosine decay to (base) |
| Max image side | |
| Gradient clipping | global norm |
| Random seed | 2024 |
Ablations use 75k iterations on one H20 (global batch ) under a matched half-schedule; absolute numbers are not comparable to the final 150k model.
Reproducibility scope. The backbone and part of the training data are internal.
B Additional Experiments
Evaluation protocol. WorldTrack reports an equal-weight four-dataset macro-average with the first frame as source. OpenD4RT is an unofficial reimplementation. Flow4R is omitted because no public code or weights are available.
Runtime and Memory Scaling
Table B.1 lists the measured runtime points underlying the scaling analysis.
| Encode vs. clip length | Encode vs. resolution | Encode/decode vs. query count | |||||||
| Enc. (ms) | Enc. (ms) | Mode | (chunks) | Enc. (ms) | Query dec. (ms) | ||||
| 2 | S | 256 (1) | 357.79 | ||||||
| 4 | S | 1,024 (1) | 359.38 | ||||||
| 8 | S | 4,096 (1) | 358.54 | ||||||
| 12 | S | 8,192 (1) | 361.27 | ||||||
| 16 | S | 16,384 (1) | 366.20 | ||||||
| S | 30,000 (1) | 351.76 | |||||||
| S | 60,000 (2) | 360.11 | |||||||
| S | 120,000 (4) | 363.86 | |||||||
| D- | 63,504 (3) | 117.40 | |||||||
| D- | 132,496 (5) | 202.58 | |||||||
| D- | 254,016 (9) | 364.10 | |||||||
At with , encoding scales approximately linearly with clip length, with a fitted slope of 45.70 ms/view (). At fixed , encoding also scales with spatial resolution, with a slope of 1.26 s per megapixel per clip (). Across the sparse query-count sweep, encoding remains nearly constant (CV ), confirming that source–target selection and query decoding occur after joint encoding.
Query-dependent decoding scales linearly with , with a slope of 4.18 ms per 1k queries (). At , pyramid construction adds approximately 12.19 ms per chunk and is nearly constant across the sparse sweep (CV ). Dense decoding follows the same approximately linear trend (). At k, 30k-query chunking reduces peak memory from 15.68 GB to 12.52 GB, while changing time per query by only .
Cross-Attention Localization on Long Sequences
Figure B.1 visualizes the first source-to-target cross-attention layer of the query decoder. For each row, we fix a continuous source query and plot its normalized attention over the full target feature map as the temporal gap increases. We use this visualization to examine whether pairwise cross-attention recovers geometric correspondences between frames rather than merely aligning semantically similar regions.
Across the examples, the peak response consistently localizes to the physically corresponding target location, including under partial occlusion: when the matched point is not directly visible, attention remains concentrated near the correct image region instead of drifting to unrelated areas with similar appearance. This suggests that source-to-target interaction carries useful 3D correspondence cues, not just category-level semantic matching. The pattern also persists as the source–target separation grows, indicating that our pairwise design remains effective on longer sequences without a fixed-horizon temporal embedding.
We also observe a recurring failure mode that highlights a current limitation. When the query is placed on one symmetric body part, such as the right foot, the map often assigns secondary mass to the semantically and visually similar counterpart (e.g., the left foot). Similar ambiguities appear for left/right hands. The model can therefore confuse mirror-symmetric extremities over long horizons, and stable long-term identity maintenance for such parts remains an open challenge.
Backbone Initialization
Table B.2 compares the internal encoder of Section A with publicly available VGGT- (37) and DA3-Giant (16) as alternative initializations. All three variants use the same UniQuery4R training data and recipe, trained for k iterations on NVIDIA A800 GPUs (distinct from the final H20 checkpoint reported in the main paper).
| Encoder initialization | APD | EPE |
|---|---|---|
| VGGT- (37) | 80.88 | 0.1857 |
| DA3-Giant (16) | 81.29 | 0.1821 |
| Internal foundation model | 83.62 | 0.1597 |
Even with fully public initializations, UniQuery4R already achieves strong WorldTrack dynamic-point macro-averages under this matched setup: VGGT- and DA3-Giant reach APD/EPE of and , respectively, outperforming the other compared feed-forward methods in Table 4 of the main paper (best baseline: V-DPM, ). This indicates that much of the reported gain comes from the UniQuery4R query framework rather than from the internal encoder alone. The internal foundation model still yields the best numbers (), providing an additional but not strictly necessary improvement when public weights are available.
SynthVerse Zero-Shot Evaluation.
SynthVerse (47) is a recently released, open-source synthetic dataset for 2D and 3D point tracking. It contains approximately K sequences and M training frames, covering articulated and deformable objects, humans, animals, navigation, embodied manipulation, animated-film content, and hand–object interaction. The dataset includes both egocentric and allocentric views. Its official benchmark contains seven domain subsets—Nav, Human, Animal, Objects, Embodied, Film, and Interaction—and reports their aggregate performance as mAverage.
To evaluate transfer under the same protocol used in our WorldTrack experiments, we select SynthVerse-Benchmark sequences with at least frames and evaluate the first frames of each sequence. We use frame as the reference, apply global median-norm scale alignment, and report EPE over dynamic points, following the protocol in Section B. This evaluation differs from the official SynthVerse benchmark, which reports , , , , and occlusion accuracy. Unless otherwise specified, none of the models in Table B.3 is trained or fine-tuned on SynthVerse.
| Method | EPE |
|---|---|
| SpaTrackerV2 (40) | 5.5187 |
| St4RTrack (6) | 3.8485 |
| TraceAnything (19) | 7.3385 |
| Any4D (14) | 5.2362 |
| V-DPM (31) | 2.7367 |
| 4RC (21) | 3.2957 |
| OpenD4RT (27) | 4.7392 |
| UniQuery4R (zero-shot) | 2.4105 |
| UniQuery4R (+ SynthVerse train) | 1.3682 |
Without SynthVerse training, UniQuery4R obtains an EPE of m, compared with m for the strongest baseline, V-DPM, corresponding to a relative reduction. Adding the official SynthVerse training split reduces the EPE of UniQuery4R to m, a further reduction of relative to its zero-shot result. This improvement indicates a substantial domain gap between our original training data and SynthVerse, while also showing that SynthVerse training data provides useful supervision for this evaluation domain.
C Additional Qualitative Results
We supplement the main-paper DAVIS example (Figure 3) with additional tracking, correspondence, motion masks, and static reconstruction.
3D Dynamic Tracking
Figure C.1 covers human motion, articulated objects, and non-rigid deformation. Each color tracks one fixed source query in the view- frame; trajectories remain coherent under occlusion and viewpoint change.
2D Correspondence
The query decoder predicts target-image coordinates for any source–target pair (Figure C.2). Correspondences follow object boundaries and stay on the target object under large motion and partial occlusion.
Motion Masks from Scene Flow
Motion masks are obtained without a dedicated segmentation head. Given an -frame clip (views ), we encode all frames once. After encoding, we construct dense grid queries on consecutive source–target pairs and the single reverse pair . Decoding each pair yields a dense scene flow from the same direction–magnitude head used at training time. A pixel is marked dynamic if exceeds m after metric-scale restoration and static otherwise; short forward pairs capture frame-to-frame motion, while the reverse pair stabilizes the mask at the clip end. Figure C.3 shows that this simple threshold recovers reasonable foreground motion regions despite sharing the same encoder and decoder used for sparse queries.
Static-Scene Reconstruction
The shared encoder and per-frame camera head also reconstruct static scenes (Figure C.4): estimated poses and fused point clouds on indoor and outdoor clips without task-specific finetuning.