A 360° panorama is usually stored as an equirectangular image, a world map of the sphere in which rows are latitudes and columns are longitudes. Near the poles this map stretches a small patch of sky or ceiling across the full image width. That stretching breaks the assumption, built into ordinary convolutional and transformer networks, that a fixed pixel window covers the same physical region everywhere. The best current panoramic depth models, DA$^{2}$ and Depth Any Panoramas, handle the distortion well and transfer from synthetic to real data, but they run on the whole panorama at once and stop at 1024×512. High-resolution methods such as 360MonoDepth cut the sphere into many small, locally undistorted tiles. Each tile is predicted separately, and the pieces must then be stitched with slow optimization and blending, which leaves visible seams.
We propose treating each seam as evidence that the model has not learned the scene geometry properly. The idea has two parts. First, every tile is indexed by the 3D viewing directions of its pixels rather than by 2D grid positions, and the cut lines are placed differently at every step: the whole tiling is randomly rotated on the sphere. Second, a model that truly understands the scene must give the same depth no matter where the tiles are cut. We therefore require two different random tilings of the same unlabeled real panorama to agree. This requirement is a label-free fine-tuning signal aimed at the failure that appears when a stitching model trained on clean synthetic renders meets real camera noise and exposure changes.
Core Claim
A multi-tile transformer whose cross-tile attention depends only on the angles between pixel viewing directions can be trained to be invariant to tiling placement. Disagreement between random tilings, measured on unlabeled real panoramas, then serves two roles: it detects synthetic-to-real failure and it corrects it. Fine-tuning on this disagreement should yield feed-forward 2K and 4K panoramic depth that has no visible seams and keeps fine structure better than the alternatives. The comparison points are test-time stitching (360MonoDepth), proxy registration (Peng et al.), and the tiling ensemble described below, which averages predictions from many tilings at inference.
The closest existing work is URGT, which is the method we build on. URGT removes seams in planar 4K images by processing all patches jointly. It alternates attention within each patch and across patches, and it places patches with 2D rotary position embeddings, a standard way of encoding where a token sits on a flat grid. It randomizes grid sizes (GridMix) during training on synthetic UnrealStereo4K. We change it in three ways. Position becomes spherical and rotation-aware. Randomization moves from grid size to continuous placement of cuts on the sphere. Consistency between tilings becomes an unsupervised adaptation objective on real data, which URGT never uses.
DA$^{2}$ motivates the spherical encoding. Its SphereViT shows that flat position embeddings fail on equirectangular images and that explicit azimuth and polar angles fix this. SGAT4PASS sets a constraint on the design. It shows that latitude-fixed designs collapse under camera pitch and roll, so absolute latitude cannot be a privileged input. We use relative angles between directions, which do not change when the camera tilts.
Research Program
The input is a high-resolution equirectangular panorama. We sample a random rotation $R$ from the group of 3D rotations and apply it to an icosahedral tangent-image layout, the decomposition used by Tangent Images and 360MonoDepth. This projects the panorama into 20 padded, nearly undistorted perspective tiles. Every token carries the unit viewing direction $d_i$ of its pixel. Cross-tile attention between tokens $i$ and $j$ gets an additive bias $b(d_i^\top d_j)$, where $b$ is a small learned function of the cosine of the angle between the two directions. Within a tile, standard planar attention is kept, because a gnomonic tile is nearly perspective. The angular bias depends only on relative geometry, so rotating the camera or the tiling leaves the network's view of the scene unchanged.
A low-resolution global prediction from DA$^{2}$ is reprojected into each tile as a coarse input channel. This follows URGT's use of coarse foundation-model priors, and it supplies global scale so the tiles do not drift apart.
Training has two stages. The first is supervised training on synthetic panoramas, using Structured3D and OmniHorizon for indoor and outdoor scenes, plus perspective UnrealStereo4K crops treated as single tiles. Losses are weighted by solid angle as in Depth Any Panoramas, and a fresh $R$ is drawn at every step.
The second stage is fine-tuning on unlabeled real panoramas. We use Matterport3D images with their depth withheld, plus real panoramas with no labels at all. For two independent tilings $R_1$ and $R_2$, both predictions are resampled onto a common spherical grid of directions $\Omega$, and we minimize
$$ \mathcal{L}_{\text{tile}} = \sum_{d \in \Omega} w(d)\,\big|\log D_{R_1}(d) - \log D_{R_2}(d)\big| \;+\; \lambda\,\big|\,\mathcal{G}\!\left[\log D_{R_1}\right] - \log D_{\text{prior}}\big|. $$
Here $D_R(d)$ is the stitched depth in direction $d$ under tiling $R$, and $w(d)$ is a solid-angle weight. $\mathcal{G}$ is a low-pass filter to prior resolution, $D_{\text{prior}}$ is the DA$^{2}$ output, and $\lambda$ sets how loosely the prediction is held to the prior. A small replay of the synthetic supervised loss continues alongside.
The two tilings place their cuts in different parts of the scene. A seam in one tiling therefore falls on the interior of a tile in the other, so the consistency term penalizes exactly the boundary errors that real noise causes. The prior and synthetic terms rule out the trivial solution of a smooth, featureless output. We will report whether this trivial solution appears anyway, since it is the main risk to the method.
Baselines
Upsampled prior. The naive reference is DA$^{2}$ run at 1024×512 and bilinearly upsampled to the target resolution. It has no seams by construction, so it bounds global accuracy from below and shows how much detail tiling must add. DA$^{2}$ reports a 38% average AbsRel improvement over the strongest zero-shot baseline; no reported result was found on Lacuna for it at 2K or 4K.
Test-time stitching. 360MonoDepth is the strongest published high-resolution panoramic method. It reports AbsRel 0.167 on Replica360-2K and 0.150 on Replica360-4K. We will run its released pipeline on our splits and also report our own reproduced numbers. Beating it means lower AbsRel at both resolutions with at least a tenfold reduction in runtime.
Proxy registration. We run Peng et al.'s cubic registration and Poisson blending with DA$^{2}$ substituted for the original UniFuse or SliceNet proxy, so both methods start from the same prior. No reported RMSE value was found on Lacuna for this method.
Planar URGT on tangent tiles. This is URGT with flat grid position embeddings, trained on the same synthetic data with the same prior input and equal GPU-hours and tuning budget, followed by Poisson blending.
Tiling ensemble. Our stage-one model averages predictions from $K$ random tilings at inference. We compare it both at matched compute ($K=1$) and at its best $K$.
Ablations. These isolate each ingredient: the angular bias versus flat positions; stage two removed; stage two using overlap consistency within one fixed tiling instead of across random tilings; and $\lambda$ swept to expose dependence on the prior.
Why not just…?
Why not just run planar URGT on tangent tiles? Inside a gnomonic tile the image is nearly perspective, so this is a serious alternative. The open question is whether flat grid positions can represent adjacency on the sphere around icosahedron vertices, where five tiles meet. They also cannot represent a tiling that rotates. The matched-budget comparison, split into seam-region and interior error, settles this. If planar URGT matches us, the spherical encoding is unnecessary and we will say so.
Why not just use DA$^{2}$ as the proxy for fast cubic registration? Registration inherits any error in the proxy. Peng et al. note this themselves, and it matters most near the poles and in wide outdoor scenes. Registration also cannot adapt its features to real data. Running this baseline with the DA$^{2}$ proxy, broken down by latitude band and by indoor versus outdoor scene, shows whether the fast pipeline already captures most of the gain.
Why not just average over many random tilings at test time? This is the most dangerous alternative. It removes seams without any training and uses our own stage-one model. It costs $K$ times the compute, however, and averaging disagreeing tiles blurs thin structures. Stage two can be read as distilling this ensemble into a single pass. If the ensemble at large $K$ matches single-pass stage two on both accuracy and edge sharpness, the fine-tuning contribution shrinks to a speedup. We will report exactly that.
Why not just pseudo-label real panoramas as Depth Any Panoramas does? Its teacher labels are low-resolution and seam-free by construction, so they give no signal about tile boundaries at 4K. Using them also requires a curation pipeline over 1.9M images. As a control, we will fine-tune with DA$^{2}$ pseudo-labels in place of $\mathcal{L}_{\text{tile}}$, using the same images.
Proposed Experiments
All models are trained on synthetic data only (Structured3D, OmniHorizon, UnrealStereo4K) plus unlabeled real panoramas. Evaluation covers four settings: Replica360-2K and 4K for high-resolution synthetic depth; the 2K Matterport3D release from 360MonoDepth and Stanford2D3D for real indoor scenes; and DAP-Test and Deep360 for real outdoor scenes. The outdoor sets are evaluated both at native resolution and downsampled, so that results can be compared with Depth Any Panoramas, which reports AbsRel 0.0781 on DAP-Test and 0.0659 on Deep360.
Metrics are AbsRel, RMSE and $\delta_1$, all weighted by solid angle. We add three seam-specific measures. The first is the ratio of depth-gradient magnitude on tile boundaries to that in tile interiors. The second is cross-tiling disagreement on held-out real images. The third is edge precision on thin structures, measured against ground-truth depth discontinuities.
Three checks decide the outcome. First, stage two must reduce real-data seam ratios and cross-tiling disagreement without raising AbsRel or softening edges, relative to both stage one and the pseudo-label control. Second, a single-pass stage-two model must match or beat the $K$-tiling ensemble at a fraction of its compute. Third, the angular bias must beat flat positions most in the polar bands and under synthetic pitch and roll perturbations, following SGAT4PASS's disturbance protocol. If the first check fails, tiling consistency does not carry across the synthetic-to-real gap, and the method reduces to a spherical URGT.
References
- DA$^{2}$: Depth Anything in Any Direction
- Depth Any Panoramas: A Foundation Model for Panoramic Depth Estimation
- 360MonoDepth: High-Resolution 360° Monocular Depth Estimation
- High-Resolution Depth Estimation for 360-degree Panoramas through Perspective and Panoramic Depth Images Registration
- Any Resolution Any Geometry: From Multi-View To Multi-Patch
- SGAT4PASS: Spherical Geometry-Aware Transformer for PAnoramic Semantic Segmentation
- Tangent Images for Mitigating Spherical Distortion