Read Between
the Patches

Revisiting Rotary Frequencies for Multi-View Attention

Tianhan Xu1, Tatsuya Harada1,2

1The University of Tokyo 2RIKEN

Multi-view RoPEs reuse rotary frequencies chosen for the 2D patch grid. On the grid, finer frequencies only alias. Keys projected from other views, however, land between patch centers, where finer frequencies add precision. Rebalancing the same frequencies toward the patch scale is a drop-in change: no new parameters, no extra compute.

26.94 dB
WorldRoPE on RealEstate10K, 80k steps (original 26.69; best previously reported 26.75). Every seed improves.
+0.57 / −0.20 dB
Gain with continuous projections vs. after snapping keys to patch centers (WorldRoPE, 10k steps): the gain needs off-grid positions.
−10 to −31%
AbsRel in two-view depth with an LVSM-style transformer, on three datasets.

Abstract

Incorporating camera geometry into multi-view attention makes spatial relationships between image patches explicit. Recent projection-based positional encodings use camera geometry and depth hypotheses to project patch positions from one view into another, then encode their positions with rotary positional encoding (RoPE). However, the rotary frequency settings used by these encodings are largely inherited from standard 2D image RoPE. On a regular 2D patch grid, relative offsets are integer multiples of the patch spacing, whereas cross-view projections generally fall between patch centers. We investigate whether frequency choices suited to the patch grid remain appropriate for these continuous positions. Our analysis shows that frequencies producing identical rotary patterns on the grid can behave differently between patch centers. Guided by this distinction, we combine coarse and fine rotary frequencies to better encode continuous cross-view positions, without changing the model architecture. Controlled experiments link the performance gain to geometrically meaningful continuous projections, and test-time interventions show that the fine-frequency rotations mainly affect the features transferred between views. The configuration improves novel view synthesis and transformer-based depth estimation, while its benefits vary across datasets and architectures. These findings suggest that rotary frequency selection is a simple and practical design choice for multi-view attention.

On the grid, finer frequencies alias. Between patch centers, they add precision.

RoPE encodes a query–key offset Δ through frequencies cos(2πΔ/p). In 2D attention every key sits on a patch center, so Δ is a multiple of the 8 px patch size and a frequency only matters through its samples on that grid. Across views, a key is projected into the query image and lands anywhere. Drag the period and switch between the two cases.

Keep the number of frequencies; move two of them to the patch scale.

WorldRoPE uses 8 frequencies per image axis, from 3425 down to 50 px. We keep 8 frequencies and the channel count, place the two finest at the first patch harmonics (8 and 4 px) and spread the rest between 1182 and 20 px. On the grid, harmonic frequencies turn by whole rotations, so on-grid positions are encoded as before; between patch centers they resolve sub-patch offsets.

Same model, same data — only the rotary frequencies differ.

Novel views from two input images, 80k training steps. Error maps against the ground truth are shown by default; switch to RGB to see the renders. Drag the divider to compare.

Original
Ours

Ahead throughout training

The paper’s 80k-step runs on RealEstate10K, three seeds each; both configurations see the same data in the same order. Top: training loss. Bottom: test PSNR every 10k steps (thin lines: individual seeds). Ours has the higher test PSNR at every evaluation for both encodings; use the switch to view RayRoPE.

Original frequenciesOurs

RealEstate10K, 80k steps (3 seeds)PSNR↑SSIM↑LPIPS↓
WorldRoPE, original frequencies26.69.8443.0732
WorldRoPE, ours26.94.8513.0704

The gain comes from continuous, geometrically meaningful positions.

Remove the continuous positions: the gain disappears

ΔPSNR (ours − original), WorldRoPE, 10k steps, 3 seeds. Snapping keys to patch centers or randomizing their in-patch offsets removes the gain.

Finer frequencies help only at projected positions

8 log-spaced frequencies, with periods from 1182 px down to the finest; mean ± s.d. over 3 seeds. Dashed: original frequencies.

Fine frequencies act mainly through V/O (feature transfer)

PSNR drop when a frequency pair’s cross-view rotations are removed at test time from Q/K (attention weights) or V/O (feature transfer).

Beyond one model and one task

RayRoPE, 80k steps+0.13 dB
URoPE, 80k steps+0.01 dB
PRoPE (positions on the grid only)+0.04 dB
Zero-shot DL3DV, 10 / 50-frame gap+0.54 / +0.24 dB
Two-view depth (LVSM-style), AbsRel−10 to −31%
URoPE places keys at a few fixed depths rather than a predicted one, which may limit the precision fine frequencies need. PRoPE keeps all positions on the patch grid, so finer frequencies have nothing to resolve — as the analysis predicts.

Two-view depth with an LVSM-style transformer

A transformer that predicts an 8×8 inverse-depth patch per token, without plane sweep or cost volume.

Ground-truth and predicted inverse depth with error maps, original vs ours

BibTeX

@article{xu2026revisiting,
  title     = {Revisiting Rotary Frequencies for Multi-View Attention},
  author    = {Xu, Tianhan and Harada, Tatsuya},
  journal   = {arXiv preprint arXiv:2612.00223},
  year      = {2026}
}