Mind the Band: The Hidden Frequency Variable in Geometric RoPE

Seonghyun Jin, Youngmin Kim, Jong Chul YearXiv 2026

TL;DR

In 3D computer vision, Transformers use geometric Rotary Position Embeddings (RoPE) to track pixels across different camera angles, yet researchers routinely leave the underlying "frequency band" of these rotations to arbitrary, inherited defaults. This paper reveals that this hidden variable silently dictates spatial resolution—so much so that changing a model's attention head size accidentally alters its frequency band and completely flips leaderboard rankings. By cracking the math behind why overly narrow and overly wide bands fail, the authors turn an overlooked bug into a clean, principled design choice.

What Problem Does This Paper Address?

Standard 2D Vision Transformers slice an image into a neat grid of patches and use RoPE to tell tokens where they sit, rotating feature channels across a spectrum of slow to fast waves—a frequency band. Because patch centers sit on integer coordinates, waves faster than half a rotation per patch alias (just like a wagon wheel spinning backward on film), so 2D RoPE caps its top frequency right below that limit.

In multi-view 3D tasks—like synthesizing a new camera angle of a room—tokens must match up across different cameras. Projection-based geometric RoPE methods (like URoPE, RayRoPE, and WorldRoPE) handle this by projecting a pixel's 3D viewing ray into the other camera's view. Because we don't know the exact 3D depth of the surface, that projected point smears out into a continuous line segment.

Figure 2. From discrete patch indices to continuous projected segments. (a) In 2D RoPE, tokens sit at integer patch centers, where a frequency of one rotation per patch gives every token the same phase. (b) Across cameras, geometric RoPE projects a token’s 3D viewing ray into the other view: the reprojected position is continuous, and unknown depth spreads it along a segment. (c) Target crop around the projected segment (0.45 patches, red) for a ±15% depth interval of the marked source pixel, overlaid with the top frequency of three bands: 3× barely varies across patches, 243× separates sub-patch offsets, and 311 turns ∼300 times inside the segment (drawn 77× coarser).

Suddenly, we aren't on an integer grid anymore—sub-patch frequencies actually carry real geometric meaning! Yet existing implementations never standardized their frequency bands for this 3D reality. Some blindly copy 2D RoPE’s ceiling; others (like RayRoPE) start at a slow wave and triple the frequency for every channel pair. Under that second rule, simply shrinking a Transformer's attention head dimension exponentially starves the model of high frequencies, silently sabotaging fair comparisons across architectures.

Methods

Rather than inventing yet another 3D positional encoding, the authors perform a forensic audit and mathematical intervention on existing ones (URoPE, RayRoPE, WorldRoPE, CRePE, and G-ray):

  • Decoupling Bands from Architecture: Instead of letting the attention head size $d$ dictate the frequencies, they anchor the lowest frequency and explicitly scale the geometric step ratio in unified image-plane units (rotations per patch).
  • Fractional-Factorial Ablation: They run a controlled 16-run experiment testing seven structural differences separating published encodings (e.g., ray counts, coordinate types, value/output rotations) to weigh their true impact against the frequency band alone.
  • Causal Stop-Gradient: To prove why ultra-wide frequency bands wreck models that average over depth intervals, they leave the forward pass completely untouched and surgically block backpropagation of depth gradients on just the highest frequencies.

Datasets

The authors evaluate existing benchmarks across different camera geometries and tasks (introducing no new datasets):

  • RealEstate10K: Standard perspective indoor/outdoor video frames ($256 \times 256$) for novel view synthesis.
  • ScanNet++: Fisheye-lens indoor scenes to test wide-angle camera distortions in novel view synthesis.
  • Scenes11: Synthetic 3D scenes used to evaluate posed two-view depth estimation.

