Revisiting Rotary Frequencies for Multi-View Attention

Tianhan Xu, Tatsuya HaradaarXiv 2026

TL;DR

When multi-view transformers project image patches from one camera into another, those patches land between the neat grid centers of standard 2D images—yet most models still use 2D rotary positional encodings (RoPE) designed for the grid. By swapping in finer "patch harmonic" frequencies that oscillate within a single patch, the authors boost novel view synthesis and depth estimation without changing a single layer of the model architecture.

What Problem Does This Paper Address?

In standard 2D vision transformers, image patches sit on a regular grid. If patches are $8 \times 8$ pixels, the distance between any two patch centers is always an integer multiple of 8 pixels. Rotary Positional Encoding (RoPE) encodes these relative positions by rotating feature pairs at various frequencies.

Multi-view attention—used for tasks like novel view synthesis and depth estimation—is different. To relate patches across different cameras, recent projection-based methods (like WorldRoPE and RayRoPE) use camera geometry and depth hypotheses to project a key patch from one view into the query camera's image plane.

Figure 1. From patch grids to continuous cross-view positions. Left: In standard 2D image attention, patch tokens lie on a regular grid. The same grid structure applies within multi-view attention when the query and key patches come from the same camera view. Right: For patches from different cameras, depth hypotheses and camera geometry project the key into the query image, where its po- sition generally falls between patch centers. Bottom: Offsets from the nearest patch center. Grid-aligned positions have zero offset, while cross-view projections spread across the patch interior. These within-patch offsets motivate exploring finer rotary frequencies.

Because of this 3D-to-2D projection, the projected key rarely lands on a patch center; it falls at a continuous sub-patch position. Yet, these models largely inherit their RoPE frequencies from standard 2D image RoPE, where the fastest-oscillating band has a period of ~50 pixels (1 radian per patch). On a discrete grid, finer frequencies are useless due to aliasing: a wave with an 8-pixel period completes one full turn per patch, making every grid point look identical. Between patch centers, however, that same fine frequency varies rapidly and can encode exact sub-patch offsets.

Methods

The authors propose a simple, architecture-free tweak to RoPE's frequency spectrum: combining coarse frequencies with fine patch harmonics.

  • Patch Harmonics: They choose fine periods that divide the patch spacing $P$ into integer cycles ($p_h = P/h$). For 8-pixel patches, this gives periods of 8 px and 4 px. On the grid, these bands produce identity rotations (adding no clutter to same-view attention), but between patch centers, they are highly sensitive to sub-patch offsets.
  • Reallocating the Budget: Using WorldRoPE's 8-band budget as a testbed, they replace the original periods ([3425, ..., 50] px) with two fine patch harmonics (8, 4 px) and six coarser bands ([1182, 523, 231, 102, 45, 20] px).
  • Disabling Footprint Attenuation: WorldRoPE normally averages rotary encodings over a patch's spatial extent, which dampens high frequencies. The authors disable this attenuation so the fine bands can do their job.

Datasets

  • RealEstate10K: The primary benchmark for novel view synthesis (evaluated on 6,474 test scenes).
  • DL3DV: Used to test zero-shot, cross-dataset generalization for novel view synthesis.
  • Objaverse: Used for object-centric novel view synthesis with widely separated camera views.
  • DeMoN (Scenes11, SUN3D, RGB-D): Used for two-view depth estimation.

Key Insights and Ideas

  • Aliasing hides fine frequencies on the grid, but continuous projections expose them: Frequencies that are completely redundant on a 2D patch grid become distinct and useful when keys are projected continuously across views.
  • The gain requires geometrically accurate projections: In controlled 10k-step experiments, the +0.57 dB PSNR boost vanishes when projected keys are snapped back to the grid (-0.20 dB) or given random within-patch offsets (-0.03 dB).
  • Fine frequencies drive feature transfer, not attention weights: In multi-view RoPE, rotating queries and keys (Q/K) affects attention weights, while rotating values and outputs (V/O) affects feature transfer. Removing the 8 and 4 px rotations from Q/K at test time barely hurts PSNR (-0.09 dB), whereas removing them from V/O causes a massive drop (-2.87 dB). Coarser bands show the exact opposite behavior, primarily governing Q/K attention weights.
  • Context matters: Fine frequencies help most when views share substantial content and the transformer itself must resolve sub-pixel geometry. When views are widely separated (Objaverse, ~57° apart) or when the architecture already performs sub-pixel plane-sweep sampling outside of attention (UniMatch), the gains largely disappear.

Key Results

  • Novel View Synthesis (RealEstate10K, 80k steps): On WorldRoPE, switching to patch harmonics (with footprint attenuation off) improves PSNR from 26.69 to 26.94 dB (+0.25 dB), while also improving SSIM (.8444 to .8513) and LPIPS (.0732 to .0704). RayRoPE similarly improves by +0.13 dB.
  • Cross-Dataset Transfer (DL3DV): Models trained on RealEstate10K transfer zero-shot to DL3DV with gains of +0.54 dB (10-frame gap) and +0.24 dB (50-frame gap).
  • Depth Estimation (DeMoN): When adapting an LVSM-style transformer to predict depth directly from patch tokens, patch harmonics reduce absolute relative error (AbsRel) by ~31% on Scenes11, 15% on SUN3D, and 10% on RGB-D.

Limitations and Future Work

The experiments are limited to relatively small models (25M-parameter transformers) and $256 \times 256$ image resolutions, and the benefits are not uniform across all datasets and architectures. Because fine frequencies primarily support feature transfer (V/O) while coarse frequencies govern attention weights (Q/K), the authors suggest exploring separate frequency allocations for Q/K and V/O, as well as systematically tuning frequencies based on geometric uncertainty.

Summary updated

BibTeX
@misc{xu2026revisiting,
  author = {Tianhan Xu and Tatsuya Harada},
  title = {{Revisiting Rotary Frequencies for Multi-View Attention}},
  year = {2026},
  eprint = {2612.00223},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00223},
}
Figure