Key Insights and Ideas

  • Head-size sensitivity is frequency-band sensitivity in disguise: When RayRoPE drops from first place in a 47M-parameter model ($d=144$ heads) to last place in a 25M model ($d=48$ heads), it isn't because smaller heads lack capacity. Its default $3^k$ rule shrank its frequency span from $243\times$ down to $3\times$—a wave so slow it barely completes half a turn across the whole image, starving attention of local contrast.
  • The Forward–Backward Asymmetry Trap: Why do ultra-wide bands ($3^{11}$, or 692 rotations/patch) cause RayRoPE to collapse? In the forward pass, averaging a fast wave over a predicted depth interval $[\mu - \Delta, \mu + \Delta]$ cancels out the oscillations at a rate of $1/\omega$, making high frequencies invisible in the output. Aha moment: When you differentiate with respect to the interval's center $\mu$ during backpropagation, the chain rule pulls out an $\omega$ factor that cancels the $1/\omega$ damping! Geometrically, shifting a sharp box window changes the integral at its sharp endpoints, injecting massive, rapidly oscillating gradient noise into the depth predictor from frequencies that didn't even affect the rendered image. Smooth Gaussian windows (used in WorldRoPE) decay super-exponentially, sidestepping this trap.
  • Don't smooth within the same camera: Adding a fixed spatial blur ("floor") stabilizes cross-camera depth uncertainty, but within the same camera view, depth cancels out—every point on a ray projects right back to its own pixel. Applying unconditional smoothing muting high frequencies within the same view throws away free sharpness.

Key Results

Varying RayRoPE's frequency range shifts renderings from blurred to sharp before degrading at extreme widths, while stopping high-frequency depth gradients restores accuracy.

Figure 1. The frequency band governs geometric RoPE. Varying only single-ray RayRoPE’s frequency range (47M) shifts novel-view renderings from blurred (3×) to sharp (243×) before degrading again at 311—ranges that existing defaults trigger implicitly as head size changes. Blocking high-frequency depth gradients at 311 restores accuracy (open circle; shading: 0.3–3 rotations/patch, 10–90/image).
  • Reversing Benchmark Rankings: On RealEstate10K, default RayRoPE matches WorldRoPE at $d=144$ (~26.66 dB PSNR) but trails by 1.22 dB at $d=48$. Rescaling four frequencies across a $243\times$ span at $d=48$ recovers 0.9 dB of that deficit, beating URoPE. The exact same >1.3 dB drop and recovery occurs on fisheye ScanNet++.
  • A Universal Sweet Spot: Across view synthesis and depth estimation, all tested projection-based encodings hit peak performance when their top frequency sits between 0.3 and 3 rotations per 8-pixel patch (10–90 rotations per image).
  • Band vs. Design Choices: Tuning the frequency band shifts PSNR by 1.0 to 2.1 dB—outweighing six of seven structural design choices in the literature; only depth reprojection itself (+1.0 to +1.9 dB) rivals it.
  • The Stop-Gradient Smoking Gun: In the unstable $3^{11}$ regime, blocking depth gradients solely from frequencies above 1 rotation/patch recovers 90–93% of the lost PSNR (jumping from 24.54 dB back to 26.47 dB) without changing a single forward-pass operation.

Limitations and Future Work

  • Experiments focus on feed-forward view synthesis and two-view depth at moderate model sizes (25M–95M parameters) and $256 \times 256$ resolution; exact frequency scaling laws for high-resolution images, video generation, and the lowest anchor frequency $\omega_0$ remain open questions.
  • Several secondary wide-band ablations rely on single-seed mixed-precision runs.
  • The mathematical analysis bounds single- and pair-token derivatives rather than full end-to-end training dynamics—leaving subtle mysteries, like why learned-width Gaussians handle extreme bands better in WorldRoPE than in RayRoPE, for future exploration.

Summary updated

BibTeX
@misc{jin2026mind,
  author = {Seonghyun Jin and Youngmin Kim and Jong Chul Ye},
  title = {{Mind the Band: The Hidden Frequency Variable in Geometric RoPE}},
  year = {2026},
  eprint = {2611.32171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.32171},
}
Figure